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

; 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.fastjet::PseudoJet" = type { ptr, %"class.fastjet::SharedPtr.6", %"class.fastjet::SharedPtr.14", double, double, double, double, double, double, double, i32, i32 }
%"class.fastjet::SharedPtr.6" = type { ptr }
%"class.fastjet::SharedPtr.14" = type { ptr }

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

declare void @_ZNK7fastjet15ClusterSequence14inclusive_jetsERKd(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 8 dereferenceable(8)) #1

declare i32 @__gxx_personality_v0(...)

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZNK7fastjet8Selector4passERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(88)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7fastjet23ClusterSequenceAreaBase26parabolic_pt_per_unit_areaERdS1_RKNS_8SelectorEdb(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(16) %3, double noundef %4, i1 noundef zeroext %5) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca %"class.fastjet::PseudoJet", align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store double %4, ptr %11, align 8, !tbaa !9
  %29 = zext i1 %5 to i8
  store i8 %29, ptr %12, align 1, !tbaa !11
  %30 = load ptr, ptr %7, align 8
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNK7fastjet23ClusterSequenceAreaBase31_check_selector_good_for_medianERKNS_8SelectorE(ptr noundef nonnull align 8 dereferenceable(276) %30, ptr noundef nonnull align 8 dereferenceable(16) %31)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store double 0.000000e+00, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store double 0.000000e+00, ptr %20, align 8, !tbaa !9
  call void @_ZNK7fastjet15ClusterSequence14inclusive_jetsERKd(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(276) %30, ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !13
  br label %32

32:                                               ; preds = %138, %6
  %33 = load i32, ptr %21, align 4, !tbaa !13
  %34 = zext i32 %33 to i64
  %35 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  %36 = icmp ult i64 %34, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %142

38:                                               ; preds = %32
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = load i32, ptr %21, align 4, !tbaa !13
  %41 = zext i32 %40 to i64
  %42 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %41) #7
  %43 = invoke noundef zeroext i1 @_ZNK7fastjet8Selector4passERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(88) %42)
          to label %44 unwind label %58

44:                                               ; preds = %38
  br i1 %43, label %45, label %137

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %46 = load i8, ptr %12, align 1, !tbaa !11, !range !15, !noundef !16
  %47 = trunc i8 %46 to i1
  br i1 %47, label %48, label %71

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 88, ptr %25) #7
  %49 = load i32, ptr %21, align 4, !tbaa !13
  %50 = zext i32 %49 to i64
  %51 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %50) #7
  %52 = load ptr, ptr %30, align 8, !tbaa !17
  %53 = getelementptr inbounds ptr, ptr %52, i64 4
  %54 = load ptr, ptr %53, align 8
  invoke void %54(ptr dead_on_unwind writable sret(%"class.fastjet::PseudoJet") align 8 %25, ptr noundef nonnull align 8 dereferenceable(276) %30, ptr noundef nonnull align 8 dereferenceable(88) %51)
          to label %55 unwind label %62

55:                                               ; preds = %48
  %56 = invoke noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %57 unwind label %66

57:                                               ; preds = %55
  store double %56, ptr %24, align 8, !tbaa !9
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #7
  br label %84

58:                                               ; preds = %38
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %22, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %23, align 4
  br label %141

62:                                               ; preds = %48
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %22, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %23, align 4
  br label %70

66:                                               ; preds = %55
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %22, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %23, align 4
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #7
  br label %70

70:                                               ; preds = %66, %62
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #7
  br label %136

71:                                               ; preds = %45
  %72 = load i32, ptr %21, align 4, !tbaa !13
  %73 = zext i32 %72 to i64
  %74 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %73) #7
  %75 = load ptr, ptr %30, align 8, !tbaa !17
  %76 = getelementptr inbounds ptr, ptr %75, i64 2
  %77 = load ptr, ptr %76, align 8
  %78 = invoke noundef double %77(ptr noundef nonnull align 8 dereferenceable(276) %30, ptr noundef nonnull align 8 dereferenceable(88) %74)
          to label %79 unwind label %80

79:                                               ; preds = %71
  store double %78, ptr %24, align 8, !tbaa !9
  br label %84

80:                                               ; preds = %71
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %22, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %23, align 4
  br label %136

84:                                               ; preds = %79, %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %85 = load i32, ptr %21, align 4, !tbaa !13
  %86 = zext i32 %85 to i64
  %87 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %86) #7
  %88 = invoke noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %87)
          to label %89 unwind label %123

89:                                               ; preds = %84
  %90 = load double, ptr %24, align 8, !tbaa !9
  %91 = fdiv double %88, %90
  store double %91, ptr %26, align 8, !tbaa !9
  %92 = load double, ptr %11, align 8, !tbaa !9
  %93 = fcmp ole double %92, 0.000000e+00
  br i1 %93, label %98, label %94

94:                                               ; preds = %89
  %95 = load double, ptr %26, align 8, !tbaa !9
  %96 = load double, ptr %11, align 8, !tbaa !9
  %97 = fcmp olt double %95, %96
  br i1 %97, label %98, label %131

98:                                               ; preds = %94, %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %99 = load i32, ptr %21, align 4, !tbaa !13
  %100 = zext i32 %99 to i64
  %101 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %100) #7
  %102 = invoke noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88) %101)
          to label %103 unwind label %127

103:                                              ; preds = %98
  store double %102, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %104 = load double, ptr %27, align 8, !tbaa !9
  %105 = load double, ptr %27, align 8, !tbaa !9
  %106 = fmul double %104, %105
  store double %106, ptr %28, align 8, !tbaa !9
  %107 = load double, ptr %26, align 8, !tbaa !9
  %108 = load double, ptr %15, align 8, !tbaa !9
  %109 = fadd double %108, %107
  store double %109, ptr %15, align 8, !tbaa !9
  %110 = load double, ptr %28, align 8, !tbaa !9
  %111 = load double, ptr %16, align 8, !tbaa !9
  %112 = fadd double %111, %110
  store double %112, ptr %16, align 8, !tbaa !9
  %113 = load double, ptr %28, align 8, !tbaa !9
  %114 = load double, ptr %28, align 8, !tbaa !9
  %115 = load double, ptr %17, align 8, !tbaa !9
  %116 = call double @llvm.fmuladd.f64(double %113, double %114, double %115)
  store double %116, ptr %17, align 8, !tbaa !9
  %117 = load double, ptr %26, align 8, !tbaa !9
  %118 = load double, ptr %28, align 8, !tbaa !9
  %119 = load double, ptr %18, align 8, !tbaa !9
  %120 = call double @llvm.fmuladd.f64(double %117, double %118, double %119)
  store double %120, ptr %18, align 8, !tbaa !9
  %121 = load i32, ptr %13, align 4, !tbaa !13
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %134

123:                                              ; preds = %84
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %22, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %23, align 4
  br label %135

127:                                              ; preds = %98
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %22, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %135

131:                                              ; preds = %94
  %132 = load i32, ptr %14, align 4, !tbaa !13
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %14, align 4, !tbaa !13
  br label %134

134:                                              ; preds = %131, %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %137

135:                                              ; preds = %127, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %136

136:                                              ; preds = %135, %80, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %141

137:                                              ; preds = %134, %44
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %21, align 4, !tbaa !13
  %140 = add i32 %139, 1
  store i32 %140, ptr %21, align 4, !tbaa !13
  br label %32, !llvm.loop !19

141:                                              ; preds = %136, %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %185

142:                                              ; preds = %37
  %143 = load i32, ptr %13, align 4, !tbaa !13
  %144 = icmp sle i32 %143, 1
  br i1 %144, label %145, label %148

145:                                              ; preds = %142
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  store double 0.000000e+00, ptr %146, align 8, !tbaa !9
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  store double 0.000000e+00, ptr %147, align 8, !tbaa !9
  br label %184

148:                                              ; preds = %142
  %149 = load i32, ptr %13, align 4, !tbaa !13
  %150 = sitofp i32 %149 to double
  %151 = load double, ptr %15, align 8, !tbaa !9
  %152 = fdiv double %151, %150
  store double %152, ptr %15, align 8, !tbaa !9
  %153 = load i32, ptr %13, align 4, !tbaa !13
  %154 = sitofp i32 %153 to double
  %155 = load double, ptr %16, align 8, !tbaa !9
  %156 = fdiv double %155, %154
  store double %156, ptr %16, align 8, !tbaa !9
  %157 = load i32, ptr %13, align 4, !tbaa !13
  %158 = sitofp i32 %157 to double
  %159 = load double, ptr %17, align 8, !tbaa !9
  %160 = fdiv double %159, %158
  store double %160, ptr %17, align 8, !tbaa !9
  %161 = load i32, ptr %13, align 4, !tbaa !13
  %162 = sitofp i32 %161 to double
  %163 = load double, ptr %18, align 8, !tbaa !9
  %164 = fdiv double %163, %162
  store double %164, ptr %18, align 8, !tbaa !9
  %165 = load double, ptr %15, align 8, !tbaa !9
  %166 = load double, ptr %16, align 8, !tbaa !9
  %167 = load double, ptr %18, align 8, !tbaa !9
  %168 = fneg double %167
  %169 = call double @llvm.fmuladd.f64(double %165, double %166, double %168)
  %170 = load double, ptr %16, align 8, !tbaa !9
  %171 = load double, ptr %16, align 8, !tbaa !9
  %172 = load double, ptr %17, align 8, !tbaa !9
  %173 = fneg double %172
  %174 = call double @llvm.fmuladd.f64(double %170, double %171, double %173)
  %175 = fdiv double %169, %174
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  store double %175, ptr %176, align 8, !tbaa !9
  %177 = load double, ptr %15, align 8, !tbaa !9
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = load double, ptr %178, align 8, !tbaa !9
  %180 = load double, ptr %16, align 8, !tbaa !9
  %181 = fneg double %179
  %182 = call double @llvm.fmuladd.f64(double %181, double %180, double %177)
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  store double %182, ptr %183, align 8, !tbaa !9
  br label %184

184:                                              ; preds = %148, %145
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  ret void

185:                                              ; preds = %141
  %186 = load ptr, ptr %22, align 8
  %187 = load i32, ptr %23, align 4
  %188 = insertvalue { ptr, i32 } poison, ptr %186, 0
  %189 = insertvalue { ptr, i32 } %188, i32 %187, 1
  resume { ptr, i32 } %189
}

; 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 nounwind uwtable
declare dso_local noundef double @_ZNK7fastjet9PseudoJet4perpEv(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: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88)) #5 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; 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.fastjet::PseudoJet" = type { ptr, %"class.fastjet::SharedPtr.6", %"class.fastjet::SharedPtr.14", double, double, double, double, double, double, double, i32, i32 }
%"class.fastjet::SharedPtr.6" = type { ptr }
%"class.fastjet::SharedPtr.14" = 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 void @_ZNK7fastjet15ClusterSequence14inclusive_jetsERKd(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(276), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZNK7fastjet8Selector4passERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7fastjet23ClusterSequenceAreaBase26parabolic_pt_per_unit_areaERdS1_RKNS_8SelectorEdb(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %1, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(16) %3, double noundef %4, i1 noundef zeroext %5) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.fastjet::PseudoJet", align 8
  tail call void @_ZNK7fastjet23ClusterSequenceAreaBase31_check_selector_good_for_medianERKNS_8SelectorE(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  store double 0.000000e+00, ptr %8, align 8, !tbaa !5
  call void @_ZNK7fastjet15ClusterSequence14inclusive_jetsERKd(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %10 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %.not = icmp eq i64 %10, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %11 = fcmp ole double %4, 0.000000e+00
  br i1 %5, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  br i1 %11, label %.lr.ph.split.us.split.us, label %.lr.ph.split.us.split

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us, %38
  %12 = phi i64 [ %42, %38 ], [ 0, %.lr.ph.split.us ]
  %.0103.us.us = phi i32 [ %.2.us.us, %38 ], [ 0, %.lr.ph.split.us ]
  %.063100.us.us = phi i32 [ %41, %38 ], [ 0, %.lr.ph.split.us ]
  %13 = phi <2 x double> [ %39, %38 ], [ zeroinitializer, %.lr.ph.split.us ]
  %14 = phi <2 x double> [ %40, %38 ], [ zeroinitializer, %.lr.ph.split.us ]
  %15 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %12) #8
  %16 = invoke noundef zeroext i1 @_ZNK7fastjet8Selector4passERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(88) %15)
          to label %17 unwind label %.split.us.split.us

17:                                               ; preds = %.lr.ph.split.us.split.us
  br i1 %16, label %18, label %38

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %9) #8
  %19 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %12) #8
  %20 = load ptr, ptr %0, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %20, i64 32
  %22 = load ptr, ptr %21, align 8
  invoke void %22(ptr dead_on_unwind nonnull writable sret(%"class.fastjet::PseudoJet") align 8 %9, ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %19)
          to label %23 unwind label %.split109.us.split.us

23:                                               ; preds = %18
  %24 = call noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %9)
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #8
  %25 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %12) #8
  %26 = call noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %25)
  %27 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %12) #8
  %28 = invoke noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %29 unwind label %.split112.us.split.us

29:                                               ; preds = %23
  %30 = fdiv double %26, %24
  %31 = fmul double %28, %28
  %32 = insertelement <2 x double> poison, double %30, i64 0
  %33 = insertelement <2 x double> %32, double %31, i64 1
  %34 = fadd <2 x double> %13, %33
  %35 = shufflevector <2 x double> %33, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %36 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %33, <2 x double> %35, <2 x double> %14)
  %37 = add nsw i32 %.0103.us.us, 1
  br label %38

38:                                               ; preds = %29, %17
  %.2.us.us = phi i32 [ %.0103.us.us, %17 ], [ %37, %29 ]
  %39 = phi <2 x double> [ %13, %17 ], [ %34, %29 ]
  %40 = phi <2 x double> [ %14, %17 ], [ %36, %29 ]
  %41 = add i32 %.063100.us.us, 1
  %42 = zext i32 %41 to i64
  %43 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %44 = icmp ugt i64 %43, %42
  br i1 %44, label %.lr.ph.split.us.split.us, label %._crit_edge, !llvm.loop !11

.split.us.split.us:                               ; preds = %.lr.ph.split.us.split.us
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split109.us.split.us:                            ; preds = %18
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %.split109.us

.split112.us.split.us:                            ; preds = %23
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us, %76
  %48 = phi i64 [ %80, %76 ], [ 0, %.lr.ph.split.us ]
  %.0103.us = phi i32 [ %.2.us, %76 ], [ 0, %.lr.ph.split.us ]
  %.063100.us = phi i32 [ %79, %76 ], [ 0, %.lr.ph.split.us ]
  %49 = phi <2 x double> [ %77, %76 ], [ zeroinitializer, %.lr.ph.split.us ]
  %50 = phi <2 x double> [ %78, %76 ], [ zeroinitializer, %.lr.ph.split.us ]
  %51 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %48) #8
  %52 = invoke noundef zeroext i1 @_ZNK7fastjet8Selector4passERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(88) %51)
          to label %53 unwind label %.split.us.split

53:                                               ; preds = %.lr.ph.split.us.split
  br i1 %52, label %54, label %76

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %9) #8
  %55 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %48) #8
  %56 = load ptr, ptr %0, align 8, !tbaa !9
  %57 = getelementptr inbounds i8, ptr %56, i64 32
  %58 = load ptr, ptr %57, align 8
  invoke void %58(ptr dead_on_unwind nonnull writable sret(%"class.fastjet::PseudoJet") align 8 %9, ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %55)
          to label %59 unwind label %.split109.us.split

59:                                               ; preds = %54
  %60 = call noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %9)
  call void @_ZN7fastjet9PseudoJetD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #8
  %61 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %48) #8
  %62 = call noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %61)
  %63 = fdiv double %62, %60
  %64 = fcmp olt double %63, %4
  br i1 %64, label %65, label %76

65:                                               ; preds = %59
  %66 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %48) #8
  %67 = invoke noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88) %66)
          to label %68 unwind label %.split112.us.split

68:                                               ; preds = %65
  %69 = fmul double %67, %67
  %70 = insertelement <2 x double> poison, double %63, i64 0
  %71 = insertelement <2 x double> %70, double %69, i64 1
  %72 = fadd <2 x double> %49, %71
  %73 = shufflevector <2 x double> %71, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %74 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %71, <2 x double> %73, <2 x double> %50)
  %75 = add nsw i32 %.0103.us, 1
  br label %76

76:                                               ; preds = %59, %68, %53
  %.2.us = phi i32 [ %.0103.us, %53 ], [ %75, %68 ], [ %.0103.us, %59 ]
  %77 = phi <2 x double> [ %49, %53 ], [ %72, %68 ], [ %49, %59 ]
  %78 = phi <2 x double> [ %50, %53 ], [ %74, %68 ], [ %50, %59 ]
  %79 = add i32 %.063100.us, 1
  %80 = zext i32 %79 to i64
  %81 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %82 = icmp ugt i64 %81, %80
  br i1 %82, label %.lr.ph.split.us.split, label %._crit_edge, !llvm.loop !11

.split.us.split:                                  ; preds = %.lr.ph.split.us.split
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split109.us.split:                               ; preds = %54
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %.split109.us

.split112.us.split:                               ; preds = %65
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.lr.ph.split:                                     ; preds = %.lr.ph
  br i1 %11, label %.lr.ph.split.split.us, label %.lr.ph.split.split

.lr.ph.split.split.us:                            ; preds = %.lr.ph.split, %112
  %86 = phi i64 [ %116, %112 ], [ 0, %.lr.ph.split ]
  %.0103.us119 = phi i32 [ %.2.us132, %112 ], [ 0, %.lr.ph.split ]
  %.063100.us122 = phi i32 [ %115, %112 ], [ 0, %.lr.ph.split ]
  %87 = phi <2 x double> [ %113, %112 ], [ zeroinitializer, %.lr.ph.split ]
  %88 = phi <2 x double> [ %114, %112 ], [ zeroinitializer, %.lr.ph.split ]
  %89 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %86) #8
  %90 = invoke noundef zeroext i1 @_ZNK7fastjet8Selector4passERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(88) %89)
          to label %91 unwind label %.split.split.us

91:                                               ; preds = %.lr.ph.split.split.us
  br i1 %90, label %92, label %112

92:                                               ; preds = %91
  %93 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %86) #8
  %94 = load ptr, ptr %0, align 8, !tbaa !9
  %95 = getelementptr inbounds i8, ptr %94, i64 16
  %96 = load ptr, ptr %95, align 8
  %97 = invoke noundef double %96(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %93)
          to label %98 unwind label %.split135.us

98:                                               ; preds = %92
  %99 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %86) #8
  %100 = call noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %99)
  %101 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %86) #8
  %102 = invoke noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88) %101)
          to label %103 unwind label %.split112.split.us

103:                                              ; preds = %98
  %104 = fdiv double %100, %97
  %105 = fmul double %102, %102
  %106 = insertelement <2 x double> poison, double %104, i64 0
  %107 = insertelement <2 x double> %106, double %105, i64 1
  %108 = fadd <2 x double> %87, %107
  %109 = shufflevector <2 x double> %107, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %110 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %107, <2 x double> %109, <2 x double> %88)
  %111 = add nsw i32 %.0103.us119, 1
  br label %112

112:                                              ; preds = %103, %91
  %.2.us132 = phi i32 [ %.0103.us119, %91 ], [ %111, %103 ]
  %113 = phi <2 x double> [ %87, %91 ], [ %108, %103 ]
  %114 = phi <2 x double> [ %88, %91 ], [ %110, %103 ]
  %115 = add i32 %.063100.us122, 1
  %116 = zext i32 %115 to i64
  %117 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %118 = icmp ugt i64 %117, %116
  br i1 %118, label %.lr.ph.split.split.us, label %._crit_edge, !llvm.loop !11

.split.split.us:                                  ; preds = %.lr.ph.split.split.us
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split135.us:                                     ; preds = %92
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split112.split.us:                               ; preds = %98
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

._crit_edge:                                      ; preds = %156, %112, %76, %38
  %.0.lcssa = phi i32 [ %.2.us.us, %38 ], [ %.2.us, %76 ], [ %.2.us132, %112 ], [ %.2, %156 ]
  %122 = phi <2 x double> [ %39, %38 ], [ %77, %76 ], [ %113, %112 ], [ %157, %156 ]
  %123 = phi <2 x double> [ %40, %38 ], [ %78, %76 ], [ %114, %112 ], [ %158, %156 ]
  %124 = icmp slt i32 %.0.lcssa, 2
  br i1 %124, label %._crit_edge.thread, label %163

.lr.ph.split.split:                               ; preds = %.lr.ph.split, %156
  %125 = phi i64 [ %160, %156 ], [ 0, %.lr.ph.split ]
  %.0103 = phi i32 [ %.2, %156 ], [ 0, %.lr.ph.split ]
  %.063100 = phi i32 [ %159, %156 ], [ 0, %.lr.ph.split ]
  %126 = phi <2 x double> [ %157, %156 ], [ zeroinitializer, %.lr.ph.split ]
  %127 = phi <2 x double> [ %158, %156 ], [ zeroinitializer, %.lr.ph.split ]
  %128 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %125) #8
  %129 = invoke noundef zeroext i1 @_ZNK7fastjet8Selector4passERKNS_9PseudoJetE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(88) %128)
          to label %130 unwind label %.split.split

130:                                              ; preds = %.lr.ph.split.split
  br i1 %129, label %131, label %156

131:                                              ; preds = %130
  %132 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %125) #8
  %133 = load ptr, ptr %0, align 8, !tbaa !9
  %134 = getelementptr inbounds i8, ptr %133, i64 16
  %135 = load ptr, ptr %134, align 8
  %136 = invoke noundef double %135(ptr noundef nonnull align 8 dereferenceable(276) %0, ptr noundef nonnull align 8 dereferenceable(88) %132)
          to label %139 unwind label %.split135

.split.split:                                     ; preds = %.lr.ph.split.split
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split109.us:                                     ; preds = %.split109.us.split, %.split109.us.split.us
  %.us-phi149 = phi { ptr, i32 } [ %84, %.split109.us.split ], [ %46, %.split109.us.split.us ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #8
  br label %.split.us

.split135:                                        ; preds = %131
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

139:                                              ; preds = %131
  %140 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %125) #8
  %141 = call noundef double @_ZNK7fastjet9PseudoJet4perpEv(ptr noundef nonnull align 8 dereferenceable(88) %140)
  %142 = fdiv double %141, %136
  %143 = fcmp olt double %142, %4
  br i1 %143, label %144, label %156

144:                                              ; preds = %139
  %145 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %125) #8
  %146 = invoke noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88) %145)
          to label %147 unwind label %.split112.split

147:                                              ; preds = %144
  %148 = fmul double %146, %146
  %149 = insertelement <2 x double> poison, double %142, i64 0
  %150 = insertelement <2 x double> %149, double %148, i64 1
  %151 = fadd <2 x double> %126, %150
  %152 = shufflevector <2 x double> %150, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %153 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %150, <2 x double> %152, <2 x double> %127)
  %154 = add nsw i32 %.0103, 1
  br label %156

.split112.split:                                  ; preds = %144
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

156:                                              ; preds = %139, %147, %130
  %.2 = phi i32 [ %.0103, %130 ], [ %154, %147 ], [ %.0103, %139 ]
  %157 = phi <2 x double> [ %126, %130 ], [ %151, %147 ], [ %126, %139 ]
  %158 = phi <2 x double> [ %127, %130 ], [ %153, %147 ], [ %127, %139 ]
  %159 = add i32 %.063100, 1
  %160 = zext i32 %159 to i64
  %161 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %162 = icmp ugt i64 %161, %160
  br i1 %162, label %.lr.ph.split.split, label %._crit_edge, !llvm.loop !11

.split.us:                                        ; preds = %.split112.us.split.us, %.split112.us.split, %.split112.split.us, %.split112.split, %.split135, %.split135.us, %.split.us.split.us, %.split.us.split, %.split.split.us, %.split.split, %.split109.us
  %.pn.pn = phi { ptr, i32 } [ %.us-phi149, %.split109.us ], [ %83, %.split.us.split ], [ %45, %.split.us.split.us ], [ %137, %.split.split ], [ %119, %.split.split.us ], [ %138, %.split135 ], [ %120, %.split135.us ], [ %85, %.split112.us.split ], [ %47, %.split112.us.split.us ], [ %155, %.split112.split ], [ %121, %.split112.split.us ]
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  resume { ptr, i32 } %.pn.pn

._crit_edge.thread:                               ; preds = %6, %._crit_edge
  store double 0.000000e+00, ptr %1, align 8, !tbaa !5
  store double 0.000000e+00, ptr %2, align 8, !tbaa !5
  br label %179

163:                                              ; preds = %._crit_edge
  %164 = uitofp nneg i32 %.0.lcssa to double
  %165 = fneg <2 x double> %123
  %166 = insertelement <2 x double> poison, double %164, i64 0
  %167 = shufflevector <2 x double> %166, <2 x double> poison, <2 x i32> zeroinitializer
  %168 = fdiv <2 x double> %122, %167
  %169 = fdiv <2 x double> %165, %167
  %170 = shufflevector <2 x double> %168, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %171 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %170, <2 x double> %168, <2 x double> %169)
  %172 = extractelement <2 x double> %171, i64 0
  %173 = extractelement <2 x double> %171, i64 1
  %174 = fdiv double %172, %173
  store double %174, ptr %2, align 8, !tbaa !5
  %175 = fneg double %174
  %176 = extractelement <2 x double> %168, i64 0
  %177 = extractelement <2 x double> %168, i64 1
  %178 = call double @llvm.fmuladd.f64(double %175, double %177, double %176)
  store double %178, ptr %1, align 8, !tbaa !5
  br label %179

179:                                              ; preds = %163, %._crit_edge.thread
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  ret void
}

; 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 nounwind uwtable
declare dso_local noundef double @_ZNK7fastjet9PseudoJet4perpEv(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: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass