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]
%t7 = type void (ptr addrspace(1), ptr addrspace(1), ptr addrspace(1), ptr addrspace(1), i32)
%t11 = type { <4 x float>, i8 }
%t15 = type %t11 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i1, float, float, i32)
%t17 = type [2 x i32]
c7 = %t2 [34901797601055817, 0]
c9 = %t17 [27, 0]
c23 = <2 x i32> [1, 0]
@g0 "__air_sampler_state" = internal addrspace(2) constant %t2 c7, align 8

define %t7 @f0 "bcx_table" convergent "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" %a2( Ref nocapture "air-buffer-no-alias"="" ) %a3( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a4 to i64
  %i1 = getelementptr inbounds <2 x float>, %a2, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t11 @f1 [air Texture(Texture { op: Sample { compare: false, lod: Bias, 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, %i2, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i4 = extractvalue <4 x float> %i3, 0
  %i5 = shl i32 %a4, i32 1
  %i6 = zext %i5 to i64
  %i7 = getelementptr inbounds <4 x float>, %a3, %i6
  store %i4, %i7, align 16
  %i9 = shufflevector <2 x float> %i2, <2 x float> poison, <1, 0>
  %i10 = tail call %t11 @f1 [air Texture(Texture { op: Sample { compare: false, lod: Bias, 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 })](%a1, ptr addrspace(2) @g0, %i9, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i11 = extractvalue <4 x float> %i10, 0
  %i12 = or i32 %i5, i32 1
  %i13 = zext %i12 to i64
  %i14 = getelementptr inbounds <4 x float>, %a3, %i13
  store %i11, %i14, align 16
  ret void
}

declare %t15 @f1 "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.texture"
!md10 = !"air.location_index"
!md11 = !"air.sample"
!md12 = !"air.arg_type_name"
!md13 = !"texture2d<float, sample>"
!md14 = !"air.arg_name"
!md15 = !"across"
!md16 = !"down"
!md17 = !"air.buffer"
!md18 = !"air.read"
!md19 = !"air.address_space"
!md20 = !"air.arg_type_size"
!md21 = !"air.arg_type_align_size"
!md22 = !"float2"
!md23 = !"coord"
!md24 = !"air.read_write"
!md25 = !"float4"
!md26 = !"out"
!md27 = !"air.thread_position_in_grid"
!md28 = !"uint"
!md29 = !"tid"
!md30 = !"air.compile.denorms_disable"
!md31 = !"air.compile.fast_math_enable"
!md32 = !"air.compile.framebuffer_fetch_enable"
!md33 = !"air.sampler_state"
!md34 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md35 = !"Metal"
!md36 = i32 2
!md37 = %t17 c9
!md38 = i32 1
!md39 = i32 4
!md40 = i32 7
!md41 = i32 31
!md42 = i32 128
!md43 = i32 8
!md44 = i32 16
!md45 = ptr addrspace(0) @f0
!md46 = i32 0
!md47 = i32 3
!md48 = ptr addrspace(2) @g0
!md49 = !{!md36, !md0, !md37}
!md50 = !{!md38, !md1, !md39}
!md51 = !{!md40, !md2, !md36}
!md52 = !{!md40, !md3, !md41}
!md53 = !{!md40, !md4, !md41}
!md54 = !{!md40, !md5, !md41}
!md55 = !{!md40, !md6, !md42}
!md56 = !{!md40, !md7, !md43}
!md57 = !{!md40, !md8, !md44}
!md58 = !{}
!md59 = !{!md46, !md9, !md10, !md46, !md38, !md11, !md12, !md13, !md14, !md15}
!md60 = !{!md38, !md9, !md10, !md38, !md38, !md11, !md12, !md13, !md14, !md16}
!md61 = !{!md36, !md17, !md10, !md46, !md38, !md18, !md19, !md38, !md20, !md43, !md21, !md43, !md12, !md22, !md14, !md23}
!md62 = !{!md47, !md17, !md10, !md38, !md38, !md24, !md19, !md38, !md20, !md44, !md21, !md44, !md12, !md25, !md14, !md26}
!md63 = !{!md39, !md27, !md12, !md28, !md14, !md29}
!md64 = !{!md59, !md60, !md61, !md62, !md63}
!md65 = !{!md45, !md58, !md64}
!md66 = !{!md30}
!md67 = !{!md31}
!md68 = !{!md32}
!md69 = !{!md33, !md48}
!md70 = !{!md34}
!md71 = !{!md36, !md43, !md46}
!md72 = !{!md35, !md39, !md46, !md46}
!"llvm.module.flags" = !{!md49, !md50, !md51, !md52, !md53, !md54, !md55, !md56, !md57}
!"air.kernel" = !{!md65}
!"air.compile_options" = !{!md66, !md67, !md68}
!"air.sampler_states" = !{!md69}
!"llvm.ident" = !{!md70}
!"air.version" = !{!md71}
!"air.language_version" = !{!md72}
