; LLVM IR from Tunghohin/Competitive_Coding :: Luogu/p3225.ll (Z6tarjani)

; 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.edge = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@e = external dso_local global [1010 x %struct.edge], align 16
@head = external dso_local global [1010 x i32], align 16
@root = external dso_local global i32, align 4
@dfn = external dso_local global [1010 x i32], align 16
@low = external dso_local global [1010 x i32], align 16
@timestamp = external dso_local global i32, align 4
@stk = external dso_local global [1010 x i32], align 16
@top = external dso_local global i32, align 4
@is_cut = external dso_local global [1010 x i8], align 16
@bcc_cnt = external dso_local global i32, align 4
@bcc = external dso_local global [1010 x %"class.std::vector"], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6tarjani(i32 noundef %0) #0 {
  %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 %2, align 4, !tbaa !5
  %7 = load i32, ptr @timestamp, align 4, !tbaa !5
  %8 = add nsw i32 %7, 1
  store i32 %8, ptr @timestamp, align 4, !tbaa !5
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %10
  store i32 %8, ptr %11, align 4, !tbaa !5
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [1010 x i32], ptr @dfn, i64 0, i64 %13
  store i32 %8, ptr %14, align 4, !tbaa !5
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = load i32, ptr @top, align 4, !tbaa !5
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr @top, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [1010 x i32], ptr @stk, i64 0, i64 %18
  store i32 %15, ptr %19, align 4, !tbaa !5
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = load i32, ptr @root, align 4, !tbaa !5
  %22 = icmp eq i32 %20, %21
  br i1 %22, label %23, label %34

23:                                               ; preds = %1
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [1010 x i32], ptr @head, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %34, label %29

29:                                               ; preds = %23
  %30 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @bcc_cnt, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [1010 x %"class.std::vector"], ptr @bcc, i64 0, i64 %32
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %130

34:                                               ; preds = %23, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [1010 x i32], ptr @head, i64 0, i64 %36
  %38 = load i32, ptr %37, align 4, !tbaa !5
  store i32 %38, ptr %4, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %123, %34
  %40 = load i32, ptr %4, align 4, !tbaa !5
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %43, label %42

42:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %129

43:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [1010 x %struct.edge], ptr @e, i64 0, i64 %45
  %47 = getelementptr inbounds %struct.edge, ptr %46, i32 0, i32 0
  %48 = load i32, ptr %47, align 8, !tbaa !9
  store i32 %48, ptr %5, align 4, !tbaa !5
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [1010 x i32], ptr @dfn, i64 0, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %110, label %54

54:                                               ; preds = %43
  %55 = load i32, ptr %5, align 4, !tbaa !5
  call void @_Z6tarjani(i32 noundef %55)
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %57
  %59 = load i32, ptr %5, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %60
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %61)
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = load i32, ptr %2, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %65
  store i32 %63, ptr %66, align 4, !tbaa !5
  %67 = load i32, ptr %2, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [1010 x i32], ptr @dfn, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = load i32, ptr %5, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = icmp sle i32 %70, %74
  br i1 %75, label %76, label %109

76:                                               ; preds = %54
  %77 = load i32, ptr %3, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %3, align 4, !tbaa !5
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = load i32, ptr @root, align 4, !tbaa !5
  %81 = icmp ne i32 %79, %80
  br i1 %81, label %85, label %82

82:                                               ; preds = %76
  %83 = load i32, ptr %3, align 4, !tbaa !5
  %84 = icmp sgt i32 %83, 1
  br i1 %84, label %85, label %89

85:                                               ; preds = %82, %76
  %86 = load i32, ptr %2, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [1010 x i8], ptr @is_cut, i64 0, i64 %87
  store i8 1, ptr %88, align 1, !tbaa !11
  br label %89

89:                                               ; preds = %85, %82
  %90 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr @bcc_cnt, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  br label %92

92:                                               ; preds = %101, %89
  %93 = load i32, ptr @top, align 4, !tbaa !5
  %94 = add nsw i32 %93, -1
  store i32 %94, ptr @top, align 4, !tbaa !5
  %95 = sext i32 %93 to i64
  %96 = getelementptr inbounds [1010 x i32], ptr @stk, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  store i32 %97, ptr %6, align 4, !tbaa !5
  %98 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [1010 x %"class.std::vector"], ptr @bcc, i64 0, i64 %99
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(4) %6)
  br label %101

101:                                              ; preds = %92
  %102 = load i32, ptr %6, align 4, !tbaa !5
  %103 = load i32, ptr %5, align 4, !tbaa !5
  %104 = icmp ne i32 %102, %103
  br i1 %104, label %92, label %105, !llvm.loop !13

105:                                              ; preds = %101
  %106 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [1010 x %"class.std::vector"], ptr @bcc, i64 0, i64 %107
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %108, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %109

109:                                              ; preds = %105, %54
  br label %122

110:                                              ; preds = %43
  %111 = load i32, ptr %2, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %112
  %114 = load i32, ptr %5, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [1010 x i32], ptr @dfn, i64 0, i64 %115
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %113, ptr noundef nonnull align 4 dereferenceable(4) %116)
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = load i32, ptr %2, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %120
  store i32 %118, ptr %121, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %110, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %123

123:                                              ; preds = %122
  %124 = load i32, ptr %4, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [1010 x %struct.edge], ptr @e, i64 0, i64 %125
  %127 = getelementptr inbounds %struct.edge, ptr %126, i32 0, i32 1
  %128 = load i32, ptr %127, align 4, !tbaa !15
  store i32 %128, ptr %4, align 4, !tbaa !5
  br label %39, !llvm.loop !16

129:                                              ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  br label %130

130:                                              ; preds = %129, %29
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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

%struct.edge = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@e = external dso_local local_unnamed_addr global [1010 x %struct.edge], align 16
@head = external dso_local local_unnamed_addr global [1010 x i32], align 16
@root = external dso_local local_unnamed_addr global i32, align 4
@dfn = external dso_local global [1010 x i32], align 16
@low = external dso_local global [1010 x i32], align 16
@timestamp = external dso_local local_unnamed_addr global i32, align 4
@stk = external dso_local local_unnamed_addr global [1010 x i32], align 16
@top = external dso_local local_unnamed_addr global i32, align 4
@is_cut = external dso_local local_unnamed_addr global [1010 x i8], align 16
@bcc_cnt = external dso_local local_unnamed_addr global i32, align 4
@bcc = external dso_local global [1010 x %"class.std::vector"], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6tarjani(i32 noundef %0) local_unnamed_addr #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  %4 = load i32, ptr @timestamp, align 4, !tbaa !5
  %5 = add nsw i32 %4, 1
  store i32 %5, ptr @timestamp, align 4, !tbaa !5
  %6 = sext i32 %0 to i64
  %7 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %6
  store i32 %5, ptr %7, align 4, !tbaa !5
  %8 = getelementptr inbounds [1010 x i32], ptr @dfn, i64 0, i64 %6
  store i32 %5, ptr %8, align 4, !tbaa !5
  %9 = load i32, ptr @top, align 4, !tbaa !5
  %10 = add nsw i32 %9, 1
  store i32 %10, ptr @top, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [1010 x i32], ptr @stk, i64 0, i64 %11
  store i32 %0, ptr %12, align 4, !tbaa !5
  %13 = load i32, ptr @root, align 4, !tbaa !5
  %14 = icmp eq i32 %13, %0
  %15 = getelementptr inbounds [1010 x i32], ptr @head, i64 0, i64 %6
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %.not = icmp eq i32 %16, 0
  br i1 %14, label %17, label %23

17:                                               ; preds = %1
  br i1 %.not, label %18, label %.lr.ph.preheader

18:                                               ; preds = %17
  %19 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr @bcc_cnt, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [1010 x %"class.std::vector"], ptr @bcc, i64 0, i64 %21
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %.loopexit

23:                                               ; preds = %1
  br i1 %.not, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %17, %23
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %76
  %.01221 = phi i32 [ %.012, %76 ], [ %16, %.lr.ph.preheader ]
  %.020 = phi i32 [ %.1, %76 ], [ 0, %.lr.ph.preheader ]
  %24 = sext i32 %.01221 to i64
  %25 = getelementptr inbounds [1010 x %struct.edge], ptr @e, i64 0, i64 %24
  %26 = load i32, ptr %25, align 8, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [1010 x i32], ptr @dfn, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %.not15 = icmp eq i32 %29, 0
  br i1 %.not15, label %30, label %67

30:                                               ; preds = %.lr.ph
  call void @_Z6tarjani(i32 noundef %26)
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %32
  %34 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %27
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %34)
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %38
  store i32 %36, ptr %39, align 4, !tbaa !5
  %40 = getelementptr inbounds [1010 x i32], ptr @dfn, i64 0, i64 %38
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = load i32, ptr %34, align 4, !tbaa !5
  %.not16 = icmp sgt i32 %41, %42
  br i1 %.not16, label %76, label %43

43:                                               ; preds = %30
  %44 = add nsw i32 %.020, 1
  %45 = load i32, ptr @root, align 4, !tbaa !5
  %46 = icmp ne i32 %37, %45
  %47 = icmp sgt i32 %.020, 0
  %or.cond = select i1 %46, i1 true, i1 %47
  br i1 %or.cond, label %48, label %50

48:                                               ; preds = %43
  %49 = getelementptr inbounds [1010 x i8], ptr @is_cut, i64 0, i64 %38
  store i8 1, ptr %49, align 1, !tbaa !11
  br label %50

50:                                               ; preds = %43, %48
  %51 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr @bcc_cnt, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  br label %53

53:                                               ; preds = %53, %50
  %54 = load i32, ptr @top, align 4, !tbaa !5
  %55 = add nsw i32 %54, -1
  store i32 %55, ptr @top, align 4, !tbaa !5
  %56 = sext i32 %54 to i64
  %57 = getelementptr inbounds [1010 x i32], ptr @stk, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  store i32 %58, ptr %3, align 4, !tbaa !5
  %59 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [1010 x %"class.std::vector"], ptr @bcc, i64 0, i64 %60
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %.not17 = icmp eq i32 %62, %26
  br i1 %.not17, label %63, label %53, !llvm.loop !13

63:                                               ; preds = %53
  %64 = load i32, ptr @bcc_cnt, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [1010 x %"class.std::vector"], ptr @bcc, i64 0, i64 %65
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  br label %76

67:                                               ; preds = %.lr.ph
  %68 = load i32, ptr %2, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %69
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [1010 x i32], ptr @low, i64 0, i64 %74
  store i32 %72, ptr %75, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %30, %63, %67
  %.1 = phi i32 [ %.020, %67 ], [ %44, %63 ], [ %.020, %30 ]
  %77 = getelementptr inbounds i8, ptr %25, i64 4
  %.012 = load i32, ptr %77, align 4, !tbaa !5
  %.not14 = icmp eq i32 %.012, 0
  br i1 %.not14, label %.loopexit, label %.lr.ph, !llvm.loop !15

.loopexit:                                        ; preds = %76, %23, %18
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass