; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/src/ClusterSequence1GhostPassiveArea.l_ffa4673a (15GhostedAreaSpecE)

; 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::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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::valarray" = type { i64, ptr }
%"class.fastjet::ClusterSequenceActiveAreaExplicitGhosts" = type { %"class.fastjet::ClusterSequenceAreaBase.base", i32, double, %"class.std::vector.26", %"class.std::vector.30", %"class.std::vector", double, i8, i32 }
%"class.fastjet::ClusterSequenceAreaBase.base" = type { %"class.fastjet::ClusterSequence.base" }
%"class.fastjet::ClusterSequence.base" = type <{ ptr, %"class.fastjet::JetDefinition", %"class.std::vector", %"class.std::vector.1", i8, [3 x i8], i32, double, double, double, double, i32, i32, %"class.fastjet::SharedPtr.6", i32, i8, i8, [2 x i8], %"class.fastjet::SharedPtr.7", %"class.std::vector.8", double, double, double, double, i32, i32, i32 }>
%"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::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.6" = type { ptr }
%"class.fastjet::SharedPtr.7" = type { ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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 }
%"class.std::vector.26" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::_Expr" = type { %"struct.std::__detail::_BinClos" }
%"struct.std::__detail::_BinClos" = type { %"class.std::__detail::_BinBase" }
%"class.std::__detail::_BinBase" = type { %"struct.std::__detail::_BinClos.35", %"struct.std::__detail::_BinClos.35" }
%"struct.std::__detail::_BinClos.35" = type { %"class.std::__detail::_BinBase.36" }
%"class.std::__detail::_BinBase.36" = type { ptr, ptr }
%"class.std::_Expr.37" = type { %"struct.std::__detail::_BinClos.35" }
%"class.fastjet::ClusterSequence" = type <{ ptr, %"class.fastjet::JetDefinition", %"class.std::vector", %"class.std::vector.1", i8, [3 x i8], i32, double, double, double, double, i32, i32, %"class.fastjet::SharedPtr.6", i32, i8, i8, [2 x i8], %"class.fastjet::SharedPtr.7", %"class.std::vector.8", double, double, double, double, i32, i32, i32, [4 x i8] }>
%"class.fastjet::ClusterSequenceActiveArea" = type { %"class.fastjet::ClusterSequenceAreaBase.base", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray.13", double, double, double, double, double, i8, i32, %"class.std::vector.14", %"class.std::vector.14" }
%"class.std::valarray.13" = type { i64, ptr }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<fastjet::ClusterSequenceActiveArea::GhostJet, std::allocator<fastjet::ClusterSequenceActiveArea::GhostJet>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClusterSequenceActiveArea::GhostJet, std::allocator<fastjet::ClusterSequenceActiveArea::GhostJet>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClusterSequenceActiveArea::GhostJet, std::allocator<fastjet::ClusterSequenceActiveArea::GhostJet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClusterSequenceActiveArea::GhostJet, std::allocator<fastjet::ClusterSequenceActiveArea::GhostJet>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet32ClusterSequence1GhostPassiveArea9_run_1GPAERKNS_15GhostedAreaSpecE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(144) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector.20", align 8
  %7 = alloca %"class.std::valarray", align 8
  %8 = alloca double, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::valarray", align 8
  %12 = alloca double, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.fastjet::ClusterSequenceActiveAreaExplicitGhosts", align 8
  %19 = alloca i8, align 1
  %20 = alloca %"class.std::vector.20", align 8
  %21 = alloca %"class.std::_Expr", align 8
  %22 = alloca %"class.std::_Expr.37", align 8
  %23 = alloca %"class.std::_Expr.37", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %24 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  %25 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %24, i32 0, i32 2
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %25)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store double 0.000000e+00, ptr %8, align 8, !tbaa !9
  %26 = getelementptr inbounds %"class.fastjet::ClusterSequenceActiveArea", ptr %24, i32 0, i32 1
  %27 = invoke noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %28 unwind label %41

28:                                               ; preds = %2
  invoke void @_ZNSt8valarrayIdEC2ERKdm(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %27)
          to label %29 unwind label %41

29:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store double 0.000000e+00, ptr %12, align 8, !tbaa !9
  %30 = getelementptr inbounds %"class.fastjet::ClusterSequenceActiveArea", ptr %24, i32 0, i32 1
  %31 = invoke noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %32 unwind label %45

32:                                               ; preds = %29
  invoke void @_ZNSt8valarrayIdEC2ERKdm(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef %31)
          to label %33 unwind label %45

33:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %34

34:                                               ; preds = %139, %33
  %35 = load i32, ptr %13, align 4, !tbaa !11
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = invoke noundef i32 @_ZNK7fastjet15GhostedAreaSpec6repeatEv(ptr noundef nonnull align 8 dereferenceable(144) %36)
          to label %38 unwind label %49

38:                                               ; preds = %34
  %39 = icmp slt i32 %35, %37
  br i1 %39, label %53, label %40

40:                                               ; preds = %38
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %153

41:                                               ; preds = %28, %2
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %9, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %163

45:                                               ; preds = %32, %29
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %9, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %162

49:                                               ; preds = %34
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %9, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %10, align 4
  br label %152

53:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK7fastjet15GhostedAreaSpec10add_ghostsERSt6vectorINS_9PseudoJetESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(144) %54, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %55 unwind label %62

55:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %56

56:                                               ; preds = %108, %55
  %57 = load i32, ptr %16, align 4, !tbaa !11
  %58 = zext i32 %57 to i64
  %59 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %60 = icmp ult i64 %58, %59
  br i1 %60, label %66, label %61

61:                                               ; preds = %56
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %114

62:                                               ; preds = %135, %53
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %9, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %10, align 4
  br label %151

66:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  %67 = load i32, ptr %16, align 4, !tbaa !11
  %68 = zext i32 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %68) #6
  invoke void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(88) %69)
          to label %70 unwind label %86

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 392, ptr %18) #6
  %71 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZNK7fastjet15ClusterSequence7jet_defEv(ptr noundef nonnull align 8 dereferenceable(276) %24)
          to label %72 unwind label %90

72:                                               ; preds = %70
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = invoke noundef double @_ZNK7fastjet15GhostedAreaSpec17actual_ghost_areaEv(ptr noundef nonnull align 8 dereferenceable(144) %73)
          to label %75 unwind label %90

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  store i8 0, ptr %19, align 1, !tbaa !13
  invoke void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsC2INS_9PseudoJetEEERKSt6vectorIT_SaIS4_EERKNS_13JetDefinitionES8_dRKb(ptr noundef nonnull align 8 dereferenceable(392) %18, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(80) %71, ptr noundef nonnull align 8 dereferenceable(24) %17, double noundef %74, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %76 unwind label %94

76:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  %77 = load i32, ptr %13, align 4, !tbaa !11
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %106

79:                                               ; preds = %76
  %80 = load i32, ptr %16, align 4, !tbaa !11
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %82, label %106

82:                                               ; preds = %79
  invoke void @_ZN7fastjet25ClusterSequenceActiveArea28_transfer_ghost_free_historyERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424) %24, ptr noundef nonnull align 8 dereferenceable(392) %18)
          to label %83 unwind label %98

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  invoke void @_ZNK7fastjet15ClusterSequence20unique_history_orderEv(ptr dead_on_unwind writable sret(%"class.std::vector.20") align 8 %20, ptr noundef nonnull align 8 dereferenceable(276) %24)
          to label %84 unwind label %102

84:                                               ; preds = %83
  %85 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %106

86:                                               ; preds = %66
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %9, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %10, align 4
  br label %113

90:                                               ; preds = %72, %70
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %9, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %10, align 4
  br label %112

94:                                               ; preds = %75
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %9, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %112

98:                                               ; preds = %106, %82
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  br label %111

102:                                              ; preds = %83
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %9, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %111

106:                                              ; preds = %84, %79, %76
  invoke void @_ZN7fastjet25ClusterSequenceActiveArea15_transfer_areasERKSt6vectorIiSaIiEERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424) %24, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(392) %18)
          to label %107 unwind label %98

107:                                              ; preds = %106
  call void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsD2Ev(ptr noundef nonnull align 8 dereferenceable(392) %18) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr %18) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %108

108:                                              ; preds = %107
  %109 = load i32, ptr %16, align 4, !tbaa !11
  %110 = add i32 %109, 1
  store i32 %110, ptr %16, align 4, !tbaa !11
  br label %56, !llvm.loop !15

111:                                              ; preds = %102, %98
  call void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsD2Ev(ptr noundef nonnull align 8 dereferenceable(392) %18) #6
  br label %112

112:                                              ; preds = %111, %94, %90
  call void @llvm.lifetime.end.p0(i64 392, ptr %18) #6
  br label %113

113:                                              ; preds = %112, %86
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %151

114:                                              ; preds = %61
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %115 = getelementptr inbounds %"class.fastjet::ClusterSequenceActiveArea", ptr %24, i32 0, i32 1
  %116 = invoke { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16) %115, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %117 unwind label %142

117:                                              ; preds = %114
  %118 = getelementptr inbounds %"class.std::_Expr.37", ptr %22, i32 0, i32 0
  %119 = getelementptr inbounds %"struct.std::__detail::_BinClos.35", ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds { ptr, ptr }, ptr %119, i32 0, i32 0
  %121 = extractvalue { ptr, ptr } %116, 0
  store ptr %121, ptr %120, align 8
  %122 = getelementptr inbounds { ptr, ptr }, ptr %119, i32 0, i32 1
  %123 = extractvalue { ptr, ptr } %116, 1
  store ptr %123, ptr %122, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %124 = getelementptr inbounds %"class.fastjet::ClusterSequenceActiveArea", ptr %24, i32 0, i32 1
  %125 = invoke { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16) %124, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %126 unwind label %146

126:                                              ; preds = %117
  %127 = getelementptr inbounds %"class.std::_Expr.37", ptr %23, i32 0, i32 0
  %128 = getelementptr inbounds %"struct.std::__detail::_BinClos.35", ptr %127, i32 0, i32 0
  %129 = getelementptr inbounds { ptr, ptr }, ptr %128, i32 0, i32 0
  %130 = extractvalue { ptr, ptr } %125, 0
  store ptr %130, ptr %129, align 8
  %131 = getelementptr inbounds { ptr, ptr }, ptr %128, i32 0, i32 1
  %132 = extractvalue { ptr, ptr } %125, 1
  store ptr %132, ptr %131, align 8
  invoke void @_ZStmlINSt8__detail8_BinClosISt7__minusSt9_ValArrayS3_ddEES4_ESt5_ExprINS1_ISt12__multipliesS5_S5_T_T0_EENSt5__funIS6_NS7_10value_typeEE11result_typeEERKS5_IS7_SB_ERKS5_IS8_NS8_10value_typeEE(ptr dead_on_unwind writable sret(%"class.std::_Expr") align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %133 unwind label %146

133:                                              ; preds = %126
  %134 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt5_ExprS5_NS3_ISt7__minusSt9_ValArrayS7_ddEES8_EEEERS0_RKS5_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %135 unwind label %146

135:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  %136 = getelementptr inbounds %"class.fastjet::ClusterSequenceActiveArea", ptr %24, i32 0, i32 1
  %137 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %136)
          to label %138 unwind label %62

138:                                              ; preds = %135
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  br label %139

139:                                              ; preds = %138
  %140 = load i32, ptr %13, align 4, !tbaa !11
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %13, align 4, !tbaa !11
  br label %34, !llvm.loop !17

142:                                              ; preds = %114
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %9, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %10, align 4
  br label %150

146:                                              ; preds = %133, %126, %117
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %9, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %150

150:                                              ; preds = %146, %142
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  br label %151

151:                                              ; preds = %150, %113, %62
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  br label %152

152:                                              ; preds = %151, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %161

153:                                              ; preds = %40
  %154 = getelementptr inbounds %"class.fastjet::ClusterSequenceActiveArea", ptr %24, i32 0, i32 2
  %155 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %154, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %156 unwind label %157

156:                                              ; preds = %153
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  ret void

157:                                              ; preds = %153
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %9, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %10, align 4
  br label %161

161:                                              ; preds = %157, %152
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %162

162:                                              ; preds = %161, %45
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %163

163:                                              ; preds = %162, %41
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  br label %164

164:                                              ; preds = %163
  %165 = load ptr, ptr %9, align 8
  %166 = load i32, ptr %10, align 4
  %167 = insertvalue { ptr, i32 } poison, ptr %165, 0
  %168 = insertvalue { ptr, i32 } %167, i32 %166, 1
  resume { ptr, i32 } %168
}

; 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 @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare void @_ZNK7fastjet15GhostedAreaSpec10add_ghostsERSt6vectorINS_9PseudoJetESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24)) #5

; 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 void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(88)) #1 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(80) ptr @_ZNK7fastjet15ClusterSequence7jet_defEv(ptr noundef nonnull align 8 dereferenceable(276)) #2 align 2

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

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

declare void @_ZN7fastjet25ClusterSequenceActiveArea28_transfer_ghost_free_historyERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(392)) #5

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

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

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

declare void @_ZN7fastjet25ClusterSequenceActiveArea15_transfer_areasERKSt6vectorIiSaIiEERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(392)) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStmlINSt8__detail8_BinClosISt7__minusSt9_ValArrayS3_ddEES4_ESt5_ExprINS1_ISt12__multipliesS5_S5_T_T0_EENSt5__funIS6_NS7_10value_typeEE11result_typeEERKS5_IS7_SB_ERKS5_IS8_NS8_10value_typeEE(ptr dead_on_unwind noalias writable sret(%"class.std::_Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4

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

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

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

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


; 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::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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::valarray" = type { i64, ptr }
%"class.fastjet::ClusterSequenceActiveAreaExplicitGhosts" = type { %"class.fastjet::ClusterSequenceAreaBase.base", i32, double, %"class.std::vector.26", %"class.std::vector.30", %"class.std::vector", double, i8, i32 }
%"class.fastjet::ClusterSequenceAreaBase.base" = type { %"class.fastjet::ClusterSequence.base" }
%"class.fastjet::ClusterSequence.base" = type <{ ptr, %"class.fastjet::JetDefinition", %"class.std::vector", %"class.std::vector.1", i8, [3 x i8], i32, double, double, double, double, i32, i32, %"class.fastjet::SharedPtr.6", i32, i8, i8, [2 x i8], %"class.fastjet::SharedPtr.7", %"class.std::vector.8", double, double, double, double, i32, i32, i32 }>
%"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::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.6" = type { ptr }
%"class.fastjet::SharedPtr.7" = type { ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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 }
%"class.std::vector.26" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::_Expr" = type { %"struct.std::__detail::_BinClos" }
%"struct.std::__detail::_BinClos" = type { %"class.std::__detail::_BinBase" }
%"class.std::__detail::_BinBase" = type { %"struct.std::__detail::_BinClos.35", %"struct.std::__detail::_BinClos.35" }
%"struct.std::__detail::_BinClos.35" = type { %"class.std::__detail::_BinBase.36" }
%"class.std::__detail::_BinBase.36" = type { ptr, ptr }
%"class.std::_Expr.37" = type { %"struct.std::__detail::_BinClos.35" }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet32ClusterSequence1GhostPassiveArea9_run_1GPAERKNS_15GhostedAreaSpecE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(144) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::vector.20", align 8
  %5 = alloca %"class.std::valarray", align 8
  %6 = alloca double, align 8
  %7 = alloca %"class.std::valarray", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.fastjet::ClusterSequenceActiveAreaExplicitGhosts", align 8
  %12 = alloca i8, align 1
  %13 = alloca %"class.std::vector.20", align 8
  %14 = alloca %"class.std::_Expr", align 8
  %15 = alloca %"class.std::_Expr.37", align 8
  %16 = alloca %"class.std::_Expr.37", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 88
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %17)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  store double 0.000000e+00, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 280
  %19 = call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  invoke void @_ZNSt8valarrayIdEC2ERKdm(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %19)
          to label %20 unwind label %29

20:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  store double 0.000000e+00, ptr %8, align 8, !tbaa !5
  %21 = call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  invoke void @_ZNSt8valarrayIdEC2ERKdm(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %21)
          to label %22 unwind label %31

22:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %23 = call noundef i32 @_ZNK7fastjet15GhostedAreaSpec6repeatEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph42, label %._crit_edge43

.lr.ph42:                                         ; preds = %22
  %25 = getelementptr inbounds i8, ptr %15, i64 8
  %26 = getelementptr inbounds i8, ptr %16, i64 8
  br label %33

._crit_edge43:                                    ; preds = %90, %22
  %27 = getelementptr inbounds i8, ptr %0, i64 296
  %28 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %100 unwind label %101

29:                                               ; preds = %2
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %105

31:                                               ; preds = %20
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %104

33:                                               ; preds = %.lr.ph42, %90
  %.01340 = phi i32 [ 0, %.lr.ph42 ], [ %91, %90 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  invoke void @_ZNK7fastjet15GhostedAreaSpec10add_ghostsERSt6vectorINS_9PseudoJetESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %.preheader unwind label %51

.preheader:                                       ; preds = %33
  %34 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %.not = icmp eq i64 %34, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %35 = icmp eq i32 %.01340, 0
  br i1 %35, label %.lr.ph.split, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph, %42
  %36 = phi i64 [ %44, %42 ], [ 0, %.lr.ph ]
  %.033.us = phi i32 [ %43, %42 ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %37 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %36) #6
  invoke void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(88) %37)
          to label %38 unwind label %.split.us

38:                                               ; preds = %.lr.ph.split.us
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %11) #6
  %39 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK7fastjet15ClusterSequence7jet_defEv(ptr noundef nonnull align 8 dereferenceable(276) %0)
  %40 = call noundef double @_ZNK7fastjet15GhostedAreaSpec17actual_ghost_areaEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  store i8 0, ptr %12, align 1, !tbaa !9
  invoke void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsC2INS_9PseudoJetEEERKSt6vectorIT_SaIS4_EERKNS_13JetDefinitionES8_dRKb(ptr noundef nonnull align 8 dereferenceable(392) %11, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(80) %39, ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef %40, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %41 unwind label %.split35.us

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  invoke void @_ZN7fastjet25ClusterSequenceActiveArea15_transfer_areasERKSt6vectorIiSaIiEERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(392) %11)
          to label %42 unwind label %.split38.us

42:                                               ; preds = %41
  call void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsD2Ev(ptr noundef nonnull align 8 dereferenceable(392) %11) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %43 = add i32 %.033.us, 1
  %44 = zext i32 %43 to i64
  %45 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %46 = icmp ugt i64 %45, %44
  br i1 %46, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !11

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

.split35.us:                                      ; preds = %38
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %66

.split38.us:                                      ; preds = %41
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %76

._crit_edge:                                      ; preds = %42, %71, %.preheader
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  %50 = invoke { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %79 unwind label %94

51:                                               ; preds = %88, %33
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %99

.lr.ph.split:                                     ; preds = %.lr.ph, %71
  %53 = phi i64 [ %73, %71 ], [ 0, %.lr.ph ]
  %.033 = phi i32 [ %72, %71 ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %54 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %53) #6
  invoke void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(88) %54)
          to label %55 unwind label %.split

55:                                               ; preds = %.lr.ph.split
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %11) #6
  %56 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK7fastjet15ClusterSequence7jet_defEv(ptr noundef nonnull align 8 dereferenceable(276) %0)
  %57 = call noundef double @_ZNK7fastjet15GhostedAreaSpec17actual_ghost_areaEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  store i8 0, ptr %12, align 1, !tbaa !9
  invoke void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsC2INS_9PseudoJetEEERKSt6vectorIT_SaIS4_EERKNS_13JetDefinitionES8_dRKb(ptr noundef nonnull align 8 dereferenceable(392) %11, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(80) %56, ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef %57, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %58 unwind label %.split35

58:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %59 = icmp eq i32 %.033, 0
  br i1 %59, label %60, label %70

60:                                               ; preds = %58
  invoke void @_ZN7fastjet25ClusterSequenceActiveArea28_transfer_ghost_free_historyERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(392) %11)
          to label %61 unwind label %.split38

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  invoke void @_ZNK7fastjet15ClusterSequence20unique_history_orderEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.20") align 8 %13, ptr noundef nonnull align 8 dereferenceable(276) %0)
          to label %62 unwind label %68

62:                                               ; preds = %61
  %63 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %70

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

.split35:                                         ; preds = %55
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %66

66:                                               ; preds = %.split35.us, %.split35
  %.us-phi36 = phi { ptr, i32 } [ %65, %.split35 ], [ %48, %.split35.us ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %77

.split38:                                         ; preds = %70, %60
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %76

68:                                               ; preds = %61
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %76

70:                                               ; preds = %62, %58
  invoke void @_ZN7fastjet25ClusterSequenceActiveArea15_transfer_areasERKSt6vectorIiSaIiEERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(392) %11)
          to label %71 unwind label %.split38

71:                                               ; preds = %70
  call void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsD2Ev(ptr noundef nonnull align 8 dereferenceable(392) %11) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %72 = add i32 %.033, 1
  %73 = zext i32 %72 to i64
  %74 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %75 = icmp ugt i64 %74, %73
  br i1 %75, label %.lr.ph.split, label %._crit_edge, !llvm.loop !11

76:                                               ; preds = %.split38, %.split38.us, %68
  %.pn25 = phi { ptr, i32 } [ %69, %68 ], [ %67, %.split38 ], [ %49, %.split38.us ]
  call void @_ZN7fastjet39ClusterSequenceActiveAreaExplicitGhostsD2Ev(ptr noundef nonnull align 8 dereferenceable(392) %11) #6
  br label %77

77:                                               ; preds = %76, %66
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %76 ], [ %.us-phi36, %66 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %11) #6
  br label %78

78:                                               ; preds = %.split, %.split.us, %77
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %77 ], [ %64, %.split ], [ %47, %.split.us ]
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %99

79:                                               ; preds = %._crit_edge
  %80 = extractvalue { ptr, ptr } %50, 0
  store ptr %80, ptr %15, align 8
  %81 = extractvalue { ptr, ptr } %50, 1
  store ptr %81, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %82 = invoke { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %83 unwind label %96

83:                                               ; preds = %79
  %84 = extractvalue { ptr, ptr } %82, 0
  store ptr %84, ptr %16, align 8
  %85 = extractvalue { ptr, ptr } %82, 1
  store ptr %85, ptr %26, align 8
  invoke void @_ZStmlINSt8__detail8_BinClosISt7__minusSt9_ValArrayS3_ddEES4_ESt5_ExprINS1_ISt12__multipliesS5_S5_T_T0_EENSt5__funIS6_NS7_10value_typeEE11result_typeEERKS5_IS7_SB_ERKS5_IS8_NS8_10value_typeEE(ptr dead_on_unwind nonnull writable sret(%"class.std::_Expr") align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %86 unwind label %96

86:                                               ; preds = %83
  %87 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt5_ExprS5_NS3_ISt7__minusSt9_ValArrayS7_ddEES8_EEEERS0_RKS5_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %88 unwind label %96

88:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  %89 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %90 unwind label %51

90:                                               ; preds = %88
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  %91 = add nuw nsw i32 %.01340, 1
  %92 = call noundef i32 @_ZNK7fastjet15GhostedAreaSpec6repeatEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %33, label %._crit_edge43, !llvm.loop !13

94:                                               ; preds = %._crit_edge
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %98

96:                                               ; preds = %86, %83, %79
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  br label %98

98:                                               ; preds = %96, %94
  %.pn = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  br label %99

99:                                               ; preds = %98, %78, %51
  %.pn25.pn.pn.pn = phi { ptr, i32 } [ %.pn25.pn.pn, %78 ], [ %52, %51 ], [ %.pn, %98 ]
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %103

100:                                              ; preds = %._crit_edge43
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret void

101:                                              ; preds = %._crit_edge43
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %103

103:                                              ; preds = %101, %99
  %.pn25.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn25.pn.pn.pn, %99 ], [ %102, %101 ]
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %104

104:                                              ; preds = %103, %31
  %.pn25.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn25.pn.pn.pn.pn, %103 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %105

105:                                              ; preds = %104, %29
  %.pn25.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn25.pn.pn.pn.pn.pn, %104 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn25.pn.pn.pn.pn.pn.pn
}

; 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 @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare void @_ZNK7fastjet15GhostedAreaSpec10add_ghostsERSt6vectorINS_9PseudoJetESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

; 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 void @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1 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(80) ptr @_ZNK7fastjet15ClusterSequence7jet_defEv(ptr noundef nonnull align 8 dereferenceable(276)) local_unnamed_addr #2 align 2

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

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

declare void @_ZN7fastjet25ClusterSequenceActiveArea28_transfer_ghost_free_historyERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(392)) local_unnamed_addr #5

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

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

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

declare void @_ZN7fastjet25ClusterSequenceActiveArea15_transfer_areasERKSt6vectorIiSaIiEERKNS_39ClusterSequenceActiveAreaExplicitGhostsE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(392)) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStmlINSt8__detail8_BinClosISt7__minusSt9_ValArrayS3_ddEES4_ESt5_ExprINS1_ISt12__multipliesS5_S5_T_T0_EENSt5__funIS6_NS7_10value_typeEE11result_typeEERKS5_IS7_SB_ERKS5_IS8_NS8_10value_typeEE(ptr dead_on_unwind noalias writable sret(%"class.std::_Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!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 = !{!"bool", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass