; LLVM IR from tangjz/acm-icpc :: lydsy (2301)

; 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
@tot = external dso_local global i32, align 4
@prime = external dso_local global [50001 x i32], align 16
@mu = external dso_local global [50001 x i32], align 16
@smu = external dso_local global [50001 x i32], align 16
@vis = external dso_local global [50001 x i8], align 16

; 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 uwtable
declare dso_local void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5printi(i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z4calciii(i32 noundef, i32 noundef, i32 noundef) #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
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  store i32 1, ptr getelementptr inbounds ([50001 x i32], ptr @smu, i64 0, i64 1), align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds ([50001 x i32], ptr @mu, i64 0, i64 1), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %10

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

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

14:                                               ; preds = %10
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [50001 x i8], ptr @vis, i64 0, i64 %16
  %18 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %19 = trunc i8 %18 to i1
  br i1 %19, label %29, label %20

20:                                               ; preds = %14
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = load i32, ptr @tot, align 4, !tbaa !5
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr @tot, align 4, !tbaa !5
  %24 = sext i32 %22 to i64
  %25 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %24
  store i32 %21, ptr %25, align 4, !tbaa !5
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %27
  store i32 -1, ptr %28, align 4, !tbaa !5
  br label %29

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

30:                                               ; preds = %85, %29
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = load i32, ptr @tot, align 4, !tbaa !5
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %34, label %42

34:                                               ; preds = %30
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = mul nsw i32 %35, %39
  %41 = icmp slt i32 %40, 50001
  br label %42

42:                                               ; preds = %34, %30
  %43 = phi i1 [ false, %30 ], [ %41, %34 ]
  br i1 %43, label %45, label %44

44:                                               ; preds = %42
  store i32 5, ptr %3, align 4
  br label %88

45:                                               ; preds = %42
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = load i32, ptr %4, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = mul nsw i32 %46, %50
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [50001 x i8], ptr @vis, i64 0, i64 %52
  store i8 1, ptr %53, align 1, !tbaa !9
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = load i32, ptr %4, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = srem i32 %54, %58
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %70

61:                                               ; preds = %45
  %62 = load i32, ptr %2, align 4, !tbaa !5
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = mul nsw i32 %62, %66
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %68
  store i32 0, ptr %69, align 4, !tbaa !5
  store i32 5, ptr %3, align 4
  br label %88

70:                                               ; preds = %45
  %71 = load i32, ptr %2, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = sub nsw i32 0, %74
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = mul nsw i32 %76, %80
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %82
  store i32 %75, ptr %83, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %70
  br label %85

85:                                               ; preds = %84
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %4, align 4, !tbaa !5
  br label %30, !llvm.loop !13

88:                                               ; preds = %61, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %2, align 4, !tbaa !5
  %91 = sub nsw i32 %90, 1
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [50001 x i32], ptr @smu, i64 0, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = load i32, ptr %2, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = add nsw i32 %94, %98
  %100 = load i32, ptr %2, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [50001 x i32], ptr @smu, i64 0, i64 %101
  store i32 %99, ptr %102, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %89
  %104 = load i32, ptr %2, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %2, align 4, !tbaa !5
  br label %10, !llvm.loop !15

106:                                              ; preds = %13
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) @t)
  br label %107

107:                                              ; preds = %111, %106
  %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 %136

111:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %9)
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = load i32, ptr %8, align 4, !tbaa !5
  %114 = load i32, ptr %9, align 4, !tbaa !5
  %115 = call noundef i64 @_Z4calciii(i32 noundef %112, i32 noundef %113, i32 noundef %114)
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = sub nsw i32 %116, 1
  %118 = load i32, ptr %8, align 4, !tbaa !5
  %119 = load i32, ptr %9, align 4, !tbaa !5
  %120 = call noundef i64 @_Z4calciii(i32 noundef %117, i32 noundef %118, i32 noundef %119)
  %121 = sub nsw i64 %115, %120
  %122 = load i32, ptr %6, align 4, !tbaa !5
  %123 = load i32, ptr %7, align 4, !tbaa !5
  %124 = sub nsw i32 %123, 1
  %125 = load i32, ptr %9, align 4, !tbaa !5
  %126 = call noundef i64 @_Z4calciii(i32 noundef %122, i32 noundef %124, i32 noundef %125)
  %127 = sub nsw i64 %121, %126
  %128 = load i32, ptr %5, align 4, !tbaa !5
  %129 = sub nsw i32 %128, 1
  %130 = load i32, ptr %7, align 4, !tbaa !5
  %131 = sub nsw i32 %130, 1
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = call noundef i64 @_Z4calciii(i32 noundef %129, i32 noundef %131, i32 noundef %132)
  %134 = add nsw i64 %127, %133
  %135 = trunc i64 %134 to i32
  call void @_Z5printi(i32 noundef %135)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %107, !llvm.loop !16

136:                                              ; preds = %107
  ret i32 0
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; 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
@tot = external dso_local local_unnamed_addr global i32, align 4
@prime = external dso_local local_unnamed_addr global [50001 x i32], align 16
@mu = external dso_local local_unnamed_addr global [50001 x i32], align 16
@smu = external dso_local local_unnamed_addr global [50001 x i32], align 16
@vis = external dso_local local_unnamed_addr global [50001 x i8], align 16

; 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 uwtable
declare dso_local void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5printi(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z4calciii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #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
  store i32 1, ptr getelementptr inbounds (i8, ptr @smu, i64 4), align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds (i8, ptr @mu, i64 4), align 4, !tbaa !5
  %tot.promoted = load i32, ptr @tot, align 4, !tbaa !5
  br label %9

6:                                                ; preds = %.critedge
  tail call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) @t)
  %7 = load i32, ptr @t, align 4, !tbaa !5
  %8 = add nsw i32 %7, -1
  store i32 %8, ptr @t, align 4, !tbaa !5
  %.not28 = icmp eq i32 %7, 0
  br i1 %.not28, label %._crit_edge, label %.lr.ph29

9:                                                ; preds = %0, %.critedge
  %10 = phi i32 [ 1, %0 ], [ %43, %.critedge ]
  %indvars.iv31 = phi i64 [ 2, %0 ], [ %indvars.iv.next32, %.critedge ]
  %11 = phi i32 [ %tot.promoted, %0 ], [ %22, %.critedge ]
  %12 = getelementptr inbounds [50001 x i8], ptr @vis, i64 0, i64 %indvars.iv31
  %13 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %21, label %15

15:                                               ; preds = %9
  %16 = add nsw i32 %11, 1
  store i32 %16, ptr @tot, align 4, !tbaa !5
  %17 = sext i32 %11 to i64
  %18 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %17
  %19 = trunc nuw nsw i64 %indvars.iv31 to i32
  store i32 %19, ptr %18, align 4, !tbaa !5
  %20 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %indvars.iv31
  store i32 -1, ptr %20, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %15, %9
  %22 = phi i32 [ %16, %15 ], [ %11, %9 ]
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %21
  %24 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %indvars.iv31
  %wide.trip.count = zext nneg i32 %22 to i64
  %25 = trunc nuw nsw i64 %indvars.iv31 to i32
  br label %26

26:                                               ; preds = %.lr.ph, %37
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %37 ]
  %27 = getelementptr inbounds [50001 x i32], ptr @prime, i64 0, i64 %indvars.iv
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = mul nsw i64 %indvars.iv31, %29
  %.wide = icmp slt i64 %30, 50001
  br i1 %.wide, label %31, label %.critedge

31:                                               ; preds = %26
  %32 = getelementptr inbounds [50001 x i8], ptr @vis, i64 0, i64 %30
  store i8 1, ptr %32, align 1, !tbaa !9
  %33 = srem i32 %25, %28
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %31
  %36 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %30
  store i32 0, ptr %36, align 4, !tbaa !5
  br label %.critedge

37:                                               ; preds = %31
  %38 = load i32, ptr %24, align 4, !tbaa !5
  %39 = sub nsw i32 0, %38
  %40 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %30
  store i32 %39, ptr %40, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge, label %26, !llvm.loop !13

.critedge:                                        ; preds = %37, %26, %21, %35
  %41 = getelementptr inbounds [50001 x i32], ptr @mu, i64 0, i64 %indvars.iv31
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = add nsw i32 %42, %10
  %44 = getelementptr inbounds [50001 x i32], ptr @smu, i64 0, i64 %indvars.iv31
  store i32 %43, ptr %44, align 4, !tbaa !5
  %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31, 1
  %exitcond34.not = icmp eq i64 %indvars.iv.next32, 50001
  br i1 %exitcond34.not, label %6, label %9, !llvm.loop !15

.lr.ph29:                                         ; preds = %6, %.lr.ph29
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = load i32, ptr %5, align 4, !tbaa !5
  %48 = call noundef i64 @_Z4calciii(i32 noundef %45, i32 noundef %46, i32 noundef %47)
  %49 = load i32, ptr %1, align 4, !tbaa !5
  %50 = add nsw i32 %49, -1
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = load i32, ptr %5, align 4, !tbaa !5
  %53 = call noundef i64 @_Z4calciii(i32 noundef %50, i32 noundef %51, i32 noundef %52)
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = load i32, ptr %3, align 4, !tbaa !5
  %56 = add nsw i32 %55, -1
  %57 = load i32, ptr %5, align 4, !tbaa !5
  %58 = call noundef i64 @_Z4calciii(i32 noundef %54, i32 noundef %56, i32 noundef %57)
  %59 = load i32, ptr %1, align 4, !tbaa !5
  %60 = add nsw i32 %59, -1
  %61 = load i32, ptr %3, align 4, !tbaa !5
  %62 = add nsw i32 %61, -1
  %63 = load i32, ptr %5, align 4, !tbaa !5
  %64 = call noundef i64 @_Z4calciii(i32 noundef %60, i32 noundef %62, i32 noundef %63)
  %65 = add i64 %53, %58
  %66 = sub i64 %48, %65
  %67 = add nsw i64 %66, %64
  %68 = trunc i64 %67 to i32
  call void @_Z5printi(i32 noundef %68)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  %69 = load i32, ptr @t, align 4, !tbaa !5
  %70 = add nsw i32 %69, -1
  store i32 %70, ptr @t, align 4, !tbaa !5
  %.not = icmp eq i32 %69, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph29, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph29, %6
  ret i32 0
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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