; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (interpolation)

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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::spline1dinterpolant" = type { i8, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::fblslincgstate" = type { double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::rcommstate" = type { i32, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::spline1dfitreport" = type { double, double, double, double, double }

@.str.280 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.284 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.287 = external hidden unnamed_addr constant [40 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl25_spline1dinterpolant_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl18spline1dbuildcubicEPNS_9ae_vectorES1_lldldPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl21spline1dgriddiffcubicEPNS_9ae_vectorES1_lldldS1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl22spline1dgriddiff2cubicEPNS_9ae_vectorES1_lldldS1_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17spline1dconvcubicEPNS_9ae_vectorES1_lldldS1_lS1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl20spline1dbuildhermiteEPNS_9ae_vectorES1_S1_lPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17spline1dlintransxEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17spline1dlintransyEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl21spline1dfitpenalizedwEPNS_9ae_vectorES1_S1_lldPlPNS_19spline1dinterpolantEPNS_17spline1dfitreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #3 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.alglib_impl::ae_frame", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %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 %"struct.alglib_impl::ae_vector", align 8
  %35 = alloca %"struct.alglib_impl::ae_vector", align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %39 = alloca %"struct.alglib_impl::ae_vector", align 8
  %40 = alloca %"struct.alglib_impl::ae_vector", align 8
  %41 = alloca %"struct.alglib_impl::ae_vector", align 8
  %42 = alloca %"struct.alglib_impl::ae_vector", align 8
  %43 = alloca %"struct.alglib_impl::ae_vector", align 8
  %44 = alloca %"struct.alglib_impl::ae_vector", align 8
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %48 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = alloca double, align 8
  %52 = alloca double, align 8
  %53 = alloca double, align 8
  %54 = alloca %"struct.alglib_impl::ae_vector", align 8
  %55 = alloca %"struct.alglib_impl::ae_vector", align 8
  %56 = alloca %"struct.alglib_impl::ae_vector", align 8
  %57 = alloca %"struct.alglib_impl::ae_vector", align 8
  %58 = alloca %"struct.alglib_impl::ae_vector", align 8
  %59 = alloca %"struct.alglib_impl::ae_vector", align 8
  %60 = alloca %"struct.alglib_impl::ae_vector", align 8
  %61 = alloca %"struct.alglib_impl::spline1dinterpolant", align 8
  %62 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %63 = alloca %"struct.alglib_impl::ae_vector", align 8
  %64 = alloca %"struct.alglib_impl::fblslincgstate", align 8
  %65 = alloca %"struct.alglib_impl::ae_vector", align 8
  %66 = alloca %"struct.alglib_impl::ae_vector", align 8
  %67 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store i64 %3, ptr %14, align 8, !tbaa !9
  store i64 %4, ptr %15, align 8, !tbaa !9
  store double %5, ptr %16, align 8, !tbaa !11
  store ptr %6, ptr %17, align 8, !tbaa !5
  store ptr %7, ptr %18, align 8, !tbaa !5
  store ptr %8, ptr %19, align 8, !tbaa !5
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %59) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 160, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %62) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %63) #5
  call void @llvm.lifetime.start.p0(i64 936, ptr %64) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %66) #5
  %68 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %68, ptr noundef %21)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %34, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %35, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %38, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %39, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %40, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %41, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %42, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %43, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %44, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %47, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %48, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %54, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %55, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %56, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %57, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %58, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %59, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %60, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %61, i8 0, i64 160, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %62, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %63, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %64, i8 0, i64 936, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %65, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %66, i8 0, i64 64, i1 false)
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %22, ptr noundef %69, ptr noundef %70, i1 noundef zeroext true)
  store ptr %22, ptr %11, align 8, !tbaa !5
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %23, ptr noundef %71, ptr noundef %72, i1 noundef zeroext true)
  store ptr %23, ptr %12, align 8, !tbaa !5
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %24, ptr noundef %73, ptr noundef %74, i1 noundef zeroext true)
  store ptr %24, ptr %13, align 8, !tbaa !5
  %75 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %75, align 8, !tbaa !9
  %76 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl26_spline1dinterpolant_clearEPv(ptr noundef %76)
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl24_spline1dfitreport_clearEPv(ptr noundef %77)
  %78 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %34, i64 noundef 0, i64 noundef 3, ptr noundef %78, i1 noundef zeroext true)
  %79 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %35, i64 noundef 0, i64 noundef 3, ptr noundef %79, i1 noundef zeroext true)
  %80 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %38, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %80, i1 noundef zeroext true)
  %81 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %39, i64 noundef 0, i64 noundef 3, ptr noundef %81, i1 noundef zeroext true)
  %82 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %40, i64 noundef 0, i64 noundef 3, ptr noundef %82, i1 noundef zeroext true)
  %83 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %41, i64 noundef 0, i64 noundef 3, ptr noundef %83, i1 noundef zeroext true)
  %84 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %42, i64 noundef 0, i64 noundef 3, ptr noundef %84, i1 noundef zeroext true)
  %85 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %43, i64 noundef 0, i64 noundef 3, ptr noundef %85, i1 noundef zeroext true)
  %86 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %44, i64 noundef 0, i64 noundef 2, ptr noundef %86, i1 noundef zeroext true)
  %87 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %47, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %87, i1 noundef zeroext true)
  %88 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %48, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %88, i1 noundef zeroext true)
  %89 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %54, i64 noundef 0, i64 noundef 3, ptr noundef %89, i1 noundef zeroext true)
  %90 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %55, i64 noundef 0, i64 noundef 3, ptr noundef %90, i1 noundef zeroext true)
  %91 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %56, i64 noundef 0, i64 noundef 3, ptr noundef %91, i1 noundef zeroext true)
  %92 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %57, i64 noundef 0, i64 noundef 3, ptr noundef %92, i1 noundef zeroext true)
  %93 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %58, i64 noundef 0, i64 noundef 3, ptr noundef %93, i1 noundef zeroext true)
  %94 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %59, i64 noundef 0, i64 noundef 3, ptr noundef %94, i1 noundef zeroext true)
  %95 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %60, i64 noundef 0, i64 noundef 3, ptr noundef %95, i1 noundef zeroext true)
  %96 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl25_spline1dinterpolant_initEPvPNS_8ae_stateEb(ptr noundef %61, ptr noundef %96, i1 noundef zeroext true)
  %97 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %62, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %97, i1 noundef zeroext true)
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %63, i64 noundef 0, i64 noundef 3, ptr noundef %98, i1 noundef zeroext true)
  %99 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20_fblslincgstate_initEPvPNS_8ae_stateEb(ptr noundef %64, ptr noundef %99, i1 noundef zeroext true)
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %65, i64 noundef 0, i64 noundef 3, ptr noundef %100, i1 noundef zeroext true)
  %101 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %66, i64 noundef 0, i64 noundef 3, ptr noundef %101, i1 noundef zeroext true)
  %102 = load i64, ptr %14, align 8, !tbaa !9
  %103 = icmp sge i64 %102, 1
  %104 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %103, ptr noundef @.str.280, ptr noundef %104)
  %105 = load i64, ptr %15, align 8, !tbaa !9
  %106 = icmp sge i64 %105, 4
  %107 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %106, ptr noundef @.str.281, ptr noundef %107)
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %108, i32 0, i32 0
  %110 = load i64, ptr %109, align 8, !tbaa !13
  %111 = load i64, ptr %14, align 8, !tbaa !9
  %112 = icmp sge i64 %110, %111
  %113 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %112, ptr noundef @.str.282, ptr noundef %113)
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %114, i32 0, i32 0
  %116 = load i64, ptr %115, align 8, !tbaa !13
  %117 = load i64, ptr %14, align 8, !tbaa !9
  %118 = icmp sge i64 %116, %117
  %119 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %118, ptr noundef @.str.283, ptr noundef %119)
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %120, i32 0, i32 0
  %122 = load i64, ptr %121, align 8, !tbaa !13
  %123 = load i64, ptr %14, align 8, !tbaa !9
  %124 = icmp sge i64 %122, %123
  %125 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %124, ptr noundef @.str.284, ptr noundef %125)
  %126 = load ptr, ptr %11, align 8, !tbaa !5
  %127 = load i64, ptr %14, align 8, !tbaa !9
  %128 = load ptr, ptr %20, align 8, !tbaa !5
  %129 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %126, i64 noundef %127, ptr noundef %128)
  %130 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %129, ptr noundef @.str.285, ptr noundef %130)
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  %132 = load i64, ptr %14, align 8, !tbaa !9
  %133 = load ptr, ptr %20, align 8, !tbaa !5
  %134 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %131, i64 noundef %132, ptr noundef %133)
  %135 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %134, ptr noundef @.str.286, ptr noundef %135)
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = load i64, ptr %14, align 8, !tbaa !9
  %138 = load ptr, ptr %20, align 8, !tbaa !5
  %139 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %136, i64 noundef %137, ptr noundef %138)
  %140 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %139, ptr noundef @.str.286, ptr noundef %140)
  %141 = load double, ptr %16, align 8, !tbaa !11
  %142 = load ptr, ptr %20, align 8, !tbaa !5
  %143 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %141, ptr noundef %142)
  %144 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %143, ptr noundef @.str.287, ptr noundef %144)
  %145 = load ptr, ptr %20, align 8, !tbaa !5
  %146 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 5.000000e-16, ptr noundef %145)
  %147 = fneg double %146
  %148 = load ptr, ptr %20, align 8, !tbaa !5
  %149 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000000e+01, ptr noundef %148)
  %150 = fdiv double %147, %149
  store double %150, ptr %28, align 8, !tbaa !11
  %151 = load double, ptr %16, align 8, !tbaa !11
  %152 = load double, ptr %28, align 8, !tbaa !11
  %153 = fneg double %152
  %154 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %151, double noundef %153)
  br i1 %154, label %155, label %158

155:                                              ; preds = %10
  %156 = load double, ptr %28, align 8, !tbaa !11
  %157 = fneg double %156
  store double %157, ptr %16, align 8, !tbaa !11
  br label %158

158:                                              ; preds = %155, %10
  %159 = load double, ptr %16, align 8, !tbaa !11
  %160 = load double, ptr %28, align 8, !tbaa !11
  %161 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %159, double noundef %160)
  br i1 %161, label %162, label %164

162:                                              ; preds = %158
  %163 = load double, ptr %28, align 8, !tbaa !11
  store double %163, ptr %16, align 8, !tbaa !11
  br label %164

164:                                              ; preds = %162, %158
  %165 = load double, ptr %16, align 8, !tbaa !11
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %165, ptr noundef %166)
  store double %167, ptr %53, align 8, !tbaa !11
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = load ptr, ptr %12, align 8, !tbaa !5
  %170 = load ptr, ptr %13, align 8, !tbaa !5
  %171 = load i64, ptr %14, align 8, !tbaa !9
  %172 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl15heapsortdpointsEPNS_9ae_vectorES1_S1_lPNS_8ae_stateE(ptr noundef %168, ptr noundef %169, ptr noundef %170, i64 noundef %171, ptr noundef %172)
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = load ptr, ptr %13, align 8, !tbaa !5
  %176 = load i64, ptr %14, align 8, !tbaa !9
  %177 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_S1_lPdS2_S2_S2_S1_S1_PNS_8ae_stateE(ptr noundef %173, ptr noundef %174, ptr noundef %175, i64 noundef %176, ptr noundef %42, ptr noundef %43, ptr noundef %44, i64 noundef 0, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %177)
  %178 = load i64, ptr %14, align 8, !tbaa !9
  %179 = load i64, ptr %15, align 8, !tbaa !9
  %180 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %38, i64 noundef %178, i64 noundef %179, ptr noundef %180)
  %181 = load i64, ptr %15, align 8, !tbaa !9
  %182 = load i64, ptr %15, align 8, !tbaa !9
  %183 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %47, i64 noundef %181, i64 noundef %182, ptr noundef %183)
  %184 = load i64, ptr %15, align 8, !tbaa !9
  %185 = load i64, ptr %15, align 8, !tbaa !9
  %186 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %48, i64 noundef %184, i64 noundef %185, ptr noundef %186)
  %187 = load i64, ptr %15, align 8, !tbaa !9
  %188 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %54, i64 noundef %187, ptr noundef %188)
  %189 = load i64, ptr %15, align 8, !tbaa !9
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %55, i64 noundef %189, ptr noundef %190)
  %191 = load i64, ptr %14, align 8, !tbaa !9
  %192 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %39, i64 noundef %191, ptr noundef %192)
  %193 = load i64, ptr %15, align 8, !tbaa !9
  %194 = load i64, ptr %15, align 8, !tbaa !9
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %62, i64 noundef %193, i64 noundef %194, ptr noundef %195)
  %196 = load i64, ptr %15, align 8, !tbaa !9
  %197 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %63, i64 noundef %196, ptr noundef %197)
  %198 = load i64, ptr %15, align 8, !tbaa !9
  %199 = load i64, ptr %14, align 8, !tbaa !9
  %200 = load ptr, ptr %20, align 8, !tbaa !5
  %201 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %198, i64 noundef %199, ptr noundef %200)
  %202 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %66, i64 noundef %201, ptr noundef %202)
  %203 = load i64, ptr %15, align 8, !tbaa !9
  %204 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %65, i64 noundef %203, ptr noundef %204)
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %27, align 8, !tbaa !9
  br label %205

205:                                              ; preds = %305, %164
  %206 = load i64, ptr %27, align 8, !tbaa !9
  %207 = load i64, ptr %15, align 8, !tbaa !9
  %208 = sub nsw i64 %207, 1
  %209 = icmp sle i64 %206, %208
  br i1 %209, label %210, label %308

210:                                              ; preds = %205
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %211

211:                                              ; preds = %233, %210
  %212 = load i64, ptr %26, align 8, !tbaa !9
  %213 = load i64, ptr %15, align 8, !tbaa !9
  %214 = sub nsw i64 %213, 1
  %215 = icmp sle i64 %212, %214
  br i1 %215, label %216, label %236

216:                                              ; preds = %211
  %217 = load i64, ptr %26, align 8, !tbaa !9
  %218 = mul nsw i64 2, %217
  %219 = sitofp i64 %218 to double
  %220 = load i64, ptr %15, align 8, !tbaa !9
  %221 = sub nsw i64 %220, 1
  %222 = sitofp i64 %221 to double
  %223 = fdiv double %219, %222
  %224 = fsub double %223, 1.000000e+00
  %225 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %226 = load ptr, ptr %225, align 8, !tbaa !17
  %227 = load i64, ptr %26, align 8, !tbaa !9
  %228 = getelementptr inbounds double, ptr %226, i64 %227
  store double %224, ptr %228, align 8, !tbaa !11
  %229 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %55, i32 0, i32 4
  %230 = load ptr, ptr %229, align 8, !tbaa !17
  %231 = load i64, ptr %26, align 8, !tbaa !9
  %232 = getelementptr inbounds double, ptr %230, i64 %231
  store double 0.000000e+00, ptr %232, align 8, !tbaa !11
  br label %233

233:                                              ; preds = %216
  %234 = load i64, ptr %26, align 8, !tbaa !9
  %235 = add nsw i64 %234, 1
  store i64 %235, ptr %26, align 8, !tbaa !9
  br label %211, !llvm.loop !18

236:                                              ; preds = %211
  %237 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %55, i32 0, i32 4
  %238 = load ptr, ptr %237, align 8, !tbaa !17
  %239 = load i64, ptr %27, align 8, !tbaa !9
  %240 = getelementptr inbounds double, ptr %238, i64 %239
  store double 1.000000e+00, ptr %240, align 8, !tbaa !11
  %241 = load i64, ptr %15, align 8, !tbaa !9
  %242 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl22spline1dgriddiff2cubicEPNS_9ae_vectorES1_lldldS1_S1_PNS_8ae_stateE(ptr noundef %54, ptr noundef %55, i64 noundef %241, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %56, ptr noundef %57, ptr noundef %242)
  %243 = load i64, ptr %15, align 8, !tbaa !9
  %244 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl18spline1dbuildcubicEPNS_9ae_vectorES1_lldldPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef %54, ptr noundef %55, i64 noundef %243, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %61, ptr noundef %244)
  %245 = load i64, ptr %15, align 8, !tbaa !9
  %246 = load ptr, ptr %11, align 8, !tbaa !5
  %247 = load i64, ptr %14, align 8, !tbaa !9
  %248 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl17spline1dconvcubicEPNS_9ae_vectorES1_lldldS1_lS1_PNS_8ae_stateE(ptr noundef %54, ptr noundef %55, i64 noundef %245, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %246, i64 noundef %247, ptr noundef %39, ptr noundef %248)
  %249 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 6
  %250 = load ptr, ptr %249, align 8, !tbaa !17
  %251 = getelementptr inbounds ptr, ptr %250, i64 0
  %252 = load ptr, ptr %251, align 8, !tbaa !5
  %253 = load i64, ptr %27, align 8, !tbaa !9
  %254 = getelementptr inbounds double, ptr %252, i64 %253
  %255 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 2
  %256 = load i64, ptr %255, align 8, !tbaa !20
  %257 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !17
  %259 = getelementptr inbounds double, ptr %258, i64 0
  %260 = load i64, ptr %14, align 8, !tbaa !9
  %261 = sub nsw i64 %260, 1
  %262 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %261)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %254, i64 noundef %256, ptr noundef %259, i64 noundef 1, i64 noundef %262)
  store double 0.000000e+00, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %263

263:                                              ; preds = %285, %236
  %264 = load i64, ptr %25, align 8, !tbaa !9
  %265 = load i64, ptr %14, align 8, !tbaa !9
  %266 = sub nsw i64 %265, 1
  %267 = icmp sle i64 %264, %266
  br i1 %267, label %268, label %288

268:                                              ; preds = %263
  %269 = load double, ptr %28, align 8, !tbaa !11
  %270 = load ptr, ptr %13, align 8, !tbaa !5
  %271 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %270, i32 0, i32 4
  %272 = load ptr, ptr %271, align 8, !tbaa !17
  %273 = load i64, ptr %25, align 8, !tbaa !9
  %274 = getelementptr inbounds double, ptr %272, i64 %273
  %275 = load double, ptr %274, align 8, !tbaa !11
  %276 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %277 = load ptr, ptr %276, align 8, !tbaa !17
  %278 = load i64, ptr %25, align 8, !tbaa !9
  %279 = getelementptr inbounds double, ptr %277, i64 %278
  %280 = load double, ptr %279, align 8, !tbaa !11
  %281 = fmul double %275, %280
  %282 = load ptr, ptr %20, align 8, !tbaa !5
  %283 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %281, ptr noundef %282)
  %284 = fadd double %269, %283
  store double %284, ptr %28, align 8, !tbaa !11
  br label %285

285:                                              ; preds = %268
  %286 = load i64, ptr %25, align 8, !tbaa !9
  %287 = add nsw i64 %286, 1
  store i64 %287, ptr %25, align 8, !tbaa !9
  br label %263, !llvm.loop !22

288:                                              ; preds = %263
  %289 = load double, ptr %45, align 8, !tbaa !11
  %290 = load double, ptr %28, align 8, !tbaa !11
  %291 = load ptr, ptr %20, align 8, !tbaa !5
  %292 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %289, double noundef %290, ptr noundef %291)
  store double %292, ptr %45, align 8, !tbaa !11
  %293 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %48, i32 0, i32 6
  %294 = load ptr, ptr %293, align 8, !tbaa !17
  %295 = load i64, ptr %27, align 8, !tbaa !9
  %296 = getelementptr inbounds ptr, ptr %294, i64 %295
  %297 = load ptr, ptr %296, align 8, !tbaa !5
  %298 = getelementptr inbounds double, ptr %297, i64 0
  %299 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %57, i32 0, i32 4
  %300 = load ptr, ptr %299, align 8, !tbaa !17
  %301 = getelementptr inbounds double, ptr %300, i64 0
  %302 = load i64, ptr %15, align 8, !tbaa !9
  %303 = sub nsw i64 %302, 1
  %304 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %303)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %298, i64 noundef 1, ptr noundef %301, i64 noundef 1, i64 noundef %304)
  br label %305

305:                                              ; preds = %288
  %306 = load i64, ptr %27, align 8, !tbaa !9
  %307 = add nsw i64 %306, 1
  store i64 %307, ptr %27, align 8, !tbaa !9
  br label %205, !llvm.loop !23

308:                                              ; preds = %205
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %309

309:                                              ; preds = %423, %308
  %310 = load i64, ptr %25, align 8, !tbaa !9
  %311 = load i64, ptr %15, align 8, !tbaa !9
  %312 = sub nsw i64 %311, 1
  %313 = icmp sle i64 %310, %312
  br i1 %313, label %314, label %426

314:                                              ; preds = %309
  %315 = load i64, ptr %25, align 8, !tbaa !9
  store i64 %315, ptr %26, align 8, !tbaa !9
  br label %316

316:                                              ; preds = %419, %314
  %317 = load i64, ptr %26, align 8, !tbaa !9
  %318 = load i64, ptr %15, align 8, !tbaa !9
  %319 = sub nsw i64 %318, 1
  %320 = icmp sle i64 %317, %319
  br i1 %320, label %321, label %422

321:                                              ; preds = %316
  store double 0.000000e+00, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %27, align 8, !tbaa !9
  br label %322

322:                                              ; preds = %399, %321
  %323 = load i64, ptr %27, align 8, !tbaa !9
  %324 = load i64, ptr %15, align 8, !tbaa !9
  %325 = sub nsw i64 %324, 2
  %326 = icmp sle i64 %323, %325
  br i1 %326, label %327, label %402

327:                                              ; preds = %322
  %328 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %48, i32 0, i32 6
  %329 = load ptr, ptr %328, align 8, !tbaa !17
  %330 = load i64, ptr %25, align 8, !tbaa !9
  %331 = getelementptr inbounds ptr, ptr %329, i64 %330
  %332 = load ptr, ptr %331, align 8, !tbaa !5
  %333 = load i64, ptr %27, align 8, !tbaa !9
  %334 = getelementptr inbounds double, ptr %332, i64 %333
  %335 = load double, ptr %334, align 8, !tbaa !11
  store double %335, ptr %49, align 8, !tbaa !11
  %336 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %48, i32 0, i32 6
  %337 = load ptr, ptr %336, align 8, !tbaa !17
  %338 = load i64, ptr %25, align 8, !tbaa !9
  %339 = getelementptr inbounds ptr, ptr %337, i64 %338
  %340 = load ptr, ptr %339, align 8, !tbaa !5
  %341 = load i64, ptr %27, align 8, !tbaa !9
  %342 = add nsw i64 %341, 1
  %343 = getelementptr inbounds double, ptr %340, i64 %342
  %344 = load double, ptr %343, align 8, !tbaa !11
  store double %344, ptr %51, align 8, !tbaa !11
  %345 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %48, i32 0, i32 6
  %346 = load ptr, ptr %345, align 8, !tbaa !17
  %347 = load i64, ptr %26, align 8, !tbaa !9
  %348 = getelementptr inbounds ptr, ptr %346, i64 %347
  %349 = load ptr, ptr %348, align 8, !tbaa !5
  %350 = load i64, ptr %27, align 8, !tbaa !9
  %351 = getelementptr inbounds double, ptr %349, i64 %350
  %352 = load double, ptr %351, align 8, !tbaa !11
  store double %352, ptr %50, align 8, !tbaa !11
  %353 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %48, i32 0, i32 6
  %354 = load ptr, ptr %353, align 8, !tbaa !17
  %355 = load i64, ptr %26, align 8, !tbaa !9
  %356 = getelementptr inbounds ptr, ptr %354, i64 %355
  %357 = load ptr, ptr %356, align 8, !tbaa !5
  %358 = load i64, ptr %27, align 8, !tbaa !9
  %359 = add nsw i64 %358, 1
  %360 = getelementptr inbounds double, ptr %357, i64 %359
  %361 = load double, ptr %360, align 8, !tbaa !11
  store double %361, ptr %52, align 8, !tbaa !11
  %362 = load double, ptr %28, align 8, !tbaa !11
  %363 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %364 = load ptr, ptr %363, align 8, !tbaa !17
  %365 = load i64, ptr %27, align 8, !tbaa !9
  %366 = add nsw i64 %365, 1
  %367 = getelementptr inbounds double, ptr %364, i64 %366
  %368 = load double, ptr %367, align 8, !tbaa !11
  %369 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %370 = load ptr, ptr %369, align 8, !tbaa !17
  %371 = load i64, ptr %27, align 8, !tbaa !9
  %372 = getelementptr inbounds double, ptr %370, i64 %371
  %373 = load double, ptr %372, align 8, !tbaa !11
  %374 = fsub double %368, %373
  %375 = load double, ptr %49, align 8, !tbaa !11
  %376 = load double, ptr %50, align 8, !tbaa !11
  %377 = load double, ptr %49, align 8, !tbaa !11
  %378 = load double, ptr %52, align 8, !tbaa !11
  %379 = load double, ptr %50, align 8, !tbaa !11
  %380 = fsub double %378, %379
  %381 = load double, ptr %50, align 8, !tbaa !11
  %382 = load double, ptr %51, align 8, !tbaa !11
  %383 = load double, ptr %49, align 8, !tbaa !11
  %384 = fsub double %382, %383
  %385 = fmul double %381, %384
  %386 = call double @llvm.fmuladd.f64(double %377, double %380, double %385)
  %387 = fdiv double %386, 2.000000e+00
  %388 = call double @llvm.fmuladd.f64(double %375, double %376, double %387)
  %389 = load double, ptr %51, align 8, !tbaa !11
  %390 = load double, ptr %49, align 8, !tbaa !11
  %391 = fsub double %389, %390
  %392 = load double, ptr %52, align 8, !tbaa !11
  %393 = load double, ptr %50, align 8, !tbaa !11
  %394 = fsub double %392, %393
  %395 = fmul double %391, %394
  %396 = fdiv double %395, 3.000000e+00
  %397 = fadd double %388, %396
  %398 = call double @llvm.fmuladd.f64(double %374, double %397, double %362)
  store double %398, ptr %28, align 8, !tbaa !11
  br label %399

399:                                              ; preds = %327
  %400 = load i64, ptr %27, align 8, !tbaa !9
  %401 = add nsw i64 %400, 1
  store i64 %401, ptr %27, align 8, !tbaa !9
  br label %322, !llvm.loop !24

402:                                              ; preds = %322
  %403 = load double, ptr %28, align 8, !tbaa !11
  %404 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %405 = load ptr, ptr %404, align 8, !tbaa !17
  %406 = load i64, ptr %25, align 8, !tbaa !9
  %407 = getelementptr inbounds ptr, ptr %405, i64 %406
  %408 = load ptr, ptr %407, align 8, !tbaa !5
  %409 = load i64, ptr %26, align 8, !tbaa !9
  %410 = getelementptr inbounds double, ptr %408, i64 %409
  store double %403, ptr %410, align 8, !tbaa !11
  %411 = load double, ptr %28, align 8, !tbaa !11
  %412 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %413 = load ptr, ptr %412, align 8, !tbaa !17
  %414 = load i64, ptr %26, align 8, !tbaa !9
  %415 = getelementptr inbounds ptr, ptr %413, i64 %414
  %416 = load ptr, ptr %415, align 8, !tbaa !5
  %417 = load i64, ptr %25, align 8, !tbaa !9
  %418 = getelementptr inbounds double, ptr %416, i64 %417
  store double %411, ptr %418, align 8, !tbaa !11
  br label %419

419:                                              ; preds = %402
  %420 = load i64, ptr %26, align 8, !tbaa !9
  %421 = add nsw i64 %420, 1
  store i64 %421, ptr %26, align 8, !tbaa !9
  br label %316, !llvm.loop !25

422:                                              ; preds = %316
  br label %423

423:                                              ; preds = %422
  %424 = load i64, ptr %25, align 8, !tbaa !9
  %425 = add nsw i64 %424, 1
  store i64 %425, ptr %25, align 8, !tbaa !9
  br label %309, !llvm.loop !26

426:                                              ; preds = %309
  store double 0.000000e+00, ptr %46, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %427

427:                                              ; preds = %446, %426
  %428 = load i64, ptr %25, align 8, !tbaa !9
  %429 = load i64, ptr %15, align 8, !tbaa !9
  %430 = sub nsw i64 %429, 1
  %431 = icmp sle i64 %428, %430
  br i1 %431, label %432, label %449

432:                                              ; preds = %427
  %433 = load double, ptr %46, align 8, !tbaa !11
  %434 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %435 = load ptr, ptr %434, align 8, !tbaa !17
  %436 = load i64, ptr %25, align 8, !tbaa !9
  %437 = getelementptr inbounds ptr, ptr %435, i64 %436
  %438 = load ptr, ptr %437, align 8, !tbaa !5
  %439 = load i64, ptr %25, align 8, !tbaa !9
  %440 = getelementptr inbounds double, ptr %438, i64 %439
  %441 = load double, ptr %440, align 8, !tbaa !11
  %442 = load ptr, ptr %20, align 8, !tbaa !5
  %443 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %441, ptr noundef %442)
  %444 = load ptr, ptr %20, align 8, !tbaa !5
  %445 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %433, double noundef %443, ptr noundef %444)
  store double %445, ptr %46, align 8, !tbaa !11
  br label %446

446:                                              ; preds = %432
  %447 = load i64, ptr %25, align 8, !tbaa !9
  %448 = add nsw i64 %447, 1
  store i64 %448, ptr %25, align 8, !tbaa !9
  br label %427, !llvm.loop !27

449:                                              ; preds = %427
  %450 = load double, ptr %53, align 8, !tbaa !11
  %451 = load double, ptr %45, align 8, !tbaa !11
  %452 = fmul double %450, %451
  %453 = load double, ptr %46, align 8, !tbaa !11
  %454 = fdiv double %452, %453
  store double %454, ptr %36, align 8, !tbaa !11
  %455 = load double, ptr %45, align 8, !tbaa !11
  %456 = load double, ptr %36, align 8, !tbaa !11
  %457 = fadd double 1.000000e+00, %456
  %458 = fmul double %455, %457
  %459 = fmul double %458, 1.000000e+01
  %460 = fmul double %459, 5.000000e-16
  store double %460, ptr %37, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %461

461:                                              ; preds = %483, %449
  %462 = load i64, ptr %25, align 8, !tbaa !9
  %463 = load i64, ptr %14, align 8, !tbaa !9
  %464 = sub nsw i64 %463, 1
  %465 = icmp sle i64 %462, %464
  br i1 %465, label %466, label %486

466:                                              ; preds = %461
  %467 = load ptr, ptr %13, align 8, !tbaa !5
  %468 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %467, i32 0, i32 4
  %469 = load ptr, ptr %468, align 8, !tbaa !17
  %470 = load i64, ptr %25, align 8, !tbaa !9
  %471 = getelementptr inbounds double, ptr %469, i64 %470
  %472 = load double, ptr %471, align 8, !tbaa !11
  store double %472, ptr %28, align 8, !tbaa !11
  %473 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 6
  %474 = load ptr, ptr %473, align 8, !tbaa !17
  %475 = load i64, ptr %25, align 8, !tbaa !9
  %476 = getelementptr inbounds ptr, ptr %474, i64 %475
  %477 = load ptr, ptr %476, align 8, !tbaa !5
  %478 = getelementptr inbounds double, ptr %477, i64 0
  %479 = load i64, ptr %15, align 8, !tbaa !9
  %480 = sub nsw i64 %479, 1
  %481 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %480)
  %482 = load double, ptr %28, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %478, i64 noundef 1, i64 noundef %481, double noundef %482)
  br label %483

483:                                              ; preds = %466
  %484 = load i64, ptr %25, align 8, !tbaa !9
  %485 = add nsw i64 %484, 1
  store i64 %485, ptr %25, align 8, !tbaa !9
  br label %461, !llvm.loop !28

486:                                              ; preds = %461
  %487 = load i64, ptr %15, align 8, !tbaa !9
  %488 = load i64, ptr %15, align 8, !tbaa !9
  %489 = load i64, ptr %14, align 8, !tbaa !9
  %490 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %487, i64 noundef %488, i64 noundef %489, double noundef 1.000000e+00, ptr noundef %38, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %38, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %62, i64 noundef 0, i64 noundef 0, ptr noundef %490)
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %491

491:                                              ; preds = %532, %486
  %492 = load i64, ptr %25, align 8, !tbaa !9
  %493 = load i64, ptr %15, align 8, !tbaa !9
  %494 = sub nsw i64 %493, 1
  %495 = icmp sle i64 %492, %494
  br i1 %495, label %496, label %535

496:                                              ; preds = %491
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %497

497:                                              ; preds = %528, %496
  %498 = load i64, ptr %26, align 8, !tbaa !9
  %499 = load i64, ptr %15, align 8, !tbaa !9
  %500 = sub nsw i64 %499, 1
  %501 = icmp sle i64 %498, %500
  br i1 %501, label %502, label %531

502:                                              ; preds = %497
  %503 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %504 = load ptr, ptr %503, align 8, !tbaa !17
  %505 = load i64, ptr %25, align 8, !tbaa !9
  %506 = getelementptr inbounds ptr, ptr %504, i64 %505
  %507 = load ptr, ptr %506, align 8, !tbaa !5
  %508 = load i64, ptr %26, align 8, !tbaa !9
  %509 = getelementptr inbounds double, ptr %507, i64 %508
  %510 = load double, ptr %509, align 8, !tbaa !11
  %511 = load double, ptr %36, align 8, !tbaa !11
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %513 = load ptr, ptr %512, align 8, !tbaa !17
  %514 = load i64, ptr %25, align 8, !tbaa !9
  %515 = getelementptr inbounds ptr, ptr %513, i64 %514
  %516 = load ptr, ptr %515, align 8, !tbaa !5
  %517 = load i64, ptr %26, align 8, !tbaa !9
  %518 = getelementptr inbounds double, ptr %516, i64 %517
  %519 = load double, ptr %518, align 8, !tbaa !11
  %520 = call double @llvm.fmuladd.f64(double %511, double %519, double %510)
  %521 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %522 = load ptr, ptr %521, align 8, !tbaa !17
  %523 = load i64, ptr %25, align 8, !tbaa !9
  %524 = getelementptr inbounds ptr, ptr %522, i64 %523
  %525 = load ptr, ptr %524, align 8, !tbaa !5
  %526 = load i64, ptr %26, align 8, !tbaa !9
  %527 = getelementptr inbounds double, ptr %525, i64 %526
  store double %520, ptr %527, align 8, !tbaa !11
  br label %528

528:                                              ; preds = %502
  %529 = load i64, ptr %26, align 8, !tbaa !9
  %530 = add nsw i64 %529, 1
  store i64 %530, ptr %26, align 8, !tbaa !9
  br label %497, !llvm.loop !29

531:                                              ; preds = %497
  br label %532

532:                                              ; preds = %531
  %533 = load i64, ptr %25, align 8, !tbaa !9
  %534 = add nsw i64 %533, 1
  store i64 %534, ptr %25, align 8, !tbaa !9
  br label %491, !llvm.loop !30

535:                                              ; preds = %491
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %536

536:                                              ; preds = %559, %535
  %537 = load i64, ptr %25, align 8, !tbaa !9
  %538 = load i64, ptr %15, align 8, !tbaa !9
  %539 = sub nsw i64 %538, 1
  %540 = icmp sle i64 %537, %539
  br i1 %540, label %541, label %562

541:                                              ; preds = %536
  %542 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %543 = load ptr, ptr %542, align 8, !tbaa !17
  %544 = load i64, ptr %25, align 8, !tbaa !9
  %545 = getelementptr inbounds ptr, ptr %543, i64 %544
  %546 = load ptr, ptr %545, align 8, !tbaa !5
  %547 = load i64, ptr %25, align 8, !tbaa !9
  %548 = getelementptr inbounds double, ptr %546, i64 %547
  %549 = load double, ptr %548, align 8, !tbaa !11
  %550 = load double, ptr %37, align 8, !tbaa !11
  %551 = fadd double %549, %550
  %552 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %553 = load ptr, ptr %552, align 8, !tbaa !17
  %554 = load i64, ptr %25, align 8, !tbaa !9
  %555 = getelementptr inbounds ptr, ptr %553, i64 %554
  %556 = load ptr, ptr %555, align 8, !tbaa !5
  %557 = load i64, ptr %25, align 8, !tbaa !9
  %558 = getelementptr inbounds double, ptr %556, i64 %557
  store double %551, ptr %558, align 8, !tbaa !11
  br label %559

559:                                              ; preds = %541
  %560 = load i64, ptr %25, align 8, !tbaa !9
  %561 = add nsw i64 %560, 1
  store i64 %561, ptr %25, align 8, !tbaa !9
  br label %536, !llvm.loop !31

562:                                              ; preds = %536
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %563

563:                                              ; preds = %573, %562
  %564 = load i64, ptr %25, align 8, !tbaa !9
  %565 = load i64, ptr %15, align 8, !tbaa !9
  %566 = sub nsw i64 %565, 1
  %567 = icmp sle i64 %564, %566
  br i1 %567, label %568, label %576

568:                                              ; preds = %563
  %569 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %570 = load ptr, ptr %569, align 8, !tbaa !17
  %571 = load i64, ptr %25, align 8, !tbaa !9
  %572 = getelementptr inbounds double, ptr %570, i64 %571
  store double 0.000000e+00, ptr %572, align 8, !tbaa !11
  br label %573

573:                                              ; preds = %568
  %574 = load i64, ptr %25, align 8, !tbaa !9
  %575 = add nsw i64 %574, 1
  store i64 %575, ptr %25, align 8, !tbaa !9
  br label %563, !llvm.loop !32

576:                                              ; preds = %563
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %577

577:                                              ; preds = %609, %576
  %578 = load i64, ptr %25, align 8, !tbaa !9
  %579 = load i64, ptr %14, align 8, !tbaa !9
  %580 = sub nsw i64 %579, 1
  %581 = icmp sle i64 %578, %580
  br i1 %581, label %582, label %612

582:                                              ; preds = %577
  %583 = load ptr, ptr %12, align 8, !tbaa !5
  %584 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %583, i32 0, i32 4
  %585 = load ptr, ptr %584, align 8, !tbaa !17
  %586 = load i64, ptr %25, align 8, !tbaa !9
  %587 = getelementptr inbounds double, ptr %585, i64 %586
  %588 = load double, ptr %587, align 8, !tbaa !11
  %589 = load ptr, ptr %13, align 8, !tbaa !5
  %590 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %589, i32 0, i32 4
  %591 = load ptr, ptr %590, align 8, !tbaa !17
  %592 = load i64, ptr %25, align 8, !tbaa !9
  %593 = getelementptr inbounds double, ptr %591, i64 %592
  %594 = load double, ptr %593, align 8, !tbaa !11
  %595 = fmul double %588, %594
  store double %595, ptr %28, align 8, !tbaa !11
  %596 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %597 = load ptr, ptr %596, align 8, !tbaa !17
  %598 = getelementptr inbounds double, ptr %597, i64 0
  %599 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 6
  %600 = load ptr, ptr %599, align 8, !tbaa !17
  %601 = load i64, ptr %25, align 8, !tbaa !9
  %602 = getelementptr inbounds ptr, ptr %600, i64 %601
  %603 = load ptr, ptr %602, align 8, !tbaa !5
  %604 = getelementptr inbounds double, ptr %603, i64 0
  %605 = load i64, ptr %15, align 8, !tbaa !9
  %606 = sub nsw i64 %605, 1
  %607 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %606)
  %608 = load double, ptr %28, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %598, i64 noundef 1, ptr noundef %604, i64 noundef 1, i64 noundef %607, double noundef %608)
  br label %609

609:                                              ; preds = %582
  %610 = load i64, ptr %25, align 8, !tbaa !9
  %611 = add nsw i64 %610, 1
  store i64 %611, ptr %25, align 8, !tbaa !9
  br label %577, !llvm.loop !33

612:                                              ; preds = %577
  %613 = load i64, ptr %15, align 8, !tbaa !9
  %614 = load ptr, ptr %20, align 8, !tbaa !5
  %615 = call noundef zeroext i1 @_ZN11alglib_impl17spdmatrixcholeskyEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %62, i64 noundef %613, i1 noundef zeroext true, ptr noundef %614)
  br i1 %615, label %619, label %616

616:                                              ; preds = %612
  %617 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 -4, ptr %617, align 8, !tbaa !9
  %618 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %618)
  store i32 1, ptr %67, align 4
  br label %939

619:                                              ; preds = %612
  %620 = load i64, ptr %15, align 8, !tbaa !9
  %621 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl17fblscholeskysolveEPNS_9ae_matrixEdlbPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %62, double noundef 1.000000e+00, i64 noundef %620, i1 noundef zeroext true, ptr noundef %63, ptr noundef %66, ptr noundef %621)
  %622 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %623 = load ptr, ptr %622, align 8, !tbaa !17
  %624 = getelementptr inbounds double, ptr %623, i64 0
  %625 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %626 = load ptr, ptr %625, align 8, !tbaa !17
  %627 = getelementptr inbounds double, ptr %626, i64 0
  %628 = load i64, ptr %15, align 8, !tbaa !9
  %629 = sub nsw i64 %628, 1
  %630 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %629)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %624, i64 noundef 1, ptr noundef %627, i64 noundef 1, i64 noundef %630)
  %631 = load i64, ptr %15, align 8, !tbaa !9
  %632 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl21spline1dgriddiffcubicEPNS_9ae_vectorES1_lldldS1_PNS_8ae_stateE(ptr noundef %54, ptr noundef %65, i64 noundef %631, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %56, ptr noundef %632)
  %633 = load i64, ptr %15, align 8, !tbaa !9
  %634 = add nsw i64 %633, 2
  %635 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %58, i64 noundef %634, ptr noundef %635)
  %636 = load i64, ptr %15, align 8, !tbaa !9
  %637 = add nsw i64 %636, 2
  %638 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %59, i64 noundef %637, ptr noundef %638)
  %639 = load i64, ptr %15, align 8, !tbaa !9
  %640 = add nsw i64 %639, 2
  %641 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %60, i64 noundef %640, ptr noundef %641)
  %642 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %643 = load ptr, ptr %642, align 8, !tbaa !17
  %644 = getelementptr inbounds double, ptr %643, i64 1
  %645 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %646 = load ptr, ptr %645, align 8, !tbaa !17
  %647 = getelementptr inbounds double, ptr %646, i64 0
  %648 = load i64, ptr %15, align 8, !tbaa !9
  %649 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %648)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %644, i64 noundef 1, ptr noundef %647, i64 noundef 1, i64 noundef %649)
  %650 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %59, i32 0, i32 4
  %651 = load ptr, ptr %650, align 8, !tbaa !17
  %652 = getelementptr inbounds double, ptr %651, i64 1
  %653 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %654 = load ptr, ptr %653, align 8, !tbaa !17
  %655 = getelementptr inbounds double, ptr %654, i64 0
  %656 = load i64, ptr %15, align 8, !tbaa !9
  %657 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %656)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %652, i64 noundef 1, ptr noundef %655, i64 noundef 1, i64 noundef %657)
  %658 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %659 = load ptr, ptr %658, align 8, !tbaa !17
  %660 = getelementptr inbounds double, ptr %659, i64 1
  %661 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %56, i32 0, i32 4
  %662 = load ptr, ptr %661, align 8, !tbaa !17
  %663 = getelementptr inbounds double, ptr %662, i64 0
  %664 = load i64, ptr %15, align 8, !tbaa !9
  %665 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %664)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %660, i64 noundef 1, ptr noundef %663, i64 noundef 1, i64 noundef %665)
  %666 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %667 = load ptr, ptr %666, align 8, !tbaa !17
  %668 = getelementptr inbounds double, ptr %667, i64 1
  %669 = load double, ptr %668, align 8, !tbaa !11
  %670 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %671 = load ptr, ptr %670, align 8, !tbaa !17
  %672 = getelementptr inbounds double, ptr %671, i64 2
  %673 = load double, ptr %672, align 8, !tbaa !11
  %674 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %675 = load ptr, ptr %674, align 8, !tbaa !17
  %676 = getelementptr inbounds double, ptr %675, i64 1
  %677 = load double, ptr %676, align 8, !tbaa !11
  %678 = fsub double %673, %677
  %679 = fsub double %669, %678
  %680 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %681 = load ptr, ptr %680, align 8, !tbaa !17
  %682 = getelementptr inbounds double, ptr %681, i64 0
  store double %679, ptr %682, align 8, !tbaa !11
  %683 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %59, i32 0, i32 4
  %684 = load ptr, ptr %683, align 8, !tbaa !17
  %685 = getelementptr inbounds double, ptr %684, i64 1
  %686 = load double, ptr %685, align 8, !tbaa !11
  %687 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %688 = load ptr, ptr %687, align 8, !tbaa !17
  %689 = getelementptr inbounds double, ptr %688, i64 1
  %690 = load double, ptr %689, align 8, !tbaa !11
  %691 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %692 = load ptr, ptr %691, align 8, !tbaa !17
  %693 = getelementptr inbounds double, ptr %692, i64 2
  %694 = load double, ptr %693, align 8, !tbaa !11
  %695 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %696 = load ptr, ptr %695, align 8, !tbaa !17
  %697 = getelementptr inbounds double, ptr %696, i64 1
  %698 = load double, ptr %697, align 8, !tbaa !11
  %699 = fsub double %694, %698
  %700 = fneg double %690
  %701 = call double @llvm.fmuladd.f64(double %700, double %699, double %686)
  %702 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %59, i32 0, i32 4
  %703 = load ptr, ptr %702, align 8, !tbaa !17
  %704 = getelementptr inbounds double, ptr %703, i64 0
  store double %701, ptr %704, align 8, !tbaa !11
  %705 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %706 = load ptr, ptr %705, align 8, !tbaa !17
  %707 = getelementptr inbounds double, ptr %706, i64 1
  %708 = load double, ptr %707, align 8, !tbaa !11
  %709 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %710 = load ptr, ptr %709, align 8, !tbaa !17
  %711 = getelementptr inbounds double, ptr %710, i64 0
  store double %708, ptr %711, align 8, !tbaa !11
  %712 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %713 = load ptr, ptr %712, align 8, !tbaa !17
  %714 = load i64, ptr %15, align 8, !tbaa !9
  %715 = getelementptr inbounds double, ptr %713, i64 %714
  %716 = load double, ptr %715, align 8, !tbaa !11
  %717 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %718 = load ptr, ptr %717, align 8, !tbaa !17
  %719 = load i64, ptr %15, align 8, !tbaa !9
  %720 = getelementptr inbounds double, ptr %718, i64 %719
  %721 = load double, ptr %720, align 8, !tbaa !11
  %722 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %723 = load ptr, ptr %722, align 8, !tbaa !17
  %724 = load i64, ptr %15, align 8, !tbaa !9
  %725 = sub nsw i64 %724, 1
  %726 = getelementptr inbounds double, ptr %723, i64 %725
  %727 = load double, ptr %726, align 8, !tbaa !11
  %728 = fsub double %721, %727
  %729 = fadd double %716, %728
  %730 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %731 = load ptr, ptr %730, align 8, !tbaa !17
  %732 = load i64, ptr %15, align 8, !tbaa !9
  %733 = add nsw i64 %732, 1
  %734 = getelementptr inbounds double, ptr %731, i64 %733
  store double %729, ptr %734, align 8, !tbaa !11
  %735 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %59, i32 0, i32 4
  %736 = load ptr, ptr %735, align 8, !tbaa !17
  %737 = load i64, ptr %15, align 8, !tbaa !9
  %738 = getelementptr inbounds double, ptr %736, i64 %737
  %739 = load double, ptr %738, align 8, !tbaa !11
  %740 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %741 = load ptr, ptr %740, align 8, !tbaa !17
  %742 = load i64, ptr %15, align 8, !tbaa !9
  %743 = getelementptr inbounds double, ptr %741, i64 %742
  %744 = load double, ptr %743, align 8, !tbaa !11
  %745 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %746 = load ptr, ptr %745, align 8, !tbaa !17
  %747 = load i64, ptr %15, align 8, !tbaa !9
  %748 = getelementptr inbounds double, ptr %746, i64 %747
  %749 = load double, ptr %748, align 8, !tbaa !11
  %750 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %751 = load ptr, ptr %750, align 8, !tbaa !17
  %752 = load i64, ptr %15, align 8, !tbaa !9
  %753 = sub nsw i64 %752, 1
  %754 = getelementptr inbounds double, ptr %751, i64 %753
  %755 = load double, ptr %754, align 8, !tbaa !11
  %756 = fsub double %749, %755
  %757 = call double @llvm.fmuladd.f64(double %744, double %756, double %739)
  %758 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %59, i32 0, i32 4
  %759 = load ptr, ptr %758, align 8, !tbaa !17
  %760 = load i64, ptr %15, align 8, !tbaa !9
  %761 = add nsw i64 %760, 1
  %762 = getelementptr inbounds double, ptr %759, i64 %761
  store double %757, ptr %762, align 8, !tbaa !11
  %763 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %764 = load ptr, ptr %763, align 8, !tbaa !17
  %765 = load i64, ptr %15, align 8, !tbaa !9
  %766 = getelementptr inbounds double, ptr %764, i64 %765
  %767 = load double, ptr %766, align 8, !tbaa !11
  %768 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %769 = load ptr, ptr %768, align 8, !tbaa !17
  %770 = load i64, ptr %15, align 8, !tbaa !9
  %771 = add nsw i64 %770, 1
  %772 = getelementptr inbounds double, ptr %769, i64 %771
  store double %767, ptr %772, align 8, !tbaa !11
  %773 = load i64, ptr %15, align 8, !tbaa !9
  %774 = add nsw i64 %773, 2
  %775 = load ptr, ptr %18, align 8, !tbaa !5
  %776 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20spline1dbuildhermiteEPNS_9ae_vectorES1_S1_lPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef %58, ptr noundef %59, ptr noundef %60, i64 noundef %774, ptr noundef %775, ptr noundef %776)
  %777 = load ptr, ptr %18, align 8, !tbaa !5
  %778 = load double, ptr %31, align 8, !tbaa !11
  %779 = load double, ptr %30, align 8, !tbaa !11
  %780 = fsub double %778, %779
  %781 = fdiv double 2.000000e+00, %780
  %782 = load double, ptr %30, align 8, !tbaa !11
  %783 = load double, ptr %31, align 8, !tbaa !11
  %784 = fadd double %782, %783
  %785 = fneg double %784
  %786 = load double, ptr %31, align 8, !tbaa !11
  %787 = load double, ptr %30, align 8, !tbaa !11
  %788 = fsub double %786, %787
  %789 = fdiv double %785, %788
  %790 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl17spline1dlintransxEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef %777, double noundef %781, double noundef %789, ptr noundef %790)
  %791 = load ptr, ptr %18, align 8, !tbaa !5
  %792 = load double, ptr %33, align 8, !tbaa !11
  %793 = load double, ptr %32, align 8, !tbaa !11
  %794 = fsub double %792, %793
  %795 = load double, ptr %32, align 8, !tbaa !11
  %796 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl17spline1dlintransyEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef %791, double noundef %794, double noundef %795, ptr noundef %796)
  %797 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 1, ptr %797, align 8, !tbaa !9
  %798 = load ptr, ptr %19, align 8, !tbaa !5
  %799 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %798, i32 0, i32 1
  store double 0.000000e+00, ptr %799, align 8, !tbaa !34
  %800 = load ptr, ptr %19, align 8, !tbaa !5
  %801 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %800, i32 0, i32 2
  store double 0.000000e+00, ptr %801, align 8, !tbaa !36
  %802 = load ptr, ptr %19, align 8, !tbaa !5
  %803 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %802, i32 0, i32 3
  store double 0.000000e+00, ptr %803, align 8, !tbaa !37
  %804 = load ptr, ptr %19, align 8, !tbaa !5
  %805 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %804, i32 0, i32 4
  store double 0.000000e+00, ptr %805, align 8, !tbaa !38
  store double 0.000000e+00, ptr %29, align 8, !tbaa !11
  %806 = load i64, ptr %15, align 8, !tbaa !9
  %807 = load ptr, ptr %11, align 8, !tbaa !5
  %808 = load i64, ptr %14, align 8, !tbaa !9
  %809 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl17spline1dconvcubicEPNS_9ae_vectorES1_lldldS1_lS1_PNS_8ae_stateE(ptr noundef %54, ptr noundef %63, i64 noundef %806, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %807, i64 noundef %808, ptr noundef %39, ptr noundef %809)
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %810

810:                                              ; preds = %905, %619
  %811 = load i64, ptr %25, align 8, !tbaa !9
  %812 = load i64, ptr %14, align 8, !tbaa !9
  %813 = sub nsw i64 %812, 1
  %814 = icmp sle i64 %811, %813
  br i1 %814, label %815, label %908

815:                                              ; preds = %810
  %816 = load double, ptr %33, align 8, !tbaa !11
  %817 = load double, ptr %32, align 8, !tbaa !11
  %818 = fsub double %816, %817
  %819 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %820 = load ptr, ptr %819, align 8, !tbaa !17
  %821 = load i64, ptr %25, align 8, !tbaa !9
  %822 = getelementptr inbounds double, ptr %820, i64 %821
  %823 = load double, ptr %822, align 8, !tbaa !11
  %824 = load double, ptr %32, align 8, !tbaa !11
  %825 = call double @llvm.fmuladd.f64(double %818, double %823, double %824)
  store double %825, ptr %28, align 8, !tbaa !11
  %826 = load ptr, ptr %19, align 8, !tbaa !5
  %827 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %826, i32 0, i32 1
  %828 = load double, ptr %827, align 8, !tbaa !34
  %829 = load double, ptr %28, align 8, !tbaa !11
  %830 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %831 = load ptr, ptr %830, align 8, !tbaa !17
  %832 = load i64, ptr %25, align 8, !tbaa !9
  %833 = getelementptr inbounds double, ptr %831, i64 %832
  %834 = load double, ptr %833, align 8, !tbaa !11
  %835 = fsub double %829, %834
  %836 = load ptr, ptr %20, align 8, !tbaa !5
  %837 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %835, ptr noundef %836)
  %838 = fadd double %828, %837
  %839 = load ptr, ptr %19, align 8, !tbaa !5
  %840 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %839, i32 0, i32 1
  store double %838, ptr %840, align 8, !tbaa !34
  %841 = load ptr, ptr %19, align 8, !tbaa !5
  %842 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %841, i32 0, i32 2
  %843 = load double, ptr %842, align 8, !tbaa !36
  %844 = load double, ptr %28, align 8, !tbaa !11
  %845 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %846 = load ptr, ptr %845, align 8, !tbaa !17
  %847 = load i64, ptr %25, align 8, !tbaa !9
  %848 = getelementptr inbounds double, ptr %846, i64 %847
  %849 = load double, ptr %848, align 8, !tbaa !11
  %850 = fsub double %844, %849
  %851 = load ptr, ptr %20, align 8, !tbaa !5
  %852 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %850, ptr noundef %851)
  %853 = fadd double %843, %852
  %854 = load ptr, ptr %19, align 8, !tbaa !5
  %855 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %854, i32 0, i32 2
  store double %853, ptr %855, align 8, !tbaa !36
  %856 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %857 = load ptr, ptr %856, align 8, !tbaa !17
  %858 = load i64, ptr %25, align 8, !tbaa !9
  %859 = getelementptr inbounds double, ptr %857, i64 %858
  %860 = load double, ptr %859, align 8, !tbaa !11
  %861 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %860, double noundef 0.000000e+00)
  br i1 %861, label %862, label %888

862:                                              ; preds = %815
  %863 = load ptr, ptr %19, align 8, !tbaa !5
  %864 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %863, i32 0, i32 3
  %865 = load double, ptr %864, align 8, !tbaa !37
  %866 = load double, ptr %28, align 8, !tbaa !11
  %867 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %868 = load ptr, ptr %867, align 8, !tbaa !17
  %869 = load i64, ptr %25, align 8, !tbaa !9
  %870 = getelementptr inbounds double, ptr %868, i64 %869
  %871 = load double, ptr %870, align 8, !tbaa !11
  %872 = fsub double %866, %871
  %873 = load ptr, ptr %20, align 8, !tbaa !5
  %874 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %872, ptr noundef %873)
  %875 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %876 = load ptr, ptr %875, align 8, !tbaa !17
  %877 = load i64, ptr %25, align 8, !tbaa !9
  %878 = getelementptr inbounds double, ptr %876, i64 %877
  %879 = load double, ptr %878, align 8, !tbaa !11
  %880 = load ptr, ptr %20, align 8, !tbaa !5
  %881 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %879, ptr noundef %880)
  %882 = fdiv double %874, %881
  %883 = fadd double %865, %882
  %884 = load ptr, ptr %19, align 8, !tbaa !5
  %885 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %884, i32 0, i32 3
  store double %883, ptr %885, align 8, !tbaa !37
  %886 = load double, ptr %29, align 8, !tbaa !11
  %887 = fadd double %886, 1.000000e+00
  store double %887, ptr %29, align 8, !tbaa !11
  br label %888

888:                                              ; preds = %862, %815
  %889 = load ptr, ptr %19, align 8, !tbaa !5
  %890 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %889, i32 0, i32 4
  %891 = load double, ptr %890, align 8, !tbaa !38
  %892 = load double, ptr %28, align 8, !tbaa !11
  %893 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %894 = load ptr, ptr %893, align 8, !tbaa !17
  %895 = load i64, ptr %25, align 8, !tbaa !9
  %896 = getelementptr inbounds double, ptr %894, i64 %895
  %897 = load double, ptr %896, align 8, !tbaa !11
  %898 = fsub double %892, %897
  %899 = load ptr, ptr %20, align 8, !tbaa !5
  %900 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %898, ptr noundef %899)
  %901 = load ptr, ptr %20, align 8, !tbaa !5
  %902 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %891, double noundef %900, ptr noundef %901)
  %903 = load ptr, ptr %19, align 8, !tbaa !5
  %904 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %903, i32 0, i32 4
  store double %902, ptr %904, align 8, !tbaa !38
  br label %905

905:                                              ; preds = %888
  %906 = load i64, ptr %25, align 8, !tbaa !9
  %907 = add nsw i64 %906, 1
  store i64 %907, ptr %25, align 8, !tbaa !9
  br label %810, !llvm.loop !39

908:                                              ; preds = %810
  %909 = load ptr, ptr %19, align 8, !tbaa !5
  %910 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %909, i32 0, i32 1
  %911 = load double, ptr %910, align 8, !tbaa !34
  %912 = load i64, ptr %14, align 8, !tbaa !9
  %913 = sitofp i64 %912 to double
  %914 = fdiv double %911, %913
  %915 = load ptr, ptr %20, align 8, !tbaa !5
  %916 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %914, ptr noundef %915)
  %917 = load ptr, ptr %19, align 8, !tbaa !5
  %918 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %917, i32 0, i32 1
  store double %916, ptr %918, align 8, !tbaa !34
  %919 = load ptr, ptr %19, align 8, !tbaa !5
  %920 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %919, i32 0, i32 2
  %921 = load double, ptr %920, align 8, !tbaa !36
  %922 = load i64, ptr %14, align 8, !tbaa !9
  %923 = sitofp i64 %922 to double
  %924 = fdiv double %921, %923
  %925 = load ptr, ptr %19, align 8, !tbaa !5
  %926 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %925, i32 0, i32 2
  store double %924, ptr %926, align 8, !tbaa !36
  %927 = load double, ptr %29, align 8, !tbaa !11
  %928 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %927, double noundef 0.000000e+00)
  br i1 %928, label %929, label %937

929:                                              ; preds = %908
  %930 = load ptr, ptr %19, align 8, !tbaa !5
  %931 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %930, i32 0, i32 3
  %932 = load double, ptr %931, align 8, !tbaa !37
  %933 = load double, ptr %29, align 8, !tbaa !11
  %934 = fdiv double %932, %933
  %935 = load ptr, ptr %19, align 8, !tbaa !5
  %936 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %935, i32 0, i32 3
  store double %934, ptr %936, align 8, !tbaa !37
  br label %937

937:                                              ; preds = %929, %908
  %938 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %938)
  store i32 0, ptr %67, align 4
  br label %939

939:                                              ; preds = %937, %616
  call void @llvm.lifetime.end.p0(i64 64, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 936, ptr %64) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %60) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  %940 = load i32, ptr %67, align 4
  switch i32 %940, label %942 [
    i32 0, label %941
    i32 1, label %941
  ]

941:                                              ; preds = %939, %939
  ret void

942:                                              ; preds = %939
  unreachable
}

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

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

declare noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) #2

declare noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef, i64 noundef, i64 noundef, double noundef) #2

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) #2

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #2

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_S1_lPdS2_S2_S2_S1_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare noundef zeroext i1 @_ZN11alglib_impl17spdmatrixcholeskyEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl26_spline1dinterpolant_clearEPv(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15heapsortdpointsEPNS_9ae_vectorES1_S1_lPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl24_spline1dfitreport_clearEPv(ptr noundef) #3

declare void @_ZN11alglib_impl20_fblslincgstate_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) #2

declare void @_ZN11alglib_impl17fblscholeskysolveEPNS_9ae_matrixEdlbPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, double noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "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 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 = { 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", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !15, i64 16, !16, i64 24, !7, i64 56}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !10, i64 16}
!21 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !15, i64 32, !16, i64 40, !7, i64 72}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}
!33 = distinct !{!33, !19}
!34 = !{!35, !12, i64 8}
!35 = !{!"_ZTSN11alglib_impl17spline1dfitreportE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!36 = !{!35, !12, i64 16}
!37 = !{!35, !12, i64 24}
!38 = !{!35, !12, i64 32}
!39 = distinct !{!39, !19}


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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::spline1dinterpolant" = type { i8, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::fblslincgstate" = type { double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::rcommstate" = type { i32, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }

@.str.280 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.284 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.287 = external hidden unnamed_addr constant [40 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl25_spline1dinterpolant_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl18spline1dbuildcubicEPNS_9ae_vectorES1_lldldPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl21spline1dgriddiffcubicEPNS_9ae_vectorES1_lldldS1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl22spline1dgriddiff2cubicEPNS_9ae_vectorES1_lldldS1_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17spline1dconvcubicEPNS_9ae_vectorES1_lldldS1_lS1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl20spline1dbuildhermiteEPNS_9ae_vectorES1_S1_lPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17spline1dlintransxEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17spline1dlintransyEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl21spline1dfitpenalizedwEPNS_9ae_vectorES1_S1_lldPlPNS_19spline1dinterpolantEPNS_17spline1dfitreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, ptr nocapture noundef writeonly %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) local_unnamed_addr #3 {
  %11 = alloca %"struct.alglib_impl::ae_frame", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca %"struct.alglib_impl::ae_vector", align 8
  %21 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca %"struct.alglib_impl::ae_vector", align 8
  %26 = alloca %"struct.alglib_impl::ae_vector", align 8
  %27 = alloca %"struct.alglib_impl::ae_vector", align 8
  %28 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %29 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %30 = alloca %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::ae_vector", align 8
  %32 = alloca %"struct.alglib_impl::ae_vector", align 8
  %33 = alloca %"struct.alglib_impl::ae_vector", align 8
  %34 = alloca %"struct.alglib_impl::ae_vector", align 8
  %35 = alloca %"struct.alglib_impl::ae_vector", align 8
  %36 = alloca %"struct.alglib_impl::ae_vector", align 8
  %37 = alloca %"struct.alglib_impl::spline1dinterpolant", align 8
  %38 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %39 = alloca %"struct.alglib_impl::ae_vector", align 8
  %40 = alloca %"struct.alglib_impl::fblslincgstate", align 8
  %41 = alloca %"struct.alglib_impl::ae_vector", align 8
  %42 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %32) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %33) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %36) #5
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %38) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %39) #5
  call void @llvm.lifetime.start.p0(i64 936, ptr nonnull %40) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %41) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %42) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %9, ptr noundef nonnull %11)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %19, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %20, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %21, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %23, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %25, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %26, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %28, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %29, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %30, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %31, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %32, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %33, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %34, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %35, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %36, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(160) %37, i8 0, i64 160, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %38, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %39, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(936) %40, i8 0, i64 936, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %41, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %42, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %12, ptr noundef %0, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %13, ptr noundef %1, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %14, ptr noundef %2, ptr noundef %9, i1 noundef zeroext true)
  store i64 0, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl26_spline1dinterpolant_clearEPv(ptr noundef %7)
  call void @_ZN11alglib_impl24_spline1dfitreport_clearEPv(ptr noundef %8)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %19, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %20, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %21, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %22, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %23, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %24, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %25, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %26, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %27, i64 noundef 0, i64 noundef 2, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %28, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %29, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %30, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %31, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %32, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %33, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %34, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %35, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %36, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl25_spline1dinterpolant_initEPvPNS_8ae_stateEb(ptr noundef nonnull %37, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %38, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %39, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl20_fblslincgstate_initEPvPNS_8ae_stateEb(ptr noundef nonnull %40, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %41, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %42, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  %43 = icmp sgt i64 %3, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %43, ptr noundef nonnull @.str.280, ptr noundef %9)
  %44 = icmp sgt i64 %4, 3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %44, ptr noundef nonnull @.str.281, ptr noundef %9)
  %45 = load i64, ptr %12, align 8, !tbaa !9
  %46 = icmp sge i64 %45, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %46, ptr noundef nonnull @.str.282, ptr noundef %9)
  %47 = load i64, ptr %13, align 8, !tbaa !9
  %48 = icmp sge i64 %47, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %48, ptr noundef nonnull @.str.283, ptr noundef %9)
  %49 = load i64, ptr %14, align 8, !tbaa !9
  %50 = icmp sge i64 %49, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %50, ptr noundef nonnull @.str.284, ptr noundef %9)
  %51 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %3, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %51, ptr noundef nonnull @.str.285, ptr noundef %9)
  %52 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %3, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %52, ptr noundef nonnull @.str.286, ptr noundef %9)
  %53 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %3, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %53, ptr noundef nonnull @.str.286, ptr noundef %9)
  %54 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %5, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %54, ptr noundef nonnull @.str.287, ptr noundef %9)
  %55 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 5.000000e-16, ptr noundef %9)
  %56 = fneg double %55
  %57 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000000e+01, ptr noundef %9)
  %58 = fdiv double %56, %57
  %59 = fneg double %58
  %60 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %5, double noundef %59)
  %.0 = select i1 %60, double %59, double %5
  %61 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.0, double noundef %58)
  %.1 = select i1 %61, double %58, double %.0
  %62 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %.1, ptr noundef %9)
  call void @_ZN11alglib_impl15heapsortdpointsEPNS_9ae_vectorES1_S1_lPNS_8ae_stateE(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, i64 noundef %3, ptr noundef %9)
  call void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_S1_lPdS2_S2_S2_S1_S1_PNS_8ae_stateE(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, i64 noundef %3, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull %27, i64 noundef 0, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %3, i64 noundef %4, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %28, i64 noundef %4, i64 noundef %4, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef %4, i64 noundef %4, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %30, i64 noundef %4, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %31, i64 noundef %4, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %22, i64 noundef %3, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %38, i64 noundef %4, i64 noundef %4, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %39, i64 noundef %4, ptr noundef %9)
  %63 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %4, i64 noundef %3, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %42, i64 noundef %63, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %41, i64 noundef %4, ptr noundef %9)
  %64 = add i64 %4, -1
  %.not.not370 = icmp sgt i64 %4, 0
  br i1 %.not.not370, label %.preheader361.lr.ph, label %._crit_edge388

.preheader361.lr.ph:                              ; preds = %10
  %65 = uitofp nneg i64 %64 to double
  %66 = getelementptr inbounds i8, ptr %30, i64 56
  %67 = getelementptr inbounds i8, ptr %31, i64 56
  %68 = getelementptr inbounds i8, ptr %21, i64 72
  %69 = getelementptr inbounds i8, ptr %21, i64 16
  %70 = getelementptr inbounds i8, ptr %22, i64 56
  %71 = add nsw i64 %3, -1
  %72 = getelementptr inbounds i8, ptr %14, i64 56
  %73 = getelementptr inbounds i8, ptr %29, i64 72
  %74 = getelementptr inbounds i8, ptr %33, i64 56
  %xtraiter = and i64 %4, 1
  %75 = icmp eq i64 %64, 0
  %unroll_iter = and i64 %4, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %._crit_edge369, %.preheader361.lr.ph
  %.0329372 = phi double [ 0.000000e+00, %.preheader361.lr.ph ], [ %123, %._crit_edge369 ]
  %.0333371 = phi i64 [ 0, %.preheader361.lr.ph ], [ %129, %._crit_edge369 ]
  br i1 %75, label %._crit_edge.unr-lcssa, label %.lr.ph

.preheader360:                                    ; preds = %._crit_edge369
  br i1 %.not.not370, label %.preheader359.lr.ph, label %._crit_edge388

.preheader359.lr.ph:                              ; preds = %.preheader360
  %.not375 = icmp eq i64 %4, 1
  %76 = getelementptr inbounds i8, ptr %29, i64 72
  %77 = getelementptr inbounds i8, ptr %30, i64 56
  %78 = getelementptr inbounds i8, ptr %28, i64 72
  br i1 %.not375, label %.preheader357.thread441, label %.preheader359

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.0330363 = phi i64 [ %96, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %79 = shl nuw nsw i64 %.0330363, 1
  %80 = uitofp nneg i64 %79 to double
  %81 = fdiv double %80, %65
  %82 = fadd double %81, -1.000000e+00
  %83 = load ptr, ptr %66, align 8, !tbaa !14
  %84 = getelementptr inbounds double, ptr %83, i64 %.0330363
  store double %82, ptr %84, align 8, !tbaa !15
  %85 = load ptr, ptr %67, align 8, !tbaa !14
  %86 = getelementptr inbounds double, ptr %85, i64 %.0330363
  store double 0.000000e+00, ptr %86, align 8, !tbaa !15
  %87 = or disjoint i64 %.0330363, 1
  %88 = shl nuw nsw i64 %87, 1
  %89 = uitofp nneg i64 %88 to double
  %90 = fdiv double %89, %65
  %91 = fadd double %90, -1.000000e+00
  %92 = load ptr, ptr %66, align 8, !tbaa !14
  %93 = getelementptr inbounds double, ptr %92, i64 %87
  store double %91, ptr %93, align 8, !tbaa !15
  %94 = load ptr, ptr %67, align 8, !tbaa !14
  %95 = getelementptr inbounds double, ptr %94, i64 %87
  store double 0.000000e+00, ptr %95, align 8, !tbaa !15
  %96 = add nuw nsw i64 %.0330363, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !17

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph, %.lr.ph.preheader
  %.0330363.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %96, %.lr.ph ]
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa
  %97 = shl nuw nsw i64 %.0330363.unr, 1
  %98 = uitofp nneg i64 %97 to double
  %99 = fdiv double %98, %65
  %100 = fadd double %99, -1.000000e+00
  %101 = load ptr, ptr %66, align 8, !tbaa !14
  %102 = getelementptr inbounds double, ptr %101, i64 %.0330363.unr
  store double %100, ptr %102, align 8, !tbaa !15
  %103 = load ptr, ptr %67, align 8, !tbaa !14
  %104 = getelementptr inbounds double, ptr %103, i64 %.0330363.unr
  store double 0.000000e+00, ptr %104, align 8, !tbaa !15
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.unr-lcssa, %.lr.ph.epil
  %105 = load ptr, ptr %67, align 8, !tbaa !14
  %106 = getelementptr inbounds double, ptr %105, i64 %.0333371
  store double 1.000000e+00, ptr %106, align 8, !tbaa !15
  call void @_ZN11alglib_impl22spline1dgriddiff2cubicEPNS_9ae_vectorES1_lldldS1_S1_PNS_8ae_stateE(ptr noundef nonnull %30, ptr noundef nonnull %31, i64 noundef %4, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef %9)
  call void @_ZN11alglib_impl18spline1dbuildcubicEPNS_9ae_vectorES1_lldldPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef nonnull %30, ptr noundef nonnull %31, i64 noundef %4, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef nonnull %37, ptr noundef %9)
  call void @_ZN11alglib_impl17spline1dconvcubicEPNS_9ae_vectorES1_lldldS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %30, ptr noundef nonnull %31, i64 noundef %4, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef nonnull %12, i64 noundef %3, ptr noundef nonnull %22, ptr noundef %9)
  %107 = load ptr, ptr %68, align 8, !tbaa !14
  %108 = load ptr, ptr %107, align 8, !tbaa !19
  %109 = getelementptr inbounds double, ptr %108, i64 %.0333371
  %110 = load i64, ptr %69, align 8, !tbaa !20
  %111 = load ptr, ptr %70, align 8, !tbaa !14
  %112 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %71)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %109, i64 noundef %110, ptr noundef %111, i64 noundef 1, i64 noundef %112)
  br i1 %43, label %.lr.ph368, label %._crit_edge369

.lr.ph368:                                        ; preds = %._crit_edge, %.lr.ph368
  %.0326366 = phi i64 [ %122, %.lr.ph368 ], [ 0, %._crit_edge ]
  %.0337365 = phi double [ %121, %.lr.ph368 ], [ 0.000000e+00, %._crit_edge ]
  %113 = load ptr, ptr %72, align 8, !tbaa !14
  %114 = getelementptr inbounds double, ptr %113, i64 %.0326366
  %115 = load double, ptr %114, align 8, !tbaa !15
  %116 = load ptr, ptr %70, align 8, !tbaa !14
  %117 = getelementptr inbounds double, ptr %116, i64 %.0326366
  %118 = load double, ptr %117, align 8, !tbaa !15
  %119 = fmul double %115, %118
  %120 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %119, ptr noundef %9)
  %121 = fadd double %.0337365, %120
  %122 = add nuw nsw i64 %.0326366, 1
  %exitcond423.not = icmp eq i64 %122, %3
  br i1 %exitcond423.not, label %._crit_edge369, label %.lr.ph368, !llvm.loop !22

._crit_edge369:                                   ; preds = %.lr.ph368, %._crit_edge
  %.0337.lcssa = phi double [ 0.000000e+00, %._crit_edge ], [ %121, %.lr.ph368 ]
  %123 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0329372, double noundef %.0337.lcssa, ptr noundef %9)
  %124 = load ptr, ptr %73, align 8, !tbaa !14
  %125 = getelementptr inbounds ptr, ptr %124, i64 %.0333371
  %126 = load ptr, ptr %125, align 8, !tbaa !19
  %127 = load ptr, ptr %74, align 8, !tbaa !14
  %128 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %64)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %126, i64 noundef 1, ptr noundef %127, i64 noundef 1, i64 noundef %128)
  %129 = add nuw nsw i64 %.0333371, 1
  %exitcond424.not = icmp eq i64 %129, %4
  br i1 %exitcond424.not, label %.preheader360, label %.lr.ph.preheader, !llvm.loop !23

.preheader359:                                    ; preds = %.preheader359.lr.ph, %.split
  %.1327383 = phi i64 [ %172, %.split ], [ 0, %.preheader359.lr.ph ]
  br label %.preheader358

.preheader357.thread441:                          ; preds = %.preheader359.lr.ph
  %130 = load ptr, ptr %78, align 8, !tbaa !14
  %131 = load ptr, ptr %130, align 8, !tbaa !19
  store double 0.000000e+00, ptr %131, align 8, !tbaa !15
  %132 = load ptr, ptr %78, align 8, !tbaa !14
  %133 = load ptr, ptr %132, align 8, !tbaa !19
  store double 0.000000e+00, ptr %133, align 8, !tbaa !15
  br label %.lr.ph387

.preheader357:                                    ; preds = %.split
  br i1 %.not.not370, label %.lr.ph387, label %._crit_edge388

.lr.ph387:                                        ; preds = %.preheader357.thread441, %.preheader357
  %134 = getelementptr inbounds i8, ptr %28, i64 72
  br label %173

.preheader358:                                    ; preds = %.preheader359, %._crit_edge379
  %.1331381 = phi i64 [ %.1327383, %.preheader359 ], [ %171, %._crit_edge379 ]
  %135 = load ptr, ptr %76, align 8, !tbaa !14
  %136 = getelementptr inbounds ptr, ptr %135, i64 %.1327383
  %137 = load ptr, ptr %136, align 8, !tbaa !19
  %138 = getelementptr inbounds ptr, ptr %135, i64 %.1331381
  %139 = load ptr, ptr %138, align 8, !tbaa !19
  %140 = load ptr, ptr %77, align 8, !tbaa !14
  %.pre = load double, ptr %137, align 8, !tbaa !15
  %.pre435 = load double, ptr %139, align 8, !tbaa !15
  %.pre436 = load double, ptr %140, align 8, !tbaa !15
  br label %141

141:                                              ; preds = %.preheader358, %141
  %142 = phi double [ %.pre436, %.preheader358 ], [ %151, %141 ]
  %143 = phi double [ %.pre435, %.preheader358 ], [ %149, %141 ]
  %144 = phi double [ %.pre, %.preheader358 ], [ %147, %141 ]
  %.1334377 = phi i64 [ 0, %.preheader358 ], [ %145, %141 ]
  %.1338376 = phi double [ 0.000000e+00, %.preheader358 ], [ %162, %141 ]
  %145 = add nuw nsw i64 %.1334377, 1
  %146 = getelementptr inbounds double, ptr %137, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !15
  %148 = getelementptr inbounds double, ptr %139, i64 %145
  %149 = load double, ptr %148, align 8, !tbaa !15
  %150 = getelementptr inbounds double, ptr %140, i64 %145
  %151 = load double, ptr %150, align 8, !tbaa !15
  %152 = fsub double %151, %142
  %153 = fsub double %149, %143
  %154 = fsub double %147, %144
  %155 = fmul double %154, %143
  %156 = call double @llvm.fmuladd.f64(double %144, double %153, double %155)
  %157 = fmul double %156, 5.000000e-01
  %158 = call double @llvm.fmuladd.f64(double %144, double %143, double %157)
  %159 = fmul double %154, %153
  %160 = fdiv double %159, 3.000000e+00
  %161 = fadd double %160, %158
  %162 = call double @llvm.fmuladd.f64(double %152, double %161, double %.1338376)
  %exitcond425.not = icmp eq i64 %145, %64
  br i1 %exitcond425.not, label %._crit_edge379, label %141, !llvm.loop !24

._crit_edge379:                                   ; preds = %141
  %163 = load ptr, ptr %78, align 8, !tbaa !14
  %164 = getelementptr inbounds ptr, ptr %163, i64 %.1327383
  %165 = load ptr, ptr %164, align 8, !tbaa !19
  %166 = getelementptr inbounds double, ptr %165, i64 %.1331381
  store double %162, ptr %166, align 8, !tbaa !15
  %167 = load ptr, ptr %78, align 8, !tbaa !14
  %168 = getelementptr inbounds ptr, ptr %167, i64 %.1331381
  %169 = load ptr, ptr %168, align 8, !tbaa !19
  %170 = getelementptr inbounds double, ptr %169, i64 %.1327383
  store double %162, ptr %170, align 8, !tbaa !15
  %171 = add nuw nsw i64 %.1331381, 1
  %.not.not351 = icmp slt i64 %171, %4
  br i1 %.not.not351, label %.preheader358, label %.split, !llvm.loop !25

.split:                                           ; preds = %._crit_edge379
  %172 = add nuw nsw i64 %.1327383, 1
  %exitcond426.not = icmp eq i64 %172, %4
  br i1 %exitcond426.not, label %.preheader357, label %.preheader359, !llvm.loop !26

173:                                              ; preds = %.lr.ph387, %173
  %.2386 = phi i64 [ 0, %.lr.ph387 ], [ %181, %173 ]
  %.0328385 = phi double [ 0.000000e+00, %.lr.ph387 ], [ %180, %173 ]
  %174 = load ptr, ptr %134, align 8, !tbaa !14
  %175 = getelementptr inbounds ptr, ptr %174, i64 %.2386
  %176 = load ptr, ptr %175, align 8, !tbaa !19
  %177 = getelementptr inbounds double, ptr %176, i64 %.2386
  %178 = load double, ptr %177, align 8, !tbaa !15
  %179 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %178, ptr noundef %9)
  %180 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0328385, double noundef %179, ptr noundef %9)
  %181 = add nuw nsw i64 %.2386, 1
  %exitcond427.not = icmp eq i64 %181, %4
  br i1 %exitcond427.not, label %._crit_edge388, label %173, !llvm.loop !27

._crit_edge388:                                   ; preds = %173, %10, %.preheader360, %.preheader357
  %.0329.lcssa438440 = phi double [ %123, %.preheader357 ], [ %123, %.preheader360 ], [ 0.000000e+00, %10 ], [ %123, %173 ]
  %.0328.lcssa = phi double [ 0.000000e+00, %.preheader357 ], [ 0.000000e+00, %.preheader360 ], [ 0.000000e+00, %10 ], [ %180, %173 ]
  %182 = fmul double %62, %.0329.lcssa438440
  %183 = fdiv double %182, %.0328.lcssa
  %184 = fadd double %183, 1.000000e+00
  %185 = fmul double %.0329.lcssa438440, %184
  %186 = fmul double %185, 1.000000e+01
  %187 = fmul double %186, 5.000000e-16
  br i1 %43, label %.lr.ph393, label %._crit_edge394

.lr.ph393:                                        ; preds = %._crit_edge388
  %188 = getelementptr inbounds i8, ptr %14, i64 56
  %189 = getelementptr inbounds i8, ptr %21, i64 72
  br label %190

190:                                              ; preds = %.lr.ph393, %190
  %.3391 = phi i64 [ 0, %.lr.ph393 ], [ %198, %190 ]
  %191 = load ptr, ptr %188, align 8, !tbaa !14
  %192 = getelementptr inbounds double, ptr %191, i64 %.3391
  %193 = load double, ptr %192, align 8, !tbaa !15
  %194 = load ptr, ptr %189, align 8, !tbaa !14
  %195 = getelementptr inbounds ptr, ptr %194, i64 %.3391
  %196 = load ptr, ptr %195, align 8, !tbaa !19
  %197 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %64)
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %196, i64 noundef 1, i64 noundef %197, double noundef %193)
  %198 = add nuw nsw i64 %.3391, 1
  %exitcond428.not = icmp eq i64 %198, %3
  br i1 %exitcond428.not, label %._crit_edge394, label %190, !llvm.loop !28

._crit_edge394:                                   ; preds = %190, %._crit_edge388
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %4, i64 noundef %4, i64 noundef %3, double noundef 1.000000e+00, ptr noundef nonnull %21, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef nonnull %21, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef nonnull %38, i64 noundef 0, i64 noundef 0, ptr noundef %9)
  br i1 %.not.not370, label %.preheader356.lr.ph, label %.preheader

.preheader356.lr.ph:                              ; preds = %._crit_edge394
  %199 = getelementptr inbounds i8, ptr %38, i64 72
  %200 = getelementptr inbounds i8, ptr %28, i64 72
  %xtraiter453 = and i64 %4, 1
  %201 = icmp eq i64 %64, 0
  %unroll_iter455 = and i64 %4, 9223372036854775806
  %lcmp.mod454.not = icmp eq i64 %xtraiter453, 0
  br label %.preheader356.us

.preheader356.us:                                 ; preds = %._crit_edge398.us, %.preheader356.lr.ph
  %.4400.us = phi i64 [ 0, %.preheader356.lr.ph ], [ %237, %._crit_edge398.us ]
  br i1 %201, label %._crit_edge398.us.unr-lcssa, label %.preheader356.us.new

.preheader356.us.new:                             ; preds = %.preheader356.us, %.preheader356.us.new
  %.2332396.us = phi i64 [ %225, %.preheader356.us.new ], [ 0, %.preheader356.us ]
  %niter456 = phi i64 [ %niter456.next.1, %.preheader356.us.new ], [ 0, %.preheader356.us ]
  %202 = load ptr, ptr %199, align 8, !tbaa !14
  %203 = getelementptr inbounds ptr, ptr %202, i64 %.4400.us
  %204 = load ptr, ptr %203, align 8, !tbaa !19
  %205 = getelementptr inbounds double, ptr %204, i64 %.2332396.us
  %206 = load double, ptr %205, align 8, !tbaa !15
  %207 = load ptr, ptr %200, align 8, !tbaa !14
  %208 = getelementptr inbounds ptr, ptr %207, i64 %.4400.us
  %209 = load ptr, ptr %208, align 8, !tbaa !19
  %210 = getelementptr inbounds double, ptr %209, i64 %.2332396.us
  %211 = load double, ptr %210, align 8, !tbaa !15
  %212 = call double @llvm.fmuladd.f64(double %183, double %211, double %206)
  store double %212, ptr %205, align 8, !tbaa !15
  %213 = or disjoint i64 %.2332396.us, 1
  %214 = load ptr, ptr %199, align 8, !tbaa !14
  %215 = getelementptr inbounds ptr, ptr %214, i64 %.4400.us
  %216 = load ptr, ptr %215, align 8, !tbaa !19
  %217 = getelementptr inbounds double, ptr %216, i64 %213
  %218 = load double, ptr %217, align 8, !tbaa !15
  %219 = load ptr, ptr %200, align 8, !tbaa !14
  %220 = getelementptr inbounds ptr, ptr %219, i64 %.4400.us
  %221 = load ptr, ptr %220, align 8, !tbaa !19
  %222 = getelementptr inbounds double, ptr %221, i64 %213
  %223 = load double, ptr %222, align 8, !tbaa !15
  %224 = call double @llvm.fmuladd.f64(double %183, double %223, double %218)
  store double %224, ptr %217, align 8, !tbaa !15
  %225 = add nuw nsw i64 %.2332396.us, 2
  %niter456.next.1 = add i64 %niter456, 2
  %niter456.ncmp.1 = icmp eq i64 %niter456.next.1, %unroll_iter455
  br i1 %niter456.ncmp.1, label %._crit_edge398.us.unr-lcssa, label %.preheader356.us.new, !llvm.loop !29

._crit_edge398.us.unr-lcssa:                      ; preds = %.preheader356.us.new, %.preheader356.us
  %.2332396.us.unr = phi i64 [ 0, %.preheader356.us ], [ %225, %.preheader356.us.new ]
  br i1 %lcmp.mod454.not, label %._crit_edge398.us, label %._crit_edge398.us.epilog-lcssa

._crit_edge398.us.epilog-lcssa:                   ; preds = %._crit_edge398.us.unr-lcssa
  %226 = load ptr, ptr %199, align 8, !tbaa !14
  %227 = getelementptr inbounds ptr, ptr %226, i64 %.4400.us
  %228 = load ptr, ptr %227, align 8, !tbaa !19
  %229 = getelementptr inbounds double, ptr %228, i64 %.2332396.us.unr
  %230 = load double, ptr %229, align 8, !tbaa !15
  %231 = load ptr, ptr %200, align 8, !tbaa !14
  %232 = getelementptr inbounds ptr, ptr %231, i64 %.4400.us
  %233 = load ptr, ptr %232, align 8, !tbaa !19
  %234 = getelementptr inbounds double, ptr %233, i64 %.2332396.us.unr
  %235 = load double, ptr %234, align 8, !tbaa !15
  %236 = call double @llvm.fmuladd.f64(double %183, double %235, double %230)
  store double %236, ptr %229, align 8, !tbaa !15
  br label %._crit_edge398.us

._crit_edge398.us:                                ; preds = %._crit_edge398.us.unr-lcssa, %._crit_edge398.us.epilog-lcssa
  %237 = add nuw nsw i64 %.4400.us, 1
  %exitcond430.not = icmp eq i64 %237, %4
  br i1 %exitcond430.not, label %.preheader355, label %.preheader356.us, !llvm.loop !30

.preheader355:                                    ; preds = %._crit_edge398.us
  br i1 %.not.not370, label %.lr.ph403, label %.preheader

.lr.ph403:                                        ; preds = %.preheader355
  %238 = getelementptr inbounds i8, ptr %38, i64 72
  %xtraiter458 = and i64 %4, 1
  %239 = icmp eq i64 %64, 0
  br i1 %239, label %.preheader354.unr-lcssa, label %.lr.ph403.new

.lr.ph403.new:                                    ; preds = %.lr.ph403
  %unroll_iter460 = and i64 %4, 9223372036854775806
  br label %248

.preheader354.unr-lcssa:                          ; preds = %248, %.lr.ph403
  %.5402.unr = phi i64 [ 0, %.lr.ph403 ], [ %262, %248 ]
  %lcmp.mod459.not = icmp eq i64 %xtraiter458, 0
  br i1 %lcmp.mod459.not, label %.preheader354, label %.preheader354.epilog-lcssa

.preheader354.epilog-lcssa:                       ; preds = %.preheader354.unr-lcssa
  %240 = load ptr, ptr %238, align 8, !tbaa !14
  %241 = getelementptr inbounds ptr, ptr %240, i64 %.5402.unr
  %242 = load ptr, ptr %241, align 8, !tbaa !19
  %243 = getelementptr inbounds double, ptr %242, i64 %.5402.unr
  %244 = load double, ptr %243, align 8, !tbaa !15
  %245 = fadd double %187, %244
  store double %245, ptr %243, align 8, !tbaa !15
  br label %.preheader354

.preheader354:                                    ; preds = %.preheader354.unr-lcssa, %.preheader354.epilog-lcssa
  br i1 %.not.not370, label %.lr.ph406, label %.preheader

.lr.ph406:                                        ; preds = %.preheader354
  %246 = getelementptr inbounds i8, ptr %39, i64 56
  %xtraiter463 = and i64 %4, 3
  %247 = icmp ult i64 %4, 4
  br i1 %247, label %.preheader.loopexit.unr-lcssa, label %.lr.ph406.new

.lr.ph406.new:                                    ; preds = %.lr.ph406
  %unroll_iter465 = and i64 %4, 9223372036854775804
  br label %270

248:                                              ; preds = %248, %.lr.ph403.new
  %.5402 = phi i64 [ 0, %.lr.ph403.new ], [ %262, %248 ]
  %niter461 = phi i64 [ 0, %.lr.ph403.new ], [ %niter461.next.1, %248 ]
  %249 = load ptr, ptr %238, align 8, !tbaa !14
  %250 = getelementptr inbounds ptr, ptr %249, i64 %.5402
  %251 = load ptr, ptr %250, align 8, !tbaa !19
  %252 = getelementptr inbounds double, ptr %251, i64 %.5402
  %253 = load double, ptr %252, align 8, !tbaa !15
  %254 = fadd double %187, %253
  store double %254, ptr %252, align 8, !tbaa !15
  %255 = or disjoint i64 %.5402, 1
  %256 = load ptr, ptr %238, align 8, !tbaa !14
  %257 = getelementptr inbounds ptr, ptr %256, i64 %255
  %258 = load ptr, ptr %257, align 8, !tbaa !19
  %259 = getelementptr inbounds double, ptr %258, i64 %255
  %260 = load double, ptr %259, align 8, !tbaa !15
  %261 = fadd double %187, %260
  store double %261, ptr %259, align 8, !tbaa !15
  %262 = add nuw nsw i64 %.5402, 2
  %niter461.next.1 = add i64 %niter461, 2
  %niter461.ncmp.1 = icmp eq i64 %niter461.next.1, %unroll_iter460
  br i1 %niter461.ncmp.1, label %.preheader354.unr-lcssa, label %248, !llvm.loop !31

.preheader.loopexit.unr-lcssa:                    ; preds = %270, %.lr.ph406
  %.6405.unr = phi i64 [ 0, %.lr.ph406 ], [ %282, %270 ]
  %lcmp.mod464.not = icmp eq i64 %xtraiter463, 0
  br i1 %lcmp.mod464.not, label %.preheader, label %.epil.preheader462

.epil.preheader462:                               ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader462
  %.6405.epil = phi i64 [ %265, %.epil.preheader462 ], [ %.6405.unr, %.preheader.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader462 ], [ 0, %.preheader.loopexit.unr-lcssa ]
  %263 = load ptr, ptr %246, align 8, !tbaa !14
  %264 = getelementptr inbounds double, ptr %263, i64 %.6405.epil
  store double 0.000000e+00, ptr %264, align 8, !tbaa !15
  %265 = add nuw nsw i64 %.6405.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter463
  br i1 %epil.iter.cmp.not, label %.preheader, label %.epil.preheader462, !llvm.loop !32

.preheader:                                       ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader462, %._crit_edge394, %.preheader355, %.preheader354
  br i1 %43, label %.lr.ph409, label %._crit_edge410

.lr.ph409:                                        ; preds = %.preheader
  %266 = getelementptr inbounds i8, ptr %13, i64 56
  %267 = getelementptr inbounds i8, ptr %14, i64 56
  %268 = getelementptr inbounds i8, ptr %39, i64 56
  %269 = getelementptr inbounds i8, ptr %21, i64 72
  br label %283

270:                                              ; preds = %270, %.lr.ph406.new
  %.6405 = phi i64 [ 0, %.lr.ph406.new ], [ %282, %270 ]
  %niter466 = phi i64 [ 0, %.lr.ph406.new ], [ %niter466.next.3, %270 ]
  %271 = load ptr, ptr %246, align 8, !tbaa !14
  %272 = getelementptr inbounds double, ptr %271, i64 %.6405
  store double 0.000000e+00, ptr %272, align 8, !tbaa !15
  %273 = or disjoint i64 %.6405, 1
  %274 = load ptr, ptr %246, align 8, !tbaa !14
  %275 = getelementptr inbounds double, ptr %274, i64 %273
  store double 0.000000e+00, ptr %275, align 8, !tbaa !15
  %276 = or disjoint i64 %.6405, 2
  %277 = load ptr, ptr %246, align 8, !tbaa !14
  %278 = getelementptr inbounds double, ptr %277, i64 %276
  store double 0.000000e+00, ptr %278, align 8, !tbaa !15
  %279 = or disjoint i64 %.6405, 3
  %280 = load ptr, ptr %246, align 8, !tbaa !14
  %281 = getelementptr inbounds double, ptr %280, i64 %279
  store double 0.000000e+00, ptr %281, align 8, !tbaa !15
  %282 = add nuw nsw i64 %.6405, 4
  %niter466.next.3 = add i64 %niter466, 4
  %niter466.ncmp.3 = icmp eq i64 %niter466.next.3, %unroll_iter465
  br i1 %niter466.ncmp.3, label %.preheader.loopexit.unr-lcssa, label %270, !llvm.loop !34

283:                                              ; preds = %.lr.ph409, %283
  %.7408 = phi i64 [ 0, %.lr.ph409 ], [ %296, %283 ]
  %284 = load ptr, ptr %266, align 8, !tbaa !14
  %285 = getelementptr inbounds double, ptr %284, i64 %.7408
  %286 = load double, ptr %285, align 8, !tbaa !15
  %287 = load ptr, ptr %267, align 8, !tbaa !14
  %288 = getelementptr inbounds double, ptr %287, i64 %.7408
  %289 = load double, ptr %288, align 8, !tbaa !15
  %290 = fmul double %286, %289
  %291 = load ptr, ptr %268, align 8, !tbaa !14
  %292 = load ptr, ptr %269, align 8, !tbaa !14
  %293 = getelementptr inbounds ptr, ptr %292, i64 %.7408
  %294 = load ptr, ptr %293, align 8, !tbaa !19
  %295 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %64)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %291, i64 noundef 1, ptr noundef %294, i64 noundef 1, i64 noundef %295, double noundef %290)
  %296 = add nuw nsw i64 %.7408, 1
  %exitcond433.not = icmp eq i64 %296, %3
  br i1 %exitcond433.not, label %._crit_edge410, label %283, !llvm.loop !35

._crit_edge410:                                   ; preds = %283, %.preheader
  %297 = call noundef zeroext i1 @_ZN11alglib_impl17spdmatrixcholeskyEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef nonnull %38, i64 noundef %4, i1 noundef zeroext true, ptr noundef %9)
  br i1 %297, label %299, label %298

298:                                              ; preds = %._crit_edge410
  store i64 -4, ptr %6, align 8, !tbaa !5
  br label %449

299:                                              ; preds = %._crit_edge410
  call void @_ZN11alglib_impl17fblscholeskysolveEPNS_9ae_matrixEdlbPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %38, double noundef 1.000000e+00, i64 noundef %4, i1 noundef zeroext true, ptr noundef nonnull %39, ptr noundef nonnull %42, ptr noundef %9)
  %300 = getelementptr inbounds i8, ptr %41, i64 56
  %301 = load ptr, ptr %300, align 8, !tbaa !14
  %302 = getelementptr inbounds i8, ptr %39, i64 56
  %303 = load ptr, ptr %302, align 8, !tbaa !14
  %304 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %64)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %301, i64 noundef 1, ptr noundef %303, i64 noundef 1, i64 noundef %304)
  call void @_ZN11alglib_impl21spline1dgriddiffcubicEPNS_9ae_vectorES1_lldldS1_PNS_8ae_stateE(ptr noundef nonnull %30, ptr noundef nonnull %41, i64 noundef %4, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef nonnull %32, ptr noundef %9)
  %305 = add nsw i64 %4, 2
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %34, i64 noundef %305, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %35, i64 noundef %305, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %36, i64 noundef %305, ptr noundef %9)
  %306 = getelementptr inbounds i8, ptr %34, i64 56
  %307 = load ptr, ptr %306, align 8, !tbaa !14
  %308 = getelementptr inbounds i8, ptr %307, i64 8
  %309 = getelementptr inbounds i8, ptr %30, i64 56
  %310 = load ptr, ptr %309, align 8, !tbaa !14
  %311 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %4)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %308, i64 noundef 1, ptr noundef %310, i64 noundef 1, i64 noundef %311)
  %312 = getelementptr inbounds i8, ptr %35, i64 56
  %313 = load ptr, ptr %312, align 8, !tbaa !14
  %314 = getelementptr inbounds i8, ptr %313, i64 8
  %315 = load ptr, ptr %302, align 8, !tbaa !14
  %316 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %4)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %314, i64 noundef 1, ptr noundef %315, i64 noundef 1, i64 noundef %316)
  %317 = getelementptr inbounds i8, ptr %36, i64 56
  %318 = load ptr, ptr %317, align 8, !tbaa !14
  %319 = getelementptr inbounds i8, ptr %318, i64 8
  %320 = getelementptr inbounds i8, ptr %32, i64 56
  %321 = load ptr, ptr %320, align 8, !tbaa !14
  %322 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %4)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %319, i64 noundef 1, ptr noundef %321, i64 noundef 1, i64 noundef %322)
  %323 = load ptr, ptr %306, align 8, !tbaa !14
  %324 = getelementptr inbounds i8, ptr %323, i64 8
  %325 = load double, ptr %324, align 8, !tbaa !15
  %326 = getelementptr inbounds i8, ptr %323, i64 16
  %327 = load double, ptr %326, align 8, !tbaa !15
  %328 = fsub double %327, %325
  %329 = fsub double %325, %328
  store double %329, ptr %323, align 8, !tbaa !15
  %330 = load ptr, ptr %312, align 8, !tbaa !14
  %331 = getelementptr inbounds i8, ptr %330, i64 8
  %332 = load double, ptr %331, align 8, !tbaa !15
  %333 = load ptr, ptr %317, align 8, !tbaa !14
  %334 = getelementptr inbounds i8, ptr %333, i64 8
  %335 = load double, ptr %334, align 8, !tbaa !15
  %336 = load ptr, ptr %306, align 8, !tbaa !14
  %337 = getelementptr inbounds i8, ptr %336, i64 16
  %338 = load double, ptr %337, align 8, !tbaa !15
  %339 = getelementptr inbounds i8, ptr %336, i64 8
  %340 = load double, ptr %339, align 8, !tbaa !15
  %341 = fsub double %338, %340
  %342 = fneg double %335
  %343 = call double @llvm.fmuladd.f64(double %342, double %341, double %332)
  store double %343, ptr %330, align 8, !tbaa !15
  %344 = load ptr, ptr %317, align 8, !tbaa !14
  %345 = getelementptr inbounds i8, ptr %344, i64 8
  %346 = load double, ptr %345, align 8, !tbaa !15
  store double %346, ptr %344, align 8, !tbaa !15
  %347 = load ptr, ptr %306, align 8, !tbaa !14
  %348 = getelementptr inbounds double, ptr %347, i64 %4
  %349 = load double, ptr %348, align 8, !tbaa !15
  %350 = getelementptr inbounds double, ptr %347, i64 %64
  %351 = load double, ptr %350, align 8, !tbaa !15
  %352 = fsub double %349, %351
  %353 = fadd double %349, %352
  %354 = add nsw i64 %4, 1
  %355 = getelementptr inbounds double, ptr %347, i64 %354
  store double %353, ptr %355, align 8, !tbaa !15
  %356 = load ptr, ptr %312, align 8, !tbaa !14
  %357 = getelementptr inbounds double, ptr %356, i64 %4
  %358 = load double, ptr %357, align 8, !tbaa !15
  %359 = load ptr, ptr %317, align 8, !tbaa !14
  %360 = getelementptr inbounds double, ptr %359, i64 %4
  %361 = load double, ptr %360, align 8, !tbaa !15
  %362 = load ptr, ptr %306, align 8, !tbaa !14
  %363 = getelementptr inbounds double, ptr %362, i64 %4
  %364 = load double, ptr %363, align 8, !tbaa !15
  %365 = getelementptr inbounds double, ptr %362, i64 %64
  %366 = load double, ptr %365, align 8, !tbaa !15
  %367 = fsub double %364, %366
  %368 = call double @llvm.fmuladd.f64(double %361, double %367, double %358)
  %369 = getelementptr inbounds double, ptr %356, i64 %354
  store double %368, ptr %369, align 8, !tbaa !15
  %370 = load ptr, ptr %317, align 8, !tbaa !14
  %371 = getelementptr inbounds double, ptr %370, i64 %4
  %372 = load double, ptr %371, align 8, !tbaa !15
  %373 = getelementptr inbounds double, ptr %370, i64 %354
  store double %372, ptr %373, align 8, !tbaa !15
  call void @_ZN11alglib_impl20spline1dbuildhermiteEPNS_9ae_vectorES1_S1_lPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull %36, i64 noundef %305, ptr noundef %7, ptr noundef %9)
  %374 = load double, ptr %16, align 8, !tbaa !15
  %375 = load double, ptr %15, align 8, !tbaa !15
  %376 = fsub double %374, %375
  %377 = fdiv double 2.000000e+00, %376
  %378 = fadd double %374, %375
  %379 = fneg double %378
  %380 = fdiv double %379, %376
  call void @_ZN11alglib_impl17spline1dlintransxEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef %7, double noundef %377, double noundef %380, ptr noundef %9)
  %381 = load double, ptr %18, align 8, !tbaa !15
  %382 = load double, ptr %17, align 8, !tbaa !15
  %383 = fsub double %381, %382
  call void @_ZN11alglib_impl17spline1dlintransyEPNS_19spline1dinterpolantEddPNS_8ae_stateE(ptr noundef %7, double noundef %383, double noundef %382, ptr noundef %9)
  store i64 1, ptr %6, align 8, !tbaa !5
  %384 = getelementptr inbounds i8, ptr %8, i64 8
  %385 = getelementptr inbounds i8, ptr %8, i64 16
  %386 = getelementptr inbounds i8, ptr %8, i64 24
  %387 = getelementptr inbounds i8, ptr %8, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %384, i8 0, i64 32, i1 false)
  call void @_ZN11alglib_impl17spline1dconvcubicEPNS_9ae_vectorES1_lldldS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %30, ptr noundef nonnull %39, i64 noundef %4, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef nonnull %12, i64 noundef %3, ptr noundef nonnull %22, ptr noundef %9)
  br i1 %43, label %.lr.ph415, label %._crit_edge416

.lr.ph415:                                        ; preds = %299
  %388 = getelementptr inbounds i8, ptr %22, i64 56
  %389 = getelementptr inbounds i8, ptr %20, i64 56
  br label %390

390:                                              ; preds = %.lr.ph415, %430
  %.8413 = phi i64 [ 0, %.lr.ph415 ], [ %438, %430 ]
  %.0335412 = phi double [ 0.000000e+00, %.lr.ph415 ], [ %.1336, %430 ]
  %391 = load double, ptr %18, align 8, !tbaa !15
  %392 = load double, ptr %17, align 8, !tbaa !15
  %393 = fsub double %391, %392
  %394 = load ptr, ptr %388, align 8, !tbaa !14
  %395 = getelementptr inbounds double, ptr %394, i64 %.8413
  %396 = load double, ptr %395, align 8, !tbaa !15
  %397 = call double @llvm.fmuladd.f64(double %393, double %396, double %392)
  %398 = load double, ptr %384, align 8, !tbaa !36
  %399 = load ptr, ptr %389, align 8, !tbaa !14
  %400 = getelementptr inbounds double, ptr %399, i64 %.8413
  %401 = load double, ptr %400, align 8, !tbaa !15
  %402 = fsub double %397, %401
  %403 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %402, ptr noundef %9)
  %404 = fadd double %398, %403
  store double %404, ptr %384, align 8, !tbaa !36
  %405 = load double, ptr %385, align 8, !tbaa !38
  %406 = load ptr, ptr %389, align 8, !tbaa !14
  %407 = getelementptr inbounds double, ptr %406, i64 %.8413
  %408 = load double, ptr %407, align 8, !tbaa !15
  %409 = fsub double %397, %408
  %410 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %409, ptr noundef %9)
  %411 = fadd double %405, %410
  store double %411, ptr %385, align 8, !tbaa !38
  %412 = load ptr, ptr %389, align 8, !tbaa !14
  %413 = getelementptr inbounds double, ptr %412, i64 %.8413
  %414 = load double, ptr %413, align 8, !tbaa !15
  %415 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %414, double noundef 0.000000e+00)
  br i1 %415, label %416, label %430

416:                                              ; preds = %390
  %417 = load double, ptr %386, align 8, !tbaa !39
  %418 = load ptr, ptr %389, align 8, !tbaa !14
  %419 = getelementptr inbounds double, ptr %418, i64 %.8413
  %420 = load double, ptr %419, align 8, !tbaa !15
  %421 = fsub double %397, %420
  %422 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %421, ptr noundef %9)
  %423 = load ptr, ptr %389, align 8, !tbaa !14
  %424 = getelementptr inbounds double, ptr %423, i64 %.8413
  %425 = load double, ptr %424, align 8, !tbaa !15
  %426 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %425, ptr noundef %9)
  %427 = fdiv double %422, %426
  %428 = fadd double %417, %427
  store double %428, ptr %386, align 8, !tbaa !39
  %429 = fadd double %.0335412, 1.000000e+00
  br label %430

430:                                              ; preds = %416, %390
  %.1336 = phi double [ %429, %416 ], [ %.0335412, %390 ]
  %431 = load double, ptr %387, align 8, !tbaa !40
  %432 = load ptr, ptr %389, align 8, !tbaa !14
  %433 = getelementptr inbounds double, ptr %432, i64 %.8413
  %434 = load double, ptr %433, align 8, !tbaa !15
  %435 = fsub double %397, %434
  %436 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %435, ptr noundef %9)
  %437 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %431, double noundef %436, ptr noundef %9)
  store double %437, ptr %387, align 8, !tbaa !40
  %438 = add nuw nsw i64 %.8413, 1
  %exitcond434.not = icmp eq i64 %438, %3
  br i1 %exitcond434.not, label %._crit_edge416, label %390, !llvm.loop !41

._crit_edge416:                                   ; preds = %430, %299
  %.0335.lcssa = phi double [ 0.000000e+00, %299 ], [ %.1336, %430 ]
  %439 = load double, ptr %384, align 8, !tbaa !36
  %440 = sitofp i64 %3 to double
  %441 = fdiv double %439, %440
  %442 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %441, ptr noundef %9)
  store double %442, ptr %384, align 8, !tbaa !36
  %443 = load double, ptr %385, align 8, !tbaa !38
  %444 = fdiv double %443, %440
  store double %444, ptr %385, align 8, !tbaa !38
  %445 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %.0335.lcssa, double noundef 0.000000e+00)
  br i1 %445, label %446, label %449

446:                                              ; preds = %._crit_edge416
  %447 = load double, ptr %386, align 8, !tbaa !39
  %448 = fdiv double %447, %.0335.lcssa
  store double %448, ptr %386, align 8, !tbaa !39
  br label %449

449:                                              ; preds = %._crit_edge416, %446, %298
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %9)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %42) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 936, ptr nonnull %40) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  ret void
}

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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

declare noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef, i64 noundef, i64 noundef, double noundef) local_unnamed_addr #2

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_S1_lPdS2_S2_S2_S1_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN11alglib_impl17spdmatrixcholeskyEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl26_spline1dinterpolant_clearEPv(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15heapsortdpointsEPNS_9ae_vectorES1_S1_lPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl24_spline1dfitreport_clearEPv(ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl20_fblslincgstate_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl17fblscholeskysolveEPNS_9ae_matrixEdlbPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, double noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "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 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !11, i64 16, !12, i64 24, !7, i64 56}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!13, !13, i64 0}
!20 = !{!21, !6, i64 16}
!21 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !12, i64 40, !7, i64 72}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.unroll.disable"}
!34 = distinct !{!34, !18}
!35 = distinct !{!35, !18}
!36 = !{!37, !16, i64 8}
!37 = !{!"_ZTSN11alglib_impl17spline1dfitreportE", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32}
!38 = !{!37, !16, i64 16}
!39 = !{!37, !16, i64 24}
!40 = !{!37, !16, i64 32}
!41 = distinct !{!41, !18}


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