; LLVM IR from fzh3g/Runge-Kutta-Fehlberg :: src (spin_orbit_resonance)

; 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 }
%struct.timeval = type { i64, i64 }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%class.RKF78 = type { [13 x [2 x x86_fp80]], [2 x x86_fp80], [13 x [2 x x86_fp80]], [2 x ptr] }
%"struct.std::_Setiosflags" = type { i32 }
%"struct.std::_Setprecision" = type { i32 }
%"struct.std::_Setw" = type { i32 }

@_ZL2pi = external hidden global x86_fp80, align 16
@.str = external hidden unnamed_addr constant [25 x i8], align 1
@_ZTISt16invalid_argument = external constant ptr
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z8TimeDiff7timevalS_(i64, i64, i64, i64) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.timeval, align 8
  %7 = alloca %struct.timeval, align 8
  %8 = alloca %"class.std::basic_ofstream", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.RKF78, align 16
  %12 = alloca x86_fp80, align 16
  %13 = alloca x86_fp80, align 16
  %14 = alloca x86_fp80, align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca x86_fp80, align 16
  %22 = alloca x86_fp80, align 16
  %23 = alloca x86_fp80, align 16
  %24 = alloca x86_fp80, align 16
  %25 = alloca [2 x x86_fp80], align 16
  %26 = alloca [2 x x86_fp80], align 16
  %27 = alloca x86_fp80, align 16
  %28 = alloca ptr, align 8
  %29 = alloca x86_fp80, align 16
  %30 = alloca %"struct.std::_Setiosflags", align 4
  %31 = alloca %"struct.std::_Setprecision", align 4
  %32 = alloca %"struct.std::_Setw", align 4
  %33 = alloca %"struct.std::_Setw", align 4
  %34 = alloca %"struct.std::_Setiosflags", align 4
  %35 = alloca %"struct.std::_Setprecision", align 4
  %36 = alloca %"struct.std::_Setw", align 4
  %37 = alloca %"struct.std::_Setw", align 4
  %38 = alloca %"struct.std::_Setw", align 4
  %39 = alloca double, align 8
  %40 = alloca %struct.timeval, align 8
  %41 = alloca %struct.timeval, 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 16, ptr %6) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #12
  %42 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) #12
  call void @llvm.lifetime.start.p0(i64 512, ptr %8) #12
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %8)
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %8, ptr noundef @.str, i32 noundef 16)
          to label %43 unwind label %59

43:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 880, ptr %11) #12
  %44 = getelementptr inbounds %class.RKF78, ptr %11, i32 0, i32 3
  %45 = getelementptr inbounds [2 x ptr], ptr %44, i64 0, i64 0
  store ptr @_Z6sor_f0IeET_S0_PS0_, ptr %45, align 16, !tbaa !9
  %46 = getelementptr inbounds %class.RKF78, ptr %11, i32 0, i32 3
  %47 = getelementptr inbounds [2 x ptr], ptr %46, i64 0, i64 1
  store ptr @_Z6sor_f1IeET_S0_PS0_, ptr %47, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #12
  store x86_fp80 0xK3FFCBBBBBBBBBBBBC000, ptr %12, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #12
  %48 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !11
  %49 = fmul x86_fp80 %48, 0xK40008000000000000000
  %50 = fdiv x86_fp80 %49, 0xK4002A000000000000000
  store x86_fp80 %50, ptr %13, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #12
  %51 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !11
  %52 = fmul x86_fp80 0xK40008000000000000000, %51
  %53 = fdiv x86_fp80 %52, 0xK3FFF8000000000000000
  %54 = fmul x86_fp80 %53, 0xK4004A000000000000000
  store x86_fp80 %54, ptr %14, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #12
  store i32 120, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #12
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #12
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %281, %43
  %56 = load i32, ptr %17, align 4, !tbaa !5
  %57 = icmp slt i32 %56, 12
  br i1 %57, label %63, label %58

58:                                               ; preds = %55
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #12
  br label %284

59:                                               ; preds = %2
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %9, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %10, align 4
  br label %319

63:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #12
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %277, %63
  %65 = load i32, ptr %19, align 4, !tbaa !5
  %66 = icmp slt i32 %65, 10
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #12
  br label %280

68:                                               ; preds = %64
  %69 = load i32, ptr %16, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #12
  %71 = load i32, ptr %16, align 4, !tbaa !5
  %72 = mul nsw i32 100, %71
  %73 = load i32, ptr %15, align 4, !tbaa !5
  %74 = sdiv i32 %72, %73
  store i32 %74, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #12
  %75 = load x86_fp80, ptr %12, align 16, !tbaa !11
  %76 = load i32, ptr %17, align 4, !tbaa !5
  %77 = sitofp i32 %76 to x86_fp80
  %78 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %75, x86_fp80 %77, x86_fp80 0xK00000000000000000000)
  store x86_fp80 %78, ptr %21, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #12
  %79 = load x86_fp80, ptr %13, align 16, !tbaa !11
  %80 = load i32, ptr %19, align 4, !tbaa !5
  %81 = sitofp i32 %80 to x86_fp80
  %82 = fmul x86_fp80 %79, %81
  store x86_fp80 %82, ptr %22, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #12
  store x86_fp80 0xK00000000000000000000, ptr %23, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #12
  store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %24, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #12
  %83 = load x86_fp80, ptr %22, align 16, !tbaa !11
  store x86_fp80 %83, ptr %25, align 16, !tbaa !11
  %84 = getelementptr inbounds x86_fp80, ptr %25, i64 1
  %85 = load x86_fp80, ptr %21, align 16, !tbaa !11
  store x86_fp80 %85, ptr %84, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #12
  %86 = load x86_fp80, ptr %22, align 16, !tbaa !11
  store x86_fp80 %86, ptr %26, align 16, !tbaa !11
  %87 = getelementptr inbounds x86_fp80, ptr %26, i64 1
  %88 = load x86_fp80, ptr %21, align 16, !tbaa !11
  store x86_fp80 %88, ptr %87, align 16, !tbaa !11
  br label %89

89:                                               ; preds = %274, %68
  %90 = load x86_fp80, ptr %23, align 16, !tbaa !11
  %91 = load x86_fp80, ptr %14, align 16, !tbaa !11
  %92 = fcmp olt x86_fp80 %90, %91
  br i1 %92, label %93, label %276

93:                                               ; preds = %89
  %94 = getelementptr inbounds [2 x x86_fp80], ptr %25, i64 0, i64 0
  %95 = load x86_fp80, ptr %94, align 16, !tbaa !11
  %96 = getelementptr inbounds [2 x x86_fp80], ptr %26, i64 0, i64 0
  store x86_fp80 %95, ptr %96, align 16, !tbaa !11
  %97 = getelementptr inbounds [2 x x86_fp80], ptr %25, i64 0, i64 1
  %98 = load x86_fp80, ptr %97, align 16, !tbaa !11
  %99 = getelementptr inbounds [2 x x86_fp80], ptr %26, i64 0, i64 1
  store x86_fp80 %98, ptr %99, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #12
  %100 = load x86_fp80, ptr %23, align 16, !tbaa !11
  %101 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !11
  %102 = fmul x86_fp80 %101, 0xK40008000000000000000
  %103 = invoke noundef x86_fp80 @_Z11NearestDiffIeET_S0_S0_(x86_fp80 noundef %100, x86_fp80 noundef %102)
          to label %104 unwind label %107

104:                                              ; preds = %93
  store x86_fp80 %103, ptr %27, align 16, !tbaa !11
  %105 = getelementptr inbounds [2 x x86_fp80], ptr %25, i64 0, i64 0
  invoke void @_ZN5RKF78IeLi2EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(880) %11, ptr noundef nonnull align 16 dereferenceable(16) %24, ptr noundef nonnull align 16 dereferenceable(16) %23, ptr noundef %105, x86_fp80 noundef 0xK3FFF8000000000000000, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800, x86_fp80 noundef 0xK3FC9E69594BEC44DE000)
          to label %106 unwind label %111

106:                                              ; preds = %104
  br label %142

107:                                              ; preds = %93
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %9, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %10, align 4
  br label %275

111:                                              ; preds = %104
  %112 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  br label %115

115:                                              ; preds = %111
  %116 = load i32, ptr %10, align 4
  %117 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt16invalid_argument) #12
  %118 = icmp eq i32 %116, %117
  br i1 %118, label %119, label %275

119:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #12
  %120 = load ptr, ptr %9, align 8
  %121 = call ptr @__cxa_begin_catch(ptr %120) #12
  store ptr %121, ptr %28, align 8
  %122 = load ptr, ptr %28, align 8, !tbaa !9
  %123 = load ptr, ptr %122, align 8, !tbaa !13
  %124 = getelementptr inbounds ptr, ptr %123, i64 2
  %125 = load ptr, ptr %124, align 8
  %126 = call noundef ptr %125(ptr noundef nonnull align 8 dereferenceable(16) %122) #12
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %126)
          to label %128 unwind label %131

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

130:                                              ; preds = %128
  store i32 8, ptr %18, align 4
  invoke void @__cxa_end_catch()
          to label %135 unwind label %136

131:                                              ; preds = %128, %119
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %9, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %140 unwind label %325

135:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #12
  br label %272

136:                                              ; preds = %130
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %9, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %10, align 4
  br label %141

140:                                              ; preds = %131
  br label %141

141:                                              ; preds = %140, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #12
  br label %275

142:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #12
  %143 = load x86_fp80, ptr %23, align 16, !tbaa !11
  %144 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !11
  %145 = fmul x86_fp80 %144, 0xK40008000000000000000
  %146 = invoke noundef x86_fp80 @_Z11NearestDiffIeET_S0_S0_(x86_fp80 noundef %143, x86_fp80 noundef %145)
          to label %147 unwind label %203

147:                                              ; preds = %142
  store x86_fp80 %146, ptr %29, align 16, !tbaa !11
  %148 = load x86_fp80, ptr %27, align 16, !tbaa !11
  %149 = fcmp olt x86_fp80 %148, 0xK00000000000000000000
  br i1 %149, label %150, label %207

150:                                              ; preds = %147
  %151 = load x86_fp80, ptr %29, align 16, !tbaa !11
  %152 = fcmp ogt x86_fp80 %151, 0xK00000000000000000000
  br i1 %152, label %153, label %207

153:                                              ; preds = %150
  %154 = invoke i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
          to label %155 unwind label %203

155:                                              ; preds = %153
  %156 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %30, i32 0, i32 0
  store i32 %154, ptr %156, align 4
  %157 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %30, i32 0, i32 0
  %158 = load i32, ptr %157, align 4
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 %158)
          to label %160 unwind label %203

160:                                              ; preds = %155
  %161 = invoke i32 @_ZSt12setprecisioni(i32 noundef 18)
          to label %162 unwind label %203

162:                                              ; preds = %160
  %163 = getelementptr inbounds %"struct.std::_Setprecision", ptr %31, i32 0, i32 0
  store i32 %161, ptr %163, align 4
  %164 = getelementptr inbounds %"struct.std::_Setprecision", ptr %31, i32 0, i32 0
  %165 = load i32, ptr %164, align 4
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %159, i32 %165)
          to label %167 unwind label %203

167:                                              ; preds = %162
  %168 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %169 unwind label %203

169:                                              ; preds = %167
  %170 = getelementptr inbounds %"struct.std::_Setw", ptr %32, i32 0, i32 0
  store i32 %168, ptr %170, align 4
  %171 = getelementptr inbounds %"struct.std::_Setw", ptr %32, i32 0, i32 0
  %172 = load i32, ptr %171, align 4
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %166, i32 %172)
          to label %174 unwind label %203

174:                                              ; preds = %169
  %175 = getelementptr inbounds [2 x x86_fp80], ptr %26, i64 0, i64 0
  %176 = load x86_fp80, ptr %175, align 16, !tbaa !11
  %177 = getelementptr inbounds [2 x x86_fp80], ptr %25, i64 0, i64 0
  %178 = load x86_fp80, ptr %177, align 16, !tbaa !11
  %179 = fadd x86_fp80 %176, %178
  %180 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !11
  %181 = fdiv x86_fp80 %179, %180
  %182 = fdiv x86_fp80 %181, 0xK40018000000000000000
  %183 = call x86_fp80 @fmodl(x86_fp80 noundef %182, x86_fp80 noundef 0xK3FFF8000000000000000) #12
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %173, x86_fp80 noundef %183)
          to label %185 unwind label %203

185:                                              ; preds = %174
  %186 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %187 unwind label %203

187:                                              ; preds = %185
  %188 = getelementptr inbounds %"struct.std::_Setw", ptr %33, i32 0, i32 0
  store i32 %186, ptr %188, align 4
  %189 = getelementptr inbounds %"struct.std::_Setw", ptr %33, i32 0, i32 0
  %190 = load i32, ptr %189, align 4
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %184, i32 %190)
          to label %192 unwind label %203

192:                                              ; preds = %187
  %193 = getelementptr inbounds [2 x x86_fp80], ptr %26, i64 0, i64 1
  %194 = load x86_fp80, ptr %193, align 16, !tbaa !11
  %195 = getelementptr inbounds [2 x x86_fp80], ptr %25, i64 0, i64 1
  %196 = load x86_fp80, ptr %195, align 16, !tbaa !11
  %197 = fadd x86_fp80 %194, %196
  %198 = fdiv x86_fp80 %197, 0xK40008000000000000000
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %191, x86_fp80 noundef %198)
          to label %200 unwind label %203

200:                                              ; preds = %192
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %202 unwind label %203

202:                                              ; preds = %200
  br label %257

203:                                              ; preds = %269, %267, %264, %259, %257, %253, %249, %244, %242, %234, %229, %227, %222, %220, %215, %213, %200, %192, %187, %185, %174, %169, %167, %162, %160, %155, %153, %142
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %9, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #12
  br label %275

207:                                              ; preds = %150, %147
  %208 = load x86_fp80, ptr %29, align 16, !tbaa !11
  %209 = fcmp oeq x86_fp80 %208, 0xK00000000000000000000
  br i1 %209, label %210, label %256

210:                                              ; preds = %207
  %211 = load x86_fp80, ptr %27, align 16, !tbaa !11
  %212 = fcmp olt x86_fp80 %211, 0xK00000000000000000000
  br i1 %212, label %213, label %256

213:                                              ; preds = %210
  %214 = invoke i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
          to label %215 unwind label %203

215:                                              ; preds = %213
  %216 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %34, i32 0, i32 0
  store i32 %214, ptr %216, align 4
  %217 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %34, i32 0, i32 0
  %218 = load i32, ptr %217, align 4
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 %218)
          to label %220 unwind label %203

220:                                              ; preds = %215
  %221 = invoke i32 @_ZSt12setprecisioni(i32 noundef 18)
          to label %222 unwind label %203

222:                                              ; preds = %220
  %223 = getelementptr inbounds %"struct.std::_Setprecision", ptr %35, i32 0, i32 0
  store i32 %221, ptr %223, align 4
  %224 = getelementptr inbounds %"struct.std::_Setprecision", ptr %35, i32 0, i32 0
  %225 = load i32, ptr %224, align 4
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %219, i32 %225)
          to label %227 unwind label %203

227:                                              ; preds = %222
  %228 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %229 unwind label %203

229:                                              ; preds = %227
  %230 = getelementptr inbounds %"struct.std::_Setw", ptr %36, i32 0, i32 0
  store i32 %228, ptr %230, align 4
  %231 = getelementptr inbounds %"struct.std::_Setw", ptr %36, i32 0, i32 0
  %232 = load i32, ptr %231, align 4
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %226, i32 %232)
          to label %234 unwind label %203

234:                                              ; preds = %229
  %235 = getelementptr inbounds [2 x x86_fp80], ptr %25, i64 0, i64 0
  %236 = load x86_fp80, ptr %235, align 16, !tbaa !11
  %237 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !11
  %238 = fdiv x86_fp80 %236, %237
  %239 = fdiv x86_fp80 %238, 0xK40008000000000000000
  %240 = call x86_fp80 @fmodl(x86_fp80 noundef %239, x86_fp80 noundef 0xK3FFF8000000000000000) #12
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %233, x86_fp80 noundef %240)
          to label %242 unwind label %203

242:                                              ; preds = %234
  %243 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %244 unwind label %203

244:                                              ; preds = %242
  %245 = getelementptr inbounds %"struct.std::_Setw", ptr %37, i32 0, i32 0
  store i32 %243, ptr %245, align 4
  %246 = getelementptr inbounds %"struct.std::_Setw", ptr %37, i32 0, i32 0
  %247 = load i32, ptr %246, align 4
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %241, i32 %247)
          to label %249 unwind label %203

249:                                              ; preds = %244
  %250 = getelementptr inbounds [2 x x86_fp80], ptr %25, i64 0, i64 1
  %251 = load x86_fp80, ptr %250, align 16, !tbaa !11
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %248, x86_fp80 noundef %251)
          to label %253 unwind label %203

253:                                              ; preds = %249
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %252, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %255 unwind label %203

255:                                              ; preds = %253
  br label %256

256:                                              ; preds = %255, %210, %207
  br label %257

257:                                              ; preds = %256, %202
  %258 = invoke i32 @_ZSt4setwi(i32 noundef 3)
          to label %259 unwind label %203

259:                                              ; preds = %257
  %260 = getelementptr inbounds %"struct.std::_Setw", ptr %38, i32 0, i32 0
  store i32 %258, ptr %260, align 4
  %261 = getelementptr inbounds %"struct.std::_Setw", ptr %38, i32 0, i32 0
  %262 = load i32, ptr %261, align 4
  %263 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %262)
          to label %264 unwind label %203

264:                                              ; preds = %259
  %265 = load i32, ptr %20, align 4, !tbaa !5
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %263, i32 noundef %265)
          to label %267 unwind label %203

267:                                              ; preds = %264
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %266, ptr noundef @.str.2)
          to label %269 unwind label %203

269:                                              ; preds = %267
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %271 unwind label %203

271:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #12
  store i32 0, ptr %18, align 4
  br label %272

272:                                              ; preds = %271, %135
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #12
  %273 = load i32, ptr %18, align 4
  switch i32 %273, label %328 [
    i32 0, label %274
    i32 8, label %276
  ]

274:                                              ; preds = %272
  br label %89, !llvm.loop !15

275:                                              ; preds = %203, %141, %115, %107
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #12
  br label %318

276:                                              ; preds = %272, %89
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #12
  br label %277

277:                                              ; preds = %276
  %278 = load i32, ptr %19, align 4, !tbaa !5
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %19, align 4, !tbaa !5
  br label %64, !llvm.loop !17

280:                                              ; preds = %67
  br label %281

281:                                              ; preds = %280
  %282 = load i32, ptr %17, align 4, !tbaa !5
  %283 = add nsw i32 %282, 1
  store i32 %283, ptr %17, align 4, !tbaa !5
  br label %55, !llvm.loop !18

284:                                              ; preds = %58
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %8)
          to label %285 unwind label %310

285:                                              ; preds = %284
  %286 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !19
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !19
  %287 = getelementptr inbounds { i64, i64 }, ptr %40, i32 0, i32 0
  %288 = load i64, ptr %287, align 8
  %289 = getelementptr inbounds { i64, i64 }, ptr %40, i32 0, i32 1
  %290 = load i64, ptr %289, align 8
  %291 = getelementptr inbounds { i64, i64 }, ptr %41, i32 0, i32 0
  %292 = load i64, ptr %291, align 8
  %293 = getelementptr inbounds { i64, i64 }, ptr %41, i32 0, i32 1
  %294 = load i64, ptr %293, align 8
  %295 = call noundef double @_Z8TimeDiff7timevalS_(i64 %288, i64 %290, i64 %292, i64 %294)
  store double %295, ptr %39, align 8, !tbaa !22
  %296 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %297 unwind label %314

297:                                              ; preds = %285
  %298 = load double, ptr %39, align 8, !tbaa !22
  %299 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %296, double noundef %298)
          to label %300 unwind label %314

300:                                              ; preds = %297
  %301 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %299, ptr noundef @.str.4)
          to label %302 unwind label %314

302:                                              ; preds = %300
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %301, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %304 unwind label %314

304:                                              ; preds = %302
  %305 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %306 unwind label %314

306:                                              ; preds = %304
  %307 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %305, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %308 unwind label %314

308:                                              ; preds = %306
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 880, ptr %11) #12
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %8) #12
  call void @llvm.lifetime.end.p0(i64 512, ptr %8) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #12
  %309 = load i32, ptr %3, align 4
  ret i32 %309

310:                                              ; preds = %284
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %9, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %10, align 4
  br label %318

314:                                              ; preds = %306, %304, %302, %300, %297, %285
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %9, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #12
  br label %318

318:                                              ; preds = %314, %310, %275
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 880, ptr %11) #12
  br label %319

319:                                              ; preds = %318, %59
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %8) #12
  call void @llvm.lifetime.end.p0(i64 512, ptr %8) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #12
  br label %320

320:                                              ; preds = %319
  %321 = load ptr, ptr %9, align 8
  %322 = load i32, ptr %10, align 4
  %323 = insertvalue { ptr, i32 } poison, ptr %321, 0
  %324 = insertvalue { ptr, i32 } %323, i32 %322, 1
  resume { ptr, i32 } %324

325:                                              ; preds = %131
  %326 = landingpad { ptr, i32 }
          catch ptr null
  %327 = extractvalue { ptr, i32 } %326, 0
  call void @__clang_call_terminate(ptr %327) #13
  unreachable

328:                                              ; preds = %272
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z6sor_f0IeET_S0_PS0_(x86_fp80 noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z6sor_f1IeET_S0_PS0_(x86_fp80 noundef, ptr noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z11NearestDiffIeET_S0_S0_(x86_fp80 noundef, x86_fp80 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5RKF78IeLi2EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(880), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef, x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #4 align 2

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr)

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

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

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #8

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8), i32) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8), i32) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef) #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) #9

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8), x86_fp80 noundef) #4 align 2

; Function Attrs: nounwind
declare x86_fp80 @fmodl(x86_fp80 noundef, x86_fp80 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) #4 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) #11

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #4 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind memory(none) }
attributes #7 = { 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 #8 = { noinline noreturn nounwind uwtable "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 = { "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 #11 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #12 = { nounwind }
attributes #13 = { 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, !12, i64 0}
!12 = !{!"long double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{i64 0, i64 8, !20, i64 8, i64 8, !20}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !7, i64 0}


; 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 }
%struct.timeval = type { i64, i64 }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%class.RKF78 = type { [13 x [2 x x86_fp80]], [2 x x86_fp80], [13 x [2 x x86_fp80]], [2 x ptr] }

@_ZL2pi = external hidden local_unnamed_addr global x86_fp80, align 16
@.str = external hidden unnamed_addr constant [25 x i8], align 1
@_ZTISt16invalid_argument = external constant ptr
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z8TimeDiff7timevalS_(i64, i64, i64, i64) local_unnamed_addr #0

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.timeval, align 8
  %4 = alloca %struct.timeval, align 8
  %5 = alloca %"class.std::basic_ofstream", align 8
  %6 = alloca %class.RKF78, align 16
  %7 = alloca x86_fp80, align 16
  %8 = alloca x86_fp80, align 16
  %9 = alloca [2 x x86_fp80], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #12
  %10 = call i32 @gettimeofday(ptr noundef nonnull %3, ptr noundef null) #12
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #12
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %5)
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %5, ptr noundef nonnull @.str, i32 noundef 16)
          to label %11 unwind label %22

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 880, ptr nonnull %6) #12
  %12 = getelementptr inbounds i8, ptr %6, i64 864
  store ptr @_Z6sor_f0IeET_S0_PS0_, ptr %12, align 16, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %6, i64 872
  store ptr @_Z6sor_f1IeET_S0_PS0_, ptr %13, align 8, !tbaa !5
  %14 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !9
  %15 = fmul x86_fp80 %14, 0xK40008000000000000000
  %16 = fdiv x86_fp80 %15, 0xK4002A000000000000000
  %17 = fmul x86_fp80 %15, 0xK4004A000000000000000
  %18 = getelementptr inbounds i8, ptr %9, i64 16
  br label %.preheader

.preheader:                                       ; preds = %11, %26
  %.05477 = phi i32 [ 0, %11 ], [ %29, %26 ]
  %.05676 = phi i32 [ 0, %11 ], [ %27, %26 ]
  %19 = uitofp nneg i32 %.05676 to x86_fp80
  %20 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %19, x86_fp80 0xK3FFCBBBBBBBBBBBBC000, x86_fp80 0xK00000000000000000000)
  br label %28

21:                                               ; preds = %26
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %5)
          to label %142 unwind label %157

22:                                               ; preds = %2
  %23 = landingpad { ptr, i32 }
          cleanup
  %24 = extractvalue { ptr, i32 } %23, 0
  %25 = extractvalue { ptr, i32 } %23, 1
  br label %166

26:                                               ; preds = %.thread
  %27 = add nuw nsw i32 %.05676, 1
  %exitcond89.not = icmp eq i32 %27, 12
  br i1 %exitcond89.not, label %21, label %.preheader, !llvm.loop !11

28:                                               ; preds = %.preheader, %.thread
  %.15575 = phi i32 [ %.05477, %.preheader ], [ %29, %.thread ]
  %.05874 = phi i32 [ 0, %.preheader ], [ %141, %.thread ]
  %29 = add nsw i32 %.15575, 1
  %30 = mul nsw i32 %29, 100
  %31 = sdiv i32 %30, 120
  %32 = uitofp nneg i32 %.05874 to x86_fp80
  %33 = fmul x86_fp80 %16, %32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #12
  store x86_fp80 0xK00000000000000000000, ptr %7, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #12
  store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %8, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #12
  store x86_fp80 %33, ptr %9, align 16, !tbaa !9
  store x86_fp80 %20, ptr %18, align 16, !tbaa !9
  br label %34

34:                                               ; preds = %139, %28
  %35 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %36 = fcmp olt x86_fp80 %35, %17
  br i1 %36, label %37, label %.thread

37:                                               ; preds = %34
  %38 = load x86_fp80, ptr %9, align 16, !tbaa !9
  %39 = load x86_fp80, ptr %18, align 16, !tbaa !9
  %40 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !9
  %41 = fmul x86_fp80 %40, 0xK40008000000000000000
  %42 = invoke noundef x86_fp80 @_Z11NearestDiffIeET_S0_S0_(x86_fp80 noundef %35, x86_fp80 noundef %41)
          to label %43 unwind label %44

43:                                               ; preds = %37
  invoke void @_ZN5RKF78IeLi2EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(880) %6, ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull align 16 dereferenceable(16) %7, ptr noundef nonnull %9, x86_fp80 noundef 0xK3FFF8000000000000000, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800, x86_fp80 noundef 0xK3FC9E69594BEC44DE000)
          to label %69 unwind label %48

44:                                               ; preds = %37
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  %47 = extractvalue { ptr, i32 } %45, 1
  br label %.loopexit

48:                                               ; preds = %43
  %49 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %50 = extractvalue { ptr, i32 } %49, 0
  %51 = extractvalue { ptr, i32 } %49, 1
  %52 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt16invalid_argument) #12
  %53 = icmp eq i32 %51, %52
  br i1 %53, label %54, label %.loopexit

54:                                               ; preds = %48
  %55 = call ptr @__cxa_begin_catch(ptr %50) #12
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef ptr %58(ptr noundef nonnull align 8 dereferenceable(16) %55) #12
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %59)
          to label %61 unwind label %64

61:                                               ; preds = %54
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %63 unwind label %64

63:                                               ; preds = %61
  invoke void @__cxa_end_catch()
          to label %.thread unwind label %66

64:                                               ; preds = %61, %54
  %65 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %68 unwind label %169

66:                                               ; preds = %63
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %68

68:                                               ; preds = %64, %66
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  %.0 = extractvalue { ptr, i32 } %.pn, 0
  %.050 = extractvalue { ptr, i32 } %.pn, 1
  br label %.loopexit

69:                                               ; preds = %43
  %70 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %71 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !9
  %72 = fmul x86_fp80 %71, 0xK40008000000000000000
  %73 = invoke noundef x86_fp80 @_Z11NearestDiffIeET_S0_S0_(x86_fp80 noundef %70, x86_fp80 noundef %72)
          to label %74 unwind label %101

74:                                               ; preds = %69
  %75 = fcmp olt x86_fp80 %42, 0xK00000000000000000000
  %76 = fcmp ogt x86_fp80 %73, 0xK00000000000000000000
  %or.cond = and i1 %75, %76
  br i1 %or.cond, label %77, label %105

77:                                               ; preds = %74
  %78 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 %78)
          to label %80 unwind label %101

80:                                               ; preds = %77
  %81 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %79, i32 %81)
          to label %83 unwind label %101

83:                                               ; preds = %80
  %84 = call i32 @_ZSt4setwi(i32 noundef 28)
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %82, i32 %84)
          to label %86 unwind label %101

86:                                               ; preds = %83
  %87 = load x86_fp80, ptr %9, align 16, !tbaa !9
  %88 = fadd x86_fp80 %38, %87
  %89 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !9
  %90 = fdiv x86_fp80 %88, %89
  %91 = fmul x86_fp80 %90, 0xK3FFD8000000000000000
  %92 = call x86_fp80 @fmodl(x86_fp80 noundef %91, x86_fp80 noundef 0xK3FFF8000000000000000) #12
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %85, x86_fp80 noundef %92)
          to label %94 unwind label %101

94:                                               ; preds = %86
  %95 = call i32 @_ZSt4setwi(i32 noundef 28)
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %93, i32 %95)
          to label %97 unwind label %101

97:                                               ; preds = %94
  %98 = load x86_fp80, ptr %18, align 16, !tbaa !9
  %99 = fadd x86_fp80 %39, %98
  %100 = fmul x86_fp80 %99, 0xK3FFE8000000000000000
  br label %.invoke101

101:                                              ; preds = %.invoke101, %.invoke, %139, %137, %135, %132, %123, %116, %113, %110, %107, %94, %86, %83, %80, %77, %69
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  %104 = extractvalue { ptr, i32 } %102, 1
  br label %.loopexit

105:                                              ; preds = %74
  %106 = fcmp oeq x86_fp80 %73, 0xK00000000000000000000
  %or.cond3 = and i1 %75, %106
  br i1 %or.cond3, label %107, label %132

107:                                              ; preds = %105
  %108 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 %108)
          to label %110 unwind label %101

110:                                              ; preds = %107
  %111 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %109, i32 %111)
          to label %113 unwind label %101

113:                                              ; preds = %110
  %114 = call i32 @_ZSt4setwi(i32 noundef 28)
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %112, i32 %114)
          to label %116 unwind label %101

116:                                              ; preds = %113
  %117 = load x86_fp80, ptr %9, align 16, !tbaa !9
  %118 = load x86_fp80, ptr @_ZL2pi, align 16, !tbaa !9
  %119 = fdiv x86_fp80 %117, %118
  %120 = fmul x86_fp80 %119, 0xK3FFE8000000000000000
  %121 = call x86_fp80 @fmodl(x86_fp80 noundef %120, x86_fp80 noundef 0xK3FFF8000000000000000) #12
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %115, x86_fp80 noundef %121)
          to label %123 unwind label %101

123:                                              ; preds = %116
  %124 = call i32 @_ZSt4setwi(i32 noundef 28)
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %122, i32 %124)
          to label %126 unwind label %101

126:                                              ; preds = %123
  %127 = load x86_fp80, ptr %18, align 16, !tbaa !9
  br label %.invoke101

.invoke101:                                       ; preds = %97, %126
  %128 = phi ptr [ %125, %126 ], [ %96, %97 ]
  %129 = phi x86_fp80 [ %127, %126 ], [ %100, %97 ]
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %128, x86_fp80 noundef %129)
          to label %.invoke unwind label %101

.invoke:                                          ; preds = %.invoke101
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %132 unwind label %101

132:                                              ; preds = %.invoke, %105
  %133 = call i32 @_ZSt4setwi(i32 noundef 3)
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %133)
          to label %135 unwind label %101

135:                                              ; preds = %132
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %134, i32 noundef %31)
          to label %137 unwind label %101

137:                                              ; preds = %135
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef nonnull @.str.2)
          to label %139 unwind label %101

139:                                              ; preds = %137
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %34 unwind label %101

.loopexit:                                        ; preds = %48, %101, %68, %44
  %.151 = phi i32 [ %104, %101 ], [ %.050, %68 ], [ %47, %44 ], [ %51, %48 ]
  %.1 = phi ptr [ %103, %101 ], [ %.0, %68 ], [ %46, %44 ], [ %50, %48 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #12
  br label %165

.thread:                                          ; preds = %34, %63
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #12
  %141 = add nuw nsw i32 %.05874, 1
  %exitcond.not = icmp eq i32 %141, 10
  br i1 %exitcond.not, label %26, label %28, !llvm.loop !15

142:                                              ; preds = %21
  %143 = call i32 @gettimeofday(ptr noundef nonnull %4, ptr noundef null) #12
  %.sroa.04.0.copyload = load i64, ptr %3, align 8, !tbaa !16
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %.sroa.25.0.copyload = load i64, ptr %.sroa.25.0..sroa_idx, align 8, !tbaa !16
  %.sroa.0.0.copyload = load i64, ptr %4, align 8, !tbaa !16
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.2.0.copyload = load i64, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !16
  %144 = call noundef double @_Z8TimeDiff7timevalS_(i64 %.sroa.04.0.copyload, i64 %.sroa.25.0.copyload, i64 %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload)
  %145 = 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.3)
          to label %146 unwind label %161

146:                                              ; preds = %142
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %145, double noundef %144)
          to label %148 unwind label %161

148:                                              ; preds = %146
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull @.str.4)
          to label %150 unwind label %161

150:                                              ; preds = %148
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %152 unwind label %161

152:                                              ; preds = %150
  %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.5)
          to label %154 unwind label %161

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 %156 unwind label %161

156:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 880, ptr nonnull %6) #12
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %5) #12
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #12
  ret i32 0

157:                                              ; preds = %21
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  %160 = extractvalue { ptr, i32 } %158, 1
  br label %165

161:                                              ; preds = %154, %152, %150, %148, %146, %142
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  %164 = extractvalue { ptr, i32 } %162, 1
  br label %165

165:                                              ; preds = %161, %157, %.loopexit
  %.252 = phi i32 [ %.151, %.loopexit ], [ %164, %161 ], [ %160, %157 ]
  %.2 = phi ptr [ %.1, %.loopexit ], [ %163, %161 ], [ %159, %157 ]
  call void @llvm.lifetime.end.p0(i64 880, ptr nonnull %6) #12
  br label %166

166:                                              ; preds = %165, %22
  %.353 = phi i32 [ %.252, %165 ], [ %25, %22 ]
  %.3 = phi ptr [ %.2, %165 ], [ %24, %22 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %5) #12
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #12
  %167 = insertvalue { ptr, i32 } poison, ptr %.3, 0
  %168 = insertvalue { ptr, i32 } %167, i32 %.353, 1
  resume { ptr, i32 } %168

169:                                              ; preds = %64
  %170 = landingpad { ptr, i32 }
          catch ptr null
  %171 = extractvalue { ptr, i32 } %170, 0
  call void @__clang_call_terminate(ptr %171) #13
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) local_unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z6sor_f0IeET_S0_PS0_(x86_fp80 noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z6sor_f1IeET_S0_PS0_(x86_fp80 noundef, ptr noundef) #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z11NearestDiffIeET_S0_S0_(x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5RKF78IeLi2EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(880), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef, x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #4 align 2

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef) local_unnamed_addr #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) local_unnamed_addr #9

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare x86_fp80 @fmodl(x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #10

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #4 align 2

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nofree nosync nounwind memory(none) }
attributes #7 = { 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 #8 = { noinline noreturn nounwind uwtable "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 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { "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 #12 = { nounwind }
attributes #13 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}


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