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: [] }
%t3 = type { i32, ptr addrspace(0), ptr addrspace(0) }
%t4 = type [1 x %t3]
%t5 = type [1 x ptr addrspace(0)]
%t9 = type void (ptr addrspace(1), ptr addrspace(1), ptr addrspace(2), <2 x i32>)
%t12 = type <2 x float> (<2 x i32>)
%t15 = type { <4 x float>, i8 }
%t17 = type %t15 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i1, float, float, i32)
%t18 = type void (ptr addrspace(1), <2 x i32>, <4 x float>, i32, i32)
%t19 = type void ()
%t21 = type [2 x i32]
c15 = %t3 [65535, @f4, zeroinitializer]
c16 = %t4 [c15]
c17 = ptr addrspace(0) addrspacecast (@g1)
c18 = %t5 [c17]
c19 = %t21 [27, 2]
c31 = <2 x float> [0x3F000000, 0x3F000000]
c32 = <2 x float> [0x3E800000, 0x3E800000]
@g0 "_Z1n.MTL_FC_INIT_0_j" = linkonce_odr externally_initialized addrspace(2) constant i32 undef, align 4, section air.fc_initializer
@g1 "_ZL32__metal_implicit_attr_int_expr_0" = internal addrspace(2) global i32 0, align 4
@g2 "llvm.global_ctors" = appending addrspace(0) global %t4 c16
@g3 "llvm.compiler.used" = appending addrspace(0) global %t5 c18, section "llvm.metadata"

define %t9 @f0 "overlapping_slots" 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 ) %a2( Ref nocapture ) {
bb0:
  %i0 = tail call reassoc nnan ninf nsz arcp contract afn <2 x float> @f1 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 2 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 2 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%a3)
  %i1 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i0, <2 x float> c31
  %i2 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1, <2 x float> c32
  %i3 = tail call %t15 @f2 [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 })](%a1, %a2, %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
  tail call void @f3 [air Texture(Texture { op: Write, 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(Write), states_access: true, device_coherent: false })](%a0, %a3, %i4, i32 0, i32 2) arg0( nocapture )
  ret void
}

declare %t12 @f1 "air.convert.f.v2f32.u.v2i32" memory(NoModRef, NoModRef, NoModRef)

declare %t17 @f2 "air.sample_texture_2d.v4f32" convergent memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )

declare %t18 @f3 "air.write_texture_2d.v4f32" memory(ModRef, NoModRef, NoModRef) %a0( nocapture )

define internal %t19 @f4 "_GLOBAL__sub_I__" "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", section air.static_init {
bb0:
  %i0 = load i32, ptr addrspace(2) @g0, align 4
  store %i0, ptr addrspace(2) @g1, align 4
  ret void
}
!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.write"
!md12 = !"air.arg_type_name"
!md13 = !"texture2d<float, write>"
!md14 = !"air.arg_name"
!md15 = !"dst"
!md16 = !"air.sample"
!md17 = !"texture2d<float, sample>"
!md18 = !"src"
!md19 = !"air.sampler"
!md20 = !"sampler"
!md21 = !"s"
!md22 = !"air.thread_position_in_grid"
!md23 = !"uint2"
!md24 = !"gid"
!md25 = !"air.compile.denorms_disable"
!md26 = !"air.compile.fast_math_enable"
!md27 = !"air.compile.framebuffer_fetch_enable"
!md28 = !"uint"
!md29 = !"n"
!md30 = !"Apple metal version 32023.922 (metalfe-32023.922.4)"
!md31 = !"Metal"
!md32 = i32 2
!md33 = %t21 c19
!md34 = i32 1
!md35 = i32 4
!md36 = i32 7
!md37 = i32 31
!md38 = i32 128
!md39 = i32 8
!md40 = i32 16
!md41 = ptr addrspace(0) @f0
!md42 = i32 0
!md43 = ptr addrspace(2) @g1
!md44 = i32 3
!md45 = ptr addrspace(2) @g0
!md46 = !{!md32, !md0, !md33}
!md47 = !{!md34, !md1, !md35}
!md48 = !{!md36, !md2, !md32}
!md49 = !{!md36, !md3, !md37}
!md50 = !{!md36, !md4, !md37}
!md51 = !{!md36, !md5, !md37}
!md52 = !{!md36, !md6, !md38}
!md53 = !{!md36, !md7, !md39}
!md54 = !{!md36, !md8, !md40}
!md55 = !{}
!md56 = !{!md42, !md9, !md10, !md34, !md34, !md11, !md12, !md13, !md14, !md15}
!md57 = !{!md34, !md9, !md10, !md43, !md34, !md16, !md12, !md17, !md14, !md18}
!md58 = !{!md32, !md19, !md10, !md42, !md34, !md12, !md20, !md14, !md21}
!md59 = !{!md44, !md22, !md12, !md23, !md14, !md24}
!md60 = !{!md56, !md57, !md58, !md59}
!md61 = !{!md41, !md55, !md60}
!md62 = !{!md25}
!md63 = !{!md26}
!md64 = !{!md27}
!md65 = !{!md45, !md28, !md29, !md42}
!md66 = !{!md30}
!md67 = !{!md32, !md39, !md42}
!md68 = !{!md31, !md35, !md42, !md42}
!"llvm.module.flags" = !{!md46, !md47, !md48, !md49, !md50, !md51, !md52, !md53, !md54}
!"air.kernel" = !{!md61}
!"air.compile_options" = !{!md62, !md63, !md64}
!"air.function_constants" = !{!md65}
!"llvm.ident" = !{!md66}
!"air.version" = !{!md67}
!"air.language_version" = !{!md68}
