; LLVM IR from ggml-org/ggml :: src/ggml-cpu (ggml-cpu-quants)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.block_q5_K = type { %union.anon.8, [12 x i8], [32 x i8], [128 x i8] }
%union.anon.8 = type { i32 }
%struct.block_q8_K = type { float, [256 x i8], [16 x i16] }
%struct.anon.9 = type { i16, i16 }

@.str.1 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.ggml_vec_dot_q5_K_q8_K = external hidden unnamed_addr constant [123 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: nounwind uwtable
define dso_local void @ggml_vec_dot_q5_K_q8_K(i32 noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, ptr noalias noundef %5, i64 noundef %6, i32 noundef %7) #6 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca [4 x i32], align 16
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca [256 x i8], align 16
  %24 = alloca [8 x i16], align 16
  %25 = alloca [8 x float], align 16
  %26 = alloca [8 x i32], align 16
  %27 = alloca float, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i8, align 1
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca float, align 4
  %55 = alloca i32, align 4
  %56 = alloca float, align 4
  %57 = alloca i32, align 4
  store i32 %0, ptr %9, align 4, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !9
  store i64 %2, ptr %11, align 8, !tbaa !11
  store ptr %3, ptr %12, align 8, !tbaa !9
  store i64 %4, ptr %13, align 8, !tbaa !11
  store ptr %5, ptr %14, align 8, !tbaa !9
  store i64 %6, ptr %15, align 8, !tbaa !11
  store i32 %7, ptr %16, align 4, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !5
  %59 = srem i32 %58, 256
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %8
  br label %63

62:                                               ; preds = %8
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 7595, ptr noundef @__PRETTY_FUNCTION__.ggml_vec_dot_q5_K_q8_K) #7
  unreachable

63:                                               ; preds = %61
  %64 = load i32, ptr %16, align 4, !tbaa !5
  %65 = icmp eq i32 %64, 1
  br i1 %65, label %66, label %67

66:                                               ; preds = %63
  br label %68

67:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 7596, ptr noundef @__PRETTY_FUNCTION__.ggml_vec_dot_q5_K_q8_K) #7
  unreachable

68:                                               ; preds = %66
  %69 = load i32, ptr %16, align 4, !tbaa !5
  %70 = load i64, ptr %13, align 8, !tbaa !11
  %71 = load i64, ptr %15, align 8, !tbaa !11
  %72 = load i64, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %73 = load ptr, ptr %12, align 8, !tbaa !9
  store ptr %73, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %74 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %74, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %75 = load i32, ptr %9, align 4, !tbaa !5
  %76 = sdiv i32 %75, 256
  store i32 %76, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %77 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 0
  store ptr %77, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %78 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 2
  store ptr %78, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  %79 = getelementptr inbounds [8 x float], ptr %25, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %79, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store float 0.000000e+00, ptr %27, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %571, %68
  %81 = load i32, ptr %28, align 4, !tbaa !5
  %82 = load i32, ptr %19, align 4, !tbaa !5
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  store i32 2, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %574

85:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %86 = load ptr, ptr %17, align 8, !tbaa !9
  %87 = load i32, ptr %28, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds %struct.block_q5_K, ptr %86, i64 %88
  %90 = getelementptr inbounds %struct.block_q5_K, ptr %89, i32 0, i32 3
  %91 = getelementptr inbounds [128 x i8], ptr %90, i64 0, i64 0
  store ptr %91, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %92 = load ptr, ptr %17, align 8, !tbaa !9
  %93 = load i32, ptr %28, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds %struct.block_q5_K, ptr %92, i64 %94
  %96 = getelementptr inbounds %struct.block_q5_K, ptr %95, i32 0, i32 2
  %97 = getelementptr inbounds [32 x i8], ptr %96, i64 0, i64 0
  store ptr %97, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %98 = load ptr, ptr %18, align 8, !tbaa !9
  %99 = load i32, ptr %28, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %struct.block_q8_K, ptr %98, i64 %100
  %102 = getelementptr inbounds %struct.block_q8_K, ptr %101, i32 0, i32 1
  %103 = getelementptr inbounds [256 x i8], ptr %102, i64 0, i64 0
  store ptr %103, ptr %32, align 8, !tbaa !9
  %104 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %104, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %105 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0
  store ptr %105, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  store i8 1, ptr %34, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 0, ptr %35, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %225, %85
  %107 = load i32, ptr %35, align 4, !tbaa !5
  %108 = icmp slt i32 %107, 4
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  store i32 5, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %228

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %128, %110
  %112 = load i32, ptr %36, align 4, !tbaa !5
  %113 = icmp slt i32 %112, 32
  br i1 %113, label %115, label %114

114:                                              ; preds = %111
  store i32 8, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %131

115:                                              ; preds = %111
  %116 = load ptr, ptr %30, align 8, !tbaa !9
  %117 = load i32, ptr %36, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds i8, ptr %116, i64 %118
  %120 = load i8, ptr %119, align 1, !tbaa !15
  %121 = zext i8 %120 to i32
  %122 = and i32 %121, 15
  %123 = trunc i32 %122 to i8
  %124 = load ptr, ptr %33, align 8, !tbaa !9
  %125 = load i32, ptr %36, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds i8, ptr %124, i64 %126
  store i8 %123, ptr %127, align 1, !tbaa !15
  br label %128

128:                                              ; preds = %115
  %129 = load i32, ptr %36, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %36, align 4, !tbaa !5
  br label %111, !llvm.loop !16

131:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 0, ptr %37, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %157, %131
  %133 = load i32, ptr %37, align 4, !tbaa !5
  %134 = icmp slt i32 %133, 32
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  store i32 11, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %160

136:                                              ; preds = %132
  %137 = load ptr, ptr %31, align 8, !tbaa !9
  %138 = load i32, ptr %37, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds i8, ptr %137, i64 %139
  %141 = load i8, ptr %140, align 1, !tbaa !15
  %142 = zext i8 %141 to i32
  %143 = load i8, ptr %34, align 1, !tbaa !15
  %144 = zext i8 %143 to i32
  %145 = and i32 %142, %144
  %146 = icmp ne i32 %145, 0
  %147 = zext i1 %146 to i64
  %148 = select i1 %146, i32 16, i32 0
  %149 = load ptr, ptr %33, align 8, !tbaa !9
  %150 = load i32, ptr %37, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i8, ptr %149, i64 %151
  %153 = load i8, ptr %152, align 1, !tbaa !15
  %154 = sext i8 %153 to i32
  %155 = add nsw i32 %154, %148
  %156 = trunc i32 %155 to i8
  store i8 %156, ptr %152, align 1, !tbaa !15
  br label %157

157:                                              ; preds = %136
  %158 = load i32, ptr %37, align 4, !tbaa !5
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %37, align 4, !tbaa !5
  br label %132, !llvm.loop !18

160:                                              ; preds = %135
  %161 = load ptr, ptr %33, align 8, !tbaa !9
  %162 = getelementptr inbounds i8, ptr %161, i64 32
  store ptr %162, ptr %33, align 8, !tbaa !9
  %163 = load i8, ptr %34, align 1, !tbaa !15
  %164 = zext i8 %163 to i32
  %165 = shl i32 %164, 1
  %166 = trunc i32 %165 to i8
  store i8 %166, ptr %34, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %167

167:                                              ; preds = %184, %160
  %168 = load i32, ptr %38, align 4, !tbaa !5
  %169 = icmp slt i32 %168, 32
  br i1 %169, label %171, label %170

170:                                              ; preds = %167
  store i32 14, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  br label %187

171:                                              ; preds = %167
  %172 = load ptr, ptr %30, align 8, !tbaa !9
  %173 = load i32, ptr %38, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds i8, ptr %172, i64 %174
  %176 = load i8, ptr %175, align 1, !tbaa !15
  %177 = zext i8 %176 to i32
  %178 = ashr i32 %177, 4
  %179 = trunc i32 %178 to i8
  %180 = load ptr, ptr %33, align 8, !tbaa !9
  %181 = load i32, ptr %38, align 4, !tbaa !5
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds i8, ptr %180, i64 %182
  store i8 %179, ptr %183, align 1, !tbaa !15
  br label %184

184:                                              ; preds = %171
  %185 = load i32, ptr %38, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %38, align 4, !tbaa !5
  br label %167, !llvm.loop !19

187:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %188

188:                                              ; preds = %213, %187
  %189 = load i32, ptr %39, align 4, !tbaa !5
  %190 = icmp slt i32 %189, 32
  br i1 %190, label %192, label %191

191:                                              ; preds = %188
  store i32 17, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %216

192:                                              ; preds = %188
  %193 = load ptr, ptr %31, align 8, !tbaa !9
  %194 = load i32, ptr %39, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds i8, ptr %193, i64 %195
  %197 = load i8, ptr %196, align 1, !tbaa !15
  %198 = zext i8 %197 to i32
  %199 = load i8, ptr %34, align 1, !tbaa !15
  %200 = zext i8 %199 to i32
  %201 = and i32 %198, %200
  %202 = icmp ne i32 %201, 0
  %203 = zext i1 %202 to i64
  %204 = select i1 %202, i32 16, i32 0
  %205 = load ptr, ptr %33, align 8, !tbaa !9
  %206 = load i32, ptr %39, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds i8, ptr %205, i64 %207
  %209 = load i8, ptr %208, align 1, !tbaa !15
  %210 = sext i8 %209 to i32
  %211 = add nsw i32 %210, %204
  %212 = trunc i32 %211 to i8
  store i8 %212, ptr %208, align 1, !tbaa !15
  br label %213

213:                                              ; preds = %192
  %214 = load i32, ptr %39, align 4, !tbaa !5
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %39, align 4, !tbaa !5
  br label %188, !llvm.loop !20

216:                                              ; preds = %191
  %217 = load ptr, ptr %33, align 8, !tbaa !9
  %218 = getelementptr inbounds i8, ptr %217, i64 32
  store ptr %218, ptr %33, align 8, !tbaa !9
  %219 = load i8, ptr %34, align 1, !tbaa !15
  %220 = zext i8 %219 to i32
  %221 = shl i32 %220, 1
  %222 = trunc i32 %221 to i8
  store i8 %222, ptr %34, align 1, !tbaa !15
  %223 = load ptr, ptr %30, align 8, !tbaa !9
  %224 = getelementptr inbounds i8, ptr %223, i64 32
  store ptr %224, ptr %30, align 8, !tbaa !9
  br label %225

225:                                              ; preds = %216
  %226 = load i32, ptr %35, align 4, !tbaa !5
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %35, align 4, !tbaa !5
  br label %106, !llvm.loop !21

228:                                              ; preds = %109
  %229 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 0
  %230 = load ptr, ptr %17, align 8, !tbaa !9
  %231 = load i32, ptr %28, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds %struct.block_q5_K, ptr %230, i64 %232
  %234 = getelementptr inbounds %struct.block_q5_K, ptr %233, i32 0, i32 1
  %235 = getelementptr inbounds [12 x i8], ptr %234, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %229, ptr align 4 %235, i64 12, i1 false)
  %236 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 2
  %237 = load i32, ptr %236, align 8, !tbaa !5
  %238 = lshr i32 %237, 4
  %239 = and i32 %238, 252645135
  %240 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 1
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = lshr i32 %241, 6
  %243 = and i32 %242, 50529027
  %244 = shl i32 %243, 4
  %245 = or i32 %239, %244
  %246 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 3
  store i32 %245, ptr %246, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %247 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 1
  %248 = load i32, ptr %247, align 4, !tbaa !5
  %249 = and i32 %248, 1061109567
  store i32 %249, ptr %40, align 4, !tbaa !5
  %250 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 2
  %251 = load i32, ptr %250, align 8, !tbaa !5
  %252 = and i32 %251, 252645135
  %253 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 0
  %254 = load i32, ptr %253, align 16, !tbaa !5
  %255 = lshr i32 %254, 6
  %256 = and i32 %255, 50529027
  %257 = shl i32 %256, 4
  %258 = or i32 %252, %257
  %259 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 1
  store i32 %258, ptr %259, align 4, !tbaa !5
  %260 = load i32, ptr %40, align 4, !tbaa !5
  %261 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 2
  store i32 %260, ptr %261, align 8, !tbaa !5
  %262 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 0
  %263 = load i32, ptr %262, align 16, !tbaa !5
  %264 = and i32 %263, 1061109567
  store i32 %264, ptr %262, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 0, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %265

265:                                              ; preds = %290, %228
  %266 = load i32, ptr %42, align 4, !tbaa !5
  %267 = icmp slt i32 %266, 16
  br i1 %267, label %269, label %268

268:                                              ; preds = %265
  store i32 20, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %293

269:                                              ; preds = %265
  %270 = load ptr, ptr %18, align 8, !tbaa !9
  %271 = load i32, ptr %28, align 4, !tbaa !5
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds %struct.block_q8_K, ptr %270, i64 %272
  %274 = getelementptr inbounds %struct.block_q8_K, ptr %273, i32 0, i32 2
  %275 = load i32, ptr %42, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [16 x i16], ptr %274, i64 0, i64 %276
  %278 = load i16, ptr %277, align 2, !tbaa !22
  %279 = sext i16 %278 to i32
  %280 = load ptr, ptr %22, align 8, !tbaa !9
  %281 = load i32, ptr %42, align 4, !tbaa !5
  %282 = sdiv i32 %281, 2
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds i8, ptr %280, i64 %283
  %285 = load i8, ptr %284, align 1, !tbaa !15
  %286 = zext i8 %285 to i32
  %287 = mul nsw i32 %279, %286
  %288 = load i32, ptr %41, align 4, !tbaa !5
  %289 = add nsw i32 %288, %287
  store i32 %289, ptr %41, align 4, !tbaa !5
  br label %290

290:                                              ; preds = %269
  %291 = load i32, ptr %42, align 4, !tbaa !5
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %42, align 4, !tbaa !5
  br label %265, !llvm.loop !24

293:                                              ; preds = %268
  %294 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0
  store ptr %294, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  store i32 0, ptr %43, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  store i32 0, ptr %44, align 4, !tbaa !5
  br label %295

295:                                              ; preds = %511, %293
  %296 = load i32, ptr %44, align 4, !tbaa !5
  %297 = icmp slt i32 %296, 8
  br i1 %297, label %299, label %298

298:                                              ; preds = %295
  store i32 23, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %514

299:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %300 = load ptr, ptr %21, align 8, !tbaa !9
  %301 = load i32, ptr %43, align 4, !tbaa !5
  %302 = add nsw i32 %301, 1
  store i32 %302, ptr %43, align 4, !tbaa !5
  %303 = sext i32 %301 to i64
  %304 = getelementptr inbounds i8, ptr %300, i64 %303
  %305 = load i8, ptr %304, align 1, !tbaa !15
  %306 = zext i8 %305 to i32
  store i32 %306, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  store i32 0, ptr %46, align 4, !tbaa !5
  br label %307

307:                                              ; preds = %329, %299
  %308 = load i32, ptr %46, align 4, !tbaa !5
  %309 = icmp slt i32 %308, 8
  br i1 %309, label %311, label %310

310:                                              ; preds = %307
  store i32 26, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %332

311:                                              ; preds = %307
  %312 = load ptr, ptr %32, align 8, !tbaa !9
  %313 = load i32, ptr %46, align 4, !tbaa !5
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds i8, ptr %312, i64 %314
  %316 = load i8, ptr %315, align 1, !tbaa !15
  %317 = sext i8 %316 to i32
  %318 = load ptr, ptr %33, align 8, !tbaa !9
  %319 = load i32, ptr %46, align 4, !tbaa !5
  %320 = sext i32 %319 to i64
  %321 = getelementptr inbounds i8, ptr %318, i64 %320
  %322 = load i8, ptr %321, align 1, !tbaa !15
  %323 = sext i8 %322 to i32
  %324 = mul nsw i32 %317, %323
  %325 = trunc i32 %324 to i16
  %326 = load i32, ptr %46, align 4, !tbaa !5
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %327
  store i16 %325, ptr %328, align 2, !tbaa !22
  br label %329

329:                                              ; preds = %311
  %330 = load i32, ptr %46, align 4, !tbaa !5
  %331 = add nsw i32 %330, 1
  store i32 %331, ptr %46, align 4, !tbaa !5
  br label %307, !llvm.loop !25

332:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  store i32 0, ptr %47, align 4, !tbaa !5
  br label %333

333:                                              ; preds = %350, %332
  %334 = load i32, ptr %47, align 4, !tbaa !5
  %335 = icmp slt i32 %334, 8
  br i1 %335, label %337, label %336

336:                                              ; preds = %333
  store i32 29, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  br label %353

337:                                              ; preds = %333
  %338 = load i32, ptr %45, align 4, !tbaa !5
  %339 = load i32, ptr %47, align 4, !tbaa !5
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %340
  %342 = load i16, ptr %341, align 2, !tbaa !22
  %343 = sext i16 %342 to i32
  %344 = mul nsw i32 %338, %343
  %345 = load i32, ptr %47, align 4, !tbaa !5
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 %346
  %348 = load i32, ptr %347, align 4, !tbaa !5
  %349 = add nsw i32 %348, %344
  store i32 %349, ptr %347, align 4, !tbaa !5
  br label %350

350:                                              ; preds = %337
  %351 = load i32, ptr %47, align 4, !tbaa !5
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %47, align 4, !tbaa !5
  br label %333, !llvm.loop !26

353:                                              ; preds = %336
  %354 = load ptr, ptr %32, align 8, !tbaa !9
  %355 = getelementptr inbounds i8, ptr %354, i64 8
  store ptr %355, ptr %32, align 8, !tbaa !9
  %356 = load ptr, ptr %33, align 8, !tbaa !9
  %357 = getelementptr inbounds i8, ptr %356, i64 8
  store ptr %357, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  store i32 0, ptr %48, align 4, !tbaa !5
  br label %358

358:                                              ; preds = %380, %353
  %359 = load i32, ptr %48, align 4, !tbaa !5
  %360 = icmp slt i32 %359, 8
  br i1 %360, label %362, label %361

361:                                              ; preds = %358
  store i32 32, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %383

362:                                              ; preds = %358
  %363 = load ptr, ptr %32, align 8, !tbaa !9
  %364 = load i32, ptr %48, align 4, !tbaa !5
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds i8, ptr %363, i64 %365
  %367 = load i8, ptr %366, align 1, !tbaa !15
  %368 = sext i8 %367 to i32
  %369 = load ptr, ptr %33, align 8, !tbaa !9
  %370 = load i32, ptr %48, align 4, !tbaa !5
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds i8, ptr %369, i64 %371
  %373 = load i8, ptr %372, align 1, !tbaa !15
  %374 = sext i8 %373 to i32
  %375 = mul nsw i32 %368, %374
  %376 = trunc i32 %375 to i16
  %377 = load i32, ptr %48, align 4, !tbaa !5
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %378
  store i16 %376, ptr %379, align 2, !tbaa !22
  br label %380

380:                                              ; preds = %362
  %381 = load i32, ptr %48, align 4, !tbaa !5
  %382 = add nsw i32 %381, 1
  store i32 %382, ptr %48, align 4, !tbaa !5
  br label %358, !llvm.loop !27

383:                                              ; preds = %361
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !5
  br label %384

384:                                              ; preds = %401, %383
  %385 = load i32, ptr %49, align 4, !tbaa !5
  %386 = icmp slt i32 %385, 8
  br i1 %386, label %388, label %387

387:                                              ; preds = %384
  store i32 35, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %404

388:                                              ; preds = %384
  %389 = load i32, ptr %45, align 4, !tbaa !5
  %390 = load i32, ptr %49, align 4, !tbaa !5
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %391
  %393 = load i16, ptr %392, align 2, !tbaa !22
  %394 = sext i16 %393 to i32
  %395 = mul nsw i32 %389, %394
  %396 = load i32, ptr %49, align 4, !tbaa !5
  %397 = sext i32 %396 to i64
  %398 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 %397
  %399 = load i32, ptr %398, align 4, !tbaa !5
  %400 = add nsw i32 %399, %395
  store i32 %400, ptr %398, align 4, !tbaa !5
  br label %401

401:                                              ; preds = %388
  %402 = load i32, ptr %49, align 4, !tbaa !5
  %403 = add nsw i32 %402, 1
  store i32 %403, ptr %49, align 4, !tbaa !5
  br label %384, !llvm.loop !28

404:                                              ; preds = %387
  %405 = load ptr, ptr %32, align 8, !tbaa !9
  %406 = getelementptr inbounds i8, ptr %405, i64 8
  store ptr %406, ptr %32, align 8, !tbaa !9
  %407 = load ptr, ptr %33, align 8, !tbaa !9
  %408 = getelementptr inbounds i8, ptr %407, i64 8
  store ptr %408, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  store i32 0, ptr %50, align 4, !tbaa !5
  br label %409

409:                                              ; preds = %431, %404
  %410 = load i32, ptr %50, align 4, !tbaa !5
  %411 = icmp slt i32 %410, 8
  br i1 %411, label %413, label %412

412:                                              ; preds = %409
  store i32 38, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %434

413:                                              ; preds = %409
  %414 = load ptr, ptr %32, align 8, !tbaa !9
  %415 = load i32, ptr %50, align 4, !tbaa !5
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds i8, ptr %414, i64 %416
  %418 = load i8, ptr %417, align 1, !tbaa !15
  %419 = sext i8 %418 to i32
  %420 = load ptr, ptr %33, align 8, !tbaa !9
  %421 = load i32, ptr %50, align 4, !tbaa !5
  %422 = sext i32 %421 to i64
  %423 = getelementptr inbounds i8, ptr %420, i64 %422
  %424 = load i8, ptr %423, align 1, !tbaa !15
  %425 = sext i8 %424 to i32
  %426 = mul nsw i32 %419, %425
  %427 = trunc i32 %426 to i16
  %428 = load i32, ptr %50, align 4, !tbaa !5
  %429 = sext i32 %428 to i64
  %430 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %429
  store i16 %427, ptr %430, align 2, !tbaa !22
  br label %431

431:                                              ; preds = %413
  %432 = load i32, ptr %50, align 4, !tbaa !5
  %433 = add nsw i32 %432, 1
  store i32 %433, ptr %50, align 4, !tbaa !5
  br label %409, !llvm.loop !29

434:                                              ; preds = %412
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  store i32 0, ptr %51, align 4, !tbaa !5
  br label %435

435:                                              ; preds = %452, %434
  %436 = load i32, ptr %51, align 4, !tbaa !5
  %437 = icmp slt i32 %436, 8
  br i1 %437, label %439, label %438

438:                                              ; preds = %435
  store i32 41, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %455

439:                                              ; preds = %435
  %440 = load i32, ptr %45, align 4, !tbaa !5
  %441 = load i32, ptr %51, align 4, !tbaa !5
  %442 = sext i32 %441 to i64
  %443 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %442
  %444 = load i16, ptr %443, align 2, !tbaa !22
  %445 = sext i16 %444 to i32
  %446 = mul nsw i32 %440, %445
  %447 = load i32, ptr %51, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 %448
  %450 = load i32, ptr %449, align 4, !tbaa !5
  %451 = add nsw i32 %450, %446
  store i32 %451, ptr %449, align 4, !tbaa !5
  br label %452

452:                                              ; preds = %439
  %453 = load i32, ptr %51, align 4, !tbaa !5
  %454 = add nsw i32 %453, 1
  store i32 %454, ptr %51, align 4, !tbaa !5
  br label %435, !llvm.loop !30

455:                                              ; preds = %438
  %456 = load ptr, ptr %32, align 8, !tbaa !9
  %457 = getelementptr inbounds i8, ptr %456, i64 8
  store ptr %457, ptr %32, align 8, !tbaa !9
  %458 = load ptr, ptr %33, align 8, !tbaa !9
  %459 = getelementptr inbounds i8, ptr %458, i64 8
  store ptr %459, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  store i32 0, ptr %52, align 4, !tbaa !5
  br label %460

460:                                              ; preds = %482, %455
  %461 = load i32, ptr %52, align 4, !tbaa !5
  %462 = icmp slt i32 %461, 8
  br i1 %462, label %464, label %463

463:                                              ; preds = %460
  store i32 44, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  br label %485

464:                                              ; preds = %460
  %465 = load ptr, ptr %32, align 8, !tbaa !9
  %466 = load i32, ptr %52, align 4, !tbaa !5
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds i8, ptr %465, i64 %467
  %469 = load i8, ptr %468, align 1, !tbaa !15
  %470 = sext i8 %469 to i32
  %471 = load ptr, ptr %33, align 8, !tbaa !9
  %472 = load i32, ptr %52, align 4, !tbaa !5
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds i8, ptr %471, i64 %473
  %475 = load i8, ptr %474, align 1, !tbaa !15
  %476 = sext i8 %475 to i32
  %477 = mul nsw i32 %470, %476
  %478 = trunc i32 %477 to i16
  %479 = load i32, ptr %52, align 4, !tbaa !5
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %480
  store i16 %478, ptr %481, align 2, !tbaa !22
  br label %482

482:                                              ; preds = %464
  %483 = load i32, ptr %52, align 4, !tbaa !5
  %484 = add nsw i32 %483, 1
  store i32 %484, ptr %52, align 4, !tbaa !5
  br label %460, !llvm.loop !31

485:                                              ; preds = %463
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #8
  store i32 0, ptr %53, align 4, !tbaa !5
  br label %486

486:                                              ; preds = %503, %485
  %487 = load i32, ptr %53, align 4, !tbaa !5
  %488 = icmp slt i32 %487, 8
  br i1 %488, label %490, label %489

489:                                              ; preds = %486
  store i32 47, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #8
  br label %506

490:                                              ; preds = %486
  %491 = load i32, ptr %45, align 4, !tbaa !5
  %492 = load i32, ptr %53, align 4, !tbaa !5
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds [8 x i16], ptr %24, i64 0, i64 %493
  %495 = load i16, ptr %494, align 2, !tbaa !22
  %496 = sext i16 %495 to i32
  %497 = mul nsw i32 %491, %496
  %498 = load i32, ptr %53, align 4, !tbaa !5
  %499 = sext i32 %498 to i64
  %500 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 %499
  %501 = load i32, ptr %500, align 4, !tbaa !5
  %502 = add nsw i32 %501, %497
  store i32 %502, ptr %500, align 4, !tbaa !5
  br label %503

503:                                              ; preds = %490
  %504 = load i32, ptr %53, align 4, !tbaa !5
  %505 = add nsw i32 %504, 1
  store i32 %505, ptr %53, align 4, !tbaa !5
  br label %486, !llvm.loop !32

506:                                              ; preds = %489
  %507 = load ptr, ptr %32, align 8, !tbaa !9
  %508 = getelementptr inbounds i8, ptr %507, i64 8
  store ptr %508, ptr %32, align 8, !tbaa !9
  %509 = load ptr, ptr %33, align 8, !tbaa !9
  %510 = getelementptr inbounds i8, ptr %509, i64 8
  store ptr %510, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %511

511:                                              ; preds = %506
  %512 = load i32, ptr %44, align 4, !tbaa !5
  %513 = add nsw i32 %512, 1
  store i32 %513, ptr %44, align 4, !tbaa !5
  br label %295, !llvm.loop !33

514:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #8
  %515 = load ptr, ptr %17, align 8, !tbaa !9
  %516 = load i32, ptr %28, align 4, !tbaa !5
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds %struct.block_q5_K, ptr %515, i64 %517
  %519 = getelementptr inbounds %struct.block_q5_K, ptr %518, i32 0, i32 0
  %520 = getelementptr inbounds %struct.anon.9, ptr %519, i32 0, i32 0
  %521 = load i16, ptr %520, align 4, !tbaa !15
  %522 = call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %521)
  %523 = load ptr, ptr %18, align 8, !tbaa !9
  %524 = load i32, ptr %28, align 4, !tbaa !5
  %525 = sext i32 %524 to i64
  %526 = getelementptr inbounds %struct.block_q8_K, ptr %523, i64 %525
  %527 = getelementptr inbounds %struct.block_q8_K, ptr %526, i32 0, i32 0
  %528 = load float, ptr %527, align 4, !tbaa !34
  %529 = fmul float %522, %528
  store float %529, ptr %54, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #8
  store i32 0, ptr %55, align 4, !tbaa !5
  br label %530

530:                                              ; preds = %546, %514
  %531 = load i32, ptr %55, align 4, !tbaa !5
  %532 = icmp slt i32 %531, 8
  br i1 %532, label %534, label %533

533:                                              ; preds = %530
  store i32 50, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %549

534:                                              ; preds = %530
  %535 = load float, ptr %54, align 4, !tbaa !13
  %536 = load i32, ptr %55, align 4, !tbaa !5
  %537 = sext i32 %536 to i64
  %538 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 %537
  %539 = load i32, ptr %538, align 4, !tbaa !5
  %540 = sitofp i32 %539 to float
  %541 = load i32, ptr %55, align 4, !tbaa !5
  %542 = sext i32 %541 to i64
  %543 = getelementptr inbounds [8 x float], ptr %25, i64 0, i64 %542
  %544 = load float, ptr %543, align 4, !tbaa !13
  %545 = call float @llvm.fmuladd.f32(float %535, float %540, float %544)
  store float %545, ptr %543, align 4, !tbaa !13
  br label %546

546:                                              ; preds = %534
  %547 = load i32, ptr %55, align 4, !tbaa !5
  %548 = add nsw i32 %547, 1
  store i32 %548, ptr %55, align 4, !tbaa !5
  br label %530, !llvm.loop !36

549:                                              ; preds = %533
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #8
  %550 = load ptr, ptr %17, align 8, !tbaa !9
  %551 = load i32, ptr %28, align 4, !tbaa !5
  %552 = sext i32 %551 to i64
  %553 = getelementptr inbounds %struct.block_q5_K, ptr %550, i64 %552
  %554 = getelementptr inbounds %struct.block_q5_K, ptr %553, i32 0, i32 0
  %555 = getelementptr inbounds %struct.anon.9, ptr %554, i32 0, i32 1
  %556 = load i16, ptr %555, align 2, !tbaa !15
  %557 = call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %556)
  %558 = load ptr, ptr %18, align 8, !tbaa !9
  %559 = load i32, ptr %28, align 4, !tbaa !5
  %560 = sext i32 %559 to i64
  %561 = getelementptr inbounds %struct.block_q8_K, ptr %558, i64 %560
  %562 = getelementptr inbounds %struct.block_q8_K, ptr %561, i32 0, i32 0
  %563 = load float, ptr %562, align 4, !tbaa !34
  %564 = fmul float %557, %563
  store float %564, ptr %56, align 4, !tbaa !13
  %565 = load float, ptr %56, align 4, !tbaa !13
  %566 = load i32, ptr %41, align 4, !tbaa !5
  %567 = sitofp i32 %566 to float
  %568 = load float, ptr %27, align 4, !tbaa !13
  %569 = fneg float %565
  %570 = call float @llvm.fmuladd.f32(float %569, float %567, float %568)
  store float %570, ptr %27, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %571

571:                                              ; preds = %549
  %572 = load i32, ptr %28, align 4, !tbaa !5
  %573 = add nsw i32 %572, 1
  store i32 %573, ptr %28, align 4, !tbaa !5
  br label %80, !llvm.loop !37

574:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #8
  store i32 0, ptr %57, align 4, !tbaa !5
  br label %575

575:                                              ; preds = %586, %574
  %576 = load i32, ptr %57, align 4, !tbaa !5
  %577 = icmp slt i32 %576, 8
  br i1 %577, label %579, label %578

578:                                              ; preds = %575
  store i32 53, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  br label %589

579:                                              ; preds = %575
  %580 = load i32, ptr %57, align 4, !tbaa !5
  %581 = sext i32 %580 to i64
  %582 = getelementptr inbounds [8 x float], ptr %25, i64 0, i64 %581
  %583 = load float, ptr %582, align 4, !tbaa !13
  %584 = load float, ptr %27, align 4, !tbaa !13
  %585 = fadd float %584, %583
  store float %585, ptr %27, align 4, !tbaa !13
  br label %586

586:                                              ; preds = %579
  %587 = load i32, ptr %57, align 4, !tbaa !5
  %588 = add nsw i32 %587, 1
  store i32 %588, ptr %57, align 4, !tbaa !5
  br label %575, !llvm.loop !38

589:                                              ; preds = %578
  %590 = load float, ptr %27, align 4, !tbaa !13
  %591 = load ptr, ptr %10, align 8, !tbaa !9
  store float %590, ptr %591, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = !{!23, !23, i64 0}
!23 = !{!"short", !7, i64 0}
!24 = distinct !{!24, !17}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}
!27 = distinct !{!27, !17}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !17}
!30 = distinct !{!30, !17}
!31 = distinct !{!31, !17}
!32 = distinct !{!32, !17}
!33 = distinct !{!33, !17}
!34 = !{!35, !14, i64 0}
!35 = !{!"", !14, i64 0, !7, i64 4, !7, i64 260}
!36 = distinct !{!36, !17}
!37 = distinct !{!37, !17}
!38 = distinct !{!38, !17}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.block_q5_K = type { %union.anon.8, [12 x i8], [32 x i8], [128 x i8] }
%union.anon.8 = type { i32 }
%struct.block_q8_K = type { float, [256 x i8], [16 x i16] }

@.str.1 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.ggml_vec_dot_q5_K_q8_K = external hidden unnamed_addr constant [123 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: nounwind uwtable
define dso_local void @ggml_vec_dot_q5_K_q8_K(i32 noundef %0, ptr noalias nocapture noundef writeonly %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3, i64 noundef %4, ptr noalias nocapture noundef readonly %5, i64 noundef %6, i32 noundef %7) local_unnamed_addr #5 {
  %9 = alloca [4 x i32], align 16
  %10 = alloca [256 x i8], align 16
  %11 = and i32 %0, 255
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %14, label %13

13:                                               ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 7595, ptr noundef nonnull @__PRETTY_FUNCTION__.ggml_vec_dot_q5_K_q8_K) #7
  unreachable

14:                                               ; preds = %8
  %15 = icmp eq i32 %7, 1
  br i1 %15, label %17, label %16

16:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 7596, ptr noundef nonnull @__PRETTY_FUNCTION__.ggml_vec_dot_q5_K_q8_K) #7
  unreachable

17:                                               ; preds = %14
  %18 = ashr exact i32 %0, 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %19 = getelementptr inbounds i8, ptr %9, i64 8
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %10) #8
  %20 = icmp sgt i32 %18, 0
  br i1 %20, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %17
  %21 = getelementptr inbounds i8, ptr %9, i64 4
  %22 = getelementptr inbounds i8, ptr %9, i64 12
  %wide.trip.count = zext nneg i32 %18 to i64
  %23 = getelementptr inbounds i8, ptr %9, i64 15
  %24 = getelementptr inbounds i8, ptr %10, i64 16
  %25 = getelementptr inbounds i8, ptr %10, i64 32
  %26 = getelementptr inbounds i8, ptr %10, i64 48
  %27 = getelementptr inbounds i8, ptr %10, i64 64
  %28 = getelementptr inbounds i8, ptr %10, i64 80
  %29 = getelementptr inbounds i8, ptr %10, i64 96
  %30 = getelementptr inbounds i8, ptr %10, i64 112
  %31 = getelementptr inbounds i8, ptr %10, i64 128
  %32 = getelementptr inbounds i8, ptr %10, i64 144
  %33 = getelementptr inbounds i8, ptr %10, i64 160
  %34 = getelementptr inbounds i8, ptr %10, i64 176
  %35 = getelementptr inbounds i8, ptr %10, i64 192
  %36 = getelementptr inbounds i8, ptr %10, i64 208
  %37 = getelementptr inbounds i8, ptr %10, i64 224
  %38 = getelementptr inbounds i8, ptr %10, i64 240
  br label %.preheader175

.preheader.loopexit:                              ; preds = %239
  %39 = extractelement <8 x float> %263, i64 0
  %40 = fadd float %271, %39
  %41 = extractelement <8 x float> %263, i64 1
  %42 = fadd float %40, %41
  %43 = extractelement <8 x float> %263, i64 2
  %44 = fadd float %42, %43
  %45 = extractelement <8 x float> %263, i64 3
  %46 = fadd float %44, %45
  %47 = extractelement <8 x float> %263, i64 4
  %48 = fadd float %46, %47
  %49 = extractelement <8 x float> %263, i64 5
  %50 = fadd float %48, %49
  %51 = extractelement <8 x float> %263, i64 6
  %52 = fadd float %50, %51
  %53 = extractelement <8 x float> %263, i64 7
  %54 = fadd float %52, %53
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %17
  %55 = phi float [ %54, %.preheader.loopexit ], [ 0.000000e+00, %17 ]
  store float %55, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  ret void

.preheader175:                                    ; preds = %.lr.ph, %239
  %indvars.iv236 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next237, %239 ]
  %.0143201 = phi float [ 0.000000e+00, %.lr.ph ], [ %271, %239 ]
  %56 = phi <8 x float> [ zeroinitializer, %.lr.ph ], [ %263, %239 ]
  %57 = getelementptr inbounds %struct.block_q5_K, ptr %3, i64 %indvars.iv236
  %58 = getelementptr inbounds %struct.block_q8_K, ptr %5, i64 %indvars.iv236
  %59 = getelementptr inbounds i8, ptr %57, i64 32
  %60 = load <16 x i8>, ptr %59, align 1, !tbaa !9
  %61 = getelementptr inbounds i8, ptr %57, i64 16
  %62 = load <16 x i8>, ptr %61, align 1, !tbaa !9
  %63 = getelementptr inbounds i8, ptr %57, i64 48
  %64 = load <16 x i8>, ptr %63, align 1, !tbaa !9
  %65 = and <16 x i8> %64, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %65, ptr %10, align 16, !tbaa !9
  %66 = getelementptr inbounds i8, ptr %57, i64 64
  %67 = load <16 x i8>, ptr %66, align 1, !tbaa !9
  %68 = and <16 x i8> %67, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %68, ptr %24, align 16, !tbaa !9
  %69 = shl <16 x i8> %62, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  %70 = and <16 x i8> %69, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %71 = add <16 x i8> %70, %65
  store <16 x i8> %71, ptr %10, align 16, !tbaa !9
  %72 = shl <16 x i8> %60, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  %73 = and <16 x i8> %72, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %74 = add <16 x i8> %73, %68
  store <16 x i8> %74, ptr %24, align 16, !tbaa !9
  %75 = load <16 x i8>, ptr %63, align 1, !tbaa !9
  %76 = lshr <16 x i8> %75, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %76, ptr %25, align 16, !tbaa !9
  %77 = load <16 x i8>, ptr %66, align 1, !tbaa !9
  %78 = lshr <16 x i8> %77, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %78, ptr %26, align 16, !tbaa !9
  %79 = shl <16 x i8> %62, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %80 = and <16 x i8> %79, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %81 = add <16 x i8> %80, %76
  store <16 x i8> %81, ptr %25, align 16, !tbaa !9
  %82 = shl <16 x i8> %60, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %83 = and <16 x i8> %82, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %84 = add <16 x i8> %83, %78
  store <16 x i8> %84, ptr %26, align 16, !tbaa !9
  %85 = getelementptr inbounds i8, ptr %57, i64 80
  %86 = load <16 x i8>, ptr %85, align 1, !tbaa !9
  %87 = and <16 x i8> %86, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %87, ptr %27, align 16, !tbaa !9
  %88 = getelementptr inbounds i8, ptr %57, i64 96
  %89 = load <16 x i8>, ptr %88, align 1, !tbaa !9
  %90 = and <16 x i8> %89, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %90, ptr %28, align 16, !tbaa !9
  %91 = shl <16 x i8> %62, <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>
  %92 = and <16 x i8> %91, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %93 = add <16 x i8> %92, %87
  store <16 x i8> %93, ptr %27, align 16, !tbaa !9
  %94 = shl <16 x i8> %60, <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>
  %95 = and <16 x i8> %94, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %96 = add <16 x i8> %95, %90
  store <16 x i8> %96, ptr %28, align 16, !tbaa !9
  %97 = load <16 x i8>, ptr %85, align 1, !tbaa !9
  %98 = lshr <16 x i8> %97, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %98, ptr %29, align 16, !tbaa !9
  %99 = load <16 x i8>, ptr %88, align 1, !tbaa !9
  %100 = lshr <16 x i8> %99, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %100, ptr %30, align 16, !tbaa !9
  %101 = shl <16 x i8> %62, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  %102 = and <16 x i8> %101, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %103 = add <16 x i8> %102, %98
  store <16 x i8> %103, ptr %29, align 16, !tbaa !9
  %104 = shl <16 x i8> %60, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  %105 = and <16 x i8> %104, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %106 = add <16 x i8> %105, %100
  store <16 x i8> %106, ptr %30, align 16, !tbaa !9
  %107 = getelementptr inbounds i8, ptr %57, i64 112
  %108 = load <16 x i8>, ptr %107, align 1, !tbaa !9
  %109 = and <16 x i8> %108, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %109, ptr %31, align 16, !tbaa !9
  %110 = getelementptr inbounds i8, ptr %57, i64 128
  %111 = load <16 x i8>, ptr %110, align 1, !tbaa !9
  %112 = and <16 x i8> %111, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %112, ptr %32, align 16, !tbaa !9
  %113 = and <16 x i8> %62, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %114 = add <16 x i8> %113, %109
  store <16 x i8> %114, ptr %31, align 16, !tbaa !9
  %115 = and <16 x i8> %60, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %116 = or disjoint <16 x i8> %115, %112
  store <16 x i8> %116, ptr %32, align 16, !tbaa !9
  %117 = load <16 x i8>, ptr %107, align 1, !tbaa !9
  %118 = lshr <16 x i8> %117, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %118, ptr %33, align 16, !tbaa !9
  %119 = load <16 x i8>, ptr %110, align 1, !tbaa !9
  %120 = lshr <16 x i8> %119, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %120, ptr %34, align 16, !tbaa !9
  %121 = lshr <16 x i8> %62, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  %122 = and <16 x i8> %121, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %123 = add <16 x i8> %122, %118
  store <16 x i8> %123, ptr %33, align 16, !tbaa !9
  %124 = lshr <16 x i8> %60, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  %125 = and <16 x i8> %124, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %126 = add <16 x i8> %125, %120
  store <16 x i8> %126, ptr %34, align 16, !tbaa !9
  %127 = getelementptr inbounds i8, ptr %57, i64 144
  %128 = load <16 x i8>, ptr %127, align 1, !tbaa !9
  %129 = and <16 x i8> %128, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %129, ptr %35, align 16, !tbaa !9
  %130 = getelementptr inbounds i8, ptr %57, i64 160
  %131 = load <16 x i8>, ptr %130, align 1, !tbaa !9
  %132 = and <16 x i8> %131, <i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15, i8 15>
  store <16 x i8> %132, ptr %36, align 16, !tbaa !9
  %133 = lshr <16 x i8> %62, <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>
  %134 = and <16 x i8> %133, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %135 = add <16 x i8> %134, %129
  store <16 x i8> %135, ptr %35, align 16, !tbaa !9
  %136 = lshr <16 x i8> %60, <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>
  %137 = and <16 x i8> %136, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %138 = add <16 x i8> %137, %132
  store <16 x i8> %138, ptr %36, align 16, !tbaa !9
  %139 = load <16 x i8>, ptr %127, align 1, !tbaa !9
  %140 = lshr <16 x i8> %139, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %140, ptr %37, align 16, !tbaa !9
  %141 = load <16 x i8>, ptr %130, align 1, !tbaa !9
  %142 = lshr <16 x i8> %141, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
  store <16 x i8> %142, ptr %38, align 16, !tbaa !9
  %143 = lshr <16 x i8> %62, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %144 = and <16 x i8> %143, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %145 = add <16 x i8> %144, %140
  store <16 x i8> %145, ptr %37, align 16, !tbaa !9
  %146 = lshr <16 x i8> %60, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %147 = and <16 x i8> %146, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
  %148 = add <16 x i8> %147, %142
  store <16 x i8> %148, ptr %38, align 16, !tbaa !9
  %149 = getelementptr inbounds i8, ptr %57, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %149, i64 12, i1 false)
  %150 = load i32, ptr %19, align 8, !tbaa !10
  %151 = lshr i32 %150, 4
  %152 = and i32 %151, 252645135
  %153 = load i32, ptr %21, align 4, !tbaa !10
  %154 = lshr i32 %153, 2
  %155 = and i32 %154, 808464432
  %156 = or disjoint i32 %155, %152
  store i32 %156, ptr %22, align 4, !tbaa !10
  %157 = and i32 %153, 1061109567
  %158 = and i32 %150, 252645135
  %159 = load i32, ptr %9, align 16, !tbaa !10
  %160 = lshr i32 %159, 2
  %161 = and i32 %160, 808464432
  %162 = or disjoint i32 %161, %158
  store i32 %162, ptr %21, align 4, !tbaa !10
  store i32 %157, ptr %19, align 8, !tbaa !10
  %163 = and i32 %159, 1061109567
  store i32 %163, ptr %9, align 16, !tbaa !10
  %164 = getelementptr inbounds i8, ptr %58, i64 260
  %165 = load i16, ptr %164, align 2, !tbaa !12
  %166 = and i32 %153, 63
  %167 = getelementptr inbounds i8, ptr %58, i64 262
  %168 = load i16, ptr %167, align 2, !tbaa !12
  %169 = sext i16 %168 to i32
  %170 = getelementptr inbounds i8, ptr %58, i64 264
  %171 = load i16, ptr %170, align 2, !tbaa !12
  %172 = sext i16 %171 to i32
  %173 = lshr i32 %153, 8
  %174 = and i32 %173, 63
  %175 = mul nsw i32 %174, %172
  %176 = getelementptr inbounds i8, ptr %58, i64 266
  %177 = load i16, ptr %176, align 2, !tbaa !12
  %178 = sext i16 %177 to i32
  %179 = mul nsw i32 %174, %178
  %180 = getelementptr inbounds i8, ptr %58, i64 268
  %181 = load i16, ptr %180, align 2, !tbaa !12
  %182 = sext i16 %181 to i32
  %183 = lshr i32 %153, 16
  %184 = and i32 %183, 63
  %185 = mul nsw i32 %184, %182
  %186 = getelementptr inbounds i8, ptr %58, i64 270
  %187 = load i16, ptr %186, align 2, !tbaa !12
  %188 = sext i16 %187 to i32
  %189 = mul nsw i32 %184, %188
  %190 = getelementptr inbounds i8, ptr %58, i64 272
  %191 = load i16, ptr %190, align 2, !tbaa !12
  %192 = sext i16 %191 to i32
  %193 = lshr i32 %157, 24
  %194 = mul nsw i32 %193, %192
  %195 = getelementptr inbounds i8, ptr %58, i64 274
  %196 = load i16, ptr %195, align 2, !tbaa !12
  %197 = sext i16 %196 to i32
  %198 = mul nsw i32 %193, %197
  %199 = getelementptr inbounds i8, ptr %58, i64 276
  %200 = load i16, ptr %199, align 2, !tbaa !12
  %201 = sext i16 %200 to i32
  %202 = and i32 %156, 63
  %203 = mul nsw i32 %202, %201
  %204 = getelementptr inbounds i8, ptr %58, i64 278
  %205 = load i16, ptr %204, align 2, !tbaa !12
  %206 = sext i16 %205 to i32
  %207 = mul nsw i32 %202, %206
  %208 = getelementptr inbounds i8, ptr %58, i64 280
  %209 = load i16, ptr %208, align 2, !tbaa !12
  %210 = sext i16 %209 to i32
  %211 = lshr i32 %156, 8
  %212 = and i32 %211, 63
  %213 = mul nsw i32 %212, %210
  %214 = getelementptr inbounds i8, ptr %58, i64 282
  %215 = load i16, ptr %214, align 2, !tbaa !12
  %216 = sext i16 %215 to i32
  %217 = mul nsw i32 %212, %216
  %218 = getelementptr inbounds i8, ptr %58, i64 284
  %219 = load i16, ptr %218, align 2, !tbaa !12
  %220 = sext i16 %219 to i32
  %221 = lshr i32 %156, 16
  %222 = and i32 %221, 63
  %223 = mul nsw i32 %222, %220
  %224 = getelementptr inbounds i8, ptr %58, i64 286
  %225 = load i16, ptr %224, align 2, !tbaa !12
  %226 = sext i16 %225 to i32
  %227 = mul nsw i32 %222, %226
  %228 = getelementptr inbounds i8, ptr %58, i64 288
  %229 = load i16, ptr %228, align 2, !tbaa !12
  %230 = sext i16 %229 to i32
  %231 = load i8, ptr %23, align 1, !tbaa !9
  %232 = zext i8 %231 to i32
  %233 = mul nsw i32 %232, %230
  %234 = getelementptr inbounds i8, ptr %58, i64 290
  %235 = load i16, ptr %234, align 2, !tbaa !12
  %236 = sext i16 %235 to i32
  %237 = mul nsw i32 %232, %236
  %238 = getelementptr inbounds i8, ptr %58, i64 4
  br label %.preheader172.preheader

239:                                              ; preds = %.preheader172.preheader
  %240 = sext i16 %165 to i32
  %241 = add nsw i32 %169, %240
  %242 = mul nsw i32 %166, %241
  %243 = add nsw i32 %175, %242
  %244 = add nsw i32 %179, %243
  %245 = add nsw i32 %185, %244
  %246 = add nsw i32 %189, %245
  %247 = add nsw i32 %194, %246
  %248 = add nsw i32 %198, %247
  %249 = add nsw i32 %203, %248
  %250 = add nsw i32 %207, %249
  %251 = add nsw i32 %213, %250
  %252 = add nsw i32 %217, %251
  %253 = add nsw i32 %223, %252
  %254 = add nsw i32 %227, %253
  %255 = add nsw i32 %233, %254
  %256 = load i16, ptr %57, align 4, !tbaa !9
  %257 = tail call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %256)
  %258 = load float, ptr %58, align 4, !tbaa !14
  %259 = fmul float %257, %258
  %260 = sitofp <8 x i32> %311 to <8 x float>
  %261 = insertelement <8 x float> poison, float %259, i64 0
  %262 = shufflevector <8 x float> %261, <8 x float> poison, <8 x i32> zeroinitializer
  %263 = tail call <8 x float> @llvm.fmuladd.v8f32(<8 x float> %262, <8 x float> %260, <8 x float> %56)
  %264 = add nsw i32 %237, %255
  %265 = getelementptr inbounds i8, ptr %57, i64 2
  %266 = load i16, ptr %265, align 2, !tbaa !9
  %267 = tail call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %266)
  %268 = sitofp i32 %264 to float
  %269 = fneg float %267
  %270 = fmul float %258, %269
  %271 = tail call float @llvm.fmuladd.f32(float %270, float %268, float %.0143201)
  %indvars.iv.next237 = add nuw nsw i64 %indvars.iv236, 1
  %exitcond239.not = icmp eq i64 %indvars.iv.next237, %wide.trip.count
  br i1 %exitcond239.not, label %.preheader.loopexit, label %.preheader175, !llvm.loop !16

.preheader172.preheader:                          ; preds = %.preheader175, %.preheader172.preheader
  %indvars.iv = phi i64 [ 0, %.preheader175 ], [ %indvars.iv.next, %.preheader172.preheader ]
  %.1166196 = phi ptr [ %10, %.preheader175 ], [ %313, %.preheader172.preheader ]
  %.0167195 = phi ptr [ %238, %.preheader175 ], [ %312, %.preheader172.preheader ]
  %272 = phi <8 x i32> [ zeroinitializer, %.preheader175 ], [ %311, %.preheader172.preheader ]
  %273 = getelementptr inbounds i8, ptr %9, i64 %indvars.iv
  %274 = load i8, ptr %273, align 1, !tbaa !9
  %275 = zext i8 %274 to i32
  %276 = getelementptr inbounds i8, ptr %.0167195, i64 8
  %277 = getelementptr inbounds i8, ptr %.1166196, i64 8
  %278 = getelementptr inbounds i8, ptr %.0167195, i64 16
  %279 = getelementptr inbounds i8, ptr %.1166196, i64 16
  %280 = getelementptr inbounds i8, ptr %.0167195, i64 24
  %281 = getelementptr inbounds i8, ptr %.1166196, i64 24
  %282 = load <8 x i8>, ptr %.0167195, align 1, !tbaa !9
  %283 = sext <8 x i8> %282 to <8 x i32>
  %284 = load <8 x i8>, ptr %.1166196, align 1, !tbaa !9
  %285 = sext <8 x i8> %284 to <8 x i32>
  %286 = mul nsw <8 x i32> %285, %283
  %287 = insertelement <8 x i32> poison, i32 %275, i64 0
  %288 = shufflevector <8 x i32> %287, <8 x i32> poison, <8 x i32> zeroinitializer
  %289 = mul nsw <8 x i32> %286, %288
  %290 = add nsw <8 x i32> %289, %272
  %291 = load <8 x i8>, ptr %276, align 1, !tbaa !9
  %292 = sext <8 x i8> %291 to <8 x i32>
  %293 = load <8 x i8>, ptr %277, align 1, !tbaa !9
  %294 = sext <8 x i8> %293 to <8 x i32>
  %295 = mul nsw <8 x i32> %294, %292
  %296 = mul nsw <8 x i32> %295, %288
  %297 = add nsw <8 x i32> %296, %290
  %298 = load <8 x i8>, ptr %278, align 1, !tbaa !9
  %299 = sext <8 x i8> %298 to <8 x i32>
  %300 = load <8 x i8>, ptr %279, align 1, !tbaa !9
  %301 = sext <8 x i8> %300 to <8 x i32>
  %302 = mul nsw <8 x i32> %301, %299
  %303 = mul nsw <8 x i32> %302, %288
  %304 = add nsw <8 x i32> %303, %297
  %305 = load <8 x i8>, ptr %280, align 1, !tbaa !9
  %306 = sext <8 x i8> %305 to <8 x i32>
  %307 = load <8 x i8>, ptr %281, align 1, !tbaa !9
  %308 = sext <8 x i8> %307 to <8 x i32>
  %309 = mul nsw <8 x i32> %308, %306
  %310 = mul nsw <8 x i32> %309, %288
  %311 = add nsw <8 x i32> %310, %304
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %312 = getelementptr inbounds i8, ptr %.0167195, i64 32
  %313 = getelementptr inbounds i8, ptr %.1166196, i64 32
  %exitcond231.not = icmp eq i64 %indvars.iv.next, 8
  br i1 %exitcond231.not, label %239, label %.preheader172.preheader, !llvm.loop !18
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <8 x float> @llvm.fmuladd.v8f32(<8 x float>, <8 x float>, <8 x float>) #6

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"", !6, i64 0, !7, i64 4, !7, i64 260}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass