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 void (ptr addrspace(1), ptr addrspace(1), ptr addrspace(1), i32)
%t6 = type void (ptr addrspace(1), ptr addrspace(2), ptr addrspace(1), ptr addrspace(1), i32)
%t7 = type ptr addrspace(2) ()
%t11 = type { <4 x float>, i8 }
%t13 = type %t11 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t16 = type %t11 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i1, float, float, i32)
%t17 = type %t11 (ptr addrspace(1), ptr addrspace(2), <2 x float>, i1, <2 x i32>, i32, i32)
%t19 = type [2 x i32]
c13 = %t19 [27, 0]

define %t4 @f0 "fpv_swz_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"="" ) %a2( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <2 x i32>, %a2, %i0
  %i2 = load <2 x i32>, %i1, align 8
  %i3 = tail call ptr addrspace(2) @f6 [air Sampler(GetReadSampler)]()
  %i4 = tail call %t11 @f7 [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 })](%a0, %i3, %i2, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i5 = extractvalue <4 x float> %i4, 0
  %i6 = getelementptr inbounds <4 x float>, %a1, %i0
  store %i5, %i6, align 16
  ret void
}

define %t6 @f1 "fpv_swz_sample" convergent memory(ModRef, 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" %a0( Ref nocapture ) %a1( Ref nocapture ) %a2( Mod nocapture "air-buffer-no-alias"="" ) %a3( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a4 to i64
  %i1 = getelementptr inbounds <2 x float>, %a3, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t11 @f8 [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 })](%a0, %a1, %i2, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i4 = extractvalue <4 x float> %i3, 0
  %i5 = getelementptr inbounds <4 x float>, %a2, %i0
  store %i4, %i5, align 16
  ret void
}

define %t6 @f2 "fpv_swz_gather_x" memory(ModRef, 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" %a0( Ref nocapture ) %a1( Ref nocapture ) %a2( Mod nocapture "air-buffer-no-alias"="" ) %a3( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a4 to i64
  %i1 = getelementptr inbounds <2 x float>, %a3, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t11 @f9 [air Texture(Texture { op: Gather { component: Some(X), compare: false, 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 })](%a0, %a1, %i2, i1 1, <2 x i32> zeroinitializer, i32 0, i32 0) arg0( Ref nocapture ) arg1( Ref nocapture )
  %i4 = extractvalue <4 x float> %i3, 0
  %i5 = getelementptr inbounds <4 x float>, %a2, %i0
  store %i4, %i5, align 16
  ret void
}

define %t6 @f3 "fpv_swz_gather_y" memory(ModRef, 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" %a0( Ref nocapture ) %a1( Ref nocapture ) %a2( Mod nocapture "air-buffer-no-alias"="" ) %a3( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a4 to i64
  %i1 = getelementptr inbounds <2 x float>, %a3, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t11 @f9 [air Texture(Texture { op: Gather { component: Some(Y), compare: false, 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 })](%a0, %a1, %i2, i1 1, <2 x i32> zeroinitializer, i32 1, i32 0) arg0( Ref nocapture ) arg1( Ref nocapture )
  %i4 = extractvalue <4 x float> %i3, 0
  %i5 = getelementptr inbounds <4 x float>, %a2, %i0
  store %i4, %i5, align 16
  ret void
}

define %t6 @f4 "fpv_swz_gather_z" memory(ModRef, 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" %a0( Ref nocapture ) %a1( Ref nocapture ) %a2( Mod nocapture "air-buffer-no-alias"="" ) %a3( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a4 to i64
  %i1 = getelementptr inbounds <2 x float>, %a3, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t11 @f9 [air Texture(Texture { op: Gather { component: Some(Z), compare: false, 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 })](%a0, %a1, %i2, i1 1, <2 x i32> zeroinitializer, i32 2, i32 0) arg0( Ref nocapture ) arg1( Ref nocapture )
  %i4 = extractvalue <4 x float> %i3, 0
  %i5 = getelementptr inbounds <4 x float>, %a2, %i0
  store %i4, %i5, align 16
  ret void
}

define %t6 @f5 "fpv_swz_gather_w" memory(ModRef, 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" %a0( Ref nocapture ) %a1( Ref nocapture ) %a2( Mod nocapture "air-buffer-no-alias"="" ) %a3( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a4 to i64
  %i1 = getelementptr inbounds <2 x float>, %a3, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t11 @f9 [air Texture(Texture { op: Gather { component: Some(W), compare: false, 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 })](%a0, %a1, %i2, i1 1, <2 x i32> zeroinitializer, i32 3, i32 0) arg0( Ref nocapture ) arg1( Ref nocapture )
  %i4 = extractvalue <4 x float> %i3, 0
  %i5 = getelementptr inbounds <4 x float>, %a2, %i0
  store %i4, %i5, align 16
  ret void
}

declare %t7 @f6 "air.get_read_sampler" memory(NoModRef, Ref, NoModRef)

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

declare %t16 @f8 "air.sample_texture_2d.v4f32" convergent memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture ) %a1( Ref nocapture )

declare %t17 @f9 "air.gather_texture_2d.v4f32" 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.read"
!md12 = !"air.arg_type_name"
!md13 = !"texture2d<float, read>"
!md14 = !"air.arg_name"
!md15 = !"t"
!md16 = !"air.buffer"
!md17 = !"air.read_write"
!md18 = !"air.address_space"
!md19 = !"air.arg_type_size"
!md20 = !"air.arg_type_align_size"
!md21 = !"float4"
!md22 = !"o"
!md23 = !"uint2"
!md24 = !"p"
!md25 = !"air.thread_position_in_grid"
!md26 = !"uint"
!md27 = !"i"
!md28 = !"air.sample"
!md29 = !"texture2d<float, sample>"
!md30 = !"air.sampler"
!md31 = !"sampler"
!md32 = !"s"
!md33 = !"float2"
!md34 = !"air.compile.denorms_disable"
!md35 = !"air.compile.fast_math_enable"
!md36 = !"air.compile.framebuffer_fetch_enable"
!md37 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md38 = !"Metal"
!md39 = !"omnipotent char"
!md40 = !"Simple C++ TBAA"
!md41 = !"air-alias-scope-arg(2)"
!md42 = !"air-alias-scope-textures"
!md43 = !"air-alias-scope-arg(3)"
!md44 = !"air-alias-scope-samplers"
!md45 = i32 2
!md46 = %t19 c13
!md47 = i32 1
!md48 = i32 4
!md49 = i32 7
!md50 = i32 31
!md51 = i32 128
!md52 = i32 8
!md53 = i32 16
!md54 = ptr addrspace(0) @f0
!md55 = i32 0
!md56 = i32 3
!md57 = ptr addrspace(0) @f1
!md58 = ptr addrspace(0) @f2
!md59 = ptr addrspace(0) @f3
!md60 = ptr addrspace(0) @f4
!md61 = ptr addrspace(0) @f5
!md62 = i64 0
!md63 = !{!md45, !md0, !md46}
!md64 = !{!md47, !md1, !md48}
!md65 = !{!md49, !md2, !md45}
!md66 = !{!md49, !md3, !md50}
!md67 = !{!md49, !md4, !md50}
!md68 = !{!md49, !md5, !md50}
!md69 = !{!md49, !md6, !md51}
!md70 = !{!md49, !md7, !md52}
!md71 = !{!md49, !md8, !md53}
!md72 = !{}
!md73 = !{!md55, !md9, !md10, !md55, !md47, !md11, !md12, !md13, !md14, !md15}
!md74 = !{!md47, !md16, !md10, !md55, !md47, !md17, !md18, !md47, !md19, !md53, !md20, !md53, !md12, !md21, !md14, !md22}
!md75 = !{!md45, !md16, !md10, !md47, !md47, !md11, !md18, !md47, !md19, !md52, !md20, !md52, !md12, !md23, !md14, !md24}
!md76 = !{!md56, !md25, !md12, !md26, !md14, !md27}
!md77 = !{!md73, !md74, !md75, !md76}
!md78 = !{!md54, !md72, !md77}
!md79 = !{!md55, !md9, !md10, !md55, !md47, !md28, !md12, !md29, !md14, !md15}
!md80 = !{!md47, !md30, !md10, !md55, !md47, !md12, !md31, !md14, !md32}
!md81 = !{!md45, !md16, !md10, !md55, !md47, !md17, !md18, !md47, !md19, !md53, !md20, !md53, !md12, !md21, !md14, !md22}
!md82 = !{!md56, !md16, !md10, !md47, !md47, !md11, !md18, !md47, !md19, !md52, !md20, !md52, !md12, !md33, !md14, !md24}
!md83 = !{!md48, !md25, !md12, !md26, !md14, !md27}
!md84 = !{!md79, !md80, !md81, !md82, !md83}
!md85 = !{!md57, !md72, !md84}
!md86 = !{!md58, !md72, !md84}
!md87 = !{!md59, !md72, !md84}
!md88 = !{!md60, !md72, !md84}
!md89 = !{!md61, !md72, !md84}
!md90 = !{!md34}
!md91 = !{!md35}
!md92 = !{!md36}
!md93 = !{!md37}
!md94 = !{!md45, !md52, !md55}
!md95 = !{!md38, !md48, !md55, !md55}
!md96 = !{!md40}
!md97 = !{!md39, !md96, !md62}
!md98 = !{!md97, !md97, !md62}
!"llvm.module.flags" = !{!md63, !md64, !md65, !md66, !md67, !md68, !md69, !md70, !md71}
!"air.kernel" = !{!md78, !md85, !md86, !md87, !md88, !md89}
!"air.compile_options" = !{!md90, !md91, !md92}
!"llvm.ident" = !{!md93}
!"air.version" = !{!md94}
!"air.language_version" = !{!md95}
