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

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.siscone_spherical::CSphsiscone" = type <{ %"class.siscone_spherical::CSphstable_cones", %"class.siscone_spherical::CSphsplit_merge.base", [7 x i8], %"class.std::vector.30", i8, [7 x i8] }>
%"class.siscone_spherical::CSphstable_cones" = type { %"class.siscone_spherical::CSphvicinity", %"class.std::vector", ptr, i32, double, double, double, %"class.siscone_spherical::CSphmomentum", ptr, ptr, i32, i32, %"class.siscone_spherical::CSphmomentum", %"class.std::vector.10", %"class.std::vector.15", double }
%"class.siscone_spherical::CSphvicinity" = type { ptr, double, double, double, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.0", ptr, %"class.std::vector.5", i32, [4 x i8], %"class.siscone_spherical::CSph3vector", %"class.siscone_spherical::CSph3vector", %"class.siscone_spherical::CSph3vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone_spherical::CSph3vector" = type <{ double, double, double, double, double, double, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"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.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone_spherical::CSphsplit_merge.base" = type <{ i32, [4 x i8], %"class.std::vector", %"class.std::vector.20", i32, [4 x i8], %"class.std::vector", %"class.std::vector", i32, [4 x i8], double, %"class.std::vector.25", ptr, i32, i8, [3 x i8], %"class.siscone_spherical::CSphsplit_merge_ptcomparison", double, double, %"class.std::auto_ptr", double, i8 }>
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = 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.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.siscone_spherical::CSphsplit_merge" = type <{ i32, [4 x i8], %"class.std::vector", %"class.std::vector.20", i32, [4 x i8], %"class.std::vector", %"class.std::vector", i32, [4 x i8], double, %"class.std::vector.25", ptr, i32, i8, [3 x i8], %"class.siscone_spherical::CSphsplit_merge_ptcomparison", double, double, %"class.std::auto_ptr", double, i8, [7 x i8] }>
%"class.siscone_spherical::CSphjet" = type <{ %"class.siscone_spherical::CSphmomentum", double, i32, [4 x i8], %"class.std::vector.35", double, %"class.siscone_spherical::CSphtheta_phi_range", i32, [4 x i8] }>
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = 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 }

@.str = external hidden unnamed_addr constant [24 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@stdout = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.siscone_spherical::CSphsiscone", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca [512 x i8], align 16
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.siscone_spherical::CSphmomentum", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #9
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.start.p0(i64 936, ptr %7) #9
  invoke void @_ZN17siscone_spherical11CSphsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(929) %7)
          to label %25 unwind label %35

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 512, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %26 = invoke noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
          to label %27 unwind label %39

27:                                               ; preds = %25
  store ptr %26, ptr %17, align 8, !tbaa !9
  %28 = load ptr, ptr %17, align 8, !tbaa !9
  %29 = icmp eq ptr %28, null
  br i1 %29, label %30, label %43

30:                                               ; preds = %27
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2)
          to label %32 unwind label %39

32:                                               ; preds = %30
  %33 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %34 unwind label %39

34:                                               ; preds = %32
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %170

35:                                               ; preds = %2
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %8, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %9, align 4
  br label %173

39:                                               ; preds = %121, %119, %116, %114, %112, %110, %108, %105, %103, %101, %99, %97, %94, %92, %90, %87, %81, %79, %77, %44, %32, %30, %25
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %8, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %9, align 4
  br label %172

43:                                               ; preds = %27
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %86, %43
  %45 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
  %46 = load ptr, ptr %17, align 8, !tbaa !9
  %47 = invoke ptr @fgets(ptr noundef %45, i32 noundef 512, ptr noundef %46)
          to label %48 unwind label %39

48:                                               ; preds = %44
  %49 = icmp ne ptr %47, null
  br i1 %49, label %50, label %87

50:                                               ; preds = %48
  %51 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
  %52 = load i8, ptr %51, align 16, !tbaa !11
  %53 = sext i8 %52 to i32
  %54 = icmp ne i32 %53, 35
  br i1 %54, label %55, label %86

55:                                               ; preds = %50
  %56 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
  %57 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %56, ptr noundef @.str.3, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #9
  %58 = icmp eq i32 %57, 4
  br i1 %58, label %59, label %77

59:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 80, ptr %19) #9
  %60 = load double, ptr %12, align 8, !tbaa !12
  %61 = load double, ptr %13, align 8, !tbaa !12
  %62 = load double, ptr %14, align 8, !tbaa !12
  %63 = load double, ptr %15, align 8, !tbaa !12
  invoke void @_ZN17siscone_spherical12CSphmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(80) %19, double noundef %60, double noundef %61, double noundef %62, double noundef %63)
          to label %64 unwind label %68

64:                                               ; preds = %59
  invoke void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(80) %19)
          to label %65 unwind label %72

65:                                               ; preds = %64
  call void @_ZN17siscone_spherical12CSphmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %19) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #9
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %11, align 4, !tbaa !5
  br label %85

68:                                               ; preds = %59
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %8, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %9, align 4
  br label %76

72:                                               ; preds = %64
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %8, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %9, align 4
  call void @_ZN17siscone_spherical12CSphmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %19) #9
  br label %76

76:                                               ; preds = %72, %68
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #9
  br label %172

77:                                               ; preds = %55
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %79 unwind label %39

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %81 unwind label %39

81:                                               ; preds = %79
  %82 = load ptr, ptr %17, align 8, !tbaa !9
  %83 = invoke i32 @fclose(ptr noundef %82)
          to label %84 unwind label %39

84:                                               ; preds = %81
  store i32 2, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %170

85:                                               ; preds = %65
  br label %86

86:                                               ; preds = %85, %50
  br label %44, !llvm.loop !14

87:                                               ; preds = %48
  %88 = load ptr, ptr %17, align 8, !tbaa !9
  %89 = invoke i32 @fclose(ptr noundef %88)
          to label %90 unwind label %39

90:                                               ; preds = %87
  %91 = invoke noundef i32 @_ZN17siscone_spherical11CSphsiscone12compute_jetsERSt6vectorINS_12CSphmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929) %7, ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef 0x3FE6666666666666, double noundef 5.000000e-01, i32 noundef 0, double noundef 0.000000e+00, i32 noundef 1)
          to label %92 unwind label %39

92:                                               ; preds = %90
  store i32 %91, ptr %10, align 4, !tbaa !5
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %94 unwind label %39

94:                                               ; preds = %92
  %95 = load i32, ptr %10, align 4, !tbaa !5
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %93, i32 noundef %95)
          to label %97 unwind label %39

97:                                               ; preds = %94
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef @.str.6)
          to label %99 unwind label %39

99:                                               ; preds = %97
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %101 unwind label %39

101:                                              ; preds = %99
  %102 = invoke noundef i32 @_ZN17siscone_spherical11CSphsiscone14recompute_jetsEddNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929) %7, double noundef 7.500000e-01, double noundef 0.000000e+00, i32 noundef 1)
          to label %103 unwind label %39

103:                                              ; preds = %101
  store i32 %102, ptr %10, align 4, !tbaa !5
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %105 unwind label %39

105:                                              ; preds = %103
  %106 = load i32, ptr %10, align 4, !tbaa !5
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %104, i32 noundef %106)
          to label %108 unwind label %39

108:                                              ; preds = %105
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef @.str.7)
          to label %110 unwind label %39

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %112 unwind label %39

112:                                              ; preds = %110
  %113 = invoke noundef i32 @_ZN17siscone_spherical11CSphsiscone12compute_jetsERSt6vectorINS_12CSphmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929) %7, ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef 0x3FE6666666666666, double noundef 5.000000e-01, i32 noundef 1, double noundef 0.000000e+00, i32 noundef 1)
          to label %114 unwind label %39

114:                                              ; preds = %112
  store i32 %113, ptr %10, align 4, !tbaa !5
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %116 unwind label %39

116:                                              ; preds = %114
  %117 = load i32, ptr %10, align 4, !tbaa !5
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %115, i32 noundef %117)
          to label %119 unwind label %39

119:                                              ; preds = %116
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef @.str.8)
          to label %121 unwind label %39

121:                                              ; preds = %119
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %123 unwind label %39

123:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  call void @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %124 = load ptr, ptr @stdout, align 8, !tbaa !9
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %126 = getelementptr inbounds i8, ptr %7, i64 672
  %127 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %126, i32 0, i32 11
  %128 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  %129 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %128, ptr %129, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !16
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %130

130:                                              ; preds = %164, %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %131 = getelementptr inbounds i8, ptr %7, i64 672
  %132 = getelementptr inbounds %"class.siscone_spherical::CSphsplit_merge", ptr %131, i32 0, i32 11
  %133 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #9
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %133, ptr %134, align 8
  %135 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br i1 %135, label %136, label %169

136:                                              ; preds = %130
  %137 = load ptr, ptr @stdout, align 8, !tbaa !9
  %138 = load i32, ptr %21, align 4, !tbaa !5
  %139 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %140 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %140, i32 0, i32 4
  %142 = load double, ptr %141, align 8, !tbaa !17
  %143 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %144 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %143, i32 0, i32 0
  %145 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %144, i32 0, i32 5
  %146 = load double, ptr %145, align 8, !tbaa !20
  %147 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %148 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %147, i32 0, i32 0
  %149 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %148, i32 0, i32 0
  %150 = load double, ptr %149, align 8, !tbaa !21
  %151 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %152 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %151, i32 0, i32 0
  %153 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %152, i32 0, i32 1
  %154 = load double, ptr %153, align 8, !tbaa !22
  %155 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %156 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %155, i32 0, i32 0
  %157 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %156, i32 0, i32 2
  %158 = load double, ptr %157, align 8, !tbaa !23
  %159 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %160 = getelementptr inbounds %"class.siscone_spherical::CSphjet", ptr %159, i32 0, i32 0
  %161 = getelementptr inbounds %"class.siscone_spherical::CSphmomentum", ptr %160, i32 0, i32 1
  %162 = load double, ptr %161, align 8, !tbaa !24
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %137, ptr noundef @.str.10, i32 noundef %138, double noundef %142, double noundef %146, double noundef %150, double noundef %154, double noundef %158, double noundef %162) #9
  br label %164

164:                                              ; preds = %136
  %165 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0) #9
  %166 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %165, ptr %166, align 8
  %167 = load i32, ptr %21, align 4, !tbaa !5
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %21, align 4, !tbaa !5
  br label %130, !llvm.loop !32

169:                                              ; preds = %130
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %170

170:                                              ; preds = %169, %84, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @_ZN17siscone_spherical11CSphsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(929) %7) #9
  call void @llvm.lifetime.end.p0(i64 936, ptr %7) #9
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #9
  %171 = load i32, ptr %3, align 4
  ret i32 %171

172:                                              ; preds = %76, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @_ZN17siscone_spherical11CSphsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(929) %7) #9
  br label %173

173:                                              ; preds = %172, %35
  call void @llvm.lifetime.end.p0(i64 936, ptr %7) #9
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #9
  br label %174

174:                                              ; preds = %173
  %175 = load ptr, ptr %8, align 8
  %176 = load i32, ptr %9, align 4
  %177 = insertvalue { ptr, i32 } poison, ptr %175, 0
  %178 = insertvalue { ptr, i32 } %177, i32 %176, 1
  resume { ptr, i32 } %178
}

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

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

declare void @_ZN17siscone_spherical11CSphsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(929)) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

; 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) #4

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

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

declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(80)) #5 align 2

declare void @_ZN17siscone_spherical12CSphmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(80), double noundef, double noundef, double noundef, double noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN17siscone_spherical12CSphmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6

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

declare i32 @fclose(ptr noundef) #3

declare noundef i32 @_ZN17siscone_spherical11CSphsiscone12compute_jetsERSt6vectorINS_12CSphmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, i32 noundef, double noundef, i32 noundef) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

declare noundef i32 @_ZN17siscone_spherical11CSphsiscone14recompute_jetsEddNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929), double noundef, double noundef, i32 noundef) #3

; 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, ...) #6

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

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

; 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)) #8

; 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 noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(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: nounwind
declare void @_ZN17siscone_spherical11CSphsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(929)) unnamed_addr #6

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

attributes #0 = { mustprogress norecurse 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 #1 = { nocallback nofree nosync 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 = { "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 = { 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{i64 0, i64 8, !9}
!17 = !{!18, !13, i64 32}
!18 = !{!"_ZTSN17siscone_spherical11CSph3vectorE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !19, i64 48}
!19 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!20 = !{!18, !13, i64 40}
!21 = !{!18, !13, i64 0}
!22 = !{!18, !13, i64 8}
!23 = !{!18, !13, i64 16}
!24 = !{!25, !13, i64 64}
!25 = !{!"_ZTSN17siscone_spherical7CSphjetE", !26, i64 0, !13, i64 80, !6, i64 88, !27, i64 96, !13, i64 120, !31, i64 128, !6, i64 136}
!26 = !{!"_ZTSN17siscone_spherical12CSphmomentumE", !18, i64 0, !13, i64 64, !6, i64 72, !6, i64 76}
!27 = !{!"_ZTSSt6vectorIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!31 = !{!"_ZTSN17siscone_spherical19CSphtheta_phi_rangeE", !6, i64 0, !6, i64 4}
!32 = distinct !{!32, !15}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.siscone_spherical::CSphsiscone" = type <{ %"class.siscone_spherical::CSphstable_cones", %"class.siscone_spherical::CSphsplit_merge.base", [7 x i8], %"class.std::vector.30", i8, [7 x i8] }>
%"class.siscone_spherical::CSphstable_cones" = type { %"class.siscone_spherical::CSphvicinity", %"class.std::vector", ptr, i32, double, double, double, %"class.siscone_spherical::CSphmomentum", ptr, ptr, i32, i32, %"class.siscone_spherical::CSphmomentum", %"class.std::vector.10", %"class.std::vector.15", double }
%"class.siscone_spherical::CSphvicinity" = type { ptr, double, double, double, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.0", ptr, %"class.std::vector.5", i32, [4 x i8], %"class.siscone_spherical::CSph3vector", %"class.siscone_spherical::CSph3vector", %"class.siscone_spherical::CSph3vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone_spherical::CSph3vector" = type <{ double, double, double, double, double, double, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"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.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone_spherical::CSphsplit_merge.base" = type <{ i32, [4 x i8], %"class.std::vector", %"class.std::vector.20", i32, [4 x i8], %"class.std::vector", %"class.std::vector", i32, [4 x i8], double, %"class.std::vector.25", ptr, i32, i8, [3 x i8], %"class.siscone_spherical::CSphsplit_merge_ptcomparison", double, double, %"class.std::auto_ptr", double, i8 }>
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = 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.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<siscone_spherical::CSphmomentum>, std::allocator<std::vector<siscone_spherical::CSphmomentum>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [24 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 3) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.siscone_spherical::CSphsiscone", align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca [512 x i8], align 16
  %10 = alloca %"class.siscone_spherical::CSphmomentum", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.start.p0(i64 936, ptr nonnull %4) #9
  invoke void @_ZN17siscone_spherical11CSphsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(929) %4)
          to label %13 unwind label %21

13:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %9) #9
  %14 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %15 = icmp eq ptr %14, null
  br i1 %15, label %17, label %.preheader

.preheader:                                       ; preds = %13
  %16 = call ptr @fgets(ptr noundef nonnull %9, i32 noundef 512, ptr noundef nonnull %14)
  %.not26 = icmp eq ptr %16, null
  br i1 %.not26, label %._crit_edge, label %.lr.ph

17:                                               ; preds = %13
  %18 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.2)
          to label %19 unwind label %23

19:                                               ; preds = %17
  %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %109 unwind label %23

21:                                               ; preds = %2
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %111

23:                                               ; preds = %77, %75, %73, %71, %69, %67, %65, %63, %61, %59, %57, %55, %53, %51, %._crit_edge, %43, %41, %19, %17
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %110

.lr.ph:                                           ; preds = %.preheader, %47
  %25 = load i8, ptr %9, align 16, !tbaa !5
  %.not21 = icmp eq i8 %25, 35
  br i1 %.not21, label %47, label %26

26:                                               ; preds = %.lr.ph
  %27 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.3, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #9
  %28 = icmp eq i32 %27, 4
  br i1 %28, label %29, label %41

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #9
  %30 = load double, ptr %5, align 8, !tbaa !8
  %31 = load double, ptr %6, align 8, !tbaa !8
  %32 = load double, ptr %7, align 8, !tbaa !8
  %33 = load double, ptr %8, align 8, !tbaa !8
  invoke void @_ZN17siscone_spherical12CSphmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(80) %10, double noundef %30, double noundef %31, double noundef %32, double noundef %33)
          to label %34 unwind label %36

34:                                               ; preds = %29
  invoke void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(80) %10)
          to label %35 unwind label %38

35:                                               ; preds = %34
  call void @_ZN17siscone_spherical12CSphmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %10) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #9
  br label %47

36:                                               ; preds = %29
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %40

38:                                               ; preds = %34
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN17siscone_spherical12CSphmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %10) #9
  br label %40

40:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #9
  br label %110

41:                                               ; preds = %26
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
          to label %43 unwind label %23

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %45 unwind label %23

45:                                               ; preds = %43
  %46 = call i32 @fclose(ptr noundef nonnull %14)
  br label %109

47:                                               ; preds = %35, %.lr.ph
  %48 = call ptr @fgets(ptr noundef nonnull %9, i32 noundef 512, ptr noundef nonnull %14)
  %.not = icmp eq ptr %48, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !10

._crit_edge:                                      ; preds = %47, %.preheader
  %49 = call i32 @fclose(ptr noundef nonnull %14)
  %50 = invoke noundef i32 @_ZN17siscone_spherical11CSphsiscone12compute_jetsERSt6vectorINS_12CSphmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef 0x3FE6666666666666, double noundef 5.000000e-01, i32 noundef 0, double noundef 0.000000e+00, i32 noundef 1)
          to label %51 unwind label %23

51:                                               ; preds = %._crit_edge
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %53 unwind label %23

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %52, i32 noundef %50)
          to label %55 unwind label %23

55:                                               ; preds = %53
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull @.str.6)
          to label %57 unwind label %23

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %59 unwind label %23

59:                                               ; preds = %57
  %60 = invoke noundef i32 @_ZN17siscone_spherical11CSphsiscone14recompute_jetsEddNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929) %4, double noundef 7.500000e-01, double noundef 0.000000e+00, i32 noundef 1)
          to label %61 unwind label %23

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %63 unwind label %23

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %62, i32 noundef %60)
          to label %65 unwind label %23

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @.str.7)
          to label %67 unwind label %23

67:                                               ; preds = %65
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %69 unwind label %23

69:                                               ; preds = %67
  %70 = invoke noundef i32 @_ZN17siscone_spherical11CSphsiscone12compute_jetsERSt6vectorINS_12CSphmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef 0x3FE6666666666666, double noundef 5.000000e-01, i32 noundef 1, double noundef 0.000000e+00, i32 noundef 1)
          to label %71 unwind label %23

71:                                               ; preds = %69
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %73 unwind label %23

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %72, i32 noundef %70)
          to label %75 unwind label %23

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull @.str.8)
          to label %77 unwind label %23

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %79 unwind label %23

79:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %80 = load ptr, ptr @stdout, align 8, !tbaa !12
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull @.str.9) #9
  %82 = getelementptr inbounds i8, ptr %4, i64 800
  %83 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #9
  store ptr %83, ptr %11, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %84 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #9
  store ptr %84, ptr %12, align 8
  %85 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br i1 %85, label %.lr.ph30, label %._crit_edge31

.lr.ph30:                                         ; preds = %79, %.lr.ph30
  %.01428 = phi i32 [ %106, %.lr.ph30 ], [ 0, %79 ]
  %86 = load ptr, ptr @stdout, align 8, !tbaa !12
  %87 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %88 = getelementptr inbounds i8, ptr %87, i64 32
  %89 = load double, ptr %88, align 8, !tbaa !14
  %90 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %91 = getelementptr inbounds i8, ptr %90, i64 40
  %92 = load double, ptr %91, align 8, !tbaa !17
  %93 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %94 = load double, ptr %93, align 8, !tbaa !18
  %95 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = load double, ptr %96, align 8, !tbaa !19
  %98 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %99 = getelementptr inbounds i8, ptr %98, i64 16
  %100 = load double, ptr %99, align 8, !tbaa !20
  %101 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %102 = getelementptr inbounds i8, ptr %101, i64 64
  %103 = load double, ptr %102, align 8, !tbaa !21
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef nonnull @.str.10, i32 noundef %.01428, double noundef %89, double noundef %92, double noundef %94, double noundef %97, double noundef %100, double noundef %103) #9
  %105 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 0) #9
  %106 = add nuw nsw i32 %.01428, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %107 = call ptr @_ZNSt6vectorIN17siscone_spherical7CSphjetESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #9
  store ptr %107, ptr %12, align 8
  %108 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br i1 %108, label %.lr.ph30, label %._crit_edge31, !llvm.loop !30

._crit_edge31:                                    ; preds = %.lr.ph30, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %109

109:                                              ; preds = %19, %._crit_edge31, %45
  %.0 = phi i32 [ 2, %45 ], [ 0, %._crit_edge31 ], [ 1, %19 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @_ZN17siscone_spherical11CSphsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(929) %4) #9
  call void @llvm.lifetime.end.p0(i64 936, ptr nonnull %4) #9
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  ret i32 %.0

110:                                              ; preds = %40, %23
  %.pn23 = phi { ptr, i32 } [ %24, %23 ], [ %.pn, %40 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @_ZN17siscone_spherical11CSphsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(929) %4) #9
  br label %111

111:                                              ; preds = %110, %21
  %.pn23.pn = phi { ptr, i32 } [ %.pn23, %110 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 936, ptr nonnull %4) #9
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn23.pn
}

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

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

declare void @_ZN17siscone_spherical11CSphsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(929)) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4

; 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 #5

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

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

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #6 align 2

declare void @_ZN17siscone_spherical12CSphmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(80), double noundef, double noundef, double noundef, double noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN17siscone_spherical12CSphmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #7

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4

declare noundef i32 @_ZN17siscone_spherical11CSphsiscone12compute_jetsERSt6vectorINS_12CSphmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, i32 noundef, double noundef, i32 noundef) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

declare noundef i32 @_ZN17siscone_spherical11CSphsiscone14recompute_jetsEddNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(929), double noundef, double noundef, i32 noundef) local_unnamed_addr #3

; 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

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

; 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 #8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN17siscone_spherical7CSphjetESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #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) local_unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN17siscone_spherical11CSphsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(929)) unnamed_addr #7

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

attributes #0 = { mustprogress norecurse 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 #1 = { mustprogress nocallback nofree nosync 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 = { "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 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress 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 #7 = { 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 = { 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 #9 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"double", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !6, i64 0}
!14 = !{!15, !9, i64 32}
!15 = !{!"_ZTSN17siscone_spherical11CSph3vectorE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !16, i64 48}
!16 = !{!"_ZTSN7siscone10CreferenceE", !6, i64 0}
!17 = !{!15, !9, i64 40}
!18 = !{!15, !9, i64 0}
!19 = !{!15, !9, i64 8}
!20 = !{!15, !9, i64 16}
!21 = !{!22, !9, i64 64}
!22 = !{!"_ZTSN17siscone_spherical7CSphjetE", !23, i64 0, !9, i64 80, !24, i64 88, !25, i64 96, !9, i64 120, !29, i64 128, !24, i64 136}
!23 = !{!"_ZTSN17siscone_spherical12CSphmomentumE", !15, i64 0, !9, i64 64, !24, i64 72, !24, i64 76}
!24 = !{!"int", !6, i64 0}
!25 = !{!"_ZTSSt6vectorIiSaIiEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!29 = !{!"_ZTSN17siscone_spherical19CSphtheta_phi_rangeE", !24, i64 0, !24, i64 4}
!30 = distinct !{!30, !11}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass