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 void (ptr addrspace(2), ptr addrspace(1), i32)
%t7 = type [2 x i32]
%t11 = type [4 x <4 x float>]
%t12 = type { %t11 } ; "struct.metal::matrix"
%t14 = type [3 x <3 x float>]
%t15 = type { %t14 } ; "struct.metal::matrix.0"
%t17 = type [12 x i8]
%t18 = type <{ <4 x float>, %t12, %t15, float, float, float, float, float, %t17 }> ; "struct.Params"
c3 = %t7 [27, 2]
c25 = <4 x i32> [0, 1, 2, poison]

define %t5 @f0 "read_through_constant" memory(Mod, NoModRef, NoModRef) "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( Ref nocapture "air-buffer-no-alias"="" ) %a1( Mod nocapture "air-buffer-no-alias"="" ) {
bb0:
  %i0 = getelementptr inbounds %t18, %a0, i64 0, i32 0
  %i1 = load <4 x float>, %i0, align 16
  %i2 = and i32 %a2, i32 3
  %i3 = zext %i2 to i64
  %i4 = getelementptr inbounds %t18, %a0, i64 0, i32 1, i32 0, %i3
  %i5 = load <4 x float>, %i4, align 16
  %i6 = getelementptr inbounds %t18, %a0, i64 0, i32 3
  %i7 = load float, %i6, align 16
  %i8 = insertelement <4 x float> poison, %i7, i64 0
  %i9 = shufflevector <4 x float> %i8, <4 x float> poison, <0, 0, 0, 0>
  %i10 = fmul reassoc nnan ninf nsz arcp contract afn <4 x float> %i9, %i5
  %i11 = fadd reassoc nnan ninf nsz arcp contract afn <4 x float> %i10, %i1
  %i12 = urem i32 %a2, i32 3
  %i13 = zext %i12 to i64
  %i14 = getelementptr inbounds %t18, %a0, i64 0, i32 2, i32 0, %i13
  %i15 = load <3 x float>, %i14, align 16
  %i16 = shufflevector <4 x float> %i15, <3 x float> poison, <0, 1, 2, poison>
  %i17 = getelementptr inbounds %t18, %a0, i64 0, i32 7
  %i18 = load float, %i17, align 16
  %i19 = insertelement %i16, %i18, i64 3
  %i20 = fadd reassoc nnan ninf nsz arcp contract afn <4 x float> %i11, %i19
  %i21 = zext %a2 to i64
  %i22 = getelementptr inbounds <4 x float>, %a1, %i21
  store %i20, %i22, align 16
  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 = !"char"
!md17 = !"air.arg_name"
!md18 = !"p"
!md19 = !"air.read_write"
!md20 = !"float4"
!md21 = !"out"
!md22 = !"air.thread_position_in_grid"
!md23 = !"uint"
!md24 = !"i"
!md25 = !"air.compile.denorms_disable"
!md26 = !"air.compile.fast_math_enable"
!md27 = !"air.compile.framebuffer_fetch_enable"
!md28 = !"Apple metal version 32023.922 (metalfe-32023.922.4)"
!md29 = !"Metal"
!md30 = i32 2
!md31 = %t7 c3
!md32 = i32 1
!md33 = i32 4
!md34 = i32 7
!md35 = i32 31
!md36 = i32 128
!md37 = i32 8
!md38 = i32 16
!md39 = ptr addrspace(0) @f0
!md40 = i32 0
!md41 = !{!md30, !md0, !md31}
!md42 = !{!md32, !md1, !md33}
!md43 = !{!md34, !md2, !md30}
!md44 = !{!md34, !md3, !md35}
!md45 = !{!md34, !md4, !md35}
!md46 = !{!md34, !md5, !md35}
!md47 = !{!md34, !md6, !md36}
!md48 = !{!md34, !md7, !md37}
!md49 = !{!md34, !md8, !md38}
!md50 = !{}
!md51 = !{!md40, !md9, !md10, !md40, !md32, !md11, !md12, !md32, !md13, !md32, !md14, !md32, !md15, !md16, !md17, !md18}
!md52 = !{!md32, !md9, !md10, !md32, !md32, !md19, !md12, !md32, !md13, !md38, !md14, !md38, !md15, !md20, !md17, !md21}
!md53 = !{!md30, !md22, !md15, !md23, !md17, !md24}
!md54 = !{!md51, !md52, !md53}
!md55 = !{!md39, !md50, !md54}
!md56 = !{!md25}
!md57 = !{!md26}
!md58 = !{!md27}
!md59 = !{!md28}
!md60 = !{!md30, !md37, !md40}
!md61 = !{!md29, !md33, !md40, !md40}
!"llvm.module.flags" = !{!md41, !md42, !md43, !md44, !md45, !md46, !md47, !md48, !md49}
!"air.kernel" = !{!md55}
!"air.compile_options" = !{!md56, !md57, !md58}
!"llvm.ident" = !{!md59}
!"air.version" = !{!md60}
!"air.language_version" = !{!md61}
