; LLVM IR from tangjz/acm-icpc :: codeforces/complete/89B.ll (Z5solvev)

; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon = type { ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%struct.Node = type { i32, i32, i32, i32, [2 x i64], %"class.std::vector.5" }
%"struct.std::pair" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZZ5solvevE3buf = external hidden global [1000001 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::unordered_map", align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %class.anon, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::vector.5", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca %"class.std::vector.10", align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %36 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %3) #6
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #6
  call void @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  %45 = getelementptr inbounds %class.anon, ptr %5, i32 0, i32 0
  store ptr %3, ptr %45, align 8, !tbaa !9
  %46 = getelementptr inbounds %class.anon, ptr %5, i32 0, i32 1
  store ptr %4, ptr %46, align 8, !tbaa !9
  %47 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
          to label %48 unwind label %86

48:                                               ; preds = %0
  br label %49

49:                                               ; preds = %322, %320, %173, %48
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = add nsw i32 %50, -1
  store i32 %51, ptr %2, align 4, !tbaa !5
  %52 = icmp ne i32 %50, 0
  br i1 %52, label %53, label %324

53:                                               ; preds = %49
  %54 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @_ZZ5solvevE3buf)
          to label %55 unwind label %86

55:                                               ; preds = %53
  %56 = load i8, ptr @_ZZ5solvevE3buf, align 16, !tbaa !11
  %57 = sext i8 %56 to i32
  %58 = icmp sge i32 %57, 65
  br i1 %58, label %59, label %175

59:                                               ; preds = %55
  %60 = load i8, ptr @_ZZ5solvevE3buf, align 16, !tbaa !11
  %61 = sext i8 %60 to i32
  %62 = icmp sle i32 %61, 90
  br i1 %62, label %63, label %175

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %64 = load i8, ptr @_ZZ5solvevE3buf, align 16, !tbaa !11
  %65 = sext i8 %64 to i32
  %66 = icmp eq i32 %65, 87
  br i1 %66, label %67, label %68

67:                                               ; preds = %63
  br label %73

68:                                               ; preds = %63
  %69 = load i8, ptr @_ZZ5solvevE3buf, align 16, !tbaa !11
  %70 = sext i8 %69 to i32
  %71 = icmp eq i32 %70, 86
  %72 = zext i1 %71 to i32
  br label %73

73:                                               ; preds = %68, %67
  %74 = phi i32 [ 2, %67 ], [ %72, %68 ]
  store i32 %74, ptr %8, align 4, !tbaa !5
  %75 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @_ZZ5solvevE3buf)
          to label %76 unwind label %90

76:                                               ; preds = %73
  %77 = load i32, ptr %8, align 4, !tbaa !5
  %78 = icmp ne i32 %77, 2
  br i1 %78, label %79, label %94

79:                                               ; preds = %76
  %80 = load i32, ptr %8, align 4, !tbaa !5
  %81 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @_ZZ5solvevE3buf)
          to label %82 unwind label %90

82:                                               ; preds = %79
  %83 = sext i32 %81 to i64
  %84 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %83) #6
  %85 = getelementptr inbounds %struct.Node, ptr %84, i32 0, i32 0
  store i32 %80, ptr %85, align 8, !tbaa !12
  store i32 2, ptr %9, align 4
  br label %173, !llvm.loop !18

86:                                               ; preds = %53, %0
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %6, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %7, align 4
  br label %614

90:                                               ; preds = %79, %73
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %6, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %7, align 4
  br label %174

94:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %103, %94
  %96 = load i32, ptr %10, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %97
  %99 = load i8, ptr %98, align 1, !tbaa !11
  %100 = sext i8 %99 to i32
  %101 = icmp ne i32 %100, 40
  br i1 %101, label %102, label %106

102:                                              ; preds = %95
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %10, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %10, align 4, !tbaa !5
  br label %95, !llvm.loop !20

106:                                              ; preds = %95
  %107 = load i32, ptr %10, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %108
  store i8 0, ptr %109, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %110 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @_ZZ5solvevE3buf)
          to label %111 unwind label %121

111:                                              ; preds = %106
  %112 = sext i32 %110 to i64
  %113 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %112) #6
  store ptr %113, ptr %11, align 8, !tbaa !9
  %114 = load i32, ptr %8, align 4, !tbaa !5
  %115 = load ptr, ptr %11, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.Node, ptr %115, i32 0, i32 0
  store i32 %114, ptr %116, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %169, %111
  %118 = load i32, ptr %12, align 4, !tbaa !5
  %119 = icmp slt i32 %118, 2
  br i1 %119, label %125, label %120

120:                                              ; preds = %117
  store i32 7, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %172

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

125:                                              ; preds = %117
  %126 = load i32, ptr %10, align 4, !tbaa !5
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %10, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %165, %125
  %129 = load i32, ptr %10, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %130
  %132 = load i8, ptr %131, align 1, !tbaa !11
  %133 = sext i8 %132 to i32
  %134 = icmp ne i32 %133, 44
  br i1 %134, label %135, label %142

135:                                              ; preds = %128
  %136 = load i32, ptr %10, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %137
  %139 = load i8, ptr %138, align 1, !tbaa !11
  %140 = sext i8 %139 to i32
  %141 = icmp ne i32 %140, 41
  br label %142

142:                                              ; preds = %135, %128
  %143 = phi i1 [ false, %128 ], [ %141, %135 ]
  br i1 %143, label %144, label %168

144:                                              ; preds = %142
  %145 = load ptr, ptr %11, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct.Node, ptr %145, i32 0, i32 4
  %147 = load i32, ptr %12, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [2 x i64], ptr %146, i64 0, i64 %148
  %150 = load i64, ptr %149, align 8, !tbaa !21
  %151 = mul nsw i64 %150, 10
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %153
  %155 = load i8, ptr %154, align 1, !tbaa !11
  %156 = sext i8 %155 to i32
  %157 = sub nsw i32 %156, 48
  %158 = sext i32 %157 to i64
  %159 = add nsw i64 %151, %158
  %160 = load ptr, ptr %11, align 8, !tbaa !9
  %161 = getelementptr inbounds %struct.Node, ptr %160, i32 0, i32 4
  %162 = load i32, ptr %12, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [2 x i64], ptr %161, i64 0, i64 %163
  store i64 %159, ptr %164, align 8, !tbaa !21
  br label %165

165:                                              ; preds = %144
  %166 = load i32, ptr %10, align 4, !tbaa !5
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %10, align 4, !tbaa !5
  br label %128, !llvm.loop !23

168:                                              ; preds = %142
  br label %169

169:                                              ; preds = %168
  %170 = load i32, ptr %12, align 4, !tbaa !5
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %12, align 4, !tbaa !5
  br label %117, !llvm.loop !24

172:                                              ; preds = %120
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %173

173:                                              ; preds = %172, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %49

174:                                              ; preds = %121, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %614

175:                                              ; preds = %59, %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %184, %175
  %177 = load i32, ptr %13, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %178
  %180 = load i8, ptr %179, align 1, !tbaa !11
  %181 = sext i8 %180 to i32
  %182 = icmp ne i32 %181, 46
  br i1 %182, label %183, label %187

183:                                              ; preds = %176
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %13, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %13, align 4, !tbaa !5
  br label %176, !llvm.loop !25

187:                                              ; preds = %176
  %188 = load i32, ptr %13, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %189
  store i8 0, ptr %190, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %191 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @_ZZ5solvevE3buf)
          to label %192 unwind label %214

192:                                              ; preds = %187
  %193 = sext i32 %191 to i64
  %194 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %193) #6
  store ptr %194, ptr %14, align 8, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %13, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %197
  %199 = load i8, ptr %198, align 1, !tbaa !11
  %200 = sext i8 %199 to i32
  %201 = icmp eq i32 %200, 112
  br i1 %201, label %202, label %254

202:                                              ; preds = %192
  br label %203

203:                                              ; preds = %211, %202
  %204 = load i32, ptr %13, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %205
  %207 = load i8, ptr %206, align 1, !tbaa !11
  %208 = sext i8 %207 to i32
  %209 = icmp ne i32 %208, 40
  br i1 %209, label %210, label %218

210:                                              ; preds = %203
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr %13, align 4, !tbaa !5
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %13, align 4, !tbaa !5
  br label %203, !llvm.loop !26

214:                                              ; preds = %187
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %6, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %7, align 4
  br label %323

218:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %219 = load i32, ptr %13, align 4, !tbaa !5
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %13, align 4, !tbaa !5
  store i32 %220, ptr %15, align 4, !tbaa !5
  br label %221

221:                                              ; preds = %229, %218
  %222 = load i32, ptr %13, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %223
  %225 = load i8, ptr %224, align 1, !tbaa !11
  %226 = sext i8 %225 to i32
  %227 = icmp ne i32 %226, 41
  br i1 %227, label %228, label %232

228:                                              ; preds = %221
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %13, align 4, !tbaa !5
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %13, align 4, !tbaa !5
  br label %221, !llvm.loop !27

232:                                              ; preds = %221
  %233 = load i32, ptr %13, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %234
  store i8 0, ptr %235, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %236 = load i32, ptr %15, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds i8, ptr @_ZZ5solvevE3buf, i64 %237
  %239 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %238)
          to label %240 unwind label %250

240:                                              ; preds = %232
  store i32 %239, ptr %16, align 4, !tbaa !5
  %241 = load ptr, ptr %14, align 8, !tbaa !9
  %242 = getelementptr inbounds %struct.Node, ptr %241, i32 0, i32 5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %242, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %243 unwind label %250

243:                                              ; preds = %240
  %244 = load i32, ptr %16, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %245) #6
  %247 = getelementptr inbounds %struct.Node, ptr %246, i32 0, i32 3
  %248 = load i32, ptr %247, align 4, !tbaa !28
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %247, align 4, !tbaa !28
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %320

250:                                              ; preds = %240, %232
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %6, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %323

254:                                              ; preds = %192
  br label %255

255:                                              ; preds = %263, %254
  %256 = load i32, ptr %13, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %257
  %259 = load i8, ptr %258, align 1, !tbaa !11
  %260 = sext i8 %259 to i32
  %261 = icmp ne i32 %260, 95
  br i1 %261, label %262, label %266

262:                                              ; preds = %255
  br label %263

263:                                              ; preds = %262
  %264 = load i32, ptr %13, align 4, !tbaa !5
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %13, align 4, !tbaa !5
  br label %255, !llvm.loop !29

266:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %267 = load i32, ptr %13, align 4, !tbaa !5
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %13, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %269
  %271 = load i8, ptr %270, align 1, !tbaa !11
  %272 = sext i8 %271 to i32
  %273 = icmp eq i32 %272, 98
  br i1 %273, label %274, label %277

274:                                              ; preds = %266
  %275 = load ptr, ptr %14, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.Node, ptr %275, i32 0, i32 1
  br label %280

277:                                              ; preds = %266
  %278 = load ptr, ptr %14, align 8, !tbaa !9
  %279 = getelementptr inbounds %struct.Node, ptr %278, i32 0, i32 2
  br label %280

280:                                              ; preds = %277, %274
  %281 = phi ptr [ %276, %274 ], [ %279, %277 ]
  store ptr %281, ptr %17, align 8, !tbaa !9
  %282 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 0, ptr %282, align 4, !tbaa !5
  br label %283

283:                                              ; preds = %291, %280
  %284 = load i32, ptr %13, align 4, !tbaa !5
  %285 = sext i32 %284 to i64
  %286 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %285
  %287 = load i8, ptr %286, align 1, !tbaa !11
  %288 = sext i8 %287 to i32
  %289 = icmp ne i32 %288, 40
  br i1 %289, label %290, label %294

290:                                              ; preds = %283
  br label %291

291:                                              ; preds = %290
  %292 = load i32, ptr %13, align 4, !tbaa !5
  %293 = add nsw i32 %292, 1
  store i32 %293, ptr %13, align 4, !tbaa !5
  br label %283, !llvm.loop !30

294:                                              ; preds = %283
  %295 = load i32, ptr %13, align 4, !tbaa !5
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %13, align 4, !tbaa !5
  br label %297

297:                                              ; preds = %316, %294
  %298 = load i32, ptr %13, align 4, !tbaa !5
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %299
  %301 = load i8, ptr %300, align 1, !tbaa !11
  %302 = sext i8 %301 to i32
  %303 = icmp ne i32 %302, 41
  br i1 %303, label %304, label %319

304:                                              ; preds = %297
  %305 = load ptr, ptr %17, align 8, !tbaa !9
  %306 = load i32, ptr %305, align 4, !tbaa !5
  %307 = mul nsw i32 %306, 10
  %308 = load i32, ptr %13, align 4, !tbaa !5
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %309
  %311 = load i8, ptr %310, align 1, !tbaa !11
  %312 = sext i8 %311 to i32
  %313 = sub nsw i32 %312, 48
  %314 = add nsw i32 %307, %313
  %315 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 %314, ptr %315, align 4, !tbaa !5
  br label %316

316:                                              ; preds = %304
  %317 = load i32, ptr %13, align 4, !tbaa !5
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %13, align 4, !tbaa !5
  br label %297, !llvm.loop !31

319:                                              ; preds = %297
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  store i32 0, ptr %9, align 4
  br label %320

320:                                              ; preds = %319, %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  %321 = load i32, ptr %9, align 4
  switch i32 %321, label %620 [
    i32 0, label %322
    i32 2, label %49
  ]

322:                                              ; preds = %320
  br label %49, !llvm.loop !18

323:                                              ; preds = %250, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %614

324:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %325

325:                                              ; preds = %345, %324
  %326 = load i32, ptr %19, align 4, !tbaa !5
  %327 = call noundef i64 @_ZNKSt6vectorIZ5solvevE4NodeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %328 = trunc i64 %327 to i32
  %329 = icmp slt i32 %326, %328
  br i1 %329, label %331, label %330

330:                                              ; preds = %325
  store i32 31, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %348

331:                                              ; preds = %325
  %332 = load i32, ptr %19, align 4, !tbaa !5
  %333 = sext i32 %332 to i64
  %334 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %333) #6
  %335 = getelementptr inbounds %struct.Node, ptr %334, i32 0, i32 3
  %336 = load i32, ptr %335, align 4, !tbaa !28
  %337 = icmp ne i32 %336, 0
  br i1 %337, label %344, label %338

338:                                              ; preds = %331
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %339 unwind label %340

339:                                              ; preds = %338
  br label %344

340:                                              ; preds = %338
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %6, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %613

344:                                              ; preds = %339, %331
  br label %345

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

348:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %349

349:                                              ; preds = %393, %348
  %350 = load i32, ptr %20, align 4, !tbaa !5
  %351 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %352 = trunc i64 %351 to i32
  %353 = icmp slt i32 %350, %352
  br i1 %353, label %355, label %354

354:                                              ; preds = %349
  store i32 34, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %396

355:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %356 = load i32, ptr %20, align 4, !tbaa !5
  %357 = sext i32 %356 to i64
  %358 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %357) #6
  %359 = load i32, ptr %358, align 4, !tbaa !5
  %360 = sext i32 %359 to i64
  %361 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %360) #6
  store ptr %361, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %362 = load ptr, ptr %21, align 8, !tbaa !9
  %363 = getelementptr inbounds %struct.Node, ptr %362, i32 0, i32 5
  store ptr %363, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %364 = load ptr, ptr %22, align 8, !tbaa !9
  %365 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %364) #6
  %366 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %365, ptr %366, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %367 = load ptr, ptr %22, align 8, !tbaa !9
  %368 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %367) #6
  %369 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %368, ptr %369, align 8
  br label %370

370:                                              ; preds = %390, %355
  %371 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br i1 %371, label %373, label %372

372:                                              ; preds = %370
  store i32 37, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %392

373:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %374 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %375 = load i32, ptr %374, align 4, !tbaa !5
  store i32 %375, ptr %25, align 4, !tbaa !5
  %376 = load i32, ptr %25, align 4, !tbaa !5
  %377 = sext i32 %376 to i64
  %378 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %377) #6
  %379 = getelementptr inbounds %struct.Node, ptr %378, i32 0, i32 3
  %380 = load i32, ptr %379, align 4, !tbaa !28
  %381 = add nsw i32 %380, -1
  store i32 %381, ptr %379, align 4, !tbaa !28
  %382 = icmp ne i32 %381, 0
  br i1 %382, label %389, label %383

383:                                              ; preds = %373
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %384 unwind label %385

384:                                              ; preds = %383
  br label %389

385:                                              ; preds = %383
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %6, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %613

389:                                              ; preds = %384, %373
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %390

390:                                              ; preds = %389
  %391 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br label %370

392:                                              ; preds = %372
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %393

393:                                              ; preds = %392
  %394 = load i32, ptr %20, align 4, !tbaa !5
  %395 = add nsw i32 %394, 1
  store i32 %395, ptr %20, align 4, !tbaa !5
  br label %349, !llvm.loop !33

396:                                              ; preds = %354
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %397 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %398 = trunc i64 %397 to i32
  %399 = sub nsw i32 %398, 1
  store i32 %399, ptr %26, align 4, !tbaa !5
  br label %400

400:                                              ; preds = %536, %396
  %401 = load i32, ptr %26, align 4, !tbaa !5
  %402 = icmp sge i32 %401, 0
  br i1 %402, label %404, label %403

403:                                              ; preds = %400
  store i32 39, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %539

404:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %405 = load i32, ptr %26, align 4, !tbaa !5
  %406 = sext i32 %405 to i64
  %407 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %406) #6
  %408 = load i32, ptr %407, align 4, !tbaa !5
  %409 = sext i32 %408 to i64
  %410 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %409) #6
  store ptr %410, ptr %27, align 8, !tbaa !9
  %411 = load ptr, ptr %27, align 8, !tbaa !9
  %412 = getelementptr inbounds %struct.Node, ptr %411, i32 0, i32 0
  %413 = load i32, ptr %412, align 8, !tbaa !12
  %414 = icmp eq i32 %413, 2
  br i1 %414, label %415, label %416

415:                                              ; preds = %404
  store i32 41, ptr %9, align 4
  br label %533

416:                                              ; preds = %404
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %417 = load ptr, ptr %27, align 8, !tbaa !9
  %418 = getelementptr inbounds %struct.Node, ptr %417, i32 0, i32 5
  store ptr %418, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %419 = load ptr, ptr %28, align 8, !tbaa !9
  %420 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %419) #6
  %421 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %420, ptr %421, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %422 = load ptr, ptr %28, align 8, !tbaa !9
  %423 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %422) #6
  %424 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %423, ptr %424, align 8
  br label %425

425:                                              ; preds = %481, %416
  %426 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  br i1 %426, label %428, label %427

427:                                              ; preds = %425
  store i32 42, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %487

428:                                              ; preds = %425
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %429 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  %430 = load i32, ptr %429, align 4, !tbaa !5
  store i32 %430, ptr %31, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %431 = load i32, ptr %31, align 4, !tbaa !5
  %432 = sext i32 %431 to i64
  %433 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %432) #6
  store ptr %433, ptr %32, align 8, !tbaa !9
  %434 = load ptr, ptr %32, align 8, !tbaa !9
  %435 = getelementptr inbounds %struct.Node, ptr %434, i32 0, i32 4
  %436 = load ptr, ptr %27, align 8, !tbaa !9
  %437 = getelementptr inbounds %struct.Node, ptr %436, i32 0, i32 0
  %438 = load i32, ptr %437, align 8, !tbaa !12
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds [2 x i64], ptr %435, i64 0, i64 %439
  %441 = load i64, ptr %440, align 8, !tbaa !21
  %442 = load ptr, ptr %27, align 8, !tbaa !9
  %443 = getelementptr inbounds %struct.Node, ptr %442, i32 0, i32 4
  %444 = load ptr, ptr %27, align 8, !tbaa !9
  %445 = getelementptr inbounds %struct.Node, ptr %444, i32 0, i32 0
  %446 = load i32, ptr %445, align 8, !tbaa !12
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds [2 x i64], ptr %443, i64 0, i64 %447
  %449 = load i64, ptr %448, align 8, !tbaa !21
  %450 = add nsw i64 %449, %441
  store i64 %450, ptr %448, align 8, !tbaa !21
  %451 = load ptr, ptr %27, align 8, !tbaa !9
  %452 = getelementptr inbounds %struct.Node, ptr %451, i32 0, i32 4
  %453 = load ptr, ptr %27, align 8, !tbaa !9
  %454 = getelementptr inbounds %struct.Node, ptr %453, i32 0, i32 0
  %455 = load i32, ptr %454, align 8, !tbaa !12
  %456 = icmp ne i32 %455, 0
  %457 = xor i1 %456, true
  %458 = zext i1 %457 to i64
  %459 = getelementptr inbounds [2 x i64], ptr %452, i64 0, i64 %458
  %460 = load ptr, ptr %32, align 8, !tbaa !9
  %461 = getelementptr inbounds %struct.Node, ptr %460, i32 0, i32 4
  %462 = load ptr, ptr %27, align 8, !tbaa !9
  %463 = getelementptr inbounds %struct.Node, ptr %462, i32 0, i32 0
  %464 = load i32, ptr %463, align 8, !tbaa !12
  %465 = icmp ne i32 %464, 0
  %466 = xor i1 %465, true
  %467 = zext i1 %466 to i64
  %468 = getelementptr inbounds [2 x i64], ptr %461, i64 0, i64 %467
  %469 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %459, ptr noundef nonnull align 8 dereferenceable(8) %468)
          to label %470 unwind label %483

470:                                              ; preds = %428
  %471 = load i64, ptr %469, align 8, !tbaa !21
  %472 = load ptr, ptr %27, align 8, !tbaa !9
  %473 = getelementptr inbounds %struct.Node, ptr %472, i32 0, i32 4
  %474 = load ptr, ptr %27, align 8, !tbaa !9
  %475 = getelementptr inbounds %struct.Node, ptr %474, i32 0, i32 0
  %476 = load i32, ptr %475, align 8, !tbaa !12
  %477 = icmp ne i32 %476, 0
  %478 = xor i1 %477, true
  %479 = zext i1 %478 to i64
  %480 = getelementptr inbounds [2 x i64], ptr %473, i64 0, i64 %479
  store i64 %471, ptr %480, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %481

481:                                              ; preds = %470
  %482 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  br label %425

483:                                              ; preds = %428
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %6, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %613

487:                                              ; preds = %427
  %488 = load ptr, ptr %27, align 8, !tbaa !9
  %489 = getelementptr inbounds %struct.Node, ptr %488, i32 0, i32 5
  %490 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %489) #6
  br i1 %490, label %532, label %491

491:                                              ; preds = %487
  %492 = load ptr, ptr %27, align 8, !tbaa !9
  %493 = getelementptr inbounds %struct.Node, ptr %492, i32 0, i32 5
  %494 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %493) #6
  %495 = trunc i64 %494 to i32
  %496 = sub nsw i32 %495, 1
  %497 = load ptr, ptr %27, align 8, !tbaa !9
  %498 = getelementptr inbounds %struct.Node, ptr %497, i32 0, i32 2
  %499 = load i32, ptr %498, align 8, !tbaa !34
  %500 = mul nsw i32 %496, %499
  %501 = load ptr, ptr %27, align 8, !tbaa !9
  %502 = getelementptr inbounds %struct.Node, ptr %501, i32 0, i32 1
  %503 = load i32, ptr %502, align 4, !tbaa !35
  %504 = mul nsw i32 2, %503
  %505 = add nsw i32 %500, %504
  %506 = sext i32 %505 to i64
  %507 = load ptr, ptr %27, align 8, !tbaa !9
  %508 = getelementptr inbounds %struct.Node, ptr %507, i32 0, i32 4
  %509 = load ptr, ptr %27, align 8, !tbaa !9
  %510 = getelementptr inbounds %struct.Node, ptr %509, i32 0, i32 0
  %511 = load i32, ptr %510, align 8, !tbaa !12
  %512 = sext i32 %511 to i64
  %513 = getelementptr inbounds [2 x i64], ptr %508, i64 0, i64 %512
  %514 = load i64, ptr %513, align 8, !tbaa !21
  %515 = add nsw i64 %514, %506
  store i64 %515, ptr %513, align 8, !tbaa !21
  %516 = load ptr, ptr %27, align 8, !tbaa !9
  %517 = getelementptr inbounds %struct.Node, ptr %516, i32 0, i32 1
  %518 = load i32, ptr %517, align 4, !tbaa !35
  %519 = mul nsw i32 2, %518
  %520 = sext i32 %519 to i64
  %521 = load ptr, ptr %27, align 8, !tbaa !9
  %522 = getelementptr inbounds %struct.Node, ptr %521, i32 0, i32 4
  %523 = load ptr, ptr %27, align 8, !tbaa !9
  %524 = getelementptr inbounds %struct.Node, ptr %523, i32 0, i32 0
  %525 = load i32, ptr %524, align 8, !tbaa !12
  %526 = icmp ne i32 %525, 0
  %527 = xor i1 %526, true
  %528 = zext i1 %527 to i64
  %529 = getelementptr inbounds [2 x i64], ptr %522, i64 0, i64 %528
  %530 = load i64, ptr %529, align 8, !tbaa !21
  %531 = add nsw i64 %530, %520
  store i64 %531, ptr %529, align 8, !tbaa !21
  br label %532

532:                                              ; preds = %491, %487
  store i32 0, ptr %9, align 4
  br label %533

533:                                              ; preds = %532, %415
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  %534 = load i32, ptr %9, align 4
  switch i32 %534, label %620 [
    i32 0, label %535
    i32 41, label %536
  ]

535:                                              ; preds = %533
  br label %536

536:                                              ; preds = %535, %533
  %537 = load i32, ptr %26, align 4, !tbaa !5
  %538 = add nsw i32 %537, -1
  store i32 %538, ptr %26, align 4, !tbaa !5
  br label %400, !llvm.loop !36

539:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #6
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  store ptr %3, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %540 = load ptr, ptr %34, align 8, !tbaa !9
  %541 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %540) #6
  %542 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %35, i32 0, i32 0
  %543 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %542, i32 0, i32 0
  store ptr %541, ptr %543, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %544 = load ptr, ptr %34, align 8, !tbaa !9
  %545 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %544) #6
  %546 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %36, i32 0, i32 0
  %547 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %546, i32 0, i32 0
  store ptr %545, ptr %547, align 8
  br label %548

548:                                              ; preds = %556, %539
  %549 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #6
  br i1 %549, label %551, label %550

550:                                              ; preds = %548
  store i32 44, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %562

551:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %552 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #6
  store ptr %552, ptr %37, align 8, !tbaa !9
  %553 = load ptr, ptr %37, align 8, !tbaa !9
  %554 = getelementptr inbounds %"struct.std::pair", ptr %553, i32 0, i32 0
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(32) %554)
          to label %555 unwind label %558

555:                                              ; preds = %551
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %556

556:                                              ; preds = %555
  %557 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #6
  br label %548

558:                                              ; preds = %551
  %559 = landingpad { ptr, i32 }
          cleanup
  %560 = extractvalue { ptr, i32 } %559, 0
  store ptr %560, ptr %6, align 8
  %561 = extractvalue { ptr, i32 } %559, 1
  store i32 %561, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %612

562:                                              ; preds = %550
  %563 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  %564 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %38, i32 0, i32 0
  store ptr %563, ptr %564, align 8
  %565 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  %566 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %39, i32 0, i32 0
  store ptr %565, ptr %566, align 8
  %567 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %38, i32 0, i32 0
  %568 = load ptr, ptr %567, align 8
  %569 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %39, i32 0, i32 0
  %570 = load ptr, ptr %569, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEEvT_SD_(ptr %568, ptr %570)
          to label %571 unwind label %581

571:                                              ; preds = %562
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  store ptr %33, ptr %40, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %572 = load ptr, ptr %40, align 8, !tbaa !9
  %573 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %572) #6
  %574 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %41, i32 0, i32 0
  store ptr %573, ptr %574, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  %575 = load ptr, ptr %40, align 8, !tbaa !9
  %576 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %575) #6
  %577 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %42, i32 0, i32 0
  store ptr %576, ptr %577, align 8
  br label %578

578:                                              ; preds = %605, %571
  %579 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42) #6
  br i1 %579, label %585, label %580

580:                                              ; preds = %578
  store i32 46, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %611

581:                                              ; preds = %562
  %582 = landingpad { ptr, i32 }
          cleanup
  %583 = extractvalue { ptr, i32 } %582, 0
  store ptr %583, ptr %6, align 8
  %584 = extractvalue { ptr, i32 } %582, 1
  store i32 %584, ptr %7, align 4
  br label %612

585:                                              ; preds = %578
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %586 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #6
  store ptr %586, ptr %43, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %587 = load ptr, ptr %43, align 8, !tbaa !9
  %588 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(32) %587)
          to label %589 unwind label %607

589:                                              ; preds = %585
  %590 = load i32, ptr %588, align 4, !tbaa !5
  %591 = sext i32 %590 to i64
  %592 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %591) #6
  store ptr %592, ptr %44, align 8, !tbaa !9
  %593 = load ptr, ptr %43, align 8, !tbaa !9
  %594 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %593) #6
  %595 = load ptr, ptr %44, align 8, !tbaa !9
  %596 = getelementptr inbounds %struct.Node, ptr %595, i32 0, i32 4
  %597 = getelementptr inbounds [2 x i64], ptr %596, i64 0, i64 0
  %598 = load i64, ptr %597, align 8, !tbaa !21
  %599 = load ptr, ptr %44, align 8, !tbaa !9
  %600 = getelementptr inbounds %struct.Node, ptr %599, i32 0, i32 4
  %601 = getelementptr inbounds [2 x i64], ptr %600, i64 0, i64 1
  %602 = load i64, ptr %601, align 8, !tbaa !21
  %603 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %594, i64 noundef %598, i64 noundef %602)
          to label %604 unwind label %607

604:                                              ; preds = %589
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %605

605:                                              ; preds = %604
  %606 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #6
  br label %578

607:                                              ; preds = %589, %585
  %608 = landingpad { ptr, i32 }
          cleanup
  %609 = extractvalue { ptr, i32 } %608, 0
  store ptr %609, ptr %6, align 8
  %610 = extractvalue { ptr, i32 } %608, 1
  store i32 %610, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %612

611:                                              ; preds = %580
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #6
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void

612:                                              ; preds = %607, %581, %558
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  br label %613

613:                                              ; preds = %612, %483, %385, %340
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  br label %614

614:                                              ; preds = %613, %323, %174, %86
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #6
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %615

615:                                              ; preds = %614
  %616 = load ptr, ptr %6, align 8
  %617 = load i32, ptr %7, align 4
  %618 = insertvalue { ptr, i32 } poison, ptr %616, 0
  %619 = insertvalue { ptr, i32 } %618, i32 %617, 1
  resume { ptr, i32 } %619

620:                                              ; preds = %533, %320
  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 @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNKSt6vectorIZ5solvevE4NodeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 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 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: 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 @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(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 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 #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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSZ5solvevE4Node", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !7, i64 16, !14, i64 32}
!14 = !{!"_ZTSSt6vectorIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!22, !22, i64 0}
!22 = !{!"long long", !7, i64 0}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}
!28 = !{!13, !6, i64 12}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}
!33 = distinct !{!33, !19}
!34 = !{!13, !6, i64 8}
!35 = !{!13, !6, i64 4}
!36 = distinct !{!36, !19}


; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon = type { ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZZ5solvevE3buf = external hidden global [1000001 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::unordered_map", align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %class.anon, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector.5", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.std::vector.10", align 8
  %14 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #6
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  store ptr %2, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %3, ptr %18, align 8, !tbaa !5
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %20 = load i32, ptr %1, align 4, !tbaa !9
  %21 = add nsw i32 %20, -1
  store i32 %21, ptr %1, align 4, !tbaa !9
  %.not149 = icmp eq i32 %20, 0
  br i1 %.not149, label %._crit_edge, label %.lr.ph150

.lr.ph150:                                        ; preds = %0, %.backedge
  %22 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @_ZZ5solvevE3buf)
  %23 = load i8, ptr @_ZZ5solvevE3buf, align 16
  %24 = add i8 %23, -65
  %or.cond = icmp ult i8 %24, 26
  br i1 %or.cond, label %25, label %.preheader139

25:                                               ; preds = %.lr.ph150
  %26 = icmp eq i8 %23, 87
  %27 = icmp eq i8 %23, 86
  %28 = zext i1 %27 to i32
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @_ZZ5solvevE3buf)
  br i1 %26, label %.preheader134, label %30

30:                                               ; preds = %25
  %31 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @_ZZ5solvevE3buf)
          to label %32 unwind label %35

32:                                               ; preds = %30
  %33 = sext i32 %31 to i64
  %34 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %33) #6
  store i32 %28, ptr %34, align 8, !tbaa !11
  br label %.backedge, !llvm.loop !17

35:                                               ; preds = %30
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %279

.preheader134:                                    ; preds = %25, %.preheader134
  %indvars.iv209 = phi i64 [ %indvars.iv.next210, %.preheader134 ], [ 0, %25 ]
  %37 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv209
  %38 = load i8, ptr %37, align 1, !tbaa !19
  %.not128 = icmp eq i8 %38, 40
  %indvars.iv.next210 = add nuw nsw i64 %indvars.iv209, 1
  br i1 %.not128, label %39, label %.preheader134, !llvm.loop !20

39:                                               ; preds = %.preheader134
  %40 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv209
  store i8 0, ptr %40, align 1, !tbaa !19
  %41 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @_ZZ5solvevE3buf)
          to label %.preheader unwind label %46

.preheader:                                       ; preds = %39
  %42 = sext i32 %41 to i64
  %43 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %42) #6
  store i32 2, ptr %43, align 8, !tbaa !11
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  %sext = shl i64 %indvars.iv209, 32
  %45 = ashr exact i64 %sext, 32
  %.promoted = load i64, ptr %44, align 8, !tbaa !21
  br label %48

46:                                               ; preds = %39
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %279

48:                                               ; preds = %.preheader, %52
  %49 = phi i64 [ %.promoted, %.preheader ], [ %56, %52 ]
  %indvars.iv212 = phi i64 [ %45, %.preheader ], [ %indvars.iv.next213, %52 ]
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %50 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv.next213
  %51 = load i8, ptr %50, align 1, !tbaa !19
  switch i8 %51, label %52 [
    i8 44, label %.critedge
    i8 41, label %.critedge
  ]

52:                                               ; preds = %48
  %53 = sext i8 %51 to i64
  %54 = mul nsw i64 %49, 10
  %55 = add nsw i64 %53, -48
  %56 = add nsw i64 %55, %54
  store i64 %56, ptr %44, align 8, !tbaa !21
  br label %48, !llvm.loop !23

.critedge:                                        ; preds = %48, %48
  %57 = getelementptr inbounds i8, ptr %43, i64 24
  %sext224 = shl i64 %indvars.iv.next213, 32
  %58 = ashr exact i64 %sext224, 32
  %.promoted231 = load i64, ptr %57, align 8, !tbaa !21
  br label %59

59:                                               ; preds = %63, %.critedge
  %60 = phi i64 [ %.promoted231, %.critedge ], [ %67, %63 ]
  %indvars.iv212.1 = phi i64 [ %58, %.critedge ], [ %indvars.iv.next213.1, %63 ]
  %indvars.iv.next213.1 = add nsw i64 %indvars.iv212.1, 1
  %61 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv.next213.1
  %62 = load i8, ptr %61, align 1, !tbaa !19
  switch i8 %62, label %63 [
    i8 44, label %.backedge
    i8 41, label %.backedge
  ]

63:                                               ; preds = %59
  %64 = sext i8 %62 to i64
  %65 = mul nsw i64 %60, 10
  %66 = add nsw i64 %64, -48
  %67 = add nsw i64 %66, %65
  store i64 %67, ptr %57, align 8, !tbaa !21
  br label %59, !llvm.loop !23

.backedge:                                        ; preds = %126, %59, %59, %100, %.preheader136, %32
  %68 = load i32, ptr %1, align 4, !tbaa !9
  %69 = add nsw i32 %68, -1
  store i32 %69, ptr %1, align 4, !tbaa !9
  %.not = icmp eq i32 %68, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph150

.preheader139:                                    ; preds = %.lr.ph150, %.preheader139
  %indvars.iv191 = phi i32 [ %indvars.iv.next192, %.preheader139 ], [ 3, %.lr.ph150 ]
  %indvars.iv184 = phi i32 [ %indvars.iv.next185, %.preheader139 ], [ 2, %.lr.ph150 ]
  %indvars.iv179 = phi i64 [ %indvars.iv.next180, %.preheader139 ], [ 1, %.lr.ph150 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader139 ], [ 0, %.lr.ph150 ]
  %70 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv
  %71 = load i8, ptr %70, align 1, !tbaa !19
  %.not119 = icmp eq i8 %71, 46
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %indvars.iv.next180 = add nuw i64 %indvars.iv179, 1
  %indvars.iv.next185 = add i32 %indvars.iv184, 1
  %indvars.iv.next192 = add i32 %indvars.iv191, 1
  br i1 %.not119, label %72, label %.preheader139, !llvm.loop !24

72:                                               ; preds = %.preheader139
  %73 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv
  store i8 0, ptr %73, align 1, !tbaa !19
  %74 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @_ZZ5solvevE3buf)
          to label %75 unwind label %85

75:                                               ; preds = %72
  %76 = sext i32 %74 to i64
  %77 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %76) #6
  %78 = add nuw i64 %indvars.iv, 1
  %79 = and i64 %78, 4294967295
  %80 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %79
  %81 = load i8, ptr %80, align 1, !tbaa !19
  %82 = icmp eq i8 %81, 112
  br i1 %82, label %.preheader135, label %.preheader138

.preheader135:                                    ; preds = %75, %.preheader135
  %indvars.iv204 = phi i32 [ %indvars.iv.next205, %.preheader135 ], [ %indvars.iv184, %75 ]
  %indvars.iv200 = phi i64 [ %indvars.iv.next201, %.preheader135 ], [ %indvars.iv179, %75 ]
  %83 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv200
  %84 = load i8, ptr %83, align 1, !tbaa !19
  %.not123 = icmp eq i8 %84, 40
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %indvars.iv.next205 = add i32 %indvars.iv204, 1
  br i1 %.not123, label %87, label %.preheader135, !llvm.loop !25

85:                                               ; preds = %72
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %279

87:                                               ; preds = %.preheader135
  %88 = zext i32 %indvars.iv204 to i64
  br label %89

89:                                               ; preds = %89, %87
  %indvars.iv206 = phi i64 [ %indvars.iv.next207, %89 ], [ %88, %87 ]
  %90 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv206
  %91 = load i8, ptr %90, align 1, !tbaa !19
  %.not124 = icmp eq i8 %91, 41
  %indvars.iv.next207 = add nuw nsw i64 %indvars.iv206, 1
  br i1 %.not124, label %92, label %89, !llvm.loop !26

92:                                               ; preds = %89
  %93 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv206
  %94 = add i64 %indvars.iv200, 1
  store i8 0, ptr %93, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %95 = and i64 %94, 4294967295
  %96 = getelementptr inbounds i8, ptr @_ZZ5solvevE3buf, i64 %95
  %97 = invoke noundef i32 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %96)
          to label %98 unwind label %107

98:                                               ; preds = %92
  store i32 %97, ptr %5, align 4, !tbaa !9
  %99 = getelementptr inbounds i8, ptr %77, i64 32
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %100 unwind label %107

100:                                              ; preds = %98
  %101 = load i32, ptr %5, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %102) #6
  %104 = getelementptr inbounds i8, ptr %103, i64 12
  %105 = load i32, ptr %104, align 4, !tbaa !27
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %104, align 4, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %.backedge

107:                                              ; preds = %98, %92
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %279

.preheader138:                                    ; preds = %75, %.preheader138
  %indvars.iv193 = phi i32 [ %indvars.iv.next194, %.preheader138 ], [ %indvars.iv191, %75 ]
  %indvars.iv186 = phi i32 [ %indvars.iv.next187, %.preheader138 ], [ %indvars.iv184, %75 ]
  %indvars.iv181 = phi i64 [ %indvars.iv.next182, %.preheader138 ], [ %indvars.iv179, %75 ]
  %109 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv181
  %110 = load i8, ptr %109, align 1, !tbaa !19
  %.not120 = icmp eq i8 %110, 95
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  %indvars.iv.next187 = add i32 %indvars.iv186, 1
  %indvars.iv.next194 = add i32 %indvars.iv193, 1
  br i1 %.not120, label %111, label %.preheader138, !llvm.loop !28

111:                                              ; preds = %.preheader138
  %112 = add i64 %indvars.iv181, 1
  %113 = and i64 %112, 4294967295
  %114 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %113
  %115 = load i8, ptr %114, align 1, !tbaa !19
  %116 = icmp eq i8 %115, 98
  %.v = select i1 %116, i64 4, i64 8
  %117 = getelementptr inbounds i8, ptr %77, i64 %.v
  store i32 0, ptr %117, align 4, !tbaa !9
  %118 = zext i32 %indvars.iv186 to i64
  br label %119

119:                                              ; preds = %119, %111
  %indvars.iv195 = phi i32 [ %indvars.iv.next196, %119 ], [ %indvars.iv193, %111 ]
  %indvars.iv188 = phi i64 [ %indvars.iv.next189, %119 ], [ %118, %111 ]
  %120 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv188
  %121 = load i8, ptr %120, align 1, !tbaa !19
  %.not121 = icmp eq i8 %121, 40
  %indvars.iv.next189 = add nuw nsw i64 %indvars.iv188, 1
  %indvars.iv.next196 = add i32 %indvars.iv195, 1
  br i1 %.not121, label %.preheader136, label %119, !llvm.loop !29

.preheader136:                                    ; preds = %119
  %.5143 = add nuw i64 %indvars.iv188, 1
  %122 = and i64 %.5143, 4294967295
  %123 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %122
  %124 = load i8, ptr %123, align 1, !tbaa !19
  %.not122144 = icmp eq i8 %124, 41
  br i1 %.not122144, label %.backedge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader136
  %125 = sext i32 %indvars.iv195 to i64
  br label %126

126:                                              ; preds = %.lr.ph, %126
  %indvars.iv197 = phi i64 [ %125, %.lr.ph ], [ %indvars.iv.next198, %126 ]
  %127 = phi i32 [ 0, %.lr.ph ], [ %132, %126 ]
  %128 = phi i8 [ %124, %.lr.ph ], [ %134, %126 ]
  %129 = sext i8 %128 to i32
  %130 = mul nsw i32 %127, 10
  %131 = add nsw i32 %129, -48
  %132 = add nsw i32 %131, %130
  store i32 %132, ptr %117, align 4, !tbaa !9
  %indvars.iv.next198 = add nuw nsw i64 %indvars.iv197, 1
  %133 = getelementptr inbounds [1000001 x i8], ptr @_ZZ5solvevE3buf, i64 0, i64 %indvars.iv.next198
  %134 = load i8, ptr %133, align 1, !tbaa !19
  %.not122 = icmp eq i8 %134, 41
  br i1 %.not122, label %.backedge, label %126, !llvm.loop !30

._crit_edge:                                      ; preds = %.backedge, %0
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  %135 = call noundef i64 @_ZNKSt6vectorIZ5solvevE4NodeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %136 = trunc i64 %135 to i32
  %137 = icmp sgt i32 %136, 0
  br i1 %137, label %.lr.ph152, label %._crit_edge153

._crit_edge153:                                   ; preds = %149, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  %138 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %139 = trunc i64 %138 to i32
  %140 = icmp sgt i32 %139, 0
  br i1 %140, label %.lr.ph159, label %._crit_edge160

.lr.ph152:                                        ; preds = %._crit_edge, %149
  %141 = load i32, ptr %7, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %142) #6
  %144 = getelementptr inbounds i8, ptr %143, i64 12
  %145 = load i32, ptr %144, align 4, !tbaa !27
  %.not116 = icmp eq i32 %145, 0
  br i1 %.not116, label %146, label %149

146:                                              ; preds = %.lr.ph152
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %149 unwind label %147

147:                                              ; preds = %146
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %278

149:                                              ; preds = %.lr.ph152, %146
  %150 = load i32, ptr %7, align 4, !tbaa !9
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %7, align 4, !tbaa !9
  %152 = call noundef i64 @_ZNKSt6vectorIZ5solvevE4NodeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %153 = trunc i64 %152 to i32
  %154 = icmp slt i32 %151, %153
  br i1 %154, label %.lr.ph152, label %._crit_edge153, !llvm.loop !31

._crit_edge160:                                   ; preds = %._crit_edge156, %._crit_edge153
  %155 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %156 = trunc i64 %155 to i32
  %157 = icmp sgt i32 %156, 0
  br i1 %157, label %.lr.ph167.preheader, label %._crit_edge168

.lr.ph167.preheader:                              ; preds = %._crit_edge160
  %158 = and i64 %155, 2147483647
  br label %.lr.ph167

.lr.ph159:                                        ; preds = %._crit_edge153, %._crit_edge156
  %indvars.iv218 = phi i64 [ %indvars.iv.next219, %._crit_edge156 ], [ 0, %._crit_edge153 ]
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv218) #6
  %160 = load i32, ptr %159, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %161) #6
  %163 = getelementptr inbounds i8, ptr %162, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %164 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #6
  store ptr %164, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %165 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #6
  store ptr %165, ptr %9, align 8
  %166 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %166, label %.lr.ph155, label %._crit_edge156

._crit_edge156:                                   ; preds = %180, %.lr.ph159
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %indvars.iv.next219 = add nuw nsw i64 %indvars.iv218, 1
  %167 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %sext225 = shl i64 %167, 32
  %168 = ashr exact i64 %sext225, 32
  %169 = icmp slt i64 %indvars.iv.next219, %168
  br i1 %169, label %.lr.ph159, label %._crit_edge160, !llvm.loop !32

.lr.ph155:                                        ; preds = %.lr.ph159, %180
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %170 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %171 = load i32, ptr %170, align 4, !tbaa !9
  store i32 %171, ptr %10, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %172) #6
  %174 = getelementptr inbounds i8, ptr %173, i64 12
  %175 = load i32, ptr %174, align 4, !tbaa !27
  %176 = add nsw i32 %175, -1
  store i32 %176, ptr %174, align 4, !tbaa !27
  %.not115 = icmp eq i32 %176, 0
  br i1 %.not115, label %177, label %180

177:                                              ; preds = %.lr.ph155
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %180 unwind label %178

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

180:                                              ; preds = %177, %.lr.ph155
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %182 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %182, label %.lr.ph155, label %._crit_edge156

._crit_edge168:                                   ; preds = %245, %._crit_edge160
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %183 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  store ptr %183, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %184 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  store ptr %184, ptr %15, align 8
  %185 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %185, label %.lr.ph170, label %._crit_edge171

.lr.ph167:                                        ; preds = %.lr.ph167.preheader, %245
  %indvars.iv221 = phi i64 [ %158, %.lr.ph167.preheader ], [ %indvars.iv.next222, %245 ]
  %indvars.iv.next222 = add nsw i64 %indvars.iv221, -1
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv.next222) #6
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %188) #6
  %190 = load i32, ptr %189, align 8, !tbaa !11
  %191 = icmp eq i32 %190, 2
  br i1 %191, label %245, label %192

192:                                              ; preds = %.lr.ph167
  %193 = getelementptr inbounds i8, ptr %189, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %194 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %193) #6
  store ptr %194, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %195 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %193) #6
  store ptr %195, ptr %12, align 8
  %196 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br i1 %196, label %.lr.ph162, label %._crit_edge163

.lr.ph162:                                        ; preds = %192
  %197 = getelementptr inbounds i8, ptr %189, i64 16
  br label %199

._crit_edge163:                                   ; preds = %199, %192
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %198 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %193) #6
  br i1 %198, label %245, label %222

199:                                              ; preds = %.lr.ph162, %199
  %200 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %201 = load i32, ptr %200, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  %203 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %202) #6
  %204 = getelementptr inbounds i8, ptr %203, i64 16
  %205 = load i32, ptr %189, align 8, !tbaa !11
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [2 x i64], ptr %204, i64 0, i64 %206
  %208 = load i64, ptr %207, align 8, !tbaa !21
  %209 = getelementptr inbounds [2 x i64], ptr %197, i64 0, i64 %206
  %210 = load i64, ptr %209, align 8, !tbaa !21
  %211 = add nsw i64 %210, %208
  store i64 %211, ptr %209, align 8, !tbaa !21
  %.not113 = icmp eq i32 %205, 0
  %212 = zext i1 %.not113 to i64
  %213 = getelementptr inbounds [2 x i64], ptr %197, i64 0, i64 %212
  %214 = getelementptr inbounds [2 x i64], ptr %204, i64 0, i64 %212
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef nonnull align 8 dereferenceable(8) %214)
  %216 = load i64, ptr %215, align 8, !tbaa !21
  %217 = load i32, ptr %189, align 8, !tbaa !11
  %.not114 = icmp eq i32 %217, 0
  %218 = zext i1 %.not114 to i64
  %219 = getelementptr inbounds [2 x i64], ptr %197, i64 0, i64 %218
  store i64 %216, ptr %219, align 8, !tbaa !21
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %221 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br i1 %221, label %199, label %._crit_edge163

222:                                              ; preds = %._crit_edge163
  %223 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %193) #6
  %224 = trunc i64 %223 to i32
  %225 = add nsw i32 %224, -1
  %226 = getelementptr inbounds i8, ptr %189, i64 8
  %227 = load i32, ptr %226, align 8, !tbaa !33
  %228 = mul nsw i32 %225, %227
  %229 = getelementptr inbounds i8, ptr %189, i64 4
  %230 = load i32, ptr %229, align 4, !tbaa !34
  %231 = shl nsw i32 %230, 1
  %232 = add nsw i32 %228, %231
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds i8, ptr %189, i64 16
  %235 = load i32, ptr %189, align 8, !tbaa !11
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [2 x i64], ptr %234, i64 0, i64 %236
  %238 = load i64, ptr %237, align 8, !tbaa !21
  %239 = add nsw i64 %238, %233
  store i64 %239, ptr %237, align 8, !tbaa !21
  %240 = sext i32 %231 to i64
  %.not112 = icmp eq i32 %235, 0
  %241 = zext i1 %.not112 to i64
  %242 = getelementptr inbounds [2 x i64], ptr %234, i64 0, i64 %241
  %243 = load i64, ptr %242, align 8, !tbaa !21
  %244 = add nsw i64 %243, %240
  store i64 %244, ptr %242, align 8, !tbaa !21
  br label %245

245:                                              ; preds = %._crit_edge163, %222, %.lr.ph167
  %246 = icmp sgt i64 %indvars.iv221, 1
  br i1 %246, label %.lr.ph167, label %._crit_edge168, !llvm.loop !35

._crit_edge171:                                   ; preds = %250, %._crit_edge168
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  %247 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %248 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEEvT_SD_(ptr %247, ptr %248)
          to label %255 unwind label %259

.lr.ph170:                                        ; preds = %._crit_edge168, %250
  %249 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(32) %249)
          to label %250 unwind label %253

250:                                              ; preds = %.lr.ph170
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %252 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %252, label %.lr.ph170, label %._crit_edge171

253:                                              ; preds = %.lr.ph170
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %277

255:                                              ; preds = %._crit_edge171
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %256 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %256, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %257 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %257, ptr %17, align 8
  %258 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %258, label %.lr.ph173, label %._crit_edge174

._crit_edge174:                                   ; preds = %263, %255
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret void

259:                                              ; preds = %._crit_edge171
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %277

.lr.ph173:                                        ; preds = %255, %263
  %261 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %262 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(32) %261)
          to label %263 unwind label %275

263:                                              ; preds = %.lr.ph173
  %264 = load i32, ptr %262, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %265) #6
  %267 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %261) #6
  %268 = getelementptr inbounds i8, ptr %266, i64 16
  %269 = load i64, ptr %268, align 8, !tbaa !21
  %270 = getelementptr inbounds i8, ptr %266, i64 24
  %271 = load i64, ptr %270, align 8, !tbaa !21
  %272 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %267, i64 noundef %269, i64 noundef %271)
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %274 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %274, label %.lr.ph173, label %._crit_edge174

275:                                              ; preds = %.lr.ph173
  %276 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  br label %277

277:                                              ; preds = %275, %259, %253
  %.pn = phi { ptr, i32 } [ %254, %253 ], [ %276, %275 ], [ %260, %259 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %278

278:                                              ; preds = %277, %178, %147
  %.pn117 = phi { ptr, i32 } [ %148, %147 ], [ %179, %178 ], [ %.pn, %277 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %279

279:                                              ; preds = %85, %107, %35, %46, %278
  %.pn131.pn = phi { ptr, i32 } [ %.pn117, %278 ], [ %36, %35 ], [ %47, %46 ], [ %108, %107 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn131.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 @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt6vectorIZ5solvevE4NodeSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIZ5solvevE4NodeSaIS0_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 @"_ZZ5solvevENK3$_0clEPc"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNKSt6vectorIZ5solvevE4NodeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 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 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: 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 @_ZSt3maxIxERKT_S2_S2_(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 zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiELb0ELb1EEppEv(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_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEEvT_SD_(ptr, ptr) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 #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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSZ5solvevE4Node", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !7, i64 16, !13, i64 32}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !18}
!21 = !{!22, !22, i64 0}
!22 = !{!"long long", !7, i64 0}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}
!27 = !{!12, !10, i64 12}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}
!32 = distinct !{!32, !18}
!33 = !{!12, !10, i64 8}
!34 = !{!12, !10, i64 4}
!35 = distinct !{!35, !18}


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