; 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_tq2_0 = type { [64 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__.quantize_row_tq2_0_ref = external hidden unnamed_addr constant [83 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 speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2

; 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 zeroext i16 @ggml_compute_fp32_to_fp16(float noundef) #3

; Function Attrs: nounwind
declare i64 @lroundf(float noundef) #4

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

23:                                               ; preds = %3
  br label %25

24:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 2092, ptr noundef @__PRETTY_FUNCTION__.quantize_row_tq2_0_ref) #6
  unreachable

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

28:                                               ; preds = %134, %25
  %29 = load i64, ptr %8, align 8, !tbaa !9
  %30 = load i64, ptr %7, align 8, !tbaa !9
  %31 = icmp slt i64 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %137

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store float 0.000000e+00, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %34

34:                                               ; preds = %55, %33
  %35 = load i32, ptr %11, align 4, !tbaa !13
  %36 = icmp slt i32 %35, 256
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %58

38:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = load i32, ptr %11, align 4, !tbaa !13
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds float, ptr %39, i64 %41
  %43 = load float, ptr %42, align 4, !tbaa !11
  store float %43, ptr %12, align 4, !tbaa !11
  %44 = load float, ptr %10, align 4, !tbaa !11
  %45 = load float, ptr %12, align 4, !tbaa !11
  %46 = call float @llvm.fabs.f32(float %45)
  %47 = fcmp ogt float %44, %46
  br i1 %47, label %48, label %50

48:                                               ; preds = %38
  %49 = load float, ptr %10, align 4, !tbaa !11
  br label %53

50:                                               ; preds = %38
  %51 = load float, ptr %12, align 4, !tbaa !11
  %52 = call float @llvm.fabs.f32(float %51)
  br label %53

53:                                               ; preds = %50, %48
  %54 = phi float [ %49, %48 ], [ %52, %50 ]
  store float %54, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %55

55:                                               ; preds = %53
  %56 = load i32, ptr %11, align 4, !tbaa !13
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %11, align 4, !tbaa !13
  br label %34, !llvm.loop !15

58:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %59 = load float, ptr %10, align 4, !tbaa !11
  store float %59, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %60 = load float, ptr %13, align 4, !tbaa !11
  %61 = fcmp une float %60, 0.000000e+00
  br i1 %61, label %62, label %65

62:                                               ; preds = %58
  %63 = load float, ptr %13, align 4, !tbaa !11
  %64 = fdiv float 1.000000e+00, %63
  br label %66

65:                                               ; preds = %58
  br label %66

66:                                               ; preds = %65, %62
  %67 = phi float [ %64, %62 ], [ 0.000000e+00, %65 ]
  store float %67, ptr %14, align 4, !tbaa !11
  %68 = load float, ptr %13, align 4, !tbaa !11
  %69 = call zeroext i16 @ggml_compute_fp32_to_fp16(float noundef %68)
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = load i64, ptr %8, align 8, !tbaa !9
  %72 = getelementptr inbounds %struct.block_tq2_0, ptr %70, i64 %71
  %73 = getelementptr inbounds %struct.block_tq2_0, ptr %72, i32 0, i32 1
  store i16 %69, ptr %73, align 2, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %74

74:                                               ; preds = %130, %66
  %75 = load i64, ptr %15, align 8, !tbaa !9
  %76 = icmp ult i64 %75, 64
  br i1 %76, label %78, label %77

77:                                               ; preds = %74
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %133

78:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %79

79:                                               ; preds = %124, %78
  %80 = load i64, ptr %16, align 8, !tbaa !9
  %81 = icmp ult i64 %80, 32
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %127

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 0, ptr %17, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %84

84:                                               ; preds = %111, %83
  %85 = load i64, ptr %18, align 8, !tbaa !9
  %86 = icmp ult i64 %85, 4
  br i1 %86, label %88, label %87

87:                                               ; preds = %84
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %114

88:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = load i64, ptr %16, align 8, !tbaa !9
  %91 = load i64, ptr %18, align 8, !tbaa !9
  %92 = mul i64 %91, 32
  %93 = add i64 %90, %92
  %94 = getelementptr inbounds float, ptr %89, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !11
  %96 = load float, ptr %14, align 4, !tbaa !11
  %97 = fmul float %95, %96
  %98 = call i64 @lroundf(float noundef %97) #7
  %99 = add nsw i64 %98, 1
  %100 = trunc i64 %99 to i32
  store i32 %100, ptr %19, align 4, !tbaa !13
  %101 = load i32, ptr %19, align 4, !tbaa !13
  %102 = and i32 %101, 3
  %103 = load i64, ptr %18, align 8, !tbaa !9
  %104 = mul i64 2, %103
  %105 = trunc i64 %104 to i32
  %106 = shl i32 %102, %105
  %107 = load i8, ptr %17, align 1, !tbaa !20
  %108 = zext i8 %107 to i32
  %109 = add nsw i32 %108, %106
  %110 = trunc i32 %109 to i8
  store i8 %110, ptr %17, align 1, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %111

111:                                              ; preds = %88
  %112 = load i64, ptr %18, align 8, !tbaa !9
  %113 = add i64 %112, 1
  store i64 %113, ptr %18, align 8, !tbaa !9
  br label %84, !llvm.loop !21

114:                                              ; preds = %87
  %115 = load i8, ptr %17, align 1, !tbaa !20
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = load i64, ptr %8, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.block_tq2_0, ptr %116, i64 %117
  %119 = getelementptr inbounds %struct.block_tq2_0, ptr %118, i32 0, i32 0
  %120 = load i64, ptr %15, align 8, !tbaa !9
  %121 = load i64, ptr %16, align 8, !tbaa !9
  %122 = add i64 %120, %121
  %123 = getelementptr inbounds [64 x i8], ptr %119, i64 0, i64 %122
  store i8 %115, ptr %123, align 1, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %124

124:                                              ; preds = %114
  %125 = load i64, ptr %16, align 8, !tbaa !9
  %126 = add i64 %125, 1
  store i64 %126, ptr %16, align 8, !tbaa !9
  br label %79, !llvm.loop !22

127:                                              ; preds = %82
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds float, ptr %128, i64 128
  store ptr %129, ptr %4, align 8, !tbaa !5
  br label %130

130:                                              ; preds = %127
  %131 = load i64, ptr %15, align 8, !tbaa !9
  %132 = add i64 %131, 32
  store i64 %132, ptr %15, align 8, !tbaa !9
  br label %74, !llvm.loop !23

133:                                              ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %134

134:                                              ; preds = %133
  %135 = load i64, ptr %8, align 8, !tbaa !9
  %136 = add nsw i64 %135, 1
  store i64 %136, ptr %8, align 8, !tbaa !9
  br label %28, !llvm.loop !24

137:                                              ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  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 nosync nounwind speculatable willreturn memory(none) }
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 "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 = { 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 = { noreturn nounwind }
attributes #7 = { 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 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !19, i64 64}
!18 = !{!"", !7, i64 0, !19, i64 64}
!19 = !{!"short", !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}


; 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_tq2_0 = type { [64 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__.quantize_row_tq2_0_ref = external hidden unnamed_addr constant [83 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 speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1

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

; Function Attrs: nounwind
declare i64 @lroundf(float noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @quantize_row_tq2_0_ref(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #4 {
  %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 2092, ptr noundef nonnull @__PRETTY_FUNCTION__.quantize_row_tq2_0_ref) #5
  unreachable

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

.preheader45:                                     ; preds = %7, %99
  %.054 = phi ptr [ %100, %99 ], [ %0, %7 ]
  %.04153 = phi i64 [ %101, %99 ], [ 0, %7 ]
  br label %16

._crit_edge:                                      ; preds = %99, %7
  ret void

.preheader44:                                     ; preds = %16
  %10 = fcmp une float %26, 0.000000e+00
  %11 = fdiv float 1.000000e+00, %26
  %12 = select i1 %10, float %11, float 0.000000e+00
  %13 = tail call zeroext i16 @ggml_compute_fp32_to_fp16(float noundef %26)
  %14 = getelementptr inbounds %struct.block_tq2_0, ptr %1, i64 %.04153
  %15 = getelementptr inbounds i8, ptr %14, i64 64
  store i16 %13, ptr %15, align 2, !tbaa !5
  br label %.preheader

16:                                               ; preds = %16, %.preheader45
  %indvars.iv = phi i64 [ 0, %.preheader45 ], [ %indvars.iv.next.1, %16 ]
  %.04247 = phi float [ 0.000000e+00, %.preheader45 ], [ %26, %16 ]
  %17 = getelementptr inbounds float, ptr %.054, i64 %indvars.iv
  %18 = load float, ptr %17, align 4, !tbaa !10
  %19 = tail call float @llvm.fabs.f32(float %18)
  %20 = fcmp ogt float %.04247, %19
  %21 = select i1 %20, float %.04247, float %19
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %22 = getelementptr inbounds float, ptr %.054, i64 %indvars.iv.next
  %23 = load float, ptr %22, align 4, !tbaa !10
  %24 = tail call float @llvm.fabs.f32(float %23)
  %25 = fcmp ogt float %21, %24
  %26 = select i1 %25, float %21, float %24
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 256
  br i1 %exitcond.not.1, label %.preheader44, label %16, !llvm.loop !12

.preheader:                                       ; preds = %.preheader44, %.preheader
  %.03950 = phi i64 [ 0, %.preheader44 ], [ %64, %.preheader ]
  %27 = getelementptr inbounds float, ptr %.054, i64 %.03950
  %28 = load float, ptr %27, align 4, !tbaa !10
  %29 = fmul float %12, %28
  %30 = tail call i64 @lroundf(float noundef %29) #6
  %31 = trunc i64 %30 to i8
  %32 = add i8 %31, 1
  %33 = and i8 %32, 3
  %34 = add nuw nsw i64 %.03950, 32
  %35 = getelementptr inbounds float, ptr %.054, i64 %34
  %36 = load float, ptr %35, align 4, !tbaa !10
  %37 = fmul float %12, %36
  %38 = tail call i64 @lroundf(float noundef %37) #6
  %39 = trunc i64 %38 to i8
  %40 = shl i8 %39, 2
  %41 = add i8 %40, 4
  %42 = and i8 %41, 12
  %43 = or disjoint i8 %33, %42
  %44 = add nuw nsw i64 %.03950, 64
  %45 = getelementptr inbounds float, ptr %.054, i64 %44
  %46 = load float, ptr %45, align 4, !tbaa !10
  %47 = fmul float %12, %46
  %48 = tail call i64 @lroundf(float noundef %47) #6
  %49 = trunc i64 %48 to i8
  %50 = shl i8 %49, 4
  %51 = add i8 %50, 16
  %52 = and i8 %51, 48
  %53 = or disjoint i8 %43, %52
  %54 = add nuw nsw i64 %.03950, 96
  %55 = getelementptr inbounds float, ptr %.054, i64 %54
  %56 = load float, ptr %55, align 4, !tbaa !10
  %57 = fmul float %12, %56
  %58 = tail call i64 @lroundf(float noundef %57) #6
  %59 = trunc i64 %58 to i8
  %60 = shl i8 %59, 6
  %61 = add i8 %60, 64
  %62 = or disjoint i8 %53, %61
  %63 = getelementptr inbounds [64 x i8], ptr %14, i64 0, i64 %.03950
  store i8 %62, ptr %63, align 1, !tbaa !14
  %64 = add nuw nsw i64 %.03950, 1
  %exitcond59.not = icmp eq i64 %64, 32
  br i1 %exitcond59.not, label %.preheader44.1, label %.preheader, !llvm.loop !15

.preheader44.1:                                   ; preds = %.preheader
  %65 = getelementptr inbounds i8, ptr %.054, i64 512
  %invariant.gep = getelementptr inbounds i8, ptr %.054, i64 640
  %invariant.gep61 = getelementptr inbounds i8, ptr %.054, i64 768
  %invariant.gep63 = getelementptr inbounds i8, ptr %.054, i64 896
  br label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.1, %.preheader44.1
  %.03950.1 = phi i64 [ 0, %.preheader44.1 ], [ %98, %.preheader.1 ]
  %66 = getelementptr inbounds float, ptr %65, i64 %.03950.1
  %67 = load float, ptr %66, align 4, !tbaa !10
  %68 = fmul float %12, %67
  %69 = tail call i64 @lroundf(float noundef %68) #6
  %70 = trunc i64 %69 to i8
  %71 = add i8 %70, 1
  %72 = and i8 %71, 3
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %.03950.1
  %73 = load float, ptr %gep, align 4, !tbaa !10
  %74 = fmul float %12, %73
  %75 = tail call i64 @lroundf(float noundef %74) #6
  %76 = trunc i64 %75 to i8
  %77 = shl i8 %76, 2
  %78 = add i8 %77, 4
  %79 = and i8 %78, 12
  %80 = or disjoint i8 %72, %79
  %gep62 = getelementptr inbounds float, ptr %invariant.gep61, i64 %.03950.1
  %81 = load float, ptr %gep62, align 4, !tbaa !10
  %82 = fmul float %12, %81
  %83 = tail call i64 @lroundf(float noundef %82) #6
  %84 = trunc i64 %83 to i8
  %85 = shl i8 %84, 4
  %86 = add i8 %85, 16
  %87 = and i8 %86, 48
  %88 = or disjoint i8 %80, %87
  %gep64 = getelementptr inbounds float, ptr %invariant.gep63, i64 %.03950.1
  %89 = load float, ptr %gep64, align 4, !tbaa !10
  %90 = fmul float %12, %89
  %91 = tail call i64 @lroundf(float noundef %90) #6
  %92 = trunc i64 %91 to i8
  %93 = shl i8 %92, 6
  %94 = add i8 %93, 64
  %95 = or disjoint i8 %88, %94
  %96 = or disjoint i64 %.03950.1, 32
  %97 = getelementptr inbounds [64 x i8], ptr %14, i64 0, i64 %96
  store i8 %95, ptr %97, align 1, !tbaa !14
  %98 = add nuw nsw i64 %.03950.1, 1
  %exitcond59.1.not = icmp eq i64 %98, 32
  br i1 %exitcond59.1.not, label %99, label %.preheader.1, !llvm.loop !15

99:                                               ; preds = %.preheader.1
  %100 = getelementptr inbounds i8, ptr %.054, i64 1024
  %101 = add nuw nsw i64 %.04153, 1
  %exitcond60.not = icmp eq i64 %101, %8
  br i1 %exitcond60.not, label %._crit_edge, label %.preheader45, !llvm.loop !16
}

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 speculatable willreturn memory(none) }
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 "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 64}
!6 = !{!"", !7, i64 0, !9, i64 64}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"short", !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}


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