; LLVM IR from abeaumont/competitive-programming :: cses (1188)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::greater<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::greater<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 }
%"class.std::set" = type { %"class.std::_Rb_tree.3" }
%"class.std::_Rb_tree.3" = type { %"struct.std::_Rb_tree<std::tuple<int, int>, std::tuple<int, int>, std::_Identity<std::tuple<int, int>>, std::less<std::tuple<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::tuple<int, int>, std::tuple<int, int>, std::_Identity<std::tuple<int, int>>, std::less<std::tuple<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.8", %"struct.std::_Head_base.9" }
%"struct.std::_Tuple_impl.8" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.9" = type { i32 }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_const_iterator" }
%"class.std::tuple.12" = type { %"struct.std::_Tuple_impl.13" }
%"struct.std::_Tuple_impl.13" = type { %"struct.std::_Tuple_impl.14", %"struct.std::_Head_base.16" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.15" }
%"struct.std::_Head_base.15" = type { ptr }
%"struct.std::_Head_base.16" = type { ptr }
%"struct.std::pair.10" = type { i32, i32 }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::map", align 8
  %7 = alloca %"class.std::set", align 8
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::tuple", align 4
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::pair", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::tuple", align 4
  %17 = alloca i32, align 4
  %18 = alloca %"struct.std::pair", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %23 = alloca %"class.std::tuple", align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %27 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %28 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %30 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %31 = alloca %"class.std::tuple", align 4
  %32 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %33 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %35 = alloca %"class.std::tuple", align 4
  %36 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %37 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %38 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %39 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %40 = alloca %"class.std::tuple", align 4
  %41 = alloca %"struct.std::pair", align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %45 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %46 = alloca %"class.std::tuple", align 4
  %47 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %51 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %52 = alloca %"class.std::tuple", align 4
  %53 = alloca %"class.std::tuple", align 4
  %54 = alloca i32, align 4
  %55 = alloca %"struct.std::pair", align 8
  %56 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %57 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %58 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %59 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %60 = alloca %"class.std::tuple", align 4
  %61 = alloca i32, align 4
  %62 = alloca %"struct.std::pair", align 8
  %63 = alloca i32, align 4
  %64 = alloca %"class.std::tuple", align 4
  %65 = alloca i32, align 4
  %66 = alloca i32, align 4
  %67 = alloca %"struct.std::pair", align 8
  %68 = alloca i32, align 4
  %69 = alloca i32, align 4
  %70 = alloca i32, align 4
  %71 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %72 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %73 = alloca i32, align 4
  %74 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %75 = alloca i32, align 4
  %76 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %77 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %78 = alloca %"class.std::tuple", align 4
  %79 = alloca %"class.std::tuple", align 4
  %80 = alloca i32, align 4
  %81 = alloca %"struct.std::pair", align 8
  %82 = alloca %"class.std::tuple", align 4
  %83 = alloca i32, align 4
  %84 = alloca %"struct.std::pair", align 8
  %85 = alloca i32, align 4
  %86 = alloca %"class.std::tuple", align 4
  %87 = alloca i32, align 4
  %88 = alloca i32, align 4
  %89 = alloca %"struct.std::pair", align 8
  %90 = alloca %"class.std::tuple", align 4
  %91 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %92 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %93 = alloca %"class.std::tuple", align 4
  %94 = alloca %"struct.std::pair", align 8
  %95 = alloca i32, align 4
  %96 = alloca i32, align 4
  %97 = alloca %"class.std::reverse_iterator", align 8
  %98 = alloca %"class.std::tuple.12", align 8
  store i32 0, ptr %1, align 4
  %99 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %100 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %101 = getelementptr i8, ptr %100, i64 -24
  %102 = load i64, ptr %101, align 8
  %103 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %102
  %104 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %103, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %105 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %106 unwind label %117

106:                                              ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %107 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %108 = trunc i64 %107 to i32
  store i32 %108, ptr %5, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #7
  call void @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #7
  call void @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 1, ptr %8, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  %109 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
          to label %110 unwind label %121

110:                                              ; preds = %106
  %111 = load i8, ptr %109, align 1, !tbaa !11
  store i8 %111, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 1, ptr %10, align 4, !tbaa !8
  br label %112

112:                                              ; preds = %172, %110
  %113 = load i32, ptr %10, align 4, !tbaa !8
  %114 = load i32, ptr %5, align 4, !tbaa !8
  %115 = icmp slt i32 %113, %114
  br i1 %115, label %125, label %116

116:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %176

117:                                              ; preds = %0
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %3, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %4, align 4
  br label %622

121:                                              ; preds = %106
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %3, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %4, align 4
  br label %621

125:                                              ; preds = %112
  %126 = load i32, ptr %10, align 4, !tbaa !8
  %127 = sext i32 %126 to i64
  %128 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %127)
          to label %129 unwind label %138

129:                                              ; preds = %125
  %130 = load i8, ptr %128, align 1, !tbaa !11
  %131 = sext i8 %130 to i32
  %132 = load i8, ptr %9, align 1, !tbaa !11
  %133 = sext i8 %132 to i32
  %134 = icmp eq i32 %131, %133
  br i1 %134, label %135, label %142

135:                                              ; preds = %129
  %136 = load i32, ptr %8, align 4, !tbaa !8
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %8, align 4, !tbaa !8
  br label %171

138:                                              ; preds = %153, %125
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %3, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %4, align 4
  br label %175

142:                                              ; preds = %129
  %143 = load i32, ptr %8, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %144 = load i32, ptr %10, align 4, !tbaa !8
  %145 = load i32, ptr %8, align 4, !tbaa !8
  %146 = sub nsw i32 %144, %145
  store i32 %146, ptr %11, align 4, !tbaa !8
  %147 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %148 unwind label %163

148:                                              ; preds = %142
  store i32 %143, ptr %147, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %149 = load i32, ptr %10, align 4, !tbaa !8
  %150 = load i32, ptr %8, align 4, !tbaa !8
  %151 = sub nsw i32 %149, %150
  store i32 %151, ptr %13, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IRiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %13) #7
  %152 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %153 unwind label %167

153:                                              ; preds = %148
  %154 = getelementptr inbounds { ptr, i8 }, ptr %14, i32 0, i32 0
  %155 = extractvalue { ptr, i8 } %152, 0
  store ptr %155, ptr %154, align 8
  %156 = getelementptr inbounds { ptr, i8 }, ptr %14, i32 0, i32 1
  %157 = extractvalue { ptr, i8 } %152, 1
  store i8 %157, ptr %156, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %158 = load i32, ptr %10, align 4, !tbaa !8
  %159 = sext i32 %158 to i64
  %160 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %159)
          to label %161 unwind label %138

161:                                              ; preds = %153
  %162 = load i8, ptr %160, align 1, !tbaa !11
  store i8 %162, ptr %9, align 1, !tbaa !11
  store i32 1, ptr %8, align 4, !tbaa !8
  br label %171

163:                                              ; preds = %142
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %3, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %175

167:                                              ; preds = %148
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %3, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %175

171:                                              ; preds = %161, %135
  br label %172

172:                                              ; preds = %171
  %173 = load i32, ptr %10, align 4, !tbaa !8
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %10, align 4, !tbaa !8
  br label %112, !llvm.loop !12

175:                                              ; preds = %167, %163, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %621

176:                                              ; preds = %116
  %177 = load i32, ptr %8, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %178 = load i32, ptr %5, align 4, !tbaa !8
  %179 = load i32, ptr %8, align 4, !tbaa !8
  %180 = sub nsw i32 %178, %179
  store i32 %180, ptr %15, align 4, !tbaa !8
  %181 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %182 unwind label %199

182:                                              ; preds = %176
  store i32 %177, ptr %181, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %183 = load i32, ptr %5, align 4, !tbaa !8
  %184 = load i32, ptr %8, align 4, !tbaa !8
  %185 = sub nsw i32 %183, %184
  store i32 %185, ptr %17, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IRiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %17) #7
  %186 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %16)
          to label %187 unwind label %203

187:                                              ; preds = %182
  %188 = getelementptr inbounds { ptr, i8 }, ptr %18, i32 0, i32 0
  %189 = extractvalue { ptr, i8 } %186, 0
  store ptr %189, ptr %188, align 8
  %190 = getelementptr inbounds { ptr, i8 }, ptr %18, i32 0, i32 1
  %191 = extractvalue { ptr, i8 } %186, 1
  store i8 %191, ptr %190, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %192 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %193 unwind label %207

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

194:                                              ; preds = %610, %193
  %195 = load i32, ptr %21, align 4, !tbaa !8
  %196 = load i32, ptr %19, align 4, !tbaa !8
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %211, label %198

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

199:                                              ; preds = %176
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %3, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %621

203:                                              ; preds = %182
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %3, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %621

207:                                              ; preds = %616, %187
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %3, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %4, align 4
  br label %620

211:                                              ; preds = %194
  %212 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %213 unwind label %266

213:                                              ; preds = %211
  %214 = load i32, ptr %20, align 4, !tbaa !8
  %215 = add nsw i32 %214, -1
  store i32 %215, ptr %20, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %216 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE11lower_boundERS3_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %217 unwind label %270

217:                                              ; preds = %213
  %218 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %22, i32 0, i32 0
  store ptr %216, ptr %218, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %219 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %220 = getelementptr inbounds %"struct.std::pair.10", ptr %219, i32 0, i32 1
  %221 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %222 = getelementptr inbounds %"struct.std::pair.10", ptr %221, i32 0, i32 0
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %220, ptr noundef nonnull align 4 dereferenceable(4) %222) #7
  %223 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %23)
          to label %224 unwind label %274

224:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  %225 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %226 = getelementptr inbounds %"struct.std::pair.10", ptr %225, i32 0, i32 0
  %227 = load i32, ptr %226, align 4, !tbaa !14
  %228 = load i32, ptr %20, align 4, !tbaa !8
  %229 = icmp eq i32 %227, %228
  br i1 %229, label %230, label %449

230:                                              ; preds = %224
  %231 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %232 = getelementptr inbounds %"struct.std::pair.10", ptr %231, i32 0, i32 1
  %233 = load i32, ptr %232, align 4, !tbaa !16
  %234 = icmp eq i32 %233, 1
  br i1 %234, label %235, label %334

235:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %236 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %237 = getelementptr inbounds %"struct.std::pair.10", ptr %236, i32 0, i32 0
  %238 = load i32, ptr %237, align 4, !tbaa !14
  store i32 %238, ptr %24, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %239 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %240 = getelementptr inbounds %"struct.std::pair.10", ptr %239, i32 0, i32 1
  %241 = load i32, ptr %240, align 4, !tbaa !16
  store i32 %241, ptr %25, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %242 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEmmEi(ptr noundef nonnull align 8 dereferenceable(8) %26, i32 noundef 0) #7
  %243 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %27, i32 0, i32 0
  store ptr %242, ptr %243, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %244 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %28, i32 noundef 0) #7
  %245 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %29, i32 0, i32 0
  store ptr %244, ptr %245, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %246 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  %247 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %30, i32 0, i32 0
  store ptr %246, ptr %247, align 8
  %248 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br i1 %248, label %249, label %286

249:                                              ; preds = %235
  %250 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  %251 = getelementptr inbounds %"struct.std::pair.10", ptr %250, i32 0, i32 1
  %252 = load i32, ptr %251, align 4, !tbaa !16
  %253 = load i32, ptr %25, align 4, !tbaa !8
  %254 = add nsw i32 %253, %252
  store i32 %254, ptr %25, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %255 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  %256 = getelementptr inbounds %"struct.std::pair.10", ptr %255, i32 0, i32 1
  %257 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  %258 = getelementptr inbounds %"struct.std::pair.10", ptr %257, i32 0, i32 0
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(4) %256, ptr noundef nonnull align 4 dereferenceable(4) %258) #7
  %259 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %31)
          to label %260 unwind label %278

260:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %26, i64 8, i1 false), !tbaa.struct !17
  %261 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %32, i32 0, i32 0
  %262 = load ptr, ptr %261, align 8
  %263 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %262)
          to label %264 unwind label %282

264:                                              ; preds = %260
  %265 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %33, i32 0, i32 0
  store ptr %263, ptr %265, align 8
  br label %286

266:                                              ; preds = %211
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %3, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %4, align 4
  br label %615

270:                                              ; preds = %213
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %3, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %4, align 4
  br label %614

274:                                              ; preds = %217
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %3, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %614

278:                                              ; preds = %249
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %3, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %333

282:                                              ; preds = %321, %314, %304, %260
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %3, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %4, align 4
  br label %333

286:                                              ; preds = %264, %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %287 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  %288 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %34, i32 0, i32 0
  store ptr %287, ptr %288, align 8
  %289 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br i1 %289, label %290, label %314

290:                                              ; preds = %286
  %291 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %292 = getelementptr inbounds %"struct.std::pair.10", ptr %291, i32 0, i32 0
  %293 = load i32, ptr %292, align 4, !tbaa !14
  store i32 %293, ptr %24, align 4, !tbaa !8
  %294 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %295 = getelementptr inbounds %"struct.std::pair.10", ptr %294, i32 0, i32 1
  %296 = load i32, ptr %295, align 4, !tbaa !16
  %297 = load i32, ptr %25, align 4, !tbaa !8
  %298 = add nsw i32 %297, %296
  store i32 %298, ptr %25, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %299 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %300 = getelementptr inbounds %"struct.std::pair.10", ptr %299, i32 0, i32 1
  %301 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %302 = getelementptr inbounds %"struct.std::pair.10", ptr %301, i32 0, i32 0
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(4) %300, ptr noundef nonnull align 4 dereferenceable(4) %302) #7
  %303 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %35)
          to label %304 unwind label %310

304:                                              ; preds = %290
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %28, i64 8, i1 false), !tbaa.struct !17
  %305 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %36, i32 0, i32 0
  %306 = load ptr, ptr %305, align 8
  %307 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %306)
          to label %308 unwind label %282

308:                                              ; preds = %304
  %309 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %37, i32 0, i32 0
  store ptr %307, ptr %309, align 8
  br label %314

310:                                              ; preds = %290
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %3, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %333

314:                                              ; preds = %308, %286
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %315 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %38, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8
  %317 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %316)
          to label %318 unwind label %282

318:                                              ; preds = %314
  %319 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %39, i32 0, i32 0
  store ptr %317, ptr %319, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %24) #7
  %320 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %40)
          to label %321 unwind label %329

321:                                              ; preds = %318
  %322 = getelementptr inbounds { ptr, i8 }, ptr %41, i32 0, i32 0
  %323 = extractvalue { ptr, i8 } %320, 0
  store ptr %323, ptr %322, align 8
  %324 = getelementptr inbounds { ptr, i8 }, ptr %41, i32 0, i32 1
  %325 = extractvalue { ptr, i8 } %320, 1
  store i8 %325, ptr %324, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  %326 = load i32, ptr %25, align 4, !tbaa !8
  %327 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %328 unwind label %282

328:                                              ; preds = %321
  store i32 %326, ptr %327, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %448

329:                                              ; preds = %318
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %3, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %333

333:                                              ; preds = %329, %310, %282, %278
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %614

334:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  %335 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %336 = getelementptr inbounds %"struct.std::pair.10", ptr %335, i32 0, i32 0
  %337 = load i32, ptr %336, align 4, !tbaa !14
  store i32 %337, ptr %42, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  %338 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %339 = getelementptr inbounds %"struct.std::pair.10", ptr %338, i32 0, i32 1
  %340 = load i32, ptr %339, align 4, !tbaa !16
  store i32 %340, ptr %43, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %341 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %44, i32 noundef 0) #7
  %342 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %45, i32 0, i32 0
  store ptr %341, ptr %342, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %343 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %344 = getelementptr inbounds %"struct.std::pair.10", ptr %343, i32 0, i32 1
  %345 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %346 = getelementptr inbounds %"struct.std::pair.10", ptr %345, i32 0, i32 0
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %46, ptr noundef nonnull align 4 dereferenceable(4) %344, ptr noundef nonnull align 4 dereferenceable(4) %346) #7
  %347 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %46)
          to label %348 unwind label %383

348:                                              ; preds = %334
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %349 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  %350 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %47, i32 0, i32 0
  store ptr %349, ptr %350, align 8
  %351 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br i1 %351, label %352, label %400

352:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #7
  %353 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  %354 = getelementptr inbounds %"struct.std::pair.10", ptr %353, i32 0, i32 0
  %355 = load i32, ptr %354, align 4, !tbaa !14
  store i32 %355, ptr %48, align 4, !tbaa !8
  %356 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  %357 = getelementptr inbounds %"struct.std::pair.10", ptr %356, i32 0, i32 1
  %358 = load i32, ptr %357, align 4, !tbaa !16
  store i32 %358, ptr %49, align 4, !tbaa !8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %50, ptr align 8 %44, i64 8, i1 false), !tbaa.struct !17
  %359 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %50, i32 0, i32 0
  %360 = load ptr, ptr %359, align 8
  %361 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %360)
          to label %362 unwind label %387

362:                                              ; preds = %352
  %363 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %51, i32 0, i32 0
  store ptr %361, ptr %363, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %48) #7
  %364 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %52)
          to label %365 unwind label %391

365:                                              ; preds = %362
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  %366 = load i32, ptr %49, align 4, !tbaa !8
  %367 = add nsw i32 %366, 1
  %368 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %369 unwind label %387

369:                                              ; preds = %365
  store i32 %367, ptr %368, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #7
  %370 = load i32, ptr %49, align 4, !tbaa !8
  %371 = add nsw i32 %370, 1
  store i32 %371, ptr %54, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef nonnull align 4 dereferenceable(4) %48) #7
  %372 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %53)
          to label %373 unwind label %395

373:                                              ; preds = %369
  %374 = getelementptr inbounds { ptr, i8 }, ptr %55, i32 0, i32 0
  %375 = extractvalue { ptr, i8 } %372, 0
  store ptr %375, ptr %374, align 8
  %376 = getelementptr inbounds { ptr, i8 }, ptr %55, i32 0, i32 1
  %377 = extractvalue { ptr, i8 } %372, 1
  store i8 %377, ptr %376, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %56, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %378 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %56, i32 0, i32 0
  %379 = load ptr, ptr %378, align 8
  %380 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %379)
          to label %381 unwind label %387

381:                                              ; preds = %373
  %382 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %57, i32 0, i32 0
  store ptr %380, ptr %382, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %422

383:                                              ; preds = %334
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %3, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %447

387:                                              ; preds = %373, %365, %352
  %388 = landingpad { ptr, i32 }
          cleanup
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %3, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %4, align 4
  br label %399

391:                                              ; preds = %362
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %3, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  br label %399

395:                                              ; preds = %369
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %3, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  br label %399

399:                                              ; preds = %395, %391, %387
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %447

400:                                              ; preds = %348
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %58, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %401 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %58, i32 0, i32 0
  %402 = load ptr, ptr %401, align 8
  %403 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %402)
          to label %404 unwind label %414

404:                                              ; preds = %400
  %405 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %59, i32 0, i32 0
  store ptr %403, ptr %405, align 8
  %406 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %407 unwind label %414

407:                                              ; preds = %404
  store i32 1, ptr %406, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #7
  store i32 1, ptr %61, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %42) #7
  %408 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %60)
          to label %409 unwind label %418

409:                                              ; preds = %407
  %410 = getelementptr inbounds { ptr, i8 }, ptr %62, i32 0, i32 0
  %411 = extractvalue { ptr, i8 } %408, 0
  store ptr %411, ptr %410, align 8
  %412 = getelementptr inbounds { ptr, i8 }, ptr %62, i32 0, i32 1
  %413 = extractvalue { ptr, i8 } %408, 1
  store i8 %413, ptr %412, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  br label %422

414:                                              ; preds = %404, %400
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %3, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %4, align 4
  br label %447

418:                                              ; preds = %407
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %3, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  br label %447

422:                                              ; preds = %409, %381
  %423 = load i32, ptr %43, align 4, !tbaa !8
  %424 = sub nsw i32 %423, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #7
  %425 = load i32, ptr %42, align 4, !tbaa !8
  %426 = add nsw i32 %425, 1
  store i32 %426, ptr %63, align 4, !tbaa !8
  %427 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %63)
          to label %428 unwind label %439

428:                                              ; preds = %422
  store i32 %424, ptr %427, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #7
  %429 = load i32, ptr %43, align 4, !tbaa !8
  %430 = sub nsw i32 %429, 1
  store i32 %430, ptr %65, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #7
  %431 = load i32, ptr %42, align 4, !tbaa !8
  %432 = add nsw i32 %431, 1
  store i32 %432, ptr %66, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS3_T0_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %66) #7
  %433 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %64)
          to label %434 unwind label %443

434:                                              ; preds = %428
  %435 = getelementptr inbounds { ptr, i8 }, ptr %67, i32 0, i32 0
  %436 = extractvalue { ptr, i8 } %433, 0
  store ptr %436, ptr %435, align 8
  %437 = getelementptr inbounds { ptr, i8 }, ptr %67, i32 0, i32 1
  %438 = extractvalue { ptr, i8 } %433, 1
  store i8 %438, ptr %437, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %448

439:                                              ; preds = %422
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %3, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #7
  br label %447

443:                                              ; preds = %428
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %3, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  br label %447

447:                                              ; preds = %443, %439, %418, %414, %399, %383
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %614

448:                                              ; preds = %434, %328
  br label %587

449:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #7
  %450 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %451 = getelementptr inbounds %"struct.std::pair.10", ptr %450, i32 0, i32 0
  %452 = load i32, ptr %451, align 4, !tbaa !14
  store i32 %452, ptr %68, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #7
  %453 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %454 = getelementptr inbounds %"struct.std::pair.10", ptr %453, i32 0, i32 1
  %455 = load i32, ptr %454, align 4, !tbaa !16
  store i32 %455, ptr %69, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #7
  %456 = load i32, ptr %20, align 4, !tbaa !8
  %457 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %458 = getelementptr inbounds %"struct.std::pair.10", ptr %457, i32 0, i32 0
  %459 = load i32, ptr %458, align 4, !tbaa !14
  %460 = sub nsw i32 %456, %459
  store i32 %460, ptr %70, align 4, !tbaa !8
  %461 = load i32, ptr %69, align 4, !tbaa !8
  %462 = load i32, ptr %70, align 4, !tbaa !8
  %463 = add nsw i32 %462, 1
  %464 = icmp eq i32 %461, %463
  br i1 %464, label %465, label %516

465:                                              ; preds = %449
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %71, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %466 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEmmEi(ptr noundef nonnull align 8 dereferenceable(8) %71, i32 noundef 0) #7
  %467 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %72, i32 0, i32 0
  store ptr %466, ptr %467, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #7
  store i32 0, ptr %73, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #7
  %468 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  %469 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %74, i32 0, i32 0
  store ptr %468, ptr %469, align 8
  %470 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  br i1 %470, label %471, label %494

471:                                              ; preds = %465
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #7
  %472 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #7
  %473 = getelementptr inbounds %"struct.std::pair.10", ptr %472, i32 0, i32 0
  %474 = load i32, ptr %473, align 4, !tbaa !14
  store i32 %474, ptr %75, align 4, !tbaa !8
  %475 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #7
  %476 = getelementptr inbounds %"struct.std::pair.10", ptr %475, i32 0, i32 1
  %477 = load i32, ptr %476, align 4, !tbaa !16
  store i32 %477, ptr %73, align 4, !tbaa !8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %76, ptr align 8 %71, i64 8, i1 false), !tbaa.struct !17
  %478 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %76, i32 0, i32 0
  %479 = load ptr, ptr %478, align 8
  %480 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %479)
          to label %481 unwind label %485

481:                                              ; preds = %471
  %482 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %77, i32 0, i32 0
  store ptr %480, ptr %482, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #7
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(4) %73, ptr noundef nonnull align 4 dereferenceable(4) %75) #7
  %483 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %78)
          to label %484 unwind label %489

484:                                              ; preds = %481
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  br label %494

485:                                              ; preds = %471
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %3, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %4, align 4
  br label %493

489:                                              ; preds = %481
  %490 = landingpad { ptr, i32 }
          cleanup
  %491 = extractvalue { ptr, i32 } %490, 0
  store ptr %491, ptr %3, align 8
  %492 = extractvalue { ptr, i32 } %490, 1
  store i32 %492, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #7
  br label %493

493:                                              ; preds = %489, %485
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  br label %515

494:                                              ; preds = %484, %465
  %495 = load i32, ptr %73, align 4, !tbaa !8
  %496 = add nsw i32 %495, 1
  %497 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %498 unwind label %507

498:                                              ; preds = %494
  store i32 %496, ptr %497, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #7
  %499 = load i32, ptr %73, align 4, !tbaa !8
  %500 = add nsw i32 %499, 1
  store i32 %500, ptr %80, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %79, ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(4) %20) #7
  %501 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %79)
          to label %502 unwind label %511

502:                                              ; preds = %498
  %503 = getelementptr inbounds { ptr, i8 }, ptr %81, i32 0, i32 0
  %504 = extractvalue { ptr, i8 } %501, 0
  store ptr %504, ptr %503, align 8
  %505 = getelementptr inbounds { ptr, i8 }, ptr %81, i32 0, i32 1
  %506 = extractvalue { ptr, i8 } %501, 1
  store i8 %506, ptr %505, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #7
  br label %561

507:                                              ; preds = %494
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %3, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %4, align 4
  br label %515

511:                                              ; preds = %498
  %512 = landingpad { ptr, i32 }
          cleanup
  %513 = extractvalue { ptr, i32 } %512, 0
  store ptr %513, ptr %3, align 8
  %514 = extractvalue { ptr, i32 } %512, 1
  store i32 %514, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #7
  br label %515

515:                                              ; preds = %511, %507, %493
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #7
  br label %586

516:                                              ; preds = %449
  %517 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %518 unwind label %545

518:                                              ; preds = %516
  store i32 1, ptr %517, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #7
  store i32 1, ptr %83, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %82, ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 4 dereferenceable(4) %20) #7
  %519 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %82)
          to label %520 unwind label %549

520:                                              ; preds = %518
  %521 = getelementptr inbounds { ptr, i8 }, ptr %84, i32 0, i32 0
  %522 = extractvalue { ptr, i8 } %519, 0
  store ptr %522, ptr %521, align 8
  %523 = getelementptr inbounds { ptr, i8 }, ptr %84, i32 0, i32 1
  %524 = extractvalue { ptr, i8 } %519, 1
  store i8 %524, ptr %523, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #7
  %525 = load i32, ptr %69, align 4, !tbaa !8
  %526 = load i32, ptr %70, align 4, !tbaa !8
  %527 = sub nsw i32 %525, %526
  %528 = sub nsw i32 %527, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %85) #7
  %529 = load i32, ptr %20, align 4, !tbaa !8
  %530 = add nsw i32 %529, 1
  store i32 %530, ptr %85, align 4, !tbaa !8
  %531 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %85)
          to label %532 unwind label %553

532:                                              ; preds = %520
  store i32 %528, ptr %531, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %87) #7
  %533 = load i32, ptr %69, align 4, !tbaa !8
  %534 = load i32, ptr %70, align 4, !tbaa !8
  %535 = sub nsw i32 %533, %534
  %536 = sub nsw i32 %535, 1
  store i32 %536, ptr %87, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %88) #7
  %537 = load i32, ptr %20, align 4, !tbaa !8
  %538 = add nsw i32 %537, 1
  store i32 %538, ptr %88, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS3_T0_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %86, ptr noundef nonnull align 4 dereferenceable(4) %87, ptr noundef nonnull align 4 dereferenceable(4) %88) #7
  %539 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %86)
          to label %540 unwind label %557

540:                                              ; preds = %532
  %541 = getelementptr inbounds { ptr, i8 }, ptr %89, i32 0, i32 0
  %542 = extractvalue { ptr, i8 } %539, 0
  store ptr %542, ptr %541, align 8
  %543 = getelementptr inbounds { ptr, i8 }, ptr %89, i32 0, i32 1
  %544 = extractvalue { ptr, i8 } %539, 1
  store i8 %544, ptr %543, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %87) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #7
  br label %561

545:                                              ; preds = %567, %563, %516
  %546 = landingpad { ptr, i32 }
          cleanup
  %547 = extractvalue { ptr, i32 } %546, 0
  store ptr %547, ptr %3, align 8
  %548 = extractvalue { ptr, i32 } %546, 1
  store i32 %548, ptr %4, align 4
  br label %586

549:                                              ; preds = %518
  %550 = landingpad { ptr, i32 }
          cleanup
  %551 = extractvalue { ptr, i32 } %550, 0
  store ptr %551, ptr %3, align 8
  %552 = extractvalue { ptr, i32 } %550, 1
  store i32 %552, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #7
  br label %586

553:                                              ; preds = %520
  %554 = landingpad { ptr, i32 }
          cleanup
  %555 = extractvalue { ptr, i32 } %554, 0
  store ptr %555, ptr %3, align 8
  %556 = extractvalue { ptr, i32 } %554, 1
  store i32 %556, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #7
  br label %586

557:                                              ; preds = %532
  %558 = landingpad { ptr, i32 }
          cleanup
  %559 = extractvalue { ptr, i32 } %558, 0
  store ptr %559, ptr %3, align 8
  %560 = extractvalue { ptr, i32 } %558, 1
  store i32 %560, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %87) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #7
  br label %586

561:                                              ; preds = %540, %502
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #7
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(4) %68) #7
  %562 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %90)
          to label %563 unwind label %578

563:                                              ; preds = %561
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %91, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !17
  %564 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %91, i32 0, i32 0
  %565 = load ptr, ptr %564, align 8
  %566 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %565)
          to label %567 unwind label %545

567:                                              ; preds = %563
  %568 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %92, i32 0, i32 0
  store ptr %566, ptr %568, align 8
  %569 = load i32, ptr %70, align 4, !tbaa !8
  %570 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %68)
          to label %571 unwind label %545

571:                                              ; preds = %567
  store i32 %569, ptr %570, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #7
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %93, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %68) #7
  %572 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(8) %93)
          to label %573 unwind label %582

573:                                              ; preds = %571
  %574 = getelementptr inbounds { ptr, i8 }, ptr %94, i32 0, i32 0
  %575 = extractvalue { ptr, i8 } %572, 0
  store ptr %575, ptr %574, align 8
  %576 = getelementptr inbounds { ptr, i8 }, ptr %94, i32 0, i32 1
  %577 = extractvalue { ptr, i8 } %572, 1
  store i8 %577, ptr %576, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  br label %587

578:                                              ; preds = %561
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %3, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #7
  br label %586

582:                                              ; preds = %571
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %3, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  br label %586

586:                                              ; preds = %582, %578, %557, %553, %549, %545, %515
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  br label %614

587:                                              ; preds = %573, %448
  call void @llvm.lifetime.start.p0(i64 4, ptr %95) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %96) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #7
  call void @_ZNKSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %97, ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  %588 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorISt5tupleIJiiEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %589 unwind label %601

589:                                              ; preds = %587
  call void @llvm.lifetime.start.p0(i64 16, ptr %98) #7
  call void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind writable sret(%"class.std::tuple.12") align 8 %98, ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %96) #7
  %590 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIRKT_RKT0_EEERS1_E4typeERKS_IJS4_S7_EE(ptr noundef nonnull align 8 dereferenceable(16) %98, ptr noundef nonnull align 4 dereferenceable(8) %588) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %98) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #7
  %591 = load i32, ptr %95, align 4, !tbaa !8
  %592 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %591)
          to label %593 unwind label %605

593:                                              ; preds = %589
  %594 = load i32, ptr %21, align 4, !tbaa !8
  %595 = load i32, ptr %19, align 4, !tbaa !8
  %596 = sub nsw i32 %595, 1
  %597 = icmp slt i32 %594, %596
  br i1 %597, label %598, label %609

598:                                              ; preds = %593
  %599 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %600 unwind label %605

600:                                              ; preds = %598
  br label %609

601:                                              ; preds = %587
  %602 = landingpad { ptr, i32 }
          cleanup
  %603 = extractvalue { ptr, i32 } %602, 0
  store ptr %603, ptr %3, align 8
  %604 = extractvalue { ptr, i32 } %602, 1
  store i32 %604, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #7
  br label %613

605:                                              ; preds = %598, %589
  %606 = landingpad { ptr, i32 }
          cleanup
  %607 = extractvalue { ptr, i32 } %606, 0
  store ptr %607, ptr %3, align 8
  %608 = extractvalue { ptr, i32 } %606, 1
  store i32 %608, ptr %4, align 4
  br label %613

609:                                              ; preds = %600, %593
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %95) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %610

610:                                              ; preds = %609
  %611 = load i32, ptr %21, align 4, !tbaa !8
  %612 = add nsw i32 %611, 1
  store i32 %612, ptr %21, align 4, !tbaa !8
  br label %194, !llvm.loop !20

613:                                              ; preds = %605, %601
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %95) #7
  br label %614

614:                                              ; preds = %613, %586, %447, %333, %274, %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %615

615:                                              ; preds = %614, %266
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %620

616:                                              ; preds = %198
  %617 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %618 unwind label %207

618:                                              ; preds = %616
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  call void @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  %619 = load i32, ptr %1, align 4
  ret i32 %619

620:                                              ; preds = %615, %207
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %621

621:                                              ; preds = %620, %203, %199, %175, %121
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  call void @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %622

622:                                              ; preds = %621, %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  br label %623

623:                                              ; preds = %622
  %624 = load ptr, ptr %3, align 8
  %625 = load i32, ptr %4, align 4
  %626 = insertvalue { ptr, i32 } poison, ptr %624, 0
  %627 = insertvalue { ptr, i32 } %626, i32 %625, 1
  resume { ptr, i32 } %627
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(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 void @_ZNSt5tupleIJiiEEC2IRiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.12") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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

; 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) #6

; 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)) #6

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

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

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

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

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::greater<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::greater<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 }
%"class.std::set" = type { %"class.std::_Rb_tree.3" }
%"class.std::_Rb_tree.3" = type { %"struct.std::_Rb_tree<std::tuple<int, int>, std::tuple<int, int>, std::_Identity<std::tuple<int, int>>, std::less<std::tuple<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::tuple<int, int>, std::tuple<int, int>, std::_Identity<std::tuple<int, int>>, std::less<std::tuple<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.8", %"struct.std::_Head_base.9" }
%"struct.std::_Tuple_impl.8" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.9" = type { i32 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_const_iterator" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::tuple.12" = type { %"struct.std::_Tuple_impl.13" }
%"struct.std::_Tuple_impl.13" = type { %"struct.std::_Tuple_impl.14", %"struct.std::_Head_base.16" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.15" }
%"struct.std::_Head_base.15" = type { ptr }
%"struct.std::_Head_base.16" = type { ptr }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::map", align 8
  %3 = alloca %"class.std::set", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::tuple", align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::tuple", align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"class.std::tuple", align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca %"class.std::tuple", align 4
  %21 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %22 = alloca %"class.std::tuple", align 4
  %23 = alloca %"class.std::tuple", align 4
  %24 = alloca i32, align 4
  %25 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %26 = alloca %"class.std::tuple", align 4
  %27 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::tuple", align 4
  %31 = alloca %"class.std::tuple", align 4
  %32 = alloca i32, align 4
  %33 = alloca %"class.std::tuple", align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::tuple", align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %43 = alloca i32, align 4
  %44 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %45 = alloca i32, align 4
  %46 = alloca %"class.std::tuple", align 4
  %47 = alloca %"class.std::tuple", align 4
  %48 = alloca i32, align 4
  %49 = alloca %"class.std::tuple", align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca %"class.std::tuple", align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca %"class.std::tuple", align 4
  %56 = alloca %"class.std::tuple", align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca %"class.std::reverse_iterator", align 8
  %60 = alloca %"class.std::tuple.12", align 8
  %61 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %62 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %63 = getelementptr i8, ptr %62, i64 -24
  %64 = load i64, ptr %63, align 8
  %65 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %64
  %66 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %65, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %68 unwind label %77

68:                                               ; preds = %0
  %69 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %70 = trunc i64 %69 to i32
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  call void @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  call void @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 1, ptr %4, align 4, !tbaa !8
  %71 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %72 = icmp sgt i32 %70, 1
  br i1 %72, label %.lr.ph.preheader, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %68
  %.pre = load i32, ptr %4, align 4, !tbaa !8
  br label %._crit_edge

.lr.ph.preheader:                                 ; preds = %68
  %73 = load i8, ptr %71, align 1, !tbaa !11
  %wide.trip.count = and i64 %69, 2147483647
  br label %.lr.ph

._crit_edge:                                      ; preds = %100, %.._crit_edge_crit_edge
  %74 = phi i32 [ %.pre, %.._crit_edge_crit_edge ], [ %storemerge, %100 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  %75 = sub nsw i32 %70, %74
  store i32 %75, ptr %8, align 4, !tbaa !8
  %76 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %101 unwind label %110

77:                                               ; preds = %0
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %382

.lr.ph:                                           ; preds = %.lr.ph.preheader, %100
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %100 ]
  %.06792 = phi i8 [ %73, %.lr.ph.preheader ], [ %.168, %100 ]
  %79 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv)
  %80 = load i8, ptr %79, align 1, !tbaa !11
  %81 = icmp eq i8 %80, %.06792
  %82 = load i32, ptr %4, align 4, !tbaa !8
  br i1 %81, label %83, label %85

83:                                               ; preds = %.lr.ph
  %84 = add nsw i32 %82, 1
  br label %100

85:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %86 = trunc nuw nsw i64 %indvars.iv to i32
  %87 = sub nsw i32 %86, %82
  store i32 %87, ptr %5, align 4, !tbaa !8
  %88 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %89 unwind label %96

89:                                               ; preds = %85
  store i32 %82, ptr %88, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %90 = load i32, ptr %4, align 4, !tbaa !8
  %91 = sub nsw i32 %86, %90
  store i32 %91, ptr %7, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IRiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %7) #6
  %92 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %93 unwind label %98

93:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %94 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv)
  %95 = load i8, ptr %94, align 1, !tbaa !11
  br label %100

96:                                               ; preds = %85
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %381

98:                                               ; preds = %89
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %381

100:                                              ; preds = %83, %93
  %storemerge = phi i32 [ 1, %93 ], [ %84, %83 ]
  %.168 = phi i8 [ %95, %93 ], [ %.06792, %83 ]
  store i32 %storemerge, ptr %4, align 4, !tbaa !8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

101:                                              ; preds = %._crit_edge
  store i32 %74, ptr %76, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %102 = load i32, ptr %4, align 4, !tbaa !8
  %103 = sub nsw i32 %70, %102
  store i32 %103, ptr %10, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IRiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %10) #6
  %104 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %105 unwind label %112

105:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  %106 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %.preheader unwind label %114

.preheader:                                       ; preds = %105
  %107 = load i32, ptr %11, align 4, !tbaa !8
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %.lr.ph94, label %._crit_edge95

._crit_edge95:                                    ; preds = %374, %.preheader
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %379 unwind label %114

110:                                              ; preds = %._crit_edge
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %381

112:                                              ; preds = %101
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %381

114:                                              ; preds = %._crit_edge95, %105
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %380

.lr.ph94:                                         ; preds = %.preheader, %374
  %.07093 = phi i32 [ %376, %374 ], [ 0, %.preheader ]
  %116 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %117 unwind label %160

117:                                              ; preds = %.lr.ph94
  %118 = load i32, ptr %12, align 4, !tbaa !8
  %119 = add nsw i32 %118, -1
  store i32 %119, ptr %12, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %120 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE11lower_boundERS3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %121 unwind label %162

121:                                              ; preds = %117
  store ptr %120, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %122 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %123 = getelementptr inbounds i8, ptr %122, i64 4
  %124 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(4) %123, ptr noundef nonnull align 4 dereferenceable(4) %124) #6
  %125 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %14)
          to label %126 unwind label %164

126:                                              ; preds = %121
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  %127 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %128 = load i32, ptr %127, align 4, !tbaa !14
  %129 = load i32, ptr %12, align 4, !tbaa !8
  %130 = icmp eq i32 %128, %129
  br i1 %130, label %131, label %270

131:                                              ; preds = %126
  %132 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %133 = getelementptr inbounds i8, ptr %132, i64 4
  %134 = load i32, ptr %133, align 4, !tbaa !16
  %135 = icmp eq i32 %134, 1
  br i1 %135, label %136, label %200

136:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  %137 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %138 = load i32, ptr %137, align 4, !tbaa !14
  store i32 %138, ptr %15, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  %139 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %140 = getelementptr inbounds i8, ptr %139, i64 4
  %141 = load i32, ptr %140, align 4, !tbaa !16
  store i32 %141, ptr %16, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %142 = load i64, ptr %13, align 8, !tbaa !17
  store i64 %142, ptr %17, align 8, !tbaa !17
  %143 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEmmEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %144 = load i64, ptr %13, align 8, !tbaa !17
  store i64 %144, ptr %18, align 8, !tbaa !17
  %145 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %146 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %146, ptr %19, align 8
  %147 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  br i1 %147, label %148, label %170

148:                                              ; preds = %136
  %149 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %150 = getelementptr inbounds i8, ptr %149, i64 4
  %151 = load i32, ptr %150, align 4, !tbaa !16
  %152 = load i32, ptr %16, align 4, !tbaa !8
  %153 = add nsw i32 %152, %151
  store i32 %153, ptr %16, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %154 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %155 = getelementptr inbounds i8, ptr %154, i64 4
  %156 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(4) %155, ptr noundef nonnull align 4 dereferenceable(4) %156) #6
  %157 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %20)
          to label %158 unwind label %166

158:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %.sroa.033.0.copyload = load ptr, ptr %17, align 8, !tbaa !17
  %159 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.033.0.copyload)
          to label %170 unwind label %168

160:                                              ; preds = %.lr.ph94
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %380

162:                                              ; preds = %117
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %378

164:                                              ; preds = %121
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %378

166:                                              ; preds = %148
  %167 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %199

168:                                              ; preds = %193, %189, %185, %158
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %199

170:                                              ; preds = %158, %136
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %171 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %171, ptr %21, align 8
  %172 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br i1 %172, label %173, label %189

173:                                              ; preds = %170
  %174 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %175 = load i32, ptr %174, align 4, !tbaa !14
  store i32 %175, ptr %15, align 4, !tbaa !8
  %176 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %177 = getelementptr inbounds i8, ptr %176, i64 4
  %178 = load i32, ptr %177, align 4, !tbaa !16
  %179 = load i32, ptr %16, align 4, !tbaa !8
  %180 = add nsw i32 %179, %178
  store i32 %180, ptr %16, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %181 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %182 = getelementptr inbounds i8, ptr %181, i64 4
  %183 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(4) %182, ptr noundef nonnull align 4 dereferenceable(4) %183) #6
  %184 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %22)
          to label %185 unwind label %187

185:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  %.sroa.031.0.copyload = load ptr, ptr %18, align 8, !tbaa !17
  %186 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.031.0.copyload)
          to label %189 unwind label %168

187:                                              ; preds = %173
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  br label %199

189:                                              ; preds = %185, %170
  %.sroa.029.0.copyload = load ptr, ptr %13, align 8, !tbaa !17
  %190 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.029.0.copyload)
          to label %191 unwind label %168

191:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %15) #6
  %192 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %23)
          to label %193 unwind label %197

193:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  %194 = load i32, ptr %16, align 4, !tbaa !8
  %195 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %196 unwind label %168

196:                                              ; preds = %193
  store i32 %194, ptr %195, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br label %361

197:                                              ; preds = %191
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br label %199

199:                                              ; preds = %197, %187, %168, %166
  %.pn81 = phi { ptr, i32 } [ %169, %168 ], [ %198, %197 ], [ %188, %187 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br label %378

200:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #6
  %201 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %202 = load i32, ptr %201, align 4, !tbaa !14
  store i32 %202, ptr %24, align 4, !tbaa !8
  %203 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %204 = getelementptr inbounds i8, ptr %203, i64 4
  %205 = load i32, ptr %204, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  %206 = load i64, ptr %13, align 8, !tbaa !17
  store i64 %206, ptr %25, align 8, !tbaa !17
  %207 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #6
  %208 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %209 = getelementptr inbounds i8, ptr %208, i64 4
  %210 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @_ZNSt5tupleIJiiEEC2IRiRKiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS6_T0_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %209, ptr noundef nonnull align 4 dereferenceable(4) %210) #6
  %211 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %26)
          to label %212 unwind label %235

212:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  %213 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %213, ptr %27, align 8
  %214 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  br i1 %214, label %215, label %244

215:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  %216 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %217 = load i32, ptr %216, align 4, !tbaa !14
  store i32 %217, ptr %28, align 4, !tbaa !8
  %218 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %219 = getelementptr inbounds i8, ptr %218, i64 4
  %220 = load i32, ptr %219, align 4, !tbaa !16
  store i32 %220, ptr %29, align 4, !tbaa !8
  %.sroa.023.0.copyload = load ptr, ptr %25, align 8, !tbaa !17
  %221 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.023.0.copyload)
          to label %222 unwind label %237

222:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #6
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %28) #6
  %223 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %30)
          to label %224 unwind label %239

224:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  %225 = load i32, ptr %29, align 4, !tbaa !8
  %226 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %227 unwind label %237

227:                                              ; preds = %224
  %228 = add nsw i32 %225, 1
  store i32 %228, ptr %226, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #6
  %229 = load i32, ptr %29, align 4, !tbaa !8
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %32, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %28) #6
  %231 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %31)
          to label %232 unwind label %241

232:                                              ; preds = %227
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #6
  %.sroa.019.0.copyload = load ptr, ptr %13, align 8, !tbaa !17
  %233 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.019.0.copyload)
          to label %234 unwind label %237

234:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  br label %255

235:                                              ; preds = %200
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  br label %269

237:                                              ; preds = %232, %224, %215
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %243

239:                                              ; preds = %222
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  br label %243

241:                                              ; preds = %227
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #6
  br label %243

243:                                              ; preds = %241, %239, %237
  %.pn77 = phi { ptr, i32 } [ %238, %237 ], [ %242, %241 ], [ %240, %239 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  br label %269

244:                                              ; preds = %212
  %.sroa.017.0.copyload = load ptr, ptr %13, align 8, !tbaa !17
  %245 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.017.0.copyload)
          to label %246 unwind label %251

246:                                              ; preds = %244
  %247 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %248 unwind label %251

248:                                              ; preds = %246
  store i32 1, ptr %247, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #6
  store i32 1, ptr %34, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %24) #6
  %249 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %33)
          to label %250 unwind label %253

250:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  br label %255

251:                                              ; preds = %246, %244
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %269

253:                                              ; preds = %248
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  br label %269

255:                                              ; preds = %250, %234
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #6
  %256 = load i32, ptr %24, align 4, !tbaa !8
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr %35, align 4, !tbaa !8
  %258 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %259 unwind label %265

259:                                              ; preds = %255
  %260 = add nsw i32 %205, -1
  store i32 %260, ptr %258, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #6
  store i32 %260, ptr %37, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #6
  %261 = load i32, ptr %24, align 4, !tbaa !8
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %38, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS3_T0_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38) #6
  %263 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %36)
          to label %264 unwind label %267

264:                                              ; preds = %259
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  br label %361

265:                                              ; preds = %255
  %266 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #6
  br label %269

267:                                              ; preds = %259
  %268 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  br label %269

269:                                              ; preds = %267, %265, %253, %251, %243, %235
  %.pn79 = phi { ptr, i32 } [ %268, %267 ], [ %266, %265 ], [ %.pn77, %243 ], [ %254, %253 ], [ %252, %251 ], [ %236, %235 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  br label %378

270:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #6
  %271 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %272 = load i32, ptr %271, align 4, !tbaa !14
  store i32 %272, ptr %39, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #6
  %273 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %274 = getelementptr inbounds i8, ptr %273, i64 4
  %275 = load i32, ptr %274, align 4, !tbaa !16
  store i32 %275, ptr %40, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #6
  %276 = load i32, ptr %12, align 4, !tbaa !8
  %277 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %278 = load i32, ptr %277, align 4, !tbaa !14
  %279 = sub nsw i32 %276, %278
  store i32 %279, ptr %41, align 4, !tbaa !8
  %280 = load i32, ptr %40, align 4, !tbaa !8
  %281 = add nsw i32 %279, 1
  %282 = icmp eq i32 %280, %281
  br i1 %282, label %283, label %317

283:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #6
  %284 = load i64, ptr %13, align 8, !tbaa !17
  store i64 %284, ptr %42, align 8, !tbaa !17
  %285 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEmmEi(ptr noundef nonnull align 8 dereferenceable(8) %42, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %43) #6
  store i32 0, ptr %43, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #6
  %286 = call ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %286, ptr %44, align 8
  %287 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #6
  br i1 %287, label %288, label %303

288:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #6
  %289 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #6
  %290 = load i32, ptr %289, align 4, !tbaa !14
  store i32 %290, ptr %45, align 4, !tbaa !8
  %291 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #6
  %292 = getelementptr inbounds i8, ptr %291, i64 4
  %293 = load i32, ptr %292, align 4, !tbaa !16
  store i32 %293, ptr %43, align 4, !tbaa !8
  %.sroa.010.0.copyload = load ptr, ptr %42, align 8, !tbaa !17
  %294 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.010.0.copyload)
          to label %295 unwind label %298

295:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #6
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %46, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %45) #6
  %296 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %46)
          to label %297 unwind label %300

297:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #6
  br label %303

298:                                              ; preds = %288
  %299 = landingpad { ptr, i32 }
          cleanup
  br label %302

300:                                              ; preds = %295
  %301 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #6
  br label %302

302:                                              ; preds = %300, %298
  %.pn = phi { ptr, i32 } [ %301, %300 ], [ %299, %298 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #6
  br label %316

303:                                              ; preds = %297, %283
  %304 = load i32, ptr %43, align 4, !tbaa !8
  %305 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %306 unwind label %312

306:                                              ; preds = %303
  %307 = add nsw i32 %304, 1
  store i32 %307, ptr %305, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %48) #6
  %308 = load i32, ptr %43, align 4, !tbaa !8
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %48, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %12) #6
  %310 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %47)
          to label %311 unwind label %314

311:                                              ; preds = %306
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #6
  br label %346

312:                                              ; preds = %303
  %313 = landingpad { ptr, i32 }
          cleanup
  br label %316

314:                                              ; preds = %306
  %315 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #6
  br label %316

316:                                              ; preds = %314, %312, %302
  %.pn73 = phi { ptr, i32 } [ %315, %314 ], [ %313, %312 ], [ %.pn, %302 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #6
  br label %360

317:                                              ; preds = %270
  %318 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %319 unwind label %338

319:                                              ; preds = %317
  store i32 1, ptr %318, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #6
  store i32 1, ptr %50, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiRiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %49, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %12) #6
  %320 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %49)
          to label %321 unwind label %340

321:                                              ; preds = %319
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #6
  %322 = load i32, ptr %40, align 4, !tbaa !8
  %323 = load i32, ptr %41, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #6
  %324 = load i32, ptr %12, align 4, !tbaa !8
  %325 = add nsw i32 %324, 1
  store i32 %325, ptr %51, align 4, !tbaa !8
  %326 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixEOi(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %51)
          to label %327 unwind label %342

327:                                              ; preds = %321
  %328 = xor i32 %323, -1
  %329 = add i32 %322, %328
  store i32 %329, ptr %326, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #6
  %330 = load i32, ptr %40, align 4, !tbaa !8
  %331 = load i32, ptr %41, align 4, !tbaa !8
  %332 = xor i32 %331, -1
  %333 = add i32 %330, %332
  store i32 %333, ptr %53, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #6
  %334 = load i32, ptr %12, align 4, !tbaa !8
  %335 = add nsw i32 %334, 1
  store i32 %335, ptr %54, align 4, !tbaa !8
  call void @_ZNSt5tupleIJiiEEC2IiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS3_T0_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %54) #6
  %336 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %52)
          to label %337 unwind label %344

337:                                              ; preds = %327
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #6
  br label %346

338:                                              ; preds = %350, %348, %317
  %339 = landingpad { ptr, i32 }
          cleanup
  br label %360

340:                                              ; preds = %319
  %341 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #6
  br label %360

342:                                              ; preds = %321
  %343 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #6
  br label %360

344:                                              ; preds = %327
  %345 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #6
  br label %360

346:                                              ; preds = %337, %311
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %55) #6
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %55, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %39) #6
  %347 = invoke noundef i64 @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %55)
          to label %348 unwind label %356

348:                                              ; preds = %346
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #6
  %.sroa.02.0.copyload = load ptr, ptr %13, align 8, !tbaa !17
  %349 = invoke ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr %.sroa.02.0.copyload)
          to label %350 unwind label %338

350:                                              ; preds = %348
  %351 = load i32, ptr %41, align 4, !tbaa !8
  %352 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %353 unwind label %338

353:                                              ; preds = %350
  store i32 %351, ptr %352, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %56) #6
  call void @_ZNSt5tupleIJiiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %56, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %39) #6
  %354 = invoke { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(8) %56)
          to label %355 unwind label %358

355:                                              ; preds = %353
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #6
  br label %361

356:                                              ; preds = %346
  %357 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #6
  br label %360

358:                                              ; preds = %353
  %359 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #6
  br label %360

360:                                              ; preds = %358, %356, %344, %342, %340, %338, %316
  %.pn75 = phi { ptr, i32 } [ %359, %358 ], [ %339, %338 ], [ %357, %356 ], [ %.pn73, %316 ], [ %345, %344 ], [ %343, %342 ], [ %341, %340 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #6
  br label %378

361:                                              ; preds = %196, %264, %355
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %57) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %58) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %59) #6
  call void @_ZNKSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %59, ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  %362 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorISt5tupleIJiiEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %60) #6
  call void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.12") align 8 %60, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %58) #6
  %363 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIRKT_RKT0_EEERS1_E4typeERKS_IJS4_S7_EE(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 4 dereferenceable(8) %362) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %60) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #6
  %364 = load i32, ptr %57, align 4, !tbaa !8
  %365 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %364)
          to label %366 unwind label %372

366:                                              ; preds = %361
  %367 = load i32, ptr %11, align 4, !tbaa !8
  %368 = add nsw i32 %367, -1
  %369 = icmp slt i32 %.07093, %368
  br i1 %369, label %370, label %374

370:                                              ; preds = %366
  %371 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %._crit_edge96 unwind label %372

._crit_edge96:                                    ; preds = %370
  %.pre97 = load i32, ptr %11, align 4, !tbaa !8
  br label %374

372:                                              ; preds = %370, %361
  %373 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %57) #6
  br label %378

374:                                              ; preds = %._crit_edge96, %366
  %375 = phi i32 [ %.pre97, %._crit_edge96 ], [ %367, %366 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %57) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  %376 = add nuw nsw i32 %.07093, 1
  %377 = icmp slt i32 %376, %375
  br i1 %377, label %.lr.ph94, label %._crit_edge95, !llvm.loop !19

378:                                              ; preds = %372, %360, %269, %199, %164, %162
  %.pn83 = phi { ptr, i32 } [ %373, %372 ], [ %.pn81, %199 ], [ %.pn79, %269 ], [ %.pn75, %360 ], [ %165, %164 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %380

379:                                              ; preds = %._crit_edge95
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  call void @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  ret i32 0

380:                                              ; preds = %160, %378, %114
  %.pn83.pn.pn = phi { ptr, i32 } [ %115, %114 ], [ %.pn83, %378 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  br label %381

381:                                              ; preds = %96, %98, %380, %112, %110
  %.pn87.pn = phi { ptr, i32 } [ %.pn83.pn.pn, %380 ], [ %113, %112 ], [ %111, %110 ], [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  call void @_ZNSt3mapIiiSt7greaterIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %382

382:                                              ; preds = %381, %77
  %.pn87.pn.pn = phi { ptr, i32 } [ %.pn87.pn, %381 ], [ %78, %77 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn87.pn.pn
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt5tupleIJiiEESt4lessIS1_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 nounwind uwtable
declare dso_local void @_ZNSt5tupleIJiiEEC2IRiiTnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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 #1

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.12") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

; 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

; 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 void @_ZNSt3setISt5tupleIJiiEESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2 align 2

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

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

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

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

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


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