; LLVM IR from ggml-org/ggml :: src (ggml-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_q3_K = type { [32 x i8], [64 x i8], [12 x i8], i16 }

@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.dequantize_row_q3_K = external hidden unnamed_addr constant [79 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: 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) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @dequantize_row_q3_K(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [4 x i32], align 16
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %26 = load i64, ptr %6, align 8, !tbaa !9
  %27 = srem i64 %26, 256
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %29, label %30

29:                                               ; preds = %3
  br label %31

30:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 1057, ptr noundef @__PRETTY_FUNCTION__.dequantize_row_q3_K) #5
  unreachable

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %32 = load i64, ptr %6, align 8, !tbaa !9
  %33 = sdiv i64 %32, 256
  %34 = trunc i64 %33 to i32
  store i32 %34, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 50529027, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 252645135, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %35 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
  store ptr %35, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %36

36:                                               ; preds = %236, %31
  %37 = load i32, ptr %12, align 4, !tbaa !11
  %38 = load i32, ptr %7, align 4, !tbaa !11
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %239

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load i32, ptr %12, align 4, !tbaa !11
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %struct.block_q3_K, ptr %42, i64 %44
  %46 = getelementptr inbounds %struct.block_q3_K, ptr %45, i32 0, i32 3
  %47 = load i16, ptr %46, align 2, !tbaa !13
  %48 = call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %47)
  store float %48, ptr %14, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load i32, ptr %12, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds %struct.block_q3_K, ptr %49, i64 %51
  %53 = getelementptr inbounds %struct.block_q3_K, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds [64 x i8], ptr %53, i64 0, i64 0
  store ptr %54, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = load i32, ptr %12, align 4, !tbaa !11
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds %struct.block_q3_K, ptr %55, i64 %57
  %59 = getelementptr inbounds %struct.block_q3_K, ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds [32 x i8], ptr %59, i64 0, i64 0
  store ptr %60, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  store i8 1, ptr %17, align 1, !tbaa !18
  %61 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = load i32, ptr %12, align 4, !tbaa !11
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds %struct.block_q3_K, ptr %62, i64 %64
  %66 = getelementptr inbounds %struct.block_q3_K, ptr %65, i32 0, i32 2
  %67 = getelementptr inbounds [12 x i8], ptr %66, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %61, ptr align 2 %67, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %68 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 2
  %69 = load i32, ptr %68, align 8, !tbaa !11
  store i32 %69, ptr %18, align 4, !tbaa !11
  %70 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
  %71 = load i32, ptr %70, align 16, !tbaa !11
  %72 = lshr i32 %71, 4
  %73 = and i32 %72, 252645135
  %74 = load i32, ptr %18, align 4, !tbaa !11
  %75 = lshr i32 %74, 4
  %76 = and i32 %75, 50529027
  %77 = shl i32 %76, 4
  %78 = or i32 %73, %77
  %79 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 2
  store i32 %78, ptr %79, align 8, !tbaa !11
  %80 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 1
  %81 = load i32, ptr %80, align 4, !tbaa !11
  %82 = lshr i32 %81, 4
  %83 = and i32 %82, 252645135
  %84 = load i32, ptr %18, align 4, !tbaa !11
  %85 = lshr i32 %84, 6
  %86 = and i32 %85, 50529027
  %87 = shl i32 %86, 4
  %88 = or i32 %83, %87
  %89 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 3
  store i32 %88, ptr %89, align 4, !tbaa !11
  %90 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
  %91 = load i32, ptr %90, align 16, !tbaa !11
  %92 = and i32 %91, 252645135
  %93 = load i32, ptr %18, align 4, !tbaa !11
  %94 = lshr i32 %93, 0
  %95 = and i32 %94, 50529027
  %96 = shl i32 %95, 4
  %97 = or i32 %92, %96
  %98 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
  store i32 %97, ptr %98, align 16, !tbaa !11
  %99 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 1
  %100 = load i32, ptr %99, align 4, !tbaa !11
  %101 = and i32 %100, 252645135
  %102 = load i32, ptr %18, align 4, !tbaa !11
  %103 = lshr i32 %102, 2
  %104 = and i32 %103, 50529027
  %105 = shl i32 %104, 4
  %106 = or i32 %101, %105
  %107 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 1
  store i32 %106, ptr %107, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !11
  br label %108

108:                                              ; preds = %232, %41
  %109 = load i32, ptr %21, align 4, !tbaa !11
  %110 = icmp slt i32 %109, 256
  br i1 %110, label %112, label %111

111:                                              ; preds = %108
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %235

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !11
  br label %113

113:                                              ; preds = %226, %112
  %114 = load i32, ptr %23, align 4, !tbaa !11
  %115 = icmp slt i32 %114, 4
  br i1 %115, label %117, label %116

116:                                              ; preds = %113
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %229

117:                                              ; preds = %113
  %118 = load float, ptr %14, align 4, !tbaa !16
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = load i32, ptr %19, align 4, !tbaa !11
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %19, align 4, !tbaa !11
  %122 = sext i32 %120 to i64
  %123 = getelementptr inbounds i8, ptr %119, i64 %122
  %124 = load i8, ptr %123, align 1, !tbaa !18
  %125 = sext i8 %124 to i32
  %126 = sub nsw i32 %125, 32
  %127 = sitofp i32 %126 to float
  %128 = fmul float %118, %127
  store float %128, ptr %20, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !11
  br label %129

129:                                              ; preds = %165, %117
  %130 = load i32, ptr %24, align 4, !tbaa !11
  %131 = icmp slt i32 %130, 16
  br i1 %131, label %133, label %132

132:                                              ; preds = %129
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %168

133:                                              ; preds = %129
  %134 = load float, ptr %20, align 4, !tbaa !16
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  %136 = load i32, ptr %24, align 4, !tbaa !11
  %137 = add nsw i32 %136, 0
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds i8, ptr %135, i64 %138
  %140 = load i8, ptr %139, align 1, !tbaa !18
  %141 = zext i8 %140 to i32
  %142 = load i32, ptr %22, align 4, !tbaa !11
  %143 = ashr i32 %141, %142
  %144 = and i32 %143, 3
  %145 = trunc i32 %144 to i8
  %146 = sext i8 %145 to i32
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  %148 = load i32, ptr %24, align 4, !tbaa !11
  %149 = add nsw i32 %148, 0
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds i8, ptr %147, i64 %150
  %152 = load i8, ptr %151, align 1, !tbaa !18
  %153 = zext i8 %152 to i32
  %154 = load i8, ptr %17, align 1, !tbaa !18
  %155 = zext i8 %154 to i32
  %156 = and i32 %153, %155
  %157 = icmp ne i32 %156, 0
  %158 = zext i1 %157 to i64
  %159 = select i1 %157, i32 0, i32 4
  %160 = sub nsw i32 %146, %159
  %161 = sitofp i32 %160 to float
  %162 = fmul float %134, %161
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = getelementptr inbounds float, ptr %163, i32 1
  store ptr %164, ptr %5, align 8, !tbaa !5
  store float %162, ptr %163, align 4, !tbaa !16
  br label %165

165:                                              ; preds = %133
  %166 = load i32, ptr %24, align 4, !tbaa !11
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %24, align 4, !tbaa !11
  br label %129, !llvm.loop !19

168:                                              ; preds = %132
  %169 = load float, ptr %14, align 4, !tbaa !16
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = load i32, ptr %19, align 4, !tbaa !11
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %19, align 4, !tbaa !11
  %173 = sext i32 %171 to i64
  %174 = getelementptr inbounds i8, ptr %170, i64 %173
  %175 = load i8, ptr %174, align 1, !tbaa !18
  %176 = sext i8 %175 to i32
  %177 = sub nsw i32 %176, 32
  %178 = sitofp i32 %177 to float
  %179 = fmul float %169, %178
  store float %179, ptr %20, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !11
  br label %180

180:                                              ; preds = %216, %168
  %181 = load i32, ptr %25, align 4, !tbaa !11
  %182 = icmp slt i32 %181, 16
  br i1 %182, label %184, label %183

183:                                              ; preds = %180
  store i32 14, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %219

184:                                              ; preds = %180
  %185 = load float, ptr %20, align 4, !tbaa !16
  %186 = load ptr, ptr %15, align 8, !tbaa !5
  %187 = load i32, ptr %25, align 4, !tbaa !11
  %188 = add nsw i32 %187, 16
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds i8, ptr %186, i64 %189
  %191 = load i8, ptr %190, align 1, !tbaa !18
  %192 = zext i8 %191 to i32
  %193 = load i32, ptr %22, align 4, !tbaa !11
  %194 = ashr i32 %192, %193
  %195 = and i32 %194, 3
  %196 = trunc i32 %195 to i8
  %197 = sext i8 %196 to i32
  %198 = load ptr, ptr %16, align 8, !tbaa !5
  %199 = load i32, ptr %25, align 4, !tbaa !11
  %200 = add nsw i32 %199, 16
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds i8, ptr %198, i64 %201
  %203 = load i8, ptr %202, align 1, !tbaa !18
  %204 = zext i8 %203 to i32
  %205 = load i8, ptr %17, align 1, !tbaa !18
  %206 = zext i8 %205 to i32
  %207 = and i32 %204, %206
  %208 = icmp ne i32 %207, 0
  %209 = zext i1 %208 to i64
  %210 = select i1 %208, i32 0, i32 4
  %211 = sub nsw i32 %197, %210
  %212 = sitofp i32 %211 to float
  %213 = fmul float %185, %212
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = getelementptr inbounds float, ptr %214, i32 1
  store ptr %215, ptr %5, align 8, !tbaa !5
  store float %213, ptr %214, align 4, !tbaa !16
  br label %216

216:                                              ; preds = %184
  %217 = load i32, ptr %25, align 4, !tbaa !11
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %25, align 4, !tbaa !11
  br label %180, !llvm.loop !21

219:                                              ; preds = %183
  %220 = load i32, ptr %22, align 4, !tbaa !11
  %221 = add nsw i32 %220, 2
  store i32 %221, ptr %22, align 4, !tbaa !11
  %222 = load i8, ptr %17, align 1, !tbaa !18
  %223 = zext i8 %222 to i32
  %224 = shl i32 %223, 1
  %225 = trunc i32 %224 to i8
  store i8 %225, ptr %17, align 1, !tbaa !18
  br label %226

226:                                              ; preds = %219
  %227 = load i32, ptr %23, align 4, !tbaa !11
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %23, align 4, !tbaa !11
  br label %113, !llvm.loop !22

229:                                              ; preds = %116
  %230 = load ptr, ptr %15, align 8, !tbaa !5
  %231 = getelementptr inbounds i8, ptr %230, i64 32
  store ptr %231, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %232

232:                                              ; preds = %229
  %233 = load i32, ptr %21, align 4, !tbaa !11
  %234 = add nsw i32 %233, 128
  store i32 %234, ptr %21, align 4, !tbaa !11
  br label %108, !llvm.loop !23

235:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %236

236:                                              ; preds = %235
  %237 = load i32, ptr %12, align 4, !tbaa !11
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %12, align 4, !tbaa !11
  br label %36, !llvm.loop !24

239:                                              ; preds = %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { noreturn nounwind }
attributes #6 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 108}
!14 = !{!"", !7, i64 0, !7, i64 32, !7, i64 96, !15, i64 108}
!15 = !{!"short", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}


; 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_q3_K = type { [32 x i8], [64 x i8], [12 x i8], i16 }

@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.dequantize_row_q3_K = external hidden unnamed_addr constant [79 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: 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) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @dequantize_row_q3_K(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #4 {
  %4 = alloca [4 x i32], align 16
  %5 = and i64 %2, 255
  %6 = icmp eq i64 %5, 0
  br i1 %6, label %8, label %7

7:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 1057, ptr noundef nonnull @__PRETTY_FUNCTION__.dequantize_row_q3_K) #5
  unreachable

8:                                                ; preds = %3
  %9 = lshr exact i64 %2, 8
  %10 = trunc i64 %9 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %8
  %12 = getelementptr inbounds i8, ptr %4, i64 8
  %13 = getelementptr inbounds i8, ptr %4, i64 4
  %14 = getelementptr inbounds i8, ptr %4, i64 12
  %wide.trip.count = and i64 %9, 2147483647
  br label %.preheader

._crit_edge:                                      ; preds = %198, %8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  ret void

.preheader:                                       ; preds = %.lr.ph, %198
  %indvars.iv84 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next85, %198 ]
  %.05478 = phi ptr [ %1, %.lr.ph ], [ %188, %198 ]
  %15 = getelementptr inbounds %struct.block_q3_K, ptr %0, i64 %indvars.iv84
  %16 = getelementptr inbounds i8, ptr %15, i64 108
  %17 = load i16, ptr %16, align 2, !tbaa !5
  %18 = tail call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %17)
  %19 = getelementptr inbounds i8, ptr %15, i64 96
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(12) %4, ptr noundef nonnull align 2 dereferenceable(12) %19, i64 12, i1 false)
  %20 = load i32, ptr %12, align 8, !tbaa !10
  %21 = load i32, ptr %4, align 16, !tbaa !10
  %22 = lshr i32 %21, 4
  %23 = and i32 %22, 252645135
  %24 = and i32 %20, 808464432
  %25 = or disjoint i32 %23, %24
  store i32 %25, ptr %12, align 8, !tbaa !10
  %26 = load i32, ptr %13, align 4, !tbaa !10
  %27 = lshr i32 %26, 4
  %28 = and i32 %27, 252645135
  %29 = lshr i32 %20, 2
  %30 = and i32 %29, 808464432
  %31 = or disjoint i32 %28, %30
  store i32 %31, ptr %14, align 4, !tbaa !10
  %32 = and i32 %21, 252645135
  %33 = shl i32 %20, 4
  %34 = and i32 %33, 808464432
  %35 = or disjoint i32 %32, %34
  store i32 %35, ptr %4, align 16, !tbaa !10
  %36 = and i32 %26, 252645135
  %37 = shl i32 %20, 2
  %38 = and i32 %37, 808464432
  %39 = or disjoint i32 %36, %38
  store i32 %39, ptr %13, align 4, !tbaa !10
  %40 = load <4 x i8>, ptr %15, align 1, !tbaa !12
  %41 = getelementptr inbounds i8, ptr %15, i64 4
  %42 = load <4 x i8>, ptr %41, align 1, !tbaa !12
  %43 = getelementptr inbounds i8, ptr %15, i64 8
  %44 = load <4 x i8>, ptr %43, align 1, !tbaa !12
  %45 = getelementptr inbounds i8, ptr %15, i64 12
  %46 = load <4 x i8>, ptr %45, align 1, !tbaa !12
  %47 = getelementptr inbounds i8, ptr %15, i64 16
  %48 = load <4 x i8>, ptr %47, align 1, !tbaa !12
  %49 = getelementptr inbounds i8, ptr %15, i64 20
  %50 = load <4 x i8>, ptr %49, align 1, !tbaa !12
  %51 = getelementptr inbounds i8, ptr %15, i64 24
  %52 = load <4 x i8>, ptr %51, align 1, !tbaa !12
  %53 = getelementptr inbounds i8, ptr %15, i64 28
  %54 = load <4 x i8>, ptr %53, align 1, !tbaa !12
  %.05976 = getelementptr inbounds i8, ptr %15, i64 32
  %55 = getelementptr inbounds i8, ptr %15, i64 48
  %56 = load <4 x i8>, ptr %.05976, align 1, !tbaa !12
  %57 = zext <4 x i8> %56 to <4 x i32>
  %58 = getelementptr inbounds i8, ptr %15, i64 36
  %59 = load <4 x i8>, ptr %58, align 1, !tbaa !12
  %60 = zext <4 x i8> %59 to <4 x i32>
  %61 = getelementptr inbounds i8, ptr %15, i64 40
  %62 = load <4 x i8>, ptr %61, align 1, !tbaa !12
  %63 = zext <4 x i8> %62 to <4 x i32>
  %64 = getelementptr inbounds i8, ptr %15, i64 44
  %65 = load <4 x i8>, ptr %64, align 1, !tbaa !12
  %66 = zext <4 x i8> %65 to <4 x i32>
  %67 = load <4 x i8>, ptr %55, align 1, !tbaa !12
  %68 = zext <4 x i8> %67 to <4 x i32>
  %69 = getelementptr inbounds i8, ptr %15, i64 52
  %70 = load <4 x i8>, ptr %69, align 1, !tbaa !12
  %71 = zext <4 x i8> %70 to <4 x i32>
  %72 = getelementptr inbounds i8, ptr %15, i64 56
  %73 = load <4 x i8>, ptr %72, align 1, !tbaa !12
  %74 = zext <4 x i8> %73 to <4 x i32>
  %75 = getelementptr inbounds i8, ptr %15, i64 60
  %76 = load <4 x i8>, ptr %75, align 1, !tbaa !12
  %77 = zext <4 x i8> %76 to <4 x i32>
  br label %199

.preheader.1:                                     ; preds = %199
  %.05976.1 = getelementptr inbounds i8, ptr %15, i64 64
  %78 = getelementptr inbounds i8, ptr %15, i64 80
  %sext.1 = shl i64 %indvars.iv.next, 32
  %79 = ashr exact i64 %sext.1, 32
  %80 = load <4 x i8>, ptr %.05976.1, align 1, !tbaa !12
  %81 = zext <4 x i8> %80 to <4 x i32>
  %82 = getelementptr inbounds i8, ptr %15, i64 68
  %83 = load <4 x i8>, ptr %82, align 1, !tbaa !12
  %84 = zext <4 x i8> %83 to <4 x i32>
  %85 = getelementptr inbounds i8, ptr %15, i64 72
  %86 = load <4 x i8>, ptr %85, align 1, !tbaa !12
  %87 = zext <4 x i8> %86 to <4 x i32>
  %88 = getelementptr inbounds i8, ptr %15, i64 76
  %89 = load <4 x i8>, ptr %88, align 1, !tbaa !12
  %90 = zext <4 x i8> %89 to <4 x i32>
  %91 = load <4 x i8>, ptr %78, align 1, !tbaa !12
  %92 = zext <4 x i8> %91 to <4 x i32>
  %93 = getelementptr inbounds i8, ptr %15, i64 84
  %94 = load <4 x i8>, ptr %93, align 1, !tbaa !12
  %95 = zext <4 x i8> %94 to <4 x i32>
  %96 = getelementptr inbounds i8, ptr %15, i64 88
  %97 = load <4 x i8>, ptr %96, align 1, !tbaa !12
  %98 = zext <4 x i8> %97 to <4 x i32>
  %99 = getelementptr inbounds i8, ptr %15, i64 92
  %100 = load <4 x i8>, ptr %99, align 1, !tbaa !12
  %101 = zext <4 x i8> %100 to <4 x i32>
  br label %102

102:                                              ; preds = %102, %.preheader.1
  %indvars.iv.1 = phi i64 [ %79, %.preheader.1 ], [ %indvars.iv.next.1, %102 ]
  %.05070.1 = phi i32 [ 0, %.preheader.1 ], [ %197, %102 ]
  %.05169.1 = phi i32 [ 0, %.preheader.1 ], [ %195, %102 ]
  %.267.1 = phi ptr [ %285, %.preheader.1 ], [ %188, %102 ]
  %.15766.1 = phi i8 [ %293, %.preheader.1 ], [ %196, %102 ]
  %103 = getelementptr inbounds i8, ptr %4, i64 %indvars.iv.1
  %104 = load i8, ptr %103, align 1, !tbaa !12
  %105 = sext i8 %104 to i32
  %106 = add nsw i32 %105, -32
  %107 = sitofp i32 %106 to float
  %108 = fmul float %18, %107
  %109 = insertelement <4 x i32> poison, i32 %.05169.1, i64 0
  %110 = shufflevector <4 x i32> %109, <4 x i32> poison, <4 x i32> zeroinitializer
  %111 = lshr <4 x i32> %81, %110
  %112 = insertelement <4 x i8> poison, i8 %.15766.1, i64 0
  %113 = shufflevector <4 x i8> %112, <4 x i8> poison, <4 x i32> zeroinitializer
  %114 = and <4 x i8> %40, %113
  %115 = getelementptr inbounds i8, ptr %.267.1, i64 16
  %116 = and <4 x i32> %111, <i32 3, i32 3, i32 3, i32 3>
  %117 = icmp eq <4 x i8> %114, zeroinitializer
  %118 = select <4 x i1> %117, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %119 = or disjoint <4 x i32> %118, %116
  %120 = sitofp <4 x i32> %119 to <4 x float>
  %121 = insertelement <4 x float> poison, float %108, i64 0
  %122 = shufflevector <4 x float> %121, <4 x float> poison, <4 x i32> zeroinitializer
  %123 = fmul <4 x float> %122, %120
  store <4 x float> %123, ptr %.267.1, align 4, !tbaa !13
  %124 = lshr <4 x i32> %84, %110
  %125 = and <4 x i8> %42, %113
  %126 = getelementptr inbounds i8, ptr %.267.1, i64 32
  %127 = and <4 x i32> %124, <i32 3, i32 3, i32 3, i32 3>
  %128 = icmp eq <4 x i8> %125, zeroinitializer
  %129 = select <4 x i1> %128, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %130 = or disjoint <4 x i32> %129, %127
  %131 = sitofp <4 x i32> %130 to <4 x float>
  %132 = fmul <4 x float> %122, %131
  store <4 x float> %132, ptr %115, align 4, !tbaa !13
  %133 = lshr <4 x i32> %87, %110
  %134 = and <4 x i8> %44, %113
  %135 = getelementptr inbounds i8, ptr %.267.1, i64 48
  %136 = and <4 x i32> %133, <i32 3, i32 3, i32 3, i32 3>
  %137 = icmp eq <4 x i8> %134, zeroinitializer
  %138 = select <4 x i1> %137, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %139 = or disjoint <4 x i32> %138, %136
  %140 = sitofp <4 x i32> %139 to <4 x float>
  %141 = fmul <4 x float> %122, %140
  store <4 x float> %141, ptr %126, align 4, !tbaa !13
  %142 = lshr <4 x i32> %90, %110
  %143 = and <4 x i8> %46, %113
  %144 = getelementptr inbounds i8, ptr %.267.1, i64 64
  %145 = and <4 x i32> %142, <i32 3, i32 3, i32 3, i32 3>
  %146 = icmp eq <4 x i8> %143, zeroinitializer
  %147 = select <4 x i1> %146, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %148 = or disjoint <4 x i32> %147, %145
  %149 = sitofp <4 x i32> %148 to <4 x float>
  %150 = fmul <4 x float> %122, %149
  store <4 x float> %150, ptr %135, align 4, !tbaa !13
  %151 = getelementptr i8, ptr %103, i64 1
  %152 = load i8, ptr %151, align 1, !tbaa !12
  %153 = sext i8 %152 to i32
  %154 = add nsw i32 %153, -32
  %155 = sitofp i32 %154 to float
  %156 = fmul float %18, %155
  %157 = lshr <4 x i32> %92, %110
  %158 = and <4 x i8> %48, %113
  %159 = getelementptr inbounds i8, ptr %.267.1, i64 80
  %160 = and <4 x i32> %157, <i32 3, i32 3, i32 3, i32 3>
  %161 = icmp eq <4 x i8> %158, zeroinitializer
  %162 = select <4 x i1> %161, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %163 = or disjoint <4 x i32> %162, %160
  %164 = sitofp <4 x i32> %163 to <4 x float>
  %165 = insertelement <4 x float> poison, float %156, i64 0
  %166 = shufflevector <4 x float> %165, <4 x float> poison, <4 x i32> zeroinitializer
  %167 = fmul <4 x float> %166, %164
  store <4 x float> %167, ptr %144, align 4, !tbaa !13
  %168 = lshr <4 x i32> %95, %110
  %169 = and <4 x i8> %50, %113
  %170 = getelementptr inbounds i8, ptr %.267.1, i64 96
  %171 = and <4 x i32> %168, <i32 3, i32 3, i32 3, i32 3>
  %172 = icmp eq <4 x i8> %169, zeroinitializer
  %173 = select <4 x i1> %172, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %174 = or disjoint <4 x i32> %173, %171
  %175 = sitofp <4 x i32> %174 to <4 x float>
  %176 = fmul <4 x float> %166, %175
  store <4 x float> %176, ptr %159, align 4, !tbaa !13
  %177 = lshr <4 x i32> %98, %110
  %178 = and <4 x i8> %52, %113
  %179 = getelementptr inbounds i8, ptr %.267.1, i64 112
  %180 = and <4 x i32> %177, <i32 3, i32 3, i32 3, i32 3>
  %181 = icmp eq <4 x i8> %178, zeroinitializer
  %182 = select <4 x i1> %181, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %183 = or disjoint <4 x i32> %182, %180
  %184 = sitofp <4 x i32> %183 to <4 x float>
  %185 = fmul <4 x float> %166, %184
  store <4 x float> %185, ptr %170, align 4, !tbaa !13
  %186 = lshr <4 x i32> %101, %110
  %187 = and <4 x i8> %54, %113
  %188 = getelementptr inbounds i8, ptr %.267.1, i64 128
  %189 = and <4 x i32> %186, <i32 3, i32 3, i32 3, i32 3>
  %190 = icmp eq <4 x i8> %187, zeroinitializer
  %191 = select <4 x i1> %190, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %192 = or disjoint <4 x i32> %191, %189
  %193 = sitofp <4 x i32> %192 to <4 x float>
  %194 = fmul <4 x float> %166, %193
  store <4 x float> %194, ptr %179, align 4, !tbaa !13
  %indvars.iv.next.1 = add nsw i64 %indvars.iv.1, 2
  %195 = add nuw nsw i32 %.05169.1, 2
  %196 = shl i8 %.15766.1, 1
  %197 = add nuw nsw i32 %.05070.1, 1
  %exitcond.not.1 = icmp eq i32 %197, 4
  br i1 %exitcond.not.1, label %198, label %102, !llvm.loop !15

198:                                              ; preds = %102
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %exitcond87.not = icmp eq i64 %indvars.iv.next85, %wide.trip.count
  br i1 %exitcond87.not, label %._crit_edge, label %.preheader, !llvm.loop !17

199:                                              ; preds = %.preheader, %199
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next, %199 ]
  %.05070 = phi i32 [ 0, %.preheader ], [ %294, %199 ]
  %.05169 = phi i32 [ 0, %.preheader ], [ %292, %199 ]
  %.267 = phi ptr [ %.05478, %.preheader ], [ %285, %199 ]
  %.15766 = phi i8 [ 1, %.preheader ], [ %293, %199 ]
  %200 = getelementptr inbounds i8, ptr %4, i64 %indvars.iv
  %201 = load i8, ptr %200, align 2, !tbaa !12
  %202 = sext i8 %201 to i32
  %203 = add nsw i32 %202, -32
  %204 = sitofp i32 %203 to float
  %205 = fmul float %18, %204
  %206 = insertelement <4 x i32> poison, i32 %.05169, i64 0
  %207 = shufflevector <4 x i32> %206, <4 x i32> poison, <4 x i32> zeroinitializer
  %208 = lshr <4 x i32> %57, %207
  %209 = insertelement <4 x i8> poison, i8 %.15766, i64 0
  %210 = shufflevector <4 x i8> %209, <4 x i8> poison, <4 x i32> zeroinitializer
  %211 = and <4 x i8> %40, %210
  %212 = getelementptr inbounds i8, ptr %.267, i64 16
  %213 = and <4 x i32> %208, <i32 3, i32 3, i32 3, i32 3>
  %214 = icmp eq <4 x i8> %211, zeroinitializer
  %215 = select <4 x i1> %214, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %216 = or disjoint <4 x i32> %215, %213
  %217 = sitofp <4 x i32> %216 to <4 x float>
  %218 = insertelement <4 x float> poison, float %205, i64 0
  %219 = shufflevector <4 x float> %218, <4 x float> poison, <4 x i32> zeroinitializer
  %220 = fmul <4 x float> %219, %217
  store <4 x float> %220, ptr %.267, align 4, !tbaa !13
  %221 = lshr <4 x i32> %60, %207
  %222 = and <4 x i8> %42, %210
  %223 = getelementptr inbounds i8, ptr %.267, i64 32
  %224 = and <4 x i32> %221, <i32 3, i32 3, i32 3, i32 3>
  %225 = icmp eq <4 x i8> %222, zeroinitializer
  %226 = select <4 x i1> %225, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %227 = or disjoint <4 x i32> %226, %224
  %228 = sitofp <4 x i32> %227 to <4 x float>
  %229 = fmul <4 x float> %219, %228
  store <4 x float> %229, ptr %212, align 4, !tbaa !13
  %230 = lshr <4 x i32> %63, %207
  %231 = and <4 x i8> %44, %210
  %232 = getelementptr inbounds i8, ptr %.267, i64 48
  %233 = and <4 x i32> %230, <i32 3, i32 3, i32 3, i32 3>
  %234 = icmp eq <4 x i8> %231, zeroinitializer
  %235 = select <4 x i1> %234, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %236 = or disjoint <4 x i32> %235, %233
  %237 = sitofp <4 x i32> %236 to <4 x float>
  %238 = fmul <4 x float> %219, %237
  store <4 x float> %238, ptr %223, align 4, !tbaa !13
  %239 = lshr <4 x i32> %66, %207
  %240 = and <4 x i8> %46, %210
  %241 = getelementptr inbounds i8, ptr %.267, i64 64
  %242 = and <4 x i32> %239, <i32 3, i32 3, i32 3, i32 3>
  %243 = icmp eq <4 x i8> %240, zeroinitializer
  %244 = select <4 x i1> %243, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %245 = or disjoint <4 x i32> %244, %242
  %246 = sitofp <4 x i32> %245 to <4 x float>
  %247 = fmul <4 x float> %219, %246
  store <4 x float> %247, ptr %232, align 4, !tbaa !13
  %248 = getelementptr i8, ptr %200, i64 1
  %249 = load i8, ptr %248, align 1, !tbaa !12
  %250 = sext i8 %249 to i32
  %251 = add nsw i32 %250, -32
  %252 = sitofp i32 %251 to float
  %253 = fmul float %18, %252
  %254 = lshr <4 x i32> %68, %207
  %255 = and <4 x i8> %48, %210
  %256 = getelementptr inbounds i8, ptr %.267, i64 80
  %257 = and <4 x i32> %254, <i32 3, i32 3, i32 3, i32 3>
  %258 = icmp eq <4 x i8> %255, zeroinitializer
  %259 = select <4 x i1> %258, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %260 = or disjoint <4 x i32> %259, %257
  %261 = sitofp <4 x i32> %260 to <4 x float>
  %262 = insertelement <4 x float> poison, float %253, i64 0
  %263 = shufflevector <4 x float> %262, <4 x float> poison, <4 x i32> zeroinitializer
  %264 = fmul <4 x float> %263, %261
  store <4 x float> %264, ptr %241, align 4, !tbaa !13
  %265 = lshr <4 x i32> %71, %207
  %266 = and <4 x i8> %50, %210
  %267 = getelementptr inbounds i8, ptr %.267, i64 96
  %268 = and <4 x i32> %265, <i32 3, i32 3, i32 3, i32 3>
  %269 = icmp eq <4 x i8> %266, zeroinitializer
  %270 = select <4 x i1> %269, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %271 = or disjoint <4 x i32> %270, %268
  %272 = sitofp <4 x i32> %271 to <4 x float>
  %273 = fmul <4 x float> %263, %272
  store <4 x float> %273, ptr %256, align 4, !tbaa !13
  %274 = lshr <4 x i32> %74, %207
  %275 = and <4 x i8> %52, %210
  %276 = getelementptr inbounds i8, ptr %.267, i64 112
  %277 = and <4 x i32> %274, <i32 3, i32 3, i32 3, i32 3>
  %278 = icmp eq <4 x i8> %275, zeroinitializer
  %279 = select <4 x i1> %278, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %280 = or disjoint <4 x i32> %279, %277
  %281 = sitofp <4 x i32> %280 to <4 x float>
  %282 = fmul <4 x float> %263, %281
  store <4 x float> %282, ptr %267, align 4, !tbaa !13
  %283 = lshr <4 x i32> %77, %207
  %284 = and <4 x i8> %54, %210
  %285 = getelementptr inbounds i8, ptr %.267, i64 128
  %286 = and <4 x i32> %283, <i32 3, i32 3, i32 3, i32 3>
  %287 = icmp eq <4 x i8> %284, zeroinitializer
  %288 = select <4 x i1> %287, <4 x i32> <i32 -4, i32 -4, i32 -4, i32 -4>, <4 x i32> zeroinitializer
  %289 = or disjoint <4 x i32> %288, %286
  %290 = sitofp <4 x i32> %289 to <4 x float>
  %291 = fmul <4 x float> %263, %290
  store <4 x float> %291, ptr %276, align 4, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %292 = add nuw nsw i32 %.05169, 2
  %293 = shl i8 %.15766, 1
  %294 = add nuw nsw i32 %.05070, 1
  %exitcond.not = icmp eq i32 %294, 4
  br i1 %exitcond.not, label %.preheader.1, label %199, !llvm.loop !15
}

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { noreturn nounwind }
attributes #6 = { 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, !9, i64 108}
!6 = !{!"", !7, i64 0, !7, i64 32, !7, i64 96, !9, i64 108}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"short", !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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