; 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::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.timeval = type { i64, i64 }
%"class.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.siscone::Csiscone" = type <{ %"class.siscone::Cstable_cones", %"class.siscone::Csplit_merge.base", [7 x i8], %"class.std::vector.30", i8, [7 x i8] }>
%"class.siscone::Cstable_cones" = type { %"class.siscone::Cvicinity", %"class.std::vector", ptr, i32, double, double, %"class.siscone::Cmomentum", ptr, ptr, i32, i32, %"class.siscone::Cmomentum", %"class.std::vector.10", %"class.std::vector.15", double }
%"class.siscone::Cvicinity" = type { ptr, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.0", ptr, %"class.std::vector.5", i32, double, double }
%"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::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.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::Csplit_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::Csplit_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::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone::Csplit_merge_ptcomparison" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.std::auto_ptr" = type { ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 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 ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %struct.timeval, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.siscone::Cmomentum", align 8
  %18 = alloca %"class.siscone::Csiscone", align 8
  %19 = alloca i32, align 4
  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) #7
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store double 0.000000e+00, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store double 0.000000e+00, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store double 1.000000e+00, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = icmp eq i32 %20, 1
  br i1 %21, label %22, label %23

22:                                               ; preds = %2
  store i32 500, ptr %11, align 4, !tbaa !5
  br label %28

23:                                               ; preds = %2
  %24 = load ptr, ptr %5, align 8, !tbaa !9
  %25 = getelementptr inbounds ptr, ptr %24, i64 1
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %26, ptr noundef @.str, ptr noundef %11) #7
  br label %28

28:                                               ; preds = %23, %22
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  %29 = call i32 @gettimeofday(ptr noundef %14, ptr noundef null) #7
  %30 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1
  %31 = load i64, ptr %30, align 8, !tbaa !13
  %32 = trunc i64 %31 to i32
  call void @srand(i32 noundef %32) #7
  %33 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %34 unwind label %99

34:                                               ; preds = %28
  %35 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %36 unwind label %99

36:                                               ; preds = %34
  %37 = invoke noalias ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
          to label %38 unwind label %99

38:                                               ; preds = %36
  store ptr %37, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %96, %38
  %40 = load i32, ptr %12, align 4, !tbaa !5
  %41 = load i32, ptr %11, align 4, !tbaa !5
  %42 = icmp ult i32 %40, %41
  br i1 %42, label %43, label %112

43:                                               ; preds = %39
  %44 = call i32 @rand() #7
  %45 = sitofp i32 %44 to double
  %46 = fmul double 1.000000e+01, %45
  %47 = fdiv double %46, 0x41E0000000000000
  %48 = fadd double -5.000000e+00, %47
  store double %48, ptr %9, align 8, !tbaa !11
  %49 = call i32 @rand() #7
  %50 = sitofp i32 %49 to double
  %51 = fmul double 0x401921FB54442D18, %50
  %52 = fdiv double %51, 0x41E0000000000000
  store double %52, ptr %8, align 8, !tbaa !11
  %53 = call double @log(double noundef 1.000000e-03) #7
  %54 = call double @log(double noundef 1.000000e+05) #7
  %55 = call i32 @rand() #7
  %56 = sitofp i32 %55 to double
  %57 = fmul double %54, %56
  %58 = fdiv double %57, 0x41E0000000000000
  %59 = fadd double %53, %58
  %60 = call double @exp(double noundef %59) #7
  store double %60, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 72, ptr %17) #7
  %61 = load double, ptr %10, align 8, !tbaa !11
  %62 = load double, ptr %8, align 8, !tbaa !11
  %63 = call double @cos(double noundef %62) #7
  %64 = fmul double %61, %63
  %65 = load double, ptr %10, align 8, !tbaa !11
  %66 = load double, ptr %8, align 8, !tbaa !11
  %67 = call double @sin(double noundef %66) #7
  %68 = fmul double %65, %67
  %69 = load double, ptr %10, align 8, !tbaa !11
  %70 = load double, ptr %9, align 8, !tbaa !11
  %71 = call double @sinh(double noundef %70) #7
  %72 = fmul double %69, %71
  %73 = load double, ptr %10, align 8, !tbaa !11
  %74 = load double, ptr %9, align 8, !tbaa !11
  %75 = call double @cosh(double noundef %74) #7
  %76 = fmul double %73, %75
  invoke void @_ZN7siscone9CmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(68) %17, double noundef %64, double noundef %68, double noundef %72, double noundef %76)
          to label %77 unwind label %103

77:                                               ; preds = %43
  invoke void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(68) %17)
          to label %78 unwind label %107

78:                                               ; preds = %77
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %17) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #7
  %79 = load ptr, ptr %13, align 8, !tbaa !9
  %80 = load i32, ptr %12, align 4, !tbaa !5
  %81 = zext i32 %80 to i64
  %82 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %81) #7
  %83 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %82, i32 0, i32 4
  %84 = load double, ptr %83, align 8, !tbaa !16
  %85 = load i32, ptr %12, align 4, !tbaa !5
  %86 = zext i32 %85 to i64
  %87 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %86) #7
  %88 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %87, i32 0, i32 5
  %89 = load double, ptr %88, align 8, !tbaa !19
  %90 = load i32, ptr %12, align 4, !tbaa !5
  %91 = zext i32 %90 to i64
  %92 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %91) #7
  %93 = invoke noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68) %92)
          to label %94 unwind label %99

94:                                               ; preds = %78
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.4, double noundef %84, double noundef %89, double noundef %93) #7
  br label %96

96:                                               ; preds = %94
  %97 = load i32, ptr %12, align 4, !tbaa !5
  %98 = add i32 %97, 1
  store i32 %98, ptr %12, align 4, !tbaa !5
  br label %39, !llvm.loop !20

99:                                               ; preds = %117, %115, %112, %78, %36, %34, %28
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %15, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %16, align 4
  br label %224

103:                                              ; preds = %43
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %15, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %16, align 4
  br label %111

107:                                              ; preds = %77
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %15, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %16, align 4
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %17) #7
  br label %111

111:                                              ; preds = %107, %103
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #7
  br label %224

112:                                              ; preds = %39
  %113 = load ptr, ptr %13, align 8, !tbaa !9
  %114 = invoke i32 @fclose(ptr noundef %113)
          to label %115 unwind label %99

115:                                              ; preds = %112
  %116 = 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 %117 unwind label %99

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %119 unwind label %99

119:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 712, ptr %18) #7
  invoke void @_ZN7siscone8CsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(705) %18)
          to label %120 unwind label %197

120:                                              ; preds = %119
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %122 unwind label %201

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

124:                                              ; preds = %122
  %125 = invoke noundef i32 @_ZN7siscone8Csiscone12compute_jetsERSt6vectorINS_9CmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(705) %18, ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef 0x3FE6666666666666, double noundef 7.500000e-01, i32 noundef 0, double noundef 0.000000e+00, i32 noundef 3)
          to label %126 unwind label %201

126:                                              ; preds = %124
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %128 unwind label %201

128:                                              ; preds = %126
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %130 unwind label %201

130:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %131 = invoke noalias ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.3)
          to label %132 unwind label %205

132:                                              ; preds = %130
  store ptr %131, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %133

133:                                              ; preds = %210, %132
  %134 = load i32, ptr %19, align 4, !tbaa !5
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds %"class.siscone::Csiscone", ptr %18, i32 0, i32 3
  %137 = call noundef i64 @_ZNKSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #7
  %138 = icmp ult i64 %135, %137
  br i1 %138, label %139, label %213

139:                                              ; preds = %133
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %141 unwind label %205

141:                                              ; preds = %139
  %142 = load i32, ptr %19, align 4, !tbaa !5
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %140, i32 noundef %142)
          to label %144 unwind label %205

144:                                              ; preds = %141
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef @.str.10)
          to label %146 unwind label %205

146:                                              ; preds = %144
  %147 = getelementptr inbounds %"class.siscone::Csiscone", ptr %18, i32 0, i32 3
  %148 = load i32, ptr %19, align 4, !tbaa !5
  %149 = zext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %149) #7
  %151 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %150) #7
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %145, i64 noundef %151)
          to label %153 unwind label %205

153:                                              ; preds = %146
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef @.str.11)
          to label %155 unwind label %205

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %157 unwind label %205

157:                                              ; preds = %155
  %158 = load ptr, ptr %13, align 8, !tbaa !9
  %159 = load i32, ptr %19, align 4, !tbaa !5
  %160 = getelementptr inbounds %"class.siscone::Csiscone", ptr %18, i32 0, i32 3
  %161 = load i32, ptr %19, align 4, !tbaa !5
  %162 = zext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %162) #7
  %164 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #7
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef @.str.12, i32 noundef %159, i64 noundef %164) #7
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %166

166:                                              ; preds = %194, %157
  %167 = load i32, ptr %12, align 4, !tbaa !5
  %168 = zext i32 %167 to i64
  %169 = getelementptr inbounds %"class.siscone::Csiscone", ptr %18, i32 0, i32 3
  %170 = load i32, ptr %19, align 4, !tbaa !5
  %171 = zext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %171) #7
  %173 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %172) #7
  %174 = icmp ult i64 %168, %173
  br i1 %174, label %175, label %209

175:                                              ; preds = %166
  %176 = getelementptr inbounds %"class.siscone::Csiscone", ptr %18, i32 0, i32 3
  %177 = load i32, ptr %19, align 4, !tbaa !5
  %178 = zext i32 %177 to i64
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %176, i64 noundef %178) #7
  %180 = load i32, ptr %12, align 4, !tbaa !5
  %181 = zext i32 %180 to i64
  %182 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %181) #7
  store ptr %182, ptr %7, align 8, !tbaa !9
  %183 = load ptr, ptr %13, align 8, !tbaa !9
  %184 = load ptr, ptr %7, align 8, !tbaa !9
  %185 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %184, i32 0, i32 4
  %186 = load double, ptr %185, align 8, !tbaa !16
  %187 = load ptr, ptr %7, align 8, !tbaa !9
  %188 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %187, i32 0, i32 5
  %189 = load double, ptr %188, align 8, !tbaa !19
  %190 = load ptr, ptr %7, align 8, !tbaa !9
  %191 = invoke noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68) %190)
          to label %192 unwind label %205

192:                                              ; preds = %175
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %183, ptr noundef @.str.4, double noundef %186, double noundef %189, double noundef %191) #7
  br label %194

194:                                              ; preds = %192
  %195 = load i32, ptr %12, align 4, !tbaa !5
  %196 = add i32 %195, 1
  store i32 %196, ptr %12, align 4, !tbaa !5
  br label %166, !llvm.loop !22

197:                                              ; preds = %119
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %15, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %16, align 4
  br label %223

201:                                              ; preds = %128, %126, %124, %122, %120
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %15, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %16, align 4
  br label %222

205:                                              ; preds = %218, %216, %213, %175, %155, %153, %146, %144, %141, %139, %130
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %15, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %222

209:                                              ; preds = %166
  br label %210

210:                                              ; preds = %209
  %211 = load i32, ptr %19, align 4, !tbaa !5
  %212 = add i32 %211, 1
  store i32 %212, ptr %19, align 4, !tbaa !5
  br label %133, !llvm.loop !23

213:                                              ; preds = %133
  %214 = load ptr, ptr %13, align 8, !tbaa !9
  %215 = invoke i32 @fclose(ptr noundef %214)
          to label %216 unwind label %205

216:                                              ; preds = %213
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.13)
          to label %218 unwind label %205

218:                                              ; preds = %216
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %217, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %220 unwind label %205

220:                                              ; preds = %218
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @_ZN7siscone8CsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(705) %18) #7
  call void @llvm.lifetime.end.p0(i64 712, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  %221 = load i32, ptr %3, align 4
  ret i32 %221

222:                                              ; preds = %205, %201
  call void @_ZN7siscone8CsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(705) %18) #7
  br label %223

223:                                              ; preds = %222, %197
  call void @llvm.lifetime.end.p0(i64 712, ptr %18) #7
  br label %224

224:                                              ; preds = %223, %111, %99
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  br label %225

225:                                              ; preds = %224
  %226 = load ptr, ptr %15, align 8
  %227 = load i32, ptr %16, align 4
  %228 = insertvalue { ptr, i32 } poison, ptr %226, 0
  %229 = insertvalue { ptr, i32 } %228, i32 %227, 1
  resume { ptr, i32 } %229
}

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

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

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

; Function Attrs: nounwind
declare void @srand(i32 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

declare i32 @__gxx_personality_v0(...)

; 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 noalias ptr @fopen(ptr noundef, ptr noundef) #6

; Function Attrs: nounwind
declare i32 @rand() #3

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

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

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

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

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

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

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

declare void @_ZN7siscone9CmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(68), double noundef, double noundef, double noundef, double noundef) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68)) #4 align 2

declare i32 @fclose(ptr noundef) #6

declare void @_ZN7siscone8CsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(705)) unnamed_addr #6

declare noundef i32 @_ZN7siscone8Csiscone12compute_jetsERSt6vectorINS_9CmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(705), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, i32 noundef, double noundef, i32 noundef) #6

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

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN7siscone8CsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(705)) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_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 = { 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 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 = { "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 }

!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 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"_ZTS7timeval", !15, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !12, i64 32}
!17 = !{!"_ZTSN7siscone9CmomentumE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !6, i64 48, !6, i64 52, !18, i64 56}
!18 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!19 = !{!17, !12, i64 40}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


; 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::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.timeval = type { i64, i64 }
%"class.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.siscone::Csiscone" = type <{ %"class.siscone::Cstable_cones", %"class.siscone::Csplit_merge.base", [7 x i8], %"class.std::vector.30", i8, [7 x i8] }>
%"class.siscone::Cstable_cones" = type { %"class.siscone::Cvicinity", %"class.std::vector", ptr, i32, double, double, %"class.siscone::Cmomentum", ptr, ptr, i32, i32, %"class.siscone::Cmomentum", %"class.std::vector.10", %"class.std::vector.15", double }
%"class.siscone::Cvicinity" = type { ptr, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.0", ptr, %"class.std::vector.5", i32, double, double }
%"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::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.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::Csplit_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::Csplit_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::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cjet, std::allocator<siscone::Cjet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone::Csplit_merge_ptcomparison" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.std::auto_ptr" = type { ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<siscone::Cmomentum>, std::allocator<std::vector<siscone::Cmomentum>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca i32, align 4
  %5 = alloca %struct.timeval, align 8
  %6 = alloca %"class.siscone::Cmomentum", align 8
  %7 = alloca %"class.siscone::Csiscone", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  %8 = icmp eq i32 %0, 1
  br i1 %8, label %9, label %10

9:                                                ; preds = %2
  store i32 500, ptr %4, align 4, !tbaa !5
  br label %14

10:                                               ; preds = %2
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %12, ptr noundef nonnull @.str, ptr noundef nonnull %4) #9
  br label %14

14:                                               ; preds = %10, %9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %15 = call i32 @gettimeofday(ptr noundef nonnull %5, ptr noundef null) #9
  %16 = getelementptr inbounds i8, ptr %5, i64 8
  %17 = load i64, ptr %16, align 8, !tbaa !11
  %18 = trunc i64 %17 to i32
  call void @srand(i32 noundef %18) #9
  %19 = 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.1)
          to label %20 unwind label %.loopexit.split-lp55

20:                                               ; preds = %14
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %22 unwind label %.loopexit.split-lp55

22:                                               ; preds = %20
  %23 = call noalias ptr @fopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3)
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %22, %58
  %indvars.iv = phi i64 [ %indvars.iv.next, %58 ], [ 0, %22 ]
  %25 = call i32 @rand() #9
  %26 = sitofp i32 %25 to double
  %27 = fmul double %26, 1.000000e+01
  %28 = fmul double %27, 0x3E00000000000000
  %29 = fadd double %28, -5.000000e+00
  %30 = call i32 @rand() #9
  %31 = sitofp i32 %30 to double
  %32 = fmul double %31, 0x401921FB54442D18
  %33 = fmul double %32, 0x3E00000000000000
  %34 = call i32 @rand() #9
  %35 = sitofp i32 %34 to double
  %36 = fmul double %35, 0x4027069E2AA2AA5B
  %37 = fmul double %36, 0x3E00000000000000
  %38 = fadd double %37, 0xC01BA18A998FFFA0
  %39 = call double @exp(double noundef %38) #9
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #9
  %40 = call double @cos(double noundef %33) #9
  %41 = fmul double %39, %40
  %42 = call double @sin(double noundef %33) #9
  %43 = fmul double %39, %42
  %44 = call double @sinh(double noundef %29) #9
  %45 = fmul double %39, %44
  %46 = call double @cosh(double noundef %29) #9
  %47 = fmul double %39, %46
  invoke void @_ZN7siscone9CmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(68) %6, double noundef %41, double noundef %43, double noundef %45, double noundef %47)
          to label %48 unwind label %63

48:                                               ; preds = %.lr.ph
  invoke void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(68) %6)
          to label %49 unwind label %65

49:                                               ; preds = %48
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %6) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #9
  %50 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #9
  %51 = getelementptr inbounds i8, ptr %50, i64 32
  %52 = load double, ptr %51, align 8, !tbaa !14
  %53 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #9
  %54 = getelementptr inbounds i8, ptr %53, i64 40
  %55 = load double, ptr %54, align 8, !tbaa !18
  %56 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #9
  %57 = invoke noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68) %56)
          to label %58 unwind label %.loopexit54

58:                                               ; preds = %49
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.4, double noundef %52, double noundef %55, double noundef %57) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = zext i32 %60 to i64
  %62 = icmp ult i64 %indvars.iv.next, %61
  br i1 %62, label %.lr.ph, label %._crit_edge, !llvm.loop !19

.loopexit54:                                      ; preds = %49
  %lpad.loopexit56 = landingpad { ptr, i32 }
          cleanup
  br label %136

.loopexit.split-lp55:                             ; preds = %14, %20, %._crit_edge, %70
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %136

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

65:                                               ; preds = %48
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %6) #9
  br label %67

67:                                               ; preds = %65, %63
  %.pn47 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #9
  br label %136

._crit_edge:                                      ; preds = %58, %22
  %68 = call i32 @fclose(ptr noundef %23)
  %69 = 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 %70 unwind label %.loopexit.split-lp55

70:                                               ; preds = %._crit_edge
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %72 unwind label %.loopexit.split-lp55

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 712, ptr nonnull %7) #9
  invoke void @_ZN7siscone8CsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(705) %7)
          to label %73 unwind label %122

73:                                               ; preds = %72
  %74 = 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.6)
          to label %75 unwind label %124

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

77:                                               ; preds = %75
  %78 = invoke noundef i32 @_ZN7siscone8Csiscone12compute_jetsERSt6vectorINS_9CmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(705) %7, ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef 0x3FE6666666666666, double noundef 7.500000e-01, i32 noundef 0, double noundef 0.000000e+00, i32 noundef 3)
          to label %79 unwind label %124

79:                                               ; preds = %77
  %80 = 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.7)
          to label %81 unwind label %124

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

83:                                               ; preds = %81
  %84 = call noalias ptr @fopen(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3)
  %85 = getelementptr inbounds i8, ptr %7, i64 680
  %86 = call noundef i64 @_ZNKSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #9
  %.not67 = icmp eq i64 %86, 0
  br i1 %.not67, label %._crit_edge66, label %.lr.ph65

.lr.ph65:                                         ; preds = %83, %._crit_edge62
  %87 = phi i64 [ %127, %._crit_edge62 ], [ 0, %83 ]
  %.063 = phi i32 [ %126, %._crit_edge62 ], [ 0, %83 ]
  %88 = 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.9)
          to label %89 unwind label %.loopexit.split-lp.loopexit

89:                                               ; preds = %.lr.ph65
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %88, i32 noundef %.063)
          to label %91 unwind label %.loopexit.split-lp.loopexit

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @.str.10)
          to label %93 unwind label %.loopexit.split-lp.loopexit

93:                                               ; preds = %91
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #9
  %95 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #9
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %92, i64 noundef %95)
          to label %97 unwind label %.loopexit.split-lp.loopexit

97:                                               ; preds = %93
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull @.str.11)
          to label %99 unwind label %.loopexit.split-lp.loopexit

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

101:                                              ; preds = %99
  %102 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #9
  %103 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #9
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef nonnull @.str.12, i32 noundef %.063, i64 noundef %103) #9
  %105 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #9
  %106 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #9
  %.not68 = icmp eq i64 %106, 0
  br i1 %.not68, label %._crit_edge62, label %.lr.ph61

.lr.ph61:                                         ; preds = %101, %115
  %107 = phi i64 [ %118, %115 ], [ 0, %101 ]
  %.14259 = phi i32 [ %117, %115 ], [ 0, %101 ]
  %108 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #9
  %109 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %107) #9
  %110 = getelementptr inbounds i8, ptr %109, i64 32
  %111 = load double, ptr %110, align 8, !tbaa !14
  %112 = getelementptr inbounds i8, ptr %109, i64 40
  %113 = load double, ptr %112, align 8, !tbaa !18
  %114 = invoke noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68) %109)
          to label %115 unwind label %.loopexit

115:                                              ; preds = %.lr.ph61
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef nonnull @.str.4, double noundef %111, double noundef %113, double noundef %114) #9
  %117 = add i32 %.14259, 1
  %118 = zext i32 %117 to i64
  %119 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #9
  %120 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #9
  %121 = icmp ugt i64 %120, %118
  br i1 %121, label %.lr.ph61, label %._crit_edge62, !llvm.loop !21

122:                                              ; preds = %72
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %135

124:                                              ; preds = %81, %79, %77, %75, %73
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit:                                        ; preds = %.lr.ph61
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %99, %97, %93, %91, %89, %.lr.ph65
  %lpad.loopexit51 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %132, %._crit_edge66
  %lpad.loopexit.split-lp52 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

._crit_edge62:                                    ; preds = %115, %101
  %126 = add i32 %.063, 1
  %127 = zext i32 %126 to i64
  %128 = call noundef i64 @_ZNKSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #9
  %129 = icmp ugt i64 %128, %127
  br i1 %129, label %.lr.ph65, label %._crit_edge66, !llvm.loop !22

._crit_edge66:                                    ; preds = %._crit_edge62, %83
  %130 = call i32 @fclose(ptr noundef %84)
  %131 = 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.13)
          to label %132 unwind label %.loopexit.split-lp.loopexit.split-lp

132:                                              ; preds = %._crit_edge66
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %134 unwind label %.loopexit.split-lp.loopexit.split-lp

134:                                              ; preds = %132
  call void @_ZN7siscone8CsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(705) %7) #9
  call void @llvm.lifetime.end.p0(i64 712, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_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

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %124
  %.pn = phi { ptr, i32 } [ %125, %124 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit51, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp52, %.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN7siscone8CsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(705) %7) #9
  br label %135

135:                                              ; preds = %.loopexit.split-lp, %122
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 712, ptr nonnull %7) #9
  br label %136

136:                                              ; preds = %.loopexit54, %.loopexit.split-lp55, %135, %67
  %.pn49 = phi { ptr, i32 } [ %.pn47, %67 ], [ %.pn.pn, %135 ], [ %lpad.loopexit56, %.loopexit54 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp55 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_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 } %.pn49
}

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

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

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

; Function Attrs: nounwind
declare void @srand(i32 noundef) 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

declare i32 @__gxx_personality_v0(...)

; 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 noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

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

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

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

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

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

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

declare void @_ZN7siscone9CmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(68), double noundef, double noundef, double noundef, double noundef) unnamed_addr #8

; Function Attrs: nounwind
declare void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #4

; 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 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #5 align 2

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

declare void @_ZN7siscone8CsisconeC1Ev(ptr noundef nonnull align 8 dereferenceable(705)) unnamed_addr #8

declare noundef i32 @_ZN7siscone8Csiscone12compute_jetsERSt6vectorINS_9CmomentumESaIS2_EEddidNS_18Esplit_merge_scaleE(ptr noundef nonnull align 8 dereferenceable(705), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, i32 noundef, double noundef, i32 noundef) local_unnamed_addr #8

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

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN7siscone8CsisconeD1Ev(ptr noundef nonnull align 8 dereferenceable(705)) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_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 = { 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 = { 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 = { 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 #8 = { "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 = !{!12, !13, i64 8}
!12 = !{!"_ZTS7timeval", !13, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !16, i64 32}
!15 = !{!"_ZTSN7siscone9CmomentumE", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !6, i64 48, !6, i64 52, !17, i64 56}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!18 = !{!15, !16, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}


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