; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src (optimization)

; 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::minsqpstate" = type { i64, i64, i64, i64, i64, i8, %"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::nlpstoppingcriteria", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", double, i8, i8, double, double, double, i64, i64, %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::minsqpsubsolver", %"struct.alglib_impl::xbfgshessian", %"struct.alglib_impl::ae_obj_array", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::varsfuncjac", %"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", i64, i64, double, i64, double, i64, double, i64, %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::nlpstoppingcriteria" = type { double, double, i64 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::minsqpsubsolver" = type { %"struct.alglib_impl::vipmstate", %"struct.alglib_impl::ipm2state", %"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::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"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_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", i64, %"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::vipmstate" = type { i8, i8, i64, i64, double, double, double, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", i64, 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_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"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", i64, i64, %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"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, i8, i8, 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_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_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::vipmreducedsparsesystem", %"struct.alglib_impl::vipmrighthandside", %"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::vipmvars", %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::vipmreducedsparsesystem" = type { %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::spcholanalysis", %"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::spcholanalysis" = type { i64, i64, i64, i8, i64, double, double, double, double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, 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_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", 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_vector", i8, i8, %"struct.alglib_impl::spcholadj", %"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_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"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::amdbuffer", %"struct.alglib_impl::priorityamdbuffers", %"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::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::spcholadj" = 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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_nxpool" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_dyn_block", %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::amdbuffer" = type { i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdllmatrix", %"struct.alglib_impl::amdvertexset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::amdllmatrix" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::amdvertexset" = type { i64, i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::amdknset" = type { 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", i64, i64, i64 }
%"struct.alglib_impl::niset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::priorityamdbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdbuffer", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::vipmrighthandside" = 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", %"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::vipmvars" = type { 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::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ipm2state" = type { i64, i64, i64, double, double, double, i64, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", 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::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::sparsematrix", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ipm2vars", %"struct.alglib_impl::ipm2vars", %"struct.alglib_impl::ipm2vars", %"struct.alglib_impl::ipm2vars", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ipm2righthandside", i64, i64, i8, i8, i8, %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::ipm2reducedsystem", %"struct.alglib_impl::ipm2righthandside", %"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::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ipm2vars" = type { 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::ipm2reducedsystem" = type { %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::spcholanalysis", %"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::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::ipm2righthandside" = 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", %"struct.alglib_impl::ae_vector" }
%"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::xbfgshessian" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, double, double, double, double, i64, double, double, %"struct.alglib_impl::ae_matrix", i64, double, double, double, i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::ae_vector", i8, i64, %"struct.alglib_impl::ae_matrix", %"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", i8, %"struct.alglib_impl::ae_vector", double, double, i64, %"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_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"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_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"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_obj_array" = type { i64, i64, i8, ptr, ptr, ptr, ptr, %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::varsfuncjac" = type { i64, i64, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::stimer" = type { i64, i64, i8 }
%"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.1111 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.1112 = external hidden unnamed_addr constant [31 x i8], align 1
@_ZN11alglib_implL27nlcsqp_defaultbfgsresetfreqE = external hidden global i64, align 8
@_ZN11alglib_implL23nlcsqp_sqpdeltadecreaseE = external hidden global double, align 8
@_ZN11alglib_implL23nlcsqp_sqpdeltaincreaseE = external hidden global double, align 8

; 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

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

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

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

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

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double 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

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

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

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

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

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 void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13minsqpinitbufEPKNS_9ae_vectorES2_S2_S2_lPKNS_9ae_matrixES2_llllPKNS_19nlpstoppingcriteriaEbPNS_11minsqpstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7, i64 noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11, i1 noundef zeroext %12, ptr noundef %13, ptr noundef %14) #4 {
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i8, align 1
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca i64, align 8
  store ptr %0, ptr %16, align 8, !tbaa !5
  store ptr %1, ptr %17, align 8, !tbaa !5
  store ptr %2, ptr %18, align 8, !tbaa !5
  store ptr %3, ptr %19, align 8, !tbaa !5
  store i64 %4, ptr %20, align 8, !tbaa !9
  store ptr %5, ptr %21, align 8, !tbaa !5
  store ptr %6, ptr %22, align 8, !tbaa !5
  store i64 %7, ptr %23, align 8, !tbaa !9
  store i64 %8, ptr %24, align 8, !tbaa !9
  store i64 %9, ptr %25, align 8, !tbaa !9
  store i64 %10, ptr %26, align 8, !tbaa !9
  store ptr %11, ptr %27, align 8, !tbaa !5
  %36 = zext i1 %12 to i8
  store i8 %36, ptr %28, align 1, !tbaa !11
  store ptr %13, ptr %29, align 8, !tbaa !5
  store ptr %14, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %37 = load i64, ptr %20, align 8, !tbaa !9
  %38 = load i64, ptr %23, align 8, !tbaa !9
  %39 = load i64, ptr %25, align 8, !tbaa !9
  %40 = add nsw i64 %38, %39
  %41 = mul nsw i64 2, %40
  %42 = add nsw i64 %37, %41
  %43 = load i64, ptr %24, align 8, !tbaa !9
  %44 = load i64, ptr %26, align 8, !tbaa !9
  %45 = add nsw i64 %43, %44
  %46 = add nsw i64 %42, %45
  store i64 %46, ptr %35, align 8, !tbaa !9
  %47 = load i64, ptr %20, align 8, !tbaa !9
  %48 = load ptr, ptr %29, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %48, i32 0, i32 0
  store i64 %47, ptr %49, align 8, !tbaa !13
  %50 = load i64, ptr %23, align 8, !tbaa !9
  %51 = load ptr, ptr %29, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %51, i32 0, i32 1
  store i64 %50, ptr %52, align 8, !tbaa !46
  %53 = load i64, ptr %24, align 8, !tbaa !9
  %54 = load ptr, ptr %29, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %54, i32 0, i32 2
  store i64 %53, ptr %55, align 8, !tbaa !47
  %56 = load i64, ptr %25, align 8, !tbaa !9
  %57 = load ptr, ptr %29, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %57, i32 0, i32 3
  store i64 %56, ptr %58, align 8, !tbaa !48
  %59 = load i64, ptr %26, align 8, !tbaa !9
  %60 = load ptr, ptr %29, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %60, i32 0, i32 4
  store i64 %59, ptr %61, align 8, !tbaa !49
  %62 = load ptr, ptr %29, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %62, i32 0, i32 66
  %64 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %63, i32 0, i32 1
  %65 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %64, i64 noundef 10, ptr noundef %65)
  %66 = load ptr, ptr %29, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %66, i32 0, i32 66
  %68 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %67, i32 0, i32 2
  %69 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %68, i64 noundef 15, ptr noundef %69)
  %70 = load ptr, ptr %29, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %70, i32 0, i32 66
  %72 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %71, i32 0, i32 3
  %73 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %72, i64 noundef 24, ptr noundef %73)
  %74 = load ptr, ptr %29, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %74, i32 0, i32 66
  %76 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %75, i32 0, i32 0
  store i32 -1, ptr %76, align 8, !tbaa !50
  %77 = load ptr, ptr %29, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %77, i32 0, i32 19
  store i8 0, ptr %78, align 8, !tbaa !51
  %79 = load ptr, ptr %29, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %79, i32 0, i32 20
  store i8 0, ptr %80, align 1, !tbaa !52
  %81 = load ptr, ptr %29, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %81, i32 0, i32 15
  %83 = load i64, ptr %20, align 8, !tbaa !9
  %84 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %82, i64 noundef %83, ptr noundef %84)
  %85 = load ptr, ptr %29, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %85, i32 0, i32 16
  %87 = load i64, ptr %25, align 8, !tbaa !9
  %88 = add nsw i64 1, %87
  %89 = load i64, ptr %26, align 8, !tbaa !9
  %90 = add nsw i64 %88, %89
  %91 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %86, i64 noundef %90, ptr noundef %91)
  %92 = load ptr, ptr %29, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %92, i32 0, i32 17
  %94 = load i64, ptr %25, align 8, !tbaa !9
  %95 = add nsw i64 1, %94
  %96 = load i64, ptr %26, align 8, !tbaa !9
  %97 = add nsw i64 %95, %96
  %98 = load i64, ptr %20, align 8, !tbaa !9
  %99 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %93, i64 noundef %97, i64 noundef %98, ptr noundef %99)
  %100 = load i64, ptr %20, align 8, !tbaa !9
  %101 = load ptr, ptr %29, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %101, i32 0, i32 27
  %103 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %100, ptr noundef %102, ptr noundef %103)
  %104 = load i64, ptr %20, align 8, !tbaa !9
  %105 = load ptr, ptr %29, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %105, i32 0, i32 28
  %107 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %104, ptr noundef %106, ptr noundef %107)
  %108 = load ptr, ptr %29, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %108, i32 0, i32 6
  %110 = load i64, ptr %20, align 8, !tbaa !9
  %111 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %109, i64 noundef %110, ptr noundef %111)
  %112 = load ptr, ptr %29, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %112, i32 0, i32 29
  %114 = load i64, ptr %25, align 8, !tbaa !9
  %115 = add nsw i64 1, %114
  %116 = load i64, ptr %26, align 8, !tbaa !9
  %117 = add nsw i64 %115, %116
  %118 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %113, i64 noundef %117, ptr noundef %118)
  %119 = load ptr, ptr %29, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %119, i32 0, i32 30
  %121 = load i64, ptr %25, align 8, !tbaa !9
  %122 = add nsw i64 1, %121
  %123 = load i64, ptr %26, align 8, !tbaa !9
  %124 = add nsw i64 %122, %123
  %125 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %120, i64 noundef %124, ptr noundef %125)
  %126 = load ptr, ptr %29, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %126, i32 0, i32 9
  %128 = load i64, ptr %20, align 8, !tbaa !9
  %129 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %127, i64 noundef %128, ptr noundef %129)
  %130 = load ptr, ptr %29, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %130, i32 0, i32 10
  %132 = load i64, ptr %20, align 8, !tbaa !9
  %133 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %131, i64 noundef %132, ptr noundef %133)
  %134 = load ptr, ptr %29, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %134, i32 0, i32 11
  %136 = load i64, ptr %20, align 8, !tbaa !9
  %137 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %135, i64 noundef %136, ptr noundef %137)
  %138 = load ptr, ptr %29, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %138, i32 0, i32 12
  %140 = load i64, ptr %20, align 8, !tbaa !9
  %141 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %139, i64 noundef %140, ptr noundef %141)
  %142 = load ptr, ptr %29, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %142, i32 0, i32 7
  %144 = load i64, ptr %23, align 8, !tbaa !9
  %145 = load i64, ptr %24, align 8, !tbaa !9
  %146 = add nsw i64 %144, %145
  %147 = load i64, ptr %20, align 8, !tbaa !9
  %148 = add nsw i64 %147, 1
  %149 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %143, i64 noundef %146, i64 noundef %148, ptr noundef %149)
  %150 = load ptr, ptr %29, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %150, i32 0, i32 8
  %152 = load i64, ptr %23, align 8, !tbaa !9
  %153 = load i64, ptr %24, align 8, !tbaa !9
  %154 = add nsw i64 %152, %153
  %155 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %151, i64 noundef %154, ptr noundef %155)
  %156 = load ptr, ptr %29, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %156, i32 0, i32 41
  %158 = load i64, ptr %35, align 8, !tbaa !9
  %159 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %157, i64 noundef %158, ptr noundef %159)
  %160 = load ptr, ptr %29, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %160, i32 0, i32 42
  %162 = load i64, ptr %35, align 8, !tbaa !9
  %163 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %161, i64 noundef %162, ptr noundef %163)
  %164 = load ptr, ptr %29, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %164, i32 0, i32 43
  %166 = load i64, ptr %35, align 8, !tbaa !9
  %167 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %165, i64 noundef %166, ptr noundef %167)
  %168 = load ptr, ptr %29, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %168, i32 0, i32 44
  %170 = load i64, ptr %35, align 8, !tbaa !9
  %171 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %169, i64 noundef %170, ptr noundef %171)
  %172 = load ptr, ptr %29, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %172, i32 0, i32 35
  %174 = load i64, ptr %20, align 8, !tbaa !9
  %175 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %173, i64 noundef %174, ptr noundef %175)
  %176 = load ptr, ptr %29, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %176, i32 0, i32 47
  %178 = load i64, ptr %20, align 8, !tbaa !9
  %179 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %177, i64 noundef %178, ptr noundef %179)
  %180 = load ptr, ptr %29, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %180, i32 0, i32 36
  %182 = load i64, ptr %23, align 8, !tbaa !9
  %183 = load i64, ptr %24, align 8, !tbaa !9
  %184 = add nsw i64 %182, %183
  %185 = load i64, ptr %25, align 8, !tbaa !9
  %186 = add nsw i64 %184, %185
  %187 = load i64, ptr %26, align 8, !tbaa !9
  %188 = add nsw i64 %186, %187
  %189 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %181, i64 noundef %188, ptr noundef %189)
  %190 = load ptr, ptr %29, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %190, i32 0, i32 48
  %192 = load i64, ptr %23, align 8, !tbaa !9
  %193 = load i64, ptr %24, align 8, !tbaa !9
  %194 = add nsw i64 %192, %193
  %195 = load i64, ptr %25, align 8, !tbaa !9
  %196 = add nsw i64 %194, %195
  %197 = load i64, ptr %26, align 8, !tbaa !9
  %198 = add nsw i64 %196, %197
  %199 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %191, i64 noundef %198, ptr noundef %199)
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %200

200:                                              ; preds = %358, %15
  %201 = load i64, ptr %31, align 8, !tbaa !9
  %202 = load i64, ptr %20, align 8, !tbaa !9
  %203 = sub nsw i64 %202, 1
  %204 = icmp sle i64 %201, %203
  br i1 %204, label %205, label %361

205:                                              ; preds = %200
  %206 = load ptr, ptr %16, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %206, i32 0, i32 4
  %208 = load ptr, ptr %207, align 8, !tbaa !53
  %209 = load i64, ptr %31, align 8, !tbaa !9
  %210 = getelementptr inbounds double, ptr %208, i64 %209
  %211 = load double, ptr %210, align 8, !tbaa !54
  %212 = load ptr, ptr %30, align 8, !tbaa !5
  %213 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %211, ptr noundef %212)
  %214 = load ptr, ptr %29, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %214, i32 0, i32 9
  %216 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %215, i32 0, i32 4
  %217 = load ptr, ptr %216, align 8, !tbaa !53
  %218 = load i64, ptr %31, align 8, !tbaa !9
  %219 = getelementptr inbounds i8, ptr %217, i64 %218
  %220 = zext i1 %213 to i8
  store i8 %220, ptr %219, align 1, !tbaa !11
  %221 = load ptr, ptr %17, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %221, i32 0, i32 4
  %223 = load ptr, ptr %222, align 8, !tbaa !53
  %224 = load i64, ptr %31, align 8, !tbaa !9
  %225 = getelementptr inbounds double, ptr %223, i64 %224
  %226 = load double, ptr %225, align 8, !tbaa !54
  %227 = load ptr, ptr %30, align 8, !tbaa !5
  %228 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %226, ptr noundef %227)
  %229 = load ptr, ptr %29, align 8, !tbaa !5
  %230 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %229, i32 0, i32 10
  %231 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %230, i32 0, i32 4
  %232 = load ptr, ptr %231, align 8, !tbaa !53
  %233 = load i64, ptr %31, align 8, !tbaa !9
  %234 = getelementptr inbounds i8, ptr %232, i64 %233
  %235 = zext i1 %228 to i8
  store i8 %235, ptr %234, align 1, !tbaa !11
  %236 = load ptr, ptr %29, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %236, i32 0, i32 9
  %238 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %237, i32 0, i32 4
  %239 = load ptr, ptr %238, align 8, !tbaa !53
  %240 = load i64, ptr %31, align 8, !tbaa !9
  %241 = getelementptr inbounds i8, ptr %239, i64 %240
  %242 = load i8, ptr %241, align 1, !tbaa !11, !range !55, !noundef !56
  %243 = trunc i8 %242 to i1
  br i1 %243, label %244, label %264

244:                                              ; preds = %205
  %245 = load ptr, ptr %16, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %245, i32 0, i32 4
  %247 = load ptr, ptr %246, align 8, !tbaa !53
  %248 = load i64, ptr %31, align 8, !tbaa !9
  %249 = getelementptr inbounds double, ptr %247, i64 %248
  %250 = load double, ptr %249, align 8, !tbaa !54
  %251 = load ptr, ptr %18, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %251, i32 0, i32 4
  %253 = load ptr, ptr %252, align 8, !tbaa !53
  %254 = load i64, ptr %31, align 8, !tbaa !9
  %255 = getelementptr inbounds double, ptr %253, i64 %254
  %256 = load double, ptr %255, align 8, !tbaa !54
  %257 = fdiv double %250, %256
  %258 = load ptr, ptr %29, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %258, i32 0, i32 11
  %260 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %259, i32 0, i32 4
  %261 = load ptr, ptr %260, align 8, !tbaa !53
  %262 = load i64, ptr %31, align 8, !tbaa !9
  %263 = getelementptr inbounds double, ptr %261, i64 %262
  store double %257, ptr %263, align 8, !tbaa !54
  br label %264

264:                                              ; preds = %244, %205
  %265 = load ptr, ptr %29, align 8, !tbaa !5
  %266 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %265, i32 0, i32 10
  %267 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %266, i32 0, i32 4
  %268 = load ptr, ptr %267, align 8, !tbaa !53
  %269 = load i64, ptr %31, align 8, !tbaa !9
  %270 = getelementptr inbounds i8, ptr %268, i64 %269
  %271 = load i8, ptr %270, align 1, !tbaa !11, !range !55, !noundef !56
  %272 = trunc i8 %271 to i1
  br i1 %272, label %273, label %293

273:                                              ; preds = %264
  %274 = load ptr, ptr %17, align 8, !tbaa !5
  %275 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %274, i32 0, i32 4
  %276 = load ptr, ptr %275, align 8, !tbaa !53
  %277 = load i64, ptr %31, align 8, !tbaa !9
  %278 = getelementptr inbounds double, ptr %276, i64 %277
  %279 = load double, ptr %278, align 8, !tbaa !54
  %280 = load ptr, ptr %18, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %280, i32 0, i32 4
  %282 = load ptr, ptr %281, align 8, !tbaa !53
  %283 = load i64, ptr %31, align 8, !tbaa !9
  %284 = getelementptr inbounds double, ptr %282, i64 %283
  %285 = load double, ptr %284, align 8, !tbaa !54
  %286 = fdiv double %279, %285
  %287 = load ptr, ptr %29, align 8, !tbaa !5
  %288 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %287, i32 0, i32 12
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %288, i32 0, i32 4
  %290 = load ptr, ptr %289, align 8, !tbaa !53
  %291 = load i64, ptr %31, align 8, !tbaa !9
  %292 = getelementptr inbounds double, ptr %290, i64 %291
  store double %286, ptr %292, align 8, !tbaa !54
  br label %293

293:                                              ; preds = %273, %264
  %294 = load ptr, ptr %29, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %294, i32 0, i32 9
  %296 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %295, i32 0, i32 4
  %297 = load ptr, ptr %296, align 8, !tbaa !53
  %298 = load i64, ptr %31, align 8, !tbaa !9
  %299 = getelementptr inbounds i8, ptr %297, i64 %298
  %300 = load i8, ptr %299, align 1, !tbaa !11, !range !55, !noundef !56
  %301 = trunc i8 %300 to i1
  br i1 %301, label %302, label %326

302:                                              ; preds = %293
  %303 = load ptr, ptr %29, align 8, !tbaa !5
  %304 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %303, i32 0, i32 10
  %305 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %304, i32 0, i32 4
  %306 = load ptr, ptr %305, align 8, !tbaa !53
  %307 = load i64, ptr %31, align 8, !tbaa !9
  %308 = getelementptr inbounds i8, ptr %306, i64 %307
  %309 = load i8, ptr %308, align 1, !tbaa !11, !range !55, !noundef !56
  %310 = trunc i8 %309 to i1
  br i1 %310, label %311, label %326

311:                                              ; preds = %302
  %312 = load ptr, ptr %16, align 8, !tbaa !5
  %313 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %312, i32 0, i32 4
  %314 = load ptr, ptr %313, align 8, !tbaa !53
  %315 = load i64, ptr %31, align 8, !tbaa !9
  %316 = getelementptr inbounds double, ptr %314, i64 %315
  %317 = load double, ptr %316, align 8, !tbaa !54
  %318 = load ptr, ptr %17, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %318, i32 0, i32 4
  %320 = load ptr, ptr %319, align 8, !tbaa !53
  %321 = load i64, ptr %31, align 8, !tbaa !9
  %322 = getelementptr inbounds double, ptr %320, i64 %321
  %323 = load double, ptr %322, align 8, !tbaa !54
  %324 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %317, double noundef %323)
  %325 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %324, ptr noundef @.str.1111, ptr noundef %325)
  br label %326

326:                                              ; preds = %311, %302, %293
  %327 = load ptr, ptr %19, align 8, !tbaa !5
  %328 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %327, i32 0, i32 4
  %329 = load ptr, ptr %328, align 8, !tbaa !53
  %330 = load i64, ptr %31, align 8, !tbaa !9
  %331 = getelementptr inbounds double, ptr %329, i64 %330
  %332 = load double, ptr %331, align 8, !tbaa !54
  %333 = load ptr, ptr %18, align 8, !tbaa !5
  %334 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %333, i32 0, i32 4
  %335 = load ptr, ptr %334, align 8, !tbaa !53
  %336 = load i64, ptr %31, align 8, !tbaa !9
  %337 = getelementptr inbounds double, ptr %335, i64 %336
  %338 = load double, ptr %337, align 8, !tbaa !54
  %339 = fdiv double %332, %338
  %340 = load ptr, ptr %29, align 8, !tbaa !5
  %341 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %340, i32 0, i32 27
  %342 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %341, i32 0, i32 4
  %343 = load ptr, ptr %342, align 8, !tbaa !53
  %344 = load i64, ptr %31, align 8, !tbaa !9
  %345 = getelementptr inbounds double, ptr %343, i64 %344
  store double %339, ptr %345, align 8, !tbaa !54
  %346 = load ptr, ptr %18, align 8, !tbaa !5
  %347 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %346, i32 0, i32 4
  %348 = load ptr, ptr %347, align 8, !tbaa !53
  %349 = load i64, ptr %31, align 8, !tbaa !9
  %350 = getelementptr inbounds double, ptr %348, i64 %349
  %351 = load double, ptr %350, align 8, !tbaa !54
  %352 = load ptr, ptr %29, align 8, !tbaa !5
  %353 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %352, i32 0, i32 6
  %354 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %353, i32 0, i32 4
  %355 = load ptr, ptr %354, align 8, !tbaa !53
  %356 = load i64, ptr %31, align 8, !tbaa !9
  %357 = getelementptr inbounds double, ptr %355, i64 %356
  store double %351, ptr %357, align 8, !tbaa !54
  br label %358

358:                                              ; preds = %326
  %359 = load i64, ptr %31, align 8, !tbaa !9
  %360 = add nsw i64 %359, 1
  store i64 %360, ptr %31, align 8, !tbaa !9
  br label %200, !llvm.loop !57

361:                                              ; preds = %200
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %362

362:                                              ; preds = %477, %361
  %363 = load i64, ptr %31, align 8, !tbaa !9
  %364 = load i64, ptr %23, align 8, !tbaa !9
  %365 = load i64, ptr %24, align 8, !tbaa !9
  %366 = add nsw i64 %364, %365
  %367 = sub nsw i64 %366, 1
  %368 = icmp sle i64 %363, %367
  br i1 %368, label %369, label %480

369:                                              ; preds = %362
  %370 = load ptr, ptr %22, align 8, !tbaa !5
  %371 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %370, i32 0, i32 4
  %372 = load ptr, ptr %371, align 8, !tbaa !53
  %373 = load i64, ptr %31, align 8, !tbaa !9
  %374 = getelementptr inbounds i64, ptr %372, i64 %373
  %375 = load i64, ptr %374, align 8, !tbaa !9
  %376 = load ptr, ptr %29, align 8, !tbaa !5
  %377 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %376, i32 0, i32 8
  %378 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %377, i32 0, i32 4
  %379 = load ptr, ptr %378, align 8, !tbaa !53
  %380 = load i64, ptr %31, align 8, !tbaa !9
  %381 = getelementptr inbounds i64, ptr %379, i64 %380
  store i64 %375, ptr %381, align 8, !tbaa !9
  store double 0.000000e+00, ptr %34, align 8, !tbaa !54
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %382

382:                                              ; preds = %418, %369
  %383 = load i64, ptr %32, align 8, !tbaa !9
  %384 = load i64, ptr %20, align 8, !tbaa !9
  %385 = sub nsw i64 %384, 1
  %386 = icmp sle i64 %383, %385
  br i1 %386, label %387, label %421

387:                                              ; preds = %382
  %388 = load ptr, ptr %21, align 8, !tbaa !5
  %389 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %388, i32 0, i32 6
  %390 = load ptr, ptr %389, align 8, !tbaa !53
  %391 = load i64, ptr %31, align 8, !tbaa !9
  %392 = getelementptr inbounds ptr, ptr %390, i64 %391
  %393 = load ptr, ptr %392, align 8, !tbaa !5
  %394 = load i64, ptr %32, align 8, !tbaa !9
  %395 = getelementptr inbounds double, ptr %393, i64 %394
  %396 = load double, ptr %395, align 8, !tbaa !54
  %397 = load ptr, ptr %18, align 8, !tbaa !5
  %398 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %397, i32 0, i32 4
  %399 = load ptr, ptr %398, align 8, !tbaa !53
  %400 = load i64, ptr %32, align 8, !tbaa !9
  %401 = getelementptr inbounds double, ptr %399, i64 %400
  %402 = load double, ptr %401, align 8, !tbaa !54
  %403 = fmul double %396, %402
  store double %403, ptr %33, align 8, !tbaa !54
  %404 = load double, ptr %33, align 8, !tbaa !54
  %405 = load ptr, ptr %29, align 8, !tbaa !5
  %406 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %405, i32 0, i32 7
  %407 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %406, i32 0, i32 6
  %408 = load ptr, ptr %407, align 8, !tbaa !53
  %409 = load i64, ptr %31, align 8, !tbaa !9
  %410 = getelementptr inbounds ptr, ptr %408, i64 %409
  %411 = load ptr, ptr %410, align 8, !tbaa !5
  %412 = load i64, ptr %32, align 8, !tbaa !9
  %413 = getelementptr inbounds double, ptr %411, i64 %412
  store double %404, ptr %413, align 8, !tbaa !54
  %414 = load double, ptr %34, align 8, !tbaa !54
  %415 = load double, ptr %33, align 8, !tbaa !54
  %416 = load double, ptr %33, align 8, !tbaa !54
  %417 = call double @llvm.fmuladd.f64(double %415, double %416, double %414)
  store double %417, ptr %34, align 8, !tbaa !54
  br label %418

418:                                              ; preds = %387
  %419 = load i64, ptr %32, align 8, !tbaa !9
  %420 = add nsw i64 %419, 1
  store i64 %420, ptr %32, align 8, !tbaa !9
  br label %382, !llvm.loop !59

421:                                              ; preds = %382
  %422 = load double, ptr %34, align 8, !tbaa !54
  %423 = load ptr, ptr %30, align 8, !tbaa !5
  %424 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %422, ptr noundef %423)
  store double %424, ptr %34, align 8, !tbaa !54
  %425 = load ptr, ptr %21, align 8, !tbaa !5
  %426 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %425, i32 0, i32 6
  %427 = load ptr, ptr %426, align 8, !tbaa !53
  %428 = load i64, ptr %31, align 8, !tbaa !9
  %429 = getelementptr inbounds ptr, ptr %427, i64 %428
  %430 = load ptr, ptr %429, align 8, !tbaa !5
  %431 = load i64, ptr %20, align 8, !tbaa !9
  %432 = getelementptr inbounds double, ptr %430, i64 %431
  %433 = load double, ptr %432, align 8, !tbaa !54
  %434 = load ptr, ptr %29, align 8, !tbaa !5
  %435 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %434, i32 0, i32 7
  %436 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %435, i32 0, i32 6
  %437 = load ptr, ptr %436, align 8, !tbaa !53
  %438 = load i64, ptr %31, align 8, !tbaa !9
  %439 = getelementptr inbounds ptr, ptr %437, i64 %438
  %440 = load ptr, ptr %439, align 8, !tbaa !5
  %441 = load i64, ptr %20, align 8, !tbaa !9
  %442 = getelementptr inbounds double, ptr %440, i64 %441
  store double %433, ptr %442, align 8, !tbaa !54
  %443 = load double, ptr %34, align 8, !tbaa !54
  %444 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %443, double noundef 0.000000e+00)
  br i1 %444, label %445, label %476

445:                                              ; preds = %421
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %446

446:                                              ; preds = %472, %445
  %447 = load i64, ptr %32, align 8, !tbaa !9
  %448 = load i64, ptr %20, align 8, !tbaa !9
  %449 = icmp sle i64 %447, %448
  br i1 %449, label %450, label %475

450:                                              ; preds = %446
  %451 = load ptr, ptr %29, align 8, !tbaa !5
  %452 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %451, i32 0, i32 7
  %453 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %452, i32 0, i32 6
  %454 = load ptr, ptr %453, align 8, !tbaa !53
  %455 = load i64, ptr %31, align 8, !tbaa !9
  %456 = getelementptr inbounds ptr, ptr %454, i64 %455
  %457 = load ptr, ptr %456, align 8, !tbaa !5
  %458 = load i64, ptr %32, align 8, !tbaa !9
  %459 = getelementptr inbounds double, ptr %457, i64 %458
  %460 = load double, ptr %459, align 8, !tbaa !54
  %461 = load double, ptr %34, align 8, !tbaa !54
  %462 = fdiv double %460, %461
  %463 = load ptr, ptr %29, align 8, !tbaa !5
  %464 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %463, i32 0, i32 7
  %465 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %464, i32 0, i32 6
  %466 = load ptr, ptr %465, align 8, !tbaa !53
  %467 = load i64, ptr %31, align 8, !tbaa !9
  %468 = getelementptr inbounds ptr, ptr %466, i64 %467
  %469 = load ptr, ptr %468, align 8, !tbaa !5
  %470 = load i64, ptr %32, align 8, !tbaa !9
  %471 = getelementptr inbounds double, ptr %469, i64 %470
  store double %462, ptr %471, align 8, !tbaa !54
  br label %472

472:                                              ; preds = %450
  %473 = load i64, ptr %32, align 8, !tbaa !9
  %474 = add nsw i64 %473, 1
  store i64 %474, ptr %32, align 8, !tbaa !9
  br label %446, !llvm.loop !60

475:                                              ; preds = %446
  br label %476

476:                                              ; preds = %475, %421
  br label %477

477:                                              ; preds = %476
  %478 = load i64, ptr %31, align 8, !tbaa !9
  %479 = add nsw i64 %478, 1
  store i64 %479, ptr %31, align 8, !tbaa !9
  br label %362, !llvm.loop !61

480:                                              ; preds = %362
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %481

481:                                              ; preds = %551, %480
  %482 = load i64, ptr %31, align 8, !tbaa !9
  %483 = load i64, ptr %20, align 8, !tbaa !9
  %484 = sub nsw i64 %483, 1
  %485 = icmp sle i64 %482, %484
  br i1 %485, label %486, label %554

486:                                              ; preds = %481
  %487 = load ptr, ptr %29, align 8, !tbaa !5
  %488 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %487, i32 0, i32 9
  %489 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %488, i32 0, i32 4
  %490 = load ptr, ptr %489, align 8, !tbaa !53
  %491 = load i64, ptr %31, align 8, !tbaa !9
  %492 = getelementptr inbounds i8, ptr %490, i64 %491
  %493 = load i8, ptr %492, align 1, !tbaa !11, !range !55, !noundef !56
  %494 = trunc i8 %493 to i1
  br i1 %494, label %495, label %518

495:                                              ; preds = %486
  %496 = load ptr, ptr %29, align 8, !tbaa !5
  %497 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %496, i32 0, i32 27
  %498 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %497, i32 0, i32 4
  %499 = load ptr, ptr %498, align 8, !tbaa !53
  %500 = load i64, ptr %31, align 8, !tbaa !9
  %501 = getelementptr inbounds double, ptr %499, i64 %500
  %502 = load double, ptr %501, align 8, !tbaa !54
  %503 = load ptr, ptr %29, align 8, !tbaa !5
  %504 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %503, i32 0, i32 11
  %505 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %504, i32 0, i32 4
  %506 = load ptr, ptr %505, align 8, !tbaa !53
  %507 = load i64, ptr %31, align 8, !tbaa !9
  %508 = getelementptr inbounds double, ptr %506, i64 %507
  %509 = load double, ptr %508, align 8, !tbaa !54
  %510 = load ptr, ptr %30, align 8, !tbaa !5
  %511 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %502, double noundef %509, ptr noundef %510)
  %512 = load ptr, ptr %29, align 8, !tbaa !5
  %513 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %512, i32 0, i32 27
  %514 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %513, i32 0, i32 4
  %515 = load ptr, ptr %514, align 8, !tbaa !53
  %516 = load i64, ptr %31, align 8, !tbaa !9
  %517 = getelementptr inbounds double, ptr %515, i64 %516
  store double %511, ptr %517, align 8, !tbaa !54
  br label %518

518:                                              ; preds = %495, %486
  %519 = load ptr, ptr %29, align 8, !tbaa !5
  %520 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %519, i32 0, i32 10
  %521 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %520, i32 0, i32 4
  %522 = load ptr, ptr %521, align 8, !tbaa !53
  %523 = load i64, ptr %31, align 8, !tbaa !9
  %524 = getelementptr inbounds i8, ptr %522, i64 %523
  %525 = load i8, ptr %524, align 1, !tbaa !11, !range !55, !noundef !56
  %526 = trunc i8 %525 to i1
  br i1 %526, label %527, label %550

527:                                              ; preds = %518
  %528 = load ptr, ptr %29, align 8, !tbaa !5
  %529 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %528, i32 0, i32 27
  %530 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %529, i32 0, i32 4
  %531 = load ptr, ptr %530, align 8, !tbaa !53
  %532 = load i64, ptr %31, align 8, !tbaa !9
  %533 = getelementptr inbounds double, ptr %531, i64 %532
  %534 = load double, ptr %533, align 8, !tbaa !54
  %535 = load ptr, ptr %29, align 8, !tbaa !5
  %536 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %535, i32 0, i32 12
  %537 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %536, i32 0, i32 4
  %538 = load ptr, ptr %537, align 8, !tbaa !53
  %539 = load i64, ptr %31, align 8, !tbaa !9
  %540 = getelementptr inbounds double, ptr %538, i64 %539
  %541 = load double, ptr %540, align 8, !tbaa !54
  %542 = load ptr, ptr %30, align 8, !tbaa !5
  %543 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %534, double noundef %541, ptr noundef %542)
  %544 = load ptr, ptr %29, align 8, !tbaa !5
  %545 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %544, i32 0, i32 27
  %546 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %545, i32 0, i32 4
  %547 = load ptr, ptr %546, align 8, !tbaa !53
  %548 = load i64, ptr %31, align 8, !tbaa !9
  %549 = getelementptr inbounds double, ptr %547, i64 %548
  store double %543, ptr %549, align 8, !tbaa !54
  br label %550

550:                                              ; preds = %527, %518
  br label %551

551:                                              ; preds = %550
  %552 = load i64, ptr %31, align 8, !tbaa !9
  %553 = add nsw i64 %552, 1
  store i64 %553, ptr %31, align 8, !tbaa !9
  br label %481, !llvm.loop !62

554:                                              ; preds = %481
  %555 = load ptr, ptr %27, align 8, !tbaa !5
  %556 = load ptr, ptr %29, align 8, !tbaa !5
  %557 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %556, i32 0, i32 13
  %558 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl8critcopyEPKNS_19nlpstoppingcriteriaEPS0_PNS_8ae_stateE(ptr noundef %555, ptr noundef %557, ptr noundef %558)
  %559 = load i64, ptr @_ZN11alglib_implL27nlcsqp_defaultbfgsresetfreqE, align 8, !tbaa !9
  %560 = load ptr, ptr %29, align 8, !tbaa !5
  %561 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %560, i32 0, i32 14
  store i64 %559, ptr %561, align 8, !tbaa !63
  %562 = load i8, ptr %28, align 1, !tbaa !11, !range !55, !noundef !56
  %563 = trunc i8 %562 to i1
  %564 = load ptr, ptr %29, align 8, !tbaa !5
  %565 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %564, i32 0, i32 5
  %566 = zext i1 %563 to i8
  store i8 %566, ptr %565, align 8, !tbaa !64
  %567 = load ptr, ptr %29, align 8, !tbaa !5
  %568 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %567, i32 0, i32 56
  store i64 0, ptr %568, align 8, !tbaa !65
  %569 = load ptr, ptr %29, align 8, !tbaa !5
  %570 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %569, i32 0, i32 57
  store double 0.000000e+00, ptr %570, align 8, !tbaa !66
  %571 = load ptr, ptr %29, align 8, !tbaa !5
  %572 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %571, i32 0, i32 58
  store i64 -1, ptr %572, align 8, !tbaa !67
  %573 = load ptr, ptr %29, align 8, !tbaa !5
  %574 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %573, i32 0, i32 59
  store double 0.000000e+00, ptr %574, align 8, !tbaa !68
  %575 = load ptr, ptr %29, align 8, !tbaa !5
  %576 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %575, i32 0, i32 60
  store i64 -1, ptr %576, align 8, !tbaa !69
  %577 = load ptr, ptr %29, align 8, !tbaa !5
  %578 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %577, i32 0, i32 61
  store double 0.000000e+00, ptr %578, align 8, !tbaa !70
  %579 = load ptr, ptr %29, align 8, !tbaa !5
  %580 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %579, i32 0, i32 62
  store i64 -1, ptr %580, align 8, !tbaa !71
  %581 = load ptr, ptr %29, align 8, !tbaa !5
  %582 = getelementptr inbounds %"struct.alglib_impl::minsqpstate", ptr %581, i32 0, i32 55
  store i64 0, ptr %582, align 8, !tbaa !72
  %583 = load double, ptr @_ZN11alglib_implL23nlcsqp_sqpdeltadecreaseE, align 8, !tbaa !54
  %584 = load double, ptr @_ZN11alglib_implL23nlcsqp_sqpdeltaincreaseE, align 8, !tbaa !54
  %585 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %583, double noundef %584)
  %586 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %585, ptr noundef @.str.1112, ptr noundef %586)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  ret void
}

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 = { 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 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN11alglib_impl11minsqpstateE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !12, i64 40, !15, i64 48, !17, i64 112, !15, i64 192, !15, i64 256, !15, i64 320, !15, i64 384, !15, i64 448, !18, i64 512, !10, i64 536, !15, i64 544, !15, i64 608, !17, i64 672, !19, i64 752, !12, i64 760, !12, i64 761, !19, i64 768, !19, i64 776, !19, i64 784, !10, i64 792, !10, i64 800, !20, i64 808, !15, i64 1408, !15, i64 1472, !15, i64 1536, !15, i64 1600, !22, i64 1664, !42, i64 55416, !43, i64 58776, !10, i64 58912, !15, i64 58920, !15, i64 58984, !20, i64 59048, !20, i64 59648, !20, i64 60248, !20, i64 60848, !15, i64 61448, !15, i64 61512, !15, i64 61576, !15, i64 61640, !15, i64 61704, !15, i64 61768, !15, i64 61832, !15, i64 61896, !15, i64 61960, !15, i64 62024, !15, i64 62088, !15, i64 62152, !15, i64 62216, !15, i64 62280, !10, i64 62344, !10, i64 62352, !19, i64 62360, !10, i64 62368, !19, i64 62376, !10, i64 62384, !19, i64 62392, !10, i64 62400, !40, i64 62408, !40, i64 62432, !40, i64 62456, !44, i64 62480}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !12, i64 16, !16, i64 24, !7, i64 56}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !16, i64 40, !7, i64 72}
!18 = !{!"_ZTSN11alglib_impl19nlpstoppingcriteriaE", !19, i64 0, !19, i64 8, !10, i64 16}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTSN11alglib_impl11varsfuncjacE", !10, i64 0, !10, i64 8, !12, i64 16, !15, i64 24, !15, i64 88, !17, i64 152, !21, i64 232}
!21 = !{!"_ZTSN11alglib_impl12sparsematrixE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!22 = !{!"_ZTSN11alglib_impl15minsqpsubsolverE", !23, i64 0, !37, i64 26648, !15, i64 50544, !15, i64 50608, !15, i64 50672, !15, i64 50736, !15, i64 50800, !21, i64 50864, !21, i64 51232, !15, i64 51600, !17, i64 51664, !15, i64 51744, !17, i64 51808, !21, i64 51888, !15, i64 52256, !15, i64 52320, !15, i64 52384, !15, i64 52448, !15, i64 52512, !15, i64 52576, !15, i64 52640, !15, i64 52704, !17, i64 52768, !15, i64 52848, !15, i64 52912, !17, i64 52976, !15, i64 53056, !10, i64 53120, !21, i64 53128, !15, i64 53496, !15, i64 53560, !15, i64 53624, !15, i64 53688}
!23 = !{!"_ZTSN11alglib_impl9vipmstateE", !12, i64 0, !12, i64 1, !10, i64 8, !10, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !12, i64 48, !15, i64 56, !15, i64 120, !15, i64 184, !19, i64 248, !15, i64 256, !17, i64 320, !21, i64 400, !15, i64 768, !10, i64 832, !12, i64 840, !15, i64 848, !15, i64 912, !15, i64 976, !15, i64 1040, !15, i64 1104, !15, i64 1168, !17, i64 1232, !17, i64 1312, !21, i64 1392, !21, i64 1760, !21, i64 2128, !15, i64 2496, !15, i64 2560, !15, i64 2624, !15, i64 2688, !15, i64 2752, !10, i64 2816, !10, i64 2824, !24, i64 2832, !24, i64 3488, !24, i64 4144, !24, i64 4800, !24, i64 5456, !15, i64 6112, !15, i64 6176, !15, i64 6240, !15, i64 6304, !15, i64 6368, !10, i64 6432, !10, i64 6440, !10, i64 6448, !10, i64 6456, !10, i64 6464, !10, i64 6472, !12, i64 6480, !12, i64 6481, !10, i64 6488, !12, i64 6496, !12, i64 6497, !15, i64 6504, !15, i64 6568, !15, i64 6632, !15, i64 6696, !15, i64 6760, !15, i64 6824, !15, i64 6888, !15, i64 6952, !15, i64 7016, !15, i64 7080, !15, i64 7144, !15, i64 7208, !15, i64 7272, !15, i64 7336, !15, i64 7400, !17, i64 7464, !15, i64 7544, !15, i64 7608, !15, i64 7672, !15, i64 7736, !15, i64 7800, !25, i64 7864, !36, i64 23944, !15, i64 24584, !15, i64 24648, !15, i64 24712, !15, i64 24776, !15, i64 24840, !15, i64 24904, !15, i64 24968, !15, i64 25032, !24, i64 25096, !15, i64 25752, !15, i64 25816, !15, i64 25880, !15, i64 25944, !15, i64 26008, !17, i64 26072, !15, i64 26152, !15, i64 26216, !21, i64 26280}
!24 = !{!"_ZTSN11alglib_impl8vipmvarsE", !10, i64 0, !10, i64 8, !15, i64 16, !15, i64 80, !15, i64 144, !15, i64 208, !15, i64 272, !15, i64 336, !15, i64 400, !15, i64 464, !15, i64 528, !15, i64 592}
!25 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !21, i64 0, !15, i64 368, !15, i64 432, !15, i64 496, !15, i64 560, !10, i64 624, !26, i64 632, !15, i64 15696, !15, i64 15760, !15, i64 15824, !15, i64 15888, !15, i64 15952, !15, i64 16016}
!26 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !10, i64 0, !10, i64 8, !10, i64 16, !12, i64 24, !10, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !15, i64 72, !12, i64 136, !12, i64 137, !12, i64 138, !12, i64 139, !12, i64 140, !15, i64 144, !10, i64 208, !15, i64 216, !15, i64 280, !15, i64 344, !15, i64 408, !15, i64 472, !15, i64 536, !12, i64 600, !15, i64 608, !15, i64 672, !15, i64 736, !15, i64 800, !15, i64 864, !15, i64 928, !12, i64 992, !12, i64 993, !27, i64 1000, !15, i64 1512, !15, i64 1576, !15, i64 1640, !15, i64 1704, !15, i64 1768, !15, i64 1832, !28, i64 1896, !28, i64 2040, !28, i64 2184, !28, i64 2328, !28, i64 2472, !28, i64 2616, !15, i64 2760, !15, i64 2824, !15, i64 2888, !15, i64 2952, !15, i64 3016, !30, i64 3080, !35, i64 7464, !15, i64 13816, !15, i64 13880, !15, i64 13944, !15, i64 14008, !15, i64 14072, !15, i64 14136, !21, i64 14200, !21, i64 14568, !15, i64 14936, !15, i64 15000}
!27 = !{!"_ZTSN11alglib_impl9spcholadjE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !15, i64 320, !15, i64 384, !15, i64 448}
!28 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !16, i64 32, !29, i64 64, !16, i64 112}
!29 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !16, i64 8, !12, i64 40}
!30 = !{!"_ZTSN11alglib_impl9amdbufferE", !10, i64 0, !12, i64 8, !12, i64 9, !15, i64 16, !15, i64 80, !15, i64 144, !31, i64 208, !31, i64 568, !31, i64 928, !32, i64 1288, !33, i64 1496, !34, i64 1968, !15, i64 2120, !15, i64 2184, !15, i64 2248, !34, i64 2312, !34, i64 2464, !34, i64 2616, !34, i64 2768, !34, i64 2920, !34, i64 3072, !15, i64 3224, !10, i64 3288, !34, i64 3296, !34, i64 3448, !31, i64 3600, !34, i64 3960, !15, i64 4112, !15, i64 4176, !15, i64 4240, !17, i64 4304}
!31 = !{!"_ZTSN11alglib_impl8amdknsetE", !10, i64 0, !10, i64 8, !15, i64 16, !15, i64 80, !15, i64 144, !15, i64 208, !15, i64 272, !10, i64 336, !10, i64 344, !10, i64 352}
!32 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !10, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !10, i64 200}
!33 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !10, i64 0, !12, i64 8, !10, i64 16, !15, i64 24, !15, i64 88, !15, i64 152, !15, i64 216, !15, i64 280, !15, i64 344, !15, i64 408}
!34 = !{!"_ZTSN11alglib_impl5nisetE", !10, i64 0, !10, i64 8, !15, i64 16, !15, i64 80, !10, i64 144}
!35 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !15, i64 0, !15, i64 64, !30, i64 128, !21, i64 4512, !21, i64 4880, !21, i64 5248, !21, i64 5616, !21, i64 5984}
!36 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !15, i64 320, !15, i64 384, !15, i64 448, !15, i64 512, !15, i64 576}
!37 = !{!"_ZTSN11alglib_impl9ipm2stateE", !10, i64 0, !10, i64 8, !10, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !10, i64 48, !12, i64 56, !15, i64 64, !15, i64 128, !15, i64 192, !19, i64 256, !15, i64 264, !21, i64 328, !15, i64 696, !12, i64 760, !19, i64 768, !15, i64 776, !15, i64 840, !15, i64 904, !15, i64 968, !15, i64 1032, !15, i64 1096, !15, i64 1160, !15, i64 1224, !15, i64 1288, !15, i64 1352, !15, i64 1416, !15, i64 1480, !15, i64 1544, !15, i64 1608, !15, i64 1672, !21, i64 1736, !15, i64 2104, !10, i64 2168, !38, i64 2176, !38, i64 2576, !38, i64 2976, !38, i64 3376, !15, i64 3776, !15, i64 3840, !15, i64 3904, !15, i64 3968, !10, i64 4032, !10, i64 4040, !15, i64 4048, !15, i64 4112, !15, i64 4176, !39, i64 4240, !10, i64 4624, !10, i64 4632, !12, i64 4640, !12, i64 4641, !12, i64 4642, !40, i64 4648, !40, i64 4672, !40, i64 4696, !40, i64 4720, !40, i64 4744, !41, i64 4768, !39, i64 21736, !15, i64 22120, !15, i64 22184, !15, i64 22248, !15, i64 22312, !15, i64 22376, !17, i64 22440, !21, i64 22520, !15, i64 22888, !15, i64 22952, !21, i64 23016, !21, i64 23384, !17, i64 23752, !15, i64 23832}
!38 = !{!"_ZTSN11alglib_impl8ipm2varsE", !10, i64 0, !10, i64 8, !15, i64 16, !15, i64 80, !15, i64 144, !15, i64 208, !15, i64 272, !15, i64 336}
!39 = !{!"_ZTSN11alglib_impl17ipm2righthandsideE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !15, i64 320}
!40 = !{!"_ZTSN11alglib_impl6stimerE", !10, i64 0, !10, i64 8, !12, i64 16}
!41 = !{!"_ZTSN11alglib_impl17ipm2reducedsystemE", !21, i64 0, !15, i64 368, !26, i64 432, !15, i64 15496, !15, i64 15560, !15, i64 15624, !15, i64 15688, !15, i64 15752, !15, i64 15816, !15, i64 15880, !15, i64 15944, !15, i64 16008, !15, i64 16072, !15, i64 16136, !15, i64 16200, !15, i64 16264, !15, i64 16328, !15, i64 16392, !15, i64 16456, !15, i64 16520, !15, i64 16584, !15, i64 16648, !15, i64 16712, !15, i64 16776, !15, i64 16840, !15, i64 16904}
!42 = !{!"_ZTSN11alglib_impl12xbfgshessianE", !10, i64 0, !15, i64 8, !15, i64 72, !10, i64 136, !10, i64 144, !19, i64 152, !19, i64 160, !19, i64 168, !19, i64 176, !19, i64 184, !19, i64 192, !19, i64 200, !10, i64 208, !19, i64 216, !19, i64 224, !17, i64 232, !10, i64 312, !19, i64 320, !19, i64 328, !19, i64 336, !10, i64 344, !19, i64 352, !17, i64 360, !17, i64 440, !17, i64 520, !17, i64 600, !12, i64 680, !10, i64 688, !17, i64 696, !17, i64 776, !12, i64 856, !15, i64 864, !12, i64 928, !10, i64 936, !17, i64 944, !15, i64 1024, !15, i64 1088, !17, i64 1152, !15, i64 1232, !15, i64 1296, !12, i64 1360, !15, i64 1368, !19, i64 1432, !19, i64 1440, !10, i64 1448, !17, i64 1456, !15, i64 1536, !15, i64 1600, !15, i64 1664, !15, i64 1728, !15, i64 1792, !15, i64 1856, !17, i64 1920, !17, i64 2000, !17, i64 2080, !17, i64 2160, !17, i64 2240, !17, i64 2320, !17, i64 2400, !17, i64 2480, !15, i64 2560, !15, i64 2624, !17, i64 2688, !15, i64 2768, !17, i64 2832, !17, i64 2912, !17, i64 2992, !17, i64 3072, !17, i64 3152, !15, i64 3232, !15, i64 3296}
!43 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !10, i64 0, !10, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !29, i64 56, !16, i64 104}
!44 = !{!"_ZTSN11alglib_impl10rcommstateE", !45, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !15, i64 200}
!45 = !{!"int", !7, i64 0}
!46 = !{!14, !10, i64 8}
!47 = !{!14, !10, i64 16}
!48 = !{!14, !10, i64 24}
!49 = !{!14, !10, i64 32}
!50 = !{!14, !45, i64 62480}
!51 = !{!14, !12, i64 760}
!52 = !{!14, !12, i64 761}
!53 = !{!7, !7, i64 0}
!54 = !{!19, !19, i64 0}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = distinct !{!57, !58}
!58 = !{!"llvm.loop.mustprogress"}
!59 = distinct !{!59, !58}
!60 = distinct !{!60, !58}
!61 = distinct !{!61, !58}
!62 = distinct !{!62, !58}
!63 = !{!14, !10, i64 536}
!64 = !{!14, !12, i64 40}
!65 = !{!14, !10, i64 62352}
!66 = !{!14, !19, i64 62360}
!67 = !{!14, !10, i64 62368}
!68 = !{!14, !19, i64 62376}
!69 = !{!14, !10, i64 62384}
!70 = !{!14, !19, i64 62392}
!71 = !{!14, !10, i64 62400}
!72 = !{!14, !10, i64 62344}


; 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.1111 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.1112 = external hidden unnamed_addr constant [31 x i8], align 1
@_ZN11alglib_implL27nlcsqp_defaultbfgsresetfreqE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL23nlcsqp_sqpdeltadecreaseE = external hidden local_unnamed_addr global double, align 8
@_ZN11alglib_implL23nlcsqp_sqpdeltaincreaseE = external hidden local_unnamed_addr global double, align 8

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

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

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

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

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_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 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

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

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

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

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

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 void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11alglib_impl8critcopyEPKNS_19nlpstoppingcriteriaEPS0_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13minsqpinitbufEPKNS_9ae_vectorES2_S2_S2_lPKNS_9ae_matrixES2_llllPKNS_19nlpstoppingcriteriaEbPNS_11minsqpstateEPNS_8ae_stateE(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, i64 noundef %7, i64 noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11, i1 noundef zeroext %12, ptr noundef %13, ptr noundef %14) local_unnamed_addr #3 {
  %16 = add nsw i64 %9, %7
  %17 = shl nsw i64 %16, 1
  %18 = add i64 %8, %4
  %19 = add i64 %18, %10
  %20 = add i64 %19, %17
  store i64 %4, ptr %13, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %13, i64 8
  store i64 %7, ptr %21, align 8, !tbaa !43
  %22 = getelementptr inbounds i8, ptr %13, i64 16
  store i64 %8, ptr %22, align 8, !tbaa !44
  %23 = getelementptr inbounds i8, ptr %13, i64 24
  store i64 %9, ptr %23, align 8, !tbaa !45
  %24 = getelementptr inbounds i8, ptr %13, i64 32
  store i64 %10, ptr %24, align 8, !tbaa !46
  %25 = getelementptr inbounds i8, ptr %13, i64 62480
  %26 = getelementptr inbounds i8, ptr %13, i64 62488
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %26, i64 noundef 10, ptr noundef %14)
  %27 = getelementptr inbounds i8, ptr %13, i64 62552
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %27, i64 noundef 15, ptr noundef %14)
  %28 = getelementptr inbounds i8, ptr %13, i64 62616
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %28, i64 noundef 24, ptr noundef %14)
  store i32 -1, ptr %25, align 8, !tbaa !47
  %29 = getelementptr inbounds i8, ptr %13, i64 760
  store i8 0, ptr %29, align 8, !tbaa !48
  %30 = getelementptr inbounds i8, ptr %13, i64 761
  store i8 0, ptr %30, align 1, !tbaa !49
  %31 = getelementptr inbounds i8, ptr %13, i64 544
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %31, i64 noundef %4, ptr noundef %14)
  %32 = getelementptr inbounds i8, ptr %13, i64 608
  %33 = add i64 %10, %9
  %34 = add i64 %33, 1
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %32, i64 noundef %34, ptr noundef %14)
  %35 = getelementptr inbounds i8, ptr %13, i64 672
  tail call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %35, i64 noundef %34, i64 noundef %4, ptr noundef %14)
  %36 = getelementptr inbounds i8, ptr %13, i64 1408
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %4, ptr noundef nonnull %36, ptr noundef %14)
  %37 = getelementptr inbounds i8, ptr %13, i64 1472
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %4, ptr noundef nonnull %37, ptr noundef %14)
  %38 = getelementptr inbounds i8, ptr %13, i64 48
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %38, i64 noundef %4, ptr noundef %14)
  %39 = getelementptr inbounds i8, ptr %13, i64 1536
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %39, i64 noundef %34, ptr noundef %14)
  %40 = getelementptr inbounds i8, ptr %13, i64 1600
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %40, i64 noundef %34, ptr noundef %14)
  %41 = getelementptr inbounds i8, ptr %13, i64 256
  tail call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %41, i64 noundef %4, ptr noundef %14)
  %42 = getelementptr inbounds i8, ptr %13, i64 320
  tail call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %42, i64 noundef %4, ptr noundef %14)
  %43 = getelementptr inbounds i8, ptr %13, i64 384
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %43, i64 noundef %4, ptr noundef %14)
  %44 = getelementptr inbounds i8, ptr %13, i64 448
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %44, i64 noundef %4, ptr noundef %14)
  %45 = getelementptr inbounds i8, ptr %13, i64 112
  %46 = add nsw i64 %8, %7
  %47 = add i64 %4, 1
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %45, i64 noundef %46, i64 noundef %47, ptr noundef %14)
  %48 = getelementptr inbounds i8, ptr %13, i64 192
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %48, i64 noundef %46, ptr noundef %14)
  %49 = getelementptr inbounds i8, ptr %13, i64 61448
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %49, i64 noundef %20, ptr noundef %14)
  %50 = getelementptr inbounds i8, ptr %13, i64 61512
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %50, i64 noundef %20, ptr noundef %14)
  %51 = getelementptr inbounds i8, ptr %13, i64 61576
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %51, i64 noundef %20, ptr noundef %14)
  %52 = getelementptr inbounds i8, ptr %13, i64 61640
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %52, i64 noundef %20, ptr noundef %14)
  %53 = getelementptr inbounds i8, ptr %13, i64 58920
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %53, i64 noundef %4, ptr noundef %14)
  %54 = getelementptr inbounds i8, ptr %13, i64 61832
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %54, i64 noundef %4, ptr noundef %14)
  %55 = getelementptr inbounds i8, ptr %13, i64 58984
  %56 = add i64 %33, %46
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %55, i64 noundef %56, ptr noundef %14)
  %57 = getelementptr inbounds i8, ptr %13, i64 61896
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %57, i64 noundef %56, ptr noundef %14)
  %.not.not238 = icmp sgt i64 %4, 0
  br i1 %.not.not238, label %.lr.ph, label %.preheader237.thread

.lr.ph:                                           ; preds = %15
  %58 = getelementptr inbounds i8, ptr %0, i64 56
  %59 = getelementptr inbounds i8, ptr %13, i64 312
  %60 = getelementptr inbounds i8, ptr %1, i64 56
  %61 = getelementptr inbounds i8, ptr %13, i64 376
  %62 = getelementptr inbounds i8, ptr %2, i64 56
  %63 = getelementptr inbounds i8, ptr %13, i64 440
  %64 = getelementptr inbounds i8, ptr %13, i64 504
  %65 = getelementptr inbounds i8, ptr %3, i64 56
  %66 = getelementptr inbounds i8, ptr %13, i64 1464
  %67 = getelementptr inbounds i8, ptr %13, i64 104
  br label %185

.preheader237:                                    ; preds = %247
  %.not.not233247 = icmp sgt i64 %46, 0
  br i1 %.not.not233247, label %.lr.ph250, label %.preheader

.preheader237.thread:                             ; preds = %15
  %.not.not233247269 = icmp sgt i64 %46, 0
  br i1 %.not.not233247269, label %.lr.ph250.thread, label %._crit_edge

.lr.ph250.thread:                                 ; preds = %.preheader237.thread
  %68 = getelementptr inbounds i8, ptr %6, i64 56
  %69 = getelementptr inbounds i8, ptr %13, i64 248
  %70 = getelementptr inbounds i8, ptr %5, i64 72
  %71 = getelementptr inbounds i8, ptr %13, i64 184
  %.not244270 = icmp sgt i64 %4, -1
  br i1 %.not244270, label %.lr.ph250.split.split.preheader, label %.lr.ph250.split.split.us

.lr.ph250:                                        ; preds = %.preheader237
  %72 = getelementptr inbounds i8, ptr %6, i64 56
  %73 = getelementptr inbounds i8, ptr %13, i64 248
  %74 = getelementptr inbounds i8, ptr %5, i64 72
  %75 = getelementptr inbounds i8, ptr %2, i64 56
  %76 = getelementptr inbounds i8, ptr %13, i64 184
  br i1 %.not.not238, label %.lr.ph243.us.preheader, label %.lr.ph250.split.split.preheader

.lr.ph243.us.preheader:                           ; preds = %.lr.ph250
  %77 = add nuw i64 %4, 1
  %xtraiter278 = and i64 %4, 1
  %78 = icmp eq i64 %4, 1
  %unroll_iter281 = and i64 %4, 9223372036854775806
  %lcmp.mod279.not = icmp eq i64 %xtraiter278, 0
  %unroll_iter285 = and i64 %77, -2
  %79 = and i64 %4, 1
  %lcmp.mod284.not.not = icmp eq i64 %79, 0
  br label %.lr.ph243.us

.lr.ph243.us:                                     ; preds = %.lr.ph243.us.preheader, %.loopexit.us
  %.1248.us = phi i64 [ %105, %.loopexit.us ], [ 0, %.lr.ph243.us.preheader ]
  %80 = load ptr, ptr %72, align 8, !tbaa !50
  %81 = getelementptr inbounds i64, ptr %80, i64 %.1248.us
  %82 = load i64, ptr %81, align 8, !tbaa !51
  %83 = load ptr, ptr %73, align 8, !tbaa !50
  %84 = getelementptr inbounds i64, ptr %83, i64 %.1248.us
  store i64 %82, ptr %84, align 8, !tbaa !51
  br i1 %78, label %._crit_edge.us.unr-lcssa, label %.lr.ph243.us.new

.lr.ph246.us:                                     ; preds = %._crit_edge.us, %.lr.ph246.us
  %.1231245.us = phi i64 [ %98, %.lr.ph246.us ], [ 0, %._crit_edge.us ]
  %niter286 = phi i64 [ %niter286.next.1, %.lr.ph246.us ], [ 0, %._crit_edge.us ]
  %85 = load ptr, ptr %76, align 8, !tbaa !50
  %86 = getelementptr inbounds ptr, ptr %85, i64 %.1248.us
  %87 = load ptr, ptr %86, align 8, !tbaa !52
  %88 = getelementptr inbounds double, ptr %87, i64 %.1231245.us
  %89 = load double, ptr %88, align 8, !tbaa !53
  %90 = fdiv double %89, %150
  store double %90, ptr %88, align 8, !tbaa !53
  %91 = or disjoint i64 %.1231245.us, 1
  %92 = load ptr, ptr %76, align 8, !tbaa !50
  %93 = getelementptr inbounds ptr, ptr %92, i64 %.1248.us
  %94 = load ptr, ptr %93, align 8, !tbaa !52
  %95 = getelementptr inbounds double, ptr %94, i64 %91
  %96 = load double, ptr %95, align 8, !tbaa !53
  %97 = fdiv double %96, %150
  store double %97, ptr %95, align 8, !tbaa !53
  %98 = add nuw i64 %.1231245.us, 2
  %niter286.next.1 = add i64 %niter286, 2
  %niter286.ncmp.1 = icmp eq i64 %niter286.next.1, %unroll_iter285
  br i1 %niter286.ncmp.1, label %.loopexit.us.loopexit.unr-lcssa, label %.lr.ph246.us, !llvm.loop !54

.loopexit.us.loopexit.unr-lcssa:                  ; preds = %.lr.ph246.us
  br i1 %lcmp.mod284.not.not, label %.lr.ph246.us.epil, label %.loopexit.us

.lr.ph246.us.epil:                                ; preds = %.loopexit.us.loopexit.unr-lcssa
  %99 = load ptr, ptr %76, align 8, !tbaa !50
  %100 = getelementptr inbounds ptr, ptr %99, i64 %.1248.us
  %101 = load ptr, ptr %100, align 8, !tbaa !52
  %102 = getelementptr inbounds double, ptr %101, i64 %98
  %103 = load double, ptr %102, align 8, !tbaa !53
  %104 = fdiv double %103, %150
  store double %104, ptr %102, align 8, !tbaa !53
  br label %.loopexit.us

.loopexit.us:                                     ; preds = %.lr.ph246.us.epil, %.loopexit.us.loopexit.unr-lcssa, %._crit_edge.us
  %105 = add nuw nsw i64 %.1248.us, 1
  %exitcond267.not = icmp eq i64 %105, %46
  br i1 %exitcond267.not, label %.preheader, label %.lr.ph243.us, !llvm.loop !56

.lr.ph243.us.new:                                 ; preds = %.lr.ph243.us, %.lr.ph243.us.new
  %.0229242.us = phi double [ %134, %.lr.ph243.us.new ], [ 0.000000e+00, %.lr.ph243.us ]
  %.0230241.us = phi i64 [ %135, %.lr.ph243.us.new ], [ 0, %.lr.ph243.us ]
  %niter282 = phi i64 [ %niter282.next.1, %.lr.ph243.us.new ], [ 0, %.lr.ph243.us ]
  %106 = load ptr, ptr %74, align 8, !tbaa !50
  %107 = getelementptr inbounds ptr, ptr %106, i64 %.1248.us
  %108 = load ptr, ptr %107, align 8, !tbaa !52
  %109 = getelementptr inbounds double, ptr %108, i64 %.0230241.us
  %110 = load double, ptr %109, align 8, !tbaa !53
  %111 = load ptr, ptr %75, align 8, !tbaa !50
  %112 = getelementptr inbounds double, ptr %111, i64 %.0230241.us
  %113 = load double, ptr %112, align 8, !tbaa !53
  %114 = fmul double %110, %113
  %115 = load ptr, ptr %76, align 8, !tbaa !50
  %116 = getelementptr inbounds ptr, ptr %115, i64 %.1248.us
  %117 = load ptr, ptr %116, align 8, !tbaa !52
  %118 = getelementptr inbounds double, ptr %117, i64 %.0230241.us
  store double %114, ptr %118, align 8, !tbaa !53
  %119 = tail call double @llvm.fmuladd.f64(double %114, double %114, double %.0229242.us)
  %120 = or disjoint i64 %.0230241.us, 1
  %121 = load ptr, ptr %74, align 8, !tbaa !50
  %122 = getelementptr inbounds ptr, ptr %121, i64 %.1248.us
  %123 = load ptr, ptr %122, align 8, !tbaa !52
  %124 = getelementptr inbounds double, ptr %123, i64 %120
  %125 = load double, ptr %124, align 8, !tbaa !53
  %126 = load ptr, ptr %75, align 8, !tbaa !50
  %127 = getelementptr inbounds double, ptr %126, i64 %120
  %128 = load double, ptr %127, align 8, !tbaa !53
  %129 = fmul double %125, %128
  %130 = load ptr, ptr %76, align 8, !tbaa !50
  %131 = getelementptr inbounds ptr, ptr %130, i64 %.1248.us
  %132 = load ptr, ptr %131, align 8, !tbaa !52
  %133 = getelementptr inbounds double, ptr %132, i64 %120
  store double %129, ptr %133, align 8, !tbaa !53
  %134 = tail call double @llvm.fmuladd.f64(double %129, double %129, double %119)
  %135 = add nuw nsw i64 %.0230241.us, 2
  %niter282.next.1 = add i64 %niter282, 2
  %niter282.ncmp.1 = icmp eq i64 %niter282.next.1, %unroll_iter281
  br i1 %niter282.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.lr.ph243.us.new, !llvm.loop !57

._crit_edge.us.unr-lcssa:                         ; preds = %.lr.ph243.us.new, %.lr.ph243.us
  %.lcssa.ph = phi double [ poison, %.lr.ph243.us ], [ %134, %.lr.ph243.us.new ]
  %.0229242.us.unr = phi double [ 0.000000e+00, %.lr.ph243.us ], [ %134, %.lr.ph243.us.new ]
  %.0230241.us.unr = phi i64 [ 0, %.lr.ph243.us ], [ %135, %.lr.ph243.us.new ]
  br i1 %lcmp.mod279.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %136 = load ptr, ptr %74, align 8, !tbaa !50
  %137 = getelementptr inbounds ptr, ptr %136, i64 %.1248.us
  %138 = load ptr, ptr %137, align 8, !tbaa !52
  %139 = getelementptr inbounds double, ptr %138, i64 %.0230241.us.unr
  %140 = load double, ptr %139, align 8, !tbaa !53
  %141 = load ptr, ptr %75, align 8, !tbaa !50
  %142 = getelementptr inbounds double, ptr %141, i64 %.0230241.us.unr
  %143 = load double, ptr %142, align 8, !tbaa !53
  %144 = fmul double %140, %143
  %145 = load ptr, ptr %76, align 8, !tbaa !50
  %146 = getelementptr inbounds ptr, ptr %145, i64 %.1248.us
  %147 = load ptr, ptr %146, align 8, !tbaa !52
  %148 = getelementptr inbounds double, ptr %147, i64 %.0230241.us.unr
  store double %144, ptr %148, align 8, !tbaa !53
  %149 = tail call double @llvm.fmuladd.f64(double %144, double %144, double %.0229242.us.unr)
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %.lcssa = phi double [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %149, %._crit_edge.us.epilog-lcssa ]
  %150 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %.lcssa, ptr noundef %14)
  %151 = load ptr, ptr %74, align 8, !tbaa !50
  %152 = getelementptr inbounds ptr, ptr %151, i64 %.1248.us
  %153 = load ptr, ptr %152, align 8, !tbaa !52
  %154 = getelementptr inbounds double, ptr %153, i64 %4
  %155 = load double, ptr %154, align 8, !tbaa !53
  %156 = load ptr, ptr %76, align 8, !tbaa !50
  %157 = getelementptr inbounds ptr, ptr %156, i64 %.1248.us
  %158 = load ptr, ptr %157, align 8, !tbaa !52
  %159 = getelementptr inbounds double, ptr %158, i64 %4
  store double %155, ptr %159, align 8, !tbaa !53
  %160 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %150, double noundef 0.000000e+00)
  br i1 %160, label %.lr.ph246.us, label %.loopexit.us

.lr.ph250.split.split.preheader:                  ; preds = %.lr.ph250, %.lr.ph250.thread
  %161 = phi ptr [ %68, %.lr.ph250.thread ], [ %72, %.lr.ph250 ]
  %162 = phi ptr [ %69, %.lr.ph250.thread ], [ %73, %.lr.ph250 ]
  %163 = phi ptr [ %70, %.lr.ph250.thread ], [ %74, %.lr.ph250 ]
  %164 = phi ptr [ %71, %.lr.ph250.thread ], [ %76, %.lr.ph250 ]
  %165 = add i64 %4, 1
  %166 = icmp eq i64 %4, 0
  %unroll_iter = and i64 %165, -2
  %167 = and i64 %4, 1
  %lcmp.mod.not.not = icmp eq i64 %167, 0
  br label %.lr.ph250.split.split

.lr.ph250.split.split.us:                         ; preds = %.lr.ph250.thread, %.lr.ph250.split.split.us
  %.1248.us251 = phi i64 [ %184, %.lr.ph250.split.split.us ], [ 0, %.lr.ph250.thread ]
  %168 = load ptr, ptr %68, align 8, !tbaa !50
  %169 = getelementptr inbounds i64, ptr %168, i64 %.1248.us251
  %170 = load i64, ptr %169, align 8, !tbaa !51
  %171 = load ptr, ptr %69, align 8, !tbaa !50
  %172 = getelementptr inbounds i64, ptr %171, i64 %.1248.us251
  store i64 %170, ptr %172, align 8, !tbaa !51
  %173 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0.000000e+00, ptr noundef %14)
  %174 = load ptr, ptr %70, align 8, !tbaa !50
  %175 = getelementptr inbounds ptr, ptr %174, i64 %.1248.us251
  %176 = load ptr, ptr %175, align 8, !tbaa !52
  %177 = getelementptr inbounds double, ptr %176, i64 %4
  %178 = load double, ptr %177, align 8, !tbaa !53
  %179 = load ptr, ptr %71, align 8, !tbaa !50
  %180 = getelementptr inbounds ptr, ptr %179, i64 %.1248.us251
  %181 = load ptr, ptr %180, align 8, !tbaa !52
  %182 = getelementptr inbounds double, ptr %181, i64 %4
  store double %178, ptr %182, align 8, !tbaa !53
  %183 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %173, double noundef 0.000000e+00)
  %184 = add nuw nsw i64 %.1248.us251, 1
  %exitcond262.not = icmp eq i64 %184, %46
  br i1 %exitcond262.not, label %.preheader, label %.lr.ph250.split.split.us, !llvm.loop !56

185:                                              ; preds = %.lr.ph, %247
  %.0239 = phi i64 [ 0, %.lr.ph ], [ %262, %247 ]
  %186 = load ptr, ptr %58, align 8, !tbaa !50
  %187 = getelementptr inbounds double, ptr %186, i64 %.0239
  %188 = load double, ptr %187, align 8, !tbaa !53
  %189 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %188, ptr noundef %14)
  %190 = load ptr, ptr %59, align 8, !tbaa !50
  %191 = getelementptr inbounds i8, ptr %190, i64 %.0239
  %192 = zext i1 %189 to i8
  store i8 %192, ptr %191, align 1, !tbaa !58
  %193 = load ptr, ptr %60, align 8, !tbaa !50
  %194 = getelementptr inbounds double, ptr %193, i64 %.0239
  %195 = load double, ptr %194, align 8, !tbaa !53
  %196 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %195, ptr noundef %14)
  %197 = load ptr, ptr %61, align 8, !tbaa !50
  %198 = getelementptr inbounds i8, ptr %197, i64 %.0239
  %199 = zext i1 %196 to i8
  store i8 %199, ptr %198, align 1, !tbaa !58
  %200 = load ptr, ptr %59, align 8, !tbaa !50
  %201 = getelementptr inbounds i8, ptr %200, i64 %.0239
  %202 = load i8, ptr %201, align 1, !tbaa !58, !range !59, !noundef !60
  %203 = trunc nuw i8 %202 to i1
  br i1 %203, label %204, label %214

204:                                              ; preds = %185
  %205 = load ptr, ptr %58, align 8, !tbaa !50
  %206 = getelementptr inbounds double, ptr %205, i64 %.0239
  %207 = load double, ptr %206, align 8, !tbaa !53
  %208 = load ptr, ptr %62, align 8, !tbaa !50
  %209 = getelementptr inbounds double, ptr %208, i64 %.0239
  %210 = load double, ptr %209, align 8, !tbaa !53
  %211 = fdiv double %207, %210
  %212 = load ptr, ptr %63, align 8, !tbaa !50
  %213 = getelementptr inbounds double, ptr %212, i64 %.0239
  store double %211, ptr %213, align 8, !tbaa !53
  br label %214

214:                                              ; preds = %204, %185
  %215 = load ptr, ptr %61, align 8, !tbaa !50
  %216 = getelementptr inbounds i8, ptr %215, i64 %.0239
  %217 = load i8, ptr %216, align 1, !tbaa !58, !range !59, !noundef !60
  %218 = trunc nuw i8 %217 to i1
  br i1 %218, label %219, label %229

219:                                              ; preds = %214
  %220 = load ptr, ptr %60, align 8, !tbaa !50
  %221 = getelementptr inbounds double, ptr %220, i64 %.0239
  %222 = load double, ptr %221, align 8, !tbaa !53
  %223 = load ptr, ptr %62, align 8, !tbaa !50
  %224 = getelementptr inbounds double, ptr %223, i64 %.0239
  %225 = load double, ptr %224, align 8, !tbaa !53
  %226 = fdiv double %222, %225
  %227 = load ptr, ptr %64, align 8, !tbaa !50
  %228 = getelementptr inbounds double, ptr %227, i64 %.0239
  store double %226, ptr %228, align 8, !tbaa !53
  br label %229

229:                                              ; preds = %219, %214
  %230 = load ptr, ptr %59, align 8, !tbaa !50
  %231 = getelementptr inbounds i8, ptr %230, i64 %.0239
  %232 = load i8, ptr %231, align 1, !tbaa !58, !range !59, !noundef !60
  %233 = trunc nuw i8 %232 to i1
  br i1 %233, label %234, label %247

234:                                              ; preds = %229
  %235 = load ptr, ptr %61, align 8, !tbaa !50
  %236 = getelementptr inbounds i8, ptr %235, i64 %.0239
  %237 = load i8, ptr %236, align 1, !tbaa !58, !range !59, !noundef !60
  %238 = trunc nuw i8 %237 to i1
  br i1 %238, label %239, label %247

239:                                              ; preds = %234
  %240 = load ptr, ptr %58, align 8, !tbaa !50
  %241 = getelementptr inbounds double, ptr %240, i64 %.0239
  %242 = load double, ptr %241, align 8, !tbaa !53
  %243 = load ptr, ptr %60, align 8, !tbaa !50
  %244 = getelementptr inbounds double, ptr %243, i64 %.0239
  %245 = load double, ptr %244, align 8, !tbaa !53
  %246 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %242, double noundef %245)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %246, ptr noundef nonnull @.str.1111, ptr noundef %14)
  br label %247

247:                                              ; preds = %239, %234, %229
  %248 = load ptr, ptr %65, align 8, !tbaa !50
  %249 = getelementptr inbounds double, ptr %248, i64 %.0239
  %250 = load double, ptr %249, align 8, !tbaa !53
  %251 = load ptr, ptr %62, align 8, !tbaa !50
  %252 = getelementptr inbounds double, ptr %251, i64 %.0239
  %253 = load double, ptr %252, align 8, !tbaa !53
  %254 = fdiv double %250, %253
  %255 = load ptr, ptr %66, align 8, !tbaa !50
  %256 = getelementptr inbounds double, ptr %255, i64 %.0239
  store double %254, ptr %256, align 8, !tbaa !53
  %257 = load ptr, ptr %62, align 8, !tbaa !50
  %258 = getelementptr inbounds double, ptr %257, i64 %.0239
  %259 = load double, ptr %258, align 8, !tbaa !53
  %260 = load ptr, ptr %67, align 8, !tbaa !50
  %261 = getelementptr inbounds double, ptr %260, i64 %.0239
  store double %259, ptr %261, align 8, !tbaa !53
  %262 = add nuw nsw i64 %.0239, 1
  %exitcond.not = icmp eq i64 %262, %4
  br i1 %exitcond.not, label %.preheader237, label %185, !llvm.loop !61

.preheader:                                       ; preds = %.lr.ph250.split.split.us, %..loopexit_crit_edge, %.loopexit.us, %.preheader237
  br i1 %.not.not238, label %.lr.ph257, label %._crit_edge

.lr.ph257:                                        ; preds = %.preheader
  %263 = getelementptr inbounds i8, ptr %13, i64 312
  %264 = getelementptr inbounds i8, ptr %13, i64 1464
  %265 = getelementptr inbounds i8, ptr %13, i64 440
  %266 = getelementptr inbounds i8, ptr %13, i64 376
  %267 = getelementptr inbounds i8, ptr %13, i64 504
  br label %305

.lr.ph250.split.split:                            ; preds = %.lr.ph250.split.split.preheader, %..loopexit_crit_edge
  %.1248 = phi i64 [ %304, %..loopexit_crit_edge ], [ 0, %.lr.ph250.split.split.preheader ]
  %268 = load ptr, ptr %161, align 8, !tbaa !50
  %269 = getelementptr inbounds i64, ptr %268, i64 %.1248
  %270 = load i64, ptr %269, align 8, !tbaa !51
  %271 = load ptr, ptr %162, align 8, !tbaa !50
  %272 = getelementptr inbounds i64, ptr %271, i64 %.1248
  store i64 %270, ptr %272, align 8, !tbaa !51
  %273 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0.000000e+00, ptr noundef %14)
  %274 = load ptr, ptr %163, align 8, !tbaa !50
  %275 = getelementptr inbounds ptr, ptr %274, i64 %.1248
  %276 = load ptr, ptr %275, align 8, !tbaa !52
  %277 = getelementptr inbounds double, ptr %276, i64 %4
  %278 = load double, ptr %277, align 8, !tbaa !53
  %279 = load ptr, ptr %164, align 8, !tbaa !50
  %280 = getelementptr inbounds ptr, ptr %279, i64 %.1248
  %281 = load ptr, ptr %280, align 8, !tbaa !52
  %282 = getelementptr inbounds double, ptr %281, i64 %4
  store double %278, ptr %282, align 8, !tbaa !53
  %283 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %273, double noundef 0.000000e+00)
  br i1 %283, label %.preheader236.preheader, label %..loopexit_crit_edge

.preheader236.preheader:                          ; preds = %.lr.ph250.split.split
  br i1 %166, label %..loopexit_crit_edge.loopexit.unr-lcssa, label %.preheader236

.preheader236:                                    ; preds = %.preheader236.preheader, %.preheader236
  %.1231245 = phi i64 [ %297, %.preheader236 ], [ 0, %.preheader236.preheader ]
  %niter = phi i64 [ %niter.next.1, %.preheader236 ], [ 0, %.preheader236.preheader ]
  %284 = load ptr, ptr %164, align 8, !tbaa !50
  %285 = getelementptr inbounds ptr, ptr %284, i64 %.1248
  %286 = load ptr, ptr %285, align 8, !tbaa !52
  %287 = getelementptr inbounds double, ptr %286, i64 %.1231245
  %288 = load double, ptr %287, align 8, !tbaa !53
  %289 = fdiv double %288, %273
  store double %289, ptr %287, align 8, !tbaa !53
  %290 = or disjoint i64 %.1231245, 1
  %291 = load ptr, ptr %164, align 8, !tbaa !50
  %292 = getelementptr inbounds ptr, ptr %291, i64 %.1248
  %293 = load ptr, ptr %292, align 8, !tbaa !52
  %294 = getelementptr inbounds double, ptr %293, i64 %290
  %295 = load double, ptr %294, align 8, !tbaa !53
  %296 = fdiv double %295, %273
  store double %296, ptr %294, align 8, !tbaa !53
  %297 = add nuw i64 %.1231245, 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 %..loopexit_crit_edge.loopexit.unr-lcssa, label %.preheader236, !llvm.loop !54

..loopexit_crit_edge.loopexit.unr-lcssa:          ; preds = %.preheader236, %.preheader236.preheader
  %.1231245.unr = phi i64 [ 0, %.preheader236.preheader ], [ %297, %.preheader236 ]
  br i1 %lcmp.mod.not.not, label %.preheader236.epil, label %..loopexit_crit_edge

.preheader236.epil:                               ; preds = %..loopexit_crit_edge.loopexit.unr-lcssa
  %298 = load ptr, ptr %164, align 8, !tbaa !50
  %299 = getelementptr inbounds ptr, ptr %298, i64 %.1248
  %300 = load ptr, ptr %299, align 8, !tbaa !52
  %301 = getelementptr inbounds double, ptr %300, i64 %.1231245.unr
  %302 = load double, ptr %301, align 8, !tbaa !53
  %303 = fdiv double %302, %273
  store double %303, ptr %301, align 8, !tbaa !53
  br label %..loopexit_crit_edge

..loopexit_crit_edge:                             ; preds = %.preheader236.epil, %..loopexit_crit_edge.loopexit.unr-lcssa, %.lr.ph250.split.split
  %304 = add nuw nsw i64 %.1248, 1
  %exitcond264.not = icmp eq i64 %304, %46
  br i1 %exitcond264.not, label %.preheader, label %.lr.ph250.split.split, !llvm.loop !56

305:                                              ; preds = %.lr.ph257, %335
  %.2256 = phi i64 [ 0, %.lr.ph257 ], [ %336, %335 ]
  %306 = load ptr, ptr %263, align 8, !tbaa !50
  %307 = getelementptr inbounds i8, ptr %306, i64 %.2256
  %308 = load i8, ptr %307, align 1, !tbaa !58, !range !59, !noundef !60
  %309 = trunc nuw i8 %308 to i1
  br i1 %309, label %310, label %320

310:                                              ; preds = %305
  %311 = load ptr, ptr %264, align 8, !tbaa !50
  %312 = getelementptr inbounds double, ptr %311, i64 %.2256
  %313 = load double, ptr %312, align 8, !tbaa !53
  %314 = load ptr, ptr %265, align 8, !tbaa !50
  %315 = getelementptr inbounds double, ptr %314, i64 %.2256
  %316 = load double, ptr %315, align 8, !tbaa !53
  %317 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %313, double noundef %316, ptr noundef %14)
  %318 = load ptr, ptr %264, align 8, !tbaa !50
  %319 = getelementptr inbounds double, ptr %318, i64 %.2256
  store double %317, ptr %319, align 8, !tbaa !53
  br label %320

320:                                              ; preds = %310, %305
  %321 = load ptr, ptr %266, align 8, !tbaa !50
  %322 = getelementptr inbounds i8, ptr %321, i64 %.2256
  %323 = load i8, ptr %322, align 1, !tbaa !58, !range !59, !noundef !60
  %324 = trunc nuw i8 %323 to i1
  br i1 %324, label %325, label %335

325:                                              ; preds = %320
  %326 = load ptr, ptr %264, align 8, !tbaa !50
  %327 = getelementptr inbounds double, ptr %326, i64 %.2256
  %328 = load double, ptr %327, align 8, !tbaa !53
  %329 = load ptr, ptr %267, align 8, !tbaa !50
  %330 = getelementptr inbounds double, ptr %329, i64 %.2256
  %331 = load double, ptr %330, align 8, !tbaa !53
  %332 = tail call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %328, double noundef %331, ptr noundef %14)
  %333 = load ptr, ptr %264, align 8, !tbaa !50
  %334 = getelementptr inbounds double, ptr %333, i64 %.2256
  store double %332, ptr %334, align 8, !tbaa !53
  br label %335

335:                                              ; preds = %320, %325
  %336 = add nuw nsw i64 %.2256, 1
  %exitcond268.not = icmp eq i64 %336, %4
  br i1 %exitcond268.not, label %._crit_edge, label %305, !llvm.loop !62

._crit_edge:                                      ; preds = %335, %.preheader237.thread, %.preheader
  %337 = zext i1 %12 to i8
  %338 = getelementptr inbounds i8, ptr %13, i64 512
  tail call void @_ZN11alglib_impl8critcopyEPKNS_19nlpstoppingcriteriaEPS0_PNS_8ae_stateE(ptr noundef %11, ptr noundef nonnull %338, ptr noundef %14)
  %339 = load i64, ptr @_ZN11alglib_implL27nlcsqp_defaultbfgsresetfreqE, align 8, !tbaa !51
  %340 = getelementptr inbounds i8, ptr %13, i64 536
  store i64 %339, ptr %340, align 8, !tbaa !63
  %341 = getelementptr inbounds i8, ptr %13, i64 40
  store i8 %337, ptr %341, align 8, !tbaa !64
  %342 = getelementptr inbounds i8, ptr %13, i64 62352
  %343 = getelementptr inbounds i8, ptr %13, i64 62368
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %342, i8 0, i64 16, i1 false)
  store i64 -1, ptr %343, align 8, !tbaa !65
  %344 = getelementptr inbounds i8, ptr %13, i64 62376
  store double 0.000000e+00, ptr %344, align 8, !tbaa !66
  %345 = getelementptr inbounds i8, ptr %13, i64 62384
  store i64 -1, ptr %345, align 8, !tbaa !67
  %346 = getelementptr inbounds i8, ptr %13, i64 62392
  store double 0.000000e+00, ptr %346, align 8, !tbaa !68
  %347 = getelementptr inbounds i8, ptr %13, i64 62400
  store i64 -1, ptr %347, align 8, !tbaa !69
  %348 = getelementptr inbounds i8, ptr %13, i64 62344
  store i64 0, ptr %348, align 8, !tbaa !70
  %349 = load double, ptr @_ZN11alglib_implL23nlcsqp_sqpdeltadecreaseE, align 8, !tbaa !53
  %350 = load double, ptr @_ZN11alglib_implL23nlcsqp_sqpdeltaincreaseE, align 8, !tbaa !53
  %351 = tail call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %349, double noundef %350)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %351, ptr noundef nonnull @.str.1112, ptr noundef %14)
  ret void
}

; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree 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, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl11minsqpstateE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 48, !14, i64 112, !11, i64 192, !11, i64 256, !11, i64 320, !11, i64 384, !11, i64 448, !15, i64 512, !7, i64 536, !11, i64 544, !11, i64 608, !14, i64 672, !16, i64 752, !10, i64 760, !10, i64 761, !16, i64 768, !16, i64 776, !16, i64 784, !7, i64 792, !7, i64 800, !17, i64 808, !11, i64 1408, !11, i64 1472, !11, i64 1536, !11, i64 1600, !19, i64 1664, !39, i64 55416, !40, i64 58776, !7, i64 58912, !11, i64 58920, !11, i64 58984, !17, i64 59048, !17, i64 59648, !17, i64 60248, !17, i64 60848, !11, i64 61448, !11, i64 61512, !11, i64 61576, !11, i64 61640, !11, i64 61704, !11, i64 61768, !11, i64 61832, !11, i64 61896, !11, i64 61960, !11, i64 62024, !11, i64 62088, !11, i64 62152, !11, i64 62216, !11, i64 62280, !7, i64 62344, !7, i64 62352, !16, i64 62360, !7, i64 62368, !16, i64 62376, !7, i64 62384, !16, i64 62392, !7, i64 62400, !37, i64 62408, !37, i64 62432, !37, i64 62456, !41, i64 62480}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !12, i64 24, !8, i64 56}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !12, i64 40, !8, i64 72}
!15 = !{!"_ZTSN11alglib_impl19nlpstoppingcriteriaE", !16, i64 0, !16, i64 8, !7, i64 16}
!16 = !{!"double", !8, i64 0}
!17 = !{!"_ZTSN11alglib_impl11varsfuncjacE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 88, !14, i64 152, !18, i64 232}
!18 = !{!"_ZTSN11alglib_impl12sparsematrixE", !11, i64 0, !11, i64 64, !11, i64 128, !11, i64 192, !11, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!19 = !{!"_ZTSN11alglib_impl15minsqpsubsolverE", !20, i64 0, !34, i64 26648, !11, i64 50544, !11, i64 50608, !11, i64 50672, !11, i64 50736, !11, i64 50800, !18, i64 50864, !18, i64 51232, !11, i64 51600, !14, i64 51664, !11, i64 51744, !14, i64 51808, !18, i64 51888, !11, i64 52256, !11, i64 52320, !11, i64 52384, !11, i64 52448, !11, i64 52512, !11, i64 52576, !11, i64 52640, !11, i64 52704, !14, i64 52768, !11, i64 52848, !11, i64 52912, !14, i64 52976, !11, i64 53056, !7, i64 53120, !18, i64 53128, !11, i64 53496, !11, i64 53560, !11, i64 53624, !11, i64 53688}
!20 = !{!"_ZTSN11alglib_impl9vipmstateE", !10, i64 0, !10, i64 1, !7, i64 8, !7, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !10, i64 48, !11, i64 56, !11, i64 120, !11, i64 184, !16, i64 248, !11, i64 256, !14, i64 320, !18, i64 400, !11, i64 768, !7, i64 832, !10, i64 840, !11, i64 848, !11, i64 912, !11, i64 976, !11, i64 1040, !11, i64 1104, !11, i64 1168, !14, i64 1232, !14, i64 1312, !18, i64 1392, !18, i64 1760, !18, i64 2128, !11, i64 2496, !11, i64 2560, !11, i64 2624, !11, i64 2688, !11, i64 2752, !7, i64 2816, !7, i64 2824, !21, i64 2832, !21, i64 3488, !21, i64 4144, !21, i64 4800, !21, i64 5456, !11, i64 6112, !11, i64 6176, !11, i64 6240, !11, i64 6304, !11, i64 6368, !7, i64 6432, !7, i64 6440, !7, i64 6448, !7, i64 6456, !7, i64 6464, !7, i64 6472, !10, i64 6480, !10, i64 6481, !7, i64 6488, !10, i64 6496, !10, i64 6497, !11, i64 6504, !11, i64 6568, !11, i64 6632, !11, i64 6696, !11, i64 6760, !11, i64 6824, !11, i64 6888, !11, i64 6952, !11, i64 7016, !11, i64 7080, !11, i64 7144, !11, i64 7208, !11, i64 7272, !11, i64 7336, !11, i64 7400, !14, i64 7464, !11, i64 7544, !11, i64 7608, !11, i64 7672, !11, i64 7736, !11, i64 7800, !22, i64 7864, !33, i64 23944, !11, i64 24584, !11, i64 24648, !11, i64 24712, !11, i64 24776, !11, i64 24840, !11, i64 24904, !11, i64 24968, !11, i64 25032, !21, i64 25096, !11, i64 25752, !11, i64 25816, !11, i64 25880, !11, i64 25944, !11, i64 26008, !14, i64 26072, !11, i64 26152, !11, i64 26216, !18, i64 26280}
!21 = !{!"_ZTSN11alglib_impl8vipmvarsE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 80, !11, i64 144, !11, i64 208, !11, i64 272, !11, i64 336, !11, i64 400, !11, i64 464, !11, i64 528, !11, i64 592}
!22 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !18, i64 0, !11, i64 368, !11, i64 432, !11, i64 496, !11, i64 560, !7, i64 624, !23, i64 632, !11, i64 15696, !11, i64 15760, !11, i64 15824, !11, i64 15888, !11, i64 15952, !11, i64 16016}
!23 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !11, i64 72, !10, i64 136, !10, i64 137, !10, i64 138, !10, i64 139, !10, i64 140, !11, i64 144, !7, i64 208, !11, i64 216, !11, i64 280, !11, i64 344, !11, i64 408, !11, i64 472, !11, i64 536, !10, i64 600, !11, i64 608, !11, i64 672, !11, i64 736, !11, i64 800, !11, i64 864, !11, i64 928, !10, i64 992, !10, i64 993, !24, i64 1000, !11, i64 1512, !11, i64 1576, !11, i64 1640, !11, i64 1704, !11, i64 1768, !11, i64 1832, !25, i64 1896, !25, i64 2040, !25, i64 2184, !25, i64 2328, !25, i64 2472, !25, i64 2616, !11, i64 2760, !11, i64 2824, !11, i64 2888, !11, i64 2952, !11, i64 3016, !27, i64 3080, !32, i64 7464, !11, i64 13816, !11, i64 13880, !11, i64 13944, !11, i64 14008, !11, i64 14072, !11, i64 14136, !18, i64 14200, !18, i64 14568, !11, i64 14936, !11, i64 15000}
!24 = !{!"_ZTSN11alglib_impl9spcholadjE", !11, i64 0, !11, i64 64, !11, i64 128, !11, i64 192, !11, i64 256, !11, i64 320, !11, i64 384, !11, i64 448}
!25 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !26, i64 64, !12, i64 112}
!26 = !{!"_ZTSN11alglib_impl7ae_lockE", !13, i64 0, !12, i64 8, !10, i64 40}
!27 = !{!"_ZTSN11alglib_impl9amdbufferE", !7, i64 0, !10, i64 8, !10, i64 9, !11, i64 16, !11, i64 80, !11, i64 144, !28, i64 208, !28, i64 568, !28, i64 928, !29, i64 1288, !30, i64 1496, !31, i64 1968, !11, i64 2120, !11, i64 2184, !11, i64 2248, !31, i64 2312, !31, i64 2464, !31, i64 2616, !31, i64 2768, !31, i64 2920, !31, i64 3072, !11, i64 3224, !7, i64 3288, !31, i64 3296, !31, i64 3448, !28, i64 3600, !31, i64 3960, !11, i64 4112, !11, i64 4176, !11, i64 4240, !14, i64 4304}
!28 = !{!"_ZTSN11alglib_impl8amdknsetE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 80, !11, i64 144, !11, i64 208, !11, i64 272, !7, i64 336, !7, i64 344, !7, i64 352}
!29 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !7, i64 0, !11, i64 8, !11, i64 72, !11, i64 136, !7, i64 200}
!30 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !11, i64 88, !11, i64 152, !11, i64 216, !11, i64 280, !11, i64 344, !11, i64 408}
!31 = !{!"_ZTSN11alglib_impl5nisetE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 80, !7, i64 144}
!32 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !11, i64 0, !11, i64 64, !27, i64 128, !18, i64 4512, !18, i64 4880, !18, i64 5248, !18, i64 5616, !18, i64 5984}
!33 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !11, i64 0, !11, i64 64, !11, i64 128, !11, i64 192, !11, i64 256, !11, i64 320, !11, i64 384, !11, i64 448, !11, i64 512, !11, i64 576}
!34 = !{!"_ZTSN11alglib_impl9ipm2stateE", !7, i64 0, !7, i64 8, !7, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !7, i64 48, !10, i64 56, !11, i64 64, !11, i64 128, !11, i64 192, !16, i64 256, !11, i64 264, !18, i64 328, !11, i64 696, !10, i64 760, !16, i64 768, !11, i64 776, !11, i64 840, !11, i64 904, !11, i64 968, !11, i64 1032, !11, i64 1096, !11, i64 1160, !11, i64 1224, !11, i64 1288, !11, i64 1352, !11, i64 1416, !11, i64 1480, !11, i64 1544, !11, i64 1608, !11, i64 1672, !18, i64 1736, !11, i64 2104, !7, i64 2168, !35, i64 2176, !35, i64 2576, !35, i64 2976, !35, i64 3376, !11, i64 3776, !11, i64 3840, !11, i64 3904, !11, i64 3968, !7, i64 4032, !7, i64 4040, !11, i64 4048, !11, i64 4112, !11, i64 4176, !36, i64 4240, !7, i64 4624, !7, i64 4632, !10, i64 4640, !10, i64 4641, !10, i64 4642, !37, i64 4648, !37, i64 4672, !37, i64 4696, !37, i64 4720, !37, i64 4744, !38, i64 4768, !36, i64 21736, !11, i64 22120, !11, i64 22184, !11, i64 22248, !11, i64 22312, !11, i64 22376, !14, i64 22440, !18, i64 22520, !11, i64 22888, !11, i64 22952, !18, i64 23016, !18, i64 23384, !14, i64 23752, !11, i64 23832}
!35 = !{!"_ZTSN11alglib_impl8ipm2varsE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 80, !11, i64 144, !11, i64 208, !11, i64 272, !11, i64 336}
!36 = !{!"_ZTSN11alglib_impl17ipm2righthandsideE", !11, i64 0, !11, i64 64, !11, i64 128, !11, i64 192, !11, i64 256, !11, i64 320}
!37 = !{!"_ZTSN11alglib_impl6stimerE", !7, i64 0, !7, i64 8, !10, i64 16}
!38 = !{!"_ZTSN11alglib_impl17ipm2reducedsystemE", !18, i64 0, !11, i64 368, !23, i64 432, !11, i64 15496, !11, i64 15560, !11, i64 15624, !11, i64 15688, !11, i64 15752, !11, i64 15816, !11, i64 15880, !11, i64 15944, !11, i64 16008, !11, i64 16072, !11, i64 16136, !11, i64 16200, !11, i64 16264, !11, i64 16328, !11, i64 16392, !11, i64 16456, !11, i64 16520, !11, i64 16584, !11, i64 16648, !11, i64 16712, !11, i64 16776, !11, i64 16840, !11, i64 16904}
!39 = !{!"_ZTSN11alglib_impl12xbfgshessianE", !7, i64 0, !11, i64 8, !11, i64 72, !7, i64 136, !7, i64 144, !16, i64 152, !16, i64 160, !16, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !16, i64 200, !7, i64 208, !16, i64 216, !16, i64 224, !14, i64 232, !7, i64 312, !16, i64 320, !16, i64 328, !16, i64 336, !7, i64 344, !16, i64 352, !14, i64 360, !14, i64 440, !14, i64 520, !14, i64 600, !10, i64 680, !7, i64 688, !14, i64 696, !14, i64 776, !10, i64 856, !11, i64 864, !10, i64 928, !7, i64 936, !14, i64 944, !11, i64 1024, !11, i64 1088, !14, i64 1152, !11, i64 1232, !11, i64 1296, !10, i64 1360, !11, i64 1368, !16, i64 1432, !16, i64 1440, !7, i64 1448, !14, i64 1456, !11, i64 1536, !11, i64 1600, !11, i64 1664, !11, i64 1728, !11, i64 1792, !11, i64 1856, !14, i64 1920, !14, i64 2000, !14, i64 2080, !14, i64 2160, !14, i64 2240, !14, i64 2320, !14, i64 2400, !14, i64 2480, !11, i64 2560, !11, i64 2624, !14, i64 2688, !11, i64 2768, !14, i64 2832, !14, i64 2912, !14, i64 2992, !14, i64 3072, !14, i64 3152, !11, i64 3232, !11, i64 3296}
!40 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !7, i64 0, !7, i64 8, !10, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !26, i64 56, !12, i64 104}
!41 = !{!"_ZTSN11alglib_impl10rcommstateE", !42, i64 0, !11, i64 8, !11, i64 72, !11, i64 136, !11, i64 200}
!42 = !{!"int", !8, i64 0}
!43 = !{!6, !7, i64 8}
!44 = !{!6, !7, i64 16}
!45 = !{!6, !7, i64 24}
!46 = !{!6, !7, i64 32}
!47 = !{!6, !42, i64 62480}
!48 = !{!6, !10, i64 760}
!49 = !{!6, !10, i64 761}
!50 = !{!8, !8, i64 0}
!51 = !{!7, !7, i64 0}
!52 = !{!13, !13, i64 0}
!53 = !{!16, !16, i64 0}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}
!56 = distinct !{!56, !55}
!57 = distinct !{!57, !55}
!58 = !{!10, !10, i64 0}
!59 = !{i8 0, i8 2}
!60 = !{}
!61 = distinct !{!61, !55}
!62 = distinct !{!62, !55}
!63 = !{!6, !7, i64 536}
!64 = !{!6, !10, i64 40}
!65 = !{!6, !7, i64 62368}
!66 = !{!6, !16, i64 62376}
!67 = !{!6, !7, i64 62384}
!68 = !{!6, !16, i64 62392}
!69 = !{!6, !7, i64 62400}
!70 = !{!6, !7, i64 62344}


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