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

; 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 [21 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 [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 x86_fp80, align 16
  %12 = alloca x86_fp80, align 16
  %13 = alloca x86_fp80, align 16
  %14 = alloca x86_fp80, align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca x86_fp80, align 16
  %18 = alloca [4 x x86_fp80], align 16
  %19 = alloca x86_fp80, align 16
  %20 = alloca x86_fp80, align 16
  %21 = alloca ptr, align 8
  %22 = alloca x86_fp80, align 16
  %23 = alloca x86_fp80, align 16
  %24 = alloca %"struct.std::_Setiosflags", align 4
  %25 = alloca %"struct.std::_Setprecision", 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
  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) #10
  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 %38 unwind label %51

38:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1760, ptr %9) #10
  %39 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %40 = getelementptr inbounds [4 x ptr], ptr %39, i64 0, i64 0
  store ptr @_Z7pcr3bf0IeET_S0_PS0_, ptr %40, align 16, !tbaa !9
  %41 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %42 = getelementptr inbounds [4 x ptr], ptr %41, i64 0, i64 1
  store ptr @_Z7pcr3bf1IeET_S0_PS0_, ptr %42, align 8, !tbaa !9
  %43 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %44 = getelementptr inbounds [4 x ptr], ptr %43, i64 0, i64 2
  store ptr @_Z7pcr3bf2IeET_S0_PS0_, ptr %44, align 16, !tbaa !9
  %45 = getelementptr inbounds %class.RKF78, ptr %9, i32 0, i32 3
  %46 = getelementptr inbounds [4 x ptr], ptr %45, i64 0, i64 3
  store ptr @_Z7pcr3bf3IeET_S0_PS0_, ptr %46, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #10
  store x86_fp80 0xK3FF6DA740DA740DA8889, ptr %10, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #10
  store x86_fp80 0xK00000000000000000000, ptr %11, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #10
  store x86_fp80 0xK00000000000000000000, ptr %12, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #10
  store x86_fp80 0xK00000000000000000000, ptr %13, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #10
  store x86_fp80 0xK00000000000000000000, ptr %14, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %291, %38
  %48 = load i32, ptr %15, align 4, !tbaa !5
  %49 = icmp slt i32 %48, 30
  br i1 %49, label %55, label %50

50:                                               ; preds = %47
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %296

51:                                               ; preds = %2
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %7, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %8, align 4
  br label %308

55:                                               ; preds = %47
  %56 = load x86_fp80, ptr %10, align 16, !tbaa !11
  %57 = load i32, ptr %15, align 4, !tbaa !5
  %58 = sitofp i32 %57 to x86_fp80
  %59 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %56, x86_fp80 %58, x86_fp80 0xK3FFDE666666666666800)
  store x86_fp80 %59, ptr %11, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #10
  %60 = load x86_fp80, ptr %11, align 16, !tbaa !11
  %61 = load x86_fp80, ptr %12, align 16, !tbaa !11
  %62 = load x86_fp80, ptr %13, align 16, !tbaa !11
  %63 = invoke noundef x86_fp80 @_Z13pcr3bvysquareIeET_S0_S0_S0_(x86_fp80 noundef %60, x86_fp80 noundef %61, x86_fp80 noundef %62)
          to label %64 unwind label %68

64:                                               ; preds = %55
  store x86_fp80 %63, ptr %17, align 16, !tbaa !11
  %65 = load x86_fp80, ptr %17, align 16, !tbaa !11
  %66 = fcmp ole x86_fp80 %65, 0xK00000000000000000000
  br i1 %66, label %67, label %72

67:                                               ; preds = %64
  store i32 4, ptr %16, align 4
  br label %288

68:                                               ; preds = %72, %55
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %7, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %8, align 4
  br label %295

72:                                               ; preds = %64
  %73 = load x86_fp80, ptr %17, align 16, !tbaa !11
  %74 = invoke noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %73)
          to label %75 unwind label %68

75:                                               ; preds = %72
  store x86_fp80 %74, ptr %14, align 16, !tbaa !11
  br label %76

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #10
  %77 = load x86_fp80, ptr %11, align 16, !tbaa !11
  store x86_fp80 %77, ptr %18, align 16, !tbaa !11
  %78 = getelementptr inbounds x86_fp80, ptr %18, i64 1
  %79 = load x86_fp80, ptr %13, align 16, !tbaa !11
  store x86_fp80 %79, ptr %78, align 16, !tbaa !11
  %80 = getelementptr inbounds x86_fp80, ptr %18, i64 2
  %81 = load x86_fp80, ptr %12, align 16, !tbaa !11
  store x86_fp80 %81, ptr %80, align 16, !tbaa !11
  %82 = getelementptr inbounds x86_fp80, ptr %18, i64 3
  %83 = load x86_fp80, ptr %14, align 16, !tbaa !11
  store x86_fp80 %83, ptr %82, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #10
  store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %19, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  store x86_fp80 0xK00000000000000000000, ptr %20, align 16, !tbaa !11
  br label %84

84:                                               ; preds = %285, %76
  %85 = load x86_fp80, ptr %20, align 16, !tbaa !11
  %86 = fcmp olt x86_fp80 %85, 0xK4008C800000000000000
  br i1 %86, label %87, label %287

87:                                               ; preds = %84
  %88 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 0
  invoke void @_ZN5RKF78IeLi4EE5rkf78EReS1_Peeee(ptr noundef nonnull align 16 dereferenceable(1760) %9, ptr noundef nonnull align 16 dereferenceable(16) %19, ptr noundef nonnull align 16 dereferenceable(16) %20, ptr noundef %88, x86_fp80 noundef 0xK4002A000000000000000, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800, x86_fp80 noundef 0xK3FD78CBCCC096F508800)
          to label %89 unwind label %90

89:                                               ; preds = %87
  br label %121

90:                                               ; preds = %87
  %91 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %7, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %8, align 4
  br label %94

94:                                               ; preds = %90
  %95 = load i32, ptr %8, align 4
  %96 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt16invalid_argument) #10
  %97 = icmp eq i32 %95, %96
  br i1 %97, label %98, label %294

98:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %99 = load ptr, ptr %7, align 8
  %100 = call ptr @__cxa_begin_catch(ptr %99) #10
  store ptr %100, ptr %21, align 8
  %101 = load ptr, ptr %21, align 8, !tbaa !9
  %102 = load ptr, ptr %101, align 8, !tbaa !13
  %103 = getelementptr inbounds ptr, ptr %102, i64 2
  %104 = load ptr, ptr %103, align 8
  %105 = call noundef ptr %104(ptr noundef nonnull align 8 dereferenceable(16) %101) #10
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %105)
          to label %107 unwind label %110

107:                                              ; preds = %98
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %109 unwind label %110

109:                                              ; preds = %107
  store i32 5, ptr %16, align 4
  invoke void @__cxa_end_catch()
          to label %114 unwind label %115

110:                                              ; preds = %107, %98
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %7, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %8, align 4
  invoke void @__cxa_end_catch()
          to label %119 unwind label %314

114:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %287

115:                                              ; preds = %109
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %7, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %8, align 4
  br label %120

119:                                              ; preds = %110
  br label %120

120:                                              ; preds = %119, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %294

121:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #10
  %122 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 0
  %123 = invoke noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef %122)
          to label %124 unwind label %133

124:                                              ; preds = %121
  store x86_fp80 %123, ptr %22, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #10
  %125 = load x86_fp80, ptr %22, align 16, !tbaa !11
  %126 = fsub x86_fp80 %125, 0xK4000B989374BC6A7F000
  %127 = fdiv x86_fp80 %126, 0xK4000B989374BC6A7F000
  store x86_fp80 %127, ptr %23, align 16, !tbaa !11
  %128 = load x86_fp80, ptr %23, align 16, !tbaa !11
  %129 = invoke noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %128)
          to label %130 unwind label %137

130:                                              ; preds = %124
  %131 = fcmp ogt x86_fp80 %129, 0xK3FDAAFEBFF0BCB24A800
  br i1 %131, label %132, label %141

132:                                              ; preds = %130
  store i32 5, ptr %16, align 4
  br label %283

133:                                              ; preds = %121
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %7, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %8, align 4
  br label %286

137:                                              ; preds = %280, %276, %271, %269, %265, %260, %258, %254, %249, %247, %244, %239, %237, %234, %229, %227, %222, %220, %215, %213, %211, %207, %202, %200, %196, %191, %189, %185, %180, %178, %175, %170, %168, %165, %160, %158, %153, %151, %146, %144, %141, %124
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %7, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #10
  br label %286

141:                                              ; preds = %130
  %142 = load i32, ptr %15, align 4, !tbaa !5
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %142)
          to label %144 unwind label %137

144:                                              ; preds = %141
  %145 = invoke i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
          to label %146 unwind label %137

146:                                              ; preds = %144
  %147 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %24, i32 0, i32 0
  store i32 %145, ptr %147, align 4
  %148 = getelementptr inbounds %"struct.std::_Setiosflags", ptr %24, i32 0, i32 0
  %149 = load i32, ptr %148, align 4
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %143, i32 %149)
          to label %151 unwind label %137

151:                                              ; preds = %146
  %152 = invoke i32 @_ZSt12setprecisioni(i32 noundef 18)
          to label %153 unwind label %137

153:                                              ; preds = %151
  %154 = getelementptr inbounds %"struct.std::_Setprecision", ptr %25, i32 0, i32 0
  store i32 %152, ptr %154, align 4
  %155 = getelementptr inbounds %"struct.std::_Setprecision", ptr %25, i32 0, i32 0
  %156 = load i32, ptr %155, align 4
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %150, i32 %156)
          to label %158 unwind label %137

158:                                              ; preds = %153
  %159 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %160 unwind label %137

160:                                              ; preds = %158
  %161 = getelementptr inbounds %"struct.std::_Setw", ptr %26, i32 0, i32 0
  store i32 %159, ptr %161, align 4
  %162 = getelementptr inbounds %"struct.std::_Setw", ptr %26, i32 0, i32 0
  %163 = load i32, ptr %162, align 4
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %157, i32 %163)
          to label %165 unwind label %137

165:                                              ; preds = %160
  %166 = load x86_fp80, ptr %20, align 16, !tbaa !11
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %164, x86_fp80 noundef %166)
          to label %168 unwind label %137

168:                                              ; preds = %165
  %169 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %170 unwind label %137

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

175:                                              ; preds = %170
  %176 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %174, x86_fp80 noundef %176)
          to label %178 unwind label %137

178:                                              ; preds = %175
  %179 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %180 unwind label %137

180:                                              ; preds = %178
  %181 = getelementptr inbounds %"struct.std::_Setw", ptr %28, i32 0, i32 0
  store i32 %179, ptr %181, align 4
  %182 = getelementptr inbounds %"struct.std::_Setw", ptr %28, i32 0, i32 0
  %183 = load i32, ptr %182, align 4
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 %183)
          to label %185 unwind label %137

185:                                              ; preds = %180
  %186 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 0
  %187 = load x86_fp80, ptr %186, align 16, !tbaa !11
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %184, x86_fp80 noundef %187)
          to label %189 unwind label %137

189:                                              ; preds = %185
  %190 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %191 unwind label %137

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

196:                                              ; preds = %191
  %197 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 2
  %198 = load x86_fp80, ptr %197, align 16, !tbaa !11
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %195, x86_fp80 noundef %198)
          to label %200 unwind label %137

200:                                              ; preds = %196
  %201 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %202 unwind label %137

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

207:                                              ; preds = %202
  %208 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 1
  %209 = load x86_fp80, ptr %208, align 16, !tbaa !11
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %206, x86_fp80 noundef %209)
          to label %211 unwind label %137

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

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

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

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

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

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

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

234:                                              ; preds = %229
  %235 = load x86_fp80, ptr %20, align 16, !tbaa !11
  %236 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %233, x86_fp80 noundef %235)
          to label %237 unwind label %137

237:                                              ; preds = %234
  %238 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %239 unwind label %137

239:                                              ; preds = %237
  %240 = getelementptr inbounds %"struct.std::_Setw", ptr %34, i32 0, i32 0
  store i32 %238, ptr %240, align 4
  %241 = getelementptr inbounds %"struct.std::_Setw", ptr %34, i32 0, i32 0
  %242 = load i32, ptr %241, align 4
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %236, i32 %242)
          to label %244 unwind label %137

244:                                              ; preds = %239
  %245 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %243, x86_fp80 noundef %245)
          to label %247 unwind label %137

247:                                              ; preds = %244
  %248 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %249 unwind label %137

249:                                              ; preds = %247
  %250 = getelementptr inbounds %"struct.std::_Setw", ptr %35, i32 0, i32 0
  store i32 %248, ptr %250, align 4
  %251 = getelementptr inbounds %"struct.std::_Setw", ptr %35, i32 0, i32 0
  %252 = load i32, ptr %251, align 4
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 %252)
          to label %254 unwind label %137

254:                                              ; preds = %249
  %255 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 0
  %256 = load x86_fp80, ptr %255, align 16, !tbaa !11
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %253, x86_fp80 noundef %256)
          to label %258 unwind label %137

258:                                              ; preds = %254
  %259 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %260 unwind label %137

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

265:                                              ; preds = %260
  %266 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 2
  %267 = load x86_fp80, ptr %266, align 16, !tbaa !11
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %264, x86_fp80 noundef %267)
          to label %269 unwind label %137

269:                                              ; preds = %265
  %270 = invoke i32 @_ZSt4setwi(i32 noundef 28)
          to label %271 unwind label %137

271:                                              ; preds = %269
  %272 = getelementptr inbounds %"struct.std::_Setw", ptr %37, i32 0, i32 0
  store i32 %270, ptr %272, align 4
  %273 = getelementptr inbounds %"struct.std::_Setw", ptr %37, i32 0, i32 0
  %274 = load i32, ptr %273, align 4
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %268, i32 %274)
          to label %276 unwind label %137

276:                                              ; preds = %271
  %277 = getelementptr inbounds [4 x x86_fp80], ptr %18, i64 0, i64 1
  %278 = load x86_fp80, ptr %277, align 16, !tbaa !11
  %279 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %275, x86_fp80 noundef %278)
          to label %280 unwind label %137

280:                                              ; preds = %276
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %279, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %282 unwind label %137

282:                                              ; preds = %280
  store i32 0, ptr %16, align 4
  br label %283

283:                                              ; preds = %282, %132
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  %284 = load i32, ptr %16, align 4
  switch i32 %284, label %317 [
    i32 0, label %285
    i32 5, label %287
  ]

285:                                              ; preds = %283
  br label %84, !llvm.loop !15

286:                                              ; preds = %137, %133
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  br label %294

287:                                              ; preds = %283, %114, %84
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #10
  store i32 0, ptr %16, align 4
  br label %288

288:                                              ; preds = %287, %67
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  %289 = load i32, ptr %16, align 4
  switch i32 %289, label %317 [
    i32 0, label %290
    i32 4, label %291
  ]

290:                                              ; preds = %288
  br label %291

291:                                              ; preds = %290, %288
  %292 = load i32, ptr %15, align 4, !tbaa !5
  %293 = add nsw i32 %292, 1
  store i32 %293, ptr %15, align 4, !tbaa !5
  br label %47, !llvm.loop !17

294:                                              ; preds = %286, %120, %94
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #10
  br label %295

295:                                              ; preds = %294, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %307

296:                                              ; preds = %50
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %6)
          to label %297 unwind label %303

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

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

301:                                              ; preds = %299
  store i32 0, ptr %3, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 1760, ptr %9) #10
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %6) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr %6) #10
  %302 = load i32, ptr %3, align 4
  ret i32 %302

303:                                              ; preds = %299, %297, %296
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %7, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %8, align 4
  br label %307

307:                                              ; preds = %303, %295
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 1760, ptr %9) #10
  br label %308

308:                                              ; preds = %307, %51
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %6) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr %6) #10
  br label %309

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

314:                                              ; preds = %110
  %315 = landingpad { ptr, i32 }
          catch ptr null
  %316 = extractvalue { ptr, i32 } %315, 0
  call void @__clang_call_terminate(ptr %316) #11
  unreachable

317:                                              ; preds = %288, %283
  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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #4

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

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

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

declare ptr @__cxa_begin_catch(ptr)

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

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

declare void @__cxa_end_catch()

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

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

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

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

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

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

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

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

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

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

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

; 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { nounwind memory(none) }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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 [21 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 [21 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef 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) #10
  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 %17

8:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1760, ptr nonnull %4) #10
  %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 = getelementptr inbounds i8, ptr %5, i64 16
  %14 = getelementptr inbounds i8, ptr %5, i64 32
  %15 = getelementptr inbounds i8, ptr %5, i64 48
  br label %21

16:                                               ; preds = %141
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %3)
          to label %143 unwind label %148

17:                                               ; preds = %2
  %18 = landingpad { ptr, i32 }
          cleanup
  %19 = extractvalue { ptr, i32 } %18, 0
  %20 = extractvalue { ptr, i32 } %18, 1
  br label %153

21:                                               ; preds = %8, %141
  %.04458 = phi i32 [ 0, %8 ], [ %142, %141 ]
  %22 = uitofp nneg i32 %.04458 to x86_fp80
  %23 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %22, x86_fp80 0xK3FF6DA740DA740DA8889, x86_fp80 0xK3FFDE666666666666800)
  %24 = call noundef x86_fp80 @_Z13pcr3bvysquareIeET_S0_S0_S0_(x86_fp80 noundef %23, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK00000000000000000000)
  %25 = fcmp ugt x86_fp80 %24, 0xK00000000000000000000
  br i1 %25, label %26, label %141

26:                                               ; preds = %21
  %27 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %24)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #10
  store x86_fp80 %23, ptr %5, align 16, !tbaa !9
  store x86_fp80 0xK00000000000000000000, ptr %13, align 16, !tbaa !9
  store x86_fp80 0xK00000000000000000000, ptr %14, align 16, !tbaa !9
  store x86_fp80 %27, ptr %15, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #10
  store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %6, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #10
  store x86_fp80 0xK00000000000000000000, ptr %7, align 16, !tbaa !9
  br label %28

28:                                               ; preds = %26, %138
  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 0xK4002A000000000000000, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800, x86_fp80 noundef 0xK3FD78CBCCC096F508800)
          to label %50 unwind label %29

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

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

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

44:                                               ; preds = %42
  invoke void @__cxa_end_catch()
          to label %.thread unwind label %47

45:                                               ; preds = %42, %35
  %46 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %49 unwind label %156

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

49:                                               ; preds = %45, %47
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  %.0 = extractvalue { ptr, i32 } %.pn, 0
  %.040 = extractvalue { ptr, i32 } %.pn, 1
  br label %.loopexit

50:                                               ; preds = %28
  %51 = call noundef x86_fp80 @_Z7pcr3bcjIeET_PS0_(ptr noundef nonnull %5)
  %52 = fadd x86_fp80 %51, 0xKC000B989374BC6A7F000
  %53 = fdiv x86_fp80 %52, 0xK4000B989374BC6A7F000
  %54 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %53)
  %55 = fcmp ogt x86_fp80 %54, 0xK3FDAAFEBFF0BCB24A800
  br i1 %55, label %.thread, label %60

56:                                               ; preds = %136, %133, %130, %127, %124, %121, %118, %115, %112, %109, %106, %103, %100, %98, %95, %92, %89, %86, %83, %80, %77, %74, %71, %68, %65, %62, %60
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  %59 = extractvalue { ptr, i32 } %57, 1
  br label %.loopexit

60:                                               ; preds = %50
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %.04458)
          to label %62 unwind label %56

62:                                               ; preds = %60
  %63 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %61, i32 %63)
          to label %65 unwind label %56

65:                                               ; preds = %62
  %66 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %64, i32 %66)
          to label %68 unwind label %56

68:                                               ; preds = %65
  %69 = call i32 @_ZSt4setwi(i32 noundef 28)
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %67, i32 %69)
          to label %71 unwind label %56

71:                                               ; preds = %68
  %72 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %70, x86_fp80 noundef %72)
          to label %74 unwind label %56

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

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

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

83:                                               ; preds = %80
  %84 = load x86_fp80, ptr %5, align 16, !tbaa !9
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %82, x86_fp80 noundef %84)
          to label %86 unwind label %56

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

89:                                               ; preds = %86
  %90 = load x86_fp80, ptr %14, align 16, !tbaa !9
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %88, x86_fp80 noundef %90)
          to label %92 unwind label %56

92:                                               ; preds = %89
  %93 = call i32 @_ZSt4setwi(i32 noundef 28)
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %91, i32 %93)
          to label %95 unwind label %56

95:                                               ; preds = %92
  %96 = load x86_fp80, ptr %13, align 16, !tbaa !9
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %94, x86_fp80 noundef %96)
          to label %98 unwind label %56

98:                                               ; preds = %95
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %100 unwind label %56

100:                                              ; preds = %98
  %101 = call i32 @_ZSt11setiosflagsSt13_Ios_Fmtflags(i32 noundef 256)
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St12_Setiosflags(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 %101)
          to label %103 unwind label %56

103:                                              ; preds = %100
  %104 = call i32 @_ZSt12setprecisioni(i32 noundef 18)
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %102, i32 %104)
          to label %106 unwind label %56

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

109:                                              ; preds = %106
  %110 = load x86_fp80, ptr %7, 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 %56

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) %111, i32 %113)
          to label %115 unwind label %56

115:                                              ; preds = %112
  %116 = load x86_fp80, ptr %6, 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 %56

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) %3, i32 %119)
          to label %121 unwind label %56

121:                                              ; preds = %118
  %122 = load x86_fp80, ptr %5, 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 %56

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

127:                                              ; preds = %124
  %128 = load x86_fp80, ptr %14, 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 %56

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

133:                                              ; preds = %130
  %134 = load x86_fp80, ptr %13, align 16, !tbaa !9
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %132, x86_fp80 noundef %134)
          to label %136 unwind label %56

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

138:                                              ; preds = %136
  %139 = load x86_fp80, ptr %7, align 16
  %140 = fcmp olt x86_fp80 %139, 0xK4008C800000000000000
  br i1 %140, label %28, label %.thread

.thread:                                          ; preds = %50, %138, %44
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #10
  br label %141

141:                                              ; preds = %21, %.thread
  %142 = add nuw nsw i32 %.04458, 1
  %exitcond.not = icmp eq i32 %142, 30
  br i1 %exitcond.not, label %16, label %21, !llvm.loop !13

.loopexit:                                        ; preds = %29, %56, %49
  %.141 = phi i32 [ %59, %56 ], [ %.040, %49 ], [ %32, %29 ]
  %.1 = phi ptr [ %58, %56 ], [ %.0, %49 ], [ %31, %29 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #10
  br label %152

143:                                              ; preds = %16
  %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 %148

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

147:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 1760, ptr nonnull %4) #10
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %3) #10
  ret i32 0

148:                                              ; preds = %145, %143, %16
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  %151 = extractvalue { ptr, i32 } %149, 1
  br label %152

152:                                              ; preds = %148, %.loopexit
  %.242 = phi i32 [ %.141, %.loopexit ], [ %151, %148 ]
  %.2 = phi ptr [ %.1, %.loopexit ], [ %150, %148 ]
  call void @llvm.lifetime.end.p0(i64 1760, ptr nonnull %4) #10
  br label %153

153:                                              ; preds = %152, %17
  %.343 = phi i32 [ %.242, %152 ], [ %20, %17 ]
  %.3 = phi ptr [ %.2, %152 ], [ %19, %17 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %3) #10
  %154 = insertvalue { ptr, i32 } poison, ptr %.3, 0
  %155 = insertvalue { ptr, i32 } %154, i32 %.343, 1
  resume { ptr, i32 } %155

156:                                              ; preds = %45
  %157 = landingpad { ptr, i32 }
          catch ptr null
  %158 = extractvalue { ptr, i32 } %157, 0
  call void @__clang_call_terminate(ptr %158) #11
  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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #4

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

declare void @__cxa_end_catch() local_unnamed_addr

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

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

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

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

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

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

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

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

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

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

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

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


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