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

; 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::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.39" = type { i8 }
%class.var3 = type { double, double, double }

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

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) #0

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(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 #2 align 2

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

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

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

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

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

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

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

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

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

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

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

85:                                               ; preds = %15
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #3
  %86 = load ptr, ptr %17, align 8, !tbaa !5
  %87 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #3
  store float -1.000000e+00, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %87, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %88 unwind label %128

88:                                               ; preds = %85
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #3
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #3
  store float -1.000000e+00, ptr %43, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %90, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %91 unwind label %132

91:                                               ; preds = %88
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #3
  %92 = load ptr, ptr %17, align 8, !tbaa !5
  %93 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %92) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #3
  store float -1.000000e+00, ptr %46, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %93, ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %94 unwind label %136

94:                                               ; preds = %91
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #3
  %95 = load ptr, ptr %17, align 8, !tbaa !5
  %96 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #3
  store float -1.000000e+00, ptr %49, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %96, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %97 unwind label %140

97:                                               ; preds = %94
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #3
  %98 = load ptr, ptr %17, align 8, !tbaa !5
  %99 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #3
  store float -1.000000e+00, ptr %52, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %99, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %100 unwind label %144

100:                                              ; preds = %97
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #3
  %101 = load ptr, ptr %17, align 8, !tbaa !5
  %102 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #3
  store float -1.000000e+00, ptr %55, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %102, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %103 unwind label %148

103:                                              ; preds = %100
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #3
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %104) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #3
  store float -1.000000e+00, ptr %58, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %105, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %106 unwind label %152

106:                                              ; preds = %103
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #3
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #3
  store float -1.000000e+00, ptr %61, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %108, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %109 unwind label %156

109:                                              ; preds = %106
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #3
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #3
  store float -5.000000e-01, ptr %64, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %65) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %111, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %112 unwind label %160

112:                                              ; preds = %109
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %66) #3
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #3
  store float -1.000000e+00, ptr %67, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %114, ptr noundef nonnull align 4 dereferenceable(4) %67, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %115 unwind label %164

115:                                              ; preds = %112
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #3
  %116 = load i32, ptr %30, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  store i64 %117, ptr %69, align 8, !tbaa !13
  br label %118

118:                                              ; preds = %323, %115
  %119 = load i64, ptr %69, align 8, !tbaa !13
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  %121 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #3
  %122 = icmp ult i64 %119, %121
  br i1 %122, label %168, label %123

123:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #3
  br label %329

124:                                              ; preds = %15
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %37, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  br label %441

128:                                              ; preds = %85
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %37, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #3
  br label %440

132:                                              ; preds = %88
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %37, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #3
  br label %439

136:                                              ; preds = %91
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %37, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #3
  br label %438

140:                                              ; preds = %94
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %37, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #3
  br label %437

144:                                              ; preds = %97
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %37, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #3
  br label %436

148:                                              ; preds = %100
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %37, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #3
  br label %435

152:                                              ; preds = %103
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %37, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #3
  br label %434

156:                                              ; preds = %106
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %37, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #3
  br label %433

160:                                              ; preds = %109
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %37, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #3
  br label %432

164:                                              ; preds = %112
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %37, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %38, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #3
  br label %431

168:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #3
  %169 = load ptr, ptr %17, align 8, !tbaa !5
  %170 = load i64, ptr %69, align 8, !tbaa !13
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK4ElemSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %170) #3
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  store ptr %172, ptr %70, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #3
  %173 = load ptr, ptr %70, align 8, !tbaa !5
  %174 = invoke noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %173, i32 noundef 0)
          to label %175 unwind label %288

175:                                              ; preds = %168
  store ptr %174, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #3
  %176 = load ptr, ptr %70, align 8, !tbaa !5
  %177 = invoke noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %176, i32 noundef 1)
          to label %178 unwind label %292

178:                                              ; preds = %175
  store ptr %177, ptr %72, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #3
  store double -1.000000e+01, ptr %73, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #3
  store double -1.000000e+01, ptr %74, align 8, !tbaa !15
  %179 = load ptr, ptr %70, align 8, !tbaa !5
  %180 = load ptr, ptr %33, align 8, !tbaa !5
  %181 = load ptr, ptr %71, align 8, !tbaa !5
  %182 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %181)
          to label %183 unwind label %296

183:                                              ; preds = %178
  %184 = getelementptr inbounds %class.var3, ptr %182, i32 0, i32 0
  %185 = load double, ptr %184, align 8, !tbaa !17
  %186 = load ptr, ptr %72, align 8, !tbaa !5
  %187 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %186)
          to label %188 unwind label %296

188:                                              ; preds = %183
  %189 = getelementptr inbounds %class.var3, ptr %187, i32 0, i32 0
  %190 = load double, ptr %189, align 8, !tbaa !17
  %191 = fadd double %185, %190
  %192 = fmul double 5.000000e-01, %191
  %193 = load ptr, ptr %179, align 8, !tbaa !19
  %194 = getelementptr inbounds ptr, ptr %193, i64 5
  %195 = load ptr, ptr %194, align 8
  %196 = invoke noundef zeroext i1 %195(ptr noundef nonnull align 8 dereferenceable(408) %179, ptr noundef nonnull align 8 dereferenceable(80) %180, double noundef %192, ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %197 unwind label %296

197:                                              ; preds = %188
  %198 = load double, ptr %74, align 8, !tbaa !15
  %199 = fptrunc double %198 to float
  %200 = load i64, ptr %69, align 8, !tbaa !13
  %201 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %200) #3
  store float %199, ptr %201, align 4, !tbaa !11
  %202 = load double, ptr %73, align 8, !tbaa !15
  %203 = fptrunc double %202 to float
  %204 = load i64, ptr %69, align 8, !tbaa !13
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %204) #3
  store float %203, ptr %205, align 4, !tbaa !11
  %206 = load ptr, ptr %70, align 8, !tbaa !5
  %207 = load ptr, ptr %31, align 8, !tbaa !5
  %208 = load ptr, ptr %71, align 8, !tbaa !5
  %209 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %208)
          to label %210 unwind label %296

210:                                              ; preds = %197
  %211 = getelementptr inbounds %class.var3, ptr %209, i32 0, i32 0
  %212 = load double, ptr %211, align 8, !tbaa !17
  %213 = load ptr, ptr %72, align 8, !tbaa !5
  %214 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %213)
          to label %215 unwind label %296

215:                                              ; preds = %210
  %216 = getelementptr inbounds %class.var3, ptr %214, i32 0, i32 0
  %217 = load double, ptr %216, align 8, !tbaa !17
  %218 = fadd double %212, %217
  %219 = fmul double 5.000000e-01, %218
  %220 = load ptr, ptr %206, align 8, !tbaa !19
  %221 = getelementptr inbounds ptr, ptr %220, i64 5
  %222 = load ptr, ptr %221, align 8
  %223 = invoke noundef zeroext i1 %222(ptr noundef nonnull align 8 dereferenceable(408) %206, ptr noundef nonnull align 8 dereferenceable(80) %207, double noundef %219, ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %224 unwind label %296

224:                                              ; preds = %215
  %225 = load double, ptr %74, align 8, !tbaa !15
  %226 = fptrunc double %225 to float
  %227 = load i64, ptr %69, align 8, !tbaa !13
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %227) #3
  store float %226, ptr %228, align 4, !tbaa !11
  %229 = load double, ptr %73, align 8, !tbaa !15
  %230 = fptrunc double %229 to float
  %231 = load i64, ptr %69, align 8, !tbaa !13
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %231) #3
  store float %230, ptr %232, align 4, !tbaa !11
  %233 = load ptr, ptr %70, align 8, !tbaa !5
  %234 = invoke noundef i32 @_ZNK4Elem9rockIndexEv(ptr noundef nonnull align 8 dereferenceable(408) %233)
          to label %235 unwind label %296

235:                                              ; preds = %224
  %236 = sitofp i32 %234 to float
  %237 = load i64, ptr %69, align 8, !tbaa !13
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %237) #3
  store float %236, ptr %238, align 4, !tbaa !11
  %239 = load ptr, ptr %70, align 8, !tbaa !5
  %240 = load ptr, ptr %32, align 8, !tbaa !5
  %241 = load ptr, ptr %71, align 8, !tbaa !5
  %242 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %241)
          to label %243 unwind label %296

243:                                              ; preds = %235
  %244 = getelementptr inbounds %class.var3, ptr %242, i32 0, i32 0
  %245 = load double, ptr %244, align 8, !tbaa !17
  %246 = load ptr, ptr %72, align 8, !tbaa !5
  %247 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %246)
          to label %248 unwind label %296

248:                                              ; preds = %243
  %249 = getelementptr inbounds %class.var3, ptr %247, i32 0, i32 0
  %250 = load double, ptr %249, align 8, !tbaa !17
  %251 = fadd double %245, %250
  %252 = fmul double 5.000000e-01, %251
  %253 = load ptr, ptr %239, align 8, !tbaa !19
  %254 = getelementptr inbounds ptr, ptr %253, i64 5
  %255 = load ptr, ptr %254, align 8
  %256 = invoke noundef zeroext i1 %255(ptr noundef nonnull align 8 dereferenceable(408) %239, ptr noundef nonnull align 8 dereferenceable(80) %240, double noundef %252, ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %257 unwind label %296

257:                                              ; preds = %248
  %258 = load double, ptr %74, align 8, !tbaa !15
  %259 = fptrunc double %258 to float
  %260 = load i64, ptr %69, align 8, !tbaa !13
  %261 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %260) #3
  store float %259, ptr %261, align 4, !tbaa !11
  %262 = load double, ptr %73, align 8, !tbaa !15
  %263 = fptrunc double %262 to float
  %264 = load i64, ptr %69, align 8, !tbaa !13
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %264) #3
  store float %263, ptr %265, align 4, !tbaa !11
  %266 = load ptr, ptr %70, align 8, !tbaa !5
  %267 = invoke noundef ptr @_ZNK4Elem5modelEv(ptr noundef nonnull align 8 dereferenceable(408) %266)
          to label %268 unwind label %296

268:                                              ; preds = %257
  %269 = invoke noundef double @_ZNK9ElemModel16Pc_pistonTypeAdvEv(ptr noundef nonnull align 8 dereferenceable(152) %267)
          to label %270 unwind label %296

270:                                              ; preds = %268
  %271 = fptrunc double %269 to float
  %272 = load i64, ptr %69, align 8, !tbaa !13
  %273 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %272) #3
  store float %271, ptr %273, align 4, !tbaa !11
  %274 = load ptr, ptr %70, align 8, !tbaa !5
  %275 = invoke noundef double @_ZNK4Apex23gravCorrectedEntryPressEv(ptr noundef nonnull align 8 dereferenceable(104) %274)
          to label %276 unwind label %296

276:                                              ; preds = %270
  %277 = fptrunc double %275 to float
  %278 = load i64, ptr %69, align 8, !tbaa !13
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %278) #3
  store float %277, ptr %279, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #3
  %280 = load ptr, ptr %70, align 8, !tbaa !5
  %281 = invoke noundef double @_ZNK4Elem15waterSaturationEv(ptr noundef nonnull align 8 dereferenceable(408) %280)
          to label %282 unwind label %300

282:                                              ; preds = %276
  %283 = fsub double 1.000000e+00, %281
  store double %283, ptr %75, align 8, !tbaa !15
  %284 = load ptr, ptr %71, align 8, !tbaa !5
  %285 = invoke noundef zeroext i1 @_ZNK4Elem16isEntryOrExitResEv(ptr noundef nonnull align 8 dereferenceable(408) %284)
          to label %286 unwind label %300

286:                                              ; preds = %282
  br i1 %285, label %287, label %304

287:                                              ; preds = %286
  store double 1.000000e+00, ptr %75, align 8, !tbaa !15
  br label %310

288:                                              ; preds = %168
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %37, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %38, align 4
  br label %328

292:                                              ; preds = %175
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %37, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %38, align 4
  br label %327

296:                                              ; preds = %270, %268, %257, %248, %243, %235, %224, %215, %210, %197, %188, %183, %178
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %37, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %38, align 4
  br label %326

300:                                              ; preds = %317, %310, %304, %282, %276
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %37, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #3
  br label %326

304:                                              ; preds = %286
  %305 = load ptr, ptr %72, align 8, !tbaa !5
  %306 = invoke noundef zeroext i1 @_ZNK4Elem16isEntryOrExitResEv(ptr noundef nonnull align 8 dereferenceable(408) %305)
          to label %307 unwind label %300

307:                                              ; preds = %304
  br i1 %306, label %308, label %309

308:                                              ; preds = %307
  store double 1.000000e+00, ptr %75, align 8, !tbaa !15
  br label %309

309:                                              ; preds = %308, %307
  br label %310

310:                                              ; preds = %309, %287
  %311 = load double, ptr %75, align 8, !tbaa !15
  %312 = fptrunc double %311 to float
  %313 = load i64, ptr %69, align 8, !tbaa !13
  %314 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %313) #3
  store float %312, ptr %314, align 4, !tbaa !11
  %315 = load ptr, ptr %70, align 8, !tbaa !5
  %316 = invoke noundef ptr @_ZNK4Elem5modelEv(ptr noundef nonnull align 8 dereferenceable(408) %315)
          to label %317 unwind label %300

317:                                              ; preds = %310
  %318 = invoke noundef double @_ZNK9ElemModel3RRREv(ptr noundef nonnull align 8 dereferenceable(152) %316)
          to label %319 unwind label %300

319:                                              ; preds = %317
  %320 = fptrunc double %318 to float
  %321 = load i64, ptr %69, align 8, !tbaa !13
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %321) #3
  store float %320, ptr %322, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #3
  br label %323

323:                                              ; preds = %319
  %324 = load i64, ptr %69, align 8, !tbaa !13
  %325 = add i64 %324, 1
  store i64 %325, ptr %69, align 8, !tbaa !13
  br label %118, !llvm.loop !21

326:                                              ; preds = %300, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #3
  br label %327

327:                                              ; preds = %326, %292
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #3
  br label %328

328:                                              ; preds = %327, %288
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #3
  br label %431

329:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #3
  store i64 0, ptr %76, align 8, !tbaa !13
  br label %330

330:                                              ; preds = %427, %329
  %331 = load i64, ptr %76, align 8, !tbaa !13
  %332 = load ptr, ptr %18, align 8, !tbaa !5
  %333 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %332) #3
  %334 = icmp ult i64 %331, %333
  br i1 %334, label %336, label %335

335:                                              ; preds = %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #3
  br label %430

336:                                              ; preds = %330
  %337 = load ptr, ptr %18, align 8, !tbaa !5
  %338 = load i64, ptr %76, align 8, !tbaa !13
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %337, i64 noundef %338) #3
  %340 = load i64, ptr %339, align 8, !tbaa !13
  %341 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %340) #3
  %342 = load float, ptr %341, align 4, !tbaa !11
  %343 = load ptr, ptr %20, align 8, !tbaa !5
  %344 = load i64, ptr %76, align 8, !tbaa !13
  %345 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %343, i64 noundef %344) #3
  store float %342, ptr %345, align 4, !tbaa !11
  %346 = load ptr, ptr %18, align 8, !tbaa !5
  %347 = load i64, ptr %76, align 8, !tbaa !13
  %348 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %346, i64 noundef %347) #3
  %349 = load i64, ptr %348, align 8, !tbaa !13
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %349) #3
  %351 = load float, ptr %350, align 4, !tbaa !11
  %352 = load ptr, ptr %21, align 8, !tbaa !5
  %353 = load i64, ptr %76, align 8, !tbaa !13
  %354 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %352, i64 noundef %353) #3
  store float %351, ptr %354, align 4, !tbaa !11
  %355 = load ptr, ptr %18, align 8, !tbaa !5
  %356 = load i64, ptr %76, align 8, !tbaa !13
  %357 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %355, i64 noundef %356) #3
  %358 = load i64, ptr %357, align 8, !tbaa !13
  %359 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %358) #3
  %360 = load float, ptr %359, align 4, !tbaa !11
  %361 = load ptr, ptr %22, align 8, !tbaa !5
  %362 = load i64, ptr %76, align 8, !tbaa !13
  %363 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %361, i64 noundef %362) #3
  store float %360, ptr %363, align 4, !tbaa !11
  %364 = load ptr, ptr %18, align 8, !tbaa !5
  %365 = load i64, ptr %76, align 8, !tbaa !13
  %366 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %364, i64 noundef %365) #3
  %367 = load i64, ptr %366, align 8, !tbaa !13
  %368 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %367) #3
  %369 = load float, ptr %368, align 4, !tbaa !11
  %370 = load ptr, ptr %24, align 8, !tbaa !5
  %371 = load i64, ptr %76, align 8, !tbaa !13
  %372 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %370, i64 noundef %371) #3
  store float %369, ptr %372, align 4, !tbaa !11
  %373 = load ptr, ptr %18, align 8, !tbaa !5
  %374 = load i64, ptr %76, align 8, !tbaa !13
  %375 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %373, i64 noundef %374) #3
  %376 = load i64, ptr %375, align 8, !tbaa !13
  %377 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %376) #3
  %378 = load float, ptr %377, align 4, !tbaa !11
  %379 = load ptr, ptr %25, align 8, !tbaa !5
  %380 = load i64, ptr %76, align 8, !tbaa !13
  %381 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %379, i64 noundef %380) #3
  store float %378, ptr %381, align 4, !tbaa !11
  %382 = load ptr, ptr %18, align 8, !tbaa !5
  %383 = load i64, ptr %76, align 8, !tbaa !13
  %384 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %382, i64 noundef %383) #3
  %385 = load i64, ptr %384, align 8, !tbaa !13
  %386 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %385) #3
  %387 = load float, ptr %386, align 4, !tbaa !11
  %388 = load ptr, ptr %26, align 8, !tbaa !5
  %389 = load i64, ptr %76, align 8, !tbaa !13
  %390 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %388, i64 noundef %389) #3
  store float %387, ptr %390, align 4, !tbaa !11
  %391 = load ptr, ptr %18, align 8, !tbaa !5
  %392 = load i64, ptr %76, align 8, !tbaa !13
  %393 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %391, i64 noundef %392) #3
  %394 = load i64, ptr %393, align 8, !tbaa !13
  %395 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %394) #3
  %396 = load float, ptr %395, align 4, !tbaa !11
  %397 = load ptr, ptr %27, align 8, !tbaa !5
  %398 = load i64, ptr %76, align 8, !tbaa !13
  %399 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %397, i64 noundef %398) #3
  store float %396, ptr %399, align 4, !tbaa !11
  %400 = load ptr, ptr %18, align 8, !tbaa !5
  %401 = load i64, ptr %76, align 8, !tbaa !13
  %402 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %400, i64 noundef %401) #3
  %403 = load i64, ptr %402, align 8, !tbaa !13
  %404 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %403) #3
  %405 = load float, ptr %404, align 4, !tbaa !11
  %406 = load ptr, ptr %28, align 8, !tbaa !5
  %407 = load i64, ptr %76, align 8, !tbaa !13
  %408 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %406, i64 noundef %407) #3
  store float %405, ptr %408, align 4, !tbaa !11
  %409 = load ptr, ptr %18, align 8, !tbaa !5
  %410 = load i64, ptr %76, align 8, !tbaa !13
  %411 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %409, i64 noundef %410) #3
  %412 = load i64, ptr %411, align 8, !tbaa !13
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %412) #3
  %414 = load float, ptr %413, align 4, !tbaa !11
  %415 = load ptr, ptr %29, align 8, !tbaa !5
  %416 = load i64, ptr %76, align 8, !tbaa !13
  %417 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %415, i64 noundef %416) #3
  store float %414, ptr %417, align 4, !tbaa !11
  %418 = load ptr, ptr %18, align 8, !tbaa !5
  %419 = load i64, ptr %76, align 8, !tbaa !13
  %420 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %418, i64 noundef %419) #3
  %421 = load i64, ptr %420, align 8, !tbaa !13
  %422 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %421) #3
  %423 = load float, ptr %422, align 4, !tbaa !11
  %424 = load ptr, ptr %19, align 8, !tbaa !5
  %425 = load i64, ptr %76, align 8, !tbaa !13
  %426 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %424, i64 noundef %425) #3
  store float %423, ptr %426, align 4, !tbaa !11
  br label %427

427:                                              ; preds = %336
  %428 = load i64, ptr %76, align 8, !tbaa !13
  %429 = add i64 %428, 1
  store i64 %429, ptr %76, align 8, !tbaa !13
  br label %330, !llvm.loop !23

430:                                              ; preds = %335
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  ret void

431:                                              ; preds = %328, %164
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #3
  br label %432

432:                                              ; preds = %431, %160
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #3
  br label %433

433:                                              ; preds = %432, %156
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #3
  br label %434

434:                                              ; preds = %433, %152
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #3
  br label %435

435:                                              ; preds = %434, %148
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #3
  br label %436

436:                                              ; preds = %435, %144
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #3
  br label %437

437:                                              ; preds = %436, %140
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #3
  br label %438

438:                                              ; preds = %437, %136
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #3
  br label %439

439:                                              ; preds = %438, %132
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #3
  br label %440

440:                                              ; preds = %439, %128
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #3
  br label %441

441:                                              ; preds = %440, %124
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  br label %442

442:                                              ; preds = %441
  %443 = load ptr, ptr %37, align 8
  %444 = load i32, ptr %38, align 4
  %445 = insertvalue { ptr, i32 } poison, ptr %443, 0
  %446 = insertvalue { ptr, i32 } %445, i32 %444, 1
  resume { ptr, i32 } %446
}

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nounwind }

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

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


; 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::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.39" = type { i8 }

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

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) #0

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(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 #2 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z22getThroatSolverResultsPK7GNMDataRKSt6vectorIPK4ElemSaIS5_EERKS2_ImSaImEERS2_IfSaIfEESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_i(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nocapture noundef nonnull readnone align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef %14) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %16 = alloca %"class.std::vector.37", align 8
  %17 = alloca float, align 4
  %18 = alloca %"class.std::allocator.39", align 1
  %19 = alloca %"class.std::vector.37", align 8
  %20 = alloca float, align 4
  %21 = alloca %"class.std::allocator.39", align 1
  %22 = alloca %"class.std::vector.37", align 8
  %23 = alloca float, align 4
  %24 = alloca %"class.std::allocator.39", align 1
  %25 = alloca %"class.std::vector.37", align 8
  %26 = alloca float, align 4
  %27 = alloca %"class.std::allocator.39", align 1
  %28 = alloca %"class.std::vector.37", align 8
  %29 = alloca float, align 4
  %30 = alloca %"class.std::allocator.39", align 1
  %31 = alloca %"class.std::vector.37", align 8
  %32 = alloca float, align 4
  %33 = alloca %"class.std::allocator.39", align 1
  %34 = alloca %"class.std::vector.37", align 8
  %35 = alloca float, align 4
  %36 = alloca %"class.std::allocator.39", align 1
  %37 = alloca %"class.std::vector.37", align 8
  %38 = alloca float, align 4
  %39 = alloca %"class.std::allocator.39", align 1
  %40 = alloca %"class.std::vector.37", align 8
  %41 = alloca float, align 4
  %42 = alloca %"class.std::allocator.39", align 1
  %43 = alloca %"class.std::vector.37", align 8
  %44 = alloca float, align 4
  %45 = alloca %"class.std::allocator.39", align 1
  %46 = alloca %"class.std::vector.37", align 8
  %47 = alloca float, align 4
  %48 = alloca %"class.std::allocator.39", align 1
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK7GNMData5waterEv(ptr noundef nonnull align 8 dereferenceable(984) %0)
  %52 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK7GNMData3oilEv(ptr noundef nonnull align 8 dereferenceable(984) %0)
  %53 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK7GNMData4elecEv(ptr noundef nonnull align 8 dereferenceable(984) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #3
  %54 = tail call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #3
  store float 0.000000e+00, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %54, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %55 unwind label %80

55:                                               ; preds = %15
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #3
  %56 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #3
  store float -1.000000e+00, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %56, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %57 unwind label %82

57:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #3
  %58 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #3
  store float -1.000000e+00, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %58, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %59 unwind label %84

59:                                               ; preds = %57
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #3
  %60 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #3
  store float -1.000000e+00, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %60, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %61 unwind label %86

61:                                               ; preds = %59
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #3
  %62 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #3
  store float -1.000000e+00, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %62, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %63 unwind label %88

63:                                               ; preds = %61
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #3
  %64 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #3
  store float -1.000000e+00, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %33) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %64, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %65 unwind label %90

65:                                               ; preds = %63
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #3
  %66 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #3
  store float -1.000000e+00, ptr %35, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %66, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %67 unwind label %92

67:                                               ; preds = %65
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #3
  %68 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #3
  store float -1.000000e+00, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %39) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %68, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %69 unwind label %94

69:                                               ; preds = %67
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #3
  %70 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #3
  store float -1.000000e+00, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %42) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %70, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %71 unwind label %96

71:                                               ; preds = %69
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %43) #3
  %72 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %44) #3
  store float -5.000000e-01, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %72, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %73 unwind label %98

73:                                               ; preds = %71
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #3
  %74 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %47) #3
  store float -1.000000e+00, ptr %47, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #3
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #3
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKfRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %74, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %75 unwind label %100

75:                                               ; preds = %73
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #3
  %76 = sext i32 %14 to i64
  %77 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  %78 = icmp ugt i64 %77, %76
  br i1 %78, label %.lr.ph, label %.preheader

.preheader:                                       ; preds = %175, %75
  %79 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %.not = icmp eq i64 %79, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph124

80:                                               ; preds = %15
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #3
  br label %248

82:                                               ; preds = %55
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #3
  br label %247

84:                                               ; preds = %57
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #3
  br label %246

86:                                               ; preds = %59
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #3
  br label %245

88:                                               ; preds = %61
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #3
  br label %244

90:                                               ; preds = %63
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #3
  br label %243

92:                                               ; preds = %65
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #3
  br label %242

94:                                               ; preds = %67
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #3
  br label %241

96:                                               ; preds = %69
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #3
  br label %240

98:                                               ; preds = %71
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #3
  br label %239

100:                                              ; preds = %73
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #3
  br label %238

.lr.ph:                                           ; preds = %75, %175
  %.0110122 = phi i64 [ %182, %175 ], [ %76, %75 ]
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK4ElemSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0110122) #3
  %103 = load ptr, ptr %102, align 8, !tbaa !9
  %104 = call noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %103, i32 noundef 0)
  %105 = call noundef ptr @_ZNK4Elem4neibEi(ptr noundef nonnull align 8 dereferenceable(408) %103, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #3
  store double -1.000000e+01, ptr %49, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #3
  store double -1.000000e+01, ptr %50, align 8, !tbaa !11
  %106 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %104)
  %107 = load double, ptr %106, align 8, !tbaa !13
  %108 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %105)
  %109 = load double, ptr %108, align 8, !tbaa !13
  %110 = fadd double %107, %109
  %111 = fmul double %110, 5.000000e-01
  %112 = load ptr, ptr %103, align 8, !tbaa !15
  %113 = getelementptr inbounds i8, ptr %112, i64 40
  %114 = load ptr, ptr %113, align 8
  %115 = invoke noundef zeroext i1 %114(ptr noundef nonnull align 8 dereferenceable(408) %103, ptr noundef nonnull align 8 dereferenceable(80) %53, double noundef %111, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50)
          to label %116 unwind label %169

116:                                              ; preds = %.lr.ph
  %117 = load double, ptr %50, align 8, !tbaa !11
  %118 = fptrunc double %117 to float
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %.0110122) #3
  store float %118, ptr %119, align 4, !tbaa !5
  %120 = load double, ptr %49, align 8, !tbaa !11
  %121 = fptrunc double %120 to float
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.0110122) #3
  store float %121, ptr %122, align 4, !tbaa !5
  %123 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %104)
  %124 = load double, ptr %123, align 8, !tbaa !13
  %125 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %105)
  %126 = load double, ptr %125, align 8, !tbaa !13
  %127 = fadd double %124, %126
  %128 = fmul double %127, 5.000000e-01
  %129 = load ptr, ptr %103, align 8, !tbaa !15
  %130 = getelementptr inbounds i8, ptr %129, i64 40
  %131 = load ptr, ptr %130, align 8
  %132 = invoke noundef zeroext i1 %131(ptr noundef nonnull align 8 dereferenceable(408) %103, ptr noundef nonnull align 8 dereferenceable(80) %51, double noundef %128, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50)
          to label %133 unwind label %169

133:                                              ; preds = %116
  %134 = load double, ptr %50, align 8, !tbaa !11
  %135 = fptrunc double %134 to float
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %.0110122) #3
  store float %135, ptr %136, align 4, !tbaa !5
  %137 = load double, ptr %49, align 8, !tbaa !11
  %138 = fptrunc double %137 to float
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %.0110122) #3
  store float %138, ptr %139, align 4, !tbaa !5
  %140 = call noundef i32 @_ZNK4Elem9rockIndexEv(ptr noundef nonnull align 8 dereferenceable(408) %103)
  %141 = sitofp i32 %140 to float
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %.0110122) #3
  store float %141, ptr %142, align 4, !tbaa !5
  %143 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %104)
  %144 = load double, ptr %143, align 8, !tbaa !13
  %145 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Elem4nodeEv(ptr noundef nonnull align 8 dereferenceable(408) %105)
  %146 = load double, ptr %145, align 8, !tbaa !13
  %147 = fadd double %144, %146
  %148 = fmul double %147, 5.000000e-01
  %149 = load ptr, ptr %103, align 8, !tbaa !15
  %150 = getelementptr inbounds i8, ptr %149, i64 40
  %151 = load ptr, ptr %150, align 8
  %152 = invoke noundef zeroext i1 %151(ptr noundef nonnull align 8 dereferenceable(408) %103, ptr noundef nonnull align 8 dereferenceable(80) %52, double noundef %148, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50)
          to label %153 unwind label %169

153:                                              ; preds = %133
  %154 = load double, ptr %50, align 8, !tbaa !11
  %155 = fptrunc double %154 to float
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %.0110122) #3
  store float %155, ptr %156, align 4, !tbaa !5
  %157 = load double, ptr %49, align 8, !tbaa !11
  %158 = fptrunc double %157 to float
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %.0110122) #3
  store float %158, ptr %159, align 4, !tbaa !5
  %160 = call noundef ptr @_ZNK4Elem5modelEv(ptr noundef nonnull align 8 dereferenceable(408) %103)
  %161 = call noundef double @_ZNK9ElemModel16Pc_pistonTypeAdvEv(ptr noundef nonnull align 8 dereferenceable(152) %160)
  %162 = fptrunc double %161 to float
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %.0110122) #3
  store float %162, ptr %163, align 4, !tbaa !5
  %164 = call noundef double @_ZNK4Apex23gravCorrectedEntryPressEv(ptr noundef nonnull align 8 dereferenceable(104) %103)
  %165 = fptrunc double %164 to float
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %.0110122) #3
  store float %165, ptr %166, align 4, !tbaa !5
  %167 = call noundef double @_ZNK4Elem15waterSaturationEv(ptr noundef nonnull align 8 dereferenceable(408) %103)
  %168 = call noundef zeroext i1 @_ZNK4Elem16isEntryOrExitResEv(ptr noundef nonnull align 8 dereferenceable(408) %104)
  br i1 %168, label %175, label %171

169:                                              ; preds = %133, %116, %.lr.ph
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #3
  br label %238

171:                                              ; preds = %153
  %172 = fsub double 1.000000e+00, %167
  %173 = call noundef zeroext i1 @_ZNK4Elem16isEntryOrExitResEv(ptr noundef nonnull align 8 dereferenceable(408) %105)
  br i1 %173, label %174, label %175

174:                                              ; preds = %171
  br label %175

175:                                              ; preds = %153, %171, %174
  %.097 = phi double [ 1.000000e+00, %174 ], [ %172, %171 ], [ 1.000000e+00, %153 ]
  %176 = fptrunc double %.097 to float
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0110122) #3
  store float %176, ptr %177, align 4, !tbaa !5
  %178 = call noundef ptr @_ZNK4Elem5modelEv(ptr noundef nonnull align 8 dereferenceable(408) %103)
  %179 = call noundef double @_ZNK9ElemModel3RRREv(ptr noundef nonnull align 8 dereferenceable(152) %178)
  %180 = fptrunc double %179 to float
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %.0110122) #3
  store float %180, ptr %181, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #3
  %182 = add nuw i64 %.0110122, 1
  %183 = call noundef i64 @_ZNKSt6vectorIPK4ElemSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  %184 = icmp ult i64 %182, %183
  br i1 %184, label %.lr.ph, label %.preheader, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph124, %.preheader
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #3
  ret void

.lr.ph124:                                        ; preds = %.preheader, %.lr.ph124
  %.0123 = phi i64 [ %235, %.lr.ph124 ], [ 0, %.preheader ]
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %186 = load i64, ptr %185, align 8, !tbaa !19
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %186) #3
  %188 = load float, ptr %187, align 4, !tbaa !5
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.0123) #3
  store float %188, ptr %189, align 4, !tbaa !5
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %191 = load i64, ptr %190, align 8, !tbaa !19
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %191) #3
  %193 = load float, ptr %192, align 4, !tbaa !5
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0123) #3
  store float %193, ptr %194, align 4, !tbaa !5
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %196 = load i64, ptr %195, align 8, !tbaa !19
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %196) #3
  %198 = load float, ptr %197, align 4, !tbaa !5
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0123) #3
  store float %198, ptr %199, align 4, !tbaa !5
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %201 = load i64, ptr %200, align 8, !tbaa !19
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %201) #3
  %203 = load float, ptr %202, align 4, !tbaa !5
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.0123) #3
  store float %203, ptr %204, align 4, !tbaa !5
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %206 = load i64, ptr %205, align 8, !tbaa !19
  %207 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %206) #3
  %208 = load float, ptr %207, align 4, !tbaa !5
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.0123) #3
  store float %208, ptr %209, align 4, !tbaa !5
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %211 = load i64, ptr %210, align 8, !tbaa !19
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %211) #3
  %213 = load float, ptr %212, align 4, !tbaa !5
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.0123) #3
  store float %213, ptr %214, align 4, !tbaa !5
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %216 = load i64, ptr %215, align 8, !tbaa !19
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %216) #3
  %218 = load float, ptr %217, align 4, !tbaa !5
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %.0123) #3
  store float %218, ptr %219, align 4, !tbaa !5
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %221 = load i64, ptr %220, align 8, !tbaa !19
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %221) #3
  %223 = load float, ptr %222, align 4, !tbaa !5
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0123) #3
  store float %223, ptr %224, align 4, !tbaa !5
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %226 = load i64, ptr %225, align 8, !tbaa !19
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %226) #3
  %228 = load float, ptr %227, align 4, !tbaa !5
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %.0123) #3
  store float %228, ptr %229, align 4, !tbaa !5
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0123) #3
  %231 = load i64, ptr %230, align 8, !tbaa !19
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %231) #3
  %233 = load float, ptr %232, align 4, !tbaa !5
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.0123) #3
  store float %233, ptr %234, align 4, !tbaa !5
  %235 = add nuw i64 %.0123, 1
  %236 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %237 = icmp ult i64 %235, %236
  br i1 %237, label %.lr.ph124, label %._crit_edge, !llvm.loop !21

238:                                              ; preds = %169, %100
  %.pn = phi { ptr, i32 } [ %170, %169 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #3
  br label %239

239:                                              ; preds = %238, %98
  %.pn.pn = phi { ptr, i32 } [ %.pn, %238 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #3
  br label %240

240:                                              ; preds = %239, %96
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %239 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #3
  br label %241

241:                                              ; preds = %240, %94
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %240 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #3
  br label %242

242:                                              ; preds = %241, %92
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %241 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #3
  br label %243

243:                                              ; preds = %242, %90
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %242 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #3
  br label %244

244:                                              ; preds = %243, %88
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %243 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #3
  br label %245

245:                                              ; preds = %244, %86
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %244 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  br label %246

246:                                              ; preds = %245, %84
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %245 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #3
  br label %247

247:                                              ; preds = %246, %82
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %246 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #3
  br label %248

248:                                              ; preds = %247, %80
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %247 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #3
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTS4var3IdE", !12, i64 0, !12, i64 8, !12, i64 16}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = distinct !{!21, !18}


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