; 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_q6_K = type { [128 x i8], [64 x i8], [16 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_q6_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: inlinehint nounwind uwtable
declare hidden float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext) #2

; Function Attrs: nounwind uwtable
define dso_local void @dequantize_row_q6_K(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  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
  %21 = load i64, ptr %6, align 8, !tbaa !9
  %22 = srem i64 %21, 256
  %23 = icmp eq i64 %22, 0
  br i1 %23, label %24, label %25

24:                                               ; preds = %3
  br label %26

25:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 1691, ptr noundef @__PRETTY_FUNCTION__.dequantize_row_q6_K) #4
  unreachable

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %27 = load i64, ptr %6, align 8, !tbaa !9
  %28 = sdiv i64 %27, 256
  store i64 %28, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !11
  br label %29

29:                                               ; preds = %253, %26
  %30 = load i32, ptr %8, align 4, !tbaa !11
  %31 = sext i32 %30 to i64
  %32 = load i64, ptr %7, align 8, !tbaa !9
  %33 = icmp slt i64 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %29
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %256

35:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = load i32, ptr %8, align 4, !tbaa !11
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds %struct.block_q6_K, ptr %36, i64 %38
  %40 = getelementptr inbounds %struct.block_q6_K, ptr %39, i32 0, i32 3
  %41 = load i16, ptr %40, align 2, !tbaa !13
  %42 = call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %41)
  store float %42, ptr %10, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = load i32, ptr %8, align 4, !tbaa !11
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds %struct.block_q6_K, ptr %43, i64 %45
  %47 = getelementptr inbounds %struct.block_q6_K, ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds [128 x i8], ptr %47, i64 0, i64 0
  store ptr %48, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load i32, ptr %8, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds %struct.block_q6_K, ptr %49, i64 %51
  %53 = getelementptr inbounds %struct.block_q6_K, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds [64 x i8], ptr %53, i64 0, i64 0
  store ptr %54, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = load i32, ptr %8, align 4, !tbaa !11
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds %struct.block_q6_K, ptr %55, i64 %57
  %59 = getelementptr inbounds %struct.block_q6_K, ptr %58, i32 0, i32 2
  %60 = getelementptr inbounds [16 x i8], ptr %59, i64 0, i64 0
  store ptr %60, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %61

61:                                               ; preds = %249, %35
  %62 = load i32, ptr %14, align 4, !tbaa !11
  %63 = icmp slt i32 %62, 256
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %252

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %66

66:                                               ; preds = %237, %65
  %67 = load i32, ptr %15, align 4, !tbaa !11
  %68 = icmp slt i32 %67, 32
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %240

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %71 = load i32, ptr %15, align 4, !tbaa !11
  %72 = sdiv i32 %71, 16
  store i32 %72, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = load i32, ptr %15, align 4, !tbaa !11
  %75 = add nsw i32 %74, 0
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds i8, ptr %73, i64 %76
  %78 = load i8, ptr %77, align 1, !tbaa !18
  %79 = zext i8 %78 to i32
  %80 = and i32 %79, 15
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = load i32, ptr %15, align 4, !tbaa !11
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds i8, ptr %81, i64 %83
  %85 = load i8, ptr %84, align 1, !tbaa !18
  %86 = zext i8 %85 to i32
  %87 = ashr i32 %86, 0
  %88 = and i32 %87, 3
  %89 = shl i32 %88, 4
  %90 = or i32 %80, %89
  %91 = trunc i32 %90 to i8
  %92 = sext i8 %91 to i32
  %93 = sub nsw i32 %92, 32
  %94 = trunc i32 %93 to i8
  store i8 %94, ptr %17, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = load i32, ptr %15, align 4, !tbaa !11
  %97 = add nsw i32 %96, 32
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i8, ptr %95, i64 %98
  %100 = load i8, ptr %99, align 1, !tbaa !18
  %101 = zext i8 %100 to i32
  %102 = and i32 %101, 15
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = load i32, ptr %15, align 4, !tbaa !11
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds i8, ptr %103, i64 %105
  %107 = load i8, ptr %106, align 1, !tbaa !18
  %108 = zext i8 %107 to i32
  %109 = ashr i32 %108, 2
  %110 = and i32 %109, 3
  %111 = shl i32 %110, 4
  %112 = or i32 %102, %111
  %113 = trunc i32 %112 to i8
  %114 = sext i8 %113 to i32
  %115 = sub nsw i32 %114, 32
  %116 = trunc i32 %115 to i8
  store i8 %116, ptr %18, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = load i32, ptr %15, align 4, !tbaa !11
  %119 = add nsw i32 %118, 0
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds i8, ptr %117, i64 %120
  %122 = load i8, ptr %121, align 1, !tbaa !18
  %123 = zext i8 %122 to i32
  %124 = ashr i32 %123, 4
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = load i32, ptr %15, align 4, !tbaa !11
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds i8, ptr %125, i64 %127
  %129 = load i8, ptr %128, align 1, !tbaa !18
  %130 = zext i8 %129 to i32
  %131 = ashr i32 %130, 4
  %132 = and i32 %131, 3
  %133 = shl i32 %132, 4
  %134 = or i32 %124, %133
  %135 = trunc i32 %134 to i8
  %136 = sext i8 %135 to i32
  %137 = sub nsw i32 %136, 32
  %138 = trunc i32 %137 to i8
  store i8 %138, ptr %19, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = load i32, ptr %15, align 4, !tbaa !11
  %141 = add nsw i32 %140, 32
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i8, ptr %139, i64 %142
  %144 = load i8, ptr %143, align 1, !tbaa !18
  %145 = zext i8 %144 to i32
  %146 = ashr i32 %145, 4
  %147 = load ptr, ptr %12, align 8, !tbaa !5
  %148 = load i32, ptr %15, align 4, !tbaa !11
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds i8, ptr %147, i64 %149
  %151 = load i8, ptr %150, align 1, !tbaa !18
  %152 = zext i8 %151 to i32
  %153 = ashr i32 %152, 6
  %154 = and i32 %153, 3
  %155 = shl i32 %154, 4
  %156 = or i32 %146, %155
  %157 = trunc i32 %156 to i8
  %158 = sext i8 %157 to i32
  %159 = sub nsw i32 %158, 32
  %160 = trunc i32 %159 to i8
  store i8 %160, ptr %20, align 1, !tbaa !18
  %161 = load float, ptr %10, align 4, !tbaa !16
  %162 = load ptr, ptr %13, align 8, !tbaa !5
  %163 = load i32, ptr %16, align 4, !tbaa !11
  %164 = add nsw i32 %163, 0
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i8, ptr %162, i64 %165
  %167 = load i8, ptr %166, align 1, !tbaa !18
  %168 = sext i8 %167 to i32
  %169 = sitofp i32 %168 to float
  %170 = fmul float %161, %169
  %171 = load i8, ptr %17, align 1, !tbaa !18
  %172 = sext i8 %171 to i32
  %173 = sitofp i32 %172 to float
  %174 = fmul float %170, %173
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = load i32, ptr %15, align 4, !tbaa !11
  %177 = add nsw i32 %176, 0
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds float, ptr %175, i64 %178
  store float %174, ptr %179, align 4, !tbaa !16
  %180 = load float, ptr %10, align 4, !tbaa !16
  %181 = load ptr, ptr %13, align 8, !tbaa !5
  %182 = load i32, ptr %16, align 4, !tbaa !11
  %183 = add nsw i32 %182, 2
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds i8, ptr %181, i64 %184
  %186 = load i8, ptr %185, align 1, !tbaa !18
  %187 = sext i8 %186 to i32
  %188 = sitofp i32 %187 to float
  %189 = fmul float %180, %188
  %190 = load i8, ptr %18, align 1, !tbaa !18
  %191 = sext i8 %190 to i32
  %192 = sitofp i32 %191 to float
  %193 = fmul float %189, %192
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = load i32, ptr %15, align 4, !tbaa !11
  %196 = add nsw i32 %195, 32
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds float, ptr %194, i64 %197
  store float %193, ptr %198, align 4, !tbaa !16
  %199 = load float, ptr %10, align 4, !tbaa !16
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = load i32, ptr %16, align 4, !tbaa !11
  %202 = add nsw i32 %201, 4
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds i8, ptr %200, i64 %203
  %205 = load i8, ptr %204, align 1, !tbaa !18
  %206 = sext i8 %205 to i32
  %207 = sitofp i32 %206 to float
  %208 = fmul float %199, %207
  %209 = load i8, ptr %19, align 1, !tbaa !18
  %210 = sext i8 %209 to i32
  %211 = sitofp i32 %210 to float
  %212 = fmul float %208, %211
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = load i32, ptr %15, align 4, !tbaa !11
  %215 = add nsw i32 %214, 64
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds float, ptr %213, i64 %216
  store float %212, ptr %217, align 4, !tbaa !16
  %218 = load float, ptr %10, align 4, !tbaa !16
  %219 = load ptr, ptr %13, align 8, !tbaa !5
  %220 = load i32, ptr %16, align 4, !tbaa !11
  %221 = add nsw i32 %220, 6
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds i8, ptr %219, i64 %222
  %224 = load i8, ptr %223, align 1, !tbaa !18
  %225 = sext i8 %224 to i32
  %226 = sitofp i32 %225 to float
  %227 = fmul float %218, %226
  %228 = load i8, ptr %20, align 1, !tbaa !18
  %229 = sext i8 %228 to i32
  %230 = sitofp i32 %229 to float
  %231 = fmul float %227, %230
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = load i32, ptr %15, align 4, !tbaa !11
  %234 = add nsw i32 %233, 96
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds float, ptr %232, i64 %235
  store float %231, ptr %236, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %237

237:                                              ; preds = %70
  %238 = load i32, ptr %15, align 4, !tbaa !11
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %15, align 4, !tbaa !11
  br label %66, !llvm.loop !19

240:                                              ; preds = %69
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = getelementptr inbounds float, ptr %241, i64 128
  store ptr %242, ptr %5, align 8, !tbaa !5
  %243 = load ptr, ptr %11, align 8, !tbaa !5
  %244 = getelementptr inbounds i8, ptr %243, i64 64
  store ptr %244, ptr %11, align 8, !tbaa !5
  %245 = load ptr, ptr %12, align 8, !tbaa !5
  %246 = getelementptr inbounds i8, ptr %245, i64 32
  store ptr %246, ptr %12, align 8, !tbaa !5
  %247 = load ptr, ptr %13, align 8, !tbaa !5
  %248 = getelementptr inbounds i8, ptr %247, i64 8
  store ptr %248, ptr %13, align 8, !tbaa !5
  br label %249

249:                                              ; preds = %240
  %250 = load i32, ptr %14, align 4, !tbaa !11
  %251 = add nsw i32 %250, 128
  store i32 %251, ptr %14, align 4, !tbaa !11
  br label %61, !llvm.loop !21

252:                                              ; preds = %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %253

253:                                              ; preds = %252
  %254 = load i32, ptr %8, align 4, !tbaa !11
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %8, align 4, !tbaa !11
  br label %29, !llvm.loop !22

256:                                              ; preds = %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  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 = { 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 = { noreturn nounwind }
attributes #5 = { 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 208}
!14 = !{!"", !7, i64 0, !7, i64 128, !7, i64 192, !15, i64 208}
!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}


; 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_q6_K = type { [128 x i8], [64 x i8], [16 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_q6_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: inlinehint nounwind uwtable
declare hidden float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @dequantize_row_q6_K(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #2 {
  %4 = and i64 %2, 255
  %5 = icmp eq i64 %4, 0
  br i1 %5, label %7, label %6

6:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 1691, ptr noundef nonnull @__PRETTY_FUNCTION__.dequantize_row_q6_K) #3
  unreachable

7:                                                ; preds = %3
  %8 = ashr exact i64 %2, 8
  %9 = icmp sgt i64 %8, 0
  br i1 %9, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %middle.block, %7
  ret void

.lr.ph:                                           ; preds = %7, %middle.block
  %indvars.iv77 = phi i64 [ %indvars.iv.next78, %middle.block ], [ 0, %7 ]
  %.075 = phi ptr [ %146, %middle.block ], [ %1, %7 ]
  %10 = getelementptr inbounds %struct.block_q6_K, ptr %0, i64 %indvars.iv77
  %11 = getelementptr inbounds i8, ptr %10, i64 208
  %12 = load i16, ptr %11, align 2, !tbaa !5
  %13 = tail call float @ggml_lookup_fp16_to_fp32(i16 noundef zeroext %12)
  %14 = getelementptr inbounds i8, ptr %10, i64 128
  %15 = getelementptr inbounds i8, ptr %10, i64 192
  %broadcast.splatinsert102 = insertelement <4 x float> poison, float %13, i64 0
  %broadcast.splat103 = shufflevector <4 x float> %broadcast.splatinsert102, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body95

vector.body95:                                    ; preds = %vector.body95, %.lr.ph
  %index96 = phi i64 [ 0, %.lr.ph ], [ %index.next110, %vector.body95 ]
  %16 = trunc i64 %index96 to i32
  %17 = lshr i32 %16, 4
  %18 = getelementptr inbounds i8, ptr %10, i64 %index96
  %wide.load97 = load <4 x i8>, ptr %18, align 1, !tbaa !10
  %19 = and <4 x i8> %wide.load97, <i8 15, i8 15, i8 15, i8 15>
  %20 = getelementptr inbounds i8, ptr %14, i64 %index96
  %wide.load98 = load <4 x i8>, ptr %20, align 1, !tbaa !10
  %21 = shl <4 x i8> %wide.load98, <i8 4, i8 4, i8 4, i8 4>
  %22 = and <4 x i8> %21, <i8 48, i8 48, i8 48, i8 48>
  %23 = or disjoint <4 x i8> %19, <i8 -32, i8 -32, i8 -32, i8 -32>
  %24 = add nsw <4 x i8> %23, %22
  %25 = or disjoint i64 %index96, 32
  %26 = getelementptr inbounds i8, ptr %10, i64 %25
  %wide.load99 = load <4 x i8>, ptr %26, align 1, !tbaa !10
  %27 = and <4 x i8> %wide.load99, <i8 15, i8 15, i8 15, i8 15>
  %28 = shl <4 x i8> %wide.load98, <i8 2, i8 2, i8 2, i8 2>
  %29 = and <4 x i8> %28, <i8 48, i8 48, i8 48, i8 48>
  %30 = add nsw <4 x i8> %29, <i8 -32, i8 -32, i8 -32, i8 -32>
  %31 = or disjoint <4 x i8> %30, %27
  %32 = lshr <4 x i8> %wide.load97, <i8 4, i8 4, i8 4, i8 4>
  %33 = and <4 x i8> %wide.load98, <i8 48, i8 48, i8 48, i8 48>
  %34 = or disjoint <4 x i8> %32, <i8 -32, i8 -32, i8 -32, i8 -32>
  %35 = add nsw <4 x i8> %34, %33
  %36 = lshr <4 x i8> %wide.load99, <i8 4, i8 4, i8 4, i8 4>
  %37 = lshr <4 x i8> %wide.load98, <i8 2, i8 2, i8 2, i8 2>
  %38 = and <4 x i8> %37, <i8 48, i8 48, i8 48, i8 48>
  %39 = add nsw <4 x i8> %38, <i8 -32, i8 -32, i8 -32, i8 -32>
  %40 = or disjoint <4 x i8> %39, %36
  %41 = zext nneg i32 %17 to i64
  %42 = getelementptr inbounds i8, ptr %15, i64 %41
  %43 = load i8, ptr %42, align 1, !tbaa !10
  %broadcast.splatinsert100 = insertelement <4 x i8> poison, i8 %43, i64 0
  %broadcast.splat101 = shufflevector <4 x i8> %broadcast.splatinsert100, <4 x i8> poison, <4 x i32> zeroinitializer
  %44 = sitofp <4 x i8> %broadcast.splat101 to <4 x float>
  %45 = fmul <4 x float> %broadcast.splat103, %44
  %46 = sitofp <4 x i8> %24 to <4 x float>
  %47 = fmul <4 x float> %45, %46
  %48 = getelementptr inbounds float, ptr %.075, i64 %index96
  store <4 x float> %47, ptr %48, align 4, !tbaa !11
  %49 = or disjoint i32 %17, 2
  %50 = zext nneg i32 %49 to i64
  %51 = getelementptr inbounds i8, ptr %15, i64 %50
  %52 = load i8, ptr %51, align 1, !tbaa !10
  %broadcast.splatinsert104 = insertelement <4 x i8> poison, i8 %52, i64 0
  %broadcast.splat105 = shufflevector <4 x i8> %broadcast.splatinsert104, <4 x i8> poison, <4 x i32> zeroinitializer
  %53 = sitofp <4 x i8> %broadcast.splat105 to <4 x float>
  %54 = fmul <4 x float> %broadcast.splat103, %53
  %55 = sitofp <4 x i8> %31 to <4 x float>
  %56 = fmul <4 x float> %54, %55
  %57 = getelementptr inbounds float, ptr %.075, i64 %25
  store <4 x float> %56, ptr %57, align 4, !tbaa !11
  %58 = or disjoint i32 %17, 4
  %59 = zext nneg i32 %58 to i64
  %60 = getelementptr inbounds i8, ptr %15, i64 %59
  %61 = load i8, ptr %60, align 1, !tbaa !10
  %broadcast.splatinsert106 = insertelement <4 x i8> poison, i8 %61, i64 0
  %broadcast.splat107 = shufflevector <4 x i8> %broadcast.splatinsert106, <4 x i8> poison, <4 x i32> zeroinitializer
  %62 = sitofp <4 x i8> %broadcast.splat107 to <4 x float>
  %63 = fmul <4 x float> %broadcast.splat103, %62
  %64 = sitofp <4 x i8> %35 to <4 x float>
  %65 = fmul <4 x float> %63, %64
  %66 = or disjoint i64 %index96, 64
  %67 = getelementptr inbounds float, ptr %.075, i64 %66
  store <4 x float> %65, ptr %67, align 4, !tbaa !11
  %68 = or disjoint i32 %17, 6
  %69 = zext nneg i32 %68 to i64
  %70 = getelementptr inbounds i8, ptr %15, i64 %69
  %71 = load i8, ptr %70, align 1, !tbaa !10
  %broadcast.splatinsert108 = insertelement <4 x i8> poison, i8 %71, i64 0
  %broadcast.splat109 = shufflevector <4 x i8> %broadcast.splatinsert108, <4 x i8> poison, <4 x i32> zeroinitializer
  %72 = sitofp <4 x i8> %broadcast.splat109 to <4 x float>
  %73 = fmul <4 x float> %broadcast.splat103, %72
  %74 = sitofp <4 x i8> %40 to <4 x float>
  %75 = fmul <4 x float> %73, %74
  %76 = or disjoint i64 %index96, 96
  %77 = getelementptr inbounds float, ptr %.075, i64 %76
  store <4 x float> %75, ptr %77, align 4, !tbaa !11
  %index.next110 = add nuw i64 %index96, 4
  %78 = icmp eq i64 %index.next110, 32
  br i1 %78, label %.preheader.1, label %vector.body95, !llvm.loop !13

.preheader.1:                                     ; preds = %vector.body95
  %79 = getelementptr inbounds i8, ptr %.075, i64 512
  %80 = getelementptr inbounds i8, ptr %10, i64 64
  %81 = getelementptr inbounds i8, ptr %10, i64 160
  %82 = getelementptr inbounds i8, ptr %10, i64 200
  %broadcast.splatinsert83 = insertelement <4 x float> poison, float %13, i64 0
  %broadcast.splat84 = shufflevector <4 x float> %broadcast.splatinsert83, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %.preheader.1
  %index = phi i64 [ 0, %.preheader.1 ], [ %index.next, %vector.body ]
  %83 = trunc i64 %index to i32
  %84 = lshr i32 %83, 4
  %85 = getelementptr inbounds i8, ptr %80, i64 %index
  %wide.load = load <4 x i8>, ptr %85, align 1, !tbaa !10
  %86 = and <4 x i8> %wide.load, <i8 15, i8 15, i8 15, i8 15>
  %87 = getelementptr inbounds i8, ptr %81, i64 %index
  %wide.load81 = load <4 x i8>, ptr %87, align 1, !tbaa !10
  %88 = shl <4 x i8> %wide.load81, <i8 4, i8 4, i8 4, i8 4>
  %89 = and <4 x i8> %88, <i8 48, i8 48, i8 48, i8 48>
  %90 = or disjoint <4 x i8> %86, <i8 -32, i8 -32, i8 -32, i8 -32>
  %91 = add nsw <4 x i8> %90, %89
  %92 = or disjoint i64 %index, 32
  %93 = getelementptr inbounds i8, ptr %80, i64 %92
  %wide.load82 = load <4 x i8>, ptr %93, align 1, !tbaa !10
  %94 = and <4 x i8> %wide.load82, <i8 15, i8 15, i8 15, i8 15>
  %95 = shl <4 x i8> %wide.load81, <i8 2, i8 2, i8 2, i8 2>
  %96 = and <4 x i8> %95, <i8 48, i8 48, i8 48, i8 48>
  %97 = add nsw <4 x i8> %96, <i8 -32, i8 -32, i8 -32, i8 -32>
  %98 = or disjoint <4 x i8> %97, %94
  %99 = lshr <4 x i8> %wide.load, <i8 4, i8 4, i8 4, i8 4>
  %100 = and <4 x i8> %wide.load81, <i8 48, i8 48, i8 48, i8 48>
  %101 = or disjoint <4 x i8> %99, <i8 -32, i8 -32, i8 -32, i8 -32>
  %102 = add nsw <4 x i8> %101, %100
  %103 = lshr <4 x i8> %wide.load82, <i8 4, i8 4, i8 4, i8 4>
  %104 = lshr <4 x i8> %wide.load81, <i8 2, i8 2, i8 2, i8 2>
  %105 = and <4 x i8> %104, <i8 48, i8 48, i8 48, i8 48>
  %106 = add nsw <4 x i8> %105, <i8 -32, i8 -32, i8 -32, i8 -32>
  %107 = or disjoint <4 x i8> %106, %103
  %108 = zext nneg i32 %84 to i64
  %109 = getelementptr inbounds i8, ptr %82, i64 %108
  %110 = load i8, ptr %109, align 1, !tbaa !10
  %broadcast.splatinsert = insertelement <4 x i8> poison, i8 %110, i64 0
  %broadcast.splat = shufflevector <4 x i8> %broadcast.splatinsert, <4 x i8> poison, <4 x i32> zeroinitializer
  %111 = sitofp <4 x i8> %broadcast.splat to <4 x float>
  %112 = fmul <4 x float> %broadcast.splat84, %111
  %113 = sitofp <4 x i8> %91 to <4 x float>
  %114 = fmul <4 x float> %112, %113
  %115 = getelementptr inbounds float, ptr %79, i64 %index
  store <4 x float> %114, ptr %115, align 4, !tbaa !11
  %116 = or disjoint i32 %84, 2
  %117 = zext nneg i32 %116 to i64
  %118 = getelementptr inbounds i8, ptr %82, i64 %117
  %119 = load i8, ptr %118, align 1, !tbaa !10
  %broadcast.splatinsert85 = insertelement <4 x i8> poison, i8 %119, i64 0
  %broadcast.splat86 = shufflevector <4 x i8> %broadcast.splatinsert85, <4 x i8> poison, <4 x i32> zeroinitializer
  %120 = sitofp <4 x i8> %broadcast.splat86 to <4 x float>
  %121 = fmul <4 x float> %broadcast.splat84, %120
  %122 = sitofp <4 x i8> %98 to <4 x float>
  %123 = fmul <4 x float> %121, %122
  %124 = getelementptr inbounds float, ptr %79, i64 %92
  store <4 x float> %123, ptr %124, align 4, !tbaa !11
  %125 = or disjoint i32 %84, 4
  %126 = zext nneg i32 %125 to i64
  %127 = getelementptr inbounds i8, ptr %82, i64 %126
  %128 = load i8, ptr %127, align 1, !tbaa !10
  %broadcast.splatinsert87 = insertelement <4 x i8> poison, i8 %128, i64 0
  %broadcast.splat88 = shufflevector <4 x i8> %broadcast.splatinsert87, <4 x i8> poison, <4 x i32> zeroinitializer
  %129 = sitofp <4 x i8> %broadcast.splat88 to <4 x float>
  %130 = fmul <4 x float> %broadcast.splat84, %129
  %131 = sitofp <4 x i8> %102 to <4 x float>
  %132 = fmul <4 x float> %130, %131
  %133 = or disjoint i64 %index, 64
  %134 = getelementptr inbounds float, ptr %79, i64 %133
  store <4 x float> %132, ptr %134, align 4, !tbaa !11
  %135 = or disjoint i32 %84, 6
  %136 = zext nneg i32 %135 to i64
  %137 = getelementptr inbounds i8, ptr %82, i64 %136
  %138 = load i8, ptr %137, align 1, !tbaa !10
  %broadcast.splatinsert89 = insertelement <4 x i8> poison, i8 %138, i64 0
  %broadcast.splat90 = shufflevector <4 x i8> %broadcast.splatinsert89, <4 x i8> poison, <4 x i32> zeroinitializer
  %139 = sitofp <4 x i8> %broadcast.splat90 to <4 x float>
  %140 = fmul <4 x float> %broadcast.splat84, %139
  %141 = sitofp <4 x i8> %107 to <4 x float>
  %142 = fmul <4 x float> %140, %141
  %143 = or disjoint i64 %index, 96
  %144 = getelementptr inbounds float, ptr %79, i64 %143
  store <4 x float> %142, ptr %144, align 4, !tbaa !11
  %index.next = add nuw i64 %index, 4
  %145 = icmp eq i64 %index.next, 32
  br i1 %145, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %vector.body
  %146 = getelementptr inbounds i8, ptr %.075, i64 1024
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %exitcond80.not = icmp eq i64 %indvars.iv.next78, %8
  br i1 %exitcond80.not, label %._crit_edge, label %.lr.ph, !llvm.loop !18
}

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 = { 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 #2 = { 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 = { noreturn 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 208}
!6 = !{!"", !7, i64 0, !7, i64 128, !7, i64 192, !9, i64 208}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"short", !7, i64 0}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !15, !16}
!18 = distinct !{!18, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass