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]
%t7 = type void (ptr addrspace(2), ptr addrspace(1), ptr addrspace(1), i32)
%t8 = type void (ptr addrspace(1), ptr addrspace(1), ptr addrspace(1), i32)
%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]
%t19 = type { ptr addrspace(1) } ; "struct.metal::texture2d"
%t20 = type { ptr addrspace(2) } ; "struct.metal::sampler"
%t21 = type { %t19, %t20 } ; "struct.PixelArguments"
c23 = %t2 [34901797601050697, 0]
c24 = %t2 [34901797601050624, 0]
c25 = %t2 [179016985676906496, 0]
c26 = %t2 [34901797601053257, 0]
c27 = %t2 [34901797601053184, 0]
c28 = %t2 [179016985676909056, 0]
c30 = %t18 [27, 0]
@g0 "__air_sampler_state" = internal addrspace(2) constant %t2 c23, align 8
@g1 "__air_sampler_state.1" = internal addrspace(2) constant %t2 c24, align 8
@g2 "__air_sampler_state.2" = internal addrspace(2) constant %t2 c25, align 8
@g3 "__air_sampler_state.3" = internal addrspace(2) constant %t2 c26, align 8
@g4 "__air_sampler_state.4" = internal addrspace(2) constant %t2 c27, align 8
@g5 "__air_sampler_state.5" = internal addrspace(2) constant %t2 c28, align 8

define %t7 @f0 "px_sample_argument" convergent "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( align 8 dereferenceable(16) Ref nocapture "air-buffer-no-alias"="" ) %a1( Ref nocapture "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = getelementptr inbounds %t21, %a0, i64 0, i32 1, i32 0
  %i1 = load ptr addrspace(2), %i0, align 8
  %i2 = zext %a3 to i64
  %i3 = getelementptr inbounds <2 x float>, %a1, %i2
  %i4 = load <2 x float>, %i3, align 8
  %i5 = getelementptr inbounds %t21, %a0, i64 0, i32 0, i32 0
  %i6 = load ptr addrspace(1), %i5, align 8
  %i7 = tail call %t12 @f7 [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 })](%i6, %i1, %i4, i1 1, <2 x i32> zeroinitializer, i1 0, float 0x0, float 0x0, i32 0) convergent arg0( Ref nocapture ) arg1( Ref nocapture )
  %i8 = extractvalue <4 x float> %i7, 0
  %i9 = getelementptr inbounds <4 x float>, %a2, %i2
  store %i8, %i9, align 16
  ret void
}

define %t8 @f1 "px_const_nearest_edge" 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 "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <2 x float>, %a1, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t12 @f7 [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 })](%a0, ptr addrspace(2) @g0, %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 %t8 @f2 "px_const_nearest_zero" 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 "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <2 x float>, %a1, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t12 @f7 [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 })](%a0, ptr addrspace(2) @g1, %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 %t8 @f3 "px_const_nearest_border" 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 "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <2 x float>, %a1, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t12 @f7 [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 })](%a0, ptr addrspace(2) @g2, %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 %t8 @f4 "px_const_linear_edge" 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 "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <2 x float>, %a1, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t12 @f7 [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 })](%a0, ptr addrspace(2) @g3, %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 %t8 @f5 "px_const_linear_zero" 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 "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <2 x float>, %a1, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t12 @f7 [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 })](%a0, ptr addrspace(2) @g4, %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 %t8 @f6 "px_const_linear_border" 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 "air-buffer-no-alias"="" ) %a2( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a3 to i64
  %i1 = getelementptr inbounds <2 x float>, %a1, %i0
  %i2 = load <2 x float>, %i1, align 8
  %i3 = tail call %t12 @f7 [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 })](%a0, ptr addrspace(2) @g5, %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
}

declare %t16 @f7 "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.indirect_buffer"
!md10 = !"air.buffer_size"
!md11 = !"air.location_index"
!md12 = !"air.read"
!md13 = !"air.address_space"
!md14 = !"air.struct_type_info"
!md15 = !"texture2d<float, sample>"
!md16 = !"t"
!md17 = !"air.indirect_argument"
!md18 = !"air.texture"
!md19 = !"air.sample"
!md20 = !"air.arg_type_name"
!md21 = !"air.arg_name"
!md22 = !"sampler"
!md23 = !"s"
!md24 = !"air.sampler"
!md25 = !"air.arg_type_size"
!md26 = !"air.arg_type_align_size"
!md27 = !"PixelArguments"
!md28 = !"a"
!md29 = !"air.buffer"
!md30 = !"float2"
!md31 = !"uv"
!md32 = !"air.read_write"
!md33 = !"float4"
!md34 = !"out"
!md35 = !"air.thread_position_in_grid"
!md36 = !"uint"
!md37 = !"g"
!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.921 (metalfe-32023.921.6)"
!md43 = !"Metal"
!md44 = !"omnipotent char"
!md45 = !"Simple C++ TBAA"
!md46 = !"air-alias-scope-arg(2)"
!md47 = !"air-alias-scope-arg(1)"
!md48 = !"air-alias-scope-textures"
!md49 = i32 2
!md50 = %t18 c30
!md51 = i32 1
!md52 = i32 4
!md53 = i32 7
!md54 = i32 31
!md55 = i32 128
!md56 = i32 8
!md57 = i32 16
!md58 = ptr addrspace(0) @f0
!md59 = i32 0
!md60 = i32 3
!md61 = ptr addrspace(0) @f1
!md62 = ptr addrspace(0) @f2
!md63 = ptr addrspace(0) @f3
!md64 = ptr addrspace(0) @f4
!md65 = ptr addrspace(0) @f5
!md66 = ptr addrspace(0) @f6
!md67 = ptr addrspace(2) @g0
!md68 = ptr addrspace(2) @g1
!md69 = ptr addrspace(2) @g2
!md70 = ptr addrspace(2) @g3
!md71 = ptr addrspace(2) @g4
!md72 = ptr addrspace(2) @g5
!md73 = i64 0
!md74 = !{!md49, !md0, !md50}
!md75 = !{!md51, !md1, !md52}
!md76 = !{!md53, !md2, !md49}
!md77 = !{!md53, !md3, !md54}
!md78 = !{!md53, !md4, !md54}
!md79 = !{!md53, !md5, !md54}
!md80 = !{!md53, !md6, !md55}
!md81 = !{!md53, !md7, !md56}
!md82 = !{!md53, !md8, !md57}
!md83 = !{}
!md84 = !{!md59, !md18, !md11, !md59, !md51, !md19, !md20, !md15, !md21, !md16}
!md85 = !{!md51, !md24, !md11, !md51, !md51, !md20, !md22, !md21, !md23}
!md86 = !{!md59, !md56, !md59, !md15, !md16, !md17, !md84, !md56, !md56, !md59, !md22, !md23, !md17, !md85}
!md87 = !{!md59, !md9, !md10, !md57, !md11, !md49, !md51, !md12, !md13, !md49, !md14, !md86, !md25, !md57, !md26, !md56, !md20, !md27, !md21, !md28}
!md88 = !{!md51, !md29, !md11, !md59, !md51, !md12, !md13, !md51, !md25, !md56, !md26, !md56, !md20, !md30, !md21, !md31}
!md89 = !{!md49, !md29, !md11, !md51, !md51, !md32, !md13, !md51, !md25, !md57, !md26, !md57, !md20, !md33, !md21, !md34}
!md90 = !{!md60, !md35, !md20, !md36, !md21, !md37}
!md91 = !{!md87, !md88, !md89, !md90}
!md92 = !{!md58, !md83, !md91}
!md93 = !{!md84, !md88, !md89, !md90}
!md94 = !{!md61, !md83, !md93}
!md95 = !{!md62, !md83, !md93}
!md96 = !{!md63, !md83, !md93}
!md97 = !{!md64, !md83, !md93}
!md98 = !{!md65, !md83, !md93}
!md99 = !{!md66, !md83, !md93}
!md100 = !{!md38}
!md101 = !{!md39}
!md102 = !{!md40}
!md103 = !{!md41, !md67}
!md104 = !{!md41, !md68}
!md105 = !{!md41, !md69}
!md106 = !{!md41, !md70}
!md107 = !{!md41, !md71}
!md108 = !{!md41, !md72}
!md109 = !{!md42}
!md110 = !{!md49, !md56, !md59}
!md111 = !{!md43, !md52, !md59, !md59}
!md112 = !{!md45}
!md113 = !{!md44, !md112, !md73}
!md114 = !{!md113, !md113, !md73}
!"llvm.module.flags" = !{!md74, !md75, !md76, !md77, !md78, !md79, !md80, !md81, !md82}
!"air.kernel" = !{!md92, !md94, !md95, !md96, !md97, !md98, !md99}
!"air.compile_options" = !{!md100, !md101, !md102}
!"air.sampler_states" = !{!md103, !md104, !md105, !md106, !md107, !md108}
!"llvm.ident" = !{!md109}
!"air.version" = !{!md110}
!"air.language_version" = !{!md111}
