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

; 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::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.std::allocator" = type { i8 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.20" = type { i8 }
%"class.fastjet::ClusterSequence" = type <{ ptr, %"class.fastjet::JetDefinition", %"class.std::vector.1", %"class.std::vector.6", i8, [3 x i8], i32, double, double, double, double, i32, i32, %"class.fastjet::SharedPtr.11", i32, i8, i8, [2 x i8], %"class.fastjet::SharedPtr.12", %"class.std::vector.13", double, double, double, double, i32, i32, i32, [4 x i8] }>
%"class.fastjet::JetDefinition" = type { i32, double, double, i32, ptr, %"class.fastjet::SharedPtr", %"class.fastjet::JetDefinition::DefaultRecombiner", ptr, %"class.fastjet::SharedPtr.0" }
%"class.fastjet::SharedPtr" = type { ptr }
%"class.fastjet::JetDefinition::DefaultRecombiner" = type <{ %"class.fastjet::JetDefinition::Recombiner", i32, [4 x i8] }>
%"class.fastjet::JetDefinition::Recombiner" = type { ptr }
%"class.fastjet::SharedPtr.0" = type { ptr }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = 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.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastjet::SharedPtr.11" = type { ptr }
%"class.fastjet::SharedPtr.12" = type { ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet15ClusterSequence20_really_dumb_clusterEv(ptr noundef nonnull align 8 dereferenceable(276) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.18", align 8
  %8 = alloca %"class.std::allocator.20", align 1
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca i32, align 4
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %29 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #5
  %30 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %31 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  call void @_ZNSaIPN7fastjet9PseudoJetEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  invoke void @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %32 unwind label %42

32:                                               ; preds = %1
  call void @_ZNSt15__new_allocatorIPN7fastjet9PseudoJetEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %33 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %34 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %34, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %35 unwind label %46

35:                                               ; preds = %32
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %36

36:                                               ; preds = %60, %35
  %37 = load i64, ptr %9, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %39 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #5
  %40 = icmp ult i64 %37, %39
  br i1 %40, label %50, label %41

41:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %63

42:                                               ; preds = %1
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %5, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIPN7fastjet9PseudoJetEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  br label %311

46:                                               ; preds = %32
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %5, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  br label %310

50:                                               ; preds = %36
  %51 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %52 = load i64, ptr %9, align 8, !tbaa !9
  %53 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %52) #5
  %54 = load i64, ptr %9, align 8, !tbaa !9
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %54) #5
  store ptr %53, ptr %55, align 8, !tbaa !5
  %56 = load i64, ptr %9, align 8, !tbaa !9
  %57 = trunc i64 %56 to i32
  %58 = load i64, ptr %9, align 8, !tbaa !9
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %58) #5
  store i32 %57, ptr %59, align 4, !tbaa !11
  br label %60

60:                                               ; preds = %50
  %61 = load i64, ptr %9, align 8, !tbaa !9
  %62 = add i64 %61, 1
  store i64 %62, ptr %9, align 8, !tbaa !9
  br label %36, !llvm.loop !13

63:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %64 = call noundef i64 @_ZNKSt6vectorIPN7fastjet9PseudoJetESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %65 = trunc i64 %64 to i32
  store i32 %65, ptr %10, align 4, !tbaa !11
  br label %66

66:                                               ; preds = %303, %63
  %67 = load i32, ptr %10, align 4, !tbaa !11
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %309

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #5
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %29, ptr noundef nonnull align 8 dereferenceable(88) %72)
          to label %74 unwind label %80

74:                                               ; preds = %70
  store double %73, ptr %14, align 8, !tbaa !15
  store i32 0, ptr %12, align 4, !tbaa !11
  store i32 -2, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %75

75:                                               ; preds = %102, %74
  %76 = load i32, ptr %15, align 4, !tbaa !11
  %77 = load i32, ptr %10, align 4, !tbaa !11
  %78 = icmp slt i32 %76, %77
  br i1 %78, label %84, label %79

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

80:                                               ; preds = %70
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %5, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %6, align 4
  br label %308

84:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %85 = load i32, ptr %15, align 4, !tbaa !11
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %86) #5
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  %89 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %29, ptr noundef nonnull align 8 dereferenceable(88) %88)
          to label %90 unwind label %97

90:                                               ; preds = %84
  store double %89, ptr %16, align 8, !tbaa !15
  %91 = load double, ptr %16, align 8, !tbaa !15
  %92 = load double, ptr %14, align 8, !tbaa !15
  %93 = fcmp olt double %91, %92
  br i1 %93, label %94, label %101

94:                                               ; preds = %90
  %95 = load double, ptr %16, align 8, !tbaa !15
  store double %95, ptr %14, align 8, !tbaa !15
  %96 = load i32, ptr %15, align 4, !tbaa !11
  store i32 %96, ptr %12, align 4, !tbaa !11
  store i32 -2, ptr %13, align 4, !tbaa !11
  br label %101

97:                                               ; preds = %84
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %5, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %308

101:                                              ; preds = %94, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %15, align 4, !tbaa !11
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %15, align 4, !tbaa !11
  br label %75, !llvm.loop !17

105:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %106

106:                                              ; preds = %171, %105
  %107 = load i32, ptr %17, align 4, !tbaa !11
  %108 = load i32, ptr %10, align 4, !tbaa !11
  %109 = sub nsw i32 %108, 1
  %110 = icmp slt i32 %107, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %106
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %174

112:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %113 = load i32, ptr %17, align 4, !tbaa !11
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %18, align 4, !tbaa !11
  br label %115

115:                                              ; preds = %167, %112
  %116 = load i32, ptr %18, align 4, !tbaa !11
  %117 = load i32, ptr %10, align 4, !tbaa !11
  %118 = icmp slt i32 %116, %117
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %170

120:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %121 = load i32, ptr %17, align 4, !tbaa !11
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %122) #5
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %29, ptr noundef nonnull align 8 dereferenceable(88) %124)
          to label %126 unwind label %157

126:                                              ; preds = %120
  store double %125, ptr %20, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %127 = load i32, ptr %18, align 4, !tbaa !11
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %128) #5
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  %131 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %29, ptr noundef nonnull align 8 dereferenceable(88) %130)
          to label %132 unwind label %161

132:                                              ; preds = %126
  store double %131, ptr %21, align 8, !tbaa !15
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %134 unwind label %161

134:                                              ; preds = %132
  %135 = load double, ptr %133, align 8, !tbaa !15
  %136 = load i32, ptr %17, align 4, !tbaa !11
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %137) #5
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = load i32, ptr %18, align 4, !tbaa !11
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %141) #5
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = invoke noundef double @_ZNK7fastjet9PseudoJet14plain_distanceERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %139, ptr noundef nonnull align 8 dereferenceable(88) %143)
          to label %145 unwind label %161

145:                                              ; preds = %134
  %146 = fmul double %135, %144
  %147 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 9
  %148 = load double, ptr %147, align 8, !tbaa !18
  %149 = fmul double %146, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  store double %149, ptr %19, align 8, !tbaa !15
  %150 = load double, ptr %19, align 8, !tbaa !15
  %151 = load double, ptr %14, align 8, !tbaa !15
  %152 = fcmp olt double %150, %151
  br i1 %152, label %153, label %166

153:                                              ; preds = %145
  %154 = load double, ptr %19, align 8, !tbaa !15
  store double %154, ptr %14, align 8, !tbaa !15
  %155 = load i32, ptr %17, align 4, !tbaa !11
  store i32 %155, ptr %12, align 4, !tbaa !11
  %156 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %156, ptr %13, align 4, !tbaa !11
  br label %166

157:                                              ; preds = %120
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %5, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %6, align 4
  br label %165

161:                                              ; preds = %134, %132, %126
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %5, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %165

165:                                              ; preds = %161, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %308

166:                                              ; preds = %153, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %18, align 4, !tbaa !11
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %18, align 4, !tbaa !11
  br label %115, !llvm.loop !43

170:                                              ; preds = %119
  br label %171

171:                                              ; preds = %170
  %172 = load i32, ptr %17, align 4, !tbaa !11
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %17, align 4, !tbaa !11
  br label %106, !llvm.loop !44

174:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %175 = load i32, ptr %13, align 4, !tbaa !11
  %176 = icmp slt i32 %175, 0
  br i1 %176, label %177, label %182

177:                                              ; preds = %174
  store i32 -1, ptr %22, align 4, !tbaa !11
  %178 = load i32, ptr %12, align 4, !tbaa !11
  %179 = sext i32 %178 to i64
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %179) #5
  %181 = load i32, ptr %180, align 4, !tbaa !11
  store i32 %181, ptr %23, align 4, !tbaa !11
  br label %205

182:                                              ; preds = %174
  %183 = load i32, ptr %12, align 4, !tbaa !11
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %184) #5
  %186 = load i32, ptr %13, align 4, !tbaa !11
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %187) #5
  %189 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %185, ptr noundef nonnull align 4 dereferenceable(4) %188)
          to label %190 unwind label %201

190:                                              ; preds = %182
  %191 = load i32, ptr %189, align 4, !tbaa !11
  store i32 %191, ptr %22, align 4, !tbaa !11
  %192 = load i32, ptr %12, align 4, !tbaa !11
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %193) #5
  %195 = load i32, ptr %13, align 4, !tbaa !11
  %196 = sext i32 %195 to i64
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %196) #5
  %198 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %194, ptr noundef nonnull align 4 dereferenceable(4) %197)
          to label %199 unwind label %201

199:                                              ; preds = %190
  %200 = load i32, ptr %198, align 4, !tbaa !11
  store i32 %200, ptr %23, align 4, !tbaa !11
  br label %205

201:                                              ; preds = %190, %182
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %5, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %6, align 4
  br label %307

205:                                              ; preds = %199, %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %206 = call noundef i64 @_ZNKSt6vectorIPN7fastjet9PseudoJetESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %207 = mul i64 2, %206
  %208 = load i32, ptr %10, align 4, !tbaa !11
  %209 = sext i32 %208 to i64
  %210 = sub i64 %207, %209
  %211 = trunc i64 %210 to i32
  store i32 %211, ptr %24, align 4, !tbaa !11
  %212 = load i32, ptr %13, align 4, !tbaa !11
  %213 = icmp sge i32 %212, 0
  br i1 %213, label %214, label %269

214:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %215 = load i32, ptr %12, align 4, !tbaa !11
  %216 = sext i32 %215 to i64
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %216) #5
  %218 = load ptr, ptr %217, align 8, !tbaa !5
  %219 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %220 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %219, i64 noundef 0) #5
  %221 = ptrtoint ptr %218 to i64
  %222 = ptrtoint ptr %220 to i64
  %223 = sub i64 %221, %222
  %224 = sdiv exact i64 %223, 88
  %225 = trunc i64 %224 to i32
  store i32 %225, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %226 = load i32, ptr %13, align 4, !tbaa !11
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %227) #5
  %229 = load ptr, ptr %228, align 8, !tbaa !5
  %230 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %231 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %230, i64 noundef 0) #5
  %232 = ptrtoint ptr %229 to i64
  %233 = ptrtoint ptr %231 to i64
  %234 = sub i64 %232, %233
  %235 = sdiv exact i64 %234, 88
  %236 = trunc i64 %235 to i32
  store i32 %236, ptr %27, align 4, !tbaa !11
  invoke void @_ZN7fastjet15ClusterSequence25_do_ij_recombination_stepERKiS2_RKdRi(ptr noundef nonnull align 8 dereferenceable(276) %29, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %237 unwind label %265

237:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  %238 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %239 = load i32, ptr %25, align 4, !tbaa !11
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240) #5
  %242 = load i32, ptr %12, align 4, !tbaa !11
  %243 = sext i32 %242 to i64
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %243) #5
  store ptr %241, ptr %244, align 8, !tbaa !5
  %245 = load i32, ptr %10, align 4, !tbaa !11
  %246 = sub nsw i32 %245, 1
  %247 = sext i32 %246 to i64
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %247) #5
  %249 = load ptr, ptr %248, align 8, !tbaa !5
  %250 = load i32, ptr %13, align 4, !tbaa !11
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %251) #5
  store ptr %249, ptr %252, align 8, !tbaa !5
  %253 = load i32, ptr %24, align 4, !tbaa !11
  %254 = load i32, ptr %12, align 4, !tbaa !11
  %255 = sext i32 %254 to i64
  %256 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %255) #5
  store i32 %253, ptr %256, align 4, !tbaa !11
  %257 = load i32, ptr %10, align 4, !tbaa !11
  %258 = sub nsw i32 %257, 1
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %259) #5
  %261 = load i32, ptr %260, align 4, !tbaa !11
  %262 = load i32, ptr %13, align 4, !tbaa !11
  %263 = sext i32 %262 to i64
  %264 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %263) #5
  store i32 %261, ptr %264, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %302

265:                                              ; preds = %214
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %5, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %306

269:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %270 = load i32, ptr %12, align 4, !tbaa !11
  %271 = sext i32 %270 to i64
  %272 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %271) #5
  %273 = load ptr, ptr %272, align 8, !tbaa !5
  %274 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %29, i32 0, i32 2
  %275 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %274, i64 noundef 0) #5
  %276 = ptrtoint ptr %273 to i64
  %277 = ptrtoint ptr %275 to i64
  %278 = sub i64 %276, %277
  %279 = sdiv exact i64 %278, 88
  %280 = trunc i64 %279 to i32
  store i32 %280, ptr %28, align 4, !tbaa !11
  invoke void @_ZN7fastjet15ClusterSequence25_do_iB_recombination_stepERKiRKd(ptr noundef nonnull align 8 dereferenceable(276) %29, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %281 unwind label %298

281:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  %282 = load i32, ptr %10, align 4, !tbaa !11
  %283 = sub nsw i32 %282, 1
  %284 = sext i32 %283 to i64
  %285 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %284) #5
  %286 = load ptr, ptr %285, align 8, !tbaa !5
  %287 = load i32, ptr %12, align 4, !tbaa !11
  %288 = sext i32 %287 to i64
  %289 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %288) #5
  store ptr %286, ptr %289, align 8, !tbaa !5
  %290 = load i32, ptr %10, align 4, !tbaa !11
  %291 = sub nsw i32 %290, 1
  %292 = sext i32 %291 to i64
  %293 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %292) #5
  %294 = load i32, ptr %293, align 4, !tbaa !11
  %295 = load i32, ptr %12, align 4, !tbaa !11
  %296 = sext i32 %295 to i64
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %296) #5
  store i32 %294, ptr %297, align 4, !tbaa !11
  br label %302

298:                                              ; preds = %269
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %5, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %306

302:                                              ; preds = %281, %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %303

303:                                              ; preds = %302
  %304 = load i32, ptr %10, align 4, !tbaa !11
  %305 = add nsw i32 %304, -1
  store i32 %305, ptr %10, align 4, !tbaa !11
  br label %66, !llvm.loop !45

306:                                              ; preds = %298, %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %307

307:                                              ; preds = %306, %201
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %308

308:                                              ; preds = %307, %165, %97, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %310

309:                                              ; preds = %69
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  call void @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  ret void

310:                                              ; preds = %308, %46
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  call void @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %311

311:                                              ; preds = %310, %42
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  br label %312

312:                                              ; preds = %311
  %313 = load ptr, ptr %5, align 8
  %314 = load i32, ptr %6, align 4
  %315 = insertvalue { ptr, i32 } poison, ptr %313, 0
  %316 = insertvalue { ptr, i32 } %315, i32 %314, 1
  resume { ptr, i32 } %316
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 8 dereferenceable(88)) #3

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

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

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

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

declare void @_ZN7fastjet15ClusterSequence25_do_ij_recombination_stepERKiS2_RKdRi(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #3

declare void @_ZN7fastjet15ClusterSequence25_do_iB_recombination_stepERKiRKd(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = !{!19, !16, i64 160}
!19 = !{!"_ZTSN7fastjet15ClusterSequenceE", !20, i64 8, !28, i64 88, !32, i64 112, !36, i64 136, !12, i64 140, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168, !22, i64 176, !21, i64 180, !37, i64 184, !12, i64 192, !36, i64 196, !36, i64 197, !38, i64 200, !39, i64 208, !16, i64 232, !16, i64 240, !16, i64 248, !16, i64 256, !12, i64 264, !12, i64 268, !12, i64 272}
!20 = !{!"_ZTSN7fastjet13JetDefinitionE", !21, i64 0, !16, i64 8, !16, i64 16, !22, i64 24, !6, i64 32, !23, i64 40, !24, i64 48, !6, i64 64, !27, i64 72}
!21 = !{!"_ZTSN7fastjet12JetAlgorithmE", !7, i64 0}
!22 = !{!"_ZTSN7fastjet8StrategyE", !7, i64 0}
!23 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition6PluginEEE", !6, i64 0}
!24 = !{!"_ZTSN7fastjet13JetDefinition17DefaultRecombinerE", !25, i64 0, !26, i64 8}
!25 = !{!"_ZTSN7fastjet13JetDefinition10RecombinerE"}
!26 = !{!"_ZTSN7fastjet19RecombinationSchemeE", !7, i64 0}
!27 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition10RecombinerEEE", !6, i64 0}
!28 = !{!"_ZTSSt6vectorIN7fastjet9PseudoJetESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"bool", !7, i64 0}
!37 = !{!"_ZTSN7fastjet9SharedPtrINS_22PseudoJetStructureBaseEEE", !6, i64 0}
!38 = !{!"_ZTSN7fastjet9SharedPtrINS_15ClusterSequence6ExtrasEEE", !6, i64 0}
!39 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = distinct !{!43, !14}
!44 = distinct !{!44, !14}
!45 = distinct !{!45, !14}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet15ClusterSequence20_really_dumb_clusterEv(ptr noundef nonnull align 8 dereferenceable(276) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector", align 8
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca %"class.std::vector.18", align 8
  %5 = alloca %"class.std::allocator.20", align 1
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  %14 = tail call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #5
  call void @_ZNSaIPN7fastjet9PseudoJetEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  invoke void @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %14, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %15 unwind label %26

15:                                               ; preds = %1
  call void @_ZNSt15__new_allocatorIPN7fastjet9PseudoJetEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  %16 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %16, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %17 unwind label %28

17:                                               ; preds = %15
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  %18 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %17
  %19 = call noundef i64 @_ZNKSt6vectorIPN7fastjet9PseudoJetESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %20 = trunc i64 %19 to i32
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph117, label %._crit_edge118

.lr.ph117:                                        ; preds = %._crit_edge
  %22 = getelementptr inbounds i8, ptr %0, i64 160
  %23 = add i64 %19, 4294967295
  %24 = and i64 %23, 4294967295
  %25 = and i64 %19, 2147483647
  br label %37

26:                                               ; preds = %1
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIPN7fastjet9PseudoJetEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  br label %161

28:                                               ; preds = %15
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  br label %160

.lr.ph:                                           ; preds = %17, %.lr.ph
  %.06195 = phi i64 [ %34, %.lr.ph ], [ 0, %17 ]
  %30 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %.06195) #5
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.06195) #5
  store ptr %30, ptr %31, align 8, !tbaa !5
  %32 = trunc i64 %.06195 to i32
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.06195) #5
  store i32 %32, ptr %33, align 4, !tbaa !9
  %34 = add nuw i64 %.06195, 1
  %35 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  %36 = icmp ult i64 %34, %35
  br i1 %36, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge118:                                   ; preds = %158, %._crit_edge
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  ret void

37:                                               ; preds = %.lr.ph117, %158
  %indvars.iv134 = phi i64 [ %25, %.lr.ph117 ], [ %indvars.iv.next135, %158 ]
  %indvars.iv132 = phi i64 [ %24, %.lr.ph117 ], [ %indvars.iv.next133, %158 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %39)
          to label %.lr.ph99.preheader unwind label %42

.lr.ph99.preheader:                               ; preds = %37
  store double %40, ptr %6, align 8, !tbaa !13
  br label %.lr.ph99

.preheader:                                       ; preds = %54
  %indvars.iv.next135 = add nsw i64 %indvars.iv134, -1
  %41 = icmp sgt i64 %indvars.iv134, 1
  br i1 %41, label %.lr.ph104, label %._crit_edge111.thread

42:                                               ; preds = %37
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %159

.lr.ph99:                                         ; preds = %.lr.ph99.preheader, %54
  %indvars.iv = phi i64 [ 0, %.lr.ph99.preheader ], [ %indvars.iv.next, %54 ]
  %.06896 = phi i32 [ 0, %.lr.ph99.preheader ], [ %.169, %54 ]
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #5
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %45)
          to label %47 unwind label %52

47:                                               ; preds = %.lr.ph99
  %48 = load double, ptr %6, align 8, !tbaa !13
  %49 = fcmp olt double %46, %48
  br i1 %49, label %50, label %54

50:                                               ; preds = %47
  store double %46, ptr %6, align 8, !tbaa !13
  %51 = trunc nuw nsw i64 %indvars.iv to i32
  br label %54

52:                                               ; preds = %.lr.ph99
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %159

54:                                               ; preds = %50, %47
  %.169 = phi i32 [ %51, %50 ], [ %.06896, %47 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv134
  br i1 %exitcond.not, label %.preheader, label %.lr.ph99, !llvm.loop !15

.loopexit:                                        ; preds = %86
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %exitcond131.not = icmp eq i64 %indvars.iv.next126, %indvars.iv132
  br i1 %exitcond131.not, label %._crit_edge111, label %.lr.ph104, !llvm.loop !16

._crit_edge111:                                   ; preds = %.loopexit
  %55 = icmp slt i32 %.467, 0
  br i1 %55, label %._crit_edge111.thread, label %91

.lr.ph104:                                        ; preds = %.preheader, %.loopexit
  %indvars.iv125 = phi i64 [ %indvars.iv.next126, %.loopexit ], [ 0, %.preheader ]
  %indvars.iv120 = phi i64 [ %indvars.iv.next121, %.loopexit ], [ 1, %.preheader ]
  %.265108 = phi i32 [ %.467, %.loopexit ], [ -2, %.preheader ]
  %.270107 = phi i32 [ %.472, %.loopexit ], [ %.169, %.preheader ]
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %56 = trunc nuw nsw i64 %indvars.iv125 to i32
  br label %57

57:                                               ; preds = %.lr.ph104, %86
  %indvars.iv122 = phi i64 [ %indvars.iv120, %.lr.ph104 ], [ %indvars.iv.next123, %86 ]
  %.366101 = phi i32 [ %.265108, %.lr.ph104 ], [ %.467, %86 ]
  %.371100 = phi i32 [ %.270107, %.lr.ph104 ], [ %.472, %86 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv125) #5
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %59)
          to label %61 unwind label %81

61:                                               ; preds = %57
  store double %60, ptr %7, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv122) #5
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = invoke noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %63)
          to label %65 unwind label %83

65:                                               ; preds = %61
  store double %64, ptr %8, align 8, !tbaa !13
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %67 = load double, ptr %66, align 8, !tbaa !13
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv125) #5
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv122) #5
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %72 = invoke noundef double @_ZNK7fastjet9PseudoJet14plain_distanceERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %69, ptr noundef nonnull align 8 dereferenceable(88) %71)
          to label %73 unwind label %83

73:                                               ; preds = %65
  %74 = fmul double %67, %72
  %75 = load double, ptr %22, align 8, !tbaa !17
  %76 = fmul double %74, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %77 = load double, ptr %6, align 8, !tbaa !13
  %78 = fcmp olt double %76, %77
  br i1 %78, label %79, label %86

79:                                               ; preds = %73
  store double %76, ptr %6, align 8, !tbaa !13
  %80 = trunc nuw nsw i64 %indvars.iv122 to i32
  br label %86

81:                                               ; preds = %57
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %85

83:                                               ; preds = %65, %61
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %85

85:                                               ; preds = %83, %81
  %.pn78 = phi { ptr, i32 } [ %84, %83 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %159

86:                                               ; preds = %79, %73
  %.472 = phi i32 [ %56, %79 ], [ %.371100, %73 ]
  %.467 = phi i32 [ %80, %79 ], [ %.366101, %73 ]
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %sext = shl i64 %indvars.iv.next123, 32
  %87 = ashr exact i64 %sext, 32
  %88 = icmp slt i64 %87, %indvars.iv134
  br i1 %88, label %57, label %.loopexit, !llvm.loop !42

._crit_edge111.thread:                            ; preds = %.preheader, %._crit_edge111
  %.265.lcssa144 = phi i32 [ %.467, %._crit_edge111 ], [ -2, %.preheader ]
  %.270.lcssa142 = phi i32 [ %.472, %._crit_edge111 ], [ %.169, %.preheader ]
  %89 = sext i32 %.270.lcssa142 to i64
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %89) #5
  br label %100

91:                                               ; preds = %._crit_edge111
  %92 = sext i32 %.472 to i64
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %92) #5
  %94 = zext nneg i32 %.467 to i64
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %94) #5
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %93, ptr noundef nonnull align 4 dereferenceable(4) %95)
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %92) #5
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %94) #5
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %97, ptr noundef nonnull align 4 dereferenceable(4) %98)
  br label %100

100:                                              ; preds = %91, %._crit_edge111.thread
  %.265.lcssa143 = phi i32 [ %.467, %91 ], [ %.265.lcssa144, %._crit_edge111.thread ]
  %.270.lcssa141 = phi i32 [ %.472, %91 ], [ %.270.lcssa142, %._crit_edge111.thread ]
  %101 = call noundef i64 @_ZNKSt6vectorIPN7fastjet9PseudoJetESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %.tr = trunc i64 %101 to i32
  %102 = shl i32 %.tr, 1
  %103 = trunc nuw nsw i64 %indvars.iv134 to i32
  %104 = sub i32 %102, %103
  %105 = icmp sgt i32 %.265.lcssa143, -1
  br i1 %105, label %106, label %139

106:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %107 = sext i32 %.270.lcssa141 to i64
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %107) #5
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #5
  %111 = ptrtoint ptr %109 to i64
  %112 = ptrtoint ptr %110 to i64
  %113 = sub i64 %111, %112
  %114 = sdiv exact i64 %113, 88
  %115 = trunc i64 %114 to i32
  store i32 %115, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %116 = zext nneg i32 %.265.lcssa143 to i64
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %116) #5
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #5
  %120 = ptrtoint ptr %118 to i64
  %121 = ptrtoint ptr %119 to i64
  %122 = sub i64 %120, %121
  %123 = sdiv exact i64 %122, 88
  %124 = trunc i64 %123 to i32
  store i32 %124, ptr %11, align 4, !tbaa !9
  invoke void @_ZN7fastjet15ClusterSequence25_do_ij_recombination_stepERKiS2_RKdRi(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %125 unwind label %137

125:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %126 = load i32, ptr %9, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %127) #5
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %107) #5
  store ptr %128, ptr %129, align 8, !tbaa !5
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv.next135) #5
  %131 = load ptr, ptr %130, align 8, !tbaa !5
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %116) #5
  store ptr %131, ptr %132, align 8, !tbaa !5
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %107) #5
  store i32 %104, ptr %133, align 4, !tbaa !9
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next135) #5
  %135 = load i32, ptr %134, align 4, !tbaa !9
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %116) #5
  store i32 %135, ptr %136, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %158

137:                                              ; preds = %106
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %159

139:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %140 = sext i32 %.270.lcssa141 to i64
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %140) #5
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  %143 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #5
  %144 = ptrtoint ptr %142 to i64
  %145 = ptrtoint ptr %143 to i64
  %146 = sub i64 %144, %145
  %147 = sdiv exact i64 %146, 88
  %148 = trunc i64 %147 to i32
  store i32 %148, ptr %12, align 4, !tbaa !9
  invoke void @_ZN7fastjet15ClusterSequence25_do_iB_recombination_stepERKiRKd(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %149 unwind label %156

149:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv.next135) #5
  %151 = load ptr, ptr %150, align 8, !tbaa !5
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %140) #5
  store ptr %151, ptr %152, align 8, !tbaa !5
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next135) #5
  %154 = load i32, ptr %153, align 4, !tbaa !9
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %140) #5
  store i32 %154, ptr %155, align 4, !tbaa !9
  br label %158

156:                                              ; preds = %139
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br label %159

158:                                              ; preds = %149, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %indvars.iv.next133 = add nsw i64 %indvars.iv132, -1
  br i1 %41, label %37, label %._crit_edge118, !llvm.loop !43

159:                                              ; preds = %137, %156, %85, %52, %42
  %.pn80 = phi { ptr, i32 } [ %53, %52 ], [ %.pn78, %85 ], [ %43, %42 ], [ %138, %137 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %160

160:                                              ; preds = %159, %28
  %.pn80.pn = phi { ptr, i32 } [ %.pn80, %159 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIPN7fastjet9PseudoJetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  br label %161

161:                                              ; preds = %160, %26
  %.pn80.pn.pn = phi { ptr, i32 } [ %.pn80.pn, %160 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn80.pn.pn
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare noundef double @_ZNK7fastjet15ClusterSequence23jet_scale_for_algorithmERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3

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

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

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

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

declare void @_ZN7fastjet15ClusterSequence25_do_ij_recombination_stepERKiS2_RKdRi(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

declare void @_ZN7fastjet15ClusterSequence25_do_iB_recombination_stepERKiRKd(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = !{!18, !14, i64 160}
!18 = !{!"_ZTSN7fastjet15ClusterSequenceE", !19, i64 8, !27, i64 88, !31, i64 112, !35, i64 136, !10, i64 140, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !21, i64 176, !20, i64 180, !36, i64 184, !10, i64 192, !35, i64 196, !35, i64 197, !37, i64 200, !38, i64 208, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !10, i64 264, !10, i64 268, !10, i64 272}
!19 = !{!"_ZTSN7fastjet13JetDefinitionE", !20, i64 0, !14, i64 8, !14, i64 16, !21, i64 24, !6, i64 32, !22, i64 40, !23, i64 48, !6, i64 64, !26, i64 72}
!20 = !{!"_ZTSN7fastjet12JetAlgorithmE", !7, i64 0}
!21 = !{!"_ZTSN7fastjet8StrategyE", !7, i64 0}
!22 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition6PluginEEE", !6, i64 0}
!23 = !{!"_ZTSN7fastjet13JetDefinition17DefaultRecombinerE", !24, i64 0, !25, i64 8}
!24 = !{!"_ZTSN7fastjet13JetDefinition10RecombinerE"}
!25 = !{!"_ZTSN7fastjet19RecombinationSchemeE", !7, i64 0}
!26 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition10RecombinerEEE", !6, i64 0}
!27 = !{!"_ZTSSt6vectorIN7fastjet9PseudoJetESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"bool", !7, i64 0}
!36 = !{!"_ZTSN7fastjet9SharedPtrINS_22PseudoJetStructureBaseEEE", !6, i64 0}
!37 = !{!"_ZTSN7fastjet9SharedPtrINS_15ClusterSequence6ExtrasEEE", !6, i64 0}
!38 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = distinct !{!42, !12}
!43 = distinct !{!43, !12}


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