; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/plugins/SISCone/siscone/siscone/spl_9f7dcfce (merge7performEdd)

; 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"

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.21" = type { ptr }
%"class.siscone::Csplit_merge" = type <{ i32, [4 x i8], %"class.std::vector.3", %"class.std::vector.8", i32, [4 x i8], %"class.std::vector.3", %"class.std::vector.3", i32, [4 x i8], double, %"class.std::vector.13", ptr, i32, i8, [3 x i8], %"class.siscone::Csplit_merge_ptcomparison", double, double, %"class.std::auto_ptr", double, i8, [7 x i8] }>
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone::Csplit_merge_ptcomparison" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.std::auto_ptr" = type { ptr }
%"class.siscone::Cjet" = type <{ %"class.siscone::Cmomentum", double, i32, [4 x i8], %"class.std::vector", double, %"class.siscone::Ceta_phi_range", i32, [4 x i8] }>
%"class.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.siscone::Ceta_phi_range" = type { i32, i32 }

@_ZTIN7siscone14Csiscone_errorE = external dso_local constant { ptr, ptr }, align 8
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [161 x i8], align 1
@__PRETTY_FUNCTION__._ZN7siscone12Csplit_merge7performEdd = external hidden unnamed_addr constant [51 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; 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 noundef zeroext i1 @_ZN7siscone12jets_pt_lessERKNS_4CjetES2_(ptr noundef nonnull align 8 dereferenceable(132), ptr noundef nonnull align 8 dereferenceable(132)) #1

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

declare ptr @__cxa_allocate_exception(i64)

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

declare void @__cxa_free_exception(ptr)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7siscone12Csplit_merge7performEdd(ptr noundef nonnull align 8 dereferenceable(225) %0, double noundef %1, double noundef %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca i1, align 1
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %22 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %27 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %28 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store double %1, ptr %6, align 8, !tbaa !9
  store double %2, ptr %7, align 8, !tbaa !9
  %31 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  call void @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  call void @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %32 = load double, ptr %7, align 8, !tbaa !9
  %33 = load double, ptr %7, align 8, !tbaa !9
  %34 = fmul double %32, %33
  %35 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 20
  store double %34, ptr %35, align 8, !tbaa !11
  %36 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %37 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #8
  %38 = call noundef i64 @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(64) %37) #8
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %40, label %41

40:                                               ; preds = %3
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %207

41:                                               ; preds = %3
  %42 = load double, ptr %6, align 8, !tbaa !9
  %43 = fcmp oge double %42, 1.000000e+00
  br i1 %43, label %47, label %44

44:                                               ; preds = %41
  %45 = load double, ptr %6, align 8, !tbaa !9
  %46 = fcmp ole double %45, 0.000000e+00
  br i1 %46, label %47, label %75

47:                                               ; preds = %44, %41
  call void @llvm.lifetime.start.p0(i64 376, ptr %11) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %11)
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef @.str.7)
          to label %49 unwind label %58

49:                                               ; preds = %47
  %50 = load double, ptr %6, align 8, !tbaa !9
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %48, double noundef %50)
          to label %52 unwind label %58

52:                                               ; preds = %49
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef @.str.8)
          to label %54 unwind label %58

54:                                               ; preds = %52
  store i1 true, ptr %15, align 1
  %55 = call ptr @__cxa_allocate_exception(i64 32) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(112) %11)
          to label %56 unwind label %62

56:                                               ; preds = %54
  invoke void @_ZN7siscone14Csiscone_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %57 unwind label %66

57:                                               ; preds = %56
  store i1 false, ptr %15, align 1
  invoke void @__cxa_throw(ptr %55, ptr @_ZTIN7siscone14Csiscone_errorE, ptr @_ZN7siscone14Csiscone_errorD2Ev) #9
          to label %214 unwind label %66

58:                                               ; preds = %52, %49, %47
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %12, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %13, align 4
  br label %74

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

66:                                               ; preds = %57, %56
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %12, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %70

70:                                               ; preds = %66, %62
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  %71 = load i1, ptr %15, align 1
  br i1 %71, label %72, label %73

72:                                               ; preds = %70
  call void @__cxa_free_exception(ptr %55) #8
  br label %73

73:                                               ; preds = %72, %70
  br label %74

74:                                               ; preds = %73, %58
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %209

75:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %76 = load double, ptr %6, align 8, !tbaa !9
  %77 = load double, ptr %6, align 8, !tbaa !9
  %78 = fmul double %76, %77
  store double %78, ptr %17, align 8, !tbaa !9
  br label %79

79:                                               ; preds = %188, %75
  %80 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %81 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %80) #8
  %82 = call noundef i64 @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(64) %81) #8
  %83 = icmp ugt i64 %82, 0
  br i1 %83, label %84, label %187

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %85 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %86 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %85) #8
  %87 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %86) #8
  %88 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %18, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %18, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  %89 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %90 = getelementptr inbounds %"class.siscone::Cjet", ptr %89, i32 0, i32 5
  %91 = load double, ptr %90, align 8, !tbaa !31
  %92 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 17
  %93 = load double, ptr %92, align 8, !tbaa !40
  %94 = fcmp olt double %91, %93
  br i1 %94, label %95, label %96

95:                                               ; preds = %84
  br label %193

96:                                               ; preds = %84
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !30
  %97 = call ptr @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #8
  %98 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %19, i32 0, i32 0
  store ptr %97, ptr %98, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 1, ptr %20, align 4, !tbaa !41
  br label %99

99:                                               ; preds = %141, %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %100 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %101 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #8
  %102 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %101) #8
  %103 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %21, i32 0, i32 0
  store ptr %102, ptr %103, align 8
  %104 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN7siscone4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br i1 %104, label %105, label %142

105:                                              ; preds = %99
  %106 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %107 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %108 = call noundef zeroext i1 @_ZN7siscone12Csplit_merge11get_overlapERKNS_4CjetES3_Pd(ptr noundef nonnull align 8 dereferenceable(225) %31, ptr noundef nonnull align 8 dereferenceable(132) %106, ptr noundef nonnull align 8 dereferenceable(132) %107, ptr noundef %16)
  br i1 %108, label %109, label %130

109:                                              ; preds = %105
  %110 = load double, ptr %16, align 8, !tbaa !9
  %111 = load double, ptr %17, align 8, !tbaa !9
  %112 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %113 = getelementptr inbounds %"class.siscone::Cjet", ptr %112, i32 0, i32 5
  %114 = load double, ptr %113, align 8, !tbaa !31
  %115 = fmul double %111, %114
  %116 = fcmp olt double %110, %115
  br i1 %116, label %117, label %123

117:                                              ; preds = %109
  %118 = call noundef zeroext i1 @_ZN7siscone12Csplit_merge5splitERSt23_Rb_tree_const_iteratorINS_4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(225) %31, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %119 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %120 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %119) #8
  %121 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %120) #8
  %122 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %22, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  store i32 0, ptr %20, align 4, !tbaa !41
  br label %129

123:                                              ; preds = %109
  %124 = call noundef zeroext i1 @_ZN7siscone12Csplit_merge5mergeERSt23_Rb_tree_const_iteratorINS_4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(225) %31, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %125 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %126 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %125) #8
  %127 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %126) #8
  %128 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %23, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %23, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  store i32 0, ptr %20, align 4, !tbaa !41
  br label %129

129:                                              ; preds = %123, %117
  br label %130

130:                                              ; preds = %129, %105
  %131 = load i32, ptr %20, align 4, !tbaa !41
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %20, align 4, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %133 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %134 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %133) #8
  %135 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %134) #8
  %136 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %24, i32 0, i32 0
  store ptr %135, ptr %136, align 8
  %137 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN7siscone4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br i1 %137, label %138, label %141

138:                                              ; preds = %130
  %139 = call ptr @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #8
  %140 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %25, i32 0, i32 0
  store ptr %139, ptr %140, align 8
  br label %141

141:                                              ; preds = %138, %130
  br label %99, !llvm.loop !42

142:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %143 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %144 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %143) #8
  %145 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %144) #8
  %146 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %26, i32 0, i32 0
  store ptr %145, ptr %146, align 8
  %147 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN7siscone4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br i1 %147, label %148, label %186

148:                                              ; preds = %142
  %149 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %150 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @_ZNSt6vectorIN7siscone4CjetESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %149, ptr noundef nonnull align 8 dereferenceable(132) %150)
  %151 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %152 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %153 = call noundef i64 @_ZNKSt6vectorIN7siscone4CjetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #8
  %154 = sub i64 %153, 1
  %155 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef %154) #8
  %156 = getelementptr inbounds %"class.siscone::Cjet", ptr %155, i32 0, i32 0
  call void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68) %156)
  %157 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %158 = getelementptr inbounds %"class.siscone::Cjet", ptr %157, i32 0, i32 4
  %159 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  %160 = icmp ugt i64 %159, 0
  br i1 %160, label %161, label %162

161:                                              ; preds = %148
  br label %164

162:                                              ; preds = %148
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 650, ptr noundef @__PRETTY_FUNCTION__._ZN7siscone12Csplit_merge7performEdd) #10
  unreachable

163:                                              ; No predecessors!
  br label %164

164:                                              ; preds = %163, %161
  %165 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 2
  %166 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %167 = getelementptr inbounds %"class.siscone::Cjet", ptr %166, i32 0, i32 4
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef 0) #8
  %169 = load i32, ptr %168, align 4, !tbaa !41
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %170) #8
  %172 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %171, i32 0, i32 7
  %173 = load i32, ptr %172, align 4, !tbaa !44
  %174 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %175 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %176 = call noundef i64 @_ZNKSt6vectorIN7siscone4CjetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #8
  %177 = sub i64 %176, 1
  %178 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %177) #8
  %179 = getelementptr inbounds %"class.siscone::Cjet", ptr %178, i32 0, i32 7
  store i32 %173, ptr %179, align 8, !tbaa !45
  %180 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %181 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %180) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !30
  %182 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %27, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8
  %184 = call ptr @_ZNSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(64) %181, ptr %183)
  %185 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %28, i32 0, i32 0
  store ptr %184, ptr %185, align 8
  br label %186

186:                                              ; preds = %164, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %187

187:                                              ; preds = %186, %79
  br label %188

188:                                              ; preds = %187
  %189 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 19
  %190 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %189) #8
  %191 = call noundef i64 @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(64) %190) #8
  %192 = icmp ugt i64 %191, 0
  br i1 %192, label %79, label %193, !llvm.loop !46

193:                                              ; preds = %188, %95
  %194 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %195 = call ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %194) #8
  %196 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %29, i32 0, i32 0
  store ptr %195, ptr %196, align 8
  %197 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %198 = call ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %197) #8
  %199 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %30, i32 0, i32 0
  store ptr %198, ptr %199, align 8
  %200 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %29, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8
  %202 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %30, i32 0, i32 0
  %203 = load ptr, ptr %202, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7siscone4CjetESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %201, ptr %203, ptr noundef @_ZN7siscone12jets_pt_lessERKNS_4CjetES2_)
  %204 = getelementptr inbounds %"class.siscone::Csplit_merge", ptr %31, i32 0, i32 11
  %205 = call noundef i64 @_ZNKSt6vectorIN7siscone4CjetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %204) #8
  %206 = trunc i64 %205 to i32
  store i32 %206, ptr %4, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %207

207:                                              ; preds = %193, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  %208 = load i32, ptr %4, align 4
  ret i32 %208

209:                                              ; preds = %74
  %210 = load ptr, ptr %12, align 8
  %211 = load i32, ptr %13, align 4
  %212 = insertvalue { ptr, i32 } poison, ptr %210, 0
  %213 = insertvalue { ptr, i32 } %212, i32 %211, 1
  resume { ptr, i32 } %213

214:                                              ; preds = %57
  unreachable
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7siscone12Csplit_merge11get_overlapERKNS_4CjetES3_Pd(ptr noundef nonnull align 8 dereferenceable(225), ptr noundef nonnull align 8 dereferenceable(132), ptr noundef nonnull align 8 dereferenceable(132), ptr noundef) #1 align 2

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

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

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

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

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

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

declare void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68)) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(64), ptr) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7siscone4CjetESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { noreturn 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, !10, i64 216}
!12 = !{!"_ZTSN7siscone12Csplit_mergeE", !13, i64 0, !14, i64 8, !18, i64 32, !13, i64 56, !14, i64 64, !14, i64 88, !13, i64 112, !10, i64 120, !22, i64 128, !6, i64 152, !13, i64 160, !26, i64 164, !27, i64 168, !10, i64 192, !10, i64 200, !29, i64 208, !10, i64 216, !26, i64 224}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIN7siscone9CmomentumESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIN7siscone4CjetESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN7siscone4CjetESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7siscone4CjetESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN7siscone4CjetESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"bool", !7, i64 0}
!27 = !{!"_ZTSN7siscone25Csplit_merge_ptcomparisonE", !6, i64 0, !6, i64 8, !28, i64 16}
!28 = !{!"_ZTSN7siscone18Esplit_merge_scaleE", !7, i64 0}
!29 = !{!"_ZTSSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEE", !6, i64 0}
!30 = !{i64 0, i64 8, !5}
!31 = !{!32, !10, i64 112}
!32 = !{!"_ZTSN7siscone4CjetE", !33, i64 0, !10, i64 72, !13, i64 80, !35, i64 88, !10, i64 112, !39, i64 120, !13, i64 128}
!33 = !{!"_ZTSN7siscone9CmomentumE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !13, i64 48, !13, i64 52, !34, i64 56}
!34 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!35 = !{!"_ZTSSt6vectorIiSaIiEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSN7siscone14Ceta_phi_rangeE", !13, i64 0, !13, i64 4}
!40 = !{!12, !10, i64 192}
!41 = !{!13, !13, i64 0}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!33, !13, i64 52}
!45 = !{!32, !13, i64 128}
!46 = distinct !{!46, !43}


; 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"

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@_ZTIN7siscone14Csiscone_errorE = external dso_local constant { ptr, ptr }, align 8
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [161 x i8], align 1
@__PRETTY_FUNCTION__._ZN7siscone12Csplit_merge7performEdd = external hidden unnamed_addr constant [51 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 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 noundef zeroext i1 @_ZN7siscone12jets_pt_lessERKNS_4CjetES2_(ptr noundef nonnull align 8 dereferenceable(132), ptr noundef nonnull align 8 dereferenceable(132)) #1

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7siscone12Csplit_merge7performEdd(ptr noundef nonnull align 8 dereferenceable(225) %0, double noundef %1, double noundef %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %5 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %6 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca double, align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  call void @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  %12 = fmul double %2, %2
  %13 = getelementptr inbounds i8, ptr %0, i64 216
  store double %12, ptr %13, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 208
  %15 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %16 = call noundef i64 @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(64) %15) #7
  %17 = icmp eq i64 %16, 0
  br i1 %17, label %124, label %18

18:                                               ; preds = %3
  %19 = fcmp oge double %1, 1.000000e+00
  %20 = fcmp ole double %1, 0.000000e+00
  %or.cond = or i1 %19, %20
  br i1 %or.cond, label %21, label %39

21:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %6) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %6)
  %22 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull @.str.7)
          to label %23 unwind label %32

23:                                               ; preds = %21
  %24 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %22, double noundef %1)
          to label %25 unwind label %32

25:                                               ; preds = %23
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull @.str.8)
          to label %27 unwind label %32

27:                                               ; preds = %25
  %28 = call ptr @__cxa_allocate_exception(i64 32) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(112) %6)
          to label %29 unwind label %.thread

29:                                               ; preds = %27
  invoke void @_ZN7siscone14Csiscone_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %31 unwind label %.thread38

.thread38:                                        ; preds = %29
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %37

31:                                               ; preds = %29
  invoke void @__cxa_throw(ptr nonnull %28, ptr nonnull @_ZTIN7siscone14Csiscone_errorE, ptr nonnull @_ZN7siscone14Csiscone_errorD2Ev) #8
          to label %125 unwind label %35

32:                                               ; preds = %25, %23, %21
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %38

.thread:                                          ; preds = %27
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %37

35:                                               ; preds = %31
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %38

37:                                               ; preds = %.thread38, %.thread
  %.pn37 = phi { ptr, i32 } [ %34, %.thread ], [ %30, %.thread38 ]
  call void @__cxa_free_exception(ptr %28) #7
  br label %38

38:                                               ; preds = %35, %37, %32
  %.pn.pn = phi { ptr, i32 } [ %.pn37, %37 ], [ %36, %35 ], [ %33, %32 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %6) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn.pn

39:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %40 = fmul double %1, %1
  %41 = getelementptr inbounds i8, ptr %0, i64 192
  %42 = getelementptr inbounds i8, ptr %0, i64 128
  %43 = getelementptr inbounds i8, ptr %0, i64 8
  br label %44

44:                                               ; preds = %116, %39
  %45 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %46 = call noundef i64 @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(64) %45) #7
  %.not = icmp eq i64 %46, 0
  br i1 %.not, label %116, label %47

47:                                               ; preds = %44
  %48 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %49 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %48) #7
  store ptr %49, ptr %4, align 8, !tbaa !28
  %50 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %51 = getelementptr inbounds i8, ptr %50, i64 112
  %52 = load double, ptr %51, align 8, !tbaa !29
  %53 = load double, ptr %41, align 8, !tbaa !38
  %54 = fcmp olt double %52, %53
  br i1 %54, label %119, label %55

55:                                               ; preds = %47
  %56 = load i64, ptr %4, align 8, !tbaa !28
  store i64 %56, ptr %5, align 8, !tbaa !28
  %57 = call ptr @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %58 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %59 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %58) #7
  store ptr %59, ptr %9, align 8
  %60 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN7siscone4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br i1 %60, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %55, %85
  %61 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %62 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  %63 = call noundef zeroext i1 @_ZN7siscone12Csplit_merge11get_overlapERKNS_4CjetES3_Pd(ptr noundef nonnull align 8 dereferenceable(225) %0, ptr noundef nonnull align 8 dereferenceable(132) %61, ptr noundef nonnull align 8 dereferenceable(132) %62, ptr noundef nonnull %8)
  br i1 %63, label %64, label %79

64:                                               ; preds = %.lr.ph
  %65 = load double, ptr %8, align 8, !tbaa !39
  %66 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  %67 = getelementptr inbounds i8, ptr %66, i64 112
  %68 = load double, ptr %67, align 8, !tbaa !29
  %69 = fmul double %40, %68
  %70 = fcmp olt double %65, %69
  br i1 %70, label %71, label %75

71:                                               ; preds = %64
  %72 = call noundef zeroext i1 @_ZN7siscone12Csplit_merge5splitERSt23_Rb_tree_const_iteratorINS_4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(225) %0, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %73 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %74 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %73) #7
  store ptr %74, ptr %4, align 8, !tbaa !28
  %.cast32 = ptrtoint ptr %74 to i64
  store i64 %.cast32, ptr %5, align 8, !tbaa !28
  br label %79

75:                                               ; preds = %64
  %76 = call noundef zeroext i1 @_ZN7siscone12Csplit_merge5mergeERSt23_Rb_tree_const_iteratorINS_4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(225) %0, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %77 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %78 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %77) #7
  store ptr %78, ptr %4, align 8, !tbaa !28
  %.cast = ptrtoint ptr %78 to i64
  store i64 %.cast, ptr %5, align 8, !tbaa !28
  br label %79

79:                                               ; preds = %71, %75, %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %80 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %81 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %80) #7
  store ptr %81, ptr %10, align 8
  %82 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN7siscone4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br i1 %82, label %83, label %85

83:                                               ; preds = %79
  %84 = call ptr @_ZNSt23_Rb_tree_const_iteratorIN7siscone4CjetEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #7
  br label %85

85:                                               ; preds = %83, %79
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %86 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %87 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %86) #7
  store ptr %87, ptr %9, align 8
  %88 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN7siscone4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br i1 %88, label %.lr.ph, label %._crit_edge, !llvm.loop !40

._crit_edge:                                      ; preds = %85, %55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %89 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %90 = call ptr @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %89) #7
  store ptr %90, ptr %11, align 8
  %91 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN7siscone4CjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br i1 %91, label %92, label %116

92:                                               ; preds = %._crit_edge
  %93 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @_ZNSt6vectorIN7siscone4CjetESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 8 dereferenceable(132) %93)
  %94 = call noundef i64 @_ZNKSt6vectorIN7siscone4CjetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %95 = add i64 %94, -1
  %96 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %95) #7
  call void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68) %96)
  %97 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %98 = getelementptr inbounds i8, ptr %97, i64 88
  %99 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #7
  %.not30 = icmp eq i64 %99, 0
  br i1 %.not30, label %100, label %101

100:                                              ; preds = %92
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, i32 noundef 650, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7siscone12Csplit_merge7performEdd) #9
  unreachable

101:                                              ; preds = %92
  %102 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN7siscone4CjetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %103 = getelementptr inbounds i8, ptr %102, i64 88
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef 0) #7
  %105 = load i32, ptr %104, align 4, !tbaa !42
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %106) #7
  %108 = getelementptr inbounds i8, ptr %107, i64 52
  %109 = load i32, ptr %108, align 4, !tbaa !43
  %110 = call noundef i64 @_ZNKSt6vectorIN7siscone4CjetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %111 = add i64 %110, -1
  %112 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %111) #7
  %113 = getelementptr inbounds i8, ptr %112, i64 128
  store i32 %109, ptr %113, align 8, !tbaa !44
  %114 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %.sroa.04.0.copyload = load ptr, ptr %4, align 8, !tbaa !28
  %115 = call ptr @_ZNSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(64) %114, ptr %.sroa.04.0.copyload)
  br label %116

116:                                              ; preds = %._crit_edge, %101, %44
  %117 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %118 = call noundef i64 @_ZNKSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(64) %117) #7
  %.not31 = icmp eq i64 %118, 0
  br i1 %.not31, label %119, label %44, !llvm.loop !45

119:                                              ; preds = %47, %116
  %120 = call ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %121 = call ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7siscone4CjetESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %120, ptr %121, ptr noundef nonnull @_ZN7siscone12jets_pt_lessERKNS_4CjetES2_)
  %122 = call noundef i64 @_ZNKSt6vectorIN7siscone4CjetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %123 = trunc i64 %122 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %124

124:                                              ; preds = %3, %119
  %.0 = phi i32 [ %123, %119 ], [ 0, %3 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  ret i32 %.0

125:                                              ; preds = %31
  unreachable
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7siscone12Csplit_merge11get_overlapERKNS_4CjetES3_Pd(ptr noundef nonnull align 8 dereferenceable(225), ptr noundef nonnull align 8 dereferenceable(132), ptr noundef nonnull align 8 dereferenceable(132), ptr noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

declare void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt8multisetIN7siscone4CjetENS0_25Csplit_merge_ptcomparisonESaIS1_EE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(64), ptr) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN7siscone4CjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_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 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { noreturn 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, !19, i64 216}
!6 = !{!"_ZTSN7siscone12Csplit_mergeE", !7, i64 0, !10, i64 8, !15, i64 32, !7, i64 56, !10, i64 64, !10, i64 88, !7, i64 112, !19, i64 120, !20, i64 128, !14, i64 152, !7, i64 160, !24, i64 164, !25, i64 168, !19, i64 192, !19, i64 200, !27, i64 208, !19, i64 216, !24, i64 224}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIN7siscone9CmomentumESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"double", !8, i64 0}
!20 = !{!"_ZTSSt6vectorIN7siscone4CjetESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN7siscone4CjetESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN7siscone4CjetESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN7siscone4CjetESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = !{!"bool", !8, i64 0}
!25 = !{!"_ZTSN7siscone25Csplit_merge_ptcomparisonE", !14, i64 0, !14, i64 8, !26, i64 16}
!26 = !{!"_ZTSN7siscone18Esplit_merge_scaleE", !8, i64 0}
!27 = !{!"_ZTSSt8auto_ptrISt8multisetIN7siscone4CjetENS1_25Csplit_merge_ptcomparisonESaIS2_EEE", !14, i64 0}
!28 = !{!14, !14, i64 0}
!29 = !{!30, !19, i64 112}
!30 = !{!"_ZTSN7siscone4CjetE", !31, i64 0, !19, i64 72, !7, i64 80, !33, i64 88, !19, i64 112, !37, i64 120, !7, i64 128}
!31 = !{!"_ZTSN7siscone9CmomentumE", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !7, i64 48, !7, i64 52, !32, i64 56}
!32 = !{!"_ZTSN7siscone10CreferenceE", !8, i64 0}
!33 = !{!"_ZTSSt6vectorIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!37 = !{!"_ZTSN7siscone14Ceta_phi_rangeE", !7, i64 0, !7, i64 4}
!38 = !{!6, !19, i64 192}
!39 = !{!19, !19, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!7, !7, i64 0}
!43 = !{!31, !7, i64 52}
!44 = !{!30, !7, i64 128}
!45 = distinct !{!45, !41}


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