; LLVM IR from Dimandragon/non-parametric-dsp :: 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 { i64, double, double, double, double, double }

@.str.960 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.961 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.962 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.963 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.964 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.965 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.966 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.967 = 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_impl18spline1dbuildcubicEPKNS_9ae_vectorES2_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_impl21spline1dgriddiffcubicEPKNS_9ae_vectorES2_lldldPS0_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_impl22spline1dgriddiff2cubicEPKNS_9ae_vectorES2_lldldPS0_S3_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_impl17spline1dconvcubicEPKNS_9ae_vectorES2_lldldS2_lPS0_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_impl20spline1dbuildhermiteEPKNS_9ae_vectorES2_S2_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_impl21spline1dfitpenalizedwEPKNS_9ae_vectorES2_S2_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_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %22, ptr noundef %69, ptr noundef %70, i1 noundef zeroext true)
  %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_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %23, ptr noundef %71, ptr noundef %72, i1 noundef zeroext true)
  %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_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %24, ptr noundef %73, ptr noundef %74, i1 noundef zeroext true)
  %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.960, 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.961, ptr noundef %107)
  %108 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 0
  %109 = load i64, ptr %108, align 8, !tbaa !13
  %110 = load i64, ptr %14, align 8, !tbaa !9
  %111 = icmp sge i64 %109, %110
  %112 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %111, ptr noundef @.str.962, ptr noundef %112)
  %113 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 0
  %114 = load i64, ptr %113, align 8, !tbaa !13
  %115 = load i64, ptr %14, align 8, !tbaa !9
  %116 = icmp sge i64 %114, %115
  %117 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %116, ptr noundef @.str.963, ptr noundef %117)
  %118 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 0
  %119 = load i64, ptr %118, align 8, !tbaa !13
  %120 = load i64, ptr %14, align 8, !tbaa !9
  %121 = icmp sge i64 %119, %120
  %122 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %121, ptr noundef @.str.964, ptr noundef %122)
  %123 = load i64, ptr %14, align 8, !tbaa !9
  %124 = load ptr, ptr %20, align 8, !tbaa !5
  %125 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %123, ptr noundef %124)
  %126 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %125, ptr noundef @.str.965, ptr noundef %126)
  %127 = load i64, ptr %14, align 8, !tbaa !9
  %128 = load ptr, ptr %20, align 8, !tbaa !5
  %129 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %23, 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.966, ptr noundef %130)
  %131 = load i64, ptr %14, align 8, !tbaa !9
  %132 = load ptr, ptr %20, align 8, !tbaa !5
  %133 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef %131, ptr noundef %132)
  %134 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %133, ptr noundef @.str.966, ptr noundef %134)
  %135 = load double, ptr %16, align 8, !tbaa !11
  %136 = load ptr, ptr %20, align 8, !tbaa !5
  %137 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %135, ptr noundef %136)
  %138 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %137, ptr noundef @.str.967, ptr noundef %138)
  %139 = load ptr, ptr %20, align 8, !tbaa !5
  %140 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 5.000000e-16, ptr noundef %139)
  %141 = fneg double %140
  %142 = load ptr, ptr %20, align 8, !tbaa !5
  %143 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000000e+01, ptr noundef %142)
  %144 = fdiv double %141, %143
  store double %144, ptr %28, align 8, !tbaa !11
  %145 = load double, ptr %16, align 8, !tbaa !11
  %146 = load double, ptr %28, align 8, !tbaa !11
  %147 = fneg double %146
  %148 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %145, double noundef %147)
  br i1 %148, label %149, label %152

149:                                              ; preds = %10
  %150 = load double, ptr %28, align 8, !tbaa !11
  %151 = fneg double %150
  store double %151, ptr %16, align 8, !tbaa !11
  br label %152

152:                                              ; preds = %149, %10
  %153 = load double, ptr %16, align 8, !tbaa !11
  %154 = load double, ptr %28, align 8, !tbaa !11
  %155 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %153, double noundef %154)
  br i1 %155, label %156, label %158

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

158:                                              ; preds = %156, %152
  %159 = load double, ptr %16, align 8, !tbaa !11
  %160 = load ptr, ptr %20, align 8, !tbaa !5
  %161 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %159, ptr noundef %160)
  store double %161, ptr %53, align 8, !tbaa !11
  %162 = load i64, ptr %14, align 8, !tbaa !9
  %163 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl15heapsortdpointsEPNS_9ae_vectorES1_S1_lPNS_8ae_stateE(ptr noundef %22, ptr noundef %23, ptr noundef %24, i64 noundef %162, ptr noundef %163)
  %164 = load i64, ptr %14, align 8, !tbaa !9
  %165 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_PKS0_lPdS4_S4_S4_S1_S1_PNS_8ae_stateE(ptr noundef %22, ptr noundef %23, ptr noundef %24, i64 noundef %164, 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 %165)
  %166 = load i64, ptr %14, align 8, !tbaa !9
  %167 = load i64, ptr %15, align 8, !tbaa !9
  %168 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %38, i64 noundef %166, i64 noundef %167, ptr noundef %168)
  %169 = load i64, ptr %15, align 8, !tbaa !9
  %170 = load i64, ptr %15, align 8, !tbaa !9
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %47, i64 noundef %169, i64 noundef %170, ptr noundef %171)
  %172 = load i64, ptr %15, align 8, !tbaa !9
  %173 = load i64, ptr %15, align 8, !tbaa !9
  %174 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %48, i64 noundef %172, i64 noundef %173, ptr noundef %174)
  %175 = load i64, ptr %15, align 8, !tbaa !9
  %176 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %54, i64 noundef %175, ptr noundef %176)
  %177 = load i64, ptr %15, align 8, !tbaa !9
  %178 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %55, i64 noundef %177, ptr noundef %178)
  %179 = load i64, ptr %14, align 8, !tbaa !9
  %180 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %39, 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 %62, i64 noundef %181, i64 noundef %182, ptr noundef %183)
  %184 = load i64, ptr %15, align 8, !tbaa !9
  %185 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %63, i64 noundef %184, ptr noundef %185)
  %186 = load i64, ptr %15, align 8, !tbaa !9
  %187 = load i64, ptr %14, align 8, !tbaa !9
  %188 = load ptr, ptr %20, align 8, !tbaa !5
  %189 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %186, i64 noundef %187, ptr noundef %188)
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %66, i64 noundef %189, ptr noundef %190)
  %191 = load i64, ptr %15, 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 %65, i64 noundef %191, ptr noundef %192)
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %27, align 8, !tbaa !9
  br label %193

193:                                              ; preds = %291, %158
  %194 = load i64, ptr %27, align 8, !tbaa !9
  %195 = load i64, ptr %15, align 8, !tbaa !9
  %196 = sub nsw i64 %195, 1
  %197 = icmp sle i64 %194, %196
  br i1 %197, label %198, label %294

198:                                              ; preds = %193
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %199

199:                                              ; preds = %221, %198
  %200 = load i64, ptr %26, align 8, !tbaa !9
  %201 = load i64, ptr %15, align 8, !tbaa !9
  %202 = sub nsw i64 %201, 1
  %203 = icmp sle i64 %200, %202
  br i1 %203, label %204, label %224

204:                                              ; preds = %199
  %205 = load i64, ptr %26, align 8, !tbaa !9
  %206 = mul nsw i64 2, %205
  %207 = sitofp i64 %206 to double
  %208 = load i64, ptr %15, align 8, !tbaa !9
  %209 = sub nsw i64 %208, 1
  %210 = sitofp i64 %209 to double
  %211 = fdiv double %207, %210
  %212 = fsub double %211, 1.000000e+00
  %213 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %214 = load ptr, ptr %213, align 8, !tbaa !17
  %215 = load i64, ptr %26, align 8, !tbaa !9
  %216 = getelementptr inbounds double, ptr %214, i64 %215
  store double %212, ptr %216, align 8, !tbaa !11
  %217 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %55, i32 0, i32 4
  %218 = load ptr, ptr %217, align 8, !tbaa !17
  %219 = load i64, ptr %26, align 8, !tbaa !9
  %220 = getelementptr inbounds double, ptr %218, i64 %219
  store double 0.000000e+00, ptr %220, align 8, !tbaa !11
  br label %221

221:                                              ; preds = %204
  %222 = load i64, ptr %26, align 8, !tbaa !9
  %223 = add nsw i64 %222, 1
  store i64 %223, ptr %26, align 8, !tbaa !9
  br label %199, !llvm.loop !18

224:                                              ; preds = %199
  %225 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %55, i32 0, i32 4
  %226 = load ptr, ptr %225, align 8, !tbaa !17
  %227 = load i64, ptr %27, align 8, !tbaa !9
  %228 = getelementptr inbounds double, ptr %226, i64 %227
  store double 1.000000e+00, ptr %228, align 8, !tbaa !11
  %229 = load i64, ptr %15, align 8, !tbaa !9
  %230 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl22spline1dgriddiff2cubicEPKNS_9ae_vectorES2_lldldPS0_S3_PNS_8ae_stateE(ptr noundef %54, ptr noundef %55, i64 noundef %229, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %56, ptr noundef %57, ptr noundef %230)
  %231 = load i64, ptr %15, align 8, !tbaa !9
  %232 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl18spline1dbuildcubicEPKNS_9ae_vectorES2_lldldPNS_19spline1dinterpolantEPNS_8ae_stateE(ptr noundef %54, ptr noundef %55, i64 noundef %231, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %61, ptr noundef %232)
  %233 = load i64, ptr %15, align 8, !tbaa !9
  %234 = load i64, ptr %14, align 8, !tbaa !9
  %235 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl17spline1dconvcubicEPKNS_9ae_vectorES2_lldldS2_lPS0_PNS_8ae_stateE(ptr noundef %54, ptr noundef %55, i64 noundef %233, i64 noundef 2, double noundef 0.000000e+00, i64 noundef 2, double noundef 0.000000e+00, ptr noundef %22, i64 noundef %234, ptr noundef %39, ptr noundef %235)
  %236 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 6
  %237 = load ptr, ptr %236, align 8, !tbaa !17
  %238 = getelementptr inbounds ptr, ptr %237, i64 0
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = load i64, ptr %27, align 8, !tbaa !9
  %241 = getelementptr inbounds double, ptr %239, i64 %240
  %242 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 2
  %243 = load i64, ptr %242, align 8, !tbaa !20
  %244 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %245 = load ptr, ptr %244, align 8, !tbaa !17
  %246 = getelementptr inbounds double, ptr %245, i64 0
  %247 = load i64, ptr %14, align 8, !tbaa !9
  %248 = sub nsw i64 %247, 1
  %249 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %248)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %241, i64 noundef %243, ptr noundef %246, i64 noundef 1, i64 noundef %249)
  store double 0.000000e+00, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %250

250:                                              ; preds = %271, %224
  %251 = load i64, ptr %25, align 8, !tbaa !9
  %252 = load i64, ptr %14, align 8, !tbaa !9
  %253 = sub nsw i64 %252, 1
  %254 = icmp sle i64 %251, %253
  br i1 %254, label %255, label %274

255:                                              ; preds = %250
  %256 = load double, ptr %28, align 8, !tbaa !11
  %257 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !17
  %259 = load i64, ptr %25, align 8, !tbaa !9
  %260 = getelementptr inbounds double, ptr %258, i64 %259
  %261 = load double, ptr %260, align 8, !tbaa !11
  %262 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %263 = load ptr, ptr %262, align 8, !tbaa !17
  %264 = load i64, ptr %25, align 8, !tbaa !9
  %265 = getelementptr inbounds double, ptr %263, i64 %264
  %266 = load double, ptr %265, align 8, !tbaa !11
  %267 = fmul double %261, %266
  %268 = load ptr, ptr %20, align 8, !tbaa !5
  %269 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %267, ptr noundef %268)
  %270 = fadd double %256, %269
  store double %270, ptr %28, align 8, !tbaa !11
  br label %271

271:                                              ; preds = %255
  %272 = load i64, ptr %25, align 8, !tbaa !9
  %273 = add nsw i64 %272, 1
  store i64 %273, ptr %25, align 8, !tbaa !9
  br label %250, !llvm.loop !22

274:                                              ; preds = %250
  %275 = load double, ptr %45, align 8, !tbaa !11
  %276 = load double, ptr %28, align 8, !tbaa !11
  %277 = load ptr, ptr %20, align 8, !tbaa !5
  %278 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %275, double noundef %276, ptr noundef %277)
  store double %278, ptr %45, align 8, !tbaa !11
  %279 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %48, i32 0, i32 6
  %280 = load ptr, ptr %279, align 8, !tbaa !17
  %281 = load i64, ptr %27, align 8, !tbaa !9
  %282 = getelementptr inbounds ptr, ptr %280, i64 %281
  %283 = load ptr, ptr %282, align 8, !tbaa !5
  %284 = getelementptr inbounds double, ptr %283, i64 0
  %285 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %57, i32 0, i32 4
  %286 = load ptr, ptr %285, align 8, !tbaa !17
  %287 = getelementptr inbounds double, ptr %286, i64 0
  %288 = load i64, ptr %15, align 8, !tbaa !9
  %289 = sub nsw i64 %288, 1
  %290 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %289)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %284, i64 noundef 1, ptr noundef %287, i64 noundef 1, i64 noundef %290)
  br label %291

291:                                              ; preds = %274
  %292 = load i64, ptr %27, align 8, !tbaa !9
  %293 = add nsw i64 %292, 1
  store i64 %293, ptr %27, align 8, !tbaa !9
  br label %193, !llvm.loop !23

294:                                              ; preds = %193
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %295

295:                                              ; preds = %409, %294
  %296 = load i64, ptr %25, align 8, !tbaa !9
  %297 = load i64, ptr %15, align 8, !tbaa !9
  %298 = sub nsw i64 %297, 1
  %299 = icmp sle i64 %296, %298
  br i1 %299, label %300, label %412

300:                                              ; preds = %295
  %301 = load i64, ptr %25, align 8, !tbaa !9
  store i64 %301, ptr %26, align 8, !tbaa !9
  br label %302

302:                                              ; preds = %405, %300
  %303 = load i64, ptr %26, align 8, !tbaa !9
  %304 = load i64, ptr %15, align 8, !tbaa !9
  %305 = sub nsw i64 %304, 1
  %306 = icmp sle i64 %303, %305
  br i1 %306, label %307, label %408

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

308:                                              ; preds = %385, %307
  %309 = load i64, ptr %27, align 8, !tbaa !9
  %310 = load i64, ptr %15, align 8, !tbaa !9
  %311 = sub nsw i64 %310, 2
  %312 = icmp sle i64 %309, %311
  br i1 %312, label %313, label %388

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

385:                                              ; preds = %313
  %386 = load i64, ptr %27, align 8, !tbaa !9
  %387 = add nsw i64 %386, 1
  store i64 %387, ptr %27, align 8, !tbaa !9
  br label %308, !llvm.loop !24

388:                                              ; preds = %308
  %389 = load double, ptr %28, align 8, !tbaa !11
  %390 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %391 = load ptr, ptr %390, align 8, !tbaa !17
  %392 = load i64, ptr %25, align 8, !tbaa !9
  %393 = getelementptr inbounds ptr, ptr %391, i64 %392
  %394 = load ptr, ptr %393, align 8, !tbaa !5
  %395 = load i64, ptr %26, align 8, !tbaa !9
  %396 = getelementptr inbounds double, ptr %394, i64 %395
  store double %389, ptr %396, align 8, !tbaa !11
  %397 = load double, ptr %28, align 8, !tbaa !11
  %398 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %399 = load ptr, ptr %398, align 8, !tbaa !17
  %400 = load i64, ptr %26, align 8, !tbaa !9
  %401 = getelementptr inbounds ptr, ptr %399, i64 %400
  %402 = load ptr, ptr %401, align 8, !tbaa !5
  %403 = load i64, ptr %25, align 8, !tbaa !9
  %404 = getelementptr inbounds double, ptr %402, i64 %403
  store double %397, ptr %404, align 8, !tbaa !11
  br label %405

405:                                              ; preds = %388
  %406 = load i64, ptr %26, align 8, !tbaa !9
  %407 = add nsw i64 %406, 1
  store i64 %407, ptr %26, align 8, !tbaa !9
  br label %302, !llvm.loop !25

408:                                              ; preds = %302
  br label %409

409:                                              ; preds = %408
  %410 = load i64, ptr %25, align 8, !tbaa !9
  %411 = add nsw i64 %410, 1
  store i64 %411, ptr %25, align 8, !tbaa !9
  br label %295, !llvm.loop !26

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

413:                                              ; preds = %432, %412
  %414 = load i64, ptr %25, align 8, !tbaa !9
  %415 = load i64, ptr %15, align 8, !tbaa !9
  %416 = sub nsw i64 %415, 1
  %417 = icmp sle i64 %414, %416
  br i1 %417, label %418, label %435

418:                                              ; preds = %413
  %419 = load double, ptr %46, align 8, !tbaa !11
  %420 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %421 = load ptr, ptr %420, align 8, !tbaa !17
  %422 = load i64, ptr %25, align 8, !tbaa !9
  %423 = getelementptr inbounds ptr, ptr %421, i64 %422
  %424 = load ptr, ptr %423, align 8, !tbaa !5
  %425 = load i64, ptr %25, align 8, !tbaa !9
  %426 = getelementptr inbounds double, ptr %424, i64 %425
  %427 = load double, ptr %426, align 8, !tbaa !11
  %428 = load ptr, ptr %20, align 8, !tbaa !5
  %429 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %427, ptr noundef %428)
  %430 = load ptr, ptr %20, align 8, !tbaa !5
  %431 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %419, double noundef %429, ptr noundef %430)
  store double %431, ptr %46, align 8, !tbaa !11
  br label %432

432:                                              ; preds = %418
  %433 = load i64, ptr %25, align 8, !tbaa !9
  %434 = add nsw i64 %433, 1
  store i64 %434, ptr %25, align 8, !tbaa !9
  br label %413, !llvm.loop !27

435:                                              ; preds = %413
  %436 = load double, ptr %53, align 8, !tbaa !11
  %437 = load double, ptr %45, align 8, !tbaa !11
  %438 = fmul double %436, %437
  %439 = load double, ptr %46, align 8, !tbaa !11
  %440 = fdiv double %438, %439
  store double %440, ptr %36, align 8, !tbaa !11
  %441 = load double, ptr %45, align 8, !tbaa !11
  %442 = load double, ptr %36, align 8, !tbaa !11
  %443 = fadd double 1.000000e+00, %442
  %444 = fmul double %441, %443
  %445 = fmul double %444, 1.000000e+01
  %446 = fmul double %445, 5.000000e-16
  store double %446, ptr %37, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %447

447:                                              ; preds = %468, %435
  %448 = load i64, ptr %25, align 8, !tbaa !9
  %449 = load i64, ptr %14, align 8, !tbaa !9
  %450 = sub nsw i64 %449, 1
  %451 = icmp sle i64 %448, %450
  br i1 %451, label %452, label %471

452:                                              ; preds = %447
  %453 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %454 = load ptr, ptr %453, align 8, !tbaa !17
  %455 = load i64, ptr %25, align 8, !tbaa !9
  %456 = getelementptr inbounds double, ptr %454, i64 %455
  %457 = load double, ptr %456, align 8, !tbaa !11
  store double %457, ptr %28, align 8, !tbaa !11
  %458 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 6
  %459 = load ptr, ptr %458, align 8, !tbaa !17
  %460 = load i64, ptr %25, align 8, !tbaa !9
  %461 = getelementptr inbounds ptr, ptr %459, i64 %460
  %462 = load ptr, ptr %461, align 8, !tbaa !5
  %463 = getelementptr inbounds double, ptr %462, i64 0
  %464 = load i64, ptr %15, align 8, !tbaa !9
  %465 = sub nsw i64 %464, 1
  %466 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %465)
  %467 = load double, ptr %28, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %463, i64 noundef 1, i64 noundef %466, double noundef %467)
  br label %468

468:                                              ; preds = %452
  %469 = load i64, ptr %25, align 8, !tbaa !9
  %470 = add nsw i64 %469, 1
  store i64 %470, ptr %25, align 8, !tbaa !9
  br label %447, !llvm.loop !28

471:                                              ; preds = %447
  %472 = load i64, ptr %15, align 8, !tbaa !9
  %473 = load i64, ptr %15, align 8, !tbaa !9
  %474 = load i64, ptr %14, align 8, !tbaa !9
  %475 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %472, i64 noundef %473, i64 noundef %474, 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 %475)
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %476

476:                                              ; preds = %517, %471
  %477 = load i64, ptr %25, align 8, !tbaa !9
  %478 = load i64, ptr %15, align 8, !tbaa !9
  %479 = sub nsw i64 %478, 1
  %480 = icmp sle i64 %477, %479
  br i1 %480, label %481, label %520

481:                                              ; preds = %476
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %482

482:                                              ; preds = %513, %481
  %483 = load i64, ptr %26, align 8, !tbaa !9
  %484 = load i64, ptr %15, align 8, !tbaa !9
  %485 = sub nsw i64 %484, 1
  %486 = icmp sle i64 %483, %485
  br i1 %486, label %487, label %516

487:                                              ; preds = %482
  %488 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %489 = load ptr, ptr %488, align 8, !tbaa !17
  %490 = load i64, ptr %25, align 8, !tbaa !9
  %491 = getelementptr inbounds ptr, ptr %489, i64 %490
  %492 = load ptr, ptr %491, align 8, !tbaa !5
  %493 = load i64, ptr %26, align 8, !tbaa !9
  %494 = getelementptr inbounds double, ptr %492, i64 %493
  %495 = load double, ptr %494, align 8, !tbaa !11
  %496 = load double, ptr %36, align 8, !tbaa !11
  %497 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 6
  %498 = load ptr, ptr %497, align 8, !tbaa !17
  %499 = load i64, ptr %25, align 8, !tbaa !9
  %500 = getelementptr inbounds ptr, ptr %498, i64 %499
  %501 = load ptr, ptr %500, align 8, !tbaa !5
  %502 = load i64, ptr %26, align 8, !tbaa !9
  %503 = getelementptr inbounds double, ptr %501, i64 %502
  %504 = load double, ptr %503, align 8, !tbaa !11
  %505 = call double @llvm.fmuladd.f64(double %496, double %504, double %495)
  %506 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %507 = load ptr, ptr %506, align 8, !tbaa !17
  %508 = load i64, ptr %25, align 8, !tbaa !9
  %509 = getelementptr inbounds ptr, ptr %507, i64 %508
  %510 = load ptr, ptr %509, align 8, !tbaa !5
  %511 = load i64, ptr %26, align 8, !tbaa !9
  %512 = getelementptr inbounds double, ptr %510, i64 %511
  store double %505, ptr %512, align 8, !tbaa !11
  br label %513

513:                                              ; preds = %487
  %514 = load i64, ptr %26, align 8, !tbaa !9
  %515 = add nsw i64 %514, 1
  store i64 %515, ptr %26, align 8, !tbaa !9
  br label %482, !llvm.loop !29

516:                                              ; preds = %482
  br label %517

517:                                              ; preds = %516
  %518 = load i64, ptr %25, align 8, !tbaa !9
  %519 = add nsw i64 %518, 1
  store i64 %519, ptr %25, align 8, !tbaa !9
  br label %476, !llvm.loop !30

520:                                              ; preds = %476
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %521

521:                                              ; preds = %544, %520
  %522 = load i64, ptr %25, align 8, !tbaa !9
  %523 = load i64, ptr %15, align 8, !tbaa !9
  %524 = sub nsw i64 %523, 1
  %525 = icmp sle i64 %522, %524
  br i1 %525, label %526, label %547

526:                                              ; preds = %521
  %527 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %528 = load ptr, ptr %527, align 8, !tbaa !17
  %529 = load i64, ptr %25, align 8, !tbaa !9
  %530 = getelementptr inbounds ptr, ptr %528, i64 %529
  %531 = load ptr, ptr %530, align 8, !tbaa !5
  %532 = load i64, ptr %25, align 8, !tbaa !9
  %533 = getelementptr inbounds double, ptr %531, i64 %532
  %534 = load double, ptr %533, align 8, !tbaa !11
  %535 = load double, ptr %37, align 8, !tbaa !11
  %536 = fadd double %534, %535
  %537 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 6
  %538 = load ptr, ptr %537, align 8, !tbaa !17
  %539 = load i64, ptr %25, align 8, !tbaa !9
  %540 = getelementptr inbounds ptr, ptr %538, i64 %539
  %541 = load ptr, ptr %540, align 8, !tbaa !5
  %542 = load i64, ptr %25, align 8, !tbaa !9
  %543 = getelementptr inbounds double, ptr %541, i64 %542
  store double %536, ptr %543, align 8, !tbaa !11
  br label %544

544:                                              ; preds = %526
  %545 = load i64, ptr %25, align 8, !tbaa !9
  %546 = add nsw i64 %545, 1
  store i64 %546, ptr %25, align 8, !tbaa !9
  br label %521, !llvm.loop !31

547:                                              ; preds = %521
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %548

548:                                              ; preds = %558, %547
  %549 = load i64, ptr %25, align 8, !tbaa !9
  %550 = load i64, ptr %15, align 8, !tbaa !9
  %551 = sub nsw i64 %550, 1
  %552 = icmp sle i64 %549, %551
  br i1 %552, label %553, label %561

553:                                              ; preds = %548
  %554 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %555 = load ptr, ptr %554, align 8, !tbaa !17
  %556 = load i64, ptr %25, align 8, !tbaa !9
  %557 = getelementptr inbounds double, ptr %555, i64 %556
  store double 0.000000e+00, ptr %557, align 8, !tbaa !11
  br label %558

558:                                              ; preds = %553
  %559 = load i64, ptr %25, align 8, !tbaa !9
  %560 = add nsw i64 %559, 1
  store i64 %560, ptr %25, align 8, !tbaa !9
  br label %548, !llvm.loop !32

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

562:                                              ; preds = %592, %561
  %563 = load i64, ptr %25, align 8, !tbaa !9
  %564 = load i64, ptr %14, align 8, !tbaa !9
  %565 = sub nsw i64 %564, 1
  %566 = icmp sle i64 %563, %565
  br i1 %566, label %567, label %595

567:                                              ; preds = %562
  %568 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %569 = load ptr, ptr %568, align 8, !tbaa !17
  %570 = load i64, ptr %25, align 8, !tbaa !9
  %571 = getelementptr inbounds double, ptr %569, i64 %570
  %572 = load double, ptr %571, align 8, !tbaa !11
  %573 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %574 = load ptr, ptr %573, align 8, !tbaa !17
  %575 = load i64, ptr %25, align 8, !tbaa !9
  %576 = getelementptr inbounds double, ptr %574, i64 %575
  %577 = load double, ptr %576, align 8, !tbaa !11
  %578 = fmul double %572, %577
  store double %578, ptr %28, align 8, !tbaa !11
  %579 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %580 = load ptr, ptr %579, align 8, !tbaa !17
  %581 = getelementptr inbounds double, ptr %580, i64 0
  %582 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %38, i32 0, i32 6
  %583 = load ptr, ptr %582, align 8, !tbaa !17
  %584 = load i64, ptr %25, align 8, !tbaa !9
  %585 = getelementptr inbounds ptr, ptr %583, i64 %584
  %586 = load ptr, ptr %585, align 8, !tbaa !5
  %587 = getelementptr inbounds double, ptr %586, i64 0
  %588 = load i64, ptr %15, align 8, !tbaa !9
  %589 = sub nsw i64 %588, 1
  %590 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %589)
  %591 = load double, ptr %28, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %581, i64 noundef 1, ptr noundef %587, i64 noundef 1, i64 noundef %590, double noundef %591)
  br label %592

592:                                              ; preds = %567
  %593 = load i64, ptr %25, align 8, !tbaa !9
  %594 = add nsw i64 %593, 1
  store i64 %594, ptr %25, align 8, !tbaa !9
  br label %562, !llvm.loop !33

595:                                              ; preds = %562
  %596 = load i64, ptr %15, align 8, !tbaa !9
  %597 = load ptr, ptr %20, align 8, !tbaa !5
  %598 = call noundef zeroext i1 @_ZN11alglib_impl17spdmatrixcholeskyEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %62, i64 noundef %596, i1 noundef zeroext true, ptr noundef %597)
  br i1 %598, label %602, label %599

599:                                              ; preds = %595
  %600 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 -4, ptr %600, align 8, !tbaa !9
  %601 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %601)
  store i32 1, ptr %67, align 4
  br label %921

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

792:                                              ; preds = %887, %602
  %793 = load i64, ptr %25, align 8, !tbaa !9
  %794 = load i64, ptr %14, align 8, !tbaa !9
  %795 = sub nsw i64 %794, 1
  %796 = icmp sle i64 %793, %795
  br i1 %796, label %797, label %890

797:                                              ; preds = %792
  %798 = load double, ptr %33, align 8, !tbaa !11
  %799 = load double, ptr %32, align 8, !tbaa !11
  %800 = fsub double %798, %799
  %801 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %802 = load ptr, ptr %801, align 8, !tbaa !17
  %803 = load i64, ptr %25, align 8, !tbaa !9
  %804 = getelementptr inbounds double, ptr %802, i64 %803
  %805 = load double, ptr %804, align 8, !tbaa !11
  %806 = load double, ptr %32, align 8, !tbaa !11
  %807 = call double @llvm.fmuladd.f64(double %800, double %805, double %806)
  store double %807, ptr %28, align 8, !tbaa !11
  %808 = load ptr, ptr %19, align 8, !tbaa !5
  %809 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %808, i32 0, i32 2
  %810 = load double, ptr %809, align 8, !tbaa !34
  %811 = load double, ptr %28, align 8, !tbaa !11
  %812 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %813 = load ptr, ptr %812, align 8, !tbaa !17
  %814 = load i64, ptr %25, align 8, !tbaa !9
  %815 = getelementptr inbounds double, ptr %813, i64 %814
  %816 = load double, ptr %815, align 8, !tbaa !11
  %817 = fsub double %811, %816
  %818 = load ptr, ptr %20, align 8, !tbaa !5
  %819 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %817, ptr noundef %818)
  %820 = fadd double %810, %819
  %821 = load ptr, ptr %19, align 8, !tbaa !5
  %822 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %821, i32 0, i32 2
  store double %820, ptr %822, align 8, !tbaa !34
  %823 = load ptr, ptr %19, align 8, !tbaa !5
  %824 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %823, i32 0, i32 3
  %825 = load double, ptr %824, align 8, !tbaa !36
  %826 = load double, ptr %28, align 8, !tbaa !11
  %827 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %828 = load ptr, ptr %827, align 8, !tbaa !17
  %829 = load i64, ptr %25, align 8, !tbaa !9
  %830 = getelementptr inbounds double, ptr %828, i64 %829
  %831 = load double, ptr %830, align 8, !tbaa !11
  %832 = fsub double %826, %831
  %833 = load ptr, ptr %20, align 8, !tbaa !5
  %834 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %832, ptr noundef %833)
  %835 = fadd double %825, %834
  %836 = load ptr, ptr %19, align 8, !tbaa !5
  %837 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %836, i32 0, i32 3
  store double %835, ptr %837, align 8, !tbaa !36
  %838 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %839 = load ptr, ptr %838, align 8, !tbaa !17
  %840 = load i64, ptr %25, align 8, !tbaa !9
  %841 = getelementptr inbounds double, ptr %839, i64 %840
  %842 = load double, ptr %841, align 8, !tbaa !11
  %843 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %842, double noundef 0.000000e+00)
  br i1 %843, label %844, label %870

844:                                              ; preds = %797
  %845 = load ptr, ptr %19, align 8, !tbaa !5
  %846 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %845, i32 0, i32 4
  %847 = load double, ptr %846, align 8, !tbaa !37
  %848 = load double, ptr %28, align 8, !tbaa !11
  %849 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %850 = load ptr, ptr %849, align 8, !tbaa !17
  %851 = load i64, ptr %25, align 8, !tbaa !9
  %852 = getelementptr inbounds double, ptr %850, i64 %851
  %853 = load double, ptr %852, align 8, !tbaa !11
  %854 = fsub double %848, %853
  %855 = load ptr, ptr %20, align 8, !tbaa !5
  %856 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %854, ptr noundef %855)
  %857 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %858 = load ptr, ptr %857, align 8, !tbaa !17
  %859 = load i64, ptr %25, align 8, !tbaa !9
  %860 = getelementptr inbounds double, ptr %858, i64 %859
  %861 = load double, ptr %860, align 8, !tbaa !11
  %862 = load ptr, ptr %20, align 8, !tbaa !5
  %863 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %861, ptr noundef %862)
  %864 = fdiv double %856, %863
  %865 = fadd double %847, %864
  %866 = load ptr, ptr %19, align 8, !tbaa !5
  %867 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %866, i32 0, i32 4
  store double %865, ptr %867, align 8, !tbaa !37
  %868 = load double, ptr %29, align 8, !tbaa !11
  %869 = fadd double %868, 1.000000e+00
  store double %869, ptr %29, align 8, !tbaa !11
  br label %870

870:                                              ; preds = %844, %797
  %871 = load ptr, ptr %19, align 8, !tbaa !5
  %872 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %871, i32 0, i32 5
  %873 = load double, ptr %872, align 8, !tbaa !38
  %874 = load double, ptr %28, align 8, !tbaa !11
  %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 = fsub double %874, %879
  %881 = load ptr, ptr %20, align 8, !tbaa !5
  %882 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %880, ptr noundef %881)
  %883 = load ptr, ptr %20, align 8, !tbaa !5
  %884 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %873, double noundef %882, ptr noundef %883)
  %885 = load ptr, ptr %19, align 8, !tbaa !5
  %886 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %885, i32 0, i32 5
  store double %884, ptr %886, align 8, !tbaa !38
  br label %887

887:                                              ; preds = %870
  %888 = load i64, ptr %25, align 8, !tbaa !9
  %889 = add nsw i64 %888, 1
  store i64 %889, ptr %25, align 8, !tbaa !9
  br label %792, !llvm.loop !39

890:                                              ; preds = %792
  %891 = load ptr, ptr %19, align 8, !tbaa !5
  %892 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %891, i32 0, i32 2
  %893 = load double, ptr %892, align 8, !tbaa !34
  %894 = load i64, ptr %14, align 8, !tbaa !9
  %895 = sitofp i64 %894 to double
  %896 = fdiv double %893, %895
  %897 = load ptr, ptr %20, align 8, !tbaa !5
  %898 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %896, ptr noundef %897)
  %899 = load ptr, ptr %19, align 8, !tbaa !5
  %900 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %899, i32 0, i32 2
  store double %898, ptr %900, align 8, !tbaa !34
  %901 = load ptr, ptr %19, align 8, !tbaa !5
  %902 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %901, i32 0, i32 3
  %903 = load double, ptr %902, align 8, !tbaa !36
  %904 = load i64, ptr %14, align 8, !tbaa !9
  %905 = sitofp i64 %904 to double
  %906 = fdiv double %903, %905
  %907 = load ptr, ptr %19, align 8, !tbaa !5
  %908 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %907, i32 0, i32 3
  store double %906, ptr %908, align 8, !tbaa !36
  %909 = load double, ptr %29, align 8, !tbaa !11
  %910 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %909, double noundef 0.000000e+00)
  br i1 %910, label %911, label %919

911:                                              ; preds = %890
  %912 = load ptr, ptr %19, align 8, !tbaa !5
  %913 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %912, i32 0, i32 4
  %914 = load double, ptr %913, align 8, !tbaa !37
  %915 = load double, ptr %29, align 8, !tbaa !11
  %916 = fdiv double %914, %915
  %917 = load ptr, ptr %19, align 8, !tbaa !5
  %918 = getelementptr inbounds %"struct.alglib_impl::spline1dfitreport", ptr %917, i32 0, i32 4
  store double %916, ptr %918, align 8, !tbaa !37
  br label %919

919:                                              ; preds = %911, %890
  %920 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %920)
  store i32 0, ptr %67, align 4
  br label %921

921:                                              ; preds = %919, %599
  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
  %922 = load i32, ptr %67, align 4
  switch i32 %922, label %924 [
    i32 0, label %923
    i32 1, label %923
  ]

923:                                              ; preds = %921, %921
  ret void

924:                                              ; preds = %921
  unreachable
}

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

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

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double 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 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_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr 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_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

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

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

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

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

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) #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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_PKS0_lPdS4_S4_S4_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 void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

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_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) #2

declare void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_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_impl20_fblslincgstate_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl17fblscholeskysolveEPKNS_9ae_matrixEdlbPNS_9ae_vectorES4_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 16}
!35 = !{!"_ZTSN11alglib_impl17spline1dfitreportE", !10, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!36 = !{!35, !12, i64 24}
!37 = !{!35, !12, i64 32}
!38 = !{!35, !12, i64 40}
!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.960 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.961 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.962 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.963 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.964 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.965 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.966 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.967 = 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_impl18spline1dbuildcubicEPKNS_9ae_vectorES2_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_impl21spline1dgriddiffcubicEPKNS_9ae_vectorES2_lldldPS0_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_impl22spline1dgriddiff2cubicEPKNS_9ae_vectorES2_lldldPS0_S3_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_impl17spline1dconvcubicEPKNS_9ae_vectorES2_lldldS2_lPS0_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_impl20spline1dbuildhermiteEPKNS_9ae_vectorES2_S2_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_impl21spline1dfitpenalizedwEPKNS_9ae_vectorES2_S2_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_vectorEPKS0_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_vectorEPKS0_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_vectorEPKS0_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.960, ptr noundef %9)
  %44 = icmp sgt i64 %4, 3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %44, ptr noundef nonnull @.str.961, 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.962, 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.963, 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.964, ptr noundef %9)
  %51 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_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.965, ptr noundef %9)
  %52 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_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.966, ptr noundef %9)
  %53 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_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.966, 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.967, 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_PKS0_lPdS4_S4_S4_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.not352 = icmp sgt i64 %4, 0
  br i1 %.not.not352, label %.preheader343.lr.ph, label %._crit_edge370

.preheader343.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_edge351, %.preheader343.lr.ph
  %.0313354 = phi i64 [ 0, %.preheader343.lr.ph ], [ %129, %._crit_edge351 ]
  %.0318353 = phi double [ 0.000000e+00, %.preheader343.lr.ph ], [ %123, %._crit_edge351 ]
  br i1 %75, label %._crit_edge.unr-lcssa, label %.lr.ph

.preheader342:                                    ; preds = %._crit_edge351
  br i1 %.not.not352, label %.preheader341.lr.ph, label %._crit_edge370

.preheader341.lr.ph:                              ; preds = %.preheader342
  %.not357 = 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 %.not357, label %.preheader339.thread423, label %.preheader341

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.0310345 = 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 %.0310345, 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 %.0310345
  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 %.0310345
  store double 0.000000e+00, ptr %86, align 8, !tbaa !15
  %87 = or disjoint i64 %.0310345, 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 %.0310345, 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
  %.0310345.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 %.0310345.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 %.0310345.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 %.0310345.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 %.0313354
  store double 1.000000e+00, ptr %106, align 8, !tbaa !15
  call void @_ZN11alglib_impl22spline1dgriddiff2cubicEPKNS_9ae_vectorES2_lldldPS0_S3_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_impl18spline1dbuildcubicEPKNS_9ae_vectorES2_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_impl17spline1dconvcubicEPKNS_9ae_vectorES2_lldldS2_lPS0_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 %.0313354
  %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.ph350, label %._crit_edge351

.lr.ph350:                                        ; preds = %._crit_edge, %.lr.ph350
  %.0308348 = phi i64 [ %122, %.lr.ph350 ], [ 0, %._crit_edge ]
  %.0315347 = phi double [ %121, %.lr.ph350 ], [ 0.000000e+00, %._crit_edge ]
  %113 = load ptr, ptr %72, align 8, !tbaa !14
  %114 = getelementptr inbounds double, ptr %113, i64 %.0308348
  %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 %.0308348
  %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 %.0315347, %120
  %122 = add nuw nsw i64 %.0308348, 1
  %exitcond405.not = icmp eq i64 %122, %3
  br i1 %exitcond405.not, label %._crit_edge351, label %.lr.ph350, !llvm.loop !22

._crit_edge351:                                   ; preds = %.lr.ph350, %._crit_edge
  %.0315.lcssa = phi double [ 0.000000e+00, %._crit_edge ], [ %121, %.lr.ph350 ]
  %123 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0318353, double noundef %.0315.lcssa, ptr noundef %9)
  %124 = load ptr, ptr %73, align 8, !tbaa !14
  %125 = getelementptr inbounds ptr, ptr %124, i64 %.0313354
  %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 %.0313354, 1
  %exitcond406.not = icmp eq i64 %129, %4
  br i1 %exitcond406.not, label %.preheader342, label %.lr.ph.preheader, !llvm.loop !23

.preheader341:                                    ; preds = %.preheader341.lr.ph, %.split
  %.1309365 = phi i64 [ %172, %.split ], [ 0, %.preheader341.lr.ph ]
  br label %.preheader340

.preheader339.thread423:                          ; preds = %.preheader341.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.ph369

.preheader339:                                    ; preds = %.split
  br i1 %.not.not352, label %.lr.ph369, label %._crit_edge370

.lr.ph369:                                        ; preds = %.preheader339.thread423, %.preheader339
  %134 = getelementptr inbounds i8, ptr %28, i64 72
  br label %173

.preheader340:                                    ; preds = %.preheader341, %._crit_edge361
  %.1311363 = phi i64 [ %.1309365, %.preheader341 ], [ %171, %._crit_edge361 ]
  %135 = load ptr, ptr %76, align 8, !tbaa !14
  %136 = getelementptr inbounds ptr, ptr %135, i64 %.1309365
  %137 = load ptr, ptr %136, align 8, !tbaa !19
  %138 = getelementptr inbounds ptr, ptr %135, i64 %.1311363
  %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
  %.pre417 = load double, ptr %139, align 8, !tbaa !15
  %.pre418 = load double, ptr %140, align 8, !tbaa !15
  br label %141

141:                                              ; preds = %.preheader340, %141
  %142 = phi double [ %.pre418, %.preheader340 ], [ %151, %141 ]
  %143 = phi double [ %.pre417, %.preheader340 ], [ %149, %141 ]
  %144 = phi double [ %.pre, %.preheader340 ], [ %147, %141 ]
  %.1314359 = phi i64 [ 0, %.preheader340 ], [ %145, %141 ]
  %.1316358 = phi double [ 0.000000e+00, %.preheader340 ], [ %162, %141 ]
  %145 = add nuw nsw i64 %.1314359, 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 %.1316358)
  %exitcond407.not = icmp eq i64 %145, %64
  br i1 %exitcond407.not, label %._crit_edge361, label %141, !llvm.loop !24

._crit_edge361:                                   ; preds = %141
  %163 = load ptr, ptr %78, align 8, !tbaa !14
  %164 = getelementptr inbounds ptr, ptr %163, i64 %.1309365
  %165 = load ptr, ptr %164, align 8, !tbaa !19
  %166 = getelementptr inbounds double, ptr %165, i64 %.1311363
  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 %.1311363
  %169 = load ptr, ptr %168, align 8, !tbaa !19
  %170 = getelementptr inbounds double, ptr %169, i64 %.1309365
  store double %162, ptr %170, align 8, !tbaa !15
  %171 = add nuw nsw i64 %.1311363, 1
  %.not.not333 = icmp slt i64 %171, %4
  br i1 %.not.not333, label %.preheader340, label %.split, !llvm.loop !25

.split:                                           ; preds = %._crit_edge361
  %172 = add nuw nsw i64 %.1309365, 1
  %exitcond408.not = icmp eq i64 %172, %4
  br i1 %exitcond408.not, label %.preheader339, label %.preheader341, !llvm.loop !26

173:                                              ; preds = %.lr.ph369, %173
  %.2368 = phi i64 [ 0, %.lr.ph369 ], [ %181, %173 ]
  %.0317367 = phi double [ 0.000000e+00, %.lr.ph369 ], [ %180, %173 ]
  %174 = load ptr, ptr %134, align 8, !tbaa !14
  %175 = getelementptr inbounds ptr, ptr %174, i64 %.2368
  %176 = load ptr, ptr %175, align 8, !tbaa !19
  %177 = getelementptr inbounds double, ptr %176, i64 %.2368
  %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 %.0317367, double noundef %179, ptr noundef %9)
  %181 = add nuw nsw i64 %.2368, 1
  %exitcond409.not = icmp eq i64 %181, %4
  br i1 %exitcond409.not, label %._crit_edge370, label %173, !llvm.loop !27

._crit_edge370:                                   ; preds = %173, %10, %.preheader342, %.preheader339
  %.0318.lcssa420422 = phi double [ %123, %.preheader339 ], [ %123, %.preheader342 ], [ 0.000000e+00, %10 ], [ %123, %173 ]
  %.0317.lcssa = phi double [ 0.000000e+00, %.preheader339 ], [ 0.000000e+00, %.preheader342 ], [ 0.000000e+00, %10 ], [ %180, %173 ]
  %182 = fmul double %62, %.0318.lcssa420422
  %183 = fdiv double %182, %.0317.lcssa
  %184 = fadd double %183, 1.000000e+00
  %185 = fmul double %.0318.lcssa420422, %184
  %186 = fmul double %185, 1.000000e+01
  %187 = fmul double %186, 5.000000e-16
  br i1 %43, label %.lr.ph375, label %._crit_edge376

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

190:                                              ; preds = %.lr.ph375, %190
  %.3373 = phi i64 [ 0, %.lr.ph375 ], [ %198, %190 ]
  %191 = load ptr, ptr %188, align 8, !tbaa !14
  %192 = getelementptr inbounds double, ptr %191, i64 %.3373
  %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 %.3373
  %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 %.3373, 1
  %exitcond410.not = icmp eq i64 %198, %3
  br i1 %exitcond410.not, label %._crit_edge376, label %190, !llvm.loop !28

._crit_edge376:                                   ; preds = %190, %._crit_edge370
  call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_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.not352, label %.preheader338.lr.ph, label %.preheader

.preheader338.lr.ph:                              ; preds = %._crit_edge376
  %199 = getelementptr inbounds i8, ptr %38, i64 72
  %200 = getelementptr inbounds i8, ptr %28, i64 72
  %xtraiter435 = and i64 %4, 1
  %201 = icmp eq i64 %64, 0
  %unroll_iter437 = and i64 %4, 9223372036854775806
  %lcmp.mod436.not = icmp eq i64 %xtraiter435, 0
  br label %.preheader338.us

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

.preheader338.us.new:                             ; preds = %.preheader338.us, %.preheader338.us.new
  %.2312378.us = phi i64 [ %225, %.preheader338.us.new ], [ 0, %.preheader338.us ]
  %niter438 = phi i64 [ %niter438.next.1, %.preheader338.us.new ], [ 0, %.preheader338.us ]
  %202 = load ptr, ptr %199, align 8, !tbaa !14
  %203 = getelementptr inbounds ptr, ptr %202, i64 %.4382.us
  %204 = load ptr, ptr %203, align 8, !tbaa !19
  %205 = getelementptr inbounds double, ptr %204, i64 %.2312378.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 %.4382.us
  %209 = load ptr, ptr %208, align 8, !tbaa !19
  %210 = getelementptr inbounds double, ptr %209, i64 %.2312378.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 %.2312378.us, 1
  %214 = load ptr, ptr %199, align 8, !tbaa !14
  %215 = getelementptr inbounds ptr, ptr %214, i64 %.4382.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 %.4382.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 %.2312378.us, 2
  %niter438.next.1 = add i64 %niter438, 2
  %niter438.ncmp.1 = icmp eq i64 %niter438.next.1, %unroll_iter437
  br i1 %niter438.ncmp.1, label %._crit_edge380.us.unr-lcssa, label %.preheader338.us.new, !llvm.loop !29

._crit_edge380.us.unr-lcssa:                      ; preds = %.preheader338.us.new, %.preheader338.us
  %.2312378.us.unr = phi i64 [ 0, %.preheader338.us ], [ %225, %.preheader338.us.new ]
  br i1 %lcmp.mod436.not, label %._crit_edge380.us, label %._crit_edge380.us.epilog-lcssa

._crit_edge380.us.epilog-lcssa:                   ; preds = %._crit_edge380.us.unr-lcssa
  %226 = load ptr, ptr %199, align 8, !tbaa !14
  %227 = getelementptr inbounds ptr, ptr %226, i64 %.4382.us
  %228 = load ptr, ptr %227, align 8, !tbaa !19
  %229 = getelementptr inbounds double, ptr %228, i64 %.2312378.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 %.4382.us
  %233 = load ptr, ptr %232, align 8, !tbaa !19
  %234 = getelementptr inbounds double, ptr %233, i64 %.2312378.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_edge380.us

._crit_edge380.us:                                ; preds = %._crit_edge380.us.unr-lcssa, %._crit_edge380.us.epilog-lcssa
  %237 = add nuw nsw i64 %.4382.us, 1
  %exitcond412.not = icmp eq i64 %237, %4
  br i1 %exitcond412.not, label %.preheader337, label %.preheader338.us, !llvm.loop !30

.preheader337:                                    ; preds = %._crit_edge380.us
  br i1 %.not.not352, label %.lr.ph385, label %.preheader

.lr.ph385:                                        ; preds = %.preheader337
  %238 = getelementptr inbounds i8, ptr %38, i64 72
  %xtraiter440 = and i64 %4, 1
  %239 = icmp eq i64 %64, 0
  br i1 %239, label %.preheader336.unr-lcssa, label %.lr.ph385.new

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

.preheader336.unr-lcssa:                          ; preds = %248, %.lr.ph385
  %.5384.unr = phi i64 [ 0, %.lr.ph385 ], [ %262, %248 ]
  %lcmp.mod441.not = icmp eq i64 %xtraiter440, 0
  br i1 %lcmp.mod441.not, label %.preheader336, label %.preheader336.epilog-lcssa

.preheader336.epilog-lcssa:                       ; preds = %.preheader336.unr-lcssa
  %240 = load ptr, ptr %238, align 8, !tbaa !14
  %241 = getelementptr inbounds ptr, ptr %240, i64 %.5384.unr
  %242 = load ptr, ptr %241, align 8, !tbaa !19
  %243 = getelementptr inbounds double, ptr %242, i64 %.5384.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 %.preheader336

.preheader336:                                    ; preds = %.preheader336.unr-lcssa, %.preheader336.epilog-lcssa
  br i1 %.not.not352, label %.lr.ph388, label %.preheader

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

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

248:                                              ; preds = %248, %.lr.ph385.new
  %.5384 = phi i64 [ 0, %.lr.ph385.new ], [ %262, %248 ]
  %niter443 = phi i64 [ 0, %.lr.ph385.new ], [ %niter443.next.1, %248 ]
  %249 = load ptr, ptr %238, align 8, !tbaa !14
  %250 = getelementptr inbounds ptr, ptr %249, i64 %.5384
  %251 = load ptr, ptr %250, align 8, !tbaa !19
  %252 = getelementptr inbounds double, ptr %251, i64 %.5384
  %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 %.5384, 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 %.5384, 2
  %niter443.next.1 = add i64 %niter443, 2
  %niter443.ncmp.1 = icmp eq i64 %niter443.next.1, %unroll_iter442
  br i1 %niter443.ncmp.1, label %.preheader336.unr-lcssa, label %248, !llvm.loop !31

.preheader.loopexit.unr-lcssa:                    ; preds = %270, %.lr.ph388
  %.6387.unr = phi i64 [ 0, %.lr.ph388 ], [ %282, %270 ]
  %lcmp.mod446.not = icmp eq i64 %xtraiter445, 0
  br i1 %lcmp.mod446.not, label %.preheader, label %.epil.preheader444

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

.preheader:                                       ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader444, %._crit_edge376, %.preheader337, %.preheader336
  br i1 %43, label %.lr.ph391, label %._crit_edge392

.lr.ph391:                                        ; 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.ph388.new
  %.6387 = phi i64 [ 0, %.lr.ph388.new ], [ %282, %270 ]
  %niter448 = phi i64 [ 0, %.lr.ph388.new ], [ %niter448.next.3, %270 ]
  %271 = load ptr, ptr %246, align 8, !tbaa !14
  %272 = getelementptr inbounds double, ptr %271, i64 %.6387
  store double 0.000000e+00, ptr %272, align 8, !tbaa !15
  %273 = or disjoint i64 %.6387, 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 %.6387, 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 %.6387, 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 %.6387, 4
  %niter448.next.3 = add i64 %niter448, 4
  %niter448.ncmp.3 = icmp eq i64 %niter448.next.3, %unroll_iter447
  br i1 %niter448.ncmp.3, label %.preheader.loopexit.unr-lcssa, label %270, !llvm.loop !34

283:                                              ; preds = %.lr.ph391, %283
  %.7390 = phi i64 [ 0, %.lr.ph391 ], [ %296, %283 ]
  %284 = load ptr, ptr %266, align 8, !tbaa !14
  %285 = getelementptr inbounds double, ptr %284, i64 %.7390
  %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 %.7390
  %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 %.7390
  %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 %.7390, 1
  %exitcond415.not = icmp eq i64 %296, %3
  br i1 %exitcond415.not, label %._crit_edge392, label %283, !llvm.loop !35

._crit_edge392:                                   ; 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_edge392
  store i64 -4, ptr %6, align 8, !tbaa !5
  br label %449

299:                                              ; preds = %._crit_edge392
  call void @_ZN11alglib_impl17fblscholeskysolveEPKNS_9ae_matrixEdlbPNS_9ae_vectorES4_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_impl21spline1dgriddiffcubicEPKNS_9ae_vectorES2_lldldPS0_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_impl20spline1dbuildhermiteEPKNS_9ae_vectorES2_S2_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 16
  %385 = getelementptr inbounds i8, ptr %8, i64 24
  %386 = getelementptr inbounds i8, ptr %8, i64 32
  %387 = getelementptr inbounds i8, ptr %8, i64 40
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %384, i8 0, i64 32, i1 false)
  call void @_ZN11alglib_impl17spline1dconvcubicEPKNS_9ae_vectorES2_lldldS2_lPS0_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.ph397, label %._crit_edge398

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

390:                                              ; preds = %.lr.ph397, %430
  %.8395 = phi i64 [ 0, %.lr.ph397 ], [ %438, %430 ]
  %.0319394 = phi double [ 0.000000e+00, %.lr.ph397 ], [ %.1320, %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 %.8395
  %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 %.8395
  %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 %.8395
  %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 %.8395
  %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 %.8395
  %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 %.8395
  %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 %.0319394, 1.000000e+00
  br label %430

430:                                              ; preds = %416, %390
  %.1320 = phi double [ %429, %416 ], [ %.0319394, %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 %.8395
  %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 %.8395, 1
  %exitcond416.not = icmp eq i64 %438, %3
  br i1 %exitcond416.not, label %._crit_edge398, label %390, !llvm.loop !41

._crit_edge398:                                   ; preds = %430, %299
  %.0319.lcssa = phi double [ 0.000000e+00, %299 ], [ %.1320, %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 %.0319.lcssa, double noundef 0.000000e+00)
  br i1 %445, label %446, label %449

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

449:                                              ; preds = %._crit_edge398, %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 double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double 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 zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double 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 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_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr 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_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_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) 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_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef, 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_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_PKS0_lPdS4_S4_S4_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 void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_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_impl20_fblslincgstate_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl17fblscholeskysolveEPKNS_9ae_matrixEdlbPNS_9ae_vectorES4_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 16}
!37 = !{!"_ZTSN11alglib_impl17spline1dfitreportE", !6, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40}
!38 = !{!37, !16, i64 24}
!39 = !{!37, !16, i64 32}
!40 = !{!37, !16, i64 40}
!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