; LLVM IR from wesley-a-leung/Resources :: Tests/C++/geometry/2d/ConvexPolygonFuzzTest.ll (Z5test3v)

; 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 }
%struct.pt = type { x86_fp80, x86_fp80 }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl" }
%"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl" = type { %"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::mersenne_twister_engine" = type { [312 x i64], i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.IncrementalConvexHull = type { %"class.std::set", x86_fp80 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Ray, Ray, std::_Identity<Ray>, std::less<Ray>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Ray, Ray, std::_Identity<Ray>, std::less<Ray>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.Line = type { %struct.pt, x86_fp80 }
%"struct.std::_Setprecision" = type { i32 }
%"struct.std::pair.20" = type { i32, i32 }
%"struct.std::pair.67" = type { %"struct.std::_Rb_tree_const_iterator", %"struct.std::_Rb_tree_const_iterator" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%struct.Ray = type <{ ptr, [8 x i8], %struct.pt, %struct.Line, ptr, [8 x i8] }>

@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._Z5test3v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z2leee(x86_fp80 noundef, x86_fp80 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2ptC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4LineC2E2ptS0_(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(32) ptr @_ZN2ptpLES_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z33convexPolygonConvexPolygonTangentRKSt6vectorI2ptSaIS0_EES4_b(ptr dead_on_unwind noalias writable sret(%"class.std::vector.24") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21IncrementalConvexHull12hullTangentsERKS_b(ptr dead_on_unwind noalias writable sret(%"class.std::vector.59") align 8, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64), i1 noundef zeroext) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21generateConvexPolygoniRSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(2504)) #2

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

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN21IncrementalConvexHull8addPointE2pt(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef byval(%struct.pt) align 16) #2 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #4

; 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 @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test3v() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::chrono::time_point", align 8
  %2 = alloca %"class.std::mersenne_twister_engine", align 8
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.pt, align 16
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %struct.pt, align 16
  %20 = alloca %struct.IncrementalConvexHull, align 16
  %21 = alloca %struct.IncrementalConvexHull, align 16
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %struct.pt, align 16
  %27 = alloca ptr, align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca ptr, align 8
  %31 = alloca %struct.pt, align 16
  %32 = alloca %"class.std::vector.24", align 8
  %33 = alloca %struct.pt, align 16
  %34 = alloca %struct.pt, align 16
  %35 = alloca %struct.pt, align 16
  %36 = alloca %struct.pt, align 16
  %37 = alloca %struct.Line, align 16
  %38 = alloca %struct.pt, align 16
  %39 = alloca %struct.pt, align 16
  %40 = alloca %struct.Line, align 16
  %41 = alloca %struct.pt, align 16
  %42 = alloca %struct.pt, align 16
  %43 = alloca i32, align 4
  %44 = alloca %struct.pt, align 16
  %45 = alloca %struct.pt, align 16
  %46 = alloca %struct.pt, align 16
  %47 = alloca %struct.pt, align 16
  %48 = alloca %struct.pt, align 16
  %49 = alloca %struct.pt, align 16
  %50 = alloca %struct.pt, align 16
  %51 = alloca %struct.pt, align 16
  %52 = alloca %struct.pt, align 16
  %53 = alloca %struct.pt, align 16
  %54 = alloca %struct.pt, align 16
  %55 = alloca %struct.pt, align 16
  %56 = alloca i32, align 4
  %57 = alloca %struct.pt, align 16
  %58 = alloca %struct.pt, align 16
  %59 = alloca %struct.pt, align 16
  %60 = alloca %struct.pt, align 16
  %61 = alloca %struct.pt, align 16
  %62 = alloca %struct.pt, align 16
  %63 = alloca %struct.pt, align 16
  %64 = alloca %struct.pt, align 16
  %65 = alloca %struct.pt, align 16
  %66 = alloca %struct.pt, align 16
  %67 = alloca %struct.pt, align 16
  %68 = alloca %struct.pt, align 16
  %69 = alloca %"class.std::vector.59", align 8
  %70 = alloca %struct.pt, align 16
  %71 = alloca %struct.pt, align 16
  %72 = alloca %struct.pt, align 16
  %73 = alloca %struct.pt, align 16
  %74 = alloca %"class.std::chrono::time_point", align 8
  %75 = alloca double, align 8
  %76 = alloca %"class.std::chrono::duration", align 8
  %77 = alloca %"struct.std::_Setprecision", align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #8
  %78 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %79 = getelementptr inbounds %"class.std::chrono::time_point", ptr %1, i32 0, i32 0
  %80 = getelementptr inbounds %"class.std::chrono::duration", ptr %79, i32 0, i32 0
  store i64 %78, ptr %80, align 8
  call void @llvm.lifetime.start.p0(i64 2504, ptr %2) #8
  call void @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEC2Em(ptr noundef nonnull align 8 dereferenceable(2504) %2, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 100000, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %541, %0
  %82 = load i32, ptr %5, align 4, !tbaa !5
  %83 = icmp slt i32 %82, 100000
  br i1 %83, label %85, label %84

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

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %86 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %87 = urem i64 %86, 10
  %88 = add i64 %87, 1
  %89 = trunc i64 %88 to i32
  store i32 %89, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %90 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %91 = urem i64 %90, 10
  %92 = add i64 %91, 1
  %93 = trunc i64 %92 to i32
  store i32 %93, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  %94 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %95 = urem i64 %94, 2
  %96 = icmp ne i64 %95, 0
  %97 = zext i1 %96 to i8
  store i8 %97, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  %98 = load i32, ptr %7, align 4, !tbaa !5
  call void @_Z21generateConvexPolygoniRSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %10, i32 noundef %98, ptr noundef nonnull align 8 dereferenceable(2504) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  %99 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_Z21generateConvexPolygoniRSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %11, i32 noundef %99, ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %100 unwind label %119

100:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %101 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %102 unwind label %123

102:                                              ; preds = %100
  %103 = urem i64 %101, 2
  %104 = icmp ne i64 %103, 0
  br i1 %104, label %105, label %107

105:                                              ; preds = %102
  invoke void @_ZN2ptC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef 0xK3FFF8000000000000000, x86_fp80 noundef 0xK00000000000000000000)
          to label %106 unwind label %123

106:                                              ; preds = %105
  br label %109

107:                                              ; preds = %102
  invoke void @_ZN2ptC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK3FFF8000000000000000)
          to label %108 unwind label %123

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108, %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store ptr %11, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %110 = load ptr, ptr %15, align 8, !tbaa !13
  %111 = call ptr @_ZNSt6vectorI2ptSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #8
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %113 = load ptr, ptr %15, align 8, !tbaa !13
  %114 = call ptr @_ZNSt6vectorI2ptSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #8
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  br label %116

116:                                              ; preds = %132, %109
  %117 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br i1 %117, label %127, label %118

118:                                              ; preds = %116
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %138

119:                                              ; preds = %85
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %12, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %13, align 4
  br label %552

123:                                              ; preds = %138, %107, %105, %100
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %12, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %13, align 4
  br label %551

127:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %128 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  store ptr %128, ptr %18, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %14, i64 32, i1 false), !tbaa.struct !15
  %129 = load ptr, ptr %18, align 8, !tbaa !13
  %130 = invoke noundef nonnull align 16 dereferenceable(32) ptr @_ZN2ptpLES_(ptr noundef nonnull align 16 dereferenceable(32) %129, ptr noundef byval(%struct.pt) align 16 %19)
          to label %131 unwind label %134

131:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %132

132:                                              ; preds = %131
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br label %116

134:                                              ; preds = %127
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %12, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %551

138:                                              ; preds = %118
  %139 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %140 unwind label %123

140:                                              ; preds = %138
  %141 = urem i64 %139, 2
  %142 = icmp ne i64 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %140
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8) #8
  call void @_ZSt4swapI2ptSaIS0_EEvRSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %144

144:                                              ; preds = %143, %140
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #8
  invoke void @_ZN21IncrementalConvexHullC2Ev(ptr noundef nonnull align 16 dereferenceable(64) %20)
          to label %145 unwind label %156

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #8
  invoke void @_ZN21IncrementalConvexHullC2Ev(ptr noundef nonnull align 16 dereferenceable(64) %21)
          to label %146 unwind label %160

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store ptr %10, ptr %22, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %147 = load ptr, ptr %22, align 8, !tbaa !13
  %148 = call ptr @_ZNSt6vectorI2ptSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %147) #8
  %149 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %148, ptr %149, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %150 = load ptr, ptr %22, align 8, !tbaa !13
  %151 = call ptr @_ZNSt6vectorI2ptSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %150) #8
  %152 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %151, ptr %152, align 8
  br label %153

153:                                              ; preds = %177, %146
  %154 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  br i1 %154, label %164, label %155

155:                                              ; preds = %153
  store i32 7, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, 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 %179

156:                                              ; preds = %144
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %12, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %13, align 4
  br label %550

160:                                              ; preds = %145
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %12, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %13, align 4
  br label %549

164:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %165 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  store ptr %165, ptr %25, align 8, !tbaa !13
  %166 = load ptr, ptr %25, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %166, i64 32, i1 false), !tbaa.struct !15
  %167 = invoke noundef zeroext i1 @_ZN21IncrementalConvexHull8addPointE2pt(ptr noundef nonnull align 16 dereferenceable(64) %20, ptr noundef byval(%struct.pt) align 16 %26)
          to label %168 unwind label %171

168:                                              ; preds = %164
  br i1 %167, label %169, label %170

169:                                              ; preds = %168
  br label %176

170:                                              ; preds = %168
  call void @__assert_fail(ptr noundef @.str.29, ptr noundef @.str.4, i32 noundef 216, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

171:                                              ; preds = %164
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %12, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, 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 %548

175:                                              ; No predecessors!
  br label %176

176:                                              ; preds = %175, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %177

177:                                              ; preds = %176
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br label %153

179:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  store ptr %11, ptr %27, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %180 = load ptr, ptr %27, align 8, !tbaa !13
  %181 = call ptr @_ZNSt6vectorI2ptSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %180) #8
  %182 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %181, ptr %182, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %183 = load ptr, ptr %27, align 8, !tbaa !13
  %184 = call ptr @_ZNSt6vectorI2ptSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %183) #8
  %185 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %184, ptr %185, align 8
  br label %186

186:                                              ; preds = %202, %179
  %187 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br i1 %187, label %189, label %188

188:                                              ; preds = %186
  store i32 9, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %204

189:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %190 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  store ptr %190, ptr %30, align 8, !tbaa !13
  %191 = load ptr, ptr %30, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 %191, i64 32, i1 false), !tbaa.struct !15
  %192 = invoke noundef zeroext i1 @_ZN21IncrementalConvexHull8addPointE2pt(ptr noundef nonnull align 16 dereferenceable(64) %21, ptr noundef byval(%struct.pt) align 16 %31)
          to label %193 unwind label %196

193:                                              ; preds = %189
  br i1 %192, label %194, label %195

194:                                              ; preds = %193
  br label %201

195:                                              ; preds = %193
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str.4, i32 noundef 217, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

196:                                              ; preds = %189
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %12, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %548

200:                                              ; No predecessors!
  br label %201

201:                                              ; preds = %200, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %202

202:                                              ; preds = %201
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br label %186

204:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  %205 = load i8, ptr %9, align 1, !tbaa !11, !range !18, !noundef !19
  %206 = trunc i8 %205 to i1
  invoke void @_Z33convexPolygonConvexPolygonTangentRKSt6vectorI2ptSaIS0_EES4_b(ptr dead_on_unwind writable sret(%"class.std::vector.24") align 8 %32, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11, i1 noundef zeroext %206)
          to label %207 unwind label %222

207:                                              ; preds = %204
  %208 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %209 = getelementptr inbounds %"struct.std::pair.20", ptr %208, i32 0, i32 0
  %210 = load i32, ptr %209, align 4, !tbaa !20
  %211 = icmp sle i32 0, %210
  br i1 %211, label %212, label %218

212:                                              ; preds = %207
  %213 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %214 = getelementptr inbounds %"struct.std::pair.20", ptr %213, i32 0, i32 0
  %215 = load i32, ptr %214, align 4, !tbaa !20
  %216 = load i32, ptr %7, align 4, !tbaa !5
  %217 = icmp slt i32 %215, %216
  br label %218

218:                                              ; preds = %212, %207
  %219 = phi i1 [ false, %207 ], [ %217, %212 ]
  br i1 %219, label %220, label %221

220:                                              ; preds = %218
  br label %227

221:                                              ; preds = %218
  call void @__assert_fail(ptr noundef @.str.31, ptr noundef @.str.4, i32 noundef 219, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

222:                                              ; preds = %204
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %12, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %13, align 4
  br label %547

226:                                              ; No predecessors!
  br label %227

227:                                              ; preds = %226, %220
  %228 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %229 = getelementptr inbounds %"struct.std::pair.20", ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 4, !tbaa !20
  %231 = icmp sle i32 0, %230
  br i1 %231, label %232, label %238

232:                                              ; preds = %227
  %233 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %234 = getelementptr inbounds %"struct.std::pair.20", ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 4, !tbaa !20
  %236 = load i32, ptr %7, align 4, !tbaa !5
  %237 = icmp slt i32 %235, %236
  br label %238

238:                                              ; preds = %232, %227
  %239 = phi i1 [ false, %227 ], [ %237, %232 ]
  br i1 %239, label %240, label %241

240:                                              ; preds = %238
  br label %243

241:                                              ; preds = %238
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.4, i32 noundef 220, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

242:                                              ; No predecessors!
  br label %243

243:                                              ; preds = %242, %240
  %244 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %245 = getelementptr inbounds %"struct.std::pair.20", ptr %244, i32 0, i32 1
  %246 = load i32, ptr %245, align 4, !tbaa !22
  %247 = icmp sle i32 0, %246
  br i1 %247, label %248, label %254

248:                                              ; preds = %243
  %249 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %250 = getelementptr inbounds %"struct.std::pair.20", ptr %249, i32 0, i32 1
  %251 = load i32, ptr %250, align 4, !tbaa !22
  %252 = load i32, ptr %8, align 4, !tbaa !5
  %253 = icmp slt i32 %251, %252
  br label %254

254:                                              ; preds = %248, %243
  %255 = phi i1 [ false, %243 ], [ %253, %248 ]
  br i1 %255, label %256, label %257

256:                                              ; preds = %254
  br label %259

257:                                              ; preds = %254
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.4, i32 noundef 221, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

258:                                              ; No predecessors!
  br label %259

259:                                              ; preds = %258, %256
  %260 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %261 = getelementptr inbounds %"struct.std::pair.20", ptr %260, i32 0, i32 1
  %262 = load i32, ptr %261, align 4, !tbaa !22
  %263 = icmp sle i32 0, %262
  br i1 %263, label %264, label %270

264:                                              ; preds = %259
  %265 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %266 = getelementptr inbounds %"struct.std::pair.20", ptr %265, i32 0, i32 1
  %267 = load i32, ptr %266, align 4, !tbaa !22
  %268 = load i32, ptr %8, align 4, !tbaa !5
  %269 = icmp slt i32 %267, %268
  br label %270

270:                                              ; preds = %264, %259
  %271 = phi i1 [ false, %259 ], [ %269, %264 ]
  br i1 %271, label %272, label %273

272:                                              ; preds = %270
  br label %275

273:                                              ; preds = %270
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str.4, i32 noundef 222, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

274:                                              ; No predecessors!
  br label %275

275:                                              ; preds = %274, %272
  %276 = load i64, ptr %4, align 8, !tbaa !9
  %277 = mul nsw i64 31, %276
  %278 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %279 = getelementptr inbounds %"struct.std::pair.20", ptr %278, i32 0, i32 0
  %280 = load i32, ptr %279, align 4, !tbaa !20
  %281 = sext i32 %280 to i64
  %282 = add nsw i64 %277, %281
  store i64 %282, ptr %4, align 8, !tbaa !9
  %283 = load i64, ptr %4, align 8, !tbaa !9
  %284 = mul nsw i64 31, %283
  %285 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %286 = getelementptr inbounds %"struct.std::pair.20", ptr %285, i32 0, i32 1
  %287 = load i32, ptr %286, align 4, !tbaa !22
  %288 = sext i32 %287 to i64
  %289 = add nsw i64 %284, %288
  store i64 %289, ptr %4, align 8, !tbaa !9
  %290 = load i64, ptr %4, align 8, !tbaa !9
  %291 = mul nsw i64 31, %290
  %292 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %293 = getelementptr inbounds %"struct.std::pair.20", ptr %292, i32 0, i32 0
  %294 = load i32, ptr %293, align 4, !tbaa !20
  %295 = sext i32 %294 to i64
  %296 = add nsw i64 %291, %295
  store i64 %296, ptr %4, align 8, !tbaa !9
  %297 = load i64, ptr %4, align 8, !tbaa !9
  %298 = mul nsw i64 31, %297
  %299 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %300 = getelementptr inbounds %"struct.std::pair.20", ptr %299, i32 0, i32 1
  %301 = load i32, ptr %300, align 4, !tbaa !22
  %302 = sext i32 %301 to i64
  %303 = add nsw i64 %298, %302
  store i64 %303, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #8
  %304 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %305 = getelementptr inbounds %"struct.std::pair.20", ptr %304, i32 0, i32 0
  %306 = load i32, ptr %305, align 4, !tbaa !20
  %307 = sext i32 %306 to i64
  %308 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %307) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 16 %308, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #8
  %309 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %310 = getelementptr inbounds %"struct.std::pair.20", ptr %309, i32 0, i32 0
  %311 = load i32, ptr %310, align 4, !tbaa !20
  %312 = sext i32 %311 to i64
  %313 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %312) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %34, ptr align 16 %313, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #8
  %314 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #8
  %315 = getelementptr inbounds %"struct.std::pair.20", ptr %314, i32 0, i32 1
  %316 = load i32, ptr %315, align 4, !tbaa !22
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %317) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %318, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #8
  %319 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 1) #8
  %320 = getelementptr inbounds %"struct.std::pair.20", ptr %319, i32 0, i32 1
  %321 = load i32, ptr %320, align 4, !tbaa !22
  %322 = sext i32 %321 to i64
  %323 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %322) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 16 %323, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.start.p0(i64 48, ptr %37) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 %33, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %39, ptr align 16 %35, i64 32, i1 false), !tbaa.struct !15
  invoke void @_ZN4LineC2E2ptS0_(ptr noundef nonnull align 16 dereferenceable(48) %37, ptr noundef byval(%struct.pt) align 16 %38, ptr noundef byval(%struct.pt) align 16 %39)
          to label %324 unwind label %331

324:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 48, ptr %40) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %34, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 %36, i64 32, i1 false), !tbaa.struct !15
  invoke void @_ZN4LineC2E2ptS0_(ptr noundef nonnull align 16 dereferenceable(48) %40, ptr noundef byval(%struct.pt) align 16 %41, ptr noundef byval(%struct.pt) align 16 %42)
          to label %325 unwind label %335

325:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  store i32 0, ptr %43, align 4, !tbaa !5
  br label %326

326:                                              ; preds = %404, %325
  %327 = load i32, ptr %43, align 4, !tbaa !5
  %328 = load i32, ptr %7, align 4, !tbaa !5
  %329 = icmp slt i32 %327, %328
  br i1 %329, label %339, label %330

330:                                              ; preds = %326
  store i32 11, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %407

331:                                              ; preds = %275
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %12, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %13, align 4
  br label %546

335:                                              ; preds = %324
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %12, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %13, align 4
  br label %545

339:                                              ; preds = %326
  %340 = load i32, ptr %43, align 4, !tbaa !5
  %341 = sext i32 %340 to i64
  %342 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %341) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %342, i64 32, i1 false), !tbaa.struct !15
  %343 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %37, ptr noundef byval(%struct.pt) align 16 %44)
          to label %344 unwind label %368

344:                                              ; preds = %339
  %345 = icmp sgt i32 %343, 0
  br i1 %345, label %364, label %346

346:                                              ; preds = %344
  %347 = load i32, ptr %43, align 4, !tbaa !5
  %348 = sext i32 %347 to i64
  %349 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %348) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 16 %349, i64 32, i1 false), !tbaa.struct !15
  %350 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %37, ptr noundef byval(%struct.pt) align 16 %45)
          to label %351 unwind label %368

351:                                              ; preds = %346
  %352 = icmp eq i32 %350, 0
  br i1 %352, label %353, label %362

353:                                              ; preds = %351
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 %35, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %47, ptr align 16 %33, i64 32, i1 false), !tbaa.struct !15
  %354 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %46, ptr noundef byval(%struct.pt) align 16 %47)
          to label %355 unwind label %368

355:                                              ; preds = %353
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 %35, i64 32, i1 false), !tbaa.struct !15
  %356 = load i32, ptr %43, align 4, !tbaa !5
  %357 = sext i32 %356 to i64
  %358 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %357) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %358, i64 32, i1 false), !tbaa.struct !15
  %359 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %48, ptr noundef byval(%struct.pt) align 16 %49)
          to label %360 unwind label %368

360:                                              ; preds = %355
  %361 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %354, x86_fp80 noundef %359)
  br label %362

362:                                              ; preds = %360, %351
  %363 = phi i1 [ false, %351 ], [ %361, %360 ]
  br label %364

364:                                              ; preds = %362, %344
  %365 = phi i1 [ true, %344 ], [ %363, %362 ]
  br i1 %365, label %366, label %367

366:                                              ; preds = %364
  br label %373

367:                                              ; preds = %364
  call void @__assert_fail(ptr noundef @.str.35, ptr noundef @.str.4, i32 noundef 230, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

368:                                              ; preds = %389, %387, %380, %373, %355, %353, %346, %339
  %369 = landingpad { ptr, i32 }
          cleanup
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %12, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %545

372:                                              ; No predecessors!
  br label %373

373:                                              ; preds = %372, %366
  %374 = load i32, ptr %43, align 4, !tbaa !5
  %375 = sext i32 %374 to i64
  %376 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %375) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %50, ptr align 16 %376, i64 32, i1 false), !tbaa.struct !15
  %377 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %40, ptr noundef byval(%struct.pt) align 16 %50)
          to label %378 unwind label %368

378:                                              ; preds = %373
  %379 = icmp slt i32 %377, 0
  br i1 %379, label %398, label %380

380:                                              ; preds = %378
  %381 = load i32, ptr %43, align 4, !tbaa !5
  %382 = sext i32 %381 to i64
  %383 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %382) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %51, ptr align 16 %383, i64 32, i1 false), !tbaa.struct !15
  %384 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %40, ptr noundef byval(%struct.pt) align 16 %51)
          to label %385 unwind label %368

385:                                              ; preds = %380
  %386 = icmp eq i32 %384, 0
  br i1 %386, label %387, label %396

387:                                              ; preds = %385
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %52, ptr align 16 %36, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %53, ptr align 16 %34, i64 32, i1 false), !tbaa.struct !15
  %388 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %52, ptr noundef byval(%struct.pt) align 16 %53)
          to label %389 unwind label %368

389:                                              ; preds = %387
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 16 %36, i64 32, i1 false), !tbaa.struct !15
  %390 = load i32, ptr %43, align 4, !tbaa !5
  %391 = sext i32 %390 to i64
  %392 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %391) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %55, ptr align 16 %392, i64 32, i1 false), !tbaa.struct !15
  %393 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %54, ptr noundef byval(%struct.pt) align 16 %55)
          to label %394 unwind label %368

394:                                              ; preds = %389
  %395 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %388, x86_fp80 noundef %393)
  br label %396

396:                                              ; preds = %394, %385
  %397 = phi i1 [ false, %385 ], [ %395, %394 ]
  br label %398

398:                                              ; preds = %396, %378
  %399 = phi i1 [ true, %378 ], [ %397, %396 ]
  br i1 %399, label %400, label %401

400:                                              ; preds = %398
  br label %403

401:                                              ; preds = %398
  call void @__assert_fail(ptr noundef @.str.36, ptr noundef @.str.4, i32 noundef 231, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

402:                                              ; No predecessors!
  br label %403

403:                                              ; preds = %402, %400
  br label %404

404:                                              ; preds = %403
  %405 = load i32, ptr %43, align 4, !tbaa !5
  %406 = add nsw i32 %405, 1
  store i32 %406, ptr %43, align 4, !tbaa !5
  br label %326, !llvm.loop !23

407:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #8
  store i32 0, ptr %56, align 4, !tbaa !5
  br label %408

408:                                              ; preds = %486, %407
  %409 = load i32, ptr %56, align 4, !tbaa !5
  %410 = load i32, ptr %8, align 4, !tbaa !5
  %411 = icmp slt i32 %409, %410
  br i1 %411, label %413, label %412

412:                                              ; preds = %408
  store i32 14, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  br label %489

413:                                              ; preds = %408
  %414 = load i32, ptr %56, align 4, !tbaa !5
  %415 = sext i32 %414 to i64
  %416 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %415) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %57, ptr align 16 %416, i64 32, i1 false), !tbaa.struct !15
  %417 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %37, ptr noundef byval(%struct.pt) align 16 %57)
          to label %418 unwind label %446

418:                                              ; preds = %413
  %419 = load i8, ptr %9, align 1, !tbaa !11, !range !18, !noundef !19
  %420 = trunc i8 %419 to i1
  %421 = zext i1 %420 to i64
  %422 = select i1 %420, i32 -1, i32 1
  %423 = icmp eq i32 %417, %422
  br i1 %423, label %442, label %424

424:                                              ; preds = %418
  %425 = load i32, ptr %56, align 4, !tbaa !5
  %426 = sext i32 %425 to i64
  %427 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %426) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %58, ptr align 16 %427, i64 32, i1 false), !tbaa.struct !15
  %428 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %37, ptr noundef byval(%struct.pt) align 16 %58)
          to label %429 unwind label %446

429:                                              ; preds = %424
  %430 = icmp eq i32 %428, 0
  br i1 %430, label %431, label %440

431:                                              ; preds = %429
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %59, ptr align 16 %33, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %60, ptr align 16 %35, i64 32, i1 false), !tbaa.struct !15
  %432 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %59, ptr noundef byval(%struct.pt) align 16 %60)
          to label %433 unwind label %446

433:                                              ; preds = %431
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %61, ptr align 16 %33, i64 32, i1 false), !tbaa.struct !15
  %434 = load i32, ptr %56, align 4, !tbaa !5
  %435 = sext i32 %434 to i64
  %436 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %435) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %62, ptr align 16 %436, i64 32, i1 false), !tbaa.struct !15
  %437 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %61, ptr noundef byval(%struct.pt) align 16 %62)
          to label %438 unwind label %446

438:                                              ; preds = %433
  %439 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %432, x86_fp80 noundef %437)
  br label %440

440:                                              ; preds = %438, %429
  %441 = phi i1 [ false, %429 ], [ %439, %438 ]
  br label %442

442:                                              ; preds = %440, %418
  %443 = phi i1 [ true, %418 ], [ %441, %440 ]
  br i1 %443, label %444, label %445

444:                                              ; preds = %442
  br label %451

445:                                              ; preds = %442
  call void @__assert_fail(ptr noundef @.str.37, ptr noundef @.str.4, i32 noundef 234, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

446:                                              ; preds = %471, %469, %462, %451, %433, %431, %424, %413
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %12, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  br label %545

450:                                              ; No predecessors!
  br label %451

451:                                              ; preds = %450, %444
  %452 = load i32, ptr %56, align 4, !tbaa !5
  %453 = sext i32 %452 to i64
  %454 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %453) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %63, ptr align 16 %454, i64 32, i1 false), !tbaa.struct !15
  %455 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %40, ptr noundef byval(%struct.pt) align 16 %63)
          to label %456 unwind label %446

456:                                              ; preds = %451
  %457 = load i8, ptr %9, align 1, !tbaa !11, !range !18, !noundef !19
  %458 = trunc i8 %457 to i1
  %459 = zext i1 %458 to i64
  %460 = select i1 %458, i32 1, i32 -1
  %461 = icmp eq i32 %455, %460
  br i1 %461, label %480, label %462

462:                                              ; preds = %456
  %463 = load i32, ptr %56, align 4, !tbaa !5
  %464 = sext i32 %463 to i64
  %465 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %464) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %64, ptr align 16 %465, i64 32, i1 false), !tbaa.struct !15
  %466 = invoke noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %40, ptr noundef byval(%struct.pt) align 16 %64)
          to label %467 unwind label %446

467:                                              ; preds = %462
  %468 = icmp eq i32 %466, 0
  br i1 %468, label %469, label %478

469:                                              ; preds = %467
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %65, ptr align 16 %34, i64 32, i1 false), !tbaa.struct !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %66, ptr align 16 %36, i64 32, i1 false), !tbaa.struct !15
  %470 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %65, ptr noundef byval(%struct.pt) align 16 %66)
          to label %471 unwind label %446

471:                                              ; preds = %469
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %67, ptr align 16 %34, i64 32, i1 false), !tbaa.struct !15
  %472 = load i32, ptr %56, align 4, !tbaa !5
  %473 = sext i32 %472 to i64
  %474 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %473) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %68, ptr align 16 %474, i64 32, i1 false), !tbaa.struct !15
  %475 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16 %67, ptr noundef byval(%struct.pt) align 16 %68)
          to label %476 unwind label %446

476:                                              ; preds = %471
  %477 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %470, x86_fp80 noundef %475)
  br label %478

478:                                              ; preds = %476, %467
  %479 = phi i1 [ false, %467 ], [ %477, %476 ]
  br label %480

480:                                              ; preds = %478, %456
  %481 = phi i1 [ true, %456 ], [ %479, %478 ]
  br i1 %481, label %482, label %483

482:                                              ; preds = %480
  br label %485

483:                                              ; preds = %480
  call void @__assert_fail(ptr noundef @.str.38, ptr noundef @.str.4, i32 noundef 235, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

484:                                              ; No predecessors!
  br label %485

485:                                              ; preds = %484, %482
  br label %486

486:                                              ; preds = %485
  %487 = load i32, ptr %56, align 4, !tbaa !5
  %488 = add nsw i32 %487, 1
  store i32 %488, ptr %56, align 4, !tbaa !5
  br label %408, !llvm.loop !25

489:                                              ; preds = %412
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #8
  %490 = load i8, ptr %9, align 1, !tbaa !11, !range !18, !noundef !19
  %491 = trunc i8 %490 to i1
  invoke void @_ZNK21IncrementalConvexHull12hullTangentsERKS_b(ptr dead_on_unwind writable sret(%"class.std::vector.59") align 8 %69, ptr noundef nonnull align 16 dereferenceable(64) %20, ptr noundef nonnull align 16 dereferenceable(64) %21, i1 noundef zeroext %491)
          to label %492 unwind label %501

492:                                              ; preds = %489
  %493 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 0) #8
  %494 = getelementptr inbounds %"struct.std::pair.67", ptr %493, i32 0, i32 0
  %495 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %494) #8
  %496 = getelementptr inbounds %struct.Ray, ptr %495, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %70, ptr align 16 %496, i64 32, i1 false), !tbaa.struct !15
  %497 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %33, ptr noundef byval(%struct.pt) align 16 %70)
          to label %498 unwind label %505

498:                                              ; preds = %492
  br i1 %497, label %499, label %500

499:                                              ; preds = %498
  br label %510

500:                                              ; preds = %498
  call void @__assert_fail(ptr noundef @.str.39, ptr noundef @.str.4, i32 noundef 238, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

501:                                              ; preds = %489
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %12, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %13, align 4
  br label %544

505:                                              ; preds = %530, %520, %510, %492
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %12, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %13, align 4
  call void @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  br label %544

509:                                              ; No predecessors!
  br label %510

510:                                              ; preds = %509, %499
  %511 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 1) #8
  %512 = getelementptr inbounds %"struct.std::pair.67", ptr %511, i32 0, i32 0
  %513 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %512) #8
  %514 = getelementptr inbounds %struct.Ray, ptr %513, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %71, ptr align 16 %514, i64 32, i1 false), !tbaa.struct !15
  %515 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %34, ptr noundef byval(%struct.pt) align 16 %71)
          to label %516 unwind label %505

516:                                              ; preds = %510
  br i1 %515, label %517, label %518

517:                                              ; preds = %516
  br label %520

518:                                              ; preds = %516
  call void @__assert_fail(ptr noundef @.str.40, ptr noundef @.str.4, i32 noundef 239, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

519:                                              ; No predecessors!
  br label %520

520:                                              ; preds = %519, %517
  %521 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 0) #8
  %522 = getelementptr inbounds %"struct.std::pair.67", ptr %521, i32 0, i32 1
  %523 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %522) #8
  %524 = getelementptr inbounds %struct.Ray, ptr %523, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %72, ptr align 16 %524, i64 32, i1 false), !tbaa.struct !15
  %525 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %35, ptr noundef byval(%struct.pt) align 16 %72)
          to label %526 unwind label %505

526:                                              ; preds = %520
  br i1 %525, label %527, label %528

527:                                              ; preds = %526
  br label %530

528:                                              ; preds = %526
  call void @__assert_fail(ptr noundef @.str.41, ptr noundef @.str.4, i32 noundef 240, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

529:                                              ; No predecessors!
  br label %530

530:                                              ; preds = %529, %527
  %531 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 1) #8
  %532 = getelementptr inbounds %"struct.std::pair.67", ptr %531, i32 0, i32 1
  %533 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %532) #8
  %534 = getelementptr inbounds %struct.Ray, ptr %533, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %73, ptr align 16 %534, i64 32, i1 false), !tbaa.struct !15
  %535 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %36, ptr noundef byval(%struct.pt) align 16 %73)
          to label %536 unwind label %505

536:                                              ; preds = %530
  br i1 %535, label %537, label %538

537:                                              ; preds = %536
  br label %540

538:                                              ; preds = %536
  call void @__assert_fail(ptr noundef @.str.42, ptr noundef @.str.4, i32 noundef 241, ptr noundef @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

539:                                              ; No predecessors!
  br label %540

540:                                              ; preds = %539, %537
  call void @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %21) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #8
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %20) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %541

541:                                              ; preds = %540
  %542 = load i32, ptr %5, align 4, !tbaa !5
  %543 = add nsw i32 %542, 1
  store i32 %543, ptr %5, align 4, !tbaa !5
  br label %81, !llvm.loop !26

544:                                              ; preds = %505, %501
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #8
  br label %545

545:                                              ; preds = %544, %446, %368, %335
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #8
  br label %546

546:                                              ; preds = %545, %331
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %547

547:                                              ; preds = %546, %222
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  br label %548

548:                                              ; preds = %547, %196, %171
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %21) #8
  br label %549

549:                                              ; preds = %548, %160
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #8
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %20) #8
  br label %550

550:                                              ; preds = %549, %156
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #8
  br label %551

551:                                              ; preds = %550, %134, %123
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %552

552:                                              ; preds = %551, %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  br label %579

553:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #8
  %554 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %555 = getelementptr inbounds %"class.std::chrono::time_point", ptr %74, i32 0, i32 0
  %556 = getelementptr inbounds %"class.std::chrono::duration", ptr %555, i32 0, i32 0
  store i64 %554, ptr %556, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #8
  %557 = call i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %558 = getelementptr inbounds %"class.std::chrono::duration", ptr %76, i32 0, i32 0
  store i64 %557, ptr %558, align 8
  %559 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %560 = sitofp i64 %559 to double
  %561 = fdiv double %560, 1.000000e+09
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  store double %561, ptr %75, align 8, !tbaa !27
  %562 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.43)
  %563 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %562, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %564 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
  %565 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %564, ptr noundef @_ZSt5fixedRSt8ios_base)
  %566 = call i32 @_ZSt12setprecisioni(i32 noundef 3)
  %567 = getelementptr inbounds %"struct.std::_Setprecision", ptr %77, i32 0, i32 0
  store i32 %566, ptr %567, align 4
  %568 = getelementptr inbounds %"struct.std::_Setprecision", ptr %77, i32 0, i32 0
  %569 = load i32, ptr %568, align 4
  %570 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %565, i32 %569)
  %571 = load double, ptr %75, align 8, !tbaa !27
  %572 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %570, double noundef %571)
  %573 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %572, ptr noundef @.str.19)
  %574 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %573, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %575 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
  %576 = load i64, ptr %4, align 8, !tbaa !9
  %577 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %575, i64 noundef %576)
  %578 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %577, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  ret void

579:                                              ; preds = %552
  %580 = load ptr, ptr %12, align 8
  %581 = load i32, ptr %13, align 4
  %582 = insertvalue { ptr, i32 } poison, ptr %580, 0
  %583 = insertvalue { ptr, i32 } %582, i32 %581, 1
  resume { ptr, i32 } %583
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapI2ptSaIS0_EEvRSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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 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 willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "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 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{i64 0, i64 16, !16, i64 16, i64 16, !16}
!16 = !{!17, !17, i64 0}
!17 = !{!"long double", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!22 = !{!21, !6, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}
!27 = !{!28, !28, i64 0}
!28 = !{!"double", !7, i64 0}


; 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 }
%struct.pt = type { x86_fp80, x86_fp80 }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>, std::allocator<std::pair<std::_Rb_tree_const_iterator<Ray>, std::_Rb_tree_const_iterator<Ray>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl" }
%"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl" = type { %"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pt, std::allocator<pt>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::mersenne_twister_engine" = type { [312 x i64], i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.IncrementalConvexHull = type { %"class.std::set", x86_fp80 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Ray, Ray, std::_Identity<Ray>, std::less<Ray>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Ray, Ray, std::_Identity<Ray>, std::less<Ray>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.Line = type { %struct.pt, x86_fp80 }

@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._Z5test3v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z2leee(x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2ptC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress 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) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4LineC2E2ptS0_(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(32) ptr @_ZN2ptpLES_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z33convexPolygonConvexPolygonTangentRKSt6vectorI2ptSaIS0_EES4_b(ptr dead_on_unwind noalias writable sret(%"class.std::vector.24") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21IncrementalConvexHull12hullTangentsERKS_b(ptr dead_on_unwind noalias writable sret(%"class.std::vector.59") align 8, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64), i1 noundef zeroext) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21generateConvexPolygoniRSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(2504)) local_unnamed_addr #2

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

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN21IncrementalConvexHull8addPointE2pt(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #4

; 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 @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test3v() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::chrono::time_point", align 8
  %2 = alloca %"class.std::mersenne_twister_engine", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %struct.pt, align 16
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %struct.IncrementalConvexHull, align 16
  %11 = alloca %struct.IncrementalConvexHull, align 16
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.std::vector.24", align 8
  %17 = alloca %struct.pt, align 16
  %18 = alloca %struct.pt, align 16
  %19 = alloca %struct.pt, align 16
  %20 = alloca %struct.pt, align 16
  %21 = alloca %struct.Line, align 16
  %22 = alloca %struct.Line, align 16
  %23 = alloca %struct.pt, align 16
  %24 = alloca %struct.pt, align 16
  %25 = alloca %struct.pt, align 16
  %26 = alloca %struct.pt, align 16
  %27 = alloca %"class.std::vector.59", align 8
  %28 = alloca %"class.std::chrono::time_point", align 8
  %29 = alloca %"class.std::chrono::duration", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  %30 = tail call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %30, ptr %1, align 8
  call void @llvm.lifetime.start.p0(i64 2504, ptr nonnull %2) #8
  call void @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEC2Em(ptr noundef nonnull align 8 dereferenceable(2504) %2, i64 noundef 0)
  br label %49

31:                                               ; preds = %308
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  %32 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %32, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  %33 = call i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %1)
  store i64 %33, ptr %29, align 8
  %34 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %35 = sitofp i64 %34 to double
  %36 = fdiv double %35, 1.000000e+09
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.43)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.18)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %41 = call i32 @_ZSt12setprecisioni(i32 noundef 3)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %40, i32 %41)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %42, double noundef %36)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.19)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %46, i64 noundef %177)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  ret void

49:                                               ; preds = %0, %308
  %.0121 = phi i64 [ 0, %0 ], [ %177, %308 ]
  %.060120 = phi i32 [ 0, %0 ], [ %309, %308 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  %50 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %51 = urem i64 %50, 10
  %52 = trunc nuw nsw i64 %51 to i32
  %53 = add nuw nsw i32 %52, 1
  store i32 %53, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %54 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %55 = urem i64 %54, 10
  %56 = trunc nuw nsw i64 %55 to i32
  %57 = add nuw nsw i32 %56, 1
  store i32 %57, ptr %4, align 4, !tbaa !5
  %58 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %59 = and i64 %58, 1
  %60 = icmp ne i64 %59, 0
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  %61 = load i32, ptr %3, align 4, !tbaa !5
  call void @_Z21generateConvexPolygoniRSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, i32 noundef %61, ptr noundef nonnull align 8 dereferenceable(2504) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  %62 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_Z21generateConvexPolygoniRSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %6, i32 noundef %62, ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %63 unwind label %74

63:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  %64 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %65 unwind label %76

65:                                               ; preds = %63
  %66 = and i64 %64, 1
  %.not = icmp eq i64 %66, 0
  br i1 %.not, label %68, label %67

67:                                               ; preds = %65
  call void @_ZN2ptC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %7, x86_fp80 noundef 0xK3FFF8000000000000000, x86_fp80 noundef 0xK00000000000000000000)
  br label %69

68:                                               ; preds = %65
  call void @_ZN2ptC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %7, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK3FFF8000000000000000)
  br label %69

69:                                               ; preds = %68, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %70 = call ptr @_ZNSt6vectorI2ptSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  store ptr %70, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %71 = call ptr @_ZNSt6vectorI2ptSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  store ptr %71, ptr %9, align 8
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %72, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %80, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %73 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %85 unwind label %76

74:                                               ; preds = %49
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %316

76:                                               ; preds = %._crit_edge, %63
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %315

.lr.ph:                                           ; preds = %69, %80
  %78 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %79 = invoke noundef nonnull align 16 dereferenceable(32) ptr @_ZN2ptpLES_(ptr noundef nonnull align 16 dereferenceable(32) %78, ptr noundef nonnull byval(%struct.pt) align 16 %7)
          to label %80 unwind label %83

80:                                               ; preds = %.lr.ph
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %82, label %.lr.ph, label %._crit_edge

83:                                               ; preds = %.lr.ph
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %315

85:                                               ; preds = %._crit_edge
  %86 = and i64 %73, 1
  %.not71 = icmp eq i64 %86, 0
  br i1 %.not71, label %88, label %87

87:                                               ; preds = %85
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4) #8
  call void @_ZSt4swapI2ptSaIS0_EEvRSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %88

88:                                               ; preds = %87, %85
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #8
  call void @_ZN21IncrementalConvexHullC2Ev(ptr noundef nonnull align 16 dereferenceable(64) %10)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #8
  call void @_ZN21IncrementalConvexHullC2Ev(ptr noundef nonnull align 16 dereferenceable(64) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %89 = call ptr @_ZNSt6vectorI2ptSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  store ptr %89, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %90 = call ptr @_ZNSt6vectorI2ptSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  store ptr %90, ptr %13, align 8
  %91 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %91, label %.lr.ph110, label %._crit_edge111

._crit_edge111:                                   ; preds = %101, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %92 = call ptr @_ZNSt6vectorI2ptSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  store ptr %92, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %93 = call ptr @_ZNSt6vectorI2ptSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  store ptr %93, ptr %15, align 8
  %94 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br i1 %94, label %.lr.ph113, label %._crit_edge114

.lr.ph110:                                        ; preds = %88, %101
  %95 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %96 = invoke noundef zeroext i1 @_ZN21IncrementalConvexHull8addPointE2pt(ptr noundef nonnull align 16 dereferenceable(64) %10, ptr noundef nonnull byval(%struct.pt) align 16 %95)
          to label %97 unwind label %99

97:                                               ; preds = %.lr.ph110
  br i1 %96, label %101, label %98

98:                                               ; preds = %97
  call void @__assert_fail(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.4, i32 noundef 216, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

99:                                               ; preds = %.lr.ph110
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %314

101:                                              ; preds = %97
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %103 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %103, label %.lr.ph110, label %._crit_edge111

._crit_edge114:                                   ; preds = %110, %._crit_edge111
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #8
  invoke void @_Z33convexPolygonConvexPolygonTangentRKSt6vectorI2ptSaIS0_EES4_b(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.24") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, i1 noundef zeroext %60)
          to label %113 unwind label %122

.lr.ph113:                                        ; preds = %._crit_edge111, %110
  %104 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %105 = invoke noundef zeroext i1 @_ZN21IncrementalConvexHull8addPointE2pt(ptr noundef nonnull align 16 dereferenceable(64) %11, ptr noundef nonnull byval(%struct.pt) align 16 %104)
          to label %106 unwind label %108

106:                                              ; preds = %.lr.ph113
  br i1 %105, label %110, label %107

107:                                              ; preds = %106
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.4, i32 noundef 217, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

108:                                              ; preds = %.lr.ph113
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br label %314

110:                                              ; preds = %106
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP2ptSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %112 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP2ptSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br i1 %112, label %.lr.ph113, label %._crit_edge114

113:                                              ; preds = %._crit_edge114
  %114 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = icmp sgt i32 %115, -1
  br i1 %116, label %117, label %.critedge

117:                                              ; preds = %113
  %118 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = load i32, ptr %3, align 4, !tbaa !5
  %121 = icmp slt i32 %119, %120
  br i1 %121, label %124, label %.critedge

.critedge:                                        ; preds = %113, %117
  call void @__assert_fail(ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.4, i32 noundef 219, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

122:                                              ; preds = %._crit_edge114
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %313

124:                                              ; preds = %117
  %125 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %126 = load i32, ptr %125, align 4, !tbaa !9
  %127 = icmp sgt i32 %126, -1
  br i1 %127, label %128, label %.critedge2

128:                                              ; preds = %124
  %129 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = load i32, ptr %3, align 4, !tbaa !5
  %132 = icmp slt i32 %130, %131
  br i1 %132, label %133, label %.critedge2

.critedge2:                                       ; preds = %124, %128
  call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.4, i32 noundef 220, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

133:                                              ; preds = %128
  %134 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %135 = getelementptr inbounds i8, ptr %134, i64 4
  %136 = load i32, ptr %135, align 4, !tbaa !11
  %137 = icmp sgt i32 %136, -1
  br i1 %137, label %138, label %.critedge4

138:                                              ; preds = %133
  %139 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %140 = getelementptr inbounds i8, ptr %139, i64 4
  %141 = load i32, ptr %140, align 4, !tbaa !11
  %142 = load i32, ptr %4, align 4, !tbaa !5
  %143 = icmp slt i32 %141, %142
  br i1 %143, label %144, label %.critedge4

.critedge4:                                       ; preds = %133, %138
  call void @__assert_fail(ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.4, i32 noundef 221, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

144:                                              ; preds = %138
  %145 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %146 = getelementptr inbounds i8, ptr %145, i64 4
  %147 = load i32, ptr %146, align 4, !tbaa !11
  %148 = icmp sgt i32 %147, -1
  br i1 %148, label %149, label %.critedge6

149:                                              ; preds = %144
  %150 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %151 = getelementptr inbounds i8, ptr %150, i64 4
  %152 = load i32, ptr %151, align 4, !tbaa !11
  %153 = load i32, ptr %4, align 4, !tbaa !5
  %154 = icmp slt i32 %152, %153
  br i1 %154, label %155, label %.critedge6

.critedge6:                                       ; preds = %144, %149
  call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.4, i32 noundef 222, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

155:                                              ; preds = %149
  %156 = mul nsw i64 %.0121, 31
  %157 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %158 = load i32, ptr %157, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = add nsw i64 %156, %159
  %161 = mul nsw i64 %160, 31
  %162 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %163 = getelementptr inbounds i8, ptr %162, i64 4
  %164 = load i32, ptr %163, align 4, !tbaa !11
  %165 = sext i32 %164 to i64
  %166 = add nsw i64 %161, %165
  %167 = mul nsw i64 %166, 31
  %168 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %169 = load i32, ptr %168, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = add nsw i64 %167, %170
  %172 = mul nsw i64 %171, 31
  %173 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %174 = getelementptr inbounds i8, ptr %173, i64 4
  %175 = load i32, ptr %174, align 4, !tbaa !11
  %176 = sext i32 %175 to i64
  %177 = add nsw i64 %172, %176
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #8
  %178 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %179 = load i32, ptr %178, align 4, !tbaa !9
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %180) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %17, ptr noundef nonnull align 16 dereferenceable(32) %181, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #8
  %182 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %183 = load i32, ptr %182, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %184) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull align 16 dereferenceable(32) %185, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #8
  %186 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %187 = getelementptr inbounds i8, ptr %186, i64 4
  %188 = load i32, ptr %187, align 4, !tbaa !11
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %189) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %19, ptr noundef nonnull align 16 dereferenceable(32) %190, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #8
  %191 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #8
  %192 = getelementptr inbounds i8, ptr %191, i64 4
  %193 = load i32, ptr %192, align 4, !tbaa !11
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %194) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %20, ptr noundef nonnull align 16 dereferenceable(32) %195, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #8
  invoke void @_ZN4LineC2E2ptS0_(ptr noundef nonnull align 16 dereferenceable(48) %21, ptr noundef nonnull byval(%struct.pt) align 16 %17, ptr noundef nonnull byval(%struct.pt) align 16 %19)
          to label %196 unwind label %203

196:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #8
  invoke void @_ZN4LineC2E2ptS0_(ptr noundef nonnull align 16 dereferenceable(48) %22, ptr noundef nonnull byval(%struct.pt) align 16 %18, ptr noundef nonnull byval(%struct.pt) align 16 %20)
          to label %.preheader82 unwind label %205

.preheader82:                                     ; preds = %196
  %197 = load i32, ptr %3, align 4, !tbaa !5
  %198 = icmp sgt i32 %197, 0
  br i1 %198, label %.lr.ph116, label %.preheader

.preheader:                                       ; preds = %.critedge12, %.preheader82
  %199 = load i32, ptr %4, align 4, !tbaa !5
  %200 = icmp sgt i32 %199, 0
  br i1 %200, label %.lr.ph118, label %._crit_edge119

.lr.ph118:                                        ; preds = %.preheader
  %201 = select i1 %60, i32 -1, i32 1
  %202 = select i1 %60, i32 1, i32 -1
  br label %240

203:                                              ; preds = %155
  %204 = landingpad { ptr, i32 }
          cleanup
  br label %312

205:                                              ; preds = %196
  %206 = landingpad { ptr, i32 }
          cleanup
  br label %311

.lr.ph116:                                        ; preds = %.preheader82, %.critedge12
  %indvars.iv = phi i64 [ %indvars.iv.next, %.critedge12 ], [ 0, %.preheader82 ]
  %207 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #8
  %208 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %21, ptr noundef nonnull byval(%struct.pt) align 16 %207)
  %209 = icmp sgt i32 %208, 0
  br i1 %209, label %.critedge8, label %210

210:                                              ; preds = %.lr.ph116
  %211 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #8
  %212 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %21, ptr noundef nonnull byval(%struct.pt) align 16 %211)
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %214, label %.critedge10

214:                                              ; preds = %210
  %215 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %19, ptr noundef nonnull byval(%struct.pt) align 16 %17)
          to label %216 unwind label %221

216:                                              ; preds = %214
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %23, ptr noundef nonnull align 16 dereferenceable(32) %19, i64 32, i1 false), !tbaa.struct !12
  %217 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #8
  %218 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %23, ptr noundef nonnull byval(%struct.pt) align 16 %217)
          to label %219 unwind label %221

219:                                              ; preds = %216
  %220 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %215, x86_fp80 noundef %218)
  br i1 %220, label %.critedge8, label %.critedge10

.critedge10:                                      ; preds = %210, %219
  call void @__assert_fail(ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.4, i32 noundef 230, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

221:                                              ; preds = %232, %230, %216, %214
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %311

.critedge8:                                       ; preds = %.lr.ph116, %219
  %223 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #8
  %224 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %22, ptr noundef nonnull byval(%struct.pt) align 16 %223)
  %225 = icmp slt i32 %224, 0
  br i1 %225, label %.critedge12, label %226

226:                                              ; preds = %.critedge8
  %227 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #8
  %228 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %22, ptr noundef nonnull byval(%struct.pt) align 16 %227)
  %229 = icmp eq i32 %228, 0
  br i1 %229, label %230, label %.critedge14

230:                                              ; preds = %226
  %231 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %20, ptr noundef nonnull byval(%struct.pt) align 16 %18)
          to label %232 unwind label %221

232:                                              ; preds = %230
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %24, ptr noundef nonnull align 16 dereferenceable(32) %20, i64 32, i1 false), !tbaa.struct !12
  %233 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #8
  %234 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %24, ptr noundef nonnull byval(%struct.pt) align 16 %233)
          to label %235 unwind label %221

235:                                              ; preds = %232
  %236 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %231, x86_fp80 noundef %234)
  br i1 %236, label %.critedge12, label %.critedge14

.critedge14:                                      ; preds = %226, %235
  call void @__assert_fail(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.4, i32 noundef 231, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

.critedge12:                                      ; preds = %.critedge8, %235
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %237 = load i32, ptr %3, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = icmp slt i64 %indvars.iv.next, %238
  br i1 %239, label %.lr.ph116, label %.preheader, !llvm.loop !15

._crit_edge119:                                   ; preds = %.critedge20, %.preheader
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #8
  invoke void @_ZNK21IncrementalConvexHull12hullTangentsERKS_b(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.59") align 8 %27, ptr noundef nonnull align 16 dereferenceable(64) %10, ptr noundef nonnull align 16 dereferenceable(64) %11, i1 noundef zeroext %60)
          to label %274 unwind label %281

240:                                              ; preds = %.lr.ph118, %.critedge20
  %indvars.iv137 = phi i64 [ 0, %.lr.ph118 ], [ %indvars.iv.next138, %.critedge20 ]
  %241 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv137) #8
  %242 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %21, ptr noundef nonnull byval(%struct.pt) align 16 %241)
  %243 = icmp eq i32 %242, %201
  br i1 %243, label %.critedge16, label %244

244:                                              ; preds = %240
  %245 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv137) #8
  %246 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %21, ptr noundef nonnull byval(%struct.pt) align 16 %245)
  %247 = icmp eq i32 %246, 0
  br i1 %247, label %248, label %.critedge18

248:                                              ; preds = %244
  %249 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %17, ptr noundef nonnull byval(%struct.pt) align 16 %19)
          to label %250 unwind label %255

250:                                              ; preds = %248
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %25, ptr noundef nonnull align 16 dereferenceable(32) %17, i64 32, i1 false), !tbaa.struct !12
  %251 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv137) #8
  %252 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %25, ptr noundef nonnull byval(%struct.pt) align 16 %251)
          to label %253 unwind label %255

253:                                              ; preds = %250
  %254 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %249, x86_fp80 noundef %252)
  br i1 %254, label %.critedge16, label %.critedge18

.critedge18:                                      ; preds = %244, %253
  call void @__assert_fail(ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.4, i32 noundef 234, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

255:                                              ; preds = %266, %264, %250, %248
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %311

.critedge16:                                      ; preds = %240, %253
  %257 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv137) #8
  %258 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %22, ptr noundef nonnull byval(%struct.pt) align 16 %257)
  %259 = icmp eq i32 %258, %202
  br i1 %259, label %.critedge20, label %260

260:                                              ; preds = %.critedge16
  %261 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv137) #8
  %262 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %22, ptr noundef nonnull byval(%struct.pt) align 16 %261)
  %263 = icmp eq i32 %262, 0
  br i1 %263, label %264, label %.critedge22

264:                                              ; preds = %260
  %265 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %18, ptr noundef nonnull byval(%struct.pt) align 16 %20)
          to label %266 unwind label %255

266:                                              ; preds = %264
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %26, ptr noundef nonnull align 16 dereferenceable(32) %18, i64 32, i1 false), !tbaa.struct !12
  %267 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNSt6vectorI2ptSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv137) #8
  %268 = invoke noundef x86_fp80 @_Z6distSq2ptS_(ptr noundef nonnull byval(%struct.pt) align 16 %26, ptr noundef nonnull byval(%struct.pt) align 16 %267)
          to label %269 unwind label %255

269:                                              ; preds = %266
  %270 = call noundef zeroext i1 @_Z2leee(x86_fp80 noundef %265, x86_fp80 noundef %268)
  br i1 %270, label %.critedge20, label %.critedge22

.critedge22:                                      ; preds = %260, %269
  call void @__assert_fail(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.4, i32 noundef 235, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

.critedge20:                                      ; preds = %.critedge16, %269
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %271 = load i32, ptr %4, align 4, !tbaa !5
  %272 = sext i32 %271 to i64
  %273 = icmp slt i64 %indvars.iv.next138, %272
  br i1 %273, label %240, label %._crit_edge119, !llvm.loop !17

274:                                              ; preds = %._crit_edge119
  %275 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 0) #8
  %276 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %275) #8
  %277 = getelementptr inbounds i8, ptr %276, i64 16
  %278 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %17, ptr noundef nonnull byval(%struct.pt) align 16 %277)
          to label %279 unwind label %283

279:                                              ; preds = %274
  br i1 %278, label %285, label %280

280:                                              ; preds = %279
  call void @__assert_fail(ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.4, i32 noundef 238, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

281:                                              ; preds = %._crit_edge119
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %310

283:                                              ; preds = %300, %292, %285, %274
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  br label %310

285:                                              ; preds = %279
  %286 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 1) #8
  %287 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %286) #8
  %288 = getelementptr inbounds i8, ptr %287, i64 16
  %289 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull byval(%struct.pt) align 16 %288)
          to label %290 unwind label %283

290:                                              ; preds = %285
  br i1 %289, label %292, label %291

291:                                              ; preds = %290
  call void @__assert_fail(ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.4, i32 noundef 239, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

292:                                              ; preds = %290
  %293 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 0) #8
  %294 = getelementptr inbounds i8, ptr %293, i64 8
  %295 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %294) #8
  %296 = getelementptr inbounds i8, ptr %295, i64 16
  %297 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %19, ptr noundef nonnull byval(%struct.pt) align 16 %296)
          to label %298 unwind label %283

298:                                              ; preds = %292
  br i1 %297, label %300, label %299

299:                                              ; preds = %298
  call void @__assert_fail(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.4, i32 noundef 240, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

300:                                              ; preds = %298
  %301 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 1) #8
  %302 = getelementptr inbounds i8, ptr %301, i64 8
  %303 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI3RayEptEv(ptr noundef nonnull align 8 dereferenceable(8) %302) #8
  %304 = getelementptr inbounds i8, ptr %303, i64 16
  %305 = invoke noundef zeroext i1 @_ZNK2pteqES_(ptr noundef nonnull align 16 dereferenceable(32) %20, ptr noundef nonnull byval(%struct.pt) align 16 %304)
          to label %306 unwind label %283

306:                                              ; preds = %300
  br i1 %305, label %308, label %307

307:                                              ; preds = %306
  call void @__assert_fail(ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.4, i32 noundef 241, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test3v) #9
  unreachable

308:                                              ; preds = %306
  call void @_ZNSt6vectorISt4pairISt23_Rb_tree_const_iteratorI3RayES3_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #8
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %10) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  %309 = add nuw nsw i32 %.060120, 1
  %exitcond.not = icmp eq i32 %309, 100000
  br i1 %exitcond.not, label %31, label %49, !llvm.loop !18

310:                                              ; preds = %283, %281
  %.pn = phi { ptr, i32 } [ %284, %283 ], [ %282, %281 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %311

311:                                              ; preds = %310, %255, %221, %205
  %.pn73 = phi { ptr, i32 } [ %222, %221 ], [ %256, %255 ], [ %.pn, %310 ], [ %206, %205 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #8
  br label %312

312:                                              ; preds = %311, %203
  %.pn73.pn = phi { ptr, i32 } [ %.pn73, %311 ], [ %204, %203 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %313

313:                                              ; preds = %312, %122
  %.pn73.pn.pn = phi { ptr, i32 } [ %.pn73.pn, %312 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  br label %314

314:                                              ; preds = %313, %108, %99
  %.pn77 = phi { ptr, i32 } [ %100, %99 ], [ %109, %108 ], [ %.pn73.pn.pn, %313 ]
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #8
  call void @_ZNSt3setI3RaySt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 16 dereferenceable(64) %10) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #8
  br label %315

315:                                              ; preds = %314, %83, %76
  %.pn79 = phi { ptr, i32 } [ %84, %83 ], [ %.pn77, %314 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %316

316:                                              ; preds = %315, %74
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %315 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt6vectorI2ptSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn79.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapI2ptSaIS0_EEvRSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) 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 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 willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "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 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
!12 = !{i64 0, i64 16, !13, i64 16, i64 16, !13}
!13 = !{!14, !14, i64 0}
!14 = !{!"long double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


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