; LLVM IR from xirc/cp-algorithm :: atcoder/abc054/B/main.ll (Z5solvev)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@N = external dso_local global i32, align 4
@M = external dso_local global i32, align 4
@_Z1AB5cxx11 = external dso_local global %"class.std::vector", align 8
@_Z1BB5cxx11 = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z5solvev() #0 {
  %1 = alloca i1, align 1
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = load i32, ptr @M, align 4, !tbaa !5
  %9 = load i32, ptr @N, align 4, !tbaa !5
  %10 = icmp sle i32 %8, %9
  br i1 %10, label %11, label %12

11:                                               ; preds = %0
  br label %14

12:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 10, ptr noundef @__PRETTY_FUNCTION__._Z5solvev) #4
  unreachable

13:                                               ; No predecessors!
  br label %14

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

15:                                               ; preds = %100, %14
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = load i32, ptr @N, align 4, !tbaa !5
  %18 = icmp slt i32 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  store i32 2, ptr %3, align 4
  br label %103

20:                                               ; preds = %15
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = load i32, ptr @M, align 4, !tbaa !5
  %23 = add nsw i32 %21, %22
  %24 = sub nsw i32 %23, 1
  %25 = load i32, ptr @N, align 4, !tbaa !5
  %26 = icmp sge i32 %24, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %20
  br label %100

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

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

33:                                               ; preds = %29
  store i32 5, ptr %3, align 4
  br label %97

34:                                               ; preds = %29
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = load i32, ptr @M, align 4, !tbaa !5
  %37 = add nsw i32 %35, %36
  %38 = sub nsw i32 %37, 1
  %39 = load i32, ptr @N, align 4, !tbaa !5
  %40 = icmp sge i32 %38, %39
  br i1 %40, label %41, label %42

41:                                               ; preds = %34
  br label %94

42:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  store i8 1, ptr %5, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %83, %42
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = load i32, ptr @M, align 4, !tbaa !5
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %48, label %47

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

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

49:                                               ; preds = %78, %48
  %50 = load i32, ptr %7, align 4, !tbaa !5
  %51 = load i32, ptr @M, align 4, !tbaa !5
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %49
  store i32 11, ptr %3, align 4
  br label %81

54:                                               ; preds = %49
  %55 = load i32, ptr %2, align 4, !tbaa !5
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = add nsw i32 %55, %56
  %58 = sext i32 %57 to i64
  %59 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_Z1AB5cxx11, i64 noundef %58) #5
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = add nsw i32 %60, %61
  %63 = sext i32 %62 to i64
  %64 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %59, i64 noundef %63)
  %65 = load i8, ptr %64, align 1, !tbaa !11
  %66 = sext i8 %65 to i32
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_Z1BB5cxx11, i64 noundef %68) #5
  %70 = load i32, ptr %7, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %69, i64 noundef %71)
  %73 = load i8, ptr %72, align 1, !tbaa !11
  %74 = sext i8 %73 to i32
  %75 = icmp ne i32 %66, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %54
  store i8 0, ptr %5, align 1, !tbaa !9
  store i32 11, ptr %3, align 4
  br label %81

77:                                               ; preds = %54
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %7, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %7, align 4, !tbaa !5
  br label %49, !llvm.loop !12

81:                                               ; preds = %76, %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %82

82:                                               ; preds = %81
  br label %83

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

86:                                               ; preds = %47
  %87 = load i8, ptr %5, align 1, !tbaa !9, !range !15, !noundef !16
  %88 = trunc i8 %87 to i1
  br i1 %88, label %89, label %90

89:                                               ; preds = %86
  store i1 true, ptr %1, align 1
  store i32 1, ptr %3, align 4
  br label %91

90:                                               ; preds = %86
  store i32 0, ptr %3, align 4
  br label %91

91:                                               ; preds = %90, %89
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  %92 = load i32, ptr %3, align 4
  switch i32 %92, label %97 [
    i32 0, label %93
  ]

93:                                               ; preds = %91
  br label %94

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

97:                                               ; preds = %91, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  %98 = load i32, ptr %3, align 4
  switch i32 %98, label %103 [
    i32 5, label %99
  ]

99:                                               ; preds = %97
  br label %100

100:                                              ; preds = %99, %27
  %101 = load i32, ptr %2, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %2, align 4, !tbaa !5
  br label %15, !llvm.loop !18

103:                                              ; preds = %97, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %104 = load i32, ptr %3, align 4
  switch i32 %104, label %108 [
    i32 2, label %105
    i32 1, label %106
  ]

105:                                              ; preds = %103
  store i1 false, ptr %1, align 1
  br label %106

106:                                              ; preds = %105, %103
  %107 = load i1, ptr %1, align 1
  ret i1 %107

108:                                              ; preds = %103
  unreachable
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #3 align 2

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

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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { noreturn nounwind }
attributes #5 = { 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@N = external dso_local local_unnamed_addr global i32, align 4
@M = external dso_local local_unnamed_addr global i32, align 4
@_Z1AB5cxx11 = external dso_local global %"class.std::vector", align 8
@_Z1BB5cxx11 = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_Z5solvev() local_unnamed_addr #0 {
  %1 = load i32, ptr @M, align 4, !tbaa !5
  %2 = load i32, ptr @N, align 4
  %.not = icmp sgt i32 %1, %2
  br i1 %.not, label %3, label %.preheader40

.preheader40:                                     ; preds = %0
  %.not3750 = icmp sgt i32 %2, 0
  br i1 %.not3750, label %.lr.ph53, label %._crit_edge54

3:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, i32 noundef 10, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5solvev) #2
  unreachable

.lr.ph53:                                         ; preds = %.preheader40, %.thread
  %4 = phi i32 [ %42, %.thread ], [ %2, %.preheader40 ]
  %5 = phi i32 [ %43, %.thread ], [ %1, %.preheader40 ]
  %6 = phi i32 [ %44, %.thread ], [ %1, %.preheader40 ]
  %7 = phi i32 [ %45, %.thread ], [ %1, %.preheader40 ]
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %.thread ], [ 0, %.preheader40 ]
  %8 = trunc nuw nsw i64 %indvars.iv69 to i32
  %9 = add nsw i32 %7, %8
  %.not32.not = icmp sle i32 %9, %4
  %.not3447 = icmp sgt i32 %4, 0
  %or.cond = and i1 %.not32.not, %.not3447
  br i1 %or.cond, label %.lr.ph49, label %.thread

.lr.ph49:                                         ; preds = %.lr.ph53, %36
  %10 = phi i32 [ %37, %36 ], [ %4, %.lr.ph53 ]
  %11 = phi i32 [ %38, %36 ], [ %4, %.lr.ph53 ]
  %12 = phi i32 [ %39, %36 ], [ %5, %.lr.ph53 ]
  %13 = phi i32 [ %40, %36 ], [ %6, %.lr.ph53 ]
  %indvars.iv66 = phi i64 [ %indvars.iv.next67, %36 ], [ 0, %.lr.ph53 ]
  %14 = trunc nuw nsw i64 %indvars.iv66 to i32
  %15 = add nsw i32 %13, %14
  %.not33.not = icmp sgt i32 %15, %11
  br i1 %.not33.not, label %36, label %.preheader38

.preheader38:                                     ; preds = %.lr.ph49
  %16 = icmp sgt i32 %13, 0
  br i1 %16, label %.preheader.outer, label %._crit_edge54

.preheader.outer:                                 ; preds = %.preheader38, %._crit_edge.thread
  %.ph = phi i32 [ %.pre.pre, %._crit_edge.thread ], [ %12, %.preheader38 ]
  %.ph76 = phi i32 [ %.pre.pre, %._crit_edge.thread ], [ %13, %.preheader38 ]
  %indvars.iv64.ph = phi i64 [ %indvars.iv.next6573, %._crit_edge.thread ], [ 0, %.preheader38 ]
  %.02244.ph = phi i1 [ false, %._crit_edge.thread ], [ true, %.preheader38 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.outer, %._crit_edge
  %17 = phi i32 [ %32, %._crit_edge ], [ %.ph, %.preheader.outer ]
  %18 = phi i32 [ %32, %._crit_edge ], [ %.ph76, %.preheader.outer ]
  %indvars.iv64 = phi i64 [ %indvars.iv.next65, %._crit_edge ], [ %indvars.iv64.ph, %.preheader.outer ]
  %19 = add nuw nsw i64 %indvars.iv64, %indvars.iv69
  %20 = icmp sgt i32 %18, 0
  br i1 %20, label %.lr.ph, label %._crit_edge

._crit_edge46:                                    ; preds = %._crit_edge
  br i1 %.02244.ph, label %._crit_edge54, label %._crit_edge46._crit_edge

._crit_edge46._crit_edge:                         ; preds = %._crit_edge.thread, %._crit_edge46
  %21 = phi i32 [ %32, %._crit_edge46 ], [ %.pre.pre, %._crit_edge.thread ]
  %.pre71 = load i32, ptr @N, align 4
  br label %36

22:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %23 = icmp slt i64 %indvars.iv.next, %31
  br i1 %23, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.lr.ph:                                           ; preds = %.preheader, %22
  %indvars.iv = phi i64 [ %indvars.iv.next, %22 ], [ 0, %.preheader ]
  %24 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_Z1AB5cxx11, i64 noundef %19) #3
  %25 = add nuw nsw i64 %indvars.iv, %indvars.iv66
  %26 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %24, i64 noundef %25)
  %27 = load i8, ptr %26, align 1, !tbaa !11
  %28 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_Z1BB5cxx11, i64 noundef %indvars.iv64) #3
  %29 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %28, i64 noundef %indvars.iv)
  %30 = load i8, ptr %29, align 1, !tbaa !11
  %.not35 = icmp eq i8 %27, %30
  %.pre.pre = load i32, ptr @M, align 4, !tbaa !5
  %31 = sext i32 %.pre.pre to i64
  br i1 %.not35, label %22, label %._crit_edge.thread

._crit_edge:                                      ; preds = %22, %.preheader
  %32 = phi i32 [ %17, %.preheader ], [ %.pre.pre, %22 ]
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %33 = sext i32 %32 to i64
  %34 = icmp slt i64 %indvars.iv.next65, %33
  br i1 %34, label %.preheader, label %._crit_edge46, !llvm.loop !12

._crit_edge.thread:                               ; preds = %.lr.ph
  %indvars.iv.next6573 = add nuw nsw i64 %indvars.iv64, 1
  %35 = icmp slt i64 %indvars.iv.next6573, %31
  br i1 %35, label %.preheader.outer, label %._crit_edge46._crit_edge, !llvm.loop !12

36:                                               ; preds = %._crit_edge46._crit_edge, %.lr.ph49
  %37 = phi i32 [ %.pre71, %._crit_edge46._crit_edge ], [ %10, %.lr.ph49 ]
  %38 = phi i32 [ %.pre71, %._crit_edge46._crit_edge ], [ %11, %.lr.ph49 ]
  %39 = phi i32 [ %21, %._crit_edge46._crit_edge ], [ %12, %.lr.ph49 ]
  %40 = phi i32 [ %21, %._crit_edge46._crit_edge ], [ %13, %.lr.ph49 ]
  %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66, 1
  %41 = sext i32 %38 to i64
  %.not34 = icmp slt i64 %indvars.iv.next67, %41
  br i1 %.not34, label %.lr.ph49, label %.thread, !llvm.loop !14

.thread:                                          ; preds = %36, %.lr.ph53
  %42 = phi i32 [ %4, %.lr.ph53 ], [ %37, %36 ]
  %43 = phi i32 [ %5, %.lr.ph53 ], [ %39, %36 ]
  %44 = phi i32 [ %6, %.lr.ph53 ], [ %40, %36 ]
  %45 = phi i32 [ %7, %.lr.ph53 ], [ %40, %36 ]
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %46 = sext i32 %42 to i64
  %.not37 = icmp slt i64 %indvars.iv.next70, %46
  br i1 %.not37, label %.lr.ph53, label %._crit_edge54, !llvm.loop !15

._crit_edge54:                                    ; preds = %.thread, %.preheader38, %._crit_edge46, %.preheader40
  %.not37.lcssa = phi i1 [ false, %.preheader40 ], [ true, %._crit_edge46 ], [ true, %.preheader38 ], [ false, %.thread ]
  ret i1 %.not37.lcssa
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn nounwind }
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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !10, !13}
!13 = !{!"llvm.loop.unswitch.partial.disable"}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; Effective O3 passes: AggressiveInstCombinePass,ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass