; LLVM IR from lzyrapx/Competitive-Programming :: 百度之星/2020/第一场 (B)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@v = external dso_local global [23 x i32], align 16
@c = external dso_local global [23 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i32 95, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 1), align 4, !tbaa !5
  store i32 43, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 1), align 4, !tbaa !5
  store i32 90, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 2), align 8, !tbaa !5
  store i32 40, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 2), align 8, !tbaa !5
  store i32 85, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 3), align 4, !tbaa !5
  store i32 37, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 3), align 4, !tbaa !5
  store i32 80, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 4), align 16, !tbaa !5
  store i32 33, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 4), align 16, !tbaa !5
  store i32 75, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 5), align 4, !tbaa !5
  store i32 30, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 5), align 4, !tbaa !5
  store i32 70, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 6), align 8, !tbaa !5
  store i32 27, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 6), align 8, !tbaa !5
  store i32 67, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 7), align 4, !tbaa !5
  store i32 23, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 7), align 4, !tbaa !5
  store i32 65, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 8), align 16, !tbaa !5
  store i32 20, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 8), align 16, !tbaa !5
  store i32 62, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 9), align 4, !tbaa !5
  store i32 17, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 9), align 4, !tbaa !5
  store i32 60, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 10), align 8, !tbaa !5
  store i32 10, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 10), align 8, !tbaa !5
  store i32 0, ptr getelementptr inbounds ([23 x i32], ptr @v, i64 0, i64 11), align 4, !tbaa !5
  store i32 0, ptr getelementptr inbounds ([23 x i32], ptr @c, i64 0, i64 11), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
  br label %16

16:                                               ; preds = %101, %2
  %17 = load i32, ptr %6, align 4, !tbaa !5
  %18 = add nsw i32 %17, -1
  store i32 %18, ptr %6, align 4, !tbaa !5
  %19 = icmp ne i32 %17, 0
  br i1 %19, label %20, label %110

20:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %98, %20
  %23 = load i32, ptr %9, align 4, !tbaa !5
  %24 = icmp sle i32 %23, 11
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  store i32 4, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %101

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

27:                                               ; preds = %94, %26
  %28 = load i32, ptr %11, align 4, !tbaa !5
  %29 = icmp sle i32 %28, 11
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  store i32 7, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %97

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

32:                                               ; preds = %90, %31
  %33 = load i32, ptr %12, align 4, !tbaa !5
  %34 = icmp sle i32 %33, 11
  br i1 %34, label %36, label %35

35:                                               ; preds = %32
  store i32 10, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %93

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

37:                                               ; preds = %86, %36
  %38 = load i32, ptr %13, align 4, !tbaa !5
  %39 = icmp sle i32 %38, 11
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  store i32 13, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %89

41:                                               ; preds = %37
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [23 x i32], ptr @v, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = load i32, ptr %11, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [23 x i32], ptr @v, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = add nsw i32 %45, %49
  %51 = load i32, ptr %12, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [23 x i32], ptr @v, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = add nsw i32 %50, %54
  %56 = load i32, ptr %13, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [23 x i32], ptr @v, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = add nsw i32 %55, %59
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = icmp sle i32 %60, %61
  br i1 %62, label %63, label %85

63:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %64 = load i32, ptr %9, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [23 x i32], ptr @c, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = load i32, ptr %11, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [23 x i32], ptr @c, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = add nsw i32 %67, %71
  %73 = load i32, ptr %12, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [23 x i32], ptr @c, i64 0, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = add nsw i32 %72, %76
  %78 = load i32, ptr %13, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [23 x i32], ptr @c, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = add nsw i32 %77, %81
  store i32 %82, ptr %14, align 4, !tbaa !5
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %84 = load i32, ptr %83, align 4, !tbaa !5
  store i32 %84, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %85

85:                                               ; preds = %63, %41
  br label %86

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

89:                                               ; preds = %40
  br label %90

90:                                               ; preds = %89
  %91 = load i32, ptr %12, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %12, align 4, !tbaa !5
  br label %32, !llvm.loop !13

93:                                               ; preds = %35
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %11, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %11, align 4, !tbaa !5
  br label %27, !llvm.loop !14

97:                                               ; preds = %30
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %9, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %9, align 4, !tbaa !5
  br label %22, !llvm.loop !15

101:                                              ; preds = %25
  %102 = load i32, ptr %8, align 4, !tbaa !5
  %103 = sdiv i32 %102, 10
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %103)
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef @.str)
  %106 = load i32, ptr %8, align 4, !tbaa !5
  %107 = srem i32 %106, 10
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %105, i32 noundef %107)
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %16, !llvm.loop !16

110:                                              ; preds = %16
  store i32 0, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %111 = load i32, ptr %3, align 4
  ret i32 %111
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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 = { 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 #4 = { inlinehint 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 #5 = { 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = 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"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@v = external dso_local local_unnamed_addr global [23 x i32], align 16
@c = external dso_local local_unnamed_addr global [23 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store <4 x i32> <i32 95, i32 90, i32 85, i32 80>, ptr getelementptr inbounds (i8, ptr @v, i64 4), align 4, !tbaa !5
  store <4 x i32> <i32 43, i32 40, i32 37, i32 33>, ptr getelementptr inbounds (i8, ptr @c, i64 4), align 4, !tbaa !5
  store <4 x i32> <i32 75, i32 70, i32 67, i32 65>, ptr getelementptr inbounds (i8, ptr @v, i64 20), align 4, !tbaa !5
  store <4 x i32> <i32 30, i32 27, i32 23, i32 20>, ptr getelementptr inbounds (i8, ptr @c, i64 20), align 4, !tbaa !5
  store i32 62, ptr getelementptr inbounds (i8, ptr @v, i64 36), align 4, !tbaa !5
  store i32 17, ptr getelementptr inbounds (i8, ptr @c, i64 36), align 4, !tbaa !5
  store i32 60, ptr getelementptr inbounds (i8, ptr @v, i64 40), align 8, !tbaa !5
  store i32 10, ptr getelementptr inbounds (i8, ptr @c, i64 40), align 8, !tbaa !5
  store i32 0, ptr getelementptr inbounds (i8, ptr @v, i64 44), align 4, !tbaa !5
  store i32 0, ptr getelementptr inbounds (i8, ptr @c, i64 44), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = add nsw i32 %8, -1
  store i32 %9, ptr %3, align 4, !tbaa !5
  %.not27 = icmp eq i32 %8, 0
  br i1 %.not27, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br label %.preheader22

.preheader22:                                     ; preds = %.lr.ph, %26
  %indvars.iv34 = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next35, %26 ]
  %11 = getelementptr inbounds [23 x i32], ptr @v, i64 0, i64 %indvars.iv34
  %12 = getelementptr inbounds [23 x i32], ptr @c, i64 0, i64 %indvars.iv34
  br label %.preheader21

13:                                               ; preds = %26
  %14 = load i32, ptr %5, align 4, !tbaa !5
  %15 = sdiv i32 %14, 10
  %16 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %15)
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str)
  %18 = load i32, ptr %5, align 4, !tbaa !5
  %19 = srem i32 %18, 10
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %19)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = add nsw i32 %22, -1
  store i32 %23, ptr %3, align 4, !tbaa !5
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

.preheader21:                                     ; preds = %.preheader22, %37
  %indvars.iv30 = phi i64 [ 1, %.preheader22 ], [ %indvars.iv.next31, %37 ]
  %24 = getelementptr inbounds [23 x i32], ptr @v, i64 0, i64 %indvars.iv30
  %25 = getelementptr inbounds [23 x i32], ptr @c, i64 0, i64 %indvars.iv30
  br label %.preheader

26:                                               ; preds = %37
  %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34, 1
  %exitcond37.not = icmp eq i64 %indvars.iv.next35, 12
  br i1 %exitcond37.not, label %13, label %.preheader22, !llvm.loop !11

.preheader:                                       ; preds = %.preheader21, %188
  %indvars.iv = phi i64 [ 1, %.preheader21 ], [ %indvars.iv.next, %188 ]
  %27 = getelementptr inbounds [23 x i32], ptr @v, i64 0, i64 %indvars.iv
  %28 = getelementptr inbounds [23 x i32], ptr @c, i64 0, i64 %indvars.iv
  %29 = load i32, ptr %11, align 4, !tbaa !5
  %30 = load i32, ptr %24, align 4, !tbaa !5
  %31 = add nsw i32 %30, %29
  %32 = load i32, ptr %27, align 4, !tbaa !5
  %33 = add nsw i32 %31, %32
  %34 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 4), align 4, !tbaa !5
  %35 = add nsw i32 %33, %34
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %.not20 = icmp sgt i32 %35, %36
  br i1 %.not20, label %48, label %38

37:                                               ; preds = %188
  %indvars.iv.next31 = add nuw nsw i64 %indvars.iv30, 1
  %exitcond33.not = icmp eq i64 %indvars.iv.next31, 12
  br i1 %exitcond33.not, label %26, label %.preheader21, !llvm.loop !12

38:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %39 = load i32, ptr %12, align 4, !tbaa !5
  %40 = load i32, ptr %25, align 4, !tbaa !5
  %41 = add nsw i32 %40, %39
  %42 = load i32, ptr %28, align 4, !tbaa !5
  %43 = add nsw i32 %41, %42
  %44 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 4), align 4, !tbaa !5
  %45 = add nsw i32 %43, %44
  store i32 %45, ptr %6, align 4, !tbaa !5
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %47 = load i32, ptr %46, align 4, !tbaa !5
  store i32 %47, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre = load i32, ptr %11, align 4, !tbaa !5
  %.pre38 = load i32, ptr %24, align 4, !tbaa !5
  %.pre39 = load i32, ptr %27, align 4, !tbaa !5
  %.pre40 = load i32, ptr %4, align 4, !tbaa !5
  %.pre77 = add nsw i32 %.pre38, %.pre
  %.pre78 = add nsw i32 %.pre77, %.pre39
  br label %48

48:                                               ; preds = %.preheader, %38
  %.pre-phi79 = phi i32 [ %33, %.preheader ], [ %.pre78, %38 ]
  %49 = phi i32 [ %36, %.preheader ], [ %.pre40, %38 ]
  %50 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 8), align 8, !tbaa !5
  %51 = add nsw i32 %.pre-phi79, %50
  %.not20.1 = icmp sgt i32 %51, %49
  br i1 %.not20.1, label %62, label %52

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %53 = load i32, ptr %12, align 4, !tbaa !5
  %54 = load i32, ptr %25, align 4, !tbaa !5
  %55 = add nsw i32 %54, %53
  %56 = load i32, ptr %28, align 4, !tbaa !5
  %57 = add nsw i32 %55, %56
  %58 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 8), align 8, !tbaa !5
  %59 = add nsw i32 %57, %58
  store i32 %59, ptr %6, align 4, !tbaa !5
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %61 = load i32, ptr %60, align 4, !tbaa !5
  store i32 %61, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre41 = load i32, ptr %11, align 4, !tbaa !5
  %.pre42 = load i32, ptr %24, align 4, !tbaa !5
  %.pre43 = load i32, ptr %27, align 4, !tbaa !5
  %.pre44 = load i32, ptr %4, align 4, !tbaa !5
  %.pre80 = add nsw i32 %.pre42, %.pre41
  %.pre82 = add nsw i32 %.pre80, %.pre43
  br label %62

62:                                               ; preds = %52, %48
  %.pre-phi83 = phi i32 [ %.pre82, %52 ], [ %.pre-phi79, %48 ]
  %63 = phi i32 [ %.pre44, %52 ], [ %49, %48 ]
  %64 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 12), align 4, !tbaa !5
  %65 = add nsw i32 %.pre-phi83, %64
  %.not20.2 = icmp sgt i32 %65, %63
  br i1 %.not20.2, label %76, label %66

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %67 = load i32, ptr %12, align 4, !tbaa !5
  %68 = load i32, ptr %25, align 4, !tbaa !5
  %69 = add nsw i32 %68, %67
  %70 = load i32, ptr %28, align 4, !tbaa !5
  %71 = add nsw i32 %69, %70
  %72 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 12), align 4, !tbaa !5
  %73 = add nsw i32 %71, %72
  store i32 %73, ptr %6, align 4, !tbaa !5
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %75 = load i32, ptr %74, align 4, !tbaa !5
  store i32 %75, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre45 = load i32, ptr %11, align 4, !tbaa !5
  %.pre46 = load i32, ptr %24, align 4, !tbaa !5
  %.pre47 = load i32, ptr %27, align 4, !tbaa !5
  %.pre48 = load i32, ptr %4, align 4, !tbaa !5
  %.pre84 = add nsw i32 %.pre46, %.pre45
  %.pre86 = add nsw i32 %.pre84, %.pre47
  br label %76

76:                                               ; preds = %66, %62
  %.pre-phi87 = phi i32 [ %.pre86, %66 ], [ %.pre-phi83, %62 ]
  %77 = phi i32 [ %.pre48, %66 ], [ %63, %62 ]
  %78 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 16), align 16, !tbaa !5
  %79 = add nsw i32 %.pre-phi87, %78
  %.not20.3 = icmp sgt i32 %79, %77
  br i1 %.not20.3, label %90, label %80

80:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %81 = load i32, ptr %12, align 4, !tbaa !5
  %82 = load i32, ptr %25, align 4, !tbaa !5
  %83 = add nsw i32 %82, %81
  %84 = load i32, ptr %28, align 4, !tbaa !5
  %85 = add nsw i32 %83, %84
  %86 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 16), align 16, !tbaa !5
  %87 = add nsw i32 %85, %86
  store i32 %87, ptr %6, align 4, !tbaa !5
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %89 = load i32, ptr %88, align 4, !tbaa !5
  store i32 %89, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre49 = load i32, ptr %11, align 4, !tbaa !5
  %.pre50 = load i32, ptr %24, align 4, !tbaa !5
  %.pre51 = load i32, ptr %27, align 4, !tbaa !5
  %.pre52 = load i32, ptr %4, align 4, !tbaa !5
  %.pre88 = add nsw i32 %.pre50, %.pre49
  %.pre90 = add nsw i32 %.pre88, %.pre51
  br label %90

90:                                               ; preds = %80, %76
  %.pre-phi91 = phi i32 [ %.pre90, %80 ], [ %.pre-phi87, %76 ]
  %91 = phi i32 [ %.pre52, %80 ], [ %77, %76 ]
  %92 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 20), align 4, !tbaa !5
  %93 = add nsw i32 %.pre-phi91, %92
  %.not20.4 = icmp sgt i32 %93, %91
  br i1 %.not20.4, label %104, label %94

94:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %95 = load i32, ptr %12, align 4, !tbaa !5
  %96 = load i32, ptr %25, align 4, !tbaa !5
  %97 = add nsw i32 %96, %95
  %98 = load i32, ptr %28, align 4, !tbaa !5
  %99 = add nsw i32 %97, %98
  %100 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 20), align 4, !tbaa !5
  %101 = add nsw i32 %99, %100
  store i32 %101, ptr %6, align 4, !tbaa !5
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %103 = load i32, ptr %102, align 4, !tbaa !5
  store i32 %103, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre53 = load i32, ptr %11, align 4, !tbaa !5
  %.pre54 = load i32, ptr %24, align 4, !tbaa !5
  %.pre55 = load i32, ptr %27, align 4, !tbaa !5
  %.pre56 = load i32, ptr %4, align 4, !tbaa !5
  %.pre92 = add nsw i32 %.pre54, %.pre53
  %.pre94 = add nsw i32 %.pre92, %.pre55
  br label %104

104:                                              ; preds = %94, %90
  %.pre-phi95 = phi i32 [ %.pre94, %94 ], [ %.pre-phi91, %90 ]
  %105 = phi i32 [ %.pre56, %94 ], [ %91, %90 ]
  %106 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 24), align 8, !tbaa !5
  %107 = add nsw i32 %.pre-phi95, %106
  %.not20.5 = icmp sgt i32 %107, %105
  br i1 %.not20.5, label %118, label %108

108:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %109 = load i32, ptr %12, align 4, !tbaa !5
  %110 = load i32, ptr %25, align 4, !tbaa !5
  %111 = add nsw i32 %110, %109
  %112 = load i32, ptr %28, align 4, !tbaa !5
  %113 = add nsw i32 %111, %112
  %114 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 24), align 8, !tbaa !5
  %115 = add nsw i32 %113, %114
  store i32 %115, ptr %6, align 4, !tbaa !5
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %117 = load i32, ptr %116, align 4, !tbaa !5
  store i32 %117, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre57 = load i32, ptr %11, align 4, !tbaa !5
  %.pre58 = load i32, ptr %24, align 4, !tbaa !5
  %.pre59 = load i32, ptr %27, align 4, !tbaa !5
  %.pre60 = load i32, ptr %4, align 4, !tbaa !5
  %.pre96 = add nsw i32 %.pre58, %.pre57
  %.pre98 = add nsw i32 %.pre96, %.pre59
  br label %118

118:                                              ; preds = %108, %104
  %.pre-phi99 = phi i32 [ %.pre98, %108 ], [ %.pre-phi95, %104 ]
  %119 = phi i32 [ %.pre60, %108 ], [ %105, %104 ]
  %120 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 28), align 4, !tbaa !5
  %121 = add nsw i32 %.pre-phi99, %120
  %.not20.6 = icmp sgt i32 %121, %119
  br i1 %.not20.6, label %132, label %122

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %123 = load i32, ptr %12, align 4, !tbaa !5
  %124 = load i32, ptr %25, align 4, !tbaa !5
  %125 = add nsw i32 %124, %123
  %126 = load i32, ptr %28, align 4, !tbaa !5
  %127 = add nsw i32 %125, %126
  %128 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 28), align 4, !tbaa !5
  %129 = add nsw i32 %127, %128
  store i32 %129, ptr %6, align 4, !tbaa !5
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %131 = load i32, ptr %130, align 4, !tbaa !5
  store i32 %131, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre61 = load i32, ptr %11, align 4, !tbaa !5
  %.pre62 = load i32, ptr %24, align 4, !tbaa !5
  %.pre63 = load i32, ptr %27, align 4, !tbaa !5
  %.pre64 = load i32, ptr %4, align 4, !tbaa !5
  %.pre100 = add nsw i32 %.pre62, %.pre61
  %.pre102 = add nsw i32 %.pre100, %.pre63
  br label %132

132:                                              ; preds = %122, %118
  %.pre-phi103 = phi i32 [ %.pre102, %122 ], [ %.pre-phi99, %118 ]
  %133 = phi i32 [ %.pre64, %122 ], [ %119, %118 ]
  %134 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 32), align 16, !tbaa !5
  %135 = add nsw i32 %.pre-phi103, %134
  %.not20.7 = icmp sgt i32 %135, %133
  br i1 %.not20.7, label %146, label %136

136:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %137 = load i32, ptr %12, align 4, !tbaa !5
  %138 = load i32, ptr %25, align 4, !tbaa !5
  %139 = add nsw i32 %138, %137
  %140 = load i32, ptr %28, align 4, !tbaa !5
  %141 = add nsw i32 %139, %140
  %142 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 32), align 16, !tbaa !5
  %143 = add nsw i32 %141, %142
  store i32 %143, ptr %6, align 4, !tbaa !5
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %145 = load i32, ptr %144, align 4, !tbaa !5
  store i32 %145, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre65 = load i32, ptr %11, align 4, !tbaa !5
  %.pre66 = load i32, ptr %24, align 4, !tbaa !5
  %.pre67 = load i32, ptr %27, align 4, !tbaa !5
  %.pre68 = load i32, ptr %4, align 4, !tbaa !5
  %.pre104 = add nsw i32 %.pre66, %.pre65
  %.pre106 = add nsw i32 %.pre104, %.pre67
  br label %146

146:                                              ; preds = %136, %132
  %.pre-phi107 = phi i32 [ %.pre106, %136 ], [ %.pre-phi103, %132 ]
  %147 = phi i32 [ %.pre68, %136 ], [ %133, %132 ]
  %148 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 36), align 4, !tbaa !5
  %149 = add nsw i32 %.pre-phi107, %148
  %.not20.8 = icmp sgt i32 %149, %147
  br i1 %.not20.8, label %160, label %150

150:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %151 = load i32, ptr %12, align 4, !tbaa !5
  %152 = load i32, ptr %25, align 4, !tbaa !5
  %153 = add nsw i32 %152, %151
  %154 = load i32, ptr %28, align 4, !tbaa !5
  %155 = add nsw i32 %153, %154
  %156 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 36), align 4, !tbaa !5
  %157 = add nsw i32 %155, %156
  store i32 %157, ptr %6, align 4, !tbaa !5
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %159 = load i32, ptr %158, align 4, !tbaa !5
  store i32 %159, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre69 = load i32, ptr %11, align 4, !tbaa !5
  %.pre70 = load i32, ptr %24, align 4, !tbaa !5
  %.pre71 = load i32, ptr %27, align 4, !tbaa !5
  %.pre72 = load i32, ptr %4, align 4, !tbaa !5
  %.pre108 = add nsw i32 %.pre70, %.pre69
  %.pre110 = add nsw i32 %.pre108, %.pre71
  br label %160

160:                                              ; preds = %150, %146
  %.pre-phi111 = phi i32 [ %.pre110, %150 ], [ %.pre-phi107, %146 ]
  %161 = phi i32 [ %.pre72, %150 ], [ %147, %146 ]
  %162 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 40), align 8, !tbaa !5
  %163 = add nsw i32 %.pre-phi111, %162
  %.not20.9 = icmp sgt i32 %163, %161
  br i1 %.not20.9, label %174, label %164

164:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %165 = load i32, ptr %12, align 4, !tbaa !5
  %166 = load i32, ptr %25, align 4, !tbaa !5
  %167 = add nsw i32 %166, %165
  %168 = load i32, ptr %28, align 4, !tbaa !5
  %169 = add nsw i32 %167, %168
  %170 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 40), align 8, !tbaa !5
  %171 = add nsw i32 %169, %170
  store i32 %171, ptr %6, align 4, !tbaa !5
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %173 = load i32, ptr %172, align 4, !tbaa !5
  store i32 %173, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %.pre73 = load i32, ptr %11, align 4, !tbaa !5
  %.pre74 = load i32, ptr %24, align 4, !tbaa !5
  %.pre75 = load i32, ptr %27, align 4, !tbaa !5
  %.pre76 = load i32, ptr %4, align 4, !tbaa !5
  %.pre112 = add nsw i32 %.pre74, %.pre73
  %.pre114 = add nsw i32 %.pre112, %.pre75
  br label %174

174:                                              ; preds = %164, %160
  %.pre-phi115 = phi i32 [ %.pre114, %164 ], [ %.pre-phi111, %160 ]
  %175 = phi i32 [ %.pre76, %164 ], [ %161, %160 ]
  %176 = load i32, ptr getelementptr inbounds (i8, ptr @v, i64 44), align 4, !tbaa !5
  %177 = add nsw i32 %.pre-phi115, %176
  %.not20.10 = icmp sgt i32 %177, %175
  br i1 %.not20.10, label %188, label %178

178:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %179 = load i32, ptr %12, align 4, !tbaa !5
  %180 = load i32, ptr %25, align 4, !tbaa !5
  %181 = add nsw i32 %180, %179
  %182 = load i32, ptr %28, align 4, !tbaa !5
  %183 = add nsw i32 %181, %182
  %184 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 44), align 4, !tbaa !5
  %185 = add nsw i32 %183, %184
  store i32 %185, ptr %6, align 4, !tbaa !5
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %187 = load i32, ptr %186, align 4, !tbaa !5
  store i32 %187, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %188

188:                                              ; preds = %178, %174
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 12
  br i1 %exitcond.not, label %37, label %.preheader, !llvm.loop !13

._crit_edge:                                      ; preds = %13, %2
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  ret i32 0
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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 = { mustprogress 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 = { 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 #4 = { inlinehint 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 #5 = { 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 #6 = { nounwind }

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

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


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass