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 void (ptr addrspace(1), ptr addrspace(2), <2 x i32>)
%t8 = type ptr addrspace(2) ()
%t12 = type { <4 x float>, i8 }
%t13 = type %t12 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t14 = type void (ptr addrspace(1), <2 x i32>, <4 x float>, i32, i32)
%t16 = type { <4 x i32>, i8 }
%t17 = type %t16 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t18 = type void (ptr addrspace(1), <2 x i32>, <4 x i32>, i32, i32)
%t19 = type <4 x i32> (ptr addrspace(1), <2 x i32>, <2 x i32>, <4 x i32>, i32, i32)
%t21 = type [2 x i32]
c16 = %t21 [27, 0]
c28 = <4 x i32> [5, 5, 5, 5]

define %t3 @f0 "rrp_sw_read_f" "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) @f7 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t12 @f8 [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, %i0, <2 x i32> zeroinitializer, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
  %i2 = extractvalue <4 x float> %i1, 0
  store %i2, %a1, align 16
  ret void
}

define %t3 @f1 "rrp_sw_rwread_f" "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) @f7 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t12 @f8 [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(ReadWrite), states_access: true })](%a0, %i0, <2 x i32> zeroinitializer, <2 x i32> zeroinitializer, i32 0, i32 3) arg0( Ref nocapture )
  %i2 = extractvalue <4 x float> %i1, 0
  store %i2, %a1, align 16
  ret void
}

define %t7 @f2 "rrp_sw_write_f" 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( nocapture ) %a1( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = load <4 x float>, %a1, align 16
  tail call void @f9 [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 })](%a0, %a2, %i0, i32 0, i32 2) arg0( nocapture )
  ret void
}

define %t7 @f3 "rrp_sw_rwwrite_f" 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( nocapture ) %a1( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = load <4 x float>, %a1, align 16
  tail call void @f9 [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(ReadWrite), states_access: true })](%a0, %a2, %i0, i32 0, i32 3) arg0( nocapture )
  ret void
}

define %t3 @f4 "rrp_sw_rwread_u" "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) @f7 [air Sampler(GetReadSampler)]()
  %i1 = tail call %t16 @f10 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Unsigned) }), coord16: false, form: Current, status: true, access: Some(ReadWrite), states_access: true })](%a0, %i0, <2 x i32> zeroinitializer, <2 x i32> zeroinitializer, i32 0, i32 3) arg0( Ref nocapture )
  %i2 = extractvalue <4 x i32> %i1, 0
  store %i2, %a1, align 16
  ret void
}

define %t7 @f5 "rrp_sw_write_u" 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( nocapture ) %a1( Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = load <4 x i32>, %a1, align 16
  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: I32, lanes: 4 }, sign: Some(Unsigned) }), coord16: false, form: Current, status: true, access: Some(Write), states_access: true })](%a0, %a2, %i0, i32 0, i32 2) arg0( nocapture )
  ret void
}

define %t3 @f6 "rrp_sw_atomic_u" "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( nocapture ) %a1( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call <4 x i32> @f12 [air Texture(Texture { op: Atomic(Add), image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: I32, lanes: 4 }, sign: Some(Unsigned) }), coord16: false, form: Current, status: true, access: Some(ReadWrite), states_access: true })](%a0, <2 x i32> zeroinitializer, <2 x i32> zeroinitializer, <4 x i32> c28, i32 0, i32 3) arg0( nocapture )
  store %i0, %a1, align 16
  ret void
}

declare %t8 @f7 "air.get_read_sampler" memory(NoModRef, Ref, NoModRef)

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

declare %t14 @f9 "air.write_texture_2d.v4f32" memory(ModRef, NoModRef, NoModRef) %a0( nocapture )

declare %t17 @f10 "air.read_texture_2d.u.v4i32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t18 @f11 "air.write_texture_2d.u.v4i32" memory(ModRef, NoModRef, NoModRef) %a0( nocapture )

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