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

; 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.__gnu_cxx::__normal_iterator.21" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"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 }
%"class.siscone_spherical::CSphjet" = type <{ %"class.siscone_spherical::CSphmomentum", double, i32, [4 x i8], %"class.std::vector", double, %"class.siscone_spherical::CSphtheta_phi_range", i32, [4 x i8] }>
%"class.siscone_spherical::CSphmomentum" = type { %"class.siscone_spherical::CSph3vector.base", double, i32, i32 }
%"class.siscone_spherical::CSph3vector.base" = type <{ double, double, double, double, double, double, %"class.siscone::Creference" }>
%"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_spherical::CSphtheta_phi_range" = type { i32, i32 }
%"class.siscone_spherical::CSph3vector" = type <{ double, double, double, double, double, double, %"class.siscone::Creference", [4 x i8] }>

@stdout = external global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [30 x i8], align 1

; 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: 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) #1

; 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) #2 align 2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN17siscone_spherical15CSphsplit_merge4showEv(ptr noundef nonnull align 8 dereferenceable(225) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %4 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @_ZNSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %16 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %15, i32 0, i32 11
  %17 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  %18 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %9, i32 0, i32 0
  store ptr %17, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %9, i64 8, i1 false), !tbaa.struct !9
  store i32 0, ptr %7, align 4, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %19

19:                                               ; preds = %67, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %20 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %15, i32 0, i32 11
  %21 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %22 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %10, i32 0, i32 0
  store ptr %21, ptr %22, align 8
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br i1 %23, label %24, label %72

24:                                               ; preds = %19
  %25 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  store ptr %25, ptr %5, align 8, !tbaa !5
  %26 = load ptr, ptr @stdout, align 8, !tbaa !5
  %27 = load i32, ptr %7, align 4, !tbaa !10
  %28 = add nsw i32 %27, 1
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %29, i32 0, i32 0
  %31 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %30, i32 0, i32 0
  %32 = load double, ptr %31, align 8, !tbaa !12
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %33, i32 0, i32 0
  %35 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %34, i32 0, i32 1
  %36 = load double, ptr %35, align 8, !tbaa !16
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %37, i32 0, i32 0
  %39 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %38, i32 0, i32 2
  %40 = load double, ptr %39, align 8, !tbaa !17
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds %"class.siscone_spherical::CSphmomentum", ptr %42, i32 0, i32 1
  %44 = load double, ptr %43, align 8, !tbaa !18
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.15, i32 noundef %28, double noundef %32, double noundef %36, double noundef %40, double noundef %44) #5
  store i32 0, ptr %8, align 4, !tbaa !10
  br label %46

46:                                               ; preds = %61, %24
  %47 = load i32, ptr %8, align 4, !tbaa !10
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %48, i32 0, i32 2
  %50 = load i32, ptr %49, align 8, !tbaa !26
  %51 = icmp slt i32 %47, %50
  br i1 %51, label %52, label %64

52:                                               ; preds = %46
  %53 = load ptr, ptr @stdout, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %54, i32 0, i32 4
  %56 = load i32, ptr %8, align 4, !tbaa !10
  %57 = sext i32 %56 to i64
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %57) #5
  %59 = load i32, ptr %58, align 4, !tbaa !10
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.16, i32 noundef %59) #5
  br label %61

61:                                               ; preds = %52
  %62 = load i32, ptr %8, align 4, !tbaa !10
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %8, align 4, !tbaa !10
  br label %46, !llvm.loop !27

64:                                               ; preds = %46
  %65 = load ptr, ptr @stdout, align 8, !tbaa !5
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.17) #5
  br label %67

67:                                               ; preds = %64
  %68 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 0) #5
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %11, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  %70 = load i32, ptr %7, align 4, !tbaa !10
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %7, align 4, !tbaa !10
  br label %19, !llvm.loop !29

72:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %73 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %15, i32 0, i32 19
  %74 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #5
  %75 = call ptr @_ZNKSt8multisetIN17siscone_spherical7CSphjetENS0_28CSphsplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %74) #5
  %76 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %12, i32 0, i32 0
  store ptr %75, ptr %76, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 %12, i64 8, i1 false), !tbaa.struct !9
  store i32 0, ptr %7, align 4, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %77

77:                                               ; preds = %130, %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %78 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %15, i32 0, i32 19
  %79 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #5
  %80 = call ptr @_ZNKSt8multisetIN17siscone_spherical7CSphjetENS0_28CSphsplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %79) #5
  %81 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %13, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  %82 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br i1 %82, label %83, label %135

83:                                               ; preds = %77
  %84 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNKSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  store ptr %84, ptr %6, align 8, !tbaa !5
  %85 = load ptr, ptr @stdout, align 8, !tbaa !5
  %86 = load i32, ptr %7, align 4, !tbaa !10
  %87 = add nsw i32 %86, 1
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %89, i32 0, i32 0
  %91 = load double, ptr %90, align 8, !tbaa !12
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %93, i32 0, i32 1
  %95 = load double, ptr %94, align 8, !tbaa !16
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %96, i32 0, i32 0
  %98 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %97, i32 0, i32 2
  %99 = load double, ptr %98, align 8, !tbaa !17
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %100, i32 0, i32 0
  %102 = getelementptr inbounds %"class.siscone_spherical::CSphmomentum", ptr %101, i32 0, i32 1
  %103 = load double, ptr %102, align 8, !tbaa !18
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %104, i32 0, i32 5
  %106 = load double, ptr %105, align 8, !tbaa !30
  %107 = call double @sqrt(double noundef %106) #5
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.18, i32 noundef %87, double noundef %91, double noundef %95, double noundef %99, double noundef %103, double noundef %107) #5
  store i32 0, ptr %8, align 4, !tbaa !10
  br label %109

109:                                              ; preds = %124, %83
  %110 = load i32, ptr %8, align 4, !tbaa !10
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %111, i32 0, i32 2
  %113 = load i32, ptr %112, align 8, !tbaa !26
  %114 = icmp slt i32 %110, %113
  br i1 %114, label %115, label %127

115:                                              ; preds = %109
  %116 = load ptr, ptr @stdout, align 8, !tbaa !5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %117, i32 0, i32 4
  %119 = load i32, ptr %8, align 4, !tbaa !10
  %120 = sext i32 %119 to i64
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %120) #5
  %122 = load i32, ptr %121, align 4, !tbaa !10
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.16, i32 noundef %122) #5
  br label %124

124:                                              ; preds = %115
  %125 = load i32, ptr %8, align 4, !tbaa !10
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %8, align 4, !tbaa !10
  br label %109, !llvm.loop !31

127:                                              ; preds = %109
  %128 = load ptr, ptr @stdout, align 8, !tbaa !5
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef @.str.17) #5
  br label %130

130:                                              ; preds = %127
  %131 = call ptr @_ZNSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #5
  %132 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %14, i32 0, i32 0
  store ptr %131, ptr %132, align 8
  %133 = load i32, ptr %7, align 4, !tbaa !10
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %7, align 4, !tbaa !10
  br label %77, !llvm.loop !32

135:                                              ; preds = %77
  %136 = load ptr, ptr @stdout, align 8, !tbaa !5
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef @.str.17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret i32 0
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 8, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTSN17siscone_spherical11CSph3vectorE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!16 = !{!13, !14, i64 8}
!17 = !{!13, !14, i64 16}
!18 = !{!19, !14, i64 64}
!19 = !{!"_ZTSN17siscone_spherical7CSphjetE", !20, i64 0, !14, i64 80, !11, i64 88, !21, i64 96, !14, i64 120, !25, i64 128, !11, i64 136}
!20 = !{!"_ZTSN17siscone_spherical12CSphmomentumE", !13, i64 0, !14, i64 64, !11, i64 72, !11, i64 76}
!21 = !{!"_ZTSSt6vectorIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSN17siscone_spherical19CSphtheta_phi_rangeE", !11, i64 0, !11, i64 4}
!26 = !{!19, !11, i64 88}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = !{!19, !14, i64 120}
!31 = distinct !{!31, !28}
!32 = distinct !{!32, !28}


; 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.__gnu_cxx::__normal_iterator.21" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@stdout = external local_unnamed_addr global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [30 x i8], align 1

; 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 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 #1 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN17siscone_spherical15CSphsplit_merge4showEv(ptr noundef nonnull align 8 dereferenceable(225) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %3 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %5 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @_ZNSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %6 = getelementptr inbounds i8, ptr %0, i64 128
  %7 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  store ptr %7, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %8 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  store ptr %8, ptr %4, align 8
  %9 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br i1 %9, label %.lr.ph31, label %._crit_edge32

.lr.ph31:                                         ; preds = %1, %._crit_edge
  %.029 = phi i32 [ %12, %._crit_edge ], [ 0, %1 ]
  %10 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %11 = load ptr, ptr @stdout, align 8, !tbaa !5
  %12 = add nuw nsw i32 %.029, 1
  %13 = load double, ptr %10, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %10, i64 8
  %15 = load double, ptr %14, align 8, !tbaa !13
  %16 = getelementptr inbounds i8, ptr %10, i64 16
  %17 = load double, ptr %16, align 8, !tbaa !14
  %18 = getelementptr inbounds i8, ptr %10, i64 64
  %19 = load double, ptr %18, align 8, !tbaa !15
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.15, i32 noundef %12, double noundef %13, double noundef %15, double noundef %17, double noundef %19) #5
  %21 = getelementptr inbounds i8, ptr %10, i64 88
  %22 = load i32, ptr %21, align 8, !tbaa !24
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph31
  %24 = getelementptr inbounds i8, ptr %10, i64 96
  br label %25

25:                                               ; preds = %.lr.ph, %25
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %25 ]
  %26 = load ptr, ptr @stdout, align 8, !tbaa !5
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv) #5
  %28 = load i32, ptr %27, align 4, !tbaa !25
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str.16, i32 noundef %28) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %30 = load i32, ptr %21, align 8, !tbaa !24
  %31 = sext i32 %30 to i64
  %32 = icmp slt i64 %indvars.iv.next, %31
  br i1 %32, label %25, label %._crit_edge, !llvm.loop !26

._crit_edge:                                      ; preds = %25, %.lr.ph31
  %33 = load ptr, ptr @stdout, align 8, !tbaa !5
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.17) #5
  %35 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %36 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  store ptr %36, ptr %4, align 8
  %37 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br i1 %37, label %.lr.ph31, label %._crit_edge32, !llvm.loop !28

._crit_edge32:                                    ; preds = %._crit_edge, %1
  %38 = getelementptr inbounds i8, ptr %0, i64 208
  %39 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  %40 = call ptr @_ZNKSt8multisetIN17siscone_spherical7CSphjetENS0_28CSphsplit_merge_ptcomparisonESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(64) %39) #5
  store ptr %40, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %41 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  %42 = call ptr @_ZNKSt8multisetIN17siscone_spherical7CSphjetENS0_28CSphsplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %41) #5
  store ptr %42, ptr %5, align 8
  %43 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %43, label %.lr.ph39, label %._crit_edge40

.lr.ph39:                                         ; preds = %._crit_edge32, %._crit_edge36
  %.137 = phi i32 [ %46, %._crit_edge36 ], [ 0, %._crit_edge32 ]
  %44 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNKSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %45 = load ptr, ptr @stdout, align 8, !tbaa !5
  %46 = add nuw nsw i32 %.137, 1
  %47 = load double, ptr %44, align 8, !tbaa !9
  %48 = getelementptr inbounds i8, ptr %44, i64 8
  %49 = load double, ptr %48, align 8, !tbaa !13
  %50 = getelementptr inbounds i8, ptr %44, i64 16
  %51 = load double, ptr %50, align 8, !tbaa !14
  %52 = getelementptr inbounds i8, ptr %44, i64 64
  %53 = load double, ptr %52, align 8, !tbaa !15
  %54 = getelementptr inbounds i8, ptr %44, i64 120
  %55 = load double, ptr %54, align 8, !tbaa !29
  %56 = call double @sqrt(double noundef %55) #5
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.18, i32 noundef %46, double noundef %47, double noundef %49, double noundef %51, double noundef %53, double noundef %56) #5
  %58 = getelementptr inbounds i8, ptr %44, i64 88
  %59 = load i32, ptr %58, align 8, !tbaa !24
  %60 = icmp sgt i32 %59, 0
  br i1 %60, label %.lr.ph35, label %._crit_edge36

.lr.ph35:                                         ; preds = %.lr.ph39
  %61 = getelementptr inbounds i8, ptr %44, i64 96
  br label %62

62:                                               ; preds = %.lr.ph35, %62
  %indvars.iv42 = phi i64 [ 0, %.lr.ph35 ], [ %indvars.iv.next43, %62 ]
  %63 = load ptr, ptr @stdout, align 8, !tbaa !5
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %indvars.iv42) #5
  %65 = load i32, ptr %64, align 4, !tbaa !25
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.16, i32 noundef %65) #5
  %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42, 1
  %67 = load i32, ptr %58, align 8, !tbaa !24
  %68 = sext i32 %67 to i64
  %69 = icmp slt i64 %indvars.iv.next43, %68
  br i1 %69, label %62, label %._crit_edge36, !llvm.loop !30

._crit_edge36:                                    ; preds = %62, %.lr.ph39
  %70 = load ptr, ptr @stdout, align 8, !tbaa !5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull @.str.17) #5
  %72 = call ptr @_ZNSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %73 = call noundef ptr @_ZNKSt8auto_ptrISt8multisetIN17siscone_spherical7CSphjetENS1_28CSphsplit_merge_ptcomparisonESaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  %74 = call ptr @_ZNKSt8multisetIN17siscone_spherical7CSphjetENS0_28CSphsplit_merge_ptcomparisonESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %73) #5
  store ptr %74, ptr %5, align 8
  %75 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN17siscone_spherical7CSphjetEES4_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %75, label %.lr.ph39, label %._crit_edge40, !llvm.loop !31

._crit_edge40:                                    ; preds = %._crit_edge36, %._crit_edge32
  %76 = load ptr, ptr @stdout, align 8, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef nonnull @.str.17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret i32 0
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN17siscone_spherical11CSph3vectorE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48}
!11 = !{!"double", !7, i64 0}
!12 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 16}
!15 = !{!16, !11, i64 64}
!16 = !{!"_ZTSN17siscone_spherical7CSphjetE", !17, i64 0, !11, i64 80, !18, i64 88, !19, i64 96, !11, i64 120, !23, i64 128, !18, i64 136}
!17 = !{!"_ZTSN17siscone_spherical12CSphmomentumE", !10, i64 0, !11, i64 64, !18, i64 72, !18, i64 76}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSN17siscone_spherical19CSphtheta_phi_rangeE", !18, i64 0, !18, i64 4}
!24 = !{!16, !18, i64 88}
!25 = !{!18, !18, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = !{!16, !11, i64 120}
!30 = distinct !{!30, !27}
!31 = distinct !{!31, !27}


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