; LLVM IR from pptacher/probabilistic_robotics :: ch14_markov_decision_processes/src/v0.0 (main)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.MarkovDP = type { %"class.std::map", %"class.std::vector" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::valarray<int>, std::pair<const std::valarray<int>, double>, std::_Select1st<std::pair<const std::valarray<int>, double>>, valarray_comp>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::valarray<int>, std::pair<const std::valarray<int>, double>, std::_Select1st<std::pair<const std::valarray<int>, double>>, valarray_comp>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl" }
%"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl" = type { %"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl_data" }
%"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::valarray" = type { i64, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%class.anon = type { i8 }
%class.anon.3 = type { i8 }
%class.anon.5 = type { i8 }
%class.anon.7 = type { i8 }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %class.MarkovDP, align 8
  %7 = alloca %"class.std::valarray", align 8
  %8 = alloca %"class.std::initializer_list", align 8
  %9 = alloca [2 x i32], align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::valarray", align 8
  %13 = alloca %"class.std::initializer_list", align 8
  %14 = alloca [2 x i32], align 4
  %15 = alloca %"class.std::valarray", align 8
  %16 = alloca %"class.std::initializer_list", align 8
  %17 = alloca [2 x i32], align 4
  %18 = alloca %"class.std::valarray", align 8
  %19 = alloca %"class.std::initializer_list", align 8
  %20 = alloca [2 x i32], align 4
  %21 = alloca %"class.std::valarray", align 8
  %22 = alloca %"class.std::initializer_list", align 8
  %23 = alloca [2 x i32], align 4
  %24 = alloca %"class.std::valarray", align 8
  %25 = alloca %"class.std::initializer_list", align 8
  %26 = alloca [2 x i32], align 4
  %27 = alloca %"class.std::valarray", align 8
  %28 = alloca %"class.std::initializer_list", align 8
  %29 = alloca [2 x i32], align 4
  %30 = alloca %"class.std::valarray", align 8
  %31 = alloca %"class.std::initializer_list", align 8
  %32 = alloca [2 x i32], align 4
  %33 = alloca %"class.std::valarray", align 8
  %34 = alloca %"class.std::initializer_list", align 8
  %35 = alloca [2 x i32], align 4
  %36 = alloca %"class.std::valarray", align 8
  %37 = alloca %"class.std::initializer_list", align 8
  %38 = alloca [2 x i32], align 4
  %39 = alloca %"class.std::valarray", align 8
  %40 = alloca %"class.std::initializer_list", align 8
  %41 = alloca [2 x i32], align 4
  %42 = alloca %"class.std::valarray", align 8
  %43 = alloca %"class.std::initializer_list", align 8
  %44 = alloca [2 x i32], align 4
  %45 = alloca %"class.std::valarray", align 8
  %46 = alloca %"class.std::initializer_list", align 8
  %47 = alloca [2 x i32], align 4
  %48 = alloca %"class.std::valarray", align 8
  %49 = alloca %"class.std::initializer_list", align 8
  %50 = alloca [2 x i32], align 4
  %51 = alloca %"class.std::valarray", align 8
  %52 = alloca %"class.std::initializer_list", align 8
  %53 = alloca [2 x i32], align 4
  %54 = alloca %"class.std::valarray", align 8
  %55 = alloca %"class.std::initializer_list", align 8
  %56 = alloca [2 x i32], align 4
  %57 = alloca %"class.std::valarray", align 8
  %58 = alloca %"class.std::initializer_list", align 8
  %59 = alloca [2 x i32], align 4
  %60 = alloca %"class.std::valarray", align 8
  %61 = alloca %"class.std::initializer_list", align 8
  %62 = alloca [2 x i32], align 4
  %63 = alloca %"class.std::valarray", align 8
  %64 = alloca %"class.std::initializer_list", align 8
  %65 = alloca [2 x i32], align 4
  %66 = alloca %"class.std::valarray", align 8
  %67 = alloca %"class.std::initializer_list", align 8
  %68 = alloca [2 x i32], align 4
  %69 = alloca %class.anon, align 1
  %70 = alloca %class.anon.3, align 1
  %71 = alloca %class.anon.5, align 1
  %72 = alloca %class.anon.7, align 1
  %73 = alloca %"class.std::vector.9", align 8
  %74 = alloca double, align 8
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca i64, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #7
  call void @_ZN8MarkovDPC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i32 3, ptr %9, align 4, !tbaa !5
  %78 = getelementptr inbounds i32, ptr %9, i64 1
  store i32 0, ptr %78, align 4, !tbaa !5
  %79 = getelementptr inbounds %"class.std::initializer_list", ptr %8, i32 0, i32 0
  store ptr %9, ptr %79, align 8, !tbaa !11
  %80 = getelementptr inbounds %"class.std::initializer_list", ptr %8, i32 0, i32 1
  store i64 2, ptr %80, align 8, !tbaa !14
  %81 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8
  %83 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 1
  %84 = load i64, ptr %83, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr %82, i64 %84)
          to label %85 unwind label %282

85:                                               ; preds = %2
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %7, double noundef 0.000000e+00)
          to label %86 unwind label %286

86:                                               ; preds = %85
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store i32 2, ptr %14, align 4, !tbaa !5
  %87 = getelementptr inbounds i32, ptr %14, i64 1
  store i32 0, ptr %87, align 4, !tbaa !5
  %88 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %88, align 8, !tbaa !11
  %89 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 2, ptr %89, align 8, !tbaa !14
  %90 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8
  %92 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %93 = load i64, ptr %92, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr %91, i64 %93)
          to label %94 unwind label %291

94:                                               ; preds = %86
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %12, double noundef 0.000000e+00)
          to label %95 unwind label %295

95:                                               ; preds = %94
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store i32 1, ptr %17, align 4, !tbaa !5
  %96 = getelementptr inbounds i32, ptr %17, i64 1
  store i32 0, ptr %96, align 4, !tbaa !5
  %97 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 0
  store ptr %17, ptr %97, align 8, !tbaa !11
  %98 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 1
  store i64 2, ptr %98, align 8, !tbaa !14
  %99 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8
  %101 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %102 = load i64, ptr %101, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr %100, i64 %102)
          to label %103 unwind label %300

103:                                              ; preds = %95
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %15, double noundef 0.000000e+00)
          to label %104 unwind label %304

104:                                              ; preds = %103
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  %105 = getelementptr inbounds i32, ptr %20, i64 1
  store i32 0, ptr %105, align 4, !tbaa !5
  %106 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 0
  store ptr %20, ptr %106, align 8, !tbaa !11
  %107 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 1
  store i64 2, ptr %107, align 8, !tbaa !14
  %108 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8
  %110 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %111 = load i64, ptr %110, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr %109, i64 %111)
          to label %112 unwind label %309

112:                                              ; preds = %104
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %18, double noundef 0.000000e+00)
          to label %113 unwind label %313

113:                                              ; preds = %112
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  %114 = getelementptr inbounds i32, ptr %23, i64 1
  store i32 1, ptr %114, align 4, !tbaa !5
  %115 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 0
  store ptr %23, ptr %115, align 8, !tbaa !11
  %116 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 1
  store i64 2, ptr %116, align 8, !tbaa !14
  %117 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %120 = load i64, ptr %119, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr %118, i64 %120)
          to label %121 unwind label %318

121:                                              ; preds = %113
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %21, double noundef 0.000000e+00)
          to label %122 unwind label %322

122:                                              ; preds = %121
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !5
  %123 = getelementptr inbounds i32, ptr %26, i64 1
  store i32 2, ptr %123, align 4, !tbaa !5
  %124 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %124, align 8, !tbaa !11
  %125 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 2, ptr %125, align 8, !tbaa !14
  %126 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8
  %128 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %129 = load i64, ptr %128, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr %127, i64 %129)
          to label %130 unwind label %327

130:                                              ; preds = %122
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %24, double noundef 0.000000e+00)
          to label %131 unwind label %331

131:                                              ; preds = %130
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  store i32 0, ptr %29, align 4, !tbaa !5
  %132 = getelementptr inbounds i32, ptr %29, i64 1
  store i32 3, ptr %132, align 4, !tbaa !5
  %133 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 0
  store ptr %29, ptr %133, align 8, !tbaa !11
  %134 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 1
  store i64 2, ptr %134, align 8, !tbaa !14
  %135 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8
  %137 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %138 = load i64, ptr %137, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr %136, i64 %138)
          to label %139 unwind label %336

139:                                              ; preds = %131
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %27, double noundef 0.000000e+00)
          to label %140 unwind label %340

140:                                              ; preds = %139
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  store i32 0, ptr %32, align 4, !tbaa !5
  %141 = getelementptr inbounds i32, ptr %32, i64 1
  store i32 4, ptr %141, align 4, !tbaa !5
  %142 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 0
  store ptr %32, ptr %142, align 8, !tbaa !11
  %143 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 1
  store i64 2, ptr %143, align 8, !tbaa !14
  %144 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %145 = load ptr, ptr %144, align 8
  %146 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %147 = load i64, ptr %146, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr %145, i64 %147)
          to label %148 unwind label %345

148:                                              ; preds = %140
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %30, double noundef 0.000000e+00)
          to label %149 unwind label %349

149:                                              ; preds = %148
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  store i32 0, ptr %35, align 4, !tbaa !5
  %150 = getelementptr inbounds i32, ptr %35, i64 1
  store i32 5, ptr %150, align 4, !tbaa !5
  %151 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 0
  store ptr %35, ptr %151, align 8, !tbaa !11
  %152 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 1
  store i64 2, ptr %152, align 8, !tbaa !14
  %153 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %156 = load i64, ptr %155, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr %154, i64 %156)
          to label %157 unwind label %354

157:                                              ; preds = %149
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %33, double noundef 0.000000e+00)
          to label %158 unwind label %358

158:                                              ; preds = %157
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  store i32 0, ptr %38, align 4, !tbaa !5
  %159 = getelementptr inbounds i32, ptr %38, i64 1
  store i32 6, ptr %159, align 4, !tbaa !5
  %160 = getelementptr inbounds %"class.std::initializer_list", ptr %37, i32 0, i32 0
  store ptr %38, ptr %160, align 8, !tbaa !11
  %161 = getelementptr inbounds %"class.std::initializer_list", ptr %37, i32 0, i32 1
  store i64 2, ptr %161, align 8, !tbaa !14
  %162 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8
  %164 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 1
  %165 = load i64, ptr %164, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr %163, i64 %165)
          to label %166 unwind label %363

166:                                              ; preds = %158
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %36, double noundef 0.000000e+00)
          to label %167 unwind label %367

167:                                              ; preds = %166
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  store i32 -1, ptr %41, align 4, !tbaa !5
  %168 = getelementptr inbounds i32, ptr %41, i64 1
  store i32 6, ptr %168, align 4, !tbaa !5
  %169 = getelementptr inbounds %"class.std::initializer_list", ptr %40, i32 0, i32 0
  store ptr %41, ptr %169, align 8, !tbaa !11
  %170 = getelementptr inbounds %"class.std::initializer_list", ptr %40, i32 0, i32 1
  store i64 2, ptr %170, align 8, !tbaa !14
  %171 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8
  %173 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %174 = load i64, ptr %173, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr %172, i64 %174)
          to label %175 unwind label %372

175:                                              ; preds = %167
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %39, double noundef 0.000000e+00)
          to label %176 unwind label %376

176:                                              ; preds = %175
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  store i32 -2, ptr %44, align 4, !tbaa !5
  %177 = getelementptr inbounds i32, ptr %44, i64 1
  store i32 6, ptr %177, align 4, !tbaa !5
  %178 = getelementptr inbounds %"class.std::initializer_list", ptr %43, i32 0, i32 0
  store ptr %44, ptr %178, align 8, !tbaa !11
  %179 = getelementptr inbounds %"class.std::initializer_list", ptr %43, i32 0, i32 1
  store i64 2, ptr %179, align 8, !tbaa !14
  %180 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %181 = load ptr, ptr %180, align 8
  %182 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %183 = load i64, ptr %182, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr %181, i64 %183)
          to label %184 unwind label %381

184:                                              ; preds = %176
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %42, double noundef 0.000000e+00)
          to label %185 unwind label %385

185:                                              ; preds = %184
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  store i32 -3, ptr %47, align 4, !tbaa !5
  %186 = getelementptr inbounds i32, ptr %47, i64 1
  store i32 6, ptr %186, align 4, !tbaa !5
  %187 = getelementptr inbounds %"class.std::initializer_list", ptr %46, i32 0, i32 0
  store ptr %47, ptr %187, align 8, !tbaa !11
  %188 = getelementptr inbounds %"class.std::initializer_list", ptr %46, i32 0, i32 1
  store i64 2, ptr %188, align 8, !tbaa !14
  %189 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 0
  %190 = load ptr, ptr %189, align 8
  %191 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 1
  %192 = load i64, ptr %191, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr %190, i64 %192)
          to label %193 unwind label %390

193:                                              ; preds = %185
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %45, double noundef 0.000000e+00)
          to label %194 unwind label %394

194:                                              ; preds = %193
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  store i32 -3, ptr %50, align 4, !tbaa !5
  %195 = getelementptr inbounds i32, ptr %50, i64 1
  store i32 7, ptr %195, align 4, !tbaa !5
  %196 = getelementptr inbounds %"class.std::initializer_list", ptr %49, i32 0, i32 0
  store ptr %50, ptr %196, align 8, !tbaa !11
  %197 = getelementptr inbounds %"class.std::initializer_list", ptr %49, i32 0, i32 1
  store i64 2, ptr %197, align 8, !tbaa !14
  %198 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 0
  %199 = load ptr, ptr %198, align 8
  %200 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 1
  %201 = load i64, ptr %200, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr %199, i64 %201)
          to label %202 unwind label %399

202:                                              ; preds = %194
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %48, double noundef 0.000000e+00)
          to label %203 unwind label %403

203:                                              ; preds = %202
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  store i32 1, ptr %53, align 4, !tbaa !5
  %204 = getelementptr inbounds i32, ptr %53, i64 1
  store i32 6, ptr %204, align 4, !tbaa !5
  %205 = getelementptr inbounds %"class.std::initializer_list", ptr %52, i32 0, i32 0
  store ptr %53, ptr %205, align 8, !tbaa !11
  %206 = getelementptr inbounds %"class.std::initializer_list", ptr %52, i32 0, i32 1
  store i64 2, ptr %206, align 8, !tbaa !14
  %207 = getelementptr inbounds { ptr, i64 }, ptr %52, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8
  %209 = getelementptr inbounds { ptr, i64 }, ptr %52, i32 0, i32 1
  %210 = load i64, ptr %209, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr %208, i64 %210)
          to label %211 unwind label %408

211:                                              ; preds = %203
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %51, double noundef 0.000000e+00)
          to label %212 unwind label %412

212:                                              ; preds = %211
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  store i32 2, ptr %56, align 4, !tbaa !5
  %213 = getelementptr inbounds i32, ptr %56, i64 1
  store i32 6, ptr %213, align 4, !tbaa !5
  %214 = getelementptr inbounds %"class.std::initializer_list", ptr %55, i32 0, i32 0
  store ptr %56, ptr %214, align 8, !tbaa !11
  %215 = getelementptr inbounds %"class.std::initializer_list", ptr %55, i32 0, i32 1
  store i64 2, ptr %215, align 8, !tbaa !14
  %216 = getelementptr inbounds { ptr, i64 }, ptr %55, i32 0, i32 0
  %217 = load ptr, ptr %216, align 8
  %218 = getelementptr inbounds { ptr, i64 }, ptr %55, i32 0, i32 1
  %219 = load i64, ptr %218, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr %217, i64 %219)
          to label %220 unwind label %417

220:                                              ; preds = %212
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %54, double noundef 0.000000e+00)
          to label %221 unwind label %421

221:                                              ; preds = %220
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #7
  store i32 3, ptr %59, align 4, !tbaa !5
  %222 = getelementptr inbounds i32, ptr %59, i64 1
  store i32 6, ptr %222, align 4, !tbaa !5
  %223 = getelementptr inbounds %"class.std::initializer_list", ptr %58, i32 0, i32 0
  store ptr %59, ptr %223, align 8, !tbaa !11
  %224 = getelementptr inbounds %"class.std::initializer_list", ptr %58, i32 0, i32 1
  store i64 2, ptr %224, align 8, !tbaa !14
  %225 = getelementptr inbounds { ptr, i64 }, ptr %58, i32 0, i32 0
  %226 = load ptr, ptr %225, align 8
  %227 = getelementptr inbounds { ptr, i64 }, ptr %58, i32 0, i32 1
  %228 = load i64, ptr %227, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr %226, i64 %228)
          to label %229 unwind label %426

229:                                              ; preds = %221
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %57, double noundef 0.000000e+00)
          to label %230 unwind label %430

230:                                              ; preds = %229
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #7
  store i32 3, ptr %62, align 4, !tbaa !5
  %231 = getelementptr inbounds i32, ptr %62, i64 1
  store i32 7, ptr %231, align 4, !tbaa !5
  %232 = getelementptr inbounds %"class.std::initializer_list", ptr %61, i32 0, i32 0
  store ptr %62, ptr %232, align 8, !tbaa !11
  %233 = getelementptr inbounds %"class.std::initializer_list", ptr %61, i32 0, i32 1
  store i64 2, ptr %233, align 8, !tbaa !14
  %234 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 0
  %235 = load ptr, ptr %234, align 8
  %236 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 1
  %237 = load i64, ptr %236, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr %235, i64 %237)
          to label %238 unwind label %435

238:                                              ; preds = %230
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %60, double noundef 0.000000e+00)
          to label %239 unwind label %439

239:                                              ; preds = %238
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #7
  store i32 -3, ptr %65, align 4, !tbaa !5
  %240 = getelementptr inbounds i32, ptr %65, i64 1
  store i32 8, ptr %240, align 4, !tbaa !5
  %241 = getelementptr inbounds %"class.std::initializer_list", ptr %64, i32 0, i32 0
  store ptr %65, ptr %241, align 8, !tbaa !11
  %242 = getelementptr inbounds %"class.std::initializer_list", ptr %64, i32 0, i32 1
  store i64 2, ptr %242, align 8, !tbaa !14
  %243 = getelementptr inbounds { ptr, i64 }, ptr %64, i32 0, i32 0
  %244 = load ptr, ptr %243, align 8
  %245 = getelementptr inbounds { ptr, i64 }, ptr %64, i32 0, i32 1
  %246 = load i64, ptr %245, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %63, ptr %244, i64 %246)
          to label %247 unwind label %444

247:                                              ; preds = %239
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %63, double noundef -1.000000e+02)
          to label %248 unwind label %448

248:                                              ; preds = %247
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %63) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #7
  store i32 3, ptr %68, align 4, !tbaa !5
  %249 = getelementptr inbounds i32, ptr %68, i64 1
  store i32 8, ptr %249, align 4, !tbaa !5
  %250 = getelementptr inbounds %"class.std::initializer_list", ptr %67, i32 0, i32 0
  store ptr %68, ptr %250, align 8, !tbaa !11
  %251 = getelementptr inbounds %"class.std::initializer_list", ptr %67, i32 0, i32 1
  store i64 2, ptr %251, align 8, !tbaa !14
  %252 = getelementptr inbounds { ptr, i64 }, ptr %67, i32 0, i32 0
  %253 = load ptr, ptr %252, align 8
  %254 = getelementptr inbounds { ptr, i64 }, ptr %67, i32 0, i32 1
  %255 = load i64, ptr %254, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr %253, i64 %255)
          to label %256 unwind label %453

256:                                              ; preds = %248
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %66, double noundef 1.000000e+02)
          to label %257 unwind label %457

257:                                              ; preds = %256
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %66) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %69) #7
  %258 = call noundef ptr @"_ZZ4mainENK3$_0cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %258)
          to label %259 unwind label %462

259:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %70) #7
  %260 = call noundef ptr @"_ZZ4mainENK3$_1cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %70) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %260)
          to label %261 unwind label %466

261:                                              ; preds = %259
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %71) #7
  %262 = call noundef ptr @"_ZZ4mainENK3$_2cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %71) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %262)
          to label %263 unwind label %470

263:                                              ; preds = %261
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %72) #7
  %264 = call noundef ptr @"_ZZ4mainENK3$_3cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %72) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef %264)
          to label %265 unwind label %474

265:                                              ; preds = %263
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef @_Z4warpRKSt8valarrayIiERSt3mapIS0_d13valarray_compSaISt4pairIS1_dEEERd)
          to label %266 unwind label %478

266:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 24, ptr %73) #7
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #7
  store double 1.000000e-03, ptr %74, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #7
  store i32 1000, ptr %75, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #7
  %267 = load double, ptr %74, align 8, !tbaa !15
  %268 = load i32, ptr %75, align 4, !tbaa !5
  invoke void @_ZNK8MarkovDP15value_iterationEdjRSt6vectorIdSaIdEERj(ptr noundef nonnull align 8 dereferenceable(72) %6, double noundef %267, i32 noundef %268, ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 4 dereferenceable(4) %76)
          to label %269 unwind label %482

269:                                              ; preds = %266
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %271 unwind label %482

271:                                              ; preds = %269
  %272 = load i32, ptr %76, align 4, !tbaa !5
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %270, i32 noundef %272)
          to label %274 unwind label %482

274:                                              ; preds = %271
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %273, i8 noundef signext 10)
          to label %276 unwind label %482

276:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #7
  store i64 0, ptr %77, align 8, !tbaa !17
  br label %277

277:                                              ; preds = %494, %276
  %278 = load i64, ptr %77, align 8, !tbaa !17
  %279 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  %280 = icmp ult i64 %278, %279
  br i1 %280, label %486, label %281

281:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #7
  br label %501

282:                                              ; preds = %2
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %10, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %11, align 4
  br label %290

286:                                              ; preds = %85
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %10, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %290

290:                                              ; preds = %286, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %504

291:                                              ; preds = %86
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %10, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %11, align 4
  br label %299

295:                                              ; preds = %94
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %10, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %299

299:                                              ; preds = %295, %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %504

300:                                              ; preds = %95
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %10, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %11, align 4
  br label %308

304:                                              ; preds = %103
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %10, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %308

308:                                              ; preds = %304, %300
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %504

309:                                              ; preds = %104
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %10, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %11, align 4
  br label %317

313:                                              ; preds = %112
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %10, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %317

317:                                              ; preds = %313, %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %504

318:                                              ; preds = %113
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %10, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %11, align 4
  br label %326

322:                                              ; preds = %121
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %10, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %326

326:                                              ; preds = %322, %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %504

327:                                              ; preds = %122
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %10, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %11, align 4
  br label %335

331:                                              ; preds = %130
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %10, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  br label %335

335:                                              ; preds = %331, %327
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %504

336:                                              ; preds = %131
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %10, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %11, align 4
  br label %344

340:                                              ; preds = %139
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %10, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #7
  br label %344

344:                                              ; preds = %340, %336
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %504

345:                                              ; preds = %140
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %10, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %11, align 4
  br label %353

349:                                              ; preds = %148
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %10, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  br label %353

353:                                              ; preds = %349, %345
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %504

354:                                              ; preds = %149
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %10, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %11, align 4
  br label %362

358:                                              ; preds = %157
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %10, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #7
  br label %362

362:                                              ; preds = %358, %354
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %504

363:                                              ; preds = %158
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %10, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %11, align 4
  br label %371

367:                                              ; preds = %166
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %10, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #7
  br label %371

371:                                              ; preds = %367, %363
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %504

372:                                              ; preds = %167
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %10, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %11, align 4
  br label %380

376:                                              ; preds = %175
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %10, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #7
  br label %380

380:                                              ; preds = %376, %372
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %504

381:                                              ; preds = %176
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %10, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %11, align 4
  br label %389

385:                                              ; preds = %184
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %10, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #7
  br label %389

389:                                              ; preds = %385, %381
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %504

390:                                              ; preds = %185
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %10, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %11, align 4
  br label %398

394:                                              ; preds = %193
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %10, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #7
  br label %398

398:                                              ; preds = %394, %390
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %504

399:                                              ; preds = %194
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %10, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %11, align 4
  br label %407

403:                                              ; preds = %202
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %10, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #7
  br label %407

407:                                              ; preds = %403, %399
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  br label %504

408:                                              ; preds = %203
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %10, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %11, align 4
  br label %416

412:                                              ; preds = %211
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %10, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #7
  br label %416

416:                                              ; preds = %412, %408
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  br label %504

417:                                              ; preds = %212
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %10, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %11, align 4
  br label %425

421:                                              ; preds = %220
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %10, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #7
  br label %425

425:                                              ; preds = %421, %417
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  br label %504

426:                                              ; preds = %221
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %10, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %11, align 4
  br label %434

430:                                              ; preds = %229
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %10, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  br label %434

434:                                              ; preds = %430, %426
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #7
  br label %504

435:                                              ; preds = %230
  %436 = landingpad { ptr, i32 }
          cleanup
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %10, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %11, align 4
  br label %443

439:                                              ; preds = %238
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %10, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60) #7
  br label %443

443:                                              ; preds = %439, %435
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  br label %504

444:                                              ; preds = %239
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %10, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %11, align 4
  br label %452

448:                                              ; preds = %247
  %449 = landingpad { ptr, i32 }
          cleanup
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %10, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %63) #7
  br label %452

452:                                              ; preds = %448, %444
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #7
  br label %504

453:                                              ; preds = %248
  %454 = landingpad { ptr, i32 }
          cleanup
  %455 = extractvalue { ptr, i32 } %454, 0
  store ptr %455, ptr %10, align 8
  %456 = extractvalue { ptr, i32 } %454, 1
  store i32 %456, ptr %11, align 4
  br label %461

457:                                              ; preds = %256
  %458 = landingpad { ptr, i32 }
          cleanup
  %459 = extractvalue { ptr, i32 } %458, 0
  store ptr %459, ptr %10, align 8
  %460 = extractvalue { ptr, i32 } %458, 1
  store i32 %460, ptr %11, align 4
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %66) #7
  br label %461

461:                                              ; preds = %457, %453
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  br label %504

462:                                              ; preds = %257
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %10, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #7
  br label %504

466:                                              ; preds = %259
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %10, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #7
  br label %504

470:                                              ; preds = %261
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %10, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #7
  br label %504

474:                                              ; preds = %263
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %10, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #7
  br label %504

478:                                              ; preds = %265
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %10, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %11, align 4
  br label %504

482:                                              ; preds = %274, %271, %269, %266
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %10, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %11, align 4
  br label %503

486:                                              ; preds = %277
  %487 = load i64, ptr %77, align 8, !tbaa !17
  %488 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %487) #7
  %489 = load double, ptr %488, align 8, !tbaa !15
  %490 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %489)
          to label %491 unwind label %497

491:                                              ; preds = %486
  %492 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %490, i8 noundef signext 10)
          to label %493 unwind label %497

493:                                              ; preds = %491
  br label %494

494:                                              ; preds = %493
  %495 = load i64, ptr %77, align 8, !tbaa !17
  %496 = add i64 %495, 1
  store i64 %496, ptr %77, align 8, !tbaa !17
  br label %277, !llvm.loop !18

497:                                              ; preds = %491, %486
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %10, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #7
  br label %503

501:                                              ; preds = %281
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #7
  call void @_ZN8MarkovDPD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %6) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #7
  %502 = load i32, ptr %3, align 4
  ret i32 %502

503:                                              ; preds = %497, %482
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #7
  br label %504

504:                                              ; preds = %503, %478, %474, %470, %466, %462, %461, %452, %443, %434, %425, %416, %407, %398, %389, %380, %371, %362, %353, %344, %335, %326, %317, %308, %299, %290
  call void @_ZN8MarkovDPD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %6) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #7
  br label %505

505:                                              ; preds = %504
  %506 = load ptr, ptr %10, align 8
  %507 = load i32, ptr %11, align 4
  %508 = insertvalue { ptr, i32 } poison, ptr %506, 0
  %509 = insertvalue { ptr, i32 } %508, i32 %507, 1
  resume { ptr, i32 } %509
}

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

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

declare void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, double noundef) #3

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_0cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_1cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_2cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_3cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4warpRKSt8valarrayIiERSt3mapIS0_d13valarray_compSaISt4pairIS1_dEEERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

declare void @_ZNK8MarkovDP15value_iterationEdjRSt6vectorIdSaIdEERj(ptr noundef nonnull align 8 dereferenceable(72), double noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #5 align 2

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

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

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

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

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

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


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.MarkovDP = type { %"class.std::map", %"class.std::vector" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::valarray<int>, std::pair<const std::valarray<int>, double>, std::_Select1st<std::pair<const std::valarray<int>, double>>, valarray_comp>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::valarray<int>, std::pair<const std::valarray<int>, double>, std::_Select1st<std::pair<const std::valarray<int>, double>>, valarray_comp>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl" }
%"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl" = type { %"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl_data" }
%"struct.std::_Vector_base<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &), std::allocator<void (*)(const std::valarray<int> &, std::map<std::valarray<int>, double, valarray_comp> &, double &)>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::valarray" = type { i64, ptr }
%class.anon = type { i8 }
%class.anon.3 = type { i8 }
%class.anon.5 = type { i8 }
%class.anon.7 = type { i8 }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.MarkovDP, align 8
  %4 = alloca %"class.std::valarray", align 8
  %5 = alloca [2 x i32], align 4
  %6 = alloca %"class.std::valarray", align 8
  %7 = alloca [2 x i32], align 4
  %8 = alloca %"class.std::valarray", align 8
  %9 = alloca [2 x i32], align 4
  %10 = alloca %"class.std::valarray", align 8
  %11 = alloca [2 x i32], align 4
  %12 = alloca %"class.std::valarray", align 8
  %13 = alloca [2 x i32], align 4
  %14 = alloca %"class.std::valarray", align 8
  %15 = alloca [2 x i32], align 4
  %16 = alloca %"class.std::valarray", align 8
  %17 = alloca [2 x i32], align 4
  %18 = alloca %"class.std::valarray", align 8
  %19 = alloca [2 x i32], align 4
  %20 = alloca %"class.std::valarray", align 8
  %21 = alloca [2 x i32], align 4
  %22 = alloca %"class.std::valarray", align 8
  %23 = alloca [2 x i32], align 4
  %24 = alloca %"class.std::valarray", align 8
  %25 = alloca [2 x i32], align 4
  %26 = alloca %"class.std::valarray", align 8
  %27 = alloca [2 x i32], align 4
  %28 = alloca %"class.std::valarray", align 8
  %29 = alloca [2 x i32], align 4
  %30 = alloca %"class.std::valarray", align 8
  %31 = alloca [2 x i32], align 4
  %32 = alloca %"class.std::valarray", align 8
  %33 = alloca [2 x i32], align 4
  %34 = alloca %"class.std::valarray", align 8
  %35 = alloca [2 x i32], align 4
  %36 = alloca %"class.std::valarray", align 8
  %37 = alloca [2 x i32], align 4
  %38 = alloca %"class.std::valarray", align 8
  %39 = alloca [2 x i32], align 4
  %40 = alloca %"class.std::valarray", align 8
  %41 = alloca [2 x i32], align 4
  %42 = alloca %"class.std::valarray", align 8
  %43 = alloca [2 x i32], align 4
  %44 = alloca %class.anon, align 1
  %45 = alloca %class.anon.3, align 1
  %46 = alloca %class.anon.5, align 1
  %47 = alloca %class.anon.7, align 1
  %48 = alloca %"class.std::vector.9", align 8
  %49 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #7
  call void @_ZN8MarkovDPC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  store i32 3, ptr %5, align 4, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 0, ptr %50, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr nonnull %5, i64 2)
          to label %51 unwind label %127

51:                                               ; preds = %2
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %4, double noundef 0.000000e+00)
          to label %52 unwind label %129

52:                                               ; preds = %51
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  store i32 2, ptr %7, align 4, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %7, i64 4
  store i32 0, ptr %53, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr nonnull %7, i64 2)
          to label %54 unwind label %132

54:                                               ; preds = %52
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %6, double noundef 0.000000e+00)
          to label %55 unwind label %134

55:                                               ; preds = %54
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store i32 1, ptr %9, align 4, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 0, ptr %56, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr nonnull %9, i64 2)
          to label %57 unwind label %137

57:                                               ; preds = %55
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %8, double noundef 0.000000e+00)
          to label %58 unwind label %139

58:                                               ; preds = %57
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %11, i64 4
  store i32 0, ptr %59, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr nonnull %11, i64 2)
          to label %60 unwind label %142

60:                                               ; preds = %58
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %10, double noundef 0.000000e+00)
          to label %61 unwind label %144

61:                                               ; preds = %60
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %13, i64 4
  store i32 1, ptr %62, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr nonnull %13, i64 2)
          to label %63 unwind label %147

63:                                               ; preds = %61
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %12, double noundef 0.000000e+00)
          to label %64 unwind label %149

64:                                               ; preds = %63
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %15, i64 4
  store i32 2, ptr %65, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr nonnull %15, i64 2)
          to label %66 unwind label %152

66:                                               ; preds = %64
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %14, double noundef 0.000000e+00)
          to label %67 unwind label %154

67:                                               ; preds = %66
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 3, ptr %68, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr nonnull %17, i64 2)
          to label %69 unwind label %157

69:                                               ; preds = %67
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %16, double noundef 0.000000e+00)
          to label %70 unwind label %159

70:                                               ; preds = %69
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %19, i64 4
  store i32 4, ptr %71, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr nonnull %19, i64 2)
          to label %72 unwind label %162

72:                                               ; preds = %70
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %18, double noundef 0.000000e+00)
          to label %73 unwind label %164

73:                                               ; preds = %72
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %21, i64 4
  store i32 5, ptr %74, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr nonnull %21, i64 2)
          to label %75 unwind label %167

75:                                               ; preds = %73
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %20, double noundef 0.000000e+00)
          to label %76 unwind label %169

76:                                               ; preds = %75
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %23, i64 4
  store i32 6, ptr %77, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr nonnull %23, i64 2)
          to label %78 unwind label %172

78:                                               ; preds = %76
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %22, double noundef 0.000000e+00)
          to label %79 unwind label %174

79:                                               ; preds = %78
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  store i32 -1, ptr %25, align 4, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %25, i64 4
  store i32 6, ptr %80, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr nonnull %25, i64 2)
          to label %81 unwind label %177

81:                                               ; preds = %79
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %24, double noundef 0.000000e+00)
          to label %82 unwind label %179

82:                                               ; preds = %81
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  store i32 -2, ptr %27, align 4, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %27, i64 4
  store i32 6, ptr %83, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr nonnull %27, i64 2)
          to label %84 unwind label %182

84:                                               ; preds = %82
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %26, double noundef 0.000000e+00)
          to label %85 unwind label %184

85:                                               ; preds = %84
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #7
  store i32 -3, ptr %29, align 4, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %29, i64 4
  store i32 6, ptr %86, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr nonnull %29, i64 2)
          to label %87 unwind label %187

87:                                               ; preds = %85
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %28, double noundef 0.000000e+00)
          to label %88 unwind label %189

88:                                               ; preds = %87
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #7
  store i32 -3, ptr %31, align 4, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %31, i64 4
  store i32 7, ptr %89, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr nonnull %31, i64 2)
          to label %90 unwind label %192

90:                                               ; preds = %88
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %30, double noundef 0.000000e+00)
          to label %91 unwind label %194

91:                                               ; preds = %90
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  store i32 1, ptr %33, align 4, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %33, i64 4
  store i32 6, ptr %92, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr nonnull %33, i64 2)
          to label %93 unwind label %197

93:                                               ; preds = %91
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %32, double noundef 0.000000e+00)
          to label %94 unwind label %199

94:                                               ; preds = %93
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #7
  store i32 2, ptr %35, align 4, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %35, i64 4
  store i32 6, ptr %95, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr nonnull %35, i64 2)
          to label %96 unwind label %202

96:                                               ; preds = %94
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %34, double noundef 0.000000e+00)
          to label %97 unwind label %204

97:                                               ; preds = %96
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #7
  store i32 3, ptr %37, align 4, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %37, i64 4
  store i32 6, ptr %98, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr nonnull %37, i64 2)
          to label %99 unwind label %207

99:                                               ; preds = %97
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %36, double noundef 0.000000e+00)
          to label %100 unwind label %209

100:                                              ; preds = %99
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #7
  store i32 3, ptr %39, align 4, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %39, i64 4
  store i32 7, ptr %101, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr nonnull %39, i64 2)
          to label %102 unwind label %212

102:                                              ; preds = %100
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %38, double noundef 0.000000e+00)
          to label %103 unwind label %214

103:                                              ; preds = %102
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #7
  store i32 -3, ptr %41, align 4, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %41, i64 4
  store i32 8, ptr %104, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr nonnull %41, i64 2)
          to label %105 unwind label %217

105:                                              ; preds = %103
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %40, double noundef -1.000000e+02)
          to label %106 unwind label %219

106:                                              ; preds = %105
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #7
  store i32 3, ptr %43, align 4, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %43, i64 4
  store i32 8, ptr %107, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr nonnull %43, i64 2)
          to label %108 unwind label %222

108:                                              ; preds = %106
  invoke void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull %42, double noundef 1.000000e+02)
          to label %109 unwind label %224

109:                                              ; preds = %108
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %44) #7
  %110 = call noundef ptr @"_ZZ4mainENK3$_0cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %44) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef %110)
          to label %111 unwind label %227

111:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #7
  %112 = call noundef ptr @"_ZZ4mainENK3$_1cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef %112)
          to label %113 unwind label %229

113:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %46) #7
  %114 = call noundef ptr @"_ZZ4mainENK3$_2cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %46) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef %114)
          to label %115 unwind label %231

115:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %47) #7
  %116 = call noundef ptr @"_ZZ4mainENK3$_3cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %47) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef %116)
          to label %117 unwind label %233

117:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #7
  invoke void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull @_Z4warpRKSt8valarrayIiERSt3mapIS0_d13valarray_compSaISt4pairIS1_dEEERd)
          to label %118 unwind label %235

118:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %48) #7
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #7
  invoke void @_ZNK8MarkovDP15value_iterationEdjRSt6vectorIdSaIdEERj(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 1.000000e-03, i32 noundef 1000, ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %119 unwind label %237

119:                                              ; preds = %118
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %121 unwind label %237

121:                                              ; preds = %119
  %122 = load i32, ptr %49, align 4, !tbaa !5
  %123 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %120, i32 noundef %122)
          to label %124 unwind label %237

124:                                              ; preds = %121
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %123, i8 noundef signext 10)
          to label %.preheader unwind label %237

.preheader:                                       ; preds = %124
  %126 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  %.not = icmp eq i64 %126, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %244, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #7
  call void @_ZN8MarkovDPD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #7
  ret i32 0

127:                                              ; preds = %2
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %131

129:                                              ; preds = %51
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %131

131:                                              ; preds = %129, %127
  %.pn = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %251

132:                                              ; preds = %52
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %136

134:                                              ; preds = %54
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %136

136:                                              ; preds = %134, %132
  %.pn69 = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %251

137:                                              ; preds = %55
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %57
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %141

141:                                              ; preds = %139, %137
  %.pn71 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %251

142:                                              ; preds = %58
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %146

144:                                              ; preds = %60
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %146

146:                                              ; preds = %144, %142
  %.pn73 = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %251

147:                                              ; preds = %61
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %151

149:                                              ; preds = %63
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %151

151:                                              ; preds = %149, %147
  %.pn75 = phi { ptr, i32 } [ %150, %149 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %251

152:                                              ; preds = %64
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %156

154:                                              ; preds = %66
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %156

156:                                              ; preds = %154, %152
  %.pn77 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %251

157:                                              ; preds = %67
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %161

159:                                              ; preds = %69
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %161

161:                                              ; preds = %159, %157
  %.pn79 = phi { ptr, i32 } [ %160, %159 ], [ %158, %157 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %251

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

164:                                              ; preds = %72
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %166

166:                                              ; preds = %164, %162
  %.pn81 = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %251

167:                                              ; preds = %73
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %171

169:                                              ; preds = %75
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #7
  br label %171

171:                                              ; preds = %169, %167
  %.pn83 = phi { ptr, i32 } [ %170, %169 ], [ %168, %167 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %251

172:                                              ; preds = %76
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %78
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  br label %176

176:                                              ; preds = %174, %172
  %.pn85 = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %251

177:                                              ; preds = %79
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %181

179:                                              ; preds = %81
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  br label %181

181:                                              ; preds = %179, %177
  %.pn87 = phi { ptr, i32 } [ %180, %179 ], [ %178, %177 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %251

182:                                              ; preds = %82
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %186

184:                                              ; preds = %84
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #7
  br label %186

186:                                              ; preds = %184, %182
  %.pn89 = phi { ptr, i32 } [ %185, %184 ], [ %183, %182 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %251

187:                                              ; preds = %85
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %87
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #7
  br label %191

191:                                              ; preds = %189, %187
  %.pn91 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  br label %251

192:                                              ; preds = %88
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %90
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  br label %196

196:                                              ; preds = %194, %192
  %.pn93 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  br label %251

197:                                              ; preds = %91
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %93
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  br label %201

201:                                              ; preds = %199, %197
  %.pn95 = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  br label %251

202:                                              ; preds = %94
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %206

204:                                              ; preds = %96
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #7
  br label %206

206:                                              ; preds = %204, %202
  %.pn97 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #7
  br label %251

207:                                              ; preds = %97
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %211

209:                                              ; preds = %99
  %210 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #7
  br label %211

211:                                              ; preds = %209, %207
  %.pn99 = phi { ptr, i32 } [ %210, %209 ], [ %208, %207 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  br label %251

212:                                              ; preds = %100
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %216

214:                                              ; preds = %102
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  br label %216

216:                                              ; preds = %214, %212
  %.pn101 = phi { ptr, i32 } [ %215, %214 ], [ %213, %212 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #7
  br label %251

217:                                              ; preds = %103
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %221

219:                                              ; preds = %105
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #7
  br label %221

221:                                              ; preds = %219, %217
  %.pn103 = phi { ptr, i32 } [ %220, %219 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #7
  br label %251

222:                                              ; preds = %106
  %223 = landingpad { ptr, i32 }
          cleanup
  br label %226

224:                                              ; preds = %108
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #7
  br label %226

226:                                              ; preds = %224, %222
  %.pn105 = phi { ptr, i32 } [ %225, %224 ], [ %223, %222 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  br label %251

227:                                              ; preds = %109
  %228 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #7
  br label %251

229:                                              ; preds = %111
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #7
  br label %251

231:                                              ; preds = %113
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #7
  br label %251

233:                                              ; preds = %115
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #7
  br label %251

235:                                              ; preds = %117
  %236 = landingpad { ptr, i32 }
          cleanup
  br label %251

237:                                              ; preds = %124, %121, %119, %118
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %250

.lr.ph:                                           ; preds = %.preheader, %244
  %.0110 = phi i64 [ %245, %244 ], [ 0, %.preheader ]
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %.0110) #7
  %240 = load double, ptr %239, align 8, !tbaa !9
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %240)
          to label %242 unwind label %248

242:                                              ; preds = %.lr.ph
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %241, i8 noundef signext 10)
          to label %244 unwind label %248

244:                                              ; preds = %242
  %245 = add nuw i64 %.0110, 1
  %246 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  %247 = icmp ult i64 %245, %246
  br i1 %247, label %.lr.ph, label %._crit_edge, !llvm.loop !11

248:                                              ; preds = %242, %.lr.ph
  %249 = landingpad { ptr, i32 }
          cleanup
  br label %250

250:                                              ; preds = %248, %237
  %.pn107 = phi { ptr, i32 } [ %249, %248 ], [ %238, %237 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #7
  br label %251

251:                                              ; preds = %250, %235, %233, %231, %229, %227, %226, %221, %216, %211, %206, %201, %196, %191, %186, %181, %176, %171, %166, %161, %156, %151, %146, %141, %136, %131
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %250 ], [ %236, %235 ], [ %234, %233 ], [ %232, %231 ], [ %230, %229 ], [ %228, %227 ], [ %.pn105, %226 ], [ %.pn103, %221 ], [ %.pn101, %216 ], [ %.pn99, %211 ], [ %.pn97, %206 ], [ %.pn95, %201 ], [ %.pn93, %196 ], [ %.pn91, %191 ], [ %.pn89, %186 ], [ %.pn87, %181 ], [ %.pn85, %176 ], [ %.pn83, %171 ], [ %.pn81, %166 ], [ %.pn79, %161 ], [ %.pn77, %156 ], [ %.pn75, %151 ], [ %.pn73, %146 ], [ %.pn71, %141 ], [ %.pn69, %136 ], [ %.pn, %131 ]
  call void @_ZN8MarkovDPD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn107.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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8MarkovDPC2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #2 align 2

declare void @_ZN8MarkovDP10add_vertexESt8valarrayIiEd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, double noundef) local_unnamed_addr #3

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN8MarkovDP8add_moveEPFvRKSt8valarrayIiERSt3mapIS1_d13valarray_compSaISt4pairIS2_dEEERdE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_0cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_1cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_2cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_3cvPFDaRKT_RT0_RdEISt8valarrayIiESt3mapISA_d13valarray_compSaISt4pairIKSA_dEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4warpRKSt8valarrayIiERSt3mapIS0_d13valarray_compSaISt4pairIS1_dEEERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

declare void @_ZNK8MarkovDP15value_iterationEdjRSt6vectorIdSaIdEERj(ptr noundef nonnull align 8 dereferenceable(72), double noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass