; LLVM IR from romerojosh/zefr :: src/polynomials.ll (Z10dDubiner3Djddddj)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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 }

@.str = external hidden unnamed_addr constant [69 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [43 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@__func__._Z10dDubiner3Djddddj = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z6Jacobidddj(double noundef, double noundef, double noundef, i32 noundef) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z7dJacobidddj(double noundef, double noundef, double noundef, i32 noundef) #1

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

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

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #1 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6 align 2

declare void @__cxa_free_exception(ptr)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z10dDubiner3Djddddj(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, i32 noundef %5) #1 personality ptr @__gxx_personality_v0 {
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca i1, align 1
  %20 = alloca [3 x double], align 16
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  store i32 %0, ptr %8, align 4, !tbaa !5
  store double %1, ptr %9, align 8, !tbaa !9
  store double %2, ptr %10, align 8, !tbaa !9
  store double %3, ptr %11, align 8, !tbaa !9
  store double %4, ptr %12, align 8, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %38 = load i32, ptr %8, align 4, !tbaa !5
  %39 = add i32 %38, 1
  %40 = load i32, ptr %8, align 4, !tbaa !5
  %41 = add i32 %40, 2
  %42 = mul i32 %39, %41
  %43 = load i32, ptr %8, align 4, !tbaa !5
  %44 = add i32 %43, 3
  %45 = mul i32 %42, %44
  %46 = udiv i32 %45, 6
  store i32 %46, ptr %14, align 4, !tbaa !5
  %47 = load i32, ptr %13, align 4, !tbaa !5
  %48 = load i32, ptr %14, align 4, !tbaa !5
  %49 = icmp uge i32 %47, %48
  br i1 %49, label %50, label %86

50:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 392, ptr %15) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15)
  %51 = getelementptr inbounds i8, ptr %15, i64 16
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef @.str)
          to label %53 unwind label %69

53:                                               ; preds = %50
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef @.str.1)
          to label %55 unwind label %69

55:                                               ; preds = %53
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef 329)
          to label %57 unwind label %69

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef @.str.1)
          to label %59 unwind label %69

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef @__func__._Z10dDubiner3Djddddj)
          to label %61 unwind label %69

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @.str.2)
          to label %63 unwind label %69

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @.str.3)
          to label %65 unwind label %69

65:                                               ; preds = %63
  store i1 true, ptr %19, align 1
  %66 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(128) %15)
          to label %67 unwind label %73

67:                                               ; preds = %65
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %68 unwind label %77

68:                                               ; preds = %67
  store i1 false, ptr %19, align 1
  invoke void @__cxa_throw(ptr %66, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %426 unwind label %77

69:                                               ; preds = %63, %61, %59, %57, %55, %53, %50
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %16, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %17, align 4
  br label %85

73:                                               ; preds = %65
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %16, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %17, align 4
  br label %81

77:                                               ; preds = %68, %67
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %16, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %81

81:                                               ; preds = %77, %73
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  %82 = load i1, ptr %19, align 1
  br i1 %82, label %83, label %84

83:                                               ; preds = %81
  call void @__cxa_free_exception(ptr %66) #8
  br label %84

84:                                               ; preds = %83, %81
  br label %85

85:                                               ; preds = %84, %69
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %421

86:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  %87 = load double, ptr %10, align 8, !tbaa !9
  %88 = load double, ptr %11, align 8, !tbaa !9
  %89 = fadd double %87, %88
  %90 = fcmp oeq double %89, 0.000000e+00
  br i1 %90, label %91, label %92

91:                                               ; preds = %86
  br label %101

92:                                               ; preds = %86
  %93 = load double, ptr %9, align 8, !tbaa !9
  %94 = fadd double 1.000000e+00, %93
  %95 = fmul double -2.000000e+00, %94
  %96 = load double, ptr %10, align 8, !tbaa !9
  %97 = load double, ptr %11, align 8, !tbaa !9
  %98 = fadd double %96, %97
  %99 = fdiv double %95, %98
  %100 = fsub double %99, 1.000000e+00
  br label %101

101:                                              ; preds = %92, %91
  %102 = phi double [ -1.000000e+00, %91 ], [ %100, %92 ]
  %103 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  store double %102, ptr %103, align 16, !tbaa !9
  %104 = load double, ptr %11, align 8, !tbaa !9
  %105 = fcmp oeq double %104, 1.000000e+00
  br i1 %105, label %106, label %107

106:                                              ; preds = %101
  br label %115

107:                                              ; preds = %101
  %108 = load double, ptr %10, align 8, !tbaa !9
  %109 = fadd double 1.000000e+00, %108
  %110 = fmul double 2.000000e+00, %109
  %111 = load double, ptr %11, align 8, !tbaa !9
  %112 = fsub double 1.000000e+00, %111
  %113 = fdiv double %110, %112
  %114 = fsub double %113, 1.000000e+00
  br label %115

115:                                              ; preds = %107, %106
  %116 = phi double [ -1.000000e+00, %106 ], [ %114, %107 ]
  %117 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  store double %116, ptr %117, align 8, !tbaa !9
  %118 = load double, ptr %11, align 8, !tbaa !9
  %119 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  store double %118, ptr %119, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %413, %115
  %121 = load i32, ptr %22, align 4, !tbaa !5
  %122 = load i32, ptr %8, align 4, !tbaa !5
  %123 = icmp ule i32 %121, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 2, ptr %23, align 4
  br label %416

125:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %407, %125
  %127 = load i32, ptr %24, align 4, !tbaa !5
  %128 = load i32, ptr %22, align 4, !tbaa !5
  %129 = icmp ule i32 %127, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %126
  store i32 5, ptr %23, align 4
  br label %410

131:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %401, %131
  %133 = load i32, ptr %25, align 4, !tbaa !5
  %134 = load i32, ptr %24, align 4, !tbaa !5
  %135 = icmp ule i32 %133, %134
  br i1 %135, label %137, label %136

136:                                              ; preds = %132
  store i32 8, ptr %23, align 4
  br label %404

137:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %138 = load i32, ptr %24, align 4, !tbaa !5
  %139 = load i32, ptr %25, align 4, !tbaa !5
  %140 = sub i32 %138, %139
  store i32 %140, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %141 = load i32, ptr %22, align 4, !tbaa !5
  %142 = load i32, ptr %26, align 4, !tbaa !5
  %143 = sub i32 %141, %142
  %144 = load i32, ptr %25, align 4, !tbaa !5
  %145 = sub i32 %143, %144
  store i32 %145, ptr %27, align 4, !tbaa !5
  %146 = load i32, ptr %21, align 4, !tbaa !5
  %147 = load i32, ptr %13, align 4, !tbaa !5
  %148 = icmp eq i32 %146, %147
  br i1 %148, label %149, label %395

149:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %150 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %151 = load double, ptr %150, align 16, !tbaa !9
  %152 = load i32, ptr %27, align 4, !tbaa !5
  %153 = call noundef double @_Z6Jacobidddj(double noundef %151, double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %152)
  store double %153, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %154 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %155 = load double, ptr %154, align 8, !tbaa !9
  %156 = load i32, ptr %27, align 4, !tbaa !5
  %157 = mul i32 2, %156
  %158 = add i32 %157, 1
  %159 = uitofp i32 %158 to double
  %160 = load i32, ptr %26, align 4, !tbaa !5
  %161 = call noundef double @_Z6Jacobidddj(double noundef %155, double noundef %159, double noundef 0.000000e+00, i32 noundef %160)
  store double %161, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %162 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %163 = load double, ptr %162, align 16, !tbaa !9
  %164 = load i32, ptr %27, align 4, !tbaa !5
  %165 = mul i32 2, %164
  %166 = load i32, ptr %26, align 4, !tbaa !5
  %167 = mul i32 2, %166
  %168 = add i32 %165, %167
  %169 = add i32 %168, 2
  %170 = uitofp i32 %169 to double
  %171 = load i32, ptr %25, align 4, !tbaa !5
  %172 = call noundef double @_Z6Jacobidddj(double noundef %163, double noundef %170, double noundef 0.000000e+00, i32 noundef %171)
  store double %172, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %173 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %174 = load double, ptr %173, align 16, !tbaa !9
  %175 = load i32, ptr %27, align 4, !tbaa !5
  %176 = call noundef double @_Z7dJacobidddj(double noundef %174, double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %175)
  store double %176, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %177 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %178 = load double, ptr %177, align 8, !tbaa !9
  %179 = load i32, ptr %27, align 4, !tbaa !5
  %180 = mul i32 2, %179
  %181 = add i32 %180, 1
  %182 = uitofp i32 %181 to double
  %183 = load i32, ptr %26, align 4, !tbaa !5
  %184 = call noundef double @_Z7dJacobidddj(double noundef %178, double noundef %182, double noundef 0.000000e+00, i32 noundef %183)
  store double %184, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %185 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %186 = load double, ptr %185, align 16, !tbaa !9
  %187 = load i32, ptr %27, align 4, !tbaa !5
  %188 = mul i32 2, %187
  %189 = load i32, ptr %26, align 4, !tbaa !5
  %190 = mul i32 2, %189
  %191 = add i32 %188, %190
  %192 = add i32 %191, 2
  %193 = uitofp i32 %192 to double
  %194 = load i32, ptr %25, align 4, !tbaa !5
  %195 = call noundef double @_Z7dJacobidddj(double noundef %186, double noundef %193, double noundef 0.000000e+00, i32 noundef %194)
  store double %195, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %196 = load double, ptr %31, align 8, !tbaa !9
  %197 = load double, ptr %29, align 8, !tbaa !9
  %198 = fmul double %196, %197
  %199 = load double, ptr %30, align 8, !tbaa !9
  %200 = fmul double %198, %199
  store double %200, ptr %34, align 8, !tbaa !9
  %201 = load i32, ptr %27, align 4, !tbaa !5
  %202 = icmp ugt i32 %201, 0
  br i1 %202, label %203, label %213

203:                                              ; preds = %149
  %204 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %205 = load double, ptr %204, align 8, !tbaa !9
  %206 = fsub double 1.000000e+00, %205
  %207 = fmul double 5.000000e-01, %206
  %208 = load i32, ptr %27, align 4, !tbaa !5
  %209 = sub i32 %208, 1
  %210 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %207, i32 noundef %209)
  %211 = load double, ptr %34, align 8, !tbaa !9
  %212 = fmul double %211, %210
  store double %212, ptr %34, align 8, !tbaa !9
  br label %213

213:                                              ; preds = %203, %149
  %214 = load i32, ptr %27, align 4, !tbaa !5
  %215 = load i32, ptr %26, align 4, !tbaa !5
  %216 = add i32 %214, %215
  %217 = icmp ugt i32 %216, 0
  br i1 %217, label %218, label %230

218:                                              ; preds = %213
  %219 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %220 = load double, ptr %219, align 16, !tbaa !9
  %221 = fsub double 1.000000e+00, %220
  %222 = fmul double 5.000000e-01, %221
  %223 = load i32, ptr %27, align 4, !tbaa !5
  %224 = load i32, ptr %26, align 4, !tbaa !5
  %225 = add i32 %223, %224
  %226 = sub i32 %225, 1
  %227 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %222, i32 noundef %226)
  %228 = load double, ptr %34, align 8, !tbaa !9
  %229 = fmul double %228, %227
  store double %229, ptr %34, align 8, !tbaa !9
  br label %230

230:                                              ; preds = %218, %213
  %231 = load double, ptr %12, align 8, !tbaa !9
  %232 = fcmp oeq double %231, 0.000000e+00
  br i1 %232, label %233, label %243

233:                                              ; preds = %230
  %234 = load double, ptr %34, align 8, !tbaa !9
  %235 = load i32, ptr %27, align 4, !tbaa !5
  %236 = mul i32 2, %235
  %237 = load i32, ptr %26, align 4, !tbaa !5
  %238 = add i32 %236, %237
  %239 = uitofp i32 %238 to double
  %240 = fadd double %239, 1.500000e+00
  %241 = call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %240)
  %242 = fmul double %234, %241
  store double %242, ptr %7, align 8
  store i32 1, ptr %23, align 4
  br label %392

243:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %244 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %245 = load double, ptr %244, align 16, !tbaa !9
  %246 = fadd double 1.000000e+00, %245
  %247 = fmul double 5.000000e-01, %246
  %248 = load double, ptr %34, align 8, !tbaa !9
  %249 = fmul double %247, %248
  store double %249, ptr %35, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %250 = load double, ptr %32, align 8, !tbaa !9
  %251 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %252 = load double, ptr %251, align 8, !tbaa !9
  %253 = fsub double 1.000000e+00, %252
  %254 = fmul double 5.000000e-01, %253
  %255 = load i32, ptr %27, align 4, !tbaa !5
  %256 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %254, i32 noundef %255)
  %257 = fmul double %250, %256
  store double %257, ptr %36, align 8, !tbaa !9
  %258 = load i32, ptr %27, align 4, !tbaa !5
  %259 = icmp ugt i32 %258, 0
  br i1 %259, label %260, label %276

260:                                              ; preds = %243
  %261 = load i32, ptr %27, align 4, !tbaa !5
  %262 = uitofp i32 %261 to double
  %263 = fmul double 5.000000e-01, %262
  %264 = load double, ptr %29, align 8, !tbaa !9
  %265 = fmul double %263, %264
  %266 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %267 = load double, ptr %266, align 8, !tbaa !9
  %268 = fsub double 1.000000e+00, %267
  %269 = fmul double 5.000000e-01, %268
  %270 = load i32, ptr %27, align 4, !tbaa !5
  %271 = sub i32 %270, 1
  %272 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %269, i32 noundef %271)
  %273 = load double, ptr %36, align 8, !tbaa !9
  %274 = fneg double %265
  %275 = call double @llvm.fmuladd.f64(double %274, double %272, double %273)
  store double %275, ptr %36, align 8, !tbaa !9
  br label %276

276:                                              ; preds = %260, %243
  %277 = load i32, ptr %27, align 4, !tbaa !5
  %278 = load i32, ptr %26, align 4, !tbaa !5
  %279 = add i32 %277, %278
  %280 = icmp ugt i32 %279, 0
  br i1 %280, label %281, label %293

281:                                              ; preds = %276
  %282 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %283 = load double, ptr %282, align 16, !tbaa !9
  %284 = fsub double 1.000000e+00, %283
  %285 = fmul double 5.000000e-01, %284
  %286 = load i32, ptr %27, align 4, !tbaa !5
  %287 = load i32, ptr %26, align 4, !tbaa !5
  %288 = add i32 %286, %287
  %289 = sub i32 %288, 1
  %290 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %285, i32 noundef %289)
  %291 = load double, ptr %36, align 8, !tbaa !9
  %292 = fmul double %291, %290
  store double %292, ptr %36, align 8, !tbaa !9
  br label %293

293:                                              ; preds = %281, %276
  %294 = load double, ptr %28, align 8, !tbaa !9
  %295 = load double, ptr %30, align 8, !tbaa !9
  %296 = fmul double %294, %295
  %297 = load double, ptr %36, align 8, !tbaa !9
  %298 = fmul double %297, %296
  store double %298, ptr %36, align 8, !tbaa !9
  %299 = load double, ptr %36, align 8, !tbaa !9
  %300 = load double, ptr %35, align 8, !tbaa !9
  %301 = fadd double %300, %299
  store double %301, ptr %35, align 8, !tbaa !9
  %302 = load double, ptr %12, align 8, !tbaa !9
  %303 = fcmp oeq double %302, 1.000000e+00
  br i1 %303, label %304, label %314

304:                                              ; preds = %293
  %305 = load double, ptr %35, align 8, !tbaa !9
  %306 = load i32, ptr %27, align 4, !tbaa !5
  %307 = mul i32 2, %306
  %308 = load i32, ptr %26, align 4, !tbaa !5
  %309 = add i32 %307, %308
  %310 = uitofp i32 %309 to double
  %311 = fadd double %310, 1.500000e+00
  %312 = call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %311)
  %313 = fmul double %305, %312
  store double %313, ptr %7, align 8
  store i32 1, ptr %23, align 4
  br label %391

314:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %315 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %316 = load double, ptr %315, align 16, !tbaa !9
  %317 = fadd double 1.000000e+00, %316
  %318 = fmul double 5.000000e-01, %317
  %319 = load double, ptr %34, align 8, !tbaa !9
  %320 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %321 = load double, ptr %320, align 8, !tbaa !9
  %322 = fadd double 1.000000e+00, %321
  %323 = fmul double 5.000000e-01, %322
  %324 = load double, ptr %36, align 8, !tbaa !9
  %325 = fmul double %323, %324
  %326 = call double @llvm.fmuladd.f64(double %318, double %319, double %325)
  store double %326, ptr %37, align 8, !tbaa !9
  %327 = load double, ptr %33, align 8, !tbaa !9
  %328 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %329 = load double, ptr %328, align 16, !tbaa !9
  %330 = fsub double 1.000000e+00, %329
  %331 = fmul double 5.000000e-01, %330
  %332 = load i32, ptr %27, align 4, !tbaa !5
  %333 = load i32, ptr %26, align 4, !tbaa !5
  %334 = add i32 %332, %333
  %335 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %331, i32 noundef %334)
  %336 = fmul double %327, %335
  store double %336, ptr %36, align 8, !tbaa !9
  %337 = load i32, ptr %27, align 4, !tbaa !5
  %338 = load i32, ptr %26, align 4, !tbaa !5
  %339 = add i32 %337, %338
  %340 = icmp ugt i32 %339, 0
  br i1 %340, label %341, label %361

341:                                              ; preds = %314
  %342 = load i32, ptr %27, align 4, !tbaa !5
  %343 = load i32, ptr %26, align 4, !tbaa !5
  %344 = add i32 %342, %343
  %345 = uitofp i32 %344 to double
  %346 = fmul double 5.000000e-01, %345
  %347 = load double, ptr %30, align 8, !tbaa !9
  %348 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %349 = load double, ptr %348, align 16, !tbaa !9
  %350 = fsub double 1.000000e+00, %349
  %351 = fmul double 5.000000e-01, %350
  %352 = load i32, ptr %27, align 4, !tbaa !5
  %353 = load i32, ptr %26, align 4, !tbaa !5
  %354 = add i32 %352, %353
  %355 = sub i32 %354, 1
  %356 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %351, i32 noundef %355)
  %357 = fmul double %347, %356
  %358 = load double, ptr %36, align 8, !tbaa !9
  %359 = fneg double %346
  %360 = call double @llvm.fmuladd.f64(double %359, double %357, double %358)
  store double %360, ptr %36, align 8, !tbaa !9
  br label %361

361:                                              ; preds = %341, %314
  %362 = load double, ptr %28, align 8, !tbaa !9
  %363 = load double, ptr %29, align 8, !tbaa !9
  %364 = fmul double %362, %363
  %365 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %366 = load double, ptr %365, align 8, !tbaa !9
  %367 = fsub double 1.000000e+00, %366
  %368 = fmul double 5.000000e-01, %367
  %369 = load i32, ptr %27, align 4, !tbaa !5
  %370 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %368, i32 noundef %369)
  %371 = fmul double %364, %370
  %372 = load double, ptr %36, align 8, !tbaa !9
  %373 = fmul double %372, %371
  store double %373, ptr %36, align 8, !tbaa !9
  %374 = load double, ptr %36, align 8, !tbaa !9
  %375 = load double, ptr %37, align 8, !tbaa !9
  %376 = fadd double %375, %374
  store double %376, ptr %37, align 8, !tbaa !9
  %377 = load double, ptr %12, align 8, !tbaa !9
  %378 = fcmp oeq double %377, 2.000000e+00
  br i1 %378, label %379, label %389

379:                                              ; preds = %361
  %380 = load double, ptr %37, align 8, !tbaa !9
  %381 = load i32, ptr %27, align 4, !tbaa !5
  %382 = mul i32 2, %381
  %383 = load i32, ptr %26, align 4, !tbaa !5
  %384 = add i32 %382, %383
  %385 = uitofp i32 %384 to double
  %386 = fadd double %385, 1.500000e+00
  %387 = call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %386)
  %388 = fmul double %380, %387
  store double %388, ptr %7, align 8
  store i32 1, ptr %23, align 4
  br label %390

389:                                              ; preds = %361
  store i32 0, ptr %23, align 4
  br label %390

390:                                              ; preds = %389, %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %391

391:                                              ; preds = %390, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %392

392:                                              ; preds = %391, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %393 = load i32, ptr %23, align 4
  switch i32 %393, label %398 [
    i32 0, label %394
  ]

394:                                              ; preds = %392
  br label %395

395:                                              ; preds = %394, %137
  %396 = load i32, ptr %21, align 4, !tbaa !5
  %397 = add i32 %396, 1
  store i32 %397, ptr %21, align 4, !tbaa !5
  store i32 0, ptr %23, align 4
  br label %398

398:                                              ; preds = %395, %392
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  %399 = load i32, ptr %23, align 4
  switch i32 %399, label %404 [
    i32 0, label %400
  ]

400:                                              ; preds = %398
  br label %401

401:                                              ; preds = %400
  %402 = load i32, ptr %25, align 4, !tbaa !5
  %403 = add i32 %402, 1
  store i32 %403, ptr %25, align 4, !tbaa !5
  br label %132, !llvm.loop !11

404:                                              ; preds = %398, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  %405 = load i32, ptr %23, align 4
  switch i32 %405, label %410 [
    i32 8, label %406
  ]

406:                                              ; preds = %404
  br label %407

407:                                              ; preds = %406
  %408 = load i32, ptr %24, align 4, !tbaa !5
  %409 = add i32 %408, 1
  store i32 %409, ptr %24, align 4, !tbaa !5
  br label %126, !llvm.loop !13

410:                                              ; preds = %404, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  %411 = load i32, ptr %23, align 4
  switch i32 %411, label %416 [
    i32 5, label %412
  ]

412:                                              ; preds = %410
  br label %413

413:                                              ; preds = %412
  %414 = load i32, ptr %22, align 4, !tbaa !5
  %415 = add i32 %414, 1
  store i32 %415, ptr %22, align 4, !tbaa !5
  br label %120, !llvm.loop !14

416:                                              ; preds = %410, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  %417 = load i32, ptr %23, align 4
  switch i32 %417, label %419 [
    i32 2, label %418
  ]

418:                                              ; preds = %416
  unreachable

419:                                              ; preds = %416
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  %420 = load double, ptr %7, align 8
  ret double %420

421:                                              ; preds = %85
  %422 = load ptr, ptr %16, align 8
  %423 = load i32, ptr %17, align 4
  %424 = insertvalue { ptr, i32 } poison, ptr %422, 0
  %425 = insertvalue { ptr, i32 } %424, i32 %423, 1
  resume { ptr, i32 } %425

426:                                              ; preds = %68
  unreachable
}

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

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

!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 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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 }

@.str = external hidden unnamed_addr constant [69 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [43 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@__func__._Z10dDubiner3Djddddj = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z6Jacobidddj(double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z7dJacobidddj(double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #1

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

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

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6 align 2

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z10dDubiner3Djddddj(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, i32 noundef %5) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = add i32 %0, 1
  %10 = add i32 %0, 2
  %11 = mul i32 %9, %10
  %12 = add i32 %0, 3
  %13 = mul i32 %11, %12
  %14 = udiv i32 %13, 6
  %.not = icmp ugt i32 %14, %5
  br i1 %.not, label %42, label %15

15:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %7) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %7)
  %16 = getelementptr inbounds i8, ptr %7, i64 16
  %17 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str)
          to label %18 unwind label %35

18:                                               ; preds = %15
  %19 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull @.str.1)
          to label %20 unwind label %35

20:                                               ; preds = %18
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 329)
          to label %22 unwind label %35

22:                                               ; preds = %20
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @.str.1)
          to label %24 unwind label %35

24:                                               ; preds = %22
  %25 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @__func__._Z10dDubiner3Djddddj)
          to label %26 unwind label %35

26:                                               ; preds = %24
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull @.str.2)
          to label %28 unwind label %35

28:                                               ; preds = %26
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull @.str.3)
          to label %30 unwind label %35

30:                                               ; preds = %28
  %31 = call ptr @__cxa_allocate_exception(i64 16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(128) %7)
          to label %32 unwind label %.thread

32:                                               ; preds = %30
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %34 unwind label %.thread175

.thread175:                                       ; preds = %32
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %40

34:                                               ; preds = %32
  invoke void @__cxa_throw(ptr nonnull %31, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
          to label %151 unwind label %38

35:                                               ; preds = %28, %26, %24, %22, %20, %18, %15
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %41

.thread:                                          ; preds = %30
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %40

38:                                               ; preds = %34
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %41

40:                                               ; preds = %.thread175, %.thread
  %.pn174 = phi { ptr, i32 } [ %37, %.thread ], [ %33, %.thread175 ]
  call void @__cxa_free_exception(ptr %31) #9
  br label %41

41:                                               ; preds = %38, %40, %35
  %.pn.pn = phi { ptr, i32 } [ %.pn174, %40 ], [ %39, %38 ], [ %36, %35 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %7) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %7) #9
  resume { ptr, i32 } %.pn.pn

42:                                               ; preds = %6
  %43 = fadd double %2, %3
  %44 = fcmp oeq double %43, 0.000000e+00
  %45 = fadd double %1, 1.000000e+00
  %46 = fmul double %45, 2.000000e+00
  %47 = fdiv double %46, %43
  %48 = fsub double -1.000000e+00, %47
  %49 = select i1 %44, double -1.000000e+00, double %48
  %50 = fcmp oeq double %3, 1.000000e+00
  br i1 %50, label %._crit_edge, label %51

._crit_edge:                                      ; preds = %42
  %.pre = fsub double 1.000000e+00, %3
  br label %57

51:                                               ; preds = %42
  %52 = fadd double %2, 1.000000e+00
  %53 = fmul double %52, 2.000000e+00
  %54 = fsub double 1.000000e+00, %3
  %55 = fdiv double %53, %54
  %56 = fadd double %55, -1.000000e+00
  br label %57

57:                                               ; preds = %._crit_edge, %51
  %.pre-phi = phi double [ %.pre, %._crit_edge ], [ %54, %51 ]
  %58 = phi double [ -1.000000e+00, %._crit_edge ], [ %56, %51 ]
  %59 = fsub double 1.000000e+00, %58
  %60 = fmul double %59, 5.000000e-01
  %61 = fmul double %.pre-phi, 5.000000e-01
  %62 = fcmp oeq double %4, 0.000000e+00
  %63 = fcmp oeq double %4, 1.000000e+00
  %64 = fcmp oeq double %4, 2.000000e+00
  %65 = fadd double %49, 1.000000e+00
  %66 = fmul double %65, 5.000000e-01
  %67 = fadd double %58, 1.000000e+00
  %68 = fmul double %67, 5.000000e-01
  br label %.preheader196

.preheader196:                                    ; preds = %.thread191, %57
  %indvars.iv = phi i32 [ 1, %57 ], [ %indvars.iv.next, %.thread191 ]
  %.not165248 = phi i1 [ true, %57 ], [ %.not165, %.thread191 ]
  %.0140246 = phi i32 [ 0, %57 ], [ %142, %.thread191 ]
  %.0146244 = phi i32 [ 0, %57 ], [ %146, %.thread191 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader196, %144
  %.1141243 = phi i32 [ %.0140246, %.preheader196 ], [ %142, %144 ]
  %.0154242 = phi i32 [ 0, %.preheader196 ], [ %145, %144 ]
  %69 = sub i32 %.0146244, %.0154242
  %70 = shl i32 %69, 1
  %71 = or disjoint i32 %70, 1
  %72 = uitofp i32 %71 to double
  %.not168 = icmp eq i32 %.0146244, %.0154242
  %73 = add i32 %69, -1
  %74 = uitofp i32 %69 to double
  %75 = fmul double %74, -5.000000e-01
  br label %76

76:                                               ; preds = %.preheader, %141
  %.2142241 = phi i32 [ %.1141243, %.preheader ], [ %142, %141 ]
  %.0155240 = phi i32 [ 0, %.preheader ], [ %143, %141 ]
  %77 = sub i32 %.0154242, %.0155240
  %78 = icmp eq i32 %.2142241, %5
  br i1 %78, label %79, label %141

79:                                               ; preds = %76
  %80 = tail call noundef double @_Z6Jacobidddj(double noundef %49, double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %69)
  %81 = tail call noundef double @_Z6Jacobidddj(double noundef %58, double noundef %72, double noundef 0.000000e+00, i32 noundef %77)
  %82 = add i32 %77, %69
  %83 = shl i32 %82, 1
  %84 = add i32 %83, 2
  %85 = uitofp i32 %84 to double
  %86 = tail call noundef double @_Z6Jacobidddj(double noundef %3, double noundef %85, double noundef 0.000000e+00, i32 noundef %.0155240)
  %87 = tail call noundef double @_Z7dJacobidddj(double noundef %49, double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %69)
  %88 = tail call noundef double @_Z7dJacobidddj(double noundef %58, double noundef %72, double noundef 0.000000e+00, i32 noundef %77)
  %89 = tail call noundef double @_Z7dJacobidddj(double noundef %3, double noundef %85, double noundef 0.000000e+00, i32 noundef %.0155240)
  %90 = fmul double %81, %87
  %91 = fmul double %86, %90
  br i1 %.not168, label %95, label %92

92:                                               ; preds = %79
  %93 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %60, i32 noundef %73)
  %94 = fmul double %91, %93
  br label %95

95:                                               ; preds = %92, %79
  %.0129 = phi double [ %94, %92 ], [ %91, %79 ]
  %.not169 = icmp eq i32 %82, 0
  br i1 %.not169, label %100, label %96

96:                                               ; preds = %95
  %97 = add i32 %82, -1
  %98 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef %97)
  %99 = fmul double %.0129, %98
  br label %100

100:                                              ; preds = %96, %95
  %.1130 = phi double [ %99, %96 ], [ %.0129, %95 ]
  br i1 %62, label %.loopexit, label %101

101:                                              ; preds = %100
  %102 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %60, i32 noundef %69)
  %103 = fmul double %88, %102
  br i1 %.not168, label %108, label %104

104:                                              ; preds = %101
  %105 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %60, i32 noundef %73)
  %106 = fmul double %75, %81
  %107 = tail call double @llvm.fmuladd.f64(double %106, double %105, double %103)
  br label %108

108:                                              ; preds = %104, %101
  %.0 = phi double [ %107, %104 ], [ %103, %101 ]
  br i1 %.not169, label %109, label %.thread274

109:                                              ; preds = %108
  br i1 %63, label %113, label %118

.thread274:                                       ; preds = %108
  %110 = add i32 %82, -1
  %111 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef %110)
  %112 = fmul double %.0, %111
  br i1 %63, label %113, label %121

113:                                              ; preds = %.thread274, %109
  %.1277 = phi double [ %112, %.thread274 ], [ %.0, %109 ]
  %114 = fmul double %66, %.1130
  %115 = fmul double %80, %86
  %116 = fmul double %115, %.1277
  %117 = fadd double %114, %116
  br label %.loopexit

118:                                              ; preds = %109
  %119 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef %82)
  %120 = fmul double %89, %119
  br label %130

121:                                              ; preds = %.thread274
  %122 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef %82)
  %123 = fmul double %89, %122
  %124 = uitofp i32 %82 to double
  %125 = add i32 %82, -1
  %126 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef %125)
  %127 = fmul double %86, %126
  %128 = fmul double %124, -5.000000e-01
  %129 = tail call double @llvm.fmuladd.f64(double %128, double %127, double %123)
  br label %130

130:                                              ; preds = %118, %121
  %.1276281 = phi double [ %112, %121 ], [ %.0, %118 ]
  %.2 = phi double [ %129, %121 ], [ %120, %118 ]
  %131 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %60, i32 noundef %69)
  br i1 %64, label %132, label %141

132:                                              ; preds = %130
  %133 = fmul double %80, %86
  %134 = fmul double %133, %.1276281
  %135 = fmul double %68, %134
  %136 = tail call double @llvm.fmuladd.f64(double %66, double %.1130, double %135)
  %137 = fmul double %80, %81
  %138 = fmul double %137, %131
  %139 = fmul double %.2, %138
  %140 = fadd double %136, %139
  br label %.loopexit

141:                                              ; preds = %76, %130
  %142 = add i32 %.2142241, 1
  %143 = add i32 %.0155240, 1
  %.not167 = icmp ugt i32 %143, %.0154242
  br i1 %.not167, label %144, label %76, !llvm.loop !5

144:                                              ; preds = %141
  %145 = add nuw i32 %.0154242, 1
  %exitcond.not = icmp eq i32 %145, %indvars.iv
  br i1 %exitcond.not, label %.thread191, label %.preheader, !llvm.loop !7

.thread191:                                       ; preds = %144
  %146 = add i32 %.0146244, 1
  %.not165 = icmp ult i32 %.0146244, %0
  %indvars.iv.next = add i32 %indvars.iv, 1
  %exitcond273.not = icmp ne i32 %.0146244, %0
  tail call void @llvm.assume(i1 %exitcond273.not)
  br label %.preheader196

.loopexit:                                        ; preds = %100, %113, %132
  %.1130.lcssa.sink = phi double [ %117, %113 ], [ %140, %132 ], [ %.1130, %100 ]
  %.sink306 = add i32 %77, %70
  %147 = uitofp i32 %.sink306 to double
  %148 = fadd double %147, 1.500000e+00
  %149 = tail call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %148)
  %150 = fmul double %.1130.lcssa.sink, %149
  tail call void @llvm.assume(i1 %.not165248)
  ret double %150

151:                                              ; preds = %34
  unreachable
}

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #8

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

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}


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