; LLVM IR from fdabrandao/vpsolver :: src/afg2ampl.ll (Z9swig_mainiPPc)

; 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.Arcflow = type <{ i8, [7 x i8], %"class.std::set", %class.NodeSet, %"class.std::vector.8", %"class.std::map", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector", i32, [4 x i8], i64, %class.Instance, i32, i32, i32, [4 x i8], %"class.std::vector.8", %"class.std::vector.23", i32, [4 x i8] }>
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Arc, Arc, std::_Identity<Arc>, std::less<Arc>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Arc, Arc, std::_Identity<Arc>, std::less<Arc>>::_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.NodeSet = type { %"class.std::map", %"class.std::vector" }
%"class.std::map" = type { %"class.std::_Rb_tree.0" }
%"class.std::_Rb_tree.0" = type { %"struct.std::_Rb_tree<std::vector<int>, std::pair<const std::vector<int>, int>, std::_Select1st<std::pair<const std::vector<int>, int>>, std::less<std::vector<int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::vector<int>, std::pair<const std::vector<int>, int>, std::_Select1st<std::pair<const std::vector<int>, int>>, std::less<std::vector<int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl" }
%"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl" = type { %"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Instance = type { i32, i32, i32, i32, i32, %"class.std::vector", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", i32, i8, i8, i8, %"class.std::vector.18", %"class.std::vector.8", %"class.std::vector.8" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl" }
%"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl" = type { %"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.28" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.29" = type { ptr }
%class.Item = type { %"class.std::vector.8", %"class.std::vector.8", i32, i32, i32, i32, i32, i32 }
%class.Arc = type { i32, i32, i32 }

@.str = external hidden unnamed_addr constant [57 x i8], align 1
@stdout = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [899 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z9swig_mainiPPc(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 ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca [256 x i8], align 16
  %9 = alloca %class.Arcflow, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca [256 x i8], align 16
  %13 = alloca ptr, align 8
  %14 = alloca [256 x i8], align 16
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %39 = alloca ptr, align 8
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.29", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.29", align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %47 = load ptr, ptr @stdout, align 8, !tbaa !9
  %48 = call i32 @setvbuf(ptr noundef %47, ptr noundef null, i32 noundef 2, i64 noundef 0) #8
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = icmp ne i32 %49, 4
  br i1 %50, label %51, label %53

51:                                               ; preds = %2
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 1, ptr %3, align 4
  br label %507

53:                                               ; preds = %2
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = getelementptr inbounds ptr, ptr %54, i64 1
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  %57 = invoke noundef zeroext i1 @_Z9check_extPKcS0_(ptr noundef %56, ptr noundef @.str.2)
          to label %58 unwind label %65

58:                                               ; preds = %53
  br i1 %57, label %78, label %59

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 256, ptr %8) #8
  %60 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
  %61 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %60, i64 noundef 256, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 18) #8
  %62 = call ptr @__cxa_allocate_exception(i64 16) #8
  %63 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef %63)
          to label %64 unwind label %69

64:                                               ; preds = %59
  invoke void @__cxa_throw(ptr %62, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %517 unwind label %73

65:                                               ; preds = %53
  %66 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %6, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %7, align 4
  br label %477

69:                                               ; preds = %59
  %70 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %6, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %7, align 4
  call void @__cxa_free_exception(ptr %62) #8
  br label %77

73:                                               ; preds = %64
  %74 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %6, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %7, align 4
  br label %77

77:                                               ; preds = %73, %69
  call void @llvm.lifetime.end.p0(i64 256, ptr %8) #8
  br label %477

78:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 608, ptr %9) #8
  %79 = load ptr, ptr %5, align 8, !tbaa !9
  %80 = getelementptr inbounds ptr, ptr %79, i64 1
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  invoke void @_ZN7ArcflowC1EPKc(ptr noundef nonnull align 8 dereferenceable(604) %9, ptr noundef %81)
          to label %82 unwind label %93

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %83 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 14
  store ptr %83, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %84 = load ptr, ptr %5, align 8, !tbaa !9
  %85 = getelementptr inbounds ptr, ptr %84, i64 2
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  %87 = invoke noalias ptr @fopen(ptr noundef %86, ptr noundef @.str.6)
          to label %88 unwind label %97

88:                                               ; preds = %82
  store ptr %87, ptr %11, align 8, !tbaa !9
  %89 = load ptr, ptr %11, align 8, !tbaa !9
  %90 = icmp eq ptr %89, null
  br i1 %90, label %91, label %101

91:                                               ; preds = %88
  invoke void @perror(ptr noundef @.str.7)
          to label %92 unwind label %97

92:                                               ; preds = %91
  br label %101

93:                                               ; preds = %78
  %94 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %6, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %7, align 4
  br label %476

97:                                               ; preds = %91, %82
  %98 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %6, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %7, align 4
  br label %475

101:                                              ; preds = %92, %88
  %102 = load ptr, ptr %11, align 8, !tbaa !9
  %103 = icmp ne ptr %102, null
  br i1 %103, label %119, label %104

104:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 256, ptr %12) #8
  %105 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
  %106 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %105, i64 noundef 256, ptr noundef @.str.3, ptr noundef @.str.8, ptr noundef @.str.5, i32 noundef 26) #8
  %107 = call ptr @__cxa_allocate_exception(i64 16) #8
  %108 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %107, ptr noundef %108)
          to label %109 unwind label %110

109:                                              ; preds = %104
  invoke void @__cxa_throw(ptr %107, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %517 unwind label %114

110:                                              ; preds = %104
  %111 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %6, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %7, align 4
  call void @__cxa_free_exception(ptr %107) #8
  br label %118

114:                                              ; preds = %109
  %115 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %6, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %7, align 4
  br label %118

118:                                              ; preds = %114, %110
  call void @llvm.lifetime.end.p0(i64 256, ptr %12) #8
  br label %475

119:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %120 = load ptr, ptr %5, align 8, !tbaa !9
  %121 = getelementptr inbounds ptr, ptr %120, i64 3
  %122 = load ptr, ptr %121, align 8, !tbaa !9
  %123 = invoke noalias ptr @fopen(ptr noundef %122, ptr noundef @.str.6)
          to label %124 unwind label %129

124:                                              ; preds = %119
  store ptr %123, ptr %13, align 8, !tbaa !9
  %125 = load ptr, ptr %11, align 8, !tbaa !9
  %126 = icmp eq ptr %125, null
  br i1 %126, label %127, label %133

127:                                              ; preds = %124
  invoke void @perror(ptr noundef @.str.7)
          to label %128 unwind label %129

128:                                              ; preds = %127
  br label %133

129:                                              ; preds = %151, %127, %119
  %130 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %6, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %7, align 4
  br label %474

133:                                              ; preds = %128, %124
  %134 = load ptr, ptr %13, align 8, !tbaa !9
  %135 = icmp ne ptr %134, null
  br i1 %135, label %151, label %136

136:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 256, ptr %14) #8
  %137 = getelementptr inbounds [256 x i8], ptr %14, i64 0, i64 0
  %138 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %137, i64 noundef 256, ptr noundef @.str.3, ptr noundef @.str.9, ptr noundef @.str.5, i32 noundef 32) #8
  %139 = call ptr @__cxa_allocate_exception(i64 16) #8
  %140 = getelementptr inbounds [256 x i8], ptr %14, i64 0, i64 0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %139, ptr noundef %140)
          to label %141 unwind label %142

141:                                              ; preds = %136
  invoke void @__cxa_throw(ptr %139, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %517 unwind label %146

142:                                              ; preds = %136
  %143 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %6, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %7, align 4
  call void @__cxa_free_exception(ptr %139) #8
  br label %150

146:                                              ; preds = %141
  %147 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %6, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %7, align 4
  br label %150

150:                                              ; preds = %146, %142
  call void @llvm.lifetime.end.p0(i64 256, ptr %14) #8
  br label %474

151:                                              ; preds = %133
  %152 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.10)
          to label %153 unwind label %129

153:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store ptr @.str.11, ptr %15, align 8, !tbaa !9
  %154 = load ptr, ptr %11, align 8, !tbaa !9
  %155 = load ptr, ptr %15, align 8, !tbaa !9
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef @.str.12, ptr noundef %155) #8
  %157 = load ptr, ptr %11, align 8, !tbaa !9
  %158 = invoke i32 @fclose(ptr noundef %157)
          to label %159 unwind label %176

159:                                              ; preds = %153
  %160 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.13)
          to label %161 unwind label %176

161:                                              ; preds = %159
  %162 = load ptr, ptr %13, align 8, !tbaa !9
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.14) #8
  %164 = load ptr, ptr %13, align 8, !tbaa !9
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %166 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 19
  store ptr %166, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %167 = load ptr, ptr %16, align 8, !tbaa !9
  %168 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %167) #8
  %169 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %168, ptr %169, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %170 = load ptr, ptr %16, align 8, !tbaa !9
  %171 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %170) #8
  %172 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %171, ptr %172, align 8
  br label %173

173:                                              ; preds = %186, %161
  %174 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br i1 %174, label %180, label %175

175:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %188

176:                                              ; preds = %471, %466, %159, %153
  %177 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %6, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %474

180:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %182 = load i32, ptr %181, align 4, !tbaa !5
  store i32 %182, ptr %19, align 4, !tbaa !5
  %183 = load ptr, ptr %13, align 8, !tbaa !9
  %184 = load i32, ptr %19, align 4, !tbaa !5
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %183, ptr noundef @.str.16, i32 noundef %184) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %186

186:                                              ; preds = %180
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %173

188:                                              ; preds = %175
  %189 = load ptr, ptr %13, align 8, !tbaa !9
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str.17) #8
  %191 = load ptr, ptr %13, align 8, !tbaa !9
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store i64 0, ptr %20, align 8, !tbaa !11
  br label %193

193:                                              ; preds = %211, %188
  %194 = load i64, ptr %20, align 8, !tbaa !11
  %195 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 19
  %196 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #8
  %197 = icmp ult i64 %194, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %214

199:                                              ; preds = %193
  %200 = load ptr, ptr %13, align 8, !tbaa !9
  %201 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 19
  %202 = load i64, ptr %20, align 8, !tbaa !11
  %203 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %201, i64 noundef %202) #8
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = load ptr, ptr %10, align 8, !tbaa !9
  %206 = getelementptr inbounds %class.Instance, ptr %205, i32 0, i32 6
  %207 = load i64, ptr %20, align 8, !tbaa !11
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef %207) #8
  %209 = load i32, ptr %208, align 4, !tbaa !5
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef @.str.19, i32 noundef %204, i32 noundef %209) #8
  br label %211

211:                                              ; preds = %199
  %212 = load i64, ptr %20, align 8, !tbaa !11
  %213 = add i64 %212, 1
  store i64 %213, ptr %20, align 8, !tbaa !11
  br label %193, !llvm.loop !13

214:                                              ; preds = %198
  %215 = load ptr, ptr %13, align 8, !tbaa !9
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %215, ptr noundef @.str.17) #8
  %217 = load ptr, ptr %13, align 8, !tbaa !9
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %217, ptr noundef @.str.20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store i64 0, ptr %21, align 8, !tbaa !11
  br label %219

219:                                              ; preds = %237, %214
  %220 = load i64, ptr %21, align 8, !tbaa !11
  %221 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 19
  %222 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %221) #8
  %223 = icmp ult i64 %220, %222
  br i1 %223, label %225, label %224

224:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %240

225:                                              ; preds = %219
  %226 = load ptr, ptr %13, align 8, !tbaa !9
  %227 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 19
  %228 = load i64, ptr %21, align 8, !tbaa !11
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %227, i64 noundef %228) #8
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %231 = load ptr, ptr %10, align 8, !tbaa !9
  %232 = getelementptr inbounds %class.Instance, ptr %231, i32 0, i32 7
  %233 = load i64, ptr %21, align 8, !tbaa !11
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %232, i64 noundef %233) #8
  %235 = load i32, ptr %234, align 4, !tbaa !5
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef @.str.19, i32 noundef %230, i32 noundef %235) #8
  br label %237

237:                                              ; preds = %225
  %238 = load i64, ptr %21, align 8, !tbaa !11
  %239 = add i64 %238, 1
  store i64 %239, ptr %21, align 8, !tbaa !11
  br label %219, !llvm.loop !15

240:                                              ; preds = %224
  %241 = load ptr, ptr %13, align 8, !tbaa !9
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.17) #8
  %243 = load ptr, ptr %13, align 8, !tbaa !9
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.21) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %245

245:                                              ; preds = %257, %240
  %246 = load i32, ptr %22, align 4, !tbaa !5
  %247 = load ptr, ptr %10, align 8, !tbaa !9
  %248 = getelementptr inbounds %class.Instance, ptr %247, i32 0, i32 3
  %249 = load i32, ptr %248, align 4, !tbaa !16
  %250 = icmp slt i32 %246, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %260

252:                                              ; preds = %245
  %253 = load ptr, ptr %13, align 8, !tbaa !9
  %254 = load i32, ptr %22, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.16, i32 noundef %255) #8
  br label %257

257:                                              ; preds = %252
  %258 = load i32, ptr %22, align 4, !tbaa !5
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %22, align 4, !tbaa !5
  br label %245, !llvm.loop !35

260:                                              ; preds = %251
  %261 = load ptr, ptr %13, align 8, !tbaa !9
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.17) #8
  %263 = load ptr, ptr %13, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.22) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %265

265:                                              ; preds = %283, %260
  %266 = load i32, ptr %23, align 4, !tbaa !5
  %267 = load ptr, ptr %10, align 8, !tbaa !9
  %268 = getelementptr inbounds %class.Instance, ptr %267, i32 0, i32 3
  %269 = load i32, ptr %268, align 4, !tbaa !16
  %270 = icmp slt i32 %266, %269
  br i1 %270, label %272, label %271

271:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %286

272:                                              ; preds = %265
  %273 = load ptr, ptr %13, align 8, !tbaa !9
  %274 = load i32, ptr %23, align 4, !tbaa !5
  %275 = add nsw i32 %274, 1
  %276 = load ptr, ptr %10, align 8, !tbaa !9
  %277 = getelementptr inbounds %class.Instance, ptr %276, i32 0, i32 15
  %278 = load i32, ptr %23, align 4, !tbaa !5
  %279 = sext i32 %278 to i64
  %280 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %277, i64 noundef %279) #8
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.19, i32 noundef %275, i32 noundef %281) #8
  br label %283

283:                                              ; preds = %272
  %284 = load i32, ptr %23, align 4, !tbaa !5
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %23, align 4, !tbaa !5
  br label %265, !llvm.loop !36

286:                                              ; preds = %271
  %287 = load ptr, ptr %13, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef @.str.17) #8
  %289 = load ptr, ptr %13, align 8, !tbaa !9
  %290 = load ptr, ptr %10, align 8, !tbaa !9
  %291 = getelementptr inbounds %class.Instance, ptr %290, i32 0, i32 11
  %292 = load i8, ptr %291, align 1, !tbaa !37, !range !38, !noundef !39
  %293 = trunc i8 %292 to i1
  %294 = zext i1 %293 to i32
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.23, i32 noundef %294) #8
  %296 = load ptr, ptr %10, align 8, !tbaa !9
  %297 = getelementptr inbounds %class.Instance, ptr %296, i32 0, i32 11
  %298 = load i8, ptr %297, align 1, !tbaa !37, !range !38, !noundef !39
  %299 = trunc i8 %298 to i1
  br i1 %299, label %329, label %300

300:                                              ; preds = %286
  %301 = load ptr, ptr %13, align 8, !tbaa !9
  %302 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %301, ptr noundef @.str.24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %303 = load ptr, ptr %10, align 8, !tbaa !9
  %304 = getelementptr inbounds %class.Instance, ptr %303, i32 0, i32 8
  store ptr %304, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %305 = load ptr, ptr %24, align 8, !tbaa !9
  %306 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %305) #8
  %307 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %25, i32 0, i32 0
  store ptr %306, ptr %307, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %308 = load ptr, ptr %24, align 8, !tbaa !9
  %309 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %308) #8
  %310 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %26, i32 0, i32 0
  store ptr %309, ptr %310, align 8
  br label %311

311:                                              ; preds = %324, %300
  %312 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  br i1 %312, label %314, label %313

313:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %326

314:                                              ; preds = %311
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %315 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  store ptr %315, ptr %27, align 8, !tbaa !9
  %316 = load ptr, ptr %13, align 8, !tbaa !9
  %317 = load ptr, ptr %27, align 8, !tbaa !9
  %318 = getelementptr inbounds %class.Item, ptr %317, i32 0, i32 2
  %319 = load i32, ptr %318, align 8, !tbaa !40
  %320 = load ptr, ptr %27, align 8, !tbaa !9
  %321 = getelementptr inbounds %class.Item, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %321, align 8, !tbaa !42
  %323 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %316, ptr noundef @.str.19, i32 noundef %319, i32 noundef %322) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %324

324:                                              ; preds = %314
  %325 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  br label %311

326:                                              ; preds = %313
  %327 = load ptr, ptr %13, align 8, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.17) #8
  br label %329

329:                                              ; preds = %326, %286
  %330 = load ptr, ptr %13, align 8, !tbaa !9
  %331 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %330, ptr noundef @.str.25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %332 = load ptr, ptr %10, align 8, !tbaa !9
  %333 = getelementptr inbounds %class.Instance, ptr %332, i32 0, i32 8
  store ptr %333, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %334 = load ptr, ptr %28, align 8, !tbaa !9
  %335 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %334) #8
  %336 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %29, i32 0, i32 0
  store ptr %335, ptr %336, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %337 = load ptr, ptr %28, align 8, !tbaa !9
  %338 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %337) #8
  %339 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %30, i32 0, i32 0
  store ptr %338, ptr %339, align 8
  br label %340

340:                                              ; preds = %350, %329
  %341 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br i1 %341, label %343, label %342

342:                                              ; preds = %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %352

343:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %344 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  store ptr %344, ptr %31, align 8, !tbaa !9
  %345 = load ptr, ptr %13, align 8, !tbaa !9
  %346 = load ptr, ptr %31, align 8, !tbaa !9
  %347 = getelementptr inbounds %class.Item, ptr %346, i32 0, i32 2
  %348 = load i32, ptr %347, align 8, !tbaa !40
  %349 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef @.str.16, i32 noundef %348) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %350

350:                                              ; preds = %343
  %351 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br label %340

352:                                              ; preds = %342
  %353 = load ptr, ptr %13, align 8, !tbaa !9
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %353, ptr noundef @.str.17) #8
  %355 = load ptr, ptr %13, align 8, !tbaa !9
  %356 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %355, ptr noundef @.str.26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %357 = load ptr, ptr %10, align 8, !tbaa !9
  %358 = getelementptr inbounds %class.Instance, ptr %357, i32 0, i32 8
  store ptr %358, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %359 = load ptr, ptr %32, align 8, !tbaa !9
  %360 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %359) #8
  %361 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %33, i32 0, i32 0
  store ptr %360, ptr %361, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %362 = load ptr, ptr %32, align 8, !tbaa !9
  %363 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %362) #8
  %364 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %34, i32 0, i32 0
  store ptr %363, ptr %364, align 8
  br label %365

365:                                              ; preds = %379, %352
  %366 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br i1 %366, label %368, label %367

367:                                              ; preds = %365
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %381

368:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %369 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  store ptr %369, ptr %35, align 8, !tbaa !9
  %370 = load ptr, ptr %13, align 8, !tbaa !9
  %371 = load ptr, ptr %35, align 8, !tbaa !9
  %372 = getelementptr inbounds %class.Item, ptr %371, i32 0, i32 2
  %373 = load i32, ptr %372, align 8, !tbaa !40
  %374 = load ptr, ptr %35, align 8, !tbaa !9
  %375 = getelementptr inbounds %class.Item, ptr %374, i32 0, i32 3
  %376 = load i32, ptr %375, align 4, !tbaa !43
  %377 = add nsw i32 %376, 1
  %378 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %370, ptr noundef @.str.19, i32 noundef %373, i32 noundef %377) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %379

379:                                              ; preds = %368
  %380 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  br label %365

381:                                              ; preds = %367
  %382 = load ptr, ptr %13, align 8, !tbaa !9
  %383 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %382, ptr noundef @.str.17) #8
  %384 = load ptr, ptr %13, align 8, !tbaa !9
  %385 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %384, ptr noundef @.str.27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %386 = load ptr, ptr %10, align 8, !tbaa !9
  %387 = getelementptr inbounds %class.Instance, ptr %386, i32 0, i32 8
  store ptr %387, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %388 = load ptr, ptr %36, align 8, !tbaa !9
  %389 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %388) #8
  %390 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %37, i32 0, i32 0
  store ptr %389, ptr %390, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %391 = load ptr, ptr %36, align 8, !tbaa !9
  %392 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %391) #8
  %393 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.28", ptr %38, i32 0, i32 0
  store ptr %392, ptr %393, align 8
  br label %394

394:                                              ; preds = %408, %381
  %395 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  br i1 %395, label %397, label %396

396:                                              ; preds = %394
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %410

397:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %398 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  store ptr %398, ptr %39, align 8, !tbaa !9
  %399 = load ptr, ptr %13, align 8, !tbaa !9
  %400 = load ptr, ptr %39, align 8, !tbaa !9
  %401 = getelementptr inbounds %class.Item, ptr %400, i32 0, i32 2
  %402 = load i32, ptr %401, align 8, !tbaa !40
  %403 = load ptr, ptr %39, align 8, !tbaa !9
  %404 = getelementptr inbounds %class.Item, ptr %403, i32 0, i32 4
  %405 = load i32, ptr %404, align 8, !tbaa !44
  %406 = add nsw i32 %405, 1
  %407 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %399, ptr noundef @.str.19, i32 noundef %402, i32 noundef %406) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %408

408:                                              ; preds = %397
  %409 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  br label %394

410:                                              ; preds = %396
  %411 = load ptr, ptr %13, align 8, !tbaa !9
  %412 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %411, ptr noundef @.str.17) #8
  %413 = load ptr, ptr %13, align 8, !tbaa !9
  %414 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 17
  %415 = load i32, ptr %414, align 8, !tbaa !45
  %416 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %413, ptr noundef @.str.28, i32 noundef %415) #8
  %417 = load ptr, ptr %13, align 8, !tbaa !9
  %418 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 21
  %419 = load i32, ptr %418, align 8, !tbaa !65
  %420 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %417, ptr noundef @.str.29, i32 noundef %419) #8
  %421 = load ptr, ptr %13, align 8, !tbaa !9
  %422 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %421, ptr noundef @.str.30) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %423

423:                                              ; preds = %433, %410
  %424 = load i32, ptr %40, align 4, !tbaa !5
  %425 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 15
  %426 = load i32, ptr %425, align 8, !tbaa !66
  %427 = icmp slt i32 %424, %426
  br i1 %427, label %429, label %428

428:                                              ; preds = %423
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %436

429:                                              ; preds = %423
  %430 = load ptr, ptr %13, align 8, !tbaa !9
  %431 = load i32, ptr %40, align 4, !tbaa !5
  %432 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %430, ptr noundef @.str.16, i32 noundef %431) #8
  br label %433

433:                                              ; preds = %429
  %434 = load i32, ptr %40, align 4, !tbaa !5
  %435 = add nsw i32 %434, 1
  store i32 %435, ptr %40, align 4, !tbaa !5
  br label %423, !llvm.loop !67

436:                                              ; preds = %428
  %437 = load ptr, ptr %13, align 8, !tbaa !9
  %438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef @.str.17) #8
  %439 = load ptr, ptr %13, align 8, !tbaa !9
  %440 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %439, ptr noundef @.str.31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %441 = getelementptr inbounds %class.Arcflow, ptr %9, i32 0, i32 20
  store ptr %441, ptr %41, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %442 = load ptr, ptr %41, align 8, !tbaa !9
  %443 = call ptr @_ZNSt6vectorI3ArcSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %442) #8
  %444 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.29", ptr %42, i32 0, i32 0
  store ptr %443, ptr %444, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %445 = load ptr, ptr %41, align 8, !tbaa !9
  %446 = call ptr @_ZNSt6vectorI3ArcSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %445) #8
  %447 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.29", ptr %43, i32 0, i32 0
  store ptr %446, ptr %447, align 8
  br label %448

448:                                              ; preds = %464, %436
  %449 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP3ArcSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  br i1 %449, label %451, label %450

450:                                              ; preds = %448
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %466

451:                                              ; preds = %448
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %452 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP3ArcSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  store ptr %452, ptr %44, align 8, !tbaa !9
  %453 = load ptr, ptr %13, align 8, !tbaa !9
  %454 = load ptr, ptr %44, align 8, !tbaa !9
  %455 = getelementptr inbounds %class.Arc, ptr %454, i32 0, i32 0
  %456 = load i32, ptr %455, align 4, !tbaa !68
  %457 = load ptr, ptr %44, align 8, !tbaa !9
  %458 = getelementptr inbounds %class.Arc, ptr %457, i32 0, i32 1
  %459 = load i32, ptr %458, align 4, !tbaa !70
  %460 = load ptr, ptr %44, align 8, !tbaa !9
  %461 = getelementptr inbounds %class.Arc, ptr %460, i32 0, i32 2
  %462 = load i32, ptr %461, align 4, !tbaa !71
  %463 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef @.str.32, i32 noundef %456, i32 noundef %459, i32 noundef %462) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %464

464:                                              ; preds = %451
  %465 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP3ArcSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  br label %448

466:                                              ; preds = %450
  %467 = load ptr, ptr %13, align 8, !tbaa !9
  %468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.17) #8
  %469 = load ptr, ptr %13, align 8, !tbaa !9
  %470 = invoke i32 @fclose(ptr noundef %469)
          to label %471 unwind label %176

471:                                              ; preds = %466
  %472 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.33)
          to label %473 unwind label %176

473:                                              ; preds = %471
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @_ZN7ArcflowD2Ev(ptr noundef nonnull align 8 dereferenceable(604) %9) #8
  call void @llvm.lifetime.end.p0(i64 608, ptr %9) #8
  br label %507

474:                                              ; preds = %176, %150, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %475

475:                                              ; preds = %474, %118, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @_ZN7ArcflowD2Ev(ptr noundef nonnull align 8 dereferenceable(604) %9) #8
  br label %476

476:                                              ; preds = %475, %93
  call void @llvm.lifetime.end.p0(i64 608, ptr %9) #8
  br label %477

477:                                              ; preds = %476, %77, %65
  %478 = load i32, ptr %7, align 4
  %479 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt13runtime_error) #8
  %480 = icmp eq i32 %478, %479
  br i1 %480, label %481, label %491

481:                                              ; preds = %477
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %482 = load ptr, ptr %6, align 8
  %483 = call ptr @__cxa_begin_catch(ptr %482) #8
  store ptr %483, ptr %45, align 8
  %484 = load ptr, ptr %45, align 8, !tbaa !9
  %485 = load ptr, ptr %484, align 8, !tbaa !72
  %486 = getelementptr inbounds ptr, ptr %485, i64 2
  %487 = load ptr, ptr %486, align 8
  %488 = call noundef ptr %487(ptr noundef nonnull align 8 dereferenceable(16) %484) #8
  %489 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %488)
          to label %490 unwind label %501

490:                                              ; preds = %481
  store i32 1, ptr %3, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %507

491:                                              ; preds = %477
  %492 = load ptr, ptr %6, align 8
  %493 = call ptr @__cxa_begin_catch(ptr %492) #8
  %494 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.34)
          to label %495 unwind label %496

495:                                              ; preds = %491
  store i32 1, ptr %3, align 4
  call void @__cxa_end_catch()
  br label %507

496:                                              ; preds = %491
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %6, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %7, align 4
  invoke void @__cxa_end_catch()
          to label %500 unwind label %514

500:                                              ; preds = %496
  br label %509

501:                                              ; preds = %481
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %6, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %7, align 4
  invoke void @__cxa_end_catch()
          to label %505 unwind label %514

505:                                              ; preds = %501
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %509

506:                                              ; No predecessors!
  unreachable

507:                                              ; preds = %495, %490, %473, %51
  %508 = load i32, ptr %3, align 4
  ret i32 %508

509:                                              ; preds = %505, %500
  %510 = load ptr, ptr %6, align 8
  %511 = load i32, ptr %7, align 4
  %512 = insertvalue { ptr, i32 } poison, ptr %510, 0
  %513 = insertvalue { ptr, i32 } %512, i32 %511, 1
  resume { ptr, i32 } %513

514:                                              ; preds = %501, %496
  %515 = landingpad { ptr, i32 }
          catch ptr null
  %516 = extractvalue { ptr, i32 } %515, 0
  call void @__clang_call_terminate(ptr %516) #10
  unreachable

517:                                              ; preds = %141, %109, %64
  unreachable
}

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

; Function Attrs: nounwind
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #2

declare noundef zeroext i1 @_Z9check_extPKcS0_(ptr noundef, ptr noundef) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #2

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @_ZN7ArcflowC1EPKc(ptr noundef nonnull align 8 dereferenceable(604), ptr noundef) unnamed_addr #1

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

declare void @perror(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

declare i32 @fclose(ptr noundef) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #7

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind memory(none) }
attributes #7 = { noinline noreturn nounwind uwtable "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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { noreturn 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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !6, i64 12}
!17 = !{!"_ZTS8Instance", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !18, i64 24, !22, i64 48, !22, i64 72, !26, i64 96, !6, i64 120, !30, i64 124, !30, i64 125, !7, i64 126, !31, i64 128, !22, i64 152, !22, i64 176}
!18 = !{!"_ZTSSt6vectorIS_IiSaIiEESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!22 = !{!"_ZTSSt6vectorIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!26 = !{!"_ZTSSt6vectorI4ItemSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI4ItemSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!30 = !{!"bool", !7, i64 0}
!31 = !{!"_ZTSSt6vectorIcSaIcEE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!35 = distinct !{!35, !14}
!36 = distinct !{!36, !14}
!37 = !{!17, !30, i64 125}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!41, !6, i64 48}
!41 = !{!"_ZTS4Item", !22, i64 0, !22, i64 24, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68}
!42 = !{!41, !6, i64 64}
!43 = !{!41, !6, i64 52}
!44 = !{!41, !6, i64 56}
!45 = !{!46, !6, i64 544}
!46 = !{!"_ZTS7Arcflow", !30, i64 0, !47, i64 8, !55, i64 56, !22, i64 128, !56, i64 152, !22, i64 200, !22, i64 224, !22, i64 248, !26, i64 272, !18, i64 296, !6, i64 320, !12, i64 328, !17, i64 336, !6, i64 536, !6, i64 540, !6, i64 544, !22, i64 552, !61, i64 576, !6, i64 600}
!47 = !{!"_ZTSSt3setI3ArcSt4lessIS0_ESaIS0_EE", !48, i64 0}
!48 = !{!"_ZTSSt8_Rb_treeI3ArcS0_St9_IdentityIS0_ESt4lessIS0_ESaIS0_EE", !49, i64 0}
!49 = !{!"_ZTSNSt8_Rb_treeI3ArcS0_St9_IdentityIS0_ESt4lessIS0_ESaIS0_EE13_Rb_tree_implIS4_Lb1EEE", !50, i64 0, !52, i64 8}
!50 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessI3ArcEE", !51, i64 0}
!51 = !{!"_ZTSSt4lessI3ArcE"}
!52 = !{!"_ZTSSt15_Rb_tree_header", !53, i64 0, !12, i64 32}
!53 = !{!"_ZTSSt18_Rb_tree_node_base", !54, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!54 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!55 = !{!"_ZTS7NodeSet", !56, i64 0, !18, i64 48}
!56 = !{!"_ZTSSt3mapISt6vectorIiSaIiEEiSt4lessIS2_ESaISt4pairIKS2_iEEE", !57, i64 0}
!57 = !{!"_ZTSSt8_Rb_treeISt6vectorIiSaIiEESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE", !58, i64 0}
!58 = !{!"_ZTSNSt8_Rb_treeISt6vectorIiSaIiEESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !59, i64 0, !52, i64 8}
!59 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt6vectorIiSaIiEEEE", !60, i64 0}
!60 = !{!"_ZTSSt4lessISt6vectorIiSaIiEEE"}
!61 = !{!"_ZTSSt6vectorI3ArcSaIS0_EE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseI3ArcSaIS0_EE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseI3ArcSaIS0_EE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseI3ArcSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!65 = !{!46, !6, i64 600}
!66 = !{!46, !6, i64 536}
!67 = distinct !{!67, !14}
!68 = !{!69, !6, i64 0}
!69 = !{!"_ZTS3Arc", !6, i64 0, !6, i64 4, !6, i64 8}
!70 = !{!69, !6, i64 4}
!71 = !{!69, !6, i64 8}
!72 = !{!73, !73, i64 0}
!73 = !{!"vtable pointer", !8, i64 0}


; 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.Arcflow = type <{ i8, [7 x i8], %"class.std::set", %class.NodeSet, %"class.std::vector.8", %"class.std::map", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector", i32, [4 x i8], i64, %class.Instance, i32, i32, i32, [4 x i8], %"class.std::vector.8", %"class.std::vector.23", i32, [4 x i8] }>
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Arc, Arc, std::_Identity<Arc>, std::less<Arc>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Arc, Arc, std::_Identity<Arc>, std::less<Arc>>::_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.NodeSet = type { %"class.std::map", %"class.std::vector" }
%"class.std::map" = type { %"class.std::_Rb_tree.0" }
%"class.std::_Rb_tree.0" = type { %"struct.std::_Rb_tree<std::vector<int>, std::pair<const std::vector<int>, int>, std::_Select1st<std::pair<const std::vector<int>, int>>, std::less<std::vector<int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::vector<int>, std::pair<const std::vector<int>, int>, std::_Select1st<std::pair<const std::vector<int>, int>>, std::less<std::vector<int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl" }
%"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl" = type { %"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Instance = type { i32, i32, i32, i32, i32, %"class.std::vector", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", i32, i8, i8, i8, %"class.std::vector.18", %"class.std::vector.8", %"class.std::vector.8" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl" }
%"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl" = type { %"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Arc, std::allocator<Arc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.28" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.29" = type { ptr }

@.str = external hidden unnamed_addr constant [57 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [899 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_Z9swig_mainiPPc(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca [256 x i8], align 16
  %4 = alloca %class.Arcflow, align 8
  %5 = alloca [256 x i8], align 16
  %6 = alloca [256 x i8], align 16
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.28", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.29", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.29", align 8
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %20 = load ptr, ptr @stdout, align 8, !tbaa !5
  %21 = tail call i32 @setvbuf(ptr noundef %20, ptr noundef null, i32 noundef 2, i64 noundef 0) #8
  %.not = icmp eq i32 %0, 4
  br i1 %.not, label %24, label %22

22:                                               ; preds = %2
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %243

24:                                               ; preds = %2
  %25 = getelementptr inbounds i8, ptr %1, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = invoke noundef zeroext i1 @_Z9check_extPKcS0_(ptr noundef %26, ptr noundef nonnull @.str.2)
          to label %28 unwind label %33

28:                                               ; preds = %24
  br i1 %27, label %40, label %29

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #8
  %30 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 256, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, i32 noundef 18) #8
  %31 = tail call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull %3)
          to label %32 unwind label %35

32:                                               ; preds = %29
  invoke void @__cxa_throw(ptr nonnull %31, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %244 unwind label %37

33:                                               ; preds = %24
  %34 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  br label %231

35:                                               ; preds = %29
  %36 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  call void @__cxa_free_exception(ptr %31) #8
  br label %39

37:                                               ; preds = %32
  %38 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  br label %39

39:                                               ; preds = %37, %35
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #8
  br label %231

40:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 608, ptr nonnull %4) #8
  %41 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN7ArcflowC1EPKc(ptr noundef nonnull align 8 dereferenceable(604) %4, ptr noundef %41)
          to label %42 unwind label %49

42:                                               ; preds = %40
  %43 = getelementptr inbounds i8, ptr %1, i64 16
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = call noalias ptr @fopen(ptr noundef %44, ptr noundef nonnull @.str.6)
  %cond = icmp eq ptr %45, null
  br i1 %cond, label %46, label %57

46:                                               ; preds = %42
  call void @perror(ptr noundef nonnull @.str.7) #10
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #8
  %47 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %5, i64 noundef 256, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5, i32 noundef 26) #8
  %48 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull %5)
          to label %51 unwind label %52

49:                                               ; preds = %40
  %50 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  br label %230

51:                                               ; preds = %46
  invoke void @__cxa_throw(ptr nonnull %48, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %244 unwind label %54

52:                                               ; preds = %46
  %53 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  call void @__cxa_free_exception(ptr %48) #8
  br label %56

54:                                               ; preds = %51
  %55 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  br label %56

56:                                               ; preds = %54, %52
  %.pn122 = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #8
  br label %229

57:                                               ; preds = %42
  %58 = getelementptr inbounds i8, ptr %1, i64 24
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = call noalias ptr @fopen(ptr noundef %59, ptr noundef nonnull @.str.6)
  %.not124 = icmp eq ptr %60, null
  br i1 %.not124, label %61, label %70

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #8
  %62 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %6, i64 noundef 256, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.5, i32 noundef 32) #8
  %63 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %63, ptr noundef nonnull %6)
          to label %64 unwind label %65

64:                                               ; preds = %61
  invoke void @__cxa_throw(ptr nonnull %63, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %244 unwind label %67

65:                                               ; preds = %61
  %66 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  call void @__cxa_free_exception(ptr %63) #8
  br label %69

67:                                               ; preds = %64
  %68 = landingpad { ptr, i32 }
          catch ptr @_ZTISt13runtime_error
          catch ptr null
  br label %69

69:                                               ; preds = %67, %65
  %.pn125 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #8
  br label %229

70:                                               ; preds = %57
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %45, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.11) #8
  %73 = call i32 @fclose(ptr noundef nonnull %45)
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %60, ptr noundef nonnull @.str.14) #8
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %60, ptr noundef nonnull @.str.15) #8
  %77 = getelementptr inbounds i8, ptr %4, i64 552
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %78 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  store ptr %78, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %79 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  store ptr %79, ptr %8, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br i1 %80, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.18) #8
  %83 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  %.not165 = icmp eq i64 %83, 0
  br i1 %.not165, label %._crit_edge133, label %.lr.ph132

.lr.ph132:                                        ; preds = %._crit_edge
  %84 = getelementptr inbounds i8, ptr %4, i64 384
  br label %94

.lr.ph:                                           ; preds = %70, %.lr.ph
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.16, i32 noundef %86) #8
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %89 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br i1 %89, label %.lr.ph, label %._crit_edge

._crit_edge133:                                   ; preds = %94, %._crit_edge
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.20) #8
  %92 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  %.not166 = icmp eq i64 %92, 0
  br i1 %.not166, label %._crit_edge137, label %.lr.ph136

.lr.ph136:                                        ; preds = %._crit_edge133
  %93 = getelementptr inbounds i8, ptr %4, i64 408
  br label %108

94:                                               ; preds = %.lr.ph132, %94
  %.0114130 = phi i64 [ 0, %.lr.ph132 ], [ %100, %94 ]
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %.0114130) #8
  %96 = load i32, ptr %95, align 4, !tbaa !9
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %.0114130) #8
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.19, i32 noundef %96, i32 noundef %98) #8
  %100 = add nuw i64 %.0114130, 1
  %101 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  %102 = icmp ult i64 %100, %101
  br i1 %102, label %94, label %._crit_edge133, !llvm.loop !11

._crit_edge137:                                   ; preds = %108, %._crit_edge133
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.21) #8
  %105 = getelementptr inbounds i8, ptr %4, i64 348
  %106 = load i32, ptr %105, align 4, !tbaa !13
  %107 = icmp sgt i32 %106, 0
  br i1 %107, label %.lr.ph140, label %._crit_edge141

108:                                              ; preds = %.lr.ph136, %108
  %.0115134 = phi i64 [ 0, %.lr.ph136 ], [ %114, %108 ]
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %.0115134) #8
  %110 = load i32, ptr %109, align 4, !tbaa !9
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %.0115134) #8
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.19, i32 noundef %110, i32 noundef %112) #8
  %114 = add nuw i64 %.0115134, 1
  %115 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  %116 = icmp ult i64 %114, %115
  br i1 %116, label %108, label %._crit_edge137, !llvm.loop !32

._crit_edge141:                                   ; preds = %.lr.ph140, %._crit_edge137
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.22) #8
  %119 = load i32, ptr %105, align 4, !tbaa !13
  %120 = icmp sgt i32 %119, 0
  br i1 %120, label %.lr.ph144, label %._crit_edge145

.lr.ph144:                                        ; preds = %._crit_edge141
  %121 = getelementptr inbounds i8, ptr %4, i64 512
  br label %133

.lr.ph140:                                        ; preds = %._crit_edge137, %.lr.ph140
  %.0116138 = phi i32 [ %122, %.lr.ph140 ], [ 0, %._crit_edge137 ]
  %122 = add nuw nsw i32 %.0116138, 1
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.16, i32 noundef %122) #8
  %124 = load i32, ptr %105, align 4, !tbaa !13
  %125 = icmp slt i32 %122, %124
  br i1 %125, label %.lr.ph140, label %._crit_edge141, !llvm.loop !33

._crit_edge145:                                   ; preds = %133, %._crit_edge141
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %127 = getelementptr inbounds i8, ptr %4, i64 461
  %128 = load i8, ptr %127, align 1, !tbaa !34, !range !35, !noundef !36
  %129 = zext nneg i8 %128 to i32
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.23, i32 noundef %129) #8
  %131 = load i8, ptr %127, align 1, !tbaa !34, !range !35, !noundef !36
  %132 = trunc nuw i8 %131 to i1
  br i1 %132, label %156, label %141

133:                                              ; preds = %.lr.ph144, %133
  %indvars.iv = phi i64 [ 0, %.lr.ph144 ], [ %indvars.iv.next, %133 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %indvars.iv) #8
  %135 = load i32, ptr %134, align 4, !tbaa !9
  %136 = trunc nuw nsw i64 %indvars.iv.next to i32
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.19, i32 noundef %136, i32 noundef %135) #8
  %138 = load i32, ptr %105, align 4, !tbaa !13
  %139 = sext i32 %138 to i64
  %140 = icmp slt i64 %indvars.iv.next, %139
  br i1 %140, label %133, label %._crit_edge145, !llvm.loop !37

141:                                              ; preds = %._crit_edge145
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.24) #8
  %143 = getelementptr inbounds i8, ptr %4, i64 432
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %144 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #8
  store ptr %144, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %145 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #8
  store ptr %145, ptr %10, align 8
  %146 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br i1 %146, label %.lr.ph147, label %._crit_edge148

._crit_edge148:                                   ; preds = %.lr.ph147, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  br label %156

.lr.ph147:                                        ; preds = %141, %.lr.ph147
  %148 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %149 = getelementptr inbounds i8, ptr %148, i64 48
  %150 = load i32, ptr %149, align 8, !tbaa !38
  %151 = getelementptr inbounds i8, ptr %148, i64 64
  %152 = load i32, ptr %151, align 8, !tbaa !40
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.19, i32 noundef %150, i32 noundef %152) #8
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %155 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br i1 %155, label %.lr.ph147, label %._crit_edge148

156:                                              ; preds = %._crit_edge148, %._crit_edge145
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.25) #8
  %158 = getelementptr inbounds i8, ptr %4, i64 432
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %159 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  store ptr %159, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %160 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  store ptr %160, ptr %12, align 8
  %161 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br i1 %161, label %.lr.ph150, label %._crit_edge151

._crit_edge151:                                   ; preds = %.lr.ph150, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %164 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  store ptr %164, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %165 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  store ptr %165, ptr %14, align 8
  %166 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br i1 %166, label %.lr.ph153, label %._crit_edge154

.lr.ph150:                                        ; preds = %156, %.lr.ph150
  %167 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %168 = getelementptr inbounds i8, ptr %167, i64 48
  %169 = load i32, ptr %168, align 8, !tbaa !38
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.16, i32 noundef %169) #8
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %172 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br i1 %172, label %.lr.ph150, label %._crit_edge151

._crit_edge154:                                   ; preds = %.lr.ph153, %._crit_edge151
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %175 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  store ptr %175, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %176 = call ptr @_ZNSt6vectorI4ItemSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  store ptr %176, ptr %16, align 8
  %177 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %177, label %.lr.ph156, label %._crit_edge157

.lr.ph153:                                        ; preds = %._crit_edge151, %.lr.ph153
  %178 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %179 = getelementptr inbounds i8, ptr %178, i64 48
  %180 = load i32, ptr %179, align 8, !tbaa !38
  %181 = getelementptr inbounds i8, ptr %178, i64 52
  %182 = load i32, ptr %181, align 4, !tbaa !41
  %183 = add nsw i32 %182, 1
  %184 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.19, i32 noundef %180, i32 noundef %183) #8
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %186 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br i1 %186, label %.lr.ph153, label %._crit_edge154

._crit_edge157:                                   ; preds = %.lr.ph156, %._crit_edge154
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  %187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %188 = getelementptr inbounds i8, ptr %4, i64 544
  %189 = load i32, ptr %188, align 8, !tbaa !42
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.28, i32 noundef %189) #8
  %191 = getelementptr inbounds i8, ptr %4, i64 600
  %192 = load i32, ptr %191, align 8, !tbaa !63
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.29, i32 noundef %192) #8
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.30) #8
  %195 = getelementptr inbounds i8, ptr %4, i64 536
  %196 = load i32, ptr %195, align 8, !tbaa !64
  %197 = icmp sgt i32 %196, 0
  br i1 %197, label %.lr.ph160, label %._crit_edge161

.lr.ph156:                                        ; preds = %._crit_edge154, %.lr.ph156
  %198 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %199 = getelementptr inbounds i8, ptr %198, i64 48
  %200 = load i32, ptr %199, align 8, !tbaa !38
  %201 = getelementptr inbounds i8, ptr %198, i64 56
  %202 = load i32, ptr %201, align 8, !tbaa !65
  %203 = add nsw i32 %202, 1
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.19, i32 noundef %200, i32 noundef %203) #8
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4ItemSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %206 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4ItemSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %206, label %.lr.ph156, label %._crit_edge157

._crit_edge161:                                   ; preds = %.lr.ph160, %._crit_edge157
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.31) #8
  %209 = getelementptr inbounds i8, ptr %4, i64 576
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %210 = call ptr @_ZNSt6vectorI3ArcSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %209) #8
  store ptr %210, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %211 = call ptr @_ZNSt6vectorI3ArcSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %209) #8
  store ptr %211, ptr %18, align 8
  %212 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP3ArcSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br i1 %212, label %.lr.ph163, label %._crit_edge164

.lr.ph160:                                        ; preds = %._crit_edge157, %.lr.ph160
  %.0113158 = phi i32 [ %214, %.lr.ph160 ], [ 0, %._crit_edge157 ]
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.16, i32 noundef %.0113158) #8
  %214 = add nuw nsw i32 %.0113158, 1
  %215 = load i32, ptr %195, align 8, !tbaa !64
  %216 = icmp slt i32 %214, %215
  br i1 %216, label %.lr.ph160, label %._crit_edge161, !llvm.loop !66

._crit_edge164:                                   ; preds = %.lr.ph163, %._crit_edge161
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.17) #8
  %218 = call i32 @fclose(ptr noundef %60)
  %219 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.33)
  call void @_ZN7ArcflowD2Ev(ptr noundef nonnull align 8 dereferenceable(604) %4) #8
  call void @llvm.lifetime.end.p0(i64 608, ptr nonnull %4) #8
  br label %243

.lr.ph163:                                        ; preds = %._crit_edge161, %.lr.ph163
  %220 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP3ArcSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %221 = load i32, ptr %220, align 4, !tbaa !67
  %222 = getelementptr inbounds i8, ptr %220, i64 4
  %223 = load i32, ptr %222, align 4, !tbaa !69
  %224 = getelementptr inbounds i8, ptr %220, i64 8
  %225 = load i32, ptr %224, align 4, !tbaa !70
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.32, i32 noundef %221, i32 noundef %223, i32 noundef %225) #8
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP3ArcSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %228 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP3ArcSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br i1 %228, label %.lr.ph163, label %._crit_edge164

229:                                              ; preds = %69, %56
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %69 ], [ %.pn122, %56 ]
  call void @_ZN7ArcflowD2Ev(ptr noundef nonnull align 8 dereferenceable(604) %4) #8
  br label %230

230:                                              ; preds = %229, %49
  %.pn125.pn.pn = phi { ptr, i32 } [ %.pn125.pn, %229 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 608, ptr nonnull %4) #8
  br label %231

231:                                              ; preds = %230, %39, %33
  %.pn125.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn, %230 ], [ %.pn, %39 ], [ %34, %33 ]
  %.5 = extractvalue { ptr, i32 } %.pn125.pn.pn.pn, 0
  %.5112 = extractvalue { ptr, i32 } %.pn125.pn.pn.pn, 1
  %232 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt13runtime_error) #8
  %233 = icmp eq i32 %.5112, %232
  %234 = call ptr @__cxa_begin_catch(ptr %.5) #8
  br i1 %233, label %235, label %241

235:                                              ; preds = %231
  %236 = load ptr, ptr %234, align 8, !tbaa !71
  %237 = getelementptr inbounds i8, ptr %236, i64 16
  %238 = load ptr, ptr %237, align 8
  %239 = call noundef ptr %238(ptr noundef nonnull align 8 dereferenceable(16) %234) #8
  %240 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef %239)
  call void @__cxa_end_catch()
  br label %243

241:                                              ; preds = %231
  %242 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34)
  call void @__cxa_end_catch()
  br label %243

243:                                              ; preds = %241, %235, %._crit_edge164, %22
  %.0 = phi i32 [ 1, %22 ], [ 0, %._crit_edge164 ], [ 1, %235 ], [ 1, %241 ]
  ret i32 %.0

244:                                              ; preds = %64, %51, %32
  unreachable
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @setvbuf(ptr nocapture noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_Z9check_extPKcS0_(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #2

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @_ZN7ArcflowC1EPKc(ptr noundef nonnull align 8 dereferenceable(604), ptr noundef) unnamed_addr #2

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #1

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 12}
!14 = !{!"_ZTS8Instance", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !15, i64 24, !19, i64 48, !19, i64 72, !23, i64 96, !10, i64 120, !27, i64 124, !27, i64 125, !7, i64 126, !28, i64 128, !19, i64 152, !19, i64 176}
!15 = !{!"_ZTSSt6vectorIS_IiSaIiEESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorI4ItemSaIS0_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseI4ItemSaIS0_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"bool", !7, i64 0}
!28 = !{!"_ZTSSt6vectorIcSaIcEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = distinct !{!32, !12}
!33 = distinct !{!33, !12}
!34 = !{!14, !27, i64 125}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = distinct !{!37, !12}
!38 = !{!39, !10, i64 48}
!39 = !{!"_ZTS4Item", !19, i64 0, !19, i64 24, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68}
!40 = !{!39, !10, i64 64}
!41 = !{!39, !10, i64 52}
!42 = !{!43, !10, i64 544}
!43 = !{!"_ZTS7Arcflow", !27, i64 0, !44, i64 8, !53, i64 56, !19, i64 128, !54, i64 152, !19, i64 200, !19, i64 224, !19, i64 248, !23, i64 272, !15, i64 296, !10, i64 320, !52, i64 328, !14, i64 336, !10, i64 536, !10, i64 540, !10, i64 544, !19, i64 552, !59, i64 576, !10, i64 600}
!44 = !{!"_ZTSSt3setI3ArcSt4lessIS0_ESaIS0_EE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeI3ArcS0_St9_IdentityIS0_ESt4lessIS0_ESaIS0_EE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeI3ArcS0_St9_IdentityIS0_ESt4lessIS0_ESaIS0_EE13_Rb_tree_implIS4_Lb1EEE", !47, i64 0, !49, i64 8}
!47 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessI3ArcEE", !48, i64 0}
!48 = !{!"_ZTSSt4lessI3ArcE"}
!49 = !{!"_ZTSSt15_Rb_tree_header", !50, i64 0, !52, i64 32}
!50 = !{!"_ZTSSt18_Rb_tree_node_base", !51, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!51 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!52 = !{!"long", !7, i64 0}
!53 = !{!"_ZTS7NodeSet", !54, i64 0, !15, i64 48}
!54 = !{!"_ZTSSt3mapISt6vectorIiSaIiEEiSt4lessIS2_ESaISt4pairIKS2_iEEE", !55, i64 0}
!55 = !{!"_ZTSSt8_Rb_treeISt6vectorIiSaIiEESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE", !56, i64 0}
!56 = !{!"_ZTSNSt8_Rb_treeISt6vectorIiSaIiEESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !57, i64 0, !49, i64 8}
!57 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt6vectorIiSaIiEEEE", !58, i64 0}
!58 = !{!"_ZTSSt4lessISt6vectorIiSaIiEEE"}
!59 = !{!"_ZTSSt6vectorI3ArcSaIS0_EE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseI3ArcSaIS0_EE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseI3ArcSaIS0_EE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseI3ArcSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!63 = !{!43, !10, i64 600}
!64 = !{!43, !10, i64 536}
!65 = !{!39, !10, i64 56}
!66 = distinct !{!66, !12}
!67 = !{!68, !10, i64 0}
!68 = !{!"_ZTS3Arc", !10, i64 0, !10, i64 4, !10, i64 8}
!69 = !{!68, !10, i64 4}
!70 = !{!68, !10, i64 8}
!71 = !{!72, !72, i64 0}
!72 = !{!"vtable pointer", !8, i64 0}


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