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

; 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::allocator.15" = type { i8 }
%"class.siscone_spherical::CSphsplit_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_spherical::CSphsplit_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_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_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_spherical::CSphjet, std::allocator<siscone_spherical::CSphjet>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone_spherical::CSphjet, std::allocator<siscone_spherical::CSphjet>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone_spherical::CSphjet, std::allocator<siscone_spherical::CSphjet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone_spherical::CSphjet, std::allocator<siscone_spherical::CSphjet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone_spherical::CSphsplit_merge_ptcomparison" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.std::auto_ptr" = type { ptr }

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
define dso_local void @_ZN17siscone_spherical15CSphsplit_mergeC2Ev(ptr noundef nonnull align 8 dereferenceable(225) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::allocator.15", align 1
  %6 = alloca i1, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  %8 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 2
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %9 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 3
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %10 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 6
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  %11 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 7
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %12 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 11
  call void @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %13 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 16
  invoke void @_ZN17siscone_spherical28CSphsplit_merge_ptcomparisonC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %13)
          to label %14 unwind label %32

14:                                               ; preds = %1
  %15 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 19
  call void @_ZNSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEEC2EPS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef null) #5
  %16 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 14
  store i8 0, ptr %16, align 4, !tbaa !9
  %17 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 12
  store ptr null, ptr %17, align 8, !tbaa !29
  %18 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 2
  %19 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 16
  %20 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge_ptcomparison", ptr %19, i32 0, i32 0
  store ptr %18, ptr %20, align 8, !tbaa !30
  %21 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 3
  %22 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 16
  %23 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge_ptcomparison", ptr %22, i32 0, i32 1
  store ptr %21, ptr %23, align 8, !tbaa !31
  %24 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 19
  %25 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #6
          to label %26 unwind label %36

26:                                               ; preds = %14
  store i1 true, ptr %6, align 1
  %27 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 16
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  call void @_ZNSaIN17siscone_spherical7CSphjetEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt8multisetIN17siscone_spherical7CSphjetENS0_28CSphsplit_merge_ptcomparisonESaIS1_EEC2ERKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(20) %27, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %28 unwind label %40

28:                                               ; preds = %26
  store i1 false, ptr %6, align 1
  call void @_ZNSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEE5resetEPS5_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef %25) #5
  call void @_ZNSt15__new_allocatorIN17siscone_spherical7CSphjetEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  %29 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 17
  store double -1.000000e+00, ptr %29, align 8, !tbaa !32
  %30 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 18
  store double -1.000000e+00, ptr %30, align 8, !tbaa !33
  %31 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %7, i32 0, i32 21
  store i8 0, ptr %31, align 8, !tbaa !34
  ret void

32:                                               ; preds = %1
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %3, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %4, align 4
  br label %48

36:                                               ; preds = %14
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %3, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %4, align 4
  br label %47

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

45:                                               ; preds = %40
  call void @_ZdlPvm(ptr noundef %25, i64 noundef 64) #7
  br label %46

46:                                               ; preds = %45, %40
  br label %47

47:                                               ; preds = %46, %36
  call void @_ZNSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br label %48

48:                                               ; preds = %47, %32
  call void @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %49

49:                                               ; preds = %48
  %50 = load ptr, ptr %3, align 8
  %51 = load i32, ptr %4, align 4
  %52 = insertvalue { ptr, i32 } poison, ptr %50, 0
  %53 = insertvalue { ptr, i32 } %52, i32 %51, 1
  resume { ptr, i32 } %53
}

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

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

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin allocsize(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 = { nobuiltin 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 #5 = { nounwind }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { builtin 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, !25, i64 164}
!10 = !{!"_ZTSN17siscone_spherical15CSphsplit_mergeE", !11, i64 0, !12, i64 8, !16, i64 32, !11, i64 56, !12, i64 64, !12, i64 88, !11, i64 112, !20, i64 120, !21, i64 128, !6, i64 152, !11, i64 160, !25, i64 164, !26, i64 168, !20, i64 192, !20, i64 200, !28, i64 208, !20, i64 216, !25, i64 224}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSSt6vectorIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN17siscone_spherical7CSphjetESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical7CSphjetESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical7CSphjetESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN17siscone_spherical28CSphsplit_merge_ptcomparisonE", !6, i64 0, !6, i64 8, !27, i64 16}
!27 = !{!"_ZTSN17siscone_spherical18Esplit_merge_scaleE", !7, i64 0}
!28 = !{!"_ZTSSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEE", !6, i64 0}
!29 = !{!10, !6, i64 152}
!30 = !{!10, !6, i64 168}
!31 = !{!10, !6, i64 176}
!32 = !{!10, !20, i64 192}
!33 = !{!10, !20, i64 200}
!34 = !{!10, !25, i64 224}


; 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::allocator.15" = type { i8 }

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
define dso_local void @_ZN17siscone_spherical15CSphsplit_mergeC2Ev(ptr noundef nonnull align 8 dereferenceable(225) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::allocator.15", align 1
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %6 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %7 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %8 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZN17siscone_spherical28CSphsplit_merge_ptcomparisonC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %8)
  %9 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZNSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEEC2EPS5_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef null) #5
  %10 = getelementptr inbounds i8, ptr %0, i64 164
  store i8 0, ptr %10, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 152
  store ptr null, ptr %11, align 8, !tbaa !28
  store ptr %3, ptr %8, align 8, !tbaa !29
  %12 = getelementptr inbounds i8, ptr %0, i64 176
  store ptr %4, ptr %12, align 8, !tbaa !30
  %13 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #6
          to label %14 unwind label %18

14:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #5
  call void @_ZNSaIN17siscone_spherical7CSphjetEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  invoke void @_ZNSt8multisetIN17siscone_spherical7CSphjetENS0_28CSphsplit_merge_ptcomparisonESaIS1_EEC2ERKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(64) %13, ptr noundef nonnull align 8 dereferenceable(20) %8, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %15 unwind label %20

15:                                               ; preds = %14
  call void @_ZNSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEE5resetEPS5_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull %13) #5
  call void @_ZNSt15__new_allocatorIN17siscone_spherical7CSphjetEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #5
  %16 = getelementptr inbounds i8, ptr %0, i64 192
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %16, align 8, !tbaa !31
  %17 = getelementptr inbounds i8, ptr %0, i64 224
  store i8 0, ptr %17, align 8, !tbaa !32
  ret void

18:                                               ; preds = %1
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %22

20:                                               ; preds = %14
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN17siscone_spherical7CSphjetEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #5
  call void @_ZdlPvm(ptr noundef nonnull %13, i64 noundef 64) #7
  br label %22

22:                                               ; preds = %20, %18
  %.pn = phi { ptr, i32 } [ %21, %20 ], [ %19, %18 ]
  call void @_ZNSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin allocsize(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 = { nobuiltin 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 #5 = { nounwind }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { builtin 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, !24, i64 164}
!6 = !{!"_ZTSN17siscone_spherical15CSphsplit_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 = !{!"_ZTSSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_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 = !{!"_ZTSSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN17siscone_spherical7CSphjetESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical7CSphjetESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical7CSphjetESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = !{!"bool", !8, i64 0}
!25 = !{!"_ZTSN17siscone_spherical28CSphsplit_merge_ptcomparisonE", !14, i64 0, !14, i64 8, !26, i64 16}
!26 = !{!"_ZTSN17siscone_spherical18Esplit_merge_scaleE", !8, i64 0}
!27 = !{!"_ZTSSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEE", !14, i64 0}
!28 = !{!6, !14, i64 152}
!29 = !{!6, !14, i64 168}
!30 = !{!6, !14, i64 176}
!31 = !{!19, !19, i64 0}
!32 = !{!6, !24, i64 224}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass