; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/plugins/TrackJet (TrackJetPlugin)

; 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.fastjet::TrackJetParticlePtr" = type { i32, double }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.23" = type { ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" }
%"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.fastjet::PseudoJet" = type { ptr, %"class.fastjet::SharedPtr.14", %"class.fastjet::SharedPtr.21", double, double, double, double, double, double, double, i32, i32 }
%"class.fastjet::SharedPtr.14" = type { ptr }
%"class.fastjet::SharedPtr.21" = type { ptr }
%"struct.std::_List_iterator" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }
%"class.fastjet::TrackJetPlugin" = type { %"class.fastjet::JetDefinition::Plugin", double, double, %"class.fastjet::JetDefinition::DefaultRecombiner", %"class.fastjet::JetDefinition::DefaultRecombiner" }
%"class.fastjet::JetDefinition::Plugin" = type { ptr }
%"class.fastjet::JetDefinition::DefaultRecombiner" = type <{ %"class.fastjet::JetDefinition::Recombiner", i32, [4 x i8] }>
%"class.fastjet::JetDefinition::Recombiner" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7fastjet14TrackJetPlugin14run_clusteringERNS_15ClusterSequenceE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(276) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.fastjet::TrackJetParticlePtr", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %16 = alloca %"class.std::vector.4", align 8
  %17 = alloca %"class.std::vector.4", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %24 = alloca %"class.std::__cxx11::list", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.fastjet::PseudoJet", align 8
  %30 = alloca %"class.fastjet::PseudoJet", align 8
  %31 = alloca %"struct.std::_List_iterator", align 8
  %32 = alloca %"struct.std::_List_const_iterator", align 8
  %33 = alloca %"struct.std::_List_iterator", align 8
  %34 = alloca %"struct.std::_List_iterator", align 8
  %35 = alloca %"struct.std::_List_iterator", align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca double, align 8
  %39 = alloca %"class.fastjet::PseudoJet", align 8
  %40 = alloca %"class.fastjet::PseudoJet", align 8
  %41 = alloca i32, align 4
  %42 = alloca %"struct.std::_List_const_iterator", align 8
  %43 = alloca %"struct.std::_List_iterator", align 8
  %44 = alloca %"struct.std::_List_iterator", align 8
  %45 = alloca %"struct.std::_List_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %46 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  call void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7fastjet15ClusterSequence4jetsEv(ptr noundef nonnull align 8 dereferenceable(276) %47)
          to label %49 unwind label %59

49:                                               ; preds = %2
  store ptr %48, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = call ptr @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  br label %53

53:                                               ; preds = %72, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = call ptr @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br i1 %57, label %63, label %58

58:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %79

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

63:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  %66 = invoke noundef double @_ZNK7fastjet9PseudoJet5perp2Ev(ptr noundef nonnull align 8 dereferenceable(88) %65)
          to label %67 unwind label %75

67:                                               ; preds = %63
  invoke void @_ZN7fastjet19TrackJetParticlePtrC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %64, double noundef %66)
          to label %68 unwind label %75

68:                                               ; preds = %67
  invoke void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %69 unwind label %75

69:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %9, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %69
  %73 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #7
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  br label %53, !llvm.loop !11

75:                                               ; preds = %68, %67, %63
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %288

79:                                               ; preds = %58
  %80 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %14, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  %82 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %83 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %15, i32 0, i32 0
  store ptr %82, ptr %83, align 8
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %14, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %15, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8
  invoke void @_ZSt11stable_sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet19TrackJetParticlePtrESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %85, ptr %87)
          to label %88 unwind label %104

88:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7fastjet15ClusterSequence4jetsEv(ptr noundef nonnull align 8 dereferenceable(276) %89)
          to label %91 unwind label %108

91:                                               ; preds = %88
  invoke void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %92 unwind label %108

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7fastjet15ClusterSequence4jetsEv(ptr noundef nonnull align 8 dereferenceable(276) %93)
          to label %95 unwind label %112

95:                                               ; preds = %92
  invoke void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %94)
          to label %96 unwind label %112

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %97 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  %98 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %18, i32 0, i32 0
  store ptr %97, ptr %98, align 8
  br label %99

99:                                               ; preds = %120, %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %100 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %19, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  %102 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br i1 %102, label %116, label %103

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

104:                                              ; preds = %79
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %7, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %8, align 4
  br label %288

108:                                              ; preds = %91, %88
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %7, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %8, align 4
  br label %287

112:                                              ; preds = %95, %92
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %7, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %8, align 4
  br label %286

116:                                              ; preds = %99
  %117 = getelementptr inbounds %"class.fastjet::TrackJetPlugin", ptr %46, i32 0, i32 3
  %118 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner10preprocessERNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(12) %117, ptr noundef nonnull align 8 dereferenceable(88) %118)
          to label %119 unwind label %123

119:                                              ; preds = %116
  br label %120

120:                                              ; preds = %119
  %121 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 0) #7
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %20, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  br label %99, !llvm.loop !13

123:                                              ; preds = %116
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %7, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %285

127:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %128 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  %129 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %21, i32 0, i32 0
  store ptr %128, ptr %129, align 8
  br label %130

130:                                              ; preds = %139, %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %131 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %22, i32 0, i32 0
  store ptr %131, ptr %132, align 8
  %133 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br i1 %133, label %135, label %134

134:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %146

135:                                              ; preds = %130
  %136 = getelementptr inbounds %"class.fastjet::TrackJetPlugin", ptr %46, i32 0, i32 4
  %137 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner10preprocessERNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(12) %136, ptr noundef nonnull align 8 dereferenceable(88) %137)
          to label %138 unwind label %142

138:                                              ; preds = %135
  br label %139

139:                                              ; preds = %138
  %140 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %21, i32 noundef 0) #7
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %23, i32 0, i32 0
  store ptr %140, ptr %141, align 8
  br label %130, !llvm.loop !14

142:                                              ; preds = %135
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %7, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %285

146:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @_ZNSt7__cxx114listIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %147 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %25, i32 0, i32 0
  store ptr %147, ptr %148, align 8
  br label %149

149:                                              ; preds = %158, %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %150 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %26, i32 0, i32 0
  store ptr %150, ptr %151, align 8
  %152 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet19TrackJetParticlePtrESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br i1 %152, label %154, label %153

153:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %165

154:                                              ; preds = %149
  %155 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet19TrackJetParticlePtrESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %156 = getelementptr inbounds %"class.fastjet::TrackJetParticlePtr", ptr %155, i32 0, i32 0
  invoke void @_ZNSt7__cxx114listIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %156)
          to label %157 unwind label %161

157:                                              ; preds = %154
  br label %158

158:                                              ; preds = %157
  %159 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet19TrackJetParticlePtrESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0) #7
  %160 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %27, i32 0, i32 0
  store ptr %159, ptr %160, align 8
  br label %149, !llvm.loop !15

161:                                              ; preds = %154
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %7, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %284

165:                                              ; preds = %153
  br label %166

166:                                              ; preds = %275, %165
  %167 = call noundef i64 @_ZNKSt7__cxx114listIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %168 = icmp ne i64 %167, 0
  br i1 %168, label %169, label %283

169:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %170 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt7__cxx114listIiSaIiEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %171 = load i32, ptr %170, align 4, !tbaa !9
  store i32 %171, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 88, ptr %29) #7
  %172 = load i32, ptr %28, align 4, !tbaa !9
  %173 = sext i32 %172 to i64
  %174 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %173) #7
  invoke void @_ZN7fastjet9PseudoJetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %29, ptr noundef nonnull align 8 dereferenceable(88) %174)
          to label %175 unwind label %234

175:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 88, ptr %30) #7
  %176 = load i32, ptr %28, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %177) #7
  invoke void @_ZN7fastjet9PseudoJetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %30, ptr noundef nonnull align 8 dereferenceable(88) %178)
          to label %179 unwind label %238

179:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %180 = call ptr @_ZNSt7__cxx114listIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %181 = getelementptr inbounds %"struct.std::_List_iterator", ptr %31, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  call void @_ZNSt20_List_const_iteratorIiEC2ERKSt14_List_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %182 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %32, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8
  %184 = call ptr @_ZNSt7__cxx114listIiSaIiEE5eraseESt20_List_const_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %183) #7
  %185 = getelementptr inbounds %"struct.std::_List_iterator", ptr %33, i32 0, i32 0
  store ptr %184, ptr %185, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %186 = call ptr @_ZNSt7__cxx114listIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %187 = getelementptr inbounds %"struct.std::_List_iterator", ptr %34, i32 0, i32 0
  store ptr %186, ptr %187, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %34, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %188

188:                                              ; preds = %268, %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %189 = call ptr @_ZNSt7__cxx114listIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %190 = getelementptr inbounds %"struct.std::_List_iterator", ptr %35, i32 0, i32 0
  store ptr %189, ptr %190, align 8
  %191 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br i1 %191, label %192, label %270

192:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt14_List_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %194 = load i32, ptr %193, align 4, !tbaa !9
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %195) #7
  store ptr %196, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt14_List_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %198 = load i32, ptr %197, align 4, !tbaa !9
  %199 = sext i32 %198 to i64
  %200 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %199) #7
  store ptr %200, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %201 = load ptr, ptr %37, align 8, !tbaa !5
  %202 = invoke noundef double @_ZNK7fastjet9PseudoJet14plain_distanceERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %30, ptr noundef nonnull align 8 dereferenceable(88) %201)
          to label %203 unwind label %242

203:                                              ; preds = %192
  store double %202, ptr %38, align 8, !tbaa !17
  %204 = load double, ptr %38, align 8, !tbaa !17
  %205 = getelementptr inbounds %"class.fastjet::TrackJetPlugin", ptr %46, i32 0, i32 2
  %206 = load double, ptr %205, align 8, !tbaa !19
  %207 = fcmp ole double %204, %206
  br i1 %207, label %208, label %265

208:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 88, ptr %39) #7
  invoke void @_ZN7fastjet9PseudoJetC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %39)
          to label %209 unwind label %246

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 88, ptr %40) #7
  invoke void @_ZN7fastjet9PseudoJetC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %40)
          to label %210 unwind label %250

210:                                              ; preds = %209
  %211 = getelementptr inbounds %"class.fastjet::TrackJetPlugin", ptr %46, i32 0, i32 3
  %212 = load ptr, ptr %36, align 8, !tbaa !5
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner9recombineERKNS_9PseudoJetES4_RS2_(ptr noundef nonnull align 8 dereferenceable(12) %211, ptr noundef nonnull align 8 dereferenceable(88) %29, ptr noundef nonnull align 8 dereferenceable(88) %212, ptr noundef nonnull align 8 dereferenceable(88) %40)
          to label %213 unwind label %254

213:                                              ; preds = %210
  %214 = getelementptr inbounds %"class.fastjet::TrackJetPlugin", ptr %46, i32 0, i32 4
  %215 = load ptr, ptr %37, align 8, !tbaa !5
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner9recombineERKNS_9PseudoJetES4_RS2_(ptr noundef nonnull align 8 dereferenceable(12) %214, ptr noundef nonnull align 8 dereferenceable(88) %30, ptr noundef nonnull align 8 dereferenceable(88) %215, ptr noundef nonnull align 8 dereferenceable(88) %39)
          to label %216 unwind label %254

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = load i32, ptr %28, align 4, !tbaa !9
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt14_List_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %220 = load i32, ptr %219, align 4, !tbaa !9
  %221 = load double, ptr %38, align 8, !tbaa !17
  invoke void @_ZN7fastjet15ClusterSequence30plugin_record_ij_recombinationEiidRKNS_9PseudoJetERi(ptr noundef nonnull align 8 dereferenceable(276) %217, i32 noundef %218, i32 noundef %220, double noundef %221, ptr noundef nonnull align 8 dereferenceable(88) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %222 unwind label %258

222:                                              ; preds = %216
  %223 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN7fastjet9PseudoJetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %29, ptr noundef nonnull align 8 dereferenceable(88) %40)
          to label %224 unwind label %258

224:                                              ; preds = %222
  %225 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN7fastjet9PseudoJetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %30, ptr noundef nonnull align 8 dereferenceable(88) %39)
          to label %226 unwind label %258

226:                                              ; preds = %224
  %227 = load i32, ptr %41, align 4, !tbaa !9
  store i32 %227, ptr %28, align 4, !tbaa !9
  call void @_ZNSt20_List_const_iteratorIiEC2ERKSt14_List_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %228 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %42, i32 0, i32 0
  %229 = load ptr, ptr %228, align 8
  %230 = call ptr @_ZNSt7__cxx114listIiSaIiEE5eraseESt20_List_const_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %229) #7
  %231 = getelementptr inbounds %"struct.std::_List_iterator", ptr %43, i32 0, i32 0
  store ptr %230, ptr %231, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %232 = call ptr @_ZNSt7__cxx114listIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %233 = getelementptr inbounds %"struct.std::_List_iterator", ptr %44, i32 0, i32 0
  store ptr %232, ptr %233, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %44, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %40) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %40) #7
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %39) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %39) #7
  br label %268

234:                                              ; preds = %169
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %7, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %8, align 4
  br label %282

238:                                              ; preds = %175
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %7, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %8, align 4
  br label %281

242:                                              ; preds = %192
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %7, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %8, align 4
  br label %269

246:                                              ; preds = %208
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %7, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %8, align 4
  br label %264

250:                                              ; preds = %209
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %7, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %8, align 4
  br label %263

254:                                              ; preds = %213, %210
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %7, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %8, align 4
  br label %262

258:                                              ; preds = %224, %222, %216
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %7, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %262

262:                                              ; preds = %258, %254
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %40) #7
  br label %263

263:                                              ; preds = %262, %250
  call void @llvm.lifetime.end.p0(i64 88, ptr %40) #7
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %39) #7
  br label %264

264:                                              ; preds = %263, %246
  call void @llvm.lifetime.end.p0(i64 88, ptr %39) #7
  br label %269

265:                                              ; preds = %203
  %266 = call ptr @_ZNSt14_List_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %31, i32 noundef 0) #7
  %267 = getelementptr inbounds %"struct.std::_List_iterator", ptr %45, i32 0, i32 0
  store ptr %266, ptr %267, align 8
  br label %268

268:                                              ; preds = %265, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %188, !llvm.loop !25

269:                                              ; preds = %264, %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %280

270:                                              ; preds = %188
  %271 = load ptr, ptr %4, align 8, !tbaa !5
  %272 = load i32, ptr %28, align 4, !tbaa !9
  %273 = getelementptr inbounds %"class.fastjet::TrackJetPlugin", ptr %46, i32 0, i32 2
  %274 = load double, ptr %273, align 8, !tbaa !19
  invoke void @_ZN7fastjet15ClusterSequence30plugin_record_iB_recombinationEid(ptr noundef nonnull align 8 dereferenceable(276) %271, i32 noundef %272, double noundef %274)
          to label %275 unwind label %276

275:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %30) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %30) #7
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %166, !llvm.loop !26

276:                                              ; preds = %270
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %7, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %8, align 4
  br label %280

280:                                              ; preds = %276, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %30) #7
  br label %281

281:                                              ; preds = %280, %238
  call void @llvm.lifetime.end.p0(i64 88, ptr %30) #7
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #7
  br label %282

282:                                              ; preds = %281, %234
  call void @llvm.lifetime.end.p0(i64 88, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %284

283:                                              ; preds = %166
  call void @_ZNSt7__cxx1110_List_baseIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  ret void

284:                                              ; preds = %282, %161
  call void @_ZNSt7__cxx1110_List_baseIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  br label %285

285:                                              ; preds = %284, %142, %123
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %286

286:                                              ; preds = %285, %112
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %287

287:                                              ; preds = %286, %108
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  br label %288

288:                                              ; preds = %287, %104, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %289

289:                                              ; preds = %288, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  br label %290

290:                                              ; preds = %289
  %291 = load ptr, ptr %7, align 8
  %292 = load i32, ptr %8, align 4
  %293 = insertvalue { ptr, i32 } poison, ptr %291, 0
  %294 = insertvalue { ptr, i32 } %293, i32 %292, 1
  resume { ptr, i32 } %294
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZNK7fastjet13JetDefinition17DefaultRecombiner10preprocessERNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7fastjet9PseudoJetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #4 align 2

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

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

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

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

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

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

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

declare noundef double @_ZNK7fastjet9PseudoJet14plain_distanceERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet9PseudoJetC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1 align 2

declare void @_ZNK7fastjet13JetDefinition17DefaultRecombiner9recombineERKNS_9PseudoJetES4_RS2_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5

declare void @_ZN7fastjet15ClusterSequence30plugin_record_ij_recombinationEiidRKNS_9PseudoJetERi(ptr noundef nonnull align 8 dereferenceable(276), i32 noundef, i32 noundef, double noundef, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN7fastjet9PseudoJetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet15ClusterSequence30plugin_record_iB_recombinationEid(ptr noundef nonnull align 8 dereferenceable(276), i32 noundef, double noundef) #1 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{i64 0, i64 8, !5}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!20, !18, i64 16}
!20 = !{!"_ZTSN7fastjet14TrackJetPluginE", !21, i64 0, !18, i64 8, !18, i64 16, !22, i64 24, !22, i64 40}
!21 = !{!"_ZTSN7fastjet13JetDefinition6PluginE"}
!22 = !{!"_ZTSN7fastjet13JetDefinition17DefaultRecombinerE", !23, i64 0, !24, i64 8}
!23 = !{!"_ZTSN7fastjet13JetDefinition10RecombinerE"}
!24 = !{!"_ZTSN7fastjet19RecombinationSchemeE", !7, i64 0}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::TrackJetParticlePtr, std::allocator<fastjet::TrackJetParticlePtr>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.fastjet::TrackJetParticlePtr" = type { i32, double }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.23" = type { ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" }
%"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }
%"class.fastjet::PseudoJet" = type { ptr, %"class.fastjet::SharedPtr.14", %"class.fastjet::SharedPtr.21", double, double, double, double, double, double, double, i32, i32 }
%"class.fastjet::SharedPtr.14" = type { ptr }
%"class.fastjet::SharedPtr.21" = type { ptr }
%"struct.std::_List_iterator" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7fastjet14TrackJetPlugin14run_clusteringERNS_15ClusterSequenceE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(276) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.fastjet::TrackJetParticlePtr", align 8
  %7 = alloca %"class.std::vector.4", align 8
  %8 = alloca %"class.std::vector.4", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %13 = alloca %"class.std::__cxx11::list", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %16 = alloca %"class.fastjet::PseudoJet", align 8
  %17 = alloca %"class.fastjet::PseudoJet", align 8
  %18 = alloca %"struct.std::_List_iterator", align 8
  %19 = alloca %"struct.std::_List_const_iterator", align 8
  %20 = alloca %"struct.std::_List_iterator", align 8
  %21 = alloca %"class.fastjet::PseudoJet", align 8
  %22 = alloca %"class.fastjet::PseudoJet", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::_List_const_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %25 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7fastjet15ClusterSequence4jetsEv(ptr noundef nonnull align 8 dereferenceable(276) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %26 = call ptr @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  store ptr %26, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %27 = call ptr @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  store ptr %27, ptr %5, align 8
  %28 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %28, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %33, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %29 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %30 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  invoke void @_ZSt11stable_sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet19TrackJetParticlePtrESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %29, ptr %30)
          to label %40 unwind label %53

.lr.ph:                                           ; preds = %2, %33
  %.04266 = phi i32 [ %34, %33 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %31 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %32 = call noundef double @_ZNK7fastjet9PseudoJet5perp2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31)
  call void @_ZN7fastjet19TrackJetParticlePtrC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.04266, double noundef %32)
  invoke void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %33 unwind label %38

33:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  %34 = add nuw nsw i32 %.04266, 1
  %35 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %36 = call ptr @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  store ptr %36, ptr %5, align 8
  %37 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %37, label %.lr.ph, label %._crit_edge, !llvm.loop !5

38:                                               ; preds = %.lr.ph
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %165

40:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7fastjet15ClusterSequence4jetsEv(ptr noundef nonnull align 8 dereferenceable(276) %1)
  invoke void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %42 unwind label %55

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  %43 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7fastjet15ClusterSequence4jetsEv(ptr noundef nonnull align 8 dereferenceable(276) %1)
  invoke void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %44 unwind label %57

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %45 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  store ptr %45, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %46 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  store ptr %46, ptr %10, align 8
  %47 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %47, label %.lr.ph68, label %._crit_edge69

.lr.ph68:                                         ; preds = %44
  %48 = getelementptr inbounds i8, ptr %0, i64 24
  br label %59

._crit_edge69:                                    ; preds = %61, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %49 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  store ptr %49, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %50 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  store ptr %50, ptr %12, align 8
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br i1 %51, label %.lr.ph71, label %._crit_edge72

.lr.ph71:                                         ; preds = %._crit_edge69
  %52 = getelementptr inbounds i8, ptr %0, i64 40
  br label %70

53:                                               ; preds = %._crit_edge
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %165

55:                                               ; preds = %40
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %164

57:                                               ; preds = %42
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %163

59:                                               ; preds = %.lr.ph68, %61
  %60 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner10preprocessERNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(12) %48, ptr noundef nonnull align 8 dereferenceable(88) %60)
          to label %61 unwind label %65

61:                                               ; preds = %59
  %62 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %63 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  store ptr %63, ptr %10, align 8
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %64, label %59, label %._crit_edge69, !llvm.loop !7

65:                                               ; preds = %59
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %162

._crit_edge72:                                    ; preds = %72, %._crit_edge69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt7__cxx114listIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %67 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %67, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %68 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %68, ptr %15, align 8
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet19TrackJetParticlePtrESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %69, label %.lr.ph74, label %._crit_edge75

70:                                               ; preds = %.lr.ph71, %72
  %71 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner10preprocessERNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(12) %52, ptr noundef nonnull align 8 dereferenceable(88) %71)
          to label %72 unwind label %76

72:                                               ; preds = %70
  %73 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %74 = call ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  store ptr %74, ptr %12, align 8
  %75 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet9PseudoJetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br i1 %75, label %70, label %._crit_edge72, !llvm.loop !8

76:                                               ; preds = %70
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %162

._crit_edge75:                                    ; preds = %83, %._crit_edge72
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  %78 = call noundef i64 @_ZNKSt7__cxx114listIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %.not80 = icmp eq i64 %78, 0
  br i1 %.not80, label %._crit_edge83, label %.lr.ph82

.lr.ph82:                                         ; preds = %._crit_edge75
  %79 = getelementptr inbounds i8, ptr %0, i64 16
  %80 = getelementptr inbounds i8, ptr %0, i64 24
  %81 = getelementptr inbounds i8, ptr %0, i64 40
  br label %89

.lr.ph74:                                         ; preds = %._crit_edge72, %83
  %82 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet19TrackJetParticlePtrESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  invoke void @_ZNSt7__cxx114listIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %82)
          to label %83 unwind label %87

83:                                               ; preds = %.lr.ph74
  %84 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet19TrackJetParticlePtrESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %85 = call ptr @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %85, ptr %15, align 8
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet19TrackJetParticlePtrESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %86, label %.lr.ph74, label %._crit_edge75, !llvm.loop !9

87:                                               ; preds = %.lr.ph74
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %161

89:                                               ; preds = %.lr.ph82, %154
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt7__cxx114listIiSaIiEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %91 = load i32, ptr %90, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %16) #6
  %92 = sext i32 %91 to i64
  %93 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %92) #6
  invoke void @_ZN7fastjet9PseudoJetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %16, ptr noundef nonnull align 8 dereferenceable(88) %93)
          to label %94 unwind label %131

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %17) #6
  %95 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %92) #6
  invoke void @_ZN7fastjet9PseudoJetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(88) %95)
          to label %96 unwind label %133

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %97 = call ptr @_ZNSt7__cxx114listIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %97, ptr %18, align 8
  call void @_ZNSt20_List_const_iteratorIiEC2ERKSt14_List_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %98 = load ptr, ptr %19, align 8
  %99 = call ptr @_ZNSt7__cxx114listIiSaIiEE5eraseESt20_List_const_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr %98) #6
  %100 = call ptr @_ZNSt7__cxx114listIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %100, ptr %18, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %101 = call ptr @_ZNSt7__cxx114listIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %101, ptr %20, align 8
  %102 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br i1 %102, label %.lr.ph78, label %._crit_edge79

.lr.ph78:                                         ; preds = %96, %150
  %.04376 = phi i32 [ %.144, %150 ], [ %91, %96 ]
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt14_List_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %104 = load i32, ptr %103, align 4, !tbaa !10
  %105 = sext i32 %104 to i64
  %106 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %105) #6
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt14_List_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %108 = load i32, ptr %107, align 4, !tbaa !10
  %109 = sext i32 %108 to i64
  %110 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %109) #6
  %111 = invoke noundef double @_ZNK7fastjet9PseudoJet14plain_distanceERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(88) %110)
          to label %112 unwind label %135

112:                                              ; preds = %.lr.ph78
  %113 = load double, ptr %79, align 8, !tbaa !16
  %114 = fcmp ugt double %111, %113
  br i1 %114, label %148, label %115

115:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %21) #6
  invoke void @_ZN7fastjet9PseudoJetC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21)
          to label %116 unwind label %137

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %22) #6
  invoke void @_ZN7fastjet9PseudoJetC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %117 unwind label %139

117:                                              ; preds = %116
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner9recombineERKNS_9PseudoJetES4_RS2_(ptr noundef nonnull align 8 dereferenceable(12) %80, ptr noundef nonnull align 8 dereferenceable(88) %16, ptr noundef nonnull align 8 dereferenceable(88) %106, ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %118 unwind label %141

118:                                              ; preds = %117
  invoke void @_ZNK7fastjet13JetDefinition17DefaultRecombiner9recombineERKNS_9PseudoJetES4_RS2_(ptr noundef nonnull align 8 dereferenceable(12) %81, ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(88) %110, ptr noundef nonnull align 8 dereferenceable(88) %21)
          to label %119 unwind label %141

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt14_List_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %121 = load i32, ptr %120, align 4, !tbaa !10
  invoke void @_ZN7fastjet15ClusterSequence30plugin_record_ij_recombinationEiidRKNS_9PseudoJetERi(ptr noundef nonnull align 8 dereferenceable(276) %1, i32 noundef %.04376, i32 noundef %121, double noundef %111, ptr noundef nonnull align 8 dereferenceable(88) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %122 unwind label %143

122:                                              ; preds = %119
  %123 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN7fastjet9PseudoJetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %16, ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %124 unwind label %143

124:                                              ; preds = %122
  %125 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN7fastjet9PseudoJetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(88) %21)
          to label %126 unwind label %143

126:                                              ; preds = %124
  %127 = load i32, ptr %23, align 4, !tbaa !10
  call void @_ZNSt20_List_const_iteratorIiEC2ERKSt14_List_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %128 = load ptr, ptr %24, align 8
  %129 = call ptr @_ZNSt7__cxx114listIiSaIiEE5eraseESt20_List_const_iteratorIiE(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr %128) #6
  %130 = call ptr @_ZNSt7__cxx114listIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %130, ptr %18, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %22) #6
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #6
  br label %150

131:                                              ; preds = %89
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %160

133:                                              ; preds = %94
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %159

135:                                              ; preds = %.lr.ph78
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %158

137:                                              ; preds = %115
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %147

139:                                              ; preds = %116
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %146

141:                                              ; preds = %118, %117
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %145

143:                                              ; preds = %124, %122, %119
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  br label %145

145:                                              ; preds = %143, %141
  %.pn = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #6
  br label %146

146:                                              ; preds = %145, %139
  %.pn.pn = phi { ptr, i32 } [ %.pn, %145 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %22) #6
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #6
  br label %147

147:                                              ; preds = %146, %137
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %146 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #6
  br label %158

148:                                              ; preds = %112
  %149 = call ptr @_ZNSt14_List_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 0) #6
  br label %150

150:                                              ; preds = %148, %126
  %.144 = phi i32 [ %127, %126 ], [ %.04376, %148 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %151 = call ptr @_ZNSt7__cxx114listIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %151, ptr %20, align 8
  %152 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br i1 %152, label %.lr.ph78, label %._crit_edge79, !llvm.loop !23

._crit_edge79:                                    ; preds = %150, %96
  %.043.lcssa = phi i32 [ %91, %96 ], [ %.144, %150 ]
  %153 = load double, ptr %79, align 8, !tbaa !16
  invoke void @_ZN7fastjet15ClusterSequence30plugin_record_iB_recombinationEid(ptr noundef nonnull align 8 dereferenceable(276) %1, i32 noundef %.043.lcssa, double noundef %153)
          to label %154 unwind label %156

154:                                              ; preds = %._crit_edge79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %17) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %17) #6
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #6
  %155 = call noundef i64 @_ZNKSt7__cxx114listIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %.not = icmp eq i64 %155, 0
  br i1 %.not, label %._crit_edge83, label %89, !llvm.loop !24

156:                                              ; preds = %._crit_edge79
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %158

158:                                              ; preds = %135, %147, %156
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %157, %156 ], [ %.pn.pn.pn, %147 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %17) #6
  br label %159

159:                                              ; preds = %158, %133
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %158 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %17) #6
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #6
  br label %160

160:                                              ; preds = %159, %131
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %159 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #6
  br label %161

._crit_edge83:                                    ; preds = %154, %._crit_edge75
  call void @_ZNSt7__cxx1110_List_baseIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret void

161:                                              ; preds = %160, %87
  %.pn53 = phi { ptr, i32 } [ %88, %87 ], [ %.pn.pn.pn.pn.pn.pn.pn, %160 ]
  call void @_ZNSt7__cxx1110_List_baseIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %162

162:                                              ; preds = %161, %76, %65
  %.pn55 = phi { ptr, i32 } [ %66, %65 ], [ %77, %76 ], [ %.pn53, %161 ]
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %163

163:                                              ; preds = %162, %57
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %162 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %164

164:                                              ; preds = %163, %55
  %.pn55.pn.pn = phi { ptr, i32 } [ %.pn55.pn, %163 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %165

165:                                              ; preds = %164, %53, %38
  %.pn59 = phi { ptr, i32 } [ %39, %38 ], [ %.pn55.pn.pn, %164 ], [ %54, %53 ]
  call void @_ZNSt6vectorIN7fastjet19TrackJetParticlePtrESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn59
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZNK7fastjet13JetDefinition17DefaultRecombiner10preprocessERNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7fastjet9PseudoJetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #4 align 2

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

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

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

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

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

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

declare noundef double @_ZNK7fastjet9PseudoJet14plain_distanceERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet9PseudoJetC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1 align 2

declare void @_ZNK7fastjet13JetDefinition17DefaultRecombiner9recombineERKNS_9PseudoJetES4_RS2_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5

declare void @_ZN7fastjet15ClusterSequence30plugin_record_ij_recombinationEiidRKNS_9PseudoJetERi(ptr noundef nonnull align 8 dereferenceable(276), i32 noundef, i32 noundef, double noundef, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN7fastjet9PseudoJetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet15ClusterSequence30plugin_record_iB_recombinationEid(ptr noundef nonnull align 8 dereferenceable(276), i32 noundef, double noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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


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