; LLVM IR from tangjz/acm-icpc :: codeforces/gym (100827E)

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

@f = external dso_local global [2 x [11 x [71 x i64]]], align 16
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5solvev() #0

declare i32 @__isoc99_scanf(ptr noundef, ...) #1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %22, %0
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = icmp slt i32 %10, 10
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %25

13:                                               ; preds = %9
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds ([2 x [11 x [71 x i64]]], ptr @f, i64 0, i64 1), i64 0, i64 %15
  %17 = getelementptr inbounds [71 x i64], ptr %16, i64 0, i64 0
  store i64 1, ptr %17, align 8, !tbaa !9
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 %19
  %21 = getelementptr inbounds [71 x i64], ptr %20, i64 0, i64 0
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %22

22:                                               ; preds = %13
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr %2, align 4, !tbaa !5
  br label %9, !llvm.loop !11

25:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %91, %25
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = icmp slt i32 %27, 71
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %94

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %87, %30
  %32 = load i32, ptr %5, align 4, !tbaa !5
  %33 = icmp slt i32 %32, 10
  br i1 %33, label %35, label %34

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

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

36:                                               ; preds = %83, %35
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = icmp slt i32 %37, 10
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %86

40:                                               ; preds = %36
  %41 = load i32, ptr %5, align 4, !tbaa !5
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = icmp sgt i32 %41, %42
  %44 = zext i1 %43 to i64
  %45 = getelementptr inbounds [2 x [11 x [71 x i64]]], ptr @f, i64 0, i64 %44
  %46 = load i32, ptr %6, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [11 x [71 x i64]], ptr %45, i64 0, i64 %47
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = sub nsw i32 %49, 1
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [71 x i64], ptr %48, i64 0, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !9
  %54 = load i32, ptr %5, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 %55
  %57 = load i32, ptr %3, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [71 x i64], ptr %56, i64 0, i64 %58
  %60 = load i64, ptr %59, align 8, !tbaa !9
  %61 = add nsw i64 %60, %53
  store i64 %61, ptr %59, align 8, !tbaa !9
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = icmp sge i32 %62, %63
  br i1 %64, label %65, label %82

65:                                               ; preds = %40
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds ([2 x [11 x [71 x i64]]], ptr @f, i64 0, i64 1), i64 0, i64 %67
  %69 = load i32, ptr %3, align 4, !tbaa !5
  %70 = sub nsw i32 %69, 1
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [71 x i64], ptr %68, i64 0, i64 %71
  %73 = load i64, ptr %72, align 8, !tbaa !9
  %74 = load i32, ptr %5, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds ([2 x [11 x [71 x i64]]], ptr @f, i64 0, i64 1), i64 0, i64 %75
  %77 = load i32, ptr %3, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [71 x i64], ptr %76, i64 0, i64 %78
  %80 = load i64, ptr %79, align 8, !tbaa !9
  %81 = add nsw i64 %80, %73
  store i64 %81, ptr %79, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %65, %40
  br label %83

83:                                               ; preds = %82
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %6, align 4, !tbaa !5
  br label %36, !llvm.loop !13

86:                                               ; preds = %39
  br label %87

87:                                               ; preds = %86
  %88 = load i32, ptr %5, align 4, !tbaa !5
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %5, align 4, !tbaa !5
  br label %31, !llvm.loop !14

90:                                               ; preds = %34
  br label %91

91:                                               ; preds = %90
  %92 = load i32, ptr %3, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %3, align 4, !tbaa !5
  br label %26, !llvm.loop !15

94:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 1, ptr %7, align 4, !tbaa !5
  %95 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.3, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %102, %94
  %97 = load i32, ptr %8, align 4, !tbaa !5
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = icmp sle i32 %97, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %96
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %105

101:                                              ; preds = %96
  call void @_Z5solvev()
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %8, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %8, align 4, !tbaa !5
  br label %96, !llvm.loop !16

105:                                              ; preds = %100
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %106 = load i32, ptr %1, align 4
  ret i32 %106
}

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

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

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


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

@f = external dso_local local_unnamed_addr global [2 x [11 x [71 x i64]]], align 16
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5solvev() local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
.preheader30.preheader:
  %0 = alloca i32, align 4
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 6248), align 8, !tbaa !5
  store i64 1, ptr @f, align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 6816), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 568), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 7384), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 1136), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 7952), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 1704), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 8520), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 2272), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 9088), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 2840), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 9656), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 3408), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 10224), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 3976), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 10792), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 4544), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 11360), align 16, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 5112), align 8, !tbaa !5
  %load_initial = load i64, ptr @f, align 16
  %load_initial87 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 568), align 8
  %load_initial89 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 1136), align 16
  %load_initial91 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 1704), align 8
  %load_initial93 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 2272), align 16
  %load_initial95 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 2840), align 8
  %load_initial97 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 3408), align 16
  %load_initial99 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 3976), align 8
  %load_initial101 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 4544), align 16
  %load_initial105 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 5112), align 8
  %load_initial109 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 6248), align 8
  %load_initial113 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 6816), align 16
  %load_initial115 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 7384), align 8
  %load_initial117 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 7952), align 16
  %load_initial119 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 8520), align 8
  %load_initial121 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 9088), align 16
  %load_initial123 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 9656), align 8
  %load_initial125 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 10224), align 16
  %load_initial127 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 10792), align 8
  %load_initial131 = load i64, ptr getelementptr inbounds (i8, ptr @f, i64 11360), align 16
  br label %4

1:                                                ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #4
  store i32 1, ptr %0, align 4, !tbaa !9
  %2 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.3, ptr noundef nonnull %0)
  %3 = load i32, ptr %0, align 4, !tbaa !9
  %.not36 = icmp slt i32 %3, 1
  br i1 %.not36, label %._crit_edge, label %.lr.ph

4:                                                ; preds = %4, %.preheader30.preheader
  %store_forwarded132 = phi i64 [ %load_initial131, %.preheader30.preheader ], [ %197, %4 ]
  %store_forwarded128 = phi i64 [ %load_initial127, %.preheader30.preheader ], [ %173, %4 ]
  %store_forwarded126 = phi i64 [ %load_initial125, %.preheader30.preheader ], [ %150, %4 ]
  %store_forwarded124 = phi i64 [ %load_initial123, %.preheader30.preheader ], [ %128, %4 ]
  %store_forwarded122 = phi i64 [ %load_initial121, %.preheader30.preheader ], [ %107, %4 ]
  %store_forwarded120 = phi i64 [ %load_initial119, %.preheader30.preheader ], [ %87, %4 ]
  %store_forwarded118 = phi i64 [ %load_initial117, %.preheader30.preheader ], [ %68, %4 ]
  %store_forwarded116 = phi i64 [ %load_initial115, %.preheader30.preheader ], [ %50, %4 ]
  %store_forwarded114 = phi i64 [ %load_initial113, %.preheader30.preheader ], [ %33, %4 ]
  %store_forwarded110 = phi i64 [ %load_initial109, %.preheader30.preheader ], [ %17, %4 ]
  %store_forwarded106 = phi i64 [ %load_initial105, %.preheader30.preheader ], [ %196, %4 ]
  %store_forwarded102 = phi i64 [ %load_initial101, %.preheader30.preheader ], [ %174, %4 ]
  %store_forwarded100 = phi i64 [ %load_initial99, %.preheader30.preheader ], [ %152, %4 ]
  %store_forwarded98 = phi i64 [ %load_initial97, %.preheader30.preheader ], [ %131, %4 ]
  %store_forwarded96 = phi i64 [ %load_initial95, %.preheader30.preheader ], [ %111, %4 ]
  %store_forwarded94 = phi i64 [ %load_initial93, %.preheader30.preheader ], [ %92, %4 ]
  %store_forwarded92 = phi i64 [ %load_initial91, %.preheader30.preheader ], [ %74, %4 ]
  %store_forwarded90 = phi i64 [ %load_initial89, %.preheader30.preheader ], [ %57, %4 ]
  %store_forwarded88 = phi i64 [ %load_initial87, %.preheader30.preheader ], [ %41, %4 ]
  %store_forwarded = phi i64 [ %load_initial, %.preheader30.preheader ], [ %26, %4 ]
  %5 = phi i64 [ 1, %.preheader30.preheader ], [ %150, %4 ]
  %6 = phi i64 [ 1, %.preheader30.preheader ], [ %128, %4 ]
  %7 = phi i64 [ 1, %.preheader30.preheader ], [ %107, %4 ]
  %8 = phi i64 [ 1, %.preheader30.preheader ], [ %87, %4 ]
  %9 = phi i64 [ 1, %.preheader30.preheader ], [ %68, %4 ]
  %10 = phi i64 [ 1, %.preheader30.preheader ], [ %50, %4 ]
  %11 = phi i64 [ 1, %.preheader30.preheader ], [ %33, %4 ]
  %12 = phi i64 [ 1, %.preheader30.preheader ], [ %17, %4 ]
  %indvars.iv = phi i64 [ 1, %.preheader30.preheader ], [ %indvars.iv.next, %4 ]
  %13 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 0, i64 %indvars.iv
  %.promoted = load i64, ptr %13, align 8, !tbaa !5
  %14 = add nsw i64 %.promoted, %store_forwarded
  %15 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 0, i64 %indvars.iv
  %16 = load i64, ptr %15, align 8, !tbaa !5
  %17 = add nsw i64 %16, %12
  store i64 %17, ptr %15, align 8, !tbaa !5
  %18 = add nsw i64 %14, %store_forwarded88
  %19 = add nsw i64 %18, %store_forwarded90
  %20 = add nsw i64 %19, %store_forwarded92
  %21 = add nsw i64 %20, %store_forwarded94
  %22 = add nsw i64 %21, %store_forwarded96
  %23 = add nsw i64 %22, %store_forwarded98
  %24 = add nsw i64 %23, %store_forwarded100
  %25 = add nsw i64 %24, %store_forwarded102
  %26 = add nsw i64 %25, %store_forwarded106
  store i64 %26, ptr %13, align 8, !tbaa !5
  %27 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 1, i64 %indvars.iv
  %.promoted.1 = load i64, ptr %27, align 8, !tbaa !5
  %28 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 1, i64 %indvars.iv
  %29 = add nsw i64 %.promoted.1, %store_forwarded110
  %30 = load i64, ptr %28, align 8, !tbaa !5
  %31 = add nsw i64 %30, %store_forwarded110
  %32 = add nsw i64 %29, %store_forwarded88
  %33 = add nsw i64 %31, %11
  store i64 %33, ptr %28, align 8, !tbaa !5
  %34 = add nsw i64 %32, %store_forwarded90
  %35 = add nsw i64 %34, %store_forwarded92
  %36 = add nsw i64 %35, %store_forwarded94
  %37 = add nsw i64 %36, %store_forwarded96
  %38 = add nsw i64 %37, %store_forwarded98
  %39 = add nsw i64 %38, %store_forwarded100
  %40 = add nsw i64 %39, %store_forwarded102
  %41 = add nsw i64 %40, %store_forwarded106
  store i64 %41, ptr %27, align 8, !tbaa !5
  %42 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 2, i64 %indvars.iv
  %.promoted.2 = load i64, ptr %42, align 8, !tbaa !5
  %43 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 2, i64 %indvars.iv
  %44 = add nsw i64 %.promoted.2, %store_forwarded110
  %45 = load i64, ptr %43, align 8, !tbaa !5
  %46 = add nsw i64 %45, %store_forwarded110
  %47 = add nsw i64 %44, %store_forwarded114
  %48 = add nsw i64 %46, %store_forwarded114
  %49 = add nsw i64 %47, %store_forwarded90
  %50 = add nsw i64 %48, %10
  store i64 %50, ptr %43, align 8, !tbaa !5
  %51 = add nsw i64 %49, %store_forwarded92
  %52 = add nsw i64 %51, %store_forwarded94
  %53 = add nsw i64 %52, %store_forwarded96
  %54 = add nsw i64 %53, %store_forwarded98
  %55 = add nsw i64 %54, %store_forwarded100
  %56 = add nsw i64 %55, %store_forwarded102
  %57 = add nsw i64 %56, %store_forwarded106
  store i64 %57, ptr %42, align 8, !tbaa !5
  %58 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 3, i64 %indvars.iv
  %.promoted.3 = load i64, ptr %58, align 8, !tbaa !5
  %59 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 3, i64 %indvars.iv
  %60 = add nsw i64 %.promoted.3, %store_forwarded110
  %61 = load i64, ptr %59, align 8, !tbaa !5
  %62 = add nsw i64 %61, %store_forwarded110
  %63 = add nsw i64 %60, %store_forwarded114
  %64 = add nsw i64 %62, %store_forwarded114
  %65 = add nsw i64 %63, %store_forwarded116
  %66 = add nsw i64 %64, %store_forwarded116
  %67 = add nsw i64 %65, %store_forwarded92
  %68 = add nsw i64 %66, %9
  store i64 %68, ptr %59, align 8, !tbaa !5
  %69 = add nsw i64 %67, %store_forwarded94
  %70 = add nsw i64 %69, %store_forwarded96
  %71 = add nsw i64 %70, %store_forwarded98
  %72 = add nsw i64 %71, %store_forwarded100
  %73 = add nsw i64 %72, %store_forwarded102
  %74 = add nsw i64 %73, %store_forwarded106
  store i64 %74, ptr %58, align 8, !tbaa !5
  %75 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 4, i64 %indvars.iv
  %.promoted.4 = load i64, ptr %75, align 8, !tbaa !5
  %76 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 4, i64 %indvars.iv
  %77 = add nsw i64 %.promoted.4, %store_forwarded110
  %78 = load i64, ptr %76, align 8, !tbaa !5
  %79 = add nsw i64 %78, %store_forwarded110
  %80 = add nsw i64 %77, %store_forwarded114
  %81 = add nsw i64 %79, %store_forwarded114
  %82 = add nsw i64 %80, %store_forwarded116
  %83 = add nsw i64 %81, %store_forwarded116
  %84 = add nsw i64 %82, %store_forwarded118
  %85 = add nsw i64 %83, %store_forwarded118
  %86 = add nsw i64 %84, %store_forwarded94
  %87 = add nsw i64 %85, %8
  store i64 %87, ptr %76, align 8, !tbaa !5
  %88 = add nsw i64 %86, %store_forwarded96
  %89 = add nsw i64 %88, %store_forwarded98
  %90 = add nsw i64 %89, %store_forwarded100
  %91 = add nsw i64 %90, %store_forwarded102
  %92 = add nsw i64 %91, %store_forwarded106
  store i64 %92, ptr %75, align 8, !tbaa !5
  %93 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 5, i64 %indvars.iv
  %.promoted.5 = load i64, ptr %93, align 8, !tbaa !5
  %94 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 5, i64 %indvars.iv
  %95 = add nsw i64 %.promoted.5, %store_forwarded110
  %96 = load i64, ptr %94, align 8, !tbaa !5
  %97 = add nsw i64 %96, %store_forwarded110
  %98 = add nsw i64 %95, %store_forwarded114
  %99 = add nsw i64 %97, %store_forwarded114
  %100 = add nsw i64 %98, %store_forwarded116
  %101 = add nsw i64 %99, %store_forwarded116
  %102 = add nsw i64 %100, %store_forwarded118
  %103 = add nsw i64 %101, %store_forwarded118
  %104 = add nsw i64 %102, %store_forwarded120
  %105 = add nsw i64 %103, %store_forwarded120
  %106 = add nsw i64 %104, %store_forwarded96
  %107 = add nsw i64 %105, %7
  store i64 %107, ptr %94, align 8, !tbaa !5
  %108 = add nsw i64 %106, %store_forwarded98
  %109 = add nsw i64 %108, %store_forwarded100
  %110 = add nsw i64 %109, %store_forwarded102
  %111 = add nsw i64 %110, %store_forwarded106
  store i64 %111, ptr %93, align 8, !tbaa !5
  %112 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 6, i64 %indvars.iv
  %.promoted.6 = load i64, ptr %112, align 8, !tbaa !5
  %113 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 6, i64 %indvars.iv
  %114 = add nsw i64 %.promoted.6, %store_forwarded110
  %115 = load i64, ptr %113, align 8, !tbaa !5
  %116 = add nsw i64 %115, %store_forwarded110
  %117 = add nsw i64 %114, %store_forwarded114
  %118 = add nsw i64 %116, %store_forwarded114
  %119 = add nsw i64 %117, %store_forwarded116
  %120 = add nsw i64 %118, %store_forwarded116
  %121 = add nsw i64 %119, %store_forwarded118
  %122 = add nsw i64 %120, %store_forwarded118
  %123 = add nsw i64 %121, %store_forwarded120
  %124 = add nsw i64 %122, %store_forwarded120
  %125 = add nsw i64 %123, %store_forwarded122
  %126 = add nsw i64 %124, %store_forwarded122
  %127 = add nsw i64 %125, %store_forwarded98
  %128 = add nsw i64 %126, %6
  store i64 %128, ptr %113, align 8, !tbaa !5
  %129 = add nsw i64 %127, %store_forwarded100
  %130 = add nsw i64 %129, %store_forwarded102
  %131 = add nsw i64 %130, %store_forwarded106
  store i64 %131, ptr %112, align 8, !tbaa !5
  %132 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 7, i64 %indvars.iv
  %.promoted.7 = load i64, ptr %132, align 8, !tbaa !5
  %133 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 7, i64 %indvars.iv
  %134 = add nsw i64 %.promoted.7, %store_forwarded110
  %135 = load i64, ptr %133, align 8, !tbaa !5
  %136 = add nsw i64 %135, %store_forwarded110
  %137 = add nsw i64 %134, %store_forwarded114
  %138 = add nsw i64 %136, %store_forwarded114
  %139 = add nsw i64 %137, %store_forwarded116
  %140 = add nsw i64 %138, %store_forwarded116
  %141 = add nsw i64 %139, %store_forwarded118
  %142 = add nsw i64 %140, %store_forwarded118
  %143 = add nsw i64 %141, %store_forwarded120
  %144 = add nsw i64 %142, %store_forwarded120
  %145 = add nsw i64 %143, %store_forwarded122
  %146 = add nsw i64 %144, %store_forwarded122
  %147 = add nsw i64 %145, %store_forwarded124
  %148 = add nsw i64 %146, %store_forwarded124
  %149 = add nsw i64 %147, %store_forwarded100
  %150 = add nsw i64 %148, %5
  store i64 %150, ptr %133, align 8, !tbaa !5
  %151 = add nsw i64 %149, %store_forwarded102
  %152 = add nsw i64 %151, %store_forwarded106
  store i64 %152, ptr %132, align 8, !tbaa !5
  %153 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 8, i64 %indvars.iv
  %.promoted.8 = load i64, ptr %153, align 8, !tbaa !5
  %154 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 8, i64 %indvars.iv
  %155 = add nsw i64 %.promoted.8, %store_forwarded110
  %156 = load i64, ptr %154, align 8, !tbaa !5
  %157 = add nsw i64 %156, %store_forwarded110
  %158 = add nsw i64 %155, %store_forwarded114
  %159 = add nsw i64 %157, %store_forwarded114
  %160 = add nsw i64 %158, %store_forwarded116
  %161 = add nsw i64 %159, %store_forwarded116
  %162 = add nsw i64 %160, %store_forwarded118
  %163 = add nsw i64 %161, %store_forwarded118
  %164 = add nsw i64 %162, %store_forwarded120
  %165 = add nsw i64 %163, %store_forwarded120
  %166 = add nsw i64 %164, %store_forwarded122
  %167 = add nsw i64 %165, %store_forwarded122
  %168 = add nsw i64 %166, %store_forwarded124
  %169 = add nsw i64 %167, %store_forwarded124
  %170 = add nsw i64 %168, %store_forwarded126
  %171 = add nsw i64 %169, %store_forwarded126
  %172 = add nsw i64 %170, %store_forwarded102
  %173 = add nsw i64 %171, %store_forwarded128
  store i64 %173, ptr %154, align 8, !tbaa !5
  %174 = add nsw i64 %172, %store_forwarded106
  store i64 %174, ptr %153, align 8, !tbaa !5
  %175 = getelementptr inbounds [11 x [71 x i64]], ptr @f, i64 0, i64 9, i64 %indvars.iv
  %.promoted.9 = load i64, ptr %175, align 8, !tbaa !5
  %176 = getelementptr inbounds [11 x [71 x i64]], ptr getelementptr inbounds (i8, ptr @f, i64 6248), i64 0, i64 9, i64 %indvars.iv
  %177 = add nsw i64 %.promoted.9, %store_forwarded110
  %178 = load i64, ptr %176, align 8, !tbaa !5
  %179 = add nsw i64 %178, %store_forwarded110
  %180 = add nsw i64 %177, %store_forwarded114
  %181 = add nsw i64 %179, %store_forwarded114
  %182 = add nsw i64 %180, %store_forwarded116
  %183 = add nsw i64 %181, %store_forwarded116
  %184 = add nsw i64 %182, %store_forwarded118
  %185 = add nsw i64 %183, %store_forwarded118
  %186 = add nsw i64 %184, %store_forwarded120
  %187 = add nsw i64 %185, %store_forwarded120
  %188 = add nsw i64 %186, %store_forwarded122
  %189 = add nsw i64 %187, %store_forwarded122
  %190 = add nsw i64 %188, %store_forwarded124
  %191 = add nsw i64 %189, %store_forwarded124
  %192 = add nsw i64 %190, %store_forwarded126
  %193 = add nsw i64 %191, %store_forwarded126
  %194 = add nsw i64 %192, %store_forwarded128
  %195 = add nsw i64 %193, %store_forwarded128
  %196 = add nsw i64 %194, %store_forwarded106
  %197 = add nsw i64 %195, %store_forwarded132
  store i64 %197, ptr %176, align 8, !tbaa !5
  store i64 %196, ptr %175, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 71
  br i1 %exitcond.not, label %1, label %4, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #4
  ret i32 0

.lr.ph:                                           ; preds = %1, %.lr.ph
  %.037 = phi i32 [ %198, %.lr.ph ], [ 1, %1 ]
  call void @_Z5solvev()
  %198 = add nuw nsw i32 %.037, 1
  %199 = load i32, ptr %0, align 4, !tbaa !9
  %.not.not = icmp slt i32 %.037, %199
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !13
}

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

!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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass