; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnflow (NetworkTransform)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%struct.WeibulParam = type { double, double, double, double, %"class.std::__cxx11::basic_string" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl" }
%"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = 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.NetworkTransform::Correlate" = type { i8 }
%"class.std::allocator.11" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Elem *, Elem *, std::_Identity<Elem *>, std::less<Elem *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Elem *, Elem *, std::_Identity<Elem *>, std::less<Elem *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.27" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%class.NetworkTransform = type { %"class.std::linear_congruential_engine", %"class.std::uniform_real_distribution", ptr }
%"class.std::linear_congruential_engine" = type { i64 }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<>::param_type" }
%"struct.std::uniform_real_distribution<>::param_type" = type { double, double }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTI4Elem = external constant ptr
@_ZTI4Pore = external constant ptr
@_ZTI6Throat = external constant ptr
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [67 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16NetworkTransform8getModifERSt6vectorIP4PoreSaIS2_EERS0_IP6ThroatSaIS7_EERK9InputFileRNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEERKS0_IP4ElemSaISM_EEm(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(122) %3, ptr noundef nonnull align 8 dereferenceable(120) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %6) #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca double, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %struct.WeibulParam, align 8
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca i8, align 1
  %31 = alloca %"class.std::vector.4", align 8
  %32 = alloca %"class.std::vector.9", align 8
  %33 = alloca i64, align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"class.NetworkTransform::Correlate", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::vector.9", align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca i32, align 4
  %42 = alloca i64, align 8
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca %"class.std::vector.9", align 8
  %47 = alloca i32, align 4
  %48 = alloca %"class.std::allocator.11", align 1
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i8, align 1
  %52 = alloca %"class.std::set", align 8
  %53 = alloca ptr, align 8
  %54 = alloca i32, align 4
  %55 = alloca ptr, align 8
  %56 = alloca %"struct.std::pair.27", align 8
  %57 = alloca i32, align 4
  %58 = alloca %"class.std::set", align 8
  %59 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %60 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca ptr, align 8
  %64 = alloca %"struct.std::pair.27", align 8
  %65 = alloca i64, align 8
  %66 = alloca ptr, align 8
  %67 = alloca ptr, align 8
  %68 = alloca i64, align 8
  %69 = alloca ptr, align 8
  %70 = alloca ptr, align 8
  %71 = alloca i32, align 4
  %72 = alloca ptr, align 8
  %73 = alloca i32, align 4
  %74 = alloca i32, align 4
  %75 = alloca ptr, align 8
  %76 = alloca double, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store i64 %6, ptr %14, align 8, !tbaa !9
  %77 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  store i8 0, ptr %15, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  store i8 0, ptr %16, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  store i8 1, ptr %17, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store double 1.000000e+00, ptr %18, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %78 unwind label %102

78:                                               ; preds = %7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #8
  invoke void @_ZN11WeibulParamC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23)
          to label %79 unwind label %106

79:                                               ; preds = %78
  %80 = getelementptr inbounds %struct.WeibulParam, ptr %23, i32 0, i32 4
  %81 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %80, ptr noundef @.str)
          to label %82 unwind label %110

82:                                               ; preds = %79
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  %85 = getelementptr i8, ptr %84, i64 -24
  %86 = load i64, ptr %85, align 8
  %87 = getelementptr inbounds i8, ptr %83, i64 %86
  %88 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %87)
          to label %89 unwind label %110

89:                                               ; preds = %82
  br i1 %88, label %90, label %388

90:                                               ; preds = %89
  %91 = load ptr, ptr %12, align 8, !tbaa !5
  %92 = load ptr, ptr %91, align 8, !tbaa !15
  %93 = getelementptr i8, ptr %92, i64 -24
  %94 = load i64, ptr %93, align 8
  %95 = getelementptr inbounds i8, ptr %91, i64 %94
  %96 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %95)
          to label %97 unwind label %110

97:                                               ; preds = %90
  br i1 %96, label %98, label %114

98:                                               ; preds = %97
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %99, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %101 unwind label %110

101:                                              ; preds = %98
  br label %114

102:                                              ; preds = %7
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %21, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %22, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  br label %1241

106:                                              ; preds = %78
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %21, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %22, align 4
  br label %1240

110:                                              ; preds = %383, %303, %285, %281, %270, %268, %262, %256, %252, %244, %187, %114, %98, %90, %82, %79
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %21, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %22, align 4
  br label %1239

114:                                              ; preds = %101, %97
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  %116 = load ptr, ptr %115, align 8, !tbaa !15
  %117 = getelementptr i8, ptr %116, i64 -24
  %118 = load i64, ptr %117, align 8
  %119 = getelementptr inbounds i8, ptr %115, i64 %118
  %120 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %119)
          to label %121 unwind label %110

121:                                              ; preds = %114
  br i1 %120, label %122, label %187

122:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  store i8 120, ptr %24, align 1, !tbaa !17
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %123, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %125 unwind label %182

125:                                              ; preds = %122
  %126 = load i8, ptr %24, align 1, !tbaa !17
  %127 = sext i8 %126 to i32
  %128 = icmp eq i32 %127, 84
  br i1 %128, label %141, label %129

129:                                              ; preds = %125
  %130 = load i8, ptr %24, align 1, !tbaa !17
  %131 = sext i8 %130 to i32
  %132 = icmp eq i32 %131, 116
  br i1 %132, label %141, label %133

133:                                              ; preds = %129
  %134 = load i8, ptr %24, align 1, !tbaa !17
  %135 = sext i8 %134 to i32
  %136 = icmp eq i32 %135, 86
  br i1 %136, label %141, label %137

137:                                              ; preds = %133
  %138 = load i8, ptr %24, align 1, !tbaa !17
  %139 = sext i8 %138 to i32
  %140 = icmp eq i32 %139, 118
  br label %141

141:                                              ; preds = %137, %133, %129, %125
  %142 = phi i1 [ true, %133 ], [ true, %129 ], [ true, %125 ], [ %140, %137 ]
  %143 = zext i1 %142 to i8
  store i8 %143, ptr %15, align 1, !tbaa !11
  %144 = load i8, ptr %24, align 1, !tbaa !17
  %145 = sext i8 %144 to i32
  %146 = icmp eq i32 %145, 84
  br i1 %146, label %186, label %147

147:                                              ; preds = %141
  %148 = load i8, ptr %24, align 1, !tbaa !17
  %149 = sext i8 %148 to i32
  %150 = icmp eq i32 %149, 116
  br i1 %150, label %186, label %151

151:                                              ; preds = %147
  %152 = load i8, ptr %24, align 1, !tbaa !17
  %153 = sext i8 %152 to i32
  %154 = icmp eq i32 %153, 86
  br i1 %154, label %186, label %155

155:                                              ; preds = %151
  %156 = load i8, ptr %24, align 1, !tbaa !17
  %157 = sext i8 %156 to i32
  %158 = icmp eq i32 %157, 118
  br i1 %158, label %186, label %159

159:                                              ; preds = %155
  %160 = load i8, ptr %24, align 1, !tbaa !17
  %161 = sext i8 %160 to i32
  %162 = icmp eq i32 %161, 70
  br i1 %162, label %186, label %163

163:                                              ; preds = %159
  %164 = load i8, ptr %24, align 1, !tbaa !17
  %165 = sext i8 %164 to i32
  %166 = icmp eq i32 %165, 102
  br i1 %166, label %186, label %167

167:                                              ; preds = %163
  %168 = load i8, ptr %24, align 1, !tbaa !17
  %169 = sext i8 %168 to i32
  %170 = icmp eq i32 %169, 78
  br i1 %170, label %186, label %171

171:                                              ; preds = %167
  %172 = load i8, ptr %24, align 1, !tbaa !17
  %173 = sext i8 %172 to i32
  %174 = icmp eq i32 %173, 110
  br i1 %174, label %186, label %175

175:                                              ; preds = %171
  %176 = getelementptr inbounds %class.NetworkTransform, ptr %77, i32 0, i32 2
  %177 = load ptr, ptr %176, align 8, !tbaa !18
  %178 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %177, ptr noundef @.str.1)
          to label %179 unwind label %182

179:                                              ; preds = %175
  %180 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %178, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %181 unwind label %182

181:                                              ; preds = %179
  call void @exit(i32 noundef -1) #9
  unreachable

182:                                              ; preds = %179, %175, %122
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %21, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  br label %1239

186:                                              ; preds = %171, %167, %163, %159, %155, %151, %147, %141
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  br label %187

187:                                              ; preds = %186, %121
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = load ptr, ptr %188, align 8, !tbaa !15
  %190 = getelementptr i8, ptr %189, i64 -24
  %191 = load i64, ptr %190, align 8
  %192 = getelementptr inbounds i8, ptr %188, i64 %191
  %193 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %192)
          to label %194 unwind label %110

194:                                              ; preds = %187
  br i1 %193, label %195, label %244

195:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  store i8 120, ptr %25, align 1, !tbaa !17
  %196 = load ptr, ptr %12, align 8, !tbaa !5
  %197 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %196, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %198 unwind label %239

198:                                              ; preds = %195
  %199 = load i8, ptr %25, align 1, !tbaa !17
  %200 = sext i8 %199 to i32
  %201 = icmp eq i32 %200, 84
  br i1 %201, label %206, label %202

202:                                              ; preds = %198
  %203 = load i8, ptr %25, align 1, !tbaa !17
  %204 = sext i8 %203 to i32
  %205 = icmp eq i32 %204, 116
  br label %206

206:                                              ; preds = %202, %198
  %207 = phi i1 [ true, %198 ], [ %205, %202 ]
  %208 = zext i1 %207 to i8
  store i8 %208, ptr %16, align 1, !tbaa !11
  %209 = load i8, ptr %25, align 1, !tbaa !17
  %210 = sext i8 %209 to i32
  %211 = icmp eq i32 %210, 84
  br i1 %211, label %243, label %212

212:                                              ; preds = %206
  %213 = load i8, ptr %25, align 1, !tbaa !17
  %214 = sext i8 %213 to i32
  %215 = icmp eq i32 %214, 116
  br i1 %215, label %243, label %216

216:                                              ; preds = %212
  %217 = load i8, ptr %25, align 1, !tbaa !17
  %218 = sext i8 %217 to i32
  %219 = icmp eq i32 %218, 70
  br i1 %219, label %243, label %220

220:                                              ; preds = %216
  %221 = load i8, ptr %25, align 1, !tbaa !17
  %222 = sext i8 %221 to i32
  %223 = icmp eq i32 %222, 102
  br i1 %223, label %243, label %224

224:                                              ; preds = %220
  %225 = load i8, ptr %25, align 1, !tbaa !17
  %226 = sext i8 %225 to i32
  %227 = icmp eq i32 %226, 79
  br i1 %227, label %243, label %228

228:                                              ; preds = %224
  %229 = load i8, ptr %25, align 1, !tbaa !17
  %230 = sext i8 %229 to i32
  %231 = icmp eq i32 %230, 111
  br i1 %231, label %243, label %232

232:                                              ; preds = %228
  %233 = getelementptr inbounds %class.NetworkTransform, ptr %77, i32 0, i32 2
  %234 = load ptr, ptr %233, align 8, !tbaa !18
  %235 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %234, ptr noundef @.str.2)
          to label %236 unwind label %239

236:                                              ; preds = %232
  %237 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %235, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %238 unwind label %239

238:                                              ; preds = %236
  call void @exit(i32 noundef -1) #9
  unreachable

239:                                              ; preds = %236, %232, %195
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %21, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %1239

243:                                              ; preds = %228, %224, %220, %216, %212, %206
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %244

244:                                              ; preds = %243, %194
  %245 = load ptr, ptr %12, align 8, !tbaa !5
  %246 = load ptr, ptr %245, align 8, !tbaa !15
  %247 = getelementptr i8, ptr %246, i64 -24
  %248 = load i64, ptr %247, align 8
  %249 = getelementptr inbounds i8, ptr %245, i64 %248
  %250 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %249)
          to label %251 unwind label %110

251:                                              ; preds = %244
  br i1 %250, label %252, label %256

252:                                              ; preds = %251
  %253 = load ptr, ptr %12, align 8, !tbaa !5
  %254 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %253, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %255 unwind label %110

255:                                              ; preds = %252
  br label %256

256:                                              ; preds = %255, %251
  %257 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %19, i64 noundef 1)
          to label %258 unwind label %110

258:                                              ; preds = %256
  %259 = load i8, ptr %257, align 1, !tbaa !17
  %260 = sext i8 %259 to i32
  %261 = icmp eq i32 %260, 111
  br i1 %261, label %268, label %262

262:                                              ; preds = %258
  %263 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %19, i64 noundef 1)
          to label %264 unwind label %110

264:                                              ; preds = %262
  %265 = load i8, ptr %263, align 1, !tbaa !17
  %266 = sext i8 %265 to i32
  %267 = icmp eq i32 %266, 79
  br i1 %267, label %268, label %383

268:                                              ; preds = %264, %258
  %269 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN11WeibulParam4readERSi(ptr noundef nonnull align 8 dereferenceable(64) %23, ptr noundef nonnull align 8 dereferenceable(16) %269)
          to label %270 unwind label %110

270:                                              ; preds = %268
  %271 = getelementptr inbounds %struct.WeibulParam, ptr %23, i32 0, i32 1
  %272 = load double, ptr %271, align 8, !tbaa !23
  %273 = fadd double %272, 0x3FEFFFFDE7210BE9
  store double %273, ptr %271, align 8, !tbaa !23
  %274 = load ptr, ptr %12, align 8, !tbaa !5
  %275 = load ptr, ptr %274, align 8, !tbaa !15
  %276 = getelementptr i8, ptr %275, i64 -24
  %277 = load i64, ptr %276, align 8
  %278 = getelementptr inbounds i8, ptr %274, i64 %277
  %279 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %278)
          to label %280 unwind label %110

280:                                              ; preds = %270
  br i1 %279, label %281, label %288

281:                                              ; preds = %280
  %282 = getelementptr inbounds %class.NetworkTransform, ptr %77, i32 0, i32 2
  %283 = load ptr, ptr %282, align 8, !tbaa !18
  %284 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %283, ptr noundef @.str.3)
          to label %285 unwind label %110

285:                                              ; preds = %281
  %286 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %284, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %287 unwind label %110

287:                                              ; preds = %285
  br label %288

288:                                              ; preds = %287, %280
  %289 = load ptr, ptr %11, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.WeibulParam, ptr %23, i32 0, i32 0
  %291 = load double, ptr %290, align 8, !tbaa !27
  %292 = fcmp ogt double %291, 1.000000e+00
  br i1 %292, label %293, label %299

293:                                              ; preds = %288
  %294 = getelementptr inbounds %struct.WeibulParam, ptr %23, i32 0, i32 1
  %295 = load double, ptr %294, align 8, !tbaa !23
  %296 = getelementptr inbounds %struct.WeibulParam, ptr %23, i32 0, i32 0
  %297 = load double, ptr %296, align 8, !tbaa !27
  %298 = fcmp oge double %295, %297
  br label %299

299:                                              ; preds = %293, %288
  %300 = phi i1 [ false, %288 ], [ %298, %293 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %301 unwind label %363

301:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %302 unwind label %367

302:                                              ; preds = %301
  invoke void @_ZNK9InputFile6AssertEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_b(ptr noundef nonnull align 8 dereferenceable(122) %289, i1 noundef zeroext %300, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %28, i1 noundef zeroext true)
          to label %303 unwind label %371

303:                                              ; preds = %302
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  %304 = load ptr, ptr %12, align 8, !tbaa !5
  %305 = load ptr, ptr %304, align 8, !tbaa !15
  %306 = getelementptr i8, ptr %305, i64 -24
  %307 = load i64, ptr %306, align 8
  %308 = getelementptr inbounds i8, ptr %304, i64 %307
  %309 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %308)
          to label %310 unwind label %110

310:                                              ; preds = %303
  br i1 %309, label %311, label %382

311:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  store i8 84, ptr %30, align 1, !tbaa !17
  %312 = load ptr, ptr %12, align 8, !tbaa !5
  %313 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %312, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %314 unwind label %377

314:                                              ; preds = %311
  %315 = load i8, ptr %30, align 1, !tbaa !17
  %316 = sext i8 %315 to i32
  %317 = icmp eq i32 %316, 89
  br i1 %317, label %330, label %318

318:                                              ; preds = %314
  %319 = load i8, ptr %30, align 1, !tbaa !17
  %320 = sext i8 %319 to i32
  %321 = icmp eq i32 %320, 121
  br i1 %321, label %330, label %322

322:                                              ; preds = %318
  %323 = load i8, ptr %30, align 1, !tbaa !17
  %324 = sext i8 %323 to i32
  %325 = icmp eq i32 %324, 84
  br i1 %325, label %330, label %326

326:                                              ; preds = %322
  %327 = load i8, ptr %30, align 1, !tbaa !17
  %328 = sext i8 %327 to i32
  %329 = icmp eq i32 %328, 116
  br label %330

330:                                              ; preds = %326, %322, %318, %314
  %331 = phi i1 [ true, %322 ], [ true, %318 ], [ true, %314 ], [ %329, %326 ]
  %332 = zext i1 %331 to i8
  store i8 %332, ptr %17, align 1, !tbaa !11
  %333 = load i8, ptr %30, align 1, !tbaa !17
  %334 = sext i8 %333 to i32
  %335 = icmp eq i32 %334, 84
  br i1 %335, label %381, label %336

336:                                              ; preds = %330
  %337 = load i8, ptr %30, align 1, !tbaa !17
  %338 = sext i8 %337 to i32
  %339 = icmp eq i32 %338, 116
  br i1 %339, label %381, label %340

340:                                              ; preds = %336
  %341 = load i8, ptr %30, align 1, !tbaa !17
  %342 = sext i8 %341 to i32
  %343 = icmp eq i32 %342, 70
  br i1 %343, label %381, label %344

344:                                              ; preds = %340
  %345 = load i8, ptr %30, align 1, !tbaa !17
  %346 = sext i8 %345 to i32
  %347 = icmp eq i32 %346, 102
  br i1 %347, label %381, label %348

348:                                              ; preds = %344
  %349 = load i8, ptr %30, align 1, !tbaa !17
  %350 = sext i8 %349 to i32
  %351 = icmp eq i32 %350, 79
  br i1 %351, label %381, label %352

352:                                              ; preds = %348
  %353 = load i8, ptr %30, align 1, !tbaa !17
  %354 = sext i8 %353 to i32
  %355 = icmp eq i32 %354, 111
  br i1 %355, label %381, label %356

356:                                              ; preds = %352
  %357 = getelementptr inbounds %class.NetworkTransform, ptr %77, i32 0, i32 2
  %358 = load ptr, ptr %357, align 8, !tbaa !18
  %359 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %358, ptr noundef @.str.2)
          to label %360 unwind label %377

360:                                              ; preds = %356
  %361 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %359, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %362 unwind label %377

362:                                              ; preds = %360
  call void @exit(i32 noundef -1) #9
  unreachable

363:                                              ; preds = %299
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %21, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %22, align 4
  br label %376

367:                                              ; preds = %301
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %21, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %22, align 4
  br label %375

371:                                              ; preds = %302
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %21, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %375

375:                                              ; preds = %371, %367
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  br label %376

376:                                              ; preds = %375, %363
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  br label %1239

377:                                              ; preds = %360, %356, %311
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %21, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  br label %1239

381:                                              ; preds = %352, %348, %344, %340, %336, %330
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  br label %382

382:                                              ; preds = %381, %310
  br label %387

383:                                              ; preds = %264
  %384 = getelementptr inbounds %struct.WeibulParam, ptr %23, i32 0, i32 4
  %385 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %384, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %386 unwind label %110

386:                                              ; preds = %383
  br label %387

387:                                              ; preds = %386, %382
  br label %388

388:                                              ; preds = %387, %89
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #8
  call void @_ZNSt6vectorIP4PoreSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %389 = load i64, ptr %14, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %389)
          to label %390 unwind label %396

390:                                              ; preds = %388
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store i64 0, ptr %33, align 8, !tbaa !9
  br label %391

391:                                              ; preds = %429, %390
  %392 = load i64, ptr %33, align 8, !tbaa !9
  %393 = load i64, ptr %14, align 8, !tbaa !9
  %394 = icmp ult i64 %392, %393
  br i1 %394, label %400, label %395

395:                                              ; preds = %391
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %432

396:                                              ; preds = %388
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %21, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %22, align 4
  br label %1238

400:                                              ; preds = %391
  %401 = load ptr, ptr %13, align 8, !tbaa !5
  %402 = load i64, ptr %33, align 8, !tbaa !9
  %403 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %401, i64 noundef %402) #8
  %404 = load ptr, ptr %403, align 8, !tbaa !5
  %405 = icmp eq ptr %404, null
  br i1 %405, label %408, label %406

406:                                              ; preds = %400
  %407 = call ptr @__dynamic_cast(ptr %404, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %409

408:                                              ; preds = %400
  br label %409

409:                                              ; preds = %408, %406
  %410 = phi ptr [ %407, %406 ], [ null, %408 ]
  %411 = icmp ne ptr %410, null
  br i1 %411, label %412, label %428

412:                                              ; preds = %409
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %413 = load ptr, ptr %13, align 8, !tbaa !5
  %414 = load i64, ptr %33, align 8, !tbaa !9
  %415 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %413, i64 noundef %414) #8
  %416 = load ptr, ptr %415, align 8, !tbaa !5
  %417 = icmp eq ptr %416, null
  br i1 %417, label %420, label %418

418:                                              ; preds = %412
  %419 = call ptr @__dynamic_cast(ptr %416, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %421

420:                                              ; preds = %412
  br label %421

421:                                              ; preds = %420, %418
  %422 = phi ptr [ %419, %418 ], [ null, %420 ]
  store ptr %422, ptr %34, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %423 unwind label %424

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

424:                                              ; preds = %421
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %21, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %1237

428:                                              ; preds = %423, %409
  br label %429

429:                                              ; preds = %428
  %430 = load i64, ptr %33, align 8, !tbaa !9
  %431 = add i64 %430, 1
  store i64 %431, ptr %33, align 8, !tbaa !9
  br label %391, !llvm.loop !28

432:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  %433 = getelementptr inbounds %struct.WeibulParam, ptr %23, i32 0, i32 4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %433)
          to label %434 unwind label %452

434:                                              ; preds = %432
  invoke void @_ZN16NetworkTransform9CorrelateI4PoreM4ElemKFdvEXadL_ZNKS2_3RRREvEEEclERSt6vectorIPS1_SaIS7_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS_(ptr noundef nonnull align 1 dereferenceable(1) %35, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef %36, ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %435 unwind label %456

435:                                              ; preds = %434
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #8
  %436 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  invoke void @_ZN16NetworkTransform9randfieldIiEESt6vectorIT_SaIS2_EEmR11WeibulParamRS_(ptr dead_on_unwind writable sret(%"class.std::vector.9") align 8 %37, ptr noundef nonnull align 8 dereferenceable(32) %77, i64 noundef %436, ptr noundef nonnull align 8 dereferenceable(64) %23, ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %437 unwind label %461

437:                                              ; preds = %435
  %438 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #8
  %439 = load ptr, ptr %9, align 8, !tbaa !5
  %440 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %439, i64 noundef %440)
          to label %441 unwind label %465

441:                                              ; preds = %437
  %442 = load ptr, ptr %10, align 8, !tbaa !5
  %443 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %444 = mul i64 %443, 3
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %442, i64 noundef %444)
          to label %445 unwind label %465

445:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  store double 0.000000e+00, ptr %38, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  store double 0.000000e+00, ptr %39, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  store double 0.000000e+00, ptr %40, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 0, ptr %41, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  store i64 1, ptr %42, align 8, !tbaa !9
  br label %446

446:                                              ; preds = %503, %445
  %447 = load i64, ptr %42, align 8, !tbaa !9
  %448 = load ptr, ptr %13, align 8, !tbaa !5
  %449 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %448) #8
  %450 = icmp ult i64 %447, %449
  br i1 %450, label %469, label %451

451:                                              ; preds = %446
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %506

452:                                              ; preds = %432
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %21, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %22, align 4
  br label %460

456:                                              ; preds = %434
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %21, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  br label %460

460:                                              ; preds = %456, %452
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  br label %1237

461:                                              ; preds = %435
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %21, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #8
  br label %1237

465:                                              ; preds = %441, %437
  %466 = landingpad { ptr, i32 }
          cleanup
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %21, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %22, align 4
  br label %1237

469:                                              ; preds = %446
  %470 = load i64, ptr %42, align 8, !tbaa !9
  %471 = load i64, ptr %14, align 8, !tbaa !9
  %472 = sub i64 %471, 1
  %473 = icmp ne i64 %470, %472
  br i1 %473, label %474, label %502

474:                                              ; preds = %469
  %475 = load i64, ptr %42, align 8, !tbaa !9
  %476 = load i64, ptr %14, align 8, !tbaa !9
  %477 = icmp ult i64 %475, %476
  br i1 %477, label %478, label %481

478:                                              ; preds = %474
  %479 = load i32, ptr %41, align 4, !tbaa !30
  %480 = add nsw i32 %479, 1
  store i32 %480, ptr %41, align 4, !tbaa !30
  br label %481

481:                                              ; preds = %478, %474
  %482 = load ptr, ptr %13, align 8, !tbaa !5
  %483 = load i64, ptr %42, align 8, !tbaa !9
  %484 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %482, i64 noundef %483) #8
  %485 = load ptr, ptr %484, align 8, !tbaa !5
  %486 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %485)
          to label %487 unwind label %498

487:                                              ; preds = %481
  %488 = load double, ptr %38, align 8, !tbaa !13
  %489 = fadd double %488, %486
  store double %489, ptr %38, align 8, !tbaa !13
  %490 = load ptr, ptr %13, align 8, !tbaa !5
  %491 = load i64, ptr %42, align 8, !tbaa !9
  %492 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %490, i64 noundef %491) #8
  %493 = load ptr, ptr %492, align 8, !tbaa !5
  %494 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %493)
          to label %495 unwind label %498

495:                                              ; preds = %487
  %496 = load double, ptr %39, align 8, !tbaa !13
  %497 = fadd double %496, %494
  store double %497, ptr %39, align 8, !tbaa !13
  br label %502

498:                                              ; preds = %487, %481
  %499 = landingpad { ptr, i32 }
          cleanup
  %500 = extractvalue { ptr, i32 } %499, 0
  store ptr %500, ptr %21, align 8
  %501 = extractvalue { ptr, i32 } %499, 1
  store i32 %501, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %1236

502:                                              ; preds = %495, %469
  br label %503

503:                                              ; preds = %502
  %504 = load i64, ptr %42, align 8, !tbaa !9
  %505 = add i64 %504, 1
  store i64 %505, ptr %42, align 8, !tbaa !9
  br label %446, !llvm.loop !32

506:                                              ; preds = %451
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %507 = load double, ptr %18, align 8, !tbaa !13
  store double %507, ptr %43, align 8, !tbaa !13
  %508 = load i8, ptr %16, align 1, !tbaa !11, !range !33, !noundef !34
  %509 = trunc i8 %508 to i1
  br i1 %509, label %510, label %523

510:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %511 = load double, ptr %18, align 8, !tbaa !13
  %512 = load double, ptr %39, align 8, !tbaa !13
  %513 = fmul double %511, %512
  %514 = load double, ptr %38, align 8, !tbaa !13
  %515 = fdiv double %513, %514
  store double %515, ptr %44, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  store double 1.000000e+00, ptr %45, align 8, !tbaa !13
  %516 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %517 unwind label %519

517:                                              ; preds = %510
  %518 = load double, ptr %516, align 8, !tbaa !13
  store double %518, ptr %43, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %523

519:                                              ; preds = %510
  %520 = landingpad { ptr, i32 }
          cleanup
  %521 = extractvalue { ptr, i32 } %520, 0
  store ptr %521, ptr %21, align 8
  %522 = extractvalue { ptr, i32 } %520, 1
  store i32 %522, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %1235

523:                                              ; preds = %517, %506
  %524 = load double, ptr %38, align 8, !tbaa !13
  %525 = load double, ptr %39, align 8, !tbaa !13
  %526 = fdiv double %524, %525
  %527 = fcmp ogt double %526, 0x3D719799812DEA11
  br i1 %527, label %528, label %1214

528:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #8
  %529 = load ptr, ptr %13, align 8, !tbaa !5
  %530 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %529) #8
  %531 = add i64 %530, 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  store i32 0, ptr %47, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %531, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %532 unwind label %602

532:                                              ; preds = %528
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  store i32 1, ptr %50, align 4, !tbaa !30
  %533 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %19, i64 noundef 1)
          to label %534 unwind label %606

534:                                              ; preds = %532
  %535 = load i8, ptr %533, align 1, !tbaa !17
  %536 = sext i8 %535 to i32
  %537 = icmp eq i32 %536, 111
  br i1 %537, label %544, label %538

538:                                              ; preds = %534
  %539 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %19, i64 noundef 1)
          to label %540 unwind label %606

540:                                              ; preds = %538
  %541 = load i8, ptr %539, align 1, !tbaa !17
  %542 = sext i8 %541 to i32
  %543 = icmp eq i32 %542, 79
  br i1 %543, label %544, label %1045

544:                                              ; preds = %540, %534
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #8
  store i8 1, ptr %51, align 1, !tbaa !11
  %545 = load i8, ptr %17, align 1, !tbaa !11, !range !33, !noundef !34
  %546 = trunc i8 %545 to i1
  br i1 %546, label %547, label %549

547:                                              ; preds = %544
  %548 = load double, ptr %43, align 8, !tbaa !13
  br label %552

549:                                              ; preds = %544
  %550 = load double, ptr %43, align 8, !tbaa !13
  %551 = fsub double 1.000000e+00, %550
  br label %552

552:                                              ; preds = %549, %547
  %553 = phi double [ %548, %547 ], [ %551, %549 ]
  store double %553, ptr %43, align 8, !tbaa !13
  br label %554

554:                                              ; preds = %794, %552
  %555 = load i8, ptr %51, align 1, !tbaa !11, !range !33, !noundef !34
  %556 = trunc i8 %555 to i1
  br i1 %556, label %557, label %796

557:                                              ; preds = %554
  call void @llvm.lifetime.start.p0(i64 48, ptr %52) #8
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %558 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4PoreSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %559 = load ptr, ptr %558, align 8, !tbaa !5
  store ptr %559, ptr %53, align 8, !tbaa !5
  call void @_ZNSt6vectorIP4PoreSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #8
  %560 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %561 = load i32, ptr %560, align 4, !tbaa !30
  store i32 %561, ptr %54, align 4, !tbaa !30
  call void @_ZNSt6vectorIiSaIiEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %562 = load ptr, ptr %53, align 8, !tbaa !5
  %563 = load ptr, ptr %562, align 8, !tbaa !15
  %564 = getelementptr inbounds ptr, ptr %563, i64 12
  %565 = load ptr, ptr %564, align 8
  %566 = invoke noundef i32 %565(ptr noundef nonnull align 8 dereferenceable(408) %562)
          to label %567 unwind label %610

567:                                              ; preds = %557
  %568 = sext i32 %566 to i64
  %569 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %568) #8
  %570 = load i32, ptr %569, align 4, !tbaa !30
  %571 = icmp eq i32 %570, 0
  br i1 %571, label %572, label %794

572:                                              ; preds = %567
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %573 = load ptr, ptr %53, align 8, !tbaa !5
  store ptr %573, ptr %55, align 8, !tbaa !5
  %574 = invoke { ptr, i8 } @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %575 unwind label %614

575:                                              ; preds = %572
  %576 = getelementptr inbounds { ptr, i8 }, ptr %56, i32 0, i32 0
  %577 = extractvalue { ptr, i8 } %574, 0
  store ptr %577, ptr %576, align 8
  %578 = getelementptr inbounds { ptr, i8 }, ptr %56, i32 0, i32 1
  %579 = extractvalue { ptr, i8 } %574, 1
  store i8 %579, ptr %578, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #8
  store i32 0, ptr %57, align 4, !tbaa !30
  br label %580

580:                                              ; preds = %789, %575
  %581 = call noundef zeroext i1 @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  br i1 %581, label %589, label %582

582:                                              ; preds = %580
  %583 = load i8, ptr %51, align 1, !tbaa !11, !range !33, !noundef !34
  %584 = trunc i8 %583 to i1
  br i1 %584, label %585, label %589

585:                                              ; preds = %582
  %586 = load i32, ptr %57, align 4, !tbaa !30
  %587 = load i32, ptr %54, align 4, !tbaa !30
  %588 = icmp slt i32 %586, %587
  br label %589

589:                                              ; preds = %585, %582, %580
  %590 = phi i1 [ false, %582 ], [ false, %580 ], [ %588, %585 ]
  br i1 %590, label %591, label %791

591:                                              ; preds = %589
  call void @llvm.lifetime.start.p0(i64 48, ptr %58) #8
  invoke void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %58, ptr noundef nonnull align 8 dereferenceable(48) %52)
          to label %592 unwind label %618

592:                                              ; preds = %591
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  %593 = load i32, ptr %57, align 4, !tbaa !30
  %594 = add nsw i32 %593, 1
  store i32 %594, ptr %57, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  %595 = call ptr @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %58) #8
  %596 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %59, i32 0, i32 0
  store ptr %595, ptr %596, align 8
  br label %597

597:                                              ; preds = %785, %592
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #8
  %598 = call ptr @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %58) #8
  %599 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %60, i32 0, i32 0
  store ptr %598, ptr %599, align 8
  %600 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIP4ElemES4_(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  br i1 %600, label %622, label %601

601:                                              ; preds = %597
  store i32 12, ptr %61, align 4
  br label %787

602:                                              ; preds = %528
  %603 = landingpad { ptr, i32 }
          cleanup
  %604 = extractvalue { ptr, i32 } %603, 0
  store ptr %604, ptr %21, align 8
  %605 = extractvalue { ptr, i32 } %603, 1
  store i32 %605, ptr %22, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  br label %1213

606:                                              ; preds = %1209, %1207, %1205, %1202, %1200, %1198, %1193, %1191, %1189, %1184, %1180, %538, %532
  %607 = landingpad { ptr, i32 }
          cleanup
  %608 = extractvalue { ptr, i32 } %607, 0
  store ptr %608, ptr %21, align 8
  %609 = extractvalue { ptr, i32 } %607, 1
  store i32 %609, ptr %22, align 4
  br label %1212

610:                                              ; preds = %557
  %611 = landingpad { ptr, i32 }
          cleanup
  %612 = extractvalue { ptr, i32 } %611, 0
  store ptr %612, ptr %21, align 8
  %613 = extractvalue { ptr, i32 } %611, 1
  store i32 %613, ptr %22, align 4
  br label %795

614:                                              ; preds = %572
  %615 = landingpad { ptr, i32 }
          cleanup
  %616 = extractvalue { ptr, i32 } %615, 0
  store ptr %616, ptr %21, align 8
  %617 = extractvalue { ptr, i32 } %615, 1
  store i32 %617, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  br label %795

618:                                              ; preds = %591
  %619 = landingpad { ptr, i32 }
          cleanup
  %620 = extractvalue { ptr, i32 } %619, 0
  store ptr %620, ptr %21, align 8
  %621 = extractvalue { ptr, i32 } %619, 1
  store i32 %621, ptr %22, align 4
  br label %790

622:                                              ; preds = %597
  %623 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %624 = load ptr, ptr %623, align 8, !tbaa !5
  %625 = load ptr, ptr %624, align 8, !tbaa !15
  %626 = getelementptr inbounds ptr, ptr %625, i64 12
  %627 = load ptr, ptr %626, align 8
  %628 = invoke noundef i32 %627(ptr noundef nonnull align 8 dereferenceable(408) %624)
          to label %629 unwind label %672

629:                                              ; preds = %622
  %630 = sext i32 %628 to i64
  %631 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %630) #8
  %632 = load i32, ptr %631, align 4, !tbaa !30
  %633 = load i32, ptr %50, align 4, !tbaa !30
  %634 = icmp ne i32 %632, %633
  br i1 %634, label %635, label %784

635:                                              ; preds = %629
  %636 = load i8, ptr %51, align 1, !tbaa !11, !range !33, !noundef !34
  %637 = trunc i8 %636 to i1
  br i1 %637, label %638, label %784

638:                                              ; preds = %635
  %639 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %640 = load ptr, ptr %639, align 8, !tbaa !5
  %641 = load ptr, ptr %640, align 8, !tbaa !15
  %642 = getelementptr inbounds ptr, ptr %641, i64 12
  %643 = load ptr, ptr %642, align 8
  %644 = invoke noundef i32 %643(ptr noundef nonnull align 8 dereferenceable(408) %640)
          to label %645 unwind label %672

645:                                              ; preds = %638
  %646 = sext i32 %644 to i64
  %647 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %646) #8
  %648 = load i32, ptr %647, align 4, !tbaa !30
  %649 = icmp eq i32 %648, 0
  br i1 %649, label %650, label %707

650:                                              ; preds = %645
  %651 = load i32, ptr %50, align 4, !tbaa !30
  %652 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %653 = load ptr, ptr %652, align 8, !tbaa !5
  %654 = load ptr, ptr %653, align 8, !tbaa !15
  %655 = getelementptr inbounds ptr, ptr %654, i64 12
  %656 = load ptr, ptr %655, align 8
  %657 = invoke noundef i32 %656(ptr noundef nonnull align 8 dereferenceable(408) %653)
          to label %658 unwind label %672

658:                                              ; preds = %650
  %659 = sext i32 %657 to i64
  %660 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %659) #8
  store i32 %651, ptr %660, align 4, !tbaa !30
  %661 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %662 = load ptr, ptr %661, align 8, !tbaa !5
  %663 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %662)
          to label %664 unwind label %672

664:                                              ; preds = %658
  %665 = load double, ptr %40, align 8, !tbaa !13
  %666 = fadd double %665, %663
  store double %666, ptr %40, align 8, !tbaa !13
  %667 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %668 = load ptr, ptr %667, align 8, !tbaa !5
  %669 = icmp eq ptr %668, null
  br i1 %669, label %676, label %670

670:                                              ; preds = %664
  %671 = call ptr @__dynamic_cast(ptr %668, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %677

672:                                              ; preds = %658, %650, %638, %622
  %673 = landingpad { ptr, i32 }
          cleanup
  %674 = extractvalue { ptr, i32 } %673, 0
  store ptr %674, ptr %21, align 8
  %675 = extractvalue { ptr, i32 } %673, 1
  store i32 %675, ptr %22, align 4
  br label %788

676:                                              ; preds = %664
  br label %677

677:                                              ; preds = %676, %670
  %678 = phi ptr [ %671, %670 ], [ null, %676 ]
  %679 = icmp ne ptr %678, null
  br i1 %679, label %680, label %683

680:                                              ; preds = %677
  %681 = load i32, ptr %49, align 4, !tbaa !30
  %682 = add nsw i32 %681, 1
  store i32 %682, ptr %49, align 4, !tbaa !30
  br label %683

683:                                              ; preds = %680, %677
  %684 = load i8, ptr %15, align 1, !tbaa !11, !range !33, !noundef !34
  %685 = trunc i8 %684 to i1
  br i1 %685, label %686, label %692

686:                                              ; preds = %683
  %687 = load double, ptr %40, align 8, !tbaa !13
  %688 = load double, ptr %38, align 8, !tbaa !13
  %689 = fdiv double %687, %688
  %690 = load double, ptr %43, align 8, !tbaa !13
  %691 = fcmp olt double %689, %690
  br label %700

692:                                              ; preds = %683
  %693 = load i32, ptr %49, align 4, !tbaa !30
  %694 = sitofp i32 %693 to double
  %695 = load i32, ptr %41, align 4, !tbaa !30
  %696 = sitofp i32 %695 to double
  %697 = fdiv double %694, %696
  %698 = load double, ptr %43, align 8, !tbaa !13
  %699 = fcmp olt double %697, %698
  br label %700

700:                                              ; preds = %692, %686
  %701 = phi i1 [ %691, %686 ], [ %699, %692 ]
  %702 = zext i1 %701 to i8
  store i8 %702, ptr %51, align 1, !tbaa !11
  %703 = load i8, ptr %51, align 1, !tbaa !11, !range !33, !noundef !34
  %704 = trunc i8 %703 to i1
  br i1 %704, label %706, label %705

705:                                              ; preds = %700
  store i32 12, ptr %61, align 4
  br label %787

706:                                              ; preds = %700
  br label %707

707:                                              ; preds = %706, %645
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #8
  store i32 0, ptr %62, align 4, !tbaa !30
  br label %708

708:                                              ; preds = %779, %707
  %709 = load i32, ptr %62, align 4, !tbaa !30
  %710 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %711 = load ptr, ptr %710, align 8, !tbaa !5
  %712 = invoke noundef i32 @_ZNK4Elem6nCnctsEv(ptr noundef nonnull align 8 dereferenceable(408) %711)
          to label %713 unwind label %716

713:                                              ; preds = %708
  %714 = icmp slt i32 %709, %712
  br i1 %714, label %720, label %715

715:                                              ; preds = %713
  store i32 15, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  br label %783

716:                                              ; preds = %749, %736, %725, %720, %708
  %717 = landingpad { ptr, i32 }
          cleanup
  %718 = extractvalue { ptr, i32 } %717, 0
  store ptr %718, ptr %21, align 8
  %719 = extractvalue { ptr, i32 } %717, 1
  store i32 %719, ptr %22, align 4
  br label %782

720:                                              ; preds = %713
  %721 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %722 = load ptr, ptr %721, align 8, !tbaa !5
  %723 = load i32, ptr %62, align 4, !tbaa !30
  %724 = invoke noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %722, i32 noundef %723)
          to label %725 unwind label %716

725:                                              ; preds = %720
  %726 = load ptr, ptr %724, align 8, !tbaa !15
  %727 = getelementptr inbounds ptr, ptr %726, i64 12
  %728 = load ptr, ptr %727, align 8
  %729 = invoke noundef i32 %728(ptr noundef nonnull align 8 dereferenceable(408) %724)
          to label %730 unwind label %716

730:                                              ; preds = %725
  %731 = sext i32 %729 to i64
  %732 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %731) #8
  %733 = load i32, ptr %732, align 4, !tbaa !30
  %734 = load i32, ptr %50, align 4, !tbaa !30
  %735 = icmp ne i32 %733, %734
  br i1 %735, label %736, label %778

736:                                              ; preds = %730
  %737 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %738 = load ptr, ptr %737, align 8, !tbaa !5
  %739 = load i32, ptr %62, align 4, !tbaa !30
  %740 = invoke noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %738, i32 noundef %739)
          to label %741 unwind label %716

741:                                              ; preds = %736
  %742 = icmp eq ptr %740, null
  br i1 %742, label %745, label %743

743:                                              ; preds = %741
  %744 = call ptr @__dynamic_cast(ptr %740, ptr @_ZTI4Elem, ptr @_ZTI6Throat, i64 0) #8
  br label %746

745:                                              ; preds = %741
  br label %746

746:                                              ; preds = %745, %743
  %747 = phi ptr [ %744, %743 ], [ null, %745 ]
  %748 = icmp ne ptr %747, null
  br i1 %748, label %762, label %749

749:                                              ; preds = %746
  %750 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %751 = load ptr, ptr %750, align 8, !tbaa !5
  %752 = load i32, ptr %62, align 4, !tbaa !30
  %753 = invoke noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %751, i32 noundef %752)
          to label %754 unwind label %716

754:                                              ; preds = %749
  %755 = icmp eq ptr %753, null
  br i1 %755, label %758, label %756

756:                                              ; preds = %754
  %757 = call ptr @__dynamic_cast(ptr %753, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %759

758:                                              ; preds = %754
  br label %759

759:                                              ; preds = %758, %756
  %760 = phi ptr [ %757, %756 ], [ null, %758 ]
  %761 = icmp ne ptr %760, null
  br i1 %761, label %762, label %778

762:                                              ; preds = %759, %746
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #8
  %763 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %764 = load ptr, ptr %763, align 8, !tbaa !5
  %765 = load i32, ptr %62, align 4, !tbaa !30
  %766 = invoke noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %764, i32 noundef %765)
          to label %767 unwind label %774

767:                                              ; preds = %762
  store ptr %766, ptr %63, align 8, !tbaa !5
  %768 = invoke { ptr, i8 } @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef nonnull align 8 dereferenceable(8) %63)
          to label %769 unwind label %774

769:                                              ; preds = %767
  %770 = getelementptr inbounds { ptr, i8 }, ptr %64, i32 0, i32 0
  %771 = extractvalue { ptr, i8 } %768, 0
  store ptr %771, ptr %770, align 8
  %772 = getelementptr inbounds { ptr, i8 }, ptr %64, i32 0, i32 1
  %773 = extractvalue { ptr, i8 } %768, 1
  store i8 %773, ptr %772, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  br label %778

774:                                              ; preds = %767, %762
  %775 = landingpad { ptr, i32 }
          cleanup
  %776 = extractvalue { ptr, i32 } %775, 0
  store ptr %776, ptr %21, align 8
  %777 = extractvalue { ptr, i32 } %775, 1
  store i32 %777, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  br label %782

778:                                              ; preds = %769, %759, %730
  br label %779

779:                                              ; preds = %778
  %780 = load i32, ptr %62, align 4, !tbaa !30
  %781 = add nsw i32 %780, 1
  store i32 %781, ptr %62, align 4, !tbaa !30
  br label %708, !llvm.loop !35

782:                                              ; preds = %774, %716
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  br label %788

783:                                              ; preds = %715
  br label %784

784:                                              ; preds = %783, %635, %629
  br label %785

785:                                              ; preds = %784
  %786 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIP4ElemEppEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  br label %597, !llvm.loop !36

787:                                              ; preds = %705, %601
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  br label %789

788:                                              ; preds = %782, %672
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #8
  br label %790

789:                                              ; preds = %787
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %58) #8
  br label %580, !llvm.loop !37

790:                                              ; preds = %788, %618
  call void @llvm.lifetime.end.p0(i64 48, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  br label %795

791:                                              ; preds = %589
  %792 = load i32, ptr %50, align 4, !tbaa !30
  %793 = add nsw i32 %792, 1
  store i32 %793, ptr %50, align 4, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  br label %794

794:                                              ; preds = %791, %567
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %52) #8
  br label %554, !llvm.loop !38

795:                                              ; preds = %790, %614, %610
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %52) #8
  br label %1044

796:                                              ; preds = %554
  store i32 0, ptr %49, align 4, !tbaa !30
  store double 0.000000e+00, ptr %40, align 8, !tbaa !13
  %797 = load i8, ptr %17, align 1, !tbaa !11, !range !33, !noundef !34
  %798 = trunc i8 %797 to i1
  br i1 %798, label %799, label %914

799:                                              ; preds = %796
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #8
  store i64 0, ptr %65, align 8, !tbaa !9
  br label %800

800:                                              ; preds = %909, %799
  %801 = load i64, ptr %65, align 8, !tbaa !9
  %802 = load ptr, ptr %13, align 8, !tbaa !5
  %803 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %802) #8
  %804 = icmp ult i64 %801, %803
  br i1 %804, label %806, label %805

805:                                              ; preds = %800
  store i32 18, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  br label %913

806:                                              ; preds = %800
  %807 = load ptr, ptr %13, align 8, !tbaa !5
  %808 = load i64, ptr %65, align 8, !tbaa !9
  %809 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %807, i64 noundef %808) #8
  %810 = load ptr, ptr %809, align 8, !tbaa !5
  %811 = load ptr, ptr %810, align 8, !tbaa !15
  %812 = getelementptr inbounds ptr, ptr %811, i64 12
  %813 = load ptr, ptr %812, align 8
  %814 = invoke noundef i32 %813(ptr noundef nonnull align 8 dereferenceable(408) %810)
          to label %815 unwind label %832

815:                                              ; preds = %806
  %816 = sext i32 %814 to i64
  %817 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %816) #8
  %818 = load i32, ptr %817, align 4, !tbaa !30
  %819 = icmp sgt i32 %818, 0
  br i1 %819, label %820, label %908

820:                                              ; preds = %815
  %821 = load i64, ptr %65, align 8, !tbaa !9
  %822 = load i64, ptr %14, align 8, !tbaa !9
  %823 = icmp ult i64 %821, %822
  br i1 %823, label %824, label %867

824:                                              ; preds = %820
  %825 = load ptr, ptr %13, align 8, !tbaa !5
  %826 = load i64, ptr %65, align 8, !tbaa !9
  %827 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %825, i64 noundef %826) #8
  %828 = load ptr, ptr %827, align 8, !tbaa !5
  %829 = icmp eq ptr %828, null
  br i1 %829, label %836, label %830

830:                                              ; preds = %824
  %831 = call ptr @__dynamic_cast(ptr %828, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %837

832:                                              ; preds = %879, %840, %806
  %833 = landingpad { ptr, i32 }
          cleanup
  %834 = extractvalue { ptr, i32 } %833, 0
  store ptr %834, ptr %21, align 8
  %835 = extractvalue { ptr, i32 } %833, 1
  store i32 %835, ptr %22, align 4
  br label %912

836:                                              ; preds = %824
  br label %837

837:                                              ; preds = %836, %830
  %838 = phi ptr [ %831, %830 ], [ null, %836 ]
  %839 = icmp ne ptr %838, null
  br i1 %839, label %840, label %867

840:                                              ; preds = %837
  %841 = load i32, ptr %49, align 4, !tbaa !30
  %842 = add nsw i32 %841, 1
  store i32 %842, ptr %49, align 4, !tbaa !30
  %843 = load ptr, ptr %13, align 8, !tbaa !5
  %844 = load i64, ptr %65, align 8, !tbaa !9
  %845 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %843, i64 noundef %844) #8
  %846 = load ptr, ptr %845, align 8, !tbaa !5
  %847 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %846)
          to label %848 unwind label %832

848:                                              ; preds = %840
  %849 = load double, ptr %40, align 8, !tbaa !13
  %850 = fadd double %849, %847
  store double %850, ptr %40, align 8, !tbaa !13
  %851 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  %852 = load ptr, ptr %13, align 8, !tbaa !5
  %853 = load i64, ptr %65, align 8, !tbaa !9
  %854 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %852, i64 noundef %853) #8
  %855 = load ptr, ptr %854, align 8, !tbaa !5
  %856 = icmp eq ptr %855, null
  br i1 %856, label %859, label %857

857:                                              ; preds = %848
  %858 = call ptr @__dynamic_cast(ptr %855, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %860

859:                                              ; preds = %848
  br label %860

860:                                              ; preds = %859, %857
  %861 = phi ptr [ %858, %857 ], [ null, %859 ]
  store ptr %861, ptr %66, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %851, ptr noundef nonnull align 8 dereferenceable(8) %66)
          to label %862 unwind label %863

862:                                              ; preds = %860
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %907

863:                                              ; preds = %860
  %864 = landingpad { ptr, i32 }
          cleanup
  %865 = extractvalue { ptr, i32 } %864, 0
  store ptr %865, ptr %21, align 8
  %866 = extractvalue { ptr, i32 } %864, 1
  store i32 %866, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %912

867:                                              ; preds = %837, %820
  %868 = load ptr, ptr %13, align 8, !tbaa !5
  %869 = load i64, ptr %65, align 8, !tbaa !9
  %870 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %868, i64 noundef %869) #8
  %871 = load ptr, ptr %870, align 8, !tbaa !5
  %872 = icmp eq ptr %871, null
  br i1 %872, label %875, label %873

873:                                              ; preds = %867
  %874 = call ptr @__dynamic_cast(ptr %871, ptr @_ZTI4Elem, ptr @_ZTI6Throat, i64 0) #8
  br label %876

875:                                              ; preds = %867
  br label %876

876:                                              ; preds = %875, %873
  %877 = phi ptr [ %874, %873 ], [ null, %875 ]
  %878 = icmp ne ptr %877, null
  br i1 %878, label %879, label %906

879:                                              ; preds = %876
  %880 = load i32, ptr %49, align 4, !tbaa !30
  %881 = add nsw i32 %880, 1
  store i32 %881, ptr %49, align 4, !tbaa !30
  %882 = load ptr, ptr %13, align 8, !tbaa !5
  %883 = load i64, ptr %65, align 8, !tbaa !9
  %884 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %882, i64 noundef %883) #8
  %885 = load ptr, ptr %884, align 8, !tbaa !5
  %886 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %885)
          to label %887 unwind label %832

887:                                              ; preds = %879
  %888 = load double, ptr %40, align 8, !tbaa !13
  %889 = fadd double %888, %886
  store double %889, ptr %40, align 8, !tbaa !13
  %890 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #8
  %891 = load ptr, ptr %13, align 8, !tbaa !5
  %892 = load i64, ptr %65, align 8, !tbaa !9
  %893 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %891, i64 noundef %892) #8
  %894 = load ptr, ptr %893, align 8, !tbaa !5
  %895 = icmp eq ptr %894, null
  br i1 %895, label %898, label %896

896:                                              ; preds = %887
  %897 = call ptr @__dynamic_cast(ptr %894, ptr @_ZTI4Elem, ptr @_ZTI6Throat, i64 0) #8
  br label %899

898:                                              ; preds = %887
  br label %899

899:                                              ; preds = %898, %896
  %900 = phi ptr [ %897, %896 ], [ null, %898 ]
  store ptr %900, ptr %67, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %890, ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %901 unwind label %902

901:                                              ; preds = %899
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  br label %906

902:                                              ; preds = %899
  %903 = landingpad { ptr, i32 }
          cleanup
  %904 = extractvalue { ptr, i32 } %903, 0
  store ptr %904, ptr %21, align 8
  %905 = extractvalue { ptr, i32 } %903, 1
  store i32 %905, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  br label %912

906:                                              ; preds = %901, %876
  br label %907

907:                                              ; preds = %906, %862
  br label %908

908:                                              ; preds = %907, %815
  br label %909

909:                                              ; preds = %908
  %910 = load i64, ptr %65, align 8, !tbaa !9
  %911 = add i64 %910, 1
  store i64 %911, ptr %65, align 8, !tbaa !9
  br label %800, !llvm.loop !39

912:                                              ; preds = %902, %863, %832
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  br label %1044

913:                                              ; preds = %805
  br label %1029

914:                                              ; preds = %796
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #8
  store i64 0, ptr %68, align 8, !tbaa !9
  br label %915

915:                                              ; preds = %1024, %914
  %916 = load i64, ptr %68, align 8, !tbaa !9
  %917 = load ptr, ptr %13, align 8, !tbaa !5
  %918 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %917) #8
  %919 = icmp ult i64 %916, %918
  br i1 %919, label %921, label %920

920:                                              ; preds = %915
  store i32 21, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #8
  br label %1028

921:                                              ; preds = %915
  %922 = load ptr, ptr %13, align 8, !tbaa !5
  %923 = load i64, ptr %68, align 8, !tbaa !9
  %924 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %922, i64 noundef %923) #8
  %925 = load ptr, ptr %924, align 8, !tbaa !5
  %926 = load ptr, ptr %925, align 8, !tbaa !15
  %927 = getelementptr inbounds ptr, ptr %926, i64 12
  %928 = load ptr, ptr %927, align 8
  %929 = invoke noundef i32 %928(ptr noundef nonnull align 8 dereferenceable(408) %925)
          to label %930 unwind label %947

930:                                              ; preds = %921
  %931 = sext i32 %929 to i64
  %932 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %931) #8
  %933 = load i32, ptr %932, align 4, !tbaa !30
  %934 = icmp eq i32 %933, 0
  br i1 %934, label %935, label %1023

935:                                              ; preds = %930
  %936 = load i64, ptr %68, align 8, !tbaa !9
  %937 = load i64, ptr %14, align 8, !tbaa !9
  %938 = icmp ult i64 %936, %937
  br i1 %938, label %939, label %982

939:                                              ; preds = %935
  %940 = load ptr, ptr %13, align 8, !tbaa !5
  %941 = load i64, ptr %68, align 8, !tbaa !9
  %942 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %940, i64 noundef %941) #8
  %943 = load ptr, ptr %942, align 8, !tbaa !5
  %944 = icmp eq ptr %943, null
  br i1 %944, label %951, label %945

945:                                              ; preds = %939
  %946 = call ptr @__dynamic_cast(ptr %943, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %952

947:                                              ; preds = %994, %955, %921
  %948 = landingpad { ptr, i32 }
          cleanup
  %949 = extractvalue { ptr, i32 } %948, 0
  store ptr %949, ptr %21, align 8
  %950 = extractvalue { ptr, i32 } %948, 1
  store i32 %950, ptr %22, align 4
  br label %1027

951:                                              ; preds = %939
  br label %952

952:                                              ; preds = %951, %945
  %953 = phi ptr [ %946, %945 ], [ null, %951 ]
  %954 = icmp ne ptr %953, null
  br i1 %954, label %955, label %982

955:                                              ; preds = %952
  %956 = load i32, ptr %49, align 4, !tbaa !30
  %957 = add nsw i32 %956, 1
  store i32 %957, ptr %49, align 4, !tbaa !30
  %958 = load ptr, ptr %13, align 8, !tbaa !5
  %959 = load i64, ptr %68, align 8, !tbaa !9
  %960 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %958, i64 noundef %959) #8
  %961 = load ptr, ptr %960, align 8, !tbaa !5
  %962 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %961)
          to label %963 unwind label %947

963:                                              ; preds = %955
  %964 = load double, ptr %40, align 8, !tbaa !13
  %965 = fadd double %964, %962
  store double %965, ptr %40, align 8, !tbaa !13
  %966 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #8
  %967 = load ptr, ptr %13, align 8, !tbaa !5
  %968 = load i64, ptr %68, align 8, !tbaa !9
  %969 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %967, i64 noundef %968) #8
  %970 = load ptr, ptr %969, align 8, !tbaa !5
  %971 = icmp eq ptr %970, null
  br i1 %971, label %974, label %972

972:                                              ; preds = %963
  %973 = call ptr @__dynamic_cast(ptr %970, ptr @_ZTI4Elem, ptr @_ZTI4Pore, i64 0) #8
  br label %975

974:                                              ; preds = %963
  br label %975

975:                                              ; preds = %974, %972
  %976 = phi ptr [ %973, %972 ], [ null, %974 ]
  store ptr %976, ptr %69, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %966, ptr noundef nonnull align 8 dereferenceable(8) %69)
          to label %977 unwind label %978

977:                                              ; preds = %975
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  br label %1022

978:                                              ; preds = %975
  %979 = landingpad { ptr, i32 }
          cleanup
  %980 = extractvalue { ptr, i32 } %979, 0
  store ptr %980, ptr %21, align 8
  %981 = extractvalue { ptr, i32 } %979, 1
  store i32 %981, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  br label %1027

982:                                              ; preds = %952, %935
  %983 = load ptr, ptr %13, align 8, !tbaa !5
  %984 = load i64, ptr %68, align 8, !tbaa !9
  %985 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %983, i64 noundef %984) #8
  %986 = load ptr, ptr %985, align 8, !tbaa !5
  %987 = icmp eq ptr %986, null
  br i1 %987, label %990, label %988

988:                                              ; preds = %982
  %989 = call ptr @__dynamic_cast(ptr %986, ptr @_ZTI4Elem, ptr @_ZTI6Throat, i64 0) #8
  br label %991

990:                                              ; preds = %982
  br label %991

991:                                              ; preds = %990, %988
  %992 = phi ptr [ %989, %988 ], [ null, %990 ]
  %993 = icmp ne ptr %992, null
  br i1 %993, label %994, label %1021

994:                                              ; preds = %991
  %995 = load i32, ptr %49, align 4, !tbaa !30
  %996 = add nsw i32 %995, 1
  store i32 %996, ptr %49, align 4, !tbaa !30
  %997 = load ptr, ptr %13, align 8, !tbaa !5
  %998 = load i64, ptr %68, align 8, !tbaa !9
  %999 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %997, i64 noundef %998) #8
  %1000 = load ptr, ptr %999, align 8, !tbaa !5
  %1001 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %1000)
          to label %1002 unwind label %947

1002:                                             ; preds = %994
  %1003 = load double, ptr %40, align 8, !tbaa !13
  %1004 = fadd double %1003, %1001
  store double %1004, ptr %40, align 8, !tbaa !13
  %1005 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #8
  %1006 = load ptr, ptr %13, align 8, !tbaa !5
  %1007 = load i64, ptr %68, align 8, !tbaa !9
  %1008 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1006, i64 noundef %1007) #8
  %1009 = load ptr, ptr %1008, align 8, !tbaa !5
  %1010 = icmp eq ptr %1009, null
  br i1 %1010, label %1013, label %1011

1011:                                             ; preds = %1002
  %1012 = call ptr @__dynamic_cast(ptr %1009, ptr @_ZTI4Elem, ptr @_ZTI6Throat, i64 0) #8
  br label %1014

1013:                                             ; preds = %1002
  br label %1014

1014:                                             ; preds = %1013, %1011
  %1015 = phi ptr [ %1012, %1011 ], [ null, %1013 ]
  store ptr %1015, ptr %70, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %1005, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %1016 unwind label %1017

1016:                                             ; preds = %1014
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  br label %1021

1017:                                             ; preds = %1014
  %1018 = landingpad { ptr, i32 }
          cleanup
  %1019 = extractvalue { ptr, i32 } %1018, 0
  store ptr %1019, ptr %21, align 8
  %1020 = extractvalue { ptr, i32 } %1018, 1
  store i32 %1020, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  br label %1027

1021:                                             ; preds = %1016, %991
  br label %1022

1022:                                             ; preds = %1021, %977
  br label %1023

1023:                                             ; preds = %1022, %930
  br label %1024

1024:                                             ; preds = %1023
  %1025 = load i64, ptr %68, align 8, !tbaa !9
  %1026 = add i64 %1025, 1
  store i64 %1026, ptr %68, align 8, !tbaa !9
  br label %915, !llvm.loop !40

1027:                                             ; preds = %1017, %978, %947
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #8
  br label %1044

1028:                                             ; preds = %920
  br label %1029

1029:                                             ; preds = %1028, %913
  %1030 = getelementptr inbounds %class.NetworkTransform, ptr %77, i32 0, i32 2
  %1031 = load ptr, ptr %1030, align 8, !tbaa !18
  %1032 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1031, ptr noundef @.str.6)
          to label %1033 unwind label %1040

1033:                                             ; preds = %1029
  %1034 = load i32, ptr %50, align 4, !tbaa !30
  %1035 = sub nsw i32 %1034, 1
  %1036 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1032, i32 noundef %1035)
          to label %1037 unwind label %1040

1037:                                             ; preds = %1033
  %1038 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %1036, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1039 unwind label %1040

1039:                                             ; preds = %1037
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  br label %1180

1040:                                             ; preds = %1037, %1033, %1029
  %1041 = landingpad { ptr, i32 }
          cleanup
  %1042 = extractvalue { ptr, i32 } %1041, 0
  store ptr %1042, ptr %21, align 8
  %1043 = extractvalue { ptr, i32 } %1041, 1
  store i32 %1043, ptr %22, align 4
  br label %1044

1044:                                             ; preds = %1040, %1027, %912, %795
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  br label %1212

1045:                                             ; preds = %540
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #8
  %1046 = load double, ptr %18, align 8, !tbaa !13
  %1047 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %1048 = uitofp i64 %1047 to double
  %1049 = fmul double %1046, %1048
  %1050 = fptosi double %1049 to i32
  store i32 %1050, ptr %71, align 4, !tbaa !30
  br label %1051

1051:                                             ; preds = %1176, %1045
  %1052 = call noundef zeroext i1 @_ZNKSt6vectorIP4PoreSaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  br i1 %1052, label %1073, label %1053

1053:                                             ; preds = %1051
  %1054 = load i8, ptr %15, align 1, !tbaa !11, !range !33, !noundef !34
  %1055 = trunc i8 %1054 to i1
  br i1 %1055, label %1056, label %1062

1056:                                             ; preds = %1053
  %1057 = load double, ptr %40, align 8, !tbaa !13
  %1058 = load double, ptr %38, align 8, !tbaa !13
  %1059 = fdiv double %1057, %1058
  %1060 = load double, ptr %43, align 8, !tbaa !13
  %1061 = fcmp olt double %1059, %1060
  br i1 %1061, label %1071, label %1062

1062:                                             ; preds = %1056, %1053
  %1063 = load i8, ptr %15, align 1, !tbaa !11, !range !33, !noundef !34
  %1064 = trunc i8 %1063 to i1
  br i1 %1064, label %1069, label %1065

1065:                                             ; preds = %1062
  %1066 = load i32, ptr %49, align 4, !tbaa !30
  %1067 = load i32, ptr %71, align 4, !tbaa !30
  %1068 = icmp slt i32 %1066, %1067
  br label %1069

1069:                                             ; preds = %1065, %1062
  %1070 = phi i1 [ false, %1062 ], [ %1068, %1065 ]
  br label %1071

1071:                                             ; preds = %1069, %1056
  %1072 = phi i1 [ true, %1056 ], [ %1070, %1069 ]
  br label %1073

1073:                                             ; preds = %1071, %1051
  %1074 = phi i1 [ false, %1051 ], [ %1072, %1071 ]
  br i1 %1074, label %1075, label %1179

1075:                                             ; preds = %1073
  %1076 = load i32, ptr %49, align 4, !tbaa !30
  %1077 = add nsw i32 %1076, 1
  store i32 %1077, ptr %49, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #8
  %1078 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4PoreSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %1079 = load ptr, ptr %1078, align 8, !tbaa !5
  store ptr %1079, ptr %72, align 8, !tbaa !5
  call void @_ZNSt6vectorIP4PoreSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %1080 = load ptr, ptr %72, align 8, !tbaa !5
  %1081 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %1080)
          to label %1082 unwind label %1103

1082:                                             ; preds = %1075
  %1083 = load double, ptr %40, align 8, !tbaa !13
  %1084 = fadd double %1083, %1081
  store double %1084, ptr %40, align 8, !tbaa !13
  %1085 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %1085, ptr noundef nonnull align 8 dereferenceable(8) %72)
          to label %1086 unwind label %1103

1086:                                             ; preds = %1082
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #8
  %1087 = load ptr, ptr %72, align 8, !tbaa !5
  %1088 = load ptr, ptr %1087, align 8, !tbaa !15
  %1089 = getelementptr inbounds ptr, ptr %1088, i64 12
  %1090 = load ptr, ptr %1089, align 8
  %1091 = invoke noundef i32 %1090(ptr noundef nonnull align 8 dereferenceable(408) %1087)
          to label %1092 unwind label %1107

1092:                                             ; preds = %1086
  store i32 %1091, ptr %73, align 4, !tbaa !30
  %1093 = load i32, ptr %73, align 4, !tbaa !30
  %1094 = sext i32 %1093 to i64
  %1095 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %1094) #8
  store i32 1, ptr %1095, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #8
  store i32 0, ptr %74, align 4, !tbaa !30
  br label %1096

1096:                                             ; preds = %1171, %1092
  %1097 = load i32, ptr %74, align 4, !tbaa !30
  %1098 = load ptr, ptr %72, align 8, !tbaa !5
  %1099 = invoke noundef i32 @_ZNK4Elem6nCnctsEv(ptr noundef nonnull align 8 dereferenceable(408) %1098)
          to label %1100 unwind label %1111

1100:                                             ; preds = %1096
  %1101 = icmp slt i32 %1097, %1099
  br i1 %1101, label %1115, label %1102

1102:                                             ; preds = %1100
  store i32 26, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #8
  br label %1176

1103:                                             ; preds = %1082, %1075
  %1104 = landingpad { ptr, i32 }
          cleanup
  %1105 = extractvalue { ptr, i32 } %1104, 0
  store ptr %1105, ptr %21, align 8
  %1106 = extractvalue { ptr, i32 } %1104, 1
  store i32 %1106, ptr %22, align 4
  br label %1178

1107:                                             ; preds = %1086
  %1108 = landingpad { ptr, i32 }
          cleanup
  %1109 = extractvalue { ptr, i32 } %1108, 0
  store ptr %1109, ptr %21, align 8
  %1110 = extractvalue { ptr, i32 } %1108, 1
  store i32 %1110, ptr %22, align 4
  br label %1177

1111:                                             ; preds = %1096
  %1112 = landingpad { ptr, i32 }
          cleanup
  %1113 = extractvalue { ptr, i32 } %1112, 0
  store ptr %1113, ptr %21, align 8
  %1114 = extractvalue { ptr, i32 } %1112, 1
  store i32 %1114, ptr %22, align 4
  br label %1175

1115:                                             ; preds = %1100
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #8
  %1116 = load ptr, ptr %72, align 8, !tbaa !5
  %1117 = load i32, ptr %74, align 4, !tbaa !30
  %1118 = invoke noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %1116, i32 noundef %1117)
          to label %1119 unwind label %1123

1119:                                             ; preds = %1115
  %1120 = icmp eq ptr %1118, null
  br i1 %1120, label %1127, label %1121

1121:                                             ; preds = %1119
  %1122 = call ptr @__dynamic_cast(ptr %1118, ptr @_ZTI4Elem, ptr @_ZTI6Throat, i64 0) #8
  br label %1128

1123:                                             ; preds = %1132, %1115
  %1124 = landingpad { ptr, i32 }
          cleanup
  %1125 = extractvalue { ptr, i32 } %1124, 0
  store ptr %1125, ptr %21, align 8
  %1126 = extractvalue { ptr, i32 } %1124, 1
  store i32 %1126, ptr %22, align 4
  br label %1174

1127:                                             ; preds = %1119
  br label %1128

1128:                                             ; preds = %1127, %1121
  %1129 = phi ptr [ %1122, %1121 ], [ null, %1127 ]
  store ptr %1129, ptr %75, align 8, !tbaa !5
  %1130 = load ptr, ptr %75, align 8, !tbaa !5
  %1131 = icmp ne ptr %1130, null
  br i1 %1131, label %1132, label %1170

1132:                                             ; preds = %1128
  %1133 = load ptr, ptr %75, align 8, !tbaa !5
  %1134 = load ptr, ptr %1133, align 8, !tbaa !15
  %1135 = getelementptr inbounds ptr, ptr %1134, i64 12
  %1136 = load ptr, ptr %1135, align 8
  %1137 = invoke noundef i32 %1136(ptr noundef nonnull align 8 dereferenceable(456) %1133)
          to label %1138 unwind label %1123

1138:                                             ; preds = %1132
  %1139 = sext i32 %1137 to i64
  %1140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %1139) #8
  %1141 = load i32, ptr %1140, align 4, !tbaa !30
  %1142 = icmp eq i32 %1141, 0
  br i1 %1142, label %1143, label %1170

1143:                                             ; preds = %1138
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #8
  %1144 = invoke noundef double @_ZNK16NetworkTransform6rand01Ev(ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %1145 unwind label %1165

1145:                                             ; preds = %1143
  store double %1144, ptr %76, align 8, !tbaa !13
  %1146 = load double, ptr %76, align 8, !tbaa !13
  %1147 = load double, ptr %18, align 8, !tbaa !13
  %1148 = fcmp olt double %1146, %1147
  br i1 %1148, label %1149, label %1169

1149:                                             ; preds = %1145
  %1150 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %1150, ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %1151 unwind label %1165

1151:                                             ; preds = %1149
  %1152 = load ptr, ptr %75, align 8, !tbaa !5
  %1153 = load ptr, ptr %1152, align 8, !tbaa !15
  %1154 = getelementptr inbounds ptr, ptr %1153, i64 12
  %1155 = load ptr, ptr %1154, align 8
  %1156 = invoke noundef i32 %1155(ptr noundef nonnull align 8 dereferenceable(456) %1152)
          to label %1157 unwind label %1165

1157:                                             ; preds = %1151
  %1158 = sext i32 %1156 to i64
  %1159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %1158) #8
  store i32 1, ptr %1159, align 4, !tbaa !30
  %1160 = load ptr, ptr %75, align 8, !tbaa !5
  %1161 = invoke noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %1160)
          to label %1162 unwind label %1165

1162:                                             ; preds = %1157
  %1163 = load double, ptr %40, align 8, !tbaa !13
  %1164 = fadd double %1163, %1161
  store double %1164, ptr %40, align 8, !tbaa !13
  br label %1169

1165:                                             ; preds = %1157, %1151, %1149, %1143
  %1166 = landingpad { ptr, i32 }
          cleanup
  %1167 = extractvalue { ptr, i32 } %1166, 0
  store ptr %1167, ptr %21, align 8
  %1168 = extractvalue { ptr, i32 } %1166, 1
  store i32 %1168, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  br label %1174

1169:                                             ; preds = %1162, %1145
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  br label %1170

1170:                                             ; preds = %1169, %1138, %1128
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  br label %1171

1171:                                             ; preds = %1170
  %1172 = load i32, ptr %74, align 4, !tbaa !30
  %1173 = add nsw i32 %1172, 1
  store i32 %1173, ptr %74, align 4, !tbaa !30
  br label %1096, !llvm.loop !41

1174:                                             ; preds = %1165, %1123
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  br label %1175

1175:                                             ; preds = %1174, %1111
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #8
  br label %1177

1176:                                             ; preds = %1102
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  br label %1051, !llvm.loop !42

1177:                                             ; preds = %1175, %1107
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #8
  br label %1178

1178:                                             ; preds = %1177, %1103
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #8
  br label %1212

1179:                                             ; preds = %1073
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #8
  br label %1180

1180:                                             ; preds = %1179, %1039
  %1181 = getelementptr inbounds %class.NetworkTransform, ptr %77, i32 0, i32 2
  %1182 = load ptr, ptr %1181, align 8, !tbaa !18
  %1183 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1182, ptr noundef @.str.7)
          to label %1184 unwind label %606

1184:                                             ; preds = %1180
  %1185 = load double, ptr %40, align 8, !tbaa !13
  %1186 = load double, ptr %38, align 8, !tbaa !13
  %1187 = fdiv double %1185, %1186
  %1188 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1183, double noundef %1187)
          to label %1189 unwind label %606

1189:                                             ; preds = %1184
  %1190 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %1188, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1191 unwind label %606

1191:                                             ; preds = %1189
  %1192 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1190, ptr noundef @.str.8)
          to label %1193 unwind label %606

1193:                                             ; preds = %1191
  %1194 = load double, ptr %40, align 8, !tbaa !13
  %1195 = load double, ptr %39, align 8, !tbaa !13
  %1196 = fdiv double %1194, %1195
  %1197 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1192, double noundef %1196)
          to label %1198 unwind label %606

1198:                                             ; preds = %1193
  %1199 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %1197, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1200 unwind label %606

1200:                                             ; preds = %1198
  %1201 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1199, ptr noundef @.str.9)
          to label %1202 unwind label %606

1202:                                             ; preds = %1200
  %1203 = load i32, ptr %49, align 4, !tbaa !30
  %1204 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1201, i32 noundef %1203)
          to label %1205 unwind label %606

1205:                                             ; preds = %1202
  %1206 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %1204, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1207 unwind label %606

1207:                                             ; preds = %1205
  %1208 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1206, ptr noundef @.str.10)
          to label %1209 unwind label %606

1209:                                             ; preds = %1207
  %1210 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %1208, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1211 unwind label %606

1211:                                             ; preds = %1209
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #8
  br label %1234

1212:                                             ; preds = %1178, %1044, %606
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  br label %1213

1213:                                             ; preds = %1212, %602
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #8
  br label %1235

1214:                                             ; preds = %523
  %1215 = getelementptr inbounds %class.NetworkTransform, ptr %77, i32 0, i32 2
  %1216 = load ptr, ptr %1215, align 8, !tbaa !18
  %1217 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1216, ptr noundef @.str.11)
          to label %1218 unwind label %1230

1218:                                             ; preds = %1214
  %1219 = load double, ptr %38, align 8, !tbaa !13
  %1220 = load double, ptr %39, align 8, !tbaa !13
  %1221 = fdiv double %1219, %1220
  %1222 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1217, double noundef %1221)
          to label %1223 unwind label %1230

1223:                                             ; preds = %1218
  %1224 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %1222, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1225 unwind label %1230

1225:                                             ; preds = %1223
  %1226 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %1224, ptr noundef @.str.12)
          to label %1227 unwind label %1230

1227:                                             ; preds = %1225
  %1228 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %1226, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1229 unwind label %1230

1229:                                             ; preds = %1227
  br label %1234

1230:                                             ; preds = %1227, %1225, %1223, %1218, %1214
  %1231 = landingpad { ptr, i32 }
          cleanup
  %1232 = extractvalue { ptr, i32 } %1231, 0
  store ptr %1232, ptr %21, align 8
  %1233 = extractvalue { ptr, i32 } %1231, 1
  store i32 %1233, ptr %22, align 4
  br label %1235

1234:                                             ; preds = %1229, %1211
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @_ZNSt6vectorIP4PoreSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #8
  call void @_ZN11WeibulParamD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  ret void

1235:                                             ; preds = %1230, %1213, %519
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %1236

1236:                                             ; preds = %1235, %498
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %1237

1237:                                             ; preds = %1236, %465, %461, %460, %424
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  br label %1238

1238:                                             ; preds = %1237, %396
  call void @_ZNSt6vectorIP4PoreSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #8
  br label %1239

1239:                                             ; preds = %1238, %377, %376, %239, %182, %110
  call void @_ZN11WeibulParamD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23) #8
  br label %1240

1240:                                             ; preds = %1239, %106
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %1241

1241:                                             ; preds = %1240, %102
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  br label %1242

1242:                                             ; preds = %1241
  %1243 = load ptr, ptr %21, align 8
  %1244 = load i32, ptr %22, align 4
  %1245 = insertvalue { ptr, i32 } poison, ptr %1243, 0
  %1246 = insertvalue { ptr, i32 } %1245, i32 %1244, 1
  resume { ptr, i32 } %1246
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11WeibulParamC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef) #0 align 2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9InputFile6AssertEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_b(ptr noundef nonnull align 8 dereferenceable(122), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i1 noundef zeroext) #0 align 2

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

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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16NetworkTransform9randfieldIiEESt6vectorIT_SaIS2_EEmR11WeibulParamRS_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.9") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513), double noundef) #0 align 2

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { nounwind willreturn memory(read) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !6, i64 24}
!19 = !{!"_ZTS16NetworkTransform", !20, i64 0, !21, i64 8, !6, i64 24}
!20 = !{!"_ZTSSt26linear_congruential_engineImLm16807ELm0ELm2147483647EE", !10, i64 0}
!21 = !{!"_ZTSSt25uniform_real_distributionIdE", !22, i64 0}
!22 = !{!"_ZTSNSt25uniform_real_distributionIdE10param_typeE", !14, i64 0, !14, i64 8}
!23 = !{!24, !14, i64 8}
!24 = !{!"_ZTS11WeibulParam", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !25, i64 32}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !10, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!27 = !{!24, !14, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !31, i64 0}
!31 = !{!"int", !7, i64 0}
!32 = distinct !{!32, !29}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = distinct !{!35, !29}
!36 = distinct !{!36, !29}
!37 = distinct !{!37, !29}
!38 = distinct !{!38, !29}
!39 = distinct !{!39, !29}
!40 = distinct !{!40, !29}
!41 = distinct !{!41, !29}
!42 = distinct !{!42, !29}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%struct.WeibulParam = type { double, double, double, double, %"class.std::__cxx11::basic_string" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl" }
%"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Pore *, std::allocator<Pore *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = 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.NetworkTransform::Correlate" = type { i8 }
%"class.std::allocator.11" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Elem *, Elem *, std::_Identity<Elem *>, std::less<Elem *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Elem *, Elem *, std::_Identity<Elem *>, std::less<Elem *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTI4Elem = external constant ptr
@_ZTI4Pore = external constant ptr
@_ZTI6Throat = external constant ptr
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [67 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16NetworkTransform8getModifERSt6vectorIP4PoreSaIS2_EERS0_IP6ThroatSaIS7_EERK9InputFileRNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEERKS0_IP4ElemSaISM_EEm(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(122) %3, ptr noundef nonnull align 8 dereferenceable(120) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %6) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca double, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %struct.WeibulParam, align 8
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca i8, align 1
  %19 = alloca %"class.std::vector.4", align 8
  %20 = alloca %"class.std::vector.9", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.NetworkTransform::Correlate", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::vector.9", align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca %"class.std::vector.9", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::allocator.11", align 1
  %30 = alloca %"class.std::set", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::set", align 8
  %33 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %34 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  store double 1.000000e+00, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %42 unwind label %60

42:                                               ; preds = %7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #8
  invoke void @_ZN11WeibulParamC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11)
          to label %43 unwind label %62

43:                                               ; preds = %42
  %44 = getelementptr inbounds i8, ptr %11, i64 32
  %45 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull @.str)
          to label %46 unwind label %64

46:                                               ; preds = %43
  %47 = load ptr, ptr %4, align 8, !tbaa !9
  %48 = getelementptr i8, ptr %47, i64 -24
  %49 = load i64, ptr %48, align 8
  %50 = getelementptr inbounds i8, ptr %4, i64 %49
  %51 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %50)
  br i1 %51, label %52, label %182

52:                                               ; preds = %46
  %53 = load ptr, ptr %4, align 8, !tbaa !9
  %54 = getelementptr i8, ptr %53, i64 -24
  %55 = load i64, ptr %54, align 8
  %56 = getelementptr inbounds i8, ptr %4, i64 %55
  %57 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %56)
  br i1 %57, label %58, label %66

58:                                               ; preds = %52
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %66 unwind label %64

60:                                               ; preds = %7
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  br label %669

62:                                               ; preds = %42
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %668

64:                                               ; preds = %180, %141, %137, %127, %126, %116, %58, %43
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %667

66:                                               ; preds = %58, %52
  %67 = load ptr, ptr %4, align 8, !tbaa !9
  %68 = getelementptr i8, ptr %67, i64 -24
  %69 = load i64, ptr %68, align 8
  %70 = getelementptr inbounds i8, ptr %4, i64 %69
  %71 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %70)
  br i1 %71, label %72, label %88

72:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  store i8 120, ptr %12, align 1, !tbaa !11
  %73 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %74 unwind label %83

74:                                               ; preds = %72
  %75 = load i8, ptr %12, align 1
  switch i8 %75, label %76 [
    i8 118, label %85
    i8 116, label %85
    i8 110, label %85
    i8 102, label %85
    i8 86, label %85
    i8 84, label %85
    i8 78, label %85
    i8 70, label %85
  ]

76:                                               ; preds = %74
  %77 = getelementptr inbounds i8, ptr %0, i64 24
  %78 = load ptr, ptr %77, align 8, !tbaa !12
  %79 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %78, ptr noundef nonnull @.str.1)
          to label %80 unwind label %83

80:                                               ; preds = %76
  %81 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %79, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %82 unwind label %83

82:                                               ; preds = %80
  call void @exit(i32 noundef -1) #9
  unreachable

83:                                               ; preds = %80, %76, %72
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  br label %667

85:                                               ; preds = %74, %74, %74, %74, %74, %74, %74, %74
  %86 = add nsw i8 %75, -84
  %switch.and = and i8 %86, -35
  %switch.selectcmp = icmp eq i8 %switch.and, 0
  %87 = zext i1 %switch.selectcmp to i8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  br label %88

88:                                               ; preds = %85, %66
  %.0 = phi i8 [ %87, %85 ], [ 0, %66 ]
  %89 = load ptr, ptr %4, align 8, !tbaa !9
  %90 = getelementptr i8, ptr %89, i64 -24
  %91 = load i64, ptr %90, align 8
  %92 = getelementptr inbounds i8, ptr %4, i64 %91
  %93 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %92)
  br i1 %93, label %94, label %110

94:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #8
  store i8 120, ptr %13, align 1, !tbaa !11
  %95 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %96 unwind label %105

96:                                               ; preds = %94
  %97 = load i8, ptr %13, align 1
  switch i8 %97, label %98 [
    i8 116, label %107
    i8 111, label %107
    i8 102, label %107
    i8 84, label %107
    i8 79, label %107
    i8 70, label %107
  ]

98:                                               ; preds = %96
  %99 = getelementptr inbounds i8, ptr %0, i64 24
  %100 = load ptr, ptr %99, align 8, !tbaa !12
  %101 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %100, ptr noundef nonnull @.str.2)
          to label %102 unwind label %105

102:                                              ; preds = %98
  %103 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %101, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %104 unwind label %105

104:                                              ; preds = %102
  call void @exit(i32 noundef -1) #9
  unreachable

105:                                              ; preds = %102, %98, %94
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  br label %667

107:                                              ; preds = %96, %96, %96, %96, %96, %96
  %108 = and i8 %97, -33
  %109 = icmp eq i8 %108, 84
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  br label %110

110:                                              ; preds = %107, %88
  %.0222 = phi i1 [ %109, %107 ], [ false, %88 ]
  %111 = load ptr, ptr %4, align 8, !tbaa !9
  %112 = getelementptr i8, ptr %111, i64 -24
  %113 = load i64, ptr %112, align 8
  %114 = getelementptr inbounds i8, ptr %4, i64 %113
  %115 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %114)
  br i1 %115, label %116, label %118

116:                                              ; preds = %110
  %117 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %118 unwind label %64

118:                                              ; preds = %116, %110
  %119 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 1)
  %120 = load i8, ptr %119, align 1, !tbaa !11
  %121 = icmp eq i8 %120, 111
  br i1 %121, label %126, label %122

122:                                              ; preds = %118
  %123 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 1)
  %124 = load i8, ptr %123, align 1, !tbaa !11
  %125 = icmp eq i8 %124, 79
  br i1 %125, label %126, label %180

126:                                              ; preds = %122, %118
  invoke void @_ZN11WeibulParam4readERSi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %127 unwind label %64

127:                                              ; preds = %126
  %128 = getelementptr inbounds i8, ptr %11, i64 8
  %129 = load double, ptr %128, align 8, !tbaa !19
  %130 = fadd double %129, 0x3FEFFFFDE7210BE9
  store double %130, ptr %128, align 8, !tbaa !19
  %131 = load ptr, ptr %4, align 8, !tbaa !9
  %132 = getelementptr i8, ptr %131, i64 -24
  %133 = load i64, ptr %132, align 8
  %134 = getelementptr inbounds i8, ptr %4, i64 %133
  %135 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %134)
          to label %136 unwind label %64

136:                                              ; preds = %127
  br i1 %135, label %137, label %143

137:                                              ; preds = %136
  %138 = getelementptr inbounds i8, ptr %0, i64 24
  %139 = load ptr, ptr %138, align 8, !tbaa !12
  %140 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %139, ptr noundef nonnull @.str.3)
          to label %141 unwind label %64

141:                                              ; preds = %137
  %142 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %140, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %143 unwind label %64

143:                                              ; preds = %141, %136
  %144 = load double, ptr %11, align 8
  %145 = fcmp ogt double %144, 1.000000e+00
  %146 = load double, ptr %128, align 8
  %147 = fcmp oge double %146, %144
  %148 = select i1 %145, i1 %147, i1 false
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %149 unwind label %167

149:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %150 unwind label %169

150:                                              ; preds = %149
  invoke void @_ZNK9InputFile6AssertEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_b(ptr noundef nonnull align 8 dereferenceable(122) %3, i1 noundef zeroext %148, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull %16, i1 noundef zeroext true)
          to label %151 unwind label %171

151:                                              ; preds = %150
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  %152 = load ptr, ptr %4, align 8, !tbaa !9
  %153 = getelementptr i8, ptr %152, i64 -24
  %154 = load i64, ptr %153, align 8
  %155 = getelementptr inbounds i8, ptr %4, i64 %154
  %156 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %155)
  br i1 %156, label %157, label %182

157:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  store i8 84, ptr %18, align 1, !tbaa !11
  %158 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %switch.edge362 unwind label %175

switch.edge362:                                   ; preds = %157
  %159 = load i8, ptr %18, align 1
  switch i8 %159, label %160 [
    i8 116, label %177
    i8 111, label %177
    i8 102, label %177
    i8 84, label %177
    i8 79, label %177
    i8 70, label %177
  ]

160:                                              ; preds = %switch.edge362
  %161 = getelementptr inbounds i8, ptr %0, i64 24
  %162 = load ptr, ptr %161, align 8, !tbaa !12
  %163 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %162, ptr noundef nonnull @.str.2)
          to label %164 unwind label %175

164:                                              ; preds = %160
  %165 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %163, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %166 unwind label %175

166:                                              ; preds = %164
  call void @exit(i32 noundef -1) #9
  unreachable

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

169:                                              ; preds = %149
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %173

171:                                              ; preds = %150
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  br label %173

173:                                              ; preds = %171, %169
  %.pn = phi { ptr, i32 } [ %172, %171 ], [ %170, %169 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %174

174:                                              ; preds = %173, %167
  %.pn.pn = phi { ptr, i32 } [ %.pn, %173 ], [ %168, %167 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %667

175:                                              ; preds = %164, %160, %157
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  br label %667

177:                                              ; preds = %switch.edge362, %switch.edge362, %switch.edge362, %switch.edge362, %switch.edge362, %switch.edge362
  %switch.tableidx = add i8 %159, -84
  %178 = icmp ult i8 %switch.tableidx, 38
  %switch.cast = zext nneg i8 %switch.tableidx to i38
  %switch.downshift = lshr i38 -133143986143, %switch.cast
  %switch.masked = trunc i38 %switch.downshift to i1
  %179 = select i1 %178, i1 %switch.masked, i1 false
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  br label %182

180:                                              ; preds = %122
  %181 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %182 unwind label %64

182:                                              ; preds = %177, %151, %180, %46
  %.0224 = phi i1 [ %179, %177 ], [ true, %151 ], [ true, %180 ], [ true, %46 ]
  %.1223 = phi i1 [ %.0222, %177 ], [ %.0222, %151 ], [ %.0222, %180 ], [ false, %46 ]
  %.1 = phi i8 [ %.0, %177 ], [ %.0, %151 ], [ %.0, %180 ], [ 0, %46 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #8
  call void @_ZNSt6vectorIP4PoreSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %6)
          to label %183 unwind label %184

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %.not496 = icmp eq i64 %6, 0
  br i1 %.not496, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.thread, %183
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %203 unwind label %216

184:                                              ; preds = %182
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %666

.lr.ph:                                           ; preds = %183, %.thread
  %.0252429 = phi i64 [ %202, %.thread ], [ 0, %183 ]
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0252429) #8
  %187 = load ptr, ptr %186, align 8, !tbaa !23
  %188 = icmp eq ptr %187, null
  br i1 %188, label %.thread, label %189

189:                                              ; preds = %.lr.ph
  %190 = call ptr @__dynamic_cast(ptr nonnull %187, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  %.not355 = icmp eq ptr %190, null
  br i1 %.not355, label %.thread, label %191

191:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0252429) #8
  %193 = load ptr, ptr %192, align 8, !tbaa !23
  %194 = icmp eq ptr %193, null
  br i1 %194, label %197, label %195

195:                                              ; preds = %191
  %196 = call ptr @__dynamic_cast(ptr nonnull %193, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  br label %197

197:                                              ; preds = %191, %195
  %198 = phi ptr [ %196, %195 ], [ null, %191 ]
  store ptr %198, ptr %21, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %199 unwind label %200

199:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %.thread

200:                                              ; preds = %197
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %665

.thread:                                          ; preds = %.lr.ph, %189, %199
  %202 = add nuw i64 %.0252429, 1
  %exitcond.not = icmp eq i64 %202, %6
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !24

203:                                              ; preds = %._crit_edge
  invoke void @_ZN16NetworkTransform9CorrelateI4PoreM4ElemKFdvEXadL_ZNKS2_3RRREvEEEclERSt6vectorIPS1_SaIS7_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS_(ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull %23, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %204 unwind label %218

204:                                              ; preds = %203
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #8
  %205 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  invoke void @_ZN16NetworkTransform9randfieldIiEESt6vectorIT_SaIS2_EEmR11WeibulParamRS_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.9") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %205, ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %206 unwind label %221

206:                                              ; preds = %204
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #8
  %208 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %208)
          to label %209 unwind label %223

209:                                              ; preds = %206
  %210 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %211 = mul i64 %210, 3
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %211)
          to label %.preheader388 unwind label %223

.preheader388:                                    ; preds = %209
  %212 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %213 = icmp ugt i64 %212, 1
  br i1 %213, label %.lr.ph434, label %._crit_edge435

.lr.ph434:                                        ; preds = %.preheader388
  %214 = add i64 %6, -1
  br label %225

._crit_edge435:                                   ; preds = %237, %.preheader388
  %.0300.lcssa = phi i32 [ 0, %.preheader388 ], [ %.2302, %237 ]
  %.0255.lcssa = phi double [ 0.000000e+00, %.preheader388 ], [ %.1256, %237 ]
  %.0253.lcssa = phi double [ 0.000000e+00, %.preheader388 ], [ %.1254, %237 ]
  %215 = load double, ptr %8, align 8, !tbaa !5
  br i1 %.1223, label %241, label %246

216:                                              ; preds = %._crit_edge
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %220

218:                                              ; preds = %203
  %219 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  br label %220

220:                                              ; preds = %218, %216
  %.pn324 = phi { ptr, i32 } [ %219, %218 ], [ %217, %216 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  br label %665

221:                                              ; preds = %204
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #8
  br label %665

223:                                              ; preds = %209, %206
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %665

225:                                              ; preds = %.lr.ph434, %237
  %.0253433 = phi double [ 0.000000e+00, %.lr.ph434 ], [ %.1254, %237 ]
  %.0255432 = phi double [ 0.000000e+00, %.lr.ph434 ], [ %.1256, %237 ]
  %.0299431 = phi i64 [ 1, %.lr.ph434 ], [ %238, %237 ]
  %.0300430 = phi i32 [ 0, %.lr.ph434 ], [ %.2302, %237 ]
  %.not354 = icmp eq i64 %.0299431, %214
  br i1 %.not354, label %237, label %226

226:                                              ; preds = %225
  %227 = icmp ult i64 %.0299431, %6
  %228 = zext i1 %227 to i32
  %spec.select = add nsw i32 %.0300430, %228
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0299431) #8
  %230 = load ptr, ptr %229, align 8, !tbaa !23
  %231 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %230)
  %232 = fadd double %.0253433, %231
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0299431) #8
  %234 = load ptr, ptr %233, align 8, !tbaa !23
  %235 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %234)
  %236 = fadd double %.0255432, %235
  br label %237

237:                                              ; preds = %225, %226
  %.2302 = phi i32 [ %spec.select, %226 ], [ %.0300430, %225 ]
  %.1256 = phi double [ %236, %226 ], [ %.0255432, %225 ]
  %.1254 = phi double [ %232, %226 ], [ %.0253433, %225 ]
  %238 = add nuw i64 %.0299431, 1
  %239 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %240 = icmp ult i64 %238, %239
  br i1 %240, label %225, label %._crit_edge435, !llvm.loop !26

241:                                              ; preds = %._crit_edge435
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  %242 = fmul double %.0255.lcssa, %215
  %243 = fdiv double %242, %.0253.lcssa
  store double %243, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  store double 1.000000e+00, ptr %26, align 8, !tbaa !5
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %245 = load double, ptr %244, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br label %246

246:                                              ; preds = %241, %._crit_edge435
  %.0298 = phi double [ %245, %241 ], [ %215, %._crit_edge435 ]
  %247 = fdiv double %.0253.lcssa, %.0255.lcssa
  %248 = fcmp ogt double %247, 0x3D719799812DEA11
  br i1 %248, label %249, label %650

249:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #8
  %250 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %251 = add i64 %250, 2
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #8
  store i32 0, ptr %28, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %251, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %252 unwind label %291

252:                                              ; preds = %249
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #8
  %253 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 1)
  %254 = load i8, ptr %253, align 1, !tbaa !11
  %255 = icmp eq i8 %254, 111
  br i1 %255, label %260, label %256

256:                                              ; preds = %252
  %257 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 1)
  %258 = load i8, ptr %257, align 1, !tbaa !11
  %259 = icmp eq i8 %258, 79
  br i1 %259, label %260, label %544

260:                                              ; preds = %256, %252
  %261 = fsub double 1.000000e+00, %.0298
  %262 = select i1 %.0224, double %.0298, double %261
  %263 = trunc nuw i8 %.1 to i1
  %264 = sitofp i32 %.0300.lcssa to double
  br label %265

265:                                              ; preds = %260, %407
  %.0257483 = phi double [ 0.000000e+00, %260 ], [ %.6263, %407 ]
  %.0274482 = phi i8 [ 1, %260 ], [ %.6280, %407 ]
  %.0281481 = phi i32 [ 1, %260 ], [ %.1282, %407 ]
  %.0283480 = phi i32 [ 0, %260 ], [ %.7290, %407 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #8
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4PoreSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %267 = load ptr, ptr %266, align 8, !tbaa !23
  call void @_ZNSt6vectorIP4PoreSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %268 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %269 = load i32, ptr %268, align 4, !tbaa !27
  call void @_ZNSt6vectorIiSaIiEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %270 = load ptr, ptr %267, align 8, !tbaa !9
  %271 = getelementptr inbounds i8, ptr %270, i64 96
  %272 = load ptr, ptr %271, align 8
  %273 = invoke noundef i32 %272(ptr noundef nonnull align 8 dereferenceable(408) %267)
          to label %274 unwind label %295

274:                                              ; preds = %265
  %275 = sext i32 %273 to i64
  %276 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %275) #8
  %277 = load i32, ptr %276, align 4, !tbaa !27
  %278 = icmp eq i32 %277, 0
  br i1 %278, label %279, label %407

279:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #8
  store ptr %267, ptr %31, align 8, !tbaa !23
  %280 = invoke { ptr, i8 } @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %281 unwind label %297

281:                                              ; preds = %279
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #8
  %282 = call noundef zeroext i1 @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  %.not367469 = xor i1 %282, true
  %283 = trunc nuw i8 %.0274482 to i1
  %284 = icmp sgt i32 %269, 0
  %285 = select i1 %.not367469, i1 %283, i1 false
  %or.cond369470 = select i1 %285, i1 %284, i1 false
  br i1 %or.cond369470, label %.lr.ph476, label %.critedge

.lr.ph476:                                        ; preds = %281, %._crit_edge461
  %.0251474 = phi i32 [ %287, %._crit_edge461 ], [ 0, %281 ]
  %.1258473 = phi double [ %.5262, %._crit_edge461 ], [ %.0257483, %281 ]
  %.1275472 = phi i8 [ %.5279, %._crit_edge461 ], [ %.0274482, %281 ]
  %.1284471 = phi i32 [ %.6289, %._crit_edge461 ], [ %.0283480, %281 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %32) #8
  invoke void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %286 unwind label %299

286:                                              ; preds = %.lr.ph476
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  %287 = add nuw nsw i32 %.0251474, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #8
  %288 = call ptr @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  store ptr %288, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #8
  %289 = call ptr @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  store ptr %289, ptr %34, align 8
  %290 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIP4ElemES4_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #8
  br i1 %290, label %.lr.ph460, label %._crit_edge461

291:                                              ; preds = %249
  %292 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #8
  br label %649

293:                                              ; preds = %645, %643, %641, %639, %637, %635, %632, %630, %628, %625, %.critedge64
  %294 = landingpad { ptr, i32 }
          cleanup
  br label %648

295:                                              ; preds = %265
  %296 = landingpad { ptr, i32 }
          cleanup
  br label %409

297:                                              ; preds = %279
  %298 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #8
  br label %409

299:                                              ; preds = %.lr.ph476
  %300 = landingpad { ptr, i32 }
          cleanup
  br label %405

.lr.ph460:                                        ; preds = %286, %.loopexit387
  %.2259458 = phi double [ %.4261, %.loopexit387 ], [ %.1258473, %286 ]
  %.2276457 = phi i8 [ %.4278, %.loopexit387 ], [ %.1275472, %286 ]
  %.2285456 = phi i32 [ %.5288, %.loopexit387 ], [ %.1284471, %286 ]
  %301 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %302 = load ptr, ptr %301, align 8, !tbaa !23
  %303 = load ptr, ptr %302, align 8, !tbaa !9
  %304 = getelementptr inbounds i8, ptr %303, i64 96
  %305 = load ptr, ptr %304, align 8
  %306 = invoke noundef i32 %305(ptr noundef nonnull align 8 dereferenceable(408) %302)
          to label %307 unwind label %344

307:                                              ; preds = %.lr.ph460
  %308 = sext i32 %306 to i64
  %309 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %308) #8
  %310 = load i32, ptr %309, align 4, !tbaa !27
  %.not339 = icmp eq i32 %310, %.0281481
  br i1 %.not339, label %.loopexit387, label %311

311:                                              ; preds = %307
  %312 = trunc nuw i8 %.2276457 to i1
  br i1 %312, label %313, label %.loopexit387

313:                                              ; preds = %311
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %315 = load ptr, ptr %314, align 8, !tbaa !23
  %316 = load ptr, ptr %315, align 8, !tbaa !9
  %317 = getelementptr inbounds i8, ptr %316, i64 96
  %318 = load ptr, ptr %317, align 8
  %319 = invoke noundef i32 %318(ptr noundef nonnull align 8 dereferenceable(408) %315)
          to label %320 unwind label %344

320:                                              ; preds = %313
  %321 = sext i32 %319 to i64
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %321) #8
  %323 = load i32, ptr %322, align 4, !tbaa !27
  %324 = icmp eq i32 %323, 0
  br i1 %324, label %325, label %353

325:                                              ; preds = %320
  %326 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %327 = load ptr, ptr %326, align 8, !tbaa !23
  %328 = load ptr, ptr %327, align 8, !tbaa !9
  %329 = getelementptr inbounds i8, ptr %328, i64 96
  %330 = load ptr, ptr %329, align 8
  %331 = invoke noundef i32 %330(ptr noundef nonnull align 8 dereferenceable(408) %327)
          to label %332 unwind label %344

332:                                              ; preds = %325
  %333 = sext i32 %331 to i64
  %334 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %333) #8
  store i32 %.0281481, ptr %334, align 4, !tbaa !27
  %335 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %336 = load ptr, ptr %335, align 8, !tbaa !23
  %337 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %336)
  %338 = fadd double %.2259458, %337
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %340 = load ptr, ptr %339, align 8, !tbaa !23
  %341 = icmp eq ptr %340, null
  br i1 %341, label %346, label %342

342:                                              ; preds = %332
  %343 = call ptr @__dynamic_cast(ptr nonnull %340, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  br label %346

344:                                              ; preds = %325, %313, %.lr.ph460
  %345 = landingpad { ptr, i32 }
          cleanup
  br label %404

346:                                              ; preds = %332, %342
  %347 = phi ptr [ %343, %342 ], [ null, %332 ]
  %.not340 = icmp ne ptr %347, null
  %348 = zext i1 %.not340 to i32
  %spec.select363 = add nsw i32 %.2285456, %348
  %349 = fdiv double %338, %.0253.lcssa
  %350 = sitofp i32 %spec.select363 to double
  %351 = fdiv double %350, %264
  %.pn341 = select i1 %263, double %349, double %351
  %352 = fcmp olt double %.pn341, %262
  br i1 %352, label %353, label %._crit_edge461

353:                                              ; preds = %346, %320
  %.4287 = phi i32 [ %spec.select363, %346 ], [ %.2285456, %320 ]
  %.3277 = phi i8 [ 1, %346 ], [ %.2276457, %320 ]
  %.3260 = phi double [ %338, %346 ], [ %.2259458, %320 ]
  %354 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %355 = load ptr, ptr %354, align 8, !tbaa !23
  %356 = call noundef i32 @_ZNK4Elem6nCnctsEv(ptr noundef nonnull align 8 dereferenceable(408) %355)
  %357 = icmp sgt i32 %356, 0
  br i1 %357, label %.lr.ph455, label %.loopexit387

358:                                              ; preds = %.lr.ph455
  %359 = landingpad { ptr, i32 }
          cleanup
  br label %404

.lr.ph455:                                        ; preds = %353, %.thread373
  %.0250453 = phi i32 [ %392, %.thread373 ], [ 0, %353 ]
  %360 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %361 = load ptr, ptr %360, align 8, !tbaa !23
  %362 = call noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %361, i32 noundef %.0250453)
  %363 = load ptr, ptr %362, align 8, !tbaa !9
  %364 = getelementptr inbounds i8, ptr %363, i64 96
  %365 = load ptr, ptr %364, align 8
  %366 = invoke noundef i32 %365(ptr noundef nonnull align 8 dereferenceable(408) %362)
          to label %367 unwind label %358

367:                                              ; preds = %.lr.ph455
  %368 = sext i32 %366 to i64
  %369 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %368) #8
  %370 = load i32, ptr %369, align 4, !tbaa !27
  %.not342 = icmp eq i32 %370, %.0281481
  br i1 %.not342, label %.thread373, label %371

371:                                              ; preds = %367
  %372 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %373 = load ptr, ptr %372, align 8, !tbaa !23
  %374 = call noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %373, i32 noundef %.0250453)
  %375 = icmp eq ptr %374, null
  br i1 %375, label %.thread371, label %376

376:                                              ; preds = %371
  %377 = call ptr @__dynamic_cast(ptr nonnull %374, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI6Throat, i64 0) #8
  %.not343 = icmp eq ptr %377, null
  br i1 %.not343, label %.thread371, label %384

.thread371:                                       ; preds = %371, %376
  %378 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %379 = load ptr, ptr %378, align 8, !tbaa !23
  %380 = call noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %379, i32 noundef %.0250453)
  %381 = icmp eq ptr %380, null
  br i1 %381, label %.thread373, label %382

382:                                              ; preds = %.thread371
  %383 = call ptr @__dynamic_cast(ptr nonnull %380, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  %.not344 = icmp eq ptr %383, null
  br i1 %.not344, label %.thread373, label %384

384:                                              ; preds = %382, %376
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #8
  %385 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %386 = load ptr, ptr %385, align 8, !tbaa !23
  %387 = call noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %386, i32 noundef %.0250453)
  store ptr %387, ptr %35, align 8, !tbaa !23
  %388 = invoke { ptr, i8 } @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %389 unwind label %390

389:                                              ; preds = %384
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  br label %.thread373

390:                                              ; preds = %384
  %391 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  br label %404

.thread373:                                       ; preds = %.thread371, %367, %382, %389
  %392 = add nuw nsw i32 %.0250453, 1
  %393 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIP4ElemEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %394 = load ptr, ptr %393, align 8, !tbaa !23
  %395 = call noundef i32 @_ZNK4Elem6nCnctsEv(ptr noundef nonnull align 8 dereferenceable(408) %394)
  %396 = icmp slt i32 %392, %395
  br i1 %396, label %.lr.ph455, label %.loopexit387, !llvm.loop !29

.loopexit387:                                     ; preds = %.thread373, %353, %307, %311
  %.5288 = phi i32 [ %.2285456, %311 ], [ %.2285456, %307 ], [ %.4287, %353 ], [ %.4287, %.thread373 ]
  %.4278 = phi i8 [ %.2276457, %311 ], [ %.2276457, %307 ], [ %.3277, %353 ], [ %.3277, %.thread373 ]
  %.4261 = phi double [ %.2259458, %311 ], [ %.2259458, %307 ], [ %.3260, %353 ], [ %.3260, %.thread373 ]
  %397 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIP4ElemEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #8
  %398 = call ptr @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  store ptr %398, ptr %34, align 8
  %399 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIP4ElemES4_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #8
  br i1 %399, label %.lr.ph460, label %._crit_edge461, !llvm.loop !30

._crit_edge461:                                   ; preds = %.loopexit387, %346, %286
  %.6289 = phi i32 [ %.1284471, %286 ], [ %spec.select363, %346 ], [ %.5288, %.loopexit387 ]
  %.5279 = phi i8 [ %.1275472, %286 ], [ 0, %346 ], [ %.4278, %.loopexit387 ]
  %.5262 = phi double [ %.1258473, %286 ], [ %338, %346 ], [ %.4261, %.loopexit387 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #8
  %400 = call noundef zeroext i1 @_ZNKSt3setIP4ElemSt4lessIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  %.not367 = xor i1 %400, true
  %401 = trunc nuw i8 %.5279 to i1
  %402 = icmp slt i32 %287, %269
  %403 = select i1 %.not367, i1 %401, i1 false
  %or.cond369 = select i1 %403, i1 %402, i1 false
  br i1 %or.cond369, label %.lr.ph476, label %.critedge, !llvm.loop !31

404:                                              ; preds = %358, %390, %344
  %.pn345.pn = phi { ptr, i32 } [ %345, %344 ], [ %391, %390 ], [ %359, %358 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  br label %405

405:                                              ; preds = %404, %299
  %.pn345.pn.pn = phi { ptr, i32 } [ %.pn345.pn, %404 ], [ %300, %299 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #8
  br label %409

.critedge:                                        ; preds = %._crit_edge461, %281
  %.1284.lcssa = phi i32 [ %.0283480, %281 ], [ %.6289, %._crit_edge461 ]
  %.1275.lcssa = phi i8 [ %.0274482, %281 ], [ %.5279, %._crit_edge461 ]
  %.1258.lcssa = phi double [ %.0257483, %281 ], [ %.5262, %._crit_edge461 ]
  %406 = add nsw i32 %.0281481, 1
  br label %407

407:                                              ; preds = %.critedge, %274
  %.7290 = phi i32 [ %.1284.lcssa, %.critedge ], [ %.0283480, %274 ]
  %.1282 = phi i32 [ %406, %.critedge ], [ %.0281481, %274 ]
  %.6280 = phi i8 [ %.1275.lcssa, %.critedge ], [ %.0274482, %274 ]
  %.6263 = phi double [ %.1258.lcssa, %.critedge ], [ %.0257483, %274 ]
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #8
  %408 = trunc nuw i8 %.6280 to i1
  br i1 %408, label %265, label %410, !llvm.loop !32

409:                                              ; preds = %405, %297, %295
  %.pn345.pn.pn.pn = phi { ptr, i32 } [ %.pn345.pn.pn, %405 ], [ %298, %297 ], [ %296, %295 ]
  call void @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #8
  br label %648

410:                                              ; preds = %407
  %411 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %.not498 = icmp eq i64 %411, 0
  br i1 %.0224, label %.preheader, label %.preheader385

.preheader385:                                    ; preds = %410
  br i1 %.not498, label %.loopexit, label %.lr.ph487

.preheader:                                       ; preds = %410
  br i1 %.not498, label %.loopexit, label %.lr.ph493

.lr.ph493:                                        ; preds = %.preheader, %.thread377
  %.0226492 = phi i64 [ %470, %.thread377 ], [ 0, %.preheader ]
  %.7264491 = phi double [ %.8265, %.thread377 ], [ 0.000000e+00, %.preheader ]
  %.8291490 = phi i32 [ %.9292, %.thread377 ], [ 0, %.preheader ]
  %412 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0226492) #8
  %413 = load ptr, ptr %412, align 8, !tbaa !23
  %414 = load ptr, ptr %413, align 8, !tbaa !9
  %415 = getelementptr inbounds i8, ptr %414, i64 96
  %416 = load ptr, ptr %415, align 8
  %417 = invoke noundef i32 %416(ptr noundef nonnull align 8 dereferenceable(408) %413)
          to label %418 unwind label %429

418:                                              ; preds = %.lr.ph493
  %419 = sext i32 %417 to i64
  %420 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %419) #8
  %421 = load i32, ptr %420, align 4, !tbaa !27
  %422 = icmp sgt i32 %421, 0
  br i1 %422, label %423, label %.thread377

423:                                              ; preds = %418
  %424 = icmp ult i64 %.0226492, %6
  br i1 %424, label %425, label %.thread375

425:                                              ; preds = %423
  %426 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0226492) #8
  %427 = load ptr, ptr %426, align 8, !tbaa !23
  %428 = icmp eq ptr %427, null
  br i1 %428, label %.thread375, label %431

429:                                              ; preds = %.lr.ph493
  %430 = landingpad { ptr, i32 }
          cleanup
  br label %648

431:                                              ; preds = %425
  %432 = call ptr @__dynamic_cast(ptr nonnull %427, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  %.not335 = icmp eq ptr %432, null
  br i1 %.not335, label %.thread375, label %433

433:                                              ; preds = %431
  %434 = add nsw i32 %.8291490, 1
  %435 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0226492) #8
  %436 = load ptr, ptr %435, align 8, !tbaa !23
  %437 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %436)
  %438 = fadd double %.7264491, %437
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #8
  %439 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0226492) #8
  %440 = load ptr, ptr %439, align 8, !tbaa !23
  %441 = icmp eq ptr %440, null
  br i1 %441, label %444, label %442

442:                                              ; preds = %433
  %443 = call ptr @__dynamic_cast(ptr nonnull %440, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  br label %444

444:                                              ; preds = %433, %442
  %445 = phi ptr [ %443, %442 ], [ null, %433 ]
  store ptr %445, ptr %36, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %446 unwind label %447

446:                                              ; preds = %444
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #8
  br label %.thread377

447:                                              ; preds = %444
  %448 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #8
  br label %648

.thread375:                                       ; preds = %425, %431, %423
  %449 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0226492) #8
  %450 = load ptr, ptr %449, align 8, !tbaa !23
  %451 = icmp eq ptr %450, null
  br i1 %451, label %.thread377, label %452

452:                                              ; preds = %.thread375
  %453 = call ptr @__dynamic_cast(ptr nonnull %450, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI6Throat, i64 0) #8
  %.not336 = icmp eq ptr %453, null
  br i1 %.not336, label %.thread377, label %454

454:                                              ; preds = %452
  %455 = add nsw i32 %.8291490, 1
  %456 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0226492) #8
  %457 = load ptr, ptr %456, align 8, !tbaa !23
  %458 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %457)
  %459 = fadd double %.7264491, %458
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #8
  %460 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0226492) #8
  %461 = load ptr, ptr %460, align 8, !tbaa !23
  %462 = icmp eq ptr %461, null
  br i1 %462, label %465, label %463

463:                                              ; preds = %454
  %464 = call ptr @__dynamic_cast(ptr nonnull %461, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI6Throat, i64 0) #8
  br label %465

465:                                              ; preds = %454, %463
  %466 = phi ptr [ %464, %463 ], [ null, %454 ]
  store ptr %466, ptr %37, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %467 unwind label %468

467:                                              ; preds = %465
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #8
  br label %.thread377

468:                                              ; preds = %465
  %469 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #8
  br label %648

.thread377:                                       ; preds = %.thread375, %418, %452, %467, %446
  %.9292 = phi i32 [ %434, %446 ], [ %455, %467 ], [ %.8291490, %452 ], [ %.8291490, %418 ], [ %.8291490, %.thread375 ]
  %.8265 = phi double [ %438, %446 ], [ %459, %467 ], [ %.7264491, %452 ], [ %.7264491, %418 ], [ %.7264491, %.thread375 ]
  %470 = add nuw i64 %.0226492, 1
  %471 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %472 = icmp ult i64 %470, %471
  br i1 %472, label %.lr.ph493, label %.loopexit, !llvm.loop !33

.lr.ph487:                                        ; preds = %.preheader385, %.thread381
  %.0225486 = phi i64 [ %531, %.thread381 ], [ 0, %.preheader385 ]
  %.9266485 = phi double [ %.10267, %.thread381 ], [ 0.000000e+00, %.preheader385 ]
  %.10293484 = phi i32 [ %.11294, %.thread381 ], [ 0, %.preheader385 ]
  %473 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0225486) #8
  %474 = load ptr, ptr %473, align 8, !tbaa !23
  %475 = load ptr, ptr %474, align 8, !tbaa !9
  %476 = getelementptr inbounds i8, ptr %475, i64 96
  %477 = load ptr, ptr %476, align 8
  %478 = invoke noundef i32 %477(ptr noundef nonnull align 8 dereferenceable(408) %474)
          to label %479 unwind label %490

479:                                              ; preds = %.lr.ph487
  %480 = sext i32 %478 to i64
  %481 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %480) #8
  %482 = load i32, ptr %481, align 4, !tbaa !27
  %483 = icmp eq i32 %482, 0
  br i1 %483, label %484, label %.thread381

484:                                              ; preds = %479
  %485 = icmp ult i64 %.0225486, %6
  br i1 %485, label %486, label %.thread379

486:                                              ; preds = %484
  %487 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0225486) #8
  %488 = load ptr, ptr %487, align 8, !tbaa !23
  %489 = icmp eq ptr %488, null
  br i1 %489, label %.thread379, label %492

490:                                              ; preds = %.lr.ph487
  %491 = landingpad { ptr, i32 }
          cleanup
  br label %648

492:                                              ; preds = %486
  %493 = call ptr @__dynamic_cast(ptr nonnull %488, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  %.not331 = icmp eq ptr %493, null
  br i1 %.not331, label %.thread379, label %494

494:                                              ; preds = %492
  %495 = add nsw i32 %.10293484, 1
  %496 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0225486) #8
  %497 = load ptr, ptr %496, align 8, !tbaa !23
  %498 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %497)
  %499 = fadd double %.9266485, %498
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #8
  %500 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0225486) #8
  %501 = load ptr, ptr %500, align 8, !tbaa !23
  %502 = icmp eq ptr %501, null
  br i1 %502, label %505, label %503

503:                                              ; preds = %494
  %504 = call ptr @__dynamic_cast(ptr nonnull %501, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI4Pore, i64 0) #8
  br label %505

505:                                              ; preds = %494, %503
  %506 = phi ptr [ %504, %503 ], [ null, %494 ]
  store ptr %506, ptr %38, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %507 unwind label %508

507:                                              ; preds = %505
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #8
  br label %.thread381

508:                                              ; preds = %505
  %509 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #8
  br label %648

.thread379:                                       ; preds = %486, %492, %484
  %510 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0225486) #8
  %511 = load ptr, ptr %510, align 8, !tbaa !23
  %512 = icmp eq ptr %511, null
  br i1 %512, label %.thread381, label %513

513:                                              ; preds = %.thread379
  %514 = call ptr @__dynamic_cast(ptr nonnull %511, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI6Throat, i64 0) #8
  %.not332 = icmp eq ptr %514, null
  br i1 %.not332, label %.thread381, label %515

515:                                              ; preds = %513
  %516 = add nsw i32 %.10293484, 1
  %517 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0225486) #8
  %518 = load ptr, ptr %517, align 8, !tbaa !23
  %519 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %518)
  %520 = fadd double %.9266485, %519
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #8
  %521 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP4ElemSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0225486) #8
  %522 = load ptr, ptr %521, align 8, !tbaa !23
  %523 = icmp eq ptr %522, null
  br i1 %523, label %526, label %524

524:                                              ; preds = %515
  %525 = call ptr @__dynamic_cast(ptr nonnull %522, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI6Throat, i64 0) #8
  br label %526

526:                                              ; preds = %515, %524
  %527 = phi ptr [ %525, %524 ], [ null, %515 ]
  store ptr %527, ptr %39, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %528 unwind label %529

528:                                              ; preds = %526
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %.thread381

529:                                              ; preds = %526
  %530 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %648

.thread381:                                       ; preds = %.thread379, %479, %513, %528, %507
  %.11294 = phi i32 [ %495, %507 ], [ %516, %528 ], [ %.10293484, %513 ], [ %.10293484, %479 ], [ %.10293484, %.thread379 ]
  %.10267 = phi double [ %499, %507 ], [ %520, %528 ], [ %.9266485, %513 ], [ %.9266485, %479 ], [ %.9266485, %.thread379 ]
  %531 = add nuw i64 %.0225486, 1
  %532 = call noundef i64 @_ZNKSt6vectorIP4ElemSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %533 = icmp ult i64 %531, %532
  br i1 %533, label %.lr.ph487, label %.loopexit, !llvm.loop !34

.loopexit:                                        ; preds = %.thread381, %.thread377, %.preheader385, %.preheader
  %.12295 = phi i32 [ 0, %.preheader ], [ 0, %.preheader385 ], [ %.9292, %.thread377 ], [ %.11294, %.thread381 ]
  %.11268 = phi double [ 0.000000e+00, %.preheader ], [ 0.000000e+00, %.preheader385 ], [ %.8265, %.thread377 ], [ %.10267, %.thread381 ]
  %534 = getelementptr inbounds i8, ptr %0, i64 24
  %535 = load ptr, ptr %534, align 8, !tbaa !12
  %536 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %535, ptr noundef nonnull @.str.6)
          to label %537 unwind label %542

537:                                              ; preds = %.loopexit
  %538 = add nsw i32 %.1282, -1
  %539 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %536, i32 noundef %538)
          to label %540 unwind label %542

540:                                              ; preds = %537
  %541 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %539, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.critedge64 unwind label %542

542:                                              ; preds = %540, %537, %.loopexit
  %543 = landingpad { ptr, i32 }
          cleanup
  br label %648

544:                                              ; preds = %256
  %545 = load double, ptr %8, align 8, !tbaa !5
  %546 = call noundef i64 @_ZNKSt6vectorIP4PoreSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %547 = uitofp i64 %546 to double
  %548 = fmul double %545, %547
  %549 = fptosi double %548 to i32
  %550 = call noundef zeroext i1 @_ZNKSt6vectorIP4PoreSaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br i1 %550, label %.critedge64, label %.lr.ph447

.lr.ph447:                                        ; preds = %544
  %551 = trunc nuw i8 %.1 to i1
  br label %552

552:                                              ; preds = %.lr.ph447, %._crit_edge442
  %.12269445 = phi double [ 0.000000e+00, %.lr.ph447 ], [ %.13270.lcssa, %._crit_edge442 ]
  %.13296444 = phi i32 [ 0, %.lr.ph447 ], [ %556, %._crit_edge442 ]
  %553 = fdiv double %.12269445, %.0253.lcssa
  %554 = fcmp uge double %553, %.0298
  %555 = icmp sge i32 %.13296444, %549
  %or.cond366 = select i1 %551, i1 %554, i1 %555
  br i1 %or.cond366, label %.critedge64, label %.critedge66

.critedge66:                                      ; preds = %552
  %556 = add nuw nsw i32 %.13296444, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #8
  %557 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4PoreSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %558 = load ptr, ptr %557, align 8, !tbaa !23
  store ptr %558, ptr %40, align 8, !tbaa !23
  call void @_ZNSt6vectorIP4PoreSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %559 = load ptr, ptr %40, align 8, !tbaa !23
  %560 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %559)
  %561 = fadd double %.12269445, %560
  invoke void @_ZNSt6vectorIP4PoreSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %562 unwind label %575

562:                                              ; preds = %.critedge66
  %563 = load ptr, ptr %40, align 8, !tbaa !23
  %564 = load ptr, ptr %563, align 8, !tbaa !9
  %565 = getelementptr inbounds i8, ptr %564, i64 96
  %566 = load ptr, ptr %565, align 8
  %567 = invoke noundef i32 %566(ptr noundef nonnull align 8 dereferenceable(408) %563)
          to label %568 unwind label %577

568:                                              ; preds = %562
  %569 = sext i32 %567 to i64
  %570 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %569) #8
  store i32 1, ptr %570, align 4, !tbaa !27
  %571 = load ptr, ptr %40, align 8, !tbaa !23
  %572 = call noundef i32 @_ZNK4Elem6nCnctsEv(ptr noundef nonnull align 8 dereferenceable(408) %571)
  %573 = icmp sgt i32 %572, 0
  br i1 %573, label %.lr.ph441, label %._crit_edge442

._crit_edge442:                                   ; preds = %.thread383, %568
  %.13270.lcssa = phi double [ %561, %568 ], [ %.15272, %.thread383 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #8
  %574 = call noundef zeroext i1 @_ZNKSt6vectorIP4PoreSaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br i1 %574, label %.critedge64, label %552, !llvm.loop !35

575:                                              ; preds = %.critedge66
  %576 = landingpad { ptr, i32 }
          cleanup
  br label %621

577:                                              ; preds = %562
  %578 = landingpad { ptr, i32 }
          cleanup
  br label %621

.lr.ph441:                                        ; preds = %568, %.thread383
  %.0221439 = phi i32 [ %616, %.thread383 ], [ 0, %568 ]
  %.13270438 = phi double [ %.15272, %.thread383 ], [ %561, %568 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #8
  %579 = load ptr, ptr %40, align 8, !tbaa !23
  %580 = call noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %579, i32 noundef %.0221439)
  %581 = icmp eq ptr %580, null
  br i1 %581, label %.thread383, label %584

582:                                              ; preds = %586
  %583 = landingpad { ptr, i32 }
          cleanup
  br label %620

584:                                              ; preds = %.lr.ph441
  %585 = call ptr @__dynamic_cast(ptr nonnull %580, ptr nonnull @_ZTI4Elem, ptr nonnull @_ZTI6Throat, i64 0) #8
  store ptr %585, ptr %41, align 8, !tbaa !23
  %.not = icmp eq ptr %585, null
  br i1 %.not, label %.thread383, label %586

586:                                              ; preds = %584
  %587 = load ptr, ptr %585, align 8, !tbaa !9
  %588 = getelementptr inbounds i8, ptr %587, i64 96
  %589 = load ptr, ptr %588, align 8
  %590 = invoke noundef i32 %589(ptr noundef nonnull align 8 dereferenceable(456) %585)
          to label %591 unwind label %582

591:                                              ; preds = %586
  %592 = sext i32 %590 to i64
  %593 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %592) #8
  %594 = load i32, ptr %593, align 4, !tbaa !27
  %595 = icmp eq i32 %594, 0
  br i1 %595, label %596, label %.thread383

596:                                              ; preds = %591
  %597 = invoke noundef double @_ZNK16NetworkTransform6rand01Ev(ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %598 unwind label %614

598:                                              ; preds = %596
  %599 = load double, ptr %8, align 8, !tbaa !5
  %600 = fcmp olt double %597, %599
  br i1 %600, label %601, label %.thread383

601:                                              ; preds = %598
  invoke void @_ZNSt6vectorIP6ThroatSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %602 unwind label %614

602:                                              ; preds = %601
  %603 = load ptr, ptr %41, align 8, !tbaa !23
  %604 = load ptr, ptr %603, align 8, !tbaa !9
  %605 = getelementptr inbounds i8, ptr %604, i64 96
  %606 = load ptr, ptr %605, align 8
  %607 = invoke noundef i32 %606(ptr noundef nonnull align 8 dereferenceable(456) %603)
          to label %608 unwind label %614

608:                                              ; preds = %602
  %609 = sext i32 %607 to i64
  %610 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %609) #8
  store i32 1, ptr %610, align 4, !tbaa !27
  %611 = load ptr, ptr %41, align 8, !tbaa !23
  %612 = call noundef double @_ZNK4Elem10flowVolumeEv(ptr noundef nonnull align 8 dereferenceable(408) %611)
  %613 = fadd double %.13270438, %612
  br label %.thread383

614:                                              ; preds = %602, %601, %596
  %615 = landingpad { ptr, i32 }
          cleanup
  br label %620

.thread383:                                       ; preds = %.lr.ph441, %598, %608, %591, %584
  %.15272 = phi double [ %.13270438, %591 ], [ %.13270438, %584 ], [ %613, %608 ], [ %.13270438, %598 ], [ %.13270438, %.lr.ph441 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #8
  %616 = add nuw nsw i32 %.0221439, 1
  %617 = load ptr, ptr %40, align 8, !tbaa !23
  %618 = call noundef i32 @_ZNK4Elem6nCnctsEv(ptr noundef nonnull align 8 dereferenceable(408) %617)
  %619 = icmp slt i32 %616, %618
  br i1 %619, label %.lr.ph441, label %._crit_edge442, !llvm.loop !36

620:                                              ; preds = %614, %582
  %.pn327 = phi { ptr, i32 } [ %615, %614 ], [ %583, %582 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #8
  br label %621

621:                                              ; preds = %577, %620, %575
  %.pn327.pn.pn = phi { ptr, i32 } [ %576, %575 ], [ %.pn327, %620 ], [ %578, %577 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #8
  br label %648

.critedge64:                                      ; preds = %552, %._crit_edge442, %544, %540
  %.14297 = phi i32 [ %.12295, %540 ], [ 0, %544 ], [ %.13296444, %552 ], [ %556, %._crit_edge442 ]
  %.16273 = phi double [ %.11268, %540 ], [ 0.000000e+00, %544 ], [ %.12269445, %552 ], [ %.13270.lcssa, %._crit_edge442 ]
  %622 = getelementptr inbounds i8, ptr %0, i64 24
  %623 = load ptr, ptr %622, align 8, !tbaa !12
  %624 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %623, ptr noundef nonnull @.str.7)
          to label %625 unwind label %293

625:                                              ; preds = %.critedge64
  %626 = fdiv double %.16273, %.0253.lcssa
  %627 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %624, double noundef %626)
          to label %628 unwind label %293

628:                                              ; preds = %625
  %629 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %627, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %630 unwind label %293

630:                                              ; preds = %628
  %631 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %629, ptr noundef nonnull @.str.8)
          to label %632 unwind label %293

632:                                              ; preds = %630
  %633 = fdiv double %.16273, %.0255.lcssa
  %634 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %631, double noundef %633)
          to label %635 unwind label %293

635:                                              ; preds = %632
  %636 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %634, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %637 unwind label %293

637:                                              ; preds = %635
  %638 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %636, ptr noundef nonnull @.str.9)
          to label %639 unwind label %293

639:                                              ; preds = %637
  %640 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %638, i32 noundef %.14297)
          to label %641 unwind label %293

641:                                              ; preds = %639
  %642 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %640, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %643 unwind label %293

643:                                              ; preds = %641
  %644 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %642, ptr noundef nonnull @.str.10)
          to label %645 unwind label %293

645:                                              ; preds = %643
  %646 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %644, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %647 unwind label %293

647:                                              ; preds = %645
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %664

648:                                              ; preds = %409, %542, %468, %447, %429, %529, %508, %490, %621, %293
  %.pn345.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %294, %293 ], [ %.pn327.pn.pn, %621 ], [ %.pn345.pn.pn.pn, %409 ], [ %543, %542 ], [ %448, %447 ], [ %469, %468 ], [ %430, %429 ], [ %509, %508 ], [ %530, %529 ], [ %491, %490 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  br label %649

649:                                              ; preds = %648, %291
  %.pn345.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn345.pn.pn.pn.pn.pn, %648 ], [ %292, %291 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %665

650:                                              ; preds = %246
  %651 = getelementptr inbounds i8, ptr %0, i64 24
  %652 = load ptr, ptr %651, align 8, !tbaa !12
  %653 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %652, ptr noundef nonnull @.str.11)
          to label %654 unwind label %662

654:                                              ; preds = %650
  %655 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %653, double noundef %247)
          to label %656 unwind label %662

656:                                              ; preds = %654
  %657 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %655, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %658 unwind label %662

658:                                              ; preds = %656
  %659 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513) %657, ptr noundef nonnull @.str.12)
          to label %660 unwind label %662

660:                                              ; preds = %658
  %661 = invoke noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513) %659, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %664 unwind label %662

662:                                              ; preds = %660, %658, %656, %654, %650
  %663 = landingpad { ptr, i32 }
          cleanup
  br label %665

664:                                              ; preds = %660, %647
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @_ZNSt6vectorIP4PoreSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @_ZN11WeibulParamD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  ret void

665:                                              ; preds = %649, %662, %223, %221, %220, %200
  %.pn356 = phi { ptr, i32 } [ %201, %200 ], [ %224, %223 ], [ %222, %221 ], [ %.pn324, %220 ], [ %.pn345.pn.pn.pn.pn.pn.pn, %649 ], [ %663, %662 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  br label %666

666:                                              ; preds = %665, %184
  %.pn356.pn = phi { ptr, i32 } [ %.pn356, %665 ], [ %185, %184 ]
  call void @_ZNSt6vectorIP4PoreSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  br label %667

667:                                              ; preds = %666, %175, %174, %105, %83, %64
  %.pn356.pn.pn = phi { ptr, i32 } [ %.pn356.pn, %666 ], [ %176, %175 ], [ %.pn.pn, %174 ], [ %65, %64 ], [ %106, %105 ], [ %84, %83 ]
  call void @_ZN11WeibulParamD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #8
  br label %668

668:                                              ; preds = %667, %62
  %.pn356.pn.pn.pn = phi { ptr, i32 } [ %.pn356.pn.pn, %667 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %669

669:                                              ; preds = %668, %60
  %.pn356.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn356.pn.pn.pn, %668 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  resume { ptr, i32 } %.pn356.pn.pn.pn.pn
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11WeibulParamC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIPKcEERS_T_(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16NetworkTransform9randfieldIiEESt6vectorIT_SaIS2_EEmR11WeibulParamRS_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.9") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIP4ElemSt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK16NetworkTransform6rand01Ev(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(513) ptr @_ZN7mstreamlsIdEERS_T_(ptr noundef nonnull align 8 dereferenceable(513), double noundef) local_unnamed_addr #0 align 2

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { mustprogress nofree nounwind willreturn memory(read) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !18, i64 24}
!13 = !{!"_ZTS16NetworkTransform", !14, i64 0, !16, i64 8, !18, i64 24}
!14 = !{!"_ZTSSt26linear_congruential_engineImLm16807ELm0ELm2147483647EE", !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt25uniform_real_distributionIdE", !17, i64 0}
!17 = !{!"_ZTSNSt25uniform_real_distributionIdE10param_typeE", !6, i64 0, !6, i64 8}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!20, !6, i64 8}
!20 = !{!"_ZTS11WeibulParam", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !21, i64 32}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !15, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !18, i64 0}
!23 = !{!18, !18, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!28, !28, i64 0}
!28 = !{!"int", !7, i64 0}
!29 = distinct !{!29, !25}
!30 = distinct !{!30, !25}
!31 = distinct !{!31, !25}
!32 = distinct !{!32, !25}
!33 = distinct !{!33, !25}
!34 = distinct !{!34, !25}
!35 = distinct !{!35, !25}
!36 = distinct !{!36, !25}


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