; LLVM IR from kazulagi/plantFEM :: src/RouteOptimizationClass/TSP_enum_greedy_2opt_20200307.ll (ZN6Points7two_optEv)

; 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%class.Points = type { i32, %"class.std::vector", %"class.std::vector", %"class.std::vector.0", double, %"class.std::vector.5", %"class.std::mersenne_twister_engine" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 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 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 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)) #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Points7two_optEv(ptr noundef nonnull align 8 dereferenceable(5112) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.std::vector.5", align 8
  %10 = alloca %"class.std::allocator.7", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %469, %1
  %24 = load i32, ptr %3, align 4, !tbaa !9
  %25 = icmp slt i32 %24, 1
  br i1 %25, label %27, label %26

26:                                               ; preds = %23
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %472

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %465, %27
  %29 = load i32, ptr %5, align 4, !tbaa !9
  %30 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 0
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = icmp slt i32 %29, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %28
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %468

34:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %461, %34
  %36 = load i32, ptr %6, align 4, !tbaa !9
  %37 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 0
  %38 = load i32, ptr %37, align 8, !tbaa !11
  %39 = icmp slt i32 %36, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %35
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %464

41:                                               ; preds = %35
  %42 = load i32, ptr %5, align 4, !tbaa !9
  %43 = load i32, ptr %6, align 4, !tbaa !9
  %44 = sub nsw i32 %42, %43
  %45 = call i32 @llvm.abs.i32(i32 %44, i1 true)
  %46 = icmp sle i32 %45, 1
  br i1 %46, label %47, label %48

47:                                               ; preds = %41
  br label %460

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %49 = load i32, ptr %6, align 4, !tbaa !9
  %50 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 0
  %51 = load i32, ptr %50, align 8, !tbaa !11
  %52 = sub nsw i32 %51, 1
  %53 = icmp eq i32 %49, %52
  br i1 %53, label %54, label %119

54:                                               ; preds = %48
  %55 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %56 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %57 = load i32, ptr %5, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %58) #5
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %61) #5
  %63 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %64 = load i32, ptr %5, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %66) #5
  %68 = load i32, ptr %67, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %69) #5
  %71 = load double, ptr %70, align 8, !tbaa !28
  %72 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %73 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %74 = load i32, ptr %6, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %75) #5
  %77 = load i32, ptr %76, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %78) #5
  %80 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef 0) #5
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %83) #5
  %85 = load double, ptr %84, align 8, !tbaa !28
  %86 = fadd double %71, %85
  store double %86, ptr %7, align 8, !tbaa !28
  %87 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %88 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %89 = load i32, ptr %5, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %90) #5
  %92 = load i32, ptr %91, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %93) #5
  %95 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %96 = load i32, ptr %6, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %97) #5
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %100) #5
  %102 = load double, ptr %101, align 8, !tbaa !28
  %103 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %104 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %105 = load i32, ptr %5, align 4, !tbaa !9
  %106 = add nsw i32 %105, 1
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %107) #5
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %110) #5
  %112 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef 0) #5
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %115) #5
  %117 = load double, ptr %116, align 8, !tbaa !28
  %118 = fadd double %102, %117
  store double %118, ptr %8, align 8, !tbaa !28
  br label %262

119:                                              ; preds = %48
  %120 = load i32, ptr %5, align 4, !tbaa !9
  %121 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 0
  %122 = load i32, ptr %121, align 8, !tbaa !11
  %123 = sub nsw i32 %122, 1
  %124 = icmp eq i32 %120, %123
  br i1 %124, label %125, label %190

125:                                              ; preds = %119
  %126 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %127 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %128 = load i32, ptr %5, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef %129) #5
  %131 = load i32, ptr %130, align 4, !tbaa !9
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %132) #5
  %134 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef 0) #5
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %137) #5
  %139 = load double, ptr %138, align 8, !tbaa !28
  %140 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %141 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %142 = load i32, ptr %6, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %143) #5
  %145 = load i32, ptr %144, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef %146) #5
  %148 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %149 = load i32, ptr %6, align 4, !tbaa !9
  %150 = add nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %148, i64 noundef %151) #5
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %154) #5
  %156 = load double, ptr %155, align 8, !tbaa !28
  %157 = fadd double %139, %156
  store double %157, ptr %7, align 8, !tbaa !28
  %158 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %159 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %160 = load i32, ptr %5, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %161) #5
  %163 = load i32, ptr %162, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %158, i64 noundef %164) #5
  %166 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %167 = load i32, ptr %6, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %168) #5
  %170 = load i32, ptr %169, align 4, !tbaa !9
  %171 = sext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %171) #5
  %173 = load double, ptr %172, align 8, !tbaa !28
  %174 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %175 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef 0) #5
  %177 = load i32, ptr %176, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %178) #5
  %180 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %181 = load i32, ptr %6, align 4, !tbaa !9
  %182 = add nsw i32 %181, 1
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %180, i64 noundef %183) #5
  %185 = load i32, ptr %184, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %186) #5
  %188 = load double, ptr %187, align 8, !tbaa !28
  %189 = fadd double %173, %188
  store double %189, ptr %8, align 8, !tbaa !28
  br label %261

190:                                              ; preds = %119
  %191 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %192 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %193 = load i32, ptr %5, align 4, !tbaa !9
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %194) #5
  %196 = load i32, ptr %195, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %197) #5
  %199 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %200 = load i32, ptr %5, align 4, !tbaa !9
  %201 = add nsw i32 %200, 1
  %202 = sext i32 %201 to i64
  %203 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %202) #5
  %204 = load i32, ptr %203, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %198, i64 noundef %205) #5
  %207 = load double, ptr %206, align 8, !tbaa !28
  %208 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %209 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %210 = load i32, ptr %6, align 4, !tbaa !9
  %211 = sext i32 %210 to i64
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef %211) #5
  %213 = load i32, ptr %212, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %208, i64 noundef %214) #5
  %216 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %217 = load i32, ptr %6, align 4, !tbaa !9
  %218 = add nsw i32 %217, 1
  %219 = sext i32 %218 to i64
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %216, i64 noundef %219) #5
  %221 = load i32, ptr %220, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %222) #5
  %224 = load double, ptr %223, align 8, !tbaa !28
  %225 = fadd double %207, %224
  store double %225, ptr %7, align 8, !tbaa !28
  %226 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %227 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %228 = load i32, ptr %5, align 4, !tbaa !9
  %229 = sext i32 %228 to i64
  %230 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %227, i64 noundef %229) #5
  %231 = load i32, ptr %230, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %226, i64 noundef %232) #5
  %234 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %235 = load i32, ptr %6, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %234, i64 noundef %236) #5
  %238 = load i32, ptr %237, align 4, !tbaa !9
  %239 = sext i32 %238 to i64
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %233, i64 noundef %239) #5
  %241 = load double, ptr %240, align 8, !tbaa !28
  %242 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %243 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %244 = load i32, ptr %5, align 4, !tbaa !9
  %245 = add nsw i32 %244, 1
  %246 = sext i32 %245 to i64
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %243, i64 noundef %246) #5
  %248 = load i32, ptr %247, align 4, !tbaa !9
  %249 = sext i32 %248 to i64
  %250 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %249) #5
  %251 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %252 = load i32, ptr %6, align 4, !tbaa !9
  %253 = add nsw i32 %252, 1
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %254) #5
  %256 = load i32, ptr %255, align 4, !tbaa !9
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %250, i64 noundef %257) #5
  %259 = load double, ptr %258, align 8, !tbaa !28
  %260 = fadd double %241, %259
  store double %260, ptr %8, align 8, !tbaa !28
  br label %261

261:                                              ; preds = %190, %125
  br label %262

262:                                              ; preds = %261, %54
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #5
  %263 = load i32, ptr %5, align 4, !tbaa !9
  %264 = load i32, ptr %6, align 4, !tbaa !9
  %265 = sub nsw i32 %263, %264
  %266 = call i32 @llvm.abs.i32(i32 %265, i1 true)
  %267 = sub nsw i32 %266, 1
  %268 = sext i32 %267 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %268, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %269 unwind label %290

269:                                              ; preds = %262
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  %270 = load double, ptr %8, align 8, !tbaa !28
  %271 = load double, ptr %7, align 8, !tbaa !28
  %272 = fcmp olt double %270, %271
  br i1 %272, label %273, label %458

273:                                              ; preds = %269
  %274 = load i32, ptr %5, align 4, !tbaa !9
  %275 = load i32, ptr %6, align 4, !tbaa !9
  %276 = icmp slt i32 %274, %275
  br i1 %276, label %277, label %338

277:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %278 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %279 = load i32, ptr %6, align 4, !tbaa !9
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %278, i64 noundef %280) #5
  %282 = load i32, ptr %281, align 4, !tbaa !9
  store i32 %282, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %283 = load i32, ptr %5, align 4, !tbaa !9
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %15, align 4, !tbaa !9
  br label %285

285:                                              ; preds = %305, %277
  %286 = load i32, ptr %15, align 4, !tbaa !9
  %287 = load i32, ptr %6, align 4, !tbaa !9
  %288 = icmp slt i32 %286, %287
  br i1 %288, label %294, label %289

289:                                              ; preds = %285
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %308

290:                                              ; preds = %262
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %11, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  br label %459

294:                                              ; preds = %285
  %295 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = sext i32 %296 to i64
  %298 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %297) #5
  %299 = load i32, ptr %298, align 4, !tbaa !9
  %300 = load i32, ptr %14, align 4, !tbaa !9
  %301 = sext i32 %300 to i64
  %302 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %301) #5
  store i32 %299, ptr %302, align 4, !tbaa !9
  %303 = load i32, ptr %14, align 4, !tbaa !9
  %304 = add nsw i32 %303, 1
  store i32 %304, ptr %14, align 4, !tbaa !9
  br label %305

305:                                              ; preds = %294
  %306 = load i32, ptr %15, align 4, !tbaa !9
  %307 = add nsw i32 %306, 1
  store i32 %307, ptr %15, align 4, !tbaa !9
  br label %285, !llvm.loop !29

308:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %309 = load i32, ptr %5, align 4, !tbaa !9
  %310 = add nsw i32 %309, 2
  store i32 %310, ptr %16, align 4, !tbaa !9
  br label %311

311:                                              ; preds = %328, %308
  %312 = load i32, ptr %16, align 4, !tbaa !9
  %313 = load i32, ptr %6, align 4, !tbaa !9
  %314 = add nsw i32 %313, 1
  %315 = icmp slt i32 %312, %314
  br i1 %315, label %317, label %316

316:                                              ; preds = %311
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %331

317:                                              ; preds = %311
  %318 = load i32, ptr %6, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = sub nsw i32 %318, %319
  %321 = sext i32 %320 to i64
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %321) #5
  %323 = load i32, ptr %322, align 4, !tbaa !9
  %324 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %325 = load i32, ptr %16, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  %327 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %324, i64 noundef %326) #5
  store i32 %323, ptr %327, align 4, !tbaa !9
  br label %328

328:                                              ; preds = %317
  %329 = load i32, ptr %16, align 4, !tbaa !9
  %330 = add nsw i32 %329, 1
  store i32 %330, ptr %16, align 4, !tbaa !9
  br label %311, !llvm.loop !31

331:                                              ; preds = %316
  %332 = load i32, ptr %13, align 4, !tbaa !9
  %333 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %334 = load i32, ptr %5, align 4, !tbaa !9
  %335 = add nsw i32 %334, 1
  %336 = sext i32 %335 to i64
  %337 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %333, i64 noundef %336) #5
  store i32 %332, ptr %337, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %395

338:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %339 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %340 = load i32, ptr %5, align 4, !tbaa !9
  %341 = sext i32 %340 to i64
  %342 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %339, i64 noundef %341) #5
  %343 = load i32, ptr %342, align 4, !tbaa !9
  store i32 %343, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %344 = load i32, ptr %6, align 4, !tbaa !9
  %345 = add nsw i32 %344, 1
  store i32 %345, ptr %19, align 4, !tbaa !9
  br label %346

346:                                              ; preds = %362, %338
  %347 = load i32, ptr %19, align 4, !tbaa !9
  %348 = load i32, ptr %5, align 4, !tbaa !9
  %349 = icmp slt i32 %347, %348
  br i1 %349, label %351, label %350

350:                                              ; preds = %346
  store i32 17, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %365

351:                                              ; preds = %346
  %352 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %353 = load i32, ptr %19, align 4, !tbaa !9
  %354 = sext i32 %353 to i64
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %352, i64 noundef %354) #5
  %356 = load i32, ptr %355, align 4, !tbaa !9
  %357 = load i32, ptr %18, align 4, !tbaa !9
  %358 = sext i32 %357 to i64
  %359 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %358) #5
  store i32 %356, ptr %359, align 4, !tbaa !9
  %360 = load i32, ptr %18, align 4, !tbaa !9
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr %18, align 4, !tbaa !9
  br label %362

362:                                              ; preds = %351
  %363 = load i32, ptr %19, align 4, !tbaa !9
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr %19, align 4, !tbaa !9
  br label %346, !llvm.loop !32

365:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %366 = load i32, ptr %6, align 4, !tbaa !9
  %367 = add nsw i32 %366, 2
  store i32 %367, ptr %20, align 4, !tbaa !9
  br label %368

368:                                              ; preds = %385, %365
  %369 = load i32, ptr %20, align 4, !tbaa !9
  %370 = load i32, ptr %5, align 4, !tbaa !9
  %371 = add nsw i32 %370, 1
  %372 = icmp slt i32 %369, %371
  br i1 %372, label %374, label %373

373:                                              ; preds = %368
  store i32 20, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %388

374:                                              ; preds = %368
  %375 = load i32, ptr %5, align 4, !tbaa !9
  %376 = load i32, ptr %20, align 4, !tbaa !9
  %377 = sub nsw i32 %375, %376
  %378 = sext i32 %377 to i64
  %379 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %378) #5
  %380 = load i32, ptr %379, align 4, !tbaa !9
  %381 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %382 = load i32, ptr %20, align 4, !tbaa !9
  %383 = sext i32 %382 to i64
  %384 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %381, i64 noundef %383) #5
  store i32 %380, ptr %384, align 4, !tbaa !9
  br label %385

385:                                              ; preds = %374
  %386 = load i32, ptr %20, align 4, !tbaa !9
  %387 = add nsw i32 %386, 1
  store i32 %387, ptr %20, align 4, !tbaa !9
  br label %368, !llvm.loop !33

388:                                              ; preds = %373
  %389 = load i32, ptr %17, align 4, !tbaa !9
  %390 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %391 = load i32, ptr %6, align 4, !tbaa !9
  %392 = add nsw i32 %391, 1
  %393 = sext i32 %392 to i64
  %394 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %390, i64 noundef %393) #5
  store i32 %389, ptr %394, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %395

395:                                              ; preds = %388, %331
  %396 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 4
  store double 0.000000e+00, ptr %396, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %397

397:                                              ; preds = %425, %395
  %398 = load i32, ptr %21, align 4, !tbaa !9
  %399 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 0
  %400 = load i32, ptr %399, align 8, !tbaa !11
  %401 = sub nsw i32 %400, 1
  %402 = icmp slt i32 %398, %401
  br i1 %402, label %404, label %403

403:                                              ; preds = %397
  store i32 23, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %428

404:                                              ; preds = %397
  %405 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %406 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %407 = load i32, ptr %21, align 4, !tbaa !9
  %408 = sext i32 %407 to i64
  %409 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %406, i64 noundef %408) #5
  %410 = load i32, ptr %409, align 4, !tbaa !9
  %411 = sext i32 %410 to i64
  %412 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %405, i64 noundef %411) #5
  %413 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %414 = load i32, ptr %21, align 4, !tbaa !9
  %415 = add nsw i32 %414, 1
  %416 = sext i32 %415 to i64
  %417 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %413, i64 noundef %416) #5
  %418 = load i32, ptr %417, align 4, !tbaa !9
  %419 = sext i32 %418 to i64
  %420 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %412, i64 noundef %419) #5
  %421 = load double, ptr %420, align 8, !tbaa !28
  %422 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 4
  %423 = load double, ptr %422, align 8, !tbaa !34
  %424 = fadd double %423, %421
  store double %424, ptr %422, align 8, !tbaa !34
  br label %425

425:                                              ; preds = %404
  %426 = load i32, ptr %21, align 4, !tbaa !9
  %427 = add nsw i32 %426, 1
  store i32 %427, ptr %21, align 4, !tbaa !9
  br label %397, !llvm.loop !35

428:                                              ; preds = %403
  %429 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 3
  %430 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %431 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 0
  %432 = load i32, ptr %431, align 8, !tbaa !11
  %433 = sub nsw i32 %432, 1
  %434 = sext i32 %433 to i64
  %435 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %430, i64 noundef %434) #5
  %436 = load i32, ptr %435, align 4, !tbaa !9
  %437 = sext i32 %436 to i64
  %438 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %429, i64 noundef %437) #5
  %439 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 5
  %440 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %439, i64 noundef 0) #5
  %441 = load i32, ptr %440, align 4, !tbaa !9
  %442 = sext i32 %441 to i64
  %443 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %438, i64 noundef %442) #5
  %444 = load double, ptr %443, align 8, !tbaa !28
  %445 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 4
  %446 = load double, ptr %445, align 8, !tbaa !34
  %447 = fadd double %446, %444
  store double %447, ptr %445, align 8, !tbaa !34
  %448 = getelementptr inbounds %class.Points, ptr %22, i32 0, i32 4
  %449 = load double, ptr %448, align 8, !tbaa !34
  %450 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %449)
          to label %451 unwind label %454

451:                                              ; preds = %428
  %452 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %450, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %453 unwind label %454

453:                                              ; preds = %451
  br label %458

454:                                              ; preds = %451, %428
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %11, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %12, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %459

458:                                              ; preds = %453, %269
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %460

459:                                              ; preds = %454, %290
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %473

460:                                              ; preds = %458, %47
  br label %461

461:                                              ; preds = %460
  %462 = load i32, ptr %6, align 4, !tbaa !9
  %463 = add nsw i32 %462, 1
  store i32 %463, ptr %6, align 4, !tbaa !9
  br label %35, !llvm.loop !36

464:                                              ; preds = %40
  br label %465

465:                                              ; preds = %464
  %466 = load i32, ptr %5, align 4, !tbaa !9
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %5, align 4, !tbaa !9
  br label %28, !llvm.loop !37

468:                                              ; preds = %33
  br label %469

469:                                              ; preds = %468
  %470 = load i32, ptr %3, align 4, !tbaa !9
  %471 = add nsw i32 %470, 1
  store i32 %471, ptr %3, align 4, !tbaa !9
  br label %23, !llvm.loop !38

472:                                              ; preds = %26
  ret void

473:                                              ; preds = %459
  %474 = load ptr, ptr %11, align 8
  %475 = load i32, ptr %12, align 4
  %476 = insertvalue { ptr, i32 } poison, ptr %474, 0
  %477 = insertvalue { ptr, i32 } %476, i32 %475, 1
  resume { ptr, i32 } %477
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { 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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !10, i64 0}
!12 = !{!"_ZTS6Points", !10, i64 0, !13, i64 8, !13, i64 32, !17, i64 56, !21, i64 80, !22, i64 88, !26, i64 112}
!13 = !{!"_ZTSSt6vectorIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIS_IdSaIdEESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTSSt6vectorIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !7, i64 0, !27, i64 4992}
!27 = !{!"long", !7, i64 0}
!28 = !{!21, !21, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !30}
!34 = !{!12, !21, i64 80}
!35 = distinct !{!35, !30}
!36 = distinct !{!36, !30}
!37 = distinct !{!37, !30}
!38 = distinct !{!38, !30}


; 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 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 #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 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 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 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)) #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Points7two_optEv(ptr noundef nonnull align 8 dereferenceable(5112) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
.critedge:
  %1 = alloca %"class.std::vector.5", align 8
  %2 = alloca %"class.std::allocator.7", align 1
  %3 = load i32, ptr %0, align 8, !tbaa !5
  %4 = icmp sgt i32 %3, 0
  br i1 %4, label %.preheader.preheader, label %._crit_edge123

.preheader.preheader:                             ; preds = %.critedge
  %5 = getelementptr inbounds i8, ptr %0, i64 56
  %6 = getelementptr inbounds i8, ptr %0, i64 88
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge121
  %8 = phi i32 [ %3, %.preheader.preheader ], [ %14, %._crit_edge121 ]
  %indvars.iv158 = phi i64 [ 0, %.preheader.preheader ], [ %11, %._crit_edge121 ]
  %indvars.iv147 = phi i32 [ 2, %.preheader.preheader ], [ %indvars.iv.next148, %._crit_edge121 ]
  %indvars.iv138 = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next139, %._crit_edge121 ]
  %9 = sext i32 %indvars.iv147 to i64
  %10 = icmp sgt i32 %8, 0
  %11 = add nuw nsw i64 %indvars.iv158, 1
  br i1 %10, label %.lr.ph120, label %._crit_edge121

.lr.ph120:                                        ; preds = %.preheader
  %12 = add nuw nsw i64 %indvars.iv158, 2
  %13 = and i64 %12, 4294967295
  br label %17

._crit_edge123:                                   ; preds = %._crit_edge121, %.critedge
  ret void

._crit_edge121:                                   ; preds = %150, %.preheader
  %14 = phi i32 [ %8, %.preheader ], [ %151, %150 ]
  %15 = sext i32 %14 to i64
  %16 = icmp slt i64 %11, %15
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %indvars.iv.next148 = add nuw i32 %indvars.iv147, 1
  br i1 %16, label %.preheader, label %._crit_edge123, !llvm.loop !26

17:                                               ; preds = %.lr.ph120, %150
  %18 = phi i32 [ %8, %.lr.ph120 ], [ %151, %150 ]
  %19 = phi i32 [ %8, %.lr.ph120 ], [ %152, %150 ]
  %indvars.iv155 = phi i64 [ 0, %.lr.ph120 ], [ %indvars.iv.next156, %150 ]
  %indvars.iv133 = phi i32 [ 2, %.lr.ph120 ], [ %indvars.iv.next134, %150 ]
  %indvars.iv = phi i64 [ 1, %.lr.ph120 ], [ %indvars.iv.next, %150 ]
  %20 = sext i32 %indvars.iv133 to i64
  %21 = sub nsw i64 %indvars.iv158, %indvars.iv155
  %22 = trunc nsw i64 %21 to i32
  %23 = call i32 @llvm.abs.i32(i32 %22, i1 true)
  %24 = icmp ult i32 %23, 2
  br i1 %24, label %150, label %25

25:                                               ; preds = %17
  %26 = add nsw i32 %19, -1
  %27 = zext i32 %26 to i64
  %28 = icmp eq i64 %indvars.iv155, %27
  br i1 %28, label %29, label %34

29:                                               ; preds = %25
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv158) #5
  %31 = load i32, ptr %30, align 4, !tbaa !29
  %32 = sext i32 %31 to i64
  %33 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %32) #5
  br label %41

34:                                               ; preds = %25
  %35 = icmp eq i64 %indvars.iv158, %27
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv158) #5
  %37 = load i32, ptr %36, align 4, !tbaa !29
  %38 = sext i32 %37 to i64
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %38) #5
  %40 = add nuw nsw i64 %indvars.iv155, 1
  %. = select i1 %35, i64 0, i64 %11
  br label %41

41:                                               ; preds = %34, %29
  %.sink195 = phi i64 [ %11, %29 ], [ %., %34 ]
  %.sink = phi ptr [ %33, %29 ], [ %39, %34 ]
  %.sink187 = phi i64 [ 0, %29 ], [ %40, %34 ]
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.sink195) #5
  %43 = load i32, ptr %42, align 4, !tbaa !29
  %44 = sext i32 %43 to i64
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.sink, i64 noundef %44) #5
  %46 = load double, ptr %45, align 8, !tbaa !30
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv155) #5
  %48 = load i32, ptr %47, align 4, !tbaa !29
  %49 = sext i32 %48 to i64
  %50 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %49) #5
  %51 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.sink187) #5
  %52 = load i32, ptr %51, align 4, !tbaa !29
  %53 = sext i32 %52 to i64
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %53) #5
  %55 = load double, ptr %54, align 8, !tbaa !30
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv158) #5
  %57 = load i32, ptr %56, align 4, !tbaa !29
  %58 = sext i32 %57 to i64
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %58) #5
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv155) #5
  %61 = load i32, ptr %60, align 4, !tbaa !29
  %62 = sext i32 %61 to i64
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %62) #5
  %64 = load double, ptr %63, align 8, !tbaa !30
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.sink195) #5
  %66 = load i32, ptr %65, align 4, !tbaa !29
  %67 = sext i32 %66 to i64
  %68 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %67) #5
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.sink187) #5
  %70 = load i32, ptr %69, align 4, !tbaa !29
  %71 = sext i32 %70 to i64
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %71) #5
  %73 = load double, ptr %72, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #5
  %74 = add nsw i32 %23, -1
  %75 = zext nneg i32 %74 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %75, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %76 unwind label %86

76:                                               ; preds = %41
  %77 = fadd double %64, %73
  %78 = fadd double %46, %55
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #5
  %79 = fcmp olt double %77, %78
  br i1 %79, label %80, label %148

80:                                               ; preds = %76
  %81 = icmp ult i64 %indvars.iv158, %indvars.iv155
  br i1 %81, label %82, label %97

82:                                               ; preds = %80
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv155) #5
  %84 = load i32, ptr %83, align 4, !tbaa !29
  %85 = icmp ult i64 %11, %indvars.iv155
  br i1 %85, label %.lr.ph105, label %._crit_edge106

._crit_edge106:                                   ; preds = %.lr.ph105, %82
  %.not93107 = icmp ugt i64 %13, %indvars.iv155
  br i1 %.not93107, label %._crit_edge111, label %.lr.ph110

86:                                               ; preds = %41
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #5
  br label %149

.lr.ph105:                                        ; preds = %82, %.lr.ph105
  %indvars.iv142 = phi i64 [ %indvars.iv.next143, %.lr.ph105 ], [ 0, %82 ]
  %indvars.iv140 = phi i64 [ %indvars.iv.next141, %.lr.ph105 ], [ %indvars.iv138, %82 ]
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv140) #5
  %89 = load i32, ptr %88, align 4, !tbaa !29
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv142) #5
  store i32 %89, ptr %90, align 4, !tbaa !29
  %indvars.iv.next143 = add nuw nsw i64 %indvars.iv142, 1
  %indvars.iv.next141 = add nuw nsw i64 %indvars.iv140, 1
  %91 = icmp ult i64 %indvars.iv.next141, %indvars.iv155
  br i1 %91, label %.lr.ph105, label %._crit_edge106, !llvm.loop !31

.lr.ph110:                                        ; preds = %._crit_edge106, %.lr.ph110
  %indvars.iv149 = phi i64 [ %indvars.iv.next150, %.lr.ph110 ], [ %9, %._crit_edge106 ]
  %92 = sub nsw i64 %indvars.iv155, %indvars.iv149
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %92) #5
  %94 = load i32, ptr %93, align 4, !tbaa !29
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv149) #5
  store i32 %94, ptr %95, align 4, !tbaa !29
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %96 = and i64 %indvars.iv149, 4294967295
  %.not93.not = icmp ult i64 %96, %indvars.iv155
  br i1 %.not93.not, label %.lr.ph110, label %._crit_edge111, !llvm.loop !32

97:                                               ; preds = %80
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv158) #5
  %99 = load i32, ptr %98, align 4, !tbaa !29
  %100 = add nuw nsw i64 %indvars.iv155, 1
  %101 = icmp ult i64 %100, %indvars.iv158
  br i1 %101, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %97
  %102 = add nuw nsw i64 %indvars.iv155, 2
  %103 = icmp ugt i64 %102, %indvars.iv158
  br i1 %103, label %._crit_edge111, label %.lr.ph100

.lr.ph:                                           ; preds = %97, %.lr.ph
  %indvars.iv128 = phi i64 [ %indvars.iv.next129, %.lr.ph ], [ 0, %97 ]
  %indvars.iv126 = phi i64 [ %indvars.iv.next127, %.lr.ph ], [ %indvars.iv, %97 ]
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv126) #5
  %105 = load i32, ptr %104, align 4, !tbaa !29
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv128) #5
  store i32 %105, ptr %106, align 4, !tbaa !29
  %indvars.iv.next129 = add nuw nsw i64 %indvars.iv128, 1
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %107 = icmp ult i64 %indvars.iv.next127, %indvars.iv158
  br i1 %107, label %.lr.ph, label %._crit_edge, !llvm.loop !33

.lr.ph100:                                        ; preds = %._crit_edge, %.lr.ph100
  %indvars.iv135 = phi i64 [ %indvars.iv.next136, %.lr.ph100 ], [ %20, %._crit_edge ]
  %108 = sub nsw i64 %indvars.iv158, %indvars.iv135
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %108) #5
  %110 = load i32, ptr %109, align 4, !tbaa !29
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv135) #5
  store i32 %110, ptr %111, align 4, !tbaa !29
  %indvars.iv.next136 = add nuw nsw i64 %indvars.iv135, 1
  %112 = and i64 %indvars.iv135, 4294967295
  %.not.not = icmp ult i64 %112, %indvars.iv158
  br i1 %.not.not, label %.lr.ph100, label %._crit_edge111, !llvm.loop !34

._crit_edge111:                                   ; preds = %.lr.ph100, %.lr.ph110, %._crit_edge, %._crit_edge106
  %.sink198 = phi i64 [ %11, %._crit_edge106 ], [ %100, %._crit_edge ], [ %11, %.lr.ph110 ], [ %100, %.lr.ph100 ]
  %.sink196 = phi i32 [ %84, %._crit_edge106 ], [ %99, %._crit_edge ], [ %84, %.lr.ph110 ], [ %99, %.lr.ph100 ]
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.sink198) #5
  store i32 %.sink196, ptr %113, align 4, !tbaa !29
  store double 0.000000e+00, ptr %7, align 8, !tbaa !35
  %114 = load i32, ptr %0, align 8, !tbaa !5
  %115 = icmp sgt i32 %114, 1
  br i1 %115, label %.lr.ph114, label %.._crit_edge115_crit_edge

.._crit_edge115_crit_edge:                        ; preds = %._crit_edge111
  %116 = add nsw i32 %114, -1
  %.pre162 = sext i32 %116 to i64
  br label %._crit_edge115

._crit_edge115:                                   ; preds = %.lr.ph114, %.._crit_edge115_crit_edge
  %.pre-phi = phi i64 [ %.pre162, %.._crit_edge115_crit_edge ], [ %142, %.lr.ph114 ]
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.pre-phi) #5
  %118 = load i32, ptr %117, align 4, !tbaa !29
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %119) #5
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #5
  %122 = load i32, ptr %121, align 4, !tbaa !29
  %123 = sext i32 %122 to i64
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %123) #5
  %125 = load double, ptr %124, align 8, !tbaa !30
  %126 = load double, ptr %7, align 8, !tbaa !35
  %127 = fadd double %125, %126
  store double %127, ptr %7, align 8, !tbaa !35
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %127)
          to label %144 unwind label %146

.lr.ph114:                                        ; preds = %._crit_edge111, %.lr.ph114
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %.lr.ph114 ], [ 0, %._crit_edge111 ]
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv152) #5
  %130 = load i32, ptr %129, align 4, !tbaa !29
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %131) #5
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv.next153) #5
  %134 = load i32, ptr %133, align 4, !tbaa !29
  %135 = sext i32 %134 to i64
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %135) #5
  %137 = load double, ptr %136, align 8, !tbaa !30
  %138 = load double, ptr %7, align 8, !tbaa !35
  %139 = fadd double %137, %138
  store double %139, ptr %7, align 8, !tbaa !35
  %140 = load i32, ptr %0, align 8, !tbaa !5
  %141 = add nsw i32 %140, -1
  %142 = sext i32 %141 to i64
  %143 = icmp slt i64 %indvars.iv.next153, %142
  br i1 %143, label %.lr.ph114, label %._crit_edge115, !llvm.loop !36

144:                                              ; preds = %._crit_edge115
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %148 unwind label %146

146:                                              ; preds = %144, %._crit_edge115
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  br label %149

148:                                              ; preds = %144, %76
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #5
  %.pre = load i32, ptr %0, align 8, !tbaa !5
  br label %150

149:                                              ; preds = %146, %86
  %.pn = phi { ptr, i32 } [ %147, %146 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn

150:                                              ; preds = %148, %17
  %151 = phi i32 [ %.pre, %148 ], [ %18, %17 ]
  %152 = phi i32 [ %.pre, %148 ], [ %19, %17 ]
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %153 = sext i32 %152 to i64
  %154 = icmp slt i64 %indvars.iv.next156, %153
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %indvars.iv.next134 = add nuw i32 %indvars.iv133, 1
  br i1 %154, label %17, label %._crit_edge121, !llvm.loop !37
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !7, i64 0}
!6 = !{!"_ZTS6Points", !7, i64 0, !10, i64 8, !10, i64 32, !15, i64 56, !19, i64 80, !20, i64 88, !24, i64 112}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIdSaIdEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIS_IdSaIdEESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"double", !8, i64 0}
!20 = !{!"_ZTSSt6vectorIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !8, i64 0, !25, i64 4992}
!25 = !{!"long", !8, i64 0}
!26 = distinct !{!26, !27, !28}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!"llvm.loop.unswitch.partial.disable"}
!29 = !{!7, !7, i64 0}
!30 = !{!19, !19, i64 0}
!31 = distinct !{!31, !27}
!32 = distinct !{!32, !27}
!33 = distinct !{!33, !27}
!34 = distinct !{!34, !27}
!35 = !{!6, !19, i64 80}
!36 = distinct !{!36, !27}
!37 = distinct !{!37, !27}


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