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]
%t6 = type <{ <4 x float>, <4 x float> }>
%t9 = type %t6 (i32, ptr addrspace(1), ptr addrspace(2))
%t10 = type <4 x float> (<4 x float>, <4 x float>)
%t12 = type { <4 x float>, i8 }
%t16 = type %t12 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i1, float, float, i32)
%t18 = type [2 x i32]
c8 = %t2 [34901797601023049, 0]
c9 = %t18 [27, 2]
c23 = <4 x float> [poison, poison, 0x0, 0x3F800000]
@g0 "__air_sampler_state" = internal addrspace(2) constant %t2 c8, align 8

define %t9 @f0 "bcu_vertex" convergent memory(Ref, Ref, Ref) "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" %a2( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = icmp eq %a0, i32 1
  %i1 = select reassoc nnan ninf nsz arcp contract afn float %i0, float 0x40400000, float 0xBF800000
  %i2 = icmp eq %a0, i32 2
  %i3 = select reassoc nnan ninf nsz arcp contract afn float %i2, float 0x40400000, float 0xBF800000
  %i4 = insertelement <4 x float> c23, %i1, i64 0
  %i5 = insertelement %i4, %i3, i64 1
  %i6 = zext %a0 to i64
  %i7 = getelementptr inbounds <2 x float>, %a2, %i6
  %i8 = load <2 x float>, %i7, align 8
  %i9 = tail call %t12 @f2 [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 })](%a1, ptr addrspace(2) @g0, %i8, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i10 = extractvalue <4 x float> %i9, 0
  %i11 = insertvalue %t6 undef %i5, 0
  %i12 = insertvalue %i11 %i10, 1
  ret %i12
}

define %t10 @f1 "bcu_vertex_color" 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 %a1
}

declare %t16 @f2 "air.sample_texture_2d.v4f32" 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.position"
!md10 = !"air.arg_type_name"
!md11 = !"float4"
!md12 = !"air.arg_name"
!md13 = !"position"
!md14 = !"air.vertex_output"
!md15 = !"generated(5colorDv4_f)"
!md16 = !"color"
!md17 = !"air.vertex_id"
!md18 = !"uint"
!md19 = !"vid"
!md20 = !"air.texture"
!md21 = !"air.location_index"
!md22 = !"air.sample"
!md23 = !"texture2d<float, sample>"
!md24 = !"t"
!md25 = !"air.buffer"
!md26 = !"air.read"
!md27 = !"air.address_space"
!md28 = !"air.arg_type_size"
!md29 = !"air.arg_type_align_size"
!md30 = !"float2"
!md31 = !"p"
!md32 = !"air.render_target"
!md33 = !"air.center"
!md34 = !"air.no_perspective"
!md35 = !"air.arg_unused"
!md36 = !"air.fragment_input"
!md37 = !"air.perspective"
!md38 = !"air.compile.denorms_disable"
!md39 = !"air.compile.fast_math_enable"
!md40 = !"air.compile.framebuffer_fetch_enable"
!md41 = !"air.sampler_state"
!md42 = !"Apple metal version 32023.922 (metalfe-32023.922.4)"
!md43 = !"Metal"
!md44 = i32 2
!md45 = %t18 c9
!md46 = i32 1
!md47 = i32 4
!md48 = i32 7
!md49 = i32 31
!md50 = i32 128
!md51 = i32 8
!md52 = i32 16
!md53 = ptr addrspace(0) @f0
!md54 = i32 0
!md55 = ptr addrspace(0) @f1
!md56 = ptr addrspace(2) @g0
!md57 = !{!md44, !md0, !md45}
!md58 = !{!md46, !md1, !md47}
!md59 = !{!md48, !md2, !md44}
!md60 = !{!md48, !md3, !md49}
!md61 = !{!md48, !md4, !md49}
!md62 = !{!md48, !md5, !md49}
!md63 = !{!md48, !md6, !md50}
!md64 = !{!md48, !md7, !md51}
!md65 = !{!md48, !md8, !md52}
!md66 = !{!md9, !md10, !md11, !md12, !md13}
!md67 = !{!md14, !md15, !md10, !md11, !md12, !md16}
!md68 = !{!md66, !md67}
!md69 = !{!md54, !md17, !md10, !md18, !md12, !md19}
!md70 = !{!md46, !md20, !md21, !md54, !md46, !md22, !md10, !md23, !md12, !md24}
!md71 = !{!md44, !md25, !md21, !md54, !md46, !md26, !md27, !md44, !md28, !md51, !md29, !md51, !md10, !md30, !md12, !md31}
!md72 = !{!md69, !md70, !md71}
!md73 = !{!md53, !md68, !md72}
!md74 = !{!md32, !md54, !md54, !md10, !md11}
!md75 = !{!md74}
!md76 = !{!md54, !md9, !md33, !md34, !md10, !md11, !md12, !md13, !md35}
!md77 = !{!md46, !md36, !md15, !md33, !md37, !md10, !md11, !md12, !md16}
!md78 = !{!md76, !md77}
!md79 = !{!md55, !md75, !md78}
!md80 = !{!md38}
!md81 = !{!md39}
!md82 = !{!md40}
!md83 = !{!md41, !md56}
!md84 = !{!md42}
!md85 = !{!md44, !md51, !md54}
!md86 = !{!md43, !md47, !md54, !md54}
!"llvm.module.flags" = !{!md57, !md58, !md59, !md60, !md61, !md62, !md63, !md64, !md65}
!"air.vertex" = !{!md73}
!"air.fragment" = !{!md79}
!"air.compile_options" = !{!md80, !md81, !md82}
!"air.sampler_states" = !{!md83}
!"llvm.ident" = !{!md84}
!"air.version" = !{!md85}
!"air.language_version" = !{!md86}
