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 void (ptr addrspace(1), ptr addrspace(1))
%t7 = type <{ <4 x float>, i32 }>
%t8 = type %t7 (i32, i32, ptr addrspace(1))
%t9 = type float (i32)
%t10 = type <4 x float> (<4 x float>, i32, ptr addrspace(1))
%t12 = type void (ptr addrspace(1), ptr addrspace(1), <2 x i32>)
%t13 = type <4 x float> (i32)
%t14 = type i32 (<4 x float>)
%t16 = type ptr addrspace(2) ()
%t18 = type { <4 x float>, i8 }
%t19 = type %t18 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t20 = type void (ptr addrspace(1), <2 x i32>, <4 x float>, i32, i32)
%t22 = type [2 x i32]
c15 = %t22 [27, 0]
c36 = <4 x float> [poison, poison, 0x0, 0x3F800000]

define %t3 @f0 "seq_copy" memory(ModRef, 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" %a0( Ref nocapture "air-buffer-no-alias"="" ) %a1( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = load i32, %a0, align 4
  store %i0, %a1, align 4
  ret void
}

define %t3 @f1 "seq_mix" memory(ModRef, 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" %a0( nocapture "air-buffer-no-alias"="" ) %a1( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = load i32, %a0, align 4
  %i1 = load i32, %a1, align 4
  %i2 = xor i32 %i1, %i0
  %i3 = mul i32 %i2, i32 2654435761
  %i4 = add i32 %i3, i32 2135587861
  store %i4, %a0, align 4
  ret void
}

define %t8 @f2 "seq_rect" 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" %a2( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = icmp ult %a0, i32 3
  %i1 = add i32 %a0, i32 4294967294
  %i2 = select i32 %i0, %a0, %i1
  %i3 = zext %a1 to i64
  %i4 = getelementptr inbounds <4 x i32>, %a2, %i3
  %i5 = load <4 x i32>, %i4, align 16
  %i6 = and i32 %i2, i32 1
  %i7 = icmp eq %i6, i32 0
  %i8 = extractelement %i5, i64 2
  %i9 = extractelement %i5, i64 0
  %i10 = select i32 %i7, %i9, %i8
  %i11 = tail call reassoc nnan ninf nsz arcp contract afn float @f3 [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 })](%i10)
  %i12 = and i32 %i2, i32 2
  %i13 = icmp eq %i12, i32 0
  %i14 = extractelement %i5, i64 3
  %i15 = extractelement %i5, i64 1
  %i16 = select i32 %i13, %i15, %i14
  %i17 = tail call reassoc nnan ninf nsz arcp contract afn float @f3 [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 })](%i16)
  %i18 = fmul reassoc nnan ninf nsz arcp contract afn float %i11, float 0x3E800000
  %i19 = fadd reassoc nnan ninf nsz arcp contract afn float %i18, float 0xBF800000
  %i20 = fmul reassoc nnan ninf nsz arcp contract afn float %i17, float 0x3E800000
  %i21 = fsub reassoc nnan ninf nsz arcp contract afn float float 0x3F800000, %i20
  %i22 = insertelement <4 x float> c36, %i19, i64 0
  %i23 = insertelement %i22, %i21, i64 1
  %i24 = insertvalue %t7 undef %i23, 0
  %i25 = insertvalue %i24 %a1, 1
  ret %i25
}

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

define %t10 @f4 "seq_color" memory(Ref, 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" %a2( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a1 to i64
  %i1 = getelementptr inbounds i32, %a2, %i0
  %i2 = load i32, %i1, align 4
  %i3 = tail call reassoc nnan ninf nsz arcp contract afn <4 x float> @f7 [air Pack(Pack { dir: Unpack, format: Unorm4x8, ty: NumTy { elem: F32, lanes: 4 } })](%i2)
  ret %i3
}

define %t12 @f5 "seq_texel_read" "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) @f9 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t18 @f10 [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 = tail call i32 @f8 [air Pack(Pack { dir: Pack, format: Unorm4x8, ty: NumTy { elem: F32, lanes: 4 } })](%i2)
  %i4 = extractelement %a2, i64 1
  %i5 = shl i32 %i4, i32 3
  %i6 = extractelement %a2, i64 0
  %i7 = add i32 %i5, %i6
  %i8 = zext %i7 to i64
  %i9 = getelementptr inbounds i32, %a1, %i8
  store %i3, %i9, align 4
  ret void
}

define %t12 @f6 "seq_texel_write" "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"="" ) {
bb0:
  %i0 = extractelement %a2, i64 1
  %i1 = shl i32 %i0, i32 3
  %i2 = extractelement %a2, i64 0
  %i3 = add i32 %i1, %i2
  %i4 = zext %i3 to i64
  %i5 = getelementptr inbounds i32, %a1, %i4
  %i6 = load i32, %i5, align 4
  %i7 = tail call reassoc nnan ninf nsz arcp contract afn <4 x float> @f7 [air Pack(Pack { dir: Unpack, format: Unorm4x8, ty: NumTy { elem: F32, lanes: 4 } })](%i6)
  tail call void @f11 [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, %a2, %i7, i32 0, i32 2) arg0( nocapture )
  ret void
}

declare %t13 @f7 "air.unpack.unorm4x8.v4f32" memory(NoModRef, NoModRef, NoModRef)

declare %t14 @f8 "air.pack.unorm4x8.v4f32" memory(NoModRef, NoModRef, NoModRef)

declare %t16 @f9 "air.get_read_sampler" memory(NoModRef, Ref, NoModRef)

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

declare %t20 @f11 "air.write_texture_2d.v4f32" 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.buffer"
!md10 = !"air.location_index"
!md11 = !"air.read"
!md12 = !"air.address_space"
!md13 = !"air.arg_type_size"
!md14 = !"air.arg_type_align_size"
!md15 = !"air.arg_type_name"
!md16 = !"uint"
!md17 = !"air.arg_name"
!md18 = !"from"
!md19 = !"air.read_write"
!md20 = !"to"
!md21 = !"word"
!md22 = !"salt"
!md23 = !"air.texture"
!md24 = !"texture2d<float, read>"
!md25 = !"texels"
!md26 = !"words"
!md27 = !"air.thread_position_in_grid"
!md28 = !"uint2"
!md29 = !"at"
!md30 = !"air.write"
!md31 = !"texture2d<float, write>"
!md32 = !"air.position"
!md33 = !"float4"
!md34 = !"position"
!md35 = !"air.vertex_output"
!md36 = !"generated(8instancej)"
!md37 = !"instance"
!md38 = !"air.vertex_id"
!md39 = !"vertex_id"
!md40 = !"air.instance_id"
!md41 = !"uint4"
!md42 = !"rects"
!md43 = !"air.render_target"
!md44 = !"air.center"
!md45 = !"air.no_perspective"
!md46 = !"air.arg_unused"
!md47 = !"air.fragment_input"
!md48 = !"air.flat"
!md49 = !"colors"
!md50 = !"air.compile.denorms_disable"
!md51 = !"air.compile.fast_math_enable"
!md52 = !"air.compile.framebuffer_fetch_enable"
!md53 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md54 = !"Metal"
!md55 = !"int"
!md56 = !"omnipotent char"
!md57 = !"Simple C++ TBAA"
!md58 = !"air-alias-scope-arg(0)"
!md59 = !"air-alias-scope-arg(1)"
!md60 = !"air-alias-scope-arg(2)"
!md61 = !"air-alias-scope-textures"
!md62 = i32 2
!md63 = %t22 c15
!md64 = i32 1
!md65 = i32 4
!md66 = i32 7
!md67 = i32 31
!md68 = i32 128
!md69 = i32 8
!md70 = i32 16
!md71 = ptr addrspace(0) @f0
!md72 = i32 0
!md73 = ptr addrspace(0) @f1
!md74 = ptr addrspace(0) @f5
!md75 = ptr addrspace(0) @f6
!md76 = ptr addrspace(0) @f2
!md77 = ptr addrspace(0) @f4
!md78 = i64 0
!md79 = !{!md62, !md0, !md63}
!md80 = !{!md64, !md1, !md65}
!md81 = !{!md66, !md2, !md62}
!md82 = !{!md66, !md3, !md67}
!md83 = !{!md66, !md4, !md67}
!md84 = !{!md66, !md5, !md67}
!md85 = !{!md66, !md6, !md68}
!md86 = !{!md66, !md7, !md69}
!md87 = !{!md66, !md8, !md70}
!md88 = !{}
!md89 = !{!md72, !md9, !md10, !md72, !md64, !md11, !md12, !md64, !md13, !md65, !md14, !md65, !md15, !md16, !md17, !md18}
!md90 = !{!md64, !md9, !md10, !md64, !md64, !md19, !md12, !md64, !md13, !md65, !md14, !md65, !md15, !md16, !md17, !md20}
!md91 = !{!md89, !md90}
!md92 = !{!md71, !md88, !md91}
!md93 = !{!md72, !md9, !md10, !md72, !md64, !md19, !md12, !md64, !md13, !md65, !md14, !md65, !md15, !md16, !md17, !md21}
!md94 = !{!md64, !md9, !md10, !md64, !md64, !md11, !md12, !md64, !md13, !md65, !md14, !md65, !md15, !md16, !md17, !md22}
!md95 = !{!md93, !md94}
!md96 = !{!md73, !md88, !md95}
!md97 = !{!md72, !md23, !md10, !md72, !md64, !md11, !md15, !md24, !md17, !md25}
!md98 = !{!md64, !md9, !md10, !md72, !md64, !md19, !md12, !md64, !md13, !md65, !md14, !md65, !md15, !md16, !md17, !md26}
!md99 = !{!md62, !md27, !md15, !md28, !md17, !md29}
!md100 = !{!md97, !md98, !md99}
!md101 = !{!md74, !md88, !md100}
!md102 = !{!md72, !md23, !md10, !md72, !md64, !md30, !md15, !md31, !md17, !md25}
!md103 = !{!md64, !md9, !md10, !md72, !md64, !md11, !md12, !md64, !md13, !md65, !md14, !md65, !md15, !md16, !md17, !md26}
!md104 = !{!md102, !md103, !md99}
!md105 = !{!md75, !md88, !md104}
!md106 = !{!md32, !md15, !md33, !md17, !md34}
!md107 = !{!md35, !md36, !md15, !md16, !md17, !md37}
!md108 = !{!md106, !md107}
!md109 = !{!md72, !md38, !md15, !md16, !md17, !md39}
!md110 = !{!md64, !md40, !md15, !md16, !md17, !md37}
!md111 = !{!md62, !md9, !md10, !md72, !md64, !md11, !md12, !md64, !md13, !md70, !md14, !md70, !md15, !md41, !md17, !md42}
!md112 = !{!md109, !md110, !md111}
!md113 = !{!md76, !md108, !md112}
!md114 = !{!md43, !md72, !md72, !md15, !md33}
!md115 = !{!md114}
!md116 = !{!md72, !md32, !md44, !md45, !md15, !md33, !md17, !md34, !md46}
!md117 = !{!md64, !md47, !md36, !md48, !md15, !md16, !md17, !md37}
!md118 = !{!md62, !md9, !md10, !md72, !md64, !md11, !md12, !md64, !md13, !md65, !md14, !md65, !md15, !md16, !md17, !md49}
!md119 = !{!md116, !md117, !md118}
!md120 = !{!md77, !md115, !md119}
!md121 = !{!md50}
!md122 = !{!md51}
!md123 = !{!md52}
!md124 = !{!md53}
!md125 = !{!md62, !md69, !md72}
!md126 = !{!md54, !md65, !md72, !md72}
!md127 = !{!md57}
!md128 = !{!md56, !md127, !md78}
!md129 = !{!md55, !md128, !md78}
!md130 = !{!md129, !md129, !md78}
!"llvm.module.flags" = !{!md79, !md80, !md81, !md82, !md83, !md84, !md85, !md86, !md87}
!"air.kernel" = !{!md92, !md96, !md101, !md105}
!"air.vertex" = !{!md113}
!"air.fragment" = !{!md120}
!"air.compile_options" = !{!md121, !md122, !md123}
!"llvm.ident" = !{!md124}
!"air.version" = !{!md125}
!"air.language_version" = !{!md126}
