; 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 }
%"class.siscone::Carea" = type { %"class.siscone::Csiscone.base", i32, double, double, double, double, double, %"class.std::vector.35" }
%"class.siscone::Csiscone.base" = type <{ %"class.siscone::Cstable_cones", %"class.siscone::Csplit_merge.base", [7 x i8], %"class.std::vector.30", 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.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.std::vector.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 }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Coptions = type { i32, i32, i32, i32, double, double, double, ptr, i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"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::Cjet" = type <{ %"class.siscone::Cmomentum", double, i32, [4 x i8], %"class.std::vector.40", double, %"class.siscone::Ceta_phi_range", i32, [4 x i8] }>
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone::Ceta_phi_range" = type { i32, i32 }
%"class.siscone::Cjet_area" = type { %"class.siscone::Cjet.base", double, double }
%"class.siscone::Cjet.base" = type <{ %"class.siscone::Cmomentum", double, i32, [4 x i8], %"class.std::vector.40", double, %"class.siscone::Ceta_phi_range", i32 }>

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [18 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 [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = 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 %"class.siscone::Carea", 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 %class.Coptions, align 8
  %17 = alloca [512 x i8], align 16
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.siscone::Cmomentum", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = 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) #10
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.start.p0(i64 776, ptr %7) #10
  invoke void @_ZN7siscone5CareaC1Ev(ptr noundef nonnull align 8 dereferenceable(776) %7)
          to label %27 unwind label %35

27:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #10
  invoke void @_ZN8CoptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %28 unwind label %39

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 512, ptr %17) #10
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = load ptr, ptr %5, align 8, !tbaa !9
  %31 = invoke noundef i32 @_ZN8Coptions13parse_optionsEiPPc(ptr noundef nonnull align 8 dereferenceable(56) %16, i32 noundef %29, ptr noundef %30)
          to label %32 unwind label %43

32:                                               ; preds = %28
  %33 = icmp ne i32 %31, 0
  br i1 %33, label %34, label %47

34:                                               ; preds = %32
  call void @exit(i32 noundef 1) #11
  unreachable

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 %308

39:                                               ; preds = %27
  %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 %307

43:                                               ; preds = %58, %51, %28
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %8, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %9, align 4
  br label %306

47:                                               ; preds = %32
  %48 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 0
  %49 = load i32, ptr %48, align 8, !tbaa !11
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %54

51:                                               ; preds = %47
  %52 = invoke noundef i32 @_ZN8Coptions10print_helpEv(ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %53 unwind label %43

53:                                               ; preds = %51
  call void @exit(i32 noundef 0) #11
  unreachable

54:                                               ; preds = %47
  %55 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 1
  %56 = load i32, ptr %55, align 4, !tbaa !15
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %61

58:                                               ; preds = %54
  %59 = invoke noundef i32 @_ZN8Coptions13print_versionEv(ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %60 unwind label %43

60:                                               ; preds = %58
  call void @exit(i32 noundef 0) #11
  unreachable

61:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %62 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 2
  %63 = load i32, ptr %62, align 8, !tbaa !16
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %74

65:                                               ; preds = %61
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %67 unwind label %70

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

69:                                               ; preds = %67
  br label %74

70:                                               ; preds = %251, %248, %246, %185, %182, %180, %173, %171, %168, %166, %159, %156, %150, %147, %145, %143, %93, %86, %83, %81, %74, %67, %65
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  br label %305

74:                                               ; preds = %69, %61
  %75 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 7
  %76 = load ptr, ptr %75, align 8, !tbaa !17
  %77 = invoke noalias ptr @fopen(ptr noundef %76, ptr noundef @.str.1)
          to label %78 unwind label %70

78:                                               ; preds = %74
  store ptr %77, ptr %18, align 8, !tbaa !9
  %79 = load ptr, ptr %18, align 8, !tbaa !9
  %80 = icmp eq ptr %79, null
  br i1 %80, label %81, label %86

81:                                               ; preds = %78
  %82 = 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 %83 unwind label %70

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

85:                                               ; preds = %83
  store i32 1, ptr %3, align 4
  store i32 1, ptr %20, align 4
  br label %303

86:                                               ; preds = %78
  store i32 0, ptr %11, align 4, !tbaa !5
  %87 = invoke noalias ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
          to label %88 unwind label %70

88:                                               ; preds = %86
  store ptr %87, ptr %19, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %155, %88
  %90 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 3
  %91 = load i32, ptr %90, align 4, !tbaa !18
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %99

93:                                               ; preds = %89
  %94 = getelementptr inbounds [512 x i8], ptr %17, i64 0, i64 0
  %95 = load ptr, ptr %18, align 8, !tbaa !9
  %96 = invoke ptr @fgets(ptr noundef %94, i32 noundef 512, ptr noundef %95)
          to label %97 unwind label %70

97:                                               ; preds = %93
  %98 = icmp ne ptr %96, null
  br label %99

99:                                               ; preds = %97, %89
  %100 = phi i1 [ false, %89 ], [ %98, %97 ]
  br i1 %100, label %101, label %156

101:                                              ; preds = %99
  %102 = getelementptr inbounds [512 x i8], ptr %17, i64 0, i64 0
  %103 = load i8, ptr %102, align 16, !tbaa !19
  %104 = sext i8 %103 to i32
  %105 = icmp ne i32 %104, 35
  br i1 %105, label %106, label %155

106:                                              ; preds = %101
  %107 = getelementptr inbounds [512 x i8], ptr %17, i64 0, i64 0
  %108 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %107, ptr noundef @.str.5, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #10
  %109 = icmp eq i32 %108, 4
  br i1 %109, label %110, label %143

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 72, ptr %21) #10
  %111 = load double, ptr %12, align 8, !tbaa !20
  %112 = load double, ptr %13, align 8, !tbaa !20
  %113 = load double, ptr %14, align 8, !tbaa !20
  %114 = load double, ptr %15, align 8, !tbaa !20
  invoke void @_ZN7siscone9CmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(68) %21, double noundef %111, double noundef %112, double noundef %113, double noundef %114)
          to label %115 unwind label %134

115:                                              ; preds = %110
  invoke void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(68) %21)
          to label %116 unwind label %138

116:                                              ; preds = %115
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %21) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr %21) #10
  %117 = load ptr, ptr %19, align 8, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %119) #10
  %121 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %120, i32 0, i32 4
  %122 = load double, ptr %121, align 8, !tbaa !21
  %123 = load i32, ptr %11, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %124) #10
  %126 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %125, i32 0, i32 5
  %127 = load double, ptr %126, align 8, !tbaa !24
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.6, double noundef %122, double noundef %127) #10
  %129 = load i32, ptr %11, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %11, align 4, !tbaa !5
  %131 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 3
  %132 = load i32, ptr %131, align 4, !tbaa !18
  %133 = add nsw i32 %132, -1
  store i32 %133, ptr %131, align 4, !tbaa !18
  br label %154

134:                                              ; preds = %110
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %8, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %9, align 4
  br label %142

138:                                              ; preds = %115
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %8, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %9, align 4
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %21) #10
  br label %142

142:                                              ; preds = %138, %134
  call void @llvm.lifetime.end.p0(i64 72, ptr %21) #10
  br label %305

143:                                              ; preds = %106
  %144 = 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 %145 unwind label %70

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %147 unwind label %70

147:                                              ; preds = %145
  %148 = load ptr, ptr %18, align 8, !tbaa !9
  %149 = invoke i32 @fclose(ptr noundef %148)
          to label %150 unwind label %70

150:                                              ; preds = %147
  %151 = load ptr, ptr %19, align 8, !tbaa !9
  %152 = invoke i32 @fclose(ptr noundef %151)
          to label %153 unwind label %70

153:                                              ; preds = %150
  call void @exit(i32 noundef 2) #11
  unreachable

154:                                              ; preds = %116
  br label %155

155:                                              ; preds = %154, %101
  br label %89, !llvm.loop !25

156:                                              ; preds = %99
  %157 = load ptr, ptr %18, align 8, !tbaa !9
  %158 = invoke i32 @fclose(ptr noundef %157)
          to label %159 unwind label %70

159:                                              ; preds = %156
  %160 = load ptr, ptr %19, align 8, !tbaa !9
  %161 = invoke i32 @fclose(ptr noundef %160)
          to label %162 unwind label %70

162:                                              ; preds = %159
  %163 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 2
  %164 = load i32, ptr %163, align 8, !tbaa !16
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %176

166:                                              ; preds = %162
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %168 unwind label %70

168:                                              ; preds = %166
  %169 = load i32, ptr %11, align 4, !tbaa !5
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %167, i32 noundef %169)
          to label %171 unwind label %70

171:                                              ; preds = %168
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef @.str.9)
          to label %173 unwind label %70

173:                                              ; preds = %171
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %175 unwind label %70

175:                                              ; preds = %173
  br label %176

176:                                              ; preds = %175, %162
  %177 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 2
  %178 = load i32, ptr %177, align 8, !tbaa !16
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %185

180:                                              ; preds = %176
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %182 unwind label %70

182:                                              ; preds = %180
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %184 unwind label %70

184:                                              ; preds = %182
  br label %185

185:                                              ; preds = %184, %176
  %186 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 4
  %187 = load double, ptr %186, align 8, !tbaa !27
  %188 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 5
  %189 = load double, ptr %188, align 8, !tbaa !28
  %190 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 8
  %191 = load i32, ptr %190, align 8, !tbaa !29
  %192 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 9
  %193 = load i32, ptr %192, align 4, !tbaa !30
  %194 = invoke noundef i32 @_ZN7siscone5Carea13compute_areasERSt6vectorINS_9CmomentumESaIS2_EEddiNS_18Esplit_merge_scaleEb(ptr noundef nonnull align 8 dereferenceable(776) %7, ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef %187, double noundef %189, i32 noundef %191, i32 noundef %193, i1 noundef zeroext false)
          to label %195 unwind label %70

195:                                              ; preds = %185
  store i32 %194, ptr %10, align 4, !tbaa !5
  %196 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 2
  %197 = load i32, ptr %196, align 8, !tbaa !16
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %199, label %242

199:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %200

200:                                              ; preds = %225, %199
  %201 = load i32, ptr %22, align 4, !tbaa !5
  %202 = zext i32 %201 to i64
  %203 = getelementptr inbounds %"class.siscone::Csiscone", ptr %7, i32 0, i32 3
  %204 = call noundef i64 @_ZNKSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %203) #10
  %205 = icmp ult i64 %202, %204
  br i1 %205, label %206, label %232

206:                                              ; preds = %200
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %208 unwind label %228

208:                                              ; preds = %206
  %209 = load i32, ptr %22, align 4, !tbaa !5
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %207, i32 noundef %209)
          to label %211 unwind label %228

211:                                              ; preds = %208
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef @.str.12)
          to label %213 unwind label %228

213:                                              ; preds = %211
  %214 = getelementptr inbounds %"class.siscone::Csiscone", ptr %7, i32 0, i32 3
  %215 = load i32, ptr %22, align 4, !tbaa !5
  %216 = zext i32 %215 to i64
  %217 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %214, i64 noundef %216) #10
  %218 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %217) #10
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %212, i64 noundef %218)
          to label %220 unwind label %228

220:                                              ; preds = %213
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %219, ptr noundef @.str.13)
          to label %222 unwind label %228

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %224 unwind label %228

224:                                              ; preds = %222
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %22, align 4, !tbaa !5
  %227 = add i32 %226, 1
  store i32 %227, ptr %22, align 4, !tbaa !5
  br label %200, !llvm.loop !31

228:                                              ; preds = %239, %237, %234, %232, %222, %220, %213, %211, %208, %206
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %8, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %305

232:                                              ; preds = %200
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
          to label %234 unwind label %228

234:                                              ; preds = %232
  %235 = load i32, ptr %10, align 4, !tbaa !5
  %236 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %233, i32 noundef %235)
          to label %237 unwind label %228

237:                                              ; preds = %234
  %238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %236, ptr noundef @.str.15)
          to label %239 unwind label %228

239:                                              ; preds = %237
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %238, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %241 unwind label %228

241:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %242

242:                                              ; preds = %241, %195
  %243 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 2
  %244 = load i32, ptr %243, align 8, !tbaa !16
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %246, label %251

246:                                              ; preds = %242
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
          to label %248 unwind label %70

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %250 unwind label %70

250:                                              ; preds = %248
  br label %251

251:                                              ; preds = %250, %242
  %252 = invoke noalias ptr @fopen(ptr noundef @.str.17, ptr noundef @.str.4)
          to label %253 unwind label %70

253:                                              ; preds = %251
  store ptr %252, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  call void @_ZN9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %254 = getelementptr inbounds %"class.siscone::Carea", ptr %7, i32 0, i32 7
  %255 = call ptr @_ZNSt6vectorIN7siscone9Cjet_areaESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %254) #10
  %256 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %255, ptr %256, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %24, i64 8, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %257

257:                                              ; preds = %283, %253
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %258 = getelementptr inbounds %"class.siscone::Carea", ptr %7, i32 0, i32 7
  %259 = call ptr @_ZNSt6vectorIN7siscone9Cjet_areaESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %258) #10
  %260 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %259, ptr %260, align 8
  %261 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br i1 %261, label %262, label %290

262:                                              ; preds = %257
  %263 = load ptr, ptr %18, align 8, !tbaa !9
  %264 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %265 = getelementptr inbounds %"class.siscone::Cjet", ptr %264, i32 0, i32 0
  %266 = invoke noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68) %265)
          to label %267 unwind label %286

267:                                              ; preds = %262
  %268 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %269 = getelementptr inbounds %"class.siscone::Cjet", ptr %268, i32 0, i32 0
  %270 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %269, i32 0, i32 4
  %271 = load double, ptr %270, align 8, !tbaa !33
  %272 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %273 = getelementptr inbounds %"class.siscone::Cjet", ptr %272, i32 0, i32 0
  %274 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %273, i32 0, i32 5
  %275 = load double, ptr %274, align 8, !tbaa !40
  %276 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %277 = getelementptr inbounds %"class.siscone::Cjet_area", ptr %276, i32 0, i32 2
  %278 = load double, ptr %277, align 8, !tbaa !41
  %279 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %280 = getelementptr inbounds %"class.siscone::Cjet_area", ptr %279, i32 0, i32 1
  %281 = load double, ptr %280, align 8, !tbaa !43
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.18, double noundef %266, double noundef %271, double noundef %275, double noundef %278, double noundef %281) #10
  br label %283

283:                                              ; preds = %267
  %284 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 0) #10
  %285 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %284, ptr %285, align 8
  br label %257, !llvm.loop !44

286:                                              ; preds = %299, %297, %290, %262
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %8, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %305

290:                                              ; preds = %257
  %291 = load ptr, ptr %18, align 8, !tbaa !9
  %292 = invoke i32 @fclose(ptr noundef %291)
          to label %293 unwind label %286

293:                                              ; preds = %290
  %294 = getelementptr inbounds %class.Coptions, ptr %16, i32 0, i32 2
  %295 = load i32, ptr %294, align 8, !tbaa !16
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %297, label %302

297:                                              ; preds = %293
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.19)
          to label %299 unwind label %286

299:                                              ; preds = %297
  %300 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %298, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %301 unwind label %286

301:                                              ; preds = %299
  br label %302

302:                                              ; preds = %301, %293
  store i32 0, ptr %3, align 4
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %303

303:                                              ; preds = %302, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr %17) #10
  call void @_ZN8CoptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @_ZN7siscone5CareaD1Ev(ptr noundef nonnull align 8 dereferenceable(776) %7) #10
  call void @llvm.lifetime.end.p0(i64 776, ptr %7) #10
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #10
  %304 = load i32, ptr %3, align 4
  ret i32 %304

305:                                              ; preds = %286, %228, %142, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %306

306:                                              ; preds = %305, %43
  call void @llvm.lifetime.end.p0(i64 512, ptr %17) #10
  call void @_ZN8CoptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #10
  br label %307

307:                                              ; preds = %306, %39
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @_ZN7siscone5CareaD1Ev(ptr noundef nonnull align 8 dereferenceable(776) %7) #10
  br label %308

308:                                              ; preds = %307, %35
  call void @llvm.lifetime.end.p0(i64 776, ptr %7) #10
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #10
  br label %309

309:                                              ; preds = %308
  %310 = load ptr, ptr %8, align 8
  %311 = load i32, ptr %9, align 4
  %312 = insertvalue { ptr, i32 } poison, ptr %310, 0
  %313 = insertvalue { ptr, i32 } %312, i32 %311, 1
  resume { ptr, i32 } %313
}

; 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

declare void @_ZN7siscone5CareaC1Ev(ptr noundef nonnull align 8 dereferenceable(776)) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @_ZN8CoptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

declare noundef i32 @_ZN8Coptions10print_helpEv(ptr noundef nonnull align 8 dereferenceable(56)) #3

declare noundef i32 @_ZN8Coptions13print_versionEv(ptr noundef nonnull align 8 dereferenceable(56)) #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) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #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

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

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

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #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)) #6 align 2

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

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

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

; 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

declare i32 @fclose(ptr noundef) #3

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

declare noundef i32 @_ZN7siscone5Carea13compute_areasERSt6vectorINS_9CmomentumESaIS2_EEddiNS_18Esplit_merge_scaleEb(ptr noundef nonnull align 8 dereferenceable(776), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #3

; 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) #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) #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) #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: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN7siscone9Cjet_areaESaIS1_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) #8

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

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

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

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

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

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

; 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 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !6, i64 0}
!12 = !{!"_ZTS8Coptions", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !10, i64 40, !6, i64 48, !14, i64 52}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTSN7siscone18Esplit_merge_scaleE", !7, i64 0}
!15 = !{!12, !6, i64 4}
!16 = !{!12, !6, i64 8}
!17 = !{!12, !10, i64 40}
!18 = !{!12, !6, i64 12}
!19 = !{!7, !7, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!22, !13, i64 32}
!22 = !{!"_ZTSN7siscone9CmomentumE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !6, i64 48, !6, i64 52, !23, i64 56}
!23 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!24 = !{!22, !13, i64 40}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!12, !13, i64 16}
!28 = !{!12, !13, i64 24}
!29 = !{!12, !6, i64 48}
!30 = !{!12, !14, i64 52}
!31 = distinct !{!31, !26}
!32 = !{i64 0, i64 8, !9}
!33 = !{!34, !13, i64 32}
!34 = !{!"_ZTSN7siscone4CjetE", !22, i64 0, !13, i64 72, !6, i64 80, !35, i64 88, !13, i64 112, !39, i64 120, !6, i64 128}
!35 = !{!"_ZTSSt6vectorIiSaIiEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!39 = !{!"_ZTSN7siscone14Ceta_phi_rangeE", !6, i64 0, !6, i64 4}
!40 = !{!34, !13, i64 40}
!41 = !{!42, !13, i64 144}
!42 = !{!"_ZTSN7siscone9Cjet_areaE", !34, i64 0, !13, i64 136, !13, i64 144}
!43 = !{!42, !13, i64 136}
!44 = distinct !{!44, !26}


; 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 }
%"class.siscone::Carea" = type { %"class.siscone::Csiscone.base", i32, double, double, double, double, double, %"class.std::vector.35" }
%"class.siscone::Csiscone.base" = type <{ %"class.siscone::Cstable_cones", %"class.siscone::Csplit_merge.base", [7 x i8], %"class.std::vector.30", 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.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.std::vector.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 }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cjet_area, std::allocator<siscone::Cjet_area>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Coptions = type { i32, i32, i32, i32, double, double, double, ptr, i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [18 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 [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.siscone::Carea", align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %class.Coptions, align 8
  %10 = alloca [512 x i8], align 16
  %11 = alloca %"class.siscone::Cmomentum", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #10
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.start.p0(i64 776, ptr nonnull %4) #10
  invoke void @_ZN7siscone5CareaC1Ev(ptr noundef nonnull align 8 dereferenceable(776) %4)
          to label %14 unwind label %19

14:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #10
  invoke void @_ZN8CoptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %9)
          to label %15 unwind label %21

15:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %10) #10
  %16 = invoke noundef i32 @_ZN8Coptions13parse_optionsEiPPc(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef %0, ptr noundef %1)
          to label %17 unwind label %23

17:                                               ; preds = %15
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %25, label %18

18:                                               ; preds = %17
  call void @exit(i32 noundef 1) #11
  unreachable

19:                                               ; preds = %2
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %191

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

23:                                               ; preds = %33, %27, %15
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %189

25:                                               ; preds = %17
  %26 = load i32, ptr %9, align 8, !tbaa !5
  %.not34 = icmp eq i32 %26, 0
  br i1 %.not34, label %30, label %27

27:                                               ; preds = %25
  %28 = invoke noundef i32 @_ZN8Coptions10print_helpEv(ptr noundef nonnull align 8 dereferenceable(56) %9)
          to label %29 unwind label %23

29:                                               ; preds = %27
  call void @exit(i32 noundef 0) #11
  unreachable

30:                                               ; preds = %25
  %31 = getelementptr inbounds i8, ptr %9, i64 4
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %.not35 = icmp eq i32 %32, 0
  br i1 %.not35, label %36, label %33

33:                                               ; preds = %30
  %34 = invoke noundef i32 @_ZN8Coptions13print_versionEv(ptr noundef nonnull align 8 dereferenceable(56) %9)
          to label %35 unwind label %23

35:                                               ; preds = %33
  call void @exit(i32 noundef 0) #11
  unreachable

36:                                               ; preds = %30
  %37 = getelementptr inbounds i8, ptr %9, i64 8
  %38 = load i32, ptr %37, align 8, !tbaa !14
  %.not36 = icmp eq i32 %38, 0
  br i1 %.not36, label %45, label %39

39:                                               ; preds = %36
  %40 = 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)
          to label %41 unwind label %43

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

43:                                               ; preds = %154, %152, %.thread, %110, %108, %105, %103, %101, %99, %89, %87, %52, %50, %41, %39
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %189

45:                                               ; preds = %41, %36
  %46 = getelementptr inbounds i8, ptr %9, i64 40
  %47 = load ptr, ptr %46, align 8, !tbaa !15
  %48 = call noalias ptr @fopen(ptr noundef %47, ptr noundef nonnull @.str.1)
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %54

50:                                               ; preds = %45
  %51 = 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 %52 unwind label %43

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %188 unwind label %43

54:                                               ; preds = %45
  %55 = call noalias ptr @fopen(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4)
  %56 = getelementptr inbounds i8, ptr %9, i64 12
  %57 = load i32, ptr %56, align 4, !tbaa !16
  %.not3765 = icmp eq i32 %57, 0
  br i1 %.not3765, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %54, %94
  %.03066 = phi i32 [ %.131, %94 ], [ 0, %54 ]
  %58 = call ptr @fgets(ptr noundef nonnull %10, i32 noundef 512, ptr noundef nonnull %48)
  %.not38 = icmp eq ptr %58, null
  br i1 %.not38, label %.critedge, label %59

59:                                               ; preds = %.lr.ph
  %60 = load i8, ptr %10, align 16, !tbaa !17
  %.not44 = icmp eq i8 %60, 35
  br i1 %.not44, label %._crit_edge74, label %61

._crit_edge74:                                    ; preds = %59
  %.pre = load i32, ptr %56, align 4, !tbaa !16
  br label %94

61:                                               ; preds = %59
  %62 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %10, ptr noundef nonnull @.str.5, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #10
  %63 = icmp eq i32 %62, 4
  br i1 %63, label %64, label %87

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %11) #10
  %65 = load double, ptr %5, align 8, !tbaa !18
  %66 = load double, ptr %6, align 8, !tbaa !18
  %67 = load double, ptr %7, align 8, !tbaa !18
  %68 = load double, ptr %8, align 8, !tbaa !18
  invoke void @_ZN7siscone9CmomentumC1Edddd(ptr noundef nonnull align 8 dereferenceable(68) %11, double noundef %65, double noundef %66, double noundef %67, double noundef %68)
          to label %69 unwind label %82

69:                                               ; preds = %64
  invoke void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(68) %11)
          to label %70 unwind label %84

70:                                               ; preds = %69
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %11) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %11) #10
  %71 = sext i32 %.03066 to i64
  %72 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %71) #10
  %73 = getelementptr inbounds i8, ptr %72, i64 32
  %74 = load double, ptr %73, align 8, !tbaa !19
  %75 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %71) #10
  %76 = getelementptr inbounds i8, ptr %75, i64 40
  %77 = load double, ptr %76, align 8, !tbaa !22
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull @.str.6, double noundef %74, double noundef %77) #10
  %79 = add nsw i32 %.03066, 1
  %80 = load i32, ptr %56, align 4, !tbaa !16
  %81 = add nsw i32 %80, -1
  store i32 %81, ptr %56, align 4, !tbaa !16
  br label %94

82:                                               ; preds = %64
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %69
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %11) #10
  br label %86

86:                                               ; preds = %84, %82
  %.pn = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %11) #10
  br label %189

87:                                               ; preds = %61
  %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.7)
          to label %89 unwind label %43

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %91 unwind label %43

91:                                               ; preds = %89
  %92 = call i32 @fclose(ptr noundef nonnull %48)
  %93 = call i32 @fclose(ptr noundef %55)
  call void @exit(i32 noundef 2) #11
  unreachable

94:                                               ; preds = %._crit_edge74, %70
  %95 = phi i32 [ %81, %70 ], [ %.pre, %._crit_edge74 ]
  %.131 = phi i32 [ %79, %70 ], [ %.03066, %._crit_edge74 ]
  %.not37 = icmp eq i32 %95, 0
  br i1 %.not37, label %.critedge, label %.lr.ph, !llvm.loop !23

.critedge:                                        ; preds = %.lr.ph, %94, %54
  %.030.lcssa = phi i32 [ 0, %54 ], [ %.131, %94 ], [ %.03066, %.lr.ph ]
  %96 = call i32 @fclose(ptr noundef nonnull %48)
  %97 = call i32 @fclose(ptr noundef %55)
  %98 = load i32, ptr %37, align 8, !tbaa !14
  %.not39 = icmp eq i32 %98, 0
  br i1 %.not39, label %.thread, label %99

99:                                               ; preds = %.critedge
  %100 = 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.8)
          to label %101 unwind label %43

101:                                              ; preds = %99
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %100, i32 noundef %.030.lcssa)
          to label %103 unwind label %43

103:                                              ; preds = %101
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.9)
          to label %105 unwind label %43

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %107 unwind label %43

107:                                              ; preds = %105
  %.pr = load i32, ptr %37, align 8, !tbaa !14
  %.not40 = icmp eq i32 %.pr, 0
  br i1 %.not40, label %.thread, label %108

108:                                              ; preds = %107
  %109 = 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.10)
          to label %110 unwind label %43

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

.thread:                                          ; preds = %.critedge, %110, %107
  %112 = getelementptr inbounds i8, ptr %9, i64 16
  %113 = load double, ptr %112, align 8, !tbaa !25
  %114 = getelementptr inbounds i8, ptr %9, i64 24
  %115 = load double, ptr %114, align 8, !tbaa !26
  %116 = getelementptr inbounds i8, ptr %9, i64 48
  %117 = load i32, ptr %116, align 8, !tbaa !27
  %118 = getelementptr inbounds i8, ptr %9, i64 52
  %119 = load i32, ptr %118, align 4, !tbaa !28
  %120 = invoke noundef i32 @_ZN7siscone5Carea13compute_areasERSt6vectorINS_9CmomentumESaIS2_EEddiNS_18Esplit_merge_scaleEb(ptr noundef nonnull align 8 dereferenceable(776) %4, ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef %113, double noundef %115, i32 noundef %117, i32 noundef %119, i1 noundef zeroext false)
          to label %121 unwind label %43

121:                                              ; preds = %.thread
  %122 = load i32, ptr %37, align 8, !tbaa !14
  %.not41 = icmp eq i32 %122, 0
  br i1 %.not41, label %.thread55, label %.preheader

.preheader:                                       ; preds = %121
  %123 = getelementptr inbounds i8, ptr %4, i64 680
  %124 = call noundef i64 @_ZNKSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #10
  %.not73 = icmp eq i64 %124, 0
  br i1 %.not73, label %._crit_edge, label %.lr.ph70

.lr.ph70:                                         ; preds = %.preheader, %139
  %125 = phi i64 [ %141, %139 ], [ 0, %.preheader ]
  %.02469 = phi i32 [ %140, %139 ], [ 0, %.preheader ]
  %126 = 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.11)
          to label %127 unwind label %.loopexit57

127:                                              ; preds = %.lr.ph70
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %126, i32 noundef %.02469)
          to label %129 unwind label %.loopexit57

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull @.str.12)
          to label %131 unwind label %.loopexit57

131:                                              ; preds = %129
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef %125) #10
  %133 = call noundef i64 @_ZNKSt6vectorIN7siscone9CmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #10
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %130, i64 noundef %133)
          to label %135 unwind label %.loopexit57

135:                                              ; preds = %131
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull @.str.13)
          to label %137 unwind label %.loopexit57

137:                                              ; preds = %135
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %139 unwind label %.loopexit57

139:                                              ; preds = %137
  %140 = add i32 %.02469, 1
  %141 = zext i32 %140 to i64
  %142 = call noundef i64 @_ZNKSt6vectorIS_IN7siscone9CmomentumESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #10
  %143 = icmp ugt i64 %142, %141
  br i1 %143, label %.lr.ph70, label %._crit_edge, !llvm.loop !29

.loopexit57:                                      ; preds = %.lr.ph70, %127, %129, %131, %135, %137
  %lpad.loopexit59 = landingpad { ptr, i32 }
          cleanup
  br label %189

.loopexit.split-lp58:                             ; preds = %._crit_edge, %145, %147, %149
  %lpad.loopexit.split-lp60 = landingpad { ptr, i32 }
          cleanup
  br label %189

._crit_edge:                                      ; preds = %139, %.preheader
  %144 = 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.14)
          to label %145 unwind label %.loopexit.split-lp58

145:                                              ; preds = %._crit_edge
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %144, i32 noundef %120)
          to label %147 unwind label %.loopexit.split-lp58

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef nonnull @.str.15)
          to label %149 unwind label %.loopexit.split-lp58

149:                                              ; preds = %147
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %151 unwind label %.loopexit.split-lp58

151:                                              ; preds = %149
  %.pr54 = load i32, ptr %37, align 8, !tbaa !14
  %.not42 = icmp eq i32 %.pr54, 0
  br i1 %.not42, label %.thread55, label %152

152:                                              ; preds = %151
  %153 = 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.16)
          to label %154 unwind label %43

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.thread55 unwind label %43

.thread55:                                        ; preds = %121, %154, %151
  %156 = call noalias ptr @fopen(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  call void @_ZN9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  %157 = getelementptr inbounds i8, ptr %4, i64 752
  %158 = call ptr @_ZNSt6vectorIN7siscone9Cjet_areaESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #10
  store ptr %158, ptr %12, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  %159 = call ptr @_ZNSt6vectorIN7siscone9Cjet_areaESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #10
  store ptr %159, ptr %13, align 8
  %160 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br i1 %160, label %.lr.ph71, label %._crit_edge72

.lr.ph71:                                         ; preds = %.thread55, %163
  %161 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  %162 = invoke noundef double @_ZNK7siscone9Cmomentum4perpEv(ptr noundef nonnull align 8 dereferenceable(68) %161)
          to label %163 unwind label %.loopexit

163:                                              ; preds = %.lr.ph71
  %164 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  %165 = getelementptr inbounds i8, ptr %164, i64 32
  %166 = load double, ptr %165, align 8, !tbaa !31
  %167 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  %168 = getelementptr inbounds i8, ptr %167, i64 40
  %169 = load double, ptr %168, align 8, !tbaa !38
  %170 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  %171 = getelementptr inbounds i8, ptr %170, i64 144
  %172 = load double, ptr %171, align 8, !tbaa !39
  %173 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  %174 = getelementptr inbounds i8, ptr %173, i64 136
  %175 = load double, ptr %174, align 8, !tbaa !41
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %156, ptr noundef nonnull @.str.18, double noundef %162, double noundef %166, double noundef %169, double noundef %172, double noundef %175) #10
  %177 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 0) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  %178 = call ptr @_ZNSt6vectorIN7siscone9Cjet_areaESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #10
  store ptr %178, ptr %13, align 8
  %179 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br i1 %179, label %.lr.ph71, label %._crit_edge72, !llvm.loop !42

.loopexit:                                        ; preds = %.lr.ph71
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %180

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

180:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %189

._crit_edge72:                                    ; preds = %163, %.thread55
  %181 = call i32 @fclose(ptr noundef %156)
  %182 = load i32, ptr %37, align 8, !tbaa !14
  %.not43 = icmp eq i32 %182, 0
  br i1 %.not43, label %187, label %183

183:                                              ; preds = %._crit_edge72
  %184 = 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.19)
          to label %185 unwind label %.loopexit.split-lp

185:                                              ; preds = %183
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %187 unwind label %.loopexit.split-lp

187:                                              ; preds = %185, %._crit_edge72
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %188

188:                                              ; preds = %52, %187
  %.0 = phi i32 [ 0, %187 ], [ 1, %52 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %10) #10
  call void @_ZN8CoptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @_ZN7siscone5CareaD1Ev(ptr noundef nonnull align 8 dereferenceable(776) %4) #10
  call void @llvm.lifetime.end.p0(i64 776, ptr nonnull %4) #10
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #10
  ret i32 %.0

189:                                              ; preds = %.loopexit57, %.loopexit.split-lp58, %43, %86, %180, %23
  %.pn48 = phi { ptr, i32 } [ %24, %23 ], [ %44, %43 ], [ %.pn, %86 ], [ %lpad.phi, %180 ], [ %lpad.loopexit59, %.loopexit57 ], [ %lpad.loopexit.split-lp60, %.loopexit.split-lp58 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %10) #10
  call void @_ZN8CoptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #10
  br label %190

190:                                              ; preds = %189, %21
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %189 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @_ZN7siscone5CareaD1Ev(ptr noundef nonnull align 8 dereferenceable(776) %4) #10
  br label %191

191:                                              ; preds = %190, %19
  %.pn48.pn.pn = phi { ptr, i32 } [ %.pn48.pn, %190 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 776, ptr nonnull %4) #10
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn48.pn.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 @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare void @_ZN7siscone5CareaC1Ev(ptr noundef nonnull align 8 dereferenceable(776)) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @_ZN8CoptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZN8Coptions10print_helpEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3

declare noundef i32 @_ZN8Coptions13print_versionEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #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) 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 noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #7

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ...) 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

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

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

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

; 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: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #7

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 @_ZN7siscone5Carea13compute_areasERSt6vectorINS_9CmomentumESaIS2_EEddiNS_18Esplit_merge_scaleEb(ptr noundef nonnull align 8 dereferenceable(776), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPN7siscone9Cjet_areaESt6vectorIS2_SaIS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN8CoptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #8

; Function Attrs: nounwind
declare void @_ZN7siscone5CareaD1Ev(ptr noundef nonnull align 8 dereferenceable(776)) unnamed_addr #8

; 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 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS8Coptions", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !7, i64 48, !12, i64 52}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTSN7siscone18Esplit_merge_scaleE", !8, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !11, i64 40}
!16 = !{!6, !7, i64 12}
!17 = !{!8, !8, i64 0}
!18 = !{!10, !10, i64 0}
!19 = !{!20, !10, i64 32}
!20 = !{!"_ZTSN7siscone9CmomentumE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !7, i64 48, !7, i64 52, !21, i64 56}
!21 = !{!"_ZTSN7siscone10CreferenceE", !8, i64 0}
!22 = !{!20, !10, i64 40}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!6, !10, i64 16}
!26 = !{!6, !10, i64 24}
!27 = !{!6, !7, i64 48}
!28 = !{!6, !12, i64 52}
!29 = distinct !{!29, !24}
!30 = !{!11, !11, i64 0}
!31 = !{!32, !10, i64 32}
!32 = !{!"_ZTSN7siscone4CjetE", !20, i64 0, !10, i64 72, !7, i64 80, !33, i64 88, !10, i64 112, !37, i64 120, !7, i64 128}
!33 = !{!"_ZTSSt6vectorIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!37 = !{!"_ZTSN7siscone14Ceta_phi_rangeE", !7, i64 0, !7, i64 4}
!38 = !{!32, !10, i64 40}
!39 = !{!40, !10, i64 144}
!40 = !{!"_ZTSN7siscone9Cjet_areaE", !32, i64 0, !10, i64 136, !10, i64 144}
!41 = !{!40, !10, i64 136}
!42 = distinct !{!42, !24}


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