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

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

%"struct.alglib_impl::lsfitstate" = type { i64, i64, i64, double, i64, double, i8, %"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_matrix", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", i64, i64, i64, double, double, %"struct.alglib_impl::ae_matrix", i64, i64, i8, i8, i8, i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", double, %"struct.alglib_impl::matinvreport", i64, i64, i64, double, double, double, double, double, %"struct.alglib_impl::lsfitreport", %"struct.alglib_impl::minlmstate", %"struct.alglib_impl::minlmreport", i64, i64, %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%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::matinvreport" = type { double, double }
%"struct.alglib_impl::lsfitreport" = type { double, i64, i64, double, double, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double }
%"struct.alglib_impl::minlmstate" = type { i64, i64, double, double, i64, i8, double, i64, i8, %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, i8, i8, i8, i64, i8, i8, i8, %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"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_matrix", i64, i64, double, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, i8, %"struct.alglib_impl::smoothnessmonitor", double, %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64, i64, %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, double, %"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::minlbfgsstate", %"struct.alglib_impl::minlbfgsreport", %"struct.alglib_impl::minqpstate", %"struct.alglib_impl::minqpreport", %"struct.alglib_impl::minlmstepfinder" }
%"struct.alglib_impl::smoothnessmonitor" = type { i64, i64, i8, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i8, double, double, i8, %"struct.alglib_impl::optguardreport", double, double, %"struct.alglib_impl::optguardnonc1test0report", %"struct.alglib_impl::optguardnonc1test0report", double, double, %"struct.alglib_impl::optguardnonc1test1report", %"struct.alglib_impl::optguardnonc1test1report", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rcommstate", %"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::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"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::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardreport" = type { i8, i8, i64, double, i8, i8, i8, i64, double, i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardnonc1test0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test1report" = type { i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::minlbfgsstate" = type { i64, i64, double, double, double, i64, i8, double, %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::precbuflbfgs", %"struct.alglib_impl::precbuflowrank", double, double, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, double, %"struct.alglib_impl::rcommstate", i64, i64, i64, %"struct.alglib_impl::linminstate", i64, %"struct.alglib_impl::smoothnessmonitor", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::precbuflbfgs" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::precbuflowrank" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::linminstate" = type { i8, i8, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"struct.alglib_impl::minlbfgsreport" = type { i64, i64, i64 }
%"struct.alglib_impl::minqpstate" = type { i64, %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qpbleicsettings", %"struct.alglib_impl::qpdenseaulsettings", i8, i64, i64, %"struct.alglib_impl::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", 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", i8, %"struct.alglib_impl::ae_matrix", i64, i64, %"struct.alglib_impl::sparsematrix", i64, i64, %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::qpbleicbuffers", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::qpdenseaulbuffers" }
%"struct.alglib_impl::qqpsettings" = type { double, double, double, i64, i8, i8, i64, i64, i64, i64 }
%"struct.alglib_impl::qpbleicsettings" = type { double, double, double, i64 }
%"struct.alglib_impl::qpdenseaulsettings" = type { double, i64, double }
%"struct.alglib_impl::convexquadraticmodel" = type { i64, i64, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"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_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i8, i8, i8, i8 }
%"struct.alglib_impl::sparsematrix" = type { %"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", i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::qpbleicbuffers" = type { %"struct.alglib_impl::minbleicstate", %"struct.alglib_impl::minbleicreport", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64 }
%"struct.alglib_impl::minbleicstate" = type { i64, i64, double, double, double, i64, i8, i8, double, double, %"struct.alglib_impl::sactiveset", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, i8, i8, i8, %"struct.alglib_impl::rcommstate", %"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", double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, i64, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, double, double, double, double, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::snnlssolver", double, double, double, double, double, double, double, double, double, i64, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::linminstate", double, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, i64, %"struct.alglib_impl::smoothnessmonitor", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sactiveset" = type { i64, i64, %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::ae_vector", i64, i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, 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::snnlssolver", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"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::snnlssolver" = type { i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"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_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"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::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::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::minbleicreport" = type { i64, i64, i64, i64, double, double, double, double, i64, i64, i64, i64 }
%"struct.alglib_impl::qqpbuffers" = type { i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"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::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::sactiveset", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"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::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsebuffers", i64, i64, i64, i64 }
%"struct.alglib_impl::sparsebuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::qpdenseaulbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"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_matrix", %"struct.alglib_impl::ae_matrix", %"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::qqpsettings", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_matrix", %"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", i64, i64, i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::minqpreport" = type { i64, i64, i64, i64, i64 }
%"struct.alglib_impl::minlmstepfinder" = type { i64, i64, double, i64, i64, i8, double, %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, double, %"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::ae_vector", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::minqpstate", %"struct.alglib_impl::minqpreport", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::minlmreport" = type { i64, i64, i64, i64, i64, i64, i64 }
%"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.658 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.659 = external hidden unnamed_addr constant [57 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 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) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl14lsfititerationEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i8, align 1
  %23 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %24, i32 0, i32 55
  %26 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %25, i32 0, i32 0
  %27 = load i32, ptr %26, align 8, !tbaa !9
  %28 = icmp sge i32 %27, 0
  br i1 %28, label %29, label %142

29:                                               ; preds = %2
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %30, i32 0, i32 55
  %32 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %34 = load ptr, ptr %33, align 8, !tbaa !48
  %35 = getelementptr inbounds i64, ptr %34, i64 0
  %36 = load i64, ptr %35, align 8, !tbaa !49
  store i64 %36, ptr %12, align 8, !tbaa !49
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %37, i32 0, i32 55
  %39 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %38, i32 0, i32 1
  %40 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %41 = load ptr, ptr %40, align 8, !tbaa !48
  %42 = getelementptr inbounds i64, ptr %41, i64 1
  %43 = load i64, ptr %42, align 8, !tbaa !49
  store i64 %43, ptr %13, align 8, !tbaa !49
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %44, i32 0, i32 55
  %46 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %46, i32 0, i32 4
  %48 = load ptr, ptr %47, align 8, !tbaa !48
  %49 = getelementptr inbounds i64, ptr %48, i64 2
  %50 = load i64, ptr %49, align 8, !tbaa !49
  store i64 %50, ptr %14, align 8, !tbaa !49
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %51, i32 0, i32 55
  %53 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %53, i32 0, i32 4
  %55 = load ptr, ptr %54, align 8, !tbaa !48
  %56 = getelementptr inbounds i64, ptr %55, i64 3
  %57 = load i64, ptr %56, align 8, !tbaa !49
  store i64 %57, ptr %18, align 8, !tbaa !49
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %58, i32 0, i32 55
  %60 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %59, i32 0, i32 1
  %61 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 4
  %62 = load ptr, ptr %61, align 8, !tbaa !48
  %63 = getelementptr inbounds i64, ptr %62, i64 4
  %64 = load i64, ptr %63, align 8, !tbaa !49
  store i64 %64, ptr %19, align 8, !tbaa !49
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %65, i32 0, i32 55
  %67 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %66, i32 0, i32 1
  %68 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %67, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !48
  %70 = getelementptr inbounds i64, ptr %69, i64 5
  %71 = load i64, ptr %70, align 8, !tbaa !49
  store i64 %71, ptr %20, align 8, !tbaa !49
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %72, i32 0, i32 55
  %74 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %73, i32 0, i32 1
  %75 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %74, i32 0, i32 4
  %76 = load ptr, ptr %75, align 8, !tbaa !48
  %77 = getelementptr inbounds i64, ptr %76, i64 6
  %78 = load i64, ptr %77, align 8, !tbaa !49
  store i64 %78, ptr %21, align 8, !tbaa !49
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %79, i32 0, i32 55
  %81 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %80, i32 0, i32 3
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %81, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !48
  %84 = getelementptr inbounds double, ptr %83, i64 0
  %85 = load double, ptr %84, align 8, !tbaa !50
  store double %85, ptr %6, align 8, !tbaa !50
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %86, i32 0, i32 55
  %88 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %87, i32 0, i32 3
  %89 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %88, i32 0, i32 4
  %90 = load ptr, ptr %89, align 8, !tbaa !48
  %91 = getelementptr inbounds double, ptr %90, i64 1
  %92 = load double, ptr %91, align 8, !tbaa !50
  store double %92, ptr %7, align 8, !tbaa !50
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %93, i32 0, i32 55
  %95 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %94, i32 0, i32 3
  %96 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %95, i32 0, i32 4
  %97 = load ptr, ptr %96, align 8, !tbaa !48
  %98 = getelementptr inbounds double, ptr %97, i64 2
  %99 = load double, ptr %98, align 8, !tbaa !50
  store double %99, ptr %8, align 8, !tbaa !50
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %100, i32 0, i32 55
  %102 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %101, i32 0, i32 3
  %103 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %102, i32 0, i32 4
  %104 = load ptr, ptr %103, align 8, !tbaa !48
  %105 = getelementptr inbounds double, ptr %104, i64 3
  %106 = load double, ptr %105, align 8, !tbaa !50
  store double %106, ptr %9, align 8, !tbaa !50
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %107, i32 0, i32 55
  %109 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %108, i32 0, i32 3
  %110 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %109, i32 0, i32 4
  %111 = load ptr, ptr %110, align 8, !tbaa !48
  %112 = getelementptr inbounds double, ptr %111, i64 4
  %113 = load double, ptr %112, align 8, !tbaa !50
  store double %113, ptr %10, align 8, !tbaa !50
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %114, i32 0, i32 55
  %116 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %115, i32 0, i32 3
  %117 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %116, i32 0, i32 4
  %118 = load ptr, ptr %117, align 8, !tbaa !48
  %119 = getelementptr inbounds double, ptr %118, i64 5
  %120 = load double, ptr %119, align 8, !tbaa !50
  store double %120, ptr %11, align 8, !tbaa !50
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %121, i32 0, i32 55
  %123 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %122, i32 0, i32 3
  %124 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %123, i32 0, i32 4
  %125 = load ptr, ptr %124, align 8, !tbaa !48
  %126 = getelementptr inbounds double, ptr %125, i64 6
  %127 = load double, ptr %126, align 8, !tbaa !50
  store double %127, ptr %15, align 8, !tbaa !50
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %128, i32 0, i32 55
  %130 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %129, i32 0, i32 3
  %131 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %130, i32 0, i32 4
  %132 = load ptr, ptr %131, align 8, !tbaa !48
  %133 = getelementptr inbounds double, ptr %132, i64 7
  %134 = load double, ptr %133, align 8, !tbaa !50
  store double %134, ptr %16, align 8, !tbaa !50
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %135, i32 0, i32 55
  %137 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %136, i32 0, i32 3
  %138 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %137, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !48
  %140 = getelementptr inbounds double, ptr %139, i64 8
  %141 = load double, ptr %140, align 8, !tbaa !50
  store double %141, ptr %17, align 8, !tbaa !50
  br label %143

142:                                              ; preds = %2
  store i64 359, ptr %12, align 8, !tbaa !49
  store i64 -58, ptr %13, align 8, !tbaa !49
  store i64 -919, ptr %14, align 8, !tbaa !49
  store i64 -909, ptr %18, align 8, !tbaa !49
  store i64 81, ptr %19, align 8, !tbaa !49
  store i64 255, ptr %20, align 8, !tbaa !49
  store i64 74, ptr %21, align 8, !tbaa !49
  store double -7.880000e+02, ptr %6, align 8, !tbaa !50
  store double 8.090000e+02, ptr %7, align 8, !tbaa !50
  store double 2.050000e+02, ptr %8, align 8, !tbaa !50
  store double -8.380000e+02, ptr %9, align 8, !tbaa !50
  store double 9.390000e+02, ptr %10, align 8, !tbaa !50
  store double -5.260000e+02, ptr %11, align 8, !tbaa !50
  store double 7.630000e+02, ptr %15, align 8, !tbaa !50
  store double -5.410000e+02, ptr %16, align 8, !tbaa !50
  store double -6.980000e+02, ptr %17, align 8, !tbaa !50
  br label %143

143:                                              ; preds = %142, %29
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %144, i32 0, i32 55
  %146 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %145, i32 0, i32 0
  %147 = load i32, ptr %146, align 8, !tbaa !9
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %143
  br label %602

150:                                              ; preds = %143
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %151, i32 0, i32 55
  %153 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %152, i32 0, i32 0
  %154 = load i32, ptr %153, align 8, !tbaa !9
  %155 = icmp eq i32 %154, 1
  br i1 %155, label %156, label %157

156:                                              ; preds = %150
  br label %674

157:                                              ; preds = %150
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %158, i32 0, i32 55
  %160 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %159, i32 0, i32 0
  %161 = load i32, ptr %160, align 8, !tbaa !9
  %162 = icmp eq i32 %161, 2
  br i1 %162, label %163, label %164

163:                                              ; preds = %157
  br label %764

164:                                              ; preds = %157
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %165, i32 0, i32 55
  %167 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %166, i32 0, i32 0
  %168 = load i32, ptr %167, align 8, !tbaa !9
  %169 = icmp eq i32 %168, 3
  br i1 %169, label %170, label %171

170:                                              ; preds = %164
  br label %909

171:                                              ; preds = %164
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %172, i32 0, i32 55
  %174 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 8, !tbaa !9
  %176 = icmp eq i32 %175, 4
  br i1 %176, label %177, label %178

177:                                              ; preds = %171
  br label %1000

178:                                              ; preds = %171
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %179, i32 0, i32 55
  %181 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %180, i32 0, i32 0
  %182 = load i32, ptr %181, align 8, !tbaa !9
  %183 = icmp eq i32 %182, 5
  br i1 %183, label %184, label %185

184:                                              ; preds = %178
  br label %1111

185:                                              ; preds = %178
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %186, i32 0, i32 55
  %188 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 8, !tbaa !9
  %190 = icmp eq i32 %189, 6
  br i1 %190, label %191, label %192

191:                                              ; preds = %185
  br label %1233

192:                                              ; preds = %185
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %193, i32 0, i32 55
  %195 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 8, !tbaa !9
  %197 = icmp eq i32 %196, 7
  br i1 %197, label %198, label %199

198:                                              ; preds = %192
  br label %1389

199:                                              ; preds = %192
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %200, i32 0, i32 55
  %202 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %201, i32 0, i32 0
  %203 = load i32, ptr %202, align 8, !tbaa !9
  %204 = icmp eq i32 %203, 8
  br i1 %204, label %205, label %206

205:                                              ; preds = %199
  br label %1568

206:                                              ; preds = %199
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %207, i32 0, i32 55
  %209 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %208, i32 0, i32 0
  %210 = load i32, ptr %209, align 8, !tbaa !9
  %211 = icmp eq i32 %210, 9
  br i1 %211, label %212, label %213

212:                                              ; preds = %206
  br label %1654

213:                                              ; preds = %206
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %214, i32 0, i32 55
  %216 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %215, i32 0, i32 0
  %217 = load i32, ptr %216, align 8, !tbaa !9
  %218 = icmp eq i32 %217, 10
  br i1 %218, label %219, label %220

219:                                              ; preds = %213
  br label %1871

220:                                              ; preds = %213
  %221 = load ptr, ptr %4, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %221, i32 0, i32 55
  %223 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %222, i32 0, i32 0
  %224 = load i32, ptr %223, align 8, !tbaa !9
  %225 = icmp eq i32 %224, 11
  br i1 %225, label %226, label %227

226:                                              ; preds = %220
  br label %1951

227:                                              ; preds = %220
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %228, i32 0, i32 55
  %230 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %229, i32 0, i32 0
  %231 = load i32, ptr %230, align 8, !tbaa !9
  %232 = icmp eq i32 %231, 12
  br i1 %232, label %233, label %234

233:                                              ; preds = %227
  br label %2010

234:                                              ; preds = %227
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %235, i32 0, i32 55
  %237 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %236, i32 0, i32 0
  %238 = load i32, ptr %237, align 8, !tbaa !9
  %239 = icmp eq i32 %238, 13
  br i1 %239, label %240, label %241

240:                                              ; preds = %234
  br label %2094

241:                                              ; preds = %234
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %242, i32 0, i32 17
  %244 = load i64, ptr %243, align 8, !tbaa !51
  %245 = icmp eq i64 %244, 1
  br i1 %245, label %246, label %255

246:                                              ; preds = %241
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %247, i32 0, i32 14
  %249 = load i64, ptr %248, align 8, !tbaa !52
  %250 = load ptr, ptr %4, align 8, !tbaa !5
  %251 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %250, i32 0, i32 16
  %252 = load i64, ptr %251, align 8, !tbaa !53
  %253 = icmp eq i64 %249, %252
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %253, ptr noundef @.str.658, ptr noundef %254)
  br label %255

255:                                              ; preds = %246, %241
  %256 = load ptr, ptr %4, align 8, !tbaa !5
  %257 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %256, i32 0, i32 44
  store i64 -1, ptr %257, align 8, !tbaa !54
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %258, i32 0, i32 14
  %260 = load i64, ptr %259, align 8, !tbaa !52
  store i64 %260, ptr %12, align 8, !tbaa !49
  %261 = load ptr, ptr %4, align 8, !tbaa !5
  %262 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %261, i32 0, i32 1
  %263 = load i64, ptr %262, align 8, !tbaa !55
  store i64 %263, ptr %13, align 8, !tbaa !49
  %264 = load ptr, ptr %4, align 8, !tbaa !5
  %265 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %264, i32 0, i32 2
  %266 = load i64, ptr %265, align 8, !tbaa !56
  store i64 %266, ptr %14, align 8, !tbaa !49
  %267 = load ptr, ptr %4, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %267, i32 0, i32 35
  %269 = load ptr, ptr %4, align 8, !tbaa !5
  %270 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %269, i32 0, i32 22
  %271 = load i64, ptr %270, align 8, !tbaa !57
  %272 = load ptr, ptr %4, align 8, !tbaa !5
  %273 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %272, i32 0, i32 23
  %274 = load i64, ptr %273, align 8, !tbaa !58
  %275 = add nsw i64 %271, %274
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %268, i64 noundef %275, ptr noundef %276)
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %277

277:                                              ; preds = %291, %255
  %278 = load i64, ptr %18, align 8, !tbaa !49
  %279 = load ptr, ptr %4, align 8, !tbaa !5
  %280 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %279, i32 0, i32 22
  %281 = load i64, ptr %280, align 8, !tbaa !57
  %282 = sub nsw i64 %281, 1
  %283 = icmp sle i64 %278, %282
  br i1 %283, label %284, label %294

284:                                              ; preds = %277
  %285 = load ptr, ptr %4, align 8, !tbaa !5
  %286 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %285, i32 0, i32 35
  %287 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %286, i32 0, i32 4
  %288 = load ptr, ptr %287, align 8, !tbaa !48
  %289 = load i64, ptr %18, align 8, !tbaa !49
  %290 = getelementptr inbounds i64, ptr %288, i64 %289
  store i64 0, ptr %290, align 8, !tbaa !49
  br label %291

291:                                              ; preds = %284
  %292 = load i64, ptr %18, align 8, !tbaa !49
  %293 = add nsw i64 %292, 1
  store i64 %293, ptr %18, align 8, !tbaa !49
  br label %277, !llvm.loop !59

294:                                              ; preds = %277
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %295

295:                                              ; preds = %313, %294
  %296 = load i64, ptr %18, align 8, !tbaa !49
  %297 = load ptr, ptr %4, align 8, !tbaa !5
  %298 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %297, i32 0, i32 23
  %299 = load i64, ptr %298, align 8, !tbaa !58
  %300 = sub nsw i64 %299, 1
  %301 = icmp sle i64 %296, %300
  br i1 %301, label %302, label %316

302:                                              ; preds = %295
  %303 = load ptr, ptr %4, align 8, !tbaa !5
  %304 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %303, i32 0, i32 35
  %305 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %304, i32 0, i32 4
  %306 = load ptr, ptr %305, align 8, !tbaa !48
  %307 = load ptr, ptr %4, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %307, i32 0, i32 22
  %309 = load i64, ptr %308, align 8, !tbaa !57
  %310 = load i64, ptr %18, align 8, !tbaa !49
  %311 = add nsw i64 %309, %310
  %312 = getelementptr inbounds i64, ptr %306, i64 %311
  store i64 -1, ptr %312, align 8, !tbaa !49
  br label %313

313:                                              ; preds = %302
  %314 = load i64, ptr %18, align 8, !tbaa !49
  %315 = add nsw i64 %314, 1
  store i64 %315, ptr %18, align 8, !tbaa !49
  br label %295, !llvm.loop !61

316:                                              ; preds = %295
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %317, i32 0, i32 51
  %319 = load ptr, ptr %4, align 8, !tbaa !5
  %320 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %319, i32 0, i32 3
  %321 = load double, ptr %320, align 8, !tbaa !62
  %322 = load ptr, ptr %4, align 8, !tbaa !5
  %323 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %322, i32 0, i32 4
  %324 = load i64, ptr %323, align 8, !tbaa !63
  %325 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minlmsetcondEPNS_10minlmstateEdlPNS_8ae_stateE(ptr noundef %318, double noundef %321, i64 noundef %324, ptr noundef %325)
  %326 = load ptr, ptr %4, align 8, !tbaa !5
  %327 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %326, i32 0, i32 51
  %328 = load ptr, ptr %4, align 8, !tbaa !5
  %329 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %328, i32 0, i32 5
  %330 = load double, ptr %329, align 8, !tbaa !64
  %331 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl14minlmsetstpmaxEPNS_10minlmstateEdPNS_8ae_stateE(ptr noundef %327, double noundef %330, ptr noundef %331)
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %332, i32 0, i32 51
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %334, i32 0, i32 6
  %336 = load i8, ptr %335, align 8, !tbaa !65, !range !66, !noundef !67
  %337 = trunc i8 %336 to i1
  %338 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minlmsetxrepEPNS_10minlmstateEbPNS_8ae_stateE(ptr noundef %333, i1 noundef zeroext %337, ptr noundef %338)
  %339 = load ptr, ptr %4, align 8, !tbaa !5
  %340 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %339, i32 0, i32 51
  %341 = load ptr, ptr %4, align 8, !tbaa !5
  %342 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %341, i32 0, i32 9
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minlmsetscaleEPNS_10minlmstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %340, ptr noundef %342, ptr noundef %343)
  %344 = load ptr, ptr %4, align 8, !tbaa !5
  %345 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %344, i32 0, i32 51
  %346 = load ptr, ptr %4, align 8, !tbaa !5
  %347 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %346, i32 0, i32 10
  %348 = load ptr, ptr %4, align 8, !tbaa !5
  %349 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %348, i32 0, i32 11
  %350 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minlmsetbcEPNS_10minlmstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %345, ptr noundef %347, ptr noundef %349, ptr noundef %350)
  %351 = load ptr, ptr %4, align 8, !tbaa !5
  %352 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %351, i32 0, i32 51
  %353 = load ptr, ptr %4, align 8, !tbaa !5
  %354 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %353, i32 0, i32 21
  %355 = load ptr, ptr %4, align 8, !tbaa !5
  %356 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %355, i32 0, i32 35
  %357 = load ptr, ptr %4, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %357, i32 0, i32 22
  %359 = load i64, ptr %358, align 8, !tbaa !57
  %360 = load ptr, ptr %4, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %360, i32 0, i32 23
  %362 = load i64, ptr %361, align 8, !tbaa !58
  %363 = add nsw i64 %359, %362
  %364 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minlmsetlcEPNS_10minlmstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %352, ptr noundef %354, ptr noundef %356, i64 noundef %363, ptr noundef %364)
  %365 = load ptr, ptr %4, align 8, !tbaa !5
  %366 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %365, ptr noundef %366)
  %367 = load ptr, ptr %4, align 8, !tbaa !5
  %368 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %367, i32 0, i32 20
  %369 = load double, ptr %368, align 8, !tbaa !68
  %370 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %369, double noundef 0.000000e+00)
  br i1 %370, label %371, label %376

371:                                              ; preds = %316
  %372 = load ptr, ptr %4, align 8, !tbaa !5
  %373 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %372, i32 0, i32 0
  %374 = load i64, ptr %373, align 8, !tbaa !69
  %375 = icmp eq i64 %374, 1
  br i1 %375, label %377, label %376

376:                                              ; preds = %371, %316
  br label %808

377:                                              ; preds = %371
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %378

378:                                              ; preds = %463, %377
  %379 = load i64, ptr %18, align 8, !tbaa !49
  %380 = load i64, ptr %14, align 8, !tbaa !49
  %381 = sub nsw i64 %380, 1
  %382 = icmp sle i64 %379, %381
  br i1 %382, label %383, label %466

383:                                              ; preds = %378
  %384 = load ptr, ptr %4, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %384, i32 0, i32 7
  %386 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %385, i32 0, i32 4
  %387 = load ptr, ptr %386, align 8, !tbaa !48
  %388 = load i64, ptr %18, align 8, !tbaa !49
  %389 = getelementptr inbounds double, ptr %387, i64 %388
  %390 = load double, ptr %389, align 8, !tbaa !50
  %391 = load ptr, ptr %4, align 8, !tbaa !5
  %392 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %391, i32 0, i32 30
  %393 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %392, i32 0, i32 4
  %394 = load ptr, ptr %393, align 8, !tbaa !48
  %395 = load i64, ptr %18, align 8, !tbaa !49
  %396 = getelementptr inbounds double, ptr %394, i64 %395
  store double %390, ptr %396, align 8, !tbaa !50
  %397 = load ptr, ptr %4, align 8, !tbaa !5
  %398 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %397, i32 0, i32 10
  %399 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %398, i32 0, i32 4
  %400 = load ptr, ptr %399, align 8, !tbaa !48
  %401 = load i64, ptr %18, align 8, !tbaa !49
  %402 = getelementptr inbounds double, ptr %400, i64 %401
  %403 = load double, ptr %402, align 8, !tbaa !50
  %404 = load ptr, ptr %5, align 8, !tbaa !5
  %405 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %403, ptr noundef %404)
  br i1 %405, label %406, label %429

406:                                              ; preds = %383
  %407 = load ptr, ptr %4, align 8, !tbaa !5
  %408 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %407, i32 0, i32 30
  %409 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %408, i32 0, i32 4
  %410 = load ptr, ptr %409, align 8, !tbaa !48
  %411 = load i64, ptr %18, align 8, !tbaa !49
  %412 = getelementptr inbounds double, ptr %410, i64 %411
  %413 = load double, ptr %412, align 8, !tbaa !50
  %414 = load ptr, ptr %4, align 8, !tbaa !5
  %415 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %414, i32 0, i32 10
  %416 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %415, i32 0, i32 4
  %417 = load ptr, ptr %416, align 8, !tbaa !48
  %418 = load i64, ptr %18, align 8, !tbaa !49
  %419 = getelementptr inbounds double, ptr %417, i64 %418
  %420 = load double, ptr %419, align 8, !tbaa !50
  %421 = load ptr, ptr %5, align 8, !tbaa !5
  %422 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %413, double noundef %420, ptr noundef %421)
  %423 = load ptr, ptr %4, align 8, !tbaa !5
  %424 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %423, i32 0, i32 30
  %425 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %424, i32 0, i32 4
  %426 = load ptr, ptr %425, align 8, !tbaa !48
  %427 = load i64, ptr %18, align 8, !tbaa !49
  %428 = getelementptr inbounds double, ptr %426, i64 %427
  store double %422, ptr %428, align 8, !tbaa !50
  br label %429

429:                                              ; preds = %406, %383
  %430 = load ptr, ptr %4, align 8, !tbaa !5
  %431 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %430, i32 0, i32 11
  %432 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %431, i32 0, i32 4
  %433 = load ptr, ptr %432, align 8, !tbaa !48
  %434 = load i64, ptr %18, align 8, !tbaa !49
  %435 = getelementptr inbounds double, ptr %433, i64 %434
  %436 = load double, ptr %435, align 8, !tbaa !50
  %437 = load ptr, ptr %5, align 8, !tbaa !5
  %438 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %436, ptr noundef %437)
  br i1 %438, label %439, label %462

439:                                              ; preds = %429
  %440 = load ptr, ptr %4, align 8, !tbaa !5
  %441 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %440, i32 0, i32 30
  %442 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %441, i32 0, i32 4
  %443 = load ptr, ptr %442, align 8, !tbaa !48
  %444 = load i64, ptr %18, align 8, !tbaa !49
  %445 = getelementptr inbounds double, ptr %443, i64 %444
  %446 = load double, ptr %445, align 8, !tbaa !50
  %447 = load ptr, ptr %4, align 8, !tbaa !5
  %448 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %447, i32 0, i32 11
  %449 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %448, i32 0, i32 4
  %450 = load ptr, ptr %449, align 8, !tbaa !48
  %451 = load i64, ptr %18, align 8, !tbaa !49
  %452 = getelementptr inbounds double, ptr %450, i64 %451
  %453 = load double, ptr %452, align 8, !tbaa !50
  %454 = load ptr, ptr %5, align 8, !tbaa !5
  %455 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %446, double noundef %453, ptr noundef %454)
  %456 = load ptr, ptr %4, align 8, !tbaa !5
  %457 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %456, i32 0, i32 30
  %458 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %457, i32 0, i32 4
  %459 = load ptr, ptr %458, align 8, !tbaa !48
  %460 = load i64, ptr %18, align 8, !tbaa !49
  %461 = getelementptr inbounds double, ptr %459, i64 %460
  store double %455, ptr %461, align 8, !tbaa !50
  br label %462

462:                                              ; preds = %439, %429
  br label %463

463:                                              ; preds = %462
  %464 = load i64, ptr %18, align 8, !tbaa !49
  %465 = add nsw i64 %464, 1
  store i64 %465, ptr %18, align 8, !tbaa !49
  br label %378, !llvm.loop !70

466:                                              ; preds = %378
  %467 = load ptr, ptr %4, align 8, !tbaa !5
  %468 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %467, i32 0, i32 26
  store i8 1, ptr %468, align 2, !tbaa !71
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %469

469:                                              ; preds = %802, %466
  %470 = load i64, ptr %18, align 8, !tbaa !49
  %471 = load i64, ptr %14, align 8, !tbaa !49
  %472 = sub nsw i64 %471, 1
  %473 = icmp sgt i64 %470, %472
  br i1 %473, label %474, label %475

474:                                              ; preds = %469
  br label %805

475:                                              ; preds = %469
  %476 = load ptr, ptr %4, align 8, !tbaa !5
  %477 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %476, i32 0, i32 10
  %478 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %477, i32 0, i32 4
  %479 = load ptr, ptr %478, align 8, !tbaa !48
  %480 = load i64, ptr %18, align 8, !tbaa !49
  %481 = getelementptr inbounds double, ptr %479, i64 %480
  %482 = load double, ptr %481, align 8, !tbaa !50
  %483 = load ptr, ptr %4, align 8, !tbaa !5
  %484 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %483, i32 0, i32 30
  %485 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %484, i32 0, i32 4
  %486 = load ptr, ptr %485, align 8, !tbaa !48
  %487 = load i64, ptr %18, align 8, !tbaa !49
  %488 = getelementptr inbounds double, ptr %486, i64 %487
  %489 = load double, ptr %488, align 8, !tbaa !50
  %490 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %482, double noundef %489)
  br i1 %490, label %491, label %507

491:                                              ; preds = %475
  %492 = load ptr, ptr %4, align 8, !tbaa !5
  %493 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %492, i32 0, i32 30
  %494 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %493, i32 0, i32 4
  %495 = load ptr, ptr %494, align 8, !tbaa !48
  %496 = load i64, ptr %18, align 8, !tbaa !49
  %497 = getelementptr inbounds double, ptr %495, i64 %496
  %498 = load double, ptr %497, align 8, !tbaa !50
  %499 = load ptr, ptr %4, align 8, !tbaa !5
  %500 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %499, i32 0, i32 11
  %501 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %500, i32 0, i32 4
  %502 = load ptr, ptr %501, align 8, !tbaa !48
  %503 = load i64, ptr %18, align 8, !tbaa !49
  %504 = getelementptr inbounds double, ptr %502, i64 %503
  %505 = load double, ptr %504, align 8, !tbaa !50
  %506 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %498, double noundef %505)
  br label %507

507:                                              ; preds = %491, %475
  %508 = phi i1 [ false, %475 ], [ %506, %491 ]
  %509 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %508, ptr noundef @.str.659, ptr noundef %509)
  %510 = load ptr, ptr %4, align 8, !tbaa !5
  %511 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %510, i32 0, i32 30
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %511, i32 0, i32 4
  %513 = load ptr, ptr %512, align 8, !tbaa !48
  %514 = load i64, ptr %18, align 8, !tbaa !49
  %515 = getelementptr inbounds double, ptr %513, i64 %514
  %516 = load double, ptr %515, align 8, !tbaa !50
  store double %516, ptr %15, align 8, !tbaa !50
  store i64 0, ptr %19, align 8, !tbaa !49
  br label %517

517:                                              ; preds = %799, %507
  %518 = load i64, ptr %19, align 8, !tbaa !49
  %519 = load i64, ptr %12, align 8, !tbaa !49
  %520 = sub nsw i64 %519, 1
  %521 = icmp sgt i64 %518, %520
  br i1 %521, label %522, label %523

522:                                              ; preds = %517
  br label %802

523:                                              ; preds = %517
  %524 = load ptr, ptr %4, align 8, !tbaa !5
  %525 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %524, i32 0, i32 29
  %526 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %525, i32 0, i32 4
  %527 = load ptr, ptr %526, align 8, !tbaa !48
  %528 = getelementptr inbounds double, ptr %527, i64 0
  %529 = load ptr, ptr %4, align 8, !tbaa !5
  %530 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %529, i32 0, i32 12
  %531 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %530, i32 0, i32 6
  %532 = load ptr, ptr %531, align 8, !tbaa !48
  %533 = load i64, ptr %19, align 8, !tbaa !49
  %534 = getelementptr inbounds ptr, ptr %532, i64 %533
  %535 = load ptr, ptr %534, align 8, !tbaa !5
  %536 = getelementptr inbounds double, ptr %535, i64 0
  %537 = load i64, ptr %13, align 8, !tbaa !49
  %538 = sub nsw i64 %537, 1
  %539 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %538)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %528, i64 noundef 1, ptr noundef %536, i64 noundef 1, i64 noundef %539)
  %540 = load double, ptr %15, align 8, !tbaa !50
  %541 = load ptr, ptr %4, align 8, !tbaa !5
  %542 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %541, i32 0, i32 20
  %543 = load double, ptr %542, align 8, !tbaa !68
  %544 = load ptr, ptr %4, align 8, !tbaa !5
  %545 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %544, i32 0, i32 9
  %546 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %545, i32 0, i32 4
  %547 = load ptr, ptr %546, align 8, !tbaa !48
  %548 = load i64, ptr %18, align 8, !tbaa !49
  %549 = getelementptr inbounds double, ptr %547, i64 %548
  %550 = load double, ptr %549, align 8, !tbaa !50
  %551 = fneg double %543
  %552 = call double @llvm.fmuladd.f64(double %551, double %550, double %540)
  %553 = load ptr, ptr %4, align 8, !tbaa !5
  %554 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %553, i32 0, i32 30
  %555 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %554, i32 0, i32 4
  %556 = load ptr, ptr %555, align 8, !tbaa !48
  %557 = load i64, ptr %18, align 8, !tbaa !49
  %558 = getelementptr inbounds double, ptr %556, i64 %557
  store double %552, ptr %558, align 8, !tbaa !50
  %559 = load ptr, ptr %4, align 8, !tbaa !5
  %560 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %559, i32 0, i32 10
  %561 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %560, i32 0, i32 4
  %562 = load ptr, ptr %561, align 8, !tbaa !48
  %563 = load i64, ptr %18, align 8, !tbaa !49
  %564 = getelementptr inbounds double, ptr %562, i64 %563
  %565 = load double, ptr %564, align 8, !tbaa !50
  %566 = load ptr, ptr %5, align 8, !tbaa !5
  %567 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %565, ptr noundef %566)
  br i1 %567, label %568, label %591

568:                                              ; preds = %523
  %569 = load ptr, ptr %4, align 8, !tbaa !5
  %570 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %569, i32 0, i32 30
  %571 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %570, i32 0, i32 4
  %572 = load ptr, ptr %571, align 8, !tbaa !48
  %573 = load i64, ptr %18, align 8, !tbaa !49
  %574 = getelementptr inbounds double, ptr %572, i64 %573
  %575 = load double, ptr %574, align 8, !tbaa !50
  %576 = load ptr, ptr %4, align 8, !tbaa !5
  %577 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %576, i32 0, i32 10
  %578 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %577, i32 0, i32 4
  %579 = load ptr, ptr %578, align 8, !tbaa !48
  %580 = load i64, ptr %18, align 8, !tbaa !49
  %581 = getelementptr inbounds double, ptr %579, i64 %580
  %582 = load double, ptr %581, align 8, !tbaa !50
  %583 = load ptr, ptr %5, align 8, !tbaa !5
  %584 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %575, double noundef %582, ptr noundef %583)
  %585 = load ptr, ptr %4, align 8, !tbaa !5
  %586 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %585, i32 0, i32 30
  %587 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %586, i32 0, i32 4
  %588 = load ptr, ptr %587, align 8, !tbaa !48
  %589 = load i64, ptr %18, align 8, !tbaa !49
  %590 = getelementptr inbounds double, ptr %588, i64 %589
  store double %584, ptr %590, align 8, !tbaa !50
  br label %591

591:                                              ; preds = %568, %523
  %592 = load ptr, ptr %4, align 8, !tbaa !5
  %593 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %592, i32 0, i32 30
  %594 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %593, i32 0, i32 4
  %595 = load ptr, ptr %594, align 8, !tbaa !48
  %596 = load i64, ptr %18, align 8, !tbaa !49
  %597 = getelementptr inbounds double, ptr %595, i64 %596
  %598 = load double, ptr %597, align 8, !tbaa !50
  store double %598, ptr %6, align 8, !tbaa !50
  %599 = load ptr, ptr %4, align 8, !tbaa !5
  %600 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %599, i32 0, i32 55
  %601 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %600, i32 0, i32 0
  store i32 0, ptr %601, align 8, !tbaa !9
  br label %2174

602:                                              ; preds = %149
  %603 = load ptr, ptr %4, align 8, !tbaa !5
  %604 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %603, i32 0, i32 31
  %605 = load double, ptr %604, align 8, !tbaa !72
  store double %605, ptr %7, align 8, !tbaa !50
  %606 = load ptr, ptr %4, align 8, !tbaa !5
  %607 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %606, i32 0, i32 32
  %608 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %607, i32 0, i32 4
  %609 = load ptr, ptr %608, align 8, !tbaa !48
  %610 = load i64, ptr %18, align 8, !tbaa !49
  %611 = getelementptr inbounds double, ptr %609, i64 %610
  %612 = load double, ptr %611, align 8, !tbaa !50
  store double %612, ptr %8, align 8, !tbaa !50
  %613 = load double, ptr %15, align 8, !tbaa !50
  %614 = load ptr, ptr %4, align 8, !tbaa !5
  %615 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %614, i32 0, i32 20
  %616 = load double, ptr %615, align 8, !tbaa !68
  %617 = load ptr, ptr %4, align 8, !tbaa !5
  %618 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %617, i32 0, i32 9
  %619 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %618, i32 0, i32 4
  %620 = load ptr, ptr %619, align 8, !tbaa !48
  %621 = load i64, ptr %18, align 8, !tbaa !49
  %622 = getelementptr inbounds double, ptr %620, i64 %621
  %623 = load double, ptr %622, align 8, !tbaa !50
  %624 = call double @llvm.fmuladd.f64(double %616, double %623, double %613)
  %625 = load ptr, ptr %4, align 8, !tbaa !5
  %626 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %625, i32 0, i32 30
  %627 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %626, i32 0, i32 4
  %628 = load ptr, ptr %627, align 8, !tbaa !48
  %629 = load i64, ptr %18, align 8, !tbaa !49
  %630 = getelementptr inbounds double, ptr %628, i64 %629
  store double %624, ptr %630, align 8, !tbaa !50
  %631 = load ptr, ptr %4, align 8, !tbaa !5
  %632 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %631, i32 0, i32 11
  %633 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %632, i32 0, i32 4
  %634 = load ptr, ptr %633, align 8, !tbaa !48
  %635 = load i64, ptr %18, align 8, !tbaa !49
  %636 = getelementptr inbounds double, ptr %634, i64 %635
  %637 = load double, ptr %636, align 8, !tbaa !50
  %638 = load ptr, ptr %5, align 8, !tbaa !5
  %639 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %637, ptr noundef %638)
  br i1 %639, label %640, label %663

640:                                              ; preds = %602
  %641 = load ptr, ptr %4, align 8, !tbaa !5
  %642 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %641, i32 0, i32 30
  %643 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %642, i32 0, i32 4
  %644 = load ptr, ptr %643, align 8, !tbaa !48
  %645 = load i64, ptr %18, align 8, !tbaa !49
  %646 = getelementptr inbounds double, ptr %644, i64 %645
  %647 = load double, ptr %646, align 8, !tbaa !50
  %648 = load ptr, ptr %4, align 8, !tbaa !5
  %649 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %648, i32 0, i32 11
  %650 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %649, i32 0, i32 4
  %651 = load ptr, ptr %650, align 8, !tbaa !48
  %652 = load i64, ptr %18, align 8, !tbaa !49
  %653 = getelementptr inbounds double, ptr %651, i64 %652
  %654 = load double, ptr %653, align 8, !tbaa !50
  %655 = load ptr, ptr %5, align 8, !tbaa !5
  %656 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %647, double noundef %654, ptr noundef %655)
  %657 = load ptr, ptr %4, align 8, !tbaa !5
  %658 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %657, i32 0, i32 30
  %659 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %658, i32 0, i32 4
  %660 = load ptr, ptr %659, align 8, !tbaa !48
  %661 = load i64, ptr %18, align 8, !tbaa !49
  %662 = getelementptr inbounds double, ptr %660, i64 %661
  store double %656, ptr %662, align 8, !tbaa !50
  br label %663

663:                                              ; preds = %640, %602
  %664 = load ptr, ptr %4, align 8, !tbaa !5
  %665 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %664, i32 0, i32 30
  %666 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %665, i32 0, i32 4
  %667 = load ptr, ptr %666, align 8, !tbaa !48
  %668 = load i64, ptr %18, align 8, !tbaa !49
  %669 = getelementptr inbounds double, ptr %667, i64 %668
  %670 = load double, ptr %669, align 8, !tbaa !50
  store double %670, ptr %9, align 8, !tbaa !50
  %671 = load ptr, ptr %4, align 8, !tbaa !5
  %672 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %671, i32 0, i32 55
  %673 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %672, i32 0, i32 0
  store i32 1, ptr %673, align 8, !tbaa !9
  br label %2174

674:                                              ; preds = %156
  %675 = load ptr, ptr %4, align 8, !tbaa !5
  %676 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %675, i32 0, i32 31
  %677 = load double, ptr %676, align 8, !tbaa !72
  store double %677, ptr %10, align 8, !tbaa !50
  %678 = load ptr, ptr %4, align 8, !tbaa !5
  %679 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %678, i32 0, i32 32
  %680 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %679, i32 0, i32 4
  %681 = load ptr, ptr %680, align 8, !tbaa !48
  %682 = load i64, ptr %18, align 8, !tbaa !49
  %683 = getelementptr inbounds double, ptr %681, i64 %682
  %684 = load double, ptr %683, align 8, !tbaa !50
  store double %684, ptr %11, align 8, !tbaa !50
  %685 = load double, ptr %6, align 8, !tbaa !50
  %686 = load double, ptr %9, align 8, !tbaa !50
  %687 = fadd double %685, %686
  %688 = fdiv double %687, 2.000000e+00
  %689 = load ptr, ptr %4, align 8, !tbaa !5
  %690 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %689, i32 0, i32 30
  %691 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %690, i32 0, i32 4
  %692 = load ptr, ptr %691, align 8, !tbaa !48
  %693 = load i64, ptr %18, align 8, !tbaa !49
  %694 = getelementptr inbounds double, ptr %692, i64 %693
  store double %688, ptr %694, align 8, !tbaa !50
  %695 = load ptr, ptr %4, align 8, !tbaa !5
  %696 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %695, i32 0, i32 10
  %697 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %696, i32 0, i32 4
  %698 = load ptr, ptr %697, align 8, !tbaa !48
  %699 = load i64, ptr %18, align 8, !tbaa !49
  %700 = getelementptr inbounds double, ptr %698, i64 %699
  %701 = load double, ptr %700, align 8, !tbaa !50
  %702 = load ptr, ptr %5, align 8, !tbaa !5
  %703 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %701, ptr noundef %702)
  br i1 %703, label %704, label %727

704:                                              ; preds = %674
  %705 = load ptr, ptr %4, align 8, !tbaa !5
  %706 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %705, i32 0, i32 30
  %707 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %706, i32 0, i32 4
  %708 = load ptr, ptr %707, align 8, !tbaa !48
  %709 = load i64, ptr %18, align 8, !tbaa !49
  %710 = getelementptr inbounds double, ptr %708, i64 %709
  %711 = load double, ptr %710, align 8, !tbaa !50
  %712 = load ptr, ptr %4, align 8, !tbaa !5
  %713 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %712, i32 0, i32 10
  %714 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %713, i32 0, i32 4
  %715 = load ptr, ptr %714, align 8, !tbaa !48
  %716 = load i64, ptr %18, align 8, !tbaa !49
  %717 = getelementptr inbounds double, ptr %715, i64 %716
  %718 = load double, ptr %717, align 8, !tbaa !50
  %719 = load ptr, ptr %5, align 8, !tbaa !5
  %720 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %711, double noundef %718, ptr noundef %719)
  %721 = load ptr, ptr %4, align 8, !tbaa !5
  %722 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %721, i32 0, i32 30
  %723 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %722, i32 0, i32 4
  %724 = load ptr, ptr %723, align 8, !tbaa !48
  %725 = load i64, ptr %18, align 8, !tbaa !49
  %726 = getelementptr inbounds double, ptr %724, i64 %725
  store double %720, ptr %726, align 8, !tbaa !50
  br label %727

727:                                              ; preds = %704, %674
  %728 = load ptr, ptr %4, align 8, !tbaa !5
  %729 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %728, i32 0, i32 11
  %730 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %729, i32 0, i32 4
  %731 = load ptr, ptr %730, align 8, !tbaa !48
  %732 = load i64, ptr %18, align 8, !tbaa !49
  %733 = getelementptr inbounds double, ptr %731, i64 %732
  %734 = load double, ptr %733, align 8, !tbaa !50
  %735 = load ptr, ptr %5, align 8, !tbaa !5
  %736 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %734, ptr noundef %735)
  br i1 %736, label %737, label %760

737:                                              ; preds = %727
  %738 = load ptr, ptr %4, align 8, !tbaa !5
  %739 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %738, i32 0, i32 30
  %740 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %739, i32 0, i32 4
  %741 = load ptr, ptr %740, align 8, !tbaa !48
  %742 = load i64, ptr %18, align 8, !tbaa !49
  %743 = getelementptr inbounds double, ptr %741, i64 %742
  %744 = load double, ptr %743, align 8, !tbaa !50
  %745 = load ptr, ptr %4, align 8, !tbaa !5
  %746 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %745, i32 0, i32 11
  %747 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %746, i32 0, i32 4
  %748 = load ptr, ptr %747, align 8, !tbaa !48
  %749 = load i64, ptr %18, align 8, !tbaa !49
  %750 = getelementptr inbounds double, ptr %748, i64 %749
  %751 = load double, ptr %750, align 8, !tbaa !50
  %752 = load ptr, ptr %5, align 8, !tbaa !5
  %753 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %744, double noundef %751, ptr noundef %752)
  %754 = load ptr, ptr %4, align 8, !tbaa !5
  %755 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %754, i32 0, i32 30
  %756 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %755, i32 0, i32 4
  %757 = load ptr, ptr %756, align 8, !tbaa !48
  %758 = load i64, ptr %18, align 8, !tbaa !49
  %759 = getelementptr inbounds double, ptr %757, i64 %758
  store double %753, ptr %759, align 8, !tbaa !50
  br label %760

760:                                              ; preds = %737, %727
  %761 = load ptr, ptr %4, align 8, !tbaa !5
  %762 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %761, i32 0, i32 55
  %763 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %762, i32 0, i32 0
  store i32 2, ptr %763, align 8, !tbaa !9
  br label %2174

764:                                              ; preds = %163
  %765 = load double, ptr %15, align 8, !tbaa !50
  %766 = load ptr, ptr %4, align 8, !tbaa !5
  %767 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %766, i32 0, i32 30
  %768 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %767, i32 0, i32 4
  %769 = load ptr, ptr %768, align 8, !tbaa !48
  %770 = load i64, ptr %18, align 8, !tbaa !49
  %771 = getelementptr inbounds double, ptr %769, i64 %770
  store double %765, ptr %771, align 8, !tbaa !50
  %772 = load double, ptr %7, align 8, !tbaa !50
  %773 = load double, ptr %8, align 8, !tbaa !50
  %774 = load double, ptr %10, align 8, !tbaa !50
  %775 = load double, ptr %11, align 8, !tbaa !50
  %776 = load ptr, ptr %4, align 8, !tbaa !5
  %777 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %776, i32 0, i32 31
  %778 = load double, ptr %777, align 8, !tbaa !72
  %779 = load ptr, ptr %4, align 8, !tbaa !5
  %780 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %779, i32 0, i32 32
  %781 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %780, i32 0, i32 4
  %782 = load ptr, ptr %781, align 8, !tbaa !48
  %783 = load i64, ptr %18, align 8, !tbaa !49
  %784 = getelementptr inbounds double, ptr %782, i64 %783
  %785 = load double, ptr %784, align 8, !tbaa !50
  %786 = load double, ptr %9, align 8, !tbaa !50
  %787 = load double, ptr %6, align 8, !tbaa !50
  %788 = fsub double %786, %787
  %789 = load ptr, ptr %5, align 8, !tbaa !5
  %790 = call noundef zeroext i1 @_ZN11alglib_impl15derivativecheckEdddddddPNS_8ae_stateE(double noundef %772, double noundef %773, double noundef %774, double noundef %775, double noundef %778, double noundef %785, double noundef %788, ptr noundef %789)
  br i1 %790, label %799, label %791

791:                                              ; preds = %764
  %792 = load i64, ptr %18, align 8, !tbaa !49
  %793 = load ptr, ptr %4, align 8, !tbaa !5
  %794 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %793, i32 0, i32 44
  store i64 %792, ptr %794, align 8, !tbaa !54
  %795 = load ptr, ptr %4, align 8, !tbaa !5
  %796 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %795, i32 0, i32 43
  store i64 -7, ptr %796, align 8, !tbaa !73
  store i8 0, ptr %22, align 1, !tbaa !74
  %797 = load i8, ptr %22, align 1, !tbaa !74, !range !66, !noundef !67
  %798 = trunc i8 %797 to i1
  store i1 %798, ptr %3, align 1
  store i32 1, ptr %23, align 4
  br label %2289

799:                                              ; preds = %764
  %800 = load i64, ptr %19, align 8, !tbaa !49
  %801 = add nsw i64 %800, 1
  store i64 %801, ptr %19, align 8, !tbaa !49
  br label %517

802:                                              ; preds = %522
  %803 = load i64, ptr %18, align 8, !tbaa !49
  %804 = add nsw i64 %803, 1
  store i64 %804, ptr %18, align 8, !tbaa !49
  br label %469

805:                                              ; preds = %474
  %806 = load ptr, ptr %4, align 8, !tbaa !5
  %807 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %806, i32 0, i32 26
  store i8 0, ptr %807, align 2, !tbaa !71
  br label %808

808:                                              ; preds = %805, %376
  %809 = load ptr, ptr %4, align 8, !tbaa !5
  %810 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %809, i32 0, i32 34
  %811 = load i64, ptr %12, align 8, !tbaa !49
  %812 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %810, i64 noundef %811, ptr noundef %812)
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %813

813:                                              ; preds = %844, %808
  %814 = load i64, ptr %18, align 8, !tbaa !49
  %815 = load i64, ptr %12, align 8, !tbaa !49
  %816 = sub nsw i64 %815, 1
  %817 = icmp sle i64 %814, %816
  br i1 %817, label %818, label %847

818:                                              ; preds = %813
  %819 = load ptr, ptr %4, align 8, !tbaa !5
  %820 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %819, i32 0, i32 34
  %821 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %820, i32 0, i32 4
  %822 = load ptr, ptr %821, align 8, !tbaa !48
  %823 = load i64, ptr %18, align 8, !tbaa !49
  %824 = getelementptr inbounds double, ptr %822, i64 %823
  store double 1.000000e+00, ptr %824, align 8, !tbaa !50
  %825 = load ptr, ptr %4, align 8, !tbaa !5
  %826 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %825, i32 0, i32 17
  %827 = load i64, ptr %826, align 8, !tbaa !51
  %828 = icmp eq i64 %827, 1
  br i1 %828, label %829, label %843

829:                                              ; preds = %818
  %830 = load ptr, ptr %4, align 8, !tbaa !5
  %831 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %830, i32 0, i32 15
  %832 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %831, i32 0, i32 4
  %833 = load ptr, ptr %832, align 8, !tbaa !48
  %834 = load i64, ptr %18, align 8, !tbaa !49
  %835 = getelementptr inbounds double, ptr %833, i64 %834
  %836 = load double, ptr %835, align 8, !tbaa !50
  %837 = load ptr, ptr %4, align 8, !tbaa !5
  %838 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %837, i32 0, i32 34
  %839 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %838, i32 0, i32 4
  %840 = load ptr, ptr %839, align 8, !tbaa !48
  %841 = load i64, ptr %18, align 8, !tbaa !49
  %842 = getelementptr inbounds double, ptr %840, i64 %841
  store double %836, ptr %842, align 8, !tbaa !50
  br label %843

843:                                              ; preds = %829, %818
  br label %844

844:                                              ; preds = %843
  %845 = load i64, ptr %18, align 8, !tbaa !49
  %846 = add nsw i64 %845, 1
  store i64 %846, ptr %18, align 8, !tbaa !49
  br label %813, !llvm.loop !75

847:                                              ; preds = %813
  br label %848

848:                                              ; preds = %1571, %1568, %1532, %1283, %1177, %1035, %941, %847
  %849 = load ptr, ptr %4, align 8, !tbaa !5
  %850 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %849, i32 0, i32 51
  %851 = load ptr, ptr %5, align 8, !tbaa !5
  %852 = call noundef zeroext i1 @_ZN11alglib_impl14minlmiterationEPNS_10minlmstateEPNS_8ae_stateE(ptr noundef %850, ptr noundef %851)
  br i1 %852, label %854, label %853

853:                                              ; preds = %848
  br label %1572

854:                                              ; preds = %848
  %855 = load ptr, ptr %4, align 8, !tbaa !5
  %856 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %855, i32 0, i32 51
  %857 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %856, i32 0, i32 19
  %858 = load i8, ptr %857, align 4, !tbaa !76, !range !66, !noundef !67
  %859 = trunc i8 %858 to i1
  br i1 %859, label %861, label %860

860:                                              ; preds = %854
  br label %942

861:                                              ; preds = %854
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %862

862:                                              ; preds = %909, %861
  %863 = load i64, ptr %18, align 8, !tbaa !49
  %864 = load i64, ptr %12, align 8, !tbaa !49
  %865 = sub nsw i64 %864, 1
  %866 = icmp sgt i64 %863, %865
  br i1 %866, label %867, label %868

867:                                              ; preds = %862
  br label %941

868:                                              ; preds = %862
  %869 = load ptr, ptr %4, align 8, !tbaa !5
  %870 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %869, i32 0, i32 30
  %871 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %870, i32 0, i32 4
  %872 = load ptr, ptr %871, align 8, !tbaa !48
  %873 = getelementptr inbounds double, ptr %872, i64 0
  %874 = load ptr, ptr %4, align 8, !tbaa !5
  %875 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %874, i32 0, i32 51
  %876 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %875, i32 0, i32 9
  %877 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %876, i32 0, i32 4
  %878 = load ptr, ptr %877, align 8, !tbaa !48
  %879 = getelementptr inbounds double, ptr %878, i64 0
  %880 = load i64, ptr %14, align 8, !tbaa !49
  %881 = sub nsw i64 %880, 1
  %882 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %881)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %873, i64 noundef 1, ptr noundef %879, i64 noundef 1, i64 noundef %882)
  %883 = load ptr, ptr %4, align 8, !tbaa !5
  %884 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %883, i32 0, i32 29
  %885 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %884, i32 0, i32 4
  %886 = load ptr, ptr %885, align 8, !tbaa !48
  %887 = getelementptr inbounds double, ptr %886, i64 0
  %888 = load ptr, ptr %4, align 8, !tbaa !5
  %889 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %888, i32 0, i32 12
  %890 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %889, i32 0, i32 6
  %891 = load ptr, ptr %890, align 8, !tbaa !48
  %892 = load i64, ptr %18, align 8, !tbaa !49
  %893 = getelementptr inbounds ptr, ptr %891, i64 %892
  %894 = load ptr, ptr %893, align 8, !tbaa !5
  %895 = getelementptr inbounds double, ptr %894, i64 0
  %896 = load i64, ptr %13, align 8, !tbaa !49
  %897 = sub nsw i64 %896, 1
  %898 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %897)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %887, i64 noundef 1, ptr noundef %895, i64 noundef 1, i64 noundef %898)
  %899 = load i64, ptr %18, align 8, !tbaa !49
  %900 = load ptr, ptr %4, align 8, !tbaa !5
  %901 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %900, i32 0, i32 28
  store i64 %899, ptr %901, align 8, !tbaa !77
  %902 = load ptr, ptr %4, align 8, !tbaa !5
  %903 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %902, ptr noundef %903)
  %904 = load ptr, ptr %4, align 8, !tbaa !5
  %905 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %904, i32 0, i32 25
  store i8 1, ptr %905, align 1, !tbaa !78
  %906 = load ptr, ptr %4, align 8, !tbaa !5
  %907 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %906, i32 0, i32 55
  %908 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %907, i32 0, i32 0
  store i32 3, ptr %908, align 8, !tbaa !9
  br label %2174

909:                                              ; preds = %170
  %910 = load ptr, ptr %4, align 8, !tbaa !5
  %911 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %910, i32 0, i32 25
  store i8 0, ptr %911, align 1, !tbaa !78
  %912 = load ptr, ptr %4, align 8, !tbaa !5
  %913 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %912, i32 0, i32 34
  %914 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %913, i32 0, i32 4
  %915 = load ptr, ptr %914, align 8, !tbaa !48
  %916 = load i64, ptr %18, align 8, !tbaa !49
  %917 = getelementptr inbounds double, ptr %915, i64 %916
  %918 = load double, ptr %917, align 8, !tbaa !50
  store double %918, ptr %16, align 8, !tbaa !50
  %919 = load double, ptr %16, align 8, !tbaa !50
  %920 = load ptr, ptr %4, align 8, !tbaa !5
  %921 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %920, i32 0, i32 31
  %922 = load double, ptr %921, align 8, !tbaa !72
  %923 = load ptr, ptr %4, align 8, !tbaa !5
  %924 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %923, i32 0, i32 13
  %925 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %924, i32 0, i32 4
  %926 = load ptr, ptr %925, align 8, !tbaa !48
  %927 = load i64, ptr %18, align 8, !tbaa !49
  %928 = getelementptr inbounds double, ptr %926, i64 %927
  %929 = load double, ptr %928, align 8, !tbaa !50
  %930 = fsub double %922, %929
  %931 = fmul double %919, %930
  %932 = load ptr, ptr %4, align 8, !tbaa !5
  %933 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %932, i32 0, i32 51
  %934 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %933, i32 0, i32 11
  %935 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %934, i32 0, i32 4
  %936 = load ptr, ptr %935, align 8, !tbaa !48
  %937 = load i64, ptr %18, align 8, !tbaa !49
  %938 = getelementptr inbounds double, ptr %936, i64 %937
  store double %931, ptr %938, align 8, !tbaa !50
  %939 = load i64, ptr %18, align 8, !tbaa !49
  %940 = add nsw i64 %939, 1
  store i64 %940, ptr %18, align 8, !tbaa !49
  br label %862

941:                                              ; preds = %867
  br label %848

942:                                              ; preds = %860
  %943 = load ptr, ptr %4, align 8, !tbaa !5
  %944 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %943, i32 0, i32 51
  %945 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %944, i32 0, i32 15
  %946 = load i8, ptr %945, align 8, !tbaa !79, !range !66, !noundef !67
  %947 = trunc i8 %946 to i1
  br i1 %947, label %949, label %948

948:                                              ; preds = %942
  br label %1036

949:                                              ; preds = %942
  %950 = load ptr, ptr %4, align 8, !tbaa !5
  %951 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %950, i32 0, i32 51
  %952 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %951, i32 0, i32 10
  store double 0.000000e+00, ptr %952, align 8, !tbaa !80
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %953

953:                                              ; preds = %1000, %949
  %954 = load i64, ptr %18, align 8, !tbaa !49
  %955 = load i64, ptr %12, align 8, !tbaa !49
  %956 = sub nsw i64 %955, 1
  %957 = icmp sgt i64 %954, %956
  br i1 %957, label %958, label %959

958:                                              ; preds = %953
  br label %1035

959:                                              ; preds = %953
  %960 = load ptr, ptr %4, align 8, !tbaa !5
  %961 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %960, i32 0, i32 30
  %962 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %961, i32 0, i32 4
  %963 = load ptr, ptr %962, align 8, !tbaa !48
  %964 = getelementptr inbounds double, ptr %963, i64 0
  %965 = load ptr, ptr %4, align 8, !tbaa !5
  %966 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %965, i32 0, i32 51
  %967 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %966, i32 0, i32 9
  %968 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %967, i32 0, i32 4
  %969 = load ptr, ptr %968, align 8, !tbaa !48
  %970 = getelementptr inbounds double, ptr %969, i64 0
  %971 = load i64, ptr %14, align 8, !tbaa !49
  %972 = sub nsw i64 %971, 1
  %973 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %972)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %964, i64 noundef 1, ptr noundef %970, i64 noundef 1, i64 noundef %973)
  %974 = load ptr, ptr %4, align 8, !tbaa !5
  %975 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %974, i32 0, i32 29
  %976 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %975, i32 0, i32 4
  %977 = load ptr, ptr %976, align 8, !tbaa !48
  %978 = getelementptr inbounds double, ptr %977, i64 0
  %979 = load ptr, ptr %4, align 8, !tbaa !5
  %980 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %979, i32 0, i32 12
  %981 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %980, i32 0, i32 6
  %982 = load ptr, ptr %981, align 8, !tbaa !48
  %983 = load i64, ptr %18, align 8, !tbaa !49
  %984 = getelementptr inbounds ptr, ptr %982, i64 %983
  %985 = load ptr, ptr %984, align 8, !tbaa !5
  %986 = getelementptr inbounds double, ptr %985, i64 0
  %987 = load i64, ptr %13, align 8, !tbaa !49
  %988 = sub nsw i64 %987, 1
  %989 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %988)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %978, i64 noundef 1, ptr noundef %986, i64 noundef 1, i64 noundef %989)
  %990 = load i64, ptr %18, align 8, !tbaa !49
  %991 = load ptr, ptr %4, align 8, !tbaa !5
  %992 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %991, i32 0, i32 28
  store i64 %990, ptr %992, align 8, !tbaa !77
  %993 = load ptr, ptr %4, align 8, !tbaa !5
  %994 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %993, ptr noundef %994)
  %995 = load ptr, ptr %4, align 8, !tbaa !5
  %996 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %995, i32 0, i32 25
  store i8 1, ptr %996, align 1, !tbaa !78
  %997 = load ptr, ptr %4, align 8, !tbaa !5
  %998 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %997, i32 0, i32 55
  %999 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %998, i32 0, i32 0
  store i32 4, ptr %999, align 8, !tbaa !9
  br label %2174

1000:                                             ; preds = %177
  %1001 = load ptr, ptr %4, align 8, !tbaa !5
  %1002 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1001, i32 0, i32 25
  store i8 0, ptr %1002, align 1, !tbaa !78
  %1003 = load ptr, ptr %4, align 8, !tbaa !5
  %1004 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1003, i32 0, i32 34
  %1005 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1004, i32 0, i32 4
  %1006 = load ptr, ptr %1005, align 8, !tbaa !48
  %1007 = load i64, ptr %18, align 8, !tbaa !49
  %1008 = getelementptr inbounds double, ptr %1006, i64 %1007
  %1009 = load double, ptr %1008, align 8, !tbaa !50
  store double %1009, ptr %16, align 8, !tbaa !50
  %1010 = load ptr, ptr %4, align 8, !tbaa !5
  %1011 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1010, i32 0, i32 51
  %1012 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1011, i32 0, i32 10
  %1013 = load double, ptr %1012, align 8, !tbaa !80
  %1014 = load double, ptr %16, align 8, !tbaa !50
  %1015 = load ptr, ptr %4, align 8, !tbaa !5
  %1016 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1015, i32 0, i32 31
  %1017 = load double, ptr %1016, align 8, !tbaa !72
  %1018 = load ptr, ptr %4, align 8, !tbaa !5
  %1019 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1018, i32 0, i32 13
  %1020 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1019, i32 0, i32 4
  %1021 = load ptr, ptr %1020, align 8, !tbaa !48
  %1022 = load i64, ptr %18, align 8, !tbaa !49
  %1023 = getelementptr inbounds double, ptr %1021, i64 %1022
  %1024 = load double, ptr %1023, align 8, !tbaa !50
  %1025 = fsub double %1017, %1024
  %1026 = fmul double %1014, %1025
  %1027 = load ptr, ptr %5, align 8, !tbaa !5
  %1028 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1026, ptr noundef %1027)
  %1029 = fadd double %1013, %1028
  %1030 = load ptr, ptr %4, align 8, !tbaa !5
  %1031 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1030, i32 0, i32 51
  %1032 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1031, i32 0, i32 10
  store double %1029, ptr %1032, align 8, !tbaa !80
  %1033 = load i64, ptr %18, align 8, !tbaa !49
  %1034 = add nsw i64 %1033, 1
  store i64 %1034, ptr %18, align 8, !tbaa !49
  br label %953

1035:                                             ; preds = %958
  br label %848

1036:                                             ; preds = %948
  %1037 = load ptr, ptr %4, align 8, !tbaa !5
  %1038 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1037, i32 0, i32 51
  %1039 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1038, i32 0, i32 16
  %1040 = load i8, ptr %1039, align 1, !tbaa !81, !range !66, !noundef !67
  %1041 = trunc i8 %1040 to i1
  br i1 %1041, label %1043, label %1042

1042:                                             ; preds = %1036
  br label %1178

1043:                                             ; preds = %1036
  %1044 = load ptr, ptr %4, align 8, !tbaa !5
  %1045 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1044, i32 0, i32 51
  %1046 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1045, i32 0, i32 10
  store double 0.000000e+00, ptr %1046, align 8, !tbaa !80
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1047

1047:                                             ; preds = %1060, %1043
  %1048 = load i64, ptr %18, align 8, !tbaa !49
  %1049 = load i64, ptr %14, align 8, !tbaa !49
  %1050 = sub nsw i64 %1049, 1
  %1051 = icmp sle i64 %1048, %1050
  br i1 %1051, label %1052, label %1063

1052:                                             ; preds = %1047
  %1053 = load ptr, ptr %4, align 8, !tbaa !5
  %1054 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1053, i32 0, i32 51
  %1055 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1054, i32 0, i32 14
  %1056 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1055, i32 0, i32 4
  %1057 = load ptr, ptr %1056, align 8, !tbaa !48
  %1058 = load i64, ptr %18, align 8, !tbaa !49
  %1059 = getelementptr inbounds double, ptr %1057, i64 %1058
  store double 0.000000e+00, ptr %1059, align 8, !tbaa !50
  br label %1060

1060:                                             ; preds = %1052
  %1061 = load i64, ptr %18, align 8, !tbaa !49
  %1062 = add nsw i64 %1061, 1
  store i64 %1062, ptr %18, align 8, !tbaa !49
  br label %1047, !llvm.loop !82

1063:                                             ; preds = %1047
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1064

1064:                                             ; preds = %1111, %1063
  %1065 = load i64, ptr %18, align 8, !tbaa !49
  %1066 = load i64, ptr %12, align 8, !tbaa !49
  %1067 = sub nsw i64 %1066, 1
  %1068 = icmp sgt i64 %1065, %1067
  br i1 %1068, label %1069, label %1070

1069:                                             ; preds = %1064
  br label %1177

1070:                                             ; preds = %1064
  %1071 = load ptr, ptr %4, align 8, !tbaa !5
  %1072 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1071, i32 0, i32 30
  %1073 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1072, i32 0, i32 4
  %1074 = load ptr, ptr %1073, align 8, !tbaa !48
  %1075 = getelementptr inbounds double, ptr %1074, i64 0
  %1076 = load ptr, ptr %4, align 8, !tbaa !5
  %1077 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1076, i32 0, i32 51
  %1078 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1077, i32 0, i32 9
  %1079 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1078, i32 0, i32 4
  %1080 = load ptr, ptr %1079, align 8, !tbaa !48
  %1081 = getelementptr inbounds double, ptr %1080, i64 0
  %1082 = load i64, ptr %14, align 8, !tbaa !49
  %1083 = sub nsw i64 %1082, 1
  %1084 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1083)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1075, i64 noundef 1, ptr noundef %1081, i64 noundef 1, i64 noundef %1084)
  %1085 = load ptr, ptr %4, align 8, !tbaa !5
  %1086 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1085, i32 0, i32 29
  %1087 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1086, i32 0, i32 4
  %1088 = load ptr, ptr %1087, align 8, !tbaa !48
  %1089 = getelementptr inbounds double, ptr %1088, i64 0
  %1090 = load ptr, ptr %4, align 8, !tbaa !5
  %1091 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1090, i32 0, i32 12
  %1092 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1091, i32 0, i32 6
  %1093 = load ptr, ptr %1092, align 8, !tbaa !48
  %1094 = load i64, ptr %18, align 8, !tbaa !49
  %1095 = getelementptr inbounds ptr, ptr %1093, i64 %1094
  %1096 = load ptr, ptr %1095, align 8, !tbaa !5
  %1097 = getelementptr inbounds double, ptr %1096, i64 0
  %1098 = load i64, ptr %13, align 8, !tbaa !49
  %1099 = sub nsw i64 %1098, 1
  %1100 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1099)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1089, i64 noundef 1, ptr noundef %1097, i64 noundef 1, i64 noundef %1100)
  %1101 = load i64, ptr %18, align 8, !tbaa !49
  %1102 = load ptr, ptr %4, align 8, !tbaa !5
  %1103 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1102, i32 0, i32 28
  store i64 %1101, ptr %1103, align 8, !tbaa !77
  %1104 = load ptr, ptr %4, align 8, !tbaa !5
  %1105 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %1104, ptr noundef %1105)
  %1106 = load ptr, ptr %4, align 8, !tbaa !5
  %1107 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1106, i32 0, i32 26
  store i8 1, ptr %1107, align 2, !tbaa !71
  %1108 = load ptr, ptr %4, align 8, !tbaa !5
  %1109 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1108, i32 0, i32 55
  %1110 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %1109, i32 0, i32 0
  store i32 5, ptr %1110, align 8, !tbaa !9
  br label %2174

1111:                                             ; preds = %184
  %1112 = load ptr, ptr %4, align 8, !tbaa !5
  %1113 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1112, i32 0, i32 26
  store i8 0, ptr %1113, align 2, !tbaa !71
  %1114 = load ptr, ptr %4, align 8, !tbaa !5
  %1115 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1114, i32 0, i32 34
  %1116 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1115, i32 0, i32 4
  %1117 = load ptr, ptr %1116, align 8, !tbaa !48
  %1118 = load i64, ptr %18, align 8, !tbaa !49
  %1119 = getelementptr inbounds double, ptr %1117, i64 %1118
  %1120 = load double, ptr %1119, align 8, !tbaa !50
  store double %1120, ptr %16, align 8, !tbaa !50
  %1121 = load ptr, ptr %4, align 8, !tbaa !5
  %1122 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1121, i32 0, i32 51
  %1123 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1122, i32 0, i32 10
  %1124 = load double, ptr %1123, align 8, !tbaa !80
  %1125 = load double, ptr %16, align 8, !tbaa !50
  %1126 = load ptr, ptr %4, align 8, !tbaa !5
  %1127 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1126, i32 0, i32 31
  %1128 = load double, ptr %1127, align 8, !tbaa !72
  %1129 = load ptr, ptr %4, align 8, !tbaa !5
  %1130 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1129, i32 0, i32 13
  %1131 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1130, i32 0, i32 4
  %1132 = load ptr, ptr %1131, align 8, !tbaa !48
  %1133 = load i64, ptr %18, align 8, !tbaa !49
  %1134 = getelementptr inbounds double, ptr %1132, i64 %1133
  %1135 = load double, ptr %1134, align 8, !tbaa !50
  %1136 = fsub double %1128, %1135
  %1137 = fmul double %1125, %1136
  %1138 = load ptr, ptr %5, align 8, !tbaa !5
  %1139 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1137, ptr noundef %1138)
  %1140 = fadd double %1124, %1139
  %1141 = load ptr, ptr %4, align 8, !tbaa !5
  %1142 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1141, i32 0, i32 51
  %1143 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1142, i32 0, i32 10
  store double %1140, ptr %1143, align 8, !tbaa !80
  %1144 = load double, ptr %16, align 8, !tbaa !50
  %1145 = load ptr, ptr %5, align 8, !tbaa !5
  %1146 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1144, ptr noundef %1145)
  %1147 = fmul double %1146, 2.000000e+00
  %1148 = load ptr, ptr %4, align 8, !tbaa !5
  %1149 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1148, i32 0, i32 31
  %1150 = load double, ptr %1149, align 8, !tbaa !72
  %1151 = load ptr, ptr %4, align 8, !tbaa !5
  %1152 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1151, i32 0, i32 13
  %1153 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1152, i32 0, i32 4
  %1154 = load ptr, ptr %1153, align 8, !tbaa !48
  %1155 = load i64, ptr %18, align 8, !tbaa !49
  %1156 = getelementptr inbounds double, ptr %1154, i64 %1155
  %1157 = load double, ptr %1156, align 8, !tbaa !50
  %1158 = fsub double %1150, %1157
  %1159 = fmul double %1147, %1158
  store double %1159, ptr %15, align 8, !tbaa !50
  %1160 = load ptr, ptr %4, align 8, !tbaa !5
  %1161 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1160, i32 0, i32 51
  %1162 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1161, i32 0, i32 14
  %1163 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1162, i32 0, i32 4
  %1164 = load ptr, ptr %1163, align 8, !tbaa !48
  %1165 = getelementptr inbounds double, ptr %1164, i64 0
  %1166 = load ptr, ptr %4, align 8, !tbaa !5
  %1167 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1166, i32 0, i32 32
  %1168 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1167, i32 0, i32 4
  %1169 = load ptr, ptr %1168, align 8, !tbaa !48
  %1170 = getelementptr inbounds double, ptr %1169, i64 0
  %1171 = load i64, ptr %14, align 8, !tbaa !49
  %1172 = sub nsw i64 %1171, 1
  %1173 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1172)
  %1174 = load double, ptr %15, align 8, !tbaa !50
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %1165, i64 noundef 1, ptr noundef %1170, i64 noundef 1, i64 noundef %1173, double noundef %1174)
  %1175 = load i64, ptr %18, align 8, !tbaa !49
  %1176 = add nsw i64 %1175, 1
  store i64 %1176, ptr %18, align 8, !tbaa !49
  br label %1064

1177:                                             ; preds = %1069
  br label %848

1178:                                             ; preds = %1042
  %1179 = load ptr, ptr %4, align 8, !tbaa !5
  %1180 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1179, i32 0, i32 51
  %1181 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1180, i32 0, i32 18
  %1182 = load i8, ptr %1181, align 1, !tbaa !83, !range !66, !noundef !67
  %1183 = trunc i8 %1182 to i1
  br i1 %1183, label %1185, label %1184

1184:                                             ; preds = %1178
  br label %1284

1185:                                             ; preds = %1178
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1186

1186:                                             ; preds = %1233, %1185
  %1187 = load i64, ptr %18, align 8, !tbaa !49
  %1188 = load i64, ptr %12, align 8, !tbaa !49
  %1189 = sub nsw i64 %1188, 1
  %1190 = icmp sgt i64 %1187, %1189
  br i1 %1190, label %1191, label %1192

1191:                                             ; preds = %1186
  br label %1283

1192:                                             ; preds = %1186
  %1193 = load ptr, ptr %4, align 8, !tbaa !5
  %1194 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1193, i32 0, i32 30
  %1195 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1194, i32 0, i32 4
  %1196 = load ptr, ptr %1195, align 8, !tbaa !48
  %1197 = getelementptr inbounds double, ptr %1196, i64 0
  %1198 = load ptr, ptr %4, align 8, !tbaa !5
  %1199 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1198, i32 0, i32 51
  %1200 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1199, i32 0, i32 9
  %1201 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1200, i32 0, i32 4
  %1202 = load ptr, ptr %1201, align 8, !tbaa !48
  %1203 = getelementptr inbounds double, ptr %1202, i64 0
  %1204 = load i64, ptr %14, align 8, !tbaa !49
  %1205 = sub nsw i64 %1204, 1
  %1206 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1205)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1197, i64 noundef 1, ptr noundef %1203, i64 noundef 1, i64 noundef %1206)
  %1207 = load ptr, ptr %4, align 8, !tbaa !5
  %1208 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1207, i32 0, i32 29
  %1209 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1208, i32 0, i32 4
  %1210 = load ptr, ptr %1209, align 8, !tbaa !48
  %1211 = getelementptr inbounds double, ptr %1210, i64 0
  %1212 = load ptr, ptr %4, align 8, !tbaa !5
  %1213 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1212, i32 0, i32 12
  %1214 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1213, i32 0, i32 6
  %1215 = load ptr, ptr %1214, align 8, !tbaa !48
  %1216 = load i64, ptr %18, align 8, !tbaa !49
  %1217 = getelementptr inbounds ptr, ptr %1215, i64 %1216
  %1218 = load ptr, ptr %1217, align 8, !tbaa !5
  %1219 = getelementptr inbounds double, ptr %1218, i64 0
  %1220 = load i64, ptr %13, align 8, !tbaa !49
  %1221 = sub nsw i64 %1220, 1
  %1222 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1221)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1211, i64 noundef 1, ptr noundef %1219, i64 noundef 1, i64 noundef %1222)
  %1223 = load i64, ptr %18, align 8, !tbaa !49
  %1224 = load ptr, ptr %4, align 8, !tbaa !5
  %1225 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1224, i32 0, i32 28
  store i64 %1223, ptr %1225, align 8, !tbaa !77
  %1226 = load ptr, ptr %4, align 8, !tbaa !5
  %1227 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %1226, ptr noundef %1227)
  %1228 = load ptr, ptr %4, align 8, !tbaa !5
  %1229 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1228, i32 0, i32 26
  store i8 1, ptr %1229, align 2, !tbaa !71
  %1230 = load ptr, ptr %4, align 8, !tbaa !5
  %1231 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1230, i32 0, i32 55
  %1232 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %1231, i32 0, i32 0
  store i32 6, ptr %1232, align 8, !tbaa !9
  br label %2174

1233:                                             ; preds = %191
  %1234 = load ptr, ptr %4, align 8, !tbaa !5
  %1235 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1234, i32 0, i32 26
  store i8 0, ptr %1235, align 2, !tbaa !71
  %1236 = load ptr, ptr %4, align 8, !tbaa !5
  %1237 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1236, i32 0, i32 34
  %1238 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1237, i32 0, i32 4
  %1239 = load ptr, ptr %1238, align 8, !tbaa !48
  %1240 = load i64, ptr %18, align 8, !tbaa !49
  %1241 = getelementptr inbounds double, ptr %1239, i64 %1240
  %1242 = load double, ptr %1241, align 8, !tbaa !50
  store double %1242, ptr %16, align 8, !tbaa !50
  %1243 = load double, ptr %16, align 8, !tbaa !50
  %1244 = load ptr, ptr %4, align 8, !tbaa !5
  %1245 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1244, i32 0, i32 31
  %1246 = load double, ptr %1245, align 8, !tbaa !72
  %1247 = load ptr, ptr %4, align 8, !tbaa !5
  %1248 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1247, i32 0, i32 13
  %1249 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1248, i32 0, i32 4
  %1250 = load ptr, ptr %1249, align 8, !tbaa !48
  %1251 = load i64, ptr %18, align 8, !tbaa !49
  %1252 = getelementptr inbounds double, ptr %1250, i64 %1251
  %1253 = load double, ptr %1252, align 8, !tbaa !50
  %1254 = fsub double %1246, %1253
  %1255 = fmul double %1243, %1254
  %1256 = load ptr, ptr %4, align 8, !tbaa !5
  %1257 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1256, i32 0, i32 51
  %1258 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1257, i32 0, i32 11
  %1259 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1258, i32 0, i32 4
  %1260 = load ptr, ptr %1259, align 8, !tbaa !48
  %1261 = load i64, ptr %18, align 8, !tbaa !49
  %1262 = getelementptr inbounds double, ptr %1260, i64 %1261
  store double %1255, ptr %1262, align 8, !tbaa !50
  %1263 = load ptr, ptr %4, align 8, !tbaa !5
  %1264 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1263, i32 0, i32 51
  %1265 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1264, i32 0, i32 12
  %1266 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1265, i32 0, i32 6
  %1267 = load ptr, ptr %1266, align 8, !tbaa !48
  %1268 = load i64, ptr %18, align 8, !tbaa !49
  %1269 = getelementptr inbounds ptr, ptr %1267, i64 %1268
  %1270 = load ptr, ptr %1269, align 8, !tbaa !5
  %1271 = getelementptr inbounds double, ptr %1270, i64 0
  %1272 = load ptr, ptr %4, align 8, !tbaa !5
  %1273 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1272, i32 0, i32 32
  %1274 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1273, i32 0, i32 4
  %1275 = load ptr, ptr %1274, align 8, !tbaa !48
  %1276 = getelementptr inbounds double, ptr %1275, i64 0
  %1277 = load i64, ptr %14, align 8, !tbaa !49
  %1278 = sub nsw i64 %1277, 1
  %1279 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1278)
  %1280 = load double, ptr %16, align 8, !tbaa !50
  call void @_ZN11alglib_impl10ae_v_movedEPdlPKdlld(ptr noundef %1271, i64 noundef 1, ptr noundef %1276, i64 noundef 1, i64 noundef %1279, double noundef %1280)
  %1281 = load i64, ptr %18, align 8, !tbaa !49
  %1282 = add nsw i64 %1281, 1
  store i64 %1282, ptr %18, align 8, !tbaa !49
  br label %1186

1283:                                             ; preds = %1191
  br label %848

1284:                                             ; preds = %1184
  %1285 = load ptr, ptr %4, align 8, !tbaa !5
  %1286 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1285, i32 0, i32 51
  %1287 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1286, i32 0, i32 17
  %1288 = load i8, ptr %1287, align 2, !tbaa !84, !range !66, !noundef !67
  %1289 = trunc i8 %1288 to i1
  br i1 %1289, label %1291, label %1290

1290:                                             ; preds = %1284
  br label %1533

1291:                                             ; preds = %1284
  %1292 = load ptr, ptr %4, align 8, !tbaa !5
  %1293 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1292, i32 0, i32 51
  %1294 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1293, i32 0, i32 10
  store double 0.000000e+00, ptr %1294, align 8, !tbaa !80
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1295

1295:                                             ; preds = %1308, %1291
  %1296 = load i64, ptr %18, align 8, !tbaa !49
  %1297 = load i64, ptr %14, align 8, !tbaa !49
  %1298 = sub nsw i64 %1297, 1
  %1299 = icmp sle i64 %1296, %1298
  br i1 %1299, label %1300, label %1311

1300:                                             ; preds = %1295
  %1301 = load ptr, ptr %4, align 8, !tbaa !5
  %1302 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1301, i32 0, i32 51
  %1303 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1302, i32 0, i32 14
  %1304 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1303, i32 0, i32 4
  %1305 = load ptr, ptr %1304, align 8, !tbaa !48
  %1306 = load i64, ptr %18, align 8, !tbaa !49
  %1307 = getelementptr inbounds double, ptr %1305, i64 %1306
  store double 0.000000e+00, ptr %1307, align 8, !tbaa !50
  br label %1308

1308:                                             ; preds = %1300
  %1309 = load i64, ptr %18, align 8, !tbaa !49
  %1310 = add nsw i64 %1309, 1
  store i64 %1310, ptr %18, align 8, !tbaa !49
  br label %1295, !llvm.loop !85

1311:                                             ; preds = %1295
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1312

1312:                                             ; preds = %1338, %1311
  %1313 = load i64, ptr %18, align 8, !tbaa !49
  %1314 = load i64, ptr %14, align 8, !tbaa !49
  %1315 = sub nsw i64 %1314, 1
  %1316 = icmp sle i64 %1313, %1315
  br i1 %1316, label %1317, label %1341

1317:                                             ; preds = %1312
  store i64 0, ptr %19, align 8, !tbaa !49
  br label %1318

1318:                                             ; preds = %1334, %1317
  %1319 = load i64, ptr %19, align 8, !tbaa !49
  %1320 = load i64, ptr %14, align 8, !tbaa !49
  %1321 = sub nsw i64 %1320, 1
  %1322 = icmp sle i64 %1319, %1321
  br i1 %1322, label %1323, label %1337

1323:                                             ; preds = %1318
  %1324 = load ptr, ptr %4, align 8, !tbaa !5
  %1325 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1324, i32 0, i32 51
  %1326 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1325, i32 0, i32 13
  %1327 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1326, i32 0, i32 6
  %1328 = load ptr, ptr %1327, align 8, !tbaa !48
  %1329 = load i64, ptr %18, align 8, !tbaa !49
  %1330 = getelementptr inbounds ptr, ptr %1328, i64 %1329
  %1331 = load ptr, ptr %1330, align 8, !tbaa !5
  %1332 = load i64, ptr %19, align 8, !tbaa !49
  %1333 = getelementptr inbounds double, ptr %1331, i64 %1332
  store double 0.000000e+00, ptr %1333, align 8, !tbaa !50
  br label %1334

1334:                                             ; preds = %1323
  %1335 = load i64, ptr %19, align 8, !tbaa !49
  %1336 = add nsw i64 %1335, 1
  store i64 %1336, ptr %19, align 8, !tbaa !49
  br label %1318, !llvm.loop !86

1337:                                             ; preds = %1318
  br label %1338

1338:                                             ; preds = %1337
  %1339 = load i64, ptr %18, align 8, !tbaa !49
  %1340 = add nsw i64 %1339, 1
  store i64 %1340, ptr %18, align 8, !tbaa !49
  br label %1312, !llvm.loop !87

1341:                                             ; preds = %1312
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1342

1342:                                             ; preds = %1529, %1341
  %1343 = load i64, ptr %18, align 8, !tbaa !49
  %1344 = load i64, ptr %12, align 8, !tbaa !49
  %1345 = sub nsw i64 %1344, 1
  %1346 = icmp sgt i64 %1343, %1345
  br i1 %1346, label %1347, label %1348

1347:                                             ; preds = %1342
  br label %1532

1348:                                             ; preds = %1342
  %1349 = load ptr, ptr %4, align 8, !tbaa !5
  %1350 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1349, i32 0, i32 30
  %1351 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1350, i32 0, i32 4
  %1352 = load ptr, ptr %1351, align 8, !tbaa !48
  %1353 = getelementptr inbounds double, ptr %1352, i64 0
  %1354 = load ptr, ptr %4, align 8, !tbaa !5
  %1355 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1354, i32 0, i32 51
  %1356 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1355, i32 0, i32 9
  %1357 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1356, i32 0, i32 4
  %1358 = load ptr, ptr %1357, align 8, !tbaa !48
  %1359 = getelementptr inbounds double, ptr %1358, i64 0
  %1360 = load i64, ptr %14, align 8, !tbaa !49
  %1361 = sub nsw i64 %1360, 1
  %1362 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1361)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1353, i64 noundef 1, ptr noundef %1359, i64 noundef 1, i64 noundef %1362)
  %1363 = load ptr, ptr %4, align 8, !tbaa !5
  %1364 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1363, i32 0, i32 29
  %1365 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1364, i32 0, i32 4
  %1366 = load ptr, ptr %1365, align 8, !tbaa !48
  %1367 = getelementptr inbounds double, ptr %1366, i64 0
  %1368 = load ptr, ptr %4, align 8, !tbaa !5
  %1369 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1368, i32 0, i32 12
  %1370 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1369, i32 0, i32 6
  %1371 = load ptr, ptr %1370, align 8, !tbaa !48
  %1372 = load i64, ptr %18, align 8, !tbaa !49
  %1373 = getelementptr inbounds ptr, ptr %1371, i64 %1372
  %1374 = load ptr, ptr %1373, align 8, !tbaa !5
  %1375 = getelementptr inbounds double, ptr %1374, i64 0
  %1376 = load i64, ptr %13, align 8, !tbaa !49
  %1377 = sub nsw i64 %1376, 1
  %1378 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1377)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1367, i64 noundef 1, ptr noundef %1375, i64 noundef 1, i64 noundef %1378)
  %1379 = load i64, ptr %18, align 8, !tbaa !49
  %1380 = load ptr, ptr %4, align 8, !tbaa !5
  %1381 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1380, i32 0, i32 28
  store i64 %1379, ptr %1381, align 8, !tbaa !77
  %1382 = load ptr, ptr %4, align 8, !tbaa !5
  %1383 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %1382, ptr noundef %1383)
  %1384 = load ptr, ptr %4, align 8, !tbaa !5
  %1385 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1384, i32 0, i32 27
  store i8 1, ptr %1385, align 1, !tbaa !88
  %1386 = load ptr, ptr %4, align 8, !tbaa !5
  %1387 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1386, i32 0, i32 55
  %1388 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %1387, i32 0, i32 0
  store i32 7, ptr %1388, align 8, !tbaa !9
  br label %2174

1389:                                             ; preds = %198
  %1390 = load ptr, ptr %4, align 8, !tbaa !5
  %1391 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1390, i32 0, i32 27
  store i8 0, ptr %1391, align 1, !tbaa !88
  %1392 = load ptr, ptr %4, align 8, !tbaa !5
  %1393 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1392, i32 0, i32 34
  %1394 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1393, i32 0, i32 4
  %1395 = load ptr, ptr %1394, align 8, !tbaa !48
  %1396 = load i64, ptr %18, align 8, !tbaa !49
  %1397 = getelementptr inbounds double, ptr %1395, i64 %1396
  %1398 = load double, ptr %1397, align 8, !tbaa !50
  store double %1398, ptr %16, align 8, !tbaa !50
  %1399 = load ptr, ptr %4, align 8, !tbaa !5
  %1400 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1399, i32 0, i32 51
  %1401 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1400, i32 0, i32 10
  %1402 = load double, ptr %1401, align 8, !tbaa !80
  %1403 = load double, ptr %16, align 8, !tbaa !50
  %1404 = load ptr, ptr %4, align 8, !tbaa !5
  %1405 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1404, i32 0, i32 31
  %1406 = load double, ptr %1405, align 8, !tbaa !72
  %1407 = load ptr, ptr %4, align 8, !tbaa !5
  %1408 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1407, i32 0, i32 13
  %1409 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1408, i32 0, i32 4
  %1410 = load ptr, ptr %1409, align 8, !tbaa !48
  %1411 = load i64, ptr %18, align 8, !tbaa !49
  %1412 = getelementptr inbounds double, ptr %1410, i64 %1411
  %1413 = load double, ptr %1412, align 8, !tbaa !50
  %1414 = fsub double %1406, %1413
  %1415 = fmul double %1403, %1414
  %1416 = load ptr, ptr %5, align 8, !tbaa !5
  %1417 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1415, ptr noundef %1416)
  %1418 = fadd double %1402, %1417
  %1419 = load ptr, ptr %4, align 8, !tbaa !5
  %1420 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1419, i32 0, i32 51
  %1421 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1420, i32 0, i32 10
  store double %1418, ptr %1421, align 8, !tbaa !80
  %1422 = load double, ptr %16, align 8, !tbaa !50
  %1423 = load ptr, ptr %5, align 8, !tbaa !5
  %1424 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1422, ptr noundef %1423)
  %1425 = fmul double %1424, 2.000000e+00
  %1426 = load ptr, ptr %4, align 8, !tbaa !5
  %1427 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1426, i32 0, i32 31
  %1428 = load double, ptr %1427, align 8, !tbaa !72
  %1429 = load ptr, ptr %4, align 8, !tbaa !5
  %1430 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1429, i32 0, i32 13
  %1431 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1430, i32 0, i32 4
  %1432 = load ptr, ptr %1431, align 8, !tbaa !48
  %1433 = load i64, ptr %18, align 8, !tbaa !49
  %1434 = getelementptr inbounds double, ptr %1432, i64 %1433
  %1435 = load double, ptr %1434, align 8, !tbaa !50
  %1436 = fsub double %1428, %1435
  %1437 = fmul double %1425, %1436
  store double %1437, ptr %15, align 8, !tbaa !50
  %1438 = load ptr, ptr %4, align 8, !tbaa !5
  %1439 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1438, i32 0, i32 51
  %1440 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1439, i32 0, i32 14
  %1441 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1440, i32 0, i32 4
  %1442 = load ptr, ptr %1441, align 8, !tbaa !48
  %1443 = getelementptr inbounds double, ptr %1442, i64 0
  %1444 = load ptr, ptr %4, align 8, !tbaa !5
  %1445 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1444, i32 0, i32 32
  %1446 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1445, i32 0, i32 4
  %1447 = load ptr, ptr %1446, align 8, !tbaa !48
  %1448 = getelementptr inbounds double, ptr %1447, i64 0
  %1449 = load i64, ptr %14, align 8, !tbaa !49
  %1450 = sub nsw i64 %1449, 1
  %1451 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1450)
  %1452 = load double, ptr %15, align 8, !tbaa !50
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %1443, i64 noundef 1, ptr noundef %1448, i64 noundef 1, i64 noundef %1451, double noundef %1452)
  store i64 0, ptr %19, align 8, !tbaa !49
  br label %1453

1453:                                             ; preds = %1526, %1389
  %1454 = load i64, ptr %19, align 8, !tbaa !49
  %1455 = load i64, ptr %14, align 8, !tbaa !49
  %1456 = sub nsw i64 %1455, 1
  %1457 = icmp sle i64 %1454, %1456
  br i1 %1457, label %1458, label %1529

1458:                                             ; preds = %1453
  %1459 = load double, ptr %16, align 8, !tbaa !50
  %1460 = load ptr, ptr %5, align 8, !tbaa !5
  %1461 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1459, ptr noundef %1460)
  %1462 = fmul double 2.000000e+00, %1461
  %1463 = load ptr, ptr %4, align 8, !tbaa !5
  %1464 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1463, i32 0, i32 32
  %1465 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1464, i32 0, i32 4
  %1466 = load ptr, ptr %1465, align 8, !tbaa !48
  %1467 = load i64, ptr %19, align 8, !tbaa !49
  %1468 = getelementptr inbounds double, ptr %1466, i64 %1467
  %1469 = load double, ptr %1468, align 8, !tbaa !50
  %1470 = fmul double %1462, %1469
  store double %1470, ptr %15, align 8, !tbaa !50
  %1471 = load ptr, ptr %4, align 8, !tbaa !5
  %1472 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1471, i32 0, i32 51
  %1473 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1472, i32 0, i32 13
  %1474 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1473, i32 0, i32 6
  %1475 = load ptr, ptr %1474, align 8, !tbaa !48
  %1476 = load i64, ptr %19, align 8, !tbaa !49
  %1477 = getelementptr inbounds ptr, ptr %1475, i64 %1476
  %1478 = load ptr, ptr %1477, align 8, !tbaa !5
  %1479 = getelementptr inbounds double, ptr %1478, i64 0
  %1480 = load ptr, ptr %4, align 8, !tbaa !5
  %1481 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1480, i32 0, i32 32
  %1482 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1481, i32 0, i32 4
  %1483 = load ptr, ptr %1482, align 8, !tbaa !48
  %1484 = getelementptr inbounds double, ptr %1483, i64 0
  %1485 = load i64, ptr %14, align 8, !tbaa !49
  %1486 = sub nsw i64 %1485, 1
  %1487 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1486)
  %1488 = load double, ptr %15, align 8, !tbaa !50
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %1479, i64 noundef 1, ptr noundef %1484, i64 noundef 1, i64 noundef %1487, double noundef %1488)
  %1489 = load double, ptr %16, align 8, !tbaa !50
  %1490 = load ptr, ptr %5, align 8, !tbaa !5
  %1491 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1489, ptr noundef %1490)
  %1492 = fmul double 2.000000e+00, %1491
  %1493 = load ptr, ptr %4, align 8, !tbaa !5
  %1494 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1493, i32 0, i32 31
  %1495 = load double, ptr %1494, align 8, !tbaa !72
  %1496 = load ptr, ptr %4, align 8, !tbaa !5
  %1497 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1496, i32 0, i32 13
  %1498 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1497, i32 0, i32 4
  %1499 = load ptr, ptr %1498, align 8, !tbaa !48
  %1500 = load i64, ptr %18, align 8, !tbaa !49
  %1501 = getelementptr inbounds double, ptr %1499, i64 %1500
  %1502 = load double, ptr %1501, align 8, !tbaa !50
  %1503 = fsub double %1495, %1502
  %1504 = fmul double %1492, %1503
  store double %1504, ptr %15, align 8, !tbaa !50
  %1505 = load ptr, ptr %4, align 8, !tbaa !5
  %1506 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1505, i32 0, i32 51
  %1507 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1506, i32 0, i32 13
  %1508 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1507, i32 0, i32 6
  %1509 = load ptr, ptr %1508, align 8, !tbaa !48
  %1510 = load i64, ptr %19, align 8, !tbaa !49
  %1511 = getelementptr inbounds ptr, ptr %1509, i64 %1510
  %1512 = load ptr, ptr %1511, align 8, !tbaa !5
  %1513 = getelementptr inbounds double, ptr %1512, i64 0
  %1514 = load ptr, ptr %4, align 8, !tbaa !5
  %1515 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1514, i32 0, i32 33
  %1516 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1515, i32 0, i32 6
  %1517 = load ptr, ptr %1516, align 8, !tbaa !48
  %1518 = load i64, ptr %19, align 8, !tbaa !49
  %1519 = getelementptr inbounds ptr, ptr %1517, i64 %1518
  %1520 = load ptr, ptr %1519, align 8, !tbaa !5
  %1521 = getelementptr inbounds double, ptr %1520, i64 0
  %1522 = load i64, ptr %14, align 8, !tbaa !49
  %1523 = sub nsw i64 %1522, 1
  %1524 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1523)
  %1525 = load double, ptr %15, align 8, !tbaa !50
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %1513, i64 noundef 1, ptr noundef %1521, i64 noundef 1, i64 noundef %1524, double noundef %1525)
  br label %1526

1526:                                             ; preds = %1458
  %1527 = load i64, ptr %19, align 8, !tbaa !49
  %1528 = add nsw i64 %1527, 1
  store i64 %1528, ptr %19, align 8, !tbaa !49
  br label %1453, !llvm.loop !89

1529:                                             ; preds = %1453
  %1530 = load i64, ptr %18, align 8, !tbaa !49
  %1531 = add nsw i64 %1530, 1
  store i64 %1531, ptr %18, align 8, !tbaa !49
  br label %1342

1532:                                             ; preds = %1347
  br label %848

1533:                                             ; preds = %1290
  %1534 = load ptr, ptr %4, align 8, !tbaa !5
  %1535 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1534, i32 0, i32 51
  %1536 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1535, i32 0, i32 20
  %1537 = load i8, ptr %1536, align 1, !tbaa !90, !range !66, !noundef !67
  %1538 = trunc i8 %1537 to i1
  br i1 %1538, label %1540, label %1539

1539:                                             ; preds = %1533
  br label %1571

1540:                                             ; preds = %1533
  %1541 = load ptr, ptr %4, align 8, !tbaa !5
  %1542 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1541, i32 0, i32 30
  %1543 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1542, i32 0, i32 4
  %1544 = load ptr, ptr %1543, align 8, !tbaa !48
  %1545 = getelementptr inbounds double, ptr %1544, i64 0
  %1546 = load ptr, ptr %4, align 8, !tbaa !5
  %1547 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1546, i32 0, i32 51
  %1548 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1547, i32 0, i32 9
  %1549 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1548, i32 0, i32 4
  %1550 = load ptr, ptr %1549, align 8, !tbaa !48
  %1551 = getelementptr inbounds double, ptr %1550, i64 0
  %1552 = load i64, ptr %14, align 8, !tbaa !49
  %1553 = sub nsw i64 %1552, 1
  %1554 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1553)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1545, i64 noundef 1, ptr noundef %1551, i64 noundef 1, i64 noundef %1554)
  %1555 = load ptr, ptr %4, align 8, !tbaa !5
  %1556 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1555, i32 0, i32 51
  %1557 = getelementptr inbounds %"struct.alglib_impl::minlmstate", ptr %1556, i32 0, i32 10
  %1558 = load double, ptr %1557, align 8, !tbaa !80
  %1559 = load ptr, ptr %4, align 8, !tbaa !5
  %1560 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1559, i32 0, i32 31
  store double %1558, ptr %1560, align 8, !tbaa !72
  %1561 = load ptr, ptr %4, align 8, !tbaa !5
  %1562 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %1561, ptr noundef %1562)
  %1563 = load ptr, ptr %4, align 8, !tbaa !5
  %1564 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1563, i32 0, i32 24
  store i8 1, ptr %1564, align 8, !tbaa !91
  %1565 = load ptr, ptr %4, align 8, !tbaa !5
  %1566 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1565, i32 0, i32 55
  %1567 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %1566, i32 0, i32 0
  store i32 8, ptr %1567, align 8, !tbaa !9
  br label %2174

1568:                                             ; preds = %205
  %1569 = load ptr, ptr %4, align 8, !tbaa !5
  %1570 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1569, i32 0, i32 24
  store i8 0, ptr %1570, align 8, !tbaa !91
  br label %848

1571:                                             ; preds = %1539
  br label %848

1572:                                             ; preds = %853
  %1573 = load ptr, ptr %4, align 8, !tbaa !5
  %1574 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1573, i32 0, i32 51
  %1575 = load ptr, ptr %4, align 8, !tbaa !5
  %1576 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1575, i32 0, i32 8
  %1577 = load ptr, ptr %4, align 8, !tbaa !5
  %1578 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1577, i32 0, i32 52
  %1579 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minlmresultsEPNS_10minlmstateEPNS_9ae_vectorEPNS_11minlmreportEPNS_8ae_stateE(ptr noundef %1574, ptr noundef %1576, ptr noundef %1578, ptr noundef %1579)
  %1580 = load ptr, ptr %4, align 8, !tbaa !5
  %1581 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1580, i32 0, i32 52
  %1582 = getelementptr inbounds %"struct.alglib_impl::minlmreport", ptr %1581, i32 0, i32 1
  %1583 = load i64, ptr %1582, align 8, !tbaa !92
  %1584 = load ptr, ptr %4, align 8, !tbaa !5
  %1585 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1584, i32 0, i32 43
  store i64 %1583, ptr %1585, align 8, !tbaa !73
  %1586 = load ptr, ptr %4, align 8, !tbaa !5
  %1587 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1586, i32 0, i32 52
  %1588 = getelementptr inbounds %"struct.alglib_impl::minlmreport", ptr %1587, i32 0, i32 0
  %1589 = load i64, ptr %1588, align 8, !tbaa !93
  %1590 = load ptr, ptr %4, align 8, !tbaa !5
  %1591 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1590, i32 0, i32 42
  store i64 %1589, ptr %1591, align 8, !tbaa !94
  %1592 = load ptr, ptr %4, align 8, !tbaa !5
  %1593 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1592, i32 0, i32 43
  %1594 = load i64, ptr %1593, align 8, !tbaa !73
  %1595 = icmp sle i64 %1594, 0
  br i1 %1595, label %1596, label %1597

1596:                                             ; preds = %1572
  br label %2171

1597:                                             ; preds = %1572
  %1598 = load ptr, ptr %4, align 8, !tbaa !5
  %1599 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1598, i32 0, i32 45
  store double 0.000000e+00, ptr %1599, align 8, !tbaa !95
  %1600 = load ptr, ptr %4, align 8, !tbaa !5
  %1601 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1600, i32 0, i32 49
  store double 0.000000e+00, ptr %1601, align 8, !tbaa !96
  %1602 = load ptr, ptr %4, align 8, !tbaa !5
  %1603 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1602, i32 0, i32 46
  store double 0.000000e+00, ptr %1603, align 8, !tbaa !97
  %1604 = load ptr, ptr %4, align 8, !tbaa !5
  %1605 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1604, i32 0, i32 47
  store double 0.000000e+00, ptr %1605, align 8, !tbaa !98
  %1606 = load ptr, ptr %4, align 8, !tbaa !5
  %1607 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1606, i32 0, i32 48
  store double 0.000000e+00, ptr %1607, align 8, !tbaa !99
  store double 0.000000e+00, ptr %17, align 8, !tbaa !50
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1608

1608:                                             ; preds = %1758, %1597
  %1609 = load i64, ptr %18, align 8, !tbaa !49
  %1610 = load i64, ptr %12, align 8, !tbaa !49
  %1611 = sub nsw i64 %1610, 1
  %1612 = icmp sgt i64 %1609, %1611
  br i1 %1612, label %1613, label %1614

1613:                                             ; preds = %1608
  br label %1779

1614:                                             ; preds = %1608
  %1615 = load ptr, ptr %4, align 8, !tbaa !5
  %1616 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1615, i32 0, i32 30
  %1617 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1616, i32 0, i32 4
  %1618 = load ptr, ptr %1617, align 8, !tbaa !48
  %1619 = getelementptr inbounds double, ptr %1618, i64 0
  %1620 = load ptr, ptr %4, align 8, !tbaa !5
  %1621 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1620, i32 0, i32 8
  %1622 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1621, i32 0, i32 4
  %1623 = load ptr, ptr %1622, align 8, !tbaa !48
  %1624 = getelementptr inbounds double, ptr %1623, i64 0
  %1625 = load i64, ptr %14, align 8, !tbaa !49
  %1626 = sub nsw i64 %1625, 1
  %1627 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1626)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1619, i64 noundef 1, ptr noundef %1624, i64 noundef 1, i64 noundef %1627)
  %1628 = load ptr, ptr %4, align 8, !tbaa !5
  %1629 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1628, i32 0, i32 29
  %1630 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1629, i32 0, i32 4
  %1631 = load ptr, ptr %1630, align 8, !tbaa !48
  %1632 = getelementptr inbounds double, ptr %1631, i64 0
  %1633 = load ptr, ptr %4, align 8, !tbaa !5
  %1634 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1633, i32 0, i32 12
  %1635 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1634, i32 0, i32 6
  %1636 = load ptr, ptr %1635, align 8, !tbaa !48
  %1637 = load i64, ptr %18, align 8, !tbaa !49
  %1638 = getelementptr inbounds ptr, ptr %1636, i64 %1637
  %1639 = load ptr, ptr %1638, align 8, !tbaa !5
  %1640 = getelementptr inbounds double, ptr %1639, i64 0
  %1641 = load i64, ptr %13, align 8, !tbaa !49
  %1642 = sub nsw i64 %1641, 1
  %1643 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1642)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1632, i64 noundef 1, ptr noundef %1640, i64 noundef 1, i64 noundef %1643)
  %1644 = load i64, ptr %18, align 8, !tbaa !49
  %1645 = load ptr, ptr %4, align 8, !tbaa !5
  %1646 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1645, i32 0, i32 28
  store i64 %1644, ptr %1646, align 8, !tbaa !77
  %1647 = load ptr, ptr %4, align 8, !tbaa !5
  %1648 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %1647, ptr noundef %1648)
  %1649 = load ptr, ptr %4, align 8, !tbaa !5
  %1650 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1649, i32 0, i32 25
  store i8 1, ptr %1650, align 1, !tbaa !78
  %1651 = load ptr, ptr %4, align 8, !tbaa !5
  %1652 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1651, i32 0, i32 55
  %1653 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %1652, i32 0, i32 0
  store i32 9, ptr %1653, align 8, !tbaa !9
  br label %2174

1654:                                             ; preds = %212
  %1655 = load ptr, ptr %4, align 8, !tbaa !5
  %1656 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1655, i32 0, i32 25
  store i8 0, ptr %1656, align 1, !tbaa !78
  %1657 = load ptr, ptr %4, align 8, !tbaa !5
  %1658 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1657, i32 0, i32 31
  %1659 = load double, ptr %1658, align 8, !tbaa !72
  store double %1659, ptr %15, align 8, !tbaa !50
  %1660 = load ptr, ptr %4, align 8, !tbaa !5
  %1661 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1660, i32 0, i32 34
  %1662 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1661, i32 0, i32 4
  %1663 = load ptr, ptr %1662, align 8, !tbaa !48
  %1664 = load i64, ptr %18, align 8, !tbaa !49
  %1665 = getelementptr inbounds double, ptr %1663, i64 %1664
  %1666 = load double, ptr %1665, align 8, !tbaa !50
  store double %1666, ptr %16, align 8, !tbaa !50
  %1667 = load ptr, ptr %4, align 8, !tbaa !5
  %1668 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1667, i32 0, i32 45
  %1669 = load double, ptr %1668, align 8, !tbaa !95
  %1670 = load double, ptr %15, align 8, !tbaa !50
  %1671 = load ptr, ptr %4, align 8, !tbaa !5
  %1672 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1671, i32 0, i32 13
  %1673 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1672, i32 0, i32 4
  %1674 = load ptr, ptr %1673, align 8, !tbaa !48
  %1675 = load i64, ptr %18, align 8, !tbaa !49
  %1676 = getelementptr inbounds double, ptr %1674, i64 %1675
  %1677 = load double, ptr %1676, align 8, !tbaa !50
  %1678 = fsub double %1670, %1677
  %1679 = load ptr, ptr %5, align 8, !tbaa !5
  %1680 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1678, ptr noundef %1679)
  %1681 = fadd double %1669, %1680
  %1682 = load ptr, ptr %4, align 8, !tbaa !5
  %1683 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1682, i32 0, i32 45
  store double %1681, ptr %1683, align 8, !tbaa !95
  %1684 = load ptr, ptr %4, align 8, !tbaa !5
  %1685 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1684, i32 0, i32 49
  %1686 = load double, ptr %1685, align 8, !tbaa !96
  %1687 = load double, ptr %16, align 8, !tbaa !50
  %1688 = load double, ptr %15, align 8, !tbaa !50
  %1689 = load ptr, ptr %4, align 8, !tbaa !5
  %1690 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1689, i32 0, i32 13
  %1691 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1690, i32 0, i32 4
  %1692 = load ptr, ptr %1691, align 8, !tbaa !48
  %1693 = load i64, ptr %18, align 8, !tbaa !49
  %1694 = getelementptr inbounds double, ptr %1692, i64 %1693
  %1695 = load double, ptr %1694, align 8, !tbaa !50
  %1696 = fsub double %1688, %1695
  %1697 = fmul double %1687, %1696
  %1698 = load ptr, ptr %5, align 8, !tbaa !5
  %1699 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1697, ptr noundef %1698)
  %1700 = fadd double %1686, %1699
  %1701 = load ptr, ptr %4, align 8, !tbaa !5
  %1702 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1701, i32 0, i32 49
  store double %1700, ptr %1702, align 8, !tbaa !96
  %1703 = load ptr, ptr %4, align 8, !tbaa !5
  %1704 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1703, i32 0, i32 46
  %1705 = load double, ptr %1704, align 8, !tbaa !97
  %1706 = load double, ptr %15, align 8, !tbaa !50
  %1707 = load ptr, ptr %4, align 8, !tbaa !5
  %1708 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1707, i32 0, i32 13
  %1709 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1708, i32 0, i32 4
  %1710 = load ptr, ptr %1709, align 8, !tbaa !48
  %1711 = load i64, ptr %18, align 8, !tbaa !49
  %1712 = getelementptr inbounds double, ptr %1710, i64 %1711
  %1713 = load double, ptr %1712, align 8, !tbaa !50
  %1714 = fsub double %1706, %1713
  %1715 = load ptr, ptr %5, align 8, !tbaa !5
  %1716 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1714, ptr noundef %1715)
  %1717 = fadd double %1705, %1716
  %1718 = load ptr, ptr %4, align 8, !tbaa !5
  %1719 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1718, i32 0, i32 46
  store double %1717, ptr %1719, align 8, !tbaa !97
  %1720 = load ptr, ptr %4, align 8, !tbaa !5
  %1721 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1720, i32 0, i32 13
  %1722 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1721, i32 0, i32 4
  %1723 = load ptr, ptr %1722, align 8, !tbaa !48
  %1724 = load i64, ptr %18, align 8, !tbaa !49
  %1725 = getelementptr inbounds double, ptr %1723, i64 %1724
  %1726 = load double, ptr %1725, align 8, !tbaa !50
  %1727 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1726, double noundef 0.000000e+00)
  br i1 %1727, label %1728, label %1758

1728:                                             ; preds = %1654
  %1729 = load ptr, ptr %4, align 8, !tbaa !5
  %1730 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1729, i32 0, i32 47
  %1731 = load double, ptr %1730, align 8, !tbaa !98
  %1732 = load double, ptr %15, align 8, !tbaa !50
  %1733 = load ptr, ptr %4, align 8, !tbaa !5
  %1734 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1733, i32 0, i32 13
  %1735 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1734, i32 0, i32 4
  %1736 = load ptr, ptr %1735, align 8, !tbaa !48
  %1737 = load i64, ptr %18, align 8, !tbaa !49
  %1738 = getelementptr inbounds double, ptr %1736, i64 %1737
  %1739 = load double, ptr %1738, align 8, !tbaa !50
  %1740 = fsub double %1732, %1739
  %1741 = load ptr, ptr %5, align 8, !tbaa !5
  %1742 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1740, ptr noundef %1741)
  %1743 = load ptr, ptr %4, align 8, !tbaa !5
  %1744 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1743, i32 0, i32 13
  %1745 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1744, i32 0, i32 4
  %1746 = load ptr, ptr %1745, align 8, !tbaa !48
  %1747 = load i64, ptr %18, align 8, !tbaa !49
  %1748 = getelementptr inbounds double, ptr %1746, i64 %1747
  %1749 = load double, ptr %1748, align 8, !tbaa !50
  %1750 = load ptr, ptr %5, align 8, !tbaa !5
  %1751 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1749, ptr noundef %1750)
  %1752 = fdiv double %1742, %1751
  %1753 = fadd double %1731, %1752
  %1754 = load ptr, ptr %4, align 8, !tbaa !5
  %1755 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1754, i32 0, i32 47
  store double %1753, ptr %1755, align 8, !tbaa !98
  %1756 = load double, ptr %17, align 8, !tbaa !50
  %1757 = fadd double %1756, 1.000000e+00
  store double %1757, ptr %17, align 8, !tbaa !50
  br label %1758

1758:                                             ; preds = %1728, %1654
  %1759 = load ptr, ptr %4, align 8, !tbaa !5
  %1760 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1759, i32 0, i32 48
  %1761 = load double, ptr %1760, align 8, !tbaa !99
  %1762 = load double, ptr %15, align 8, !tbaa !50
  %1763 = load ptr, ptr %4, align 8, !tbaa !5
  %1764 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1763, i32 0, i32 13
  %1765 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1764, i32 0, i32 4
  %1766 = load ptr, ptr %1765, align 8, !tbaa !48
  %1767 = load i64, ptr %18, align 8, !tbaa !49
  %1768 = getelementptr inbounds double, ptr %1766, i64 %1767
  %1769 = load double, ptr %1768, align 8, !tbaa !50
  %1770 = fsub double %1762, %1769
  %1771 = load ptr, ptr %5, align 8, !tbaa !5
  %1772 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1770, ptr noundef %1771)
  %1773 = load ptr, ptr %5, align 8, !tbaa !5
  %1774 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1761, double noundef %1772, ptr noundef %1773)
  %1775 = load ptr, ptr %4, align 8, !tbaa !5
  %1776 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1775, i32 0, i32 48
  store double %1774, ptr %1776, align 8, !tbaa !99
  %1777 = load i64, ptr %18, align 8, !tbaa !49
  %1778 = add nsw i64 %1777, 1
  store i64 %1778, ptr %18, align 8, !tbaa !49
  br label %1608

1779:                                             ; preds = %1613
  %1780 = load ptr, ptr %4, align 8, !tbaa !5
  %1781 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1780, i32 0, i32 45
  %1782 = load double, ptr %1781, align 8, !tbaa !95
  %1783 = load i64, ptr %12, align 8, !tbaa !49
  %1784 = sitofp i64 %1783 to double
  %1785 = fdiv double %1782, %1784
  %1786 = load ptr, ptr %5, align 8, !tbaa !5
  %1787 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %1785, ptr noundef %1786)
  %1788 = load ptr, ptr %4, align 8, !tbaa !5
  %1789 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1788, i32 0, i32 45
  store double %1787, ptr %1789, align 8, !tbaa !95
  %1790 = load ptr, ptr %4, align 8, !tbaa !5
  %1791 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1790, i32 0, i32 49
  %1792 = load double, ptr %1791, align 8, !tbaa !96
  %1793 = load i64, ptr %12, align 8, !tbaa !49
  %1794 = sitofp i64 %1793 to double
  %1795 = fdiv double %1792, %1794
  %1796 = load ptr, ptr %5, align 8, !tbaa !5
  %1797 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %1795, ptr noundef %1796)
  %1798 = load ptr, ptr %4, align 8, !tbaa !5
  %1799 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1798, i32 0, i32 49
  store double %1797, ptr %1799, align 8, !tbaa !96
  %1800 = load ptr, ptr %4, align 8, !tbaa !5
  %1801 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1800, i32 0, i32 46
  %1802 = load double, ptr %1801, align 8, !tbaa !97
  %1803 = load i64, ptr %12, align 8, !tbaa !49
  %1804 = sitofp i64 %1803 to double
  %1805 = fdiv double %1802, %1804
  %1806 = load ptr, ptr %4, align 8, !tbaa !5
  %1807 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1806, i32 0, i32 46
  store double %1805, ptr %1807, align 8, !tbaa !97
  %1808 = load double, ptr %17, align 8, !tbaa !50
  %1809 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1808, double noundef 0.000000e+00)
  br i1 %1809, label %1810, label %1818

1810:                                             ; preds = %1779
  %1811 = load ptr, ptr %4, align 8, !tbaa !5
  %1812 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1811, i32 0, i32 47
  %1813 = load double, ptr %1812, align 8, !tbaa !98
  %1814 = load double, ptr %17, align 8, !tbaa !50
  %1815 = fdiv double %1813, %1814
  %1816 = load ptr, ptr %4, align 8, !tbaa !5
  %1817 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1816, i32 0, i32 47
  store double %1815, ptr %1817, align 8, !tbaa !98
  br label %1818

1818:                                             ; preds = %1810, %1779
  %1819 = load ptr, ptr %4, align 8, !tbaa !5
  %1820 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1819, i32 0, i32 38
  %1821 = load i64, ptr %12, align 8, !tbaa !49
  %1822 = load i64, ptr %14, align 8, !tbaa !49
  %1823 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %1820, i64 noundef %1821, i64 noundef %1822, ptr noundef %1823)
  %1824 = load ptr, ptr %4, align 8, !tbaa !5
  %1825 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1824, i32 0, i32 37
  %1826 = load i64, ptr %12, align 8, !tbaa !49
  %1827 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %1825, i64 noundef %1826, ptr noundef %1827)
  %1828 = load ptr, ptr %4, align 8, !tbaa !5
  %1829 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1828, i32 0, i32 36
  %1830 = load i64, ptr %14, align 8, !tbaa !49
  %1831 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %1829, i64 noundef %1830, ptr noundef %1831)
  %1832 = load ptr, ptr %4, align 8, !tbaa !5
  %1833 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1832, i32 0, i32 19
  %1834 = load double, ptr %1833, align 8, !tbaa !100
  %1835 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %1834, double noundef 0.000000e+00)
  br i1 %1835, label %1836, label %1837

1836:                                             ; preds = %1818
  br label %2060

1837:                                             ; preds = %1818
  %1838 = load ptr, ptr %4, align 8, !tbaa !5
  %1839 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %1838, ptr noundef %1839)
  %1840 = load ptr, ptr %4, align 8, !tbaa !5
  %1841 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1840, i32 0, i32 25
  store i8 1, ptr %1841, align 1, !tbaa !78
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %1842

1842:                                             ; preds = %2054, %1837
  %1843 = load i64, ptr %18, align 8, !tbaa !49
  %1844 = load i64, ptr %12, align 8, !tbaa !49
  %1845 = sub nsw i64 %1844, 1
  %1846 = icmp sgt i64 %1843, %1845
  br i1 %1846, label %1847, label %1848

1847:                                             ; preds = %1842
  br label %2057

1848:                                             ; preds = %1842
  %1849 = load ptr, ptr %4, align 8, !tbaa !5
  %1850 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1849, i32 0, i32 29
  %1851 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1850, i32 0, i32 4
  %1852 = load ptr, ptr %1851, align 8, !tbaa !48
  %1853 = getelementptr inbounds double, ptr %1852, i64 0
  %1854 = load ptr, ptr %4, align 8, !tbaa !5
  %1855 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1854, i32 0, i32 12
  %1856 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1855, i32 0, i32 6
  %1857 = load ptr, ptr %1856, align 8, !tbaa !48
  %1858 = load i64, ptr %18, align 8, !tbaa !49
  %1859 = getelementptr inbounds ptr, ptr %1857, i64 %1858
  %1860 = load ptr, ptr %1859, align 8, !tbaa !5
  %1861 = getelementptr inbounds double, ptr %1860, i64 0
  %1862 = load i64, ptr %13, align 8, !tbaa !49
  %1863 = sub nsw i64 %1862, 1
  %1864 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1863)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1853, i64 noundef 1, ptr noundef %1861, i64 noundef 1, i64 noundef %1864)
  %1865 = load i64, ptr %18, align 8, !tbaa !49
  %1866 = load ptr, ptr %4, align 8, !tbaa !5
  %1867 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1866, i32 0, i32 28
  store i64 %1865, ptr %1867, align 8, !tbaa !77
  %1868 = load ptr, ptr %4, align 8, !tbaa !5
  %1869 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1868, i32 0, i32 55
  %1870 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %1869, i32 0, i32 0
  store i32 10, ptr %1870, align 8, !tbaa !9
  br label %2174

1871:                                             ; preds = %219
  %1872 = load ptr, ptr %4, align 8, !tbaa !5
  %1873 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1872, i32 0, i32 31
  %1874 = load double, ptr %1873, align 8, !tbaa !72
  %1875 = load ptr, ptr %4, align 8, !tbaa !5
  %1876 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1875, i32 0, i32 37
  %1877 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1876, i32 0, i32 4
  %1878 = load ptr, ptr %1877, align 8, !tbaa !48
  %1879 = load i64, ptr %18, align 8, !tbaa !49
  %1880 = getelementptr inbounds double, ptr %1878, i64 %1879
  store double %1874, ptr %1880, align 8, !tbaa !50
  store i64 0, ptr %19, align 8, !tbaa !49
  br label %1881

1881:                                             ; preds = %2051, %1871
  %1882 = load i64, ptr %19, align 8, !tbaa !49
  %1883 = load i64, ptr %14, align 8, !tbaa !49
  %1884 = sub nsw i64 %1883, 1
  %1885 = icmp sgt i64 %1882, %1884
  br i1 %1885, label %1886, label %1887

1886:                                             ; preds = %1881
  br label %2054

1887:                                             ; preds = %1881
  %1888 = load ptr, ptr %4, align 8, !tbaa !5
  %1889 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1888, i32 0, i32 30
  %1890 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1889, i32 0, i32 4
  %1891 = load ptr, ptr %1890, align 8, !tbaa !48
  %1892 = load i64, ptr %19, align 8, !tbaa !49
  %1893 = getelementptr inbounds double, ptr %1891, i64 %1892
  %1894 = load double, ptr %1893, align 8, !tbaa !50
  store double %1894, ptr %15, align 8, !tbaa !50
  %1895 = load double, ptr %15, align 8, !tbaa !50
  %1896 = load ptr, ptr %4, align 8, !tbaa !5
  %1897 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1896, i32 0, i32 19
  %1898 = load double, ptr %1897, align 8, !tbaa !100
  %1899 = load ptr, ptr %4, align 8, !tbaa !5
  %1900 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1899, i32 0, i32 9
  %1901 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1900, i32 0, i32 4
  %1902 = load ptr, ptr %1901, align 8, !tbaa !48
  %1903 = load i64, ptr %19, align 8, !tbaa !49
  %1904 = getelementptr inbounds double, ptr %1902, i64 %1903
  %1905 = load double, ptr %1904, align 8, !tbaa !50
  %1906 = fneg double %1898
  %1907 = call double @llvm.fmuladd.f64(double %1906, double %1905, double %1895)
  store double %1907, ptr %6, align 8, !tbaa !50
  %1908 = load double, ptr %6, align 8, !tbaa !50
  %1909 = load ptr, ptr %4, align 8, !tbaa !5
  %1910 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1909, i32 0, i32 30
  %1911 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1910, i32 0, i32 4
  %1912 = load ptr, ptr %1911, align 8, !tbaa !48
  %1913 = load i64, ptr %19, align 8, !tbaa !49
  %1914 = getelementptr inbounds double, ptr %1912, i64 %1913
  store double %1908, ptr %1914, align 8, !tbaa !50
  %1915 = load ptr, ptr %4, align 8, !tbaa !5
  %1916 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1915, i32 0, i32 10
  %1917 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1916, i32 0, i32 4
  %1918 = load ptr, ptr %1917, align 8, !tbaa !48
  %1919 = load i64, ptr %19, align 8, !tbaa !49
  %1920 = getelementptr inbounds double, ptr %1918, i64 %1919
  %1921 = load double, ptr %1920, align 8, !tbaa !50
  %1922 = load ptr, ptr %5, align 8, !tbaa !5
  %1923 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1921, ptr noundef %1922)
  br i1 %1923, label %1924, label %1947

1924:                                             ; preds = %1887
  %1925 = load ptr, ptr %4, align 8, !tbaa !5
  %1926 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1925, i32 0, i32 30
  %1927 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1926, i32 0, i32 4
  %1928 = load ptr, ptr %1927, align 8, !tbaa !48
  %1929 = load i64, ptr %19, align 8, !tbaa !49
  %1930 = getelementptr inbounds double, ptr %1928, i64 %1929
  %1931 = load double, ptr %1930, align 8, !tbaa !50
  %1932 = load ptr, ptr %4, align 8, !tbaa !5
  %1933 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1932, i32 0, i32 10
  %1934 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1933, i32 0, i32 4
  %1935 = load ptr, ptr %1934, align 8, !tbaa !48
  %1936 = load i64, ptr %19, align 8, !tbaa !49
  %1937 = getelementptr inbounds double, ptr %1935, i64 %1936
  %1938 = load double, ptr %1937, align 8, !tbaa !50
  %1939 = load ptr, ptr %5, align 8, !tbaa !5
  %1940 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1931, double noundef %1938, ptr noundef %1939)
  %1941 = load ptr, ptr %4, align 8, !tbaa !5
  %1942 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1941, i32 0, i32 30
  %1943 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1942, i32 0, i32 4
  %1944 = load ptr, ptr %1943, align 8, !tbaa !48
  %1945 = load i64, ptr %19, align 8, !tbaa !49
  %1946 = getelementptr inbounds double, ptr %1944, i64 %1945
  store double %1940, ptr %1946, align 8, !tbaa !50
  br label %1947

1947:                                             ; preds = %1924, %1887
  %1948 = load ptr, ptr %4, align 8, !tbaa !5
  %1949 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1948, i32 0, i32 55
  %1950 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %1949, i32 0, i32 0
  store i32 11, ptr %1950, align 8, !tbaa !9
  br label %2174

1951:                                             ; preds = %226
  %1952 = load ptr, ptr %4, align 8, !tbaa !5
  %1953 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1952, i32 0, i32 31
  %1954 = load double, ptr %1953, align 8, !tbaa !72
  store double %1954, ptr %7, align 8, !tbaa !50
  %1955 = load double, ptr %15, align 8, !tbaa !50
  %1956 = load ptr, ptr %4, align 8, !tbaa !5
  %1957 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1956, i32 0, i32 19
  %1958 = load double, ptr %1957, align 8, !tbaa !100
  %1959 = load ptr, ptr %4, align 8, !tbaa !5
  %1960 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1959, i32 0, i32 9
  %1961 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1960, i32 0, i32 4
  %1962 = load ptr, ptr %1961, align 8, !tbaa !48
  %1963 = load i64, ptr %19, align 8, !tbaa !49
  %1964 = getelementptr inbounds double, ptr %1962, i64 %1963
  %1965 = load double, ptr %1964, align 8, !tbaa !50
  %1966 = call double @llvm.fmuladd.f64(double %1958, double %1965, double %1955)
  store double %1966, ptr %9, align 8, !tbaa !50
  %1967 = load double, ptr %9, align 8, !tbaa !50
  %1968 = load ptr, ptr %4, align 8, !tbaa !5
  %1969 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1968, i32 0, i32 30
  %1970 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1969, i32 0, i32 4
  %1971 = load ptr, ptr %1970, align 8, !tbaa !48
  %1972 = load i64, ptr %19, align 8, !tbaa !49
  %1973 = getelementptr inbounds double, ptr %1971, i64 %1972
  store double %1967, ptr %1973, align 8, !tbaa !50
  %1974 = load ptr, ptr %4, align 8, !tbaa !5
  %1975 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1974, i32 0, i32 11
  %1976 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1975, i32 0, i32 4
  %1977 = load ptr, ptr %1976, align 8, !tbaa !48
  %1978 = load i64, ptr %19, align 8, !tbaa !49
  %1979 = getelementptr inbounds double, ptr %1977, i64 %1978
  %1980 = load double, ptr %1979, align 8, !tbaa !50
  %1981 = load ptr, ptr %5, align 8, !tbaa !5
  %1982 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1980, ptr noundef %1981)
  br i1 %1982, label %1983, label %2006

1983:                                             ; preds = %1951
  %1984 = load ptr, ptr %4, align 8, !tbaa !5
  %1985 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1984, i32 0, i32 30
  %1986 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1985, i32 0, i32 4
  %1987 = load ptr, ptr %1986, align 8, !tbaa !48
  %1988 = load i64, ptr %19, align 8, !tbaa !49
  %1989 = getelementptr inbounds double, ptr %1987, i64 %1988
  %1990 = load double, ptr %1989, align 8, !tbaa !50
  %1991 = load ptr, ptr %4, align 8, !tbaa !5
  %1992 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %1991, i32 0, i32 11
  %1993 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1992, i32 0, i32 4
  %1994 = load ptr, ptr %1993, align 8, !tbaa !48
  %1995 = load i64, ptr %19, align 8, !tbaa !49
  %1996 = getelementptr inbounds double, ptr %1994, i64 %1995
  %1997 = load double, ptr %1996, align 8, !tbaa !50
  %1998 = load ptr, ptr %5, align 8, !tbaa !5
  %1999 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %1990, double noundef %1997, ptr noundef %1998)
  %2000 = load ptr, ptr %4, align 8, !tbaa !5
  %2001 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2000, i32 0, i32 30
  %2002 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2001, i32 0, i32 4
  %2003 = load ptr, ptr %2002, align 8, !tbaa !48
  %2004 = load i64, ptr %19, align 8, !tbaa !49
  %2005 = getelementptr inbounds double, ptr %2003, i64 %2004
  store double %1999, ptr %2005, align 8, !tbaa !50
  br label %2006

2006:                                             ; preds = %1983, %1951
  %2007 = load ptr, ptr %4, align 8, !tbaa !5
  %2008 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2007, i32 0, i32 55
  %2009 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2008, i32 0, i32 0
  store i32 12, ptr %2009, align 8, !tbaa !9
  br label %2174

2010:                                             ; preds = %233
  %2011 = load ptr, ptr %4, align 8, !tbaa !5
  %2012 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2011, i32 0, i32 31
  %2013 = load double, ptr %2012, align 8, !tbaa !72
  store double %2013, ptr %10, align 8, !tbaa !50
  %2014 = load double, ptr %15, align 8, !tbaa !50
  %2015 = load ptr, ptr %4, align 8, !tbaa !5
  %2016 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2015, i32 0, i32 30
  %2017 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2016, i32 0, i32 4
  %2018 = load ptr, ptr %2017, align 8, !tbaa !48
  %2019 = load i64, ptr %19, align 8, !tbaa !49
  %2020 = getelementptr inbounds double, ptr %2018, i64 %2019
  store double %2014, ptr %2020, align 8, !tbaa !50
  %2021 = load double, ptr %9, align 8, !tbaa !50
  %2022 = load double, ptr %6, align 8, !tbaa !50
  %2023 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %2021, double noundef %2022)
  br i1 %2023, label %2024, label %2041

2024:                                             ; preds = %2010
  %2025 = load double, ptr %10, align 8, !tbaa !50
  %2026 = load double, ptr %7, align 8, !tbaa !50
  %2027 = fsub double %2025, %2026
  %2028 = load double, ptr %9, align 8, !tbaa !50
  %2029 = load double, ptr %6, align 8, !tbaa !50
  %2030 = fsub double %2028, %2029
  %2031 = fdiv double %2027, %2030
  %2032 = load ptr, ptr %4, align 8, !tbaa !5
  %2033 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2032, i32 0, i32 38
  %2034 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %2033, i32 0, i32 6
  %2035 = load ptr, ptr %2034, align 8, !tbaa !48
  %2036 = load i64, ptr %18, align 8, !tbaa !49
  %2037 = getelementptr inbounds ptr, ptr %2035, i64 %2036
  %2038 = load ptr, ptr %2037, align 8, !tbaa !5
  %2039 = load i64, ptr %19, align 8, !tbaa !49
  %2040 = getelementptr inbounds double, ptr %2038, i64 %2039
  store double %2031, ptr %2040, align 8, !tbaa !50
  br label %2051

2041:                                             ; preds = %2010
  %2042 = load ptr, ptr %4, align 8, !tbaa !5
  %2043 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2042, i32 0, i32 38
  %2044 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %2043, i32 0, i32 6
  %2045 = load ptr, ptr %2044, align 8, !tbaa !48
  %2046 = load i64, ptr %18, align 8, !tbaa !49
  %2047 = getelementptr inbounds ptr, ptr %2045, i64 %2046
  %2048 = load ptr, ptr %2047, align 8, !tbaa !5
  %2049 = load i64, ptr %19, align 8, !tbaa !49
  %2050 = getelementptr inbounds double, ptr %2048, i64 %2049
  store double 0.000000e+00, ptr %2050, align 8, !tbaa !50
  br label %2051

2051:                                             ; preds = %2041, %2024
  %2052 = load i64, ptr %19, align 8, !tbaa !49
  %2053 = add nsw i64 %2052, 1
  store i64 %2053, ptr %19, align 8, !tbaa !49
  br label %1881

2054:                                             ; preds = %1886
  %2055 = load i64, ptr %18, align 8, !tbaa !49
  %2056 = add nsw i64 %2055, 1
  store i64 %2056, ptr %18, align 8, !tbaa !49
  br label %1842

2057:                                             ; preds = %1847
  %2058 = load ptr, ptr %4, align 8, !tbaa !5
  %2059 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2058, i32 0, i32 25
  store i8 0, ptr %2059, align 1, !tbaa !78
  br label %2135

2060:                                             ; preds = %1836
  %2061 = load ptr, ptr %4, align 8, !tbaa !5
  %2062 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %2061, ptr noundef %2062)
  %2063 = load ptr, ptr %4, align 8, !tbaa !5
  %2064 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2063, i32 0, i32 26
  store i8 1, ptr %2064, align 2, !tbaa !71
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %2065

2065:                                             ; preds = %2129, %2060
  %2066 = load i64, ptr %18, align 8, !tbaa !49
  %2067 = load i64, ptr %12, align 8, !tbaa !49
  %2068 = sub nsw i64 %2067, 1
  %2069 = icmp sgt i64 %2066, %2068
  br i1 %2069, label %2070, label %2071

2070:                                             ; preds = %2065
  br label %2132

2071:                                             ; preds = %2065
  %2072 = load ptr, ptr %4, align 8, !tbaa !5
  %2073 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2072, i32 0, i32 29
  %2074 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2073, i32 0, i32 4
  %2075 = load ptr, ptr %2074, align 8, !tbaa !48
  %2076 = getelementptr inbounds double, ptr %2075, i64 0
  %2077 = load ptr, ptr %4, align 8, !tbaa !5
  %2078 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2077, i32 0, i32 12
  %2079 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %2078, i32 0, i32 6
  %2080 = load ptr, ptr %2079, align 8, !tbaa !48
  %2081 = load i64, ptr %18, align 8, !tbaa !49
  %2082 = getelementptr inbounds ptr, ptr %2080, i64 %2081
  %2083 = load ptr, ptr %2082, align 8, !tbaa !5
  %2084 = getelementptr inbounds double, ptr %2083, i64 0
  %2085 = load i64, ptr %13, align 8, !tbaa !49
  %2086 = sub nsw i64 %2085, 1
  %2087 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %2086)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %2076, i64 noundef 1, ptr noundef %2084, i64 noundef 1, i64 noundef %2087)
  %2088 = load i64, ptr %18, align 8, !tbaa !49
  %2089 = load ptr, ptr %4, align 8, !tbaa !5
  %2090 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2089, i32 0, i32 28
  store i64 %2088, ptr %2090, align 8, !tbaa !77
  %2091 = load ptr, ptr %4, align 8, !tbaa !5
  %2092 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2091, i32 0, i32 55
  %2093 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2092, i32 0, i32 0
  store i32 13, ptr %2093, align 8, !tbaa !9
  br label %2174

2094:                                             ; preds = %240
  %2095 = load ptr, ptr %4, align 8, !tbaa !5
  %2096 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2095, i32 0, i32 31
  %2097 = load double, ptr %2096, align 8, !tbaa !72
  %2098 = load ptr, ptr %4, align 8, !tbaa !5
  %2099 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2098, i32 0, i32 37
  %2100 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2099, i32 0, i32 4
  %2101 = load ptr, ptr %2100, align 8, !tbaa !48
  %2102 = load i64, ptr %18, align 8, !tbaa !49
  %2103 = getelementptr inbounds double, ptr %2101, i64 %2102
  store double %2097, ptr %2103, align 8, !tbaa !50
  store i64 0, ptr %19, align 8, !tbaa !49
  br label %2104

2104:                                             ; preds = %2126, %2094
  %2105 = load i64, ptr %19, align 8, !tbaa !49
  %2106 = load i64, ptr %14, align 8, !tbaa !49
  %2107 = sub nsw i64 %2106, 1
  %2108 = icmp sle i64 %2105, %2107
  br i1 %2108, label %2109, label %2129

2109:                                             ; preds = %2104
  %2110 = load ptr, ptr %4, align 8, !tbaa !5
  %2111 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2110, i32 0, i32 32
  %2112 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2111, i32 0, i32 4
  %2113 = load ptr, ptr %2112, align 8, !tbaa !48
  %2114 = load i64, ptr %19, align 8, !tbaa !49
  %2115 = getelementptr inbounds double, ptr %2113, i64 %2114
  %2116 = load double, ptr %2115, align 8, !tbaa !50
  %2117 = load ptr, ptr %4, align 8, !tbaa !5
  %2118 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2117, i32 0, i32 38
  %2119 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %2118, i32 0, i32 6
  %2120 = load ptr, ptr %2119, align 8, !tbaa !48
  %2121 = load i64, ptr %18, align 8, !tbaa !49
  %2122 = getelementptr inbounds ptr, ptr %2120, i64 %2121
  %2123 = load ptr, ptr %2122, align 8, !tbaa !5
  %2124 = load i64, ptr %19, align 8, !tbaa !49
  %2125 = getelementptr inbounds double, ptr %2123, i64 %2124
  store double %2116, ptr %2125, align 8, !tbaa !50
  br label %2126

2126:                                             ; preds = %2109
  %2127 = load i64, ptr %19, align 8, !tbaa !49
  %2128 = add nsw i64 %2127, 1
  store i64 %2128, ptr %19, align 8, !tbaa !49
  br label %2104, !llvm.loop !101

2129:                                             ; preds = %2104
  %2130 = load i64, ptr %18, align 8, !tbaa !49
  %2131 = add nsw i64 %2130, 1
  store i64 %2131, ptr %18, align 8, !tbaa !49
  br label %2065

2132:                                             ; preds = %2070
  %2133 = load ptr, ptr %4, align 8, !tbaa !5
  %2134 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2133, i32 0, i32 26
  store i8 0, ptr %2134, align 2, !tbaa !71
  br label %2135

2135:                                             ; preds = %2132, %2057
  store i64 0, ptr %18, align 8, !tbaa !49
  br label %2136

2136:                                             ; preds = %2148, %2135
  %2137 = load i64, ptr %18, align 8, !tbaa !49
  %2138 = load i64, ptr %14, align 8, !tbaa !49
  %2139 = sub nsw i64 %2138, 1
  %2140 = icmp sle i64 %2137, %2139
  br i1 %2140, label %2141, label %2151

2141:                                             ; preds = %2136
  %2142 = load ptr, ptr %4, align 8, !tbaa !5
  %2143 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2142, i32 0, i32 36
  %2144 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2143, i32 0, i32 4
  %2145 = load ptr, ptr %2144, align 8, !tbaa !48
  %2146 = load i64, ptr %18, align 8, !tbaa !49
  %2147 = getelementptr inbounds double, ptr %2145, i64 %2146
  store double 0.000000e+00, ptr %2147, align 8, !tbaa !50
  br label %2148

2148:                                             ; preds = %2141
  %2149 = load i64, ptr %18, align 8, !tbaa !49
  %2150 = add nsw i64 %2149, 1
  store i64 %2150, ptr %18, align 8, !tbaa !49
  br label %2136, !llvm.loop !102

2151:                                             ; preds = %2136
  %2152 = load ptr, ptr %4, align 8, !tbaa !5
  %2153 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2152, i32 0, i32 38
  %2154 = load ptr, ptr %4, align 8, !tbaa !5
  %2155 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2154, i32 0, i32 37
  %2156 = load ptr, ptr %4, align 8, !tbaa !5
  %2157 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2156, i32 0, i32 13
  %2158 = load ptr, ptr %4, align 8, !tbaa !5
  %2159 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2158, i32 0, i32 34
  %2160 = load ptr, ptr %4, align 8, !tbaa !5
  %2161 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2160, i32 0, i32 36
  %2162 = load ptr, ptr %4, align 8, !tbaa !5
  %2163 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2162, i32 0, i32 9
  %2164 = load i64, ptr %12, align 8, !tbaa !49
  %2165 = load i64, ptr %14, align 8, !tbaa !49
  %2166 = load ptr, ptr %4, align 8, !tbaa !5
  %2167 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2166, i32 0, i32 50
  %2168 = load ptr, ptr %4, align 8, !tbaa !5
  %2169 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2168, i32 0, i32 39
  %2170 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL20lsfit_estimateerrorsEPNS_9ae_matrixEPNS_9ae_vectorES3_S3_S3_S3_llPNS_11lsfitreportES1_lPNS_8ae_stateE(ptr noundef %2153, ptr noundef %2155, ptr noundef %2157, ptr noundef %2159, ptr noundef %2161, ptr noundef %2163, i64 noundef %2164, i64 noundef %2165, ptr noundef %2167, ptr noundef %2169, i64 noundef 0, ptr noundef %2170)
  br label %2171

2171:                                             ; preds = %2151, %1596
  store i8 0, ptr %22, align 1, !tbaa !74
  %2172 = load i8, ptr %22, align 1, !tbaa !74, !range !66, !noundef !67
  %2173 = trunc i8 %2172 to i1
  store i1 %2173, ptr %3, align 1
  store i32 1, ptr %23, align 4
  br label %2289

2174:                                             ; preds = %2071, %2006, %1947, %1848, %1614, %1540, %1348, %1192, %1070, %959, %868, %760, %663, %591
  store i8 1, ptr %22, align 1, !tbaa !74
  %2175 = load i64, ptr %12, align 8, !tbaa !49
  %2176 = load ptr, ptr %4, align 8, !tbaa !5
  %2177 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2176, i32 0, i32 55
  %2178 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2177, i32 0, i32 1
  %2179 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2178, i32 0, i32 4
  %2180 = load ptr, ptr %2179, align 8, !tbaa !48
  %2181 = getelementptr inbounds i64, ptr %2180, i64 0
  store i64 %2175, ptr %2181, align 8, !tbaa !49
  %2182 = load i64, ptr %13, align 8, !tbaa !49
  %2183 = load ptr, ptr %4, align 8, !tbaa !5
  %2184 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2183, i32 0, i32 55
  %2185 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2184, i32 0, i32 1
  %2186 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2185, i32 0, i32 4
  %2187 = load ptr, ptr %2186, align 8, !tbaa !48
  %2188 = getelementptr inbounds i64, ptr %2187, i64 1
  store i64 %2182, ptr %2188, align 8, !tbaa !49
  %2189 = load i64, ptr %14, align 8, !tbaa !49
  %2190 = load ptr, ptr %4, align 8, !tbaa !5
  %2191 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2190, i32 0, i32 55
  %2192 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2191, i32 0, i32 1
  %2193 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2192, i32 0, i32 4
  %2194 = load ptr, ptr %2193, align 8, !tbaa !48
  %2195 = getelementptr inbounds i64, ptr %2194, i64 2
  store i64 %2189, ptr %2195, align 8, !tbaa !49
  %2196 = load i64, ptr %18, align 8, !tbaa !49
  %2197 = load ptr, ptr %4, align 8, !tbaa !5
  %2198 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2197, i32 0, i32 55
  %2199 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2198, i32 0, i32 1
  %2200 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2199, i32 0, i32 4
  %2201 = load ptr, ptr %2200, align 8, !tbaa !48
  %2202 = getelementptr inbounds i64, ptr %2201, i64 3
  store i64 %2196, ptr %2202, align 8, !tbaa !49
  %2203 = load i64, ptr %19, align 8, !tbaa !49
  %2204 = load ptr, ptr %4, align 8, !tbaa !5
  %2205 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2204, i32 0, i32 55
  %2206 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2205, i32 0, i32 1
  %2207 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2206, i32 0, i32 4
  %2208 = load ptr, ptr %2207, align 8, !tbaa !48
  %2209 = getelementptr inbounds i64, ptr %2208, i64 4
  store i64 %2203, ptr %2209, align 8, !tbaa !49
  %2210 = load i64, ptr %20, align 8, !tbaa !49
  %2211 = load ptr, ptr %4, align 8, !tbaa !5
  %2212 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2211, i32 0, i32 55
  %2213 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2212, i32 0, i32 1
  %2214 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2213, i32 0, i32 4
  %2215 = load ptr, ptr %2214, align 8, !tbaa !48
  %2216 = getelementptr inbounds i64, ptr %2215, i64 5
  store i64 %2210, ptr %2216, align 8, !tbaa !49
  %2217 = load i64, ptr %21, align 8, !tbaa !49
  %2218 = load ptr, ptr %4, align 8, !tbaa !5
  %2219 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2218, i32 0, i32 55
  %2220 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2219, i32 0, i32 1
  %2221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2220, i32 0, i32 4
  %2222 = load ptr, ptr %2221, align 8, !tbaa !48
  %2223 = getelementptr inbounds i64, ptr %2222, i64 6
  store i64 %2217, ptr %2223, align 8, !tbaa !49
  %2224 = load double, ptr %6, align 8, !tbaa !50
  %2225 = load ptr, ptr %4, align 8, !tbaa !5
  %2226 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2225, i32 0, i32 55
  %2227 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2226, i32 0, i32 3
  %2228 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2227, i32 0, i32 4
  %2229 = load ptr, ptr %2228, align 8, !tbaa !48
  %2230 = getelementptr inbounds double, ptr %2229, i64 0
  store double %2224, ptr %2230, align 8, !tbaa !50
  %2231 = load double, ptr %7, align 8, !tbaa !50
  %2232 = load ptr, ptr %4, align 8, !tbaa !5
  %2233 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2232, i32 0, i32 55
  %2234 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2233, i32 0, i32 3
  %2235 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2234, i32 0, i32 4
  %2236 = load ptr, ptr %2235, align 8, !tbaa !48
  %2237 = getelementptr inbounds double, ptr %2236, i64 1
  store double %2231, ptr %2237, align 8, !tbaa !50
  %2238 = load double, ptr %8, align 8, !tbaa !50
  %2239 = load ptr, ptr %4, align 8, !tbaa !5
  %2240 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2239, i32 0, i32 55
  %2241 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2240, i32 0, i32 3
  %2242 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2241, i32 0, i32 4
  %2243 = load ptr, ptr %2242, align 8, !tbaa !48
  %2244 = getelementptr inbounds double, ptr %2243, i64 2
  store double %2238, ptr %2244, align 8, !tbaa !50
  %2245 = load double, ptr %9, align 8, !tbaa !50
  %2246 = load ptr, ptr %4, align 8, !tbaa !5
  %2247 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2246, i32 0, i32 55
  %2248 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2247, i32 0, i32 3
  %2249 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2248, i32 0, i32 4
  %2250 = load ptr, ptr %2249, align 8, !tbaa !48
  %2251 = getelementptr inbounds double, ptr %2250, i64 3
  store double %2245, ptr %2251, align 8, !tbaa !50
  %2252 = load double, ptr %10, align 8, !tbaa !50
  %2253 = load ptr, ptr %4, align 8, !tbaa !5
  %2254 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2253, i32 0, i32 55
  %2255 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2254, i32 0, i32 3
  %2256 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2255, i32 0, i32 4
  %2257 = load ptr, ptr %2256, align 8, !tbaa !48
  %2258 = getelementptr inbounds double, ptr %2257, i64 4
  store double %2252, ptr %2258, align 8, !tbaa !50
  %2259 = load double, ptr %11, align 8, !tbaa !50
  %2260 = load ptr, ptr %4, align 8, !tbaa !5
  %2261 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2260, i32 0, i32 55
  %2262 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2261, i32 0, i32 3
  %2263 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2262, i32 0, i32 4
  %2264 = load ptr, ptr %2263, align 8, !tbaa !48
  %2265 = getelementptr inbounds double, ptr %2264, i64 5
  store double %2259, ptr %2265, align 8, !tbaa !50
  %2266 = load double, ptr %15, align 8, !tbaa !50
  %2267 = load ptr, ptr %4, align 8, !tbaa !5
  %2268 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2267, i32 0, i32 55
  %2269 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2268, i32 0, i32 3
  %2270 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2269, i32 0, i32 4
  %2271 = load ptr, ptr %2270, align 8, !tbaa !48
  %2272 = getelementptr inbounds double, ptr %2271, i64 6
  store double %2266, ptr %2272, align 8, !tbaa !50
  %2273 = load double, ptr %16, align 8, !tbaa !50
  %2274 = load ptr, ptr %4, align 8, !tbaa !5
  %2275 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2274, i32 0, i32 55
  %2276 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2275, i32 0, i32 3
  %2277 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2276, i32 0, i32 4
  %2278 = load ptr, ptr %2277, align 8, !tbaa !48
  %2279 = getelementptr inbounds double, ptr %2278, i64 7
  store double %2273, ptr %2279, align 8, !tbaa !50
  %2280 = load double, ptr %17, align 8, !tbaa !50
  %2281 = load ptr, ptr %4, align 8, !tbaa !5
  %2282 = getelementptr inbounds %"struct.alglib_impl::lsfitstate", ptr %2281, i32 0, i32 55
  %2283 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %2282, i32 0, i32 3
  %2284 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2283, i32 0, i32 4
  %2285 = load ptr, ptr %2284, align 8, !tbaa !48
  %2286 = getelementptr inbounds double, ptr %2285, i64 8
  store double %2280, ptr %2286, align 8, !tbaa !50
  %2287 = load i8, ptr %22, align 1, !tbaa !74, !range !66, !noundef !67
  %2288 = trunc i8 %2287 to i1
  store i1 %2288, ptr %3, align 1
  store i32 1, ptr %23, align 4
  br label %2289

2289:                                             ; preds = %2174, %2171, %791
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %2290 = load i1, ptr %3, align 1
  ret i1 %2290
}

declare void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

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

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

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

declare void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

declare void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

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

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

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

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

declare noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #1

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

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

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

declare void @_ZN11alglib_impl10ae_v_movedEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) #1

declare void @_ZN11alglib_impl13minlmsetscaleEPNS_10minlmstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl10minlmsetbcEPNS_10minlmstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl12minlmsetcondEPNS_10minlmstateEdlPNS_8ae_stateE(ptr noundef, double noundef, i64 noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl14minlmiterationEPNS_10minlmstateEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl12minlmresultsEPNS_10minlmstateEPNS_9ae_vectorEPNS_11minlmreportEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) #1

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

declare void @_ZN11alglib_impl12minlmsetxrepEPNS_10minlmstateEbPNS_8ae_stateE(ptr noundef, i1 noundef zeroext, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef, ptr noundef) #4

declare void @_ZN11alglib_impl14minlmsetstpmaxEPNS_10minlmstateEdPNS_8ae_stateE(ptr noundef, double noundef, ptr noundef) #1

declare void @_ZN11alglib_impl10minlmsetlcEPNS_10minlmstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl15derivativecheckEdddddddPNS_8ae_stateE(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL20lsfit_estimateerrorsEPNS_9ae_matrixEPNS_9ae_vectorES3_S3_S3_S3_llPNS_11lsfitreportES1_lPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !25, i64 87352}
!10 = !{!"_ZTSN11alglib_impl10lsfitstateE", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !12, i64 40, !13, i64 48, !14, i64 56, !14, i64 120, !14, i64 184, !14, i64 248, !14, i64 312, !16, i64 376, !14, i64 456, !11, i64 520, !14, i64 528, !11, i64 592, !11, i64 600, !11, i64 608, !12, i64 616, !12, i64 624, !16, i64 632, !11, i64 712, !11, i64 720, !13, i64 728, !13, i64 729, !13, i64 730, !13, i64 731, !11, i64 736, !14, i64 744, !14, i64 808, !12, i64 872, !14, i64 880, !16, i64 944, !14, i64 1024, !14, i64 1088, !14, i64 1152, !14, i64 1216, !16, i64 1280, !16, i64 1360, !12, i64 1440, !17, i64 1448, !11, i64 1464, !11, i64 1472, !11, i64 1480, !12, i64 1488, !12, i64 1496, !12, i64 1504, !12, i64 1512, !12, i64 1520, !18, i64 1528, !19, i64 1872, !47, i64 87280, !11, i64 87336, !11, i64 87344, !24, i64 87352}
!11 = !{!"long", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !13, i64 16, !15, i64 24, !7, i64 56}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !13, i64 32, !15, i64 40, !7, i64 72}
!17 = !{!"_ZTSN11alglib_impl12matinvreportE", !12, i64 0, !12, i64 8}
!18 = !{!"_ZTSN11alglib_impl11lsfitreportE", !12, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !16, i64 64, !14, i64 144, !14, i64 208, !14, i64 272, !12, i64 336}
!19 = !{!"_ZTSN11alglib_impl10minlmstateE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !11, i64 32, !13, i64 40, !12, i64 48, !11, i64 56, !13, i64 64, !14, i64 72, !12, i64 136, !14, i64 144, !16, i64 208, !16, i64 288, !14, i64 368, !13, i64 432, !13, i64 433, !13, i64 434, !13, i64 435, !13, i64 436, !13, i64 437, !13, i64 438, !11, i64 440, !13, i64 448, !13, i64 449, !13, i64 450, !14, i64 456, !12, i64 520, !14, i64 528, !14, i64 592, !16, i64 656, !14, i64 736, !14, i64 800, !14, i64 864, !14, i64 928, !14, i64 992, !16, i64 1056, !11, i64 1136, !11, i64 1144, !12, i64 1152, !12, i64 1160, !11, i64 1168, !14, i64 1176, !14, i64 1240, !14, i64 1304, !14, i64 1368, !13, i64 1432, !13, i64 1433, !20, i64 1440, !12, i64 5408, !14, i64 5416, !11, i64 5480, !11, i64 5488, !11, i64 5496, !11, i64 5504, !11, i64 5512, !11, i64 5520, !11, i64 5528, !24, i64 5536, !14, i64 5800, !14, i64 5864, !12, i64 5928, !12, i64 5936, !12, i64 5944, !12, i64 5952, !14, i64 5960, !14, i64 6024, !14, i64 6088, !14, i64 6152, !14, i64 6216, !14, i64 6280, !26, i64 6344, !30, i64 13216, !31, i64 13240, !45, i64 48472, !46, i64 48512}
!20 = !{!"_ZTSN11alglib_impl17smoothnessmonitorE", !11, i64 0, !11, i64 8, !13, i64 16, !14, i64 24, !11, i64 88, !14, i64 96, !14, i64 160, !14, i64 224, !16, i64 288, !14, i64 368, !14, i64 432, !11, i64 496, !13, i64 504, !13, i64 505, !12, i64 512, !12, i64 520, !13, i64 528, !21, i64 536, !12, i64 832, !12, i64 840, !22, i64 848, !22, i64 1152, !12, i64 1456, !12, i64 1464, !23, i64 1472, !23, i64 1784, !13, i64 2096, !14, i64 2104, !14, i64 2168, !16, i64 2232, !24, i64 2312, !14, i64 2576, !14, i64 2640, !14, i64 2704, !14, i64 2768, !14, i64 2832, !14, i64 2896, !14, i64 2960, !14, i64 3024, !16, i64 3088, !16, i64 3168, !14, i64 3248, !14, i64 3312, !14, i64 3376, !14, i64 3440, !14, i64 3504, !14, i64 3568, !14, i64 3632, !14, i64 3696, !14, i64 3760, !14, i64 3824, !16, i64 3888}
!21 = !{!"_ZTSN11alglib_impl14optguardreportE", !13, i64 0, !13, i64 1, !11, i64 8, !12, i64 16, !13, i64 24, !13, i64 25, !13, i64 26, !11, i64 32, !12, i64 40, !13, i64 48, !11, i64 56, !11, i64 64, !14, i64 72, !16, i64 136, !16, i64 216}
!22 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !13, i64 0, !11, i64 8, !14, i64 16, !14, i64 80, !11, i64 144, !14, i64 152, !14, i64 216, !11, i64 280, !11, i64 288, !11, i64 296}
!23 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !13, i64 0, !11, i64 8, !11, i64 16, !14, i64 24, !14, i64 88, !11, i64 152, !14, i64 160, !14, i64 224, !11, i64 288, !11, i64 296, !11, i64 304}
!24 = !{!"_ZTSN11alglib_impl10rcommstateE", !25, i64 0, !14, i64 8, !14, i64 72, !14, i64 136, !14, i64 200}
!25 = !{!"int", !7, i64 0}
!26 = !{!"_ZTSN11alglib_impl13minlbfgsstateE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !13, i64 48, !12, i64 56, !14, i64 64, !12, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !14, i64 176, !16, i64 240, !16, i64 320, !14, i64 400, !14, i64 464, !14, i64 528, !12, i64 592, !14, i64 600, !12, i64 664, !12, i64 672, !14, i64 680, !11, i64 744, !12, i64 752, !16, i64 760, !14, i64 840, !14, i64 904, !14, i64 968, !16, i64 1032, !11, i64 1112, !27, i64 1120, !28, i64 1584, !12, i64 2032, !12, i64 2040, !12, i64 2048, !12, i64 2056, !12, i64 2064, !14, i64 2072, !14, i64 2136, !14, i64 2200, !12, i64 2264, !14, i64 2272, !13, i64 2336, !13, i64 2337, !13, i64 2338, !13, i64 2339, !12, i64 2344, !24, i64 2352, !11, i64 2616, !11, i64 2624, !11, i64 2632, !29, i64 2640, !11, i64 2832, !20, i64 2840, !14, i64 6808}
!27 = !{!"_ZTSN11alglib_impl12precbuflbfgsE", !14, i64 0, !14, i64 64, !14, i64 128, !16, i64 192, !14, i64 272, !14, i64 336, !14, i64 400}
!28 = !{!"_ZTSN11alglib_impl14precbuflowrankE", !11, i64 0, !11, i64 8, !14, i64 16, !16, i64 80, !14, i64 160, !16, i64 224, !16, i64 304, !14, i64 384}
!29 = !{!"_ZTSN11alglib_impl11linminstateE", !13, i64 0, !13, i64 1, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184}
!30 = !{!"_ZTSN11alglib_impl14minlbfgsreportE", !11, i64 0, !11, i64 8, !11, i64 16}
!31 = !{!"_ZTSN11alglib_impl10minqpstateE", !11, i64 0, !32, i64 8, !33, i64 80, !34, i64 112, !13, i64 136, !11, i64 144, !11, i64 152, !35, i64 160, !36, i64 1848, !13, i64 2216, !12, i64 2224, !12, i64 2232, !12, i64 2240, !14, i64 2248, !14, i64 2312, !14, i64 2376, !11, i64 2440, !14, i64 2448, !14, i64 2512, !14, i64 2576, !14, i64 2640, !14, i64 2704, !13, i64 2768, !16, i64 2776, !11, i64 2856, !11, i64 2864, !36, i64 2872, !11, i64 3240, !11, i64 3248, !14, i64 3256, !11, i64 3320, !11, i64 3328, !11, i64 3336, !11, i64 3344, !11, i64 3352, !14, i64 3360, !14, i64 3424, !16, i64 3488, !16, i64 3568, !13, i64 3648, !37, i64 3656, !42, i64 16496, !44, i64 23800}
!32 = !{!"_ZTSN11alglib_impl11qqpsettingsE", !12, i64 0, !12, i64 8, !12, i64 16, !11, i64 24, !13, i64 32, !13, i64 33, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!33 = !{!"_ZTSN11alglib_impl15qpbleicsettingsE", !12, i64 0, !12, i64 8, !12, i64 16, !11, i64 24}
!34 = !{!"_ZTSN11alglib_impl18qpdenseaulsettingsE", !12, i64 0, !11, i64 8, !12, i64 16}
!35 = !{!"_ZTSN11alglib_impl20convexquadraticmodelE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !16, i64 40, !16, i64 120, !14, i64 200, !14, i64 264, !14, i64 328, !14, i64 392, !14, i64 456, !16, i64 520, !16, i64 600, !14, i64 680, !14, i64 744, !14, i64 808, !12, i64 872, !12, i64 880, !14, i64 888, !14, i64 952, !11, i64 1016, !11, i64 1024, !16, i64 1032, !16, i64 1112, !16, i64 1192, !14, i64 1272, !14, i64 1336, !12, i64 1400, !14, i64 1408, !14, i64 1472, !14, i64 1536, !16, i64 1600, !13, i64 1680, !13, i64 1681, !13, i64 1682, !13, i64 1683}
!36 = !{!"_ZTSN11alglib_impl12sparsematrixE", !14, i64 0, !14, i64 64, !14, i64 128, !14, i64 192, !14, i64 256, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360}
!37 = !{!"_ZTSN11alglib_impl14qpbleicbuffersE", !38, i64 0, !41, i64 12536, !14, i64 12632, !14, i64 12696, !14, i64 12760, !11, i64 12824, !11, i64 12832}
!38 = !{!"_ZTSN11alglib_impl13minbleicstateE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !13, i64 48, !13, i64 49, !12, i64 56, !12, i64 64, !39, i64 72, !14, i64 4416, !11, i64 4480, !14, i64 4488, !14, i64 4552, !12, i64 4616, !14, i64 4624, !13, i64 4688, !13, i64 4689, !13, i64 4690, !13, i64 4691, !13, i64 4692, !13, i64 4693, !13, i64 4694, !24, i64 4696, !14, i64 4960, !14, i64 5024, !14, i64 5088, !14, i64 5152, !14, i64 5216, !14, i64 5280, !12, i64 5344, !12, i64 5352, !12, i64 5360, !14, i64 5368, !16, i64 5432, !11, i64 5512, !11, i64 5520, !12, i64 5528, !12, i64 5536, !12, i64 5544, !14, i64 5552, !14, i64 5616, !14, i64 5680, !14, i64 5744, !11, i64 5808, !11, i64 5816, !11, i64 5824, !11, i64 5832, !11, i64 5840, !12, i64 5848, !12, i64 5856, !12, i64 5864, !12, i64 5872, !11, i64 5880, !11, i64 5888, !14, i64 5896, !40, i64 5960, !12, i64 7600, !12, i64 7608, !12, i64 7616, !12, i64 7624, !12, i64 7632, !12, i64 7640, !12, i64 7648, !12, i64 7656, !12, i64 7664, !11, i64 7672, !12, i64 7680, !14, i64 7688, !14, i64 7752, !11, i64 7816, !11, i64 7824, !12, i64 7832, !12, i64 7840, !12, i64 7848, !14, i64 7856, !29, i64 7920, !12, i64 8112, !11, i64 8120, !16, i64 8128, !16, i64 8208, !14, i64 8288, !14, i64 8352, !11, i64 8416, !12, i64 8424, !11, i64 8432, !20, i64 8440, !14, i64 12408, !14, i64 12472}
!39 = !{!"_ZTSN11alglib_impl10sactivesetE", !11, i64 0, !11, i64 8, !14, i64 16, !13, i64 80, !14, i64 88, !14, i64 152, !14, i64 216, !13, i64 280, !16, i64 288, !16, i64 368, !16, i64 448, !11, i64 528, !14, i64 536, !11, i64 600, !11, i64 608, !13, i64 616, !13, i64 617, !14, i64 624, !14, i64 688, !14, i64 752, !14, i64 816, !16, i64 880, !11, i64 960, !11, i64 968, !14, i64 976, !14, i64 1040, !14, i64 1104, !14, i64 1168, !14, i64 1232, !14, i64 1296, !40, i64 1360, !14, i64 3000, !14, i64 3064, !14, i64 3128, !16, i64 3192, !14, i64 3272, !14, i64 3336, !14, i64 3400, !16, i64 3464, !16, i64 3544, !14, i64 3624, !14, i64 3688, !14, i64 3752, !16, i64 3816, !14, i64 3896, !14, i64 3960, !14, i64 4024, !14, i64 4088, !14, i64 4152, !14, i64 4216, !14, i64 4280}
!40 = !{!"_ZTSN11alglib_impl11snnlssolverE", !11, i64 0, !11, i64 8, !11, i64 16, !16, i64 24, !14, i64 104, !14, i64 168, !12, i64 232, !11, i64 240, !14, i64 248, !14, i64 312, !16, i64 376, !16, i64 456, !16, i64 536, !14, i64 616, !14, i64 680, !14, i64 744, !14, i64 808, !14, i64 872, !14, i64 936, !14, i64 1000, !14, i64 1064, !14, i64 1128, !14, i64 1192, !14, i64 1256, !14, i64 1320, !14, i64 1384, !14, i64 1448, !14, i64 1512, !14, i64 1576}
!41 = !{!"_ZTSN11alglib_impl14minbleicreportE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88}
!42 = !{!"_ZTSN11alglib_impl10qqpbuffersE", !11, i64 0, !11, i64 8, !16, i64 16, !36, i64 96, !13, i64 464, !12, i64 472, !12, i64 480, !12, i64 488, !14, i64 496, !14, i64 560, !14, i64 624, !14, i64 688, !14, i64 752, !14, i64 816, !14, i64 880, !14, i64 944, !14, i64 1008, !14, i64 1072, !14, i64 1136, !14, i64 1200, !14, i64 1264, !39, i64 1328, !14, i64 5672, !11, i64 5736, !11, i64 5744, !16, i64 5752, !36, i64 5832, !14, i64 6200, !14, i64 6264, !14, i64 6328, !14, i64 6392, !14, i64 6456, !14, i64 6520, !14, i64 6584, !14, i64 6648, !14, i64 6712, !43, i64 6776, !11, i64 7272, !11, i64 7280, !11, i64 7288, !11, i64 7296}
!43 = !{!"_ZTSN11alglib_impl13sparsebuffersE", !14, i64 0, !14, i64 64, !36, i64 128}
!44 = !{!"_ZTSN11alglib_impl17qpdenseaulbuffersE", !14, i64 0, !16, i64 64, !14, i64 144, !14, i64 208, !14, i64 272, !14, i64 336, !14, i64 400, !14, i64 464, !16, i64 528, !16, i64 608, !14, i64 688, !14, i64 752, !14, i64 816, !14, i64 880, !14, i64 944, !14, i64 1008, !32, i64 1072, !42, i64 1144, !14, i64 8448, !14, i64 8512, !16, i64 8576, !14, i64 8656, !14, i64 8720, !14, i64 8784, !35, i64 8848, !36, i64 10536, !16, i64 10904, !14, i64 10984, !14, i64 11048, !14, i64 11112, !14, i64 11176, !14, i64 11240, !14, i64 11304, !11, i64 11368, !11, i64 11376, !11, i64 11384, !11, i64 11392, !11, i64 11400, !11, i64 11408, !11, i64 11416, !11, i64 11424}
!45 = !{!"_ZTSN11alglib_impl11minqpreportE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!46 = !{!"_ZTSN11alglib_impl15minlmstepfinderE", !11, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !11, i64 32, !13, i64 40, !12, i64 48, !14, i64 56, !12, i64 120, !14, i64 128, !13, i64 192, !13, i64 193, !12, i64 200, !14, i64 208, !14, i64 272, !14, i64 336, !14, i64 400, !14, i64 464, !14, i64 528, !14, i64 592, !14, i64 656, !24, i64 720, !14, i64 984, !14, i64 1048, !14, i64 1112, !14, i64 1176, !12, i64 1240, !12, i64 1248, !31, i64 1256, !45, i64 36488, !36, i64 36528}
!47 = !{!"_ZTSN11alglib_impl11minlmreportE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!48 = !{!7, !7, i64 0}
!49 = !{!11, !11, i64 0}
!50 = !{!12, !12, i64 0}
!51 = !{!10, !11, i64 600}
!52 = !{!10, !11, i64 520}
!53 = !{!10, !11, i64 592}
!54 = !{!10, !11, i64 1480}
!55 = !{!10, !11, i64 8}
!56 = !{!10, !11, i64 16}
!57 = !{!10, !11, i64 712}
!58 = !{!10, !11, i64 720}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}
!61 = distinct !{!61, !60}
!62 = !{!10, !12, i64 24}
!63 = !{!10, !11, i64 32}
!64 = !{!10, !12, i64 40}
!65 = !{!10, !13, i64 48}
!66 = !{i8 0, i8 2}
!67 = !{}
!68 = !{!10, !12, i64 624}
!69 = !{!10, !11, i64 0}
!70 = distinct !{!70, !60}
!71 = !{!10, !13, i64 730}
!72 = !{!10, !12, i64 872}
!73 = !{!10, !11, i64 1472}
!74 = !{!13, !13, i64 0}
!75 = distinct !{!75, !60}
!76 = !{!10, !13, i64 2308}
!77 = !{!10, !11, i64 736}
!78 = !{!10, !13, i64 729}
!79 = !{!10, !13, i64 2304}
!80 = !{!10, !12, i64 2008}
!81 = !{!10, !13, i64 2305}
!82 = distinct !{!82, !60}
!83 = !{!10, !13, i64 2307}
!84 = !{!10, !13, i64 2306}
!85 = distinct !{!85, !60}
!86 = distinct !{!86, !60}
!87 = distinct !{!87, !60}
!88 = !{!10, !13, i64 731}
!89 = distinct !{!89, !60}
!90 = !{!10, !13, i64 2309}
!91 = !{!10, !13, i64 728}
!92 = !{!10, !11, i64 87288}
!93 = !{!10, !11, i64 87280}
!94 = !{!10, !11, i64 1464}
!95 = !{!10, !12, i64 1488}
!96 = !{!10, !12, i64 1520}
!97 = !{!10, !12, i64 1496}
!98 = !{!10, !12, i64 1504}
!99 = !{!10, !12, i64 1512}
!100 = !{!10, !12, i64 616}
!101 = distinct !{!101, !60}
!102 = distinct !{!102, !60}


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

@.str.658 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.659 = external hidden unnamed_addr constant [57 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl14lsfititerationEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 87352
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i32 %4, -1
  br i1 %5, label %6, label %41

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 87416
  %8 = load ptr, ptr %7, align 8, !tbaa !47
  %9 = load i64, ptr %8, align 8, !tbaa !48
  %10 = getelementptr inbounds i8, ptr %8, i64 8
  %11 = load i64, ptr %10, align 8, !tbaa !48
  %12 = getelementptr inbounds i8, ptr %8, i64 16
  %13 = load i64, ptr %12, align 8, !tbaa !48
  %14 = getelementptr inbounds i8, ptr %8, i64 24
  %15 = load i64, ptr %14, align 8, !tbaa !48
  %16 = getelementptr inbounds i8, ptr %8, i64 32
  %17 = load i64, ptr %16, align 8, !tbaa !48
  %18 = getelementptr inbounds i8, ptr %8, i64 40
  %19 = load i64, ptr %18, align 8, !tbaa !48
  %20 = getelementptr inbounds i8, ptr %8, i64 48
  %21 = load i64, ptr %20, align 8, !tbaa !48
  %22 = getelementptr inbounds i8, ptr %0, i64 87544
  %23 = load ptr, ptr %22, align 8, !tbaa !47
  %24 = load double, ptr %23, align 8, !tbaa !49
  %25 = getelementptr inbounds i8, ptr %23, i64 8
  %26 = load double, ptr %25, align 8, !tbaa !49
  %27 = getelementptr inbounds i8, ptr %23, i64 16
  %28 = load double, ptr %27, align 8, !tbaa !49
  %29 = getelementptr inbounds i8, ptr %23, i64 24
  %30 = load double, ptr %29, align 8, !tbaa !49
  %31 = getelementptr inbounds i8, ptr %23, i64 32
  %32 = load double, ptr %31, align 8, !tbaa !49
  %33 = getelementptr inbounds i8, ptr %23, i64 40
  %34 = load double, ptr %33, align 8, !tbaa !49
  %35 = getelementptr inbounds i8, ptr %23, i64 48
  %36 = load double, ptr %35, align 8, !tbaa !49
  %37 = getelementptr inbounds i8, ptr %23, i64 56
  %38 = load double, ptr %37, align 8, !tbaa !49
  %39 = getelementptr inbounds i8, ptr %23, i64 64
  %40 = load double, ptr %39, align 8, !tbaa !49
  br label %41

41:                                               ; preds = %2, %6
  %.0801 = phi double [ %24, %6 ], [ -7.880000e+02, %2 ]
  %.0799 = phi double [ %26, %6 ], [ 8.090000e+02, %2 ]
  %.0797 = phi double [ %28, %6 ], [ 2.050000e+02, %2 ]
  %.0795 = phi double [ %30, %6 ], [ -8.380000e+02, %2 ]
  %.0791 = phi double [ %32, %6 ], [ 9.390000e+02, %2 ]
  %.0789 = phi double [ %34, %6 ], [ -5.260000e+02, %2 ]
  %.0774 = phi i64 [ %9, %6 ], [ 359, %2 ]
  %.0760 = phi i64 [ %11, %6 ], [ -58, %2 ]
  %.0745 = phi i64 [ %13, %6 ], [ -919, %2 ]
  %.0730 = phi double [ %36, %6 ], [ 7.630000e+02, %2 ]
  %.0719 = phi double [ %38, %6 ], [ -5.410000e+02, %2 ]
  %.0713 = phi double [ %40, %6 ], [ -6.980000e+02, %2 ]
  %.0694 = phi i64 [ %15, %6 ], [ -909, %2 ]
  %.0693 = phi i64 [ %17, %6 ], [ 81, %2 ]
  %.0692 = phi i64 [ %19, %6 ], [ 255, %2 ]
  %.0 = phi i64 [ %21, %6 ], [ 74, %2 ]
  switch i32 %4, label %42 [
    i32 0, label %212
    i32 1, label %248
    i32 2, label %291
    i32 3, label %371
    i32 4, label %412
    i32 5, label %471
    i32 6, label %524
    i32 7, label %636
    i32 8, label %712
    i32 9, label %743
    i32 10, label %844
    i32 11, label %879
    i32 12, label %907
    i32 13, label %940
  ]

42:                                               ; preds = %41
  %43 = getelementptr inbounds i8, ptr %0, i64 600
  %44 = load i64, ptr %43, align 8, !tbaa !50
  %45 = icmp eq i64 %44, 1
  br i1 %45, label %46, label %52

46:                                               ; preds = %42
  %47 = getelementptr inbounds i8, ptr %0, i64 520
  %48 = load i64, ptr %47, align 8, !tbaa !51
  %49 = getelementptr inbounds i8, ptr %0, i64 592
  %50 = load i64, ptr %49, align 8, !tbaa !52
  %51 = icmp eq i64 %48, %50
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %51, ptr noundef nonnull @.str.658, ptr noundef %1)
  br label %52

52:                                               ; preds = %46, %42
  %53 = getelementptr inbounds i8, ptr %0, i64 1480
  store i64 -1, ptr %53, align 8, !tbaa !53
  %54 = getelementptr inbounds i8, ptr %0, i64 520
  %55 = load i64, ptr %54, align 8, !tbaa !51
  %56 = getelementptr inbounds i8, ptr %0, i64 8
  %57 = load i64, ptr %56, align 8, !tbaa !54
  %58 = getelementptr inbounds i8, ptr %0, i64 16
  %59 = load i64, ptr %58, align 8, !tbaa !55
  %60 = getelementptr inbounds i8, ptr %0, i64 1088
  %61 = getelementptr inbounds i8, ptr %0, i64 712
  %62 = load i64, ptr %61, align 8, !tbaa !56
  %63 = getelementptr inbounds i8, ptr %0, i64 720
  %64 = load i64, ptr %63, align 8, !tbaa !57
  %65 = add nsw i64 %64, %62
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %60, i64 noundef %65, ptr noundef %1)
  %66 = load i64, ptr %61, align 8, !tbaa !56
  %.not.not849 = icmp sgt i64 %66, 0
  br i1 %.not.not849, label %.lr.ph852, label %.preheader833

.lr.ph852:                                        ; preds = %52
  %67 = getelementptr inbounds i8, ptr %0, i64 1144
  br label %70

.preheader833:                                    ; preds = %70, %52
  %68 = load i64, ptr %63, align 8, !tbaa !57
  %.not.not807853 = icmp sgt i64 %68, 0
  br i1 %.not.not807853, label %.lr.ph855, label %._crit_edge856

.lr.ph855:                                        ; preds = %.preheader833
  %69 = getelementptr inbounds i8, ptr %0, i64 1144
  br label %75

70:                                               ; preds = %.lr.ph852, %70
  %.1695850 = phi i64 [ 0, %.lr.ph852 ], [ %73, %70 ]
  %71 = load ptr, ptr %67, align 8, !tbaa !47
  %72 = getelementptr inbounds i64, ptr %71, i64 %.1695850
  store i64 0, ptr %72, align 8, !tbaa !48
  %73 = add nuw nsw i64 %.1695850, 1
  %74 = load i64, ptr %61, align 8, !tbaa !56
  %.not.not = icmp slt i64 %73, %74
  br i1 %.not.not, label %70, label %.preheader833, !llvm.loop !58

75:                                               ; preds = %.lr.ph855, %75
  %.2696854 = phi i64 [ 0, %.lr.ph855 ], [ %80, %75 ]
  %76 = load ptr, ptr %69, align 8, !tbaa !47
  %77 = load i64, ptr %61, align 8, !tbaa !56
  %78 = getelementptr i64, ptr %76, i64 %77
  %79 = getelementptr i64, ptr %78, i64 %.2696854
  store i64 -1, ptr %79, align 8, !tbaa !48
  %80 = add nuw nsw i64 %.2696854, 1
  %81 = load i64, ptr %63, align 8, !tbaa !57
  %.not.not807 = icmp slt i64 %80, %81
  br i1 %.not.not807, label %75, label %._crit_edge856, !llvm.loop !60

._crit_edge856:                                   ; preds = %75, %.preheader833
  %82 = getelementptr inbounds i8, ptr %0, i64 1872
  %83 = getelementptr inbounds i8, ptr %0, i64 24
  %84 = load double, ptr %83, align 8, !tbaa !61
  %85 = getelementptr inbounds i8, ptr %0, i64 32
  %86 = load i64, ptr %85, align 8, !tbaa !62
  tail call void @_ZN11alglib_impl12minlmsetcondEPNS_10minlmstateEdlPNS_8ae_stateE(ptr noundef nonnull %82, double noundef %84, i64 noundef %86, ptr noundef %1)
  %87 = getelementptr inbounds i8, ptr %0, i64 40
  %88 = load double, ptr %87, align 8, !tbaa !63
  tail call void @_ZN11alglib_impl14minlmsetstpmaxEPNS_10minlmstateEdPNS_8ae_stateE(ptr noundef nonnull %82, double noundef %88, ptr noundef %1)
  %89 = getelementptr inbounds i8, ptr %0, i64 48
  %90 = load i8, ptr %89, align 8, !tbaa !64, !range !65, !noundef !66
  %91 = trunc nuw i8 %90 to i1
  tail call void @_ZN11alglib_impl12minlmsetxrepEPNS_10minlmstateEbPNS_8ae_stateE(ptr noundef nonnull %82, i1 noundef zeroext %91, ptr noundef %1)
  %92 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @_ZN11alglib_impl13minlmsetscaleEPNS_10minlmstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %82, ptr noundef nonnull %92, ptr noundef %1)
  %93 = getelementptr inbounds i8, ptr %0, i64 248
  %94 = getelementptr inbounds i8, ptr %0, i64 312
  tail call void @_ZN11alglib_impl10minlmsetbcEPNS_10minlmstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %82, ptr noundef nonnull %93, ptr noundef nonnull %94, ptr noundef %1)
  %95 = getelementptr inbounds i8, ptr %0, i64 632
  %96 = load i64, ptr %61, align 8, !tbaa !56
  %97 = load i64, ptr %63, align 8, !tbaa !57
  %98 = add nsw i64 %97, %96
  tail call void @_ZN11alglib_impl10minlmsetlcEPNS_10minlmstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %82, ptr noundef nonnull %95, ptr noundef nonnull %60, i64 noundef %98, ptr noundef %1)
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %99 = getelementptr inbounds i8, ptr %0, i64 624
  %100 = load double, ptr %99, align 8, !tbaa !67
  %101 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %100, double noundef 0.000000e+00)
  br i1 %101, label %102, label %312

102:                                              ; preds = %._crit_edge856
  %103 = load i64, ptr %0, align 8, !tbaa !68
  %104 = icmp eq i64 %103, 1
  br i1 %104, label %.preheader832, label %312

.preheader832:                                    ; preds = %102
  %.not.not808857 = icmp sgt i64 %59, 0
  br i1 %.not.not808857, label %.lr.ph859, label %._crit_edge860

.lr.ph859:                                        ; preds = %.preheader832
  %105 = getelementptr inbounds i8, ptr %0, i64 112
  %106 = getelementptr inbounds i8, ptr %0, i64 864
  %107 = getelementptr inbounds i8, ptr %0, i64 304
  %108 = getelementptr inbounds i8, ptr %0, i64 368
  br label %109

109:                                              ; preds = %.lr.ph859, %144
  %.3697858 = phi i64 [ 0, %.lr.ph859 ], [ %145, %144 ]
  %110 = load ptr, ptr %105, align 8, !tbaa !47
  %111 = getelementptr inbounds double, ptr %110, i64 %.3697858
  %112 = load double, ptr %111, align 8, !tbaa !49
  %113 = load ptr, ptr %106, align 8, !tbaa !47
  %114 = getelementptr inbounds double, ptr %113, i64 %.3697858
  store double %112, ptr %114, align 8, !tbaa !49
  %115 = load ptr, ptr %107, align 8, !tbaa !47
  %116 = getelementptr inbounds double, ptr %115, i64 %.3697858
  %117 = load double, ptr %116, align 8, !tbaa !49
  %118 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %117, ptr noundef %1)
  br i1 %118, label %119, label %129

119:                                              ; preds = %109
  %120 = load ptr, ptr %106, align 8, !tbaa !47
  %121 = getelementptr inbounds double, ptr %120, i64 %.3697858
  %122 = load double, ptr %121, align 8, !tbaa !49
  %123 = load ptr, ptr %107, align 8, !tbaa !47
  %124 = getelementptr inbounds double, ptr %123, i64 %.3697858
  %125 = load double, ptr %124, align 8, !tbaa !49
  %126 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %122, double noundef %125, ptr noundef %1)
  %127 = load ptr, ptr %106, align 8, !tbaa !47
  %128 = getelementptr inbounds double, ptr %127, i64 %.3697858
  store double %126, ptr %128, align 8, !tbaa !49
  br label %129

129:                                              ; preds = %119, %109
  %130 = load ptr, ptr %108, align 8, !tbaa !47
  %131 = getelementptr inbounds double, ptr %130, i64 %.3697858
  %132 = load double, ptr %131, align 8, !tbaa !49
  %133 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %132, ptr noundef %1)
  br i1 %133, label %134, label %144

134:                                              ; preds = %129
  %135 = load ptr, ptr %106, align 8, !tbaa !47
  %136 = getelementptr inbounds double, ptr %135, i64 %.3697858
  %137 = load double, ptr %136, align 8, !tbaa !49
  %138 = load ptr, ptr %108, align 8, !tbaa !47
  %139 = getelementptr inbounds double, ptr %138, i64 %.3697858
  %140 = load double, ptr %139, align 8, !tbaa !49
  %141 = tail call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %137, double noundef %140, ptr noundef %1)
  %142 = load ptr, ptr %106, align 8, !tbaa !47
  %143 = getelementptr inbounds double, ptr %142, i64 %.3697858
  store double %141, ptr %143, align 8, !tbaa !49
  br label %144

144:                                              ; preds = %129, %134
  %145 = add nuw nsw i64 %.3697858, 1
  %exitcond895.not = icmp eq i64 %145, %59
  br i1 %exitcond895.not, label %._crit_edge860, label %109, !llvm.loop !69

._crit_edge860:                                   ; preds = %144, %.preheader832
  %146 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 1, ptr %146, align 2, !tbaa !70
  br label %147

147:                                              ; preds = %308, %._crit_edge860
  %.1775 = phi i64 [ %.2776, %308 ], [ %55, %._crit_edge860 ]
  %.1761 = phi i64 [ %.2762, %308 ], [ %57, %._crit_edge860 ]
  %.1746 = phi i64 [ %.2747, %308 ], [ %59, %._crit_edge860 ]
  %.1731 = phi double [ %.2732, %308 ], [ %.0730, %._crit_edge860 ]
  %.4698 = phi i64 [ %309, %308 ], [ 0, %._crit_edge860 ]
  %.1 = phi i64 [ %.2, %308 ], [ %.0693, %._crit_edge860 ]
  %.not812 = icmp slt i64 %.4698, %.1746
  br i1 %.not812, label %148, label %310

148:                                              ; preds = %147
  %149 = getelementptr inbounds i8, ptr %0, i64 304
  %150 = load ptr, ptr %149, align 8, !tbaa !47
  %151 = getelementptr inbounds double, ptr %150, i64 %.4698
  %152 = load double, ptr %151, align 8, !tbaa !49
  %153 = getelementptr inbounds i8, ptr %0, i64 864
  %154 = load ptr, ptr %153, align 8, !tbaa !47
  %155 = getelementptr inbounds double, ptr %154, i64 %.4698
  %156 = load double, ptr %155, align 8, !tbaa !49
  %157 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %152, double noundef %156)
  br i1 %157, label %158, label %167

158:                                              ; preds = %148
  %159 = load ptr, ptr %153, align 8, !tbaa !47
  %160 = getelementptr inbounds double, ptr %159, i64 %.4698
  %161 = load double, ptr %160, align 8, !tbaa !49
  %162 = getelementptr inbounds i8, ptr %0, i64 368
  %163 = load ptr, ptr %162, align 8, !tbaa !47
  %164 = getelementptr inbounds double, ptr %163, i64 %.4698
  %165 = load double, ptr %164, align 8, !tbaa !49
  %166 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %161, double noundef %165)
  br label %167

167:                                              ; preds = %158, %148
  %168 = phi i1 [ false, %148 ], [ %166, %158 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %168, ptr noundef nonnull @.str.659, ptr noundef %1)
  %169 = load ptr, ptr %153, align 8, !tbaa !47
  %170 = getelementptr inbounds double, ptr %169, i64 %.4698
  %171 = load double, ptr %170, align 8, !tbaa !49
  br label %172

172:                                              ; preds = %306, %167
  %.2776 = phi i64 [ %.0774, %306 ], [ %.1775, %167 ]
  %.2762 = phi i64 [ %.0760, %306 ], [ %.1761, %167 ]
  %.2747 = phi i64 [ %.0745, %306 ], [ %.1746, %167 ]
  %.2732 = phi double [ %.0730, %306 ], [ %171, %167 ]
  %.5699 = phi i64 [ %.0694, %306 ], [ %.4698, %167 ]
  %.2 = phi i64 [ %307, %306 ], [ 0, %167 ]
  %.not811 = icmp slt i64 %.2, %.2776
  br i1 %.not811, label %173, label %308

173:                                              ; preds = %172
  %174 = getelementptr inbounds i8, ptr %0, i64 800
  %175 = load ptr, ptr %174, align 8, !tbaa !47
  %176 = getelementptr inbounds i8, ptr %0, i64 448
  %177 = load ptr, ptr %176, align 8, !tbaa !47
  %178 = getelementptr inbounds ptr, ptr %177, i64 %.2
  %179 = load ptr, ptr %178, align 8, !tbaa !71
  %180 = add nsw i64 %.2762, -1
  %181 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %180)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %175, i64 noundef 1, ptr noundef %179, i64 noundef 1, i64 noundef %181)
  %182 = getelementptr inbounds i8, ptr %0, i64 624
  %183 = load double, ptr %182, align 8, !tbaa !67
  %184 = getelementptr inbounds i8, ptr %0, i64 240
  %185 = load ptr, ptr %184, align 8, !tbaa !47
  %186 = getelementptr inbounds double, ptr %185, i64 %.5699
  %187 = load double, ptr %186, align 8, !tbaa !49
  %188 = fneg double %183
  %189 = tail call double @llvm.fmuladd.f64(double %188, double %187, double %.2732)
  %190 = getelementptr inbounds i8, ptr %0, i64 864
  %191 = load ptr, ptr %190, align 8, !tbaa !47
  %192 = getelementptr inbounds double, ptr %191, i64 %.5699
  store double %189, ptr %192, align 8, !tbaa !49
  %193 = getelementptr inbounds i8, ptr %0, i64 304
  %194 = load ptr, ptr %193, align 8, !tbaa !47
  %195 = getelementptr inbounds double, ptr %194, i64 %.5699
  %196 = load double, ptr %195, align 8, !tbaa !49
  %197 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %196, ptr noundef %1)
  br i1 %197, label %198, label %208

198:                                              ; preds = %173
  %199 = load ptr, ptr %190, align 8, !tbaa !47
  %200 = getelementptr inbounds double, ptr %199, i64 %.5699
  %201 = load double, ptr %200, align 8, !tbaa !49
  %202 = load ptr, ptr %193, align 8, !tbaa !47
  %203 = getelementptr inbounds double, ptr %202, i64 %.5699
  %204 = load double, ptr %203, align 8, !tbaa !49
  %205 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %201, double noundef %204, ptr noundef %1)
  %206 = load ptr, ptr %190, align 8, !tbaa !47
  %207 = getelementptr inbounds double, ptr %206, i64 %.5699
  store double %205, ptr %207, align 8, !tbaa !49
  br label %208

208:                                              ; preds = %198, %173
  %209 = load ptr, ptr %190, align 8, !tbaa !47
  %210 = getelementptr inbounds double, ptr %209, i64 %.5699
  %211 = load double, ptr %210, align 8, !tbaa !49
  br label %1003

212:                                              ; preds = %41
  %213 = getelementptr inbounds i8, ptr %0, i64 872
  %214 = load double, ptr %213, align 8, !tbaa !72
  %215 = getelementptr inbounds i8, ptr %0, i64 936
  %216 = load ptr, ptr %215, align 8, !tbaa !47
  %217 = getelementptr inbounds double, ptr %216, i64 %.0694
  %218 = load double, ptr %217, align 8, !tbaa !49
  %219 = getelementptr inbounds i8, ptr %0, i64 624
  %220 = load double, ptr %219, align 8, !tbaa !67
  %221 = getelementptr inbounds i8, ptr %0, i64 240
  %222 = load ptr, ptr %221, align 8, !tbaa !47
  %223 = getelementptr inbounds double, ptr %222, i64 %.0694
  %224 = load double, ptr %223, align 8, !tbaa !49
  %225 = tail call double @llvm.fmuladd.f64(double %220, double %224, double %.0730)
  %226 = getelementptr inbounds i8, ptr %0, i64 864
  %227 = load ptr, ptr %226, align 8, !tbaa !47
  %228 = getelementptr inbounds double, ptr %227, i64 %.0694
  store double %225, ptr %228, align 8, !tbaa !49
  %229 = getelementptr inbounds i8, ptr %0, i64 368
  %230 = load ptr, ptr %229, align 8, !tbaa !47
  %231 = getelementptr inbounds double, ptr %230, i64 %.0694
  %232 = load double, ptr %231, align 8, !tbaa !49
  %233 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %232, ptr noundef %1)
  br i1 %233, label %234, label %244

234:                                              ; preds = %212
  %235 = load ptr, ptr %226, align 8, !tbaa !47
  %236 = getelementptr inbounds double, ptr %235, i64 %.0694
  %237 = load double, ptr %236, align 8, !tbaa !49
  %238 = load ptr, ptr %229, align 8, !tbaa !47
  %239 = getelementptr inbounds double, ptr %238, i64 %.0694
  %240 = load double, ptr %239, align 8, !tbaa !49
  %241 = tail call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %237, double noundef %240, ptr noundef %1)
  %242 = load ptr, ptr %226, align 8, !tbaa !47
  %243 = getelementptr inbounds double, ptr %242, i64 %.0694
  store double %241, ptr %243, align 8, !tbaa !49
  br label %244

244:                                              ; preds = %234, %212
  %245 = load ptr, ptr %226, align 8, !tbaa !47
  %246 = getelementptr inbounds double, ptr %245, i64 %.0694
  %247 = load double, ptr %246, align 8, !tbaa !49
  br label %1003

248:                                              ; preds = %41
  %249 = getelementptr inbounds i8, ptr %0, i64 872
  %250 = load double, ptr %249, align 8, !tbaa !72
  %251 = getelementptr inbounds i8, ptr %0, i64 936
  %252 = load ptr, ptr %251, align 8, !tbaa !47
  %253 = getelementptr inbounds double, ptr %252, i64 %.0694
  %254 = load double, ptr %253, align 8, !tbaa !49
  %255 = fadd double %.0801, %.0795
  %256 = fmul double %255, 5.000000e-01
  %257 = getelementptr inbounds i8, ptr %0, i64 864
  %258 = load ptr, ptr %257, align 8, !tbaa !47
  %259 = getelementptr inbounds double, ptr %258, i64 %.0694
  store double %256, ptr %259, align 8, !tbaa !49
  %260 = getelementptr inbounds i8, ptr %0, i64 304
  %261 = load ptr, ptr %260, align 8, !tbaa !47
  %262 = getelementptr inbounds double, ptr %261, i64 %.0694
  %263 = load double, ptr %262, align 8, !tbaa !49
  %264 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %263, ptr noundef %1)
  br i1 %264, label %265, label %275

265:                                              ; preds = %248
  %266 = load ptr, ptr %257, align 8, !tbaa !47
  %267 = getelementptr inbounds double, ptr %266, i64 %.0694
  %268 = load double, ptr %267, align 8, !tbaa !49
  %269 = load ptr, ptr %260, align 8, !tbaa !47
  %270 = getelementptr inbounds double, ptr %269, i64 %.0694
  %271 = load double, ptr %270, align 8, !tbaa !49
  %272 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %268, double noundef %271, ptr noundef %1)
  %273 = load ptr, ptr %257, align 8, !tbaa !47
  %274 = getelementptr inbounds double, ptr %273, i64 %.0694
  store double %272, ptr %274, align 8, !tbaa !49
  br label %275

275:                                              ; preds = %265, %248
  %276 = getelementptr inbounds i8, ptr %0, i64 368
  %277 = load ptr, ptr %276, align 8, !tbaa !47
  %278 = getelementptr inbounds double, ptr %277, i64 %.0694
  %279 = load double, ptr %278, align 8, !tbaa !49
  %280 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %279, ptr noundef %1)
  br i1 %280, label %281, label %1003

281:                                              ; preds = %275
  %282 = load ptr, ptr %257, align 8, !tbaa !47
  %283 = getelementptr inbounds double, ptr %282, i64 %.0694
  %284 = load double, ptr %283, align 8, !tbaa !49
  %285 = load ptr, ptr %276, align 8, !tbaa !47
  %286 = getelementptr inbounds double, ptr %285, i64 %.0694
  %287 = load double, ptr %286, align 8, !tbaa !49
  %288 = tail call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %284, double noundef %287, ptr noundef %1)
  %289 = load ptr, ptr %257, align 8, !tbaa !47
  %290 = getelementptr inbounds double, ptr %289, i64 %.0694
  store double %288, ptr %290, align 8, !tbaa !49
  br label %1003

291:                                              ; preds = %41
  %292 = getelementptr inbounds i8, ptr %0, i64 864
  %293 = load ptr, ptr %292, align 8, !tbaa !47
  %294 = getelementptr inbounds double, ptr %293, i64 %.0694
  store double %.0730, ptr %294, align 8, !tbaa !49
  %295 = getelementptr inbounds i8, ptr %0, i64 872
  %296 = load double, ptr %295, align 8, !tbaa !72
  %297 = getelementptr inbounds i8, ptr %0, i64 936
  %298 = load ptr, ptr %297, align 8, !tbaa !47
  %299 = getelementptr inbounds double, ptr %298, i64 %.0694
  %300 = load double, ptr %299, align 8, !tbaa !49
  %301 = fsub double %.0795, %.0801
  %302 = tail call noundef zeroext i1 @_ZN11alglib_impl15derivativecheckEdddddddPNS_8ae_stateE(double noundef %.0799, double noundef %.0797, double noundef %.0791, double noundef %.0789, double noundef %296, double noundef %300, double noundef %301, ptr noundef %1)
  br i1 %302, label %306, label %303

303:                                              ; preds = %291
  %304 = getelementptr inbounds i8, ptr %0, i64 1480
  store i64 %.0694, ptr %304, align 8, !tbaa !53
  %305 = getelementptr inbounds i8, ptr %0, i64 1472
  store i64 -7, ptr %305, align 8, !tbaa !73
  br label %1036

306:                                              ; preds = %291
  %307 = add nsw i64 %.0693, 1
  br label %172

308:                                              ; preds = %172
  %309 = add nsw i64 %.5699, 1
  br label %147

310:                                              ; preds = %147
  %311 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 0, ptr %311, align 2, !tbaa !70
  br label %312

312:                                              ; preds = %._crit_edge856, %102, %310
  %.3777 = phi i64 [ %.1775, %310 ], [ %55, %102 ], [ %55, %._crit_edge856 ]
  %.3763 = phi i64 [ %.1761, %310 ], [ %57, %102 ], [ %57, %._crit_edge856 ]
  %.3748 = phi i64 [ %.1746, %310 ], [ %59, %102 ], [ %59, %._crit_edge856 ]
  %.3733 = phi double [ %.1731, %310 ], [ %.0730, %102 ], [ %.0730, %._crit_edge856 ]
  %.3 = phi i64 [ %.1, %310 ], [ %.0693, %102 ], [ %.0693, %._crit_edge856 ]
  %313 = getelementptr inbounds i8, ptr %0, i64 1024
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %313, i64 noundef %.3777, ptr noundef %1)
  %.not813.not861 = icmp sgt i64 %.3777, 0
  br i1 %.not813.not861, label %.lr.ph864, label %.preheader829

.lr.ph864:                                        ; preds = %312
  %314 = getelementptr inbounds i8, ptr %0, i64 1080
  %315 = getelementptr inbounds i8, ptr %0, i64 600
  %316 = load i64, ptr %315, align 8, !tbaa !50
  %317 = icmp eq i64 %316, 1
  %318 = getelementptr inbounds i8, ptr %0, i64 584
  br i1 %317, label %.lr.ph864.split.us.preheader, label %.lr.ph864.split.preheader

.lr.ph864.split.preheader:                        ; preds = %.lr.ph864
  %xtraiter912 = and i64 %.3777, 3
  %319 = icmp ult i64 %.3777, 4
  br i1 %319, label %.preheader829.loopexit911.unr-lcssa, label %.lr.ph864.split.preheader.new

.lr.ph864.split.preheader.new:                    ; preds = %.lr.ph864.split.preheader
  %unroll_iter914 = and i64 %.3777, 9223372036854775804
  br label %.lr.ph864.split

.lr.ph864.split.us.preheader:                     ; preds = %.lr.ph864
  %xtraiter916 = and i64 %.3777, 1
  %320 = icmp eq i64 %.3777, 1
  br i1 %320, label %.preheader829.loopexit.unr-lcssa, label %.lr.ph864.split.us.preheader.new

.lr.ph864.split.us.preheader.new:                 ; preds = %.lr.ph864.split.us.preheader
  %unroll_iter919 = and i64 %.3777, 9223372036854775806
  br label %.lr.ph864.split.us

.lr.ph864.split.us:                               ; preds = %.lr.ph864.split.us, %.lr.ph864.split.us.preheader.new
  %.6700862.us = phi i64 [ 0, %.lr.ph864.split.us.preheader.new ], [ %336, %.lr.ph864.split.us ]
  %niter920 = phi i64 [ 0, %.lr.ph864.split.us.preheader.new ], [ %niter920.next.1, %.lr.ph864.split.us ]
  %321 = load ptr, ptr %314, align 8, !tbaa !47
  %322 = getelementptr inbounds double, ptr %321, i64 %.6700862.us
  store double 1.000000e+00, ptr %322, align 8, !tbaa !49
  %323 = load ptr, ptr %318, align 8, !tbaa !47
  %324 = getelementptr inbounds double, ptr %323, i64 %.6700862.us
  %325 = load double, ptr %324, align 8, !tbaa !49
  %326 = load ptr, ptr %314, align 8, !tbaa !47
  %327 = getelementptr inbounds double, ptr %326, i64 %.6700862.us
  store double %325, ptr %327, align 8, !tbaa !49
  %328 = or disjoint i64 %.6700862.us, 1
  %329 = load ptr, ptr %314, align 8, !tbaa !47
  %330 = getelementptr inbounds double, ptr %329, i64 %328
  store double 1.000000e+00, ptr %330, align 8, !tbaa !49
  %331 = load ptr, ptr %318, align 8, !tbaa !47
  %332 = getelementptr inbounds double, ptr %331, i64 %328
  %333 = load double, ptr %332, align 8, !tbaa !49
  %334 = load ptr, ptr %314, align 8, !tbaa !47
  %335 = getelementptr inbounds double, ptr %334, i64 %328
  store double %333, ptr %335, align 8, !tbaa !49
  %336 = add nuw nsw i64 %.6700862.us, 2
  %niter920.next.1 = add i64 %niter920, 2
  %niter920.ncmp.1 = icmp eq i64 %niter920.next.1, %unroll_iter919
  br i1 %niter920.ncmp.1, label %.preheader829.loopexit.unr-lcssa, label %.lr.ph864.split.us, !llvm.loop !74

.lr.ph864.split:                                  ; preds = %.lr.ph864.split, %.lr.ph864.split.preheader.new
  %.6700862 = phi i64 [ 0, %.lr.ph864.split.preheader.new ], [ %348, %.lr.ph864.split ]
  %niter915 = phi i64 [ 0, %.lr.ph864.split.preheader.new ], [ %niter915.next.3, %.lr.ph864.split ]
  %337 = load ptr, ptr %314, align 8, !tbaa !47
  %338 = getelementptr inbounds double, ptr %337, i64 %.6700862
  store double 1.000000e+00, ptr %338, align 8, !tbaa !49
  %339 = or disjoint i64 %.6700862, 1
  %340 = load ptr, ptr %314, align 8, !tbaa !47
  %341 = getelementptr inbounds double, ptr %340, i64 %339
  store double 1.000000e+00, ptr %341, align 8, !tbaa !49
  %342 = or disjoint i64 %.6700862, 2
  %343 = load ptr, ptr %314, align 8, !tbaa !47
  %344 = getelementptr inbounds double, ptr %343, i64 %342
  store double 1.000000e+00, ptr %344, align 8, !tbaa !49
  %345 = or disjoint i64 %.6700862, 3
  %346 = load ptr, ptr %314, align 8, !tbaa !47
  %347 = getelementptr inbounds double, ptr %346, i64 %345
  store double 1.000000e+00, ptr %347, align 8, !tbaa !49
  %348 = add nuw nsw i64 %.6700862, 4
  %niter915.next.3 = add i64 %niter915, 4
  %niter915.ncmp.3 = icmp eq i64 %niter915.next.3, %unroll_iter914
  br i1 %niter915.ncmp.3, label %.preheader829.loopexit911.unr-lcssa, label %.lr.ph864.split, !llvm.loop !74

349:                                              ; preds = %.preheader829, %698
  %350 = tail call noundef zeroext i1 @_ZN11alglib_impl14minlmiterationEPNS_10minlmstateEPNS_8ae_stateE(ptr noundef nonnull %612, ptr noundef %1)
  br i1 %350, label %351, label %714

351:                                              ; preds = %349
  %352 = load i8, ptr %613, align 4, !tbaa !75, !range !65, !noundef !66
  %353 = trunc nuw i8 %352 to i1
  br i1 %353, label %.loopexit830, label %389

.loopexit830:                                     ; preds = %351, %371
  %.5779 = phi i64 [ %.0774, %371 ], [ %.4778.ph, %351 ]
  %.5765 = phi i64 [ %.0760, %371 ], [ %.4764.ph, %351 ]
  %.5750 = phi i64 [ %.0745, %371 ], [ %.4749.ph, %351 ]
  %.5735 = phi double [ %.0730, %371 ], [ %.4734.ph, %351 ]
  %.2721 = phi double [ %376, %371 ], [ %.1720.ph, %351 ]
  %.8702 = phi i64 [ %388, %371 ], [ 0, %351 ]
  %.5 = phi i64 [ %.0693, %371 ], [ %.4.ph, %351 ]
  %.not826 = icmp slt i64 %.8702, %.5779
  br i1 %.not826, label %354, label %.preheader829

354:                                              ; preds = %.loopexit830
  %355 = getelementptr inbounds i8, ptr %0, i64 864
  %356 = load ptr, ptr %355, align 8, !tbaa !47
  %357 = getelementptr inbounds i8, ptr %0, i64 2000
  %358 = load ptr, ptr %357, align 8, !tbaa !47
  %359 = add nsw i64 %.5750, -1
  %360 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %359)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %356, i64 noundef 1, ptr noundef %358, i64 noundef 1, i64 noundef %360)
  %361 = getelementptr inbounds i8, ptr %0, i64 800
  %362 = load ptr, ptr %361, align 8, !tbaa !47
  %363 = getelementptr inbounds i8, ptr %0, i64 448
  %364 = load ptr, ptr %363, align 8, !tbaa !47
  %365 = getelementptr inbounds ptr, ptr %364, i64 %.8702
  %366 = load ptr, ptr %365, align 8, !tbaa !71
  %367 = add nsw i64 %.5765, -1
  %368 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %367)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %362, i64 noundef 1, ptr noundef %366, i64 noundef 1, i64 noundef %368)
  %369 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.8702, ptr %369, align 8, !tbaa !76
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %370 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 1, ptr %370, align 1, !tbaa !77
  br label %1003

371:                                              ; preds = %41
  %372 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 0, ptr %372, align 1, !tbaa !77
  %373 = getelementptr inbounds i8, ptr %0, i64 1080
  %374 = load ptr, ptr %373, align 8, !tbaa !47
  %375 = getelementptr inbounds double, ptr %374, i64 %.0694
  %376 = load double, ptr %375, align 8, !tbaa !49
  %377 = getelementptr inbounds i8, ptr %0, i64 872
  %378 = load double, ptr %377, align 8, !tbaa !72
  %379 = getelementptr inbounds i8, ptr %0, i64 512
  %380 = load ptr, ptr %379, align 8, !tbaa !47
  %381 = getelementptr inbounds double, ptr %380, i64 %.0694
  %382 = load double, ptr %381, align 8, !tbaa !49
  %383 = fsub double %378, %382
  %384 = fmul double %376, %383
  %385 = getelementptr inbounds i8, ptr %0, i64 2072
  %386 = load ptr, ptr %385, align 8, !tbaa !47
  %387 = getelementptr inbounds double, ptr %386, i64 %.0694
  store double %384, ptr %387, align 8, !tbaa !49
  %388 = add nsw i64 %.0694, 1
  br label %.loopexit830

389:                                              ; preds = %351
  %390 = load i8, ptr %614, align 8, !tbaa !78, !range !65, !noundef !66
  %391 = trunc nuw i8 %390 to i1
  br i1 %391, label %392, label %431

392:                                              ; preds = %389
  %393 = getelementptr inbounds i8, ptr %0, i64 2008
  store double 0.000000e+00, ptr %393, align 8, !tbaa !79
  br label %394

394:                                              ; preds = %412, %392
  %.6780 = phi i64 [ %.4778.ph, %392 ], [ %.0774, %412 ]
  %.6766 = phi i64 [ %.4764.ph, %392 ], [ %.0760, %412 ]
  %.6751 = phi i64 [ %.4749.ph, %392 ], [ %.0745, %412 ]
  %.6736 = phi double [ %.4734.ph, %392 ], [ %.0730, %412 ]
  %.3722 = phi double [ %.1720.ph, %392 ], [ %417, %412 ]
  %.9703 = phi i64 [ 0, %392 ], [ %430, %412 ]
  %.6 = phi i64 [ %.4.ph, %392 ], [ %.0693, %412 ]
  %.not825 = icmp slt i64 %.9703, %.6780
  br i1 %.not825, label %395, label %.preheader829

395:                                              ; preds = %394
  %396 = getelementptr inbounds i8, ptr %0, i64 864
  %397 = load ptr, ptr %396, align 8, !tbaa !47
  %398 = getelementptr inbounds i8, ptr %0, i64 2000
  %399 = load ptr, ptr %398, align 8, !tbaa !47
  %400 = add nsw i64 %.6751, -1
  %401 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %400)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %397, i64 noundef 1, ptr noundef %399, i64 noundef 1, i64 noundef %401)
  %402 = getelementptr inbounds i8, ptr %0, i64 800
  %403 = load ptr, ptr %402, align 8, !tbaa !47
  %404 = getelementptr inbounds i8, ptr %0, i64 448
  %405 = load ptr, ptr %404, align 8, !tbaa !47
  %406 = getelementptr inbounds ptr, ptr %405, i64 %.9703
  %407 = load ptr, ptr %406, align 8, !tbaa !71
  %408 = add nsw i64 %.6766, -1
  %409 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %408)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %403, i64 noundef 1, ptr noundef %407, i64 noundef 1, i64 noundef %409)
  %410 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.9703, ptr %410, align 8, !tbaa !76
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %411 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 1, ptr %411, align 1, !tbaa !77
  br label %1003

412:                                              ; preds = %41
  %413 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 0, ptr %413, align 1, !tbaa !77
  %414 = getelementptr inbounds i8, ptr %0, i64 1080
  %415 = load ptr, ptr %414, align 8, !tbaa !47
  %416 = getelementptr inbounds double, ptr %415, i64 %.0694
  %417 = load double, ptr %416, align 8, !tbaa !49
  %418 = getelementptr inbounds i8, ptr %0, i64 2008
  %419 = load double, ptr %418, align 8, !tbaa !79
  %420 = getelementptr inbounds i8, ptr %0, i64 872
  %421 = load double, ptr %420, align 8, !tbaa !72
  %422 = getelementptr inbounds i8, ptr %0, i64 512
  %423 = load ptr, ptr %422, align 8, !tbaa !47
  %424 = getelementptr inbounds double, ptr %423, i64 %.0694
  %425 = load double, ptr %424, align 8, !tbaa !49
  %426 = fsub double %421, %425
  %427 = fmul double %417, %426
  %428 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %427, ptr noundef %1)
  %429 = fadd double %419, %428
  store double %429, ptr %418, align 8, !tbaa !79
  %430 = add nsw i64 %.0694, 1
  br label %394

431:                                              ; preds = %389
  %432 = load i8, ptr %615, align 1, !tbaa !80, !range !65, !noundef !66
  %433 = trunc nuw i8 %432 to i1
  br i1 %433, label %434, label %504

434:                                              ; preds = %431
  %435 = getelementptr inbounds i8, ptr %0, i64 2008
  store double 0.000000e+00, ptr %435, align 8, !tbaa !79
  %.not823.not884 = icmp sgt i64 %.4749.ph, 0
  br i1 %.not823.not884, label %.lr.ph887, label %.loopexit

.lr.ph887:                                        ; preds = %434
  %436 = getelementptr inbounds i8, ptr %0, i64 2296
  %xtraiter940 = and i64 %.4749.ph, 3
  %437 = icmp ult i64 %.4749.ph, 4
  br i1 %437, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph887.new

.lr.ph887.new:                                    ; preds = %.lr.ph887
  %unroll_iter943 = and i64 %.4749.ph, 9223372036854775804
  br label %438

438:                                              ; preds = %438, %.lr.ph887.new
  %.10704885 = phi i64 [ 0, %.lr.ph887.new ], [ %450, %438 ]
  %niter944 = phi i64 [ 0, %.lr.ph887.new ], [ %niter944.next.3, %438 ]
  %439 = load ptr, ptr %436, align 8, !tbaa !47
  %440 = getelementptr inbounds double, ptr %439, i64 %.10704885
  store double 0.000000e+00, ptr %440, align 8, !tbaa !49
  %441 = or disjoint i64 %.10704885, 1
  %442 = load ptr, ptr %436, align 8, !tbaa !47
  %443 = getelementptr inbounds double, ptr %442, i64 %441
  store double 0.000000e+00, ptr %443, align 8, !tbaa !49
  %444 = or disjoint i64 %.10704885, 2
  %445 = load ptr, ptr %436, align 8, !tbaa !47
  %446 = getelementptr inbounds double, ptr %445, i64 %444
  store double 0.000000e+00, ptr %446, align 8, !tbaa !49
  %447 = or disjoint i64 %.10704885, 3
  %448 = load ptr, ptr %436, align 8, !tbaa !47
  %449 = getelementptr inbounds double, ptr %448, i64 %447
  store double 0.000000e+00, ptr %449, align 8, !tbaa !49
  %450 = add nuw nsw i64 %.10704885, 4
  %niter944.next.3 = add i64 %niter944, 4
  %niter944.ncmp.3 = icmp eq i64 %niter944.next.3, %unroll_iter943
  br i1 %niter944.ncmp.3, label %.loopexit.loopexit.unr-lcssa, label %438, !llvm.loop !81

.loopexit.loopexit.unr-lcssa:                     ; preds = %438, %.lr.ph887
  %.10704885.unr = phi i64 [ 0, %.lr.ph887 ], [ %450, %438 ]
  %lcmp.mod942.not = icmp eq i64 %xtraiter940, 0
  br i1 %lcmp.mod942.not, label %.loopexit, label %.epil.preheader939

.epil.preheader939:                               ; preds = %.loopexit.loopexit.unr-lcssa, %.epil.preheader939
  %.10704885.epil = phi i64 [ %453, %.epil.preheader939 ], [ %.10704885.unr, %.loopexit.loopexit.unr-lcssa ]
  %epil.iter941 = phi i64 [ %epil.iter941.next, %.epil.preheader939 ], [ 0, %.loopexit.loopexit.unr-lcssa ]
  %451 = load ptr, ptr %436, align 8, !tbaa !47
  %452 = getelementptr inbounds double, ptr %451, i64 %.10704885.epil
  store double 0.000000e+00, ptr %452, align 8, !tbaa !49
  %453 = add nuw nsw i64 %.10704885.epil, 1
  %epil.iter941.next = add i64 %epil.iter941, 1
  %epil.iter941.cmp.not = icmp eq i64 %epil.iter941.next, %xtraiter940
  br i1 %epil.iter941.cmp.not, label %.loopexit, label %.epil.preheader939, !llvm.loop !82

.loopexit:                                        ; preds = %.loopexit.loopexit.unr-lcssa, %.epil.preheader939, %434, %471
  %.7781 = phi i64 [ %.0774, %471 ], [ %.4778.ph, %434 ], [ %.4778.ph, %.epil.preheader939 ], [ %.4778.ph, %.loopexit.loopexit.unr-lcssa ]
  %.7767 = phi i64 [ %.0760, %471 ], [ %.4764.ph, %434 ], [ %.4764.ph, %.epil.preheader939 ], [ %.4764.ph, %.loopexit.loopexit.unr-lcssa ]
  %.7752 = phi i64 [ %.0745, %471 ], [ %.4749.ph, %434 ], [ %.4749.ph, %.epil.preheader939 ], [ %.4749.ph, %.loopexit.loopexit.unr-lcssa ]
  %.7737 = phi double [ %496, %471 ], [ %.4734.ph, %434 ], [ %.4734.ph, %.epil.preheader939 ], [ %.4734.ph, %.loopexit.loopexit.unr-lcssa ]
  %.4723 = phi double [ %476, %471 ], [ %.1720.ph, %434 ], [ %.1720.ph, %.epil.preheader939 ], [ %.1720.ph, %.loopexit.loopexit.unr-lcssa ]
  %.11705 = phi i64 [ %503, %471 ], [ 0, %434 ], [ 0, %.epil.preheader939 ], [ 0, %.loopexit.loopexit.unr-lcssa ]
  %.7 = phi i64 [ %.0693, %471 ], [ %.4.ph, %434 ], [ %.4.ph, %.epil.preheader939 ], [ %.4.ph, %.loopexit.loopexit.unr-lcssa ]
  %.not824 = icmp slt i64 %.11705, %.7781
  br i1 %.not824, label %454, label %.preheader829

454:                                              ; preds = %.loopexit
  %455 = getelementptr inbounds i8, ptr %0, i64 864
  %456 = load ptr, ptr %455, align 8, !tbaa !47
  %457 = getelementptr inbounds i8, ptr %0, i64 2000
  %458 = load ptr, ptr %457, align 8, !tbaa !47
  %459 = add nsw i64 %.7752, -1
  %460 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %459)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %456, i64 noundef 1, ptr noundef %458, i64 noundef 1, i64 noundef %460)
  %461 = getelementptr inbounds i8, ptr %0, i64 800
  %462 = load ptr, ptr %461, align 8, !tbaa !47
  %463 = getelementptr inbounds i8, ptr %0, i64 448
  %464 = load ptr, ptr %463, align 8, !tbaa !47
  %465 = getelementptr inbounds ptr, ptr %464, i64 %.11705
  %466 = load ptr, ptr %465, align 8, !tbaa !71
  %467 = add nsw i64 %.7767, -1
  %468 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %467)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %462, i64 noundef 1, ptr noundef %466, i64 noundef 1, i64 noundef %468)
  %469 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.11705, ptr %469, align 8, !tbaa !76
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %470 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 1, ptr %470, align 2, !tbaa !70
  br label %1003

471:                                              ; preds = %41
  %472 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 0, ptr %472, align 2, !tbaa !70
  %473 = getelementptr inbounds i8, ptr %0, i64 1080
  %474 = load ptr, ptr %473, align 8, !tbaa !47
  %475 = getelementptr inbounds double, ptr %474, i64 %.0694
  %476 = load double, ptr %475, align 8, !tbaa !49
  %477 = getelementptr inbounds i8, ptr %0, i64 2008
  %478 = load double, ptr %477, align 8, !tbaa !79
  %479 = getelementptr inbounds i8, ptr %0, i64 872
  %480 = load double, ptr %479, align 8, !tbaa !72
  %481 = getelementptr inbounds i8, ptr %0, i64 512
  %482 = load ptr, ptr %481, align 8, !tbaa !47
  %483 = getelementptr inbounds double, ptr %482, i64 %.0694
  %484 = load double, ptr %483, align 8, !tbaa !49
  %485 = fsub double %480, %484
  %486 = fmul double %476, %485
  %487 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %486, ptr noundef %1)
  %488 = fadd double %478, %487
  store double %488, ptr %477, align 8, !tbaa !79
  %489 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %476, ptr noundef %1)
  %490 = fmul double %489, 2.000000e+00
  %491 = load double, ptr %479, align 8, !tbaa !72
  %492 = load ptr, ptr %481, align 8, !tbaa !47
  %493 = getelementptr inbounds double, ptr %492, i64 %.0694
  %494 = load double, ptr %493, align 8, !tbaa !49
  %495 = fsub double %491, %494
  %496 = fmul double %490, %495
  %497 = getelementptr inbounds i8, ptr %0, i64 2296
  %498 = load ptr, ptr %497, align 8, !tbaa !47
  %499 = getelementptr inbounds i8, ptr %0, i64 936
  %500 = load ptr, ptr %499, align 8, !tbaa !47
  %501 = add nsw i64 %.0745, -1
  %502 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %501)
  tail call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %498, i64 noundef 1, ptr noundef %500, i64 noundef 1, i64 noundef %502, double noundef %496)
  %503 = add nsw i64 %.0694, 1
  br label %.loopexit

504:                                              ; preds = %431
  %505 = load i8, ptr %616, align 1, !tbaa !84, !range !65, !noundef !66
  %506 = trunc nuw i8 %505 to i1
  br i1 %506, label %.loopexit831, label %550

.loopexit831:                                     ; preds = %504, %524
  %.8782 = phi i64 [ %.0774, %524 ], [ %.4778.ph, %504 ]
  %.8768 = phi i64 [ %.0760, %524 ], [ %.4764.ph, %504 ]
  %.8753 = phi i64 [ %.0745, %524 ], [ %.4749.ph, %504 ]
  %.8738 = phi double [ %.0730, %524 ], [ %.4734.ph, %504 ]
  %.5724 = phi double [ %529, %524 ], [ %.1720.ph, %504 ]
  %.12706 = phi i64 [ %549, %524 ], [ 0, %504 ]
  %.8 = phi i64 [ %.0693, %524 ], [ %.4.ph, %504 ]
  %.not822 = icmp slt i64 %.12706, %.8782
  br i1 %.not822, label %507, label %.preheader829

507:                                              ; preds = %.loopexit831
  %508 = getelementptr inbounds i8, ptr %0, i64 864
  %509 = load ptr, ptr %508, align 8, !tbaa !47
  %510 = getelementptr inbounds i8, ptr %0, i64 2000
  %511 = load ptr, ptr %510, align 8, !tbaa !47
  %512 = add nsw i64 %.8753, -1
  %513 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %512)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %509, i64 noundef 1, ptr noundef %511, i64 noundef 1, i64 noundef %513)
  %514 = getelementptr inbounds i8, ptr %0, i64 800
  %515 = load ptr, ptr %514, align 8, !tbaa !47
  %516 = getelementptr inbounds i8, ptr %0, i64 448
  %517 = load ptr, ptr %516, align 8, !tbaa !47
  %518 = getelementptr inbounds ptr, ptr %517, i64 %.12706
  %519 = load ptr, ptr %518, align 8, !tbaa !71
  %520 = add nsw i64 %.8768, -1
  %521 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %520)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %515, i64 noundef 1, ptr noundef %519, i64 noundef 1, i64 noundef %521)
  %522 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.12706, ptr %522, align 8, !tbaa !76
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %523 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 1, ptr %523, align 2, !tbaa !70
  br label %1003

524:                                              ; preds = %41
  %525 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 0, ptr %525, align 2, !tbaa !70
  %526 = getelementptr inbounds i8, ptr %0, i64 1080
  %527 = load ptr, ptr %526, align 8, !tbaa !47
  %528 = getelementptr inbounds double, ptr %527, i64 %.0694
  %529 = load double, ptr %528, align 8, !tbaa !49
  %530 = getelementptr inbounds i8, ptr %0, i64 872
  %531 = load double, ptr %530, align 8, !tbaa !72
  %532 = getelementptr inbounds i8, ptr %0, i64 512
  %533 = load ptr, ptr %532, align 8, !tbaa !47
  %534 = getelementptr inbounds double, ptr %533, i64 %.0694
  %535 = load double, ptr %534, align 8, !tbaa !49
  %536 = fsub double %531, %535
  %537 = fmul double %529, %536
  %538 = getelementptr inbounds i8, ptr %0, i64 2072
  %539 = load ptr, ptr %538, align 8, !tbaa !47
  %540 = getelementptr inbounds double, ptr %539, i64 %.0694
  store double %537, ptr %540, align 8, !tbaa !49
  %541 = getelementptr inbounds i8, ptr %0, i64 2152
  %542 = load ptr, ptr %541, align 8, !tbaa !47
  %543 = getelementptr inbounds ptr, ptr %542, i64 %.0694
  %544 = load ptr, ptr %543, align 8, !tbaa !71
  %545 = getelementptr inbounds i8, ptr %0, i64 936
  %546 = load ptr, ptr %545, align 8, !tbaa !47
  %547 = add nsw i64 %.0745, -1
  %548 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %547)
  tail call void @_ZN11alglib_impl10ae_v_movedEPdlPKdlld(ptr noundef %544, i64 noundef 1, ptr noundef %546, i64 noundef 1, i64 noundef %548, double noundef %529)
  %549 = add nsw i64 %.0694, 1
  br label %.loopexit831

550:                                              ; preds = %504
  %551 = load i8, ptr %617, align 2, !tbaa !85, !range !65, !noundef !66
  %552 = trunc nuw i8 %551 to i1
  br i1 %552, label %553, label %698

553:                                              ; preds = %550
  %554 = getelementptr inbounds i8, ptr %0, i64 2008
  store double 0.000000e+00, ptr %554, align 8, !tbaa !79
  %.not818.not871 = icmp sgt i64 %.4749.ph, 0
  br i1 %.not818.not871, label %.lr.ph874, label %.loopexit828

.lr.ph874:                                        ; preds = %553
  %555 = getelementptr inbounds i8, ptr %0, i64 2296
  %556 = add nsw i64 %.4749.ph, -1
  %xtraiter928 = and i64 %.4749.ph, 3
  %557 = icmp ult i64 %.4749.ph, 4
  br i1 %557, label %.preheader827.unr-lcssa, label %.lr.ph874.new

.lr.ph874.new:                                    ; preds = %.lr.ph874
  %unroll_iter931 = and i64 %.4749.ph, 9223372036854775804
  br label %589

.preheader827.unr-lcssa:                          ; preds = %589, %.lr.ph874
  %.13707872.unr = phi i64 [ 0, %.lr.ph874 ], [ %601, %589 ]
  %lcmp.mod930.not = icmp eq i64 %xtraiter928, 0
  br i1 %lcmp.mod930.not, label %.preheader827, label %.epil.preheader927

.epil.preheader927:                               ; preds = %.preheader827.unr-lcssa, %.epil.preheader927
  %.13707872.epil = phi i64 [ %560, %.epil.preheader927 ], [ %.13707872.unr, %.preheader827.unr-lcssa ]
  %epil.iter929 = phi i64 [ %epil.iter929.next, %.epil.preheader927 ], [ 0, %.preheader827.unr-lcssa ]
  %558 = load ptr, ptr %555, align 8, !tbaa !47
  %559 = getelementptr inbounds double, ptr %558, i64 %.13707872.epil
  store double 0.000000e+00, ptr %559, align 8, !tbaa !49
  %560 = add nuw nsw i64 %.13707872.epil, 1
  %epil.iter929.next = add i64 %epil.iter929, 1
  %epil.iter929.cmp.not = icmp eq i64 %epil.iter929.next, %xtraiter928
  br i1 %epil.iter929.cmp.not, label %.preheader827, label %.epil.preheader927, !llvm.loop !86

.preheader827:                                    ; preds = %.epil.preheader927, %.preheader827.unr-lcssa
  br i1 %.not818.not871, label %.preheader.lr.ph, label %.loopexit828

.preheader.lr.ph:                                 ; preds = %.preheader827
  %561 = getelementptr inbounds i8, ptr %0, i64 2232
  %xtraiter934 = and i64 %.4749.ph, 3
  %562 = icmp ult i64 %556, 3
  %unroll_iter937 = and i64 %.4749.ph, 9223372036854775804
  %lcmp.mod936.not = icmp eq i64 %xtraiter934, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %._crit_edge878.us, %.preheader.lr.ph
  %.14708881.us = phi i64 [ 0, %.preheader.lr.ph ], [ %588, %._crit_edge878.us ]
  br i1 %562, label %._crit_edge878.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.10876.us = phi i64 [ %582, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter938 = phi i64 [ %niter938.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %563 = load ptr, ptr %561, align 8, !tbaa !47
  %564 = getelementptr inbounds ptr, ptr %563, i64 %.14708881.us
  %565 = load ptr, ptr %564, align 8, !tbaa !71
  %566 = getelementptr inbounds double, ptr %565, i64 %.10876.us
  store double 0.000000e+00, ptr %566, align 8, !tbaa !49
  %567 = or disjoint i64 %.10876.us, 1
  %568 = load ptr, ptr %561, align 8, !tbaa !47
  %569 = getelementptr inbounds ptr, ptr %568, i64 %.14708881.us
  %570 = load ptr, ptr %569, align 8, !tbaa !71
  %571 = getelementptr inbounds double, ptr %570, i64 %567
  store double 0.000000e+00, ptr %571, align 8, !tbaa !49
  %572 = or disjoint i64 %.10876.us, 2
  %573 = load ptr, ptr %561, align 8, !tbaa !47
  %574 = getelementptr inbounds ptr, ptr %573, i64 %.14708881.us
  %575 = load ptr, ptr %574, align 8, !tbaa !71
  %576 = getelementptr inbounds double, ptr %575, i64 %572
  store double 0.000000e+00, ptr %576, align 8, !tbaa !49
  %577 = or disjoint i64 %.10876.us, 3
  %578 = load ptr, ptr %561, align 8, !tbaa !47
  %579 = getelementptr inbounds ptr, ptr %578, i64 %.14708881.us
  %580 = load ptr, ptr %579, align 8, !tbaa !71
  %581 = getelementptr inbounds double, ptr %580, i64 %577
  store double 0.000000e+00, ptr %581, align 8, !tbaa !49
  %582 = add nuw nsw i64 %.10876.us, 4
  %niter938.next.3 = add i64 %niter938, 4
  %niter938.ncmp.3 = icmp eq i64 %niter938.next.3, %unroll_iter937
  br i1 %niter938.ncmp.3, label %._crit_edge878.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !87

._crit_edge878.us.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.10876.us.unr = phi i64 [ 0, %.preheader.us ], [ %582, %.preheader.us.new ]
  br i1 %lcmp.mod936.not, label %._crit_edge878.us, label %.epil.preheader933

.epil.preheader933:                               ; preds = %._crit_edge878.us.unr-lcssa, %.epil.preheader933
  %.10876.us.epil = phi i64 [ %587, %.epil.preheader933 ], [ %.10876.us.unr, %._crit_edge878.us.unr-lcssa ]
  %epil.iter935 = phi i64 [ %epil.iter935.next, %.epil.preheader933 ], [ 0, %._crit_edge878.us.unr-lcssa ]
  %583 = load ptr, ptr %561, align 8, !tbaa !47
  %584 = getelementptr inbounds ptr, ptr %583, i64 %.14708881.us
  %585 = load ptr, ptr %584, align 8, !tbaa !71
  %586 = getelementptr inbounds double, ptr %585, i64 %.10876.us.epil
  store double 0.000000e+00, ptr %586, align 8, !tbaa !49
  %587 = add nuw nsw i64 %.10876.us.epil, 1
  %epil.iter935.next = add i64 %epil.iter935, 1
  %epil.iter935.cmp.not = icmp eq i64 %epil.iter935.next, %xtraiter934
  br i1 %epil.iter935.cmp.not, label %._crit_edge878.us, label %.epil.preheader933, !llvm.loop !88

._crit_edge878.us:                                ; preds = %.epil.preheader933, %._crit_edge878.us.unr-lcssa
  %588 = add nuw nsw i64 %.14708881.us, 1
  %exitcond901.not = icmp eq i64 %588, %.4749.ph
  br i1 %exitcond901.not, label %.loopexit828, label %.preheader.us, !llvm.loop !89

589:                                              ; preds = %589, %.lr.ph874.new
  %.13707872 = phi i64 [ 0, %.lr.ph874.new ], [ %601, %589 ]
  %niter932 = phi i64 [ 0, %.lr.ph874.new ], [ %niter932.next.3, %589 ]
  %590 = load ptr, ptr %555, align 8, !tbaa !47
  %591 = getelementptr inbounds double, ptr %590, i64 %.13707872
  store double 0.000000e+00, ptr %591, align 8, !tbaa !49
  %592 = or disjoint i64 %.13707872, 1
  %593 = load ptr, ptr %555, align 8, !tbaa !47
  %594 = getelementptr inbounds double, ptr %593, i64 %592
  store double 0.000000e+00, ptr %594, align 8, !tbaa !49
  %595 = or disjoint i64 %.13707872, 2
  %596 = load ptr, ptr %555, align 8, !tbaa !47
  %597 = getelementptr inbounds double, ptr %596, i64 %595
  store double 0.000000e+00, ptr %597, align 8, !tbaa !49
  %598 = or disjoint i64 %.13707872, 3
  %599 = load ptr, ptr %555, align 8, !tbaa !47
  %600 = getelementptr inbounds double, ptr %599, i64 %598
  store double 0.000000e+00, ptr %600, align 8, !tbaa !49
  %601 = add nuw nsw i64 %.13707872, 4
  %niter932.next.3 = add i64 %niter932, 4
  %niter932.ncmp.3 = icmp eq i64 %niter932.next.3, %unroll_iter931
  br i1 %niter932.ncmp.3, label %.preheader827.unr-lcssa, label %589, !llvm.loop !90

.loopexit828:                                     ; preds = %._crit_edge878.us, %553, %.preheader827, %._crit_edge846
  %.9783 = phi i64 [ %.0774, %._crit_edge846 ], [ %.4778.ph, %.preheader827 ], [ %.4778.ph, %553 ], [ %.4778.ph, %._crit_edge878.us ]
  %.9769 = phi i64 [ %.0760, %._crit_edge846 ], [ %.4764.ph, %.preheader827 ], [ %.4764.ph, %553 ], [ %.4764.ph, %._crit_edge878.us ]
  %.9754 = phi i64 [ %.0745, %._crit_edge846 ], [ %.4749.ph, %.preheader827 ], [ %.4749.ph, %553 ], [ %.4749.ph, %._crit_edge878.us ]
  %.9739 = phi double [ %.10740.lcssa, %._crit_edge846 ], [ %.4734.ph, %.preheader827 ], [ %.4734.ph, %553 ], [ %.4734.ph, %._crit_edge878.us ]
  %.6725 = phi double [ %641, %._crit_edge846 ], [ %.1720.ph, %.preheader827 ], [ %.1720.ph, %553 ], [ %.1720.ph, %._crit_edge878.us ]
  %.15709 = phi i64 [ %697, %._crit_edge846 ], [ 0, %.preheader827 ], [ 0, %553 ], [ 0, %._crit_edge878.us ]
  %.11 = phi i64 [ %.12.lcssa, %._crit_edge846 ], [ %.4.ph, %.preheader827 ], [ %.4.ph, %553 ], [ %.4749.ph, %._crit_edge878.us ]
  %.not820 = icmp slt i64 %.15709, %.9783
  br i1 %.not820, label %619, label %.preheader829

.preheader829.loopexit.unr-lcssa:                 ; preds = %.lr.ph864.split.us, %.lr.ph864.split.us.preheader
  %.6700862.us.unr = phi i64 [ 0, %.lr.ph864.split.us.preheader ], [ %336, %.lr.ph864.split.us ]
  %lcmp.mod918.not = icmp eq i64 %xtraiter916, 0
  br i1 %lcmp.mod918.not, label %.preheader829.loopexit, label %.lr.ph864.split.us.epil

.lr.ph864.split.us.epil:                          ; preds = %.preheader829.loopexit.unr-lcssa
  %602 = load ptr, ptr %314, align 8, !tbaa !47
  %603 = getelementptr inbounds double, ptr %602, i64 %.6700862.us.unr
  store double 1.000000e+00, ptr %603, align 8, !tbaa !49
  %604 = load ptr, ptr %318, align 8, !tbaa !47
  %605 = getelementptr inbounds double, ptr %604, i64 %.6700862.us.unr
  %606 = load double, ptr %605, align 8, !tbaa !49
  %607 = load ptr, ptr %314, align 8, !tbaa !47
  %608 = getelementptr inbounds double, ptr %607, i64 %.6700862.us.unr
  store double %606, ptr %608, align 8, !tbaa !49
  br label %.preheader829.loopexit

.preheader829.loopexit:                           ; preds = %.preheader829.loopexit.unr-lcssa, %.lr.ph864.split.us.epil
  br label %.preheader829

.preheader829.loopexit911.unr-lcssa:              ; preds = %.lr.ph864.split, %.lr.ph864.split.preheader
  %.6700862.unr = phi i64 [ 0, %.lr.ph864.split.preheader ], [ %348, %.lr.ph864.split ]
  %lcmp.mod913.not = icmp eq i64 %xtraiter912, 0
  br i1 %lcmp.mod913.not, label %.preheader829.loopexit911, label %.lr.ph864.split.epil

.lr.ph864.split.epil:                             ; preds = %.preheader829.loopexit911.unr-lcssa, %.lr.ph864.split.epil
  %.6700862.epil = phi i64 [ %611, %.lr.ph864.split.epil ], [ %.6700862.unr, %.preheader829.loopexit911.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph864.split.epil ], [ 0, %.preheader829.loopexit911.unr-lcssa ]
  %609 = load ptr, ptr %314, align 8, !tbaa !47
  %610 = getelementptr inbounds double, ptr %609, i64 %.6700862.epil
  store double 1.000000e+00, ptr %610, align 8, !tbaa !49
  %611 = add nuw nsw i64 %.6700862.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter912
  br i1 %epil.iter.cmp.not, label %.preheader829.loopexit911, label %.lr.ph864.split.epil, !llvm.loop !91

.preheader829.loopexit911:                        ; preds = %.lr.ph864.split.epil, %.preheader829.loopexit911.unr-lcssa
  br label %.preheader829

.preheader829:                                    ; preds = %.preheader829.loopexit911, %.preheader829.loopexit, %312, %712, %.loopexit830, %394, %.loopexit, %.loopexit831, %.loopexit828
  %.4778.ph = phi i64 [ %.0774, %712 ], [ %.9783, %.loopexit828 ], [ %.8782, %.loopexit831 ], [ %.7781, %.loopexit ], [ %.6780, %394 ], [ %.5779, %.loopexit830 ], [ %.3777, %312 ], [ %.3777, %.preheader829.loopexit ], [ %.3777, %.preheader829.loopexit911 ]
  %.4764.ph = phi i64 [ %.0760, %712 ], [ %.9769, %.loopexit828 ], [ %.8768, %.loopexit831 ], [ %.7767, %.loopexit ], [ %.6766, %394 ], [ %.5765, %.loopexit830 ], [ %.3763, %312 ], [ %.3763, %.preheader829.loopexit ], [ %.3763, %.preheader829.loopexit911 ]
  %.4749.ph = phi i64 [ %.0745, %712 ], [ %.9754, %.loopexit828 ], [ %.8753, %.loopexit831 ], [ %.7752, %.loopexit ], [ %.6751, %394 ], [ %.5750, %.loopexit830 ], [ %.3748, %312 ], [ %.3748, %.preheader829.loopexit ], [ %.3748, %.preheader829.loopexit911 ]
  %.4734.ph = phi double [ %.0730, %712 ], [ %.9739, %.loopexit828 ], [ %.8738, %.loopexit831 ], [ %.7737, %.loopexit ], [ %.6736, %394 ], [ %.5735, %.loopexit830 ], [ %.3733, %312 ], [ %.3733, %.preheader829.loopexit ], [ %.3733, %.preheader829.loopexit911 ]
  %.1720.ph = phi double [ %.0719, %712 ], [ %.6725, %.loopexit828 ], [ %.5724, %.loopexit831 ], [ %.4723, %.loopexit ], [ %.3722, %394 ], [ %.2721, %.loopexit830 ], [ %.0719, %312 ], [ %.0719, %.preheader829.loopexit ], [ %.0719, %.preheader829.loopexit911 ]
  %.7701.ph = phi i64 [ %.0694, %712 ], [ %.15709, %.loopexit828 ], [ %.12706, %.loopexit831 ], [ %.11705, %.loopexit ], [ %.9703, %394 ], [ %.8702, %.loopexit830 ], [ 0, %312 ], [ %.3777, %.preheader829.loopexit ], [ %.3777, %.preheader829.loopexit911 ]
  %.4.ph = phi i64 [ %.0693, %712 ], [ %.11, %.loopexit828 ], [ %.8, %.loopexit831 ], [ %.7, %.loopexit ], [ %.6, %394 ], [ %.5, %.loopexit830 ], [ %.3, %312 ], [ %.3, %.preheader829.loopexit ], [ %.3, %.preheader829.loopexit911 ]
  %612 = getelementptr inbounds i8, ptr %0, i64 1872
  %613 = getelementptr inbounds i8, ptr %0, i64 2308
  %614 = getelementptr inbounds i8, ptr %0, i64 2304
  %615 = getelementptr inbounds i8, ptr %0, i64 2305
  %616 = getelementptr inbounds i8, ptr %0, i64 2307
  %617 = getelementptr inbounds i8, ptr %0, i64 2306
  %618 = getelementptr inbounds i8, ptr %0, i64 2309
  br label %349

619:                                              ; preds = %.loopexit828
  %620 = getelementptr inbounds i8, ptr %0, i64 864
  %621 = load ptr, ptr %620, align 8, !tbaa !47
  %622 = getelementptr inbounds i8, ptr %0, i64 2000
  %623 = load ptr, ptr %622, align 8, !tbaa !47
  %624 = add nsw i64 %.9754, -1
  %625 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %624)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %621, i64 noundef 1, ptr noundef %623, i64 noundef 1, i64 noundef %625)
  %626 = getelementptr inbounds i8, ptr %0, i64 800
  %627 = load ptr, ptr %626, align 8, !tbaa !47
  %628 = getelementptr inbounds i8, ptr %0, i64 448
  %629 = load ptr, ptr %628, align 8, !tbaa !47
  %630 = getelementptr inbounds ptr, ptr %629, i64 %.15709
  %631 = load ptr, ptr %630, align 8, !tbaa !71
  %632 = add nsw i64 %.9769, -1
  %633 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %632)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %627, i64 noundef 1, ptr noundef %631, i64 noundef 1, i64 noundef %633)
  %634 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.15709, ptr %634, align 8, !tbaa !76
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %635 = getelementptr inbounds i8, ptr %0, i64 731
  store i8 1, ptr %635, align 1, !tbaa !92
  br label %1003

636:                                              ; preds = %41
  %637 = getelementptr inbounds i8, ptr %0, i64 731
  store i8 0, ptr %637, align 1, !tbaa !92
  %638 = getelementptr inbounds i8, ptr %0, i64 1080
  %639 = load ptr, ptr %638, align 8, !tbaa !47
  %640 = getelementptr inbounds double, ptr %639, i64 %.0694
  %641 = load double, ptr %640, align 8, !tbaa !49
  %642 = getelementptr inbounds i8, ptr %0, i64 2008
  %643 = load double, ptr %642, align 8, !tbaa !79
  %644 = getelementptr inbounds i8, ptr %0, i64 872
  %645 = load double, ptr %644, align 8, !tbaa !72
  %646 = getelementptr inbounds i8, ptr %0, i64 512
  %647 = load ptr, ptr %646, align 8, !tbaa !47
  %648 = getelementptr inbounds double, ptr %647, i64 %.0694
  %649 = load double, ptr %648, align 8, !tbaa !49
  %650 = fsub double %645, %649
  %651 = fmul double %641, %650
  %652 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %651, ptr noundef %1)
  %653 = fadd double %643, %652
  store double %653, ptr %642, align 8, !tbaa !79
  %654 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %641, ptr noundef %1)
  %655 = fmul double %654, 2.000000e+00
  %656 = load double, ptr %644, align 8, !tbaa !72
  %657 = load ptr, ptr %646, align 8, !tbaa !47
  %658 = getelementptr inbounds double, ptr %657, i64 %.0694
  %659 = load double, ptr %658, align 8, !tbaa !49
  %660 = fsub double %656, %659
  %661 = fmul double %655, %660
  %662 = getelementptr inbounds i8, ptr %0, i64 2296
  %663 = load ptr, ptr %662, align 8, !tbaa !47
  %664 = getelementptr inbounds i8, ptr %0, i64 936
  %665 = load ptr, ptr %664, align 8, !tbaa !47
  %666 = add nsw i64 %.0745, -1
  %667 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %666)
  tail call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %663, i64 noundef 1, ptr noundef %665, i64 noundef 1, i64 noundef %667, double noundef %661)
  %.not810.not842 = icmp sgt i64 %.0745, 0
  br i1 %.not810.not842, label %.lr.ph845, label %._crit_edge846

.lr.ph845:                                        ; preds = %636
  %668 = getelementptr inbounds i8, ptr %0, i64 2232
  %669 = getelementptr inbounds i8, ptr %0, i64 1016
  br label %670

670:                                              ; preds = %.lr.ph845, %670
  %.12843 = phi i64 [ 0, %.lr.ph845 ], [ %696, %670 ]
  %671 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %641, ptr noundef %1)
  %672 = fmul double %671, 2.000000e+00
  %673 = load ptr, ptr %664, align 8, !tbaa !47
  %674 = getelementptr inbounds double, ptr %673, i64 %.12843
  %675 = load double, ptr %674, align 8, !tbaa !49
  %676 = fmul double %672, %675
  %677 = load ptr, ptr %668, align 8, !tbaa !47
  %678 = getelementptr inbounds ptr, ptr %677, i64 %.12843
  %679 = load ptr, ptr %678, align 8, !tbaa !71
  %680 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %666)
  tail call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %679, i64 noundef 1, ptr noundef %673, i64 noundef 1, i64 noundef %680, double noundef %676)
  %681 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %641, ptr noundef %1)
  %682 = fmul double %681, 2.000000e+00
  %683 = load double, ptr %644, align 8, !tbaa !72
  %684 = load ptr, ptr %646, align 8, !tbaa !47
  %685 = getelementptr inbounds double, ptr %684, i64 %.0694
  %686 = load double, ptr %685, align 8, !tbaa !49
  %687 = fsub double %683, %686
  %688 = fmul double %682, %687
  %689 = load ptr, ptr %668, align 8, !tbaa !47
  %690 = getelementptr inbounds ptr, ptr %689, i64 %.12843
  %691 = load ptr, ptr %690, align 8, !tbaa !71
  %692 = load ptr, ptr %669, align 8, !tbaa !47
  %693 = getelementptr inbounds ptr, ptr %692, i64 %.12843
  %694 = load ptr, ptr %693, align 8, !tbaa !71
  %695 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %666)
  tail call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %691, i64 noundef 1, ptr noundef %694, i64 noundef 1, i64 noundef %695, double noundef %688)
  %696 = add nuw nsw i64 %.12843, 1
  %exitcond894.not = icmp eq i64 %696, %.0745
  br i1 %exitcond894.not, label %._crit_edge846, label %670, !llvm.loop !93

._crit_edge846:                                   ; preds = %670, %636
  %.10740.lcssa = phi double [ %661, %636 ], [ %688, %670 ]
  %.12.lcssa = phi i64 [ 0, %636 ], [ %.0745, %670 ]
  %697 = add nsw i64 %.0694, 1
  br label %.loopexit828

698:                                              ; preds = %550
  %699 = load i8, ptr %618, align 1, !tbaa !94, !range !65, !noundef !66
  %700 = trunc nuw i8 %699 to i1
  br i1 %700, label %701, label %349

701:                                              ; preds = %698
  %702 = getelementptr inbounds i8, ptr %0, i64 864
  %703 = load ptr, ptr %702, align 8, !tbaa !47
  %704 = getelementptr inbounds i8, ptr %0, i64 2000
  %705 = load ptr, ptr %704, align 8, !tbaa !47
  %706 = add nsw i64 %.4749.ph, -1
  %707 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %706)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %703, i64 noundef 1, ptr noundef %705, i64 noundef 1, i64 noundef %707)
  %708 = getelementptr inbounds i8, ptr %0, i64 2008
  %709 = load double, ptr %708, align 8, !tbaa !79
  %710 = getelementptr inbounds i8, ptr %0, i64 872
  store double %709, ptr %710, align 8, !tbaa !72
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %711 = getelementptr inbounds i8, ptr %0, i64 728
  store i8 1, ptr %711, align 8, !tbaa !95
  br label %1003

712:                                              ; preds = %41
  %713 = getelementptr inbounds i8, ptr %0, i64 728
  store i8 0, ptr %713, align 8, !tbaa !95
  br label %.preheader829

714:                                              ; preds = %349
  %715 = getelementptr inbounds i8, ptr %0, i64 120
  %716 = getelementptr inbounds i8, ptr %0, i64 87280
  tail call void @_ZN11alglib_impl12minlmresultsEPNS_10minlmstateEPNS_9ae_vectorEPNS_11minlmreportEPNS_8ae_stateE(ptr noundef nonnull %612, ptr noundef nonnull %715, ptr noundef nonnull %716, ptr noundef %1)
  %717 = getelementptr inbounds i8, ptr %0, i64 87288
  %718 = load i64, ptr %717, align 8, !tbaa !96
  %719 = getelementptr inbounds i8, ptr %0, i64 1472
  store i64 %718, ptr %719, align 8, !tbaa !73
  %720 = load i64, ptr %716, align 8, !tbaa !97
  %721 = getelementptr inbounds i8, ptr %0, i64 1464
  store i64 %720, ptr %721, align 8, !tbaa !98
  %722 = icmp slt i64 %718, 1
  br i1 %722, label %1036, label %723

723:                                              ; preds = %714
  %724 = getelementptr inbounds i8, ptr %0, i64 1488
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %724, i8 0, i64 40, i1 false)
  br label %725

725:                                              ; preds = %796, %723
  %.10784 = phi i64 [ %.4778.ph, %723 ], [ %.0774, %796 ]
  %.10770 = phi i64 [ %.4764.ph, %723 ], [ %.0760, %796 ]
  %.10755 = phi i64 [ %.4749.ph, %723 ], [ %.0745, %796 ]
  %.11741 = phi double [ %.4734.ph, %723 ], [ %746, %796 ]
  %.7726 = phi double [ %.1720.ph, %723 ], [ %750, %796 ]
  %.1714 = phi double [ 0.000000e+00, %723 ], [ %.2715, %796 ]
  %.16710 = phi i64 [ 0, %723 ], [ %805, %796 ]
  %.13 = phi i64 [ %.4.ph, %723 ], [ %.0693, %796 ]
  %.not814 = icmp slt i64 %.16710, %.10784
  br i1 %.not814, label %726, label %806

726:                                              ; preds = %725
  %727 = getelementptr inbounds i8, ptr %0, i64 864
  %728 = load ptr, ptr %727, align 8, !tbaa !47
  %729 = getelementptr inbounds i8, ptr %0, i64 176
  %730 = load ptr, ptr %729, align 8, !tbaa !47
  %731 = add nsw i64 %.10755, -1
  %732 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %731)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %728, i64 noundef 1, ptr noundef %730, i64 noundef 1, i64 noundef %732)
  %733 = getelementptr inbounds i8, ptr %0, i64 800
  %734 = load ptr, ptr %733, align 8, !tbaa !47
  %735 = getelementptr inbounds i8, ptr %0, i64 448
  %736 = load ptr, ptr %735, align 8, !tbaa !47
  %737 = getelementptr inbounds ptr, ptr %736, i64 %.16710
  %738 = load ptr, ptr %737, align 8, !tbaa !71
  %739 = add nsw i64 %.10770, -1
  %740 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %739)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %734, i64 noundef 1, ptr noundef %738, i64 noundef 1, i64 noundef %740)
  %741 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.16710, ptr %741, align 8, !tbaa !76
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %742 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 1, ptr %742, align 1, !tbaa !77
  br label %1003

743:                                              ; preds = %41
  %744 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 0, ptr %744, align 1, !tbaa !77
  %745 = getelementptr inbounds i8, ptr %0, i64 872
  %746 = load double, ptr %745, align 8, !tbaa !72
  %747 = getelementptr inbounds i8, ptr %0, i64 1080
  %748 = load ptr, ptr %747, align 8, !tbaa !47
  %749 = getelementptr inbounds double, ptr %748, i64 %.0694
  %750 = load double, ptr %749, align 8, !tbaa !49
  %751 = getelementptr inbounds i8, ptr %0, i64 1488
  %752 = load double, ptr %751, align 8, !tbaa !99
  %753 = getelementptr inbounds i8, ptr %0, i64 512
  %754 = load ptr, ptr %753, align 8, !tbaa !47
  %755 = getelementptr inbounds double, ptr %754, i64 %.0694
  %756 = load double, ptr %755, align 8, !tbaa !49
  %757 = fsub double %746, %756
  %758 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %757, ptr noundef %1)
  %759 = fadd double %752, %758
  store double %759, ptr %751, align 8, !tbaa !99
  %760 = getelementptr inbounds i8, ptr %0, i64 1520
  %761 = load double, ptr %760, align 8, !tbaa !100
  %762 = load ptr, ptr %753, align 8, !tbaa !47
  %763 = getelementptr inbounds double, ptr %762, i64 %.0694
  %764 = load double, ptr %763, align 8, !tbaa !49
  %765 = fsub double %746, %764
  %766 = fmul double %750, %765
  %767 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %766, ptr noundef %1)
  %768 = fadd double %761, %767
  store double %768, ptr %760, align 8, !tbaa !100
  %769 = getelementptr inbounds i8, ptr %0, i64 1496
  %770 = load double, ptr %769, align 8, !tbaa !101
  %771 = load ptr, ptr %753, align 8, !tbaa !47
  %772 = getelementptr inbounds double, ptr %771, i64 %.0694
  %773 = load double, ptr %772, align 8, !tbaa !49
  %774 = fsub double %746, %773
  %775 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %774, ptr noundef %1)
  %776 = fadd double %770, %775
  store double %776, ptr %769, align 8, !tbaa !101
  %777 = load ptr, ptr %753, align 8, !tbaa !47
  %778 = getelementptr inbounds double, ptr %777, i64 %.0694
  %779 = load double, ptr %778, align 8, !tbaa !49
  %780 = tail call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %779, double noundef 0.000000e+00)
  br i1 %780, label %781, label %796

781:                                              ; preds = %743
  %782 = getelementptr inbounds i8, ptr %0, i64 1504
  %783 = load double, ptr %782, align 8, !tbaa !102
  %784 = load ptr, ptr %753, align 8, !tbaa !47
  %785 = getelementptr inbounds double, ptr %784, i64 %.0694
  %786 = load double, ptr %785, align 8, !tbaa !49
  %787 = fsub double %746, %786
  %788 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %787, ptr noundef %1)
  %789 = load ptr, ptr %753, align 8, !tbaa !47
  %790 = getelementptr inbounds double, ptr %789, i64 %.0694
  %791 = load double, ptr %790, align 8, !tbaa !49
  %792 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %791, ptr noundef %1)
  %793 = fdiv double %788, %792
  %794 = fadd double %783, %793
  store double %794, ptr %782, align 8, !tbaa !102
  %795 = fadd double %.0713, 1.000000e+00
  br label %796

796:                                              ; preds = %781, %743
  %.2715 = phi double [ %795, %781 ], [ %.0713, %743 ]
  %797 = getelementptr inbounds i8, ptr %0, i64 1512
  %798 = load double, ptr %797, align 8, !tbaa !103
  %799 = load ptr, ptr %753, align 8, !tbaa !47
  %800 = getelementptr inbounds double, ptr %799, i64 %.0694
  %801 = load double, ptr %800, align 8, !tbaa !49
  %802 = fsub double %746, %801
  %803 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %802, ptr noundef %1)
  %804 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %798, double noundef %803, ptr noundef %1)
  store double %804, ptr %797, align 8, !tbaa !103
  %805 = add nsw i64 %.0694, 1
  br label %725

806:                                              ; preds = %725
  %807 = getelementptr inbounds i8, ptr %0, i64 1488
  %808 = load double, ptr %807, align 8, !tbaa !99
  %809 = sitofp i64 %.10784 to double
  %810 = fdiv double %808, %809
  %811 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %810, ptr noundef %1)
  store double %811, ptr %807, align 8, !tbaa !99
  %812 = getelementptr inbounds i8, ptr %0, i64 1520
  %813 = load double, ptr %812, align 8, !tbaa !100
  %814 = fdiv double %813, %809
  %815 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %814, ptr noundef %1)
  store double %815, ptr %812, align 8, !tbaa !100
  %816 = getelementptr inbounds i8, ptr %0, i64 1496
  %817 = load double, ptr %816, align 8, !tbaa !101
  %818 = fdiv double %817, %809
  store double %818, ptr %816, align 8, !tbaa !101
  %819 = tail call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %.1714, double noundef 0.000000e+00)
  br i1 %819, label %820, label %824

820:                                              ; preds = %806
  %821 = getelementptr inbounds i8, ptr %0, i64 1504
  %822 = load double, ptr %821, align 8, !tbaa !102
  %823 = fdiv double %822, %.1714
  store double %823, ptr %821, align 8, !tbaa !102
  br label %824

824:                                              ; preds = %820, %806
  %825 = getelementptr inbounds i8, ptr %0, i64 1280
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %825, i64 noundef %.10784, i64 noundef %.10755, ptr noundef %1)
  %826 = getelementptr inbounds i8, ptr %0, i64 1216
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %826, i64 noundef %.10784, ptr noundef %1)
  %827 = getelementptr inbounds i8, ptr %0, i64 1152
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %827, i64 noundef %.10755, ptr noundef %1)
  %828 = getelementptr inbounds i8, ptr %0, i64 616
  %829 = load double, ptr %828, align 8, !tbaa !104
  %830 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %829, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  br i1 %830, label %927, label %831

831:                                              ; preds = %824
  %832 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 1, ptr %832, align 1, !tbaa !77
  br label %833

833:                                              ; preds = %923, %831
  %.1792 = phi double [ %.0791, %831 ], [ %.2793, %923 ]
  %.11785 = phi i64 [ %.10784, %831 ], [ %.0774, %923 ]
  %.11771 = phi i64 [ %.10770, %831 ], [ %.0760, %923 ]
  %.11756 = phi i64 [ %.10755, %831 ], [ %.0745, %923 ]
  %.12742 = phi double [ %.11741, %831 ], [ %.0730, %923 ]
  %.8727 = phi double [ %.7726, %831 ], [ %.0719, %923 ]
  %.3716 = phi double [ %.1714, %831 ], [ %.0713, %923 ]
  %.17711 = phi i64 [ 0, %831 ], [ %924, %923 ]
  %.14 = phi i64 [ %.13, %831 ], [ %.15, %923 ]
  %.not815 = icmp slt i64 %.17711, %.11785
  br i1 %.not815, label %834, label %925

834:                                              ; preds = %833
  %835 = getelementptr inbounds i8, ptr %0, i64 800
  %836 = load ptr, ptr %835, align 8, !tbaa !47
  %837 = getelementptr inbounds i8, ptr %0, i64 448
  %838 = load ptr, ptr %837, align 8, !tbaa !47
  %839 = getelementptr inbounds ptr, ptr %838, i64 %.17711
  %840 = load ptr, ptr %839, align 8, !tbaa !71
  %841 = add nsw i64 %.11771, -1
  %842 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %841)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %836, i64 noundef 1, ptr noundef %840, i64 noundef 1, i64 noundef %842)
  %843 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.17711, ptr %843, align 8, !tbaa !76
  br label %1003

844:                                              ; preds = %41
  %845 = getelementptr inbounds i8, ptr %0, i64 872
  %846 = load double, ptr %845, align 8, !tbaa !72
  %847 = getelementptr inbounds i8, ptr %0, i64 1272
  %848 = load ptr, ptr %847, align 8, !tbaa !47
  %849 = getelementptr inbounds double, ptr %848, i64 %.0694
  store double %846, ptr %849, align 8, !tbaa !49
  br label %850

850:                                              ; preds = %907, %844
  %.2793 = phi double [ %.0791, %844 ], [ %909, %907 ]
  %.15 = phi i64 [ 0, %844 ], [ %922, %907 ]
  %.not = icmp slt i64 %.15, %.0745
  br i1 %.not, label %851, label %923

851:                                              ; preds = %850
  %852 = getelementptr inbounds i8, ptr %0, i64 864
  %853 = load ptr, ptr %852, align 8, !tbaa !47
  %854 = getelementptr inbounds double, ptr %853, i64 %.15
  %855 = load double, ptr %854, align 8, !tbaa !49
  %856 = getelementptr inbounds i8, ptr %0, i64 616
  %857 = load double, ptr %856, align 8, !tbaa !104
  %858 = getelementptr inbounds i8, ptr %0, i64 240
  %859 = load ptr, ptr %858, align 8, !tbaa !47
  %860 = getelementptr inbounds double, ptr %859, i64 %.15
  %861 = load double, ptr %860, align 8, !tbaa !49
  %862 = fneg double %857
  %863 = tail call double @llvm.fmuladd.f64(double %862, double %861, double %855)
  store double %863, ptr %854, align 8, !tbaa !49
  %864 = getelementptr inbounds i8, ptr %0, i64 304
  %865 = load ptr, ptr %864, align 8, !tbaa !47
  %866 = getelementptr inbounds double, ptr %865, i64 %.15
  %867 = load double, ptr %866, align 8, !tbaa !49
  %868 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %867, ptr noundef %1)
  br i1 %868, label %869, label %1003

869:                                              ; preds = %851
  %870 = load ptr, ptr %852, align 8, !tbaa !47
  %871 = getelementptr inbounds double, ptr %870, i64 %.15
  %872 = load double, ptr %871, align 8, !tbaa !49
  %873 = load ptr, ptr %864, align 8, !tbaa !47
  %874 = getelementptr inbounds double, ptr %873, i64 %.15
  %875 = load double, ptr %874, align 8, !tbaa !49
  %876 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %872, double noundef %875, ptr noundef %1)
  %877 = load ptr, ptr %852, align 8, !tbaa !47
  %878 = getelementptr inbounds double, ptr %877, i64 %.15
  store double %876, ptr %878, align 8, !tbaa !49
  br label %1003

879:                                              ; preds = %41
  %880 = getelementptr inbounds i8, ptr %0, i64 872
  %881 = load double, ptr %880, align 8, !tbaa !72
  %882 = getelementptr inbounds i8, ptr %0, i64 616
  %883 = load double, ptr %882, align 8, !tbaa !104
  %884 = getelementptr inbounds i8, ptr %0, i64 240
  %885 = load ptr, ptr %884, align 8, !tbaa !47
  %886 = getelementptr inbounds double, ptr %885, i64 %.0693
  %887 = load double, ptr %886, align 8, !tbaa !49
  %888 = tail call double @llvm.fmuladd.f64(double %883, double %887, double %.0730)
  %889 = getelementptr inbounds i8, ptr %0, i64 864
  %890 = load ptr, ptr %889, align 8, !tbaa !47
  %891 = getelementptr inbounds double, ptr %890, i64 %.0693
  store double %888, ptr %891, align 8, !tbaa !49
  %892 = getelementptr inbounds i8, ptr %0, i64 368
  %893 = load ptr, ptr %892, align 8, !tbaa !47
  %894 = getelementptr inbounds double, ptr %893, i64 %.0693
  %895 = load double, ptr %894, align 8, !tbaa !49
  %896 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %895, ptr noundef %1)
  br i1 %896, label %897, label %1003

897:                                              ; preds = %879
  %898 = load ptr, ptr %889, align 8, !tbaa !47
  %899 = getelementptr inbounds double, ptr %898, i64 %.0693
  %900 = load double, ptr %899, align 8, !tbaa !49
  %901 = load ptr, ptr %892, align 8, !tbaa !47
  %902 = getelementptr inbounds double, ptr %901, i64 %.0693
  %903 = load double, ptr %902, align 8, !tbaa !49
  %904 = tail call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %900, double noundef %903, ptr noundef %1)
  %905 = load ptr, ptr %889, align 8, !tbaa !47
  %906 = getelementptr inbounds double, ptr %905, i64 %.0693
  store double %904, ptr %906, align 8, !tbaa !49
  br label %1003

907:                                              ; preds = %41
  %908 = getelementptr inbounds i8, ptr %0, i64 872
  %909 = load double, ptr %908, align 8, !tbaa !72
  %910 = getelementptr inbounds i8, ptr %0, i64 864
  %911 = load ptr, ptr %910, align 8, !tbaa !47
  %912 = getelementptr inbounds double, ptr %911, i64 %.0693
  store double %.0730, ptr %912, align 8, !tbaa !49
  %913 = tail call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %.0795, double noundef %.0801)
  %914 = fsub double %909, %.0799
  %915 = fsub double %.0795, %.0801
  %916 = fdiv double %914, %915
  %.sink = select i1 %913, double %916, double 0.000000e+00
  %917 = getelementptr inbounds i8, ptr %0, i64 1352
  %918 = load ptr, ptr %917, align 8, !tbaa !47
  %919 = getelementptr inbounds ptr, ptr %918, i64 %.0694
  %920 = load ptr, ptr %919, align 8, !tbaa !71
  %921 = getelementptr inbounds double, ptr %920, i64 %.0693
  store double %.sink, ptr %921, align 8, !tbaa !49
  %922 = add nsw i64 %.0693, 1
  br label %850

923:                                              ; preds = %850
  %924 = add nsw i64 %.0694, 1
  br label %833

925:                                              ; preds = %833
  %926 = getelementptr inbounds i8, ptr %0, i64 729
  store i8 0, ptr %926, align 1, !tbaa !77
  br label %976

927:                                              ; preds = %824
  %928 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 1, ptr %928, align 2, !tbaa !70
  br label %929

929:                                              ; preds = %._crit_edge, %927
  %.12786 = phi i64 [ %.10784, %927 ], [ %.0774, %._crit_edge ]
  %.12772 = phi i64 [ %.10770, %927 ], [ %.0760, %._crit_edge ]
  %.12757 = phi i64 [ %.10755, %927 ], [ %.0745, %._crit_edge ]
  %.13743 = phi double [ %.11741, %927 ], [ %.0730, %._crit_edge ]
  %.9728 = phi double [ %.7726, %927 ], [ %.0719, %._crit_edge ]
  %.4717 = phi double [ %.1714, %927 ], [ %.0713, %._crit_edge ]
  %.18712 = phi i64 [ 0, %927 ], [ %973, %._crit_edge ]
  %.16 = phi i64 [ %.13, %927 ], [ %.17.lcssa, %._crit_edge ]
  %.not816 = icmp slt i64 %.18712, %.12786
  br i1 %.not816, label %930, label %974

930:                                              ; preds = %929
  %931 = getelementptr inbounds i8, ptr %0, i64 800
  %932 = load ptr, ptr %931, align 8, !tbaa !47
  %933 = getelementptr inbounds i8, ptr %0, i64 448
  %934 = load ptr, ptr %933, align 8, !tbaa !47
  %935 = getelementptr inbounds ptr, ptr %934, i64 %.18712
  %936 = load ptr, ptr %935, align 8, !tbaa !71
  %937 = add nsw i64 %.12772, -1
  %938 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %937)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %932, i64 noundef 1, ptr noundef %936, i64 noundef 1, i64 noundef %938)
  %939 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %.18712, ptr %939, align 8, !tbaa !76
  br label %1003

940:                                              ; preds = %41
  %941 = getelementptr inbounds i8, ptr %0, i64 872
  %942 = load double, ptr %941, align 8, !tbaa !72
  %943 = getelementptr inbounds i8, ptr %0, i64 1272
  %944 = load ptr, ptr %943, align 8, !tbaa !47
  %945 = getelementptr inbounds double, ptr %944, i64 %.0694
  store double %942, ptr %945, align 8, !tbaa !49
  %.not.not809840 = icmp sgt i64 %.0745, 0
  br i1 %.not.not809840, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %940
  %946 = getelementptr inbounds i8, ptr %0, i64 936
  %947 = getelementptr inbounds i8, ptr %0, i64 1352
  %xtraiter = and i64 %.0745, 1
  %948 = icmp eq i64 %.0745, 1
  br i1 %948, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %.0745, 9223372036854775806
  br label %949

949:                                              ; preds = %949, %.lr.ph.new
  %.17841 = phi i64 [ 0, %.lr.ph.new ], [ %965, %949 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %949 ]
  %950 = load ptr, ptr %946, align 8, !tbaa !47
  %951 = getelementptr inbounds double, ptr %950, i64 %.17841
  %952 = load double, ptr %951, align 8, !tbaa !49
  %953 = load ptr, ptr %947, align 8, !tbaa !47
  %954 = getelementptr inbounds ptr, ptr %953, i64 %.0694
  %955 = load ptr, ptr %954, align 8, !tbaa !71
  %956 = getelementptr inbounds double, ptr %955, i64 %.17841
  store double %952, ptr %956, align 8, !tbaa !49
  %957 = or disjoint i64 %.17841, 1
  %958 = load ptr, ptr %946, align 8, !tbaa !47
  %959 = getelementptr inbounds double, ptr %958, i64 %957
  %960 = load double, ptr %959, align 8, !tbaa !49
  %961 = load ptr, ptr %947, align 8, !tbaa !47
  %962 = getelementptr inbounds ptr, ptr %961, i64 %.0694
  %963 = load ptr, ptr %962, align 8, !tbaa !71
  %964 = getelementptr inbounds double, ptr %963, i64 %957
  store double %960, ptr %964, align 8, !tbaa !49
  %965 = add nuw nsw i64 %.17841, 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.loopexit.unr-lcssa, label %949, !llvm.loop !105

._crit_edge.loopexit.unr-lcssa:                   ; preds = %949, %.lr.ph
  %.17841.unr = phi i64 [ 0, %.lr.ph ], [ %965, %949 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %966 = load ptr, ptr %946, align 8, !tbaa !47
  %967 = getelementptr inbounds double, ptr %966, i64 %.17841.unr
  %968 = load double, ptr %967, align 8, !tbaa !49
  %969 = load ptr, ptr %947, align 8, !tbaa !47
  %970 = getelementptr inbounds ptr, ptr %969, i64 %.0694
  %971 = load ptr, ptr %970, align 8, !tbaa !71
  %972 = getelementptr inbounds double, ptr %971, i64 %.17841.unr
  store double %968, ptr %972, align 8, !tbaa !49
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %940
  %.17.lcssa = phi i64 [ 0, %940 ], [ %.0745, %._crit_edge.loopexit.unr-lcssa ], [ %.0745, %._crit_edge.loopexit.epilog-lcssa ]
  %973 = add nsw i64 %.0694, 1
  br label %929

974:                                              ; preds = %929
  %975 = getelementptr inbounds i8, ptr %0, i64 730
  store i8 0, ptr %975, align 2, !tbaa !70
  br label %976

976:                                              ; preds = %974, %925
  %.13787 = phi i64 [ %.12786, %974 ], [ %.11785, %925 ]
  %.13758 = phi i64 [ %.12757, %974 ], [ %.11756, %925 ]
  %.not817.not866 = icmp sgt i64 %.13758, 0
  br i1 %.not817.not866, label %.lr.ph869, label %._crit_edge870

.lr.ph869:                                        ; preds = %976
  %977 = getelementptr inbounds i8, ptr %0, i64 1208
  %xtraiter922 = and i64 %.13758, 3
  %978 = icmp ult i64 %.13758, 4
  br i1 %978, label %._crit_edge870.loopexit.unr-lcssa, label %.lr.ph869.new

.lr.ph869.new:                                    ; preds = %.lr.ph869
  %unroll_iter925 = and i64 %.13758, 9223372036854775804
  br label %979

979:                                              ; preds = %979, %.lr.ph869.new
  %.19867 = phi i64 [ 0, %.lr.ph869.new ], [ %991, %979 ]
  %niter926 = phi i64 [ 0, %.lr.ph869.new ], [ %niter926.next.3, %979 ]
  %980 = load ptr, ptr %977, align 8, !tbaa !47
  %981 = getelementptr inbounds double, ptr %980, i64 %.19867
  store double 0.000000e+00, ptr %981, align 8, !tbaa !49
  %982 = or disjoint i64 %.19867, 1
  %983 = load ptr, ptr %977, align 8, !tbaa !47
  %984 = getelementptr inbounds double, ptr %983, i64 %982
  store double 0.000000e+00, ptr %984, align 8, !tbaa !49
  %985 = or disjoint i64 %.19867, 2
  %986 = load ptr, ptr %977, align 8, !tbaa !47
  %987 = getelementptr inbounds double, ptr %986, i64 %985
  store double 0.000000e+00, ptr %987, align 8, !tbaa !49
  %988 = or disjoint i64 %.19867, 3
  %989 = load ptr, ptr %977, align 8, !tbaa !47
  %990 = getelementptr inbounds double, ptr %989, i64 %988
  store double 0.000000e+00, ptr %990, align 8, !tbaa !49
  %991 = add nuw nsw i64 %.19867, 4
  %niter926.next.3 = add i64 %niter926, 4
  %niter926.ncmp.3 = icmp eq i64 %niter926.next.3, %unroll_iter925
  br i1 %niter926.ncmp.3, label %._crit_edge870.loopexit.unr-lcssa, label %979, !llvm.loop !106

._crit_edge870.loopexit.unr-lcssa:                ; preds = %979, %.lr.ph869
  %.19867.unr = phi i64 [ 0, %.lr.ph869 ], [ %991, %979 ]
  %lcmp.mod924.not = icmp eq i64 %xtraiter922, 0
  br i1 %lcmp.mod924.not, label %._crit_edge870, label %.epil.preheader921

.epil.preheader921:                               ; preds = %._crit_edge870.loopexit.unr-lcssa, %.epil.preheader921
  %.19867.epil = phi i64 [ %994, %.epil.preheader921 ], [ %.19867.unr, %._crit_edge870.loopexit.unr-lcssa ]
  %epil.iter923 = phi i64 [ %epil.iter923.next, %.epil.preheader921 ], [ 0, %._crit_edge870.loopexit.unr-lcssa ]
  %992 = load ptr, ptr %977, align 8, !tbaa !47
  %993 = getelementptr inbounds double, ptr %992, i64 %.19867.epil
  store double 0.000000e+00, ptr %993, align 8, !tbaa !49
  %994 = add nuw nsw i64 %.19867.epil, 1
  %epil.iter923.next = add i64 %epil.iter923, 1
  %epil.iter923.cmp.not = icmp eq i64 %epil.iter923.next, %xtraiter922
  br i1 %epil.iter923.cmp.not, label %._crit_edge870, label %.epil.preheader921, !llvm.loop !107

._crit_edge870:                                   ; preds = %._crit_edge870.loopexit.unr-lcssa, %.epil.preheader921, %976
  %995 = getelementptr inbounds i8, ptr %0, i64 1280
  %996 = getelementptr inbounds i8, ptr %0, i64 1216
  %997 = getelementptr inbounds i8, ptr %0, i64 456
  %998 = getelementptr inbounds i8, ptr %0, i64 1024
  %999 = getelementptr inbounds i8, ptr %0, i64 1152
  %1000 = getelementptr inbounds i8, ptr %0, i64 184
  %1001 = getelementptr inbounds i8, ptr %0, i64 1528
  %1002 = getelementptr inbounds i8, ptr %0, i64 1360
  tail call void @_ZN11alglib_implL20lsfit_estimateerrorsEPNS_9ae_matrixEPNS_9ae_vectorES3_S3_S3_S3_llPNS_11lsfitreportES1_lPNS_8ae_stateE(ptr noundef nonnull %995, ptr noundef nonnull %996, ptr noundef nonnull %997, ptr noundef nonnull %998, ptr noundef nonnull %999, ptr noundef nonnull %1000, i64 noundef %.13787, i64 noundef %.13758, ptr noundef nonnull %1001, ptr noundef nonnull %1002, i64 noundef 0, ptr noundef %1)
  br label %1036

1003:                                             ; preds = %879, %897, %851, %869, %275, %281, %930, %834, %726, %701, %619, %507, %454, %395, %354, %244, %208
  %.sink909 = phi i32 [ 13, %930 ], [ 10, %834 ], [ 9, %726 ], [ 8, %701 ], [ 7, %619 ], [ 6, %507 ], [ 5, %454 ], [ 4, %395 ], [ 3, %354 ], [ 1, %244 ], [ 0, %208 ], [ 2, %281 ], [ 2, %275 ], [ 11, %869 ], [ 11, %851 ], [ 12, %897 ], [ 12, %879 ]
  %.1802 = phi double [ %.0801, %930 ], [ %.0801, %834 ], [ %.0801, %726 ], [ %.0801, %701 ], [ %.0801, %619 ], [ %.0801, %507 ], [ %.0801, %454 ], [ %.0801, %395 ], [ %.0801, %354 ], [ %.0801, %244 ], [ %211, %208 ], [ %.0801, %281 ], [ %.0801, %275 ], [ %863, %869 ], [ %863, %851 ], [ %.0801, %897 ], [ %.0801, %879 ]
  %.1800 = phi double [ %.0799, %930 ], [ %.0799, %834 ], [ %.0799, %726 ], [ %.0799, %701 ], [ %.0799, %619 ], [ %.0799, %507 ], [ %.0799, %454 ], [ %.0799, %395 ], [ %.0799, %354 ], [ %214, %244 ], [ %.0799, %208 ], [ %.0799, %281 ], [ %.0799, %275 ], [ %.0799, %869 ], [ %.0799, %851 ], [ %881, %897 ], [ %881, %879 ]
  %.1798 = phi double [ %.0797, %930 ], [ %.0797, %834 ], [ %.0797, %726 ], [ %.0797, %701 ], [ %.0797, %619 ], [ %.0797, %507 ], [ %.0797, %454 ], [ %.0797, %395 ], [ %.0797, %354 ], [ %218, %244 ], [ %.0797, %208 ], [ %.0797, %281 ], [ %.0797, %275 ], [ %.0797, %869 ], [ %.0797, %851 ], [ %.0797, %897 ], [ %.0797, %879 ]
  %.1796 = phi double [ %.0795, %930 ], [ %.0795, %834 ], [ %.0795, %726 ], [ %.0795, %701 ], [ %.0795, %619 ], [ %.0795, %507 ], [ %.0795, %454 ], [ %.0795, %395 ], [ %.0795, %354 ], [ %247, %244 ], [ %.0795, %208 ], [ %.0795, %281 ], [ %.0795, %275 ], [ %.0795, %869 ], [ %.0795, %851 ], [ %888, %897 ], [ %888, %879 ]
  %.3794 = phi double [ %.0791, %930 ], [ %.1792, %834 ], [ %.0791, %726 ], [ %.0791, %701 ], [ %.0791, %619 ], [ %.0791, %507 ], [ %.0791, %454 ], [ %.0791, %395 ], [ %.0791, %354 ], [ %.0791, %244 ], [ %.0791, %208 ], [ %250, %281 ], [ %250, %275 ], [ %.2793, %869 ], [ %.2793, %851 ], [ %.0791, %897 ], [ %.0791, %879 ]
  %.1790 = phi double [ %.0789, %930 ], [ %.0789, %834 ], [ %.0789, %726 ], [ %.0789, %701 ], [ %.0789, %619 ], [ %.0789, %507 ], [ %.0789, %454 ], [ %.0789, %395 ], [ %.0789, %354 ], [ %.0789, %244 ], [ %.0789, %208 ], [ %254, %281 ], [ %254, %275 ], [ %.0789, %869 ], [ %.0789, %851 ], [ %.0789, %897 ], [ %.0789, %879 ]
  %.14788 = phi i64 [ %.12786, %930 ], [ %.11785, %834 ], [ %.10784, %726 ], [ %.4778.ph, %701 ], [ %.9783, %619 ], [ %.8782, %507 ], [ %.7781, %454 ], [ %.6780, %395 ], [ %.5779, %354 ], [ %.0774, %244 ], [ %.2776, %208 ], [ %.0774, %281 ], [ %.0774, %275 ], [ %.0774, %869 ], [ %.0774, %851 ], [ %.0774, %897 ], [ %.0774, %879 ]
  %.13773 = phi i64 [ %.12772, %930 ], [ %.11771, %834 ], [ %.10770, %726 ], [ %.4764.ph, %701 ], [ %.9769, %619 ], [ %.8768, %507 ], [ %.7767, %454 ], [ %.6766, %395 ], [ %.5765, %354 ], [ %.0760, %244 ], [ %.2762, %208 ], [ %.0760, %281 ], [ %.0760, %275 ], [ %.0760, %869 ], [ %.0760, %851 ], [ %.0760, %897 ], [ %.0760, %879 ]
  %.14759 = phi i64 [ %.12757, %930 ], [ %.11756, %834 ], [ %.10755, %726 ], [ %.4749.ph, %701 ], [ %.9754, %619 ], [ %.8753, %507 ], [ %.7752, %454 ], [ %.6751, %395 ], [ %.5750, %354 ], [ %.0745, %244 ], [ %.2747, %208 ], [ %.0745, %281 ], [ %.0745, %275 ], [ %.0745, %869 ], [ %.0745, %851 ], [ %.0745, %897 ], [ %.0745, %879 ]
  %.14744 = phi double [ %.13743, %930 ], [ %.12742, %834 ], [ %.11741, %726 ], [ %.4734.ph, %701 ], [ %.9739, %619 ], [ %.8738, %507 ], [ %.7737, %454 ], [ %.6736, %395 ], [ %.5735, %354 ], [ %.0730, %244 ], [ %.2732, %208 ], [ %.0730, %281 ], [ %.0730, %275 ], [ %855, %869 ], [ %855, %851 ], [ %.0730, %897 ], [ %.0730, %879 ]
  %.10729 = phi double [ %.9728, %930 ], [ %.8727, %834 ], [ %.7726, %726 ], [ %.1720.ph, %701 ], [ %.6725, %619 ], [ %.5724, %507 ], [ %.4723, %454 ], [ %.3722, %395 ], [ %.2721, %354 ], [ %.0719, %244 ], [ %.0719, %208 ], [ %.0719, %281 ], [ %.0719, %275 ], [ %.0719, %869 ], [ %.0719, %851 ], [ %.0719, %897 ], [ %.0719, %879 ]
  %.5718 = phi double [ %.4717, %930 ], [ %.3716, %834 ], [ %.1714, %726 ], [ %.0713, %701 ], [ %.0713, %619 ], [ %.0713, %507 ], [ %.0713, %454 ], [ %.0713, %395 ], [ %.0713, %354 ], [ %.0713, %244 ], [ %.0713, %208 ], [ %.0713, %281 ], [ %.0713, %275 ], [ %.0713, %869 ], [ %.0713, %851 ], [ %.0713, %897 ], [ %.0713, %879 ]
  %.20 = phi i64 [ %.18712, %930 ], [ %.17711, %834 ], [ %.16710, %726 ], [ %.7701.ph, %701 ], [ %.15709, %619 ], [ %.12706, %507 ], [ %.11705, %454 ], [ %.9703, %395 ], [ %.8702, %354 ], [ %.0694, %244 ], [ %.5699, %208 ], [ %.0694, %281 ], [ %.0694, %275 ], [ %.0694, %869 ], [ %.0694, %851 ], [ %.0694, %897 ], [ %.0694, %879 ]
  %.18 = phi i64 [ %.16, %930 ], [ %.14, %834 ], [ %.13, %726 ], [ %.4.ph, %701 ], [ %.11, %619 ], [ %.8, %507 ], [ %.7, %454 ], [ %.6, %395 ], [ %.5, %354 ], [ %.0693, %244 ], [ %.2, %208 ], [ %.0693, %281 ], [ %.0693, %275 ], [ %.15, %869 ], [ %.15, %851 ], [ %.0693, %897 ], [ %.0693, %879 ]
  store i32 %.sink909, ptr %3, align 8, !tbaa !5
  %1004 = getelementptr inbounds i8, ptr %0, i64 87416
  %1005 = load ptr, ptr %1004, align 8, !tbaa !47
  store i64 %.14788, ptr %1005, align 8, !tbaa !48
  %1006 = load ptr, ptr %1004, align 8, !tbaa !47
  %1007 = getelementptr inbounds i8, ptr %1006, i64 8
  store i64 %.13773, ptr %1007, align 8, !tbaa !48
  %1008 = load ptr, ptr %1004, align 8, !tbaa !47
  %1009 = getelementptr inbounds i8, ptr %1008, i64 16
  store i64 %.14759, ptr %1009, align 8, !tbaa !48
  %1010 = load ptr, ptr %1004, align 8, !tbaa !47
  %1011 = getelementptr inbounds i8, ptr %1010, i64 24
  store i64 %.20, ptr %1011, align 8, !tbaa !48
  %1012 = load ptr, ptr %1004, align 8, !tbaa !47
  %1013 = getelementptr inbounds i8, ptr %1012, i64 32
  store i64 %.18, ptr %1013, align 8, !tbaa !48
  %1014 = load ptr, ptr %1004, align 8, !tbaa !47
  %1015 = getelementptr inbounds i8, ptr %1014, i64 40
  store i64 %.0692, ptr %1015, align 8, !tbaa !48
  %1016 = load ptr, ptr %1004, align 8, !tbaa !47
  %1017 = getelementptr inbounds i8, ptr %1016, i64 48
  store i64 %.0, ptr %1017, align 8, !tbaa !48
  %1018 = getelementptr inbounds i8, ptr %0, i64 87544
  %1019 = load ptr, ptr %1018, align 8, !tbaa !47
  store double %.1802, ptr %1019, align 8, !tbaa !49
  %1020 = load ptr, ptr %1018, align 8, !tbaa !47
  %1021 = getelementptr inbounds i8, ptr %1020, i64 8
  store double %.1800, ptr %1021, align 8, !tbaa !49
  %1022 = load ptr, ptr %1018, align 8, !tbaa !47
  %1023 = getelementptr inbounds i8, ptr %1022, i64 16
  store double %.1798, ptr %1023, align 8, !tbaa !49
  %1024 = load ptr, ptr %1018, align 8, !tbaa !47
  %1025 = getelementptr inbounds i8, ptr %1024, i64 24
  store double %.1796, ptr %1025, align 8, !tbaa !49
  %1026 = load ptr, ptr %1018, align 8, !tbaa !47
  %1027 = getelementptr inbounds i8, ptr %1026, i64 32
  store double %.3794, ptr %1027, align 8, !tbaa !49
  %1028 = load ptr, ptr %1018, align 8, !tbaa !47
  %1029 = getelementptr inbounds i8, ptr %1028, i64 40
  store double %.1790, ptr %1029, align 8, !tbaa !49
  %1030 = load ptr, ptr %1018, align 8, !tbaa !47
  %1031 = getelementptr inbounds i8, ptr %1030, i64 48
  store double %.14744, ptr %1031, align 8, !tbaa !49
  %1032 = load ptr, ptr %1018, align 8, !tbaa !47
  %1033 = getelementptr inbounds i8, ptr %1032, i64 56
  store double %.10729, ptr %1033, align 8, !tbaa !49
  %1034 = load ptr, ptr %1018, align 8, !tbaa !47
  %1035 = getelementptr inbounds i8, ptr %1034, i64 64
  store double %.5718, ptr %1035, align 8, !tbaa !49
  br label %1036

1036:                                             ; preds = %._crit_edge870, %714, %1003, %303
  %.0803 = phi i1 [ true, %1003 ], [ false, %303 ], [ false, %714 ], [ false, %._crit_edge870 ]
  ret i1 %.0803
}

declare void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

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

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

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

declare void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

declare noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #0

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

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

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

declare void @_ZN11alglib_impl10ae_v_movedEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl13minlmsetscaleEPNS_10minlmstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl10minlmsetbcEPNS_10minlmstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl12minlmsetcondEPNS_10minlmstateEdlPNS_8ae_stateE(ptr noundef, double noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl14minlmiterationEPNS_10minlmstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl12minlmresultsEPNS_10minlmstateEPNS_9ae_vectorEPNS_11minlmreportEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) local_unnamed_addr #0

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

declare void @_ZN11alglib_impl12minlmsetxrepEPNS_10minlmstateEbPNS_8ae_stateE(ptr noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL29lsfit_lsfitclearrequestfieldsEPNS_10lsfitstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl14minlmsetstpmaxEPNS_10minlmstateEdPNS_8ae_stateE(ptr noundef, double noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl10minlmsetlcEPNS_10minlmstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl15derivativecheckEdddddddPNS_8ae_stateE(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL20lsfit_estimateerrorsEPNS_9ae_matrixEPNS_9ae_vectorES3_S3_S3_S3_llPNS_11lsfitreportES1_lPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

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

!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, !24, i64 87352}
!6 = !{!"_ZTSN11alglib_impl10lsfitstateE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !11, i64 48, !12, i64 56, !12, i64 120, !12, i64 184, !12, i64 248, !12, i64 312, !15, i64 376, !12, i64 456, !7, i64 520, !12, i64 528, !7, i64 592, !7, i64 600, !7, i64 608, !10, i64 616, !10, i64 624, !15, i64 632, !7, i64 712, !7, i64 720, !11, i64 728, !11, i64 729, !11, i64 730, !11, i64 731, !7, i64 736, !12, i64 744, !12, i64 808, !10, i64 872, !12, i64 880, !15, i64 944, !12, i64 1024, !12, i64 1088, !12, i64 1152, !12, i64 1216, !15, i64 1280, !15, i64 1360, !10, i64 1440, !16, i64 1448, !7, i64 1464, !7, i64 1472, !7, i64 1480, !10, i64 1488, !10, i64 1496, !10, i64 1504, !10, i64 1512, !10, i64 1520, !17, i64 1528, !18, i64 1872, !46, i64 87280, !7, i64 87336, !7, i64 87344, !23, i64 87352}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !11, i64 16, !13, i64 24, !8, i64 56}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !13, i64 40, !8, i64 72}
!16 = !{!"_ZTSN11alglib_impl12matinvreportE", !10, i64 0, !10, i64 8}
!17 = !{!"_ZTSN11alglib_impl11lsfitreportE", !10, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !15, i64 64, !12, i64 144, !12, i64 208, !12, i64 272, !10, i64 336}
!18 = !{!"_ZTSN11alglib_impl10minlmstateE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !11, i64 40, !10, i64 48, !7, i64 56, !11, i64 64, !12, i64 72, !10, i64 136, !12, i64 144, !15, i64 208, !15, i64 288, !12, i64 368, !11, i64 432, !11, i64 433, !11, i64 434, !11, i64 435, !11, i64 436, !11, i64 437, !11, i64 438, !7, i64 440, !11, i64 448, !11, i64 449, !11, i64 450, !12, i64 456, !10, i64 520, !12, i64 528, !12, i64 592, !15, i64 656, !12, i64 736, !12, i64 800, !12, i64 864, !12, i64 928, !12, i64 992, !15, i64 1056, !7, i64 1136, !7, i64 1144, !10, i64 1152, !10, i64 1160, !7, i64 1168, !12, i64 1176, !12, i64 1240, !12, i64 1304, !12, i64 1368, !11, i64 1432, !11, i64 1433, !19, i64 1440, !10, i64 5408, !12, i64 5416, !7, i64 5480, !7, i64 5488, !7, i64 5496, !7, i64 5504, !7, i64 5512, !7, i64 5520, !7, i64 5528, !23, i64 5536, !12, i64 5800, !12, i64 5864, !10, i64 5928, !10, i64 5936, !10, i64 5944, !10, i64 5952, !12, i64 5960, !12, i64 6024, !12, i64 6088, !12, i64 6152, !12, i64 6216, !12, i64 6280, !25, i64 6344, !29, i64 13216, !30, i64 13240, !44, i64 48472, !45, i64 48512}
!19 = !{!"_ZTSN11alglib_impl17smoothnessmonitorE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !7, i64 88, !12, i64 96, !12, i64 160, !12, i64 224, !15, i64 288, !12, i64 368, !12, i64 432, !7, i64 496, !11, i64 504, !11, i64 505, !10, i64 512, !10, i64 520, !11, i64 528, !20, i64 536, !10, i64 832, !10, i64 840, !21, i64 848, !21, i64 1152, !10, i64 1456, !10, i64 1464, !22, i64 1472, !22, i64 1784, !11, i64 2096, !12, i64 2104, !12, i64 2168, !15, i64 2232, !23, i64 2312, !12, i64 2576, !12, i64 2640, !12, i64 2704, !12, i64 2768, !12, i64 2832, !12, i64 2896, !12, i64 2960, !12, i64 3024, !15, i64 3088, !15, i64 3168, !12, i64 3248, !12, i64 3312, !12, i64 3376, !12, i64 3440, !12, i64 3504, !12, i64 3568, !12, i64 3632, !12, i64 3696, !12, i64 3760, !12, i64 3824, !15, i64 3888}
!20 = !{!"_ZTSN11alglib_impl14optguardreportE", !11, i64 0, !11, i64 1, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 25, !11, i64 26, !7, i64 32, !10, i64 40, !11, i64 48, !7, i64 56, !7, i64 64, !12, i64 72, !15, i64 136, !15, i64 216}
!21 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 80, !7, i64 144, !12, i64 152, !12, i64 216, !7, i64 280, !7, i64 288, !7, i64 296}
!22 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !11, i64 0, !7, i64 8, !7, i64 16, !12, i64 24, !12, i64 88, !7, i64 152, !12, i64 160, !12, i64 224, !7, i64 288, !7, i64 296, !7, i64 304}
!23 = !{!"_ZTSN11alglib_impl10rcommstateE", !24, i64 0, !12, i64 8, !12, i64 72, !12, i64 136, !12, i64 200}
!24 = !{!"int", !8, i64 0}
!25 = !{!"_ZTSN11alglib_impl13minlbfgsstateE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !11, i64 48, !10, i64 56, !12, i64 64, !10, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !12, i64 176, !15, i64 240, !15, i64 320, !12, i64 400, !12, i64 464, !12, i64 528, !10, i64 592, !12, i64 600, !10, i64 664, !10, i64 672, !12, i64 680, !7, i64 744, !10, i64 752, !15, i64 760, !12, i64 840, !12, i64 904, !12, i64 968, !15, i64 1032, !7, i64 1112, !26, i64 1120, !27, i64 1584, !10, i64 2032, !10, i64 2040, !10, i64 2048, !10, i64 2056, !10, i64 2064, !12, i64 2072, !12, i64 2136, !12, i64 2200, !10, i64 2264, !12, i64 2272, !11, i64 2336, !11, i64 2337, !11, i64 2338, !11, i64 2339, !10, i64 2344, !23, i64 2352, !7, i64 2616, !7, i64 2624, !7, i64 2632, !28, i64 2640, !7, i64 2832, !19, i64 2840, !12, i64 6808}
!26 = !{!"_ZTSN11alglib_impl12precbuflbfgsE", !12, i64 0, !12, i64 64, !12, i64 128, !15, i64 192, !12, i64 272, !12, i64 336, !12, i64 400}
!27 = !{!"_ZTSN11alglib_impl14precbuflowrankE", !7, i64 0, !7, i64 8, !12, i64 16, !15, i64 80, !12, i64 160, !15, i64 224, !15, i64 304, !12, i64 384}
!28 = !{!"_ZTSN11alglib_impl11linminstateE", !11, i64 0, !11, i64 1, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184}
!29 = !{!"_ZTSN11alglib_impl14minlbfgsreportE", !7, i64 0, !7, i64 8, !7, i64 16}
!30 = !{!"_ZTSN11alglib_impl10minqpstateE", !7, i64 0, !31, i64 8, !32, i64 80, !33, i64 112, !11, i64 136, !7, i64 144, !7, i64 152, !34, i64 160, !35, i64 1848, !11, i64 2216, !10, i64 2224, !10, i64 2232, !10, i64 2240, !12, i64 2248, !12, i64 2312, !12, i64 2376, !7, i64 2440, !12, i64 2448, !12, i64 2512, !12, i64 2576, !12, i64 2640, !12, i64 2704, !11, i64 2768, !15, i64 2776, !7, i64 2856, !7, i64 2864, !35, i64 2872, !7, i64 3240, !7, i64 3248, !12, i64 3256, !7, i64 3320, !7, i64 3328, !7, i64 3336, !7, i64 3344, !7, i64 3352, !12, i64 3360, !12, i64 3424, !15, i64 3488, !15, i64 3568, !11, i64 3648, !36, i64 3656, !41, i64 16496, !43, i64 23800}
!31 = !{!"_ZTSN11alglib_impl11qqpsettingsE", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !11, i64 33, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64}
!32 = !{!"_ZTSN11alglib_impl15qpbleicsettingsE", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24}
!33 = !{!"_ZTSN11alglib_impl18qpdenseaulsettingsE", !10, i64 0, !7, i64 8, !10, i64 16}
!34 = !{!"_ZTSN11alglib_impl20convexquadraticmodelE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !15, i64 40, !15, i64 120, !12, i64 200, !12, i64 264, !12, i64 328, !12, i64 392, !12, i64 456, !15, i64 520, !15, i64 600, !12, i64 680, !12, i64 744, !12, i64 808, !10, i64 872, !10, i64 880, !12, i64 888, !12, i64 952, !7, i64 1016, !7, i64 1024, !15, i64 1032, !15, i64 1112, !15, i64 1192, !12, i64 1272, !12, i64 1336, !10, i64 1400, !12, i64 1408, !12, i64 1472, !12, i64 1536, !15, i64 1600, !11, i64 1680, !11, i64 1681, !11, i64 1682, !11, i64 1683}
!35 = !{!"_ZTSN11alglib_impl12sparsematrixE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!36 = !{!"_ZTSN11alglib_impl14qpbleicbuffersE", !37, i64 0, !40, i64 12536, !12, i64 12632, !12, i64 12696, !12, i64 12760, !7, i64 12824, !7, i64 12832}
!37 = !{!"_ZTSN11alglib_impl13minbleicstateE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !11, i64 48, !11, i64 49, !10, i64 56, !10, i64 64, !38, i64 72, !12, i64 4416, !7, i64 4480, !12, i64 4488, !12, i64 4552, !10, i64 4616, !12, i64 4624, !11, i64 4688, !11, i64 4689, !11, i64 4690, !11, i64 4691, !11, i64 4692, !11, i64 4693, !11, i64 4694, !23, i64 4696, !12, i64 4960, !12, i64 5024, !12, i64 5088, !12, i64 5152, !12, i64 5216, !12, i64 5280, !10, i64 5344, !10, i64 5352, !10, i64 5360, !12, i64 5368, !15, i64 5432, !7, i64 5512, !7, i64 5520, !10, i64 5528, !10, i64 5536, !10, i64 5544, !12, i64 5552, !12, i64 5616, !12, i64 5680, !12, i64 5744, !7, i64 5808, !7, i64 5816, !7, i64 5824, !7, i64 5832, !7, i64 5840, !10, i64 5848, !10, i64 5856, !10, i64 5864, !10, i64 5872, !7, i64 5880, !7, i64 5888, !12, i64 5896, !39, i64 5960, !10, i64 7600, !10, i64 7608, !10, i64 7616, !10, i64 7624, !10, i64 7632, !10, i64 7640, !10, i64 7648, !10, i64 7656, !10, i64 7664, !7, i64 7672, !10, i64 7680, !12, i64 7688, !12, i64 7752, !7, i64 7816, !7, i64 7824, !10, i64 7832, !10, i64 7840, !10, i64 7848, !12, i64 7856, !28, i64 7920, !10, i64 8112, !7, i64 8120, !15, i64 8128, !15, i64 8208, !12, i64 8288, !12, i64 8352, !7, i64 8416, !10, i64 8424, !7, i64 8432, !19, i64 8440, !12, i64 12408, !12, i64 12472}
!38 = !{!"_ZTSN11alglib_impl10sactivesetE", !7, i64 0, !7, i64 8, !12, i64 16, !11, i64 80, !12, i64 88, !12, i64 152, !12, i64 216, !11, i64 280, !15, i64 288, !15, i64 368, !15, i64 448, !7, i64 528, !12, i64 536, !7, i64 600, !7, i64 608, !11, i64 616, !11, i64 617, !12, i64 624, !12, i64 688, !12, i64 752, !12, i64 816, !15, i64 880, !7, i64 960, !7, i64 968, !12, i64 976, !12, i64 1040, !12, i64 1104, !12, i64 1168, !12, i64 1232, !12, i64 1296, !39, i64 1360, !12, i64 3000, !12, i64 3064, !12, i64 3128, !15, i64 3192, !12, i64 3272, !12, i64 3336, !12, i64 3400, !15, i64 3464, !15, i64 3544, !12, i64 3624, !12, i64 3688, !12, i64 3752, !15, i64 3816, !12, i64 3896, !12, i64 3960, !12, i64 4024, !12, i64 4088, !12, i64 4152, !12, i64 4216, !12, i64 4280}
!39 = !{!"_ZTSN11alglib_impl11snnlssolverE", !7, i64 0, !7, i64 8, !7, i64 16, !15, i64 24, !12, i64 104, !12, i64 168, !10, i64 232, !7, i64 240, !12, i64 248, !12, i64 312, !15, i64 376, !15, i64 456, !15, i64 536, !12, i64 616, !12, i64 680, !12, i64 744, !12, i64 808, !12, i64 872, !12, i64 936, !12, i64 1000, !12, i64 1064, !12, i64 1128, !12, i64 1192, !12, i64 1256, !12, i64 1320, !12, i64 1384, !12, i64 1448, !12, i64 1512, !12, i64 1576}
!40 = !{!"_ZTSN11alglib_impl14minbleicreportE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88}
!41 = !{!"_ZTSN11alglib_impl10qqpbuffersE", !7, i64 0, !7, i64 8, !15, i64 16, !35, i64 96, !11, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !12, i64 496, !12, i64 560, !12, i64 624, !12, i64 688, !12, i64 752, !12, i64 816, !12, i64 880, !12, i64 944, !12, i64 1008, !12, i64 1072, !12, i64 1136, !12, i64 1200, !12, i64 1264, !38, i64 1328, !12, i64 5672, !7, i64 5736, !7, i64 5744, !15, i64 5752, !35, i64 5832, !12, i64 6200, !12, i64 6264, !12, i64 6328, !12, i64 6392, !12, i64 6456, !12, i64 6520, !12, i64 6584, !12, i64 6648, !12, i64 6712, !42, i64 6776, !7, i64 7272, !7, i64 7280, !7, i64 7288, !7, i64 7296}
!42 = !{!"_ZTSN11alglib_impl13sparsebuffersE", !12, i64 0, !12, i64 64, !35, i64 128}
!43 = !{!"_ZTSN11alglib_impl17qpdenseaulbuffersE", !12, i64 0, !15, i64 64, !12, i64 144, !12, i64 208, !12, i64 272, !12, i64 336, !12, i64 400, !12, i64 464, !15, i64 528, !15, i64 608, !12, i64 688, !12, i64 752, !12, i64 816, !12, i64 880, !12, i64 944, !12, i64 1008, !31, i64 1072, !41, i64 1144, !12, i64 8448, !12, i64 8512, !15, i64 8576, !12, i64 8656, !12, i64 8720, !12, i64 8784, !34, i64 8848, !35, i64 10536, !15, i64 10904, !12, i64 10984, !12, i64 11048, !12, i64 11112, !12, i64 11176, !12, i64 11240, !12, i64 11304, !7, i64 11368, !7, i64 11376, !7, i64 11384, !7, i64 11392, !7, i64 11400, !7, i64 11408, !7, i64 11416, !7, i64 11424}
!44 = !{!"_ZTSN11alglib_impl11minqpreportE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!45 = !{!"_ZTSN11alglib_impl15minlmstepfinderE", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !11, i64 40, !10, i64 48, !12, i64 56, !10, i64 120, !12, i64 128, !11, i64 192, !11, i64 193, !10, i64 200, !12, i64 208, !12, i64 272, !12, i64 336, !12, i64 400, !12, i64 464, !12, i64 528, !12, i64 592, !12, i64 656, !23, i64 720, !12, i64 984, !12, i64 1048, !12, i64 1112, !12, i64 1176, !10, i64 1240, !10, i64 1248, !30, i64 1256, !44, i64 36488, !35, i64 36528}
!46 = !{!"_ZTSN11alglib_impl11minlmreportE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!47 = !{!8, !8, i64 0}
!48 = !{!7, !7, i64 0}
!49 = !{!10, !10, i64 0}
!50 = !{!6, !7, i64 600}
!51 = !{!6, !7, i64 520}
!52 = !{!6, !7, i64 592}
!53 = !{!6, !7, i64 1480}
!54 = !{!6, !7, i64 8}
!55 = !{!6, !7, i64 16}
!56 = !{!6, !7, i64 712}
!57 = !{!6, !7, i64 720}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}
!60 = distinct !{!60, !59}
!61 = !{!6, !10, i64 24}
!62 = !{!6, !7, i64 32}
!63 = !{!6, !10, i64 40}
!64 = !{!6, !11, i64 48}
!65 = !{i8 0, i8 2}
!66 = !{}
!67 = !{!6, !10, i64 624}
!68 = !{!6, !7, i64 0}
!69 = distinct !{!69, !59}
!70 = !{!6, !11, i64 730}
!71 = !{!14, !14, i64 0}
!72 = !{!6, !10, i64 872}
!73 = !{!6, !7, i64 1472}
!74 = distinct !{!74, !59}
!75 = !{!6, !11, i64 2308}
!76 = !{!6, !7, i64 736}
!77 = !{!6, !11, i64 729}
!78 = !{!6, !11, i64 2304}
!79 = !{!6, !10, i64 2008}
!80 = !{!6, !11, i64 2305}
!81 = distinct !{!81, !59}
!82 = distinct !{!82, !83}
!83 = !{!"llvm.loop.unroll.disable"}
!84 = !{!6, !11, i64 2307}
!85 = !{!6, !11, i64 2306}
!86 = distinct !{!86, !83}
!87 = distinct !{!87, !59}
!88 = distinct !{!88, !83}
!89 = distinct !{!89, !59}
!90 = distinct !{!90, !59}
!91 = distinct !{!91, !83}
!92 = !{!6, !11, i64 731}
!93 = distinct !{!93, !59}
!94 = !{!6, !11, i64 2309}
!95 = !{!6, !11, i64 728}
!96 = !{!6, !7, i64 87288}
!97 = !{!6, !7, i64 87280}
!98 = !{!6, !7, i64 1464}
!99 = !{!6, !10, i64 1488}
!100 = !{!6, !10, i64 1520}
!101 = !{!6, !10, i64 1496}
!102 = !{!6, !10, i64 1504}
!103 = !{!6, !10, i64 1512}
!104 = !{!6, !10, i64 616}
!105 = distinct !{!105, !59}
!106 = distinct !{!106, !59}
!107 = distinct !{!107, !83}


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