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

; 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.ggml_tensor = type { i32, ptr, [4 x i64], [4 x i64], i32, [16 x i32], i32, [10 x ptr], ptr, i64, ptr, [64 x i8], ptr, [8 x i8] }

@stderr = external global ptr, align 8
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @ggml_opt_inputs(ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @ggml_opt_result_loss(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @ggml_opt_result_accuracy(ptr noundef, ptr noundef, ptr noundef) #1

declare i64 @ggml_time_us() #2

; Function Attrs: mustprogress uwtable
define dso_local void @ggml_opt_epoch_callback_progress_bar(i1 noundef zeroext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #3 {
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = zext i1 %0 to i8
  store i8 %33, ptr %8, align 1, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !9
  store i64 %4, ptr %12, align 8, !tbaa !11
  store i64 %5, ptr %13, align 8, !tbaa !11
  store i64 %6, ptr %14, align 8, !tbaa !11
  %34 = load ptr, ptr @stderr, align 8, !tbaa !9
  %35 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %38

37:                                               ; preds = %7
  br label %39

38:                                               ; preds = %7
  br label %39

39:                                               ; preds = %38, %37
  %40 = phi ptr [ @.str.33, %37 ], [ @.str.34, %38 ]
  %41 = getelementptr inbounds [8 x i8], ptr %40, i64 0, i64 0
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.32, ptr noundef %41) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 25, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !11
  br label %43

43:                                               ; preds = %74, %39
  %44 = load i64, ptr %16, align 8, !tbaa !11
  %45 = icmp slt i64 %44, 25
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %77

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %48 = load i64, ptr %13, align 8, !tbaa !11
  %49 = load i64, ptr %16, align 8, !tbaa !11
  %50 = mul nsw i64 %48, %49
  %51 = sdiv i64 %50, 25
  store i64 %51, ptr %17, align 8, !tbaa !11
  %52 = load i64, ptr %17, align 8, !tbaa !11
  %53 = load i64, ptr %12, align 8, !tbaa !11
  %54 = icmp slt i64 %52, %53
  br i1 %54, label %55, label %58

55:                                               ; preds = %47
  %56 = load ptr, ptr @stderr, align 8, !tbaa !9
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.35) #5
  br label %73

58:                                               ; preds = %47
  %59 = load i64, ptr %13, align 8, !tbaa !11
  %60 = load i64, ptr %16, align 8, !tbaa !11
  %61 = sub nsw i64 %60, 1
  %62 = mul nsw i64 %59, %61
  %63 = sdiv i64 %62, 25
  %64 = load i64, ptr %12, align 8, !tbaa !11
  %65 = icmp slt i64 %63, %64
  br i1 %65, label %66, label %69

66:                                               ; preds = %58
  %67 = load ptr, ptr @stderr, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.36) #5
  br label %72

69:                                               ; preds = %58
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.37) #5
  br label %72

72:                                               ; preds = %69, %66
  br label %73

73:                                               ; preds = %72, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %74

74:                                               ; preds = %73
  %75 = load i64, ptr %16, align 8, !tbaa !11
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %16, align 8, !tbaa !11
  br label %43, !llvm.loop !15

77:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %78 = load ptr, ptr %9, align 8, !tbaa !9
  %79 = call ptr @ggml_opt_inputs(ptr noundef %78)
  %80 = getelementptr inbounds %struct.ggml_tensor, ptr %79, i32 0, i32 2
  %81 = getelementptr inbounds [4 x i64], ptr %80, i64 0, i64 1
  %82 = load i64, ptr %81, align 8, !tbaa !11
  store i64 %82, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %83 = load i64, ptr %12, align 8, !tbaa !11
  %84 = load i64, ptr %18, align 8, !tbaa !11
  %85 = mul nsw i64 %83, %84
  store i64 %85, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %86 = load i64, ptr %13, align 8, !tbaa !11
  %87 = load i64, ptr %18, align 8, !tbaa !11
  %88 = mul nsw i64 %86, %87
  store i64 %88, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %89 = load ptr, ptr %11, align 8, !tbaa !9
  call void @ggml_opt_result_loss(ptr noundef %89, ptr noundef %21, ptr noundef %22)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %90 = load ptr, ptr %11, align 8, !tbaa !9
  call void @ggml_opt_result_accuracy(ptr noundef %90, ptr noundef %23, ptr noundef %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %91 = call i64 @ggml_time_us()
  %92 = load i64, ptr %14, align 8, !tbaa !11
  %93 = sub nsw i64 %91, %92
  store i64 %93, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %94 = load i64, ptr %25, align 8, !tbaa !11
  %95 = sdiv i64 %94, 1000000
  store i64 %95, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %96 = load i64, ptr %26, align 8, !tbaa !11
  %97 = sdiv i64 %96, 3600
  store i64 %97, ptr %27, align 8, !tbaa !11
  %98 = load i64, ptr %27, align 8, !tbaa !11
  %99 = mul nsw i64 %98, 3600
  %100 = load i64, ptr %26, align 8, !tbaa !11
  %101 = sub nsw i64 %100, %99
  store i64 %101, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %102 = load i64, ptr %26, align 8, !tbaa !11
  %103 = sdiv i64 %102, 60
  store i64 %103, ptr %28, align 8, !tbaa !11
  %104 = load i64, ptr %28, align 8, !tbaa !11
  %105 = mul nsw i64 %104, 60
  %106 = load i64, ptr %26, align 8, !tbaa !11
  %107 = sub nsw i64 %106, %105
  store i64 %107, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %108 = load i64, ptr %25, align 8, !tbaa !11
  %109 = load i64, ptr %13, align 8, !tbaa !11
  %110 = load i64, ptr %12, align 8, !tbaa !11
  %111 = sub nsw i64 %109, %110
  %112 = mul nsw i64 %108, %111
  %113 = load i64, ptr %12, align 8, !tbaa !11
  %114 = sdiv i64 %112, %113
  store i64 %114, ptr %29, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %115 = load i64, ptr %29, align 8, !tbaa !11
  %116 = sdiv i64 %115, 1000000
  store i64 %116, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %117 = load i64, ptr %30, align 8, !tbaa !11
  %118 = sdiv i64 %117, 3600
  store i64 %118, ptr %31, align 8, !tbaa !11
  %119 = load i64, ptr %31, align 8, !tbaa !11
  %120 = mul nsw i64 %119, 3600
  %121 = load i64, ptr %30, align 8, !tbaa !11
  %122 = sub nsw i64 %121, %120
  store i64 %122, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %123 = load i64, ptr %30, align 8, !tbaa !11
  %124 = sdiv i64 %123, 60
  store i64 %124, ptr %32, align 8, !tbaa !11
  %125 = load i64, ptr %32, align 8, !tbaa !11
  %126 = mul nsw i64 %125, 60
  %127 = load i64, ptr %30, align 8, !tbaa !11
  %128 = sub nsw i64 %127, %126
  store i64 %128, ptr %30, align 8, !tbaa !11
  %129 = load ptr, ptr @stderr, align 8, !tbaa !9
  %130 = load i64, ptr %19, align 8, !tbaa !11
  %131 = load i64, ptr %20, align 8, !tbaa !11
  %132 = load double, ptr %21, align 8, !tbaa !17
  %133 = load double, ptr %22, align 8, !tbaa !17
  %134 = load double, ptr %23, align 8, !tbaa !17
  %135 = fmul double 1.000000e+02, %134
  %136 = load double, ptr %24, align 8, !tbaa !17
  %137 = fmul double 1.000000e+02, %136
  %138 = load i64, ptr %27, align 8, !tbaa !11
  %139 = load i64, ptr %28, align 8, !tbaa !11
  %140 = load i64, ptr %26, align 8, !tbaa !11
  %141 = load i64, ptr %31, align 8, !tbaa !11
  %142 = load i64, ptr %32, align 8, !tbaa !11
  %143 = load i64, ptr %30, align 8, !tbaa !11
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.38, i64 noundef %130, i64 noundef %131, double noundef %132, double noundef %133, double noundef %135, double noundef %137, i64 noundef %138, i64 noundef %139, i64 noundef %140, i64 noundef %141, i64 noundef %142, i64 noundef %143) #5
  %145 = load i64, ptr %12, align 8, !tbaa !11
  %146 = load i64, ptr %13, align 8, !tbaa !11
  %147 = icmp eq i64 %145, %146
  br i1 %147, label %148, label %151

148:                                              ; preds = %77
  %149 = load ptr, ptr @stderr, align 8, !tbaa !9
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef @.str.39) #5
  br label %151

151:                                              ; preds = %148, %77
  %152 = load ptr, ptr @stderr, align 8, !tbaa !9
  %153 = call i32 @fflush(ptr noundef %152)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  ret void
}

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

declare i32 @fflush(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { "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 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 }

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}


; 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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @ggml_opt_inputs(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @ggml_opt_result_loss(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @ggml_opt_result_accuracy(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i64 @ggml_time_us() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @ggml_opt_epoch_callback_progress_bar(i1 noundef zeroext %0, ptr noundef %1, ptr nocapture noundef readnone %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #3 {
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = load ptr, ptr @stderr, align 8, !tbaa !5
  %.str.33..str.34 = select i1 %0, ptr @.str.33, ptr @.str.34
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.32, ptr noundef nonnull %.str.33..str.34) #5
  br label %44

14:                                               ; preds = %61
  %15 = tail call ptr @ggml_opt_inputs(ptr noundef %1)
  %16 = getelementptr inbounds i8, ptr %15, i64 24
  %17 = load i64, ptr %16, align 8, !tbaa !9
  %18 = mul nsw i64 %17, %4
  %19 = mul nsw i64 %17, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @ggml_opt_result_loss(ptr noundef %3, ptr noundef nonnull %8, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  call void @ggml_opt_result_accuracy(ptr noundef %3, ptr noundef nonnull %10, ptr noundef nonnull %11)
  %20 = call i64 @ggml_time_us()
  %21 = sub nsw i64 %20, %6
  %22 = sdiv i64 %21, 1000000
  %23 = sdiv i64 %21, 3600000000
  %.neg = mul nsw i64 %23, -3600
  %24 = add nsw i64 %.neg, %22
  %25 = sdiv i64 %24, 60
  %.neg46 = mul nsw i64 %25, -60
  %26 = add nsw i64 %.neg46, %24
  %27 = sub nsw i64 %5, %4
  %28 = mul nsw i64 %21, %27
  %29 = sdiv i64 %28, %4
  %30 = sdiv i64 %29, 1000000
  %31 = sdiv i64 %29, 3600000000
  %.neg47 = mul nsw i64 %31, -3600
  %32 = add nsw i64 %.neg47, %30
  %33 = sdiv i64 %32, 60
  %.neg48 = mul nsw i64 %33, -60
  %34 = add nsw i64 %.neg48, %32
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = load double, ptr %8, align 8, !tbaa !11
  %37 = load double, ptr %9, align 8, !tbaa !11
  %38 = load double, ptr %10, align 8, !tbaa !11
  %39 = fmul double %38, 1.000000e+02
  %40 = load double, ptr %11, align 8, !tbaa !11
  %41 = fmul double %40, 1.000000e+02
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.38, i64 noundef %18, i64 noundef %19, double noundef %36, double noundef %37, double noundef %39, double noundef %41, i64 noundef %23, i64 noundef %25, i64 noundef %26, i64 noundef %31, i64 noundef %33, i64 noundef %34) #5
  %43 = icmp eq i64 %4, %5
  br i1 %43, label %63, label %66

44:                                               ; preds = %7, %61
  %.049 = phi i64 [ 0, %7 ], [ %62, %61 ]
  %45 = mul nsw i64 %.049, %5
  %46 = sdiv i64 %45, 25
  %47 = icmp slt i64 %46, %4
  br i1 %47, label %48, label %51

48:                                               ; preds = %44
  %49 = load ptr, ptr @stderr, align 8, !tbaa !5
  %50 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str.35) #5
  br label %61

51:                                               ; preds = %44
  %52 = add nsw i64 %.049, -1
  %53 = mul nsw i64 %52, %5
  %54 = sdiv i64 %53, 25
  %55 = icmp slt i64 %54, %4
  %56 = load ptr, ptr @stderr, align 8, !tbaa !5
  br i1 %55, label %57, label %59

57:                                               ; preds = %51
  %58 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str.36) #5
  br label %61

59:                                               ; preds = %51
  %60 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str.37) #5
  br label %61

61:                                               ; preds = %57, %59, %48
  %62 = add nuw nsw i64 %.049, 1
  %exitcond.not = icmp eq i64 %62, 25
  br i1 %exitcond.not, label %14, label %44, !llvm.loop !13

63:                                               ; preds = %14
  %64 = load ptr, ptr @stderr, align 8, !tbaa !5
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef nonnull @.str.39) #5
  br label %66

66:                                               ; preds = %63, %14
  %67 = load ptr, ptr @stderr, align 8, !tbaa !5
  %68 = call i32 @fflush(ptr noundef %67)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { "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 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 = { nofree 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 = { cold 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass