; LLVM IR from tangjz/acm-icpc :: leetcode/extra/Pony.ai_003-路径规划 (main)

; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::vector<std::pair<int, int>>>, std::_Select1st<std::pair<const int, std::vector<std::pair<int, int>>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::vector<std::pair<int, int>>>, std::_Select1st<std::pair<const int, std::vector<std::pair<int, int>>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::map.5" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::vector<int>>, std::_Select1st<std::pair<const int, std::vector<int>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::vector<int>>, std::_Select1st<std::pair<const int, std::vector<int>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.10" = type { %"class.std::_Rb_tree.11" }
%"class.std::_Rb_tree.11" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, int>, std::_Select1st<std::pair<const std::pair<int, int>, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, int>, std::_Select1st<std::pair<const std::pair<int, int>, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon = type { ptr, ptr, ptr }
%class.anon.26 = type { i8 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.41" = type { i8 }
%"class.std::allocator.34" = type { i8 }
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.51" = type { i8 }
%"class.std::allocator.46" = type { i8 }
%"class.std::priority_queue" = type <{ %"class.std::vector.54", [8 x i8] }>
%"class.std::vector.54" = type { %"struct.std::_Vector_base.55" }
%"struct.std::_Vector_base.55" = type { %"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.59" = type { i64, %"struct.std::pair" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.61", %"struct.std::_Head_base.62" }
%"struct.std::_Tuple_impl.61" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.62" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.63" = type { ptr }
%"struct.std::pair.3" = type { i32, %"class.std::vector" }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZL3INF = external hidden constant i64, align 8
@.str.3 = external hidden unnamed_addr constant [6 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 i32, align 4
  %3 = alloca %"class.std::map", align 8
  %4 = alloca %"class.std::map", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::pair", align 4
  %12 = alloca %"struct.std::pair", align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %22 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %35 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %44 = alloca ptr, align 8
  %45 = alloca %"class.std::map.5", align 8
  %46 = alloca %"class.std::map.5", align 8
  %47 = alloca %"class.std::map.10", align 8
  %48 = alloca %"class.std::vector", align 8
  %49 = alloca %"class.std::vector.16", align 8
  %50 = alloca %class.anon, align 8
  %51 = alloca ptr, align 8
  %52 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %53 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %58 = alloca ptr, align 8
  %59 = alloca ptr, align 8
  %60 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %61 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %62 = alloca ptr, align 8
  %63 = alloca ptr, align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %65 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %66 = alloca ptr, align 8
  %67 = alloca %class.anon.26, align 1
  %68 = alloca ptr, align 8
  %69 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %70 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %71 = alloca ptr, align 8
  %72 = alloca i32, align 4
  %73 = alloca ptr, align 8
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca ptr, align 8
  %78 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %79 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %80 = alloca ptr, align 8
  %81 = alloca i32, align 4
  %82 = alloca i32, align 4
  %83 = alloca ptr, align 8
  %84 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %85 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %86 = alloca ptr, align 8
  %87 = alloca i32, align 4
  %88 = alloca ptr, align 8
  %89 = alloca i32, align 4
  %90 = alloca i32, align 4
  %91 = alloca i32, align 4
  %92 = alloca ptr, align 8
  %93 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %94 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %95 = alloca ptr, align 8
  %96 = alloca i32, align 4
  %97 = alloca i32, align 4
  %98 = alloca i32, align 4
  %99 = alloca i32, align 4
  %100 = alloca i32, align 4
  %101 = alloca %"class.std::vector.32", align 8
  %102 = alloca %"class.std::vector.37", align 8
  %103 = alloca %"class.std::allocator.41", align 1
  %104 = alloca %"class.std::allocator.34", align 1
  %105 = alloca %"class.std::vector.44", align 8
  %106 = alloca %"class.std::vector.49", align 8
  %107 = alloca %"class.std::allocator.51", align 1
  %108 = alloca %"class.std::allocator.46", align 1
  %109 = alloca %"class.std::priority_queue", align 8
  %110 = alloca i32, align 4
  %111 = alloca %"struct.std::pair.59", align 8
  %112 = alloca i64, align 8
  %113 = alloca %"struct.std::pair", align 4
  %114 = alloca i32, align 4
  %115 = alloca i32, align 4
  %116 = alloca %"class.std::tuple", align 8
  %117 = alloca %"struct.std::_Bit_reference", align 8
  %118 = alloca %"struct.std::_Bit_reference", align 8
  %119 = alloca i64, align 8
  %120 = alloca ptr, align 8
  %121 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %122 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %123 = alloca i32, align 4
  %124 = alloca i64, align 8
  %125 = alloca i32, align 4
  %126 = alloca i64, align 8
  %127 = alloca %"struct.std::pair.59", align 8
  %128 = alloca i64, align 8
  %129 = alloca %"struct.std::pair", align 4
  %130 = alloca i32, align 4
  %131 = alloca i64, align 8
  %132 = alloca %"struct.std::pair.59", align 8
  %133 = alloca i64, align 8
  %134 = alloca %"struct.std::pair", align 4
  %135 = alloca i32, align 4
  %136 = alloca i64, align 8
  %137 = alloca %"struct.std::pair.59", align 8
  %138 = alloca i64, align 8
  %139 = alloca %"struct.std::pair", align 4
  %140 = alloca i64, align 8
  %141 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %4) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  %142 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
          to label %143 unwind label %163

143:                                              ; preds = %0
  br label %144

144:                                              ; preds = %193, %143
  %145 = load i32, ptr %2, align 4, !tbaa !5
  %146 = add nsw i32 %145, -1
  store i32 %146, ptr %2, align 4, !tbaa !5
  %147 = icmp ne i32 %145, 0
  br i1 %147, label %148, label %195

148:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %149 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10)
          to label %150 unwind label %167

150:                                              ; preds = %148
  %151 = load i32, ptr %7, align 4, !tbaa !5
  %152 = load i32, ptr %9, align 4, !tbaa !5
  %153 = icmp eq i32 %151, %152
  br i1 %153, label %154, label %175

154:                                              ; preds = %150
  %155 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %156 unwind label %167

156:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %157 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %158 unwind label %171

158:                                              ; preds = %156
  %159 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %160 unwind label %171

160:                                              ; preds = %158
  invoke void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKiS8_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %157, ptr noundef nonnull align 4 dereferenceable(4) %159)
          to label %161 unwind label %171

161:                                              ; preds = %160
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef nonnull align 4 dereferenceable(8) %11)
          to label %162 unwind label %171

162:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %193

163:                                              ; preds = %0
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %5, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %6, align 4
  br label %1262

167:                                              ; preds = %179, %154, %148
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %5, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %6, align 4
  br label %194

171:                                              ; preds = %161, %160, %158, %156
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %5, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %194

175:                                              ; preds = %150
  %176 = load i32, ptr %8, align 4, !tbaa !5
  %177 = load i32, ptr %10, align 4, !tbaa !5
  %178 = icmp eq i32 %176, %177
  br i1 %178, label %179, label %192

179:                                              ; preds = %175
  %180 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %181 unwind label %167

181:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %182 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %183 unwind label %188

183:                                              ; preds = %181
  %184 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %185 unwind label %188

185:                                              ; preds = %183
  invoke void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKiS8_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %182, ptr noundef nonnull align 4 dereferenceable(4) %184)
          to label %186 unwind label %188

186:                                              ; preds = %185
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %180, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %187 unwind label %188

187:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %192

188:                                              ; preds = %186, %185, %183, %181
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %5, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %194

192:                                              ; preds = %187, %175
  br label %193

193:                                              ; preds = %192, %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %144, !llvm.loop !9

194:                                              ; preds = %188, %171, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %1262

195:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %196 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19)
          to label %197 unwind label %213

197:                                              ; preds = %195
  %198 = load i64, ptr %17, align 8, !tbaa !11
  %199 = load i64, ptr %18, align 8, !tbaa !11
  %200 = add nsw i64 %199, %198
  store i64 %200, ptr %18, align 8, !tbaa !11
  %201 = load i64, ptr %18, align 8, !tbaa !11
  %202 = load i64, ptr %19, align 8, !tbaa !11
  %203 = add nsw i64 %202, %201
  store i64 %203, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store ptr %3, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %204 = load ptr, ptr %20, align 8, !tbaa !13
  %205 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %204) #7
  %206 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %21, i32 0, i32 0
  store ptr %205, ptr %206, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %207 = load ptr, ptr %20, align 8, !tbaa !13
  %208 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %207) #7
  %209 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %22, i32 0, i32 0
  store ptr %208, ptr %209, align 8
  br label %210

210:                                              ; preds = %301, %197
  %211 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %211, label %217, label %212

212:                                              ; preds = %210
  store i32 4, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %309

213:                                              ; preds = %195
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %5, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %6, align 4
  br label %1261

217:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %218 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  store ptr %218, ptr %24, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %219 = load ptr, ptr %24, align 8, !tbaa !13
  %220 = getelementptr inbounds %"struct.std::pair.3", ptr %219, i32 0, i32 1
  store ptr %220, ptr %25, align 8, !tbaa !13
  %221 = load ptr, ptr %25, align 8, !tbaa !13
  %222 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %221) #7
  %223 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %222, ptr %223, align 8
  %224 = load ptr, ptr %25, align 8, !tbaa !13
  %225 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %224) #7
  %226 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %225, ptr %226, align 8
  %227 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8
  %229 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %228, ptr %230)
          to label %231 unwind label %242

231:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %232 = load ptr, ptr %25, align 8, !tbaa !13
  store ptr %232, ptr %29, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %233 = load ptr, ptr %29, align 8, !tbaa !13
  %234 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %233) #7
  %235 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %234, ptr %235, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %236 = load ptr, ptr %29, align 8, !tbaa !13
  %237 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %236) #7
  %238 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  store ptr %237, ptr %238, align 8
  br label %239

239:                                              ; preds = %294, %231
  %240 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br i1 %240, label %246, label %241

241:                                              ; preds = %239
  store i32 6, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %296

242:                                              ; preds = %217
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %5, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %6, align 4
  br label %308

246:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %247 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  store ptr %247, ptr %32, align 8, !tbaa !13
  %248 = load i32, ptr %28, align 4, !tbaa !5
  %249 = icmp ne i32 %248, 0
  br i1 %249, label %250, label %262

250:                                              ; preds = %246
  %251 = load ptr, ptr %25, align 8, !tbaa !13
  %252 = load i32, ptr %28, align 4, !tbaa !5
  %253 = sub nsw i32 %252, 1
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %254) #7
  %256 = getelementptr inbounds %"struct.std::pair", ptr %255, i32 0, i32 1
  %257 = load i32, ptr %256, align 4, !tbaa !15
  %258 = load ptr, ptr %32, align 8, !tbaa !13
  %259 = getelementptr inbounds %"struct.std::pair", ptr %258, i32 0, i32 0
  %260 = load i32, ptr %259, align 4, !tbaa !17
  %261 = icmp slt i32 %257, %260
  br i1 %261, label %262, label %275

262:                                              ; preds = %250, %246
  %263 = load ptr, ptr %32, align 8, !tbaa !13
  %264 = load ptr, ptr %25, align 8, !tbaa !13
  %265 = load i32, ptr %28, align 4, !tbaa !5
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %28, align 4, !tbaa !5
  %267 = sext i32 %265 to i64
  %268 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %264, i64 noundef %267) #7
  %269 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %268, ptr noundef nonnull align 4 dereferenceable(8) %263)
          to label %270 unwind label %271

270:                                              ; preds = %262
  br label %293

271:                                              ; preds = %275, %262
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %5, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %307

275:                                              ; preds = %250
  %276 = load ptr, ptr %25, align 8, !tbaa !13
  %277 = load i32, ptr %28, align 4, !tbaa !5
  %278 = sub nsw i32 %277, 1
  %279 = sext i32 %278 to i64
  %280 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %276, i64 noundef %279) #7
  %281 = getelementptr inbounds %"struct.std::pair", ptr %280, i32 0, i32 1
  %282 = load ptr, ptr %32, align 8, !tbaa !13
  %283 = getelementptr inbounds %"struct.std::pair", ptr %282, i32 0, i32 1
  %284 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %281, ptr noundef nonnull align 4 dereferenceable(4) %283)
          to label %285 unwind label %271

285:                                              ; preds = %275
  %286 = load i32, ptr %284, align 4, !tbaa !5
  %287 = load ptr, ptr %25, align 8, !tbaa !13
  %288 = load i32, ptr %28, align 4, !tbaa !5
  %289 = sub nsw i32 %288, 1
  %290 = sext i32 %289 to i64
  %291 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %287, i64 noundef %290) #7
  %292 = getelementptr inbounds %"struct.std::pair", ptr %291, i32 0, i32 1
  store i32 %286, ptr %292, align 4, !tbaa !15
  br label %293

293:                                              ; preds = %285, %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %294

294:                                              ; preds = %293
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  br label %239

296:                                              ; preds = %241
  %297 = load ptr, ptr %25, align 8, !tbaa !13
  %298 = load i32, ptr %28, align 4, !tbaa !5
  %299 = sext i32 %298 to i64
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %297, i64 noundef %299)
          to label %300 unwind label %303

300:                                              ; preds = %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %301

301:                                              ; preds = %300
  %302 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %210

303:                                              ; preds = %296
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %5, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %6, align 4
  br label %307

307:                                              ; preds = %303, %271
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %308

308:                                              ; preds = %307, %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %1261

309:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  store ptr %4, ptr %33, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %310 = load ptr, ptr %33, align 8, !tbaa !13
  %311 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %310) #7
  %312 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %34, i32 0, i32 0
  store ptr %311, ptr %312, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %313 = load ptr, ptr %33, align 8, !tbaa !13
  %314 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %313) #7
  %315 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %35, i32 0, i32 0
  store ptr %314, ptr %315, align 8
  br label %316

316:                                              ; preds = %403, %309
  %317 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br i1 %317, label %319, label %318

318:                                              ; preds = %316
  store i32 8, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %411

319:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %320 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  store ptr %320, ptr %36, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %321 = load ptr, ptr %36, align 8, !tbaa !13
  %322 = getelementptr inbounds %"struct.std::pair.3", ptr %321, i32 0, i32 1
  store ptr %322, ptr %37, align 8, !tbaa !13
  %323 = load ptr, ptr %37, align 8, !tbaa !13
  %324 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %323) #7
  %325 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %38, i32 0, i32 0
  store ptr %324, ptr %325, align 8
  %326 = load ptr, ptr %37, align 8, !tbaa !13
  %327 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %326) #7
  %328 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  store ptr %327, ptr %328, align 8
  %329 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %38, i32 0, i32 0
  %330 = load ptr, ptr %329, align 8
  %331 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  %332 = load ptr, ptr %331, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %330, ptr %332)
          to label %333 unwind label %344

333:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  store i32 0, ptr %40, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %334 = load ptr, ptr %37, align 8, !tbaa !13
  store ptr %334, ptr %41, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %335 = load ptr, ptr %41, align 8, !tbaa !13
  %336 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %335) #7
  %337 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  store ptr %336, ptr %337, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %338 = load ptr, ptr %41, align 8, !tbaa !13
  %339 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %338) #7
  %340 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %43, i32 0, i32 0
  store ptr %339, ptr %340, align 8
  br label %341

341:                                              ; preds = %396, %333
  %342 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  br i1 %342, label %348, label %343

343:                                              ; preds = %341
  store i32 10, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %398

344:                                              ; preds = %319
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %5, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %6, align 4
  br label %410

348:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %349 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  store ptr %349, ptr %44, align 8, !tbaa !13
  %350 = load i32, ptr %40, align 4, !tbaa !5
  %351 = icmp ne i32 %350, 0
  br i1 %351, label %352, label %364

352:                                              ; preds = %348
  %353 = load ptr, ptr %37, align 8, !tbaa !13
  %354 = load i32, ptr %40, align 4, !tbaa !5
  %355 = sub nsw i32 %354, 1
  %356 = sext i32 %355 to i64
  %357 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %353, i64 noundef %356) #7
  %358 = getelementptr inbounds %"struct.std::pair", ptr %357, i32 0, i32 1
  %359 = load i32, ptr %358, align 4, !tbaa !15
  %360 = load ptr, ptr %44, align 8, !tbaa !13
  %361 = getelementptr inbounds %"struct.std::pair", ptr %360, i32 0, i32 0
  %362 = load i32, ptr %361, align 4, !tbaa !17
  %363 = icmp slt i32 %359, %362
  br i1 %363, label %364, label %377

364:                                              ; preds = %352, %348
  %365 = load ptr, ptr %44, align 8, !tbaa !13
  %366 = load ptr, ptr %37, align 8, !tbaa !13
  %367 = load i32, ptr %40, align 4, !tbaa !5
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %40, align 4, !tbaa !5
  %369 = sext i32 %367 to i64
  %370 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %366, i64 noundef %369) #7
  %371 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %370, ptr noundef nonnull align 4 dereferenceable(8) %365)
          to label %372 unwind label %373

372:                                              ; preds = %364
  br label %395

373:                                              ; preds = %377, %364
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %5, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %409

377:                                              ; preds = %352
  %378 = load ptr, ptr %37, align 8, !tbaa !13
  %379 = load i32, ptr %40, align 4, !tbaa !5
  %380 = sub nsw i32 %379, 1
  %381 = sext i32 %380 to i64
  %382 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %378, i64 noundef %381) #7
  %383 = getelementptr inbounds %"struct.std::pair", ptr %382, i32 0, i32 1
  %384 = load ptr, ptr %44, align 8, !tbaa !13
  %385 = getelementptr inbounds %"struct.std::pair", ptr %384, i32 0, i32 1
  %386 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %383, ptr noundef nonnull align 4 dereferenceable(4) %385)
          to label %387 unwind label %373

387:                                              ; preds = %377
  %388 = load i32, ptr %386, align 4, !tbaa !5
  %389 = load ptr, ptr %37, align 8, !tbaa !13
  %390 = load i32, ptr %40, align 4, !tbaa !5
  %391 = sub nsw i32 %390, 1
  %392 = sext i32 %391 to i64
  %393 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %389, i64 noundef %392) #7
  %394 = getelementptr inbounds %"struct.std::pair", ptr %393, i32 0, i32 1
  store i32 %388, ptr %394, align 4, !tbaa !15
  br label %395

395:                                              ; preds = %387, %372
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %396

396:                                              ; preds = %395
  %397 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  br label %341

398:                                              ; preds = %343
  %399 = load ptr, ptr %37, align 8, !tbaa !13
  %400 = load i32, ptr %40, align 4, !tbaa !5
  %401 = sext i32 %400 to i64
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %399, i64 noundef %401)
          to label %402 unwind label %405

402:                                              ; preds = %398
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %403

403:                                              ; preds = %402
  %404 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br label %316

405:                                              ; preds = %398
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %5, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %6, align 4
  br label %409

409:                                              ; preds = %405, %373
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %410

410:                                              ; preds = %409, %344
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %1261

411:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %46) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %47) #7
  call void @_ZNSt3mapISt4pairIiiEiSt4lessIS1_ESaIS0_IKS1_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #7
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #7
  %412 = getelementptr inbounds %class.anon, ptr %50, i32 0, i32 0
  store ptr %47, ptr %412, align 8, !tbaa !13
  %413 = getelementptr inbounds %class.anon, ptr %50, i32 0, i32 1
  store ptr %48, ptr %413, align 8, !tbaa !13
  %414 = getelementptr inbounds %class.anon, ptr %50, i32 0, i32 2
  store ptr %49, ptr %414, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  store ptr %3, ptr %51, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  %415 = load ptr, ptr %51, align 8, !tbaa !13
  %416 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %415) #7
  %417 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %52, i32 0, i32 0
  store ptr %416, ptr %417, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  %418 = load ptr, ptr %51, align 8, !tbaa !13
  %419 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %418) #7
  %420 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %53, i32 0, i32 0
  store ptr %419, ptr %420, align 8
  br label %421

421:                                              ; preds = %527, %411
  %422 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  br i1 %422, label %424, label %423

423:                                              ; preds = %421
  store i32 12, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %529

424:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #7
  %425 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  store ptr %425, ptr %54, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  %426 = load ptr, ptr %54, align 8, !tbaa !13
  %427 = getelementptr inbounds %"struct.std::pair.3", ptr %426, i32 0, i32 1
  store ptr %427, ptr %55, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  %428 = load ptr, ptr %55, align 8, !tbaa !13
  %429 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %428) #7
  %430 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %56, i32 0, i32 0
  store ptr %429, ptr %430, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  %431 = load ptr, ptr %55, align 8, !tbaa !13
  %432 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %431) #7
  %433 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %57, i32 0, i32 0
  store ptr %432, ptr %433, align 8
  br label %434

434:                                              ; preds = %524, %424
  %435 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %57) #7
  br i1 %435, label %437, label %436

436:                                              ; preds = %434
  store i32 14, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  br label %526

437:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  %438 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #7
  store ptr %438, ptr %58, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #7
  store ptr %4, ptr %59, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #7
  %439 = load ptr, ptr %59, align 8, !tbaa !13
  %440 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %439) #7
  %441 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %60, i32 0, i32 0
  store ptr %440, ptr %441, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #7
  %442 = load ptr, ptr %59, align 8, !tbaa !13
  %443 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %442) #7
  %444 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %61, i32 0, i32 0
  store ptr %443, ptr %444, align 8
  br label %445

445:                                              ; preds = %521, %437
  %446 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 8 dereferenceable(8) %61) #7
  br i1 %446, label %448, label %447

447:                                              ; preds = %445
  store i32 16, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #7
  br label %523

448:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #7
  %449 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #7
  store ptr %449, ptr %62, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #7
  %450 = load ptr, ptr %62, align 8, !tbaa !13
  %451 = getelementptr inbounds %"struct.std::pair.3", ptr %450, i32 0, i32 1
  store ptr %451, ptr %63, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #7
  %452 = load ptr, ptr %63, align 8, !tbaa !13
  %453 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %452) #7
  %454 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %64, i32 0, i32 0
  store ptr %453, ptr %454, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #7
  %455 = load ptr, ptr %63, align 8, !tbaa !13
  %456 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %455) #7
  %457 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %65, i32 0, i32 0
  store ptr %456, ptr %457, align 8
  br label %458

458:                                              ; preds = %514, %448
  %459 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %65) #7
  br i1 %459, label %461, label %460

460:                                              ; preds = %458
  store i32 18, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  br label %520

461:                                              ; preds = %458
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #7
  %462 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #7
  store ptr %462, ptr %66, align 8, !tbaa !13
  %463 = load ptr, ptr %54, align 8, !tbaa !13
  %464 = getelementptr inbounds %"struct.std::pair.3", ptr %463, i32 0, i32 0
  %465 = load i32, ptr %464, align 8, !tbaa !18
  %466 = load ptr, ptr %66, align 8, !tbaa !13
  %467 = getelementptr inbounds %"struct.std::pair", ptr %466, i32 0, i32 0
  %468 = load i32, ptr %467, align 4, !tbaa !17
  %469 = icmp slt i32 %465, %468
  br i1 %469, label %478, label %470

470:                                              ; preds = %461
  %471 = load ptr, ptr %54, align 8, !tbaa !13
  %472 = getelementptr inbounds %"struct.std::pair.3", ptr %471, i32 0, i32 0
  %473 = load i32, ptr %472, align 8, !tbaa !18
  %474 = load ptr, ptr %66, align 8, !tbaa !13
  %475 = getelementptr inbounds %"struct.std::pair", ptr %474, i32 0, i32 1
  %476 = load i32, ptr %475, align 4, !tbaa !15
  %477 = icmp sgt i32 %473, %476
  br i1 %477, label %478, label %479

478:                                              ; preds = %470, %461
  store i32 19, ptr %23, align 4
  br label %511

479:                                              ; preds = %470
  %480 = load ptr, ptr %62, align 8, !tbaa !13
  %481 = getelementptr inbounds %"struct.std::pair.3", ptr %480, i32 0, i32 0
  %482 = load i32, ptr %481, align 8, !tbaa !18
  %483 = load ptr, ptr %58, align 8, !tbaa !13
  %484 = getelementptr inbounds %"struct.std::pair", ptr %483, i32 0, i32 0
  %485 = load i32, ptr %484, align 4, !tbaa !17
  %486 = icmp slt i32 %482, %485
  br i1 %486, label %495, label %487

487:                                              ; preds = %479
  %488 = load ptr, ptr %62, align 8, !tbaa !13
  %489 = getelementptr inbounds %"struct.std::pair.3", ptr %488, i32 0, i32 0
  %490 = load i32, ptr %489, align 8, !tbaa !18
  %491 = load ptr, ptr %58, align 8, !tbaa !13
  %492 = getelementptr inbounds %"struct.std::pair", ptr %491, i32 0, i32 1
  %493 = load i32, ptr %492, align 4, !tbaa !15
  %494 = icmp sgt i32 %490, %493
  br i1 %494, label %495, label %496

495:                                              ; preds = %487, %479
  store i32 19, ptr %23, align 4
  br label %511

496:                                              ; preds = %487
  %497 = load ptr, ptr %54, align 8, !tbaa !13
  %498 = getelementptr inbounds %"struct.std::pair.3", ptr %497, i32 0, i32 0
  %499 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 4 dereferenceable(4) %498)
          to label %500 unwind label %516

500:                                              ; preds = %496
  %501 = load ptr, ptr %62, align 8, !tbaa !13
  %502 = getelementptr inbounds %"struct.std::pair.3", ptr %501, i32 0, i32 0
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %499, ptr noundef nonnull align 4 dereferenceable(4) %502)
          to label %503 unwind label %516

503:                                              ; preds = %500
  %504 = load ptr, ptr %62, align 8, !tbaa !13
  %505 = getelementptr inbounds %"struct.std::pair.3", ptr %504, i32 0, i32 0
  %506 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 4 dereferenceable(4) %505)
          to label %507 unwind label %516

507:                                              ; preds = %503
  %508 = load ptr, ptr %54, align 8, !tbaa !13
  %509 = getelementptr inbounds %"struct.std::pair.3", ptr %508, i32 0, i32 0
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %506, ptr noundef nonnull align 4 dereferenceable(4) %509)
          to label %510 unwind label %516

510:                                              ; preds = %507
  store i32 0, ptr %23, align 4
  br label %511

511:                                              ; preds = %510, %495, %478
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #7
  %512 = load i32, ptr %23, align 4
  switch i32 %512, label %1268 [
    i32 0, label %513
    i32 19, label %514
  ]

513:                                              ; preds = %511
  br label %514

514:                                              ; preds = %513, %511
  %515 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #7
  br label %458

516:                                              ; preds = %507, %503, %500, %496
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %5, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %1260

520:                                              ; preds = %460
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  br label %521

521:                                              ; preds = %520
  %522 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #7
  br label %445

523:                                              ; preds = %447
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  br label %524

524:                                              ; preds = %523
  %525 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #7
  br label %434

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

527:                                              ; preds = %526
  %528 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  br label %421

529:                                              ; preds = %423
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #7
  %530 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %531 unwind label %555

531:                                              ; preds = %529
  %532 = load i32, ptr %14, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %67, ptr noundef nonnull align 8 dereferenceable(24) %530, i32 noundef %532)
          to label %533 unwind label %555

533:                                              ; preds = %531
  %534 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %535 unwind label %555

535:                                              ; preds = %533
  %536 = load i32, ptr %13, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %67, ptr noundef nonnull align 8 dereferenceable(24) %534, i32 noundef %536)
          to label %537 unwind label %555

537:                                              ; preds = %535
  %538 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %539 unwind label %555

539:                                              ; preds = %537
  %540 = load i32, ptr %16, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %67, ptr noundef nonnull align 8 dereferenceable(24) %538, i32 noundef %540)
          to label %541 unwind label %555

541:                                              ; preds = %539
  %542 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %543 unwind label %555

543:                                              ; preds = %541
  %544 = load i32, ptr %15, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %67, ptr noundef nonnull align 8 dereferenceable(24) %542, i32 noundef %544)
          to label %545 unwind label %555

545:                                              ; preds = %543
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #7
  store ptr %3, ptr %68, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #7
  %546 = load ptr, ptr %68, align 8, !tbaa !13
  %547 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %546) #7
  %548 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %69, i32 0, i32 0
  store ptr %547, ptr %548, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #7
  %549 = load ptr, ptr %68, align 8, !tbaa !13
  %550 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %549) #7
  %551 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %70, i32 0, i32 0
  store ptr %550, ptr %551, align 8
  br label %552

552:                                              ; preds = %702, %545
  %553 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %70) #7
  br i1 %553, label %559, label %554

554:                                              ; preds = %552
  store i32 20, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  br label %705

555:                                              ; preds = %543, %541, %539, %537, %535, %533, %531, %529
  %556 = landingpad { ptr, i32 }
          cleanup
  %557 = extractvalue { ptr, i32 } %556, 0
  store ptr %557, ptr %5, align 8
  %558 = extractvalue { ptr, i32 } %556, 1
  store i32 %558, ptr %6, align 4
  br label %1259

559:                                              ; preds = %552
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #7
  %560 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #7
  store ptr %560, ptr %71, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #7
  %561 = load ptr, ptr %71, align 8, !tbaa !13
  %562 = getelementptr inbounds %"struct.std::pair.3", ptr %561, i32 0, i32 0
  %563 = load i32, ptr %562, align 8, !tbaa !18
  store i32 %563, ptr %72, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #7
  %564 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 4 dereferenceable(4) %72)
          to label %565 unwind label %580

565:                                              ; preds = %559
  store ptr %564, ptr %73, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #7
  %566 = load ptr, ptr %73, align 8, !tbaa !13
  %567 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %566) #7
  %568 = trunc i64 %567 to i32
  store i32 %568, ptr %74, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #7
  store i32 0, ptr %75, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #7
  store i32 0, ptr %76, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #7
  %569 = load ptr, ptr %71, align 8, !tbaa !13
  %570 = getelementptr inbounds %"struct.std::pair.3", ptr %569, i32 0, i32 1
  store ptr %570, ptr %77, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #7
  %571 = load ptr, ptr %77, align 8, !tbaa !13
  %572 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %571) #7
  %573 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %78, i32 0, i32 0
  store ptr %572, ptr %573, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #7
  %574 = load ptr, ptr %77, align 8, !tbaa !13
  %575 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %574) #7
  %576 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %79, i32 0, i32 0
  store ptr %575, ptr %576, align 8
  br label %577

577:                                              ; preds = %698, %565
  %578 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull align 8 dereferenceable(8) %79) #7
  br i1 %578, label %584, label %579

579:                                              ; preds = %577
  store i32 22, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #7
  br label %701

580:                                              ; preds = %559
  %581 = landingpad { ptr, i32 }
          cleanup
  %582 = extractvalue { ptr, i32 } %581, 0
  store ptr %582, ptr %5, align 8
  %583 = extractvalue { ptr, i32 } %581, 1
  store i32 %583, ptr %6, align 4
  br label %704

584:                                              ; preds = %577
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #7
  %585 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #7
  store ptr %585, ptr %80, align 8, !tbaa !13
  br label %586

586:                                              ; preds = %603, %584
  %587 = load i32, ptr %75, align 4, !tbaa !5
  %588 = load i32, ptr %74, align 4, !tbaa !5
  %589 = icmp slt i32 %587, %588
  br i1 %589, label %590, label %600

590:                                              ; preds = %586
  %591 = load ptr, ptr %73, align 8, !tbaa !13
  %592 = load i32, ptr %75, align 4, !tbaa !5
  %593 = sext i32 %592 to i64
  %594 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %591, i64 noundef %593) #7
  %595 = load i32, ptr %594, align 4, !tbaa !5
  %596 = load ptr, ptr %80, align 8, !tbaa !13
  %597 = getelementptr inbounds %"struct.std::pair", ptr %596, i32 0, i32 0
  %598 = load i32, ptr %597, align 4, !tbaa !17
  %599 = icmp slt i32 %595, %598
  br label %600

600:                                              ; preds = %590, %586
  %601 = phi i1 [ false, %586 ], [ %599, %590 ]
  br i1 %601, label %602, label %606

602:                                              ; preds = %600
  br label %603

603:                                              ; preds = %602
  %604 = load i32, ptr %75, align 4, !tbaa !5
  %605 = add nsw i32 %604, 1
  store i32 %605, ptr %75, align 4, !tbaa !5
  br label %586, !llvm.loop !24

606:                                              ; preds = %600
  %607 = load ptr, ptr %73, align 8, !tbaa !13
  %608 = load i32, ptr %75, align 4, !tbaa !5
  %609 = sext i32 %608 to i64
  %610 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %607, i64 noundef %609) #7
  %611 = load i32, ptr %610, align 4, !tbaa !5
  %612 = load ptr, ptr %80, align 8, !tbaa !13
  %613 = getelementptr inbounds %"struct.std::pair", ptr %612, i32 0, i32 1
  %614 = load i32, ptr %613, align 4, !tbaa !15
  %615 = icmp sgt i32 %611, %614
  br i1 %615, label %616, label %617

616:                                              ; preds = %606
  store i32 23, ptr %23, align 4
  br label %695

617:                                              ; preds = %606
  %618 = load i32, ptr %75, align 4, !tbaa !5
  %619 = add nsw i32 %618, 1
  store i32 %619, ptr %76, align 4, !tbaa !5
  br label %620

620:                                              ; preds = %679, %617
  %621 = load i32, ptr %76, align 4, !tbaa !5
  %622 = load i32, ptr %74, align 4, !tbaa !5
  %623 = icmp slt i32 %621, %622
  br i1 %623, label %624, label %634

624:                                              ; preds = %620
  %625 = load ptr, ptr %73, align 8, !tbaa !13
  %626 = load i32, ptr %76, align 4, !tbaa !5
  %627 = sext i32 %626 to i64
  %628 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %625, i64 noundef %627) #7
  %629 = load i32, ptr %628, align 4, !tbaa !5
  %630 = load ptr, ptr %80, align 8, !tbaa !13
  %631 = getelementptr inbounds %"struct.std::pair", ptr %630, i32 0, i32 1
  %632 = load i32, ptr %631, align 4, !tbaa !15
  %633 = icmp sle i32 %629, %632
  br label %634

634:                                              ; preds = %624, %620
  %635 = phi i1 [ false, %620 ], [ %633, %624 ]
  br i1 %635, label %636, label %694

636:                                              ; preds = %634
  %637 = load i32, ptr %72, align 4, !tbaa !5
  %638 = load ptr, ptr %73, align 8, !tbaa !13
  %639 = load i32, ptr %76, align 4, !tbaa !5
  %640 = sext i32 %639 to i64
  %641 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %638, i64 noundef %640) #7
  %642 = load i32, ptr %641, align 4, !tbaa !5
  %643 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %637, i32 noundef %642)
          to label %644 unwind label %682

644:                                              ; preds = %636
  %645 = sext i32 %643 to i64
  %646 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %645) #7
  %647 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %646, i64 noundef 2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #7
  %648 = load i32, ptr %72, align 4, !tbaa !5
  %649 = load ptr, ptr %73, align 8, !tbaa !13
  %650 = load i32, ptr %76, align 4, !tbaa !5
  %651 = sub nsw i32 %650, 1
  %652 = sext i32 %651 to i64
  %653 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %649, i64 noundef %652) #7
  %654 = load i32, ptr %653, align 4, !tbaa !5
  %655 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %648, i32 noundef %654)
          to label %656 unwind label %686

656:                                              ; preds = %644
  store i32 %655, ptr %81, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %647, ptr noundef nonnull align 4 dereferenceable(4) %81)
          to label %657 unwind label %686

657:                                              ; preds = %656
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #7
  %658 = load i32, ptr %72, align 4, !tbaa !5
  %659 = load ptr, ptr %73, align 8, !tbaa !13
  %660 = load i32, ptr %76, align 4, !tbaa !5
  %661 = sub nsw i32 %660, 1
  %662 = sext i32 %661 to i64
  %663 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %659, i64 noundef %662) #7
  %664 = load i32, ptr %663, align 4, !tbaa !5
  %665 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %658, i32 noundef %664)
          to label %666 unwind label %682

666:                                              ; preds = %657
  %667 = sext i32 %665 to i64
  %668 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %667) #7
  %669 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %668, i64 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #7
  %670 = load i32, ptr %72, align 4, !tbaa !5
  %671 = load ptr, ptr %73, align 8, !tbaa !13
  %672 = load i32, ptr %76, align 4, !tbaa !5
  %673 = sext i32 %672 to i64
  %674 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %671, i64 noundef %673) #7
  %675 = load i32, ptr %674, align 4, !tbaa !5
  %676 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %670, i32 noundef %675)
          to label %677 unwind label %690

677:                                              ; preds = %666
  store i32 %676, ptr %82, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %669, ptr noundef nonnull align 4 dereferenceable(4) %82)
          to label %678 unwind label %690

678:                                              ; preds = %677
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #7
  br label %679

679:                                              ; preds = %678
  %680 = load i32, ptr %76, align 4, !tbaa !5
  %681 = add nsw i32 %680, 1
  store i32 %681, ptr %76, align 4, !tbaa !5
  br label %620, !llvm.loop !25

682:                                              ; preds = %657, %636
  %683 = landingpad { ptr, i32 }
          cleanup
  %684 = extractvalue { ptr, i32 } %683, 0
  store ptr %684, ptr %5, align 8
  %685 = extractvalue { ptr, i32 } %683, 1
  store i32 %685, ptr %6, align 4
  br label %700

686:                                              ; preds = %656, %644
  %687 = landingpad { ptr, i32 }
          cleanup
  %688 = extractvalue { ptr, i32 } %687, 0
  store ptr %688, ptr %5, align 8
  %689 = extractvalue { ptr, i32 } %687, 1
  store i32 %689, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #7
  br label %700

690:                                              ; preds = %677, %666
  %691 = landingpad { ptr, i32 }
          cleanup
  %692 = extractvalue { ptr, i32 } %691, 0
  store ptr %692, ptr %5, align 8
  %693 = extractvalue { ptr, i32 } %691, 1
  store i32 %693, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #7
  br label %700

694:                                              ; preds = %634
  store i32 0, ptr %23, align 4
  br label %695

695:                                              ; preds = %694, %616
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  %696 = load i32, ptr %23, align 4
  switch i32 %696, label %1268 [
    i32 0, label %697
    i32 23, label %698
  ]

697:                                              ; preds = %695
  br label %698

698:                                              ; preds = %697, %695
  %699 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #7
  br label %577

700:                                              ; preds = %690, %686, %682
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  br label %704

701:                                              ; preds = %579
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #7
  br label %702

702:                                              ; preds = %701
  %703 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #7
  br label %552

704:                                              ; preds = %700, %580
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  br label %1259

705:                                              ; preds = %554
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #7
  store ptr %4, ptr %83, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #7
  %706 = load ptr, ptr %83, align 8, !tbaa !13
  %707 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %706) #7
  %708 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %84, i32 0, i32 0
  store ptr %707, ptr %708, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #7
  %709 = load ptr, ptr %83, align 8, !tbaa !13
  %710 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %709) #7
  %711 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %85, i32 0, i32 0
  store ptr %710, ptr %711, align 8
  br label %712

712:                                              ; preds = %858, %705
  %713 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull align 8 dereferenceable(8) %85) #7
  br i1 %713, label %715, label %714

714:                                              ; preds = %712
  store i32 30, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #7
  br label %861

715:                                              ; preds = %712
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #7
  %716 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #7
  store ptr %716, ptr %86, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %87) #7
  %717 = load ptr, ptr %86, align 8, !tbaa !13
  %718 = getelementptr inbounds %"struct.std::pair.3", ptr %717, i32 0, i32 0
  %719 = load i32, ptr %718, align 8, !tbaa !18
  store i32 %719, ptr %87, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #7
  %720 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 4 dereferenceable(4) %87)
          to label %721 unwind label %736

721:                                              ; preds = %715
  store ptr %720, ptr %88, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %89) #7
  %722 = load ptr, ptr %88, align 8, !tbaa !13
  %723 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %722) #7
  %724 = trunc i64 %723 to i32
  store i32 %724, ptr %89, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %90) #7
  store i32 0, ptr %90, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %91) #7
  store i32 0, ptr %91, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #7
  %725 = load ptr, ptr %86, align 8, !tbaa !13
  %726 = getelementptr inbounds %"struct.std::pair.3", ptr %725, i32 0, i32 1
  store ptr %726, ptr %92, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #7
  %727 = load ptr, ptr %92, align 8, !tbaa !13
  %728 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %727) #7
  %729 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %93, i32 0, i32 0
  store ptr %728, ptr %729, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #7
  %730 = load ptr, ptr %92, align 8, !tbaa !13
  %731 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %730) #7
  %732 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %94, i32 0, i32 0
  store ptr %731, ptr %732, align 8
  br label %733

733:                                              ; preds = %854, %721
  %734 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 8 dereferenceable(8) %94) #7
  br i1 %734, label %740, label %735

735:                                              ; preds = %733
  store i32 32, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #7
  br label %857

736:                                              ; preds = %715
  %737 = landingpad { ptr, i32 }
          cleanup
  %738 = extractvalue { ptr, i32 } %737, 0
  store ptr %738, ptr %5, align 8
  %739 = extractvalue { ptr, i32 } %737, 1
  store i32 %739, ptr %6, align 4
  br label %860

740:                                              ; preds = %733
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #7
  %741 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #7
  store ptr %741, ptr %95, align 8, !tbaa !13
  br label %742

742:                                              ; preds = %759, %740
  %743 = load i32, ptr %90, align 4, !tbaa !5
  %744 = load i32, ptr %89, align 4, !tbaa !5
  %745 = icmp slt i32 %743, %744
  br i1 %745, label %746, label %756

746:                                              ; preds = %742
  %747 = load ptr, ptr %88, align 8, !tbaa !13
  %748 = load i32, ptr %90, align 4, !tbaa !5
  %749 = sext i32 %748 to i64
  %750 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %747, i64 noundef %749) #7
  %751 = load i32, ptr %750, align 4, !tbaa !5
  %752 = load ptr, ptr %95, align 8, !tbaa !13
  %753 = getelementptr inbounds %"struct.std::pair", ptr %752, i32 0, i32 0
  %754 = load i32, ptr %753, align 4, !tbaa !17
  %755 = icmp slt i32 %751, %754
  br label %756

756:                                              ; preds = %746, %742
  %757 = phi i1 [ false, %742 ], [ %755, %746 ]
  br i1 %757, label %758, label %762

758:                                              ; preds = %756
  br label %759

759:                                              ; preds = %758
  %760 = load i32, ptr %90, align 4, !tbaa !5
  %761 = add nsw i32 %760, 1
  store i32 %761, ptr %90, align 4, !tbaa !5
  br label %742, !llvm.loop !26

762:                                              ; preds = %756
  %763 = load ptr, ptr %88, align 8, !tbaa !13
  %764 = load i32, ptr %90, align 4, !tbaa !5
  %765 = sext i32 %764 to i64
  %766 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %763, i64 noundef %765) #7
  %767 = load i32, ptr %766, align 4, !tbaa !5
  %768 = load ptr, ptr %95, align 8, !tbaa !13
  %769 = getelementptr inbounds %"struct.std::pair", ptr %768, i32 0, i32 1
  %770 = load i32, ptr %769, align 4, !tbaa !15
  %771 = icmp sgt i32 %767, %770
  br i1 %771, label %772, label %773

772:                                              ; preds = %762
  store i32 33, ptr %23, align 4
  br label %851

773:                                              ; preds = %762
  %774 = load i32, ptr %90, align 4, !tbaa !5
  %775 = add nsw i32 %774, 1
  store i32 %775, ptr %91, align 4, !tbaa !5
  br label %776

776:                                              ; preds = %835, %773
  %777 = load i32, ptr %91, align 4, !tbaa !5
  %778 = load i32, ptr %89, align 4, !tbaa !5
  %779 = icmp slt i32 %777, %778
  br i1 %779, label %780, label %790

780:                                              ; preds = %776
  %781 = load ptr, ptr %88, align 8, !tbaa !13
  %782 = load i32, ptr %91, align 4, !tbaa !5
  %783 = sext i32 %782 to i64
  %784 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %781, i64 noundef %783) #7
  %785 = load i32, ptr %784, align 4, !tbaa !5
  %786 = load ptr, ptr %95, align 8, !tbaa !13
  %787 = getelementptr inbounds %"struct.std::pair", ptr %786, i32 0, i32 1
  %788 = load i32, ptr %787, align 4, !tbaa !15
  %789 = icmp sle i32 %785, %788
  br label %790

790:                                              ; preds = %780, %776
  %791 = phi i1 [ false, %776 ], [ %789, %780 ]
  br i1 %791, label %792, label %850

792:                                              ; preds = %790
  %793 = load ptr, ptr %88, align 8, !tbaa !13
  %794 = load i32, ptr %91, align 4, !tbaa !5
  %795 = sext i32 %794 to i64
  %796 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %793, i64 noundef %795) #7
  %797 = load i32, ptr %796, align 4, !tbaa !5
  %798 = load i32, ptr %87, align 4, !tbaa !5
  %799 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %797, i32 noundef %798)
          to label %800 unwind label %838

800:                                              ; preds = %792
  %801 = sext i32 %799 to i64
  %802 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %801) #7
  %803 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %802, i64 noundef 3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %96) #7
  %804 = load ptr, ptr %88, align 8, !tbaa !13
  %805 = load i32, ptr %91, align 4, !tbaa !5
  %806 = sub nsw i32 %805, 1
  %807 = sext i32 %806 to i64
  %808 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %804, i64 noundef %807) #7
  %809 = load i32, ptr %808, align 4, !tbaa !5
  %810 = load i32, ptr %87, align 4, !tbaa !5
  %811 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %809, i32 noundef %810)
          to label %812 unwind label %842

812:                                              ; preds = %800
  store i32 %811, ptr %96, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %803, ptr noundef nonnull align 4 dereferenceable(4) %96)
          to label %813 unwind label %842

813:                                              ; preds = %812
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #7
  %814 = load ptr, ptr %88, align 8, !tbaa !13
  %815 = load i32, ptr %91, align 4, !tbaa !5
  %816 = sub nsw i32 %815, 1
  %817 = sext i32 %816 to i64
  %818 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %814, i64 noundef %817) #7
  %819 = load i32, ptr %818, align 4, !tbaa !5
  %820 = load i32, ptr %87, align 4, !tbaa !5
  %821 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %819, i32 noundef %820)
          to label %822 unwind label %838

822:                                              ; preds = %813
  %823 = sext i32 %821 to i64
  %824 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %823) #7
  %825 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %824, i64 noundef 1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #7
  %826 = load ptr, ptr %88, align 8, !tbaa !13
  %827 = load i32, ptr %91, align 4, !tbaa !5
  %828 = sext i32 %827 to i64
  %829 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %826, i64 noundef %828) #7
  %830 = load i32, ptr %829, align 4, !tbaa !5
  %831 = load i32, ptr %87, align 4, !tbaa !5
  %832 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %830, i32 noundef %831)
          to label %833 unwind label %846

833:                                              ; preds = %822
  store i32 %832, ptr %97, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %825, ptr noundef nonnull align 4 dereferenceable(4) %97)
          to label %834 unwind label %846

834:                                              ; preds = %833
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #7
  br label %835

835:                                              ; preds = %834
  %836 = load i32, ptr %91, align 4, !tbaa !5
  %837 = add nsw i32 %836, 1
  store i32 %837, ptr %91, align 4, !tbaa !5
  br label %776, !llvm.loop !27

838:                                              ; preds = %813, %792
  %839 = landingpad { ptr, i32 }
          cleanup
  %840 = extractvalue { ptr, i32 } %839, 0
  store ptr %840, ptr %5, align 8
  %841 = extractvalue { ptr, i32 } %839, 1
  store i32 %841, ptr %6, align 4
  br label %856

842:                                              ; preds = %812, %800
  %843 = landingpad { ptr, i32 }
          cleanup
  %844 = extractvalue { ptr, i32 } %843, 0
  store ptr %844, ptr %5, align 8
  %845 = extractvalue { ptr, i32 } %843, 1
  store i32 %845, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #7
  br label %856

846:                                              ; preds = %833, %822
  %847 = landingpad { ptr, i32 }
          cleanup
  %848 = extractvalue { ptr, i32 } %847, 0
  store ptr %848, ptr %5, align 8
  %849 = extractvalue { ptr, i32 } %847, 1
  store i32 %849, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #7
  br label %856

850:                                              ; preds = %790
  store i32 0, ptr %23, align 4
  br label %851

851:                                              ; preds = %850, %772
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #7
  %852 = load i32, ptr %23, align 4
  switch i32 %852, label %1268 [
    i32 0, label %853
    i32 33, label %854
  ]

853:                                              ; preds = %851
  br label %854

854:                                              ; preds = %853, %851
  %855 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #7
  br label %733

856:                                              ; preds = %846, %842, %838
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %89) #7
  br label %860

857:                                              ; preds = %735
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %89) #7
  call void @llvm.lifetime.end.p0(i64 8, 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 %858

858:                                              ; preds = %857
  %859 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #7
  br label %712

860:                                              ; preds = %856, %736
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #7
  br label %1259

861:                                              ; preds = %714
  call void @llvm.lifetime.start.p0(i64 4, ptr %98) #7
  %862 = load i32, ptr %13, align 4, !tbaa !5
  %863 = load i32, ptr %14, align 4, !tbaa !5
  %864 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %862, i32 noundef %863)
          to label %865 unwind label %885

865:                                              ; preds = %861
  store i32 %864, ptr %98, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %99) #7
  %866 = load i32, ptr %15, align 4, !tbaa !5
  %867 = load i32, ptr %16, align 4, !tbaa !5
  %868 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef %866, i32 noundef %867)
          to label %869 unwind label %889

869:                                              ; preds = %865
  store i32 %868, ptr %99, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %100) #7
  %870 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  %871 = trunc i64 %870 to i32
  store i32 %871, ptr %100, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %101) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %102) #7
  %872 = load i32, ptr %100, align 4, !tbaa !5
  %873 = sext i32 %872 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %103) #7
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #7
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %102, i64 noundef %873, ptr noundef nonnull align 1 dereferenceable(1) %103)
          to label %874 unwind label %893

874:                                              ; preds = %869
  call void @llvm.lifetime.start.p0(i64 1, ptr %104) #7
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %104) #7
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef 4, ptr noundef nonnull align 8 dereferenceable(40) %102, ptr noundef nonnull align 1 dereferenceable(1) %104)
          to label %875 unwind label %897

875:                                              ; preds = %874
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %104) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %104) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %102) #7
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %103) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %102) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %105) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %106) #7
  %876 = load i32, ptr %100, align 4, !tbaa !5
  %877 = sext i32 %876 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %107) #7
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %107) #7
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %877, ptr noundef nonnull align 8 dereferenceable(8) @_ZL3INF, ptr noundef nonnull align 1 dereferenceable(1) %107)
          to label %878 unwind label %902

878:                                              ; preds = %875
  call void @llvm.lifetime.start.p0(i64 1, ptr %108) #7
  call void @_ZNSaISt6vectorIxSaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %108) #7
  invoke void @_ZNSt6vectorIS_IxSaIxEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef 4, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 1 dereferenceable(1) %108)
          to label %879 unwind label %906

879:                                              ; preds = %878
  call void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %108) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %108) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #7
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %107) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %107) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %106) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %109) #7
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EEC2IS5_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %109)
          to label %880 unwind label %911

880:                                              ; preds = %879
  call void @llvm.lifetime.start.p0(i64 4, ptr %110) #7
  store i32 0, ptr %110, align 4, !tbaa !5
  br label %881

881:                                              ; preds = %933, %880
  %882 = load i32, ptr %110, align 4, !tbaa !5
  %883 = icmp slt i32 %882, 4
  br i1 %883, label %915, label %884

884:                                              ; preds = %881
  store i32 40, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %110) #7
  br label %940

885:                                              ; preds = %861
  %886 = landingpad { ptr, i32 }
          cleanup
  %887 = extractvalue { ptr, i32 } %886, 0
  store ptr %887, ptr %5, align 8
  %888 = extractvalue { ptr, i32 } %886, 1
  store i32 %888, ptr %6, align 4
  br label %1258

889:                                              ; preds = %865
  %890 = landingpad { ptr, i32 }
          cleanup
  %891 = extractvalue { ptr, i32 } %890, 0
  store ptr %891, ptr %5, align 8
  %892 = extractvalue { ptr, i32 } %890, 1
  store i32 %892, ptr %6, align 4
  br label %1257

893:                                              ; preds = %869
  %894 = landingpad { ptr, i32 }
          cleanup
  %895 = extractvalue { ptr, i32 } %894, 0
  store ptr %895, ptr %5, align 8
  %896 = extractvalue { ptr, i32 } %894, 1
  store i32 %896, ptr %6, align 4
  br label %901

897:                                              ; preds = %874
  %898 = landingpad { ptr, i32 }
          cleanup
  %899 = extractvalue { ptr, i32 } %898, 0
  store ptr %899, ptr %5, align 8
  %900 = extractvalue { ptr, i32 } %898, 1
  store i32 %900, ptr %6, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %104) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %104) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %102) #7
  br label %901

901:                                              ; preds = %897, %893
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %103) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %102) #7
  br label %1256

902:                                              ; preds = %875
  %903 = landingpad { ptr, i32 }
          cleanup
  %904 = extractvalue { ptr, i32 } %903, 0
  store ptr %904, ptr %5, align 8
  %905 = extractvalue { ptr, i32 } %903, 1
  store i32 %905, ptr %6, align 4
  br label %910

906:                                              ; preds = %878
  %907 = landingpad { ptr, i32 }
          cleanup
  %908 = extractvalue { ptr, i32 } %907, 0
  store ptr %908, ptr %5, align 8
  %909 = extractvalue { ptr, i32 } %907, 1
  store i32 %909, ptr %6, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %108) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %108) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #7
  br label %910

910:                                              ; preds = %906, %902
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %107) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %107) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %106) #7
  br label %1255

911:                                              ; preds = %879
  %912 = landingpad { ptr, i32 }
          cleanup
  %913 = extractvalue { ptr, i32 } %912, 0
  store ptr %913, ptr %5, align 8
  %914 = extractvalue { ptr, i32 } %912, 1
  store i32 %914, ptr %6, align 4
  br label %1254

915:                                              ; preds = %881
  %916 = load i32, ptr %110, align 4, !tbaa !5
  %917 = sext i32 %916 to i64
  %918 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %917) #7
  %919 = load i32, ptr %98, align 4, !tbaa !5
  %920 = sext i32 %919 to i64
  %921 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %918, i64 noundef %920) #7
  store i64 0, ptr %921, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %111) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %112) #7
  %922 = load i32, ptr %110, align 4, !tbaa !5
  %923 = sext i32 %922 to i64
  %924 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %923) #7
  %925 = load i32, ptr %98, align 4, !tbaa !5
  %926 = sext i32 %925 to i64
  %927 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %924, i64 noundef %926) #7
  %928 = load i64, ptr %927, align 8, !tbaa !11
  %929 = sub nsw i64 0, %928
  store i64 %929, ptr %112, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %113) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %113, ptr noundef nonnull align 4 dereferenceable(4) %110, ptr noundef nonnull align 4 dereferenceable(4) %98)
          to label %930 unwind label %936

930:                                              ; preds = %915
  invoke void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %111, ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %113)
          to label %931 unwind label %936

931:                                              ; preds = %930
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %109, ptr noundef nonnull align 8 dereferenceable(16) %111)
          to label %932 unwind label %936

932:                                              ; preds = %931
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %111) #7
  br label %933

933:                                              ; preds = %932
  %934 = load i32, ptr %110, align 4, !tbaa !5
  %935 = add nsw i32 %934, 1
  store i32 %935, ptr %110, align 4, !tbaa !5
  br label %881, !llvm.loop !28

936:                                              ; preds = %931, %930, %915
  %937 = landingpad { ptr, i32 }
          cleanup
  %938 = extractvalue { ptr, i32 } %937, 0
  store ptr %938, ptr %5, align 8
  %939 = extractvalue { ptr, i32 } %937, 1
  store i32 %939, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %111) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %110) #7
  br label %1253

940:                                              ; preds = %884
  br label %941

941:                                              ; preds = %1219, %1217, %940
  %942 = invoke noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %109)
          to label %943 unwind label %964

943:                                              ; preds = %941
  %944 = xor i1 %942, true
  br i1 %944, label %945, label %1221

945:                                              ; preds = %943
  call void @llvm.lifetime.start.p0(i64 4, ptr %114) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %115) #7
  %946 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %109)
          to label %947 unwind label %968

947:                                              ; preds = %945
  %948 = getelementptr inbounds %"struct.std::pair.59", ptr %946, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %116) #7
  call void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8 %116, ptr noundef nonnull align 4 dereferenceable(4) %114, ptr noundef nonnull align 4 dereferenceable(4) %115) #7
  %949 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIRKT_RKT0_EEERS1_E4typeERKSt4pairIS4_S7_E(ptr noundef nonnull align 8 dereferenceable(16) %116, ptr noundef nonnull align 4 dereferenceable(8) %948) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %116) #7
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %109)
          to label %950 unwind label %968

950:                                              ; preds = %947
  call void @llvm.lifetime.start.p0(i64 16, ptr %117) #7
  %951 = load i32, ptr %114, align 4, !tbaa !5
  %952 = sext i32 %951 to i64
  %953 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %952) #7
  %954 = load i32, ptr %115, align 4, !tbaa !5
  %955 = sext i32 %954 to i64
  %956 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %953, i64 noundef %955)
          to label %957 unwind label %972

957:                                              ; preds = %950
  %958 = getelementptr inbounds { ptr, i64 }, ptr %117, i32 0, i32 0
  %959 = extractvalue { ptr, i64 } %956, 0
  store ptr %959, ptr %958, align 8
  %960 = getelementptr inbounds { ptr, i64 }, ptr %117, i32 0, i32 1
  %961 = extractvalue { ptr, i64 } %956, 1
  store i64 %961, ptr %960, align 8
  %962 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %117) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %117) #7
  br i1 %962, label %963, label %976

963:                                              ; preds = %957
  store i32 43, ptr %23, align 4
  br label %1217, !llvm.loop !29

964:                                              ; preds = %941
  %965 = landingpad { ptr, i32 }
          cleanup
  %966 = extractvalue { ptr, i32 } %965, 0
  store ptr %966, ptr %5, align 8
  %967 = extractvalue { ptr, i32 } %965, 1
  store i32 %967, ptr %6, align 4
  br label %1253

968:                                              ; preds = %947, %945
  %969 = landingpad { ptr, i32 }
          cleanup
  %970 = extractvalue { ptr, i32 } %969, 0
  store ptr %970, ptr %5, align 8
  %971 = extractvalue { ptr, i32 } %969, 1
  store i32 %971, ptr %6, align 4
  br label %1220

972:                                              ; preds = %950
  %973 = landingpad { ptr, i32 }
          cleanup
  %974 = extractvalue { ptr, i32 } %973, 0
  store ptr %974, ptr %5, align 8
  %975 = extractvalue { ptr, i32 } %973, 1
  store i32 %975, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %117) #7
  br label %1220

976:                                              ; preds = %957
  call void @llvm.lifetime.start.p0(i64 16, ptr %118) #7
  %977 = load i32, ptr %114, align 4, !tbaa !5
  %978 = sext i32 %977 to i64
  %979 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %978) #7
  %980 = load i32, ptr %115, align 4, !tbaa !5
  %981 = sext i32 %980 to i64
  %982 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %979, i64 noundef %981)
          to label %983 unwind label %1011

983:                                              ; preds = %976
  %984 = getelementptr inbounds { ptr, i64 }, ptr %118, i32 0, i32 0
  %985 = extractvalue { ptr, i64 } %982, 0
  store ptr %985, ptr %984, align 8
  %986 = getelementptr inbounds { ptr, i64 }, ptr %118, i32 0, i32 1
  %987 = extractvalue { ptr, i64 } %982, 1
  store i64 %987, ptr %986, align 8
  %988 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %118, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %118) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %119) #7
  %989 = load i32, ptr %114, align 4, !tbaa !5
  %990 = sext i32 %989 to i64
  %991 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %990) #7
  %992 = load i32, ptr %115, align 4, !tbaa !5
  %993 = sext i32 %992 to i64
  %994 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %991, i64 noundef %993) #7
  %995 = load i64, ptr %994, align 8, !tbaa !11
  store i64 %995, ptr %119, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %120) #7
  %996 = load i32, ptr %115, align 4, !tbaa !5
  %997 = sext i32 %996 to i64
  %998 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %997) #7
  %999 = load i32, ptr %114, align 4, !tbaa !5
  %1000 = sext i32 %999 to i64
  %1001 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %998, i64 noundef %1000) #7
  store ptr %1001, ptr %120, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %121) #7
  %1002 = load ptr, ptr %120, align 8, !tbaa !13
  %1003 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1002) #7
  %1004 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.63", ptr %121, i32 0, i32 0
  store ptr %1003, ptr %1004, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %122) #7
  %1005 = load ptr, ptr %120, align 8, !tbaa !13
  %1006 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1005) #7
  %1007 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.63", ptr %122, i32 0, i32 0
  store ptr %1006, ptr %1007, align 8
  br label %1008

1008:                                             ; preds = %1213, %983
  %1009 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull align 8 dereferenceable(8) %122) #7
  br i1 %1009, label %1015, label %1010

1010:                                             ; preds = %1008
  store i32 45, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %121) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %120) #7
  br label %1216

1011:                                             ; preds = %976
  %1012 = landingpad { ptr, i32 }
          cleanup
  %1013 = extractvalue { ptr, i32 } %1012, 0
  store ptr %1013, ptr %5, align 8
  %1014 = extractvalue { ptr, i32 } %1012, 1
  store i32 %1014, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %118) #7
  br label %1220

1015:                                             ; preds = %1008
  call void @llvm.lifetime.start.p0(i64 4, ptr %123) #7
  %1016 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %121) #7
  %1017 = load i32, ptr %1016, align 4, !tbaa !5
  store i32 %1017, ptr %123, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %124) #7
  %1018 = load i32, ptr %115, align 4, !tbaa !5
  %1019 = sext i32 %1018 to i64
  %1020 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %1019) #7
  %1021 = getelementptr inbounds %"struct.std::pair", ptr %1020, i32 0, i32 0
  %1022 = load i32, ptr %1021, align 4, !tbaa !17
  %1023 = sext i32 %1022 to i64
  %1024 = load i32, ptr %123, align 4, !tbaa !5
  %1025 = sext i32 %1024 to i64
  %1026 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %1025) #7
  %1027 = getelementptr inbounds %"struct.std::pair", ptr %1026, i32 0, i32 0
  %1028 = load i32, ptr %1027, align 4, !tbaa !17
  %1029 = sext i32 %1028 to i64
  %1030 = sub nsw i64 %1023, %1029
  %1031 = invoke noundef i64 @_ZSt3absx(i64 noundef %1030)
          to label %1032 unwind label %1066

1032:                                             ; preds = %1015
  %1033 = load i32, ptr %115, align 4, !tbaa !5
  %1034 = sext i32 %1033 to i64
  %1035 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %1034) #7
  %1036 = getelementptr inbounds %"struct.std::pair", ptr %1035, i32 0, i32 1
  %1037 = load i32, ptr %1036, align 4, !tbaa !15
  %1038 = sext i32 %1037 to i64
  %1039 = load i32, ptr %123, align 4, !tbaa !5
  %1040 = sext i32 %1039 to i64
  %1041 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %1040) #7
  %1042 = getelementptr inbounds %"struct.std::pair", ptr %1041, i32 0, i32 1
  %1043 = load i32, ptr %1042, align 4, !tbaa !15
  %1044 = sext i32 %1043 to i64
  %1045 = sub nsw i64 %1038, %1044
  %1046 = invoke noundef i64 @_ZSt3absx(i64 noundef %1045)
          to label %1047 unwind label %1066

1047:                                             ; preds = %1032
  %1048 = add nsw i64 %1031, %1046
  store i64 %1048, ptr %124, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %125) #7
  %1049 = load i32, ptr %114, align 4, !tbaa !5
  store i32 %1049, ptr %125, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %126) #7
  %1050 = load i64, ptr %119, align 8, !tbaa !11
  %1051 = load i64, ptr %124, align 8, !tbaa !11
  %1052 = add nsw i64 %1050, %1051
  store i64 %1052, ptr %126, align 8, !tbaa !11
  %1053 = load i64, ptr %126, align 8, !tbaa !11
  %1054 = load i64, ptr %19, align 8, !tbaa !11
  %1055 = srem i64 %1053, %1054
  %1056 = load i64, ptr %17, align 8, !tbaa !11
  %1057 = icmp slt i64 %1055, %1056
  br i1 %1057, label %1058, label %1070

1058:                                             ; preds = %1047
  %1059 = load i64, ptr %17, align 8, !tbaa !11
  %1060 = load i64, ptr %126, align 8, !tbaa !11
  %1061 = load i64, ptr %19, align 8, !tbaa !11
  %1062 = srem i64 %1060, %1061
  %1063 = sub nsw i64 %1059, %1062
  %1064 = load i64, ptr %126, align 8, !tbaa !11
  %1065 = add nsw i64 %1064, %1063
  store i64 %1065, ptr %126, align 8, !tbaa !11
  br label %1070

1066:                                             ; preds = %1032, %1015
  %1067 = landingpad { ptr, i32 }
          cleanup
  %1068 = extractvalue { ptr, i32 } %1067, 0
  store ptr %1068, ptr %5, align 8
  %1069 = extractvalue { ptr, i32 } %1067, 1
  store i32 %1069, ptr %6, align 4
  br label %1215

1070:                                             ; preds = %1058, %1047
  %1071 = load i64, ptr %126, align 8, !tbaa !11
  %1072 = load i32, ptr %125, align 4, !tbaa !5
  %1073 = sext i32 %1072 to i64
  %1074 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1073) #7
  %1075 = load i32, ptr %123, align 4, !tbaa !5
  %1076 = sext i32 %1075 to i64
  %1077 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1074, i64 noundef %1076) #7
  %1078 = load i64, ptr %1077, align 8, !tbaa !11
  %1079 = icmp slt i64 %1071, %1078
  br i1 %1079, label %1080, label %1103

1080:                                             ; preds = %1070
  %1081 = load i64, ptr %126, align 8, !tbaa !11
  %1082 = load i32, ptr %125, align 4, !tbaa !5
  %1083 = sext i32 %1082 to i64
  %1084 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1083) #7
  %1085 = load i32, ptr %123, align 4, !tbaa !5
  %1086 = sext i32 %1085 to i64
  %1087 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1084, i64 noundef %1086) #7
  store i64 %1081, ptr %1087, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %127) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %128) #7
  %1088 = load i32, ptr %125, align 4, !tbaa !5
  %1089 = sext i32 %1088 to i64
  %1090 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1089) #7
  %1091 = load i32, ptr %123, align 4, !tbaa !5
  %1092 = sext i32 %1091 to i64
  %1093 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1090, i64 noundef %1092) #7
  %1094 = load i64, ptr %1093, align 8, !tbaa !11
  %1095 = sub nsw i64 0, %1094
  store i64 %1095, ptr %128, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %129) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %129, ptr noundef nonnull align 4 dereferenceable(4) %125, ptr noundef nonnull align 4 dereferenceable(4) %123)
          to label %1096 unwind label %1099

1096:                                             ; preds = %1080
  invoke void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %127, ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull align 4 dereferenceable(8) %129)
          to label %1097 unwind label %1099

1097:                                             ; preds = %1096
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %109, ptr noundef nonnull align 8 dereferenceable(16) %127)
          to label %1098 unwind label %1099

1098:                                             ; preds = %1097
  call void @llvm.lifetime.end.p0(i64 8, ptr %129) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %128) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %127) #7
  br label %1103

1099:                                             ; preds = %1097, %1096, %1080
  %1100 = landingpad { ptr, i32 }
          cleanup
  %1101 = extractvalue { ptr, i32 } %1100, 0
  store ptr %1101, ptr %5, align 8
  %1102 = extractvalue { ptr, i32 } %1100, 1
  store i32 %1102, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %129) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %128) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %127) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %125) #7
  br label %1215

1103:                                             ; preds = %1098, %1070
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %125) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %130) #7
  %1104 = load i32, ptr %114, align 4, !tbaa !5
  %1105 = add nsw i32 %1104, 1
  %1106 = and i32 %1105, 3
  store i32 %1106, ptr %130, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %131) #7
  %1107 = load i64, ptr %119, align 8, !tbaa !11
  %1108 = load i64, ptr %124, align 8, !tbaa !11
  %1109 = add nsw i64 %1107, %1108
  store i64 %1109, ptr %131, align 8, !tbaa !11
  %1110 = load i64, ptr %131, align 8, !tbaa !11
  %1111 = load i32, ptr %130, align 4, !tbaa !5
  %1112 = sext i32 %1111 to i64
  %1113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1112) #7
  %1114 = load i32, ptr %123, align 4, !tbaa !5
  %1115 = sext i32 %1114 to i64
  %1116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1113, i64 noundef %1115) #7
  %1117 = load i64, ptr %1116, align 8, !tbaa !11
  %1118 = icmp slt i64 %1110, %1117
  br i1 %1118, label %1119, label %1142

1119:                                             ; preds = %1103
  %1120 = load i64, ptr %131, align 8, !tbaa !11
  %1121 = load i32, ptr %130, align 4, !tbaa !5
  %1122 = sext i32 %1121 to i64
  %1123 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1122) #7
  %1124 = load i32, ptr %123, align 4, !tbaa !5
  %1125 = sext i32 %1124 to i64
  %1126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1123, i64 noundef %1125) #7
  store i64 %1120, ptr %1126, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %132) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %133) #7
  %1127 = load i32, ptr %130, align 4, !tbaa !5
  %1128 = sext i32 %1127 to i64
  %1129 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1128) #7
  %1130 = load i32, ptr %123, align 4, !tbaa !5
  %1131 = sext i32 %1130 to i64
  %1132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1129, i64 noundef %1131) #7
  %1133 = load i64, ptr %1132, align 8, !tbaa !11
  %1134 = sub nsw i64 0, %1133
  store i64 %1134, ptr %133, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %134) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(4) %130, ptr noundef nonnull align 4 dereferenceable(4) %123)
          to label %1135 unwind label %1138

1135:                                             ; preds = %1119
  invoke void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %132, ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 4 dereferenceable(8) %134)
          to label %1136 unwind label %1138

1136:                                             ; preds = %1135
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %109, ptr noundef nonnull align 8 dereferenceable(16) %132)
          to label %1137 unwind label %1138

1137:                                             ; preds = %1136
  call void @llvm.lifetime.end.p0(i64 8, ptr %134) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %133) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %132) #7
  br label %1142

1138:                                             ; preds = %1136, %1135, %1119
  %1139 = landingpad { ptr, i32 }
          cleanup
  %1140 = extractvalue { ptr, i32 } %1139, 0
  store ptr %1140, ptr %5, align 8
  %1141 = extractvalue { ptr, i32 } %1139, 1
  store i32 %1141, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %134) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %133) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %132) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %131) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %130) #7
  br label %1215

1142:                                             ; preds = %1137, %1103
  call void @llvm.lifetime.end.p0(i64 8, ptr %131) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %130) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %135) #7
  %1143 = load i32, ptr %114, align 4, !tbaa !5
  %1144 = add nsw i32 %1143, 3
  %1145 = and i32 %1144, 3
  store i32 %1145, ptr %135, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %136) #7
  %1146 = load i64, ptr %119, align 8, !tbaa !11
  %1147 = load i64, ptr %124, align 8, !tbaa !11
  %1148 = add nsw i64 %1146, %1147
  store i64 %1148, ptr %136, align 8, !tbaa !11
  %1149 = load i64, ptr %136, align 8, !tbaa !11
  %1150 = load i64, ptr %19, align 8, !tbaa !11
  %1151 = srem i64 %1149, %1150
  %1152 = load i64, ptr %17, align 8, !tbaa !11
  %1153 = icmp slt i64 %1151, %1152
  br i1 %1153, label %1154, label %1162

1154:                                             ; preds = %1142
  %1155 = load i64, ptr %17, align 8, !tbaa !11
  %1156 = load i64, ptr %136, align 8, !tbaa !11
  %1157 = load i64, ptr %19, align 8, !tbaa !11
  %1158 = srem i64 %1156, %1157
  %1159 = sub nsw i64 %1155, %1158
  %1160 = load i64, ptr %136, align 8, !tbaa !11
  %1161 = add nsw i64 %1160, %1159
  store i64 %1161, ptr %136, align 8, !tbaa !11
  br label %1179

1162:                                             ; preds = %1142
  %1163 = load i64, ptr %136, align 8, !tbaa !11
  %1164 = load i64, ptr %19, align 8, !tbaa !11
  %1165 = srem i64 %1163, %1164
  %1166 = load i64, ptr %18, align 8, !tbaa !11
  %1167 = icmp sge i64 %1165, %1166
  br i1 %1167, label %1168, label %1178

1168:                                             ; preds = %1162
  %1169 = load i64, ptr %19, align 8, !tbaa !11
  %1170 = load i64, ptr %136, align 8, !tbaa !11
  %1171 = load i64, ptr %19, align 8, !tbaa !11
  %1172 = srem i64 %1170, %1171
  %1173 = sub nsw i64 %1169, %1172
  %1174 = load i64, ptr %17, align 8, !tbaa !11
  %1175 = add nsw i64 %1173, %1174
  %1176 = load i64, ptr %136, align 8, !tbaa !11
  %1177 = add nsw i64 %1176, %1175
  store i64 %1177, ptr %136, align 8, !tbaa !11
  br label %1178

1178:                                             ; preds = %1168, %1162
  br label %1179

1179:                                             ; preds = %1178, %1154
  %1180 = load i64, ptr %136, align 8, !tbaa !11
  %1181 = load i32, ptr %135, align 4, !tbaa !5
  %1182 = sext i32 %1181 to i64
  %1183 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1182) #7
  %1184 = load i32, ptr %123, align 4, !tbaa !5
  %1185 = sext i32 %1184 to i64
  %1186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1183, i64 noundef %1185) #7
  %1187 = load i64, ptr %1186, align 8, !tbaa !11
  %1188 = icmp slt i64 %1180, %1187
  br i1 %1188, label %1189, label %1212

1189:                                             ; preds = %1179
  %1190 = load i64, ptr %136, align 8, !tbaa !11
  %1191 = load i32, ptr %135, align 4, !tbaa !5
  %1192 = sext i32 %1191 to i64
  %1193 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1192) #7
  %1194 = load i32, ptr %123, align 4, !tbaa !5
  %1195 = sext i32 %1194 to i64
  %1196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1193, i64 noundef %1195) #7
  store i64 %1190, ptr %1196, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %137) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %138) #7
  %1197 = load i32, ptr %135, align 4, !tbaa !5
  %1198 = sext i32 %1197 to i64
  %1199 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1198) #7
  %1200 = load i32, ptr %123, align 4, !tbaa !5
  %1201 = sext i32 %1200 to i64
  %1202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1199, i64 noundef %1201) #7
  %1203 = load i64, ptr %1202, align 8, !tbaa !11
  %1204 = sub nsw i64 0, %1203
  store i64 %1204, ptr %138, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %139) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %139, ptr noundef nonnull align 4 dereferenceable(4) %135, ptr noundef nonnull align 4 dereferenceable(4) %123)
          to label %1205 unwind label %1208

1205:                                             ; preds = %1189
  invoke void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %137, ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull align 4 dereferenceable(8) %139)
          to label %1206 unwind label %1208

1206:                                             ; preds = %1205
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %109, ptr noundef nonnull align 8 dereferenceable(16) %137)
          to label %1207 unwind label %1208

1207:                                             ; preds = %1206
  call void @llvm.lifetime.end.p0(i64 8, ptr %139) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %138) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %137) #7
  br label %1212

1208:                                             ; preds = %1206, %1205, %1189
  %1209 = landingpad { ptr, i32 }
          cleanup
  %1210 = extractvalue { ptr, i32 } %1209, 0
  store ptr %1210, ptr %5, align 8
  %1211 = extractvalue { ptr, i32 } %1209, 1
  store i32 %1211, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %139) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %138) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %137) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %136) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %135) #7
  br label %1215

1212:                                             ; preds = %1207, %1179
  call void @llvm.lifetime.end.p0(i64 8, ptr %136) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %135) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %124) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %123) #7
  br label %1213

1213:                                             ; preds = %1212
  %1214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %121) #7
  br label %1008

1215:                                             ; preds = %1208, %1138, %1099, %1066
  call void @llvm.lifetime.end.p0(i64 8, ptr %124) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %123) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %121) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %120) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %119) #7
  br label %1220

1216:                                             ; preds = %1010
  call void @llvm.lifetime.end.p0(i64 8, ptr %119) #7
  store i32 0, ptr %23, align 4
  br label %1217

1217:                                             ; preds = %1216, %963
  call void @llvm.lifetime.end.p0(i64 4, ptr %115) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #7
  %1218 = load i32, ptr %23, align 4
  switch i32 %1218, label %1268 [
    i32 0, label %1219
    i32 43, label %941
  ]

1219:                                             ; preds = %1217
  br label %941, !llvm.loop !29

1220:                                             ; preds = %1215, %1011, %972, %968
  call void @llvm.lifetime.end.p0(i64 4, ptr %115) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #7
  br label %1253

1221:                                             ; preds = %943
  call void @llvm.lifetime.start.p0(i64 8, ptr %140) #7
  store i64 9187201950435737471, ptr %140, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %141) #7
  store i32 0, ptr %141, align 4, !tbaa !5
  br label %1222

1222:                                             ; preds = %1236, %1221
  %1223 = load i32, ptr %141, align 4, !tbaa !5
  %1224 = icmp slt i32 %1223, 4
  br i1 %1224, label %1226, label %1225

1225:                                             ; preds = %1222
  store i32 47, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %141) #7
  br label %1243

1226:                                             ; preds = %1222
  %1227 = load i32, ptr %141, align 4, !tbaa !5
  %1228 = sext i32 %1227 to i64
  %1229 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %1228) #7
  %1230 = load i32, ptr %99, align 4, !tbaa !5
  %1231 = sext i32 %1230 to i64
  %1232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1229, i64 noundef %1231) #7
  %1233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull align 8 dereferenceable(8) %1232)
          to label %1234 unwind label %1239

1234:                                             ; preds = %1226
  %1235 = load i64, ptr %1233, align 8, !tbaa !11
  store i64 %1235, ptr %140, align 8, !tbaa !11
  br label %1236

1236:                                             ; preds = %1234
  %1237 = load i32, ptr %141, align 4, !tbaa !5
  %1238 = add nsw i32 %1237, 1
  store i32 %1238, ptr %141, align 4, !tbaa !5
  br label %1222, !llvm.loop !30

1239:                                             ; preds = %1226
  %1240 = landingpad { ptr, i32 }
          cleanup
  %1241 = extractvalue { ptr, i32 } %1240, 0
  store ptr %1241, ptr %5, align 8
  %1242 = extractvalue { ptr, i32 } %1240, 1
  store i32 %1242, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %141) #7
  br label %1252

1243:                                             ; preds = %1225
  %1244 = load i64, ptr %140, align 8, !tbaa !11
  %1245 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %1244)
          to label %1246 unwind label %1248

1246:                                             ; preds = %1243
  store i32 0, ptr %1, align 4
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %140) #7
  call void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %109) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %109) #7
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %105) #7
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %101) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %99) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %98) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #7
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #7
  call void @_ZNSt3mapISt4pairIiiEiSt4lessIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %47) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %1247 = load i32, ptr %1, align 4
  ret i32 %1247

1248:                                             ; preds = %1243
  %1249 = landingpad { ptr, i32 }
          cleanup
  %1250 = extractvalue { ptr, i32 } %1249, 0
  store ptr %1250, ptr %5, align 8
  %1251 = extractvalue { ptr, i32 } %1249, 1
  store i32 %1251, ptr %6, align 4
  br label %1252

1252:                                             ; preds = %1248, %1239
  call void @llvm.lifetime.end.p0(i64 8, ptr %140) #7
  br label %1253

1253:                                             ; preds = %1252, %1220, %964, %936
  call void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %109) #7
  br label %1254

1254:                                             ; preds = %1253, %911
  call void @llvm.lifetime.end.p0(i64 32, ptr %109) #7
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #7
  br label %1255

1255:                                             ; preds = %1254, %910
  call void @llvm.lifetime.end.p0(i64 24, ptr %105) #7
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #7
  br label %1256

1256:                                             ; preds = %1255, %901
  call void @llvm.lifetime.end.p0(i64 24, ptr %101) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #7
  br label %1257

1257:                                             ; preds = %1256, %889
  call void @llvm.lifetime.end.p0(i64 4, ptr %99) #7
  br label %1258

1258:                                             ; preds = %1257, %885
  call void @llvm.lifetime.end.p0(i64 4, ptr %98) #7
  br label %1259

1259:                                             ; preds = %1258, %860, %704, %555
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #7
  br label %1260

1260:                                             ; preds = %1259, %516
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #7
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #7
  call void @_ZNSt3mapISt4pairIiiEiSt4lessIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %47) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #7
  br label %1261

1261:                                             ; preds = %1260, %410, %308, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %1262

1262:                                             ; preds = %1261, %194, %163
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %1263

1263:                                             ; preds = %1262
  %1264 = load ptr, ptr %5, align 8
  %1265 = load i32, ptr %6, align 4
  %1266 = insertvalue { ptr, i32 } poison, ptr %1264, 0
  %1267 = insertvalue { ptr, i32 } %1266, i32 %1265, 1
  resume { ptr, i32 } %1267

1268:                                             ; preds = %1217, %851, %695, %511
  unreachable
}

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

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKiS8_(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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #6 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #6 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") 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_E4typeERKSt4pairIS4_S7_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #4 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) #5

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

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

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !6, i64 4}
!16 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!17 = !{!16, !6, i64 0}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSSt4pairIKiSt6vectorIS_IiiESaIS2_EEE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}


; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::vector<std::pair<int, int>>>, std::_Select1st<std::pair<const int, std::vector<std::pair<int, int>>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::vector<std::pair<int, int>>>, std::_Select1st<std::pair<const int, std::vector<std::pair<int, int>>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::map.5" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::vector<int>>, std::_Select1st<std::pair<const int, std::vector<int>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::vector<int>>, std::_Select1st<std::pair<const int, std::vector<int>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.10" = type { %"class.std::_Rb_tree.11" }
%"class.std::_Rb_tree.11" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, int>, std::_Select1st<std::pair<const std::pair<int, int>, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, int>, std::_Select1st<std::pair<const std::pair<int, int>, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon = type { ptr, ptr, ptr }
%class.anon.26 = type { i8 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.41" = type { i8 }
%"class.std::allocator.34" = type { i8 }
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.51" = type { i8 }
%"class.std::allocator.46" = type { i8 }
%"class.std::priority_queue" = type <{ %"class.std::vector.54", [8 x i8] }>
%"class.std::vector.54" = type { %"struct.std::_Vector_base.55" }
%"struct.std::_Vector_base.55" = type { %"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long long, std::pair<int, int>>, std::allocator<std::pair<long long, std::pair<int, int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.59" = type { i64, %"struct.std::pair" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.61", %"struct.std::_Head_base.62" }
%"struct.std::_Tuple_impl.61" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.62" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.63" = type { ptr }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZL3INF = external hidden constant i64, align 8
@.str.3 = external hidden unnamed_addr constant [6 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 i32, align 4
  %2 = alloca %"class.std::map", align 8
  %3 = alloca %"class.std::map", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::pair", align 4
  %9 = alloca %"struct.std::pair", align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %22 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.std::map.5", align 8
  %26 = alloca %"class.std::map.5", align 8
  %27 = alloca %"class.std::map.10", align 8
  %28 = alloca %"class.std::vector", align 8
  %29 = alloca %"class.std::vector.16", align 8
  %30 = alloca %class.anon, align 8
  %31 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %36 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %39 = alloca %class.anon.26, align 1
  %40 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %41 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %48 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %49 = alloca i32, align 4
  %50 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca %"class.std::vector.32", align 8
  %56 = alloca %"class.std::vector.37", align 8
  %57 = alloca %"class.std::allocator.41", align 1
  %58 = alloca %"class.std::allocator.34", align 1
  %59 = alloca %"class.std::vector.44", align 8
  %60 = alloca %"class.std::vector.49", align 8
  %61 = alloca %"class.std::allocator.51", align 1
  %62 = alloca %"class.std::allocator.46", align 1
  %63 = alloca %"class.std::priority_queue", align 8
  %64 = alloca i32, align 4
  %65 = alloca %"struct.std::pair.59", align 8
  %66 = alloca i64, align 8
  %67 = alloca %"struct.std::pair", align 4
  %68 = alloca i32, align 4
  %69 = alloca i32, align 4
  %70 = alloca %"class.std::tuple", align 8
  %71 = alloca %"struct.std::_Bit_reference", align 8
  %72 = alloca %"struct.std::_Bit_reference", align 8
  %73 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %74 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca %"struct.std::pair.59", align 8
  %78 = alloca i64, align 8
  %79 = alloca %"struct.std::pair", align 4
  %80 = alloca i32, align 4
  %81 = alloca %"struct.std::pair.59", align 8
  %82 = alloca i64, align 8
  %83 = alloca %"struct.std::pair", align 4
  %84 = alloca i32, align 4
  %85 = alloca %"struct.std::pair.59", align 8
  %86 = alloca i64, align 8
  %87 = alloca %"struct.std::pair", align 4
  %88 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  %89 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %90 = load i32, ptr %1, align 4, !tbaa !5
  %91 = add nsw i32 %90, -1
  store i32 %91, ptr %1, align 4, !tbaa !5
  %.not251 = icmp eq i32 %90, 0
  br i1 %.not251, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %118
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %92 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7)
  %93 = load i32, ptr %4, align 4, !tbaa !5
  %94 = load i32, ptr %6, align 4, !tbaa !5
  %95 = icmp eq i32 %93, %94
  br i1 %95, label %96, label %106

96:                                               ; preds = %.lr.ph
  %97 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %98 unwind label %102

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKiS8_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(4) %99, ptr noundef nonnull align 4 dereferenceable(4) %100)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef nonnull align 4 dereferenceable(8) %8)
          to label %101 unwind label %104

101:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %118

102:                                              ; preds = %110, %96
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %121

104:                                              ; preds = %98
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %121

106:                                              ; preds = %.lr.ph
  %107 = load i32, ptr %5, align 4, !tbaa !5
  %108 = load i32, ptr %7, align 4, !tbaa !5
  %109 = icmp eq i32 %107, %108
  br i1 %109, label %110, label %118

110:                                              ; preds = %106
  %111 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %112 unwind label %102

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKiS8_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %113, ptr noundef nonnull align 4 dereferenceable(4) %114)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %111, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %115 unwind label %116

115:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %118

116:                                              ; preds = %112
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %121

118:                                              ; preds = %106, %115, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %119 = load i32, ptr %1, align 4, !tbaa !5
  %120 = add nsw i32 %119, -1
  store i32 %120, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %119, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

121:                                              ; preds = %116, %104, %102
  %.pn242 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  br label %711

._crit_edge:                                      ; preds = %118, %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %122 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16)
  %123 = load i64, ptr %14, align 8, !tbaa !11
  %124 = load i64, ptr %15, align 8, !tbaa !11
  %125 = add nsw i64 %124, %123
  store i64 %125, ptr %15, align 8, !tbaa !11
  %126 = load i64, ptr %16, align 8, !tbaa !11
  %127 = add nsw i64 %126, %125
  store i64 %127, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %128 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %128, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %129 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %129, ptr %18, align 8
  %130 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %130, label %.lr.ph257, label %._crit_edge258

._crit_edge258:                                   ; preds = %170, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %131 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %131, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %132 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %132, ptr %22, align 8
  %133 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %133, label %.lr.ph265, label %._crit_edge266

.lr.ph257:                                        ; preds = %._crit_edge, %170
  %134 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %135 = getelementptr inbounds i8, ptr %134, i64 8
  %136 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #7
  %137 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %136, ptr %137)
          to label %138 unwind label %143

138:                                              ; preds = %.lr.ph257
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %139 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #7
  store ptr %139, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %140 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #7
  store ptr %140, ptr %20, align 8
  %141 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %141, label %.lr.ph254, label %._crit_edge255

._crit_edge255:                                   ; preds = %167, %138
  %.0191.lcssa = phi i32 [ 0, %138 ], [ %.1192, %167 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  %142 = sext i32 %.0191.lcssa to i64
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %142)
          to label %170 unwind label %173

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

.lr.ph254:                                        ; preds = %138, %167
  %.0191252 = phi i32 [ %.1192, %167 ], [ 0, %138 ]
  %145 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %.not241 = icmp eq i32 %.0191252, 0
  br i1 %.not241, label %154, label %146

146:                                              ; preds = %.lr.ph254
  %147 = add nsw i32 %.0191252, -1
  %148 = sext i32 %147 to i64
  %149 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %148) #7
  %150 = getelementptr inbounds i8, ptr %149, i64 4
  %151 = load i32, ptr %150, align 4, !tbaa !13
  %152 = load i32, ptr %145, align 4, !tbaa !15
  %153 = icmp slt i32 %151, %152
  br i1 %153, label %154, label %159

154:                                              ; preds = %146, %.lr.ph254
  %155 = add nsw i32 %.0191252, 1
  %156 = sext i32 %.0191252 to i64
  %157 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %156) #7
  %158 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %157, ptr noundef nonnull align 4 dereferenceable(8) %145)
  br label %167

159:                                              ; preds = %146
  %160 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %148) #7
  %161 = getelementptr inbounds i8, ptr %160, i64 4
  %162 = getelementptr inbounds i8, ptr %145, i64 4
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %161, ptr noundef nonnull align 4 dereferenceable(4) %162)
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %148) #7
  %166 = getelementptr inbounds i8, ptr %165, i64 4
  store i32 %164, ptr %166, align 4, !tbaa !13
  br label %167

167:                                              ; preds = %159, %154
  %.1192 = phi i32 [ %155, %154 ], [ %.0191252, %159 ]
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %169 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %169, label %.lr.ph254, label %._crit_edge255

170:                                              ; preds = %._crit_edge255
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %172 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %172, label %.lr.ph257, label %._crit_edge258

173:                                              ; preds = %._crit_edge255
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %175

175:                                              ; preds = %173, %143
  %.pn238 = phi { ptr, i32 } [ %174, %173 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %710

._crit_edge266:                                   ; preds = %217, %._crit_edge258
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %26) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #7
  call void @_ZNSt3mapISt4pairIiiEiSt4lessIS1_ESaIS0_IKS1_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #7
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #7
  store ptr %27, ptr %30, align 8, !tbaa !16
  %176 = getelementptr inbounds i8, ptr %30, i64 8
  store ptr %28, ptr %176, align 8, !tbaa !16
  %177 = getelementptr inbounds i8, ptr %30, i64 16
  store ptr %29, ptr %177, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #7
  %178 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %178, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #7
  %179 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %179, ptr %32, align 8
  %180 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  br i1 %180, label %.lr.ph277, label %._crit_edge278

.lr.ph265:                                        ; preds = %._crit_edge258, %217
  %181 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %182 = getelementptr inbounds i8, ptr %181, i64 8
  %183 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %182) #7
  %184 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %182) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %183, ptr %184)
          to label %185 unwind label %190

185:                                              ; preds = %.lr.ph265
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %186 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %182) #7
  store ptr %186, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  %187 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %182) #7
  store ptr %187, ptr %24, align 8
  %188 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br i1 %188, label %.lr.ph261, label %._crit_edge262

._crit_edge262:                                   ; preds = %214, %185
  %.0193.lcssa = phi i32 [ 0, %185 ], [ %.1194, %214 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  %189 = sext i32 %.0193.lcssa to i64
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %189)
          to label %217 unwind label %220

190:                                              ; preds = %.lr.ph265
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %222

.lr.ph261:                                        ; preds = %185, %214
  %.0193259 = phi i32 [ %.1194, %214 ], [ 0, %185 ]
  %192 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %.not237 = icmp eq i32 %.0193259, 0
  br i1 %.not237, label %201, label %193

193:                                              ; preds = %.lr.ph261
  %194 = add nsw i32 %.0193259, -1
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %195) #7
  %197 = getelementptr inbounds i8, ptr %196, i64 4
  %198 = load i32, ptr %197, align 4, !tbaa !13
  %199 = load i32, ptr %192, align 4, !tbaa !15
  %200 = icmp slt i32 %198, %199
  br i1 %200, label %201, label %206

201:                                              ; preds = %193, %.lr.ph261
  %202 = add nsw i32 %.0193259, 1
  %203 = sext i32 %.0193259 to i64
  %204 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %203) #7
  %205 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %204, ptr noundef nonnull align 4 dereferenceable(8) %192)
  br label %214

206:                                              ; preds = %193
  %207 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %195) #7
  %208 = getelementptr inbounds i8, ptr %207, i64 4
  %209 = getelementptr inbounds i8, ptr %192, i64 4
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %208, ptr noundef nonnull align 4 dereferenceable(4) %209)
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %195) #7
  %213 = getelementptr inbounds i8, ptr %212, i64 4
  store i32 %211, ptr %213, align 4, !tbaa !13
  br label %214

214:                                              ; preds = %206, %201
  %.1194 = phi i32 [ %202, %201 ], [ %.0193259, %206 ]
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %216 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br i1 %216, label %.lr.ph261, label %._crit_edge262

217:                                              ; preds = %._crit_edge262
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %219 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %219, label %.lr.ph265, label %._crit_edge266

220:                                              ; preds = %._crit_edge262
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %222

222:                                              ; preds = %220, %190
  %.pn235 = phi { ptr, i32 } [ %221, %220 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %710

._crit_edge278:                                   ; preds = %._crit_edge275, %._crit_edge266
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %39) #7
  %223 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %270 unwind label %291

.lr.ph277:                                        ; preds = %._crit_edge266, %._crit_edge275
  %224 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %225 = getelementptr inbounds i8, ptr %224, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  %226 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %225) #7
  store ptr %226, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #7
  %227 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %225) #7
  store ptr %227, ptr %34, align 8
  %228 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %228, label %.lr.ph274, label %._crit_edge275

._crit_edge275:                                   ; preds = %._crit_edge272, %.lr.ph277
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %230 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  br i1 %230, label %.lr.ph277, label %._crit_edge278

.lr.ph274:                                        ; preds = %.lr.ph277, %._crit_edge272
  %231 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #7
  %232 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %232, ptr %35, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #7
  %233 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %233, ptr %36, align 8
  %234 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  br i1 %234, label %.lr.ph271, label %._crit_edge272

.lr.ph271:                                        ; preds = %.lr.ph274
  %235 = getelementptr inbounds i8, ptr %231, i64 4
  br label %238

._crit_edge272:                                   ; preds = %._crit_edge269, %.lr.ph274
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #7
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  %237 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %237, label %.lr.ph274, label %._crit_edge275

238:                                              ; preds = %.lr.ph271, %._crit_edge269
  %239 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  %240 = getelementptr inbounds i8, ptr %239, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #7
  %241 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %240) #7
  store ptr %241, ptr %37, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #7
  %242 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %240) #7
  store ptr %242, ptr %38, align 8
  %243 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  br i1 %243, label %.lr.ph268, label %._crit_edge269

._crit_edge269:                                   ; preds = %265, %238
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  %245 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  br i1 %245, label %238, label %._crit_edge272

.lr.ph268:                                        ; preds = %238, %265
  %246 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  %247 = load i32, ptr %224, align 8, !tbaa !18
  %248 = load i32, ptr %246, align 4, !tbaa !15
  %249 = icmp slt i32 %247, %248
  %250 = getelementptr inbounds i8, ptr %246, i64 4
  %251 = load i32, ptr %250, align 4
  %252 = icmp sgt i32 %247, %251
  %or.cond = select i1 %249, i1 true, i1 %252
  br i1 %or.cond, label %265, label %253

253:                                              ; preds = %.lr.ph268
  %254 = load i32, ptr %239, align 8, !tbaa !18
  %255 = load i32, ptr %231, align 4, !tbaa !15
  %256 = icmp slt i32 %254, %255
  %257 = load i32, ptr %235, align 4
  %258 = icmp sgt i32 %254, %257
  %or.cond249 = select i1 %256, i1 true, i1 %258
  br i1 %or.cond249, label %265, label %259

259:                                              ; preds = %253
  %260 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 4 dereferenceable(4) %224)
          to label %261 unwind label %268

261:                                              ; preds = %259
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %260, ptr noundef nonnull align 4 dereferenceable(4) %239)
          to label %262 unwind label %268

262:                                              ; preds = %261
  %263 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull align 4 dereferenceable(4) %239)
          to label %264 unwind label %268

264:                                              ; preds = %262
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %263, ptr noundef nonnull align 4 dereferenceable(4) %224)
          to label %265 unwind label %268

265:                                              ; preds = %264, %253, %.lr.ph268
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  %267 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  br i1 %267, label %.lr.ph268, label %._crit_edge269

268:                                              ; preds = %264, %262, %261, %259
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  br label %709

270:                                              ; preds = %._crit_edge278
  %271 = load i32, ptr %11, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %39, ptr noundef nonnull align 8 dereferenceable(24) %223, i32 noundef %271)
          to label %272 unwind label %291

272:                                              ; preds = %270
  %273 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %274 unwind label %291

274:                                              ; preds = %272
  %275 = load i32, ptr %10, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %39, ptr noundef nonnull align 8 dereferenceable(24) %273, i32 noundef %275)
          to label %276 unwind label %291

276:                                              ; preds = %274
  %277 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %278 unwind label %291

278:                                              ; preds = %276
  %279 = load i32, ptr %13, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %39, ptr noundef nonnull align 8 dereferenceable(24) %277, i32 noundef %279)
          to label %280 unwind label %291

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %282 unwind label %291

282:                                              ; preds = %280
  %283 = load i32, ptr %12, align 4, !tbaa !5
  invoke void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1) %39, ptr noundef nonnull align 8 dereferenceable(24) %281, i32 noundef %283)
          to label %284 unwind label %291

284:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #7
  %285 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %285, ptr %40, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #7
  %286 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %286, ptr %41, align 8
  %287 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  br i1 %287, label %.lr.ph295, label %._crit_edge296

._crit_edge296:                                   ; preds = %._crit_edge293, %284
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #7
  %288 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %288, ptr %47, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #7
  %289 = call ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %289, ptr %48, align 8
  %290 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  br i1 %290, label %.lr.ph313, label %._crit_edge314

291:                                              ; preds = %282, %280, %278, %276, %274, %272, %270, %._crit_edge278
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %708

.lr.ph295:                                        ; preds = %284, %._crit_edge293
  %293 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #7
  %294 = load i32, ptr %293, align 8, !tbaa !18
  store i32 %294, ptr %42, align 4, !tbaa !5
  %295 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %296 unwind label %306

296:                                              ; preds = %.lr.ph295
  %297 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %295) #7
  %298 = trunc i64 %297 to i32
  %299 = getelementptr inbounds i8, ptr %293, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #7
  %300 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %299) #7
  store ptr %300, ptr %43, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #7
  %301 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %299) #7
  store ptr %301, ptr %44, align 8
  %302 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  br i1 %302, label %.lr.ph292.preheader, label %._crit_edge293

.lr.ph292.preheader:                              ; preds = %296
  %sext343 = shl i64 %297, 32
  %303 = ashr exact i64 %sext343, 32
  br label %.lr.ph292

._crit_edge293:                                   ; preds = %.critedge2, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #7
  %304 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  %305 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  br i1 %305, label %.lr.ph295, label %._crit_edge296

306:                                              ; preds = %.lr.ph295
  %307 = landingpad { ptr, i32 }
          cleanup
  br label %368

.lr.ph292:                                        ; preds = %.lr.ph292.preheader, %.critedge2
  %.0195290 = phi i32 [ %.1196.lcssa, %.critedge2 ], [ 0, %.lr.ph292.preheader ]
  %308 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  %309 = icmp slt i32 %.0195290, %298
  br i1 %309, label %.lr.ph281.preheader, label %.critedge

.lr.ph281.preheader:                              ; preds = %.lr.ph292
  %310 = sext i32 %.0195290 to i64
  br label %.lr.ph281

.lr.ph281:                                        ; preds = %.lr.ph281.preheader, %315
  %indvars.iv = phi i64 [ %310, %.lr.ph281.preheader ], [ %indvars.iv.next, %315 ]
  %311 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %indvars.iv) #7
  %312 = load i32, ptr %311, align 4, !tbaa !5
  %313 = load i32, ptr %308, align 4, !tbaa !15
  %314 = icmp slt i32 %312, %313
  br i1 %314, label %315, label %.critedge.loopexit.split.loop.exit345

315:                                              ; preds = %.lr.ph281
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %303
  br i1 %exitcond.not, label %.critedge, label %.lr.ph281, !llvm.loop !24

.critedge.loopexit.split.loop.exit345:            ; preds = %.lr.ph281
  %316 = trunc nsw i64 %indvars.iv to i32
  br label %.critedge

.critedge:                                        ; preds = %315, %.critedge.loopexit.split.loop.exit345, %.lr.ph292
  %.1196.lcssa = phi i32 [ %.0195290, %.lr.ph292 ], [ %316, %.critedge.loopexit.split.loop.exit345 ], [ %298, %315 ]
  %317 = sext i32 %.1196.lcssa to i64
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %317) #7
  %319 = load i32, ptr %318, align 4, !tbaa !5
  %320 = getelementptr inbounds i8, ptr %308, i64 4
  %321 = load i32, ptr %320, align 4, !tbaa !13
  %322 = icmp sle i32 %319, %321
  %.0197285 = add i32 %.1196.lcssa, 1
  %323 = icmp slt i32 %.0197285, %298
  %or.cond323 = and i1 %322, %323
  br i1 %or.cond323, label %.lr.ph288.preheader, label %.critedge2

.lr.ph288.preheader:                              ; preds = %.critedge
  %324 = sext i32 %.0197285 to i64
  br label %.lr.ph288

.lr.ph288:                                        ; preds = %.lr.ph288.preheader, %357
  %indvars.iv326 = phi i64 [ %324, %.lr.ph288.preheader ], [ %indvars.iv.next327, %357 ]
  %.0197.in286 = phi i32 [ %.1196.lcssa, %.lr.ph288.preheader ], [ %358, %357 ]
  %325 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %indvars.iv326) #7
  %326 = load i32, ptr %325, align 4, !tbaa !5
  %327 = load i32, ptr %320, align 4, !tbaa !13
  %.not228 = icmp sgt i32 %326, %327
  br i1 %.not228, label %.critedge2, label %328

328:                                              ; preds = %.lr.ph288
  %329 = load i32, ptr %42, align 4, !tbaa !5
  %330 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %indvars.iv326) #7
  %331 = load i32, ptr %330, align 4, !tbaa !5
  %332 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %329, i32 noundef %331)
          to label %333 unwind label %359

333:                                              ; preds = %328
  %334 = sext i32 %332 to i64
  %335 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %334) #7
  %336 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %335, i64 noundef 2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #7
  %337 = load i32, ptr %42, align 4, !tbaa !5
  %338 = sext i32 %.0197.in286 to i64
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %338) #7
  %340 = load i32, ptr %339, align 4, !tbaa !5
  %341 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %337, i32 noundef %340)
          to label %342 unwind label %361

342:                                              ; preds = %333
  store i32 %341, ptr %45, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %336, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %343 unwind label %361

343:                                              ; preds = %342
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #7
  %344 = load i32, ptr %42, align 4, !tbaa !5
  %345 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %338) #7
  %346 = load i32, ptr %345, align 4, !tbaa !5
  %347 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %344, i32 noundef %346)
          to label %348 unwind label %359

348:                                              ; preds = %343
  %349 = sext i32 %347 to i64
  %350 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %349) #7
  %351 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %350, i64 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %46) #7
  %352 = load i32, ptr %42, align 4, !tbaa !5
  %353 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %indvars.iv326) #7
  %354 = load i32, ptr %353, align 4, !tbaa !5
  %355 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %352, i32 noundef %354)
          to label %356 unwind label %363

356:                                              ; preds = %348
  store i32 %355, ptr %46, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %351, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %357 unwind label %363

357:                                              ; preds = %356
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #7
  %indvars.iv.next327 = add nsw i64 %indvars.iv326, 1
  %358 = trunc nsw i64 %indvars.iv326 to i32
  %lftr.wideiv = trunc i64 %indvars.iv.next327 to i32
  %exitcond329.not = icmp eq i32 %lftr.wideiv, %298
  br i1 %exitcond329.not, label %.critedge2, label %.lr.ph288, !llvm.loop !25

359:                                              ; preds = %343, %328
  %360 = landingpad { ptr, i32 }
          cleanup
  br label %367

361:                                              ; preds = %342, %333
  %362 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #7
  br label %367

363:                                              ; preds = %356, %348
  %364 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #7
  br label %367

.critedge2:                                       ; preds = %357, %.lr.ph288, %.critedge
  %365 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  %366 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  br i1 %366, label %.lr.ph292, label %._crit_edge293

367:                                              ; preds = %363, %361, %359
  %.pn229 = phi { ptr, i32 } [ %364, %363 ], [ %360, %359 ], [ %362, %361 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  br label %368

368:                                              ; preds = %367, %306
  %.pn229.pn = phi { ptr, i32 } [ %.pn229, %367 ], [ %307, %306 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  br label %708

._crit_edge314:                                   ; preds = %._crit_edge311, %._crit_edge296
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #7
  %369 = load i32, ptr %10, align 4, !tbaa !5
  %370 = load i32, ptr %11, align 4, !tbaa !5
  %371 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %369, i32 noundef %370)
          to label %448 unwind label %463

.lr.ph313:                                        ; preds = %._crit_edge296, %._crit_edge311
  %372 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #7
  %373 = load i32, ptr %372, align 8, !tbaa !18
  store i32 %373, ptr %49, align 4, !tbaa !5
  %374 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %375 unwind label %385

375:                                              ; preds = %.lr.ph313
  %376 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %374) #7
  %377 = trunc i64 %376 to i32
  %378 = getelementptr inbounds i8, ptr %372, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #7
  %379 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %378) #7
  store ptr %379, ptr %50, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #7
  %380 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %378) #7
  store ptr %380, ptr %51, align 8
  %381 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  br i1 %381, label %.lr.ph310.preheader, label %._crit_edge311

.lr.ph310.preheader:                              ; preds = %375
  %sext344 = shl i64 %376, 32
  %382 = ashr exact i64 %sext344, 32
  br label %.lr.ph310

._crit_edge311:                                   ; preds = %.critedge6, %375
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #7
  %383 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  %384 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  br i1 %384, label %.lr.ph313, label %._crit_edge314

385:                                              ; preds = %.lr.ph313
  %386 = landingpad { ptr, i32 }
          cleanup
  br label %447

.lr.ph310:                                        ; preds = %.lr.ph310.preheader, %.critedge6
  %.0199308 = phi i32 [ %.1200.lcssa, %.critedge6 ], [ 0, %.lr.ph310.preheader ]
  %387 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  %388 = icmp slt i32 %.0199308, %377
  br i1 %388, label %.lr.ph299.preheader, label %.critedge4

.lr.ph299.preheader:                              ; preds = %.lr.ph310
  %389 = sext i32 %.0199308 to i64
  br label %.lr.ph299

.lr.ph299:                                        ; preds = %.lr.ph299.preheader, %394
  %indvars.iv330 = phi i64 [ %389, %.lr.ph299.preheader ], [ %indvars.iv.next331, %394 ]
  %390 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %indvars.iv330) #7
  %391 = load i32, ptr %390, align 4, !tbaa !5
  %392 = load i32, ptr %387, align 4, !tbaa !15
  %393 = icmp slt i32 %391, %392
  br i1 %393, label %394, label %.critedge4.loopexit.split.loop.exit347

394:                                              ; preds = %.lr.ph299
  %indvars.iv.next331 = add nsw i64 %indvars.iv330, 1
  %exitcond333.not = icmp eq i64 %indvars.iv.next331, %382
  br i1 %exitcond333.not, label %.critedge4, label %.lr.ph299, !llvm.loop !26

.critedge4.loopexit.split.loop.exit347:           ; preds = %.lr.ph299
  %395 = trunc nsw i64 %indvars.iv330 to i32
  br label %.critedge4

.critedge4:                                       ; preds = %394, %.critedge4.loopexit.split.loop.exit347, %.lr.ph310
  %.1200.lcssa = phi i32 [ %.0199308, %.lr.ph310 ], [ %395, %.critedge4.loopexit.split.loop.exit347 ], [ %377, %394 ]
  %396 = sext i32 %.1200.lcssa to i64
  %397 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %396) #7
  %398 = load i32, ptr %397, align 4, !tbaa !5
  %399 = getelementptr inbounds i8, ptr %387, i64 4
  %400 = load i32, ptr %399, align 4, !tbaa !13
  %401 = icmp sle i32 %398, %400
  %.0198303 = add i32 %.1200.lcssa, 1
  %402 = icmp slt i32 %.0198303, %377
  %or.cond324 = and i1 %401, %402
  br i1 %or.cond324, label %.lr.ph306.preheader, label %.critedge6

.lr.ph306.preheader:                              ; preds = %.critedge4
  %403 = sext i32 %.0198303 to i64
  br label %.lr.ph306

.lr.ph306:                                        ; preds = %.lr.ph306.preheader, %436
  %indvars.iv334 = phi i64 [ %403, %.lr.ph306.preheader ], [ %indvars.iv.next335, %436 ]
  %.0198.in304 = phi i32 [ %.1200.lcssa, %.lr.ph306.preheader ], [ %437, %436 ]
  %404 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %indvars.iv334) #7
  %405 = load i32, ptr %404, align 4, !tbaa !5
  %406 = load i32, ptr %399, align 4, !tbaa !13
  %.not224 = icmp sgt i32 %405, %406
  br i1 %.not224, label %.critedge6, label %407

407:                                              ; preds = %.lr.ph306
  %408 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %indvars.iv334) #7
  %409 = load i32, ptr %408, align 4, !tbaa !5
  %410 = load i32, ptr %49, align 4, !tbaa !5
  %411 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %409, i32 noundef %410)
          to label %412 unwind label %438

412:                                              ; preds = %407
  %413 = sext i32 %411 to i64
  %414 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %413) #7
  %415 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %414, i64 noundef 3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #7
  %416 = sext i32 %.0198.in304 to i64
  %417 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %416) #7
  %418 = load i32, ptr %417, align 4, !tbaa !5
  %419 = load i32, ptr %49, align 4, !tbaa !5
  %420 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %418, i32 noundef %419)
          to label %421 unwind label %440

421:                                              ; preds = %412
  store i32 %420, ptr %52, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %415, ptr noundef nonnull align 4 dereferenceable(4) %52)
          to label %422 unwind label %440

422:                                              ; preds = %421
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #7
  %423 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %416) #7
  %424 = load i32, ptr %423, align 4, !tbaa !5
  %425 = load i32, ptr %49, align 4, !tbaa !5
  %426 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %424, i32 noundef %425)
          to label %427 unwind label %438

427:                                              ; preds = %422
  %428 = sext i32 %426 to i64
  %429 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %428) #7
  %430 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %429, i64 noundef 1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #7
  %431 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %indvars.iv334) #7
  %432 = load i32, ptr %431, align 4, !tbaa !5
  %433 = load i32, ptr %49, align 4, !tbaa !5
  %434 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %432, i32 noundef %433)
          to label %435 unwind label %442

435:                                              ; preds = %427
  store i32 %434, ptr %53, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %430, ptr noundef nonnull align 4 dereferenceable(4) %53)
          to label %436 unwind label %442

436:                                              ; preds = %435
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #7
  %indvars.iv.next335 = add nsw i64 %indvars.iv334, 1
  %437 = trunc nsw i64 %indvars.iv334 to i32
  %lftr.wideiv337 = trunc i64 %indvars.iv.next335 to i32
  %exitcond338.not = icmp eq i32 %lftr.wideiv337, %377
  br i1 %exitcond338.not, label %.critedge6, label %.lr.ph306, !llvm.loop !27

438:                                              ; preds = %422, %407
  %439 = landingpad { ptr, i32 }
          cleanup
  br label %446

440:                                              ; preds = %421, %412
  %441 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #7
  br label %446

442:                                              ; preds = %435, %427
  %443 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #7
  br label %446

.critedge6:                                       ; preds = %436, %.lr.ph306, %.critedge4
  %444 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  %445 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  br i1 %445, label %.lr.ph310, label %._crit_edge311

446:                                              ; preds = %442, %440, %438
  %.pn225 = phi { ptr, i32 } [ %443, %442 ], [ %439, %438 ], [ %441, %440 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #7
  br label %447

447:                                              ; preds = %446, %385
  %.pn225.pn = phi { ptr, i32 } [ %.pn225, %446 ], [ %386, %385 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #7
  br label %708

448:                                              ; preds = %._crit_edge314
  store i32 %371, ptr %54, align 4, !tbaa !5
  %449 = load i32, ptr %12, align 4, !tbaa !5
  %450 = load i32, ptr %13, align 4, !tbaa !5
  %451 = invoke noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef %449, i32 noundef %450)
          to label %452 unwind label %465

452:                                              ; preds = %448
  %453 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %55) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %56) #7
  %sext = shl i64 %453, 32
  %454 = ashr exact i64 %sext, 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %57) #7
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #7
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %56, i64 noundef %454, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %455 unwind label %467

455:                                              ; preds = %452
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %58) #7
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef 4, ptr noundef nonnull align 8 dereferenceable(40) %56, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %456 unwind label %469

456:                                              ; preds = %455
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %56) #7
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %59) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %60) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %61) #7
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %454, ptr noundef nonnull align 8 dereferenceable(8) @_ZL3INF, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %457 unwind label %472

457:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %62) #7
  call void @_ZNSaISt6vectorIxSaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  invoke void @_ZNSt6vectorIS_IxSaIxEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 4, ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %458 unwind label %474

458:                                              ; preds = %457
  call void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %63) #7
  call void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EEC2IS5_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %63)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %64) #7
  store i32 0, ptr %64, align 4, !tbaa !5
  br label %477

459:                                              ; preds = %491
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %64) #7
  %460 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %63)
  br i1 %460, label %._crit_edge321, label %.lr.ph320

.lr.ph320:                                        ; preds = %459
  %461 = getelementptr inbounds i8, ptr %71, i64 8
  %462 = getelementptr inbounds i8, ptr %72, i64 8
  br label %497

463:                                              ; preds = %._crit_edge314
  %464 = landingpad { ptr, i32 }
          cleanup
  br label %707

465:                                              ; preds = %448
  %466 = landingpad { ptr, i32 }
          cleanup
  br label %707

467:                                              ; preds = %452
  %468 = landingpad { ptr, i32 }
          cleanup
  br label %471

469:                                              ; preds = %455
  %470 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %56) #7
  br label %471

471:                                              ; preds = %469, %467
  %.pn = phi { ptr, i32 } [ %470, %469 ], [ %468, %467 ]
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %56) #7
  br label %706

472:                                              ; preds = %456
  %473 = landingpad { ptr, i32 }
          cleanup
  br label %476

474:                                              ; preds = %457
  %475 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  br label %476

476:                                              ; preds = %474, %472
  %.pn212 = phi { ptr, i32 } [ %475, %474 ], [ %473, %472 ]
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #7
  br label %705

477:                                              ; preds = %458, %491
  %storemerge315 = phi i32 [ 0, %458 ], [ %493, %491 ]
  %478 = sext i32 %storemerge315 to i64
  %479 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %478) #7
  %480 = load i32, ptr %54, align 4, !tbaa !5
  %481 = sext i32 %480 to i64
  %482 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %479, i64 noundef %481) #7
  store i64 0, ptr %482, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %65) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %66) #7
  %483 = load i32, ptr %64, align 4, !tbaa !5
  %484 = sext i32 %483 to i64
  %485 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %484) #7
  %486 = load i32, ptr %54, align 4, !tbaa !5
  %487 = sext i32 %486 to i64
  %488 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %485, i64 noundef %487) #7
  %489 = load i64, ptr %488, align 8, !tbaa !11
  %490 = sub nsw i64 0, %489
  store i64 %490, ptr %66, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %67) #7
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %67, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %54)
  call void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 4 dereferenceable(8) %67)
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %63, ptr noundef nonnull align 8 dereferenceable(16) %65)
          to label %491 unwind label %495

491:                                              ; preds = %477
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %67) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %65) #7
  %492 = load i32, ptr %64, align 4, !tbaa !5
  %493 = add nsw i32 %492, 1
  store i32 %493, ptr %64, align 4, !tbaa !5
  %494 = icmp slt i32 %492, 3
  br i1 %494, label %477, label %459, !llvm.loop !28

495:                                              ; preds = %477
  %496 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %67) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %65) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %64) #7
  br label %704

497:                                              ; preds = %.lr.ph320, %683
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %68) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %69) #7
  %498 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %63)
  %499 = getelementptr inbounds i8, ptr %498, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %70) #7
  call void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 8 %70, ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %69) #7
  %500 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIRKT_RKT0_EEERS1_E4typeERKSt4pairIS4_S7_E(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 4 dereferenceable(8) %499) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %70) #7
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %63)
          to label %501 unwind label %512

501:                                              ; preds = %497
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %71) #7
  %502 = load i32, ptr %68, align 4, !tbaa !5
  %503 = sext i32 %502 to i64
  %504 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %503) #7
  %505 = load i32, ptr %69, align 4, !tbaa !5
  %506 = sext i32 %505 to i64
  %507 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %504, i64 noundef %506)
          to label %508 unwind label %514

508:                                              ; preds = %501
  %509 = extractvalue { ptr, i64 } %507, 0
  store ptr %509, ptr %71, align 8
  %510 = extractvalue { ptr, i64 } %507, 1
  store i64 %510, ptr %461, align 8
  %511 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %71) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %71) #7
  br i1 %511, label %683, label %516, !llvm.loop !29

512:                                              ; preds = %497
  %513 = landingpad { ptr, i32 }
          cleanup
  br label %685

514:                                              ; preds = %501
  %515 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %71) #7
  br label %685

516:                                              ; preds = %508
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %72) #7
  %517 = load i32, ptr %68, align 4, !tbaa !5
  %518 = sext i32 %517 to i64
  %519 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %518) #7
  %520 = load i32, ptr %69, align 4, !tbaa !5
  %521 = sext i32 %520 to i64
  %522 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %519, i64 noundef %521)
          to label %523 unwind label %543

523:                                              ; preds = %516
  %524 = extractvalue { ptr, i64 } %522, 0
  store ptr %524, ptr %72, align 8
  %525 = extractvalue { ptr, i64 } %522, 1
  store i64 %525, ptr %462, align 8
  %526 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %72, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %72) #7
  %527 = load i32, ptr %68, align 4, !tbaa !5
  %528 = sext i32 %527 to i64
  %529 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %528) #7
  %530 = load i32, ptr %69, align 4, !tbaa !5
  %531 = sext i32 %530 to i64
  %532 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %529, i64 noundef %531) #7
  %533 = load i64, ptr %532, align 8, !tbaa !11
  %534 = load i32, ptr %69, align 4, !tbaa !5
  %535 = sext i32 %534 to i64
  %536 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %535) #7
  %537 = load i32, ptr %68, align 4, !tbaa !5
  %538 = sext i32 %537 to i64
  %539 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %536, i64 noundef %538) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %73) #7
  %540 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %539) #7
  store ptr %540, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %74) #7
  %541 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %539) #7
  store ptr %541, ptr %74, align 8
  %542 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %74) #7
  br i1 %542, label %.lr.ph317, label %._crit_edge318

._crit_edge318:                                   ; preds = %679, %523
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %73) #7
  br label %683

543:                                              ; preds = %516
  %544 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %72) #7
  br label %685

.lr.ph317:                                        ; preds = %523, %679
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %75) #7
  %545 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  %546 = load i32, ptr %545, align 4, !tbaa !5
  store i32 %546, ptr %75, align 4, !tbaa !5
  %547 = load i32, ptr %69, align 4, !tbaa !5
  %548 = sext i32 %547 to i64
  %549 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %548) #7
  %550 = load i32, ptr %549, align 4, !tbaa !15
  %551 = sext i32 %550 to i64
  %552 = load i32, ptr %75, align 4, !tbaa !5
  %553 = sext i32 %552 to i64
  %554 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %553) #7
  %555 = load i32, ptr %554, align 4, !tbaa !15
  %556 = sext i32 %555 to i64
  %557 = sub nsw i64 %551, %556
  %558 = call noundef i64 @_ZSt3absx(i64 noundef %557)
  %559 = load i32, ptr %69, align 4, !tbaa !5
  %560 = sext i32 %559 to i64
  %561 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %560) #7
  %562 = getelementptr inbounds i8, ptr %561, i64 4
  %563 = load i32, ptr %562, align 4, !tbaa !13
  %564 = sext i32 %563 to i64
  %565 = load i32, ptr %75, align 4, !tbaa !5
  %566 = sext i32 %565 to i64
  %567 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %566) #7
  %568 = getelementptr inbounds i8, ptr %567, i64 4
  %569 = load i32, ptr %568, align 4, !tbaa !13
  %570 = sext i32 %569 to i64
  %571 = sub nsw i64 %564, %570
  %572 = call noundef i64 @_ZSt3absx(i64 noundef %571)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %76) #7
  %573 = load i32, ptr %68, align 4, !tbaa !5
  store i32 %573, ptr %76, align 4, !tbaa !5
  %574 = add i64 %558, %533
  %575 = add i64 %574, %572
  %576 = load i64, ptr %16, align 8, !tbaa !11
  %577 = srem i64 %575, %576
  %578 = load i64, ptr %14, align 8, !tbaa !11
  %579 = icmp slt i64 %577, %578
  %580 = sub nsw i64 %578, %577
  %581 = select i1 %579, i64 %580, i64 0
  %.0169 = add nsw i64 %581, %575
  %582 = sext i32 %573 to i64
  %583 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %582) #7
  %584 = load i32, ptr %75, align 4, !tbaa !5
  %585 = sext i32 %584 to i64
  %586 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %583, i64 noundef %585) #7
  %587 = load i64, ptr %586, align 8, !tbaa !11
  %588 = icmp slt i64 %.0169, %587
  br i1 %588, label %589, label %607

589:                                              ; preds = %.lr.ph317
  %590 = load i32, ptr %76, align 4, !tbaa !5
  %591 = sext i32 %590 to i64
  %592 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %591) #7
  %593 = load i32, ptr %75, align 4, !tbaa !5
  %594 = sext i32 %593 to i64
  %595 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %592, i64 noundef %594) #7
  store i64 %.0169, ptr %595, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %77) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %78) #7
  %596 = load i32, ptr %76, align 4, !tbaa !5
  %597 = sext i32 %596 to i64
  %598 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %597) #7
  %599 = load i32, ptr %75, align 4, !tbaa !5
  %600 = sext i32 %599 to i64
  %601 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %598, i64 noundef %600) #7
  %602 = load i64, ptr %601, align 8, !tbaa !11
  %603 = sub nsw i64 0, %602
  store i64 %603, ptr %78, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %79) #7
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %79, ptr noundef nonnull align 4 dereferenceable(4) %76, ptr noundef nonnull align 4 dereferenceable(4) %75)
  call void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(8) %79)
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %63, ptr noundef nonnull align 8 dereferenceable(16) %77)
          to label %604 unwind label %605

604:                                              ; preds = %589
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %79) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %78) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %77) #7
  br label %607

605:                                              ; preds = %589
  %606 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %79) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %78) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %77) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %76) #7
  br label %682

607:                                              ; preds = %604, %.lr.ph317
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %76) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %80) #7
  %608 = load i32, ptr %68, align 4, !tbaa !5
  %609 = add nsw i32 %608, 1
  %610 = and i32 %609, 3
  store i32 %610, ptr %80, align 4, !tbaa !5
  %611 = zext nneg i32 %610 to i64
  %612 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %611) #7
  %613 = load i32, ptr %75, align 4, !tbaa !5
  %614 = sext i32 %613 to i64
  %615 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %612, i64 noundef %614) #7
  %616 = load i64, ptr %615, align 8, !tbaa !11
  %617 = icmp slt i64 %575, %616
  br i1 %617, label %618, label %636

618:                                              ; preds = %607
  %619 = load i32, ptr %80, align 4, !tbaa !5
  %620 = sext i32 %619 to i64
  %621 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %620) #7
  %622 = load i32, ptr %75, align 4, !tbaa !5
  %623 = sext i32 %622 to i64
  %624 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %621, i64 noundef %623) #7
  store i64 %575, ptr %624, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %81) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %82) #7
  %625 = load i32, ptr %80, align 4, !tbaa !5
  %626 = sext i32 %625 to i64
  %627 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %626) #7
  %628 = load i32, ptr %75, align 4, !tbaa !5
  %629 = sext i32 %628 to i64
  %630 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %627, i64 noundef %629) #7
  %631 = load i64, ptr %630, align 8, !tbaa !11
  %632 = sub nsw i64 0, %631
  store i64 %632, ptr %82, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %83) #7
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %83, ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(4) %75)
  call void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull align 4 dereferenceable(8) %83)
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %63, ptr noundef nonnull align 8 dereferenceable(16) %81)
          to label %633 unwind label %634

633:                                              ; preds = %618
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %82) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %81) #7
  br label %636

634:                                              ; preds = %618
  %635 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %82) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %81) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %80) #7
  br label %682

636:                                              ; preds = %633, %607
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %80) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %84) #7
  %637 = load i32, ptr %68, align 4, !tbaa !5
  %638 = add nsw i32 %637, 3
  %639 = and i32 %638, 3
  store i32 %639, ptr %84, align 4, !tbaa !5
  %640 = load i64, ptr %16, align 8, !tbaa !11
  %641 = srem i64 %575, %640
  %642 = load i64, ptr %14, align 8, !tbaa !11
  %643 = icmp slt i64 %641, %642
  br i1 %643, label %644, label %647

644:                                              ; preds = %636
  %645 = sub i64 %575, %641
  %646 = add i64 %645, %642
  br label %653

647:                                              ; preds = %636
  %648 = load i64, ptr %15, align 8, !tbaa !11
  %.not214 = icmp slt i64 %641, %648
  br i1 %.not214, label %653, label %649

649:                                              ; preds = %647
  %650 = add i64 %640, %575
  %651 = sub i64 %650, %641
  %652 = add i64 %651, %642
  br label %653

653:                                              ; preds = %647, %649, %644
  %.0168 = phi i64 [ %646, %644 ], [ %652, %649 ], [ %575, %647 ]
  %654 = zext nneg i32 %639 to i64
  %655 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %654) #7
  %656 = load i32, ptr %75, align 4, !tbaa !5
  %657 = sext i32 %656 to i64
  %658 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %655, i64 noundef %657) #7
  %659 = load i64, ptr %658, align 8, !tbaa !11
  %660 = icmp slt i64 %.0168, %659
  br i1 %660, label %661, label %679

661:                                              ; preds = %653
  %662 = load i32, ptr %84, align 4, !tbaa !5
  %663 = sext i32 %662 to i64
  %664 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %663) #7
  %665 = load i32, ptr %75, align 4, !tbaa !5
  %666 = sext i32 %665 to i64
  %667 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %664, i64 noundef %666) #7
  store i64 %.0168, ptr %667, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %85) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %86) #7
  %668 = load i32, ptr %84, align 4, !tbaa !5
  %669 = sext i32 %668 to i64
  %670 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %669) #7
  %671 = load i32, ptr %75, align 4, !tbaa !5
  %672 = sext i32 %671 to i64
  %673 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %670, i64 noundef %672) #7
  %674 = load i64, ptr %673, align 8, !tbaa !11
  %675 = sub nsw i64 0, %674
  store i64 %675, ptr %86, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %87) #7
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(4) %84, ptr noundef nonnull align 4 dereferenceable(4) %75)
  call void @_ZNSt4pairIxS_IiiEEC2IxS0_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS4_S5_EEEbE4typeELb1EEERKxRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %85, ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 4 dereferenceable(8) %87)
  invoke void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE4pushEOS2_(ptr noundef nonnull align 8 dereferenceable(25) %63, ptr noundef nonnull align 8 dereferenceable(16) %85)
          to label %676 unwind label %677

676:                                              ; preds = %661
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %87) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %86) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %85) #7
  br label %679

677:                                              ; preds = %661
  %678 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %87) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %86) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %85) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %84) #7
  br label %682

679:                                              ; preds = %676, %653
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %84) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %75) #7
  %680 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  %681 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %74) #7
  br i1 %681, label %.lr.ph317, label %._crit_edge318

682:                                              ; preds = %677, %634, %605
  %.pn215 = phi { ptr, i32 } [ %678, %677 ], [ %635, %634 ], [ %606, %605 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %75) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %73) #7
  br label %685

683:                                              ; preds = %508, %._crit_edge318
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %69) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %68) #7
  %684 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %63)
  br i1 %684, label %._crit_edge321, label %497

685:                                              ; preds = %682, %543, %514, %512
  %.pn215.pn = phi { ptr, i32 } [ %.pn215, %682 ], [ %544, %543 ], [ %515, %514 ], [ %513, %512 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %69) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %68) #7
  br label %704

._crit_edge321:                                   ; preds = %683, %459
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %88) #7
  store i64 9187201950435737471, ptr %88, align 8, !tbaa !11
  %686 = sext i32 %451 to i64
  %687 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 0) #7
  %688 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %687, i64 noundef %686) #7
  %689 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %688)
  %690 = load i64, ptr %689, align 8, !tbaa !11
  store i64 %690, ptr %88, align 8, !tbaa !11
  %691 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 1) #7
  %692 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %691, i64 noundef %686) #7
  %693 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %692)
  %694 = load i64, ptr %693, align 8, !tbaa !11
  store i64 %694, ptr %88, align 8, !tbaa !11
  %695 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 2) #7
  %696 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %695, i64 noundef %686) #7
  %697 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %696)
  %698 = load i64, ptr %697, align 8, !tbaa !11
  store i64 %698, ptr %88, align 8, !tbaa !11
  %699 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 3) #7
  %700 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %699, i64 noundef %686) #7
  %701 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %700)
  %702 = load i64, ptr %701, align 8, !tbaa !11
  store i64 %702, ptr %88, align 8, !tbaa !11
  %703 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %702)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %88) #7
  call void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %63) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #7
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #7
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #7
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @_ZNSt3mapISt4pairIiiEiSt4lessIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

704:                                              ; preds = %685, %495
  %.pn218 = phi { ptr, i32 } [ %496, %495 ], [ %.pn215.pn, %685 ]
  call void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %63) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #7
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  br label %705

705:                                              ; preds = %704, %476
  %.pn218.pn = phi { ptr, i32 } [ %.pn218, %704 ], [ %.pn212, %476 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #7
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  br label %706

706:                                              ; preds = %705, %471
  %.pn218.pn.pn = phi { ptr, i32 } [ %.pn218.pn, %705 ], [ %.pn, %471 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #7
  br label %707

707:                                              ; preds = %465, %706, %463
  %.pn218.pn.pn.pn.pn = phi { ptr, i32 } [ %464, %463 ], [ %.pn218.pn.pn, %706 ], [ %466, %465 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #7
  br label %708

708:                                              ; preds = %707, %447, %368, %291
  %.pn229.pn.pn = phi { ptr, i32 } [ %.pn229.pn, %368 ], [ %.pn225.pn, %447 ], [ %.pn218.pn.pn.pn.pn, %707 ], [ %292, %291 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #7
  br label %709

709:                                              ; preds = %708, %268
  %.pn233 = phi { ptr, i32 } [ %269, %268 ], [ %.pn229.pn.pn, %708 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #7
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @_ZNSt3mapISt4pairIiiEiSt4lessIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #7
  call void @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #7
  br label %710

710:                                              ; preds = %709, %222, %175
  %.pn238.pn = phi { ptr, i32 } [ %.pn238, %175 ], [ %.pn235, %222 ], [ %.pn233, %709 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %711

711:                                              ; preds = %710, %121
  %.pn242.pn = phi { ptr, i32 } [ %.pn242, %121 ], [ %.pn238.pn, %710 ]
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn242.pn
}

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorISt4pairIiiESaIS2_EESt4lessIiESaIS1_IKiS4_EEEixERS7_(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 void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKiS8_(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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEES9_(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 noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt6vectorIS0_IiiESaIS3_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEEixERS6_(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 void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZ4mainENK3$_1clERSt6vectorIiSaIiEEi"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #6 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @"_ZZ4mainENK3$_0clEii"(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #6 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25)) 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") 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_E4typeERKSt4pairIS4_S7_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) local_unnamed_addr #5

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxS0_IiiEESt6vectorIS2_SaIS2_EESt4lessIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !6, i64 4}
!14 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!15 = !{!14, !6, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSSt4pairIKiSt6vectorIS_IiiESaIS2_EEE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}


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