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)
%t10 = type { float, i8 }
%t14 = type %t10 (ptr addrspace(1), ptr addrspace(2), i32, <2 x float>, float, i1, <2 x i32>, i1, float, float, i32)
%t16 = type { <4 x float>, i8 }
%t17 = type %t16 (ptr addrspace(1), ptr addrspace(2), i32, <2 x float>, i1, <2 x i32>, i32)
%t18 = type %t16 (ptr addrspace(1), ptr addrspace(2), i32, <2 x float>, float, i1, <2 x i32>, i32)
%t20 = type %t10 (ptr addrspace(1), ptr addrspace(2), i32, <3 x float>, float, i1, float, float, i32)
%t21 = type %t10 (ptr addrspace(1), ptr addrspace(2), i32, <3 x float>, i1, float, float, i32)
%t23 = type [2 x i32]
c23 = %t2 [34901797600627273, 0]
c24 = %t2 [34901797600823881, 0]
c25 = %t2 [34901797600624713, 0]
c26 = %t2 [34901797600821321, 0]
c27 = %t2 [34901797601017929, 0]
c28 = %t2 [34901797601020489, 0]
c30 = %t23 [27, 0]
c40 = <2 x i32> [0, 1]
c49 = <3 x i32> [0, 1, 2]
@g0 "__air_sampler_state" = internal addrspace(2) constant %t2 c23, align 8
@g1 "__air_sampler_state.1" = internal addrspace(2) constant %t2 c24, align 8
@g2 "__air_sampler_state.2" = internal addrspace(2) constant %t2 c25, align 8
@g3 "__air_sampler_state.3" = internal addrspace(2) constant %t2 c26, align 8
@g4 "__air_sampler_state.4" = internal addrspace(2) constant %t2 c27, align 8
@g5 "__air_sampler_state.5" = internal addrspace(2) constant %t2 c28, align 8

define %t7 @f0 "msf_cmp_sample2d" convergent "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( 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 = extractelement %i2, i64 2
  %i5 = tail call %t10 @f3 [air Texture(Texture { op: Sample { compare: true, 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, ptr addrspace(2) @g0, i32 1, %i3, %i4, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i6 = extractvalue float %i5, 0
  %i7 = insertelement <4 x float> undef, %i6, i64 0
  %i8 = tail call %t10 @f3 [air Texture(Texture { op: Sample { compare: true, 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, ptr addrspace(2) @g1, i32 1, %i3, %i4, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i9 = extractvalue float %i8, 0
  %i10 = insertelement %i7, %i9, i64 1
  %i11 = tail call %t10 @f3 [air Texture(Texture { op: Sample { compare: true, 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, ptr addrspace(2) @g2, i32 1, %i3, %i4, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i12 = extractvalue float %i11, 0
  %i13 = insertelement %i10, %i12, i64 2
  %i14 = tail call %t10 @f3 [air Texture(Texture { op: Sample { compare: true, 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, ptr addrspace(2) @g3, i32 1, %i3, %i4, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i15 = extractvalue float %i14, 0
  %i16 = insertelement %i13, %i15, i64 3
  %i17 = getelementptr inbounds <4 x float>, %a2, %i0
  store %i16, %i17, align 16
  ret void
}

define %t7 @f1 "msf_cmp_gather2d" "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 = extractelement %i2, i64 2
  %i5 = mul i32 %a3, i32 3
  %i6 = zext %i5 to i64
  %i7 = getelementptr inbounds <4 x float>, %a2, %i6
  %i8 = tail call %t16 @f4 [air Texture(Texture { op: Gather { component: None, compare: false, offset: true }, image: ImageShape { dim: D2, array: false, ms: false, depth: true }, 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, i32 1, %i3, i1 1, <2 x i32> zeroinitializer, i32 0) arg0( Ref nocapture ) arg1( Ref nocapture )
  %i9 = extractvalue <4 x float> %i8, 0
  store %i9, %i7, align 16
  %i11 = tail call %t16 @f5 [air Texture(Texture { op: Gather { component: None, compare: true, 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, ptr addrspace(2) @g2, i32 1, %i3, %i4, i1 1, <2 x i32> zeroinitializer, i32 0) arg0( Ref nocapture ) arg1( Ref nocapture )
  %i12 = extractvalue <4 x float> %i11, 0
  %i13 = getelementptr inbounds <4 x float>, %i7, i64 1
  store %i12, %i13, align 16
  %i15 = tail call %t16 @f5 [air Texture(Texture { op: Gather { component: None, compare: true, 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, ptr addrspace(2) @g3, i32 1, %i3, %i4, i1 1, <2 x i32> zeroinitializer, i32 0) arg0( Ref nocapture ) arg1( Ref nocapture )
  %i16 = extractvalue <4 x float> %i15, 0
  %i17 = getelementptr inbounds <4 x float>, %i7, i64 2
  store %i16, %i17, align 16
  ret void
}

define %t7 @f2 "msf_cmp_cube" convergent "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="96" "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 <3 x float> %i2, <4 x float> poison, <0, 1, 2>
  %i4 = extractelement %i2, i64 3
  %i5 = tail call %t10 @f6 [air Texture(Texture { op: Sample { compare: true, lod: Bias, offset: false }, image: ImageShape { dim: Cube, 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, ptr addrspace(2) @g0, i32 1, %i3, %i4, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i6 = extractvalue float %i5, 0
  %i7 = insertelement <4 x float> undef, %i6, i64 0
  %i8 = tail call %t10 @f6 [air Texture(Texture { op: Sample { compare: true, lod: Bias, offset: false }, image: ImageShape { dim: Cube, 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, ptr addrspace(2) @g1, i32 1, %i3, %i4, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i9 = extractvalue float %i8, 0
  %i10 = insertelement %i7, %i9, i64 1
  %i11 = tail call %t10 @f6 [air Texture(Texture { op: Sample { compare: true, lod: Bias, offset: false }, image: ImageShape { dim: Cube, 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, ptr addrspace(2) @g3, i32 1, %i3, %i4, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i12 = extractvalue float %i11, 0
  %i13 = insertelement %i10, %i12, i64 2
  %i14 = tail call %t10 @f7 [air Texture(Texture { op: Sample { compare: false, lod: Bias, offset: false }, image: ImageShape { dim: Cube, 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, ptr addrspace(2) @g5, i32 1, %i3, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i15 = extractvalue float %i14, 0
  %i16 = insertelement %i13, %i15, i64 3
  %i17 = getelementptr inbounds <4 x float>, %a2, %i0
  store %i16, %i17, align 16
  ret void
}

declare %t14 @f3 "air.sample_compare_depth_2d.f32" convergent memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )

declare %t17 @f4 "air.gather_depth_2d.v4f32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )

declare %t18 @f5 "air.gather_compare_depth_2d.f32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )

declare %t20 @f6 "air.sample_compare_depth_cube.f32" convergent memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )

declare %t21 @f7 "air.sample_depth_cube.f32" 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 = !"depth2d<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 = !"job"
!md23 = !"air.read_write"
!md24 = !"out"
!md25 = !"air.thread_position_in_grid"
!md26 = !"uint"
!md27 = !"i"
!md28 = !"depthcube<float, sample>"
!md29 = !"c"
!md30 = !"air.compile.denorms_disable"
!md31 = !"air.compile.fast_math_enable"
!md32 = !"air.compile.framebuffer_fetch_enable"
!md33 = !"air.sampler_state"
!md34 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md35 = !"Metal"
!md36 = !"omnipotent char"
!md37 = !"Simple C++ TBAA"
!md38 = !"air-alias-scope-arg(1)"
!md39 = !"air-alias-scope-arg(2)"
!md40 = !"air-alias-scope-textures"
!md41 = i32 2
!md42 = %t23 c30
!md43 = i32 1
!md44 = i32 4
!md45 = i32 7
!md46 = i32 31
!md47 = i32 128
!md48 = i32 8
!md49 = i32 16
!md50 = ptr addrspace(0) @f0
!md51 = i32 0
!md52 = i32 3
!md53 = ptr addrspace(0) @f1
!md54 = ptr addrspace(0) @f2
!md55 = ptr addrspace(2) @g0
!md56 = ptr addrspace(2) @g1
!md57 = ptr addrspace(2) @g2
!md58 = ptr addrspace(2) @g3
!md59 = ptr addrspace(2) @g4
!md60 = ptr addrspace(2) @g5
!md61 = i64 0
!md62 = !{!md41, !md0, !md42}
!md63 = !{!md43, !md1, !md44}
!md64 = !{!md45, !md2, !md41}
!md65 = !{!md45, !md3, !md46}
!md66 = !{!md45, !md4, !md46}
!md67 = !{!md45, !md5, !md46}
!md68 = !{!md45, !md6, !md47}
!md69 = !{!md45, !md7, !md48}
!md70 = !{!md45, !md8, !md49}
!md71 = !{}
!md72 = !{!md51, !md9, !md10, !md51, !md43, !md11, !md12, !md13, !md14, !md15}
!md73 = !{!md43, !md16, !md10, !md51, !md43, !md17, !md18, !md43, !md19, !md49, !md20, !md49, !md12, !md21, !md14, !md22}
!md74 = !{!md41, !md16, !md10, !md43, !md43, !md23, !md18, !md43, !md19, !md49, !md20, !md49, !md12, !md21, !md14, !md24}
!md75 = !{!md52, !md25, !md12, !md26, !md14, !md27}
!md76 = !{!md72, !md73, !md74, !md75}
!md77 = !{!md50, !md71, !md76}
!md78 = !{!md53, !md71, !md76}
!md79 = !{!md51, !md9, !md10, !md51, !md43, !md11, !md12, !md28, !md14, !md29}
!md80 = !{!md79, !md73, !md74, !md75}
!md81 = !{!md54, !md71, !md80}
!md82 = !{!md30}
!md83 = !{!md31}
!md84 = !{!md32}
!md85 = !{!md33, !md55}
!md86 = !{!md33, !md56}
!md87 = !{!md33, !md57}
!md88 = !{!md33, !md58}
!md89 = !{!md33, !md59}
!md90 = !{!md33, !md60}
!md91 = !{!md34}
!md92 = !{!md41, !md48, !md51}
!md93 = !{!md35, !md44, !md51, !md51}
!md94 = !{!md37}
!md95 = !{!md36, !md94, !md61}
!md96 = !{!md95, !md95, !md61}
!"llvm.module.flags" = !{!md62, !md63, !md64, !md65, !md66, !md67, !md68, !md69, !md70}
!"air.kernel" = !{!md77, !md78, !md81}
!"air.compile_options" = !{!md82, !md83, !md84}
!"air.sampler_states" = !{!md85, !md86, !md87, !md88, !md89, !md90}
!"llvm.ident" = !{!md91}
!"air.version" = !{!md92}
!"air.language_version" = !{!md93}
