; LLVM IR from tangjz/acm-icpc :: self_training/2015-04-17 (I)

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

@t = external dso_local global i32, align 4
@tt = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@c = external dso_local global [21 x [21 x i64]], align 16
@f = external dso_local global [21 x i64], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %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
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %7

7:                                                ; preds = %56, %0
  %8 = load i32, ptr %2, align 4, !tbaa !5
  %9 = icmp slt i32 %8, 21
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  br label %59

11:                                               ; preds = %7
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %13
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [21 x i64], ptr %14, i64 0, i64 %16
  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 [21 x [21 x i64]], ptr @c, i64 0, i64 %19
  %21 = getelementptr inbounds [21 x i64], ptr %20, i64 0, i64 0
  store i64 1, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %52, %11
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = icmp slt i32 %23, %24
  br i1 %25, label %27, label %26

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

27:                                               ; preds = %22
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = sub nsw i32 %28, 1
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %30
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [21 x i64], ptr %31, i64 0, i64 %33
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = sub nsw i32 %36, 1
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %38
  %40 = load i32, ptr %4, align 4, !tbaa !5
  %41 = sub nsw i32 %40, 1
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [21 x i64], ptr %39, i64 0, i64 %42
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = add nsw i64 %35, %44
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %47
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [21 x i64], ptr %48, i64 0, i64 %50
  store i64 %45, ptr %51, align 8, !tbaa !9
  br label %52

52:                                               ; preds = %27
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %4, align 4, !tbaa !5
  br label %22, !llvm.loop !11

55:                                               ; preds = %26
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %2, align 4, !tbaa !5
  br label %7, !llvm.loop !13

59:                                               ; preds = %10
  store i64 2, ptr getelementptr inbounds ([21 x i64], ptr @f, i64 0, i64 1), align 8, !tbaa !9
  store i64 2, ptr @f, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 2, ptr %5, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %102, %59
  %61 = load i32, ptr %5, align 4, !tbaa !5
  %62 = icmp slt i32 %61, 21
  br i1 %62, label %64, label %63

63:                                               ; preds = %60
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %105

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

65:                                               ; preds = %98, %64
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %101

70:                                               ; preds = %65
  %71 = load i32, ptr %5, align 4, !tbaa !5
  %72 = sub nsw i32 %71, 1
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %73
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [21 x i64], ptr %74, i64 0, i64 %76
  %78 = load i64, ptr %77, align 8, !tbaa !9
  %79 = load i32, ptr %6, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %80
  %82 = load i64, ptr %81, align 8, !tbaa !9
  %83 = mul nsw i64 %78, %82
  %84 = load i32, ptr %5, align 4, !tbaa !5
  %85 = sub nsw i32 %84, 1
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = sub nsw i32 %85, %86
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %88
  %90 = load i64, ptr %89, align 8, !tbaa !9
  %91 = mul nsw i64 %83, %90
  %92 = ashr i64 %91, 2
  %93 = load i32, ptr %5, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %94
  %96 = load i64, ptr %95, align 8, !tbaa !9
  %97 = add nsw i64 %96, %92
  store i64 %97, ptr %95, align 8, !tbaa !9
  br label %98

98:                                               ; preds = %70
  %99 = load i32, ptr %6, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %6, align 4, !tbaa !5
  br label %65, !llvm.loop !14

101:                                              ; preds = %69
  br label %102

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

105:                                              ; preds = %63
  store i64 1, ptr getelementptr inbounds ([21 x i64], ptr @f, i64 0, i64 1), align 8, !tbaa !9
  %106 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t)
  br label %107

107:                                              ; preds = %111, %105
  %108 = load i32, ptr @t, align 4, !tbaa !5
  %109 = add nsw i32 %108, -1
  store i32 %109, ptr @t, align 4, !tbaa !5
  %110 = icmp ne i32 %108, 0
  br i1 %110, label %111, label %119

111:                                              ; preds = %107
  %112 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @tt, ptr noundef @n)
  %113 = load i32, ptr @tt, align 4, !tbaa !5
  %114 = load i32, ptr @n, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %115
  %117 = load i64, ptr %116, align 8, !tbaa !9
  %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %113, i64 noundef %117)
  br label %107, !llvm.loop !16

119:                                              ; preds = %107
  ret i32 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

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

declare i32 @printf(ptr noundef, ...) #2

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

@t = external dso_local global i32, align 4
@tt = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@c = external dso_local local_unnamed_addr global [21 x [21 x i64]], align 16
@f = external dso_local local_unnamed_addr global [21 x i64], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  br label %2

1:                                                ; preds = %._crit_edge
  store i64 2, ptr getelementptr inbounds (i8, ptr @f, i64 8), align 8, !tbaa !5
  store i64 2, ptr @f, align 16, !tbaa !5
  br label %.preheader

2:                                                ; preds = %0, %._crit_edge
  %indvars.iv37 = phi i64 [ 0, %0 ], [ %indvars.iv.next38, %._crit_edge ]
  %3 = add nsw i64 %indvars.iv37, -1
  %4 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %indvars.iv37
  %5 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %indvars.iv37, i64 %indvars.iv37
  store i64 1, ptr %5, align 8, !tbaa !5
  store i64 1, ptr %4, align 8, !tbaa !5
  %6 = icmp ugt i64 %indvars.iv37, 1
  br i1 %6, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %7 = add nsw i64 %indvars.iv37, -1
  %.phi.trans.insert = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %7, i64 0
  %.pre = load i64, ptr %.phi.trans.insert, align 8, !tbaa !5
  %min.iters.check = icmp ult i64 %indvars.iv37, 5
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %.ph = phi i64 [ %.pre, %.lr.ph ], [ %vector.recur.extract, %middle.block ]
  %indvars.iv.ph = phi i64 [ 1, %.lr.ph ], [ %ind.end, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %3, -4
  %ind.end = or disjoint i64 %n.vec, 1
  %vector.recur.init = insertelement <2 x i64> poison, i64 %.pre, i64 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vector.recur = phi <2 x i64> [ %vector.recur.init, %vector.ph ], [ %wide.load49, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %8 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %7, i64 %offset.idx
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  %wide.load = load <2 x i64>, ptr %8, align 8, !tbaa !5
  %wide.load49 = load <2 x i64>, ptr %9, align 8, !tbaa !5
  %10 = shufflevector <2 x i64> %vector.recur, <2 x i64> %wide.load, <2 x i32> <i32 1, i32 2>
  %11 = shufflevector <2 x i64> %wide.load, <2 x i64> %wide.load49, <2 x i32> <i32 1, i32 2>
  %12 = add nsw <2 x i64> %10, %wide.load
  %13 = add nsw <2 x i64> %11, %wide.load49
  %14 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %indvars.iv37, i64 %offset.idx
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  store <2 x i64> %12, ptr %14, align 8, !tbaa !5
  store <2 x i64> %13, ptr %15, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %16 = icmp eq i64 %index.next, %n.vec
  br i1 %16, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %vector.recur.extract = extractelement <2 x i64> %wide.load49, i64 1
  %cmp.n = icmp eq i64 %3, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %2
  %indvars.iv.next38 = add nuw nsw i64 %indvars.iv37, 1
  %exitcond40.not = icmp eq i64 %indvars.iv.next38, 21
  br i1 %exitcond40.not, label %1, label %2, !llvm.loop !13

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %17 = phi i64 [ %19, %scalar.ph ], [ %.ph, %scalar.ph.preheader ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %18 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %7, i64 %indvars.iv
  %19 = load i64, ptr %18, align 8, !tbaa !5
  %20 = add nsw i64 %17, %19
  %21 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %indvars.iv37, i64 %indvars.iv
  store i64 %20, ptr %21, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv37
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !14

.preheader:                                       ; preds = %1, %40
  %indvar = phi i64 [ 0, %1 ], [ %indvar.next, %40 ]
  %indvars.iv45 = phi i64 [ 2, %1 ], [ %indvars.iv.next46, %40 ]
  %22 = add nsw i64 %indvars.iv45, -1
  %23 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %indvars.iv45
  %.promoted = load i64, ptr %23, align 8, !tbaa !5
  %xtraiter = and i64 %indvars.iv45, 1
  %24 = icmp eq i64 %indvar, -1
  br i1 %24, label %.unr-lcssa, label %.preheader.new

.preheader.new:                                   ; preds = %.preheader
  %unroll_iter = and i64 %indvars.iv45, 9223372036854775806
  br label %41

25:                                               ; preds = %40
  store i64 1, ptr getelementptr inbounds (i8, ptr @f, i64 8), align 8, !tbaa !5
  %26 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t)
  %27 = load i32, ptr @t, align 4, !tbaa !15
  %28 = add nsw i32 %27, -1
  store i32 %28, ptr @t, align 4, !tbaa !15
  %.not32 = icmp eq i32 %27, 0
  br i1 %.not32, label %._crit_edge35, label %.lr.ph34

.unr-lcssa:                                       ; preds = %41, %.preheader
  %indvars.iv41.unr = phi i64 [ 0, %.preheader ], [ %indvars.iv.next42.1, %41 ]
  %.unr = phi i64 [ %.promoted, %.preheader ], [ %64, %41 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %40, label %.epilog-lcssa

.epilog-lcssa:                                    ; preds = %.unr-lcssa
  %29 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %22, i64 %indvars.iv41.unr
  %30 = load i64, ptr %29, align 8, !tbaa !5
  %31 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %indvars.iv41.unr
  %32 = load i64, ptr %31, align 8, !tbaa !5
  %33 = mul nsw i64 %32, %30
  %34 = sub nsw i64 %22, %indvars.iv41.unr
  %35 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %34
  %36 = load i64, ptr %35, align 8, !tbaa !5
  %37 = mul nsw i64 %33, %36
  %38 = ashr i64 %37, 2
  %39 = add nsw i64 %38, %.unr
  store i64 %39, ptr %23, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %.unr-lcssa, %.epilog-lcssa
  %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45, 1
  %exitcond48.not = icmp eq i64 %indvars.iv.next46, 21
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond48.not, label %25, label %.preheader, !llvm.loop !17

41:                                               ; preds = %41, %.preheader.new
  %indvars.iv41 = phi i64 [ 0, %.preheader.new ], [ %indvars.iv.next42.1, %41 ]
  %42 = phi i64 [ %.promoted, %.preheader.new ], [ %64, %41 ]
  %niter = phi i64 [ 0, %.preheader.new ], [ %niter.next.1, %41 ]
  %43 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %22, i64 %indvars.iv41
  %44 = load i64, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %indvars.iv41
  %46 = load i64, ptr %45, align 16, !tbaa !5
  %47 = mul nsw i64 %46, %44
  %48 = sub nsw i64 %22, %indvars.iv41
  %49 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %48
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = mul nsw i64 %47, %50
  %52 = ashr i64 %51, 2
  %53 = add nsw i64 %52, %42
  store i64 %53, ptr %23, align 8, !tbaa !5
  %indvars.iv.next42 = or disjoint i64 %indvars.iv41, 1
  %54 = getelementptr inbounds [21 x [21 x i64]], ptr @c, i64 0, i64 %22, i64 %indvars.iv.next42
  %55 = load i64, ptr %54, align 8, !tbaa !5
  %56 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %indvars.iv.next42
  %57 = load i64, ptr %56, align 8, !tbaa !5
  %58 = mul nsw i64 %57, %55
  %59 = sub nsw i64 %22, %indvars.iv.next42
  %60 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %59
  %61 = load i64, ptr %60, align 8, !tbaa !5
  %62 = mul nsw i64 %58, %61
  %63 = ashr i64 %62, 2
  %64 = add nsw i64 %63, %53
  store i64 %64, ptr %23, align 8, !tbaa !5
  %indvars.iv.next42.1 = add nuw nsw i64 %indvars.iv41, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.unr-lcssa, label %41, !llvm.loop !18

.lr.ph34:                                         ; preds = %25, %.lr.ph34
  %65 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @tt, ptr noundef nonnull @n)
  %66 = load i32, ptr @tt, align 4, !tbaa !15
  %67 = load i32, ptr @n, align 4, !tbaa !15
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [21 x i64], ptr @f, i64 0, i64 %68
  %70 = load i64, ptr %69, align 8, !tbaa !5
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %66, i64 noundef %70)
  %72 = load i32, ptr @t, align 4, !tbaa !15
  %73 = add nsw i32 %72, -1
  store i32 %73, ptr @t, align 4, !tbaa !15
  %.not = icmp eq i32 %72, 0
  br i1 %.not, label %._crit_edge35, label %.lr.ph34, !llvm.loop !19

._crit_edge35:                                    ; preds = %.lr.ph34, %25
  ret i32 0
}

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

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

attributes #0 = { mustprogress nofree norecurse 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 #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" }

!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 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10, !12, !11}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


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