; LLVM IR from DionysiosB/CodeForces :: 0900-0999 (910C-MinimumSum)

; 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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.4" = type { i8 }
%"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] }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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 }
%"class.std::allocator.12" = type { i8 }
%"struct.std::pair" = type <{ i64, i8, [7 x i8] }>

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::allocator.4", align 1
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"struct.std::_Bit_reference", align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca i8, align 1
  %21 = alloca %"class.std::vector.10", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::allocator.12", align 1
  %24 = alloca i32, align 4
  %25 = alloca %"struct.std::_Bit_reference", align 8
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 10, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  call void @_ZNSaISt4pairIlcEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt6vectorISt4pairIlcESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 10, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %29 unwind label %34

29:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorISt4pairIlcEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %46, %29
  %31 = load i32, ptr %8, align 4, !tbaa !5
  %32 = icmp slt i32 %31, 10
  br i1 %32, label %38, label %33

33:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %49

34:                                               ; preds = %0
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %6, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %7, align 4
  call void @_ZNSt15__new_allocatorISt4pairIlcEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  br label %221

38:                                               ; preds = %30
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = add nsw i32 97, %39
  %41 = trunc i32 %40 to i8
  %42 = load i32, ptr %8, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %43) #6
  %45 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 1
  store i8 %41, ptr %45, align 8, !tbaa !9
  br label %46

46:                                               ; preds = %38
  %47 = load i32, ptr %8, align 4, !tbaa !5
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %8, align 4, !tbaa !5
  br label %30, !llvm.loop !12

49:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  store i8 0, ptr %10, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef 10, ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %50 unwind label %56

50:                                               ; preds = %49
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !16
  br label %51

51:                                               ; preds = %113, %50
  %52 = load i64, ptr %12, align 8, !tbaa !16
  %53 = load i64, ptr %3, align 8, !tbaa !16
  %54 = icmp slt i64 %52, %53
  br i1 %54, label %60, label %55

55:                                               ; preds = %51
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %117

56:                                               ; preds = %49
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %6, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  br label %220

60:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  %61 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %62 unwind label %82

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %63 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef 0)
          to label %64 unwind label %86

64:                                               ; preds = %62
  %65 = load i8, ptr %63, align 1, !tbaa !17
  %66 = sext i8 %65 to i32
  %67 = sub nsw i32 %66, 97
  %68 = sext i32 %67 to i64
  %69 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef %68)
          to label %70 unwind label %86

70:                                               ; preds = %64
  %71 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %72 = extractvalue { ptr, i64 } %69, 0
  store ptr %72, ptr %71, align 8
  %73 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %74 = extractvalue { ptr, i64 } %69, 1
  store i64 %74, ptr %73, align 8
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %15, i1 noundef zeroext true) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %76 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  %77 = sub i64 %76, 1
  store i64 %77, ptr %16, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 1, ptr %17, align 8, !tbaa !16
  br label %78

78:                                               ; preds = %103, %70
  %79 = load i64, ptr %16, align 8, !tbaa !16
  %80 = icmp sge i64 %79, 0
  br i1 %80, label %90, label %81

81:                                               ; preds = %78
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %112

82:                                               ; preds = %60
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %6, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %7, align 4
  br label %116

86:                                               ; preds = %64, %62
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %6, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %116

90:                                               ; preds = %78
  %91 = load i64, ptr %17, align 8, !tbaa !16
  %92 = load i64, ptr %16, align 8, !tbaa !16
  %93 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %92)
          to label %94 unwind label %108

94:                                               ; preds = %90
  %95 = load i8, ptr %93, align 1, !tbaa !17
  %96 = sext i8 %95 to i32
  %97 = sub nsw i32 %96, 97
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %98) #6
  %100 = getelementptr inbounds %"struct.std::pair", ptr %99, i32 0, i32 0
  %101 = load i64, ptr %100, align 8, !tbaa !18
  %102 = add nsw i64 %101, %91
  store i64 %102, ptr %100, align 8, !tbaa !18
  br label %103

103:                                              ; preds = %94
  %104 = load i64, ptr %16, align 8, !tbaa !16
  %105 = add nsw i64 %104, -1
  store i64 %105, ptr %16, align 8, !tbaa !16
  %106 = load i64, ptr %17, align 8, !tbaa !16
  %107 = mul nsw i64 %106, 10
  store i64 %107, ptr %17, align 8, !tbaa !16
  br label %78, !llvm.loop !19

108:                                              ; preds = %90
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %6, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %116

112:                                              ; preds = %81
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %113

113:                                              ; preds = %112
  %114 = load i64, ptr %12, align 8, !tbaa !16
  %115 = add nsw i64 %114, 1
  store i64 %115, ptr %12, align 8, !tbaa !16
  br label %51, !llvm.loop !20

116:                                              ; preds = %108, %86, %82
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %219

117:                                              ; preds = %55
  %118 = call ptr @_ZNSt6vectorISt4pairIlcESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  %120 = call ptr @_ZNSt6vectorISt4pairIlcESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8
  %124 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlcESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %123, ptr %125)
          to label %126 unwind label %132

126:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  store i8 1, ptr %20, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 10, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %127 unwind label %136

127:                                              ; preds = %126
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 9, ptr %24, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %181, %127
  %129 = load i32, ptr %24, align 4, !tbaa !5
  %130 = icmp sge i32 %129, 0
  br i1 %130, label %140, label %131

131:                                              ; preds = %128
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %184

132:                                              ; preds = %117
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %6, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %7, align 4
  br label %219

136:                                              ; preds = %126
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %6, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %218

140:                                              ; preds = %128
  %141 = load i8, ptr %20, align 1, !tbaa !14, !range !21, !noundef !22
  %142 = trunc i8 %141 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  br i1 %142, label %143, label %160

143:                                              ; preds = %140
  %144 = load i32, ptr %24, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %145) #6
  %147 = getelementptr inbounds %"struct.std::pair", ptr %146, i32 0, i32 1
  %148 = load i8, ptr %147, align 8, !tbaa !9
  %149 = sext i8 %148 to i32
  %150 = sub nsw i32 %149, 97
  %151 = sext i32 %150 to i64
  %152 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef %151)
          to label %153 unwind label %166

153:                                              ; preds = %143
  %154 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %155 = extractvalue { ptr, i64 } %152, 0
  store ptr %155, ptr %154, align 8
  %156 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %157 = extractvalue { ptr, i64 } %152, 1
  store i64 %157, ptr %156, align 8
  %158 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %25) #6
  %159 = xor i1 %158, true
  br label %160

160:                                              ; preds = %153, %140
  %161 = phi i1 [ false, %140 ], [ %159, %153 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  br i1 %161, label %162, label %170

162:                                              ; preds = %160
  %163 = load i32, ptr %24, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %164) #6
  store i32 0, ptr %165, align 4, !tbaa !5
  store i8 0, ptr %20, align 1, !tbaa !14
  br label %180

166:                                              ; preds = %143
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %6, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %217

170:                                              ; preds = %160
  %171 = load i32, ptr %24, align 4, !tbaa !5
  %172 = sub nsw i32 9, %171
  %173 = load i8, ptr %20, align 1, !tbaa !14, !range !21, !noundef !22
  %174 = trunc i8 %173 to i1
  %175 = zext i1 %174 to i32
  %176 = add nsw i32 %172, %175
  %177 = load i32, ptr %24, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %178) #6
  store i32 %176, ptr %179, align 4, !tbaa !5
  br label %180

180:                                              ; preds = %170, %162
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %24, align 4, !tbaa !5
  %183 = add nsw i32 %182, -1
  store i32 %183, ptr %24, align 4, !tbaa !5
  br label %128, !llvm.loop !23

184:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 0, ptr %26, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %185

185:                                              ; preds = %203, %184
  %186 = load i32, ptr %27, align 4, !tbaa !5
  %187 = icmp slt i32 %186, 10
  br i1 %187, label %189, label %188

188:                                              ; preds = %185
  store i32 14, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %206

189:                                              ; preds = %185
  %190 = load i32, ptr %27, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %191) #6
  %193 = getelementptr inbounds %"struct.std::pair", ptr %192, i32 0, i32 0
  %194 = load i64, ptr %193, align 8, !tbaa !18
  %195 = load i32, ptr %27, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %196) #6
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = mul nsw i64 %194, %199
  %201 = load i64, ptr %26, align 8, !tbaa !16
  %202 = add nsw i64 %201, %200
  store i64 %202, ptr %26, align 8, !tbaa !16
  br label %203

203:                                              ; preds = %189
  %204 = load i32, ptr %27, align 4, !tbaa !5
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %27, align 4, !tbaa !5
  br label %185, !llvm.loop !24

206:                                              ; preds = %188
  %207 = load i64, ptr %26, align 8, !tbaa !16
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %207)
          to label %209 unwind label %213

209:                                              ; preds = %206
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %211 unwind label %213

211:                                              ; preds = %209
  store i32 0, ptr %1, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #6
  call void @_ZNSt6vectorISt4pairIlcESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %212 = load i32, ptr %1, align 4
  ret i32 %212

213:                                              ; preds = %209, %206
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %6, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %217

217:                                              ; preds = %213, %166
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %218

218:                                              ; preds = %217, %136
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %219

219:                                              ; preds = %218, %132, %116
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  br label %220

220:                                              ; preds = %219, %56
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #6
  call void @_ZNSt6vectorISt4pairIlcESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %221

221:                                              ; preds = %220, %34
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %222

222:                                              ; preds = %221
  %223 = load ptr, ptr %6, align 8
  %224 = load i32, ptr %7, align 4
  %225 = insertvalue { ptr, i32 } poison, ptr %223, 0
  %226 = insertvalue { ptr, i32 } %225, i32 %224, 1
  resume { ptr, i32 } %226
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt4pairIlcEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIlcESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlcESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 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)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIlcESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt4pairIlcEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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 = { 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 #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 = { "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 = { 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 #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, !7, i64 8}
!10 = !{!"_ZTSSt4pairIlcE", !11, i64 0, !7, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!10, !11, i64 0}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !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::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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long, char>, std::allocator<std::pair<long, char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.4" = type { i8 }
%"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] }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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 }
%"class.std::allocator.12" = type { i8 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca %"class.std::vector", align 8
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca %"class.std::vector.0", align 8
  %5 = alloca i8, align 1
  %6 = alloca %"class.std::allocator.4", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"struct.std::_Bit_reference", align 8
  %9 = alloca %"class.std::vector.10", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::allocator.12", align 1
  %12 = alloca %"struct.std::_Bit_reference", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  call void @_ZNSaISt4pairIlcEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  invoke void @_ZNSt6vectorISt4pairIlcESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 10, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %14 unwind label %35

14:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorISt4pairIlcEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  %15 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #6
  %16 = getelementptr inbounds i8, ptr %15, i64 8
  store i8 97, ptr %16, align 8, !tbaa !5
  %17 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 1) #6
  %18 = getelementptr inbounds i8, ptr %17, i64 8
  store i8 98, ptr %18, align 8, !tbaa !5
  %19 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 2) #6
  %20 = getelementptr inbounds i8, ptr %19, i64 8
  store i8 99, ptr %20, align 8, !tbaa !5
  %21 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 3) #6
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  store i8 100, ptr %22, align 8, !tbaa !5
  %23 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 4) #6
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  store i8 101, ptr %24, align 8, !tbaa !5
  %25 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 5) #6
  %26 = getelementptr inbounds i8, ptr %25, i64 8
  store i8 102, ptr %26, align 8, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 6) #6
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  store i8 103, ptr %28, align 8, !tbaa !5
  %29 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 7) #6
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  store i8 104, ptr %30, align 8, !tbaa !5
  %31 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 8) #6
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  store i8 105, ptr %32, align 8, !tbaa !5
  %33 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 9) #6
  %34 = getelementptr inbounds i8, ptr %33, i64 8
  store i8 106, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  store i8 0, ptr %5, align 1, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef 10, ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %37 unwind label %43

35:                                               ; preds = %0
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIlcEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  br label %322

37:                                               ; preds = %14
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %38 = load i64, ptr %1, align 8, !tbaa !12
  %39 = icmp sgt i64 %38, 0
  br i1 %39, label %.lr.ph56, label %._crit_edge57

.lr.ph56:                                         ; preds = %37
  %40 = getelementptr inbounds i8, ptr %8, i64 8
  br label %45

._crit_edge57:                                    ; preds = %._crit_edge, %37
  %41 = call ptr @_ZNSt6vectorISt4pairIlcESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %42 = call ptr @_ZNSt6vectorISt4pairIlcESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlcESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %41, ptr %42)
          to label %75 unwind label %84

43:                                               ; preds = %14
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  br label %321

45:                                               ; preds = %.lr.ph56, %._crit_edge
  %.03554 = phi i64 [ 0, %.lr.ph56 ], [ %59, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %47 unwind label %62

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %48 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 0)
  %49 = load i8, ptr %48, align 1, !tbaa !13
  %50 = sext i8 %49 to i64
  %51 = add nsw i64 %50, -97
  %52 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %51)
          to label %53 unwind label %64

53:                                               ; preds = %47
  %54 = extractvalue { ptr, i64 } %52, 0
  store ptr %54, ptr %8, align 8
  %55 = extractvalue { ptr, i64 } %52, 1
  store i64 %55, ptr %40, align 8
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %8, i1 noundef zeroext true) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  %57 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  %.03451 = add i64 %57, -1
  %58 = icmp sgt i64 %.03451, -1
  br i1 %58, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %59 = add nuw nsw i64 %.03554, 1
  %60 = load i64, ptr %1, align 8, !tbaa !12
  %61 = icmp slt i64 %59, %60
  br i1 %61, label %45, label %._crit_edge57, !llvm.loop !14

62:                                               ; preds = %45
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %74

64:                                               ; preds = %47
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %74

.lr.ph:                                           ; preds = %53, %.lr.ph
  %.03453 = phi i64 [ %.034, %.lr.ph ], [ %.03451, %53 ]
  %.03352 = phi i64 [ %73, %.lr.ph ], [ 1, %53 ]
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %.03453)
  %67 = load i8, ptr %66, align 1, !tbaa !13
  %68 = sext i8 %67 to i64
  %69 = add nsw i64 %68, -97
  %70 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %69) #6
  %71 = load i64, ptr %70, align 8, !tbaa !16
  %72 = add nsw i64 %71, %.03352
  store i64 %72, ptr %70, align 8, !tbaa !16
  %73 = mul nuw nsw i64 %.03352, 10
  %.034 = add nsw i64 %.03453, -1
  %.not68 = icmp eq i64 %.03453, 0
  br i1 %.not68, label %._crit_edge, label %.lr.ph, !llvm.loop !17

74:                                               ; preds = %64, %62
  %.pn45 = phi { ptr, i32 } [ %65, %64 ], [ %63, %62 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %320

75:                                               ; preds = %._crit_edge57
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store i32 0, ptr %10, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 10, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %76 unwind label %86

76:                                               ; preds = %75
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %77 = getelementptr inbounds i8, ptr %12, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %78 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 9) #6
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load i8, ptr %79, align 8, !tbaa !5
  %81 = sext i8 %80 to i64
  %82 = add nsw i64 %81, -97
  %83 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %82)
          to label %88 unwind label %94

84:                                               ; preds = %._crit_edge57
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %320

86:                                               ; preds = %75
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %319

88:                                               ; preds = %76
  %89 = extractvalue { ptr, i64 } %83, 0
  store ptr %89, ptr %12, align 8
  %90 = extractvalue { ptr, i64 } %83, 1
  store i64 %90, ptr %77, align 8
  %91 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %spec.select = select i1 %91, i32 1, i32 0
  %spec.select72 = select i1 %91, i8 1, i8 0
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 9) #6
  store i32 %spec.select, ptr %92, align 4, !tbaa !18
  %93 = trunc nuw i8 %spec.select72 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %93, label %96, label %.critedge.1

94:                                               ; preds = %229, %212, %195, %178, %162, %145, %129, %112, %96, %76
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %318

.critedge.1:                                      ; preds = %88
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %107

96:                                               ; preds = %88
  %97 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 8) #6
  %98 = getelementptr inbounds i8, ptr %97, i64 8
  %99 = load i8, ptr %98, align 8, !tbaa !5
  %100 = sext i8 %99 to i64
  %101 = add nsw i64 %100, -97
  %102 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %101)
          to label %103 unwind label %94

103:                                              ; preds = %96
  %104 = extractvalue { ptr, i64 } %102, 0
  store ptr %104, ptr %12, align 8
  %105 = extractvalue { ptr, i64 } %102, 1
  store i64 %105, ptr %77, align 8
  %106 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %106, label %107, label %109

107:                                              ; preds = %103, %.critedge.1
  %narrow = add nuw nsw i8 %spec.select72, 1
  %108 = zext nneg i8 %narrow to i32
  br label %109

109:                                              ; preds = %107, %103
  %.sink.1 = phi i32 [ %108, %107 ], [ 0, %103 ]
  %.1.1 = phi i8 [ %spec.select72, %107 ], [ 0, %103 ]
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 8) #6
  store i32 %.sink.1, ptr %110, align 4, !tbaa !18
  %111 = trunc nuw i8 %.1.1 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %111, label %112, label %.critedge.2

.critedge.2:                                      ; preds = %109
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %123

112:                                              ; preds = %109
  %113 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 7) #6
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  %115 = load i8, ptr %114, align 8, !tbaa !5
  %116 = sext i8 %115 to i64
  %117 = add nsw i64 %116, -97
  %118 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %117)
          to label %119 unwind label %94

119:                                              ; preds = %112
  %120 = extractvalue { ptr, i64 } %118, 0
  store ptr %120, ptr %12, align 8
  %121 = extractvalue { ptr, i64 } %118, 1
  store i64 %121, ptr %77, align 8
  %122 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %122, label %123, label %126

123:                                              ; preds = %119, %.critedge.2
  %.mask.2 = and i8 %.1.1, 1
  %124 = or disjoint i8 %.mask.2, 2
  %125 = zext nneg i8 %124 to i32
  br label %126

126:                                              ; preds = %123, %119
  %.sink.2 = phi i32 [ %125, %123 ], [ 0, %119 ]
  %.1.2 = phi i8 [ %.1.1, %123 ], [ 0, %119 ]
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 7) #6
  store i32 %.sink.2, ptr %127, align 4, !tbaa !18
  %128 = trunc nuw i8 %.1.2 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %128, label %129, label %.critedge.3

.critedge.3:                                      ; preds = %126
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %140

129:                                              ; preds = %126
  %130 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 6) #6
  %131 = getelementptr inbounds i8, ptr %130, i64 8
  %132 = load i8, ptr %131, align 8, !tbaa !5
  %133 = sext i8 %132 to i64
  %134 = add nsw i64 %133, -97
  %135 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %134)
          to label %136 unwind label %94

136:                                              ; preds = %129
  %137 = extractvalue { ptr, i64 } %135, 0
  store ptr %137, ptr %12, align 8
  %138 = extractvalue { ptr, i64 } %135, 1
  store i64 %138, ptr %77, align 8
  %139 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %139, label %140, label %142

140:                                              ; preds = %136, %.critedge.3
  %.mask.3 = and i8 %.1.2, 1
  %narrow69 = add nuw nsw i8 %.mask.3, 3
  %141 = zext nneg i8 %narrow69 to i32
  br label %142

142:                                              ; preds = %140, %136
  %.sink.3 = phi i32 [ %141, %140 ], [ 0, %136 ]
  %.1.3 = phi i8 [ %.1.2, %140 ], [ 0, %136 ]
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 6) #6
  store i32 %.sink.3, ptr %143, align 4, !tbaa !18
  %144 = trunc nuw i8 %.1.3 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %144, label %145, label %.critedge.4

.critedge.4:                                      ; preds = %142
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %156

145:                                              ; preds = %142
  %146 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 5) #6
  %147 = getelementptr inbounds i8, ptr %146, i64 8
  %148 = load i8, ptr %147, align 8, !tbaa !5
  %149 = sext i8 %148 to i64
  %150 = add nsw i64 %149, -97
  %151 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %150)
          to label %152 unwind label %94

152:                                              ; preds = %145
  %153 = extractvalue { ptr, i64 } %151, 0
  store ptr %153, ptr %12, align 8
  %154 = extractvalue { ptr, i64 } %151, 1
  store i64 %154, ptr %77, align 8
  %155 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %155, label %156, label %159

156:                                              ; preds = %152, %.critedge.4
  %.mask.4 = and i8 %.1.3, 1
  %157 = or disjoint i8 %.mask.4, 4
  %158 = zext nneg i8 %157 to i32
  br label %159

159:                                              ; preds = %156, %152
  %.sink.4 = phi i32 [ %158, %156 ], [ 0, %152 ]
  %.1.4 = phi i8 [ %.1.3, %156 ], [ 0, %152 ]
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 5) #6
  store i32 %.sink.4, ptr %160, align 4, !tbaa !18
  %161 = trunc nuw i8 %.1.4 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %161, label %162, label %.critedge.5

.critedge.5:                                      ; preds = %159
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %173

162:                                              ; preds = %159
  %163 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 4) #6
  %164 = getelementptr inbounds i8, ptr %163, i64 8
  %165 = load i8, ptr %164, align 8, !tbaa !5
  %166 = sext i8 %165 to i64
  %167 = add nsw i64 %166, -97
  %168 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %167)
          to label %169 unwind label %94

169:                                              ; preds = %162
  %170 = extractvalue { ptr, i64 } %168, 0
  store ptr %170, ptr %12, align 8
  %171 = extractvalue { ptr, i64 } %168, 1
  store i64 %171, ptr %77, align 8
  %172 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %172, label %173, label %175

173:                                              ; preds = %169, %.critedge.5
  %.mask.5 = and i8 %.1.4, 1
  %narrow70 = add nuw nsw i8 %.mask.5, 5
  %174 = zext nneg i8 %narrow70 to i32
  br label %175

175:                                              ; preds = %173, %169
  %.sink.5 = phi i32 [ %174, %173 ], [ 0, %169 ]
  %.1.5 = phi i8 [ %.1.4, %173 ], [ 0, %169 ]
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 4) #6
  store i32 %.sink.5, ptr %176, align 4, !tbaa !18
  %177 = trunc nuw i8 %.1.5 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %177, label %178, label %.critedge.6

.critedge.6:                                      ; preds = %175
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %189

178:                                              ; preds = %175
  %179 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 3) #6
  %180 = getelementptr inbounds i8, ptr %179, i64 8
  %181 = load i8, ptr %180, align 8, !tbaa !5
  %182 = sext i8 %181 to i64
  %183 = add nsw i64 %182, -97
  %184 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %183)
          to label %185 unwind label %94

185:                                              ; preds = %178
  %186 = extractvalue { ptr, i64 } %184, 0
  store ptr %186, ptr %12, align 8
  %187 = extractvalue { ptr, i64 } %184, 1
  store i64 %187, ptr %77, align 8
  %188 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %188, label %189, label %192

189:                                              ; preds = %185, %.critedge.6
  %.mask.6 = and i8 %.1.5, 1
  %190 = or disjoint i8 %.mask.6, 6
  %191 = zext nneg i8 %190 to i32
  br label %192

192:                                              ; preds = %189, %185
  %.sink.6 = phi i32 [ %191, %189 ], [ 0, %185 ]
  %.1.6 = phi i8 [ %.1.5, %189 ], [ 0, %185 ]
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 3) #6
  store i32 %.sink.6, ptr %193, align 4, !tbaa !18
  %194 = trunc nuw i8 %.1.6 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %194, label %195, label %.critedge.7

.critedge.7:                                      ; preds = %192
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %206

195:                                              ; preds = %192
  %196 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 2) #6
  %197 = getelementptr inbounds i8, ptr %196, i64 8
  %198 = load i8, ptr %197, align 8, !tbaa !5
  %199 = sext i8 %198 to i64
  %200 = add nsw i64 %199, -97
  %201 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %200)
          to label %202 unwind label %94

202:                                              ; preds = %195
  %203 = extractvalue { ptr, i64 } %201, 0
  store ptr %203, ptr %12, align 8
  %204 = extractvalue { ptr, i64 } %201, 1
  store i64 %204, ptr %77, align 8
  %205 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %205, label %206, label %209

206:                                              ; preds = %202, %.critedge.7
  %207 = zext i8 %.1.6 to i32
  %reass.sub62.7 = or i32 %207, -2
  %208 = add nsw i32 %reass.sub62.7, 9
  br label %209

209:                                              ; preds = %206, %202
  %.sink.7 = phi i32 [ %208, %206 ], [ 0, %202 ]
  %.1.7 = phi i8 [ %.1.6, %206 ], [ 0, %202 ]
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 2) #6
  store i32 %.sink.7, ptr %210, align 4, !tbaa !18
  %211 = trunc nuw i8 %.1.7 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %211, label %212, label %.critedge.8

.critedge.8:                                      ; preds = %209
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %223

212:                                              ; preds = %209
  %213 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 1) #6
  %214 = getelementptr inbounds i8, ptr %213, i64 8
  %215 = load i8, ptr %214, align 8, !tbaa !5
  %216 = sext i8 %215 to i64
  %217 = add nsw i64 %216, -97
  %218 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %217)
          to label %219 unwind label %94

219:                                              ; preds = %212
  %220 = extractvalue { ptr, i64 } %218, 0
  store ptr %220, ptr %12, align 8
  %221 = extractvalue { ptr, i64 } %218, 1
  store i64 %221, ptr %77, align 8
  %222 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %222, label %223, label %226

223:                                              ; preds = %219, %.critedge.8
  %.mask.8 = and i8 %.1.7, 1
  %224 = or disjoint i8 %.mask.8, 8
  %225 = zext nneg i8 %224 to i32
  br label %226

226:                                              ; preds = %223, %219
  %.sink.8 = phi i32 [ %225, %223 ], [ 0, %219 ]
  %.1.8 = phi i8 [ %.1.7, %223 ], [ 0, %219 ]
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1) #6
  store i32 %.sink.8, ptr %227, align 4, !tbaa !18
  %228 = trunc nuw i8 %.1.8 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %228, label %229, label %.critedge.9

.critedge.9:                                      ; preds = %226
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %240

229:                                              ; preds = %226
  %230 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #6
  %231 = getelementptr inbounds i8, ptr %230, i64 8
  %232 = load i8, ptr %231, align 8, !tbaa !5
  %233 = sext i8 %232 to i64
  %234 = add nsw i64 %233, -97
  %235 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %234)
          to label %236 unwind label %94

236:                                              ; preds = %229
  %237 = extractvalue { ptr, i64 } %235, 0
  store ptr %237, ptr %12, align 8
  %238 = extractvalue { ptr, i64 } %235, 1
  store i64 %238, ptr %77, align 8
  %239 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %239, label %240, label %.preheader.preheader

240:                                              ; preds = %236, %.critedge.9
  %.mask.9 = and i8 %.1.8, 1
  %narrow71 = add nuw nsw i8 %.mask.9, 9
  %241 = zext nneg i8 %narrow71 to i32
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %240, %236
  %.sink.9 = phi i32 [ %241, %240 ], [ 0, %236 ]
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #6
  store i32 %.sink.9, ptr %242, align 4, !tbaa !18
  %243 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #6
  %244 = load i64, ptr %243, align 8, !tbaa !16
  %245 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #6
  %246 = load i32, ptr %245, align 4, !tbaa !18
  %247 = sext i32 %246 to i64
  %248 = mul nsw i64 %244, %247
  %249 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 1) #6
  %250 = load i64, ptr %249, align 8, !tbaa !16
  %251 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1) #6
  %252 = load i32, ptr %251, align 4, !tbaa !18
  %253 = sext i32 %252 to i64
  %254 = mul nsw i64 %250, %253
  %255 = add nsw i64 %254, %248
  %256 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 2) #6
  %257 = load i64, ptr %256, align 8, !tbaa !16
  %258 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 2) #6
  %259 = load i32, ptr %258, align 4, !tbaa !18
  %260 = sext i32 %259 to i64
  %261 = mul nsw i64 %257, %260
  %262 = add nsw i64 %261, %255
  %263 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 3) #6
  %264 = load i64, ptr %263, align 8, !tbaa !16
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 3) #6
  %266 = load i32, ptr %265, align 4, !tbaa !18
  %267 = sext i32 %266 to i64
  %268 = mul nsw i64 %264, %267
  %269 = add nsw i64 %268, %262
  %270 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 4) #6
  %271 = load i64, ptr %270, align 8, !tbaa !16
  %272 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 4) #6
  %273 = load i32, ptr %272, align 4, !tbaa !18
  %274 = sext i32 %273 to i64
  %275 = mul nsw i64 %271, %274
  %276 = add nsw i64 %275, %269
  %277 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 5) #6
  %278 = load i64, ptr %277, align 8, !tbaa !16
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 5) #6
  %280 = load i32, ptr %279, align 4, !tbaa !18
  %281 = sext i32 %280 to i64
  %282 = mul nsw i64 %278, %281
  %283 = add nsw i64 %282, %276
  %284 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 6) #6
  %285 = load i64, ptr %284, align 8, !tbaa !16
  %286 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 6) #6
  %287 = load i32, ptr %286, align 4, !tbaa !18
  %288 = sext i32 %287 to i64
  %289 = mul nsw i64 %285, %288
  %290 = add nsw i64 %289, %283
  %291 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 7) #6
  %292 = load i64, ptr %291, align 8, !tbaa !16
  %293 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 7) #6
  %294 = load i32, ptr %293, align 4, !tbaa !18
  %295 = sext i32 %294 to i64
  %296 = mul nsw i64 %292, %295
  %297 = add nsw i64 %296, %290
  %298 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 8) #6
  %299 = load i64, ptr %298, align 8, !tbaa !16
  %300 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 8) #6
  %301 = load i32, ptr %300, align 4, !tbaa !18
  %302 = sext i32 %301 to i64
  %303 = mul nsw i64 %299, %302
  %304 = add nsw i64 %303, %297
  %305 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlcESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 9) #6
  %306 = load i64, ptr %305, align 8, !tbaa !16
  %307 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 9) #6
  %308 = load i32, ptr %307, align 4, !tbaa !18
  %309 = sext i32 %308 to i64
  %310 = mul nsw i64 %306, %309
  %311 = add nsw i64 %310, %304
  %312 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %311)
          to label %313 unwind label %316

313:                                              ; preds = %.preheader.preheader
  %314 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %312, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %315 unwind label %316

315:                                              ; preds = %313
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #6
  call void @_ZNSt6vectorISt4pairIlcESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret i32 0

316:                                              ; preds = %313, %.preheader.preheader
  %317 = landingpad { ptr, i32 }
          cleanup
  br label %318

318:                                              ; preds = %316, %94
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %317, %316 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %319

319:                                              ; preds = %318, %86
  %.pn.pn = phi { ptr, i32 } [ %.pn, %318 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %320

320:                                              ; preds = %319, %84, %74
  %.pn45.pn = phi { ptr, i32 } [ %.pn45, %74 ], [ %.pn.pn, %319 ], [ %85, %84 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #6
  br label %321

321:                                              ; preds = %320, %43
  %.pn45.pn.pn = phi { ptr, i32 } [ %.pn45.pn, %320 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #6
  call void @_ZNSt6vectorISt4pairIlcESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  br label %322

322:                                              ; preds = %321, %35
  %.pn45.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn, %321 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn45.pn.pn.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt4pairIlcEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIlcESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #2 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 #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlcESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIlcESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIlcESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 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 #2 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)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIlcESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt4pairIlcEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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 = { 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 #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 = { "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 = { 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 #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, !8, i64 8}
!6 = !{!"_ZTSSt4pairIlcE", !7, i64 0, !8, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !7, i64 0}
!17 = distinct !{!17, !15}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !8, i64 0}


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