; LLVM IR from VastoLorde95/Competitive-Programming :: Hackerrank/Codesprints 2016/Codesprint April/Problem D (D)

; 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_ostream" = type { ptr, %"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"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] }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@v = external dso_local global %"class.std::vector", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [130 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_Z7getchari(i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z3cmpRKSt4pairIiiES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::pair", align 4
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store i32 0, ptr %1, align 4
  %23 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %24 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %25 = getelementptr i8, ptr %24, i64 -24
  %26 = load i64, ptr %25, align 8
  %27 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %26
  %28 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %27, ptr noundef null)
  %29 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %30 = getelementptr i8, ptr %29, i64 -24
  %31 = load i64, ptr %30, align 8
  %32 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %31
  %33 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %32, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 0, ptr %3, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !8
  br label %34

34:                                               ; preds = %44, %0
  %35 = load i32, ptr %4, align 4, !tbaa !8
  %36 = icmp slt i32 %35, 26
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %47

38:                                               ; preds = %34
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %40 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store i64 %40, ptr %5, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @v, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  %41 = load i32, ptr %2, align 4, !tbaa !8
  %42 = load i32, ptr %3, align 4, !tbaa !8
  %43 = add nsw i32 %42, %41
  store i32 %43, ptr %3, align 4, !tbaa !8
  br label %44

44:                                               ; preds = %38
  %45 = load i32, ptr %4, align 4, !tbaa !8
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %4, align 4, !tbaa !8
  br label %34, !llvm.loop !11

47:                                               ; preds = %37
  %48 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  %50 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8
  %54 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %53, ptr %55)
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  store i32 0, ptr %2, align 4, !tbaa !8
  br label %56

56:                                               ; preds = %68, %47
  %57 = load i32, ptr %2, align 4, !tbaa !8
  %58 = icmp slt i32 %57, 26
  br i1 %58, label %59, label %66

59:                                               ; preds = %56
  %60 = load i32, ptr %2, align 4, !tbaa !8
  %61 = sext i32 %60 to i64
  %62 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %61) #7
  %63 = getelementptr inbounds %"struct.std::pair", ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 4, !tbaa !13
  %65 = icmp eq i32 %64, 0
  br label %66

66:                                               ; preds = %59, %56
  %67 = phi i1 [ false, %56 ], [ %65, %59 ]
  br i1 %67, label %68, label %71

68:                                               ; preds = %66
  %69 = load i32, ptr %2, align 4, !tbaa !8
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %2, align 4, !tbaa !8
  br label %56, !llvm.loop !15

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %72 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %72, ptr %73, align 8
  %74 = load i32, ptr %2, align 4, !tbaa !8
  %75 = sext i32 %74 to i64
  %76 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %75) #7
  %77 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %76, ptr %77, align 8
  %78 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef 1) #7
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  %80 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  %82 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %83, ptr %85, ptr noundef @_Z3cmpRKSt4pairIiiES2_)
          to label %86 unwind label %93

86:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 1, ptr %15, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %87 = load i32, ptr %2, align 4, !tbaa !8
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %16, align 4, !tbaa !8
  br label %89

89:                                               ; preds = %111, %86
  %90 = load i32, ptr %16, align 4, !tbaa !8
  %91 = icmp slt i32 %90, 26
  br i1 %91, label %97, label %92

92:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %114

93:                                               ; preds = %71
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %13, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %481

97:                                               ; preds = %89
  %98 = load i32, ptr %2, align 4, !tbaa !8
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %99) #7
  %101 = getelementptr inbounds %"struct.std::pair", ptr %100, i32 0, i32 1
  %102 = load i32, ptr %101, align 4, !tbaa !18
  %103 = load i32, ptr %16, align 4, !tbaa !8
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %104) #7
  %106 = getelementptr inbounds %"struct.std::pair", ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 4, !tbaa !18
  %108 = icmp sgt i32 %102, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %97
  store i8 0, ptr %15, align 1, !tbaa !16
  br label %110

110:                                              ; preds = %109, %97
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %16, align 4, !tbaa !8
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %16, align 4, !tbaa !8
  br label %89, !llvm.loop !19

114:                                              ; preds = %92
  %115 = load i32, ptr %2, align 4, !tbaa !8
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %116) #7
  %118 = getelementptr inbounds %"struct.std::pair", ptr %117, i32 0, i32 0
  %119 = load i32, ptr %118, align 4, !tbaa !13
  %120 = icmp sle i32 %119, 2
  br i1 %120, label %121, label %166

121:                                              ; preds = %114
  %122 = load i8, ptr %15, align 1, !tbaa !16, !range !20, !noundef !21
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %166

124:                                              ; preds = %121
  br label %125

125:                                              ; preds = %150, %124
  %126 = load i32, ptr %2, align 4, !tbaa !8
  %127 = icmp slt i32 %126, 26
  br i1 %127, label %128, label %153

128:                                              ; preds = %125
  br label %129

129:                                              ; preds = %145, %128
  %130 = load i32, ptr %2, align 4, !tbaa !8
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %131) #7
  %133 = getelementptr inbounds %"struct.std::pair", ptr %132, i32 0, i32 0
  %134 = load i32, ptr %133, align 4, !tbaa !13
  %135 = add nsw i32 %134, -1
  store i32 %135, ptr %133, align 4, !tbaa !13
  %136 = icmp ne i32 %134, 0
  br i1 %136, label %137, label %150

137:                                              ; preds = %129
  %138 = load i32, ptr %2, align 4, !tbaa !8
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %139) #7
  %141 = getelementptr inbounds %"struct.std::pair", ptr %140, i32 0, i32 1
  %142 = load i32, ptr %141, align 4, !tbaa !18
  %143 = call noundef signext i8 @_Z7getchari(i32 noundef %142)
  %144 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %143)
          to label %145 unwind label %146

145:                                              ; preds = %137
  br label %129, !llvm.loop !22

146:                                              ; preds = %475, %473, %449, %409, %305, %297, %184, %176, %163, %161, %137
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %13, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %14, align 4
  br label %480

150:                                              ; preds = %129
  %151 = load i32, ptr %2, align 4, !tbaa !8
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %2, align 4, !tbaa !8
  br label %125, !llvm.loop !23

153:                                              ; preds = %125
  %154 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %155 = load i32, ptr %3, align 4, !tbaa !8
  %156 = sext i32 %155 to i64
  %157 = icmp eq i64 %154, %156
  br i1 %157, label %158, label %159

158:                                              ; preds = %153
  br label %161

159:                                              ; preds = %153
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.2, i32 noundef 73, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

160:                                              ; No predecessors!
  br label %161

161:                                              ; preds = %160, %158
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %163 unwind label %146

163:                                              ; preds = %161
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %165 unwind label %146

165:                                              ; preds = %163
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  br label %478

166:                                              ; preds = %121, %114
  %167 = load i32, ptr %2, align 4, !tbaa !8
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %168) #7
  %170 = getelementptr inbounds %"struct.std::pair", ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 4, !tbaa !13
  %172 = icmp eq i32 %171, 3
  br i1 %172, label %173, label %287

173:                                              ; preds = %166
  %174 = load i8, ptr %15, align 1, !tbaa !16, !range !20, !noundef !21
  %175 = trunc i8 %174 to i1
  br i1 %175, label %176, label %287

176:                                              ; preds = %173
  %177 = load i32, ptr %2, align 4, !tbaa !8
  %178 = sext i32 %177 to i64
  %179 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %178) #7
  %180 = getelementptr inbounds %"struct.std::pair", ptr %179, i32 0, i32 1
  %181 = load i32, ptr %180, align 4, !tbaa !18
  %182 = call noundef signext i8 @_Z7getchari(i32 noundef %181)
  %183 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %182)
          to label %184 unwind label %146

184:                                              ; preds = %176
  %185 = load i32, ptr %2, align 4, !tbaa !8
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %186) #7
  %188 = getelementptr inbounds %"struct.std::pair", ptr %187, i32 0, i32 1
  %189 = load i32, ptr %188, align 4, !tbaa !18
  %190 = call noundef signext i8 @_Z7getchari(i32 noundef %189)
  %191 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %190)
          to label %192 unwind label %146

192:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %193 = load i32, ptr %2, align 4, !tbaa !8
  store i32 %193, ptr %18, align 4, !tbaa !8
  %194 = load i32, ptr %18, align 4, !tbaa !8
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %195) #7
  %197 = getelementptr inbounds %"struct.std::pair", ptr %196, i32 0, i32 0
  store i32 1, ptr %197, align 4, !tbaa !13
  %198 = load i32, ptr %2, align 4, !tbaa !8
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %2, align 4, !tbaa !8
  br label %200

200:                                              ; preds = %248, %192
  %201 = load i32, ptr %2, align 4, !tbaa !8
  %202 = icmp slt i32 %201, 26
  br i1 %202, label %203, label %251

203:                                              ; preds = %200
  br label %204

204:                                              ; preds = %247, %203
  %205 = load i32, ptr %2, align 4, !tbaa !8
  %206 = sext i32 %205 to i64
  %207 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %206) #7
  %208 = getelementptr inbounds %"struct.std::pair", ptr %207, i32 0, i32 0
  %209 = load i32, ptr %208, align 4, !tbaa !13
  %210 = add nsw i32 %209, -1
  store i32 %210, ptr %208, align 4, !tbaa !13
  %211 = icmp ne i32 %209, 0
  br i1 %211, label %212, label %248

212:                                              ; preds = %204
  %213 = load i32, ptr %2, align 4, !tbaa !8
  %214 = sext i32 %213 to i64
  %215 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %214) #7
  %216 = getelementptr inbounds %"struct.std::pair", ptr %215, i32 0, i32 1
  %217 = load i32, ptr %216, align 4, !tbaa !18
  %218 = call noundef signext i8 @_Z7getchari(i32 noundef %217)
  %219 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %218)
          to label %220 unwind label %243

220:                                              ; preds = %212
  br label %221

221:                                              ; preds = %236, %220
  %222 = load i32, ptr %18, align 4, !tbaa !8
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %223) #7
  %225 = getelementptr inbounds %"struct.std::pair", ptr %224, i32 0, i32 0
  %226 = load i32, ptr %225, align 4, !tbaa !13
  %227 = icmp sgt i32 %226, 0
  br i1 %227, label %228, label %247

228:                                              ; preds = %221
  %229 = load i32, ptr %18, align 4, !tbaa !8
  %230 = sext i32 %229 to i64
  %231 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %230) #7
  %232 = getelementptr inbounds %"struct.std::pair", ptr %231, i32 0, i32 1
  %233 = load i32, ptr %232, align 4, !tbaa !18
  %234 = call noundef signext i8 @_Z7getchari(i32 noundef %233)
  %235 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %234)
          to label %236 unwind label %243

236:                                              ; preds = %228
  %237 = load i32, ptr %18, align 4, !tbaa !8
  %238 = sext i32 %237 to i64
  %239 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %238) #7
  %240 = getelementptr inbounds %"struct.std::pair", ptr %239, i32 0, i32 0
  %241 = load i32, ptr %240, align 4, !tbaa !13
  %242 = add nsw i32 %241, -1
  store i32 %242, ptr %240, align 4, !tbaa !13
  br label %221, !llvm.loop !24

243:                                              ; preds = %284, %282, %259, %228, %212
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %13, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %480

247:                                              ; preds = %221
  br label %204, !llvm.loop !25

248:                                              ; preds = %204
  %249 = load i32, ptr %2, align 4, !tbaa !8
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %2, align 4, !tbaa !8
  br label %200, !llvm.loop !26

251:                                              ; preds = %200
  br label %252

252:                                              ; preds = %267, %251
  %253 = load i32, ptr %18, align 4, !tbaa !8
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %254) #7
  %256 = getelementptr inbounds %"struct.std::pair", ptr %255, i32 0, i32 0
  %257 = load i32, ptr %256, align 4, !tbaa !13
  %258 = icmp sgt i32 %257, 0
  br i1 %258, label %259, label %274

259:                                              ; preds = %252
  %260 = load i32, ptr %18, align 4, !tbaa !8
  %261 = sext i32 %260 to i64
  %262 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %261) #7
  %263 = getelementptr inbounds %"struct.std::pair", ptr %262, i32 0, i32 1
  %264 = load i32, ptr %263, align 4, !tbaa !18
  %265 = call noundef signext i8 @_Z7getchari(i32 noundef %264)
  %266 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %265)
          to label %267 unwind label %243

267:                                              ; preds = %259
  %268 = load i32, ptr %18, align 4, !tbaa !8
  %269 = sext i32 %268 to i64
  %270 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %269) #7
  %271 = getelementptr inbounds %"struct.std::pair", ptr %270, i32 0, i32 0
  %272 = load i32, ptr %271, align 4, !tbaa !13
  %273 = add nsw i32 %272, -1
  store i32 %273, ptr %271, align 4, !tbaa !13
  br label %252, !llvm.loop !27

274:                                              ; preds = %252
  %275 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %276 = load i32, ptr %3, align 4, !tbaa !8
  %277 = sext i32 %276 to i64
  %278 = icmp eq i64 %275, %277
  br i1 %278, label %279, label %280

279:                                              ; preds = %274
  br label %282

280:                                              ; preds = %274
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.2, i32 noundef 99, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

281:                                              ; No predecessors!
  br label %282

282:                                              ; preds = %281, %279
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %284 unwind label %243

284:                                              ; preds = %282
  %285 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %283, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %286 unwind label %243

286:                                              ; preds = %284
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %478

287:                                              ; preds = %173, %166
  %288 = load i32, ptr %2, align 4, !tbaa !8
  %289 = sext i32 %288 to i64
  %290 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %289) #7
  %291 = getelementptr inbounds %"struct.std::pair", ptr %290, i32 0, i32 0
  %292 = load i32, ptr %291, align 4, !tbaa !13
  %293 = icmp sgt i32 %292, 3
  br i1 %293, label %294, label %409

294:                                              ; preds = %287
  %295 = load i8, ptr %15, align 1, !tbaa !16, !range !20, !noundef !21
  %296 = trunc i8 %295 to i1
  br i1 %296, label %297, label %409

297:                                              ; preds = %294
  %298 = load i32, ptr %2, align 4, !tbaa !8
  %299 = sext i32 %298 to i64
  %300 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %299) #7
  %301 = getelementptr inbounds %"struct.std::pair", ptr %300, i32 0, i32 1
  %302 = load i32, ptr %301, align 4, !tbaa !18
  %303 = call noundef signext i8 @_Z7getchari(i32 noundef %302)
  %304 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %303)
          to label %305 unwind label %146

305:                                              ; preds = %297
  %306 = load i32, ptr %2, align 4, !tbaa !8
  %307 = sext i32 %306 to i64
  %308 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %307) #7
  %309 = getelementptr inbounds %"struct.std::pair", ptr %308, i32 0, i32 1
  %310 = load i32, ptr %309, align 4, !tbaa !18
  %311 = call noundef signext i8 @_Z7getchari(i32 noundef %310)
  %312 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %311)
          to label %313 unwind label %146

313:                                              ; preds = %305
  %314 = load i32, ptr %2, align 4, !tbaa !8
  %315 = sext i32 %314 to i64
  %316 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %315) #7
  %317 = getelementptr inbounds %"struct.std::pair", ptr %316, i32 0, i32 0
  %318 = load i32, ptr %317, align 4, !tbaa !13
  %319 = sub nsw i32 %318, 2
  store i32 %319, ptr %317, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %320 = load i32, ptr %2, align 4, !tbaa !8
  store i32 %320, ptr %19, align 4, !tbaa !8
  %321 = load i32, ptr %2, align 4, !tbaa !8
  %322 = add nsw i32 %321, 1
  store i32 %322, ptr %2, align 4, !tbaa !8
  br label %323

323:                                              ; preds = %370, %313
  %324 = load i32, ptr %2, align 4, !tbaa !8
  %325 = icmp slt i32 %324, 26
  br i1 %325, label %326, label %373

326:                                              ; preds = %323
  br label %327

327:                                              ; preds = %369, %326
  %328 = load i32, ptr %2, align 4, !tbaa !8
  %329 = sext i32 %328 to i64
  %330 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %329) #7
  %331 = getelementptr inbounds %"struct.std::pair", ptr %330, i32 0, i32 0
  %332 = load i32, ptr %331, align 4, !tbaa !13
  %333 = add nsw i32 %332, -1
  store i32 %333, ptr %331, align 4, !tbaa !13
  %334 = icmp ne i32 %332, 0
  br i1 %334, label %335, label %370

335:                                              ; preds = %327
  %336 = load i32, ptr %2, align 4, !tbaa !8
  %337 = sext i32 %336 to i64
  %338 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %337) #7
  %339 = getelementptr inbounds %"struct.std::pair", ptr %338, i32 0, i32 1
  %340 = load i32, ptr %339, align 4, !tbaa !18
  %341 = call noundef signext i8 @_Z7getchari(i32 noundef %340)
  %342 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %341)
          to label %343 unwind label %365

343:                                              ; preds = %335
  %344 = load i32, ptr %19, align 4, !tbaa !8
  %345 = sext i32 %344 to i64
  %346 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %345) #7
  %347 = getelementptr inbounds %"struct.std::pair", ptr %346, i32 0, i32 0
  %348 = load i32, ptr %347, align 4, !tbaa !13
  %349 = icmp sgt i32 %348, 0
  br i1 %349, label %350, label %369

350:                                              ; preds = %343
  %351 = load i32, ptr %19, align 4, !tbaa !8
  %352 = sext i32 %351 to i64
  %353 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %352) #7
  %354 = getelementptr inbounds %"struct.std::pair", ptr %353, i32 0, i32 1
  %355 = load i32, ptr %354, align 4, !tbaa !18
  %356 = call noundef signext i8 @_Z7getchari(i32 noundef %355)
  %357 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %356)
          to label %358 unwind label %365

358:                                              ; preds = %350
  %359 = load i32, ptr %19, align 4, !tbaa !8
  %360 = sext i32 %359 to i64
  %361 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %360) #7
  %362 = getelementptr inbounds %"struct.std::pair", ptr %361, i32 0, i32 0
  %363 = load i32, ptr %362, align 4, !tbaa !13
  %364 = add nsw i32 %363, -1
  store i32 %364, ptr %362, align 4, !tbaa !13
  br label %369

365:                                              ; preds = %406, %404, %381, %350, %335
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %13, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %480

369:                                              ; preds = %358, %343
  br label %327, !llvm.loop !28

370:                                              ; preds = %327
  %371 = load i32, ptr %2, align 4, !tbaa !8
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr %2, align 4, !tbaa !8
  br label %323, !llvm.loop !29

373:                                              ; preds = %323
  br label %374

374:                                              ; preds = %389, %373
  %375 = load i32, ptr %19, align 4, !tbaa !8
  %376 = sext i32 %375 to i64
  %377 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %376) #7
  %378 = getelementptr inbounds %"struct.std::pair", ptr %377, i32 0, i32 0
  %379 = load i32, ptr %378, align 4, !tbaa !13
  %380 = icmp sgt i32 %379, 0
  br i1 %380, label %381, label %396

381:                                              ; preds = %374
  %382 = load i32, ptr %19, align 4, !tbaa !8
  %383 = sext i32 %382 to i64
  %384 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %383) #7
  %385 = getelementptr inbounds %"struct.std::pair", ptr %384, i32 0, i32 1
  %386 = load i32, ptr %385, align 4, !tbaa !18
  %387 = call noundef signext i8 @_Z7getchari(i32 noundef %386)
  %388 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %387)
          to label %389 unwind label %365

389:                                              ; preds = %381
  %390 = load i32, ptr %19, align 4, !tbaa !8
  %391 = sext i32 %390 to i64
  %392 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %391) #7
  %393 = getelementptr inbounds %"struct.std::pair", ptr %392, i32 0, i32 0
  %394 = load i32, ptr %393, align 4, !tbaa !13
  %395 = add nsw i32 %394, -1
  store i32 %395, ptr %393, align 4, !tbaa !13
  br label %374, !llvm.loop !30

396:                                              ; preds = %374
  %397 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %398 = load i32, ptr %3, align 4, !tbaa !8
  %399 = sext i32 %398 to i64
  %400 = icmp eq i64 %397, %399
  br i1 %400, label %401, label %402

401:                                              ; preds = %396
  br label %404

402:                                              ; preds = %396
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.2, i32 noundef 125, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

403:                                              ; No predecessors!
  br label %404

404:                                              ; preds = %403, %401
  %405 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %406 unwind label %365

406:                                              ; preds = %404
  %407 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %405, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %408 unwind label %365

408:                                              ; preds = %406
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %478

409:                                              ; preds = %294, %287
  %410 = load i32, ptr %2, align 4, !tbaa !8
  %411 = sext i32 %410 to i64
  %412 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %411) #7
  %413 = getelementptr inbounds %"struct.std::pair", ptr %412, i32 0, i32 1
  %414 = load i32, ptr %413, align 4, !tbaa !18
  %415 = call noundef signext i8 @_Z7getchari(i32 noundef %414)
  %416 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %415)
          to label %417 unwind label %146

417:                                              ; preds = %409
  %418 = load i32, ptr %2, align 4, !tbaa !8
  %419 = sext i32 %418 to i64
  %420 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %419) #7
  %421 = getelementptr inbounds %"struct.std::pair", ptr %420, i32 0, i32 0
  %422 = load i32, ptr %421, align 4, !tbaa !13
  %423 = add nsw i32 %422, -1
  store i32 %423, ptr %421, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %424 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  %425 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %424, ptr %425, align 8
  %426 = load i32, ptr %2, align 4, !tbaa !8
  %427 = sext i32 %426 to i64
  %428 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %21, i64 noundef %427) #7
  %429 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %428, ptr %429, align 8
  %430 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  %431 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %430, ptr %431, align 8
  %432 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  %433 = load ptr, ptr %432, align 8
  %434 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  %435 = load ptr, ptr %434, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %433, ptr %435, ptr noundef @_Z3cmpRKSt4pairIiiES2_)
          to label %436 unwind label %458

436:                                              ; preds = %417
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %437

437:                                              ; preds = %462, %436
  %438 = load i32, ptr %2, align 4, !tbaa !8
  %439 = icmp slt i32 %438, 26
  br i1 %439, label %440, label %465

440:                                              ; preds = %437
  br label %441

441:                                              ; preds = %457, %440
  %442 = load i32, ptr %2, align 4, !tbaa !8
  %443 = sext i32 %442 to i64
  %444 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %443) #7
  %445 = getelementptr inbounds %"struct.std::pair", ptr %444, i32 0, i32 0
  %446 = load i32, ptr %445, align 4, !tbaa !13
  %447 = add nsw i32 %446, -1
  store i32 %447, ptr %445, align 4, !tbaa !13
  %448 = icmp ne i32 %446, 0
  br i1 %448, label %449, label %462

449:                                              ; preds = %441
  %450 = load i32, ptr %2, align 4, !tbaa !8
  %451 = sext i32 %450 to i64
  %452 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %451) #7
  %453 = getelementptr inbounds %"struct.std::pair", ptr %452, i32 0, i32 1
  %454 = load i32, ptr %453, align 4, !tbaa !18
  %455 = call noundef signext i8 @_Z7getchari(i32 noundef %454)
  %456 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %455)
          to label %457 unwind label %146

457:                                              ; preds = %449
  br label %441, !llvm.loop !31

458:                                              ; preds = %417
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %13, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %480

462:                                              ; preds = %441
  %463 = load i32, ptr %2, align 4, !tbaa !8
  %464 = add nsw i32 %463, 1
  store i32 %464, ptr %2, align 4, !tbaa !8
  br label %437, !llvm.loop !32

465:                                              ; preds = %437
  %466 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %467 = load i32, ptr %3, align 4, !tbaa !8
  %468 = sext i32 %467 to i64
  %469 = icmp eq i64 %466, %468
  br i1 %469, label %470, label %471

470:                                              ; preds = %465
  br label %473

471:                                              ; preds = %465
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.2, i32 noundef 139, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

472:                                              ; No predecessors!
  br label %473

473:                                              ; preds = %472, %470
  %474 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %475 unwind label %146

475:                                              ; preds = %473
  %476 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %474, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %477 unwind label %146

477:                                              ; preds = %475
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  br label %478

478:                                              ; preds = %477, %408, %286, %165
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %479 = load i32, ptr %1, align 4
  ret i32 %479

480:                                              ; preds = %458, %365, %243, %146
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %481

481:                                              ; preds = %480, %93
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %482

482:                                              ; preds = %481
  %483 = load ptr, ptr %13, align 8
  %484 = load i32, ptr %14, align 4
  %485 = insertvalue { ptr, i32 } poison, ptr %483, 0
  %486 = insertvalue { ptr, i32 } %485, i32 %484, 1
  resume { ptr, i32 } %486
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #1

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !9, i64 0}
!14 = !{!"_ZTSSt4pairIiiE", !9, i64 0, !9, i64 4}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !10, i64 0}
!18 = !{!14, !9, i64 4}
!19 = distinct !{!19, !12}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12}
!30 = distinct !{!30, !12}
!31 = distinct !{!31, !12}
!32 = distinct !{!32, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"struct.std::pair" = type { i32, i32 }
%"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.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@v = external dso_local global %"class.std::vector", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [130 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

; 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 #0 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)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_Z7getchari(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z3cmpRKSt4pairIiiES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"struct.std::pair", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %9 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %10 = getelementptr i8, ptr %9, i64 -24
  %11 = load i64, ptr %10, align 8
  %12 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %11
  %13 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %12, ptr noundef null)
  %14 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %15 = getelementptr i8, ptr %14, i64 -24
  %16 = load i64, ptr %15, align 8
  %17 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %16
  %18 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %17, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  store i32 0, ptr %2, align 4, !tbaa !8
  br label %22

19:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  %20 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  %21 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %20, ptr %21)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  store i32 0, ptr %1, align 4, !tbaa !8
  br label %30

22:                                               ; preds = %0, %22
  %.03177 = phi i32 [ 0, %0 ], [ %26, %22 ]
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %24 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %2)
  store i64 %24, ptr %3, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @v, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %25 = load i32, ptr %1, align 4, !tbaa !8
  %26 = add nsw i32 %25, %.03177
  %27 = load i32, ptr %2, align 4, !tbaa !8
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %2, align 4, !tbaa !8
  %29 = icmp slt i32 %27, 25
  br i1 %29, label %22, label %19, !llvm.loop !11

30:                                               ; preds = %19, %35
  %storemerge3878 = phi i32 [ 0, %19 ], [ %37, %35 ]
  %31 = sext i32 %storemerge3878 to i64
  %32 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %31) #7
  %33 = load i32, ptr %32, align 4, !tbaa !13
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %.critedge

35:                                               ; preds = %30
  %36 = load i32, ptr %1, align 4, !tbaa !8
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %1, align 4, !tbaa !8
  %38 = icmp slt i32 %36, 25
  br i1 %38, label %30, label %.critedge, !llvm.loop !15

.critedge:                                        ; preds = %35, %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %39 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  store ptr %39, ptr %6, align 8
  %40 = load i32, ptr %1, align 4, !tbaa !8
  %41 = sext i32 %40 to i64
  %42 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %41) #7
  store ptr %42, ptr %5, align 8
  %43 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef 1) #7
  %44 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %43, ptr %44, ptr noundef nonnull @_Z3cmpRKSt4pairIiiES2_)
          to label %45 unwind label %54

45:                                               ; preds = %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %46 = load i32, ptr %1, align 4, !tbaa !8
  %47 = icmp slt i32 %46, 25
  br i1 %47, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %45
  %48 = sext i32 %46 to i64
  br label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i32, ptr %1, align 4, !tbaa !8
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %45
  %49 = phi i32 [ %46, %45 ], [ %.pre, %._crit_edge.loopexit ]
  %.036.lcssa = phi i8 [ 1, %45 ], [ %spec.select, %._crit_edge.loopexit ]
  %50 = sext i32 %49 to i64
  %51 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %50) #7
  %52 = load i32, ptr %51, align 4, !tbaa !13
  %53 = icmp slt i32 %52, 3
  br i1 %53, label %65, label %88

54:                                               ; preds = %.critedge
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %.loopexit.split-lp

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %48, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.03679 = phi i8 [ 1, %.lr.ph.preheader ], [ %spec.select, %.lr.ph ]
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %56 = load i32, ptr %1, align 4, !tbaa !8
  %57 = sext i32 %56 to i64
  %58 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %57) #7
  %59 = getelementptr inbounds i8, ptr %58, i64 4
  %60 = load i32, ptr %59, align 4, !tbaa !16
  %61 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %indvars.iv.next) #7
  %62 = getelementptr inbounds i8, ptr %61, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !16
  %64 = icmp sgt i32 %60, %63
  %spec.select = select i1 %64, i8 0, i8 %.03679
  %exitcond.not = icmp eq i64 %indvars.iv.next, 25
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !17

65:                                               ; preds = %._crit_edge
  %66 = trunc nuw i8 %.036.lcssa to i1
  br i1 %66, label %thread-pre-split, label %88

thread-pre-split:                                 ; preds = %65
  %.pr = load i32, ptr %1, align 4, !tbaa !8
  %67 = icmp slt i32 %.pr, 26
  br i1 %67, label %.preheader, label %._crit_edge95

.preheader:                                       ; preds = %thread-pre-split, %.preheader.backedge
  %68 = load i32, ptr %1, align 4, !tbaa !8
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %69) #7
  %71 = load i32, ptr %70, align 4, !tbaa !13
  %72 = add nsw i32 %71, -1
  store i32 %72, ptr %70, align 4, !tbaa !13
  %.not43 = icmp eq i32 %71, 0
  %73 = load i32, ptr %1, align 4, !tbaa !8
  br i1 %.not43, label %81, label %74

74:                                               ; preds = %.preheader
  %75 = sext i32 %73 to i64
  %76 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %75) #7
  %77 = getelementptr inbounds i8, ptr %76, i64 4
  %78 = load i32, ptr %77, align 4, !tbaa !16
  %79 = call noundef signext i8 @_Z7getchari(i32 noundef %78)
  %80 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %79)
          to label %.preheader.backedge unwind label %.loopexit

.preheader.backedge:                              ; preds = %74, %81
  br label %.preheader, !llvm.loop !18

.loopexit:                                        ; preds = %74
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %290
  %lpad.loopexit74 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %.invoke97, %.invoke, %263, %189, %181, %104, %96
  %lpad.loopexit.split-lp75 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

81:                                               ; preds = %.preheader
  %82 = add nsw i32 %73, 1
  store i32 %82, ptr %1, align 4, !tbaa !8
  %83 = icmp slt i32 %73, 25
  br i1 %83, label %.preheader.backedge, label %._crit_edge95

._crit_edge95:                                    ; preds = %81, %thread-pre-split
  %84 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  %85 = sext i32 %26 to i64
  %86 = icmp eq i64 %84, %85
  br i1 %86, label %.invoke97, label %87

87:                                               ; preds = %._crit_edge95
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, i32 noundef 73, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

88:                                               ; preds = %65, %._crit_edge
  %89 = load i32, ptr %1, align 4, !tbaa !8
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %90) #7
  %92 = load i32, ptr %91, align 4, !tbaa !13
  %93 = icmp eq i32 %92, 3
  br i1 %93, label %94, label %173

94:                                               ; preds = %88
  %95 = trunc nuw i8 %.036.lcssa to i1
  br i1 %95, label %96, label %173

96:                                               ; preds = %94
  %97 = load i32, ptr %1, align 4, !tbaa !8
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %98) #7
  %100 = getelementptr inbounds i8, ptr %99, i64 4
  %101 = load i32, ptr %100, align 4, !tbaa !16
  %102 = call noundef signext i8 @_Z7getchari(i32 noundef %101)
  %103 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %102)
          to label %104 unwind label %.loopexit.split-lp.loopexit.split-lp

104:                                              ; preds = %96
  %105 = load i32, ptr %1, align 4, !tbaa !8
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %106) #7
  %108 = getelementptr inbounds i8, ptr %107, i64 4
  %109 = load i32, ptr %108, align 4, !tbaa !16
  %110 = call noundef signext i8 @_Z7getchari(i32 noundef %109)
  %111 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %110)
          to label %112 unwind label %.loopexit.split-lp.loopexit.split-lp

112:                                              ; preds = %104
  %113 = load i32, ptr %1, align 4, !tbaa !8
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  store i32 1, ptr %115, align 4, !tbaa !13
  %storemerge41.in91 = load i32, ptr %1, align 4, !tbaa !8
  %storemerge4192 = add nsw i32 %storemerge41.in91, 1
  store i32 %storemerge4192, ptr %1, align 4, !tbaa !8
  %116 = icmp slt i32 %storemerge41.in91, 25
  br i1 %116, label %.preheader58, label %.preheader47

.loopexit59:                                      ; preds = %.loopexit54, %.preheader58
  %storemerge41.in = load i32, ptr %1, align 4, !tbaa !8
  %storemerge41 = add nsw i32 %storemerge41.in, 1
  store i32 %storemerge41, ptr %1, align 4, !tbaa !8
  %117 = icmp slt i32 %storemerge41.in, 25
  br i1 %117, label %.preheader58, label %.preheader47, !llvm.loop !19

.preheader58:                                     ; preds = %112, %.loopexit59
  %118 = phi i32 [ %storemerge41, %.loopexit59 ], [ %storemerge4192, %112 ]
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %119) #7
  %121 = load i32, ptr %120, align 4, !tbaa !13
  %122 = add nsw i32 %121, -1
  store i32 %122, ptr %120, align 4, !tbaa !13
  %.not4289 = icmp eq i32 %121, 0
  br i1 %.not4289, label %.loopexit59, label %.lr.ph90

.preheader47:                                     ; preds = %.loopexit59, %112
  %123 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %124 = load i32, ptr %123, align 4, !tbaa !13
  %125 = icmp sgt i32 %124, 0
  br i1 %125, label %.lr.ph93, label %._crit_edge94

.loopexit54:                                      ; preds = %146, %.preheader53
  %126 = load i32, ptr %1, align 4, !tbaa !8
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %127) #7
  %129 = load i32, ptr %128, align 4, !tbaa !13
  %130 = add nsw i32 %129, -1
  store i32 %130, ptr %128, align 4, !tbaa !13
  %.not42 = icmp eq i32 %129, 0
  br i1 %.not42, label %.loopexit59, label %.lr.ph90, !llvm.loop !20

.lr.ph90:                                         ; preds = %.preheader58, %.loopexit54
  %131 = load i32, ptr %1, align 4, !tbaa !8
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %132) #7
  %134 = getelementptr inbounds i8, ptr %133, i64 4
  %135 = load i32, ptr %134, align 4, !tbaa !16
  %136 = call noundef signext i8 @_Z7getchari(i32 noundef %135)
  %137 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %136)
          to label %.preheader53 unwind label %.loopexit.split-lp49.loopexit.split-lp.loopexit

.preheader53:                                     ; preds = %.lr.ph90
  %138 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %139 = load i32, ptr %138, align 4, !tbaa !13
  %140 = icmp sgt i32 %139, 0
  br i1 %140, label %.lr.ph88, label %.loopexit54

.lr.ph88:                                         ; preds = %.preheader53, %146
  %141 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %142 = getelementptr inbounds i8, ptr %141, i64 4
  %143 = load i32, ptr %142, align 4, !tbaa !16
  %144 = call noundef signext i8 @_Z7getchari(i32 noundef %143)
  %145 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %144)
          to label %146 unwind label %.loopexit.split-lp49.loopexit

146:                                              ; preds = %.lr.ph88
  %147 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %148 = load i32, ptr %147, align 4, !tbaa !13
  %149 = add nsw i32 %148, -1
  store i32 %149, ptr %147, align 4, !tbaa !13
  %150 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %151 = load i32, ptr %150, align 4, !tbaa !13
  %152 = icmp sgt i32 %151, 0
  br i1 %152, label %.lr.ph88, label %.loopexit54, !llvm.loop !21

.loopexit48:                                      ; preds = %.lr.ph93
  %lpad.loopexit50 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp49.loopexit:                    ; preds = %.lr.ph88
  %lpad.loopexit55 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp49.loopexit.split-lp.loopexit:  ; preds = %.lr.ph90
  %lpad.loopexit60 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp49.loopexit.split-lp.loopexit.split-lp: ; preds = %169, %171
  %lpad.loopexit.split-lp61 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.lr.ph93:                                         ; preds = %.preheader47, %158
  %153 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %154 = getelementptr inbounds i8, ptr %153, i64 4
  %155 = load i32, ptr %154, align 4, !tbaa !16
  %156 = call noundef signext i8 @_Z7getchari(i32 noundef %155)
  %157 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %156)
          to label %158 unwind label %.loopexit48

158:                                              ; preds = %.lr.ph93
  %159 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %160 = load i32, ptr %159, align 4, !tbaa !13
  %161 = add nsw i32 %160, -1
  store i32 %161, ptr %159, align 4, !tbaa !13
  %162 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %114) #7
  %163 = load i32, ptr %162, align 4, !tbaa !13
  %164 = icmp sgt i32 %163, 0
  br i1 %164, label %.lr.ph93, label %._crit_edge94, !llvm.loop !22

._crit_edge94:                                    ; preds = %158, %.preheader47
  %165 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  %166 = sext i32 %26 to i64
  %167 = icmp eq i64 %165, %166
  br i1 %167, label %169, label %168

168:                                              ; preds = %._crit_edge94
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, i32 noundef 99, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

169:                                              ; preds = %._crit_edge94
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %171 unwind label %.loopexit.split-lp49.loopexit.split-lp.loopexit.split-lp

171:                                              ; preds = %169
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %308 unwind label %.loopexit.split-lp49.loopexit.split-lp.loopexit.split-lp

173:                                              ; preds = %94, %88
  %174 = load i32, ptr %1, align 4, !tbaa !8
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %175) #7
  %177 = load i32, ptr %176, align 4, !tbaa !13
  %178 = icmp sgt i32 %177, 3
  br i1 %178, label %179, label %263

179:                                              ; preds = %173
  %180 = trunc nuw i8 %.036.lcssa to i1
  br i1 %180, label %181, label %263

181:                                              ; preds = %179
  %182 = load i32, ptr %1, align 4, !tbaa !8
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %183) #7
  %185 = getelementptr inbounds i8, ptr %184, i64 4
  %186 = load i32, ptr %185, align 4, !tbaa !16
  %187 = call noundef signext i8 @_Z7getchari(i32 noundef %186)
  %188 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %187)
          to label %189 unwind label %.loopexit.split-lp.loopexit.split-lp

189:                                              ; preds = %181
  %190 = load i32, ptr %1, align 4, !tbaa !8
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %191) #7
  %193 = getelementptr inbounds i8, ptr %192, i64 4
  %194 = load i32, ptr %193, align 4, !tbaa !16
  %195 = call noundef signext i8 @_Z7getchari(i32 noundef %194)
  %196 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %195)
          to label %197 unwind label %.loopexit.split-lp.loopexit.split-lp

197:                                              ; preds = %189
  %198 = load i32, ptr %1, align 4, !tbaa !8
  %199 = sext i32 %198 to i64
  %200 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %199) #7
  %201 = load i32, ptr %200, align 4, !tbaa !13
  %202 = add nsw i32 %201, -2
  store i32 %202, ptr %200, align 4, !tbaa !13
  %203 = load i32, ptr %1, align 4, !tbaa !8
  %storemerge3985 = add nsw i32 %203, 1
  store i32 %storemerge3985, ptr %1, align 4, !tbaa !8
  %204 = icmp slt i32 %203, 25
  br i1 %204, label %.preheader69.lr.ph, label %..preheader63_crit_edge

..preheader63_crit_edge:                          ; preds = %197
  %.pre96 = zext nneg i32 %203 to i64
  br label %.preheader63

.preheader69.lr.ph:                               ; preds = %197
  %205 = sext i32 %203 to i64
  br label %.preheader69

.preheader69:                                     ; preds = %.preheader69.lr.ph, %._crit_edge84
  %206 = phi i32 [ %storemerge3985, %.preheader69.lr.ph ], [ %storemerge39, %._crit_edge84 ]
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %207) #7
  %209 = load i32, ptr %208, align 4, !tbaa !13
  %210 = add nsw i32 %209, -1
  store i32 %210, ptr %208, align 4, !tbaa !13
  %.not4082 = icmp eq i32 %209, 0
  br i1 %.not4082, label %._crit_edge84, label %.lr.ph83

.preheader63:                                     ; preds = %._crit_edge84, %..preheader63_crit_edge
  %.pre-phi = phi i64 [ %.pre96, %..preheader63_crit_edge ], [ %205, %._crit_edge84 ]
  %211 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %.pre-phi) #7
  %212 = load i32, ptr %211, align 4, !tbaa !13
  %213 = icmp sgt i32 %212, 0
  br i1 %213, label %.lr.ph86, label %._crit_edge87

.lr.ph83:                                         ; preds = %.preheader69, %235
  %214 = load i32, ptr %1, align 4, !tbaa !8
  %215 = sext i32 %214 to i64
  %216 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %215) #7
  %217 = getelementptr inbounds i8, ptr %216, i64 4
  %218 = load i32, ptr %217, align 4, !tbaa !16
  %219 = call noundef signext i8 @_Z7getchari(i32 noundef %218)
  %220 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %219)
          to label %221 unwind label %.loopexit.split-lp65.loopexit

221:                                              ; preds = %.lr.ph83
  %222 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %205) #7
  %223 = load i32, ptr %222, align 4, !tbaa !13
  %224 = icmp sgt i32 %223, 0
  br i1 %224, label %225, label %235

225:                                              ; preds = %221
  %226 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %205) #7
  %227 = getelementptr inbounds i8, ptr %226, i64 4
  %228 = load i32, ptr %227, align 4, !tbaa !16
  %229 = call noundef signext i8 @_Z7getchari(i32 noundef %228)
  %230 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %229)
          to label %231 unwind label %.loopexit.split-lp65.loopexit

231:                                              ; preds = %225
  %232 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %205) #7
  %233 = load i32, ptr %232, align 4, !tbaa !13
  %234 = add nsw i32 %233, -1
  store i32 %234, ptr %232, align 4, !tbaa !13
  br label %235

.loopexit64:                                      ; preds = %.lr.ph86
  %lpad.loopexit66 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp65.loopexit:                    ; preds = %225, %.lr.ph83
  %lpad.loopexit70 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp65.loopexit.split-lp:           ; preds = %261, %259
  %lpad.loopexit.split-lp71 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

235:                                              ; preds = %231, %221
  %236 = load i32, ptr %1, align 4, !tbaa !8
  %237 = sext i32 %236 to i64
  %238 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %237) #7
  %239 = load i32, ptr %238, align 4, !tbaa !13
  %240 = add nsw i32 %239, -1
  store i32 %240, ptr %238, align 4, !tbaa !13
  %.not40 = icmp eq i32 %239, 0
  br i1 %.not40, label %._crit_edge84, label %.lr.ph83, !llvm.loop !23

._crit_edge84:                                    ; preds = %235, %.preheader69
  %241 = load i32, ptr %1, align 4, !tbaa !8
  %storemerge39 = add nsw i32 %241, 1
  store i32 %storemerge39, ptr %1, align 4, !tbaa !8
  %242 = icmp slt i32 %241, 25
  br i1 %242, label %.preheader69, label %.preheader63, !llvm.loop !24

.lr.ph86:                                         ; preds = %.preheader63, %248
  %243 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %.pre-phi) #7
  %244 = getelementptr inbounds i8, ptr %243, i64 4
  %245 = load i32, ptr %244, align 4, !tbaa !16
  %246 = call noundef signext i8 @_Z7getchari(i32 noundef %245)
  %247 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %246)
          to label %248 unwind label %.loopexit64

248:                                              ; preds = %.lr.ph86
  %249 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %.pre-phi) #7
  %250 = load i32, ptr %249, align 4, !tbaa !13
  %251 = add nsw i32 %250, -1
  store i32 %251, ptr %249, align 4, !tbaa !13
  %252 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %.pre-phi) #7
  %253 = load i32, ptr %252, align 4, !tbaa !13
  %254 = icmp sgt i32 %253, 0
  br i1 %254, label %.lr.ph86, label %._crit_edge87, !llvm.loop !25

._crit_edge87:                                    ; preds = %248, %.preheader63
  %255 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  %256 = sext i32 %26 to i64
  %257 = icmp eq i64 %255, %256
  br i1 %257, label %259, label %258

258:                                              ; preds = %._crit_edge87
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, i32 noundef 125, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

259:                                              ; preds = %._crit_edge87
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %261 unwind label %.loopexit.split-lp65.loopexit.split-lp

261:                                              ; preds = %259
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %260, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %308 unwind label %.loopexit.split-lp65.loopexit.split-lp

263:                                              ; preds = %179, %173
  %264 = load i32, ptr %1, align 4, !tbaa !8
  %265 = sext i32 %264 to i64
  %266 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %265) #7
  %267 = getelementptr inbounds i8, ptr %266, i64 4
  %268 = load i32, ptr %267, align 4, !tbaa !16
  %269 = call noundef signext i8 @_Z7getchari(i32 noundef %268)
  %270 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %269)
          to label %271 unwind label %.loopexit.split-lp.loopexit.split-lp

271:                                              ; preds = %263
  %272 = load i32, ptr %1, align 4, !tbaa !8
  %273 = sext i32 %272 to i64
  %274 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %273) #7
  %275 = load i32, ptr %274, align 4, !tbaa !13
  %276 = add nsw i32 %275, -1
  store i32 %276, ptr %274, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %277 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  store ptr %277, ptr %7, align 8
  %278 = load i32, ptr %1, align 4, !tbaa !8
  %279 = sext i32 %278 to i64
  %280 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %279) #7
  %281 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @v) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %280, ptr %281, ptr noundef nonnull @_Z3cmpRKSt4pairIiiES2_)
          to label %282 unwind label %297

282:                                              ; preds = %271
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  %.pr46 = load i32, ptr %1, align 4, !tbaa !8
  %283 = icmp slt i32 %.pr46, 26
  br i1 %283, label %.preheader73, label %._crit_edge81

.preheader73:                                     ; preds = %282, %.preheader73.backedge
  %284 = load i32, ptr %1, align 4, !tbaa !8
  %285 = sext i32 %284 to i64
  %286 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %285) #7
  %287 = load i32, ptr %286, align 4, !tbaa !13
  %288 = add nsw i32 %287, -1
  store i32 %288, ptr %286, align 4, !tbaa !13
  %.not = icmp eq i32 %287, 0
  %289 = load i32, ptr %1, align 4, !tbaa !8
  br i1 %.not, label %299, label %290

290:                                              ; preds = %.preheader73
  %291 = sext i32 %289 to i64
  %292 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @v, i64 noundef %291) #7
  %293 = getelementptr inbounds i8, ptr %292, i64 4
  %294 = load i32, ptr %293, align 4, !tbaa !16
  %295 = call noundef signext i8 @_Z7getchari(i32 noundef %294)
  %296 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %295)
          to label %.preheader73.backedge unwind label %.loopexit.split-lp.loopexit

.preheader73.backedge:                            ; preds = %290, %299
  br label %.preheader73, !llvm.loop !26

297:                                              ; preds = %271
  %298 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %.loopexit.split-lp

299:                                              ; preds = %.preheader73
  %300 = add nsw i32 %289, 1
  store i32 %300, ptr %1, align 4, !tbaa !8
  %301 = icmp slt i32 %289, 25
  br i1 %301, label %.preheader73.backedge, label %._crit_edge81

._crit_edge81:                                    ; preds = %299, %282
  %302 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  %303 = sext i32 %26 to i64
  %304 = icmp eq i64 %302, %303
  br i1 %304, label %.invoke97, label %305

305:                                              ; preds = %._crit_edge81
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, i32 noundef 139, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

.invoke97:                                        ; preds = %._crit_edge81, %._crit_edge95
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %.invoke unwind label %.loopexit.split-lp.loopexit.split-lp

.invoke:                                          ; preds = %.invoke97
  %307 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %306, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %308 unwind label %.loopexit.split-lp.loopexit.split-lp

308:                                              ; preds = %.invoke, %261, %171
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

.loopexit.split-lp:                               ; preds = %.loopexit64, %.loopexit.split-lp65.loopexit.split-lp, %.loopexit.split-lp65.loopexit, %.loopexit48, %.loopexit.split-lp49.loopexit.split-lp.loopexit, %.loopexit.split-lp49.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp49.loopexit, %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %297, %54
  %.pn.pn = phi { ptr, i32 } [ %55, %54 ], [ %298, %297 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit74, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp75, %.loopexit.split-lp.loopexit.split-lp ], [ %lpad.loopexit50, %.loopexit48 ], [ %lpad.loopexit55, %.loopexit.split-lp49.loopexit ], [ %lpad.loopexit60, %.loopexit.split-lp49.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp61, %.loopexit.split-lp49.loopexit.split-lp.loopexit.split-lp ], [ %lpad.loopexit66, %.loopexit64 ], [ %lpad.loopexit70, %.loopexit.split-lp65.loopexit ], [ %lpad.loopexit.split-lp71, %.loopexit.split-lp65.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #0 align 2

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !9, i64 0}
!14 = !{!"_ZTSSt4pairIiiE", !9, i64 0, !9, i64 4}
!15 = distinct !{!15, !12}
!16 = !{!14, !9, i64 4}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}


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