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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::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 }

@.str = external hidden unnamed_addr constant [10 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 [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::basic_ofstream", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %class.RKF78, align 16
  %10 = alloca x86_fp80, align 16
  %11 = alloca [4 x x86_fp80], align 16
  %12 = alloca x86_fp80, align 16
  %13 = alloca x86_fp80, align 16
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca x86_fp80, align 16
  %17 = alloca %"struct.std::_Setiosflags", align 4
  %18 = alloca %"struct.std::_Setprecision", align 4
  %19 = alloca %"struct.std::_Setw", align 4
  %20 = alloca %"struct.std::_Setw", align 4
  %21 = alloca %"struct.std::_Setw", align 4
  %22 = alloca %"struct.std::_Setw", align 4
  %23 = alloca %"struct.std::_Setw", align 4
  %24 = alloca %"struct.std::_Setw", align 4
  %25 = alloca %"struct.std::_Setiosflags", align 4
  %26 = alloca %"struct.std::_Setprecision", 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::_Setw", align 4
  %32 = alloca %"struct.std::_Setw", align 4
  %33 = alloca x86_fp80, align 16
  %34 = alloca x86_fp80, align 16
  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 512, ptr %6) #8
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %6)
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %6, ptr noundef @.str, i32 noundef 16)
          to label %35 unwind label %56

35:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1760, ptr %9) #8
  %36 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %37 = getelementptr inbounds [4 x ptr], ptr %36, i64 0, i64 0
  store ptr @_Z7pcr3bf0IeET_S0_PS0_, ptr %37, align 16, !tbaa !9
  %38 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %39 = getelementptr inbounds [4 x ptr], ptr %38, i64 0, i64 1
  store ptr @_Z7pcr3bf1IeET_S0_PS0_, ptr %39, align 8, !tbaa !9
  %40 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %41 = getelementptr inbounds [4 x ptr], ptr %40, i64 0, i64 2
  store ptr @_Z7pcr3bf2IeET_S0_PS0_, ptr %41, align 16, !tbaa !9
  %42 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %43 = getelementptr inbounds [4 x ptr], ptr %42, i64 0, i64 3
  store ptr @_Z7pcr3bf3IeET_S0_PS0_, ptr %43, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %44 = invoke noundef x86_fp80 @_Z7pcr3bvyIeET_S0_S0_S0_(x86_fp80 noundef 0xK3FFEA666666666666800, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK00000000000000000000)
          to label %45 unwind label %60

45:                                               ; preds = %35
  store x86_fp80 %44, ptr %10, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #8
  store x86_fp80 0xK3FFEA666666666666800, ptr %11, align 16, !tbaa !11
  %46 = getelementptr inbounds x86_fp80, ptr %11, i64 1
  store x86_fp80 0xK00000000000000000000, ptr %46, align 16, !tbaa !11
  %47 = getelementptr inbounds x86_fp80, ptr %11, i64 2
  store x86_fp80 0xK00000000000000000000, ptr %47, align 16, !tbaa !11
  %48 = getelementptr inbounds x86_fp80, ptr %11, i64 3
  %49 = load x86_fp80, ptr %10, align 16, !tbaa !11
  store x86_fp80 %49, ptr %48, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %12, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  store x86_fp80 0xK00000000000000000000, ptr %13, align 16, !tbaa !11
  br label %50

50:                                               ; preds = %256, %45
  %51 = load x86_fp80, ptr %13, align 16, !tbaa !11
  %52 = fcmp olt x86_fp80 %51, 0xK4006C800000000000000
  br i1 %52, label %53, label %261

53:                                               ; preds = %50
  %54 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 0
  invoke void @_ZN5RKF78IeLi4EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(1760) %9, ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef %54, x86_fp80 noundef 0xK3FFBCCCCCCCCCCCCD000, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800, x86_fp80 noundef 0xK3FD78CBCCC096F508800)
          to label %55 unwind label %64

55:                                               ; preds = %53
  br label %95

56:                                               ; preds = %2
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %7, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %8, align 4
  br label %293

60:                                               ; preds = %35
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  br label %292

64:                                               ; preds = %53
  %65 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %7, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %8, align 4
  br label %68

68:                                               ; preds = %64
  %69 = load i32, ptr %8, align 4
  %70 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt16invalid_argument) #8
  %71 = icmp eq i32 %69, %70
  br i1 %71, label %72, label %291

72:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %73 = load ptr, ptr %7, align 8
  %74 = call ptr @__cxa_begin_catch(ptr %73) #8
  store ptr %74, ptr %14, align 8
  %75 = load ptr, ptr %14, align 8, !tbaa !9
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = getelementptr inbounds ptr, ptr %76, i64 2
  %78 = load ptr, ptr %77, align 8
  %79 = call noundef ptr %78(ptr noundef nonnull align 8 dereferenceable(16) %75) #8
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %79)
          to label %81 unwind label %84

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

83:                                               ; preds = %81
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %15, align 4
  invoke void @__cxa_end_catch()
          to label %88 unwind label %89

84:                                               ; preds = %81, %72
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  invoke void @__cxa_end_catch()
          to label %93 unwind label %299

88:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %289

89:                                               ; preds = %83
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  br label %94

93:                                               ; preds = %84
  br label %94

94:                                               ; preds = %93, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %291

95:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %96 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 0
  %97 = invoke noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef %96)
          to label %98 unwind label %257

98:                                               ; preds = %95
  store x86_fp80 %97, ptr %16, align 16, !tbaa !11
  %99 = invoke i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
          to label %100 unwind label %257

100:                                              ; preds = %98
  %101 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %17, i32 0, i32 0
  store i32 %99, ptr %101, align 4
  %102 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %17, i32 0, i32 0
  %103 = load i32, ptr %102, align 4
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %103)
          to label %105 unwind label %257

105:                                              ; preds = %100
  %106 = invoke i32 @_ZSt12setprecisioni(i32 noundef 18)
          to label %107 unwind label %257

107:                                              ; preds = %105
  %108 = getelementptr inbounds %"struct.std::_Setprecision", ptr %18, i32 0, i32 0
  store i32 %106, ptr %108, align 4
  %109 = getelementptr inbounds %"struct.std::_Setprecision", ptr %18, i32 0, i32 0
  %110 = load i32, ptr %109, align 4
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %104, i32 %110)
          to label %112 unwind label %257

112:                                              ; preds = %107
  %113 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %114 unwind label %257

114:                                              ; preds = %112
  %115 = getelementptr inbounds %"struct.std::_Setw", ptr %19, i32 0, i32 0
  store i32 %113, ptr %115, align 4
  %116 = getelementptr inbounds %"struct.std::_Setw", ptr %19, i32 0, i32 0
  %117 = load i32, ptr %116, align 4
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %111, i32 %117)
          to label %119 unwind label %257

119:                                              ; preds = %114
  %120 = load x86_fp80, ptr %13, align 16, !tbaa !11
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %118, x86_fp80 noundef %120)
          to label %122 unwind label %257

122:                                              ; preds = %119
  %123 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %124 unwind label %257

124:                                              ; preds = %122
  %125 = getelementptr inbounds %"struct.std::_Setw", ptr %20, i32 0, i32 0
  store i32 %123, ptr %125, align 4
  %126 = getelementptr inbounds %"struct.std::_Setw", ptr %20, i32 0, i32 0
  %127 = load i32, ptr %126, align 4
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %121, i32 %127)
          to label %129 unwind label %257

129:                                              ; preds = %124
  %130 = load x86_fp80, ptr %12, align 16, !tbaa !11
  %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 %257

132:                                              ; preds = %129
  %133 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %134 unwind label %257

134:                                              ; preds = %132
  %135 = getelementptr inbounds %"struct.std::_Setw", ptr %21, i32 0, i32 0
  store i32 %133, ptr %135, align 4
  %136 = getelementptr inbounds %"struct.std::_Setw", ptr %21, i32 0, i32 0
  %137 = load i32, ptr %136, align 4
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %137)
          to label %139 unwind label %257

139:                                              ; preds = %134
  %140 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 0
  %141 = load x86_fp80, ptr %140, align 16, !tbaa !11
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %138, x86_fp80 noundef %141)
          to label %143 unwind label %257

143:                                              ; preds = %139
  %144 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %145 unwind label %257

145:                                              ; preds = %143
  %146 = getelementptr inbounds %"struct.std::_Setw", ptr %22, i32 0, i32 0
  store i32 %144, ptr %146, align 4
  %147 = getelementptr inbounds %"struct.std::_Setw", ptr %22, i32 0, i32 0
  %148 = load i32, ptr %147, align 4
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %142, i32 %148)
          to label %150 unwind label %257

150:                                              ; preds = %145
  %151 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 2
  %152 = load x86_fp80, ptr %151, align 16, !tbaa !11
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %149, x86_fp80 noundef %152)
          to label %154 unwind label %257

154:                                              ; preds = %150
  %155 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %156 unwind label %257

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

161:                                              ; preds = %156
  %162 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 1
  %163 = load x86_fp80, ptr %162, align 16, !tbaa !11
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %160, x86_fp80 noundef %163)
          to label %165 unwind label %257

165:                                              ; preds = %161
  %166 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %167 unwind label %257

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

172:                                              ; preds = %167
  %173 = load x86_fp80, ptr %16, align 16, !tbaa !11
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %171, x86_fp80 noundef %173)
          to label %175 unwind label %257

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

177:                                              ; preds = %175
  %178 = invoke i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
          to label %179 unwind label %257

179:                                              ; preds = %177
  %180 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %25, i32 0, i32 0
  store i32 %178, ptr %180, align 4
  %181 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %25, i32 0, i32 0
  %182 = load i32, ptr %181, align 4
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 %182)
          to label %184 unwind label %257

184:                                              ; preds = %179
  %185 = invoke i32 @_ZSt12setprecisioni(i32 noundef 18)
          to label %186 unwind label %257

186:                                              ; preds = %184
  %187 = getelementptr inbounds %"struct.std::_Setprecision", ptr %26, i32 0, i32 0
  store i32 %185, ptr %187, align 4
  %188 = getelementptr inbounds %"struct.std::_Setprecision", ptr %26, i32 0, i32 0
  %189 = load i32, ptr %188, align 4
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %183, i32 %189)
          to label %191 unwind label %257

191:                                              ; preds = %186
  %192 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %193 unwind label %257

193:                                              ; preds = %191
  %194 = getelementptr inbounds %"struct.std::_Setw", ptr %27, i32 0, i32 0
  store i32 %192, ptr %194, align 4
  %195 = getelementptr inbounds %"struct.std::_Setw", ptr %27, i32 0, i32 0
  %196 = load i32, ptr %195, align 4
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %190, i32 %196)
          to label %198 unwind label %257

198:                                              ; preds = %193
  %199 = load x86_fp80, ptr %13, align 16, !tbaa !11
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %197, x86_fp80 noundef %199)
          to label %201 unwind label %257

201:                                              ; preds = %198
  %202 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %203 unwind label %257

203:                                              ; preds = %201
  %204 = getelementptr inbounds %"struct.std::_Setw", ptr %28, i32 0, i32 0
  store i32 %202, ptr %204, align 4
  %205 = getelementptr inbounds %"struct.std::_Setw", ptr %28, i32 0, i32 0
  %206 = load i32, ptr %205, align 4
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %200, i32 %206)
          to label %208 unwind label %257

208:                                              ; preds = %203
  %209 = load x86_fp80, ptr %12, align 16, !tbaa !11
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %207, x86_fp80 noundef %209)
          to label %211 unwind label %257

211:                                              ; preds = %208
  %212 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %213 unwind label %257

213:                                              ; preds = %211
  %214 = getelementptr inbounds %"struct.std::_Setw", ptr %29, i32 0, i32 0
  store i32 %212, ptr %214, align 4
  %215 = getelementptr inbounds %"struct.std::_Setw", ptr %29, i32 0, i32 0
  %216 = load i32, ptr %215, align 4
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 %216)
          to label %218 unwind label %257

218:                                              ; preds = %213
  %219 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 0
  %220 = load x86_fp80, ptr %219, align 16, !tbaa !11
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %217, x86_fp80 noundef %220)
          to label %222 unwind label %257

222:                                              ; preds = %218
  %223 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %224 unwind label %257

224:                                              ; preds = %222
  %225 = getelementptr inbounds %"struct.std::_Setw", ptr %30, i32 0, i32 0
  store i32 %223, ptr %225, align 4
  %226 = getelementptr inbounds %"struct.std::_Setw", ptr %30, i32 0, i32 0
  %227 = load i32, ptr %226, align 4
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %221, i32 %227)
          to label %229 unwind label %257

229:                                              ; preds = %224
  %230 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 2
  %231 = load x86_fp80, ptr %230, align 16, !tbaa !11
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %228, x86_fp80 noundef %231)
          to label %233 unwind label %257

233:                                              ; preds = %229
  %234 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %235 unwind label %257

235:                                              ; preds = %233
  %236 = getelementptr inbounds %"struct.std::_Setw", ptr %31, i32 0, i32 0
  store i32 %234, ptr %236, align 4
  %237 = getelementptr inbounds %"struct.std::_Setw", ptr %31, i32 0, i32 0
  %238 = load i32, ptr %237, align 4
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %232, i32 %238)
          to label %240 unwind label %257

240:                                              ; preds = %235
  %241 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 1
  %242 = load x86_fp80, ptr %241, align 16, !tbaa !11
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %239, x86_fp80 noundef %242)
          to label %244 unwind label %257

244:                                              ; preds = %240
  %245 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %246 unwind label %257

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

251:                                              ; preds = %246
  %252 = load x86_fp80, ptr %16, align 16, !tbaa !11
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %250, x86_fp80 noundef %252)
          to label %254 unwind label %257

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

256:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %50, !llvm.loop !15

257:                                              ; preds = %254, %251, %246, %244, %240, %235, %233, %229, %224, %222, %218, %213, %211, %208, %203, %201, %198, %193, %191, %186, %184, %179, %177, %175, %172, %167, %165, %161, %156, %154, %150, %145, %143, %139, %134, %132, %129, %124, %122, %119, %114, %112, %107, %105, %100, %98, %95
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %7, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %291

261:                                              ; preds = %50
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #8
  %262 = getelementptr inbounds [4 x x86_fp80], ptr %11, i64 0, i64 0
  %263 = invoke noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef %262)
          to label %264 unwind label %280

264:                                              ; preds = %261
  store x86_fp80 %263, ptr %33, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #8
  %265 = load x86_fp80, ptr %33, align 16, !tbaa !11
  %266 = fsub x86_fp80 %265, 0xK4000C65FD8ADAB9F5800
  %267 = fdiv x86_fp80 %266, 0xK4000C65FD8ADAB9F5800
  store x86_fp80 %267, ptr %34, align 16, !tbaa !11
  %268 = 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 %269 unwind label %284

269:                                              ; preds = %264
  %270 = load x86_fp80, ptr %34, align 16, !tbaa !11
  %271 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %268, x86_fp80 noundef %270)
          to label %272 unwind label %284

272:                                              ; preds = %269
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %271, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %274 unwind label %284

274:                                              ; preds = %272
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %6)
          to label %275 unwind label %284

275:                                              ; preds = %274
  %276 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %277 unwind label %284

277:                                              ; preds = %275
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %276, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %279 unwind label %284

279:                                              ; preds = %277
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  br label %289

280:                                              ; preds = %261
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %7, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %8, align 4
  br label %288

284:                                              ; preds = %277, %275, %274, %272, %269, %264
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %7, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  br label %288

288:                                              ; preds = %284, %280
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  br label %291

289:                                              ; preds = %279, %88
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 1760, ptr %9) #8
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %6) #8
  call void @llvm.lifetime.end.p0(i64 512, ptr %6) #8
  %290 = load i32, ptr %3, align 4
  ret i32 %290

291:                                              ; preds = %288, %257, %94, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #8
  br label %292

292:                                              ; preds = %291, %60
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 1760, ptr %9) #8
  br label %293

293:                                              ; preds = %292, %56
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %6) #8
  call void @llvm.lifetime.end.p0(i64 512, ptr %6) #8
  br label %294

294:                                              ; preds = %293
  %295 = load ptr, ptr %7, align 8
  %296 = load i32, ptr %8, align 4
  %297 = insertvalue { ptr, i32 } poison, ptr %295, 0
  %298 = insertvalue { ptr, i32 } %297, i32 %296, 1
  resume { ptr, i32 } %298

299:                                              ; preds = %84
  %300 = landingpad { ptr, i32 }
          catch ptr null
  %301 = extractvalue { ptr, i32 } %300, 0
  call void @__clang_call_terminate(ptr %301) #9
  unreachable
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z7pcr3bvyIeET_S0_S0_S0_(x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #2

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

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

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) #2 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) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef) #2

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

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

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { 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 #4 = { nounwind memory(none) }
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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::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] }

@.str = external hidden unnamed_addr constant [10 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 [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 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 #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::basic_ofstream", align 8
  %4 = alloca %class.RKF78, align 16
  %5 = alloca [4 x x86_fp80], align 16
  %6 = alloca x86_fp80, align 16
  %7 = alloca x86_fp80, align 16
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %3) #8
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3)
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %3, ptr noundef nonnull @.str, i32 noundef 16)
          to label %8 unwind label %20

8:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1760, ptr nonnull %4) #8
  %9 = getelementptr inbounds i8, ptr %4, i64 1728
  store ptr @_Z7pcr3bf0IeET_S0_PS0_, ptr %9, align 16, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %4, i64 1736
  store ptr @_Z7pcr3bf1IeET_S0_PS0_, ptr %10, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %4, i64 1744
  store ptr @_Z7pcr3bf2IeET_S0_PS0_, ptr %11, align 16, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %4, i64 1752
  store ptr @_Z7pcr3bf3IeET_S0_PS0_, ptr %12, align 8, !tbaa !5
  %13 = invoke noundef x86_fp80 @_Z7pcr3bvyIeET_S0_S0_S0_(x86_fp80 noundef 0xK3FFEA666666666666800, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK00000000000000000000)
          to label %14 unwind label %24

14:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #8
  store x86_fp80 0xK3FFEA666666666666800, ptr %5, align 16, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %5, i64 16
  store x86_fp80 0xK00000000000000000000, ptr %15, align 16, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %5, i64 32
  store x86_fp80 0xK00000000000000000000, ptr %16, align 16, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %5, i64 48
  store x86_fp80 %13, ptr %17, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %6, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  store x86_fp80 0xK00000000000000000000, ptr %7, align 16, !tbaa !9
  br label %19

thread-pre-split:                                 ; preds = %135
  %.pr = load x86_fp80, ptr %7, align 16, !tbaa !9
  %18 = fcmp olt x86_fp80 %.pr, 0xK4006C800000000000000
  br i1 %18, label %19, label %141

19:                                               ; preds = %14, %thread-pre-split
  invoke void @_ZN5RKF78IeLi4EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(1760) %4, ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %7, ptr noundef nonnull %5, x86_fp80 noundef 0xK3FFBCCCCCCCCCCCCD000, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800, x86_fp80 noundef 0xK3FD78CBCCC096F508800)
          to label %49 unwind label %28

20:                                               ; preds = %2
  %21 = landingpad { ptr, i32 }
          cleanup
  %22 = extractvalue { ptr, i32 } %21, 0
  %23 = extractvalue { ptr, i32 } %21, 1
  br label %164

24:                                               ; preds = %8
  %25 = landingpad { ptr, i32 }
          cleanup
  %26 = extractvalue { ptr, i32 } %25, 0
  %27 = extractvalue { ptr, i32 } %25, 1
  br label %163

28:                                               ; preds = %19
  %29 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %30 = extractvalue { ptr, i32 } %29, 0
  %31 = extractvalue { ptr, i32 } %29, 1
  %32 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt16invalid_argument) #8
  %33 = icmp eq i32 %31, %32
  br i1 %33, label %34, label %162

34:                                               ; preds = %28
  %35 = call ptr @__cxa_begin_catch(ptr %30) #8
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %38 = load ptr, ptr %37, align 8
  %39 = call noundef ptr %38(ptr noundef nonnull align 8 dereferenceable(16) %35) #8
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %39)
          to label %41 unwind label %44

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

43:                                               ; preds = %41
  invoke void @__cxa_end_catch()
          to label %161 unwind label %46

44:                                               ; preds = %41, %34
  %45 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %48 unwind label %167

46:                                               ; preds = %43
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %48

48:                                               ; preds = %44, %46
  %.pn35 = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  %.027 = extractvalue { ptr, i32 } %.pn35, 0
  %.028 = extractvalue { ptr, i32 } %.pn35, 1
  br label %162

49:                                               ; preds = %19
  %50 = invoke noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef nonnull %5)
          to label %51 unwind label %137

51:                                               ; preds = %49
  %52 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %52)
          to label %54 unwind label %137

54:                                               ; preds = %51
  %55 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %53, i32 %55)
          to label %57 unwind label %137

57:                                               ; preds = %54
  %58 = call i32 @_ZSt4setwi(i32 noundef 28)
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %56, i32 %58)
          to label %60 unwind label %137

60:                                               ; preds = %57
  %61 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %59, x86_fp80 noundef %61)
          to label %63 unwind label %137

63:                                               ; preds = %60
  %64 = call i32 @_ZSt4setwi(i32 noundef 28)
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %62, i32 %64)
          to label %66 unwind label %137

66:                                               ; preds = %63
  %67 = load x86_fp80, ptr %6, align 16, !tbaa !9
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %65, x86_fp80 noundef %67)
          to label %69 unwind label %137

69:                                               ; preds = %66
  %70 = call i32 @_ZSt4setwi(i32 noundef 28)
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %70)
          to label %72 unwind label %137

72:                                               ; preds = %69
  %73 = load x86_fp80, ptr %5, align 16, !tbaa !9
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %71, x86_fp80 noundef %73)
          to label %75 unwind label %137

75:                                               ; preds = %72
  %76 = call i32 @_ZSt4setwi(i32 noundef 28)
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %74, i32 %76)
          to label %78 unwind label %137

78:                                               ; preds = %75
  %79 = load x86_fp80, ptr %16, align 16, !tbaa !9
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %77, x86_fp80 noundef %79)
          to label %81 unwind label %137

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

84:                                               ; preds = %81
  %85 = load x86_fp80, ptr %15, align 16, !tbaa !9
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %83, x86_fp80 noundef %85)
          to label %87 unwind label %137

87:                                               ; preds = %84
  %88 = call i32 @_ZSt4setwi(i32 noundef 28)
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %86, i32 %88)
          to label %90 unwind label %137

90:                                               ; preds = %87
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %89, x86_fp80 noundef %50)
          to label %92 unwind label %137

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %94 unwind label %137

94:                                               ; preds = %92
  %95 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 %95)
          to label %97 unwind label %137

97:                                               ; preds = %94
  %98 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %96, i32 %98)
          to label %100 unwind label %137

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

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

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

109:                                              ; preds = %106
  %110 = load x86_fp80, ptr %6, align 16, !tbaa !9
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %108, x86_fp80 noundef %110)
          to label %112 unwind label %137

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

115:                                              ; preds = %112
  %116 = load x86_fp80, ptr %5, align 16, !tbaa !9
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %114, x86_fp80 noundef %116)
          to label %118 unwind label %137

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

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

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

127:                                              ; preds = %124
  %128 = load x86_fp80, ptr %15, align 16, !tbaa !9
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %126, x86_fp80 noundef %128)
          to label %130 unwind label %137

130:                                              ; preds = %127
  %131 = call i32 @_ZSt4setwi(i32 noundef 28)
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %129, i32 %131)
          to label %133 unwind label %137

133:                                              ; preds = %130
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %132, x86_fp80 noundef %50)
          to label %135 unwind label %137

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %thread-pre-split unwind label %137, !llvm.loop !13

137:                                              ; preds = %135, %133, %130, %127, %124, %121, %118, %115, %112, %109, %106, %103, %100, %97, %94, %92, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %49
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  %140 = extractvalue { ptr, i32 } %138, 1
  br label %162

141:                                              ; preds = %thread-pre-split
  %142 = invoke noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef nonnull %5)
          to label %143 unwind label %156

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

145:                                              ; preds = %143
  %146 = fadd x86_fp80 %142, 0xKC000C65FD8ADAB9F5800
  %147 = fdiv x86_fp80 %146, 0xK4000C65FD8ADAB9F5800
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %144, x86_fp80 noundef %147)
          to label %149 unwind label %158

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

151:                                              ; preds = %149
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %3)
          to label %152 unwind label %158

152:                                              ; preds = %151
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
          to label %154 unwind label %158

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

156:                                              ; preds = %141
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %154, %152, %151, %149, %145, %143
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %160

160:                                              ; preds = %158, %156
  %.pn = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  %.1 = extractvalue { ptr, i32 } %.pn, 0
  %.129 = extractvalue { ptr, i32 } %.pn, 1
  br label %162

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

162:                                              ; preds = %160, %137, %48, %28
  %.230 = phi i32 [ %140, %137 ], [ %.028, %48 ], [ %31, %28 ], [ %.129, %160 ]
  %.2 = phi ptr [ %139, %137 ], [ %.027, %48 ], [ %30, %28 ], [ %.1, %160 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #8
  br label %163

163:                                              ; preds = %162, %24
  %.331 = phi i32 [ %.230, %162 ], [ %27, %24 ]
  %.3 = phi ptr [ %.2, %162 ], [ %26, %24 ]
  call void @llvm.lifetime.end.p0(i64 1760, ptr nonnull %4) #8
  br label %164

164:                                              ; preds = %163, %20
  %.432 = phi i32 [ %.331, %163 ], [ %23, %20 ]
  %.4 = phi ptr [ %.3, %163 ], [ %22, %20 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #8
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %3) #8
  %165 = insertvalue { ptr, i32 } poison, ptr %.4, 0
  %166 = insertvalue { ptr, i32 } %165, i32 %.432, 1
  resume { ptr, i32 } %166

167:                                              ; preds = %44
  %168 = landingpad { ptr, i32 }
          catch ptr null
  %169 = extractvalue { ptr, i32 } %168, 0
  call void @__clang_call_terminate(ptr %169) #9
  unreachable
}

; 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 uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #2 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 #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; 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 uwtable
declare dso_local noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { 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 #4 = { nofree nosync nounwind memory(none) }
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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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"}


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