; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/src (ClosestPair2D)

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

%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.15" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::auto_ptr_ref" = type { ptr }
%"class.std::auto_ptr" = type { ptr }
%"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator" = type { ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.30" = type { i8 }
%"struct.std::auto_ptr_ref.33" = type { ptr }
%"class.std::auto_ptr.1" = type { ptr }
%"class.fastjet::ClosestPair2D" = type <{ %"class.fastjet::ClosestPair2DBase", %"class.fastjet::ClosestPair2D::triplet.0", %"class.std::auto_ptr.1", %"class.std::vector", %"class.std::stack", %"class.std::vector.5", %"class.fastjet::Coord2D", double, %"class.fastjet::ClosestPair2D::triplet.7", %"class.fastjet::ClosestPair2D::triplet.7", i32, [4 x i8] }>
%"class.fastjet::ClosestPair2DBase" = type { ptr }
%"class.fastjet::ClosestPair2D::triplet.0" = type { [3 x %"class.std::auto_ptr"] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl" }
%"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl" = type { %"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastjet::Coord2D" = type { double, double }
%"class.fastjet::ClosestPair2D::triplet.7" = type { [3 x i32] }
%"class.fastjet::ClosestPair2D::Point" = type <{ %"class.fastjet::Coord2D", ptr, double, %"class.fastjet::ClosestPair2D::triplet", i32, [4 x i8] }>
%"class.fastjet::ClosestPair2D::triplet" = type { [3 x %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator"] }
%"class.fastjet::ClosestPair2D::Shuffle" = type { i32, i32, ptr }

@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D11_initializeERKSt6vectorINS_7Coord2DESaIS2_EERKS2_S8_j = external hidden unnamed_addr constant [119 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj(ptr noundef nonnull align 8 dereferenceable(220), ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet13ClosestPair2D11_initializeERKSt6vectorINS_7Coord2DESaIS2_EERKS2_S8_j(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %4) #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.std::vector.13", align 8
  %17 = alloca %"class.std::allocator.15", align 1
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"struct.std::auto_ptr_ref", align 8
  %29 = alloca %"class.std::auto_ptr", align 8
  %30 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %31 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca ptr, align 8
  %35 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %36 = alloca i32, align 4
  %37 = alloca double, align 8
  %38 = alloca %"class.std::vector.28", align 8
  %39 = alloca %"class.std::allocator.30", align 1
  %40 = alloca i32, align 4
  %41 = alloca %"struct.std::auto_ptr_ref.33", align 8
  %42 = alloca %"class.std::auto_ptr.1", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %43 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = call noundef i64 @_ZNKSt6vectorIN7fastjet7Coord2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #9
  %46 = trunc i64 %45 to i32
  store i32 %46, ptr %11, align 4, !tbaa !9
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = icmp uge i32 %47, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %5
  br label %53

51:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 83, ptr noundef @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D11_initializeERKSt6vectorINS_7Coord2DESaIS2_EERKS2_S8_j) #10
  unreachable

52:                                               ; No predecessors!
  br label %53

53:                                               ; preds = %52, %50
  %54 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 3
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  call void @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %56)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %57 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %57, ptr %12, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %69, %53
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = load i32, ptr %10, align 4, !tbaa !9
  %61 = icmp ult i32 %59, %60
  br i1 %61, label %63, label %62

62:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %72

63:                                               ; preds = %58
  %64 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %65 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 3
  %66 = load i32, ptr %12, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67) #9
  store ptr %68, ptr %13, align 8, !tbaa !5
  call void @_ZNSt5stackIPN7fastjet13ClosestPair2D5PointESt5dequeIS3_SaIS3_EEE4pushEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %64, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %69

69:                                               ; preds = %63
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = add i32 %70, 1
  store i32 %71, ptr %12, align 4, !tbaa !9
  br label %58, !llvm.loop !11

72:                                               ; preds = %62
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %74, ptr align 8 %73, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %75, i32 0, i32 0
  %77 = load double, ptr %76, align 8, !tbaa !16
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %78, i32 0, i32 0
  %80 = load double, ptr %79, align 8, !tbaa !16
  %81 = fsub double %77, %80
  store double %81, ptr %14, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %82, i32 0, i32 1
  %84 = load double, ptr %83, align 8, !tbaa !18
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %85, i32 0, i32 1
  %87 = load double, ptr %86, align 8, !tbaa !18
  %88 = fsub double %84, %87
  store double %88, ptr %15, align 8, !tbaa !14
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %90 = load double, ptr %89, align 8, !tbaa !14
  %91 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 7
  store double %90, ptr %91, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #9
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #9
  call void @_ZNSaIN7fastjet13ClosestPair2D7ShuffleEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %93, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %94 unwind label %100

94:                                               ; preds = %72
  call void @_ZNSt15__new_allocatorIN7fastjet13ClosestPair2D7ShuffleEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %133, %94
  %96 = load i32, ptr %20, align 4, !tbaa !9
  %97 = load i32, ptr %11, align 4, !tbaa !9
  %98 = icmp ult i32 %96, %97
  br i1 %98, label %104, label %99

99:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %140

100:                                              ; preds = %72
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %18, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %19, align 4
  call void @_ZNSt15__new_allocatorIN7fastjet13ClosestPair2D7ShuffleEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  br label %422

104:                                              ; preds = %95
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = load i32, ptr %20, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN7fastjet7Coord2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %107) #9
  %109 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 3
  %110 = load i32, ptr %20, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %111) #9
  %113 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %112, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %113, ptr align 8 %108, i64 16, i1 false), !tbaa.struct !13
  %114 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #9
  %115 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 3
  %116 = load i32, ptr %20, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef %117) #9
  %119 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %118, i32 0, i32 2
  store double %114, ptr %119, align 8, !tbaa !40
  %120 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 3
  %121 = load i32, ptr %20, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %122) #9
  %124 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %123, i32 0, i32 4
  store i32 0, ptr %124, align 8, !tbaa !43
  %125 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 3
  %126 = load i32, ptr %20, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %127) #9
  %129 = load i32, ptr %20, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %130) #9
  invoke void @_ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj(ptr noundef nonnull align 8 dereferenceable(220) %43, ptr noundef nonnull align 8 dereferenceable(60) %128, ptr noundef nonnull align 8 dereferenceable(16) %131, i32 noundef 0)
          to label %132 unwind label %136

132:                                              ; preds = %104
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %20, align 4, !tbaa !9
  %135 = add i32 %134, 1
  store i32 %135, ptr %20, align 4, !tbaa !9
  br label %95, !llvm.loop !44

136:                                              ; preds = %104
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %18, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %421

140:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %184, %140
  %142 = load i32, ptr %21, align 4, !tbaa !9
  %143 = icmp ult i32 %142, 3
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %187

145:                                              ; preds = %141
  %146 = load i32, ptr %21, align 4, !tbaa !9
  %147 = uitofp i32 %146 to double
  %148 = fmul double 0x41E0000000000000, %147
  %149 = fdiv double %148, 3.000000e+00
  %150 = fptoui double %149 to i32
  %151 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 8
  %152 = load i32, ptr %21, align 4, !tbaa !9
  %153 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %151, i32 noundef %152)
          to label %154 unwind label %162

154:                                              ; preds = %145
  store i32 %150, ptr %153, align 4, !tbaa !9
  %155 = load i32, ptr %21, align 4, !tbaa !9
  %156 = icmp eq i32 %155, 0
  br i1 %156, label %157, label %166

157:                                              ; preds = %154
  %158 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 9
  %159 = load i32, ptr %21, align 4, !tbaa !9
  %160 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %158, i32 noundef %159)
          to label %161 unwind label %162

161:                                              ; preds = %157
  store i32 0, ptr %160, align 4, !tbaa !9
  br label %183

162:                                              ; preds = %176, %170, %166, %157, %145
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %18, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %421

166:                                              ; preds = %154
  %167 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 8
  %168 = load i32, ptr %21, align 4, !tbaa !9
  %169 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %167, i32 noundef %168)
          to label %170 unwind label %162

170:                                              ; preds = %166
  %171 = load i32, ptr %169, align 4, !tbaa !9
  %172 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 8
  %173 = load i32, ptr %21, align 4, !tbaa !9
  %174 = sub i32 %173, 1
  %175 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %172, i32 noundef %174)
          to label %176 unwind label %162

176:                                              ; preds = %170
  %177 = load i32, ptr %175, align 4, !tbaa !9
  %178 = sub i32 %171, %177
  %179 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 9
  %180 = load i32, ptr %21, align 4, !tbaa !9
  %181 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %179, i32 noundef %180)
          to label %182 unwind label %162

182:                                              ; preds = %176
  store i32 %178, ptr %181, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %182, %161
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %21, align 4, !tbaa !9
  %186 = add i32 %185, 1
  store i32 %186, ptr %21, align 4, !tbaa !9
  br label %141, !llvm.loop !45

187:                                              ; preds = %144
  %188 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 10
  store i32 30, ptr %188, align 8, !tbaa !46
  %189 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 5
  %190 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 10
  %191 = load i32, ptr %190, align 8, !tbaa !46
  %192 = mul i32 3, %191
  %193 = zext i32 %192 to i64
  invoke void @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %193)
          to label %194 unwind label %199

194:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %195

195:                                              ; preds = %363, %194
  %196 = load i32, ptr %22, align 4, !tbaa !9
  %197 = icmp ult i32 %196, 3
  br i1 %197, label %203, label %198

198:                                              ; preds = %195
  store i32 11, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %374

199:                                              ; preds = %187
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %18, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %19, align 4
  br label %421

203:                                              ; preds = %195
  %204 = load i32, ptr %22, align 4, !tbaa !9
  %205 = icmp ugt i32 %204, 0
  br i1 %205, label %206, label %237

206:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %207 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 9
  %208 = load i32, ptr %22, align 4, !tbaa !9
  %209 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %207, i32 noundef %208)
          to label %210 unwind label %218

210:                                              ; preds = %206
  %211 = load i32, ptr %209, align 4, !tbaa !9
  store i32 %211, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %212

212:                                              ; preds = %228, %210
  %213 = load i32, ptr %25, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = call noundef i64 @_ZNKSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %216 = icmp ult i64 %214, %215
  br i1 %216, label %222, label %217

217:                                              ; preds = %212
  store i32 14, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %235

218:                                              ; preds = %206
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %18, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %19, align 4
  br label %236

222:                                              ; preds = %212
  %223 = load i32, ptr %24, align 4, !tbaa !9
  %224 = load i32, ptr %25, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %225) #9
  invoke void @_ZN7fastjet13ClosestPair2D7ShufflepLEj(ptr noundef nonnull align 8 dereferenceable(16) %226, i32 noundef %223)
          to label %227 unwind label %231

227:                                              ; preds = %222
  br label %228

228:                                              ; preds = %227
  %229 = load i32, ptr %25, align 4, !tbaa !9
  %230 = add i32 %229, 1
  store i32 %230, ptr %25, align 4, !tbaa !9
  br label %212, !llvm.loop !47

231:                                              ; preds = %222
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %18, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %236

235:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %237

236:                                              ; preds = %231, %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %373

237:                                              ; preds = %235, %203
  %238 = call ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %239 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %238, ptr %239, align 8
  %240 = call ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %241 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %240, ptr %241, align 8
  %242 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %243 = load ptr, ptr %242, align 8
  %244 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %245 = load ptr, ptr %244, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet13ClosestPair2D7ShuffleESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr %243, ptr %245)
          to label %246 unwind label %289

246:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %247 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #11
          to label %248 unwind label %293

248:                                              ; preds = %246
  %249 = load i32, ptr %10, align 4, !tbaa !9
  invoke void @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEEC2ERKSt6vectorIS2_SaIS2_EEj(ptr noundef nonnull align 8 dereferenceable(60) %247, ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef %249)
          to label %250 unwind label %297

250:                                              ; preds = %248
  call void @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef %247) #9
  %251 = call ptr @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEcvSt12auto_ptr_refIT_EIS4_EEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  %252 = getelementptr inbounds %"struct.std::auto_ptr_ref", ptr %28, i32 0, i32 0
  store ptr %251, ptr %252, align 8
  %253 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 1
  %254 = load i32, ptr %22, align 4, !tbaa !9
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %253, i32 noundef %254)
          to label %256 unwind label %301

256:                                              ; preds = %250
  %257 = getelementptr inbounds %"struct.std::auto_ptr_ref", ptr %28, i32 0, i32 0
  %258 = load ptr, ptr %257, align 8
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEaSESt12auto_ptr_refIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %255, ptr %258) #9
  call void @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %260 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 1
  %261 = load i32, ptr %22, align 4, !tbaa !9
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %260, i32 noundef %261)
          to label %263 unwind label %306

263:                                              ; preds = %256
  %264 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %262) #9
  %265 = invoke ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE9somewhereEv(ptr noundef nonnull align 8 dereferenceable(60) %264)
          to label %266 unwind label %306

266:                                              ; preds = %263
  %267 = getelementptr inbounds %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", ptr %30, i32 0, i32 0
  store ptr %265, ptr %267, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %30, i64 8, i1 false), !tbaa.struct !48
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  %268 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %269 = load i32, ptr %11, align 4, !tbaa !9
  %270 = sub i32 %269, 1
  store i32 %270, ptr %33, align 4, !tbaa !9
  %271 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %268, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %272 unwind label %310

272:                                              ; preds = %266
  %273 = load i32, ptr %271, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  store i32 %273, ptr %32, align 4, !tbaa !9
  br label %274

274:                                              ; preds = %361, %272
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %275 = invoke noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %276 unwind label %314

276:                                              ; preds = %274
  %277 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %275, i32 0, i32 2
  %278 = load ptr, ptr %277, align 8, !tbaa !49
  store ptr %278, ptr %34, align 8, !tbaa !5
  %279 = load ptr, ptr %34, align 8, !tbaa !5
  %280 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %279, i32 0, i32 3
  %281 = load i32, ptr %22, align 4, !tbaa !9
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %280, i32 noundef %281)
          to label %283 unwind label %314

283:                                              ; preds = %276
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %282, ptr align 8 %30, i64 8, i1 false), !tbaa.struct !48
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %35, ptr align 8 %30, i64 8, i1 false), !tbaa.struct !48
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %352, %283
  %285 = load i32, ptr %36, align 4, !tbaa !9
  %286 = load i32, ptr %32, align 4, !tbaa !9
  %287 = icmp ult i32 %285, %286
  br i1 %287, label %318, label %288

288:                                              ; preds = %284
  store i32 19, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  br label %356

289:                                              ; preds = %237
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %18, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %19, align 4
  br label %373

293:                                              ; preds = %246
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %18, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %19, align 4
  br label %305

297:                                              ; preds = %248
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %18, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %19, align 4
  call void @_ZdlPvm(ptr noundef %247, i64 noundef 64) #12
  br label %305

301:                                              ; preds = %250
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %18, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %19, align 4
  call void @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  br label %305

305:                                              ; preds = %301, %297, %293
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %373

306:                                              ; preds = %263, %256
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %18, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %19, align 4
  br label %372

310:                                              ; preds = %266
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %18, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %371

314:                                              ; preds = %276, %274
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %18, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %19, align 4
  br label %366

318:                                              ; preds = %284
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %320 unwind label %343

320:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %321 = load ptr, ptr %34, align 8, !tbaa !5
  %322 = invoke noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %323 unwind label %347

323:                                              ; preds = %320
  %324 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %322, i32 0, i32 2
  %325 = load ptr, ptr %324, align 8, !tbaa !49
  %326 = invoke noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %321, ptr noundef nonnull align 8 dereferenceable(60) %325)
          to label %327 unwind label %347

327:                                              ; preds = %323
  store double %326, ptr %37, align 8, !tbaa !14
  %328 = load double, ptr %37, align 8, !tbaa !14
  %329 = load ptr, ptr %34, align 8, !tbaa !5
  %330 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %329, i32 0, i32 2
  %331 = load double, ptr %330, align 8, !tbaa !40
  %332 = fcmp olt double %328, %331
  br i1 %332, label %333, label %351

333:                                              ; preds = %327
  %334 = load double, ptr %37, align 8, !tbaa !14
  %335 = load ptr, ptr %34, align 8, !tbaa !5
  %336 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %335, i32 0, i32 2
  store double %334, ptr %336, align 8, !tbaa !40
  %337 = invoke noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %338 unwind label %347

338:                                              ; preds = %333
  %339 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %337, i32 0, i32 2
  %340 = load ptr, ptr %339, align 8, !tbaa !49
  %341 = load ptr, ptr %34, align 8, !tbaa !5
  %342 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %341, i32 0, i32 1
  store ptr %340, ptr %342, align 8, !tbaa !51
  br label %351

343:                                              ; preds = %318
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %18, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %19, align 4
  br label %355

347:                                              ; preds = %333, %323, %320
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %18, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %355

351:                                              ; preds = %338, %327
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %352

352:                                              ; preds = %351
  %353 = load i32, ptr %36, align 4, !tbaa !9
  %354 = add i32 %353, 1
  store i32 %354, ptr %36, align 4, !tbaa !9
  br label %284, !llvm.loop !52

355:                                              ; preds = %347, %343
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %366

356:                                              ; preds = %288
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %357

357:                                              ; preds = %356
  %358 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %359 unwind label %367

359:                                              ; preds = %357
  %360 = invoke noundef zeroext i1 @_ZNK7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorneERKS4_(ptr noundef nonnull align 8 dereferenceable(8) %358, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %361 unwind label %367

361:                                              ; preds = %359
  br i1 %360, label %274, label %362, !llvm.loop !53

362:                                              ; preds = %361
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %363

363:                                              ; preds = %362
  %364 = load i32, ptr %22, align 4, !tbaa !9
  %365 = add i32 %364, 1
  store i32 %365, ptr %22, align 4, !tbaa !9
  br label %195, !llvm.loop !54

366:                                              ; preds = %355, %314
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %371

367:                                              ; preds = %359, %357
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %18, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %19, align 4
  br label %371

371:                                              ; preds = %367, %366, %310
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %372

372:                                              ; preds = %371, %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %373

373:                                              ; preds = %372, %305, %289, %236
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %421

374:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #9
  %375 = load i32, ptr %11, align 4, !tbaa !9
  %376 = zext i32 %375 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %376, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %377 unwind label %383

377:                                              ; preds = %374
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  store i32 0, ptr %40, align 4, !tbaa !9
  br label %378

378:                                              ; preds = %397, %377
  %379 = load i32, ptr %40, align 4, !tbaa !9
  %380 = load i32, ptr %11, align 4, !tbaa !9
  %381 = icmp ult i32 %379, %380
  br i1 %381, label %387, label %382

382:                                              ; preds = %378
  store i32 22, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %400

383:                                              ; preds = %374
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %18, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %19, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #9
  br label %420

387:                                              ; preds = %378
  %388 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 3
  %389 = load i32, ptr %40, align 4, !tbaa !9
  %390 = zext i32 %389 to i64
  %391 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %388, i64 noundef %390) #9
  %392 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %391, i32 0, i32 2
  %393 = load double, ptr %392, align 8, !tbaa !40
  %394 = load i32, ptr %40, align 4, !tbaa !9
  %395 = zext i32 %394 to i64
  %396 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %395) #9
  store double %393, ptr %396, align 8, !tbaa !14
  br label %397

397:                                              ; preds = %387
  %398 = load i32, ptr %40, align 4, !tbaa !9
  %399 = add i32 %398, 1
  store i32 %399, ptr %40, align 4, !tbaa !9
  br label %378, !llvm.loop !55

400:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #9
  %401 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #11
          to label %402 unwind label %411

402:                                              ; preds = %400
  %403 = load i32, ptr %10, align 4, !tbaa !9
  invoke void @_ZN7fastjet7MinHeapC2ERKSt6vectorIdSaIdEEj(ptr noundef nonnull align 8 dereferenceable(24) %401, ptr noundef nonnull align 8 dereferenceable(24) %38, i32 noundef %403)
          to label %404 unwind label %415

404:                                              ; preds = %402
  call void @_ZNSt8auto_ptrIN7fastjet7MinHeapEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef %401) #9
  %405 = call ptr @_ZNSt8auto_ptrIN7fastjet7MinHeapEEcvSt12auto_ptr_refIT_EIS1_EEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #9
  %406 = getelementptr inbounds %"struct.std::auto_ptr_ref.33", ptr %41, i32 0, i32 0
  store ptr %405, ptr %406, align 8
  %407 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %43, i32 0, i32 2
  %408 = getelementptr inbounds %"struct.std::auto_ptr_ref.33", ptr %41, i32 0, i32 0
  %409 = load ptr, ptr %408, align 8
  %410 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8auto_ptrIN7fastjet7MinHeapEEaSESt12auto_ptr_refIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %407, ptr %409) #9
  call void @_ZNSt8auto_ptrIN7fastjet7MinHeapEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #9
  call void @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  ret void

411:                                              ; preds = %400
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %18, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %19, align 4
  br label %419

415:                                              ; preds = %402
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %18, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %19, align 4
  call void @_ZdlPvm(ptr noundef %401, i64 noundef 24) #12
  br label %419

419:                                              ; preds = %415, %411
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  br label %420

420:                                              ; preds = %419, %383
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #9
  br label %421

421:                                              ; preds = %420, %373, %199, %162, %136
  call void @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  br label %422

422:                                              ; preds = %421, %100
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  br label %423

423:                                              ; preds = %422
  %424 = load ptr, ptr %18, align 8
  %425 = load i32, ptr %19, align 4
  %426 = insertvalue { ptr, i32 } poison, ptr %424, 0
  %427 = insertvalue { ptr, i32 } %426, i32 %425, 1
  resume { ptr, i32 } %427
}

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7fastjet13ClosestPair2D7ShufflepLEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet13ClosestPair2D7ShuffleESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr, ptr) #6

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEixEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #5 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #5 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{i64 0, i64 8, !14, i64 8, i64 8, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"_ZTSN7fastjet7Coord2DE", !15, i64 0, !15, i64 8}
!18 = !{!17, !15, i64 8}
!19 = !{!20, !15, i64 184}
!20 = !{!"_ZTSN7fastjet13ClosestPair2DE", !21, i64 0, !22, i64 8, !23, i64 32, !24, i64 40, !28, i64 64, !35, i64 144, !17, i64 168, !15, i64 184, !39, i64 192, !39, i64 204, !10, i64 216}
!21 = !{!"_ZTSN7fastjet17ClosestPair2DBaseE"}
!22 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEE", !7, i64 0}
!23 = !{!"_ZTSSt8auto_ptrIN7fastjet7MinHeapEE", !6, i64 0}
!24 = !{!"_ZTSSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt5stackIPN7fastjet13ClosestPair2D5PointESt5dequeIS3_SaIS3_EEE", !29, i64 0}
!29 = !{!"_ZTSSt5dequeIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !30, i64 0}
!30 = !{!"_ZTSSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !31, i64 0}
!31 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE11_Deque_implE", !32, i64 0}
!32 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE16_Deque_impl_dataE", !6, i64 0, !33, i64 8, !34, i64 16, !34, i64 48}
!33 = !{!"long", !7, i64 0}
!34 = !{!"_ZTSSt15_Deque_iteratorIPN7fastjet13ClosestPair2D5PointERS3_PS3_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!35 = !{!"_ZTSSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletIjEE", !7, i64 0}
!40 = !{!41, !15, i64 24}
!41 = !{!"_ZTSN7fastjet13ClosestPair2D5PointE", !17, i64 0, !6, i64 16, !15, i64 24, !42, i64 32, !10, i64 56}
!42 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEE", !7, i64 0}
!43 = !{!41, !10, i64 56}
!44 = distinct !{!44, !12}
!45 = distinct !{!45, !12}
!46 = !{!20, !10, i64 216}
!47 = distinct !{!47, !12}
!48 = !{i64 0, i64 8, !5}
!49 = !{!50, !6, i64 8}
!50 = !{!"_ZTSN7fastjet13ClosestPair2D7ShuffleE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!41, !6, i64 16}
!52 = distinct !{!52, !12}
!53 = distinct !{!53, !12}
!54 = distinct !{!54, !12}
!55 = distinct !{!55, !12}


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

%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Shuffle, std::allocator<fastjet::ClosestPair2D::Shuffle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.15" = type { i8 }
%"class.std::auto_ptr" = type { ptr }
%"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator" = type { ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.30" = type { i8 }
%"class.std::auto_ptr.1" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D11_initializeERKSt6vectorINS_7Coord2DESaIS2_EERKS2_S8_j = external hidden unnamed_addr constant [119 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj(ptr noundef nonnull align 8 dereferenceable(220), ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet13ClosestPair2D11_initializeERKSt6vectorINS_7Coord2DESaIS2_EERKS2_S8_j(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %2, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %3, i32 noundef %4) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.std::vector.13", align 8
  %10 = alloca %"class.std::allocator.15", align 1
  %11 = alloca %"class.std::auto_ptr", align 8
  %12 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %13 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %16 = alloca %"class.std::vector.28", align 8
  %17 = alloca %"class.std::allocator.30", align 1
  %18 = alloca %"class.std::auto_ptr.1", align 8
  %19 = tail call noundef i64 @_ZNKSt6vectorIN7fastjet7Coord2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %20 = trunc i64 %19 to i32
  %.not = icmp ugt i32 %20, %4
  br i1 %.not, label %21, label %22

21:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 83, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D11_initializeERKSt6vectorINS_7Coord2DESaIS2_EERKS2_S8_j) #10
  unreachable

22:                                               ; preds = %5
  %23 = getelementptr inbounds i8, ptr %0, i64 40
  %24 = zext i32 %4 to i64
  tail call void @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %24)
  %25 = icmp ult i32 %20, %4
  br i1 %25, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %22
  %26 = getelementptr inbounds i8, ptr %0, i64 64
  %27 = and i64 %19, 4294967295
  br label %41

._crit_edge:                                      ; preds = %41, %22
  %28 = getelementptr inbounds i8, ptr %0, i64 168
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %2, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %29 = load double, ptr %3, align 8, !tbaa !10
  %30 = load double, ptr %2, align 8, !tbaa !10
  %31 = fsub double %29, %30
  store double %31, ptr %7, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %32 = getelementptr inbounds i8, ptr %3, i64 8
  %33 = load double, ptr %32, align 8, !tbaa !12
  %34 = getelementptr inbounds i8, ptr %2, i64 8
  %35 = load double, ptr %34, align 8, !tbaa !12
  %36 = fsub double %33, %35
  store double %36, ptr %8, align 8, !tbaa !6
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %38 = load double, ptr %37, align 8, !tbaa !6
  %39 = getelementptr inbounds i8, ptr %0, i64 184
  store double %38, ptr %39, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #9
  %40 = and i64 %19, 4294967295
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #9
  call void @_ZNSaIN7fastjet13ClosestPair2D7ShuffleEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  invoke void @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %40, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %43 unwind label %44

41:                                               ; preds = %.lr.ph, %41
  %indvars.iv = phi i64 [ %27, %.lr.ph ], [ %indvars.iv.next, %41 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %42 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv) #9
  store ptr %42, ptr %6, align 8, !tbaa !36
  call void @_ZNSt5stackIPN7fastjet13ClosestPair2D5PointESt5dequeIS3_SaIS3_EEE4pushEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %26, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %lftr.wideiv, %4
  br i1 %exitcond.not, label %._crit_edge, label %41, !llvm.loop !37

43:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIN7fastjet13ClosestPair2D7ShuffleEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  %.not122 = icmp eq i32 %20, 0
  br i1 %.not122, label %.loopexit145, label %.lr.ph104.preheader

.lr.ph104.preheader:                              ; preds = %43
  %wide.trip.count = and i64 %19, 4294967295
  br label %.lr.ph104

44:                                               ; preds = %._crit_edge
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN7fastjet13ClosestPair2D7ShuffleEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  br label %174

.lr.ph104:                                        ; preds = %.lr.ph104.preheader, %55
  %indvars.iv132 = phi i64 [ 0, %.lr.ph104.preheader ], [ %indvars.iv.next133, %55 ]
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN7fastjet7Coord2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv132) #9
  %47 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv132) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(16) %46, i64 16, i1 false), !tbaa.struct !5
  %48 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #9
  %49 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv132) #9
  %50 = getelementptr inbounds i8, ptr %49, i64 24
  store double %48, ptr %50, align 8, !tbaa !39
  %51 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv132) #9
  %52 = getelementptr inbounds i8, ptr %51, i64 56
  store i32 0, ptr %52, align 8, !tbaa !42
  %53 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv132) #9
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv132) #9
  invoke void @_ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull align 8 dereferenceable(60) %53, ptr noundef nonnull align 8 dereferenceable(16) %54, i32 noundef 0)
          to label %55 unwind label %56

55:                                               ; preds = %.lr.ph104
  %indvars.iv.next133 = add nuw nsw i64 %indvars.iv132, 1
  %exitcond135.not = icmp eq i64 %indvars.iv.next133, %wide.trip.count
  br i1 %exitcond135.not, label %.loopexit145, label %.lr.ph104, !llvm.loop !43

56:                                               ; preds = %.lr.ph104
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %173

.preheader:                                       ; preds = %.loopexit145
  %58 = getelementptr inbounds i8, ptr %0, i64 8
  %59 = add i32 %20, -1
  br label %83

.loopexit145:                                     ; preds = %55, %43
  %60 = getelementptr inbounds i8, ptr %0, i64 192
  %61 = getelementptr inbounds i8, ptr %0, i64 204
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 noundef 0)
  store i32 0, ptr %62, align 4, !tbaa !44
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %61, i32 noundef 0)
  store i32 0, ptr %63, align 4, !tbaa !44
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 noundef 1)
  store i32 715827882, ptr %64, align 4, !tbaa !44
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 noundef 1)
  %66 = load i32, ptr %65, align 4, !tbaa !44
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 noundef 0)
  %68 = load i32, ptr %67, align 4, !tbaa !44
  %69 = sub i32 %66, %68
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %61, i32 noundef 1)
  store i32 %69, ptr %70, align 4, !tbaa !44
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 noundef 2)
  store i32 1431655765, ptr %71, align 4, !tbaa !44
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 noundef 2)
  %73 = load i32, ptr %72, align 4, !tbaa !44
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %60, i32 noundef 1)
  %75 = load i32, ptr %74, align 4, !tbaa !44
  %76 = sub i32 %73, %75
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %61, i32 noundef 2)
  store i32 %76, ptr %77, align 4, !tbaa !44
  %78 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 30, ptr %78, align 8, !tbaa !45
  %79 = getelementptr inbounds i8, ptr %0, i64 144
  invoke void @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef 90)
          to label %.preheader unwind label %81

80:                                               ; preds = %.split114.us
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %40, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %154 unwind label %156

81:                                               ; preds = %.loopexit145
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %173

83:                                               ; preds = %.preheader, %.split114.us
  %.081117 = phi i32 [ 0, %.preheader ], [ %152, %.split114.us ]
  %.not89 = icmp eq i32 %.081117, 0
  br i1 %.not89, label %.loopexit, label %84

84:                                               ; preds = %83
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12) %61, i32 noundef %.081117)
  %86 = load i32, ptr %85, align 4, !tbaa !44
  %87 = call noundef i64 @_ZNKSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  %.not123 = icmp eq i64 %87, 0
  br i1 %.not123, label %.loopexit, label %.lr.ph108

.lr.ph108:                                        ; preds = %84, %.lr.ph108
  %88 = phi i64 [ %91, %.lr.ph108 ], [ 0, %84 ]
  %.082106 = phi i32 [ %90, %.lr.ph108 ], [ 0, %84 ]
  %89 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %88) #9
  call void @_ZN7fastjet13ClosestPair2D7ShufflepLEj(ptr noundef nonnull align 8 dereferenceable(16) %89, i32 noundef %86)
  %90 = add i32 %.082106, 1
  %91 = zext i32 %90 to i64
  %92 = call noundef i64 @_ZNKSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  %93 = icmp ugt i64 %92, %91
  br i1 %93, label %.lr.ph108, label %.loopexit, !llvm.loop !46

.loopexit:                                        ; preds = %.lr.ph108, %84, %83
  %94 = call ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  %95 = call ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet13ClosestPair2D7ShuffleESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr %94, ptr %95)
          to label %96 unwind label %143

96:                                               ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %97 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #11
          to label %98 unwind label %145

98:                                               ; preds = %96
  invoke void @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEEC2ERKSt6vectorIS2_SaIS2_EEj(ptr noundef nonnull align 8 dereferenceable(60) %97, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %4)
          to label %99 unwind label %147

99:                                               ; preds = %98
  call void @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %97) #9
  %100 = call ptr @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEcvSt12auto_ptr_refIT_EIS4_EEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef %.081117)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEaSESt12auto_ptr_refIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr %100) #9
  call void @_ZNSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef %.081117)
  %104 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet10SearchTreeINS0_13ClosestPair2D7ShuffleEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %103) #9
  %105 = invoke ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE9somewhereEv(ptr noundef nonnull align 8 dereferenceable(60) %104)
          to label %106 unwind label %150

106:                                              ; preds = %99
  store ptr %105, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %.cast = ptrtoint ptr %105 to i64
  store i64 %.cast, ptr %13, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #9
  store i32 %59, ptr %14, align 4, !tbaa !44
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %78, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %108 = load i32, ptr %107, align 4, !tbaa !44
  %.fr124 = freeze i32 %108
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  %.not125 = icmp eq i32 %.fr124, 0
  br i1 %.not125, label %.split, label %.lr.ph111.us

.lr.ph111.us:                                     ; preds = %106, %._crit_edge112.us
  %109 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %110 = getelementptr inbounds i8, ptr %109, i64 8
  %111 = load ptr, ptr %110, align 8, !tbaa !47
  %112 = getelementptr inbounds i8, ptr %111, i64 32
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %112, i32 noundef %.081117)
  %114 = load i64, ptr %12, align 8, !tbaa !36
  store i64 %114, ptr %113, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  store i64 %114, ptr %15, align 8, !tbaa !36
  %115 = getelementptr inbounds i8, ptr %111, i64 24
  %116 = getelementptr inbounds i8, ptr %111, i64 16
  br label %117

117:                                              ; preds = %.lr.ph111.us, %130
  %.071109.us = phi i32 [ 0, %.lr.ph111.us ], [ %131, %130 ]
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %119 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %120 = getelementptr inbounds i8, ptr %119, i64 8
  %121 = load ptr, ptr %120, align 8, !tbaa !47
  %122 = invoke noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %111, ptr noundef nonnull align 8 dereferenceable(60) %121)
          to label %123 unwind label %.split116.us

123:                                              ; preds = %117
  %124 = load double, ptr %115, align 8, !tbaa !39
  %125 = fcmp olt double %122, %124
  br i1 %125, label %126, label %130

126:                                              ; preds = %123
  store double %122, ptr %115, align 8, !tbaa !39
  %127 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %128 = getelementptr inbounds i8, ptr %127, i64 8
  %129 = load ptr, ptr %128, align 8, !tbaa !47
  store ptr %129, ptr %116, align 8, !tbaa !49
  br label %130

130:                                              ; preds = %126, %123
  %131 = add nuw i32 %.071109.us, 1
  %exitcond137.not = icmp eq i32 %131, %.fr124
  br i1 %exitcond137.not, label %._crit_edge112.us, label %117, !llvm.loop !50

._crit_edge112.us:                                ; preds = %130
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %133 = call noundef zeroext i1 @_ZNK7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorneERKS4_(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull align 8 dereferenceable(8) %13)
  br i1 %133, label %.lr.ph111.us, label %.split114.us, !llvm.loop !51

.split116.us:                                     ; preds = %117
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %153

.split:                                           ; preds = %106, %.split
  %135 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %136 = getelementptr inbounds i8, ptr %135, i64 8
  %137 = load ptr, ptr %136, align 8, !tbaa !47
  %138 = getelementptr inbounds i8, ptr %137, i64 32
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %138, i32 noundef %.081117)
  %140 = load i64, ptr %12, align 8, !tbaa !36
  store i64 %140, ptr %139, align 8, !tbaa !36
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %142 = call noundef zeroext i1 @_ZNK7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorneERKS4_(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull align 8 dereferenceable(8) %13)
  br i1 %142, label %.split, label %.split114.us, !llvm.loop !51

143:                                              ; preds = %.loopexit
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %173

145:                                              ; preds = %96
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %149

147:                                              ; preds = %98
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %97, i64 noundef 64) #12
  br label %149

149:                                              ; preds = %147, %145
  %.pn90 = phi { ptr, i32 } [ %148, %147 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %173

150:                                              ; preds = %99
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %153

.split114.us:                                     ; preds = %._crit_edge112.us, %.split
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  %152 = add nuw nsw i32 %.081117, 1
  %exitcond138.not = icmp eq i32 %152, 3
  br i1 %exitcond138.not, label %80, label %83, !llvm.loop !52

153:                                              ; preds = %.split116.us, %150
  %.pn92 = phi { ptr, i32 } [ %134, %.split116.us ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %173

154:                                              ; preds = %80
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  br i1 %.not122, label %._crit_edge121, label %.lr.ph120.preheader

.lr.ph120.preheader:                              ; preds = %154
  %wide.trip.count142 = and i64 %19, 4294967295
  br label %.lr.ph120

._crit_edge121:                                   ; preds = %.lr.ph120, %154
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  %155 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #11
          to label %162 unwind label %167

156:                                              ; preds = %80
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  br label %172

.lr.ph120:                                        ; preds = %.lr.ph120.preheader, %.lr.ph120
  %indvars.iv139 = phi i64 [ 0, %.lr.ph120.preheader ], [ %indvars.iv.next140, %.lr.ph120 ]
  %158 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv139) #9
  %159 = getelementptr inbounds i8, ptr %158, i64 24
  %160 = load double, ptr %159, align 8, !tbaa !39
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv139) #9
  store double %160, ptr %161, align 8, !tbaa !6
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %exitcond143.not = icmp eq i64 %indvars.iv.next140, %wide.trip.count142
  br i1 %exitcond143.not, label %._crit_edge121, label %.lr.ph120, !llvm.loop !53

162:                                              ; preds = %._crit_edge121
  invoke void @_ZN7fastjet7MinHeapC2ERKSt6vectorIdSaIdEEj(ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef %4)
          to label %163 unwind label %169

163:                                              ; preds = %162
  call void @_ZNSt8auto_ptrIN7fastjet7MinHeapEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull %155) #9
  %164 = call ptr @_ZNSt8auto_ptrIN7fastjet7MinHeapEEcvSt12auto_ptr_refIT_EIS1_EEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  %165 = getelementptr inbounds i8, ptr %0, i64 32
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8auto_ptrIN7fastjet7MinHeapEEaSESt12auto_ptr_refIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr %164) #9
  call void @_ZNSt8auto_ptrIN7fastjet7MinHeapEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  call void @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  ret void

167:                                              ; preds = %._crit_edge121
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %171

169:                                              ; preds = %162
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %155, i64 noundef 24) #12
  br label %171

171:                                              ; preds = %169, %167
  %.pn = phi { ptr, i32 } [ %170, %169 ], [ %168, %167 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  br label %172

172:                                              ; preds = %171, %156
  %.pn.pn = phi { ptr, i32 } [ %.pn, %171 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  br label %173

173:                                              ; preds = %143, %149, %153, %172, %81, %56
  %.pn95 = phi { ptr, i32 } [ %57, %56 ], [ %.pn.pn, %172 ], [ %82, %81 ], [ %.pn92, %153 ], [ %.pn90, %149 ], [ %144, %143 ]
  call void @_ZNSt6vectorIN7fastjet13ClosestPair2D7ShuffleESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  br label %174

174:                                              ; preds = %173, %44
  %.pn95.pn = phi { ptr, i32 } [ %.pn95, %173 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  resume { ptr, i32 } %.pn95.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5stackIPN7fastjet13ClosestPair2D5PointESt5dequeIS3_SaIS3_EEE4pushEOS3_(ptr noundef nonnull align 8 dereferenceable(80), 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(60) ptr @_ZNSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 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) #4

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7fastjet13ClosestPair2D7tripletIjEixEj(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7fastjet13ClosestPair2D7ShufflepLEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet13ClosestPair2D7ShuffleESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr, ptr) local_unnamed_addr #6

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #7

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #8

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEixEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #5 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 #7 = { nobuiltin allocsize(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 = { nobuiltin 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = !{i64 0, i64 8, !6, i64 8, i64 8, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"_ZTSN7fastjet7Coord2DE", !7, i64 0, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!14, !7, i64 184}
!14 = !{!"_ZTSN7fastjet13ClosestPair2DE", !15, i64 0, !16, i64 8, !17, i64 32, !19, i64 40, !23, i64 64, !30, i64 144, !11, i64 168, !7, i64 184, !34, i64 192, !34, i64 204, !35, i64 216}
!15 = !{!"_ZTSN7fastjet17ClosestPair2DBaseE"}
!16 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEE", !8, i64 0}
!17 = !{!"_ZTSSt8auto_ptrIN7fastjet7MinHeapEE", !18, i64 0}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!"_ZTSSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!"_ZTSSt5stackIPN7fastjet13ClosestPair2D5PointESt5dequeIS3_SaIS3_EEE", !24, i64 0}
!24 = !{!"_ZTSSt5dequeIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !26, i64 0}
!26 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE11_Deque_implE", !27, i64 0}
!27 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE16_Deque_impl_dataE", !18, i64 0, !28, i64 8, !29, i64 16, !29, i64 48}
!28 = !{!"long", !8, i64 0}
!29 = !{!"_ZTSSt15_Deque_iteratorIPN7fastjet13ClosestPair2D5PointERS3_PS3_E", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24}
!30 = !{!"_ZTSSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!34 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletIjEE", !8, i64 0}
!35 = !{!"int", !8, i64 0}
!36 = !{!18, !18, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !7, i64 24}
!40 = !{!"_ZTSN7fastjet13ClosestPair2D5PointE", !11, i64 0, !18, i64 16, !7, i64 24, !41, i64 32, !35, i64 56}
!41 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEE", !8, i64 0}
!42 = !{!40, !35, i64 56}
!43 = distinct !{!43, !38}
!44 = !{!35, !35, i64 0}
!45 = !{!14, !35, i64 216}
!46 = distinct !{!46, !38}
!47 = !{!48, !18, i64 8}
!48 = !{!"_ZTSN7fastjet13ClosestPair2D7ShuffleE", !35, i64 0, !35, i64 4, !18, i64 8}
!49 = !{!40, !18, i64 16}
!50 = distinct !{!50, !38}
!51 = distinct !{!51, !38}
!52 = distinct !{!52, !38}
!53 = distinct !{!53, !38}


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