; LLVM IR from SimoneTinella/Path-Planning-Robot-over-Voronoi-Diagram :: programma.ll (ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Punto = type { double, double }
%"class.__gnu_cxx::__normal_iterator.16" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.15" = type { ptr }
%class.Voronoi = type { double, double, %"class.std::vector.0", %"class.std::vector", %"class.std::vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl" }
%"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZL14raggio_ricerca = external hidden global double, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; 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 void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double, double, double, double) #0 align 2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

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

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

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

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

; 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
define dso_local void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, double %2, double %3, double %4, double %5, ptr noundef %6) #2 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca %class.Punto, align 8
  %10 = alloca %class.Punto, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i1, align 1
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca double, align 8
  %24 = alloca i8, align 1
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca double, align 8
  %31 = alloca %class.Punto, align 8
  %32 = alloca %class.Punto, align 8
  %33 = alloca ptr, align 8
  %34 = alloca double, align 8
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca double, align 8
  %38 = alloca %class.Punto, align 8
  %39 = alloca %class.Punto, align 8
  %40 = alloca i8, align 1
  %41 = alloca i32, align 4
  %42 = alloca %"class.std::vector", align 8
  %43 = alloca %"class.std::vector", align 8
  %44 = alloca %class.Punto, align 8
  %45 = alloca %class.Punto, align 8
  %46 = alloca %"class.std::vector", align 8
  %47 = alloca %class.Punto, align 8
  %48 = alloca %class.Punto, align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  store ptr %0, ptr %8, align 8
  %54 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %2, ptr %54, align 8
  %55 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %3, ptr %55, align 8
  %56 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %4, ptr %56, align 8
  %57 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %5, ptr %57, align 8
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %6, ptr %12, align 8, !tbaa !5
  %58 = load ptr, ptr %11, align 8
  store i1 false, ptr %13, align 1
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store ptr %9, ptr %15, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %59 unwind label %68

59:                                               ; preds = %7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store ptr %9, ptr %18, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %404, %59
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %143, %60
  %62 = load i32, ptr %20, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds %class.Voronoi, ptr %58, i32 0, i32 3
  %65 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  %66 = icmp ult i64 %63, %65
  br i1 %66, label %72, label %67

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

68:                                               ; preds = %7
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %16, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %411

72:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %73 = getelementptr inbounds %class.Voronoi, ptr %58, i32 0, i32 3
  %74 = load i32, ptr %20, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %75)
          to label %77 unwind label %108

77:                                               ; preds = %72
  %78 = load ptr, ptr %76, align 8, !tbaa !5
  store ptr %78, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %79 = load ptr, ptr %18, align 8, !tbaa !5
  %80 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %79)
  %81 = load ptr, ptr %22, align 8, !tbaa !5
  %82 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %81)
  %83 = fsub double %80, %82
  %84 = load ptr, ptr %18, align 8, !tbaa !5
  %85 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %84)
  %86 = load ptr, ptr %22, align 8, !tbaa !5
  %87 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %86)
  %88 = fsub double %85, %87
  %89 = load ptr, ptr %18, align 8, !tbaa !5
  %90 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %89)
  %91 = load ptr, ptr %22, align 8, !tbaa !5
  %92 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %91)
  %93 = fsub double %90, %92
  %94 = load ptr, ptr %18, align 8, !tbaa !5
  %95 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %94)
  %96 = load ptr, ptr %22, align 8, !tbaa !5
  %97 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %96)
  %98 = fsub double %95, %97
  %99 = fmul double %93, %98
  %100 = call double @llvm.fmuladd.f64(double %83, double %88, double %99)
  %101 = call double @sqrt(double noundef %100) #8
  store double %101, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  store i8 0, ptr %24, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %126, %77
  %103 = load i32, ptr %25, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %106 = icmp ult i64 %104, %105
  br i1 %106, label %112, label %107

107:                                              ; preds = %102
  store i32 7, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %129

108:                                              ; preds = %72
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %16, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %17, align 4
  br label %147

112:                                              ; preds = %102
  %113 = load ptr, ptr %22, align 8, !tbaa !5
  %114 = load i32, ptr %25, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %115)
          to label %117 unwind label %121

117:                                              ; preds = %112
  %118 = load ptr, ptr %116, align 8, !tbaa !5
  %119 = icmp eq ptr %113, %118
  br i1 %119, label %120, label %125

120:                                              ; preds = %117
  store i8 1, ptr %24, align 1, !tbaa !13
  br label %125

121:                                              ; preds = %112
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %16, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %146

125:                                              ; preds = %120, %117
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %25, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %25, align 4, !tbaa !9
  br label %102, !llvm.loop !15

129:                                              ; preds = %107
  %130 = load double, ptr %23, align 8, !tbaa !11
  %131 = load double, ptr @_ZL14raggio_ricerca, align 8, !tbaa !11
  %132 = fcmp ole double %130, %131
  br i1 %132, label %133, label %142

133:                                              ; preds = %129
  %134 = load i8, ptr %24, align 1, !tbaa !13, !range !17, !noundef !18
  %135 = trunc i8 %134 to i1
  br i1 %135, label %142, label %136

136:                                              ; preds = %133
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %137 unwind label %138

137:                                              ; preds = %136
  br label %142

138:                                              ; preds = %136
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %16, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %17, align 4
  br label %146

142:                                              ; preds = %137, %133, %129
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %20, align 4, !tbaa !9
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %20, align 4, !tbaa !9
  br label %61, !llvm.loop !19

146:                                              ; preds = %138, %121
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %147

147:                                              ; preds = %146, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %408

148:                                              ; preds = %67
  %149 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %150 = icmp ugt i64 %149, 0
  br i1 %150, label %151, label %224

151:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store double 1.000000e+04, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %152

152:                                              ; preds = %194, %151
  %153 = load i32, ptr %28, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %156 = icmp ult i64 %154, %155
  br i1 %156, label %158, label %157

157:                                              ; preds = %152
  store i32 10, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %197

158:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %159 = load i32, ptr %28, align 4, !tbaa !9
  %160 = sext i32 %159 to i64
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %160)
          to label %162 unwind label %189

162:                                              ; preds = %158
  %163 = load ptr, ptr %161, align 8, !tbaa !5
  store ptr %163, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %164 = load ptr, ptr %29, align 8, !tbaa !5
  %165 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %164)
  %166 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %167 = fsub double %165, %166
  %168 = load ptr, ptr %29, align 8, !tbaa !5
  %169 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %168)
  %170 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %171 = fsub double %169, %170
  %172 = load ptr, ptr %29, align 8, !tbaa !5
  %173 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %172)
  %174 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %175 = fsub double %173, %174
  %176 = load ptr, ptr %29, align 8, !tbaa !5
  %177 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %176)
  %178 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %179 = fsub double %177, %178
  %180 = fmul double %175, %179
  %181 = call double @llvm.fmuladd.f64(double %167, double %171, double %180)
  %182 = call double @sqrt(double noundef %181) #8
  store double %182, ptr %30, align 8, !tbaa !11
  %183 = load double, ptr %30, align 8, !tbaa !11
  %184 = load double, ptr %26, align 8, !tbaa !11
  %185 = fcmp olt double %183, %184
  br i1 %185, label %186, label %193

186:                                              ; preds = %162
  %187 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %187, ptr %27, align 8, !tbaa !5
  %188 = load double, ptr %30, align 8, !tbaa !11
  store double %188, ptr %26, align 8, !tbaa !11
  br label %193

189:                                              ; preds = %158
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %16, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %223

193:                                              ; preds = %186, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr %28, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %28, align 4, !tbaa !9
  br label %152, !llvm.loop !20

197:                                              ; preds = %157
  %198 = load double, ptr %26, align 8, !tbaa !11
  %199 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %199, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !21
  %200 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %201 = load double, ptr %200, align 8
  %202 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %203 = load double, ptr %202, align 8
  %204 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %205 = load double, ptr %204, align 8
  %206 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %207 = load double, ptr %206, align 8
  %208 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %201, double %203, double %205, double %207)
  %209 = fcmp olt double %198, %208
  br i1 %209, label %210, label %212

210:                                              ; preds = %197
  %211 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %211, ptr %18, align 8, !tbaa !5
  br label %213

212:                                              ; preds = %197
  store i32 13, ptr %21, align 4
  br label %216

213:                                              ; preds = %210
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %214 unwind label %219

214:                                              ; preds = %213
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %215 unwind label %219

215:                                              ; preds = %214
  store i32 0, ptr %21, align 4
  br label %216

216:                                              ; preds = %215, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %217 = load i32, ptr %21, align 4
  switch i32 %217, label %391 [
    i32 0, label %218
    i32 13, label %225
  ]

218:                                              ; preds = %216
  br label %390

219:                                              ; preds = %214, %213
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %16, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %17, align 4
  br label %223

223:                                              ; preds = %219, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %408

224:                                              ; preds = %148
  br label %225

225:                                              ; preds = %224, %216
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %227 unwind label %237

227:                                              ; preds = %225
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %226, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %229 unwind label %237

229:                                              ; preds = %227
  call void @_ZNSt6vectorIP5PuntoSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store ptr null, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  store double 1.000000e+04, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %230

230:                                              ; preds = %303, %229
  %231 = load i32, ptr %35, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds %class.Voronoi, ptr %58, i32 0, i32 4
  %234 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %233) #8
  %235 = icmp ult i64 %232, %234
  br i1 %235, label %241, label %236

236:                                              ; preds = %230
  store i32 14, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %307

237:                                              ; preds = %227, %225
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %16, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %17, align 4
  br label %408

241:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %242 = getelementptr inbounds %class.Voronoi, ptr %58, i32 0, i32 4
  %243 = load i32, ptr %35, align 4, !tbaa !9
  %244 = sext i32 %243 to i64
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %244)
          to label %246 unwind label %268

246:                                              ; preds = %241
  %247 = load ptr, ptr %245, align 8, !tbaa !5
  store ptr %247, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %248 = load ptr, ptr %36, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %248, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !21
  %249 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %250 = load double, ptr %249, align 8
  %251 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %252 = load double, ptr %251, align 8
  %253 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %254 = load double, ptr %253, align 8
  %255 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %256 = load double, ptr %255, align 8
  %257 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %250, double %252, double %254, double %256)
  store double %257, ptr %37, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #8
  store i8 0, ptr %40, align 1, !tbaa !13
  %258 = load ptr, ptr %12, align 8, !tbaa !5
  %259 = icmp ne ptr %258, null
  br i1 %259, label %260, label %292

260:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 0, ptr %41, align 4, !tbaa !9
  br label %261

261:                                              ; preds = %287, %260
  %262 = load i32, ptr %41, align 4, !tbaa !9
  %263 = sext i32 %262 to i64
  %264 = load ptr, ptr %12, align 8, !tbaa !5
  %265 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %264) #8
  %266 = icmp ult i64 %263, %265
  br i1 %266, label %272, label %267

267:                                              ; preds = %261
  store i32 17, ptr %21, align 4
  br label %290

268:                                              ; preds = %241
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %16, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %17, align 4
  br label %306

272:                                              ; preds = %261
  %273 = load ptr, ptr %36, align 8, !tbaa !5
  %274 = load ptr, ptr %12, align 8, !tbaa !5
  %275 = load i32, ptr %41, align 4, !tbaa !9
  %276 = sext i32 %275 to i64
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %274, i64 noundef %276)
          to label %278 unwind label %282

278:                                              ; preds = %272
  %279 = load ptr, ptr %277, align 8, !tbaa !5
  %280 = icmp eq ptr %273, %279
  br i1 %280, label %281, label %286

281:                                              ; preds = %278
  store i8 1, ptr %40, align 1, !tbaa !13
  store i32 17, ptr %21, align 4
  br label %290

282:                                              ; preds = %272
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %16, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %306

286:                                              ; preds = %278
  br label %287

287:                                              ; preds = %286
  %288 = load i32, ptr %41, align 4, !tbaa !9
  %289 = add nsw i32 %288, 1
  store i32 %289, ptr %41, align 4, !tbaa !9
  br label %261, !llvm.loop !22

290:                                              ; preds = %281, %267
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %291

291:                                              ; preds = %290
  br label %292

292:                                              ; preds = %291, %246
  %293 = load double, ptr %37, align 8, !tbaa !11
  %294 = load double, ptr %34, align 8, !tbaa !11
  %295 = fcmp olt double %293, %294
  br i1 %295, label %296, label %302

296:                                              ; preds = %292
  %297 = load i8, ptr %40, align 1, !tbaa !13, !range !17, !noundef !18
  %298 = trunc i8 %297 to i1
  br i1 %298, label %302, label %299

299:                                              ; preds = %296
  %300 = load ptr, ptr %36, align 8, !tbaa !5
  store ptr %300, ptr %33, align 8, !tbaa !5
  %301 = load double, ptr %37, align 8, !tbaa !11
  store double %301, ptr %34, align 8, !tbaa !11
  br label %302

302:                                              ; preds = %299, %296, %292
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %303

303:                                              ; preds = %302
  %304 = load i32, ptr %35, align 4, !tbaa !9
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr %35, align 4, !tbaa !9
  br label %230, !llvm.loop !23

306:                                              ; preds = %282, %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %389

307:                                              ; preds = %236
  %308 = load ptr, ptr %33, align 8, !tbaa !5
  %309 = icmp eq ptr %308, null
  br i1 %309, label %310, label %319

310:                                              ; preds = %307
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %312 unwind label %315

312:                                              ; preds = %310
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %311, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %314 unwind label %315

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

315:                                              ; preds = %335, %327, %325, %321, %319, %312, %310
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %16, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %17, align 4
  br label %389

319:                                              ; preds = %307
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %321 unwind label %315

321:                                              ; preds = %319
  %322 = load ptr, ptr %33, align 8, !tbaa !5
  %323 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %322)
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %320, double noundef %323)
          to label %325 unwind label %315

325:                                              ; preds = %321
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %324, ptr noundef @.str.10)
          to label %327 unwind label %315

327:                                              ; preds = %325
  %328 = load ptr, ptr %33, align 8, !tbaa !5
  %329 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %328)
  %330 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %326, double noundef %329)
          to label %331 unwind label %315

331:                                              ; preds = %327
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = icmp eq ptr %332, null
  br i1 %333, label %334, label %335

334:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  store ptr %42, ptr %12, align 8, !tbaa !5
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br label %335

335:                                              ; preds = %334, %331
  %336 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %336, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %337 unwind label %315

337:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !21
  %338 = load ptr, ptr %33, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 8 %338, i64 16, i1 false), !tbaa.struct !21
  %339 = load ptr, ptr %12, align 8, !tbaa !5
  %340 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %341 = load double, ptr %340, align 8
  %342 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %343 = load double, ptr %342, align 8
  %344 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %345 = load double, ptr %344, align 8
  %346 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %347 = load double, ptr %346, align 8
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %43, ptr noundef nonnull align 8 dereferenceable(88) %58, double %341, double %343, double %345, double %347, ptr noundef %339)
          to label %348 unwind label %376

348:                                              ; preds = %337
  %349 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP5PuntoSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #8
  %350 = load ptr, ptr %33, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 8 %350, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %48, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !21
  %351 = load ptr, ptr %12, align 8, !tbaa !5
  %352 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %353 = load double, ptr %352, align 8
  %354 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %355 = load double, ptr %354, align 8
  %356 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %357 = load double, ptr %356, align 8
  %358 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %359 = load double, ptr %358, align 8
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %46, ptr noundef nonnull align 8 dereferenceable(88) %58, double %353, double %355, double %357, double %359, ptr noundef %351)
          to label %360 unwind label %380

360:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %361 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %362 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %50, i32 0, i32 0
  store ptr %361, ptr %362, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP5PuntoSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  %363 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  %364 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %51, i32 0, i32 0
  store ptr %363, ptr %364, align 8
  %365 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  %366 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %52, i32 0, i32 0
  store ptr %365, ptr %366, align 8
  %367 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %49, i32 0, i32 0
  %368 = load ptr, ptr %367, align 8
  %369 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %51, i32 0, i32 0
  %370 = load ptr, ptr %369, align 8
  %371 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %52, i32 0, i32 0
  %372 = load ptr, ptr %371, align 8
  %373 = invoke ptr @_ZNSt6vectorIP5PuntoSaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %368, ptr %370, ptr %372)
          to label %374 unwind label %384

374:                                              ; preds = %360
  %375 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %53, i32 0, i32 0
  store ptr %373, ptr %375, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  store i1 true, ptr %13, align 1
  store i32 1, ptr %21, align 4
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %391

376:                                              ; preds = %337
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %16, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #8
  br label %389

380:                                              ; preds = %348
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %16, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %17, align 4
  br label %388

384:                                              ; preds = %360
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %16, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  br label %388

388:                                              ; preds = %384, %380
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #8
  br label %389

389:                                              ; preds = %388, %376, %315, %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %408

390:                                              ; preds = %218
  store i32 0, ptr %21, align 4
  br label %391

391:                                              ; preds = %390, %374, %216
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  %392 = load i32, ptr %21, align 4
  switch i32 %392, label %409 [
    i32 0, label %393
  ]

393:                                              ; preds = %391
  br label %394

394:                                              ; preds = %393
  %395 = load ptr, ptr %18, align 8, !tbaa !5
  %396 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %395)
  %397 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %398 = fcmp oeq double %396, %397
  br i1 %398, label %399, label %404

399:                                              ; preds = %394
  %400 = load ptr, ptr %18, align 8, !tbaa !5
  %401 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %400)
  %402 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %403 = fcmp oeq double %401, %402
  br label %404

404:                                              ; preds = %399, %394
  %405 = phi i1 [ false, %394 ], [ %403, %399 ]
  %406 = xor i1 %405, true
  br i1 %406, label %60, label %407, !llvm.loop !24

407:                                              ; preds = %404
  store i1 true, ptr %13, align 1
  store i32 1, ptr %21, align 4
  br label %409

408:                                              ; preds = %389, %237, %223, %147
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %411

409:                                              ; preds = %407, %391
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  %410 = load i1, ptr %13, align 1
  br i1 %410, label %413, label %412

411:                                              ; preds = %408, %68
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %414

412:                                              ; preds = %409
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %413

413:                                              ; preds = %412, %409
  ret void

414:                                              ; preds = %411
  %415 = load ptr, ptr %16, align 8
  %416 = load i32, ptr %17, align 4
  %417 = insertvalue { ptr, i32 } poison, ptr %415, 0
  %418 = insertvalue { ptr, i32 } %417, i32 %416, 1
  resume { ptr, i32 } %418
}

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

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

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

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

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

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

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

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

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

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

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


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Punto = type { double, double }
%"class.__gnu_cxx::__normal_iterator.16" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.15" = type { ptr }

@_ZL14raggio_ricerca = external hidden local_unnamed_addr global double, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; 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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; 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 void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double, double, double, double) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, double %2, double %3, double %4, double %5, ptr noundef %6) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %class.Punto, align 8
  %9 = alloca %class.Punto, align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  store double %2, ptr %8, align 8
  %21 = getelementptr inbounds i8, ptr %8, i64 8
  store double %3, ptr %21, align 8
  store double %4, ptr %9, align 8
  %22 = getelementptr inbounds i8, ptr %9, i64 8
  store double %5, ptr %22, align 8
  tail call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  store ptr %8, ptr %11, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %23 unwind label %28

23:                                               ; preds = %7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store ptr %8, ptr %12, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %1, i64 40
  br label %.critedge

.critedge:                                        ; preds = %.critedge.backedge, %23
  %.085 = phi ptr [ undef, %23 ], [ %.186.lcssa, %.critedge.backedge ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %25 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %.not157 = icmp eq i64 %25, 0
  br i1 %.not157, label %._crit_edge141, label %.lr.ph140

._crit_edge141:                                   ; preds = %73, %.critedge
  %26 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %.not = icmp eq i64 %26, 0
  br i1 %.not, label %107, label %.preheader133

.preheader133:                                    ; preds = %._crit_edge141
  %27 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %.not159 = icmp eq i64 %27, 0
  br i1 %.not159, label %._crit_edge146, label %.lr.ph145

28:                                               ; preds = %7
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %201

.lr.ph140:                                        ; preds = %.critedge, %73
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %73 ], [ 0, %.critedge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %30 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv163)
          to label %31 unwind label %59

31:                                               ; preds = %.lr.ph140
  %32 = load ptr, ptr %30, align 8, !tbaa !5
  store ptr %32, ptr %14, align 8, !tbaa !5
  %33 = load ptr, ptr %12, align 8, !tbaa !5
  %34 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %37 = fsub double %34, %36
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %40)
  %42 = fsub double %39, %41
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
  %45 = load ptr, ptr %14, align 8, !tbaa !5
  %46 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  %47 = fsub double %44, %46
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %48)
  %50 = load ptr, ptr %14, align 8, !tbaa !5
  %51 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %50)
  %52 = fsub double %49, %51
  %53 = fmul double %47, %52
  %54 = call double @llvm.fmuladd.f64(double %37, double %42, double %53)
  %55 = call double @sqrt(double noundef %54) #7
  %56 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %.not158 = icmp eq i64 %56, 0
  br i1 %.not158, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %63, %31
  %.080.lcssa = phi i1 [ false, %31 ], [ %spec.select, %63 ]
  %57 = load double, ptr @_ZL14raggio_ricerca, align 8, !tbaa !9
  %58 = fcmp ugt double %55, %57
  %brmerge = select i1 %58, i1 true, i1 %.080.lcssa
  br i1 %brmerge, label %73, label %70

59:                                               ; preds = %.lr.ph140
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %76

.lr.ph:                                           ; preds = %31, %63
  %indvars.iv = phi i64 [ %indvars.iv.next, %63 ], [ 0, %31 ]
  %.080138 = phi i1 [ %spec.select, %63 ], [ false, %31 ]
  %61 = load ptr, ptr %14, align 8, !tbaa !5
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv)
          to label %63 unwind label %68

63:                                               ; preds = %.lr.ph
  %64 = load ptr, ptr %62, align 8, !tbaa !5
  %65 = icmp eq ptr %61, %64
  %spec.select = select i1 %65, i1 true, i1 %.080138
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %66 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %67 = icmp ugt i64 %66, %indvars.iv.next
  br i1 %67, label %.lr.ph, label %._crit_edge, !llvm.loop !11

68:                                               ; preds = %.lr.ph
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %76

70:                                               ; preds = %._crit_edge
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %73 unwind label %71

71:                                               ; preds = %70
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %76

73:                                               ; preds = %._crit_edge, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %74 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %75 = icmp ugt i64 %74, %indvars.iv.next164
  br i1 %75, label %.lr.ph140, label %._crit_edge141, !llvm.loop !13

76:                                               ; preds = %68, %71, %59
  %.pn111.pn = phi { ptr, i32 } [ %60, %59 ], [ %69, %68 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %199

._crit_edge146:                                   ; preds = %81, %.preheader133
  %.186.lcssa = phi ptr [ %.085, %.preheader133 ], [ %.287, %81 ]
  %.083.lcssa = phi double [ 1.000000e+04, %.preheader133 ], [ %.184, %81 ]
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %.sroa.027.0.copyload = load double, ptr %77, align 8, !tbaa !9
  %.sroa.228.0..sroa_idx = getelementptr inbounds i8, ptr %77, i64 8
  %.sroa.228.0.copyload = load double, ptr %.sroa.228.0..sroa_idx, align 8, !tbaa !9
  %.sroa.025.0.copyload = load double, ptr %9, align 8, !tbaa !9
  %.sroa.226.0.copyload = load double, ptr %22, align 8, !tbaa !9
  %78 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %.sroa.027.0.copyload, double %.sroa.228.0.copyload, double %.sroa.025.0.copyload, double %.sroa.226.0.copyload)
  %79 = fcmp olt double %.083.lcssa, %78
  br i1 %79, label %103, label %107

.lr.ph145:                                        ; preds = %.preheader133, %81
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %81 ], [ 0, %.preheader133 ]
  %.083144 = phi double [ %.184, %81 ], [ 1.000000e+04, %.preheader133 ]
  %.186143 = phi ptr [ %.287, %81 ], [ %.085, %.preheader133 ]
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv166)
          to label %81 unwind label %101

81:                                               ; preds = %.lr.ph145
  %82 = load ptr, ptr %80, align 8, !tbaa !5
  %83 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %82)
  %84 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %85 = fsub double %83, %84
  %86 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %82)
  %87 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %88 = fsub double %86, %87
  %89 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %82)
  %90 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %91 = fsub double %89, %90
  %92 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %82)
  %93 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %94 = fsub double %92, %93
  %95 = fmul double %91, %94
  %96 = call double @llvm.fmuladd.f64(double %85, double %88, double %95)
  %97 = call double @sqrt(double noundef %96) #7
  %98 = fcmp olt double %97, %.083144
  %.287 = select i1 %98, ptr %82, ptr %.186143
  %.184 = select i1 %98, double %97, double %.083144
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %99 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %100 = icmp ugt i64 %99, %indvars.iv.next167
  br i1 %100, label %.lr.ph145, label %._crit_edge146, !llvm.loop !14

101:                                              ; preds = %.lr.ph145
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %199

103:                                              ; preds = %._crit_edge146
  store ptr %.186.lcssa, ptr %12, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %104 unwind label %105

104:                                              ; preds = %103
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %189 unwind label %105

105:                                              ; preds = %104, %103
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %199

107:                                              ; preds = %._crit_edge146, %._crit_edge141
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %109 unwind label %127

109:                                              ; preds = %107
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %111 unwind label %127

111:                                              ; preds = %109
  call void @_ZNSt6vectorIP5PuntoSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  store ptr null, ptr %15, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %1, i64 64
  %113 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #7
  %.not160 = icmp eq i64 %113, 0
  br i1 %.not160, label %._crit_edge156.thread, label %.lr.ph155

.lr.ph155:                                        ; preds = %111
  %.not105 = icmp eq ptr %6, null
  br i1 %.not105, label %.lr.ph155.split.us, label %.lr.ph155.split

.lr.ph155.split.us:                               ; preds = %.lr.ph155, %.thread120.us
  %114 = phi ptr [ %121, %.thread120.us ], [ null, %.lr.ph155 ]
  %indvars.iv175 = phi i64 [ %indvars.iv.next176, %.thread120.us ], [ 0, %.lr.ph155 ]
  %.094152.us = phi double [ %.195.us, %.thread120.us ], [ 1.000000e+04, %.lr.ph155 ]
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %indvars.iv175)
          to label %116 unwind label %.split.us

116:                                              ; preds = %.lr.ph155.split.us
  %117 = load ptr, ptr %115, align 8, !tbaa !5
  %.sroa.015.0.copyload.us = load double, ptr %117, align 8, !tbaa !9
  %.sroa.216.0..sroa_idx.us = getelementptr inbounds i8, ptr %117, i64 8
  %.sroa.216.0.copyload.us = load double, ptr %.sroa.216.0..sroa_idx.us, align 8, !tbaa !9
  %.sroa.013.0.copyload.us = load double, ptr %9, align 8, !tbaa !9
  %.sroa.214.0.copyload.us = load double, ptr %22, align 8, !tbaa !9
  %118 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %.sroa.015.0.copyload.us, double %.sroa.216.0.copyload.us, double %.sroa.013.0.copyload.us, double %.sroa.214.0.copyload.us)
  %119 = fcmp uge double %118, %.094152.us
  br i1 %119, label %.thread120.us, label %120

120:                                              ; preds = %116
  store ptr %117, ptr %15, align 8, !tbaa !5
  br label %.thread120.us

.thread120.us:                                    ; preds = %120, %116
  %121 = phi ptr [ %117, %120 ], [ %114, %116 ]
  %.195.us = phi double [ %118, %120 ], [ %.094152.us, %116 ]
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %122 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #7
  %123 = icmp ugt i64 %122, %indvars.iv.next176
  br i1 %123, label %.lr.ph155.split.us, label %._crit_edge156, !llvm.loop !15

.split.us:                                        ; preds = %.lr.ph155.split.us
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %188

._crit_edge156:                                   ; preds = %.thread120, %.thread120.us
  %125 = phi ptr [ %121, %.thread120.us ], [ %146, %.thread120 ]
  %126 = icmp eq ptr %125, null
  br i1 %126, label %._crit_edge156.thread, label %155

127:                                              ; preds = %109, %107
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %199

.lr.ph155.split:                                  ; preds = %.lr.ph155, %.thread120
  %129 = phi ptr [ %146, %.thread120 ], [ null, %.lr.ph155 ]
  %indvars.iv172 = phi i64 [ %indvars.iv.next173, %.thread120 ], [ 0, %.lr.ph155 ]
  %.094152 = phi double [ %.195, %.thread120 ], [ 1.000000e+04, %.lr.ph155 ]
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %indvars.iv172)
          to label %.preheader unwind label %.split

.preheader:                                       ; preds = %.lr.ph155.split
  %131 = load ptr, ptr %130, align 8, !tbaa !5
  %.sroa.015.0.copyload = load double, ptr %131, align 8, !tbaa !9
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %131, i64 8
  %.sroa.216.0.copyload = load double, ptr %.sroa.216.0..sroa_idx, align 8, !tbaa !9
  %.sroa.013.0.copyload = load double, ptr %9, align 8, !tbaa !9
  %.sroa.214.0.copyload = load double, ptr %22, align 8, !tbaa !9
  %132 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %.sroa.015.0.copyload, double %.sroa.216.0.copyload, double %.sroa.013.0.copyload, double %.sroa.214.0.copyload)
  %133 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %.not161 = icmp eq i64 %133, 0
  br i1 %.not161, label %.loopexit, label %.lr.ph150

134:                                              ; preds = %139
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %135 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %136 = icmp ugt i64 %135, %indvars.iv.next170
  br i1 %136, label %.lr.ph150, label %.loopexit, !llvm.loop !16

.split:                                           ; preds = %.lr.ph155.split
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %188

.lr.ph150:                                        ; preds = %.preheader, %134
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %134 ], [ 0, %.preheader ]
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv169)
          to label %139 unwind label %142

139:                                              ; preds = %.lr.ph150
  %140 = load ptr, ptr %138, align 8, !tbaa !5
  %141 = icmp eq ptr %131, %140
  br i1 %141, label %.thread120, label %134

142:                                              ; preds = %.lr.ph150
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %188

.loopexit:                                        ; preds = %134, %.preheader
  %144 = fcmp uge double %132, %.094152
  br i1 %144, label %.thread120, label %145

145:                                              ; preds = %.loopexit
  store ptr %131, ptr %15, align 8, !tbaa !5
  br label %.thread120

.thread120:                                       ; preds = %139, %.loopexit, %145
  %146 = phi ptr [ %131, %145 ], [ %129, %.loopexit ], [ %129, %139 ]
  %.195 = phi double [ %132, %145 ], [ %.094152, %.loopexit ], [ %.094152, %139 ]
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %147 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #7
  %148 = icmp ugt i64 %147, %indvars.iv.next173
  br i1 %148, label %.lr.ph155.split, label %._crit_edge156, !llvm.loop !15

._crit_edge156.thread:                            ; preds = %111, %._crit_edge156
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
          to label %150 unwind label %153

150:                                              ; preds = %._crit_edge156.thread
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %152 unwind label %153

152:                                              ; preds = %150
  call void @exit(i32 noundef -1) #8
  unreachable

153:                                              ; preds = %169, %162, %160, %157, %155, %150, %._crit_edge156.thread
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %188

155:                                              ; preds = %._crit_edge156
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
          to label %157 unwind label %153

157:                                              ; preds = %155
  %158 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %125)
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %156, double noundef %158)
          to label %160 unwind label %153

160:                                              ; preds = %157
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @.str.10)
          to label %162 unwind label %153

162:                                              ; preds = %160
  %163 = load ptr, ptr %15, align 8, !tbaa !5
  %164 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %163)
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %161, double noundef %164)
          to label %166 unwind label %153

166:                                              ; preds = %162
  %167 = icmp eq ptr %6, null
  br i1 %167, label %168, label %169

168:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %169

169:                                              ; preds = %168, %166
  %.1 = phi ptr [ %16, %168 ], [ %6, %166 ]
  invoke void @_ZNSt6vectorIP5PuntoSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %.1, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %170 unwind label %153

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  %.sroa.08.0.copyload = load double, ptr %8, align 8, !tbaa !9
  %.sroa.29.0.copyload = load double, ptr %21, align 8, !tbaa !9
  %171 = load ptr, ptr %15, align 8, !tbaa !5
  %.sroa.06.0.copyload = load double, ptr %171, align 8, !tbaa !9
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %171, i64 8
  %.sroa.27.0.copyload = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !9
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %17, ptr noundef nonnull align 8 dereferenceable(88) %1, double %.sroa.08.0.copyload, double %.sroa.29.0.copyload, double %.sroa.06.0.copyload, double %.sroa.27.0.copyload, ptr noundef nonnull %.1)
          to label %172 unwind label %181

172:                                              ; preds = %170
  %173 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP5PuntoSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  %174 = load ptr, ptr %15, align 8, !tbaa !5
  %.sroa.04.0.copyload = load double, ptr %174, align 8, !tbaa !9
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %174, i64 8
  %.sroa.25.0.copyload = load double, ptr %.sroa.25.0..sroa_idx, align 8, !tbaa !9
  %.sroa.03.0.copyload = load double, ptr %9, align 8, !tbaa !9
  %.sroa.2.0.copyload = load double, ptr %22, align 8, !tbaa !9
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %18, ptr noundef nonnull align 8 dereferenceable(88) %1, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload, double %.sroa.03.0.copyload, double %.sroa.2.0.copyload, ptr noundef nonnull %.1)
          to label %175 unwind label %183

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %176 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %176, ptr %20, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP5PuntoSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %177 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  %178 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  %179 = load ptr, ptr %19, align 8
  %180 = invoke ptr @_ZNSt6vectorIP5PuntoSaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %179, ptr %177, ptr %178)
          to label %200 unwind label %185

181:                                              ; preds = %170
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br label %188

183:                                              ; preds = %172
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %187

185:                                              ; preds = %175
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  br label %187

187:                                              ; preds = %185, %183
  %.pn = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %188

188:                                              ; preds = %.split, %.split.us, %142, %187, %181, %153
  %.pn106.pn = phi { ptr, i32 } [ %154, %153 ], [ %.pn, %187 ], [ %182, %181 ], [ %143, %142 ], [ %137, %.split ], [ %124, %.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %199

189:                                              ; preds = %104
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  %190 = load ptr, ptr %12, align 8, !tbaa !5
  %191 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %190)
  %192 = call noundef double @_ZN5Punto4getXEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %193 = fcmp oeq double %191, %192
  br i1 %193, label %194, label %.critedge.backedge

194:                                              ; preds = %189
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  %196 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %195)
  %197 = call noundef double @_ZN5Punto4getYEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %198 = fcmp oeq double %196, %197
  br i1 %198, label %.critedge118, label %.critedge.backedge

.critedge.backedge:                               ; preds = %194, %189
  br label %.critedge, !llvm.loop !17

199:                                              ; preds = %101, %105, %188, %127, %76
  %.pn111.pn.pn = phi { ptr, i32 } [ %.pn111.pn, %76 ], [ %.pn106.pn, %188 ], [ %128, %127 ], [ %102, %101 ], [ %106, %105 ]
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %201

200:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %202

201:                                              ; preds = %199, %28
  %.pn111.pn.pn.pn = phi { ptr, i32 } [ %.pn111.pn.pn, %199 ], [ %29, %28 ]
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  resume { ptr, i32 } %.pn111.pn.pn.pn

.critedge118:                                     ; preds = %194
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %202

202:                                              ; preds = %200, %.critedge118
  ret void
}

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

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

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

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

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

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

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

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

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

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

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


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