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(2), ptr addrspace(1))
%t6 = type i32 (ptr addrspace(1))
%t7 = type i32 (ptr addrspace(1), i32)
%t9 = type [2 x i32]
c8 = %t9 [26, 5]

define %t4 @f0 "txt_level_queries" "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( align 4 dereferenceable(4) Ref nocapture "air-buffer-no-alias"="" ) %a3( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call i32 @f1 [air Texture(Texture { op: Query(NumMipLevels), image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: None, coord16: false, form: Current, status: true, access: None, states_access: true, device_coherent: false })](%a0) arg0( Ref nocapture )
  %i1 = insertelement <4 x i32> undef, %i0, i64 0
  %i2 = load i32, %a2, align 4
  %i3 = tail call i32 @f2 [air Texture(Texture { op: Query(Width), image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: None, coord16: false, form: Current, status: true, access: None, states_access: true, device_coherent: false })](%a0, %i2) arg0( Ref nocapture )
  %i4 = insertelement %i1, %i3, i64 1
  %i5 = tail call i32 @f3 [air Texture(Texture { op: Query(Height), image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: None, coord16: false, form: Current, status: true, access: None, states_access: true, device_coherent: false })](%a0, %i2) arg0( Ref nocapture )
  %i6 = insertelement %i4, %i5, i64 2
  %i7 = tail call i32 @f4 [air Texture(Texture { op: Query(NumMipLevels), image: ImageShape { dim: Cube, array: false, ms: false, depth: false }, texel: None, coord16: false, form: Current, status: true, access: None, states_access: true, device_coherent: false })](%a1) arg0( Ref nocapture )
  %i8 = insertelement %i6, %i7, i64 3
  store %i8, %a3, align 16
  ret void
}

declare %t6 @f1 "air.get_num_mip_levels_texture_2d" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t7 @f2 "air.get_width_texture_2d" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t7 @f3 "air.get_height_texture_2d" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )

declare %t6 @f4 "air.get_num_mip_levels_texture_cube" memory(Ref, NoModRef, NoModRef) %a0( 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.write"
!md12 = !"air.arg_type_name"
!md13 = !"texture2d<float, write>"
!md14 = !"air.arg_name"
!md15 = !"t"
!md16 = !"texturecube<half, write>"
!md17 = !"c"
!md18 = !"air.buffer"
!md19 = !"air.buffer_size"
!md20 = !"air.read"
!md21 = !"air.address_space"
!md22 = !"air.arg_type_size"
!md23 = !"air.arg_type_align_size"
!md24 = !"uint"
!md25 = !"lod"
!md26 = !"air.read_write"
!md27 = !"uint4"
!md28 = !"out"
!md29 = !"air.compile.denorms_disable"
!md30 = !"air.compile.fast_math_enable"
!md31 = !"air.compile.framebuffer_fetch_enable"
!md32 = !"Apple metal version 32023.883 (metalfe-32023.883)"
!md33 = !"Metal"
!md34 = i32 2
!md35 = %t9 c8
!md36 = i32 1
!md37 = i32 4
!md38 = i32 7
!md39 = i32 31
!md40 = i32 128
!md41 = i32 8
!md42 = i32 16
!md43 = ptr addrspace(0) @f0
!md44 = i32 0
!md45 = i32 3
!md46 = !{!md34, !md0, !md35}
!md47 = !{!md36, !md1, !md37}
!md48 = !{!md38, !md2, !md34}
!md49 = !{!md38, !md3, !md39}
!md50 = !{!md38, !md4, !md39}
!md51 = !{!md38, !md5, !md39}
!md52 = !{!md38, !md6, !md40}
!md53 = !{!md38, !md7, !md41}
!md54 = !{!md38, !md8, !md42}
!md55 = !{}
!md56 = !{!md44, !md9, !md10, !md44, !md36, !md11, !md12, !md13, !md14, !md15}
!md57 = !{!md36, !md9, !md10, !md36, !md36, !md11, !md12, !md16, !md14, !md17}
!md58 = !{!md34, !md18, !md19, !md37, !md10, !md44, !md36, !md20, !md21, !md34, !md22, !md37, !md23, !md37, !md12, !md24, !md14, !md25}
!md59 = !{!md45, !md18, !md10, !md36, !md36, !md26, !md21, !md36, !md22, !md42, !md23, !md42, !md12, !md27, !md14, !md28}
!md60 = !{!md56, !md57, !md58, !md59}
!md61 = !{!md43, !md55, !md60}
!md62 = !{!md29}
!md63 = !{!md30}
!md64 = !{!md31}
!md65 = !{!md32}
!md66 = !{!md34, !md41, !md44}
!md67 = !{!md33, !md37, !md44, !md44}
!"llvm.module.flags" = !{!md46, !md47, !md48, !md49, !md50, !md51, !md52, !md53, !md54}
!"air.kernel" = !{!md61}
!"air.compile_options" = !{!md62, !md63, !md64}
!"llvm.ident" = !{!md65}
!"air.version" = !{!md66}
!"air.language_version" = !{!md67}
