; LLVM IR from marcinlos/iga-ads :: examples/tumor/3d/vasculature_parser.ll (ZN5tumor13parse_vesselsERSi)

; 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.tumor::vessels" = type { %"class.std::vector.0", %"struct.tumor::vasc::config", %"class.std::mersenne_twister_engine", %"class.std::set", %"class.std::set.8" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl" }
%"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tumor::vasc::config" = type { double, double, double, double, double, double, double, double, double, double, double, double }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<tumor::vessels::node *, tumor::vessels::node *, std::_Identity<tumor::vessels::node *>, std::less<tumor::vessels::node *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tumor::vessels::node *, tumor::vessels::node *, std::_Identity<tumor::vessels::node *>, std::less<tumor::vessels::node *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::set.8" = type { %"class.std::_Rb_tree.9" }
%"class.std::_Rb_tree.9" = type { %"struct.std::_Rb_tree<tumor::vessels::edge *, tumor::vessels::edge *, std::_Identity<tumor::vessels::edge *>, std::less<tumor::vessels::edge *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tumor::vessels::edge *, tumor::vessels::edge *, std::_Identity<tumor::vessels::edge *>, std::less<tumor::vessels::edge *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%class.anon = type { ptr }
%class.anon.14 = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl" }
%"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ads::math::vec" = type { double, double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl" }
%"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl" = type { %"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5tumor13parse_vesselsERSi(ptr dead_on_unwind noalias writable sret(%"class.tumor::vessels") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca i64, align 8
  %7 = alloca %class.anon, align 8
  %8 = alloca %class.anon.14, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca %"struct.ads::math::vec", align 8
  %18 = alloca %"class.std::vector.0", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.ads::math::vec", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::vector.15", align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::vector.22", align 8
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca %"class.std::vector.27", align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca double, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  store i1 false, ptr %5, align 1
  call void @_ZN5tumor7vesselsC2Ev(ptr noundef nonnull align 8 dereferenceable(5216) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  store i64 9223372036854775807, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %41 = getelementptr inbounds %class.anon, ptr %7, i32 0, i32 0
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %42, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %43 = getelementptr inbounds %class.anon.14, ptr %8, i32 0, i32 0
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %44, ptr %43, align 8, !tbaa !5
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 4)
          to label %45 unwind label %59

45:                                               ; preds = %2
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %46 unwind label %59

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %49 unwind label %63

49:                                               ; preds = %46
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 1)
          to label %50 unwind label %63

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %51 = load i32, ptr %11, align 4, !tbaa !11
  %52 = sext i32 %51 to i64
  invoke void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %52)
          to label %53 unwind label %67

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %54

54:                                               ; preds = %86, %53
  %55 = load i32, ptr %13, align 4, !tbaa !11
  %56 = load i32, ptr %11, align 4, !tbaa !11
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %71, label %58

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %98

59:                                               ; preds = %45, %2
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %9, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %10, align 4
  br label %282

63:                                               ; preds = %49, %46
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %9, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %10, align 4
  br label %281

67:                                               ; preds = %98, %50
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %9, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %10, align 4
  br label %280

71:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %74 unwind label %89

74:                                               ; preds = %71
  %75 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %73, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %76 unwind label %89

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %78 unwind label %89

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  %79 = getelementptr inbounds %"struct.ads::math::vec", ptr %17, i32 0, i32 0
  %80 = load double, ptr %14, align 8, !tbaa !13
  store double %80, ptr %79, align 8, !tbaa !15
  %81 = getelementptr inbounds %"struct.ads::math::vec", ptr %17, i32 0, i32 1
  %82 = load double, ptr %15, align 8, !tbaa !13
  store double %82, ptr %81, align 8, !tbaa !17
  %83 = getelementptr inbounds %"struct.ads::math::vec", ptr %17, i32 0, i32 2
  %84 = load double, ptr %16, align 8, !tbaa !13
  store double %84, ptr %83, align 8, !tbaa !18
  invoke void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %85 unwind label %93

85:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %13, align 4, !tbaa !11
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %13, align 4, !tbaa !11
  br label %54, !llvm.loop !19

89:                                               ; preds = %76, %74, %71
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %9, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %10, align 4
  br label %97

93:                                               ; preds = %78
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %9, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  br label %97

97:                                               ; preds = %93, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %280

98:                                               ; preds = %58
  invoke void @_ZN5tumor19normalize_positionsERSt6vectorIN3ads4math3vecILm3EEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %99 unwind label %67

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #7
  call void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  %100 = load i32, ptr %11, align 4, !tbaa !11
  %101 = sext i32 %100 to i64
  invoke void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %101)
          to label %102 unwind label %112

102:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store ptr %12, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %103 = load ptr, ptr %19, align 8, !tbaa !5
  %104 = call ptr @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #7
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %106 = load ptr, ptr %19, align 8, !tbaa !5
  %107 = call ptr @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #7
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  br label %109

109:                                              ; preds = %122, %102
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3ads4math3vecILm3EEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br i1 %110, label %116, label %111

111:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %128

112:                                              ; preds = %128, %99
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %9, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %10, align 4
  br label %279

116:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3ads4math3vecILm3EEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  store ptr %117, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %118 = load ptr, ptr %22, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %118, i64 24, i1 false), !tbaa.struct !21
  %119 = invoke noundef ptr @_ZN5tumor7vessels9make_nodeEN3ads4math3vecILm3EEE(ptr noundef nonnull align 8 dereferenceable(5216) %0, ptr noundef byval(%"struct.ads::math::vec") align 8 %24)
          to label %120 unwind label %124

120:                                              ; preds = %116
  store ptr %119, ptr %23, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %121 unwind label %124

121:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %122

122:                                              ; preds = %121
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3ads4math3vecILm3EEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br label %109

124:                                              ; preds = %120, %116
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %9, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %279

128:                                              ; preds = %111
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %129 unwind label %112

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %130, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %132 unwind label %142

132:                                              ; preds = %129
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 1)
          to label %133 unwind label %142

133:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  %134 = load i32, ptr %25, align 4, !tbaa !11
  %135 = sext i32 %134 to i64
  invoke void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %135)
          to label %136 unwind label %146

136:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !11
  br label %137

137:                                              ; preds = %159, %136
  %138 = load i32, ptr %27, align 4, !tbaa !11
  %139 = load i32, ptr %25, align 4, !tbaa !11
  %140 = icmp slt i32 %138, %139
  br i1 %140, label %150, label %141

141:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %171

142:                                              ; preds = %132, %129
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %9, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %10, align 4
  br label %278

146:                                              ; preds = %171, %133
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %9, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %10, align 4
  br label %277

150:                                              ; preds = %137
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %151 unwind label %162

151:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %152, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %154 unwind label %166

154:                                              ; preds = %151
  %155 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %153, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %156 unwind label %166

156:                                              ; preds = %154
  %157 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE12emplace_backIJRiS5_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %158 unwind label %166

158:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %159

159:                                              ; preds = %158
  %160 = load i32, ptr %27, align 4, !tbaa !11
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %27, align 4, !tbaa !11
  br label %137, !llvm.loop !22

162:                                              ; preds = %150
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %9, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %10, align 4
  br label %170

166:                                              ; preds = %156, %154, %151
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %9, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %170

170:                                              ; preds = %166, %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %277

171:                                              ; preds = %141
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 4)
          to label %172 unwind label %146

172:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #7
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  %173 = load i32, ptr %25, align 4, !tbaa !11
  %174 = sext i32 %173 to i64
  invoke void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %174)
          to label %175 unwind label %181

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !11
  br label %176

176:                                              ; preds = %190, %175
  %177 = load i32, ptr %31, align 4, !tbaa !11
  %178 = load i32, ptr %25, align 4, !tbaa !11
  %179 = icmp slt i32 %177, %178
  br i1 %179, label %185, label %180

180:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %197

181:                                              ; preds = %197, %172
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %9, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %10, align 4
  br label %276

185:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %186, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %188 unwind label %193

188:                                              ; preds = %185
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %189 unwind label %193

189:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %190

190:                                              ; preds = %189
  %191 = load i32, ptr %31, align 4, !tbaa !11
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %31, align 4, !tbaa !11
  br label %176, !llvm.loop !23

193:                                              ; preds = %188, %185
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %9, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %276

197:                                              ; preds = %180
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 2)
          to label %198 unwind label %181

198:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  call void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  %199 = load i32, ptr %25, align 4, !tbaa !11
  %200 = sext i32 %199 to i64
  invoke void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %200)
          to label %201 unwind label %207

201:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  store i32 0, ptr %34, align 4, !tbaa !11
  br label %202

202:                                              ; preds = %218, %201
  %203 = load i32, ptr %34, align 4, !tbaa !11
  %204 = load i32, ptr %25, align 4, !tbaa !11
  %205 = icmp slt i32 %203, %204
  br i1 %205, label %211, label %206

206:                                              ; preds = %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %230

207:                                              ; preds = %198
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %9, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %10, align 4
  br label %275

211:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %212, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %214 unwind label %221

214:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %215 = load i32, ptr %35, align 4, !tbaa !11
  %216 = sitofp i32 %215 to double
  store double %216, ptr %36, align 8, !tbaa !13
  invoke void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %217 unwind label %225

217:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %218

218:                                              ; preds = %217
  %219 = load i32, ptr %34, align 4, !tbaa !11
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %34, align 4, !tbaa !11
  br label %202, !llvm.loop !24

221:                                              ; preds = %211
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %9, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %10, align 4
  br label %229

225:                                              ; preds = %214
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %9, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %229

229:                                              ; preds = %225, %221
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %275

230:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !11
  br label %231

231:                                              ; preds = %266, %230
  %232 = load i32, ptr %37, align 4, !tbaa !11
  %233 = load i32, ptr %25, align 4, !tbaa !11
  %234 = icmp slt i32 %232, %233
  br i1 %234, label %236, label %235

235:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %273

236:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  %237 = load i32, ptr %37, align 4, !tbaa !11
  %238 = sext i32 %237 to i64
  %239 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %238) #7
  %240 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8) %239) #7
  %241 = load i32, ptr %240, align 4, !tbaa !11
  store i32 %241, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  %242 = load i32, ptr %37, align 4, !tbaa !11
  %243 = sext i32 %242 to i64
  %244 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %243) #7
  %245 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8) %244) #7
  %246 = load i32, ptr %245, align 4, !tbaa !11
  store i32 %246, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %247 = load i32, ptr %37, align 4, !tbaa !11
  %248 = sext i32 %247 to i64
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %248) #7
  %250 = load double, ptr %249, align 8, !tbaa !13
  store double %250, ptr %40, align 8, !tbaa !13
  %251 = load i32, ptr %38, align 4, !tbaa !11
  %252 = sext i32 %251 to i64
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %252) #7
  %254 = load ptr, ptr %253, align 8, !tbaa !5
  %255 = load i32, ptr %39, align 4, !tbaa !11
  %256 = sext i32 %255 to i64
  %257 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %256) #7
  %258 = load ptr, ptr %257, align 8, !tbaa !5
  %259 = load i32, ptr %37, align 4, !tbaa !11
  %260 = sext i32 %259 to i64
  %261 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %260) #7
  %262 = load i32, ptr %261, align 4, !tbaa !25
  %263 = load double, ptr %40, align 8, !tbaa !13
  %264 = invoke noundef ptr @_ZN5tumor7vessels7connectEPNS0_4nodeES2_NS_11vessel_typeEd(ptr noundef nonnull align 8 dereferenceable(5216) %0, ptr noundef %254, ptr noundef %258, i32 noundef %262, double noundef %263)
          to label %265 unwind label %269

265:                                              ; preds = %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %266

266:                                              ; preds = %265
  %267 = load i32, ptr %37, align 4, !tbaa !11
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %37, align 4, !tbaa !11
  br label %231, !llvm.loop !27

269:                                              ; preds = %236
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %9, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %275

273:                                              ; preds = %235
  store i1 true, ptr %5, align 1
  call void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  call void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  %274 = load i1, ptr %5, align 1
  br i1 %274, label %284, label %283

275:                                              ; preds = %269, %229, %207
  call void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  br label %276

276:                                              ; preds = %275, %193, %181
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  br label %277

277:                                              ; preds = %276, %170, %146
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %278

278:                                              ; preds = %277, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %279

279:                                              ; preds = %278, %124, %112
  call void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  br label %280

280:                                              ; preds = %279, %97, %67
  call void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  br label %281

281:                                              ; preds = %280, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %282

282:                                              ; preds = %281, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @_ZN5tumor7vesselsD2Ev(ptr noundef nonnull align 8 dereferenceable(5216) %0) #7
  br label %285

283:                                              ; preds = %273
  call void @_ZN5tumor7vesselsD2Ev(ptr noundef nonnull align 8 dereferenceable(5216) %0) #7
  br label %284

284:                                              ; preds = %283, %273
  ret void

285:                                              ; preds = %282
  %286 = load ptr, ptr %9, align 8
  %287 = load i32, ptr %10, align 4
  %288 = insertvalue { ptr, i32 } poison, ptr %286, 0
  %289 = insertvalue { ptr, i32 } %288, i32 %287, 1
  resume { ptr, i32 } %289
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #5

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5tumor7vessels9make_nodeEN3ads4math3vecILm3EEE(ptr noundef nonnull align 8 dereferenceable(5216), ptr noundef byval(%"struct.ads::math::vec") align 8) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; 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.tumor::vessels" = type { %"class.std::vector.0", %"struct.tumor::vasc::config", %"class.std::mersenne_twister_engine", %"class.std::set", %"class.std::set.8" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl" }
%"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tumor::vessels::node *, std::allocator<tumor::vessels::node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tumor::vasc::config" = type { double, double, double, double, double, double, double, double, double, double, double, double }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<tumor::vessels::node *, tumor::vessels::node *, std::_Identity<tumor::vessels::node *>, std::less<tumor::vessels::node *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tumor::vessels::node *, tumor::vessels::node *, std::_Identity<tumor::vessels::node *>, std::less<tumor::vessels::node *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::set.8" = type { %"class.std::_Rb_tree.9" }
%"class.std::_Rb_tree.9" = type { %"struct.std::_Rb_tree<tumor::vessels::edge *, tumor::vessels::edge *, std::_Identity<tumor::vessels::edge *>, std::less<tumor::vessels::edge *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tumor::vessels::edge *, tumor::vessels::edge *, std::_Identity<tumor::vessels::edge *>, std::less<tumor::vessels::edge *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%class.anon = type { ptr }
%class.anon.14 = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl" }
%"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ads::math::vec<3>, std::allocator<ads::math::vec<3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ads::math::vec" = type { double, double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl" }
%"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl" = type { %"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tumor::vessel_type, std::allocator<tumor::vessel_type>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5tumor13parse_vesselsERSi(ptr dead_on_unwind noalias nonnull writable sret(%"class.tumor::vessels") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.anon, align 8
  %4 = alloca %class.anon.14, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca %"struct.ads::math::vec", align 8
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector.15", align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::vector.22", align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.std::vector.27", align 8
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  tail call void @_ZN5tumor7vesselsC2Ev(ptr noundef nonnull align 8 dereferenceable(5216) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  store ptr %1, ptr %4, align 8, !tbaa !5
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 4)
          to label %24 unwind label %35

24:                                               ; preds = %2
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %25 unwind label %35

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %26 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %27 unwind label %37

27:                                               ; preds = %25
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 1)
          to label %28 unwind label %37

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %29 = load i32, ptr %5, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  invoke void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %30)
          to label %.preheader64 unwind label %39

.preheader64:                                     ; preds = %28
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader64
  %33 = getelementptr inbounds i8, ptr %10, i64 8
  %34 = getelementptr inbounds i8, ptr %10, i64 16
  br label %41

._crit_edge:                                      ; preds = %51, %.preheader64
  invoke void @_ZN5tumor19normalize_positionsERSt6vectorIN3ads4math3vecILm3EEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %60 unwind label %39

35:                                               ; preds = %24, %2
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %169

37:                                               ; preds = %27, %25
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %168

39:                                               ; preds = %._crit_edge, %28
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %167

41:                                               ; preds = %.lr.ph, %51
  %.04565 = phi i32 [ 0, %.lr.ph ], [ %52, %51 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %43 unwind label %55

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %45 unwind label %55

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %47 unwind label %55

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  %48 = load double, ptr %7, align 8, !tbaa !11
  store double %48, ptr %10, align 8, !tbaa !13
  %49 = load double, ptr %8, align 8, !tbaa !11
  store double %49, ptr %33, align 8, !tbaa !15
  %50 = load double, ptr %9, align 8, !tbaa !11
  store double %50, ptr %34, align 8, !tbaa !16
  invoke void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %51 unwind label %57

51:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %52 = add nuw nsw i32 %.04565, 1
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %41, label %._crit_edge, !llvm.loop !17

55:                                               ; preds = %45, %43, %41
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %47
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %59

59:                                               ; preds = %57, %55
  %.pn56 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %167

60:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  invoke void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %62)
          to label %63 unwind label %67

63:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %64 = call ptr @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  store ptr %64, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %65 = call ptr @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  store ptr %65, ptr %13, align 8
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3ads4math3vecILm3EEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %66, label %.lr.ph67, label %._crit_edge68

._crit_edge68:                                    ; preds = %72, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %77 unwind label %67

67:                                               ; preds = %._crit_edge68, %60
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %166

.lr.ph67:                                         ; preds = %63, %72
  %69 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3ads4math3vecILm3EEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %70 = invoke noundef ptr @_ZN5tumor7vessels9make_nodeEN3ads4math3vecILm3EEE(ptr noundef nonnull align 8 dereferenceable(5216) %0, ptr noundef nonnull byval(%"struct.ads::math::vec") align 8 %69)
          to label %71 unwind label %75

71:                                               ; preds = %.lr.ph67
  store ptr %70, ptr %14, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %72 unwind label %75

72:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3ads4math3vecILm3EEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %74 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3ads4math3vecILm3EEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %74, label %.lr.ph67, label %._crit_edge68

75:                                               ; preds = %71, %.lr.ph67
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %166

77:                                               ; preds = %._crit_edge68
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  %78 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %79 unwind label %85

79:                                               ; preds = %77
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 1)
          to label %80 unwind label %85

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %81 = load i32, ptr %15, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  invoke void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %82)
          to label %.preheader63 unwind label %87

.preheader63:                                     ; preds = %80
  %83 = load i32, ptr %15, align 4, !tbaa !9
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph70, label %._crit_edge71

._crit_edge71:                                    ; preds = %95, %.preheader63
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 4)
          to label %103 unwind label %87

85:                                               ; preds = %79, %77
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %165

87:                                               ; preds = %._crit_edge71, %80
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %164

.lr.ph70:                                         ; preds = %.preheader63, %95
  %.04469 = phi i32 [ %96, %95 ], [ 0, %.preheader63 ]
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %89 unwind label %99

89:                                               ; preds = %.lr.ph70
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  %90 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %91 unwind label %101

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %93 unwind label %101

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE12emplace_backIJRiS5_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %95 unwind label %101

95:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  %96 = add nuw nsw i32 %.04469, 1
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = icmp slt i32 %96, %97
  br i1 %98, label %.lr.ph70, label %._crit_edge71, !llvm.loop !19

99:                                               ; preds = %.lr.ph70
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %164

101:                                              ; preds = %93, %91, %89
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %164

103:                                              ; preds = %._crit_edge71
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  invoke void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %105)
          to label %.preheader62 unwind label %108

.preheader62:                                     ; preds = %103
  %106 = load i32, ptr %15, align 4, !tbaa !9
  %107 = icmp sgt i32 %106, 0
  br i1 %107, label %.lr.ph73, label %._crit_edge74

._crit_edge74:                                    ; preds = %112, %.preheader62
  invoke void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 2)
          to label %118 unwind label %108

108:                                              ; preds = %._crit_edge74, %103
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %163

.lr.ph73:                                         ; preds = %.preheader62, %112
  %.04372 = phi i32 [ %113, %112 ], [ 0, %.preheader62 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %110 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %111 unwind label %116

111:                                              ; preds = %.lr.ph73
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %112 unwind label %116

112:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %113 = add nuw nsw i32 %.04372, 1
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = icmp slt i32 %113, %114
  br i1 %115, label %.lr.ph73, label %._crit_edge74, !llvm.loop !20

116:                                              ; preds = %111, %.lr.ph73
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %163

118:                                              ; preds = %._crit_edge74
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #6
  call void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %119 = load i32, ptr %15, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  invoke void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %120)
          to label %.preheader61 unwind label %124

.preheader61:                                     ; preds = %118
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = icmp sgt i32 %121, 0
  br i1 %122, label %.lr.ph76, label %._crit_edge79

.preheader:                                       ; preds = %130
  %123 = icmp sgt i32 %132, 0
  br i1 %123, label %.lr.ph78, label %._crit_edge79

124:                                              ; preds = %118
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %162

.lr.ph76:                                         ; preds = %.preheader61, %130
  %.04275 = phi i32 [ %131, %130 ], [ 0, %.preheader61 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  %126 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %127 unwind label %134

127:                                              ; preds = %.lr.ph76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %128 = load i32, ptr %22, align 4, !tbaa !9
  %129 = sitofp i32 %128 to double
  store double %129, ptr %23, align 8, !tbaa !11
  invoke void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %130 unwind label %136

130:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  %131 = add nuw nsw i32 %.04275, 1
  %132 = load i32, ptr %15, align 4, !tbaa !9
  %133 = icmp slt i32 %131, %132
  br i1 %133, label %.lr.ph76, label %.preheader, !llvm.loop !21

134:                                              ; preds = %.lr.ph76
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %138

136:                                              ; preds = %127
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br label %138

138:                                              ; preds = %136, %134
  %.pn = phi { ptr, i32 } [ %137, %136 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  br label %162

._crit_edge79:                                    ; preds = %156, %.preheader61, %.preheader
  call void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret void

.lr.ph78:                                         ; preds = %.preheader, %156
  %indvars.iv = phi i64 [ %indvars.iv.next, %156 ], [ 0, %.preheader ]
  %139 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv) #6
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8) %139) #6
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %142 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv) #6
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8) %142) #6
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv) #6
  %146 = load double, ptr %145, align 8, !tbaa !11
  %147 = sext i32 %141 to i64
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %147) #6
  %149 = load ptr, ptr %148, align 8, !tbaa !5
  %150 = sext i32 %144 to i64
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %150) #6
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv) #6
  %154 = load i32, ptr %153, align 4, !tbaa !22
  %155 = invoke noundef ptr @_ZN5tumor7vessels7connectEPNS0_4nodeES2_NS_11vessel_typeEd(ptr noundef nonnull align 8 dereferenceable(5216) %0, ptr noundef %149, ptr noundef %152, i32 noundef %154, double noundef %146)
          to label %156 unwind label %160

156:                                              ; preds = %.lr.ph78
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %157 = load i32, ptr %15, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = icmp slt i64 %indvars.iv.next, %158
  br i1 %159, label %.lr.ph78, label %._crit_edge79, !llvm.loop !24

160:                                              ; preds = %.lr.ph78
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %162

162:                                              ; preds = %160, %138, %124
  %.pn.pn = phi { ptr, i32 } [ %.pn, %138 ], [ %161, %160 ], [ %125, %124 ]
  call void @_ZNSt6vectorIN5tumor11vessel_typeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #6
  br label %163

163:                                              ; preds = %162, %116, %108
  %.pn48 = phi { ptr, i32 } [ %117, %116 ], [ %.pn.pn, %162 ], [ %109, %108 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  br label %164

164:                                              ; preds = %99, %101, %163, %87
  %.pn50.pn = phi { ptr, i32 } [ %.pn48, %163 ], [ %88, %87 ], [ %102, %101 ], [ %100, %99 ]
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  br label %165

165:                                              ; preds = %164, %85
  %.pn50.pn.pn = phi { ptr, i32 } [ %.pn50.pn, %164 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br label %166

166:                                              ; preds = %165, %75, %67
  %.pn54 = phi { ptr, i32 } [ %76, %75 ], [ %.pn50.pn.pn, %165 ], [ %68, %67 ]
  call void @_ZNSt6vectorIPN5tumor7vessels4nodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %167

167:                                              ; preds = %166, %59, %39
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %59 ], [ %.pn54, %166 ], [ %40, %39 ]
  call void @_ZNSt6vectorIN3ads4math3vecILm3EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %168

168:                                              ; preds = %167, %37
  %.pn56.pn.pn = phi { ptr, i32 } [ %.pn56.pn, %167 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %169

169:                                              ; preds = %168, %35
  %.pn56.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn, %168 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @_ZN5tumor7vesselsD2Ev(ptr noundef nonnull align 8 dereferenceable(5216) %0) #6
  resume { ptr, i32 } %.pn56.pn.pn.pn
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN5tumor13parse_vesselsERSiENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN5tumor13parse_vesselsERSiENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5tumor7vessels9make_nodeEN3ads4math3vecILm3EEE(ptr noundef nonnull align 8 dereferenceable(5216), ptr noundef byval(%"struct.ads::math::vec") align 8) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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