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

; 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 [4 x x86_fp80]], [4 x x86_fp80], [13 x [4 x x86_fp80]], [4 x ptr] }
%"struct.std::_Setiosflags" = type { i32 }
%"struct.std::_Setprecision" = type { i32 }
%"struct.std::_Setw" = type { i32 }

@gaussperturb_f = external dso_local global x86_fp80, align 16
@gaussperturb_e = external dso_local global x86_fp80, align 16
@gaussperturb_a = external dso_local global x86_fp80, align 16
@gaussperturb_miu = external dso_local global x86_fp80, align 16
@gaussperturb_tol = external dso_local global x86_fp80, align 16
@gaussperturb_period_number = external dso_local global x86_fp80, align 16
@gaussperturb_pace_init = external dso_local global x86_fp80, align 16
@gaussperturb_pace_max = external dso_local global x86_fp80, align 16
@gaussperturb_pace_min = external dso_local global x86_fp80, align 16
@.str = external hidden unnamed_addr constant [18 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.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = 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 [4 x x86_fp80], align 16
  %13 = alloca x86_fp80, align 16
  %14 = alloca x86_fp80, align 16
  %15 = alloca x86_fp80, align 16
  %16 = alloca x86_fp80, align 16
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca x86_fp80, align 16
  %21 = alloca x86_fp80, align 16
  %22 = alloca x86_fp80, align 16
  %23 = alloca %"struct.std::_Setiosflags", align 4
  %24 = alloca %"struct.std::_Setprecision", align 4
  %25 = alloca %"struct.std::_Setw", align 4
  %26 = alloca %"struct.std::_Setw", align 4
  %27 = alloca %"struct.std::_Setw", align 4
  %28 = alloca %"struct.std::_Setw", align 4
  %29 = alloca %"struct.std::_Setw", align 4
  %30 = alloca %"struct.std::_Setw", align 4
  %31 = alloca %"struct.std::_Setiosflags", align 4
  %32 = alloca %"struct.std::_Setprecision", align 4
  %33 = alloca %"struct.std::_Setw", align 4
  %34 = alloca %"struct.std::_Setw", align 4
  %35 = alloca %"struct.std::_Setw", 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 %"struct.std::_Setw", align 4
  %40 = alloca %"struct.std::_Setw", align 4
  %41 = alloca %"struct.std::_Setw", align 4
  %42 = alloca double, align 8
  %43 = alloca %struct.timeval, align 8
  %44 = 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) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #11
  %45 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) #11
  call void @llvm.lifetime.start.p0(i64 512, ptr %8) #11
  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 %46 unwind label %89

46:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1760, ptr %11) #11
  %47 = getelementptr inbounds %class.RKF78, ptr %11, i32 0, i32 3
  %48 = getelementptr inbounds [4 x ptr], ptr %47, i64 0, i64 0
  store ptr @_Z15gaussperturb_f0IeET_S0_PS0_, ptr %48, align 16, !tbaa !9
  %49 = getelementptr inbounds %class.RKF78, ptr %11, i32 0, i32 3
  %50 = getelementptr inbounds [4 x ptr], ptr %49, i64 0, i64 1
  store ptr @_Z15gaussperturb_f1IeET_S0_PS0_, ptr %50, align 8, !tbaa !9
  %51 = getelementptr inbounds %class.RKF78, ptr %11, i32 0, i32 3
  %52 = getelementptr inbounds [4 x ptr], ptr %51, i64 0, i64 2
  store ptr @_Z15gaussperturb_f2IeET_S0_PS0_, ptr %52, align 16, !tbaa !9
  %53 = getelementptr inbounds %class.RKF78, ptr %11, i32 0, i32 3
  %54 = getelementptr inbounds [4 x ptr], ptr %53, i64 0, i64 3
  store ptr @_Z15gaussperturb_f3IeET_S0_PS0_, ptr %54, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #11
  %55 = load x86_fp80, ptr @gaussperturb_a, align 16, !tbaa !11
  store x86_fp80 %55, ptr %12, align 16, !tbaa !11
  %56 = getelementptr inbounds x86_fp80, ptr %12, i64 1
  %57 = load x86_fp80, ptr @gaussperturb_e, align 16, !tbaa !11
  store x86_fp80 %57, ptr %56, align 16, !tbaa !11
  %58 = getelementptr inbounds x86_fp80, ptr %12, i64 2
  store x86_fp80 0xK00000000000000000000, ptr %58, align 16, !tbaa !11
  %59 = getelementptr inbounds x86_fp80, ptr %12, i64 3
  store x86_fp80 0xK00000000000000000000, ptr %59, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #11
  %60 = call double @atan(double noundef 1.000000e+00) #11
  %61 = fmul double 8.000000e+00, %60
  %62 = fpext double %61 to x86_fp80
  %63 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 0
  %64 = load x86_fp80, ptr %63, align 16, !tbaa !11
  %65 = invoke noundef x86_fp80 @_ZSt3powIedEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(x86_fp80 noundef %64, double noundef 1.500000e+00)
          to label %66 unwind label %93

66:                                               ; preds = %46
  %67 = fmul x86_fp80 %62, %65
  %68 = load x86_fp80, ptr @gaussperturb_miu, align 16, !tbaa !11
  %69 = invoke noundef x86_fp80 @_ZSt3powIedEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(x86_fp80 noundef %68, double noundef 5.000000e-01)
          to label %70 unwind label %93

70:                                               ; preds = %66
  %71 = fdiv x86_fp80 %67, %69
  store x86_fp80 %71, ptr %13, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #11
  %72 = load x86_fp80, ptr @gaussperturb_period_number, align 16, !tbaa !11
  %73 = load x86_fp80, ptr %13, align 16, !tbaa !11
  %74 = fmul x86_fp80 %72, %73
  store x86_fp80 %74, ptr %14, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #11
  store x86_fp80 0xK00000000000000000000, ptr %15, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #11
  %75 = load x86_fp80, ptr @gaussperturb_pace_init, align 16, !tbaa !11
  store x86_fp80 %75, ptr %16, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #11
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %352, %70
  %77 = load x86_fp80, ptr %15, align 16, !tbaa !11
  %78 = load x86_fp80, ptr %14, align 16, !tbaa !11
  %79 = fcmp olt x86_fp80 %77, %78
  br i1 %79, label %80, label %367

80:                                               ; preds = %76
  %81 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 0
  %82 = load x86_fp80, ptr @gaussperturb_tol, align 16, !tbaa !11
  invoke void @_Z18gaussperturb_get_fIeEvPT_S0_(ptr noundef %81, x86_fp80 noundef %82)
          to label %83 unwind label %97

83:                                               ; preds = %80
  %84 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 0
  %85 = load x86_fp80, ptr @gaussperturb_pace_max, align 16, !tbaa !11
  %86 = load x86_fp80, ptr @gaussperturb_pace_min, align 16, !tbaa !11
  %87 = load x86_fp80, ptr @gaussperturb_tol, align 16, !tbaa !11
  invoke void @_ZN5RKF78IeLi4EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(1760) %11, ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull align 16 dereferenceable(16) %15, ptr noundef %84, x86_fp80 noundef %85, x86_fp80 noundef %86, x86_fp80 noundef %87)
          to label %88 unwind label %101

88:                                               ; preds = %83
  br label %132

89:                                               ; preds = %2
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %9, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %10, align 4
  br label %407

93:                                               ; preds = %66, %46
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %9, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %10, align 4
  br label %406

97:                                               ; preds = %367, %80
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %9, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %10, align 4
  br label %405

101:                                              ; preds = %83
  %102 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %9, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %10, align 4
  br label %105

105:                                              ; preds = %101
  %106 = load i32, ptr %10, align 4
  %107 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt16invalid_argument) #11
  %108 = icmp eq i32 %106, %107
  br i1 %108, label %109, label %405

109:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %110 = load ptr, ptr %9, align 8
  %111 = call ptr @__cxa_begin_catch(ptr %110) #11
  store ptr %111, ptr %18, align 8
  %112 = load ptr, ptr %18, align 8, !tbaa !9
  %113 = load ptr, ptr %112, align 8, !tbaa !13
  %114 = getelementptr inbounds ptr, ptr %113, i64 2
  %115 = load ptr, ptr %114, align 8
  %116 = call noundef ptr %115(ptr noundef nonnull align 8 dereferenceable(16) %112) #11
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %116)
          to label %118 unwind label %121

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

120:                                              ; preds = %118
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %19, align 4
  invoke void @__cxa_end_catch()
          to label %125 unwind label %126

121:                                              ; preds = %118, %109
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %9, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %130 unwind label %413

125:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %403

126:                                              ; preds = %120
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %9, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %10, align 4
  br label %131

130:                                              ; preds = %121
  br label %131

131:                                              ; preds = %130, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %405

132:                                              ; preds = %88
  %133 = load i32, ptr %17, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #11
  %135 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 0
  %136 = load x86_fp80, ptr %135, align 16, !tbaa !11
  %137 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 1
  %138 = load x86_fp80, ptr %137, align 16, !tbaa !11
  %139 = invoke noundef x86_fp80 @_Z18gaussperturb_beta2IeET_S0_(x86_fp80 noundef %138)
          to label %140 unwind label %353

140:                                              ; preds = %132
  %141 = fmul x86_fp80 %136, %139
  %142 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 1
  %143 = load x86_fp80, ptr %142, align 16, !tbaa !11
  %144 = invoke noundef x86_fp80 @_Z18gaussperturb_gammaIeET_S0_(x86_fp80 noundef %143)
          to label %145 unwind label %353

145:                                              ; preds = %140
  %146 = fmul x86_fp80 %141, %144
  store x86_fp80 %146, ptr %20, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #11
  %147 = load x86_fp80, ptr %20, align 16, !tbaa !11
  %148 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 2
  %149 = load x86_fp80, ptr %148, align 16, !tbaa !11
  %150 = load x86_fp80, ptr @gaussperturb_f, align 16, !tbaa !11
  %151 = fadd x86_fp80 %149, %150
  %152 = invoke noundef x86_fp80 @_ZSt3cose(x86_fp80 noundef %151)
          to label %153 unwind label %357

153:                                              ; preds = %145
  %154 = fmul x86_fp80 %147, %152
  store x86_fp80 %154, ptr %21, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #11
  %155 = load x86_fp80, ptr %20, align 16, !tbaa !11
  %156 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 2
  %157 = load x86_fp80, ptr %156, align 16, !tbaa !11
  %158 = load x86_fp80, ptr @gaussperturb_f, align 16, !tbaa !11
  %159 = fadd x86_fp80 %157, %158
  %160 = invoke noundef x86_fp80 @_ZSt3sine(x86_fp80 noundef %159)
          to label %161 unwind label %361

161:                                              ; preds = %153
  %162 = fmul x86_fp80 %155, %160
  store x86_fp80 %162, ptr %22, align 16, !tbaa !11
  %163 = invoke i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
          to label %164 unwind label %361

164:                                              ; preds = %161
  %165 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %23, i32 0, i32 0
  store i32 %163, ptr %165, align 4
  %166 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %23, i32 0, i32 0
  %167 = load i32, ptr %166, align 4
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %167)
          to label %169 unwind label %361

169:                                              ; preds = %164
  %170 = invoke i32 @_ZSt12setprecisioni(i32 noundef 18)
          to label %171 unwind label %361

171:                                              ; preds = %169
  %172 = getelementptr inbounds %"struct.std::_Setprecision", ptr %24, i32 0, i32 0
  store i32 %170, ptr %172, align 4
  %173 = getelementptr inbounds %"struct.std::_Setprecision", ptr %24, i32 0, i32 0
  %174 = load i32, ptr %173, align 4
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %168, i32 %174)
          to label %176 unwind label %361

176:                                              ; preds = %171
  %177 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %178 unwind label %361

178:                                              ; preds = %176
  %179 = getelementptr inbounds %"struct.std::_Setw", ptr %25, i32 0, i32 0
  store i32 %177, ptr %179, align 4
  %180 = getelementptr inbounds %"struct.std::_Setw", ptr %25, i32 0, i32 0
  %181 = load i32, ptr %180, align 4
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 %181)
          to label %183 unwind label %361

183:                                              ; preds = %178
  %184 = load x86_fp80, ptr %15, align 16, !tbaa !11
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %182, x86_fp80 noundef %184)
          to label %186 unwind label %361

186:                                              ; preds = %183
  %187 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %188 unwind label %361

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

193:                                              ; preds = %188
  %194 = load x86_fp80, ptr %16, align 16, !tbaa !11
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %192, x86_fp80 noundef %194)
          to label %196 unwind label %361

196:                                              ; preds = %193
  %197 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %198 unwind label %361

198:                                              ; preds = %196
  %199 = getelementptr inbounds %"struct.std::_Setw", ptr %27, i32 0, i32 0
  store i32 %197, ptr %199, align 4
  %200 = getelementptr inbounds %"struct.std::_Setw", ptr %27, i32 0, i32 0
  %201 = load i32, ptr %200, align 4
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %195, i32 %201)
          to label %203 unwind label %361

203:                                              ; preds = %198
  %204 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 0
  %205 = load x86_fp80, ptr %204, align 16, !tbaa !11
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %202, x86_fp80 noundef %205)
          to label %207 unwind label %361

207:                                              ; preds = %203
  %208 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %209 unwind label %361

209:                                              ; preds = %207
  %210 = getelementptr inbounds %"struct.std::_Setw", ptr %28, i32 0, i32 0
  store i32 %208, ptr %210, align 4
  %211 = getelementptr inbounds %"struct.std::_Setw", ptr %28, i32 0, i32 0
  %212 = load i32, ptr %211, align 4
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %206, i32 %212)
          to label %214 unwind label %361

214:                                              ; preds = %209
  %215 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 1
  %216 = load x86_fp80, ptr %215, align 16, !tbaa !11
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %213, x86_fp80 noundef %216)
          to label %218 unwind label %361

218:                                              ; preds = %214
  %219 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %220 unwind label %361

220:                                              ; preds = %218
  %221 = getelementptr inbounds %"struct.std::_Setw", ptr %29, i32 0, i32 0
  store i32 %219, ptr %221, align 4
  %222 = getelementptr inbounds %"struct.std::_Setw", ptr %29, i32 0, i32 0
  %223 = load i32, ptr %222, align 4
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %217, i32 %223)
          to label %225 unwind label %361

225:                                              ; preds = %220
  %226 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 2
  %227 = load x86_fp80, ptr %226, align 16, !tbaa !11
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %224, x86_fp80 noundef %227)
          to label %229 unwind label %361

229:                                              ; preds = %225
  %230 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %231 unwind label %361

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

236:                                              ; preds = %231
  %237 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 3
  %238 = load x86_fp80, ptr %237, align 16, !tbaa !11
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %235, x86_fp80 noundef %238)
          to label %240 unwind label %361

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

242:                                              ; preds = %240
  %243 = invoke i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
          to label %244 unwind label %361

244:                                              ; preds = %242
  %245 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %31, i32 0, i32 0
  store i32 %243, ptr %245, align 4
  %246 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %31, 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_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 %247)
          to label %249 unwind label %361

249:                                              ; preds = %244
  %250 = invoke i32 @_ZSt12setprecisioni(i32 noundef 18)
          to label %251 unwind label %361

251:                                              ; preds = %249
  %252 = getelementptr inbounds %"struct.std::_Setprecision", ptr %32, i32 0, i32 0
  store i32 %250, ptr %252, align 4
  %253 = getelementptr inbounds %"struct.std::_Setprecision", ptr %32, i32 0, i32 0
  %254 = load i32, ptr %253, align 4
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %248, i32 %254)
          to label %256 unwind label %361

256:                                              ; preds = %251
  %257 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %258 unwind label %361

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

263:                                              ; preds = %258
  %264 = load x86_fp80, ptr %15, align 16, !tbaa !11
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %262, x86_fp80 noundef %264)
          to label %266 unwind label %361

266:                                              ; preds = %263
  %267 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %268 unwind label %361

268:                                              ; preds = %266
  %269 = getelementptr inbounds %"struct.std::_Setw", ptr %34, i32 0, i32 0
  store i32 %267, ptr %269, align 4
  %270 = getelementptr inbounds %"struct.std::_Setw", ptr %34, i32 0, i32 0
  %271 = load i32, ptr %270, align 4
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %265, i32 %271)
          to label %273 unwind label %361

273:                                              ; preds = %268
  %274 = load x86_fp80, ptr %16, align 16, !tbaa !11
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %272, x86_fp80 noundef %274)
          to label %276 unwind label %361

276:                                              ; preds = %273
  %277 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %278 unwind label %361

278:                                              ; preds = %276
  %279 = getelementptr inbounds %"struct.std::_Setw", ptr %35, i32 0, i32 0
  store i32 %277, ptr %279, align 4
  %280 = getelementptr inbounds %"struct.std::_Setw", ptr %35, i32 0, i32 0
  %281 = load i32, ptr %280, align 4
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %275, i32 %281)
          to label %283 unwind label %361

283:                                              ; preds = %278
  %284 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 0
  %285 = load x86_fp80, ptr %284, align 16, !tbaa !11
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %282, x86_fp80 noundef %285)
          to label %287 unwind label %361

287:                                              ; preds = %283
  %288 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %289 unwind label %361

289:                                              ; preds = %287
  %290 = getelementptr inbounds %"struct.std::_Setw", ptr %36, i32 0, i32 0
  store i32 %288, ptr %290, align 4
  %291 = getelementptr inbounds %"struct.std::_Setw", ptr %36, i32 0, i32 0
  %292 = load i32, ptr %291, align 4
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %286, i32 %292)
          to label %294 unwind label %361

294:                                              ; preds = %289
  %295 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 1
  %296 = load x86_fp80, ptr %295, align 16, !tbaa !11
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %293, x86_fp80 noundef %296)
          to label %298 unwind label %361

298:                                              ; preds = %294
  %299 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %300 unwind label %361

300:                                              ; preds = %298
  %301 = getelementptr inbounds %"struct.std::_Setw", ptr %37, i32 0, i32 0
  store i32 %299, ptr %301, align 4
  %302 = getelementptr inbounds %"struct.std::_Setw", ptr %37, i32 0, i32 0
  %303 = load i32, ptr %302, align 4
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %297, i32 %303)
          to label %305 unwind label %361

305:                                              ; preds = %300
  %306 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 2
  %307 = load x86_fp80, ptr %306, align 16, !tbaa !11
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %304, x86_fp80 noundef %307)
          to label %309 unwind label %361

309:                                              ; preds = %305
  %310 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %311 unwind label %361

311:                                              ; preds = %309
  %312 = getelementptr inbounds %"struct.std::_Setw", ptr %38, i32 0, i32 0
  store i32 %310, ptr %312, align 4
  %313 = getelementptr inbounds %"struct.std::_Setw", ptr %38, i32 0, i32 0
  %314 = load i32, ptr %313, align 4
  %315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %308, i32 %314)
          to label %316 unwind label %361

316:                                              ; preds = %311
  %317 = getelementptr inbounds [4 x x86_fp80], ptr %12, i64 0, i64 3
  %318 = load x86_fp80, ptr %317, align 16, !tbaa !11
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %315, x86_fp80 noundef %318)
          to label %320 unwind label %361

320:                                              ; preds = %316
  %321 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %322 unwind label %361

322:                                              ; preds = %320
  %323 = getelementptr inbounds %"struct.std::_Setw", ptr %39, i32 0, i32 0
  store i32 %321, ptr %323, align 4
  %324 = getelementptr inbounds %"struct.std::_Setw", ptr %39, i32 0, i32 0
  %325 = load i32, ptr %324, align 4
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %319, i32 %325)
          to label %327 unwind label %361

327:                                              ; preds = %322
  %328 = load x86_fp80, ptr %21, align 16, !tbaa !11
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %326, x86_fp80 noundef %328)
          to label %330 unwind label %361

330:                                              ; preds = %327
  %331 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %332 unwind label %361

332:                                              ; preds = %330
  %333 = getelementptr inbounds %"struct.std::_Setw", ptr %40, i32 0, i32 0
  store i32 %331, ptr %333, align 4
  %334 = getelementptr inbounds %"struct.std::_Setw", ptr %40, i32 0, i32 0
  %335 = load i32, ptr %334, align 4
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %329, i32 %335)
          to label %337 unwind label %361

337:                                              ; preds = %332
  %338 = load x86_fp80, ptr %22, align 16, !tbaa !11
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %336, x86_fp80 noundef %338)
          to label %340 unwind label %361

340:                                              ; preds = %337
  %341 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %342 unwind label %361

342:                                              ; preds = %340
  %343 = getelementptr inbounds %"struct.std::_Setw", ptr %41, i32 0, i32 0
  store i32 %341, ptr %343, align 4
  %344 = getelementptr inbounds %"struct.std::_Setw", ptr %41, i32 0, i32 0
  %345 = load i32, ptr %344, align 4
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %339, i32 %345)
          to label %347 unwind label %361

347:                                              ; preds = %342
  %348 = load x86_fp80, ptr @gaussperturb_f, align 16, !tbaa !11
  %349 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %346, x86_fp80 noundef %348)
          to label %350 unwind label %361

350:                                              ; preds = %347
  %351 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %349, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %352 unwind label %361

352:                                              ; preds = %350
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #11
  br label %76, !llvm.loop !15

353:                                              ; preds = %140, %132
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %9, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %10, align 4
  br label %366

357:                                              ; preds = %145
  %358 = landingpad { ptr, i32 }
          cleanup
  %359 = extractvalue { ptr, i32 } %358, 0
  store ptr %359, ptr %9, align 8
  %360 = extractvalue { ptr, i32 } %358, 1
  store i32 %360, ptr %10, align 4
  br label %365

361:                                              ; preds = %350, %347, %342, %340, %337, %332, %330, %327, %322, %320, %316, %311, %309, %305, %300, %298, %294, %289, %287, %283, %278, %276, %273, %268, %266, %263, %258, %256, %251, %249, %244, %242, %240, %236, %231, %229, %225, %220, %218, %214, %209, %207, %203, %198, %196, %193, %188, %186, %183, %178, %176, %171, %169, %164, %161, %153
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %9, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #11
  br label %365

365:                                              ; preds = %361, %357
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #11
  br label %366

366:                                              ; preds = %365, %353
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #11
  br label %405

367:                                              ; preds = %76
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %8)
          to label %368 unwind label %97

368:                                              ; preds = %367
  %369 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !17
  %370 = getelementptr inbounds { i64, i64 }, ptr %43, i32 0, i32 0
  %371 = load i64, ptr %370, align 8
  %372 = getelementptr inbounds { i64, i64 }, ptr %43, i32 0, i32 1
  %373 = load i64, ptr %372, align 8
  %374 = getelementptr inbounds { i64, i64 }, ptr %44, i32 0, i32 0
  %375 = load i64, ptr %374, align 8
  %376 = getelementptr inbounds { i64, i64 }, ptr %44, i32 0, i32 1
  %377 = load i64, ptr %376, align 8
  %378 = call noundef double @_Z8TimeDiff7timevalS_(i64 %371, i64 %373, i64 %375, i64 %377)
  store double %378, ptr %42, align 8, !tbaa !20
  %379 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %380 unwind label %399

380:                                              ; preds = %368
  %381 = load double, ptr %42, align 8, !tbaa !20
  %382 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %379, double noundef %381)
          to label %383 unwind label %399

383:                                              ; preds = %380
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %382, ptr noundef @.str.2)
          to label %385 unwind label %399

385:                                              ; preds = %383
  %386 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %384, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %387 unwind label %399

387:                                              ; preds = %385
  %388 = load i32, ptr %17, align 4, !tbaa !5
  %389 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %388)
          to label %390 unwind label %399

390:                                              ; preds = %387
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %389, ptr noundef @.str.3)
          to label %392 unwind label %399

392:                                              ; preds = %390
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %391, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %394 unwind label %399

394:                                              ; preds = %392
  %395 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %396 unwind label %399

396:                                              ; preds = %394
  %397 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %395, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %398 unwind label %399

398:                                              ; preds = %396
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  br label %403

399:                                              ; preds = %396, %394, %392, %390, %387, %385, %383, %380, %368
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %9, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  br label %405

403:                                              ; preds = %398, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 1760, ptr %11) #11
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %8) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #11
  %404 = load i32, ptr %3, align 4
  ret i32 %404

405:                                              ; preds = %399, %366, %131, %105, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #11
  br label %406

406:                                              ; preds = %405, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 1760, ptr %11) #11
  br label %407

407:                                              ; preds = %406, %89
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %8) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #11
  br label %408

408:                                              ; preds = %407
  %409 = load ptr, ptr %9, align 8
  %410 = load i32, ptr %10, align 4
  %411 = insertvalue { ptr, i32 } poison, ptr %409, 0
  %412 = insertvalue { ptr, i32 } %411, i32 %410, 1
  resume { ptr, i32 } %412

413:                                              ; preds = %121
  %414 = landingpad { ptr, i32 }
          catch ptr null
  %415 = extractvalue { ptr, i32 } %414, 0
  call void @__clang_call_terminate(ptr %415) #12
  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 uwtable
declare dso_local noundef x86_fp80 @_Z15gaussperturb_f0IeET_S0_PS0_(x86_fp80 noundef, ptr noundef) #4

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZSt3powIedEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(x86_fp80 noundef, double noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5RKF78IeLi4EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(1760), 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) #5

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

declare void @__cxa_end_catch()

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3cose(x86_fp80 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3sine(x86_fp80 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) #5

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

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

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

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

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

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

; 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

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

; 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 = { 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 = { nounwind memory(none) }
attributes #7 = { 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 #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nounwind }
attributes #12 = { 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 = !{i64 0, i64 8, !18, i64 8, i64 8, !18}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"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 [4 x x86_fp80]], [4 x x86_fp80], [13 x [4 x x86_fp80]], [4 x ptr] }

@gaussperturb_f = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_e = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_a = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_miu = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_tol = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_period_number = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_pace_init = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_pace_max = external dso_local local_unnamed_addr global x86_fp80, align 16
@gaussperturb_pace_min = external dso_local local_unnamed_addr global x86_fp80, align 16
@.str = external hidden unnamed_addr constant [18 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.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = 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 range(i32 -1, 1) 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 [4 x x86_fp80], align 16
  %8 = alloca x86_fp80, align 16
  %9 = alloca x86_fp80, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #10
  %10 = call i32 @gettimeofday(ptr noundef nonnull %3, ptr noundef null) #10
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #10
  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 %40

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1760, ptr nonnull %6) #10
  %12 = getelementptr inbounds i8, ptr %6, i64 1728
  store ptr @_Z15gaussperturb_f0IeET_S0_PS0_, ptr %12, align 16, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %6, i64 1736
  store ptr @_Z15gaussperturb_f1IeET_S0_PS0_, ptr %13, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %6, i64 1744
  store ptr @_Z15gaussperturb_f2IeET_S0_PS0_, ptr %14, align 16, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %6, i64 1752
  store ptr @_Z15gaussperturb_f3IeET_S0_PS0_, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #10
  %16 = load x86_fp80, ptr @gaussperturb_a, align 16, !tbaa !9
  store x86_fp80 %16, ptr %7, align 16, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %7, i64 16
  %18 = load x86_fp80, ptr @gaussperturb_e, align 16, !tbaa !9
  store x86_fp80 %18, ptr %17, align 16, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %7, i64 32
  store x86_fp80 0xK00000000000000000000, ptr %19, align 16, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %7, i64 48
  store x86_fp80 0xK00000000000000000000, ptr %20, align 16, !tbaa !9
  %21 = invoke noundef x86_fp80 @_ZSt3powIedEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(x86_fp80 noundef %16, double noundef 1.500000e+00)
          to label %22 unwind label %44

22:                                               ; preds = %11
  %23 = load x86_fp80, ptr @gaussperturb_miu, align 16, !tbaa !9
  %24 = invoke noundef x86_fp80 @_ZSt3powIedEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(x86_fp80 noundef %23, double noundef 5.000000e-01)
          to label %25 unwind label %44

25:                                               ; preds = %22
  %26 = fmul x86_fp80 %21, 0xK4001C90FDAA22168C000
  %27 = fdiv x86_fp80 %26, %24
  %28 = load x86_fp80, ptr @gaussperturb_period_number, align 16, !tbaa !9
  %29 = fmul x86_fp80 %27, %28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #10
  store x86_fp80 0xK00000000000000000000, ptr %8, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #10
  %30 = load x86_fp80, ptr @gaussperturb_pace_init, align 16, !tbaa !9
  store x86_fp80 %30, ptr %9, align 16, !tbaa !9
  br label %31

31:                                               ; preds = %192, %25
  %.043 = phi i32 [ 0, %25 ], [ %73, %192 ]
  %32 = load x86_fp80, ptr %8, align 16, !tbaa !9
  %33 = fcmp olt x86_fp80 %32, %29
  br i1 %33, label %34, label %198

34:                                               ; preds = %31
  %35 = load x86_fp80, ptr @gaussperturb_tol, align 16, !tbaa !9
  invoke void @_Z18gaussperturb_get_fIeEvPT_S0_(ptr noundef nonnull %7, x86_fp80 noundef %35)
          to label %36 unwind label %.loopexit

36:                                               ; preds = %34
  %37 = load x86_fp80, ptr @gaussperturb_pace_max, align 16, !tbaa !9
  %38 = load x86_fp80, ptr @gaussperturb_pace_min, align 16, !tbaa !9
  %39 = load x86_fp80, ptr @gaussperturb_tol, align 16, !tbaa !9
  invoke void @_ZN5RKF78IeLi4EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(1760) %6, ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull %7, x86_fp80 noundef %37, x86_fp80 noundef %38, x86_fp80 noundef %39)
          to label %72 unwind label %51

40:                                               ; preds = %2
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  %43 = extractvalue { ptr, i32 } %41, 1
  br label %226

44:                                               ; preds = %22, %11
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  %47 = extractvalue { ptr, i32 } %45, 1
  br label %225

.loopexit:                                        ; preds = %34
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %48

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

48:                                               ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  %49 = extractvalue { ptr, i32 } %lpad.phi, 0
  %50 = extractvalue { ptr, i32 } %lpad.phi, 1
  br label %224

51:                                               ; preds = %36
  %52 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %53 = extractvalue { ptr, i32 } %52, 0
  %54 = extractvalue { ptr, i32 } %52, 1
  %55 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt16invalid_argument) #10
  %56 = icmp eq i32 %54, %55
  br i1 %56, label %57, label %224

57:                                               ; preds = %51
  %58 = call ptr @__cxa_begin_catch(ptr %53) #10
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  %61 = load ptr, ptr %60, align 8
  %62 = call noundef ptr %61(ptr noundef nonnull align 8 dereferenceable(16) %58) #10
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %62)
          to label %64 unwind label %67

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

66:                                               ; preds = %64
  invoke void @__cxa_end_catch()
          to label %223 unwind label %69

67:                                               ; preds = %64, %57
  %68 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %71 unwind label %229

69:                                               ; preds = %66
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %71

71:                                               ; preds = %67, %69
  %.pn = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  %.038 = extractvalue { ptr, i32 } %.pn, 0
  %.039 = extractvalue { ptr, i32 } %.pn, 1
  br label %224

72:                                               ; preds = %36
  %73 = add nuw nsw i32 %.043, 1
  %74 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %75 = load x86_fp80, ptr %17, align 16, !tbaa !9
  %76 = call noundef x86_fp80 @_Z18gaussperturb_beta2IeET_S0_(x86_fp80 noundef %75)
  %77 = fmul x86_fp80 %74, %76
  %78 = load x86_fp80, ptr %17, align 16, !tbaa !9
  %79 = call noundef x86_fp80 @_Z18gaussperturb_gammaIeET_S0_(x86_fp80 noundef %78)
  %80 = fmul x86_fp80 %77, %79
  %81 = load x86_fp80, ptr %19, align 16, !tbaa !9
  %82 = load x86_fp80, ptr @gaussperturb_f, align 16, !tbaa !9
  %83 = fadd x86_fp80 %81, %82
  %84 = call noundef x86_fp80 @_ZSt3cose(x86_fp80 noundef %83)
  %85 = fmul x86_fp80 %80, %84
  %86 = load x86_fp80, ptr %19, align 16, !tbaa !9
  %87 = load x86_fp80, ptr @gaussperturb_f, align 16, !tbaa !9
  %88 = fadd x86_fp80 %86, %87
  %89 = call noundef x86_fp80 @_ZSt3sine(x86_fp80 noundef %88)
  %90 = fmul x86_fp80 %80, %89
  %91 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %91)
          to label %93 unwind label %194

93:                                               ; preds = %72
  %94 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %92, i32 %94)
          to label %96 unwind label %194

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

99:                                               ; preds = %96
  %100 = load x86_fp80, ptr %8, align 16, !tbaa !9
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %98, x86_fp80 noundef %100)
          to label %102 unwind label %194

102:                                              ; preds = %99
  %103 = call i32 @_ZSt4setwi(i32 noundef 28)
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %101, i32 %103)
          to label %105 unwind label %194

105:                                              ; preds = %102
  %106 = load x86_fp80, ptr %9, align 16, !tbaa !9
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %104, x86_fp80 noundef %106)
          to label %108 unwind label %194

108:                                              ; preds = %105
  %109 = call i32 @_ZSt4setwi(i32 noundef 28)
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %107, i32 %109)
          to label %111 unwind label %194

111:                                              ; preds = %108
  %112 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %110, x86_fp80 noundef %112)
          to label %114 unwind label %194

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

117:                                              ; preds = %114
  %118 = load x86_fp80, ptr %17, align 16, !tbaa !9
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %116, x86_fp80 noundef %118)
          to label %120 unwind label %194

120:                                              ; preds = %117
  %121 = call i32 @_ZSt4setwi(i32 noundef 28)
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %119, i32 %121)
          to label %123 unwind label %194

123:                                              ; preds = %120
  %124 = load x86_fp80, ptr %19, align 16, !tbaa !9
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %122, x86_fp80 noundef %124)
          to label %126 unwind label %194

126:                                              ; preds = %123
  %127 = call i32 @_ZSt4setwi(i32 noundef 28)
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %125, i32 %127)
          to label %129 unwind label %194

129:                                              ; preds = %126
  %130 = load x86_fp80, ptr %20, align 16, !tbaa !9
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %128, x86_fp80 noundef %130)
          to label %132 unwind label %194

132:                                              ; preds = %129
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %134 unwind label %194

134:                                              ; preds = %132
  %135 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 %135)
          to label %137 unwind label %194

137:                                              ; preds = %134
  %138 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %136, i32 %138)
          to label %140 unwind label %194

140:                                              ; preds = %137
  %141 = call i32 @_ZSt4setwi(i32 noundef 28)
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %139, i32 %141)
          to label %143 unwind label %194

143:                                              ; preds = %140
  %144 = load x86_fp80, ptr %8, align 16, !tbaa !9
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %142, x86_fp80 noundef %144)
          to label %146 unwind label %194

146:                                              ; preds = %143
  %147 = call i32 @_ZSt4setwi(i32 noundef 28)
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %145, i32 %147)
          to label %149 unwind label %194

149:                                              ; preds = %146
  %150 = load x86_fp80, ptr %9, align 16, !tbaa !9
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %148, x86_fp80 noundef %150)
          to label %152 unwind label %194

152:                                              ; preds = %149
  %153 = call i32 @_ZSt4setwi(i32 noundef 28)
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %153)
          to label %155 unwind label %194

155:                                              ; preds = %152
  %156 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %154, x86_fp80 noundef %156)
          to label %158 unwind label %194

158:                                              ; preds = %155
  %159 = call i32 @_ZSt4setwi(i32 noundef 28)
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %157, i32 %159)
          to label %161 unwind label %194

161:                                              ; preds = %158
  %162 = load x86_fp80, ptr %17, align 16, !tbaa !9
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %160, x86_fp80 noundef %162)
          to label %164 unwind label %194

164:                                              ; preds = %161
  %165 = call i32 @_ZSt4setwi(i32 noundef 28)
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %163, i32 %165)
          to label %167 unwind label %194

167:                                              ; preds = %164
  %168 = load x86_fp80, ptr %19, align 16, !tbaa !9
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %166, x86_fp80 noundef %168)
          to label %170 unwind label %194

170:                                              ; preds = %167
  %171 = call i32 @_ZSt4setwi(i32 noundef 28)
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %169, i32 %171)
          to label %173 unwind label %194

173:                                              ; preds = %170
  %174 = load x86_fp80, ptr %20, align 16, !tbaa !9
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %172, x86_fp80 noundef %174)
          to label %176 unwind label %194

176:                                              ; preds = %173
  %177 = call i32 @_ZSt4setwi(i32 noundef 28)
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 %177)
          to label %179 unwind label %194

179:                                              ; preds = %176
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %178, x86_fp80 noundef %85)
          to label %181 unwind label %194

181:                                              ; preds = %179
  %182 = call i32 @_ZSt4setwi(i32 noundef 28)
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %180, i32 %182)
          to label %184 unwind label %194

184:                                              ; preds = %181
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %183, x86_fp80 noundef %90)
          to label %186 unwind label %194

186:                                              ; preds = %184
  %187 = call i32 @_ZSt4setwi(i32 noundef 28)
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %185, i32 %187)
          to label %189 unwind label %194

189:                                              ; preds = %186
  %190 = load x86_fp80, ptr @gaussperturb_f, align 16, !tbaa !9
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %188, x86_fp80 noundef %190)
          to label %192 unwind label %194

192:                                              ; preds = %189
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %31 unwind label %194, !llvm.loop !13

194:                                              ; preds = %192, %189, %186, %184, %181, %179, %176, %173, %170, %167, %164, %161, %158, %155, %152, %149, %146, %143, %140, %137, %134, %132, %129, %126, %123, %120, %117, %114, %111, %108, %105, %102, %99, %96, %93, %72
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  %197 = extractvalue { ptr, i32 } %195, 1
  br label %224

198:                                              ; preds = %31
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %5)
          to label %199 unwind label %.loopexit.split-lp

199:                                              ; preds = %198
  %200 = call i32 @gettimeofday(ptr noundef nonnull %4, ptr noundef null) #10
  %.sroa.01.0.copyload = load i64, ptr %3, align 8, !tbaa !15
  %.sroa.22.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %.sroa.22.0.copyload = load i64, ptr %.sroa.22.0..sroa_idx, align 8, !tbaa !15
  %.sroa.0.0.copyload = load i64, ptr %4, align 8, !tbaa !15
  %.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 !15
  %201 = call noundef double @_Z8TimeDiff7timevalS_(i64 %.sroa.01.0.copyload, i64 %.sroa.22.0.copyload, i64 %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload)
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %203 unwind label %219

203:                                              ; preds = %199
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %202, double noundef %201)
          to label %205 unwind label %219

205:                                              ; preds = %203
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef nonnull @.str.2)
          to label %207 unwind label %219

207:                                              ; preds = %205
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %209 unwind label %219

209:                                              ; preds = %207
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %.043)
          to label %211 unwind label %219

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

213:                                              ; preds = %211
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %215 unwind label %219

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

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

219:                                              ; preds = %217, %215, %213, %211, %209, %207, %205, %203, %199
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  %222 = extractvalue { ptr, i32 } %220, 1
  br label %224

223:                                              ; preds = %217, %66
  %.0 = phi i32 [ -1, %66 ], [ 0, %217 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 1760, ptr nonnull %6) #10
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %5) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  ret i32 %.0

224:                                              ; preds = %219, %194, %71, %51, %48
  %.140 = phi i32 [ %197, %194 ], [ %.039, %71 ], [ %54, %51 ], [ %50, %48 ], [ %222, %219 ]
  %.1 = phi ptr [ %196, %194 ], [ %.038, %71 ], [ %53, %51 ], [ %49, %48 ], [ %221, %219 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #10
  br label %225

225:                                              ; preds = %224, %44
  %.241 = phi i32 [ %.140, %224 ], [ %47, %44 ]
  %.2 = phi ptr [ %.1, %224 ], [ %46, %44 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 1760, ptr nonnull %6) #10
  br label %226

226:                                              ; preds = %225, %40
  %.342 = phi i32 [ %.241, %225 ], [ %43, %40 ]
  %.3 = phi ptr [ %.2, %225 ], [ %42, %40 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %5) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  %227 = insertvalue { ptr, i32 } poison, ptr %.3, 0
  %228 = insertvalue { ptr, i32 } %227, i32 %.342, 1
  resume { ptr, i32 } %228

229:                                              ; preds = %67
  %230 = landingpad { ptr, i32 }
          catch ptr null
  %231 = extractvalue { ptr, i32 } %230, 0
  call void @__clang_call_terminate(ptr %231) #11
  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 uwtable
declare dso_local noundef x86_fp80 @_Z15gaussperturb_f0IeET_S0_PS0_(x86_fp80 noundef, ptr noundef) #4

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZSt3powIedEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(x86_fp80 noundef, double noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5RKF78IeLi4EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(1760), 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 #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 #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)) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z18gaussperturb_beta2IeET_S0_(x86_fp80 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z18gaussperturb_gammaIeET_S0_(x86_fp80 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3cose(x86_fp80 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3sine(x86_fp80 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 #5

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

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

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

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

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

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

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

; 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 = { 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 = { nofree nosync nounwind memory(none) }
attributes #7 = { 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 #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { "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 = !{!"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 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass