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), ptr addrspace(1), ptr addrspace(1), i32)
%t9 = type <4 x float> (<4 x half>)
%t11 = type ptr addrspace(2) ()
%t13 = type { <4 x half>, i8 }
%t14 = type %t13 (ptr addrspace(1), ptr addrspace(2), i32, i32)
%t16 = type [2 x i32]
c7 = %t16 [27, 0]

define %t4 @f0 "hlf_half_buffer" "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="64" "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" %a4( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = shl i32 %a5, i32 2
  %i1 = zext %i0 to i64
  %i2 = getelementptr inbounds <4 x float>, %a4, %i1
  %i3 = tail call ptr addrspace(2) @f2 [air Sampler(GetReadSampler)]()
  %i4 = tail call %t13 @f3 [air Texture(Texture { op: Read, image: ImageShape { dim: Buffer, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a0, %i3, %a5, i32 1) arg0( Ref nocapture )
  %i5 = extractvalue <4 x half> %i4, 0
  %i6 = tail call reassoc nnan ninf nsz arcp contract afn <4 x float> @f1 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 4 }, dst_kind: Float, src: NumTy { elem: F16, lanes: 4 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i5)
  store %i6, %i2, align 16
  %i8 = tail call %t13 @f3 [air Texture(Texture { op: Read, image: ImageShape { dim: Buffer, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a1, %i3, %a5, i32 1) arg0( Ref nocapture )
  %i9 = extractvalue <4 x half> %i8, 0
  %i10 = tail call reassoc nnan ninf nsz arcp contract afn <4 x float> @f1 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 4 }, dst_kind: Float, src: NumTy { elem: F16, lanes: 4 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i9)
  %i11 = getelementptr inbounds <4 x float>, %i2, i64 1
  store %i10, %i11, align 16
  %i13 = tail call %t13 @f3 [air Texture(Texture { op: Read, image: ImageShape { dim: Buffer, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a2, %i3, %a5, i32 1) arg0( Ref nocapture )
  %i14 = extractvalue <4 x half> %i13, 0
  %i15 = tail call reassoc nnan ninf nsz arcp contract afn <4 x float> @f1 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 4 }, dst_kind: Float, src: NumTy { elem: F16, lanes: 4 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i14)
  %i16 = getelementptr inbounds <4 x float>, %i2, i64 2
  store %i15, %i16, align 16
  %i18 = tail call %t13 @f3 [air Texture(Texture { op: Read, image: ImageShape { dim: Buffer, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F16, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true, device_coherent: false })](%a3, %i3, %a5, i32 1) arg0( Ref nocapture )
  %i19 = extractvalue <4 x half> %i18, 0
  %i20 = tail call reassoc nnan ninf nsz arcp contract afn <4 x float> @f1 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 4 }, dst_kind: Float, src: NumTy { elem: F16, lanes: 4 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i19)
  %i21 = getelementptr inbounds <4 x float>, %i2, i64 3
  store %i20, %i21, align 16
  ret void
}

declare %t9 @f1 "air.convert.f.v4f32.f.v4f16" memory(NoModRef, NoModRef, NoModRef)

declare %t11 @f2 "air.get_read_sampler" memory(NoModRef, Ref, NoModRef)

declare %t14 @f3 "air.read_texture_buffer_1d.v4f16" 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.read"
!md12 = !"air.arg_type_name"
!md13 = !"texture_buffer<half, read>"
!md14 = !"air.arg_name"
!md15 = !"b0"
!md16 = !"b1"
!md17 = !"b2"
!md18 = !"b3"
!md19 = !"air.buffer"
!md20 = !"air.read_write"
!md21 = !"air.address_space"
!md22 = !"air.arg_type_size"
!md23 = !"air.arg_type_align_size"
!md24 = !"float4"
!md25 = !"out"
!md26 = !"air.thread_position_in_grid"
!md27 = !"uint"
!md28 = !"tid"
!md29 = !"air.compile.denorms_disable"
!md30 = !"air.compile.fast_math_enable"
!md31 = !"air.compile.framebuffer_fetch_enable"
!md32 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md33 = !"Metal"
!md34 = i32 2
!md35 = %t16 c7
!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 = i32 5
!md47 = !{!md34, !md0, !md35}
!md48 = !{!md36, !md1, !md37}
!md49 = !{!md38, !md2, !md34}
!md50 = !{!md38, !md3, !md39}
!md51 = !{!md38, !md4, !md39}
!md52 = !{!md38, !md5, !md39}
!md53 = !{!md38, !md6, !md40}
!md54 = !{!md38, !md7, !md41}
!md55 = !{!md38, !md8, !md42}
!md56 = !{}
!md57 = !{!md44, !md9, !md10, !md44, !md36, !md11, !md12, !md13, !md14, !md15}
!md58 = !{!md36, !md9, !md10, !md36, !md36, !md11, !md12, !md13, !md14, !md16}
!md59 = !{!md34, !md9, !md10, !md34, !md36, !md11, !md12, !md13, !md14, !md17}
!md60 = !{!md45, !md9, !md10, !md45, !md36, !md11, !md12, !md13, !md14, !md18}
!md61 = !{!md37, !md19, !md10, !md44, !md36, !md20, !md21, !md36, !md22, !md42, !md23, !md42, !md12, !md24, !md14, !md25}
!md62 = !{!md46, !md26, !md12, !md27, !md14, !md28}
!md63 = !{!md57, !md58, !md59, !md60, !md61, !md62}
!md64 = !{!md43, !md56, !md63}
!md65 = !{!md29}
!md66 = !{!md30}
!md67 = !{!md31}
!md68 = !{!md32}
!md69 = !{!md34, !md41, !md44}
!md70 = !{!md33, !md37, !md44, !md44}
!"llvm.module.flags" = !{!md47, !md48, !md49, !md50, !md51, !md52, !md53, !md54, !md55}
!"air.kernel" = !{!md64}
!"air.compile_options" = !{!md65, !md66, !md67}
!"llvm.ident" = !{!md68}
!"air.version" = !{!md69}
!"air.language_version" = !{!md70}
