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> }>
%t6 = type %t3 (i32, ptr addrspace(1))
%t8 = type <4 x float> (<3 x float>)
%t10 = type <{ <4 x float>, <4 x float>, i32, <2 x float> }>
%t11 = type %t10 (i32, ptr addrspace(1))
%t12 = type float (i32)
%t14 = type <{ <4 x float>, <4 x float>, <4 x i32> }>
%t15 = type %t14 (<4 x float>, <4 x float>, i32, <2 x float>, <3 x float>, i32)
%t16 = type %t14 (<4 x float>, <4 x float>, i32, <2 x float>, i32)
%t18 = type [2 x i32]
c10 = %t18 [27, 0]
c24 = <4 x i32> [0, 1, 2, poison]
c36 = <2 x i32> [1, 0]
c37 = <2 x float> [0x3EC00000, 0x3EC00000]
c41 = <4 x i32> [0, poison, poison, poison]
c42 = <4 x i32> [0, 1, 4, poison]
c43 = <4 x i32> [poison, 1, poison, poison]
c44 = <4 x i32> [0, 1, 2, 5]
c47 = <4 x float> [0x0, 0x0, 0x0, 0x3F800000]
c48 = %t14 [c47, undef, undef]

define %t6 @f0 "bw_vertex" memory(Ref, 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" %a1( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a0 to i64
  %i1 = getelementptr inbounds <4 x float>, %a1, %i0
  %i2 = load <4 x float>, %i1, align 16
  %i3 = insertvalue %t3 undef %i2, 0
  ret %i3
}

define %t8 @f1 "bw_perspective" 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 <4 x float> %a0, <3 x float> poison, <0, 1, 2, poison>
  %i1 = insertelement %i0, float 0x3F800000, i64 3
  ret %i1
}

define %t8 @f2 "bw_linear" 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 <4 x float> %a0, <3 x float> poison, <0, 1, 2, poison>
  %i1 = insertelement %i0, float 0x3F800000, i64 3
  ret %i1
}

define %t11 @f3 "bv_vertex" memory(Ref, 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" %a1( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a0 to i64
  %i1 = getelementptr inbounds <4 x float>, %a1, %i0
  %i2 = load <4 x float>, %i1, align 16
  %i3 = extractelement %i2, i64 0
  %i4 = fmul reassoc nnan ninf nsz arcp contract afn float %i3, float 0x3F400000
  %i5 = insertelement <4 x float> undef, %i4, i64 0
  %i6 = extractelement %i2, i64 1
  %i7 = fmul reassoc nnan ninf nsz arcp contract afn float %i6, float 0x3F000000
  %i8 = fadd reassoc nnan ninf nsz arcp contract afn float %i7, float 0x3E800000
  %i9 = insertelement %i5, %i8, i64 1
  %i10 = 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 })](%a0)
  %i11 = fmul reassoc nnan ninf nsz arcp contract afn float %i10, float 0x3E124925
  %i12 = insertelement %i9, %i11, i64 2
  %i13 = extractelement %i2, i64 3
  %i14 = fdiv reassoc nnan ninf nsz arcp contract afn float float 0x3F800000, %i13
  %i15 = insertelement %i12, %i14, i64 3
  %i16 = mul i32 %a0, i32 7
  %i17 = add i32 %i16, i32 3
  %i18 = shufflevector <2 x float> %i2, <4 x float> poison, <1, 0>
  %i19 = fmul reassoc nnan ninf nsz arcp contract afn <2 x float> %i18, <2 x float> c37
  %i20 = insertvalue %t10 undef %i2, 0
  %i21 = insertvalue %i20 %i15, 1
  %i22 = insertvalue %i21 %i17, 2
  %i23 = insertvalue %i22 %i19, 3
  ret %i23
}

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

define %t15 @f5 "bv_weights" 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 <4 x float> %a4, <3 x float> poison, <0, 1, 2, poison>
  %i1 = insertelement %i0, float 0x3F800000, i64 3
  %i2 = insertelement <4 x i32> undef, %a2, i64 0
  %i3 = insertelement %i2, %a5, i64 1
  %i4 = bitcast %a3 to <2 x i32>
  %i5 = shufflevector <4 x i32> %i4, <2 x i32> poison, <0, poison, poison, poison>
  %i6 = shufflevector <4 x i32> %i3, %i5, <0, 1, 4, poison>
  %i7 = shufflevector <4 x i32> %i4, <2 x i32> poison, <poison, 1, poison, poison>
  %i8 = shufflevector <4 x i32> %i6, %i7, <0, 1, 2, 5>
  %i9 = insertvalue %t14 undef %i1, 0
  %i10 = insertvalue %i9 %a1, 1
  %i11 = insertvalue %i10 %i8, 2
  ret %i11
}

define %t16 @f6 "bv_plain" 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 = insertelement <4 x i32> undef, %a2, i64 0
  %i1 = insertelement %i0, %a4, i64 1
  %i2 = bitcast %a3 to <2 x i32>
  %i3 = shufflevector <4 x i32> %i2, <2 x i32> poison, <0, poison, poison, poison>
  %i4 = shufflevector <4 x i32> %i1, %i3, <0, 1, 4, poison>
  %i5 = shufflevector <4 x i32> %i2, <2 x i32> poison, <poison, 1, poison, poison>
  %i6 = shufflevector <4 x i32> %i4, %i5, <0, 1, 2, 5>
  %i7 = insertvalue %t14 c48 %a1, 1
  %i8 = insertvalue %i7 %i6, 2
  ret %i8
}
!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 = !"vid"
!md17 = !"air.buffer"
!md18 = !"air.location_index"
!md19 = !"air.read"
!md20 = !"air.address_space"
!md21 = !"air.arg_type_size"
!md22 = !"air.arg_type_align_size"
!md23 = !"positions"
!md24 = !"air.vertex_output"
!md25 = !"generated(5colorDv4_f)"
!md26 = !"color"
!md27 = !"generated(3tagj)"
!md28 = !"tag"
!md29 = !"generated(2uvDv2_f)"
!md30 = !"float2"
!md31 = !"uv"
!md32 = !"air.render_target"
!md33 = !"air.barycentric_coord"
!md34 = !"air.center"
!md35 = !"air.perspective"
!md36 = !"float3"
!md37 = !"weights"
!md38 = !"air.no_perspective"
!md39 = !"uint4"
!md40 = !"rest"
!md41 = !"air.arg_unused"
!md42 = !"air.fragment_input"
!md43 = !"air.flat"
!md44 = !"air.primitive_id"
!md45 = !"primitive"
!md46 = !"air.compile.denorms_disable"
!md47 = !"air.compile.fast_math_enable"
!md48 = !"air.compile.framebuffer_fetch_enable"
!md49 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md50 = !"Metal"
!md51 = !"omnipotent char"
!md52 = !"Simple C++ TBAA"
!md53 = !"air-alias-scope-arg(1)"
!md54 = i32 2
!md55 = %t18 c10
!md56 = i32 1
!md57 = i32 4
!md58 = i32 7
!md59 = i32 31
!md60 = i32 128
!md61 = i32 8
!md62 = i32 16
!md63 = ptr addrspace(0) @f0
!md64 = i32 0
!md65 = ptr addrspace(0) @f3
!md66 = ptr addrspace(0) @f1
!md67 = ptr addrspace(0) @f2
!md68 = ptr addrspace(0) @f5
!md69 = i32 3
!md70 = i32 5
!md71 = ptr addrspace(0) @f6
!md72 = i64 0
!md73 = !{!md54, !md0, !md55}
!md74 = !{!md56, !md1, !md57}
!md75 = !{!md58, !md2, !md54}
!md76 = !{!md58, !md3, !md59}
!md77 = !{!md58, !md4, !md59}
!md78 = !{!md58, !md5, !md59}
!md79 = !{!md58, !md6, !md60}
!md80 = !{!md58, !md7, !md61}
!md81 = !{!md58, !md8, !md62}
!md82 = !{!md9, !md10, !md11, !md12, !md13}
!md83 = !{!md82}
!md84 = !{!md64, !md14, !md10, !md15, !md12, !md16}
!md85 = !{!md56, !md17, !md18, !md64, !md56, !md19, !md20, !md56, !md21, !md62, !md22, !md62, !md10, !md11, !md12, !md23}
!md86 = !{!md84, !md85}
!md87 = !{!md63, !md83, !md86}
!md88 = !{!md24, !md25, !md10, !md11, !md12, !md26}
!md89 = !{!md24, !md27, !md10, !md15, !md12, !md28}
!md90 = !{!md24, !md29, !md10, !md30, !md12, !md31}
!md91 = !{!md82, !md88, !md89, !md90}
!md92 = !{!md65, !md91, !md86}
!md93 = !{!md32, !md64, !md64, !md10, !md11}
!md94 = !{!md93}
!md95 = !{!md64, !md33, !md34, !md35, !md10, !md36, !md12, !md37}
!md96 = !{!md95}
!md97 = !{!md66, !md94, !md96}
!md98 = !{!md64, !md33, !md34, !md38, !md10, !md36, !md12, !md37}
!md99 = !{!md98}
!md100 = !{!md67, !md94, !md99}
!md101 = !{!md32, !md64, !md64, !md10, !md11, !md12, !md37}
!md102 = !{!md32, !md56, !md64, !md10, !md11, !md12, !md26}
!md103 = !{!md32, !md54, !md64, !md10, !md39, !md12, !md40}
!md104 = !{!md101, !md102, !md103}
!md105 = !{!md64, !md9, !md34, !md38, !md10, !md11, !md12, !md13, !md41}
!md106 = !{!md56, !md42, !md25, !md34, !md35, !md10, !md11, !md12, !md26}
!md107 = !{!md54, !md42, !md27, !md43, !md10, !md15, !md12, !md28}
!md108 = !{!md69, !md42, !md29, !md34, !md35, !md10, !md30, !md12, !md31}
!md109 = !{!md57, !md33, !md34, !md35, !md10, !md36, !md12, !md37}
!md110 = !{!md70, !md44, !md10, !md15, !md12, !md45}
!md111 = !{!md105, !md106, !md107, !md108, !md109, !md110}
!md112 = !{!md68, !md104, !md111}
!md113 = !{!md57, !md44, !md10, !md15, !md12, !md45}
!md114 = !{!md105, !md106, !md107, !md108, !md113}
!md115 = !{!md71, !md104, !md114}
!md116 = !{!md46}
!md117 = !{!md47}
!md118 = !{!md48}
!md119 = !{!md49}
!md120 = !{!md54, !md61, !md64}
!md121 = !{!md50, !md57, !md64, !md64}
!md122 = !{!md52}
!md123 = !{!md51, !md122, !md72}
!md124 = !{!md123, !md123, !md72}
!"llvm.module.flags" = !{!md73, !md74, !md75, !md76, !md77, !md78, !md79, !md80, !md81}
!"air.vertex" = !{!md87, !md92}
!"air.fragment" = !{!md97, !md100, !md112, !md115}
!"air.compile_options" = !{!md116, !md117, !md118}
!"llvm.ident" = !{!md119}
!"air.version" = !{!md120}
!"air.language_version" = !{!md121}
