target triple = "air64_v28-apple-macosx26.0.0"
source_filename = "-"
; datalayout DataLayout { endian: Little, pointers: {0: PointerSpec { size_bits: 64, abi_bits: 64, pref_bits: 64, index_bits: 64 }}, ints: {1: AlignSpec { abi_bits: 8, pref_bits: 8 }, 8: AlignSpec { abi_bits: 8, pref_bits: 8 }, 16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }}, floats: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }}, vectors: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 24: AlignSpec { abi_bits: 32, pref_bits: 32 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 48: AlignSpec { abi_bits: 64, pref_bits: 64 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 96: AlignSpec { abi_bits: 128, pref_bits: 128 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }, 192: AlignSpec { abi_bits: 256, pref_bits: 256 }, 256: AlignSpec { abi_bits: 256, pref_bits: 256 }, 512: AlignSpec { abi_bits: 512, pref_bits: 512 }, 1024: AlignSpec { abi_bits: 1024, pref_bits: 1024 }}, aggregate: AlignSpec { abi_bits: 0, pref_bits: 64 }, native_ints: [8, 16, 32], stack_align_bits: None, alloca_space: 0, program_space: 0, globals_space: 0, mangling: None, fn_ptr_align: None, non_integral: [] }
%t2 = type [2 x i64]
%t5 = type i32 (i32)
%t7 = type float (float, float)
%t11 = type <4 x float> (ptr addrspace(1), <2 x float>)
%t13 = type void (ptr addrspace(1), i32)
%t15 = type { <4 x float>, i8 }
%t18 = type %t15 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i1, float, float, i32)
%t20 = type [2 x i32]
c11 = %t2 [34901797601020562, 0]
c13 = %t20 [26, 5]
@g0 "__air_sampler_state" = internal addrspace(2) constant %t2 c11, align 8

define %t5 @f0 "linked_scale" "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" {
bb0:
  %i0 = mul i32 %a0, i32 3
  %i1 = tail call i32 @f1(%a0) "no-builtins"=""
  %i2 = add i32 %i1, %i0
  ret %i2
}

declare %t5 @f1 "linked_offset.MTL_VISIBLE_FN_REF", section "air.externally_defined"

define %t7 @f2 "linked_blend" memory(NoModRef, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" {
bb0:
  %i0 = fmul reassoc nnan ninf nsz arcp contract afn float %a1, %a0
  %i1 = fadd reassoc nnan ninf nsz arcp contract afn float %i0, float 0x3F800000
  ret %i1
}

define %t11 @f3 "linked_sample" convergent memory(Ref, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a0( Ref nocapture ) {
bb0:
  %i0 = tail call %t15 @f5 [air Texture(Texture { op: Sample { compare: false, lod: Level, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F32, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Sample), states_access: true })](%a0, ptr addrspace(2) @g0, %a1, i1 1, <2 x i32> zeroinitializer, i1 1, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i1 = extractvalue <4 x float> %i0, 0
  ret %i1
}

define %t13 @f4 "linked_visible_functions" memory(Mod, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a0( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a1 to i64
  %i1 = getelementptr inbounds i32, %a0, %i0
  store %a1, %i1, align 4
  ret void
}

declare %t18 @f5 "air.sample_texture_2d.v4f32" convergent memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )
!md0 = !"SDK Version"
!md1 = !"wchar_size"
!md2 = !"frame-pointer"
!md3 = !"air.max_device_buffers"
!md4 = !"air.max_constant_buffers"
!md5 = !"air.max_threadgroup_buffers"
!md6 = !"air.max_textures"
!md7 = !"air.max_read_write_textures"
!md8 = !"air.max_samplers"
!md9 = !"air.visible_output"
!md10 = !"air.arg_type_name"
!md11 = !"uint"
!md12 = !"air.visible_input"
!md13 = !"air.arg_name"
!md14 = !"x"
!md15 = !"float"
!md16 = !"a"
!md17 = !"b"
!md18 = !"float4"
!md19 = !"__metal_texture_2d_t"
!md20 = !"t"
!md21 = !"float2"
!md22 = !"uv"
!md23 = !"air.buffer"
!md24 = !"air.location_index"
!md25 = !"air.read_write"
!md26 = !"air.address_space"
!md27 = !"air.arg_type_size"
!md28 = !"air.arg_type_align_size"
!md29 = !"out"
!md30 = !"air.thread_position_in_grid"
!md31 = !"tid"
!md32 = !"air.compile.denorms_disable"
!md33 = !"air.compile.fast_math_enable"
!md34 = !"air.compile.framebuffer_fetch_enable"
!md35 = !"air.sampler_state"
!md36 = !"air.visible_function_reference"
!md37 = !"linked_offset"
!md38 = !"Apple metal version 32023.883 (metalfe-32023.883)"
!md39 = !"Metal"
!md40 = i32 2
!md41 = %t20 c13
!md42 = i32 1
!md43 = i32 4
!md44 = i32 7
!md45 = i32 31
!md46 = i32 128
!md47 = i32 8
!md48 = i32 16
!md49 = ptr addrspace(0) @f0
!md50 = i32 0
!md51 = ptr addrspace(0) @f2
!md52 = ptr addrspace(0) @f3
!md53 = ptr addrspace(0) @f4
!md54 = ptr addrspace(2) @g0
!md55 = ptr addrspace(0) @f1
!md56 = !{!md40, !md0, !md41}
!md57 = !{!md42, !md1, !md43}
!md58 = !{!md44, !md2, !md40}
!md59 = !{!md44, !md3, !md45}
!md60 = !{!md44, !md4, !md45}
!md61 = !{!md44, !md5, !md45}
!md62 = !{!md44, !md6, !md46}
!md63 = !{!md44, !md7, !md47}
!md64 = !{!md44, !md8, !md48}
!md65 = !{!md9, !md10, !md11}
!md66 = !{!md65}
!md67 = !{!md50, !md12, !md10, !md11, !md13, !md14}
!md68 = !{!md67}
!md69 = !{!md49, !md66, !md68}
!md70 = !{!md9, !md10, !md15}
!md71 = !{!md70}
!md72 = !{!md50, !md12, !md10, !md15, !md13, !md16}
!md73 = !{!md42, !md12, !md10, !md15, !md13, !md17}
!md74 = !{!md72, !md73}
!md75 = !{!md51, !md71, !md74}
!md76 = !{!md9, !md10, !md18}
!md77 = !{!md76}
!md78 = !{!md50, !md12, !md10, !md19, !md13, !md20}
!md79 = !{!md42, !md12, !md10, !md21, !md13, !md22}
!md80 = !{!md78, !md79}
!md81 = !{!md52, !md77, !md80}
!md82 = !{}
!md83 = !{!md50, !md23, !md24, !md50, !md42, !md25, !md26, !md42, !md27, !md43, !md28, !md43, !md10, !md11, !md13, !md29}
!md84 = !{!md42, !md30, !md10, !md11, !md13, !md31}
!md85 = !{!md83, !md84}
!md86 = !{!md53, !md82, !md85}
!md87 = !{!md32}
!md88 = !{!md33}
!md89 = !{!md34}
!md90 = !{!md35, !md54}
!md91 = !{!md36, !md55, !md37}
!md92 = !{!md38}
!md93 = !{!md40, !md47, !md50}
!md94 = !{!md39, !md43, !md50, !md50}
!"llvm.module.flags" = !{!md56, !md57, !md58, !md59, !md60, !md61, !md62, !md63, !md64}
!"air.visible" = !{!md69, !md75, !md81}
!"air.kernel" = !{!md86}
!"air.compile_options" = !{!md87, !md88, !md89}
!"air.sampler_states" = !{!md90}
!"air.visible_function_references" = !{!md91}
!"llvm.ident" = !{!md92}
!"air.version" = !{!md93}
!"air.language_version" = !{!md94}
