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), 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]
c19 = %t2 [34901797601023049, 0]
c20 = %t2 [34901797601022976, 0]
c21 = %t2 [179016985676878848, 0]
c22 = %t2 [34901797601023122, 0]
c23 = %t2 [34901797601023195, 0]
c24 = %t2 [34901797601055817, 0]
c25 = %t2 [34901797601055744, 0]
c27 = %t17 [26, 5]
c38 = <2 x i32> [0, 1]
c43 = <2 x i32> [2, 3]
@g0 "__air_sampler_state" = internal addrspace(2) constant %t2 c19, align 8
@g1 "__air_sampler_state.1" = internal addrspace(2) constant %t2 c20, align 8
@g2 "__air_sampler_state.2" = internal addrspace(2) constant %t2 c21, align 8
@g3 "__air_sampler_state.3" = internal addrspace(2) constant %t2 c22, align 8
@g4 "__air_sampler_state.4" = internal addrspace(2) constant %t2 c23, align 8
@g5 "__air_sampler_state.5" = internal addrspace(2) constant %t2 c24, align 8
@g6 "__air_sampler_state.6" = internal addrspace(2) constant %t2 c25, align 8

define %t7 @f0 "bcu_address" 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" %a1( Ref nocapture "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <4 x float>, %a1, %i0
  %i2 = load <4 x float>, %i1, align 16
  %i3 = shufflevector <2 x float> %i2, <4 x float> poison, <0, 1>
  %i4 = 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, device_coherent: false })](%a0, ptr addrspace(2) @g0, %i3, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i5 = extractvalue <4 x float> %i4, 0
  %i6 = mul i32 %a3, i32 7
  %i7 = zext %i6 to i64
  %i8 = getelementptr inbounds <4 x float>, %a2, %i7
  store %i5, %i8, align 16
  %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, device_coherent: false })](%a0, ptr addrspace(2) @g1, %i3, 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 = add i32 %i6, i32 1
  %i13 = zext %i12 to i64
  %i14 = getelementptr inbounds <4 x float>, %a2, %i13
  store %i11, %i14, align 16
  %i16 = 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, device_coherent: false })](%a0, ptr addrspace(2) @g2, %i3, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i17 = extractvalue <4 x float> %i16, 0
  %i18 = add i32 %i6, i32 2
  %i19 = zext %i18 to i64
  %i20 = getelementptr inbounds <4 x float>, %a2, %i19
  store %i17, %i20, align 16
  %i22 = 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, device_coherent: false })](%a0, ptr addrspace(2) @g3, %i3, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i23 = extractvalue <4 x float> %i22, 0
  %i24 = add i32 %i6, i32 3
  %i25 = zext %i24 to i64
  %i26 = getelementptr inbounds <4 x float>, %a2, %i25
  store %i23, %i26, align 16
  %i28 = 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, device_coherent: false })](%a0, ptr addrspace(2) @g4, %i3, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i29 = extractvalue <4 x float> %i28, 0
  %i30 = add i32 %i6, i32 4
  %i31 = zext %i30 to i64
  %i32 = getelementptr inbounds <4 x float>, %a2, %i31
  store %i29, %i32, align 16
  %i34 = shufflevector <2 x float> %i2, <4 x float> poison, <2, 3>
  %i35 = 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, device_coherent: false })](%a0, ptr addrspace(2) @g5, %i34, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i36 = extractvalue <4 x float> %i35, 0
  %i37 = add i32 %i6, i32 5
  %i38 = zext %i37 to i64
  %i39 = getelementptr inbounds <4 x float>, %a2, %i38
  store %i36, %i39, align 16
  %i41 = 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, device_coherent: false })](%a0, ptr addrspace(2) @g6, %i34, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i42 = extractvalue <4 x float> %i41, 0
  %i43 = add i32 %i6, i32 6
  %i44 = zext %i43 to i64
  %i45 = getelementptr inbounds <4 x float>, %a2, %i44
  store %i42, %i45, 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 = !"t"
!md16 = !"air.buffer"
!md17 = !"air.read"
!md18 = !"air.address_space"
!md19 = !"air.arg_type_size"
!md20 = !"air.arg_type_align_size"
!md21 = !"float4"
!md22 = !"coord"
!md23 = !"air.read_write"
!md24 = !"out"
!md25 = !"air.thread_position_in_grid"
!md26 = !"uint"
!md27 = !"tid"
!md28 = !"air.compile.denorms_disable"
!md29 = !"air.compile.fast_math_enable"
!md30 = !"air.compile.framebuffer_fetch_enable"
!md31 = !"air.sampler_state"
!md32 = !"Apple metal version 32023.883 (metalfe-32023.883)"
!md33 = !"Metal"
!md34 = i32 2
!md35 = %t17 c27
!md36 = i32 1
!md37 = i32 4
!md38 = i32 7
!md39 = i32 31
!md40 = i32 128
!md41 = i32 8
!md42 = i32 16
!md43 = ptr addrspace(0) @f0
!md44 = i32 0
!md45 = i32 3
!md46 = ptr addrspace(2) @g0
!md47 = ptr addrspace(2) @g1
!md48 = ptr addrspace(2) @g2
!md49 = ptr addrspace(2) @g3
!md50 = ptr addrspace(2) @g4
!md51 = ptr addrspace(2) @g5
!md52 = ptr addrspace(2) @g6
!md53 = !{!md34, !md0, !md35}
!md54 = !{!md36, !md1, !md37}
!md55 = !{!md38, !md2, !md34}
!md56 = !{!md38, !md3, !md39}
!md57 = !{!md38, !md4, !md39}
!md58 = !{!md38, !md5, !md39}
!md59 = !{!md38, !md6, !md40}
!md60 = !{!md38, !md7, !md41}
!md61 = !{!md38, !md8, !md42}
!md62 = !{}
!md63 = !{!md44, !md9, !md10, !md44, !md36, !md11, !md12, !md13, !md14, !md15}
!md64 = !{!md36, !md16, !md10, !md44, !md36, !md17, !md18, !md36, !md19, !md42, !md20, !md42, !md12, !md21, !md14, !md22}
!md65 = !{!md34, !md16, !md10, !md36, !md36, !md23, !md18, !md36, !md19, !md42, !md20, !md42, !md12, !md21, !md14, !md24}
!md66 = !{!md45, !md25, !md12, !md26, !md14, !md27}
!md67 = !{!md63, !md64, !md65, !md66}
!md68 = !{!md43, !md62, !md67}
!md69 = !{!md28}
!md70 = !{!md29}
!md71 = !{!md30}
!md72 = !{!md31, !md46}
!md73 = !{!md31, !md47}
!md74 = !{!md31, !md48}
!md75 = !{!md31, !md49}
!md76 = !{!md31, !md50}
!md77 = !{!md31, !md51}
!md78 = !{!md31, !md52}
!md79 = !{!md32}
!md80 = !{!md34, !md41, !md44}
!md81 = !{!md33, !md37, !md44, !md44}
!"llvm.module.flags" = !{!md53, !md54, !md55, !md56, !md57, !md58, !md59, !md60, !md61}
!"air.kernel" = !{!md68}
!"air.compile_options" = !{!md69, !md70, !md71}
!"air.sampler_states" = !{!md72, !md73, !md74, !md75, !md76, !md77, !md78}
!"llvm.ident" = !{!md79}
!"air.version" = !{!md80}
!"air.language_version" = !{!md81}
