; LLVM IR from abeaumont/competitive-programming :: codeforces/0897/c.ll (Z1fxx)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_Z1sB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z1aB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z1bB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z1cB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@x = external dso_local global %"class.std::vector", align 8

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

; Function Attrs: mustprogress uwtable
define dso_local noundef signext i8 @_Z1fxx(i64 noundef %0, i64 noundef %1) #1 {
  %3 = alloca i8, align 1
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  store i64 %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !5
  br label %6

6:                                                ; preds = %18, %2
  %7 = load i64, ptr %4, align 8, !tbaa !5
  %8 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #2
  %9 = icmp uge i64 %7, %8
  br i1 %9, label %10, label %24

10:                                               ; preds = %6
  %11 = load i64, ptr %5, align 8, !tbaa !5
  %12 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #2
  %13 = icmp ult i64 %11, %12
  br i1 %13, label %14, label %18

14:                                               ; preds = %10
  %15 = load i64, ptr %5, align 8, !tbaa !5
  %16 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11, i64 noundef %15)
  %17 = load i8, ptr %16, align 1, !tbaa !9
  store i8 %17, ptr %3, align 1
  br label %100

18:                                               ; preds = %10
  %19 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #2
  %20 = load i64, ptr %5, align 8, !tbaa !5
  %21 = sub i64 %20, %19
  store i64 %21, ptr %5, align 8, !tbaa !5
  %22 = load i64, ptr %4, align 8, !tbaa !5
  %23 = add nsw i64 %22, -1
  store i64 %23, ptr %4, align 8, !tbaa !5
  br label %6, !llvm.loop !10

24:                                               ; preds = %6
  br label %25

25:                                               ; preds = %73, %46, %24
  %26 = load i64, ptr %4, align 8, !tbaa !5
  %27 = icmp ne i64 %26, 0
  br i1 %27, label %28, label %91

28:                                               ; preds = %25
  %29 = load i64, ptr %5, align 8, !tbaa !5
  %30 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #2
  %31 = icmp ult i64 %29, %30
  br i1 %31, label %32, label %36

32:                                               ; preds = %28
  %33 = load i64, ptr %5, align 8, !tbaa !5
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11, i64 noundef %33)
  %35 = load i8, ptr %34, align 1, !tbaa !9
  store i8 %35, ptr %3, align 1
  br label %100

36:                                               ; preds = %28
  %37 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #2
  %38 = load i64, ptr %5, align 8, !tbaa !5
  %39 = sub i64 %38, %37
  store i64 %39, ptr %5, align 8, !tbaa !5
  %40 = load i64, ptr %5, align 8, !tbaa !5
  %41 = load i64, ptr %4, align 8, !tbaa !5
  %42 = sub nsw i64 %41, 1
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %42) #2
  %44 = load i64, ptr %43, align 8, !tbaa !5
  %45 = icmp slt i64 %40, %44
  br i1 %45, label %46, label %49

46:                                               ; preds = %36
  %47 = load i64, ptr %4, align 8, !tbaa !5
  %48 = add nsw i64 %47, -1
  store i64 %48, ptr %4, align 8, !tbaa !5
  br label %25, !llvm.loop !12

49:                                               ; preds = %36
  %50 = load i64, ptr %4, align 8, !tbaa !5
  %51 = sub nsw i64 %50, 1
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %51) #2
  %53 = load i64, ptr %52, align 8, !tbaa !5
  %54 = load i64, ptr %5, align 8, !tbaa !5
  %55 = sub nsw i64 %54, %53
  store i64 %55, ptr %5, align 8, !tbaa !5
  %56 = load i64, ptr %5, align 8, !tbaa !5
  %57 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1bB5cxx11) #2
  %58 = icmp ult i64 %56, %57
  br i1 %58, label %59, label %63

59:                                               ; preds = %49
  %60 = load i64, ptr %5, align 8, !tbaa !5
  %61 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1bB5cxx11, i64 noundef %60)
  %62 = load i8, ptr %61, align 1, !tbaa !9
  store i8 %62, ptr %3, align 1
  br label %100

63:                                               ; preds = %49
  %64 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1bB5cxx11) #2
  %65 = load i64, ptr %5, align 8, !tbaa !5
  %66 = sub i64 %65, %64
  store i64 %66, ptr %5, align 8, !tbaa !5
  %67 = load i64, ptr %5, align 8, !tbaa !5
  %68 = load i64, ptr %4, align 8, !tbaa !5
  %69 = sub nsw i64 %68, 1
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %69) #2
  %71 = load i64, ptr %70, align 8, !tbaa !5
  %72 = icmp slt i64 %67, %71
  br i1 %72, label %73, label %76

73:                                               ; preds = %63
  %74 = load i64, ptr %4, align 8, !tbaa !5
  %75 = add nsw i64 %74, -1
  store i64 %75, ptr %4, align 8, !tbaa !5
  br label %25, !llvm.loop !12

76:                                               ; preds = %63
  %77 = load i64, ptr %4, align 8, !tbaa !5
  %78 = sub nsw i64 %77, 1
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %78) #2
  %80 = load i64, ptr %79, align 8, !tbaa !5
  %81 = load i64, ptr %5, align 8, !tbaa !5
  %82 = sub nsw i64 %81, %80
  store i64 %82, ptr %5, align 8, !tbaa !5
  %83 = load i64, ptr %5, align 8, !tbaa !5
  %84 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1cB5cxx11) #2
  %85 = icmp ult i64 %83, %84
  br i1 %85, label %86, label %90

86:                                               ; preds = %76
  %87 = load i64, ptr %5, align 8, !tbaa !5
  %88 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1cB5cxx11, i64 noundef %87)
  %89 = load i8, ptr %88, align 1, !tbaa !9
  store i8 %89, ptr %3, align 1
  br label %100

90:                                               ; preds = %76
  store i8 46, ptr %3, align 1
  br label %100

91:                                               ; preds = %25
  %92 = load i64, ptr %5, align 8, !tbaa !5
  %93 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1sB5cxx11) #2
  %94 = icmp ult i64 %92, %93
  br i1 %94, label %95, label %99

95:                                               ; preds = %91
  %96 = load i64, ptr %5, align 8, !tbaa !5
  %97 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1sB5cxx11, i64 noundef %96)
  %98 = load i8, ptr %97, align 1, !tbaa !9
  store i8 %98, ptr %3, align 1
  br label %100

99:                                               ; preds = %91
  store i8 46, ptr %3, align 1
  br label %100

100:                                              ; preds = %99, %95, %90, %86, %59, %32, %14
  %101 = load i8, ptr %3, align 1
  ret i8 %101
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #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) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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 = { 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 = { 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_Z1sB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z1aB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z1bB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z1cB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@x = external dso_local global %"class.std::vector", align 8

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef signext i8 @_Z1fxx(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #1
  %.not47 = icmp ugt i64 %3, %0
  br i1 %.not47, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %9, %2
  %.027.lcssa = phi i64 [ %0, %2 ], [ %12, %9 ]
  %.0.lcssa = phi i64 [ %1, %2 ], [ %11, %9 ]
  %.not3751 = icmp eq i64 %.027.lcssa, 0
  br i1 %.not3751, label %._crit_edge, label %.lr.ph54

.lr.ph:                                           ; preds = %2, %9
  %.049 = phi i64 [ %11, %9 ], [ %1, %2 ]
  %.02748 = phi i64 [ %12, %9 ], [ %0, %2 ]
  %4 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #1
  %5 = icmp ult i64 %.049, %4
  br i1 %5, label %6, label %9

6:                                                ; preds = %.lr.ph
  %7 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11, i64 noundef %.049)
  %8 = load i8, ptr %7, align 1, !tbaa !5
  br label %55

9:                                                ; preds = %.lr.ph
  %10 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #1
  %11 = sub i64 %.049, %10
  %12 = add nsw i64 %.02748, -1
  %13 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #1
  %.not = icmp ult i64 %12, %13
  br i1 %.not, label %.preheader, label %.lr.ph, !llvm.loop !8

.lr.ph54:                                         ; preds = %.preheader, %.backedge
  %.153 = phi i64 [ %.1.be, %.backedge ], [ %.0.lcssa, %.preheader ]
  %.12852 = phi i64 [ %22, %.backedge ], [ %.027.lcssa, %.preheader ]
  %14 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #1
  %15 = icmp ult i64 %.153, %14
  br i1 %15, label %16, label %19

16:                                               ; preds = %.lr.ph54
  %17 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11, i64 noundef %.153)
  %18 = load i8, ptr %17, align 1, !tbaa !5
  br label %55

19:                                               ; preds = %.lr.ph54
  %20 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1aB5cxx11) #1
  %21 = sub i64 %.153, %20
  %22 = add nsw i64 %.12852, -1
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %22) #1
  %24 = load i64, ptr %23, align 8, !tbaa !10
  %25 = icmp slt i64 %21, %24
  br i1 %25, label %.backedge, label %26

.backedge:                                        ; preds = %19, %35
  %.1.be = phi i64 [ %21, %19 ], [ %37, %35 ]
  %.not37 = icmp eq i64 %22, 0
  br i1 %.not37, label %._crit_edge, label %.lr.ph54, !llvm.loop !12

26:                                               ; preds = %19
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %22) #1
  %28 = load i64, ptr %27, align 8, !tbaa !10
  %29 = sub nsw i64 %21, %28
  %30 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1bB5cxx11) #1
  %31 = icmp ult i64 %29, %30
  br i1 %31, label %32, label %35

32:                                               ; preds = %26
  %33 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1bB5cxx11, i64 noundef %29)
  %34 = load i8, ptr %33, align 1, !tbaa !5
  br label %55

35:                                               ; preds = %26
  %36 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1bB5cxx11) #1
  %37 = sub i64 %29, %36
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %22) #1
  %39 = load i64, ptr %38, align 8, !tbaa !10
  %40 = icmp slt i64 %37, %39
  br i1 %40, label %.backedge, label %41

41:                                               ; preds = %35
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @x, i64 noundef %22) #1
  %43 = load i64, ptr %42, align 8, !tbaa !10
  %44 = sub nsw i64 %37, %43
  %45 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1cB5cxx11) #1
  %46 = icmp ult i64 %44, %45
  br i1 %46, label %47, label %55

47:                                               ; preds = %41
  %48 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1cB5cxx11, i64 noundef %44)
  %49 = load i8, ptr %48, align 1, !tbaa !5
  br label %55

._crit_edge:                                      ; preds = %.backedge, %.preheader
  %.1.lcssa = phi i64 [ %.0.lcssa, %.preheader ], [ %.1.be, %.backedge ]
  %50 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z1sB5cxx11) #1
  %51 = icmp ult i64 %.1.lcssa, %50
  br i1 %51, label %52, label %55

52:                                               ; preds = %._crit_edge
  %53 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1sB5cxx11, i64 noundef %.1.lcssa)
  %54 = load i8, ptr %53, align 1, !tbaa !5
  br label %55

55:                                               ; preds = %._crit_edge, %41, %52, %47, %32, %16, %6
  %.029 = phi i8 [ %8, %6 ], [ %18, %16 ], [ %34, %32 ], [ %49, %47 ], [ %54, %52 ], [ 46, %41 ], [ 46, %._crit_edge ]
  ret i8 %.029
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) 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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24), 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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !6, i64 0}
!12 = distinct !{!12, !9}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass