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 i32 (i32)
%t5 = type void (ptr addrspace(1), ptr addrspace(1), i32)
%t7 = type float (float, float)
%t8 = type float (i32)
%t11 = type <4 x float> (ptr addrspace(1), <2 x float>)
%t13 = type [2 x i32]
c10 = %t13 [26, 5]
c24 = <2 x float> [0x3E800000, poison]

define %t2 @f0 "linked_offset" 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 = and i32 %a0, i32 7
  ret %i0
}

define %t5 @f1 "linked_visible_caller" "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"="" ) %a1( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call i32 @f2(%a2) "no-builtins"=""
  %i1 = zext %a2 to i64
  %i2 = getelementptr inbounds i32, %a0, %i1
  store %i0, %i2, align 4
  %i4 = tail call reassoc nnan ninf nsz arcp contract afn float @f4 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%a2)
  %i5 = tail call reassoc nnan ninf nsz arcp contract afn float @f3(%i4, float 0x3F000000) "no-builtins"=""
  %i6 = getelementptr inbounds float, %a1, %i1
  store %i5, %i6, align 4
  ret void
}

declare %t2 @f2 "linked_scale.MTL_VISIBLE_FN_REF", section "air.externally_defined"

declare %t7 @f3 "linked_blend.MTL_VISIBLE_FN_REF", section "air.externally_defined"

declare %t8 @f4 "air.convert.f.f32.u.i32" memory(NoModRef, NoModRef, NoModRef)

define %t5 @f5 "linked_visible_sampling" "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( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call reassoc nnan ninf nsz arcp contract afn float @f4 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%a2)
  %i1 = insertelement <2 x float> poison, %i0, i64 0
  %i2 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1, <2 x float> c24
  %i3 = shufflevector <2 x float> %i2, <2 x float> poison, <0, 0>
  %i4 = tail call reassoc nnan ninf nsz arcp contract afn <4 x float> @f6(%a0, %i3) "no-builtins"=""
  %i5 = zext %a2 to i64
  %i6 = getelementptr inbounds <4 x float>, %a1, %i5
  store %i4, %i6, align 16
  ret void
}

declare %t11 @f6 "linked_sample.MTL_VISIBLE_FN_REF", section "air.externally_defined"
!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 = !"air.buffer"
!md16 = !"air.location_index"
!md17 = !"air.read_write"
!md18 = !"air.address_space"
!md19 = !"air.arg_type_size"
!md20 = !"air.arg_type_align_size"
!md21 = !"words"
!md22 = !"float"
!md23 = !"floats"
!md24 = !"air.thread_position_in_grid"
!md25 = !"tid"
!md26 = !"air.texture"
!md27 = !"air.sample"
!md28 = !"texture2d<float, sample>"
!md29 = !"t"
!md30 = !"float4"
!md31 = !"out"
!md32 = !"air.compile.denorms_disable"
!md33 = !"air.compile.fast_math_enable"
!md34 = !"air.compile.framebuffer_fetch_enable"
!md35 = !"air.visible_function_reference"
!md36 = !"linked_scale"
!md37 = !"linked_blend"
!md38 = !"linked_sample"
!md39 = !"Apple metal version 32023.883 (metalfe-32023.883)"
!md40 = !"Metal"
!md41 = !"omnipotent char"
!md42 = !"Simple C++ TBAA"
!md43 = !"air-alias-scope-arg(1)"
!md44 = i32 2
!md45 = %t13 c10
!md46 = i32 1
!md47 = i32 4
!md48 = i32 7
!md49 = i32 31
!md50 = i32 128
!md51 = i32 8
!md52 = i32 16
!md53 = ptr addrspace(0) @f0
!md54 = i32 0
!md55 = ptr addrspace(0) @f1
!md56 = ptr addrspace(0) @f5
!md57 = ptr addrspace(0) @f2
!md58 = ptr addrspace(0) @f3
!md59 = ptr addrspace(0) @f6
!md60 = i64 0
!md61 = !{!md44, !md0, !md45}
!md62 = !{!md46, !md1, !md47}
!md63 = !{!md48, !md2, !md44}
!md64 = !{!md48, !md3, !md49}
!md65 = !{!md48, !md4, !md49}
!md66 = !{!md48, !md5, !md49}
!md67 = !{!md48, !md6, !md50}
!md68 = !{!md48, !md7, !md51}
!md69 = !{!md48, !md8, !md52}
!md70 = !{!md9, !md10, !md11}
!md71 = !{!md70}
!md72 = !{!md54, !md12, !md10, !md11, !md13, !md14}
!md73 = !{!md72}
!md74 = !{!md53, !md71, !md73}
!md75 = !{}
!md76 = !{!md54, !md15, !md16, !md54, !md46, !md17, !md18, !md46, !md19, !md47, !md20, !md47, !md10, !md11, !md13, !md21}
!md77 = !{!md46, !md15, !md16, !md46, !md46, !md17, !md18, !md46, !md19, !md47, !md20, !md47, !md10, !md22, !md13, !md23}
!md78 = !{!md44, !md24, !md10, !md11, !md13, !md25}
!md79 = !{!md76, !md77, !md78}
!md80 = !{!md55, !md75, !md79}
!md81 = !{!md54, !md26, !md16, !md54, !md46, !md27, !md10, !md28, !md13, !md29}
!md82 = !{!md46, !md15, !md16, !md54, !md46, !md17, !md18, !md46, !md19, !md52, !md20, !md52, !md10, !md30, !md13, !md31}
!md83 = !{!md81, !md82, !md78}
!md84 = !{!md56, !md75, !md83}
!md85 = !{!md32}
!md86 = !{!md33}
!md87 = !{!md34}
!md88 = !{!md35, !md57, !md36}
!md89 = !{!md35, !md58, !md37}
!md90 = !{!md35, !md59, !md38}
!md91 = !{!md39}
!md92 = !{!md44, !md51, !md54}
!md93 = !{!md40, !md47, !md54, !md54}
!md94 = !{!md42}
!md95 = !{!md41, !md94, !md60}
!"llvm.module.flags" = !{!md61, !md62, !md63, !md64, !md65, !md66, !md67, !md68, !md69}
!"air.visible" = !{!md74}
!"air.kernel" = !{!md80, !md84}
!"air.compile_options" = !{!md85, !md86, !md87}
!"air.visible_function_references" = !{!md88, !md89, !md90}
!"llvm.ident" = !{!md91}
!"air.version" = !{!md92}
!"air.language_version" = !{!md93}
