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 <{ <4 x float> }>
%t5 = type %t3 (i32)
%t6 = type float (i32)
%t7 = type <4 x float> (<4 x float>)
%t9 = type <4 x i32> (<4 x float>)
%t12 = type <2 x i32> (<2 x float>)
%t15 = type void (ptr addrspace(1), ptr addrspace(1), <2 x i32>)
%t17 = type void (ptr addrspace(1), ptr addrspace(2), ptr addrspace(1), <2 x i32>)
%t18 = type <2 x float> (<2 x i32>)
%t19 = type void (ptr addrspace(1), <2 x i32>)
%t20 = type <2 x float> (<2 x float>)
%t21 = type float (float)
%t22 = type ptr addrspace(2) ()
%t24 = type { <4 x float>, i8 }
%t25 = type %t24 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t26 = type { <4 x i32>, i8 }
%t27 = type %t26 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t28 = type { float, i8 }
%t29 = type %t28 (ptr addrspace(1), ptr addrspace(2), i32, <2 x i32>, <2 x i32>, i32, i32)
%t31 = type %t24 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i1, float, float, i32)
%t32 = type %t28 (ptr addrspace(1), ptr addrspace(2), i32, <2 x float>, i1, <2 x i32>, i1, float, float, i32)
%t33 = type void (ptr addrspace(1), <2 x i32>, <4 x float>, i32, i32)
%t34 = type void (ptr addrspace(1), <2 x i32>, <4 x i32>, i32, i32)
%t36 = type [2 x i32]
c35 = %t36 [27, 0]
c50 = <2 x float> [0x40000000, 0x40000000]
c51 = <2 x float> [0xBF800000, 0xBF800000]
c54 = <4 x i32> [0, 1, poison, poison]
c58 = <4 x float> [poison, poison, 0x0, 0x3F800000]
c59 = <4 x i32> [0, 1, 6, 7]
c62 = <2 x i32> [0, 1]
c67 = <4 x float> [poison, poison, 0x3E800000, 0x3F400000]
c71 = <4 x i32> [poison, poison, 4294967293, 5]
c73 = <4 x i32> [poison, poison, 3, 5]
c76 = <2 x float> [0x3E800000, 0x3F400000]
c77 = <2 x float> [0x3D800000, 0x3D800000]
c80 = <4 x i32> [1, 0, 3, 2]

define %t5 @f0 "scout_vertex" 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 = shl i32 %a0, i32 1
  %i1 = and i32 %i0, i32 2
  %i2 = tail call reassoc nnan ninf nsz arcp contract afn float @f1 [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 })](%i1)
  %i3 = insertelement <2 x float> undef, %i2, i64 0
  %i4 = and i32 %a0, i32 2
  %i5 = tail call reassoc nnan ninf nsz arcp contract afn float @f1 [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 })](%i4)
  %i6 = insertelement %i3, %i5, i64 1
  %i7 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i6, <2 x float> c50
  %i8 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i7, <2 x float> c51
  %i9 = shufflevector <4 x float> %i8, <2 x float> poison, <0, 1, poison, poison>
  %i10 = shufflevector <4 x float> %i9, <4 x float> c58, <0, 1, 6, 7>
  %i11 = insertvalue %t3 undef %i10, 0
  ret %i11
}

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

define %t7 @f2 "scout_fragment_f" memory(NoModRef, NoModRef, NoModRef) "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" {
bb0:
  %i0 = shufflevector <2 x float> %a0, <4 x float> poison, <0, 1>
  %i1 = tail call reassoc nnan ninf nsz arcp contract afn <2 x float> @f20 [air Math(Math { f: Floor, precision: Fast, ty: NumTy { elem: F32, lanes: 2 } })](%i0)
  %i2 = extractelement %i1, i64 0
  %i3 = fmul reassoc nnan ninf nsz arcp contract afn float %i2, float 0x3E124925
  %i4 = tail call reassoc nnan ninf nsz arcp contract afn float @f21 [air Math(Math { f: Fract, precision: Fast, ty: NumTy { elem: F32, lanes: 1 } })](%i3)
  %i5 = extractelement %i1, i64 1
  %i6 = fmul reassoc nnan ninf nsz arcp contract afn float %i5, float 0x3E4CCCCD
  %i7 = tail call reassoc nnan ninf nsz arcp contract afn float @f21 [air Math(Math { f: Fract, precision: Fast, ty: NumTy { elem: F32, lanes: 1 } })](%i6)
  %i8 = insertelement <4 x float> c67, %i4, i64 0
  %i9 = insertelement %i8, %i7, i64 1
  ret %i9
}

define %t9 @f3 "scout_fragment_i" memory(NoModRef, NoModRef, NoModRef) "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" {
bb0:
  %i0 = shufflevector <2 x float> %a0, <4 x float> poison, <0, 1>
  %i1 = tail call <2 x i32> @f4 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 2 }, dst_kind: Signed, src: NumTy { elem: F32, lanes: 2 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i0)
  %i2 = extractelement %i1, i64 0
  %i3 = add nsw i32 %i2, i32 4294967288
  %i4 = extractelement %i1, i64 1
  %i5 = add nsw i32 %i4, i32 4294967288
  %i6 = insertelement <4 x i32> c71, %i3, i64 0
  %i7 = insertelement %i6, %i5, i64 1
  ret %i7
}

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

define %t9 @f5 "scout_fragment_u" memory(NoModRef, NoModRef, NoModRef) "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" {
bb0:
  %i0 = shufflevector <2 x float> %a0, <4 x float> poison, <0, 1>
  %i1 = tail call <2 x i32> @f6 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 2 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 2 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i0)
  %i2 = shufflevector <4 x i32> %i1, <2 x i32> poison, <0, 1, poison, poison>
  %i3 = shufflevector <4 x i32> %i2, <4 x i32> c73, <0, 1, 6, 7>
  ret %i3
}

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

define %t15 @f7 "scout_read_f" "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"="" ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f22 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t24 @f23 [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, %a2, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i2 = extractvalue <4 x float> %i1, 0
  %i3 = extractelement %a2, i64 1
  %i4 = shl i32 %i3, i32 4
  %i5 = extractelement %a2, i64 0
  %i6 = add i32 %i4, %i5
  %i7 = zext %i6 to i64
  %i8 = getelementptr inbounds <4 x float>, %a1, %i7
  store %i2, %i8, align 16
  ret void
}

define %t15 @f8 "scout_read_i" "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"="" ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f22 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t26 @f24 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Signed) }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a0, %i0, %a2, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i2 = extractvalue <4 x i32> %i1, 0
  %i3 = extractelement %a2, i64 1
  %i4 = shl i32 %i3, i32 4
  %i5 = extractelement %a2, i64 0
  %i6 = add i32 %i4, %i5
  %i7 = zext %i6 to i64
  %i8 = getelementptr inbounds <4 x i32>, %a1, %i7
  store %i2, %i8, align 16
  ret void
}

define %t15 @f9 "scout_read_u" "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"="" ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f22 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t26 @f25 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Unsigned) }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a0, %i0, %a2, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i2 = extractvalue <4 x i32> %i1, 0
  %i3 = extractelement %a2, i64 1
  %i4 = shl i32 %i3, i32 4
  %i5 = extractelement %a2, i64 0
  %i6 = add i32 %i4, %i5
  %i7 = zext %i6 to i64
  %i8 = getelementptr inbounds <4 x i32>, %a1, %i7
  store %i2, %i8, align 16
  ret void
}

define %t15 @f10 "scout_read_d" "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"="" ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f22 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t28 @f26 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: true }, texel: Some(Texel { ty: NumTy { elem: F32, lanes: 1 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a0, %i0, i32 1, %a2, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i2 = extractvalue float %i1, 0
  %i3 = extractelement %a2, i64 1
  %i4 = shl i32 %i3, i32 4
  %i5 = extractelement %a2, i64 0
  %i6 = add i32 %i4, %i5
  %i7 = zext %i6 to i64
  %i8 = getelementptr inbounds float, %a1, %i7
  store %i2, %i8, align 4
  ret void
}

define %t17 @f11 "scout_sample_f" convergent memory(ModRef, NoModRef, NoModRef) "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( Ref nocapture ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call reassoc nnan ninf nsz arcp contract afn <2 x float> @f12 [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> c76
  %i2 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1, <2 x float> c77
  %i3 = tail call %t24 @f27 [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, %a1, %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 = extractelement %a3, i64 1
  %i6 = shl i32 %i5, i32 4
  %i7 = extractelement %a3, i64 0
  %i8 = add i32 %i6, %i7
  %i9 = zext %i8 to i64
  %i10 = getelementptr inbounds <4 x float>, %a2, %i9
  store %i4, %i10, align 16
  ret void
}

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

define %t17 @f13 "scout_sample_d" convergent memory(ModRef, NoModRef, NoModRef) "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( Ref nocapture ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call reassoc nnan ninf nsz arcp contract afn <2 x float> @f12 [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> c76
  %i2 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i1, <2 x float> c77
  %i3 = tail call %t28 @f28 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: true }, texel: Some(Texel { ty: NumTy { elem: F32, lanes: 1 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Sample), states_access: true, device_coherent: false })](%a0, %a1, i32 1, %i2, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i4 = extractvalue float %i3, 0
  %i5 = extractelement %a3, i64 1
  %i6 = shl i32 %i5, i32 4
  %i7 = extractelement %a3, i64 0
  %i8 = add i32 %i6, %i7
  %i9 = zext %i8 to i64
  %i10 = getelementptr inbounds float, %a2, %i9
  store %i4, %i10, align 4
  ret void
}

define %t19 @f14 "scout_write_f" "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" {
bb0:
  %i0 = extractelement %a1, i64 0
  %i1 = tail call reassoc nnan ninf nsz arcp contract afn float @f1 [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 })](%i0)
  %i2 = fmul reassoc nnan ninf nsz arcp contract afn float %i1, float 0x3E124925
  %i3 = tail call reassoc nnan ninf nsz arcp contract afn float @f21 [air Math(Math { f: Fract, precision: Fast, ty: NumTy { elem: F32, lanes: 1 } })](%i2)
  %i4 = extractelement %a1, i64 1
  %i5 = tail call reassoc nnan ninf nsz arcp contract afn float @f1 [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 })](%i4)
  %i6 = fmul reassoc nnan ninf nsz arcp contract afn float %i5, float 0x3E4CCCCD
  %i7 = tail call reassoc nnan ninf nsz arcp contract afn float @f21 [air Math(Math { f: Fract, precision: Fast, ty: NumTy { elem: F32, lanes: 1 } })](%i6)
  %i8 = insertelement <4 x float> c67, %i3, i64 0
  %i9 = insertelement %i8, %i7, i64 1
  tail call void @f29 [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, %a1, %i9, i32 0, i32 2) arg0( nocapture )
  ret void
}

define %t19 @f15 "scout_write_i" "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" {
bb0:
  %i0 = extractelement %a1, i64 0
  %i1 = add nsw i32 %i0, i32 4294967288
  %i2 = extractelement %a1, i64 1
  %i3 = add nsw i32 %i2, i32 4294967288
  %i4 = insertelement <4 x i32> c71, %i1, i64 0
  %i5 = insertelement %i4, %i3, i64 1
  tail call void @f30 [air Texture(Texture { op: Write, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Signed) }), coord16: false, form: Current, status: true, access: Some(Write), states_access: true, device_coherent: false })](%a0, %a1, %i5, i32 0, i32 2) arg0( nocapture )
  ret void
}

define %t19 @f16 "scout_write_u" memory(ModRef, NoModRef, NoModRef) "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( nocapture ) {
bb0:
  %i0 = shufflevector <4 x i32> %a1, <2 x i32> poison, <0, 1, poison, poison>
  %i1 = shufflevector <4 x i32> %i0, <4 x i32> c73, <0, 1, 6, 7>
  tail call void @f31 [air Texture(Texture { op: Write, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Unsigned) }), coord16: false, form: Current, status: true, access: Some(Write), states_access: true, device_coherent: false })](%a0, %a1, %i1, i32 0, i32 2) arg0( nocapture )
  ret void
}

define %t19 @f17 "scout_read_write_f" "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( nocapture ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f22 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t24 @f23 [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(ReadWrite), states_access: true, device_coherent: false })](%a0, %i0, %a1, <2 x i32> zeroinitializer, i32 0, i32 3) arg0( Ref nocapture )
  %i2 = extractvalue <4 x float> %i1, 0
  %i3 = shufflevector <4 x float> %i2, <4 x float> poison, <1, 0, 3, 2>
  tail call void @f29 [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(ReadWrite), states_access: true, device_coherent: false })](%a0, %a1, %i3, i32 0, i32 3) arg0( nocapture )
  ret void
}

define %t19 @f18 "scout_read_write_i" "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( nocapture ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f22 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t26 @f24 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Signed) }), coord16: false, form: Current, status: true, access: Some(ReadWrite), states_access: true, device_coherent: false })](%a0, %i0, %a1, <2 x i32> zeroinitializer, i32 0, i32 3) arg0( Ref nocapture )
  %i2 = extractvalue <4 x i32> %i1, 0
  %i3 = shufflevector <4 x i32> %i2, <4 x i32> poison, <1, 0, 3, 2>
  tail call void @f30 [air Texture(Texture { op: Write, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Signed) }), coord16: false, form: Current, status: true, access: Some(ReadWrite), states_access: true, device_coherent: false })](%a0, %a1, %i3, i32 0, i32 3) arg0( nocapture )
  ret void
}

define %t19 @f19 "scout_read_write_u" "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( nocapture ) {
bb0:
  %i0 = tail call ptr addrspace(2) @f22 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t26 @f25 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Unsigned) }), coord16: false, form: Current, status: true, access: Some(ReadWrite), states_access: true, device_coherent: false })](%a0, %i0, %a1, <2 x i32> zeroinitializer, i32 0, i32 3) arg0( Ref nocapture )
  %i2 = extractvalue <4 x i32> %i1, 0
  %i3 = shufflevector <4 x i32> %i2, <4 x i32> poison, <1, 0, 3, 2>
  tail call void @f31 [air Texture(Texture { op: Write, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Unsigned) }), coord16: false, form: Current, status: true, access: Some(ReadWrite), states_access: true, device_coherent: false })](%a0, %a1, %i3, i32 0, i32 3) arg0( nocapture )
  ret void
}

declare %t20 @f20 "air.fast_floor.v2f32" memory(NoModRef, NoModRef, NoModRef)

declare %t21 @f21 "air.fast_fract.f32" memory(NoModRef, NoModRef, NoModRef)

declare %t22 @f22 "air.get_read_sampler" memory(NoModRef, Ref, NoModRef)

declare %t25 @f23 "air.read_texture_2d.v4f32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t27 @f24 "air.read_texture_2d.s.v4i32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t27 @f25 "air.read_texture_2d.u.v4i32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t29 @f26 "air.read_depth_2d.f32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

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

declare %t32 @f28 "air.sample_depth_2d.f32" convergent memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )

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

declare %t34 @f30 "air.write_texture_2d.s.v4i32" memory(ModRef, NoModRef, NoModRef) %a0( nocapture )

declare %t34 @f31 "air.write_texture_2d.u.v4i32" memory(ModRef, NoModRef, NoModRef) %a0( 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.position"
!md10 = !"air.arg_type_name"
!md11 = !"float4"
!md12 = !"air.arg_name"
!md13 = !"position"
!md14 = !"air.vertex_id"
!md15 = !"uint"
!md16 = !"id"
!md17 = !"air.render_target"
!md18 = !"air.center"
!md19 = !"air.no_perspective"
!md20 = !"int4"
!md21 = !"uint4"
!md22 = !"air.texture"
!md23 = !"air.location_index"
!md24 = !"air.read"
!md25 = !"texture2d<float, read>"
!md26 = !"t"
!md27 = !"air.buffer"
!md28 = !"air.read_write"
!md29 = !"air.address_space"
!md30 = !"air.arg_type_size"
!md31 = !"air.arg_type_align_size"
!md32 = !"out"
!md33 = !"air.thread_position_in_grid"
!md34 = !"uint2"
!md35 = !"g"
!md36 = !"texture2d<int, read>"
!md37 = !"texture2d<uint, read>"
!md38 = !"depth2d<float, read>"
!md39 = !"float"
!md40 = !"air.sample"
!md41 = !"texture2d<float, sample>"
!md42 = !"air.sampler"
!md43 = !"sampler"
!md44 = !"s"
!md45 = !"depth2d<float, sample>"
!md46 = !"air.write"
!md47 = !"texture2d<float, write>"
!md48 = !"texture2d<int, write>"
!md49 = !"texture2d<uint, write>"
!md50 = !"texture2d<float, read_write>"
!md51 = !"texture2d<int, read_write>"
!md52 = !"texture2d<uint, read_write>"
!md53 = !"air.compile.denorms_disable"
!md54 = !"air.compile.fast_math_enable"
!md55 = !"air.compile.framebuffer_fetch_enable"
!md56 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md57 = !"Metal"
!md58 = !"omnipotent char"
!md59 = !"Simple C++ TBAA"
!md60 = !"air-alias-scope-arg(1)"
!md61 = !"air-alias-scope-textures"
!md62 = !"air-alias-scope-samplers"
!md63 = !"air-alias-scope-arg(2)"
!md64 = i32 2
!md65 = %t36 c35
!md66 = i32 1
!md67 = i32 4
!md68 = i32 7
!md69 = i32 31
!md70 = i32 128
!md71 = i32 8
!md72 = i32 16
!md73 = ptr addrspace(0) @f0
!md74 = i32 0
!md75 = ptr addrspace(0) @f2
!md76 = ptr addrspace(0) @f3
!md77 = ptr addrspace(0) @f5
!md78 = ptr addrspace(0) @f7
!md79 = ptr addrspace(0) @f8
!md80 = ptr addrspace(0) @f9
!md81 = ptr addrspace(0) @f10
!md82 = ptr addrspace(0) @f11
!md83 = i32 3
!md84 = ptr addrspace(0) @f13
!md85 = ptr addrspace(0) @f14
!md86 = ptr addrspace(0) @f15
!md87 = ptr addrspace(0) @f16
!md88 = ptr addrspace(0) @f17
!md89 = ptr addrspace(0) @f18
!md90 = ptr addrspace(0) @f19
!md91 = i64 0
!md92 = !{!md64, !md0, !md65}
!md93 = !{!md66, !md1, !md67}
!md94 = !{!md68, !md2, !md64}
!md95 = !{!md68, !md3, !md69}
!md96 = !{!md68, !md4, !md69}
!md97 = !{!md68, !md5, !md69}
!md98 = !{!md68, !md6, !md70}
!md99 = !{!md68, !md7, !md71}
!md100 = !{!md68, !md8, !md72}
!md101 = !{!md9, !md10, !md11, !md12, !md13}
!md102 = !{!md101}
!md103 = !{!md74, !md14, !md10, !md15, !md12, !md16}
!md104 = !{!md103}
!md105 = !{!md73, !md102, !md104}
!md106 = !{!md17, !md74, !md74, !md10, !md11}
!md107 = !{!md106}
!md108 = !{!md74, !md9, !md18, !md19, !md10, !md11, !md12, !md13}
!md109 = !{!md108}
!md110 = !{!md75, !md107, !md109}
!md111 = !{!md17, !md74, !md74, !md10, !md20}
!md112 = !{!md111}
!md113 = !{!md76, !md112, !md109}
!md114 = !{!md17, !md74, !md74, !md10, !md21}
!md115 = !{!md114}
!md116 = !{!md77, !md115, !md109}
!md117 = !{}
!md118 = !{!md74, !md22, !md23, !md74, !md66, !md24, !md10, !md25, !md12, !md26}
!md119 = !{!md66, !md27, !md23, !md74, !md66, !md28, !md29, !md66, !md30, !md72, !md31, !md72, !md10, !md11, !md12, !md32}
!md120 = !{!md64, !md33, !md10, !md34, !md12, !md35}
!md121 = !{!md118, !md119, !md120}
!md122 = !{!md78, !md117, !md121}
!md123 = !{!md74, !md22, !md23, !md74, !md66, !md24, !md10, !md36, !md12, !md26}
!md124 = !{!md66, !md27, !md23, !md74, !md66, !md28, !md29, !md66, !md30, !md72, !md31, !md72, !md10, !md20, !md12, !md32}
!md125 = !{!md123, !md124, !md120}
!md126 = !{!md79, !md117, !md125}
!md127 = !{!md74, !md22, !md23, !md74, !md66, !md24, !md10, !md37, !md12, !md26}
!md128 = !{!md66, !md27, !md23, !md74, !md66, !md28, !md29, !md66, !md30, !md72, !md31, !md72, !md10, !md21, !md12, !md32}
!md129 = !{!md127, !md128, !md120}
!md130 = !{!md80, !md117, !md129}
!md131 = !{!md74, !md22, !md23, !md74, !md66, !md24, !md10, !md38, !md12, !md26}
!md132 = !{!md66, !md27, !md23, !md74, !md66, !md28, !md29, !md66, !md30, !md67, !md31, !md67, !md10, !md39, !md12, !md32}
!md133 = !{!md131, !md132, !md120}
!md134 = !{!md81, !md117, !md133}
!md135 = !{!md74, !md22, !md23, !md74, !md66, !md40, !md10, !md41, !md12, !md26}
!md136 = !{!md66, !md42, !md23, !md74, !md66, !md10, !md43, !md12, !md44}
!md137 = !{!md64, !md27, !md23, !md74, !md66, !md28, !md29, !md66, !md30, !md72, !md31, !md72, !md10, !md11, !md12, !md32}
!md138 = !{!md83, !md33, !md10, !md34, !md12, !md35}
!md139 = !{!md135, !md136, !md137, !md138}
!md140 = !{!md82, !md117, !md139}
!md141 = !{!md74, !md22, !md23, !md74, !md66, !md40, !md10, !md45, !md12, !md26}
!md142 = !{!md64, !md27, !md23, !md74, !md66, !md28, !md29, !md66, !md30, !md67, !md31, !md67, !md10, !md39, !md12, !md32}
!md143 = !{!md141, !md136, !md142, !md138}
!md144 = !{!md84, !md117, !md143}
!md145 = !{!md74, !md22, !md23, !md74, !md66, !md46, !md10, !md47, !md12, !md26}
!md146 = !{!md66, !md33, !md10, !md34, !md12, !md35}
!md147 = !{!md145, !md146}
!md148 = !{!md85, !md117, !md147}
!md149 = !{!md74, !md22, !md23, !md74, !md66, !md46, !md10, !md48, !md12, !md26}
!md150 = !{!md149, !md146}
!md151 = !{!md86, !md117, !md150}
!md152 = !{!md74, !md22, !md23, !md74, !md66, !md46, !md10, !md49, !md12, !md26}
!md153 = !{!md152, !md146}
!md154 = !{!md87, !md117, !md153}
!md155 = !{!md74, !md22, !md23, !md74, !md66, !md28, !md10, !md50, !md12, !md26}
!md156 = !{!md155, !md146}
!md157 = !{!md88, !md117, !md156}
!md158 = !{!md74, !md22, !md23, !md74, !md66, !md28, !md10, !md51, !md12, !md26}
!md159 = !{!md158, !md146}
!md160 = !{!md89, !md117, !md159}
!md161 = !{!md74, !md22, !md23, !md74, !md66, !md28, !md10, !md52, !md12, !md26}
!md162 = !{!md161, !md146}
!md163 = !{!md90, !md117, !md162}
!md164 = !{!md53}
!md165 = !{!md54}
!md166 = !{!md55}
!md167 = !{!md56}
!md168 = !{!md64, !md71, !md74}
!md169 = !{!md57, !md67, !md74, !md74}
!md170 = !{!md59}
!md171 = !{!md58, !md170, !md91}
!md172 = !{!md171, !md171, !md91}
!md173 = !{!md39, !md171, !md91}
!md174 = !{!md173, !md173, !md91}
!"llvm.module.flags" = !{!md92, !md93, !md94, !md95, !md96, !md97, !md98, !md99, !md100}
!"air.vertex" = !{!md105}
!"air.fragment" = !{!md110, !md113, !md116}
!"air.kernel" = !{!md122, !md126, !md130, !md134, !md140, !md144, !md148, !md151, !md154, !md157, !md160, !md163}
!"air.compile_options" = !{!md164, !md165, !md166}
!"llvm.ident" = !{!md167}
!"air.version" = !{!md168}
!"air.language_version" = !{!md169}
