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: [] }
%t4 = type <{ <4 x float>, i32 }>
%t6 = type %t4 (i32, i32, ptr addrspace(2))
%t7 = type float (i32)
%t8 = type <4 x float> ()
%t9 = type <4 x float> (<4 x float>, i32)
%t11 = type [2 x i32]
%t15 = type { float, float } ; "struct.Rt6Depth"
c7 = %t11 [27, 0]
c21 = <2 x float> [0x40800000, 0x40800000]
c22 = <2 x float> [0xBF800000, 0xBF800000]
c25 = <4 x i32> [0, 1, poison, poison]
c30 = <4 x float> [0x3F800000, 0x3F800000, 0x3F800000, 0x3F800000]
c35 = <4 x float> [poison, 0x3F800000, 0x0, 0x3F800000]

define %t6 @f0 "rt6_select" 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" %a2( align 4 dereferenceable(8) Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = and i32 %a0, i32 1
  %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 = insertelement <2 x float> undef, %i1, i64 0
  %i3 = lshr i32 %a0, i32 1
  %i4 = 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 })](%i3)
  %i5 = insertelement %i2, %i4, i64 1
  %i6 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i5, <2 x float> c21
  %i7 = fadd reassoc nnan ninf nsz arcp contract afn <2 x float> %i6, <2 x float> c22
  %i8 = shufflevector <4 x float> %i7, <2 x float> poison, <0, 1, poison, poison>
  %i9 = getelementptr inbounds %t15, %a2, i64 0, i32 0
  %i10 = load float, %i9, align 4
  %i11 = insertelement %i8, float 0x3F800000, i64 3
  %i12 = insertelement %i11, %i10, i64 2
  %i13 = insertvalue %t4 undef %i12, 0
  %i14 = insertvalue %i13 %a1, 1
  ret %i14
}

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

define %t8 @f2 "rt6_white" 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:
  ret <4 x float> c30
}

define %t9 @f3 "rt6_viewport_read" 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 = and i32 %a1, i32 255
  %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 0x3B808081
  %i3 = insertelement <4 x float> c35, %i2, i64 0
  ret %i3
}
!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.viewport_array_index"
!md15 = !"uint"
!md16 = !"viewport"
!md17 = !"air.vertex_id"
!md18 = !"vid"
!md19 = !"air.instance_id"
!md20 = !"iid"
!md21 = !"air.buffer"
!md22 = !"air.buffer_size"
!md23 = !"air.location_index"
!md24 = !"air.read"
!md25 = !"air.address_space"
!md26 = !"air.struct_type_info"
!md27 = !"float"
!md28 = !"z"
!md29 = !"slope"
!md30 = !"air.arg_type_size"
!md31 = !"air.arg_type_align_size"
!md32 = !"Rt6Depth"
!md33 = !"depth"
!md34 = !"air.render_target"
!md35 = !"air.center"
!md36 = !"air.no_perspective"
!md37 = !"air.arg_unused"
!md38 = !"air.compile.denorms_disable"
!md39 = !"air.compile.fast_math_enable"
!md40 = !"air.compile.framebuffer_fetch_enable"
!md41 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md42 = !"Metal"
!md43 = i32 2
!md44 = %t11 c7
!md45 = i32 1
!md46 = i32 4
!md47 = i32 7
!md48 = i32 31
!md49 = i32 128
!md50 = i32 8
!md51 = i32 16
!md52 = ptr addrspace(0) @f0
!md53 = i32 0
!md54 = ptr addrspace(0) @f2
!md55 = ptr addrspace(0) @f3
!md56 = !{!md43, !md0, !md44}
!md57 = !{!md45, !md1, !md46}
!md58 = !{!md47, !md2, !md43}
!md59 = !{!md47, !md3, !md48}
!md60 = !{!md47, !md4, !md48}
!md61 = !{!md47, !md5, !md48}
!md62 = !{!md47, !md6, !md49}
!md63 = !{!md47, !md7, !md50}
!md64 = !{!md47, !md8, !md51}
!md65 = !{!md9, !md10, !md11, !md12, !md13}
!md66 = !{!md14, !md10, !md15, !md12, !md16}
!md67 = !{!md65, !md66}
!md68 = !{!md53, !md17, !md10, !md15, !md12, !md18}
!md69 = !{!md45, !md19, !md10, !md15, !md12, !md20}
!md70 = !{!md53, !md46, !md53, !md27, !md28, !md46, !md46, !md53, !md27, !md29}
!md71 = !{!md43, !md21, !md22, !md50, !md23, !md53, !md45, !md24, !md25, !md43, !md26, !md70, !md30, !md50, !md31, !md46, !md10, !md32, !md12, !md33}
!md72 = !{!md68, !md69, !md71}
!md73 = !{!md52, !md67, !md72}
!md74 = !{!md34, !md53, !md53, !md10, !md11}
!md75 = !{!md74}
!md76 = !{}
!md77 = !{!md54, !md75, !md76}
!md78 = !{!md53, !md9, !md35, !md36, !md10, !md11, !md12, !md13, !md37}
!md79 = !{!md45, !md14, !md10, !md15, !md12, !md16}
!md80 = !{!md78, !md79}
!md81 = !{!md55, !md75, !md80}
!md82 = !{!md38}
!md83 = !{!md39}
!md84 = !{!md40}
!md85 = !{!md41}
!md86 = !{!md43, !md50, !md53}
!md87 = !{!md42, !md46, !md53, !md53}
!"llvm.module.flags" = !{!md56, !md57, !md58, !md59, !md60, !md61, !md62, !md63, !md64}
!"air.vertex" = !{!md73}
!"air.fragment" = !{!md77, !md81}
!"air.compile_options" = !{!md82, !md83, !md84}
!"llvm.ident" = !{!md85}
!"air.version" = !{!md86}
!"air.language_version" = !{!md87}
