target triple = "air64_v28-apple-macosx26.2.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 { i32, ptr addrspace(0), ptr addrspace(0) }
%t4 = type [1 x %t3]
%t7 = type void (ptr addrspace(1), ptr addrspace(2), i32, i32)
%t9 = type i1 (ptr addrspace(2))
%t11 = type i64 ()
%t13 = type i64 (i32, i32, i32, i32, i8, i8, i8, i32, i32, i32, i32, i32)
%t14 = type i32 ()
%t15 = type void (i32, i32, i32, i32, i8, i8, i8, i32, ptr addrspace(0), i32, i32, i32, i32)
%t17 = type float (i32)
%t18 = type i32 (float)
%t19 = type i32 (i32, i32)
%t21 = type i16 (i32, i32, i32, i32, i8, i8, i8, i32, ptr addrspace(0), i32, i32, i32)
%t22 = type ptr addrspace(0) (i32, i32, i32, i32, i8, i8, i8, i32, ptr addrspace(0), i16, i32, i32, i32)
%t24 = type half (i32)
%t25 = type i32 (half)
%t26 = type void ()
%t28 = type [2 x i32]
c37 = %t3 [65535, @f28, zeroinitializer]
c38 = %t4 [c37]
c40 = %t28 [27, 0]
@g0 "_Z8selected.MTL_FC_INIT_0_j" = linkonce_odr externally_initialized addrspace(2) constant i32 undef, align 4, section air.fc_initializer
@g1 "_ZL7variant" = internal addrspace(2) global i32 0, align 4
@g2 "llvm.global_ctors" = appending addrspace(0) global %t4 c38

define %t7 @f0 "tns_init" convergent "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" %a0( Mod nocapture "air-buffer-no-alias"="" ) %a1( align 4 dereferenceable(4) Ref nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = tail call i64 @f26()
  %i1 = alloca i8, %i0, align 1
  %i2 = tail call i64 @f24()
  %i3 = alloca i8, %i2, align 4
  %i4 = tail call i64 @f20()
  %i5 = alloca i8, %i4, align 2
  %i6 = tail call i64 @f18()
  %i7 = alloca i8, %i6, align 4
  %i8 = tail call i64 @f16()
  %i9 = alloca i8, %i8, align 4
  %i10 = tail call i64 @f14()
  %i11 = alloca i8, %i10, align 4
  %i12 = tail call i64 @f12()
  %i13 = alloca i8, %i12, align 4
  %i14 = tail call i64 @f2()
  %i15 = alloca i8, %i14, align 4
  %i16 = load i32, ptr addrspace(2) @g1, align 4
  switch %i16, bb57 [ 0: bb1 1: bb9 2: bb17 3: bb25 4: bb33 5: bb41 6: bb49 ]
bb1:
  %i18 = load i32, %a1, align 4
  %i19 = icmp eq %i18, i32 0
  br %i19, bb65, bb2
bb2:
  %i21 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i22 = shl i32 %a3, i32 6
  %i23 = mul i32 %i22, %i18
  br bb3
bb3:
  %i25 = phi i32 [i32 0, bb2], [%i76, bb8]
  call void @f6(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i15, i32 268435472, i32 268435472, i32 268435488, %i21) convergent "no-builtins"=""
  %i27 = call i16 @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i15, i32 268435472, i32 268435472, %i21) convergent "no-builtins"=""
  %i28 = zext %i27 to i32
  %i29 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i28, i32 64)
  %i30 = mul i32 %i25, %a3
  %i31 = add i32 %i30, %a2
  %i32 = shl i32 %i31, i32 6
  %i33 = zext %i32 to i64
  %i34 = getelementptr inbounds i32, %a0, %i33
  %i35 = icmp eq %i29, i32 0
  br %i35, bb8, bb5
bb4:
  %i37 = shl i32 %i25, i32 5
  br bb6
bb5:
  %i39 = phi i32 [%i47, bb5], [i32 0, bb3]
  %i40 = trunc %i39 to i16
  %i41 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i15, %i40, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i42 = bitcast %i41 to ptr addrspace(0)
  %i43 = load i32, %i42, align 4
  %i44 = zext %i39 to i64
  %i45 = getelementptr inbounds i32, %i34, %i44
  store %i43, %i45, align 4
  %i47 = add nuw i32 %i39, i32 1
  %i48 = icmp eq %i47, %i29
  br %i48, bb4, bb5, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb6:
  %i50 = phi i32 [i32 0, bb4], [%i51, bb6]
  %i51 = add nuw i32 %i50, i32 1
  %i52 = add i32 %i51, %i37
  %i53 = call reassoc nnan ninf nsz arcp contract afn float @f7 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%i52)
  %i54 = trunc %i50 to i16
  %i55 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i15, %i54, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i56 = bitcast %i55 to ptr addrspace(0)
  store %i53, %i56, align 4
  %i58 = icmp eq %i51, %i29
  br %i58, bb7, bb6, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb7:
  %i60 = phi i32 [%i68, bb7], [i32 0, bb6]
  %i61 = phi i32 [%i67, bb7], [i32 0, bb6]
  %i62 = trunc %i60 to i16
  %i63 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i15, %i62, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i64 = bitcast %i63 to ptr addrspace(0)
  %i65 = load float, %i64, align 4
  %i66 = call i32 @f8 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 1 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 1 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i65)
  %i67 = add i32 %i66, %i61
  %i68 = add nuw i32 %i60, i32 1
  %i69 = icmp eq %i68, %i29
  br %i69, bb8, bb7, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb8:
  %i71 = phi i32 [i32 0, bb3], [%i67, bb7]
  %i72 = add i32 %i31, %i23
  %i73 = zext %i72 to i64
  %i74 = getelementptr inbounds i32, %a0, %i73
  store %i71, %i74, align 4
  %i76 = add nuw i32 %i25, i32 1
  %i77 = icmp eq %i76, %i18
  br %i77, bb65, bb3, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb9:
  %i79 = load i32, %a1, align 4
  %i80 = icmp eq %i79, i32 0
  br %i80, bb65, bb10
bb10:
  %i82 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i83 = shl i32 %a3, i32 6
  %i84 = mul i32 %i83, %i79
  br bb11
bb11:
  %i86 = phi i32 [i32 0, bb10], [%i137, bb16]
  call void @f6(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i13, i32 268435488, i32 268435488, i32 268435488, %i82) convergent "no-builtins"=""
  %i88 = call i16 @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i13, i32 268435488, i32 268435488, %i82) convergent "no-builtins"=""
  %i89 = zext %i88 to i32
  %i90 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i89, i32 64)
  %i91 = mul i32 %i86, %a3
  %i92 = add i32 %i91, %a2
  %i93 = shl i32 %i92, i32 6
  %i94 = zext %i93 to i64
  %i95 = getelementptr inbounds i32, %a0, %i94
  %i96 = icmp eq %i90, i32 0
  br %i96, bb16, bb13
bb12:
  %i98 = shl i32 %i86, i32 5
  br bb14
bb13:
  %i100 = phi i32 [%i108, bb13], [i32 0, bb11]
  %i101 = trunc %i100 to i16
  %i102 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i13, %i101, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"=""
  %i103 = bitcast %i102 to ptr addrspace(0)
  %i104 = load i32, %i103, align 4
  %i105 = zext %i100 to i64
  %i106 = getelementptr inbounds i32, %i95, %i105
  store %i104, %i106, align 4
  %i108 = add nuw i32 %i100, i32 1
  %i109 = icmp eq %i108, %i90
  br %i109, bb12, bb13, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb14:
  %i111 = phi i32 [i32 0, bb12], [%i112, bb14]
  %i112 = add nuw i32 %i111, i32 1
  %i113 = add i32 %i112, %i98
  %i114 = call reassoc nnan ninf nsz arcp contract afn float @f7 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%i113)
  %i115 = trunc %i111 to i16
  %i116 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i13, %i115, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"=""
  %i117 = bitcast %i116 to ptr addrspace(0)
  store %i114, %i117, align 4
  %i119 = icmp eq %i112, %i90
  br %i119, bb15, bb14, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb15:
  %i121 = phi i32 [%i129, bb15], [i32 0, bb14]
  %i122 = phi i32 [%i128, bb15], [i32 0, bb14]
  %i123 = trunc %i121 to i16
  %i124 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i13, %i123, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"=""
  %i125 = bitcast %i124 to ptr addrspace(0)
  %i126 = load float, %i125, align 4
  %i127 = call i32 @f8 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 1 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 1 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i126)
  %i128 = add i32 %i127, %i122
  %i129 = add nuw i32 %i121, i32 1
  %i130 = icmp eq %i129, %i90
  br %i130, bb16, bb15, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb16:
  %i132 = phi i32 [i32 0, bb11], [%i128, bb15]
  %i133 = add i32 %i92, %i84
  %i134 = zext %i133 to i64
  %i135 = getelementptr inbounds i32, %a0, %i134
  store %i132, %i135, align 4
  %i137 = add nuw i32 %i86, i32 1
  %i138 = icmp eq %i137, %i79
  br %i138, bb65, bb11, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb17:
  %i140 = load i32, %a1, align 4
  %i141 = icmp eq %i140, i32 0
  br %i141, bb65, bb18
bb18:
  %i143 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i144 = shl i32 %a3, i32 6
  %i145 = mul i32 %i144, %i140
  br bb19
bb19:
  %i147 = phi i32 [i32 0, bb18], [%i196, bb24]
  call void @f6(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i11, i32 536870920, i32 536870920, i32 536870944, %i143) convergent "no-builtins"=""
  %i149 = call i16 @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i11, i32 536870920, i32 536870920, %i143) convergent "no-builtins"=""
  %i150 = zext %i149 to i32
  %i151 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i150, i32 64)
  %i152 = mul i32 %i147, %a3
  %i153 = add i32 %i152, %a2
  %i154 = shl i32 %i153, i32 6
  %i155 = zext %i154 to i64
  %i156 = getelementptr inbounds i32, %a0, %i155
  %i157 = icmp eq %i151, i32 0
  br %i157, bb24, bb21
bb20:
  %i159 = shl i32 %i147, i32 5
  br bb22
bb21:
  %i161 = phi i32 [%i169, bb21], [i32 0, bb19]
  %i162 = trunc %i161 to i16
  %i163 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i11, %i162, i32 536870920, i32 536870920, i32 536870944) convergent "no-builtins"=""
  %i164 = bitcast %i163 to ptr addrspace(0)
  %i165 = load i32, %i164, align 4
  %i166 = zext %i161 to i64
  %i167 = getelementptr inbounds i32, %i156, %i166
  store %i165, %i167, align 4
  %i169 = add nuw i32 %i161, i32 1
  %i170 = icmp eq %i169, %i151
  br %i170, bb20, bb21, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb22:
  %i172 = phi i32 [i32 0, bb20], [%i173, bb22]
  %i173 = add nuw i32 %i172, i32 1
  %i174 = add i32 %i173, %i159
  %i175 = trunc %i172 to i16
  %i176 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i11, %i175, i32 536870920, i32 536870920, i32 536870944) convergent "no-builtins"=""
  %i177 = bitcast %i176 to ptr addrspace(0)
  store %i174, %i177, align 4
  %i179 = icmp eq %i173, %i151
  br %i179, bb23, bb22, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb23:
  %i181 = phi i32 [%i188, bb23], [i32 0, bb22]
  %i182 = phi i32 [%i187, bb23], [i32 0, bb22]
  %i183 = trunc %i181 to i16
  %i184 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i11, %i183, i32 536870920, i32 536870920, i32 536870944) convergent "no-builtins"=""
  %i185 = bitcast %i184 to ptr addrspace(0)
  %i186 = load i32, %i185, align 4
  %i187 = add i32 %i186, %i182
  %i188 = add nuw i32 %i181, i32 1
  %i189 = icmp eq %i188, %i151
  br %i189, bb24, bb23, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb24:
  %i191 = phi i32 [i32 0, bb19], [%i187, bb23]
  %i192 = add i32 %i153, %i145
  %i193 = zext %i192 to i64
  %i194 = getelementptr inbounds i32, %a0, %i193
  store %i191, %i194, align 4
  %i196 = add nuw i32 %i147, i32 1
  %i197 = icmp eq %i196, %i140
  br %i197, bb65, bb19, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb25:
  %i199 = load i32, %a1, align 4
  %i200 = icmp eq %i199, i32 0
  br %i200, bb65, bb26
bb26:
  %i202 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i203 = shl i32 %i202, i32 1
  %i204 = shl i32 %a3, i32 6
  %i205 = mul i32 %i204, %i199
  br bb27
bb27:
  %i207 = phi i32 [i32 0, bb26], [%i258, bb32]
  call void @f6(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i9, i32 268435472, i32 268435472, i32 268435488, %i203) convergent "no-builtins"=""
  %i209 = call i16 @f10(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i9, i32 268435472, i32 268435472, %i203) convergent "no-builtins"=""
  %i210 = zext %i209 to i32
  %i211 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i210, i32 64)
  %i212 = mul i32 %i207, %a3
  %i213 = add i32 %i212, %a2
  %i214 = shl i32 %i213, i32 6
  %i215 = zext %i214 to i64
  %i216 = getelementptr inbounds i32, %a0, %i215
  %i217 = icmp eq %i211, i32 0
  br %i217, bb32, bb29
bb28:
  %i219 = shl i32 %i207, i32 5
  br bb30
bb29:
  %i221 = phi i32 [%i229, bb29], [i32 0, bb27]
  %i222 = trunc %i221 to i16
  %i223 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i9, %i222, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i224 = bitcast %i223 to ptr addrspace(0)
  %i225 = load i32, %i224, align 4
  %i226 = zext %i221 to i64
  %i227 = getelementptr inbounds i32, %i216, %i226
  store %i225, %i227, align 4
  %i229 = add nuw i32 %i221, i32 1
  %i230 = icmp eq %i229, %i211
  br %i230, bb28, bb29, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb30:
  %i232 = phi i32 [i32 0, bb28], [%i233, bb30]
  %i233 = add nuw i32 %i232, i32 1
  %i234 = add i32 %i233, %i219
  %i235 = call reassoc nnan ninf nsz arcp contract afn float @f7 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%i234)
  %i236 = trunc %i232 to i16
  %i237 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i9, %i236, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i238 = bitcast %i237 to ptr addrspace(0)
  store %i235, %i238, align 4
  %i240 = icmp eq %i233, %i211
  br %i240, bb31, bb30, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb31:
  %i242 = phi i32 [%i250, bb31], [i32 0, bb30]
  %i243 = phi i32 [%i249, bb31], [i32 0, bb30]
  %i244 = trunc %i242 to i16
  %i245 = call ptr addrspace(0) @f11(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i9, %i244, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i246 = bitcast %i245 to ptr addrspace(0)
  %i247 = load float, %i246, align 4
  %i248 = call i32 @f8 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 1 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 1 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i247)
  %i249 = add i32 %i248, %i243
  %i250 = add nuw i32 %i242, i32 1
  %i251 = icmp eq %i250, %i211
  br %i251, bb32, bb31, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb32:
  %i253 = phi i32 [i32 0, bb27], [%i249, bb31]
  %i254 = add i32 %i213, %i205
  %i255 = zext %i254 to i64
  %i256 = getelementptr inbounds i32, %a0, %i255
  store %i253, %i256, align 4
  %i258 = add nuw i32 %i207, i32 1
  %i259 = icmp eq %i258, %i199
  br %i259, bb65, bb27, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb33:
  %i261 = load i32, %a1, align 4
  %i262 = icmp eq %i261, i32 0
  br %i262, bb65, bb34
bb34:
  %i264 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i265 = shl i32 %i264, i32 2
  %i266 = shl i32 %a3, i32 6
  %i267 = mul i32 %i266, %i261
  br bb35
bb35:
  %i269 = phi i32 [i32 0, bb34], [%i320, bb40]
  call void @f6(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i7, i32 268435472, i32 268435472, i32 268435488, %i265) convergent "no-builtins"=""
  %i271 = call i16 @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i7, i32 268435472, i32 268435472, %i265) convergent "no-builtins"=""
  %i272 = zext %i271 to i32
  %i273 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i272, i32 64)
  %i274 = mul i32 %i269, %a3
  %i275 = add i32 %i274, %a2
  %i276 = shl i32 %i275, i32 6
  %i277 = zext %i276 to i64
  %i278 = getelementptr inbounds i32, %a0, %i277
  %i279 = icmp eq %i273, i32 0
  br %i279, bb40, bb37
bb36:
  %i281 = shl i32 %i269, i32 5
  br bb38
bb37:
  %i283 = phi i32 [%i291, bb37], [i32 0, bb35]
  %i284 = trunc %i283 to i16
  %i285 = call ptr addrspace(0) @f11(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i7, %i284, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i286 = bitcast %i285 to ptr addrspace(0)
  %i287 = load i32, %i286, align 4
  %i288 = zext %i283 to i64
  %i289 = getelementptr inbounds i32, %i278, %i288
  store %i287, %i289, align 4
  %i291 = add nuw i32 %i283, i32 1
  %i292 = icmp eq %i291, %i273
  br %i292, bb36, bb37, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb38:
  %i294 = phi i32 [i32 0, bb36], [%i295, bb38]
  %i295 = add nuw i32 %i294, i32 1
  %i296 = add i32 %i295, %i281
  %i297 = call reassoc nnan ninf nsz arcp contract afn float @f7 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%i296)
  %i298 = trunc %i294 to i16
  %i299 = call ptr addrspace(0) @f11(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i7, %i298, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i300 = bitcast %i299 to ptr addrspace(0)
  store %i297, %i300, align 4
  %i302 = icmp eq %i295, %i273
  br %i302, bb39, bb38, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb39:
  %i304 = phi i32 [%i312, bb39], [i32 0, bb38]
  %i305 = phi i32 [%i311, bb39], [i32 0, bb38]
  %i306 = trunc %i304 to i16
  %i307 = call ptr addrspace(0) @f11(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i7, %i306, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i308 = bitcast %i307 to ptr addrspace(0)
  %i309 = load float, %i308, align 4
  %i310 = call i32 @f8 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 1 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 1 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i309)
  %i311 = add i32 %i310, %i305
  %i312 = add nuw i32 %i304, i32 1
  %i313 = icmp eq %i312, %i273
  br %i313, bb40, bb39, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb40:
  %i315 = phi i32 [i32 0, bb35], [%i311, bb39]
  %i316 = add i32 %i275, %i267
  %i317 = zext %i316 to i64
  %i318 = getelementptr inbounds i32, %a0, %i317
  store %i315, %i318, align 4
  %i320 = add nuw i32 %i269, i32 1
  %i321 = icmp eq %i320, %i261
  br %i321, bb65, bb35, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb41:
  %i323 = load i32, %a1, align 4
  %i324 = icmp eq %i323, i32 0
  br %i324, bb65, bb42
bb42:
  %i326 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i327 = shl i32 %a3, i32 6
  %i328 = mul i32 %i327, %i323
  br bb43
bb43:
  %i330 = phi i32 [i32 0, bb42], [%i382, bb48]
  call void @f6(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i5, i32 268435472, i32 268435472, i32 268435488, %i326) convergent "no-builtins"=""
  %i332 = call i16 @f10(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i5, i32 268435472, i32 268435472, %i326) convergent "no-builtins"=""
  %i333 = zext %i332 to i32
  %i334 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i333, i32 64)
  %i335 = mul i32 %i330, %a3
  %i336 = add i32 %i335, %a2
  %i337 = shl i32 %i336, i32 6
  %i338 = zext %i337 to i64
  %i339 = getelementptr inbounds i32, %a0, %i338
  %i340 = icmp eq %i334, i32 0
  br %i340, bb48, bb45
bb44:
  %i342 = shl i32 %i330, i32 5
  br bb46
bb45:
  %i344 = phi i32 [%i353, bb45], [i32 0, bb43]
  %i345 = trunc %i344 to i16
  %i346 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i5, %i345, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i347 = bitcast %i346 to ptr addrspace(0)
  %i348 = load i16, %i347, align 2
  %i349 = zext %i348 to i32
  %i350 = zext %i344 to i64
  %i351 = getelementptr inbounds i32, %i339, %i350
  store %i349, %i351, align 4
  %i353 = add nuw i32 %i344, i32 1
  %i354 = icmp eq %i353, %i334
  br %i354, bb44, bb45, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb46:
  %i356 = phi i32 [i32 0, bb44], [%i357, bb46]
  %i357 = add nuw i32 %i356, i32 1
  %i358 = add i32 %i357, %i342
  %i359 = call reassoc nnan ninf nsz arcp contract afn half @f22 [air Convert(Convert { dst: NumTy { elem: F16, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%i358)
  %i360 = trunc %i356 to i16
  %i361 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i5, %i360, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i362 = bitcast %i361 to ptr addrspace(0)
  store %i359, %i362, align 2
  %i364 = icmp eq %i357, %i334
  br %i364, bb47, bb46, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb47:
  %i366 = phi i32 [%i374, bb47], [i32 0, bb46]
  %i367 = phi i32 [%i373, bb47], [i32 0, bb46]
  %i368 = trunc %i366 to i16
  %i369 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i5, %i368, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"=""
  %i370 = bitcast %i369 to ptr addrspace(0)
  %i371 = load half, %i370, align 2
  %i372 = call i32 @f23 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 1 }, dst_kind: Unsigned, src: NumTy { elem: F16, lanes: 1 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i371)
  %i373 = add i32 %i372, %i367
  %i374 = add nuw i32 %i366, i32 1
  %i375 = icmp eq %i374, %i334
  br %i375, bb48, bb47, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb48:
  %i377 = phi i32 [i32 0, bb43], [%i373, bb47]
  %i378 = add i32 %i336, %i328
  %i379 = zext %i378 to i64
  %i380 = getelementptr inbounds i32, %a0, %i379
  store %i377, %i380, align 4
  %i382 = add nuw i32 %i330, i32 1
  %i383 = icmp eq %i382, %i323
  br %i383, bb65, bb43, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb49:
  %i385 = load i32, %a1, align 4
  %i386 = icmp eq %i385, i32 0
  br %i386, bb65, bb50
bb50:
  %i388 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i389 = shl i32 %a3, i32 6
  %i390 = mul i32 %i389, %i385
  br bb51
bb51:
  %i392 = phi i32 [i32 0, bb50], [%i443, bb56]
  call void @f6(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i3, i32 268435488, i32 268435488, i32 268435488, %i388) convergent "no-builtins"=""
  %i394 = call i16 @f10(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i3, i32 268435488, i32 268435488, %i388) convergent "no-builtins"=""
  %i395 = zext %i394 to i32
  %i396 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i395, i32 64)
  %i397 = mul i32 %i392, %a3
  %i398 = add i32 %i397, %a2
  %i399 = shl i32 %i398, i32 6
  %i400 = zext %i399 to i64
  %i401 = getelementptr inbounds i32, %a0, %i400
  %i402 = icmp eq %i396, i32 0
  br %i402, bb56, bb53
bb52:
  %i404 = shl i32 %i392, i32 5
  br bb54
bb53:
  %i406 = phi i32 [%i414, bb53], [i32 0, bb51]
  %i407 = trunc %i406 to i16
  %i408 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i3, %i407, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"=""
  %i409 = bitcast %i408 to ptr addrspace(0)
  %i410 = load i32, %i409, align 4
  %i411 = zext %i406 to i64
  %i412 = getelementptr inbounds i32, %i401, %i411
  store %i410, %i412, align 4
  %i414 = add nuw i32 %i406, i32 1
  %i415 = icmp eq %i414, %i396
  br %i415, bb52, bb53, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb54:
  %i417 = phi i32 [i32 0, bb52], [%i418, bb54]
  %i418 = add nuw i32 %i417, i32 1
  %i419 = add i32 %i418, %i404
  %i420 = call reassoc nnan ninf nsz arcp contract afn float @f7 [air Convert(Convert { dst: NumTy { elem: F32, lanes: 1 }, dst_kind: Float, src: NumTy { elem: I32, lanes: 1 }, src_kind: Unsigned, src_fp8: None, rounding: None, saturate: false })](%i419)
  %i421 = trunc %i417 to i16
  %i422 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i3, %i421, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"=""
  %i423 = bitcast %i422 to ptr addrspace(0)
  store %i420, %i423, align 4
  %i425 = icmp eq %i418, %i396
  br %i425, bb55, bb54, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb55:
  %i427 = phi i32 [%i435, bb55], [i32 0, bb54]
  %i428 = phi i32 [%i434, bb55], [i32 0, bb54]
  %i429 = trunc %i427 to i16
  %i430 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i3, %i429, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"=""
  %i431 = bitcast %i430 to ptr addrspace(0)
  %i432 = load float, %i431, align 4
  %i433 = call i32 @f8 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 1 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 1 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i432)
  %i434 = add i32 %i433, %i428
  %i435 = add nuw i32 %i427, i32 1
  %i436 = icmp eq %i435, %i396
  br %i436, bb56, bb55, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb56:
  %i438 = phi i32 [i32 0, bb51], [%i434, bb55]
  %i439 = add i32 %i398, %i390
  %i440 = zext %i439 to i64
  %i441 = getelementptr inbounds i32, %a0, %i440
  store %i438, %i441, align 4
  %i443 = add nuw i32 %i392, i32 1
  %i444 = icmp eq %i443, %i385
  br %i444, bb65, bb51, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb57:
  %i446 = load i32, %a1, align 4
  %i447 = icmp eq %i446, i32 0
  br %i447, bb65, bb58
bb58:
  %i449 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i450 = shl i32 %a3, i32 6
  %i451 = mul i32 %i450, %i446
  br bb59
bb59:
  %i453 = phi i32 [i32 0, bb58], [%i503, bb64]
  call void @f6(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i1, i32 536870920, i32 536870920, i32 536870944, %i449) convergent "no-builtins"=""
  %i455 = call i16 @f10(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i1, i32 536870920, i32 536870920, %i449) convergent "no-builtins"=""
  %i456 = zext %i455 to i32
  %i457 = call i32 @f9 [air Math(Math { f: IMin(Unsigned), precision: Precise, ty: NumTy { elem: I32, lanes: 1 } })](%i456, i32 64)
  %i458 = mul i32 %i453, %a3
  %i459 = add i32 %i458, %a2
  %i460 = shl i32 %i459, i32 6
  %i461 = zext %i460 to i64
  %i462 = getelementptr inbounds i32, %a0, %i461
  %i463 = icmp eq %i457, i32 0
  br %i463, bb64, bb61
bb60:
  %i465 = shl i32 %i453, i32 5
  br bb62
bb61:
  %i467 = phi i32 [%i475, bb61], [i32 0, bb59]
  %i468 = trunc %i467 to i16
  %i469 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i1, %i468, i32 536870920, i32 536870920, i32 536870944) convergent "no-builtins"=""
  %i470 = load i8, %i469, align 1
  %i471 = zext %i470 to i32
  %i472 = zext %i467 to i64
  %i473 = getelementptr inbounds i32, %i462, %i472
  store %i471, %i473, align 4
  %i475 = add nuw i32 %i467, i32 1
  %i476 = icmp eq %i475, %i457
  br %i476, bb60, bb61, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb62:
  %i478 = phi i32 [i32 0, bb60], [%i485, bb62]
  %i479 = add i32 %i478, %i465
  %i480 = trunc %i479 to i8
  %i481 = add i8 %i480, i8 1
  %i482 = trunc %i478 to i16
  %i483 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i1, %i482, i32 536870920, i32 536870920, i32 536870944) convergent "no-builtins"=""
  store %i481, %i483, align 1
  %i485 = add nuw i32 %i478, i32 1
  %i486 = icmp eq %i485, %i457
  br %i486, bb63, bb62, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb63:
  %i488 = phi i32 [%i495, bb63], [i32 0, bb62]
  %i489 = phi i32 [%i494, bb63], [i32 0, bb62]
  %i490 = trunc %i488 to i16
  %i491 = call ptr addrspace(0) @f11(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i1, %i490, i32 536870920, i32 536870920, i32 536870944) convergent "no-builtins"=""
  %i492 = load i8, %i491, align 1
  %i493 = sext %i492 to i32
  %i494 = add i32 %i489, %i493
  %i495 = add nuw i32 %i488, i32 1
  %i496 = icmp eq %i495, %i457
  br %i496, bb64, bb63, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb64:
  %i498 = phi i32 [i32 0, bb59], [%i494, bb63]
  %i499 = add i32 %i459, %i451
  %i500 = zext %i499 to i64
  %i501 = getelementptr inbounds i32, %a0, %i500
  store %i498, %i501, align 4
  %i503 = add nuw i32 %i453, i32 1
  %i504 = icmp eq %i503, %i446
  br %i504, bb65, bb59, !llvm.loop LoopHints { unroll: Default, must_progress: true }
bb65:
  ret void
}

declare %t9 @f1 "air.is_function_constant_defined" memory(NoModRef, NoModRef, NoModRef) %a0( nocapture )

define linkonce_odr %t11 @f2 "_ZN5metal18cooperative_tensorIfNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE2ENS_20execution_simdgroupsILm1EEEDhDhfiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f3() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f3 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE2EN5metal20execution_simdgroupsILm1EEEDhDhfiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = tail call i64 @f4(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, i32 268435472, i32 268435472, i32 268435488, %i0) convergent "no-builtins"=""
  ret %i1
}

declare %t13 @f4 "__tensorops_impl_matmul2d_op_cooperative_tensor_data_size" convergent "approx-func-fp-math"="true" "frame-pointer"="all" "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", section "air.externally_defined"

declare %t14 @f5 "air.get_simdgroup_size.i32" memory(NoModRef, NoModRef, NoModRef)

declare %t15 @f6 "__tensorops_impl_matmul2d_op_cooperative_tensor_init" convergent "approx-func-fp-math"="true" "frame-pointer"="all" "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", section "air.externally_defined"

declare %t17 @f7 "air.convert.f.f32.u.i32" memory(NoModRef, NoModRef, NoModRef)

declare %t18 @f8 "air.convert.u.i32.f.f32" memory(NoModRef, NoModRef, NoModRef)

declare %t19 @f9 "air.min.u.i32" memory(NoModRef, NoModRef, NoModRef)

declare %t21 @f10 "__tensorops_impl_matmul2d_op_cooperative_tensor_num_elements" convergent "approx-func-fp-math"="true" "frame-pointer"="all" "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", section "air.externally_defined"

declare %t22 @f11 "__tensorops_impl_matmul2d_op_cooperative_tensor_get_element_pointer" convergent "approx-func-fp-math"="true" "frame-pointer"="all" "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", section "air.externally_defined"

define linkonce_odr %t11 @f12 "_ZN5metal18cooperative_tensorIfNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE2ENS_20execution_simdgroupsILm1EEEfffiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f13() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f13 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE2EN5metal20execution_simdgroupsILm1EEEfffiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = tail call i64 @f4(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, i32 268435488, i32 268435488, i32 268435488, %i0) convergent "no-builtins"=""
  ret %i1
}

define linkonce_odr %t11 @f14 "_ZN5metal18cooperative_tensorIiNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE2ENS_20execution_simdgroupsILm1EEEaaiiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f15() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f15 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE2EN5metal20execution_simdgroupsILm1EEEaaiiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = tail call i64 @f4(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, i32 536870920, i32 536870920, i32 536870944, %i0) convergent "no-builtins"=""
  ret %i1
}

define linkonce_odr %t11 @f16 "_ZN5metal18cooperative_tensorIfNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi16ELi64ELi16ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE2ENS_20execution_simdgroupsILm2EEEDhDhfiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f17() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f17 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi16ELi64ELi16ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE2EN5metal20execution_simdgroupsILm2EEEDhDhfiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = shl i32 %i0, i32 1
  %i2 = tail call i64 @f4(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, i32 268435472, i32 268435472, i32 268435488, %i1) convergent "no-builtins"=""
  ret %i2
}

define linkonce_odr %t11 @f18 "_ZN5metal18cooperative_tensorIfNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi64ELi64ELi32ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE2ENS_20execution_simdgroupsILm4EEEDhDhfiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f19() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f19 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi64ELi64ELi32ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE2EN5metal20execution_simdgroupsILm4EEEDhDhfiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = shl i32 %i0, i32 2
  %i2 = tail call i64 @f4(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, i32 268435472, i32 268435472, i32 268435488, %i1) convergent "no-builtins"=""
  ret %i2
}

define linkonce_odr %t11 @f20 "_ZN5metal18cooperative_tensorIDhNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE1ENS_20execution_simdgroupsILm1EEEDhDhfiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f21() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f21 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE1EN5metal20execution_simdgroupsILm1EEEDhDhfiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = tail call i64 @f4(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, i32 268435472, i32 268435472, i32 268435488, %i0) convergent "no-builtins"=""
  ret %i1
}

declare %t24 @f22 "air.convert.f.f16.u.i32" memory(NoModRef, NoModRef, NoModRef)

declare %t25 @f23 "air.convert.u.i32.f.f16" memory(NoModRef, NoModRef, NoModRef)

define linkonce_odr %t11 @f24 "_ZN5metal18cooperative_tensorIfNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE1ENS_20execution_simdgroupsILm1EEEfffiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f25() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f25 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE1EN5metal20execution_simdgroupsILm1EEEfffiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = tail call i64 @f4(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, i32 268435488, i32 268435488, i32 268435488, %i0) convergent "no-builtins"=""
  ret %i1
}

define linkonce_odr %t11 @f26 "_ZN5metal18cooperative_tensorIaNS_7extentsIiJLm18446744073709551615ELm18446744073709551615EEEEN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS4_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS7_4modeE1EEELNS5_36__matmul2d_cooperative_operand_indexE1ENS_20execution_simdgroupsILm1EEEaaiiJEEEEE.MTL_SIZEAS" memory(NoModRef, NoModRef, NoModRef) "deferred-static-alloca-size"="" {
bb0:
  %i0 = tail call i64 @f27() convergent "no-builtins"=""
  ret %i0
}

define linkonce_odr %t11 @f27 "_ZN3mpp10tensor_ops17__mutmul2d_detail16__operand_layoutIXtlNS0_19matmul2d_descriptorELi16ELi16ELi32ELb0ELb0ELb0ELNS3_4modeE1EEELNS1_36__matmul2d_cooperative_operand_indexE1EN5metal20execution_simdgroupsILm1EEEaaiiJEE19thread_storage_sizeEv" convergent "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", align 2 {
bb0:
  %i0 = tail call i32 @f5 [air SimdgroupSize(SimdgroupSize { ty: I32 })]()
  %i1 = tail call i64 @f4(i32 1, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, i32 536870920, i32 536870920, i32 536870944, %i0) convergent "no-builtins"=""
  ret %i1
}

define internal %t26 @f28 "_GLOBAL__sub_I__" "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", section air.static_init {
bb0:
  %i0 = load i32, ptr addrspace(2) @g0, align 4
  %i1 = tail call i1 @f1 [air FunctionConstant(IsDefined)](ptr addrspace(2) @g0) arg0( nocapture )
  %i2 = select i32 %i1, %i0, i32 0
  store %i2, ptr addrspace(2) @g1, align 4
  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_write"
!md12 = !"air.address_space"
!md13 = !"air.arg_type_size"
!md14 = !"air.arg_type_align_size"
!md15 = !"air.arg_type_name"
!md16 = !"uint"
!md17 = !"air.arg_name"
!md18 = !"out"
!md19 = !"air.buffer_size"
!md20 = !"air.read"
!md21 = !"rounds"
!md22 = !"air.thread_index_in_threadgroup"
!md23 = !"tid"
!md24 = !"air.threads_per_threadgroup"
!md25 = !"threads"
!md26 = !"air.compile.denorms_disable"
!md27 = !"air.compile.fast_math_enable"
!md28 = !"air.compile.framebuffer_fetch_enable"
!md29 = !"selected"
!md30 = !"Apple metal version 32023.921 (metalfe-32023.921.6)"
!md31 = !"Metal"
!md32 = !"int"
!md33 = !"omnipotent char"
!md34 = !"Simple C++ TBAA"
!md35 = i32 2
!md36 = %t28 c40
!md37 = i32 1
!md38 = i32 4
!md39 = i32 7
!md40 = i32 31
!md41 = i32 128
!md42 = i32 8
!md43 = i32 16
!md44 = ptr addrspace(0) @f0
!md45 = i32 0
!md46 = i32 3
!md47 = ptr addrspace(2) @g0
!md48 = i64 0
!md49 = !{!md35, !md0, !md36}
!md50 = !{!md37, !md1, !md38}
!md51 = !{!md39, !md2, !md35}
!md52 = !{!md39, !md3, !md40}
!md53 = !{!md39, !md4, !md40}
!md54 = !{!md39, !md5, !md40}
!md55 = !{!md39, !md6, !md41}
!md56 = !{!md39, !md7, !md42}
!md57 = !{!md39, !md8, !md43}
!md58 = !{}
!md59 = !{!md45, !md9, !md10, !md45, !md37, !md11, !md12, !md37, !md13, !md38, !md14, !md38, !md15, !md16, !md17, !md18}
!md60 = !{!md37, !md9, !md19, !md38, !md10, !md37, !md37, !md20, !md12, !md35, !md13, !md38, !md14, !md38, !md15, !md16, !md17, !md21}
!md61 = !{!md35, !md22, !md15, !md16, !md17, !md23}
!md62 = !{!md46, !md24, !md15, !md16, !md17, !md25}
!md63 = !{!md59, !md60, !md61, !md62}
!md64 = !{!md44, !md58, !md63}
!md65 = !{!md26}
!md66 = !{!md27}
!md67 = !{!md28}
!md68 = !{!md47, !md16, !md29, !md45}
!md69 = !{!md30}
!md70 = !{!md35, !md42, !md45}
!md71 = !{!md31, !md38, !md45, !md45}
!md72 = !{!md34}
!md73 = !{!md33, !md72, !md48}
!md74 = !{!md32, !md73, !md48}
!md75 = !{!md74, !md74, !md48}
!"llvm.module.flags" = !{!md49, !md50, !md51, !md52, !md53, !md54, !md55, !md56, !md57}
!"air.kernel" = !{!md64}
!"air.compile_options" = !{!md65, !md66, !md67}
!"air.function_constants" = !{!md68}
!"llvm.ident" = !{!md69}
!"air.version" = !{!md70}
!"air.language_version" = !{!md71}
