; LLVM IR from DionysiosB/CodeForces :: 0700-0799 (734D-AntonAndChess)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type <{ i64, i8, [7 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca i8, align 1
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::pair", align 8
  %21 = alloca i64, align 8
  %22 = alloca i8, align 1
  %23 = alloca { i64, i8 }, align 8
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca i64, align 8
  %26 = alloca i8, align 1
  %27 = alloca { i64, i8 }, align 8
  %28 = alloca %"struct.std::pair", align 8
  %29 = alloca i64, align 8
  %30 = alloca i8, align 1
  %31 = alloca { i64, i8 }, align 8
  %32 = alloca %"struct.std::pair", align 8
  %33 = alloca i64, align 8
  %34 = alloca i8, align 1
  %35 = alloca { i64, i8 }, align 8
  %36 = alloca %"struct.std::pair", align 8
  %37 = alloca i64, align 8
  %38 = alloca i8, align 1
  %39 = alloca { i64, i8 }, align 8
  %40 = alloca %"struct.std::pair", align 8
  %41 = alloca i64, align 8
  %42 = alloca i8, align 1
  %43 = alloca { i64, i8 }, align 8
  %44 = alloca %"struct.std::pair", align 8
  %45 = alloca i64, align 8
  %46 = alloca i8, align 1
  %47 = alloca { i64, i8 }, align 8
  %48 = alloca %"struct.std::pair", align 8
  %49 = alloca i64, align 8
  %50 = alloca i8, align 1
  %51 = alloca { i64, i8 }, align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %54 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %55 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %58 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %59 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %60 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %61 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %62 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %65 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %66 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %67 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %68 = alloca i8, align 1
  store i32 0, ptr %1, align 4
  %69 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %72 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %73 = load i64, ptr %4, align 8, !tbaa !5
  %74 = load i64, ptr %3, align 8, !tbaa !5
  %75 = sub nsw i64 %73, %74
  store i64 %75, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %76 = load i64, ptr %3, align 8, !tbaa !5
  %77 = load i64, ptr %4, align 8, !tbaa !5
  %78 = add nsw i64 %76, %77
  store i64 %78, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %79

79:                                               ; preds = %333, %0
  %80 = load i64, ptr %2, align 8, !tbaa !5
  %81 = add nsw i64 %80, -1
  store i64 %81, ptr %2, align 8, !tbaa !5
  %82 = icmp ne i64 %80, 0
  br i1 %82, label %83, label %335

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %84 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %85 unwind label %116

85:                                               ; preds = %83
  %86 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %87 unwind label %116

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %86, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %89 unwind label %116

89:                                               ; preds = %87
  %90 = load i64, ptr %17, align 8, !tbaa !5
  %91 = load i64, ptr %16, align 8, !tbaa !5
  %92 = sub nsw i64 %90, %91
  %93 = load i64, ptr %5, align 8, !tbaa !5
  %94 = icmp eq i64 %92, %93
  br i1 %94, label %95, label %124

95:                                               ; preds = %89
  %96 = load i64, ptr %16, align 8, !tbaa !5
  %97 = load i64, ptr %3, align 8, !tbaa !5
  %98 = icmp sgt i64 %96, %97
  br i1 %98, label %99, label %124

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %100 = load i64, ptr %16, align 8, !tbaa !5
  %101 = load i64, ptr %3, align 8, !tbaa !5
  %102 = sub nsw i64 %100, %101
  store i64 %102, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  %103 = load i8, ptr %15, align 1, !tbaa !9
  %104 = sext i8 %103 to i32
  %105 = icmp eq i32 %104, 66
  br i1 %105, label %110, label %106

106:                                              ; preds = %99
  %107 = load i8, ptr %15, align 1, !tbaa !9
  %108 = sext i8 %107 to i32
  %109 = icmp eq i32 %108, 81
  br label %110

110:                                              ; preds = %106, %99
  %111 = phi i1 [ true, %99 ], [ %109, %106 ]
  %112 = zext i1 %111 to i8
  store i8 %112, ptr %22, align 1, !tbaa !10
  %113 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %114 unwind label %120

114:                                              ; preds = %110
  store { i64, i8 } %113, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %23, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(9) %20)
          to label %115 unwind label %120

115:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  br label %124

116:                                              ; preds = %87, %85, %83
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %18, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %19, align 4
  br label %334

120:                                              ; preds = %114, %110
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %18, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  br label %334

124:                                              ; preds = %115, %95, %89
  %125 = load i64, ptr %17, align 8, !tbaa !5
  %126 = load i64, ptr %16, align 8, !tbaa !5
  %127 = sub nsw i64 %125, %126
  %128 = load i64, ptr %5, align 8, !tbaa !5
  %129 = icmp eq i64 %127, %128
  br i1 %129, label %130, label %155

130:                                              ; preds = %124
  %131 = load i64, ptr %16, align 8, !tbaa !5
  %132 = load i64, ptr %3, align 8, !tbaa !5
  %133 = icmp slt i64 %131, %132
  br i1 %133, label %134, label %155

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %135 = load i64, ptr %3, align 8, !tbaa !5
  %136 = load i64, ptr %16, align 8, !tbaa !5
  %137 = sub nsw i64 %135, %136
  store i64 %137, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  %138 = load i8, ptr %15, align 1, !tbaa !9
  %139 = sext i8 %138 to i32
  %140 = icmp eq i32 %139, 66
  br i1 %140, label %145, label %141

141:                                              ; preds = %134
  %142 = load i8, ptr %15, align 1, !tbaa !9
  %143 = sext i8 %142 to i32
  %144 = icmp eq i32 %143, 81
  br label %145

145:                                              ; preds = %141, %134
  %146 = phi i1 [ true, %134 ], [ %144, %141 ]
  %147 = zext i1 %146 to i8
  store i8 %147, ptr %26, align 1, !tbaa !10
  %148 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %149 unwind label %151

149:                                              ; preds = %145
  store { i64, i8 } %148, ptr %27, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %27, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(9) %24)
          to label %150 unwind label %151

150:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  br label %155

151:                                              ; preds = %149, %145
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %18, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  br label %334

155:                                              ; preds = %150, %130, %124
  %156 = load i64, ptr %17, align 8, !tbaa !5
  %157 = load i64, ptr %16, align 8, !tbaa !5
  %158 = add nsw i64 %156, %157
  %159 = load i64, ptr %6, align 8, !tbaa !5
  %160 = icmp eq i64 %158, %159
  br i1 %160, label %161, label %186

161:                                              ; preds = %155
  %162 = load i64, ptr %16, align 8, !tbaa !5
  %163 = load i64, ptr %3, align 8, !tbaa !5
  %164 = icmp sgt i64 %162, %163
  br i1 %164, label %165, label %186

165:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %166 = load i64, ptr %16, align 8, !tbaa !5
  %167 = load i64, ptr %3, align 8, !tbaa !5
  %168 = sub nsw i64 %166, %167
  store i64 %168, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #7
  %169 = load i8, ptr %15, align 1, !tbaa !9
  %170 = sext i8 %169 to i32
  %171 = icmp eq i32 %170, 66
  br i1 %171, label %176, label %172

172:                                              ; preds = %165
  %173 = load i8, ptr %15, align 1, !tbaa !9
  %174 = sext i8 %173 to i32
  %175 = icmp eq i32 %174, 81
  br label %176

176:                                              ; preds = %172, %165
  %177 = phi i1 [ true, %165 ], [ %175, %172 ]
  %178 = zext i1 %177 to i8
  store i8 %178, ptr %30, align 1, !tbaa !10
  %179 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %180 unwind label %182

180:                                              ; preds = %176
  store { i64, i8 } %179, ptr %31, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %31, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(9) %28)
          to label %181 unwind label %182

181:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  br label %186

182:                                              ; preds = %180, %176
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %18, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  br label %334

186:                                              ; preds = %181, %161, %155
  %187 = load i64, ptr %17, align 8, !tbaa !5
  %188 = load i64, ptr %16, align 8, !tbaa !5
  %189 = add nsw i64 %187, %188
  %190 = load i64, ptr %6, align 8, !tbaa !5
  %191 = icmp eq i64 %189, %190
  br i1 %191, label %192, label %217

192:                                              ; preds = %186
  %193 = load i64, ptr %16, align 8, !tbaa !5
  %194 = load i64, ptr %3, align 8, !tbaa !5
  %195 = icmp slt i64 %193, %194
  br i1 %195, label %196, label %217

196:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %197 = load i64, ptr %3, align 8, !tbaa !5
  %198 = load i64, ptr %16, align 8, !tbaa !5
  %199 = sub nsw i64 %197, %198
  store i64 %199, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  %200 = load i8, ptr %15, align 1, !tbaa !9
  %201 = sext i8 %200 to i32
  %202 = icmp eq i32 %201, 66
  br i1 %202, label %207, label %203

203:                                              ; preds = %196
  %204 = load i8, ptr %15, align 1, !tbaa !9
  %205 = sext i8 %204 to i32
  %206 = icmp eq i32 %205, 81
  br label %207

207:                                              ; preds = %203, %196
  %208 = phi i1 [ true, %196 ], [ %206, %203 ]
  %209 = zext i1 %208 to i8
  store i8 %209, ptr %34, align 1, !tbaa !10
  %210 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %211 unwind label %213

211:                                              ; preds = %207
  store { i64, i8 } %210, ptr %35, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %35, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(9) %32)
          to label %212 unwind label %213

212:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  br label %217

213:                                              ; preds = %211, %207
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %18, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  br label %334

217:                                              ; preds = %212, %192, %186
  %218 = load i64, ptr %17, align 8, !tbaa !5
  %219 = load i64, ptr %4, align 8, !tbaa !5
  %220 = icmp eq i64 %218, %219
  br i1 %220, label %221, label %246

221:                                              ; preds = %217
  %222 = load i64, ptr %16, align 8, !tbaa !5
  %223 = load i64, ptr %3, align 8, !tbaa !5
  %224 = icmp sgt i64 %222, %223
  br i1 %224, label %225, label %246

225:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %226 = load i64, ptr %16, align 8, !tbaa !5
  %227 = load i64, ptr %3, align 8, !tbaa !5
  %228 = sub nsw i64 %226, %227
  store i64 %228, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #7
  %229 = load i8, ptr %15, align 1, !tbaa !9
  %230 = sext i8 %229 to i32
  %231 = icmp eq i32 %230, 82
  br i1 %231, label %236, label %232

232:                                              ; preds = %225
  %233 = load i8, ptr %15, align 1, !tbaa !9
  %234 = sext i8 %233 to i32
  %235 = icmp eq i32 %234, 81
  br label %236

236:                                              ; preds = %232, %225
  %237 = phi i1 [ true, %225 ], [ %235, %232 ]
  %238 = zext i1 %237 to i8
  store i8 %238, ptr %38, align 1, !tbaa !10
  %239 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %240 unwind label %242

240:                                              ; preds = %236
  store { i64, i8 } %239, ptr %39, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %39, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(9) %36)
          to label %241 unwind label %242

241:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  br label %246

242:                                              ; preds = %240, %236
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %18, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  br label %334

246:                                              ; preds = %241, %221, %217
  %247 = load i64, ptr %17, align 8, !tbaa !5
  %248 = load i64, ptr %4, align 8, !tbaa !5
  %249 = icmp eq i64 %247, %248
  br i1 %249, label %250, label %275

250:                                              ; preds = %246
  %251 = load i64, ptr %16, align 8, !tbaa !5
  %252 = load i64, ptr %3, align 8, !tbaa !5
  %253 = icmp slt i64 %251, %252
  br i1 %253, label %254, label %275

254:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %255 = load i64, ptr %3, align 8, !tbaa !5
  %256 = load i64, ptr %16, align 8, !tbaa !5
  %257 = sub nsw i64 %255, %256
  store i64 %257, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #7
  %258 = load i8, ptr %15, align 1, !tbaa !9
  %259 = sext i8 %258 to i32
  %260 = icmp eq i32 %259, 82
  br i1 %260, label %265, label %261

261:                                              ; preds = %254
  %262 = load i8, ptr %15, align 1, !tbaa !9
  %263 = sext i8 %262 to i32
  %264 = icmp eq i32 %263, 81
  br label %265

265:                                              ; preds = %261, %254
  %266 = phi i1 [ true, %254 ], [ %264, %261 ]
  %267 = zext i1 %266 to i8
  store i8 %267, ptr %42, align 1, !tbaa !10
  %268 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %269 unwind label %271

269:                                              ; preds = %265
  store { i64, i8 } %268, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %43, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(9) %40)
          to label %270 unwind label %271

270:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  br label %275

271:                                              ; preds = %269, %265
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %18, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  br label %334

275:                                              ; preds = %270, %250, %246
  %276 = load i64, ptr %16, align 8, !tbaa !5
  %277 = load i64, ptr %3, align 8, !tbaa !5
  %278 = icmp eq i64 %276, %277
  br i1 %278, label %279, label %304

279:                                              ; preds = %275
  %280 = load i64, ptr %17, align 8, !tbaa !5
  %281 = load i64, ptr %4, align 8, !tbaa !5
  %282 = icmp sgt i64 %280, %281
  br i1 %282, label %283, label %304

283:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  %284 = load i64, ptr %17, align 8, !tbaa !5
  %285 = load i64, ptr %4, align 8, !tbaa !5
  %286 = sub nsw i64 %284, %285
  store i64 %286, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #7
  %287 = load i8, ptr %15, align 1, !tbaa !9
  %288 = sext i8 %287 to i32
  %289 = icmp eq i32 %288, 82
  br i1 %289, label %294, label %290

290:                                              ; preds = %283
  %291 = load i8, ptr %15, align 1, !tbaa !9
  %292 = sext i8 %291 to i32
  %293 = icmp eq i32 %292, 81
  br label %294

294:                                              ; preds = %290, %283
  %295 = phi i1 [ true, %283 ], [ %293, %290 ]
  %296 = zext i1 %295 to i8
  store i8 %296, ptr %46, align 1, !tbaa !10
  %297 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %298 unwind label %300

298:                                              ; preds = %294
  store { i64, i8 } %297, ptr %47, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %47, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(9) %44)
          to label %299 unwind label %300

299:                                              ; preds = %298
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  br label %304

300:                                              ; preds = %298, %294
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %18, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  br label %334

304:                                              ; preds = %299, %279, %275
  %305 = load i64, ptr %16, align 8, !tbaa !5
  %306 = load i64, ptr %3, align 8, !tbaa !5
  %307 = icmp eq i64 %305, %306
  br i1 %307, label %308, label %333

308:                                              ; preds = %304
  %309 = load i64, ptr %17, align 8, !tbaa !5
  %310 = load i64, ptr %4, align 8, !tbaa !5
  %311 = icmp slt i64 %309, %310
  br i1 %311, label %312, label %333

312:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %313 = load i64, ptr %4, align 8, !tbaa !5
  %314 = load i64, ptr %17, align 8, !tbaa !5
  %315 = sub nsw i64 %313, %314
  store i64 %315, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #7
  %316 = load i8, ptr %15, align 1, !tbaa !9
  %317 = sext i8 %316 to i32
  %318 = icmp eq i32 %317, 82
  br i1 %318, label %323, label %319

319:                                              ; preds = %312
  %320 = load i8, ptr %15, align 1, !tbaa !9
  %321 = sext i8 %320 to i32
  %322 = icmp eq i32 %321, 81
  br label %323

323:                                              ; preds = %319, %312
  %324 = phi i1 [ true, %312 ], [ %322, %319 ]
  %325 = zext i1 %324 to i8
  store i8 %325, ptr %50, align 1, !tbaa !10
  %326 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %327 unwind label %329

327:                                              ; preds = %323
  store { i64, i8 } %326, ptr %51, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %48, ptr align 8 %51, i64 9, i1 false)
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(9) %48)
          to label %328 unwind label %329

328:                                              ; preds = %327
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #7
  br label %333

329:                                              ; preds = %327, %323
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %18, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #7
  br label %334

333:                                              ; preds = %328, %308, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %79, !llvm.loop !12

334:                                              ; preds = %329, %300, %271, %242, %213, %182, %151, %120, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %483

335:                                              ; preds = %79
  %336 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %337 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %52, i32 0, i32 0
  store ptr %336, ptr %337, align 8
  %338 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %339 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %53, i32 0, i32 0
  store ptr %338, ptr %339, align 8
  %340 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %52, i32 0, i32 0
  %341 = load ptr, ptr %340, align 8
  %342 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %53, i32 0, i32 0
  %343 = load ptr, ptr %342, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %341, ptr %343)
          to label %344 unwind label %475

344:                                              ; preds = %335
  %345 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %346 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %54, i32 0, i32 0
  store ptr %345, ptr %346, align 8
  %347 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %348 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %55, i32 0, i32 0
  store ptr %347, ptr %348, align 8
  %349 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %54, i32 0, i32 0
  %350 = load ptr, ptr %349, align 8
  %351 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %55, i32 0, i32 0
  %352 = load ptr, ptr %351, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %350, ptr %352)
          to label %353 unwind label %475

353:                                              ; preds = %344
  %354 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %355 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %56, i32 0, i32 0
  store ptr %354, ptr %355, align 8
  %356 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %357 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %57, i32 0, i32 0
  store ptr %356, ptr %357, align 8
  %358 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %56, i32 0, i32 0
  %359 = load ptr, ptr %358, align 8
  %360 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %57, i32 0, i32 0
  %361 = load ptr, ptr %360, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %359, ptr %361)
          to label %362 unwind label %475

362:                                              ; preds = %353
  %363 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %364 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %58, i32 0, i32 0
  store ptr %363, ptr %364, align 8
  %365 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %366 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %59, i32 0, i32 0
  store ptr %365, ptr %366, align 8
  %367 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %58, i32 0, i32 0
  %368 = load ptr, ptr %367, align 8
  %369 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %59, i32 0, i32 0
  %370 = load ptr, ptr %369, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %368, ptr %370)
          to label %371 unwind label %475

371:                                              ; preds = %362
  %372 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %373 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %60, i32 0, i32 0
  store ptr %372, ptr %373, align 8
  %374 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %375 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %61, i32 0, i32 0
  store ptr %374, ptr %375, align 8
  %376 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %60, i32 0, i32 0
  %377 = load ptr, ptr %376, align 8
  %378 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %61, i32 0, i32 0
  %379 = load ptr, ptr %378, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %377, ptr %379)
          to label %380 unwind label %475

380:                                              ; preds = %371
  %381 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %382 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %62, i32 0, i32 0
  store ptr %381, ptr %382, align 8
  %383 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %384 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %63, i32 0, i32 0
  store ptr %383, ptr %384, align 8
  %385 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %62, i32 0, i32 0
  %386 = load ptr, ptr %385, align 8
  %387 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %63, i32 0, i32 0
  %388 = load ptr, ptr %387, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %386, ptr %388)
          to label %389 unwind label %475

389:                                              ; preds = %380
  %390 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %391 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %64, i32 0, i32 0
  store ptr %390, ptr %391, align 8
  %392 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %393 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %65, i32 0, i32 0
  store ptr %392, ptr %393, align 8
  %394 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %64, i32 0, i32 0
  %395 = load ptr, ptr %394, align 8
  %396 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %65, i32 0, i32 0
  %397 = load ptr, ptr %396, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %395, ptr %397)
          to label %398 unwind label %475

398:                                              ; preds = %389
  %399 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %400 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %66, i32 0, i32 0
  store ptr %399, ptr %400, align 8
  %401 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %402 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %67, i32 0, i32 0
  store ptr %401, ptr %402, align 8
  %403 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %66, i32 0, i32 0
  %404 = load ptr, ptr %403, align 8
  %405 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %67, i32 0, i32 0
  %406 = load ptr, ptr %405, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %404, ptr %406)
          to label %407 unwind label %475

407:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #7
  %408 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br i1 %408, label %414, label %409

409:                                              ; preds = %407
  %410 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %411 = getelementptr inbounds %"struct.std::pair", ptr %410, i32 0, i32 1
  %412 = load i8, ptr %411, align 8, !tbaa !14, !range !16, !noundef !17
  %413 = trunc i8 %412 to i1
  br i1 %413, label %465, label %414

414:                                              ; preds = %409, %407
  %415 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br i1 %415, label %421, label %416

416:                                              ; preds = %414
  %417 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #7
  %418 = getelementptr inbounds %"struct.std::pair", ptr %417, i32 0, i32 1
  %419 = load i8, ptr %418, align 8, !tbaa !14, !range !16, !noundef !17
  %420 = trunc i8 %419 to i1
  br i1 %420, label %465, label %421

421:                                              ; preds = %416, %414
  %422 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br i1 %422, label %428, label %423

423:                                              ; preds = %421
  %424 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #7
  %425 = getelementptr inbounds %"struct.std::pair", ptr %424, i32 0, i32 1
  %426 = load i8, ptr %425, align 8, !tbaa !14, !range !16, !noundef !17
  %427 = trunc i8 %426 to i1
  br i1 %427, label %465, label %428

428:                                              ; preds = %423, %421
  %429 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br i1 %429, label %435, label %430

430:                                              ; preds = %428
  %431 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #7
  %432 = getelementptr inbounds %"struct.std::pair", ptr %431, i32 0, i32 1
  %433 = load i8, ptr %432, align 8, !tbaa !14, !range !16, !noundef !17
  %434 = trunc i8 %433 to i1
  br i1 %434, label %465, label %435

435:                                              ; preds = %430, %428
  %436 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br i1 %436, label %442, label %437

437:                                              ; preds = %435
  %438 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %439 = getelementptr inbounds %"struct.std::pair", ptr %438, i32 0, i32 1
  %440 = load i8, ptr %439, align 8, !tbaa !14, !range !16, !noundef !17
  %441 = trunc i8 %440 to i1
  br i1 %441, label %465, label %442

442:                                              ; preds = %437, %435
  %443 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br i1 %443, label %449, label %444

444:                                              ; preds = %442
  %445 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #7
  %446 = getelementptr inbounds %"struct.std::pair", ptr %445, i32 0, i32 1
  %447 = load i8, ptr %446, align 8, !tbaa !14, !range !16, !noundef !17
  %448 = trunc i8 %447 to i1
  br i1 %448, label %465, label %449

449:                                              ; preds = %444, %442
  %450 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br i1 %450, label %456, label %451

451:                                              ; preds = %449
  %452 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #7
  %453 = getelementptr inbounds %"struct.std::pair", ptr %452, i32 0, i32 1
  %454 = load i8, ptr %453, align 8, !tbaa !14, !range !16, !noundef !17
  %455 = trunc i8 %454 to i1
  br i1 %455, label %465, label %456

456:                                              ; preds = %451, %449
  %457 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br i1 %457, label %463, label %458

458:                                              ; preds = %456
  %459 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0) #7
  %460 = getelementptr inbounds %"struct.std::pair", ptr %459, i32 0, i32 1
  %461 = load i8, ptr %460, align 8, !tbaa !14, !range !16, !noundef !17
  %462 = trunc i8 %461 to i1
  br label %463

463:                                              ; preds = %458, %456
  %464 = phi i1 [ false, %456 ], [ %462, %458 ]
  br label %465

465:                                              ; preds = %463, %451, %444, %437, %430, %423, %416, %409
  %466 = phi i1 [ true, %451 ], [ true, %444 ], [ true, %437 ], [ true, %430 ], [ true, %423 ], [ true, %416 ], [ true, %409 ], [ %464, %463 ]
  %467 = zext i1 %466 to i8
  store i8 %467, ptr %68, align 1, !tbaa !10
  %468 = load i8, ptr %68, align 1, !tbaa !10, !range !16, !noundef !17
  %469 = trunc i8 %468 to i1
  %470 = zext i1 %469 to i64
  %471 = select i1 %469, ptr @.str, ptr @.str.1
  %472 = invoke i32 @puts(ptr noundef %471)
          to label %473 unwind label %479

473:                                              ; preds = %465
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %474 = load i32, ptr %1, align 4
  ret i32 %474

475:                                              ; preds = %398, %389, %380, %371, %362, %353, %344, %335
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %18, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %19, align 4
  br label %483

479:                                              ; preds = %465
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %18, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #7
  br label %483

483:                                              ; preds = %479, %475, %334
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  br label %484

484:                                              ; preds = %483
  %485 = load ptr, ptr %18, align 8
  %486 = load i32, ptr %19, align 4
  %487 = insertvalue { ptr, i32 } poison, ptr %485, 0
  %488 = insertvalue { ptr, i32 } %487, i32 %486, 1
  resume { ptr, i32 } %488
}

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

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

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

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

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

declare i32 @puts(ptr noundef) #1

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nounwind }

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long, bool>, std::allocator<std::pair<long, bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type <{ i64, i8, [7 x i8] }>

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca i8, align 1
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"struct.std::pair", align 8
  %16 = alloca i64, align 8
  %17 = alloca i8, align 1
  %18 = alloca %"struct.std::pair", align 8
  %19 = alloca i64, align 8
  %20 = alloca i8, align 1
  %21 = alloca %"struct.std::pair", align 8
  %22 = alloca i64, align 8
  %23 = alloca i8, align 1
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca i64, align 8
  %26 = alloca i8, align 1
  %27 = alloca %"struct.std::pair", align 8
  %28 = alloca i64, align 8
  %29 = alloca i8, align 1
  %30 = alloca %"struct.std::pair", align 8
  %31 = alloca i64, align 8
  %32 = alloca i8, align 1
  %33 = alloca %"struct.std::pair", align 8
  %34 = alloca i64, align 8
  %35 = alloca i8, align 1
  %36 = alloca %"struct.std::pair", align 8
  %37 = alloca i64, align 8
  %38 = alloca i8, align 1
  %39 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %43 = load i64, ptr %3, align 8, !tbaa !5
  %44 = load i64, ptr %2, align 8, !tbaa !5
  %45 = sub nsw i64 %43, %44
  %46 = add nsw i64 %44, %43
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %47 = load i64, ptr %1, align 8, !tbaa !5
  %48 = add nsw i64 %47, -1
  store i64 %48, ptr %1, align 8, !tbaa !5
  %.not62 = icmp eq i64 %47, 0
  br i1 %.not62, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0
  %.sroa.244.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  %.sroa.240.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  %.sroa.236.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  %.sroa.232.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  %.sroa.228.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  %.sroa.224.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  %.sroa.220.0..sroa_idx = getelementptr inbounds i8, ptr %33, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  br label %49

49:                                               ; preds = %.lr.ph, %201
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %50 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %51 unwind label %72

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %53 unwind label %72

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %55 unwind label %72

55:                                               ; preds = %53
  %56 = load i64, ptr %14, align 8, !tbaa !5
  %57 = load i64, ptr %13, align 8, !tbaa !5
  %58 = sub nsw i64 %56, %57
  %59 = icmp eq i64 %58, %45
  %60 = load i64, ptr %2, align 8
  %61 = icmp sgt i64 %57, %60
  %or.cond = select i1 %59, i1 %61, i1 false
  br i1 %or.cond, label %62, label %76

62:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %63 = sub nsw i64 %57, %60
  store i64 %63, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  %64 = load i8, ptr %12, align 1
  %65 = icmp eq i8 %64, 66
  %66 = icmp eq i8 %64, 81
  %67 = or i1 %65, %66
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %17, align 1, !tbaa !9
  %69 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %70 unwind label %74

70:                                               ; preds = %62
  %.fca.0.extract41 = extractvalue { i64, i8 } %69, 0
  %.fca.1.extract42 = extractvalue { i64, i8 } %69, 1
  store i64 %.fca.0.extract41, ptr %15, align 8
  store i8 %.fca.1.extract42, ptr %.sroa.244.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(9) %15)
          to label %71 unwind label %74

71:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  %.pre = load i64, ptr %14, align 8, !tbaa !5
  %.pre63 = load i64, ptr %13, align 8, !tbaa !5
  %.pre64 = load i64, ptr %2, align 8
  %.pre86 = sub nsw i64 %.pre, %.pre63
  br label %76

72:                                               ; preds = %53, %51, %49
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %204

74:                                               ; preds = %70, %62
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  br label %204

76:                                               ; preds = %71, %55
  %.pre-phi = phi i64 [ %.pre86, %71 ], [ %58, %55 ]
  %77 = phi i64 [ %.pre64, %71 ], [ %60, %55 ]
  %78 = phi i64 [ %.pre63, %71 ], [ %57, %55 ]
  %79 = phi i64 [ %.pre, %71 ], [ %56, %55 ]
  %80 = icmp eq i64 %.pre-phi, %45
  %81 = icmp slt i64 %78, %77
  %or.cond57 = select i1 %80, i1 %81, i1 false
  br i1 %or.cond57, label %82, label %94

82:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %83 = sub nsw i64 %77, %78
  store i64 %83, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #7
  %84 = load i8, ptr %12, align 1
  %85 = icmp eq i8 %84, 66
  %86 = icmp eq i8 %84, 81
  %87 = or i1 %85, %86
  %88 = zext i1 %87 to i8
  store i8 %88, ptr %20, align 1, !tbaa !9
  %89 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %90 unwind label %92

90:                                               ; preds = %82
  %.fca.0.extract37 = extractvalue { i64, i8 } %89, 0
  %.fca.1.extract38 = extractvalue { i64, i8 } %89, 1
  store i64 %.fca.0.extract37, ptr %18, align 8
  store i8 %.fca.1.extract38, ptr %.sroa.240.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(9) %18)
          to label %91 unwind label %92

91:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  %.pre65 = load i64, ptr %14, align 8, !tbaa !5
  %.pre66 = load i64, ptr %13, align 8, !tbaa !5
  %.pre67 = load i64, ptr %2, align 8
  br label %94

92:                                               ; preds = %90, %82
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  br label %204

94:                                               ; preds = %91, %76
  %95 = phi i64 [ %.pre67, %91 ], [ %77, %76 ]
  %96 = phi i64 [ %.pre66, %91 ], [ %78, %76 ]
  %97 = phi i64 [ %.pre65, %91 ], [ %79, %76 ]
  %98 = add nsw i64 %96, %97
  %99 = icmp eq i64 %98, %46
  %100 = icmp sgt i64 %96, %95
  %or.cond59 = select i1 %99, i1 %100, i1 false
  br i1 %or.cond59, label %101, label %113

101:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %102 = sub nsw i64 %96, %95
  store i64 %102, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #7
  %103 = load i8, ptr %12, align 1
  %104 = icmp eq i8 %103, 66
  %105 = icmp eq i8 %103, 81
  %106 = or i1 %104, %105
  %107 = zext i1 %106 to i8
  store i8 %107, ptr %23, align 1, !tbaa !9
  %108 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %109 unwind label %111

109:                                              ; preds = %101
  %.fca.0.extract33 = extractvalue { i64, i8 } %108, 0
  %.fca.1.extract34 = extractvalue { i64, i8 } %108, 1
  store i64 %.fca.0.extract33, ptr %21, align 8
  store i8 %.fca.1.extract34, ptr %.sroa.236.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(9) %21)
          to label %110 unwind label %111

110:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  %.pre68 = load i64, ptr %14, align 8, !tbaa !5
  %.pre69 = load i64, ptr %13, align 8, !tbaa !5
  %.pre70 = load i64, ptr %2, align 8
  %.pre87 = add nsw i64 %.pre69, %.pre68
  br label %113

111:                                              ; preds = %109, %101
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  br label %204

113:                                              ; preds = %110, %94
  %.pre-phi88 = phi i64 [ %.pre87, %110 ], [ %98, %94 ]
  %114 = phi i64 [ %.pre70, %110 ], [ %95, %94 ]
  %115 = phi i64 [ %.pre69, %110 ], [ %96, %94 ]
  %116 = phi i64 [ %.pre68, %110 ], [ %97, %94 ]
  %117 = icmp eq i64 %.pre-phi88, %46
  %118 = icmp slt i64 %115, %114
  %or.cond61 = select i1 %117, i1 %118, i1 false
  br i1 %or.cond61, label %119, label %131

119:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %120 = sub nsw i64 %114, %115
  store i64 %120, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #7
  %121 = load i8, ptr %12, align 1
  %122 = icmp eq i8 %121, 66
  %123 = icmp eq i8 %121, 81
  %124 = or i1 %122, %123
  %125 = zext i1 %124 to i8
  store i8 %125, ptr %26, align 1, !tbaa !9
  %126 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %127 unwind label %129

127:                                              ; preds = %119
  %.fca.0.extract29 = extractvalue { i64, i8 } %126, 0
  %.fca.1.extract30 = extractvalue { i64, i8 } %126, 1
  store i64 %.fca.0.extract29, ptr %24, align 8
  store i8 %.fca.1.extract30, ptr %.sroa.232.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(9) %24)
          to label %128 unwind label %129

128:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  %.pre71 = load i64, ptr %14, align 8, !tbaa !5
  %.pre75.pre80.pre = load i64, ptr %13, align 8, !tbaa !5
  %.pre77.pre82.pre = load i64, ptr %2, align 8, !tbaa !5
  br label %131

129:                                              ; preds = %127, %119
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  br label %204

131:                                              ; preds = %128, %113
  %.pre77.pre82 = phi i64 [ %.pre77.pre82.pre, %128 ], [ %114, %113 ]
  %.pre75.pre80 = phi i64 [ %.pre75.pre80.pre, %128 ], [ %115, %113 ]
  %132 = phi i64 [ %.pre71, %128 ], [ %116, %113 ]
  %133 = load i64, ptr %3, align 8, !tbaa !5
  %134 = icmp eq i64 %132, %133
  br i1 %134, label %135, label %148

135:                                              ; preds = %131
  %136 = icmp sgt i64 %.pre75.pre80, %.pre77.pre82
  br i1 %136, label %137, label %.thread

137:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %138 = sub nsw i64 %.pre75.pre80, %.pre77.pre82
  store i64 %138, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #7
  %139 = load i8, ptr %12, align 1
  %140 = add i8 %139, -81
  %141 = icmp ult i8 %140, 2
  %142 = zext i1 %141 to i8
  store i8 %142, ptr %29, align 1, !tbaa !9
  %143 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %144 unwind label %146

144:                                              ; preds = %137
  %.fca.0.extract25 = extractvalue { i64, i8 } %143, 0
  %.fca.1.extract26 = extractvalue { i64, i8 } %143, 1
  store i64 %.fca.0.extract25, ptr %27, align 8
  store i8 %.fca.1.extract26, ptr %.sroa.228.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(9) %27)
          to label %145 unwind label %146

145:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  %.pre72 = load i64, ptr %14, align 8, !tbaa !5
  %.pre73 = load i64, ptr %3, align 8, !tbaa !5
  %.pre75.pre = load i64, ptr %13, align 8, !tbaa !5
  %.pre77.pre = load i64, ptr %2, align 8, !tbaa !5
  br label %148

146:                                              ; preds = %144, %137
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  br label %204

148:                                              ; preds = %145, %131
  %.pre77 = phi i64 [ %.pre77.pre, %145 ], [ %.pre77.pre82, %131 ]
  %.pre75 = phi i64 [ %.pre75.pre, %145 ], [ %.pre75.pre80, %131 ]
  %149 = phi i64 [ %.pre73, %145 ], [ %133, %131 ]
  %150 = phi i64 [ %.pre72, %145 ], [ %132, %131 ]
  %151 = icmp eq i64 %150, %149
  br i1 %151, label %.thread, label %164

.thread:                                          ; preds = %135, %148
  %.pre7592 = phi i64 [ %.pre75, %148 ], [ %.pre75.pre80, %135 ]
  %.pre7791 = phi i64 [ %.pre77, %148 ], [ %.pre77.pre82, %135 ]
  %152 = icmp slt i64 %.pre7592, %.pre7791
  br i1 %152, label %153, label %164

153:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #7
  %154 = sub nsw i64 %.pre7791, %.pre7592
  store i64 %154, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #7
  %155 = load i8, ptr %12, align 1
  %156 = add i8 %155, -81
  %157 = icmp ult i8 %156, 2
  %158 = zext i1 %157 to i8
  store i8 %158, ptr %32, align 1, !tbaa !9
  %159 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %160 unwind label %162

160:                                              ; preds = %153
  %.fca.0.extract21 = extractvalue { i64, i8 } %159, 0
  %.fca.1.extract22 = extractvalue { i64, i8 } %159, 1
  store i64 %.fca.0.extract21, ptr %30, align 8
  store i8 %.fca.1.extract22, ptr %.sroa.224.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(9) %30)
          to label %161 unwind label %162

161:                                              ; preds = %160
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  %.pre74 = load i64, ptr %13, align 8, !tbaa !5
  %.pre76 = load i64, ptr %2, align 8, !tbaa !5
  br label %164

162:                                              ; preds = %160, %153
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  br label %204

164:                                              ; preds = %161, %.thread, %148
  %165 = phi i64 [ %.pre76, %161 ], [ %.pre7791, %.thread ], [ %.pre77, %148 ]
  %166 = phi i64 [ %.pre74, %161 ], [ %.pre7592, %.thread ], [ %.pre75, %148 ]
  %167 = icmp eq i64 %166, %165
  br i1 %167, label %168, label %183

168:                                              ; preds = %164
  %169 = load i64, ptr %14, align 8, !tbaa !5
  %170 = load i64, ptr %3, align 8, !tbaa !5
  %171 = icmp sgt i64 %169, %170
  br i1 %171, label %172, label %.thread93

172:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #7
  %173 = sub nsw i64 %169, %170
  store i64 %173, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #7
  %174 = load i8, ptr %12, align 1
  %175 = add i8 %174, -81
  %176 = icmp ult i8 %175, 2
  %177 = zext i1 %176 to i8
  store i8 %177, ptr %35, align 1, !tbaa !9
  %178 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %179 unwind label %181

179:                                              ; preds = %172
  %.fca.0.extract17 = extractvalue { i64, i8 } %178, 0
  %.fca.1.extract18 = extractvalue { i64, i8 } %178, 1
  store i64 %.fca.0.extract17, ptr %33, align 8
  store i8 %.fca.1.extract18, ptr %.sroa.220.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(9) %33)
          to label %180 unwind label %181

180:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #7
  %.pre78 = load i64, ptr %13, align 8, !tbaa !5
  %.pre79 = load i64, ptr %2, align 8, !tbaa !5
  br label %183

181:                                              ; preds = %179, %172
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #7
  br label %204

183:                                              ; preds = %180, %164
  %184 = phi i64 [ %.pre79, %180 ], [ %165, %164 ]
  %185 = phi i64 [ %.pre78, %180 ], [ %166, %164 ]
  %186 = icmp eq i64 %185, %184
  br i1 %186, label %.thread93, label %201

.thread93:                                        ; preds = %168, %183
  %187 = load i64, ptr %14, align 8, !tbaa !5
  %188 = load i64, ptr %3, align 8, !tbaa !5
  %189 = icmp slt i64 %187, %188
  br i1 %189, label %190, label %201

190:                                              ; preds = %.thread93
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #7
  %191 = sub nsw i64 %188, %187
  store i64 %191, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #7
  %192 = load i8, ptr %12, align 1
  %193 = add i8 %192, -81
  %194 = icmp ult i8 %193, 2
  %195 = zext i1 %194 to i8
  store i8 %195, ptr %38, align 1, !tbaa !9
  %196 = invoke { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %197 unwind label %199

197:                                              ; preds = %190
  %.fca.0.extract = extractvalue { i64, i8 } %196, 0
  %.fca.1.extract = extractvalue { i64, i8 } %196, 1
  store i64 %.fca.0.extract, ptr %36, align 8
  store i8 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIlbESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(9) %36)
          to label %198 unwind label %199

198:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  br label %201

199:                                              ; preds = %197, %190
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  br label %204

201:                                              ; preds = %198, %.thread93, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  %202 = load i64, ptr %1, align 8, !tbaa !5
  %203 = add nsw i64 %202, -1
  store i64 %203, ptr %1, align 8, !tbaa !5
  %.not = icmp eq i64 %202, 0
  br i1 %.not, label %._crit_edge, label %49, !llvm.loop !11

204:                                              ; preds = %199, %181, %162, %146, %129, %111, %92, %74, %72
  %.pn = phi { ptr, i32 } [ %200, %199 ], [ %182, %181 ], [ %163, %162 ], [ %147, %146 ], [ %130, %129 ], [ %112, %111 ], [ %93, %92 ], [ %75, %74 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  br label %290

._crit_edge:                                      ; preds = %201, %0
  %205 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %206 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %205, ptr %206)
          to label %207 unwind label %288

207:                                              ; preds = %._crit_edge
  %208 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %209 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %208, ptr %209)
          to label %210 unwind label %288

210:                                              ; preds = %207
  %211 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %212 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %211, ptr %212)
          to label %213 unwind label %288

213:                                              ; preds = %210
  %214 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %215 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %214, ptr %215)
          to label %216 unwind label %288

216:                                              ; preds = %213
  %217 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %218 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %217, ptr %218)
          to label %219 unwind label %288

219:                                              ; preds = %216
  %220 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %221 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %220, ptr %221)
          to label %222 unwind label %288

222:                                              ; preds = %219
  %223 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %224 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %223, ptr %224)
          to label %225 unwind label %288

225:                                              ; preds = %222
  %226 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %227 = call ptr @_ZNSt6vectorISt4pairIlbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIlbESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %226, ptr %227)
          to label %228 unwind label %288

228:                                              ; preds = %225
  %229 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  br i1 %229, label %235, label %230

230:                                              ; preds = %228
  %231 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #7
  %232 = getelementptr inbounds i8, ptr %231, i64 8
  %233 = load i8, ptr %232, align 8, !tbaa !13, !range !15, !noundef !16
  %234 = trunc nuw i8 %233 to i1
  br i1 %234, label %285, label %235

235:                                              ; preds = %230, %228
  %236 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br i1 %236, label %242, label %237

237:                                              ; preds = %235
  %238 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %239 = getelementptr inbounds i8, ptr %238, i64 8
  %240 = load i8, ptr %239, align 8, !tbaa !13, !range !15, !noundef !16
  %241 = trunc nuw i8 %240 to i1
  br i1 %241, label %285, label %242

242:                                              ; preds = %237, %235
  %243 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br i1 %243, label %249, label %244

244:                                              ; preds = %242
  %245 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #7
  %246 = getelementptr inbounds i8, ptr %245, i64 8
  %247 = load i8, ptr %246, align 8, !tbaa !13, !range !15, !noundef !16
  %248 = trunc nuw i8 %247 to i1
  br i1 %248, label %285, label %249

249:                                              ; preds = %244, %242
  %250 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br i1 %250, label %256, label %251

251:                                              ; preds = %249
  %252 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %253 = getelementptr inbounds i8, ptr %252, i64 8
  %254 = load i8, ptr %253, align 8, !tbaa !13, !range !15, !noundef !16
  %255 = trunc nuw i8 %254 to i1
  br i1 %255, label %285, label %256

256:                                              ; preds = %251, %249
  %257 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br i1 %257, label %263, label %258

258:                                              ; preds = %256
  %259 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #7
  %260 = getelementptr inbounds i8, ptr %259, i64 8
  %261 = load i8, ptr %260, align 8, !tbaa !13, !range !15, !noundef !16
  %262 = trunc nuw i8 %261 to i1
  br i1 %262, label %285, label %263

263:                                              ; preds = %258, %256
  %264 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br i1 %264, label %270, label %265

265:                                              ; preds = %263
  %266 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #7
  %267 = getelementptr inbounds i8, ptr %266, i64 8
  %268 = load i8, ptr %267, align 8, !tbaa !13, !range !15, !noundef !16
  %269 = trunc nuw i8 %268 to i1
  br i1 %269, label %285, label %270

270:                                              ; preds = %265, %263
  %271 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br i1 %271, label %277, label %272

272:                                              ; preds = %270
  %273 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #7
  %274 = getelementptr inbounds i8, ptr %273, i64 8
  %275 = load i8, ptr %274, align 8, !tbaa !13, !range !15, !noundef !16
  %276 = trunc nuw i8 %275 to i1
  br i1 %276, label %285, label %277

277:                                              ; preds = %272, %270
  %278 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIlbESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br i1 %278, label %285, label %279

279:                                              ; preds = %277
  %280 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZNSt6vectorISt4pairIlbESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %281 = getelementptr inbounds i8, ptr %280, i64 8
  %282 = load i8, ptr %281, align 8, !tbaa !13, !range !15, !noundef !16
  %283 = trunc nuw i8 %282 to i1
  %284 = select i1 %283, ptr @.str, ptr @.str.1
  br label %285

285:                                              ; preds = %277, %279, %272, %265, %258, %251, %244, %237, %230
  %286 = phi ptr [ @.str, %272 ], [ @.str, %265 ], [ @.str, %258 ], [ @.str, %251 ], [ @.str, %244 ], [ @.str, %237 ], [ @.str, %230 ], [ @.str.1, %277 ], [ %284, %279 ]
  %287 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %286)
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0

288:                                              ; preds = %225, %222, %219, %216, %213, %210, %207, %._crit_edge
  %289 = landingpad { ptr, i32 }
          cleanup
  br label %290

290:                                              ; preds = %288, %204
  %.pn.pn = phi { ptr, i32 } [ %.pn, %204 ], [ %289, %288 ]
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorISt4pairIlbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn
}

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

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i8 } @_ZSt9make_pairIlbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #6

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nofree 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 }

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

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


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