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: [] }
%t5 = type { i32, ptr addrspace(0), ptr addrspace(0) }
%t6 = type [1 x %t5]
%t9 = type void (ptr addrspace(1), ptr addrspace(1), i32)
%t12 = type <4 x half> (<4 x float>)
%t13 = type <4 x float> (<4 x float>, <4 x float>, <4 x float>)
%t14 = type <4 x half> (<4 x half>, <4 x half>, <4 x half>)
%t15 = type void ()
%t17 = type [2 x i32]
%t20 = type [18 x <4 x float>]
%t21 = type [7 x <4 x half>]
%t23 = type [8 x i8]
%t24 = type { %t20, %t21, %t23 } ; "struct.Rows"
c26 = %t5 [65535, @f4, zeroinitializer]
c27 = %t6 [c26]
c28 = %t17 [27, 2]
@g0 "_ZL6k_zero" = internal addrspace(2) global float undef, align 4
@g1 "_Z6k_zero.MTL_FC_INIT_0_f" = linkonce_odr externally_initialized addrspace(2) constant float undef, align 4, section air.fc_initializer
@g2 "_ZL9k_negzero" = internal addrspace(2) global float undef, align 4
@g3 "_Z9k_negzero.MTL_FC_INIT_1_f" = linkonce_odr externally_initialized addrspace(2) constant float undef, align 4, section air.fc_initializer
@g4 "_ZL6k_qnan" = internal addrspace(2) global float undef, align 4
@g5 "_Z6k_qnan.MTL_FC_INIT_2_f" = linkonce_odr externally_initialized addrspace(2) constant float undef, align 4, section air.fc_initializer
@g6 "_ZL6k_snan" = internal addrspace(2) global float undef, align 4
@g7 "_Z6k_snan.MTL_FC_INIT_3_f" = linkonce_odr externally_initialized addrspace(2) constant float undef, align 4, section air.fc_initializer
@g8 "_ZL6h_zero" = internal addrspace(2) global half undef, align 2
@g9 "_Z6h_zero.MTL_FC_INIT_4_Dh" = linkonce_odr externally_initialized addrspace(2) constant half undef, align 2, section air.fc_initializer
@g10 "_ZL9h_negzero" = internal addrspace(2) global half undef, align 2
@g11 "_Z9h_negzero.MTL_FC_INIT_5_Dh" = linkonce_odr externally_initialized addrspace(2) constant half undef, align 2, section air.fc_initializer
@g12 "_ZL5h_nan" = internal addrspace(2) global half undef, align 2
@g13 "_Z5h_nan.MTL_FC_INIT_6_Dh" = linkonce_odr externally_initialized addrspace(2) constant half undef, align 2, section air.fc_initializer
@g14 "llvm.global_ctors" = appending addrspace(0) global %t6 c27

define %t9 @f0 "sfold" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins"="" "no-trapping-math"="true" "stack-protector-buffer-size"="8" %a0( Ref nocapture "air-buffer-no-alias"="" ) %a1( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = zext %a2 to i64
  %i1 = getelementptr inbounds <4 x float>, %a0, %i0
  %i2 = load <4 x float>, %i1, align 16
  %i3 = tail call <4 x half> @f1 [air Convert(Convert { dst: NumTy { elem: F16, lanes: 4 }, dst_kind: Float, src: NumTy { elem: F32, lanes: 4 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i2)
  %i4 = load float, ptr addrspace(2) @g0, align 4
  %i5 = insertelement <4 x float> poison, %i4, i64 0
  %i6 = shufflevector <4 x float> %i5, <4 x float> poison, <0, 0, 0, 0>
  %i7 = fmul <4 x float> %i2, %i6
  %i8 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 0
  store %i7, %i8, align 16
  %i10 = load float, ptr addrspace(2) @g2, align 4
  %i11 = insertelement <4 x float> poison, %i10, i64 0
  %i12 = shufflevector <4 x float> %i11, <4 x float> poison, <0, 0, 0, 0>
  %i13 = fmul <4 x float> %i2, %i12
  %i14 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 1
  store %i13, %i14, align 16
  %i16 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 2
  store %i13, %i16, align 16
  %i18 = load float, ptr addrspace(2) @g4, align 4
  %i19 = insertelement <4 x float> poison, %i18, i64 0
  %i20 = shufflevector <4 x float> %i19, <4 x float> poison, <0, 0, 0, 0>
  %i21 = fadd <4 x float> %i2, %i20
  %i22 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 3
  store %i21, %i22, align 16
  %i24 = load float, ptr addrspace(2) @g6, align 4
  %i25 = insertelement <4 x float> poison, %i24, i64 0
  %i26 = shufflevector <4 x float> %i25, <4 x float> poison, <0, 0, 0, 0>
  %i27 = fadd <4 x float> %i2, %i26
  %i28 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 4
  store %i27, %i28, align 16
  %i30 = fsub <4 x float> %i2, %i26
  %i31 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 5
  store %i30, %i31, align 16
  %i33 = fsub <4 x float> %i20, %i2
  %i34 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 6
  store %i33, %i34, align 16
  %i36 = fmul <4 x float> %i2, %i26
  %i37 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 7
  store %i36, %i37, align 16
  %i39 = fdiv <4 x float> %i2, %i20
  %i40 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 8
  store %i39, %i40, align 16
  %i42 = fdiv <4 x float> %i26, %i2
  %i43 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 9
  store %i42, %i43, align 16
  %i45 = tail call <4 x float> @f2 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F32, lanes: 4 } })](%i2, %i2, %i20)
  %i46 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 10
  store %i45, %i46, align 16
  %i48 = tail call <4 x float> @f2 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F32, lanes: 4 } })](%i26, %i2, %i2)
  %i49 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 11
  store %i48, %i49, align 16
  %i51 = fadd <4 x float> %i19, %i25
  %i52 = shufflevector <4 x float> %i51, <4 x float> poison, <0, 0, 0, 0>
  %i53 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 12
  store %i52, %i53, align 16
  %i55 = fmul <4 x float> %i19, %i25
  %i56 = shufflevector <4 x float> %i55, <4 x float> poison, <0, 0, 0, 0>
  %i57 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 13
  store %i56, %i57, align 16
  %i59 = fmul <4 x float> %i5, %i19
  %i60 = shufflevector <4 x float> %i59, <4 x float> poison, <0, 0, 0, 0>
  %i61 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 14
  store %i60, %i61, align 16
  %i63 = fsub <4 x float> %i25, %i19
  %i64 = shufflevector <4 x float> %i63, <4 x float> poison, <0, 0, 0, 0>
  %i65 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 15
  store %i64, %i65, align 16
  %i67 = fdiv <4 x float> %i19, %i25
  %i68 = shufflevector <4 x float> %i67, <4 x float> poison, <0, 0, 0, 0>
  %i69 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 16
  store %i68, %i69, align 16
  %i71 = tail call <4 x float> @f2 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F32, lanes: 4 } })](%i26, %i20, %i20)
  %i72 = getelementptr inbounds %t24, %a1, %i0, i32 0, i64 17
  store %i71, %i72, align 16
  %i74 = load half, ptr addrspace(2) @g8, align 2
  %i75 = insertelement <4 x half> poison, %i74, i64 0
  %i76 = shufflevector <4 x half> %i75, <4 x half> poison, <0, 0, 0, 0>
  %i77 = fmul <4 x half> %i3, %i76
  %i78 = getelementptr inbounds %t24, %a1, %i0, i32 1, i64 0
  store %i77, %i78, align 16
  %i80 = load half, ptr addrspace(2) @g10, align 2
  %i81 = insertelement <4 x half> poison, %i80, i64 0
  %i82 = shufflevector <4 x half> %i81, <4 x half> poison, <0, 0, 0, 0>
  %i83 = fmul <4 x half> %i3, %i82
  %i84 = getelementptr inbounds %t24, %a1, %i0, i32 1, i64 1
  store %i83, %i84, align 8
  %i86 = load half, ptr addrspace(2) @g12, align 2
  %i87 = insertelement <4 x half> poison, %i86, i64 0
  %i88 = shufflevector <4 x half> %i87, <4 x half> poison, <0, 0, 0, 0>
  %i89 = fadd <4 x half> %i3, %i88
  %i90 = getelementptr inbounds %t24, %a1, %i0, i32 1, i64 2
  store %i89, %i90, align 16
  %i92 = fsub <4 x half> %i88, %i3
  %i93 = getelementptr inbounds %t24, %a1, %i0, i32 1, i64 3
  store %i92, %i93, align 8
  %i95 = fdiv <4 x half> %i88, %i3
  %i96 = getelementptr inbounds %t24, %a1, %i0, i32 1, i64 4
  store %i95, %i96, align 16
  %i98 = fmul <4 x half> %i3, %i88
  %i99 = getelementptr inbounds %t24, %a1, %i0, i32 1, i64 5
  store %i98, %i99, align 8
  %i101 = tail call <4 x half> @f3 [air Math(Math { f: Fma, precision: Precise, ty: NumTy { elem: F16, lanes: 4 } })](%i3, %i3, %i88)
  %i102 = getelementptr inbounds %t24, %a1, %i0, i32 1, i64 6
  store %i101, %i102, align 16
  ret void
}

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

declare %t13 @f2 "air.fma.v4f32" memory(NoModRef, NoModRef, NoModRef)

declare %t14 @f3 "air.fma.v4f16" memory(NoModRef, NoModRef, NoModRef)

define internal %t15 @f4 "_GLOBAL__sub_I__" memory(Mod, Mod, Mod) "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-trapping-math"="true" "stack-protector-buffer-size"="8", section air.static_init {
bb0:
  %i0 = load float, ptr addrspace(2) @g1, align 4
  store %i0, ptr addrspace(2) @g0, align 4
  %i2 = load float, ptr addrspace(2) @g3, align 4
  store %i2, ptr addrspace(2) @g2, align 4
  %i4 = load float, ptr addrspace(2) @g5, align 4
  store %i4, ptr addrspace(2) @g4, align 4
  %i6 = load float, ptr addrspace(2) @g7, align 4
  store %i6, ptr addrspace(2) @g6, align 4
  %i8 = load half, ptr addrspace(2) @g9, align 2
  store %i8, ptr addrspace(2) @g8, align 2
  %i10 = load half, ptr addrspace(2) @g11, align 2
  store %i10, ptr addrspace(2) @g10, align 2
  %i12 = load half, ptr addrspace(2) @g13, align 2
  store %i12, ptr addrspace(2) @g12, align 2
  ret void
}
!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.buffer"
!md10 = !"air.location_index"
!md11 = !"air.read"
!md12 = !"air.address_space"
!md13 = !"air.arg_type_size"
!md14 = !"air.arg_type_align_size"
!md15 = !"air.arg_type_name"
!md16 = !"float4"
!md17 = !"air.arg_name"
!md18 = !"in"
!md19 = !"air.read_write"
!md20 = !"air.struct_type_info"
!md21 = !"f"
!md22 = !"half4"
!md23 = !"h"
!md24 = !"Rows"
!md25 = !"out"
!md26 = !"air.thread_position_in_grid"
!md27 = !"uint"
!md28 = !"gid"
!md29 = !"air.compile.denorms_disable"
!md30 = !"air.compile.fast_math_disable"
!md31 = !"air.compile.framebuffer_fetch_enable"
!md32 = !"float"
!md33 = !"k_zero"
!md34 = !"k_negzero"
!md35 = !"k_qnan"
!md36 = !"k_snan"
!md37 = !"half"
!md38 = !"h_zero"
!md39 = !"h_negzero"
!md40 = !"h_nan"
!md41 = !"Apple metal version 32023.922 (metalfe-32023.922.4)"
!md42 = !"Metal"
!md43 = !"omnipotent char"
!md44 = !"Simple C++ TBAA"
!md45 = i32 2
!md46 = %t17 c28
!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 18
!md57 = i32 288
!md58 = i32 352
!md59 = ptr addrspace(2) @g1
!md60 = ptr addrspace(2) @g3
!md61 = ptr addrspace(2) @g5
!md62 = ptr addrspace(2) @g7
!md63 = i32 3
!md64 = ptr addrspace(2) @g9
!md65 = ptr addrspace(2) @g11
!md66 = i32 5
!md67 = ptr addrspace(2) @g13
!md68 = i32 6
!md69 = i64 0
!md70 = !{!md45, !md0, !md46}
!md71 = !{!md47, !md1, !md48}
!md72 = !{!md49, !md2, !md45}
!md73 = !{!md49, !md3, !md50}
!md74 = !{!md49, !md4, !md50}
!md75 = !{!md49, !md5, !md50}
!md76 = !{!md49, !md6, !md51}
!md77 = !{!md49, !md7, !md52}
!md78 = !{!md49, !md8, !md53}
!md79 = !{}
!md80 = !{!md55, !md9, !md10, !md55, !md47, !md11, !md12, !md47, !md13, !md53, !md14, !md53, !md15, !md16, !md17, !md18}
!md81 = !{!md55, !md53, !md56, !md16, !md21, !md57, !md52, !md49, !md22, !md23}
!md82 = !{!md47, !md9, !md10, !md47, !md47, !md19, !md12, !md47, !md20, !md81, !md13, !md58, !md14, !md53, !md15, !md24, !md17, !md25}
!md83 = !{!md45, !md26, !md15, !md27, !md17, !md28}
!md84 = !{!md80, !md82, !md83}
!md85 = !{!md54, !md79, !md84}
!md86 = !{!md29}
!md87 = !{!md30}
!md88 = !{!md31}
!md89 = !{!md59, !md32, !md33, !md55}
!md90 = !{!md60, !md32, !md34, !md47}
!md91 = !{!md61, !md32, !md35, !md45}
!md92 = !{!md62, !md32, !md36, !md63}
!md93 = !{!md64, !md37, !md38, !md48}
!md94 = !{!md65, !md37, !md39, !md66}
!md95 = !{!md67, !md37, !md40, !md68}
!md96 = !{!md41}
!md97 = !{!md45, !md52, !md55}
!md98 = !{!md42, !md48, !md55, !md55}
!md99 = !{!md44}
!md100 = !{!md43, !md99, !md69}
!md101 = !{!md32, !md100, !md69}
!md102 = !{!md101, !md101, !md69}
!md103 = !{!md37, !md100, !md69}
!md104 = !{!md103, !md103, !md69}
!"llvm.module.flags" = !{!md70, !md71, !md72, !md73, !md74, !md75, !md76, !md77, !md78}
!"air.kernel" = !{!md85}
!"air.compile_options" = !{!md86, !md87, !md88}
!"air.function_constants" = !{!md89, !md90, !md91, !md92, !md93, !md94, !md95}
!"llvm.ident" = !{!md96}
!"air.version" = !{!md97}
!"air.language_version" = !{!md98}
