; LLVM IR from kazunetakahashi/atcoder :: 201411_201509/1115_K4PC (C2)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"struct.std::pair" = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.3" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca [100010 x %"struct.std::pair"], align 16
  %5 = alloca [100010 x %"class.std::vector"], align 16
  %6 = alloca %"struct.std::pair", align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [100010 x i32], align 16
  %13 = alloca i32, align 4
  %14 = alloca [100010 x i8], align 16
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca [100010 x i32], align 16
  %18 = alloca %"class.std::stack", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::set", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::pair", align 4
  %25 = alloca %"struct.std::pair.3", align 8
  %26 = alloca [100010 x i8], align 16
  %27 = alloca i8, align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %"struct.std::pair", align 4
  %34 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %35 = alloca %"struct.std::pair", align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 800080, ptr %4) #7
  %40 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i32 0, i32 0
  %41 = getelementptr inbounds %"struct.std::pair", ptr %40, i64 100010
  br label %42

42:                                               ; preds = %42, %0
  %43 = phi ptr [ %40, %0 ], [ %44, %42 ]
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %43)
  %44 = getelementptr inbounds %"struct.std::pair", ptr %43, i64 1
  %45 = icmp eq ptr %44, %41
  br i1 %45, label %46, label %42

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 2400240, ptr %5) #7
  %47 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i32 0, i32 0
  %48 = getelementptr inbounds %"class.std::vector", ptr %47, i64 100010
  br label %49

49:                                               ; preds = %49, %46
  %50 = phi ptr [ %47, %46 ], [ %51, %49 ]
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %51 = getelementptr inbounds %"class.std::vector", ptr %50, i64 1
  %52 = icmp eq ptr %51, %48
  br i1 %52, label %53, label %49

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  %54 = invoke i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %55 unwind label %63

55:                                               ; preds = %53
  store i64 %54, ptr %6, align 4
  %56 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 0
  %57 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %56, ptr noundef nonnull align 4 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %94, %55
  %59 = load i32, ptr %11, align 4, !tbaa !5
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %67, label %62

62:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %101

63:                                               ; preds = %53
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %9, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %417

67:                                               ; preds = %58
  %68 = load i32, ptr %11, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 %69
  %71 = getelementptr inbounds %"struct.std::pair", ptr %70, i32 0, i32 1
  %72 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %71)
          to label %73 unwind label %97

73:                                               ; preds = %67
  %74 = load i32, ptr %11, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 %75
  %77 = getelementptr inbounds %"struct.std::pair", ptr %76, i32 0, i32 0
  %78 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef nonnull align 4 dereferenceable(4) %77)
          to label %79 unwind label %97

79:                                               ; preds = %73
  %80 = load i32, ptr %11, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 %81
  %83 = getelementptr inbounds %"struct.std::pair", ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = add nsw i32 %84, -1
  store i32 %85, ptr %83, align 4, !tbaa !9
  %86 = load i32, ptr %11, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 %87
  %89 = getelementptr inbounds %"struct.std::pair", ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i64 0, i64 %91
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %93 unwind label %97

93:                                               ; preds = %79
  br label %94

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

97:                                               ; preds = %79, %73, %67
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %9, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %417

101:                                              ; preds = %62
  call void @llvm.lifetime.start.p0(i64 400040, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %118, %101
  %103 = load i32, ptr %13, align 4, !tbaa !5
  %104 = load i32, ptr %3, align 4, !tbaa !5
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %125

107:                                              ; preds = %102
  %108 = load i32, ptr %13, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [100010 x i32], ptr %12, i64 0, i64 %109
  %111 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %110)
          to label %112 unwind label %121

112:                                              ; preds = %107
  %113 = load i32, ptr %13, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [100010 x i32], ptr %12, i64 0, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %117 = add nsw i32 %116, -1
  store i32 %117, ptr %115, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %112
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %13, align 4, !tbaa !5
  br label %102, !llvm.loop !13

121:                                              ; preds = %107
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %9, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %416

125:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 100010, ptr %14) #7
  %126 = getelementptr inbounds [100010 x i8], ptr %14, i64 0, i64 0
  %127 = getelementptr inbounds [100010 x i8], ptr %14, i64 0, i64 0
  %128 = getelementptr inbounds i8, ptr %127, i64 100010
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 1, ptr %15, align 1, !tbaa !14
  invoke void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef %126, ptr noundef %128, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %129 unwind label %135

129:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %147, %129
  %131 = load i32, ptr %16, align 4, !tbaa !5
  %132 = load i32, ptr %2, align 4, !tbaa !5
  %133 = icmp slt i32 %131, %132
  br i1 %133, label %139, label %134

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

135:                                              ; preds = %125
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %9, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %415

139:                                              ; preds = %130
  %140 = load i32, ptr %16, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 %141
  %143 = getelementptr inbounds %"struct.std::pair", ptr %142, i32 0, i32 1
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [100010 x i8], ptr %14, i64 0, i64 %145
  store i8 0, ptr %146, align 1, !tbaa !14
  br label %147

147:                                              ; preds = %139
  %148 = load i32, ptr %16, align 4, !tbaa !5
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %16, align 4, !tbaa !5
  br label %130, !llvm.loop !16

150:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 400040, ptr %17) #7
  %151 = getelementptr inbounds [100010 x i32], ptr %17, i64 0, i64 0
  store i32 0, ptr %151, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr %18) #7
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %152 unwind label %204

152:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %153 unwind label %208

153:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %154

154:                                              ; preds = %235, %153
  %155 = invoke noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %156 unwind label %212

156:                                              ; preds = %154
  %157 = xor i1 %155, true
  br i1 %157, label %158, label %237

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %159 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5stackIiSt5dequeIiSaIiEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %160 unwind label %216

160:                                              ; preds = %158
  %161 = load i32, ptr %159, align 4, !tbaa !5
  store i32 %161, ptr %20, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %162 unwind label %216

162:                                              ; preds = %160
  %163 = load i32, ptr %20, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 %164
  %166 = getelementptr inbounds %"struct.std::pair", ptr %165, i32 0, i32 1
  %167 = load i32, ptr %166, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [100010 x i32], ptr %17, i64 0, i64 %168
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = load i32, ptr %20, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %4, i64 0, i64 %172
  %174 = getelementptr inbounds %"struct.std::pair", ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 8, !tbaa !17
  %176 = add nsw i32 %170, %175
  %177 = load i32, ptr %20, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [100010 x i32], ptr %17, i64 0, i64 %178
  store i32 %176, ptr %179, align 4, !tbaa !5
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str)
          to label %181 unwind label %216

181:                                              ; preds = %162
  %182 = load i32, ptr %20, align 4, !tbaa !5
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %180, i32 noundef %182)
          to label %184 unwind label %216

184:                                              ; preds = %181
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef @.str.1)
          to label %186 unwind label %216

186:                                              ; preds = %184
  %187 = load i32, ptr %20, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [100010 x i32], ptr %17, i64 0, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %185, i32 noundef %190)
          to label %192 unwind label %216

192:                                              ; preds = %186
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %194 unwind label %216

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

195:                                              ; preds = %228, %194
  %196 = load i32, ptr %21, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = load i32, ptr %20, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i64 0, i64 %199
  %201 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %200) #7
  %202 = icmp ult i64 %197, %201
  br i1 %202, label %220, label %203

203:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %235

204:                                              ; preds = %150
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %9, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %10, align 4
  br label %414

208:                                              ; preds = %152
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %9, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %413

212:                                              ; preds = %154
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %9, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %10, align 4
  br label %413

216:                                              ; preds = %192, %186, %184, %181, %162, %160, %158
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %9, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %10, align 4
  br label %236

220:                                              ; preds = %195
  %221 = load i32, ptr %20, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i64 0, i64 %222
  %224 = load i32, ptr %21, align 4, !tbaa !5
  %225 = sext i32 %224 to i64
  %226 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef %225) #7
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %18, ptr noundef nonnull align 4 dereferenceable(4) %226)
          to label %227 unwind label %231

227:                                              ; preds = %220
  br label %228

228:                                              ; preds = %227
  %229 = load i32, ptr %21, align 4, !tbaa !5
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %21, align 4, !tbaa !5
  br label %195, !llvm.loop !18

231:                                              ; preds = %220
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %9, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %236

235:                                              ; preds = %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %154, !llvm.loop !19

236:                                              ; preds = %231, %216
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %413

237:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #7
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %238

238:                                              ; preds = %266, %237
  %239 = load i32, ptr %23, align 4, !tbaa !5
  %240 = load i32, ptr %2, align 4, !tbaa !5
  %241 = icmp slt i32 %239, %240
  br i1 %241, label %243, label %242

242:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %269

243:                                              ; preds = %238
  %244 = load i32, ptr %23, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [100010 x i8], ptr %14, i64 0, i64 %245
  %247 = load i8, ptr %246, align 1, !tbaa !14, !range !20, !noundef !21
  %248 = trunc i8 %247 to i1
  br i1 %248, label %249, label %265

249:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %250 = load i32, ptr %23, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [100010 x i32], ptr %17, i64 0, i64 %251
  %253 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %252, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %254 unwind label %261

254:                                              ; preds = %249
  store i64 %253, ptr %24, align 4
  %255 = invoke { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 4 dereferenceable(8) %24)
          to label %256 unwind label %261

256:                                              ; preds = %254
  %257 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 0
  %258 = extractvalue { ptr, i8 } %255, 0
  store ptr %258, ptr %257, align 8
  %259 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 1
  %260 = extractvalue { ptr, i8 } %255, 1
  store i8 %260, ptr %259, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %265

261:                                              ; preds = %254, %249
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %9, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %412

265:                                              ; preds = %256, %243
  br label %266

266:                                              ; preds = %265
  %267 = load i32, ptr %23, align 4, !tbaa !5
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %23, align 4, !tbaa !5
  br label %238, !llvm.loop !22

269:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 100010, ptr %26) #7
  %270 = getelementptr inbounds [100010 x i8], ptr %26, i64 0, i64 0
  %271 = getelementptr inbounds [100010 x i8], ptr %26, i64 0, i64 0
  %272 = getelementptr inbounds i8, ptr %271, i64 100010
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  store i8 0, ptr %27, align 1, !tbaa !14
  invoke void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef %270, ptr noundef %272, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %273 unwind label %279

273:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %274

274:                                              ; preds = %398, %273
  %275 = load i32, ptr %28, align 4, !tbaa !5
  %276 = load i32, ptr %3, align 4, !tbaa !5
  %277 = icmp slt i32 %275, %276
  br i1 %277, label %283, label %278

278:                                              ; preds = %274
  store i32 19, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %402

279:                                              ; preds = %269
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %9, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  br label %411

283:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %284 = load i32, ptr %28, align 4, !tbaa !5
  %285 = sext i32 %284 to i64
  %286 = getelementptr inbounds [100010 x i32], ptr %12, i64 0, i64 %285
  %287 = load i32, ptr %286, align 4, !tbaa !5
  store i32 %287, ptr %30, align 4, !tbaa !5
  %288 = load i32, ptr %30, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [100010 x i8], ptr %26, i64 0, i64 %289
  %291 = load i8, ptr %290, align 1, !tbaa !14, !range !20, !noundef !21
  %292 = trunc i8 %291 to i1
  br i1 %292, label %373, label %293

293:                                              ; preds = %283
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %18, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %294 unwind label %329

294:                                              ; preds = %293
  br label %295

295:                                              ; preds = %370, %294
  %296 = invoke noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %297 unwind label %329

297:                                              ; preds = %295
  %298 = xor i1 %296, true
  br i1 %298, label %299, label %372

299:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %300 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5stackIiSt5dequeIiSaIiEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %301 unwind label %333

301:                                              ; preds = %299
  %302 = load i32, ptr %300, align 4, !tbaa !5
  store i32 %302, ptr %31, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %303 unwind label %333

303:                                              ; preds = %301
  %304 = load i32, ptr %31, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds [100010 x i8], ptr %26, i64 0, i64 %305
  %307 = load i8, ptr %306, align 1, !tbaa !14, !range !20, !noundef !21
  %308 = trunc i8 %307 to i1
  br i1 %308, label %370, label %309

309:                                              ; preds = %303
  %310 = load i32, ptr %31, align 4, !tbaa !5
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds [100010 x i8], ptr %26, i64 0, i64 %311
  store i8 1, ptr %312, align 1, !tbaa !14
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2)
          to label %314 unwind label %333

314:                                              ; preds = %309
  %315 = load i32, ptr %31, align 4, !tbaa !5
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %313, i32 noundef %315)
          to label %317 unwind label %333

317:                                              ; preds = %314
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %316, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %319 unwind label %333

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

320:                                              ; preds = %345, %319
  %321 = load i32, ptr %32, align 4, !tbaa !5
  %322 = sext i32 %321 to i64
  %323 = load i32, ptr %31, align 4, !tbaa !5
  %324 = sext i32 %323 to i64
  %325 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i64 0, i64 %324
  %326 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %325) #7
  %327 = icmp ult i64 %322, %326
  br i1 %327, label %337, label %328

328:                                              ; preds = %320
  store i32 24, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %352

329:                                              ; preds = %377, %375, %295, %293
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %9, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %10, align 4
  br label %401

333:                                              ; preds = %317, %314, %309, %301, %299
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %9, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %10, align 4
  br label %371

337:                                              ; preds = %320
  %338 = load i32, ptr %31, align 4, !tbaa !5
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i64 0, i64 %339
  %341 = load i32, ptr %32, align 4, !tbaa !5
  %342 = sext i32 %341 to i64
  %343 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %340, i64 noundef %342) #7
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %18, ptr noundef nonnull align 4 dereferenceable(4) %343)
          to label %344 unwind label %348

344:                                              ; preds = %337
  br label %345

345:                                              ; preds = %344
  %346 = load i32, ptr %32, align 4, !tbaa !5
  %347 = add nsw i32 %346, 1
  store i32 %347, ptr %32, align 4, !tbaa !5
  br label %320, !llvm.loop !23

348:                                              ; preds = %337
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %9, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %371

352:                                              ; preds = %328
  %353 = load i32, ptr %31, align 4, !tbaa !5
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i64 0, i64 %354
  %356 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %355) #7
  br i1 %356, label %357, label %369

357:                                              ; preds = %352
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %358 = load i32, ptr %31, align 4, !tbaa !5
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds [100010 x i32], ptr %17, i64 0, i64 %359
  %361 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %360, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %362 unwind label %365

362:                                              ; preds = %357
  store i64 %361, ptr %33, align 4
  %363 = invoke noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 4 dereferenceable(8) %33)
          to label %364 unwind label %365

364:                                              ; preds = %362
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %369

365:                                              ; preds = %362, %357
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %9, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %371

369:                                              ; preds = %364, %352
  br label %370

370:                                              ; preds = %369, %303
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %295, !llvm.loop !24

371:                                              ; preds = %365, %348, %333
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %401

372:                                              ; preds = %297
  br label %373

373:                                              ; preds = %372, %283
  %374 = call noundef zeroext i1 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  br i1 %374, label %375, label %380

375:                                              ; preds = %373
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %377 unwind label %329

377:                                              ; preds = %375
  %378 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %376, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %379 unwind label %329

379:                                              ; preds = %377
  br label %397

380:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  store i32 -1, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !5
  %381 = invoke i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %382 unwind label %393

382:                                              ; preds = %380
  store i64 %381, ptr %35, align 4
  %383 = invoke ptr @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE11lower_boundERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 4 dereferenceable(8) %35)
          to label %384 unwind label %393

384:                                              ; preds = %382
  %385 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %34, i32 0, i32 0
  store ptr %383, ptr %385, align 8
  %386 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  %387 = getelementptr inbounds %"struct.std::pair", ptr %386, i32 0, i32 0
  %388 = load i32, ptr %387, align 4, !tbaa !17
  %389 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %388)
          to label %390 unwind label %393

390:                                              ; preds = %384
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %389, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %392 unwind label %393

392:                                              ; preds = %390
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %397

393:                                              ; preds = %390, %384, %382, %380
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %9, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %401

397:                                              ; preds = %392, %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %398

398:                                              ; preds = %397
  %399 = load i32, ptr %28, align 4, !tbaa !5
  %400 = add nsw i32 %399, 1
  store i32 %400, ptr %28, align 4, !tbaa !5
  br label %274, !llvm.loop !25

401:                                              ; preds = %393, %371, %329
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %411

402:                                              ; preds = %278
  call void @llvm.lifetime.end.p0(i64 100010, ptr %26) #7
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %18) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 400040, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 100010, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 400040, ptr %12) #7
  %403 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i32 0, i32 0
  %404 = getelementptr inbounds %"class.std::vector", ptr %403, i64 100010
  br label %405

405:                                              ; preds = %405, %402
  %406 = phi ptr [ %404, %402 ], [ %407, %405 ]
  %407 = getelementptr inbounds %"class.std::vector", ptr %406, i64 -1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %407) #7
  %408 = icmp eq ptr %407, %403
  br i1 %408, label %409, label %405

409:                                              ; preds = %405
  call void @llvm.lifetime.end.p0(i64 2400240, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 800080, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %410 = load i32, ptr %1, align 4
  ret i32 %410

411:                                              ; preds = %401, %279
  call void @llvm.lifetime.end.p0(i64 100010, ptr %26) #7
  br label %412

412:                                              ; preds = %411, %261
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  br label %413

413:                                              ; preds = %412, %236, %212, %208
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %18) #7
  br label %414

414:                                              ; preds = %413, %204
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 400040, ptr %17) #7
  br label %415

415:                                              ; preds = %414, %135
  call void @llvm.lifetime.end.p0(i64 100010, ptr %14) #7
  br label %416

416:                                              ; preds = %415, %121
  call void @llvm.lifetime.end.p0(i64 400040, ptr %12) #7
  br label %417

417:                                              ; preds = %416, %97, %63
  %418 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %5, i32 0, i32 0
  %419 = getelementptr inbounds %"class.std::vector", ptr %418, i64 100010
  br label %420

420:                                              ; preds = %420, %417
  %421 = phi ptr [ %419, %417 ], [ %422, %420 ]
  %422 = getelementptr inbounds %"class.std::vector", ptr %421, i64 -1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %422) #7
  %423 = icmp eq ptr %422, %418
  br i1 %423, label %424, label %420

424:                                              ; preds = %420
  call void @llvm.lifetime.end.p0(i64 2400240, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 800080, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %425

425:                                              ; preds = %424
  %426 = load ptr, ptr %9, align 8
  %427 = load i32, ptr %10, align 4
  %428 = insertvalue { ptr, i32 } poison, ptr %426, 0
  %429 = insertvalue { ptr, i32 } %428, i32 %427, 1
  resume { ptr, i32 } %429
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) #5

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE11lower_boundERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"struct.std::pair" = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [100010 x %"struct.std::pair"], align 16
  %4 = alloca [100010 x %"class.std::vector"], align 16
  %5 = alloca %"struct.std::pair", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca [100010 x i32], align 16
  %10 = alloca [100010 x i8], align 16
  %11 = alloca i8, align 1
  %12 = alloca [100010 x i32], align 16
  %13 = alloca %"class.std::stack", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::set", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::pair", align 8
  %18 = alloca [100010 x i8], align 16
  %19 = alloca i8, align 1
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"struct.std::pair", align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 800080, ptr nonnull %3) #7
  br label %29

29:                                               ; preds = %29, %0
  %.idx = phi i64 [ 0, %0 ], [ %.add, %29 ]
  %.ptr = getelementptr inbounds i8, ptr %3, i64 %.idx
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr)
  %.add = add nuw nsw i64 %.idx, 8
  %30 = icmp eq i64 %.add, 800080
  br i1 %30, label %31, label %29

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 2400240, ptr nonnull %4) #7
  br label %32

32:                                               ; preds = %32, %31
  %.idx48 = phi i64 [ 0, %31 ], [ %.add49, %32 ]
  %.ptr50 = getelementptr inbounds i8, ptr %4, i64 %.idx48
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %.ptr50) #7
  %.add49 = add nuw nsw i64 %.idx48, 24
  %33 = icmp eq i64 %.add49, 2400240
  br i1 %33, label %34, label %32

34:                                               ; preds = %32
  %35 = getelementptr inbounds i8, ptr %4, i64 2400240
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  %36 = invoke i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %37 unwind label %43

37:                                               ; preds = %34
  store i64 %36, ptr %5, align 8
  %38 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 1, ptr %8, align 4, !tbaa !5
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = icmp sgt i32 %39, 1
  br i1 %40, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %61, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 400040, ptr nonnull %9) #7
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.lr.ph74, label %._crit_edge75

43:                                               ; preds = %34
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %264

.lr.ph:                                           ; preds = %37, %61
  %storemerge71 = phi i32 [ %63, %61 ], [ 1, %37 ]
  %45 = sext i32 %storemerge71 to i64
  %46 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %45, i32 1
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %48 unwind label %66

48:                                               ; preds = %.lr.ph
  %49 = load i32, ptr %8, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %50
  %52 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(4) %51)
          to label %53 unwind label %66

53:                                               ; preds = %48
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %55, i32 1
  %57 = load i32, ptr %56, align 4, !tbaa !9
  %58 = add nsw i32 %57, -1
  store i32 %58, ptr %56, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %4, i64 0, i64 %59
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %61 unwind label %66

61:                                               ; preds = %53
  %62 = load i32, ptr %8, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %8, align 4, !tbaa !5
  %64 = load i32, ptr %1, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %.lr.ph, label %._crit_edge, !llvm.loop !11

66:                                               ; preds = %53, %48, %.lr.ph
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %264

._crit_edge75:                                    ; preds = %71, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 100010, ptr nonnull %10) #7
  %68 = getelementptr inbounds i8, ptr %10, i64 100010
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  store i8 1, ptr %11, align 1, !tbaa !13
  invoke void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef nonnull %10, ptr noundef nonnull %68, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %79 unwind label %87

.lr.ph74:                                         ; preds = %._crit_edge, %71
  %indvars.iv = phi i64 [ %indvars.iv.next, %71 ], [ 0, %._crit_edge ]
  %69 = getelementptr inbounds [100010 x i32], ptr %9, i64 0, i64 %indvars.iv
  %70 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %69)
          to label %71 unwind label %77

71:                                               ; preds = %.lr.ph74
  %72 = load i32, ptr %69, align 4, !tbaa !5
  %73 = add nsw i32 %72, -1
  store i32 %73, ptr %69, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %74 = load i32, ptr %2, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = icmp slt i64 %indvars.iv.next, %75
  br i1 %76, label %.lr.ph74, label %._crit_edge75, !llvm.loop !15

77:                                               ; preds = %.lr.ph74
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %263

79:                                               ; preds = %._crit_edge75
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  %80 = load i32, ptr %1, align 4, !tbaa !5
  %81 = icmp sgt i32 %80, 0
  br i1 %81, label %.lr.ph78.preheader, label %._crit_edge79

.lr.ph78.preheader:                               ; preds = %79
  %wide.trip.count = zext nneg i32 %80 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %82 = icmp ult i32 %80, 4
  br i1 %82, label %._crit_edge79.loopexit.unr-lcssa, label %.lr.ph78.preheader.new

.lr.ph78.preheader.new:                           ; preds = %.lr.ph78.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %.lr.ph78

._crit_edge79.loopexit.unr-lcssa:                 ; preds = %.lr.ph78, %.lr.ph78.preheader
  %indvars.iv99.unr = phi i64 [ 0, %.lr.ph78.preheader ], [ %indvars.iv.next100.3, %.lr.ph78 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge79, label %.lr.ph78.epil

.lr.ph78.epil:                                    ; preds = %._crit_edge79.loopexit.unr-lcssa, %.lr.ph78.epil
  %indvars.iv99.epil = phi i64 [ %indvars.iv.next100.epil, %.lr.ph78.epil ], [ %indvars.iv99.unr, %._crit_edge79.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph78.epil ], [ 0, %._crit_edge79.loopexit.unr-lcssa ]
  %83 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %indvars.iv99.epil, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [100010 x i8], ptr %10, i64 0, i64 %85
  store i8 0, ptr %86, align 1, !tbaa !13
  %indvars.iv.next100.epil = add nuw nsw i64 %indvars.iv99.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge79, label %.lr.ph78.epil, !llvm.loop !16

._crit_edge79:                                    ; preds = %._crit_edge79.loopexit.unr-lcssa, %.lr.ph78.epil, %79
  call void @llvm.lifetime.start.p0(i64 400040, ptr nonnull %12) #7
  store i32 0, ptr %12, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %13) #7
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %105 unwind label %133

87:                                               ; preds = %._crit_edge75
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  br label %262

.lr.ph78:                                         ; preds = %.lr.ph78, %.lr.ph78.preheader.new
  %indvars.iv99 = phi i64 [ 0, %.lr.ph78.preheader.new ], [ %indvars.iv.next100.3, %.lr.ph78 ]
  %niter = phi i64 [ 0, %.lr.ph78.preheader.new ], [ %niter.next.3, %.lr.ph78 ]
  %89 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %indvars.iv99, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [100010 x i8], ptr %10, i64 0, i64 %91
  store i8 0, ptr %92, align 1, !tbaa !13
  %indvars.iv.next100 = or disjoint i64 %indvars.iv99, 1
  %93 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %indvars.iv.next100, i32 1
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [100010 x i8], ptr %10, i64 0, i64 %95
  store i8 0, ptr %96, align 1, !tbaa !13
  %indvars.iv.next100.1 = or disjoint i64 %indvars.iv99, 2
  %97 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %indvars.iv.next100.1, i32 1
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [100010 x i8], ptr %10, i64 0, i64 %99
  store i8 0, ptr %100, align 1, !tbaa !13
  %indvars.iv.next100.2 = or disjoint i64 %indvars.iv99, 3
  %101 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %indvars.iv.next100.2, i32 1
  %102 = load i32, ptr %101, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [100010 x i8], ptr %10, i64 0, i64 %103
  store i8 0, ptr %104, align 1, !tbaa !13
  %indvars.iv.next100.3 = add nuw nsw i64 %indvars.iv99, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge79.loopexit.unr-lcssa, label %.lr.ph78, !llvm.loop !18

105:                                              ; preds = %._crit_edge79
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %106 unwind label %135

106:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  %107 = call noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  br i1 %107, label %._crit_edge84, label %.lr.ph83

.loopexit70:                                      ; preds = %140, %.preheader69
  %108 = call noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  br i1 %108, label %._crit_edge84, label %.lr.ph83, !llvm.loop !19

.lr.ph83:                                         ; preds = %106, %.loopexit70
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5stackIiSt5dequeIiSaIiEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  %110 = load i32, ptr %109, align 4, !tbaa !5
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [100010 x %"struct.std::pair"], ptr %3, i64 0, i64 %111
  %113 = getelementptr inbounds i8, ptr %112, i64 4
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [100010 x i32], ptr %12, i64 0, i64 %115
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = load i32, ptr %112, align 8, !tbaa !20
  %119 = add nsw i32 %118, %117
  %120 = getelementptr inbounds [100010 x i32], ptr %12, i64 0, i64 %111
  store i32 %119, ptr %120, align 4, !tbaa !5
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
          to label %122 unwind label %137

122:                                              ; preds = %.lr.ph83
  %123 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %121, i32 noundef %110)
          to label %124 unwind label %137

124:                                              ; preds = %122
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull @.str.1)
          to label %126 unwind label %137

126:                                              ; preds = %124
  %127 = load i32, ptr %120, align 4, !tbaa !5
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %125, i32 noundef %127)
          to label %129 unwind label %137

129:                                              ; preds = %126
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader69 unwind label %137

.preheader69:                                     ; preds = %129
  %131 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %4, i64 0, i64 %111
  %132 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #7
  %.not = icmp eq i64 %132, 0
  br i1 %.not, label %.loopexit70, label %.lr.ph81

133:                                              ; preds = %._crit_edge79
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %261

135:                                              ; preds = %105
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br label %260

137:                                              ; preds = %129, %126, %124, %122, %.lr.ph83
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %260

.lr.ph81:                                         ; preds = %.preheader69, %140
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %140 ], [ 0, %.preheader69 ]
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef %indvars.iv102) #7
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 4 dereferenceable(4) %139)
          to label %140 unwind label %143

140:                                              ; preds = %.lr.ph81
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %141 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #7
  %142 = icmp ugt i64 %141, %indvars.iv.next103
  br i1 %142, label %.lr.ph81, label %.loopexit70, !llvm.loop !21

143:                                              ; preds = %.lr.ph81
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %260

._crit_edge84:                                    ; preds = %.loopexit70, %106
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #7
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  %145 = load i32, ptr %1, align 4, !tbaa !5
  %146 = icmp sgt i32 %145, 0
  br i1 %146, label %.lr.ph87, label %._crit_edge88

._crit_edge88:                                    ; preds = %161, %._crit_edge84
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 100010, ptr nonnull %18) #7
  %147 = getelementptr inbounds i8, ptr %18, i64 100010
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  store i8 0, ptr %19, align 1, !tbaa !13
  invoke void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef nonnull %18, ptr noundef nonnull %147, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %166 unwind label %169

.lr.ph87:                                         ; preds = %._crit_edge84, %161
  %148 = phi i32 [ %162, %161 ], [ %145, %._crit_edge84 ]
  %storemerge5285 = phi i32 [ %164, %161 ], [ 0, %._crit_edge84 ]
  %149 = sext i32 %storemerge5285 to i64
  %150 = getelementptr inbounds [100010 x i8], ptr %10, i64 0, i64 %149
  %151 = load i8, ptr %150, align 1, !tbaa !13, !range !22, !noundef !23
  %152 = trunc nuw i8 %151 to i1
  br i1 %152, label %153, label %161

153:                                              ; preds = %.lr.ph87
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %154 = getelementptr inbounds [100010 x i32], ptr %12, i64 0, i64 %149
  %155 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %154, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %156 unwind label %159

156:                                              ; preds = %153
  store i64 %155, ptr %17, align 8
  %157 = invoke { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %158 unwind label %159

158:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %.pre = load i32, ptr %16, align 4, !tbaa !5
  %.pre111 = load i32, ptr %1, align 4, !tbaa !5
  br label %161

159:                                              ; preds = %156, %153
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %259

161:                                              ; preds = %.lr.ph87, %158
  %162 = phi i32 [ %148, %.lr.ph87 ], [ %.pre111, %158 ]
  %163 = phi i32 [ %storemerge5285, %.lr.ph87 ], [ %.pre, %158 ]
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %16, align 4, !tbaa !5
  %165 = icmp slt i32 %164, %162
  br i1 %165, label %.lr.ph87, label %._crit_edge88, !llvm.loop !24

166:                                              ; preds = %._crit_edge88
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  %167 = load i32, ptr %2, align 4, !tbaa !5
  %168 = icmp sgt i32 %167, 0
  br i1 %168, label %.lr.ph95, label %._crit_edge96

._crit_edge96:                                    ; preds = %248, %166
  call void @llvm.lifetime.end.p0(i64 100010, ptr nonnull %18) #7
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #7
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %13) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 400040, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 100010, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 400040, ptr nonnull %9) #7
  br label %253

169:                                              ; preds = %._crit_edge88
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  br label %258

.lr.ph95:                                         ; preds = %166, %248
  %indvars.iv108 = phi i64 [ %indvars.iv.next109, %248 ], [ 0, %166 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #7
  %171 = getelementptr inbounds [100010 x i32], ptr %9, i64 0, i64 %indvars.iv108
  %172 = load i32, ptr %171, align 4, !tbaa !5
  store i32 %172, ptr %20, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [100010 x i8], ptr %18, i64 0, i64 %173
  %175 = load i8, ptr %174, align 1, !tbaa !13, !range !22, !noundef !23
  %176 = trunc nuw i8 %175 to i1
  br i1 %176, label %.loopexit, label %177

177:                                              ; preds = %.lr.ph95
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %.preheader68 unwind label %201

.preheader68:                                     ; preds = %177
  %178 = call noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  br i1 %178, label %.loopexit, label %.lr.ph92

.lr.ph92:                                         ; preds = %.preheader68, %227
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5stackIiSt5dequeIiSaIiEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  %180 = load i32, ptr %179, align 4, !tbaa !5
  store i32 %180, ptr %21, align 4, !tbaa !5
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  %181 = load i32, ptr %21, align 4, !tbaa !5
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [100010 x i8], ptr %18, i64 0, i64 %182
  %184 = load i8, ptr %183, align 1, !tbaa !13, !range !22, !noundef !23
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %227, label %186

186:                                              ; preds = %.lr.ph92
  store i8 1, ptr %183, align 1, !tbaa !13
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.2)
          to label %188 unwind label %203

188:                                              ; preds = %186
  %189 = load i32, ptr %21, align 4, !tbaa !5
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %187, i32 noundef %189)
          to label %191 unwind label %203

191:                                              ; preds = %188
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader unwind label %203

.preheader:                                       ; preds = %191
  %193 = load i32, ptr %21, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %4, i64 0, i64 %194
  %196 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #7
  %.not97 = icmp eq i64 %196, 0
  br i1 %.not97, label %._crit_edge91, label %.lr.ph90

._crit_edge91:                                    ; preds = %209, %.preheader
  %197 = load i32, ptr %21, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %4, i64 0, i64 %198
  %200 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %199) #7
  br i1 %200, label %217, label %227

201:                                              ; preds = %233, %231, %177
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %252

203:                                              ; preds = %191, %188, %186
  %204 = landingpad { ptr, i32 }
          cleanup
  br label %229

.lr.ph90:                                         ; preds = %.preheader, %209
  %indvars.iv105 = phi i64 [ %indvars.iv.next106, %209 ], [ 0, %.preheader ]
  %205 = load i32, ptr %21, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %4, i64 0, i64 %206
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %indvars.iv105) #7
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 4 dereferenceable(4) %208)
          to label %209 unwind label %215

209:                                              ; preds = %.lr.ph90
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %210 = load i32, ptr %21, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [100010 x %"class.std::vector"], ptr %4, i64 0, i64 %211
  %213 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %212) #7
  %214 = icmp ugt i64 %213, %indvars.iv.next106
  br i1 %214, label %.lr.ph90, label %._crit_edge91, !llvm.loop !25

215:                                              ; preds = %.lr.ph90
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %229

217:                                              ; preds = %._crit_edge91
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %218 = load i32, ptr %21, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [100010 x i32], ptr %12, i64 0, i64 %219
  %221 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %220, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %222 unwind label %225

222:                                              ; preds = %217
  store i64 %221, ptr %22, align 8
  %223 = invoke noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 4 dereferenceable(8) %22)
          to label %224 unwind label %225

224:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %227

225:                                              ; preds = %222, %217
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %229

227:                                              ; preds = %._crit_edge91, %224, %.lr.ph92
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  %228 = call noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  br i1 %228, label %.loopexit, label %.lr.ph92, !llvm.loop !26

229:                                              ; preds = %225, %215, %203
  %.pn = phi { ptr, i32 } [ %216, %215 ], [ %226, %225 ], [ %204, %203 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  br label %252

.loopexit:                                        ; preds = %227, %.preheader68, %.lr.ph95
  %230 = call noundef zeroext i1 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  br i1 %230, label %231, label %235

231:                                              ; preds = %.loopexit
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %233 unwind label %201

233:                                              ; preds = %231
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %248 unwind label %201

235:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #7
  store i32 -1, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #7
  store i32 0, ptr %26, align 4, !tbaa !5
  %236 = invoke i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %237 unwind label %246

237:                                              ; preds = %235
  store i64 %236, ptr %24, align 8
  %238 = invoke ptr @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE11lower_boundERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 4 dereferenceable(8) %24)
          to label %239 unwind label %246

239:                                              ; preds = %237
  store ptr %238, ptr %23, align 8
  %240 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %241 = load i32, ptr %240, align 4, !tbaa !20
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %241)
          to label %243 unwind label %246

243:                                              ; preds = %239
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %242, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %245 unwind label %246

245:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %248

246:                                              ; preds = %243, %239, %237, %235
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %252

248:                                              ; preds = %233, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %249 = load i32, ptr %2, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = icmp slt i64 %indvars.iv.next109, %250
  br i1 %251, label %.lr.ph95, label %._crit_edge96, !llvm.loop !27

252:                                              ; preds = %246, %229, %201
  %.pn54 = phi { ptr, i32 } [ %202, %201 ], [ %247, %246 ], [ %.pn, %229 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  br label %258

253:                                              ; preds = %253, %._crit_edge96
  %254 = phi ptr [ %35, %._crit_edge96 ], [ %255, %253 ]
  %255 = getelementptr inbounds i8, ptr %254, i64 -24
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %255) #7
  %256 = icmp eq ptr %255, %4
  br i1 %256, label %257, label %253

257:                                              ; preds = %253
  call void @llvm.lifetime.end.p0(i64 2400240, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 800080, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

258:                                              ; preds = %252, %169
  %.pn54.pn = phi { ptr, i32 } [ %.pn54, %252 ], [ %170, %169 ]
  call void @llvm.lifetime.end.p0(i64 100010, ptr nonnull %18) #7
  br label %259

259:                                              ; preds = %258, %159
  %.pn57 = phi { ptr, i32 } [ %160, %159 ], [ %.pn54.pn, %258 ]
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #7
  br label %260

260:                                              ; preds = %137, %143, %259, %135
  %.pn59.pn = phi { ptr, i32 } [ %.pn57, %259 ], [ %136, %135 ], [ %144, %143 ], [ %138, %137 ]
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %13) #7
  br label %261

261:                                              ; preds = %260, %133
  %.pn59.pn.pn = phi { ptr, i32 } [ %.pn59.pn, %260 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 400040, ptr nonnull %12) #7
  br label %262

262:                                              ; preds = %261, %87
  %.pn59.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn, %261 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 100010, ptr nonnull %10) #7
  br label %263

263:                                              ; preds = %262, %77
  %.pn64 = phi { ptr, i32 } [ %78, %77 ], [ %.pn59.pn.pn.pn, %262 ]
  call void @llvm.lifetime.end.p0(i64 400040, ptr nonnull %9) #7
  br label %264

264:                                              ; preds = %263, %66, %43
  %.pn66 = phi { ptr, i32 } [ %67, %66 ], [ %.pn64, %263 ], [ %44, %43 ]
  br label %265

265:                                              ; preds = %265, %264
  %266 = phi ptr [ %35, %264 ], [ %267, %265 ]
  %267 = getelementptr inbounds i8, ptr %266, i64 -24
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %267) #7
  %268 = icmp eq ptr %267, %4
  br i1 %268, label %269, label %265

269:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 2400240, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 800080, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn66
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE11lower_boundERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

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

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


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