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: [] }
%t6 = type void (ptr addrspace(1), ptr addrspace(1), ptr addrspace(2), <2 x i32>)
%t9 = type void (ptr addrspace(1), <2 x i32>, <4 x half>, i32, i32)
%t12 = type void (ptr addrspace(1), <2 x i32>, <4 x float>, i32, i32)
%t13 = type ptr addrspace(2) ()
%t15 = type { <4 x half>, i8 }
%t16 = type %t15 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t17 = type { <4 x float>, i8 }
%t18 = type %t17 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t20 = type [2 x i32]
c12 = %t20 [27, 0]

define %t6 @f0 "xr2p_write_half" "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="64" "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( align 4 dereferenceable(4) Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = extractelement %a3, i64 1
  %i1 = load i32, %a2, align 4
  %i2 = mul i32 %i1, %i0
  %i3 = extractelement %a3, i64 0
  %i4 = add i32 %i2, %i3
  %i5 = zext %i4 to i64
  %i6 = getelementptr inbounds <4 x half>, %a1, %i5
  %i7 = load <4 x half>, %i6, align 8
  tail call void @f4 [air Texture(Texture { op: Write, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Write), states_access: true, device_coherent: false })](%a0, %a3, %i7, i32 0, i32 2) arg0( nocapture )
  ret void
}

define %t6 @f1 "xr2p_write_float" "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( align 4 dereferenceable(4) Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = extractelement %a3, i64 1
  %i1 = load i32, %a2, align 4
  %i2 = mul i32 %i1, %i0
  %i3 = extractelement %a3, i64 0
  %i4 = add i32 %i2, %i3
  %i5 = zext %i4 to i64
  %i6 = getelementptr inbounds <4 x float>, %a1, %i5
  %i7 = load <4 x float>, %i6, align 16
  tail call void @f5 [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, %i7, i32 0, i32 2) arg0( nocapture )
  ret void
}

define %t6 @f2 "xr2p_read_half" "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="64" "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 ) %a1( Mod nocapture "air-buffer-no-alias"="" ) %a2( align 4 dereferenceable(4) Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f6 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t15 @f7 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a0, %i0, %a3, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i2 = extractvalue <4 x half> %i1, 0
  %i3 = extractelement %a3, i64 1
  %i4 = load i32, %a2, align 4
  %i5 = mul i32 %i4, %i3
  %i6 = extractelement %a3, i64 0
  %i7 = add i32 %i5, %i6
  %i8 = zext %i7 to i64
  %i9 = getelementptr inbounds <4 x half>, %a1, %i8
  store %i2, %i9, align 8
  ret void
}

define %t6 @f3 "xr2p_read_float" "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 ) %a1( Mod nocapture "air-buffer-no-alias"="" ) %a2( align 4 dereferenceable(4) Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f6 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t17 @f8 [air Texture(Texture { op: Read, 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(Read), states_access: true, device_coherent: false })](%a0, %i0, %a3, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i2 = extractvalue <4 x float> %i1, 0
  %i3 = extractelement %a3, i64 1
  %i4 = load i32, %a2, align 4
  %i5 = mul i32 %i4, %i3
  %i6 = extractelement %a3, i64 0
  %i7 = add i32 %i5, %i6
  %i8 = zext %i7 to i64
  %i9 = getelementptr inbounds <4 x float>, %a1, %i8
  store %i2, %i9, align 16
  ret void
}

declare %t9 @f4 "air.write_texture_2d.v4f16" memory(ModRef, NoModRef, NoModRef) %a0( nocapture )

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

declare %t13 @f6 "air.get_read_sampler" memory(NoModRef, Ref, NoModRef)

declare %t16 @f7 "air.read_texture_2d.v4f16" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t18 @f8 "air.read_texture_2d.v4f32" memory(Ref, NoModRef, NoModRef) %a0( 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.write"
!md12 = !"air.arg_type_name"
!md13 = !"texture2d<half, write>"
!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 = !"half4"
!md22 = !"in"
!md23 = !"air.buffer_size"
!md24 = !"uint"
!md25 = !"w"
!md26 = !"air.thread_position_in_grid"
!md27 = !"uint2"
!md28 = !"g"
!md29 = !"texture2d<float, write>"
!md30 = !"float4"
!md31 = !"texture2d<half, read>"
!md32 = !"air.read_write"
!md33 = !"out"
!md34 = !"texture2d<float, read>"
!md35 = !"air.compile.denorms_disable"
!md36 = !"air.compile.fast_math_enable"
!md37 = !"air.compile.framebuffer_fetch_enable"
!md38 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md39 = !"Metal"
!md40 = !"int"
!md41 = !"omnipotent char"
!md42 = !"Simple C++ TBAA"
!md43 = !"air-alias-scope-arg(2)"
!md44 = !"air-alias-scope-arg(1)"
!md45 = !"air-alias-scope-textures"
!md46 = i32 2
!md47 = %t20 c12
!md48 = i32 1
!md49 = i32 4
!md50 = i32 7
!md51 = i32 31
!md52 = i32 128
!md53 = i32 8
!md54 = i32 16
!md55 = ptr addrspace(0) @f0
!md56 = i32 0
!md57 = i32 3
!md58 = ptr addrspace(0) @f1
!md59 = ptr addrspace(0) @f2
!md60 = ptr addrspace(0) @f3
!md61 = i64 0
!md62 = !{!md46, !md0, !md47}
!md63 = !{!md48, !md1, !md49}
!md64 = !{!md50, !md2, !md46}
!md65 = !{!md50, !md3, !md51}
!md66 = !{!md50, !md4, !md51}
!md67 = !{!md50, !md5, !md51}
!md68 = !{!md50, !md6, !md52}
!md69 = !{!md50, !md7, !md53}
!md70 = !{!md50, !md8, !md54}
!md71 = !{}
!md72 = !{!md56, !md9, !md10, !md56, !md48, !md11, !md12, !md13, !md14, !md15}
!md73 = !{!md48, !md16, !md10, !md56, !md48, !md17, !md18, !md48, !md19, !md53, !md20, !md53, !md12, !md21, !md14, !md22}
!md74 = !{!md46, !md16, !md23, !md49, !md10, !md48, !md48, !md17, !md18, !md46, !md19, !md49, !md20, !md49, !md12, !md24, !md14, !md25}
!md75 = !{!md57, !md26, !md12, !md27, !md14, !md28}
!md76 = !{!md72, !md73, !md74, !md75}
!md77 = !{!md55, !md71, !md76}
!md78 = !{!md56, !md9, !md10, !md56, !md48, !md11, !md12, !md29, !md14, !md15}
!md79 = !{!md48, !md16, !md10, !md56, !md48, !md17, !md18, !md48, !md19, !md54, !md20, !md54, !md12, !md30, !md14, !md22}
!md80 = !{!md78, !md79, !md74, !md75}
!md81 = !{!md58, !md71, !md80}
!md82 = !{!md56, !md9, !md10, !md56, !md48, !md17, !md12, !md31, !md14, !md15}
!md83 = !{!md48, !md16, !md10, !md56, !md48, !md32, !md18, !md48, !md19, !md53, !md20, !md53, !md12, !md21, !md14, !md33}
!md84 = !{!md82, !md83, !md74, !md75}
!md85 = !{!md59, !md71, !md84}
!md86 = !{!md56, !md9, !md10, !md56, !md48, !md17, !md12, !md34, !md14, !md15}
!md87 = !{!md48, !md16, !md10, !md56, !md48, !md32, !md18, !md48, !md19, !md54, !md20, !md54, !md12, !md30, !md14, !md33}
!md88 = !{!md86, !md87, !md74, !md75}
!md89 = !{!md60, !md71, !md88}
!md90 = !{!md35}
!md91 = !{!md36}
!md92 = !{!md37}
!md93 = !{!md38}
!md94 = !{!md46, !md53, !md56}
!md95 = !{!md39, !md49, !md56, !md56}
!md96 = !{!md42}
!md97 = !{!md41, !md96, !md61}
!md98 = !{!md40, !md97, !md61}
!md99 = !{!md98, !md98, !md61}
!md100 = !{!md97, !md97, !md61}
!"llvm.module.flags" = !{!md62, !md63, !md64, !md65, !md66, !md67, !md68, !md69, !md70}
!"air.kernel" = !{!md77, !md81, !md85, !md89}
!"air.compile_options" = !{!md90, !md91, !md92}
!"llvm.ident" = !{!md93}
!"air.version" = !{!md94}
!"air.language_version" = !{!md95}
