; 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::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::minqpstate" = type { i64, %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qpdenseaulsettings", double, i64, i8, i8, i64, i64, %"struct.alglib_impl::convexquadraticmodel", i8, %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::xlinearconstraints", %"struct.alglib_impl::xquadraticconstraints", %"struct.alglib_impl::xconicconstraints", %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, 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_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::presolveinfo", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::qpdenseaulbuffers", %"struct.alglib_impl::vipmstate", %"struct.alglib_impl::ipm2state", %"struct.alglib_impl::ecqpstate", %"struct.alglib_impl::gqpipmstate", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::xconicconstraints" }
%"struct.alglib_impl::qqpsettings" = type { double, double, double, i64, i8, i8, i64, i64, i64, i64 }
%"struct.alglib_impl::qpdenseaulsettings" = type { double, i64, double }
%"struct.alglib_impl::convexquadraticmodel" = type { i64, i64, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i8, i8, i8, i8 }
%"struct.alglib_impl::xlinearconstraints" = type { i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::xquadraticconstraints" = type { i64, %"struct.alglib_impl::ae_obj_array", %"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::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::presolveinfo" = type { i64, i64, i64, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::xquadraticconstraints", %"struct.alglib_impl::xconicconstraints", i64, %"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::xquadraticconstraints", %"struct.alglib_impl::xconicconstraints", %"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::presolverstack", %"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::presolvebuffers" }
%"struct.alglib_impl::presolverstack" = type { i64, i64, i64, 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::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::presolvebuffers" = type { %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::dynamiccrsqconstraint" }
%"struct.alglib_impl::niset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::dynamiccrsqconstraint" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::dynamiccrs", double, double, i8 }
%"struct.alglib_impl::dynamiccrs" = type { i64, 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_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::qqpbuffers" = type { i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sactiveset", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsebuffers", i64, i64, i64, i64 }
%"struct.alglib_impl::sactiveset" = type { i64, i64, %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::ae_vector", i64, i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::snnlssolver", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::snnlssolver" = type { i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sparsebuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::qpdenseaulbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qqpbuffers", %"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::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::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::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::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::stimer" = type { i64, i64, i8 }
%"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::ecqpstate" = 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::fblsgmresstate", i64, i64, 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::fblsgmresstate" = 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_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_vector", %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, double, i64, i64, double, %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::rcommstate" = type { i32, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::gqpipmstate" = type { i8, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", i64, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::xquadraticconstraints", %"struct.alglib_impl::xconicconstraints", double, i64, i64, i64, i8, i8, %"struct.alglib_impl::stimer", %"struct.alglib_impl::gipmstate", %"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_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::spcholanalysis", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"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_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::gipmstate" = type { i64, 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", double, i64, i64, %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, 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", double, double, double, double, double, i64, %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::varsfuncjac", double, i64, %"struct.alglib_impl::nlpfilter", i8, i8, i8, i64, i64, %"struct.alglib_impl::stimer", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::gipmrhs", %"struct.alglib_impl::gipmcondensedsystem", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::nlpfilter" = type { double, i64, double, double, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::gipmrhs" = 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::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::gipmcondensedsystem" = 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::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::gipmvars" = type { i64, i64, 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::ae_vector", %"struct.alglib_impl::ae_vector" }
%"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::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::xconicconstraints" = type { i64, %"struct.alglib_impl::ae_obj_array" }

@.str.609 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.705 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.978 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.1098 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1099 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1100 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1101 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.1102 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1103 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1104 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1105 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i8, align 1
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %23, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 64, i1 false)
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %13, i64 noundef 0, i64 noundef 3, ptr noundef %24, i1 noundef zeroext true)
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %14, i64 noundef 0, i64 noundef 3, ptr noundef %25, i1 noundef zeroext true)
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %15, i64 noundef 0, i64 noundef 3, ptr noundef %26, i1 noundef zeroext true)
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %16, i64 noundef 0, i64 noundef 3, ptr noundef %27, i1 noundef zeroext true)
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %17, i64 noundef 0, i64 noundef 3, ptr noundef %28, i1 noundef zeroext true)
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %18, i64 noundef 0, i64 noundef 3, ptr noundef %29, i1 noundef zeroext true)
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %19, i64 noundef 0, i64 noundef 3, ptr noundef %30, i1 noundef zeroext true)
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %31, i32 0, i32 0
  %33 = load i64, ptr %32, align 8, !tbaa !9
  store i64 %33, ptr %6, align 8, !tbaa !65
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %34, i32 0, i32 26
  %36 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %35, i32 0, i32 1
  %37 = load i64, ptr %36, align 8, !tbaa !66
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %38, i32 0, i32 26
  %40 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %39, i32 0, i32 2
  %41 = load i64, ptr %40, align 8, !tbaa !67
  %42 = add nsw i64 %37, %41
  store i64 %42, ptr %7, align 8, !tbaa !65
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %43, i32 0, i32 27
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef %44, ptr noundef %45)
  store i64 %46, ptr %8, align 8, !tbaa !65
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %47, i32 0, i32 28
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %48, ptr noundef %49)
  store i64 %50, ptr %9, align 8, !tbaa !65
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %51, i32 0, i32 35
  store i64 -5, ptr %52, align 8, !tbaa !68
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %53, i32 0, i32 31
  store i64 0, ptr %54, align 8, !tbaa !69
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %55, i32 0, i32 32
  store i64 0, ptr %56, align 8, !tbaa !70
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %57, i32 0, i32 33
  store i64 0, ptr %58, align 8, !tbaa !71
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %59, i32 0, i32 34
  store i64 0, ptr %60, align 8, !tbaa !72
  %61 = load i64, ptr %6, align 8, !tbaa !65
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %62, i32 0, i32 39
  store i64 %61, ptr %63, align 8, !tbaa !73
  %64 = load i64, ptr %7, align 8, !tbaa !65
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %65, i32 0, i32 40
  store i64 %64, ptr %66, align 8, !tbaa !74
  %67 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef @.str.609)
  br i1 %67, label %72, label %68

68:                                               ; preds = %2
  %69 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef @.str.1098)
  br i1 %69, label %72, label %70

70:                                               ; preds = %68
  %71 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef @.str.705)
  br label %72

72:                                               ; preds = %70, %68, %2
  %73 = phi i1 [ true, %68 ], [ true, %2 ], [ %71, %70 ]
  %74 = zext i1 %73 to i8
  store i8 %74, ptr %12, align 1, !tbaa !75
  %75 = load i64, ptr %8, align 8, !tbaa !65
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %76, i32 0, i32 41
  %78 = load i64, ptr %77, align 8, !tbaa !76
  %79 = icmp eq i64 %75, %78
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %79, ptr noundef @.str.1099, ptr noundef %80)
  %81 = load i64, ptr %9, align 8, !tbaa !65
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %82, i32 0, i32 42
  %84 = load i64, ptr %83, align 8, !tbaa !77
  %85 = icmp eq i64 %81, %84
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %85, ptr noundef @.str.1100, ptr noundef %86)
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %87, i32 0, i32 30
  store double 0.000000e+00, ptr %88, align 8, !tbaa !78
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %89

89:                                               ; preds = %101, %72
  %90 = load i64, ptr %10, align 8, !tbaa !65
  %91 = load i64, ptr %6, align 8, !tbaa !65
  %92 = sub nsw i64 %91, 1
  %93 = icmp sle i64 %90, %92
  br i1 %93, label %94, label %104

94:                                               ; preds = %89
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %95, i32 0, i32 36
  %97 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %96, i32 0, i32 4
  %98 = load ptr, ptr %97, align 8, !tbaa !79
  %99 = load i64, ptr %10, align 8, !tbaa !65
  %100 = getelementptr inbounds double, ptr %98, i64 %99
  store double 0.000000e+00, ptr %100, align 8, !tbaa !80
  br label %101

101:                                              ; preds = %94
  %102 = load i64, ptr %10, align 8, !tbaa !65
  %103 = add nsw i64 %102, 1
  store i64 %103, ptr %10, align 8, !tbaa !65
  br label %89, !llvm.loop !81

104:                                              ; preds = %89
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %105

105:                                              ; preds = %117, %104
  %106 = load i64, ptr %10, align 8, !tbaa !65
  %107 = load i64, ptr %7, align 8, !tbaa !65
  %108 = sub nsw i64 %107, 1
  %109 = icmp sle i64 %106, %108
  br i1 %109, label %110, label %120

110:                                              ; preds = %105
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %111, i32 0, i32 37
  %113 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %112, i32 0, i32 4
  %114 = load ptr, ptr %113, align 8, !tbaa !79
  %115 = load i64, ptr %10, align 8, !tbaa !65
  %116 = getelementptr inbounds double, ptr %114, i64 %115
  store double 0.000000e+00, ptr %116, align 8, !tbaa !80
  br label %117

117:                                              ; preds = %110
  %118 = load i64, ptr %10, align 8, !tbaa !65
  %119 = add nsw i64 %118, 1
  store i64 %119, ptr %10, align 8, !tbaa !65
  br label %105, !llvm.loop !83

120:                                              ; preds = %105
  %121 = load i64, ptr %8, align 8, !tbaa !65
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %122, i32 0, i32 38
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %121, double noundef 0.000000e+00, ptr noundef %123, ptr noundef %124)
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %125, i32 0, i32 25
  %127 = load i8, ptr %126, align 8, !tbaa !84, !range !85, !noundef !86
  %128 = trunc i8 %127 to i1
  br i1 %128, label %129, label %231

129:                                              ; preds = %120
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %130

130:                                              ; preds = %227, %129
  %131 = load i64, ptr %10, align 8, !tbaa !65
  %132 = load i64, ptr %6, align 8, !tbaa !65
  %133 = sub nsw i64 %132, 1
  %134 = icmp sle i64 %131, %133
  br i1 %134, label %135, label %230

135:                                              ; preds = %130
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %136, i32 0, i32 24
  %138 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %137, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !79
  %140 = load i64, ptr %10, align 8, !tbaa !65
  %141 = getelementptr inbounds double, ptr %139, i64 %140
  %142 = load double, ptr %141, align 8, !tbaa !80
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %143, i32 0, i32 29
  %145 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %144, i32 0, i32 4
  %146 = load ptr, ptr %145, align 8, !tbaa !79
  %147 = load i64, ptr %10, align 8, !tbaa !65
  %148 = getelementptr inbounds double, ptr %146, i64 %147
  store double %142, ptr %148, align 8, !tbaa !80
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %149, i32 0, i32 21
  %151 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %150, i32 0, i32 4
  %152 = load ptr, ptr %151, align 8, !tbaa !79
  %153 = load i64, ptr %10, align 8, !tbaa !65
  %154 = getelementptr inbounds i8, ptr %152, i64 %153
  %155 = load i8, ptr %154, align 1, !tbaa !75, !range !85, !noundef !86
  %156 = trunc i8 %155 to i1
  br i1 %156, label %157, label %187

157:                                              ; preds = %135
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %158, i32 0, i32 29
  %160 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %159, i32 0, i32 4
  %161 = load ptr, ptr %160, align 8, !tbaa !79
  %162 = load i64, ptr %10, align 8, !tbaa !65
  %163 = getelementptr inbounds double, ptr %161, i64 %162
  %164 = load double, ptr %163, align 8, !tbaa !80
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %165, i32 0, i32 17
  %167 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %166, i32 0, i32 4
  %168 = load ptr, ptr %167, align 8, !tbaa !79
  %169 = load i64, ptr %10, align 8, !tbaa !65
  %170 = getelementptr inbounds double, ptr %168, i64 %169
  %171 = load double, ptr %170, align 8, !tbaa !80
  %172 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %164, double noundef %171)
  br i1 %172, label %173, label %187

173:                                              ; preds = %157
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %174, i32 0, i32 17
  %176 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %175, i32 0, i32 4
  %177 = load ptr, ptr %176, align 8, !tbaa !79
  %178 = load i64, ptr %10, align 8, !tbaa !65
  %179 = getelementptr inbounds double, ptr %177, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !80
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %181, i32 0, i32 29
  %183 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %182, i32 0, i32 4
  %184 = load ptr, ptr %183, align 8, !tbaa !79
  %185 = load i64, ptr %10, align 8, !tbaa !65
  %186 = getelementptr inbounds double, ptr %184, i64 %185
  store double %180, ptr %186, align 8, !tbaa !80
  br label %187

187:                                              ; preds = %173, %157, %135
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %188, i32 0, i32 22
  %190 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %189, i32 0, i32 4
  %191 = load ptr, ptr %190, align 8, !tbaa !79
  %192 = load i64, ptr %10, align 8, !tbaa !65
  %193 = getelementptr inbounds i8, ptr %191, i64 %192
  %194 = load i8, ptr %193, align 1, !tbaa !75, !range !85, !noundef !86
  %195 = trunc i8 %194 to i1
  br i1 %195, label %196, label %226

196:                                              ; preds = %187
  %197 = load ptr, ptr %3, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %197, i32 0, i32 29
  %199 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %198, i32 0, i32 4
  %200 = load ptr, ptr %199, align 8, !tbaa !79
  %201 = load i64, ptr %10, align 8, !tbaa !65
  %202 = getelementptr inbounds double, ptr %200, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !80
  %204 = load ptr, ptr %3, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %204, i32 0, i32 18
  %206 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %205, i32 0, i32 4
  %207 = load ptr, ptr %206, align 8, !tbaa !79
  %208 = load i64, ptr %10, align 8, !tbaa !65
  %209 = getelementptr inbounds double, ptr %207, i64 %208
  %210 = load double, ptr %209, align 8, !tbaa !80
  %211 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %203, double noundef %210)
  br i1 %211, label %212, label %226

212:                                              ; preds = %196
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %213, i32 0, i32 18
  %215 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %214, i32 0, i32 4
  %216 = load ptr, ptr %215, align 8, !tbaa !79
  %217 = load i64, ptr %10, align 8, !tbaa !65
  %218 = getelementptr inbounds double, ptr %216, i64 %217
  %219 = load double, ptr %218, align 8, !tbaa !80
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %220, i32 0, i32 29
  %222 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %221, i32 0, i32 4
  %223 = load ptr, ptr %222, align 8, !tbaa !79
  %224 = load i64, ptr %10, align 8, !tbaa !65
  %225 = getelementptr inbounds double, ptr %223, i64 %224
  store double %219, ptr %225, align 8, !tbaa !80
  br label %226

226:                                              ; preds = %212, %196, %187
  br label %227

227:                                              ; preds = %226
  %228 = load i64, ptr %10, align 8, !tbaa !65
  %229 = add nsw i64 %228, 1
  store i64 %229, ptr %10, align 8, !tbaa !65
  br label %130, !llvm.loop !87

230:                                              ; preds = %130
  br label %319

231:                                              ; preds = %120
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %232

232:                                              ; preds = %315, %231
  %233 = load i64, ptr %10, align 8, !tbaa !65
  %234 = load i64, ptr %6, align 8, !tbaa !65
  %235 = sub nsw i64 %234, 1
  %236 = icmp sle i64 %233, %235
  br i1 %236, label %237, label %318

237:                                              ; preds = %232
  %238 = load ptr, ptr %3, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %238, i32 0, i32 23
  %240 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %239, i32 0, i32 4
  %241 = load ptr, ptr %240, align 8, !tbaa !79
  %242 = load i64, ptr %10, align 8, !tbaa !65
  %243 = getelementptr inbounds double, ptr %241, i64 %242
  %244 = load double, ptr %243, align 8, !tbaa !80
  %245 = load ptr, ptr %3, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %245, i32 0, i32 29
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %246, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !79
  %249 = load i64, ptr %10, align 8, !tbaa !65
  %250 = getelementptr inbounds double, ptr %248, i64 %249
  store double %244, ptr %250, align 8, !tbaa !80
  %251 = load ptr, ptr %3, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %251, i32 0, i32 21
  %253 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %252, i32 0, i32 4
  %254 = load ptr, ptr %253, align 8, !tbaa !79
  %255 = load i64, ptr %10, align 8, !tbaa !65
  %256 = getelementptr inbounds i8, ptr %254, i64 %255
  %257 = load i8, ptr %256, align 1, !tbaa !75, !range !85, !noundef !86
  %258 = trunc i8 %257 to i1
  br i1 %258, label %259, label %282

259:                                              ; preds = %237
  %260 = load ptr, ptr %3, align 8, !tbaa !5
  %261 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %260, i32 0, i32 29
  %262 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %261, i32 0, i32 4
  %263 = load ptr, ptr %262, align 8, !tbaa !79
  %264 = load i64, ptr %10, align 8, !tbaa !65
  %265 = getelementptr inbounds double, ptr %263, i64 %264
  %266 = load double, ptr %265, align 8, !tbaa !80
  %267 = load ptr, ptr %3, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %267, i32 0, i32 17
  %269 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %268, i32 0, i32 4
  %270 = load ptr, ptr %269, align 8, !tbaa !79
  %271 = load i64, ptr %10, align 8, !tbaa !65
  %272 = getelementptr inbounds double, ptr %270, i64 %271
  %273 = load double, ptr %272, align 8, !tbaa !80
  %274 = load ptr, ptr %4, align 8, !tbaa !5
  %275 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %266, double noundef %273, ptr noundef %274)
  %276 = load ptr, ptr %3, align 8, !tbaa !5
  %277 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %276, i32 0, i32 29
  %278 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %277, i32 0, i32 4
  %279 = load ptr, ptr %278, align 8, !tbaa !79
  %280 = load i64, ptr %10, align 8, !tbaa !65
  %281 = getelementptr inbounds double, ptr %279, i64 %280
  store double %275, ptr %281, align 8, !tbaa !80
  br label %282

282:                                              ; preds = %259, %237
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %283, i32 0, i32 22
  %285 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %284, i32 0, i32 4
  %286 = load ptr, ptr %285, align 8, !tbaa !79
  %287 = load i64, ptr %10, align 8, !tbaa !65
  %288 = getelementptr inbounds i8, ptr %286, i64 %287
  %289 = load i8, ptr %288, align 1, !tbaa !75, !range !85, !noundef !86
  %290 = trunc i8 %289 to i1
  br i1 %290, label %291, label %314

291:                                              ; preds = %282
  %292 = load ptr, ptr %3, align 8, !tbaa !5
  %293 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %292, i32 0, i32 29
  %294 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %293, i32 0, i32 4
  %295 = load ptr, ptr %294, align 8, !tbaa !79
  %296 = load i64, ptr %10, align 8, !tbaa !65
  %297 = getelementptr inbounds double, ptr %295, i64 %296
  %298 = load double, ptr %297, align 8, !tbaa !80
  %299 = load ptr, ptr %3, align 8, !tbaa !5
  %300 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %299, i32 0, i32 18
  %301 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %300, i32 0, i32 4
  %302 = load ptr, ptr %301, align 8, !tbaa !79
  %303 = load i64, ptr %10, align 8, !tbaa !65
  %304 = getelementptr inbounds double, ptr %302, i64 %303
  %305 = load double, ptr %304, align 8, !tbaa !80
  %306 = load ptr, ptr %4, align 8, !tbaa !5
  %307 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %298, double noundef %305, ptr noundef %306)
  %308 = load ptr, ptr %3, align 8, !tbaa !5
  %309 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %308, i32 0, i32 29
  %310 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %309, i32 0, i32 4
  %311 = load ptr, ptr %310, align 8, !tbaa !79
  %312 = load i64, ptr %10, align 8, !tbaa !65
  %313 = getelementptr inbounds double, ptr %311, i64 %312
  store double %307, ptr %313, align 8, !tbaa !80
  br label %314

314:                                              ; preds = %291, %282
  br label %315

315:                                              ; preds = %314
  %316 = load i64, ptr %10, align 8, !tbaa !65
  %317 = add nsw i64 %316, 1
  store i64 %317, ptr %10, align 8, !tbaa !65
  br label %232, !llvm.loop !88

318:                                              ; preds = %232
  br label %319

319:                                              ; preds = %318, %230
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %320

320:                                              ; preds = %365, %319
  %321 = load i64, ptr %10, align 8, !tbaa !65
  %322 = load i64, ptr %6, align 8, !tbaa !65
  %323 = sub nsw i64 %322, 1
  %324 = icmp sle i64 %321, %323
  br i1 %324, label %325, label %368

325:                                              ; preds = %320
  %326 = load ptr, ptr %3, align 8, !tbaa !5
  %327 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %326, i32 0, i32 21
  %328 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %327, i32 0, i32 4
  %329 = load ptr, ptr %328, align 8, !tbaa !79
  %330 = load i64, ptr %10, align 8, !tbaa !65
  %331 = getelementptr inbounds i8, ptr %329, i64 %330
  %332 = load i8, ptr %331, align 1, !tbaa !75, !range !85, !noundef !86
  %333 = trunc i8 %332 to i1
  br i1 %333, label %334, label %364

334:                                              ; preds = %325
  %335 = load ptr, ptr %3, align 8, !tbaa !5
  %336 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %335, i32 0, i32 22
  %337 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %336, i32 0, i32 4
  %338 = load ptr, ptr %337, align 8, !tbaa !79
  %339 = load i64, ptr %10, align 8, !tbaa !65
  %340 = getelementptr inbounds i8, ptr %338, i64 %339
  %341 = load i8, ptr %340, align 1, !tbaa !75, !range !85, !noundef !86
  %342 = trunc i8 %341 to i1
  br i1 %342, label %343, label %364

343:                                              ; preds = %334
  %344 = load ptr, ptr %3, align 8, !tbaa !5
  %345 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %344, i32 0, i32 17
  %346 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %345, i32 0, i32 4
  %347 = load ptr, ptr %346, align 8, !tbaa !79
  %348 = load i64, ptr %10, align 8, !tbaa !65
  %349 = getelementptr inbounds double, ptr %347, i64 %348
  %350 = load double, ptr %349, align 8, !tbaa !80
  %351 = load ptr, ptr %3, align 8, !tbaa !5
  %352 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %351, i32 0, i32 18
  %353 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %352, i32 0, i32 4
  %354 = load ptr, ptr %353, align 8, !tbaa !79
  %355 = load i64, ptr %10, align 8, !tbaa !65
  %356 = getelementptr inbounds double, ptr %354, i64 %355
  %357 = load double, ptr %356, align 8, !tbaa !80
  %358 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %350, double noundef %357)
  br i1 %358, label %359, label %363

359:                                              ; preds = %343
  %360 = load ptr, ptr %3, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %360, i32 0, i32 35
  store i64 -3, ptr %361, align 8, !tbaa !68
  %362 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %362)
  store i32 1, ptr %22, align 4
  br label %2327

363:                                              ; preds = %343
  br label %364

364:                                              ; preds = %363, %334, %325
  br label %365

365:                                              ; preds = %364
  %366 = load i64, ptr %10, align 8, !tbaa !65
  %367 = add nsw i64 %366, 1
  store i64 %367, ptr %10, align 8, !tbaa !65
  br label %320, !llvm.loop !89

368:                                              ; preds = %320
  store i64 0, ptr %11, align 8, !tbaa !65
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %369

369:                                              ; preds = %399, %368
  %370 = load i64, ptr %10, align 8, !tbaa !65
  %371 = load i64, ptr %6, align 8, !tbaa !65
  %372 = sub nsw i64 %371, 1
  %373 = icmp sle i64 %370, %372
  br i1 %373, label %374, label %402

374:                                              ; preds = %369
  %375 = load ptr, ptr %3, align 8, !tbaa !5
  %376 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %375, i32 0, i32 21
  %377 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %376, i32 0, i32 4
  %378 = load ptr, ptr %377, align 8, !tbaa !79
  %379 = load i64, ptr %10, align 8, !tbaa !65
  %380 = getelementptr inbounds i8, ptr %378, i64 %379
  %381 = load i8, ptr %380, align 1, !tbaa !75, !range !85, !noundef !86
  %382 = trunc i8 %381 to i1
  br i1 %382, label %383, label %386

383:                                              ; preds = %374
  %384 = load i64, ptr %11, align 8, !tbaa !65
  %385 = add nsw i64 %384, 1
  store i64 %385, ptr %11, align 8, !tbaa !65
  br label %386

386:                                              ; preds = %383, %374
  %387 = load ptr, ptr %3, align 8, !tbaa !5
  %388 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %387, i32 0, i32 22
  %389 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %388, i32 0, i32 4
  %390 = load ptr, ptr %389, align 8, !tbaa !79
  %391 = load i64, ptr %10, align 8, !tbaa !65
  %392 = getelementptr inbounds i8, ptr %390, i64 %391
  %393 = load i8, ptr %392, align 1, !tbaa !75, !range !85, !noundef !86
  %394 = trunc i8 %393 to i1
  br i1 %394, label %395, label %398

395:                                              ; preds = %386
  %396 = load i64, ptr %11, align 8, !tbaa !65
  %397 = add nsw i64 %396, 1
  store i64 %397, ptr %11, align 8, !tbaa !65
  br label %398

398:                                              ; preds = %395, %386
  br label %399

399:                                              ; preds = %398
  %400 = load i64, ptr %10, align 8, !tbaa !65
  %401 = add nsw i64 %400, 1
  store i64 %401, ptr %10, align 8, !tbaa !65
  br label %369, !llvm.loop !90

402:                                              ; preds = %369
  %403 = load ptr, ptr %3, align 8, !tbaa !5
  %404 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %403, i32 0, i32 43
  %405 = load i64, ptr %6, align 8, !tbaa !65
  %406 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %404, i64 noundef %405, ptr noundef %406)
  %407 = load ptr, ptr %3, align 8, !tbaa !5
  %408 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %407, i32 0, i32 19
  %409 = load i64, ptr %408, align 8, !tbaa !91
  %410 = icmp eq i64 %409, 0
  br i1 %410, label %411, label %435

411:                                              ; preds = %402
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %412

412:                                              ; preds = %431, %411
  %413 = load i64, ptr %10, align 8, !tbaa !65
  %414 = load i64, ptr %6, align 8, !tbaa !65
  %415 = sub nsw i64 %414, 1
  %416 = icmp sle i64 %413, %415
  br i1 %416, label %417, label %434

417:                                              ; preds = %412
  %418 = load ptr, ptr %3, align 8, !tbaa !5
  %419 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %418, i32 0, i32 20
  %420 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %419, i32 0, i32 4
  %421 = load ptr, ptr %420, align 8, !tbaa !79
  %422 = load i64, ptr %10, align 8, !tbaa !65
  %423 = getelementptr inbounds double, ptr %421, i64 %422
  %424 = load double, ptr %423, align 8, !tbaa !80
  %425 = load ptr, ptr %3, align 8, !tbaa !5
  %426 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %425, i32 0, i32 43
  %427 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %426, i32 0, i32 4
  %428 = load ptr, ptr %427, align 8, !tbaa !79
  %429 = load i64, ptr %10, align 8, !tbaa !65
  %430 = getelementptr inbounds double, ptr %428, i64 %429
  store double %424, ptr %430, align 8, !tbaa !80
  br label %431

431:                                              ; preds = %417
  %432 = load i64, ptr %10, align 8, !tbaa !65
  %433 = add nsw i64 %432, 1
  store i64 %433, ptr %10, align 8, !tbaa !65
  br label %412, !llvm.loop !92

434:                                              ; preds = %412
  br label %525

435:                                              ; preds = %402
  %436 = load ptr, ptr %3, align 8, !tbaa !5
  %437 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %436, i32 0, i32 19
  %438 = load i64, ptr %437, align 8, !tbaa !91
  %439 = icmp eq i64 %438, 1
  br i1 %439, label %440, label %522

440:                                              ; preds = %435
  %441 = load ptr, ptr %3, align 8, !tbaa !5
  %442 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %441, i32 0, i32 8
  %443 = load i64, ptr %442, align 8, !tbaa !93
  %444 = icmp eq i64 %443, 0
  br i1 %444, label %445, label %451

445:                                              ; preds = %440
  %446 = load ptr, ptr %3, align 8, !tbaa !5
  %447 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %446, i32 0, i32 9
  %448 = load ptr, ptr %3, align 8, !tbaa !5
  %449 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %448, i32 0, i32 43
  %450 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11cqmgetdiagaEPNS_20convexquadraticmodelEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %447, ptr noundef %449, ptr noundef %450)
  br label %482

451:                                              ; preds = %440
  %452 = load ptr, ptr %3, align 8, !tbaa !5
  %453 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %452, i32 0, i32 8
  %454 = load i64, ptr %453, align 8, !tbaa !93
  %455 = icmp eq i64 %454, 1
  br i1 %455, label %456, label %479

456:                                              ; preds = %451
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %457

457:                                              ; preds = %475, %456
  %458 = load i64, ptr %10, align 8, !tbaa !65
  %459 = load i64, ptr %6, align 8, !tbaa !65
  %460 = sub nsw i64 %459, 1
  %461 = icmp sle i64 %458, %460
  br i1 %461, label %462, label %478

462:                                              ; preds = %457
  %463 = load ptr, ptr %3, align 8, !tbaa !5
  %464 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %463, i32 0, i32 11
  %465 = load i64, ptr %10, align 8, !tbaa !65
  %466 = load i64, ptr %10, align 8, !tbaa !65
  %467 = load ptr, ptr %4, align 8, !tbaa !5
  %468 = call noundef double @_ZN11alglib_impl9sparsegetEPKNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %464, i64 noundef %465, i64 noundef %466, ptr noundef %467)
  %469 = load ptr, ptr %3, align 8, !tbaa !5
  %470 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %469, i32 0, i32 43
  %471 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %470, i32 0, i32 4
  %472 = load ptr, ptr %471, align 8, !tbaa !79
  %473 = load i64, ptr %10, align 8, !tbaa !65
  %474 = getelementptr inbounds double, ptr %472, i64 %473
  store double %468, ptr %474, align 8, !tbaa !80
  br label %475

475:                                              ; preds = %462
  %476 = load i64, ptr %10, align 8, !tbaa !65
  %477 = add nsw i64 %476, 1
  store i64 %477, ptr %10, align 8, !tbaa !65
  br label %457, !llvm.loop !94

478:                                              ; preds = %457
  br label %481

479:                                              ; preds = %451
  %480 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.1101, ptr noundef %480)
  br label %481

481:                                              ; preds = %479, %478
  br label %482

482:                                              ; preds = %481, %445
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %483

483:                                              ; preds = %518, %482
  %484 = load i64, ptr %10, align 8, !tbaa !65
  %485 = load i64, ptr %6, align 8, !tbaa !65
  %486 = sub nsw i64 %485, 1
  %487 = icmp sle i64 %484, %486
  br i1 %487, label %488, label %521

488:                                              ; preds = %483
  %489 = load ptr, ptr %3, align 8, !tbaa !5
  %490 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %489, i32 0, i32 43
  %491 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %490, i32 0, i32 4
  %492 = load ptr, ptr %491, align 8, !tbaa !79
  %493 = load i64, ptr %10, align 8, !tbaa !65
  %494 = getelementptr inbounds double, ptr %492, i64 %493
  %495 = load double, ptr %494, align 8, !tbaa !80
  %496 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %495, double noundef 0.000000e+00)
  br i1 %496, label %497, label %501

497:                                              ; preds = %488
  %498 = load ptr, ptr %3, align 8, !tbaa !5
  %499 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %498, i32 0, i32 35
  store i64 -9, ptr %499, align 8, !tbaa !68
  %500 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %500)
  store i32 1, ptr %22, align 4
  br label %2327

501:                                              ; preds = %488
  %502 = load ptr, ptr %3, align 8, !tbaa !5
  %503 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %502, i32 0, i32 43
  %504 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %503, i32 0, i32 4
  %505 = load ptr, ptr %504, align 8, !tbaa !79
  %506 = load i64, ptr %10, align 8, !tbaa !65
  %507 = getelementptr inbounds double, ptr %505, i64 %506
  %508 = load double, ptr %507, align 8, !tbaa !80
  %509 = load ptr, ptr %4, align 8, !tbaa !5
  %510 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %508, ptr noundef %509)
  %511 = fdiv double 1.000000e+00, %510
  %512 = load ptr, ptr %3, align 8, !tbaa !5
  %513 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %512, i32 0, i32 43
  %514 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %513, i32 0, i32 4
  %515 = load ptr, ptr %514, align 8, !tbaa !79
  %516 = load i64, ptr %10, align 8, !tbaa !65
  %517 = getelementptr inbounds double, ptr %515, i64 %516
  store double %511, ptr %517, align 8, !tbaa !80
  br label %518

518:                                              ; preds = %501
  %519 = load i64, ptr %10, align 8, !tbaa !65
  %520 = add nsw i64 %519, 1
  store i64 %520, ptr %10, align 8, !tbaa !65
  br label %483, !llvm.loop !95

521:                                              ; preds = %483
  br label %524

522:                                              ; preds = %435
  %523 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.1101, ptr noundef %523)
  br label %524

524:                                              ; preds = %522, %521
  br label %525

525:                                              ; preds = %524, %434
  %526 = load ptr, ptr %3, align 8, !tbaa !5
  %527 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %526, i32 0, i32 7
  %528 = load i64, ptr %527, align 8, !tbaa !96
  %529 = icmp eq i64 %528, 4
  br i1 %529, label %530, label %734

530:                                              ; preds = %525
  %531 = load ptr, ptr %3, align 8, !tbaa !5
  %532 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %531, i32 0, i32 27
  %533 = load ptr, ptr %4, align 8, !tbaa !5
  %534 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef %532, ptr noundef %533)
  %535 = load ptr, ptr %3, align 8, !tbaa !5
  %536 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %535, i32 0, i32 28
  %537 = load ptr, ptr %4, align 8, !tbaa !5
  %538 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %536, ptr noundef %537)
  %539 = add nsw i64 %534, %538
  %540 = icmp sgt i64 %539, 0
  br i1 %540, label %541, label %545

541:                                              ; preds = %530
  %542 = load ptr, ptr %3, align 8, !tbaa !5
  %543 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %542, i32 0, i32 35
  store i64 -5, ptr %543, align 8, !tbaa !68
  %544 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %544)
  store i32 1, ptr %22, align 4
  br label %2327

545:                                              ; preds = %530
  %546 = load ptr, ptr %3, align 8, !tbaa !5
  %547 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %546, i32 0, i32 26
  %548 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl15xlcconverttooldEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef %547, ptr noundef %548)
  %549 = load ptr, ptr %3, align 8, !tbaa !5
  %550 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %549, i32 0, i32 9
  %551 = load ptr, ptr %3, align 8, !tbaa !5
  %552 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %551, i32 0, i32 11
  %553 = load ptr, ptr %3, align 8, !tbaa !5
  %554 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %553, i32 0, i32 8
  %555 = load i64, ptr %554, align 8, !tbaa !93
  %556 = load ptr, ptr %3, align 8, !tbaa !5
  %557 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %556, i32 0, i32 12
  %558 = load i8, ptr %557, align 8, !tbaa !97, !range !85, !noundef !86
  %559 = trunc i8 %558 to i1
  %560 = load ptr, ptr %3, align 8, !tbaa !5
  %561 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %560, i32 0, i32 16
  %562 = load ptr, ptr %3, align 8, !tbaa !5
  %563 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %562, i32 0, i32 17
  %564 = load ptr, ptr %3, align 8, !tbaa !5
  %565 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %564, i32 0, i32 18
  %566 = load ptr, ptr %3, align 8, !tbaa !5
  %567 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %566, i32 0, i32 43
  %568 = load ptr, ptr %3, align 8, !tbaa !5
  %569 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %568, i32 0, i32 23
  %570 = load i64, ptr %6, align 8, !tbaa !65
  %571 = load ptr, ptr %3, align 8, !tbaa !5
  %572 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %571, i32 0, i32 26
  %573 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %572, i32 0, i32 11
  %574 = load ptr, ptr %3, align 8, !tbaa !5
  %575 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %574, i32 0, i32 26
  %576 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %575, i32 0, i32 9
  %577 = load i64, ptr %576, align 8, !tbaa !98
  %578 = load ptr, ptr %3, align 8, !tbaa !5
  %579 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %578, i32 0, i32 26
  %580 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %579, i32 0, i32 10
  %581 = load i64, ptr %580, align 8, !tbaa !99
  %582 = load ptr, ptr %3, align 8, !tbaa !5
  %583 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %582, i32 0, i32 50
  %584 = load ptr, ptr %3, align 8, !tbaa !5
  %585 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %584, i32 0, i32 5
  %586 = load i8, ptr %585, align 8, !tbaa !100, !range !85, !noundef !86
  %587 = trunc i8 %586 to i1
  %588 = xor i1 %587, true
  %589 = load ptr, ptr %3, align 8, !tbaa !5
  %590 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %589, i32 0, i32 2
  %591 = load ptr, ptr %3, align 8, !tbaa !5
  %592 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %591, i32 0, i32 56
  %593 = load ptr, ptr %3, align 8, !tbaa !5
  %594 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %593, i32 0, i32 29
  %595 = load ptr, ptr %3, align 8, !tbaa !5
  %596 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %595, i32 0, i32 36
  %597 = load ptr, ptr %3, align 8, !tbaa !5
  %598 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %597, i32 0, i32 47
  %599 = load ptr, ptr %3, align 8, !tbaa !5
  %600 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %599, i32 0, i32 35
  %601 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl18qpdenseauloptimizeEPKNS_20convexquadraticmodelEPKNS_12sparsematrixElbPKNS_9ae_vectorES8_S8_S8_S8_lPKNS_9ae_matrixEllS5_llbPKNS_18qpdenseaulsettingsEPNS_17qpdenseaulbuffersEPS6_SH_SH_PlPNS_8ae_stateE(ptr noundef %550, ptr noundef %552, i64 noundef %555, i1 noundef zeroext %559, ptr noundef %561, ptr noundef %563, ptr noundef %565, ptr noundef %567, ptr noundef %569, i64 noundef %570, ptr noundef %573, i64 noundef %577, i64 noundef %581, ptr noundef %583, i64 noundef 0, i64 noundef 0, i1 noundef zeroext %588, ptr noundef %590, ptr noundef %592, ptr noundef %594, ptr noundef %596, ptr noundef %598, ptr noundef %600, ptr noundef %601)
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %602

602:                                              ; preds = %659, %545
  %603 = load i64, ptr %10, align 8, !tbaa !65
  %604 = load ptr, ptr %3, align 8, !tbaa !5
  %605 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %604, i32 0, i32 26
  %606 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %605, i32 0, i32 9
  %607 = load i64, ptr %606, align 8, !tbaa !98
  %608 = load ptr, ptr %3, align 8, !tbaa !5
  %609 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %608, i32 0, i32 26
  %610 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %609, i32 0, i32 10
  %611 = load i64, ptr %610, align 8, !tbaa !99
  %612 = add nsw i64 %607, %611
  %613 = sub nsw i64 %612, 1
  %614 = icmp sle i64 %603, %613
  br i1 %614, label %615, label %662

615:                                              ; preds = %602
  %616 = load ptr, ptr %3, align 8, !tbaa !5
  %617 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %616, i32 0, i32 37
  %618 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %617, i32 0, i32 4
  %619 = load ptr, ptr %618, align 8, !tbaa !79
  %620 = load ptr, ptr %3, align 8, !tbaa !5
  %621 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %620, i32 0, i32 26
  %622 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %621, i32 0, i32 12
  %623 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %622, i32 0, i32 4
  %624 = load ptr, ptr %623, align 8, !tbaa !79
  %625 = load i64, ptr %10, align 8, !tbaa !65
  %626 = getelementptr inbounds i64, ptr %624, i64 %625
  %627 = load i64, ptr %626, align 8, !tbaa !65
  %628 = getelementptr inbounds double, ptr %619, i64 %627
  %629 = load double, ptr %628, align 8, !tbaa !80
  %630 = load ptr, ptr %3, align 8, !tbaa !5
  %631 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %630, i32 0, i32 47
  %632 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %631, i32 0, i32 4
  %633 = load ptr, ptr %632, align 8, !tbaa !79
  %634 = load i64, ptr %10, align 8, !tbaa !65
  %635 = getelementptr inbounds double, ptr %633, i64 %634
  %636 = load double, ptr %635, align 8, !tbaa !80
  %637 = load ptr, ptr %3, align 8, !tbaa !5
  %638 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %637, i32 0, i32 26
  %639 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %638, i32 0, i32 13
  %640 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %639, i32 0, i32 4
  %641 = load ptr, ptr %640, align 8, !tbaa !79
  %642 = load i64, ptr %10, align 8, !tbaa !65
  %643 = getelementptr inbounds double, ptr %641, i64 %642
  %644 = load double, ptr %643, align 8, !tbaa !80
  %645 = call double @llvm.fmuladd.f64(double %636, double %644, double %629)
  %646 = load ptr, ptr %3, align 8, !tbaa !5
  %647 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %646, i32 0, i32 37
  %648 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %647, i32 0, i32 4
  %649 = load ptr, ptr %648, align 8, !tbaa !79
  %650 = load ptr, ptr %3, align 8, !tbaa !5
  %651 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %650, i32 0, i32 26
  %652 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %651, i32 0, i32 12
  %653 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %652, i32 0, i32 4
  %654 = load ptr, ptr %653, align 8, !tbaa !79
  %655 = load i64, ptr %10, align 8, !tbaa !65
  %656 = getelementptr inbounds i64, ptr %654, i64 %655
  %657 = load i64, ptr %656, align 8, !tbaa !65
  %658 = getelementptr inbounds double, ptr %649, i64 %657
  store double %645, ptr %658, align 8, !tbaa !80
  br label %659

659:                                              ; preds = %615
  %660 = load i64, ptr %10, align 8, !tbaa !65
  %661 = add nsw i64 %660, 1
  store i64 %661, ptr %10, align 8, !tbaa !65
  br label %602, !llvm.loop !101

662:                                              ; preds = %602
  %663 = load ptr, ptr %3, align 8, !tbaa !5
  %664 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %663, i32 0, i32 56
  %665 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %664, i32 0, i32 36
  %666 = load i64, ptr %665, align 8, !tbaa !102
  %667 = load ptr, ptr %3, align 8, !tbaa !5
  %668 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %667, i32 0, i32 31
  store i64 %666, ptr %668, align 8, !tbaa !69
  %669 = load ptr, ptr %3, align 8, !tbaa !5
  %670 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %669, i32 0, i32 56
  %671 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %670, i32 0, i32 37
  %672 = load i64, ptr %671, align 8, !tbaa !103
  %673 = load ptr, ptr %3, align 8, !tbaa !5
  %674 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %673, i32 0, i32 32
  store i64 %672, ptr %674, align 8, !tbaa !70
  %675 = load ptr, ptr %3, align 8, !tbaa !5
  %676 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %675, i32 0, i32 56
  %677 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %676, i32 0, i32 38
  %678 = load i64, ptr %677, align 8, !tbaa !104
  %679 = load ptr, ptr %3, align 8, !tbaa !5
  %680 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %679, i32 0, i32 33
  store i64 %678, ptr %680, align 8, !tbaa !71
  %681 = load ptr, ptr %3, align 8, !tbaa !5
  %682 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %681, i32 0, i32 35
  %683 = load i64, ptr %682, align 8, !tbaa !68
  %684 = icmp sgt i64 %683, 0
  br i1 %684, label %685, label %732

685:                                              ; preds = %662
  %686 = load ptr, ptr %3, align 8, !tbaa !5
  %687 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %686, i32 0, i32 8
  %688 = load i64, ptr %687, align 8, !tbaa !93
  %689 = icmp eq i64 %688, 0
  br i1 %689, label %690, label %699

690:                                              ; preds = %685
  %691 = load ptr, ptr %3, align 8, !tbaa !5
  %692 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %691, i32 0, i32 9
  %693 = load ptr, ptr %3, align 8, !tbaa !5
  %694 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %693, i32 0, i32 29
  %695 = load ptr, ptr %4, align 8, !tbaa !5
  %696 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %692, ptr noundef %694, ptr noundef %695)
  %697 = load ptr, ptr %3, align 8, !tbaa !5
  %698 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %697, i32 0, i32 30
  store double %696, ptr %698, align 8, !tbaa !78
  br label %699

699:                                              ; preds = %690, %685
  %700 = load ptr, ptr %3, align 8, !tbaa !5
  %701 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %700, i32 0, i32 8
  %702 = load i64, ptr %701, align 8, !tbaa !93
  %703 = icmp eq i64 %702, 1
  br i1 %703, label %704, label %718

704:                                              ; preds = %699
  %705 = load ptr, ptr %3, align 8, !tbaa !5
  %706 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %705, i32 0, i32 11
  %707 = load ptr, ptr %3, align 8, !tbaa !5
  %708 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %707, i32 0, i32 12
  %709 = load i8, ptr %708, align 8, !tbaa !97, !range !85, !noundef !86
  %710 = trunc i8 %709 to i1
  %711 = load ptr, ptr %3, align 8, !tbaa !5
  %712 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %711, i32 0, i32 29
  %713 = load ptr, ptr %4, align 8, !tbaa !5
  %714 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %706, i1 noundef zeroext %710, ptr noundef %712, ptr noundef %713)
  %715 = fmul double 5.000000e-01, %714
  %716 = load ptr, ptr %3, align 8, !tbaa !5
  %717 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %716, i32 0, i32 30
  store double %715, ptr %717, align 8, !tbaa !78
  br label %718

718:                                              ; preds = %704, %699
  %719 = load ptr, ptr %3, align 8, !tbaa !5
  %720 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %719, i32 0, i32 30
  %721 = load double, ptr %720, align 8, !tbaa !78
  %722 = load i64, ptr %6, align 8, !tbaa !65
  %723 = load ptr, ptr %3, align 8, !tbaa !5
  %724 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %723, i32 0, i32 16
  %725 = load ptr, ptr %3, align 8, !tbaa !5
  %726 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %725, i32 0, i32 29
  %727 = load ptr, ptr %4, align 8, !tbaa !5
  %728 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %722, ptr noundef %724, ptr noundef %726, ptr noundef %727)
  %729 = fadd double %721, %728
  %730 = load ptr, ptr %3, align 8, !tbaa !5
  %731 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %730, i32 0, i32 30
  store double %729, ptr %731, align 8, !tbaa !78
  br label %732

732:                                              ; preds = %718, %662
  %733 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %733)
  store i32 1, ptr %22, align 4
  br label %2327

734:                                              ; preds = %525
  %735 = load ptr, ptr %3, align 8, !tbaa !5
  %736 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %735, i32 0, i32 7
  %737 = load i64, ptr %736, align 8, !tbaa !96
  %738 = icmp eq i64 %737, 3
  br i1 %738, label %739, label %869

739:                                              ; preds = %734
  %740 = load ptr, ptr %3, align 8, !tbaa !5
  %741 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %740, i32 0, i32 26
  %742 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %741, i32 0, i32 1
  %743 = load i64, ptr %742, align 8, !tbaa !66
  %744 = load ptr, ptr %3, align 8, !tbaa !5
  %745 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %744, i32 0, i32 26
  %746 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %745, i32 0, i32 2
  %747 = load i64, ptr %746, align 8, !tbaa !67
  %748 = add nsw i64 %743, %747
  %749 = load ptr, ptr %3, align 8, !tbaa !5
  %750 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %749, i32 0, i32 27
  %751 = load ptr, ptr %4, align 8, !tbaa !5
  %752 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef %750, ptr noundef %751)
  %753 = add nsw i64 %748, %752
  %754 = load ptr, ptr %3, align 8, !tbaa !5
  %755 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %754, i32 0, i32 28
  %756 = load ptr, ptr %4, align 8, !tbaa !5
  %757 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %755, ptr noundef %756)
  %758 = add nsw i64 %753, %757
  %759 = icmp sgt i64 %758, 0
  br i1 %759, label %760, label %764

760:                                              ; preds = %739
  %761 = load ptr, ptr %3, align 8, !tbaa !5
  %762 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %761, i32 0, i32 35
  store i64 -5, ptr %762, align 8, !tbaa !68
  %763 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %763)
  store i32 1, ptr %22, align 4
  br label %2327

764:                                              ; preds = %739
  %765 = load ptr, ptr %3, align 8, !tbaa !5
  %766 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %765, i32 0, i32 9
  %767 = load ptr, ptr %3, align 8, !tbaa !5
  %768 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %767, i32 0, i32 11
  %769 = load ptr, ptr %3, align 8, !tbaa !5
  %770 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %769, i32 0, i32 49
  %771 = load ptr, ptr %3, align 8, !tbaa !5
  %772 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %771, i32 0, i32 8
  %773 = load i64, ptr %772, align 8, !tbaa !93
  %774 = load ptr, ptr %3, align 8, !tbaa !5
  %775 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %774, i32 0, i32 12
  %776 = load i8, ptr %775, align 8, !tbaa !97, !range !85, !noundef !86
  %777 = trunc i8 %776 to i1
  %778 = load ptr, ptr %3, align 8, !tbaa !5
  %779 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %778, i32 0, i32 16
  %780 = load ptr, ptr %3, align 8, !tbaa !5
  %781 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %780, i32 0, i32 17
  %782 = load ptr, ptr %3, align 8, !tbaa !5
  %783 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %782, i32 0, i32 18
  %784 = load ptr, ptr %3, align 8, !tbaa !5
  %785 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %784, i32 0, i32 43
  %786 = load ptr, ptr %3, align 8, !tbaa !5
  %787 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %786, i32 0, i32 23
  %788 = load i64, ptr %6, align 8, !tbaa !65
  %789 = load ptr, ptr %3, align 8, !tbaa !5
  %790 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %789, i32 0, i32 1
  %791 = load ptr, ptr %3, align 8, !tbaa !5
  %792 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %791, i32 0, i32 55
  %793 = load ptr, ptr %3, align 8, !tbaa !5
  %794 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %793, i32 0, i32 29
  %795 = load ptr, ptr %3, align 8, !tbaa !5
  %796 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %795, i32 0, i32 35
  %797 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11qqpoptimizeEPKNS_20convexquadraticmodelEPKNS_12sparsematrixEPKNS_9ae_matrixElbPKNS_9ae_vectorESB_SB_SB_SB_lPKNS_11qqpsettingsEPNS_10qqpbuffersEPS9_PlPNS_8ae_stateE(ptr noundef %766, ptr noundef %768, ptr noundef %770, i64 noundef %773, i1 noundef zeroext %777, ptr noundef %779, ptr noundef %781, ptr noundef %783, ptr noundef %785, ptr noundef %787, i64 noundef %788, ptr noundef %790, ptr noundef %792, ptr noundef %794, ptr noundef %796, ptr noundef %797)
  %798 = load ptr, ptr %3, align 8, !tbaa !5
  %799 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %798, i32 0, i32 55
  %800 = getelementptr inbounds %"struct.alglib_impl::qqpbuffers", ptr %799, i32 0, i32 37
  %801 = load i64, ptr %800, align 8, !tbaa !105
  %802 = load ptr, ptr %3, align 8, !tbaa !5
  %803 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %802, i32 0, i32 31
  store i64 %801, ptr %803, align 8, !tbaa !69
  %804 = load ptr, ptr %3, align 8, !tbaa !5
  %805 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %804, i32 0, i32 55
  %806 = getelementptr inbounds %"struct.alglib_impl::qqpbuffers", ptr %805, i32 0, i32 38
  %807 = load i64, ptr %806, align 8, !tbaa !106
  %808 = load ptr, ptr %3, align 8, !tbaa !5
  %809 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %808, i32 0, i32 32
  store i64 %807, ptr %809, align 8, !tbaa !70
  %810 = load ptr, ptr %3, align 8, !tbaa !5
  %811 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %810, i32 0, i32 55
  %812 = getelementptr inbounds %"struct.alglib_impl::qqpbuffers", ptr %811, i32 0, i32 39
  %813 = load i64, ptr %812, align 8, !tbaa !107
  %814 = load ptr, ptr %3, align 8, !tbaa !5
  %815 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %814, i32 0, i32 33
  store i64 %813, ptr %815, align 8, !tbaa !71
  %816 = load ptr, ptr %3, align 8, !tbaa !5
  %817 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %816, i32 0, i32 35
  %818 = load i64, ptr %817, align 8, !tbaa !68
  %819 = icmp sgt i64 %818, 0
  br i1 %819, label %820, label %867

820:                                              ; preds = %764
  %821 = load ptr, ptr %3, align 8, !tbaa !5
  %822 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %821, i32 0, i32 8
  %823 = load i64, ptr %822, align 8, !tbaa !93
  %824 = icmp eq i64 %823, 0
  br i1 %824, label %825, label %834

825:                                              ; preds = %820
  %826 = load ptr, ptr %3, align 8, !tbaa !5
  %827 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %826, i32 0, i32 9
  %828 = load ptr, ptr %3, align 8, !tbaa !5
  %829 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %828, i32 0, i32 29
  %830 = load ptr, ptr %4, align 8, !tbaa !5
  %831 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %827, ptr noundef %829, ptr noundef %830)
  %832 = load ptr, ptr %3, align 8, !tbaa !5
  %833 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %832, i32 0, i32 30
  store double %831, ptr %833, align 8, !tbaa !78
  br label %834

834:                                              ; preds = %825, %820
  %835 = load ptr, ptr %3, align 8, !tbaa !5
  %836 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %835, i32 0, i32 8
  %837 = load i64, ptr %836, align 8, !tbaa !93
  %838 = icmp eq i64 %837, 1
  br i1 %838, label %839, label %853

839:                                              ; preds = %834
  %840 = load ptr, ptr %3, align 8, !tbaa !5
  %841 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %840, i32 0, i32 11
  %842 = load ptr, ptr %3, align 8, !tbaa !5
  %843 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %842, i32 0, i32 12
  %844 = load i8, ptr %843, align 8, !tbaa !97, !range !85, !noundef !86
  %845 = trunc i8 %844 to i1
  %846 = load ptr, ptr %3, align 8, !tbaa !5
  %847 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %846, i32 0, i32 29
  %848 = load ptr, ptr %4, align 8, !tbaa !5
  %849 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %841, i1 noundef zeroext %845, ptr noundef %847, ptr noundef %848)
  %850 = fmul double 5.000000e-01, %849
  %851 = load ptr, ptr %3, align 8, !tbaa !5
  %852 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %851, i32 0, i32 30
  store double %850, ptr %852, align 8, !tbaa !78
  br label %853

853:                                              ; preds = %839, %834
  %854 = load ptr, ptr %3, align 8, !tbaa !5
  %855 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %854, i32 0, i32 30
  %856 = load double, ptr %855, align 8, !tbaa !78
  %857 = load i64, ptr %6, align 8, !tbaa !65
  %858 = load ptr, ptr %3, align 8, !tbaa !5
  %859 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %858, i32 0, i32 16
  %860 = load ptr, ptr %3, align 8, !tbaa !5
  %861 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %860, i32 0, i32 29
  %862 = load ptr, ptr %4, align 8, !tbaa !5
  %863 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %857, ptr noundef %859, ptr noundef %861, ptr noundef %862)
  %864 = fadd double %856, %863
  %865 = load ptr, ptr %3, align 8, !tbaa !5
  %866 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %865, i32 0, i32 30
  store double %864, ptr %866, align 8, !tbaa !78
  br label %867

867:                                              ; preds = %853, %764
  %868 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %868)
  store i32 1, ptr %22, align 4
  br label %2327

869:                                              ; preds = %734
  %870 = load ptr, ptr %3, align 8, !tbaa !5
  %871 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %870, i32 0, i32 7
  %872 = load i64, ptr %871, align 8, !tbaa !96
  %873 = icmp eq i64 %872, 5
  br i1 %873, label %879, label %874

874:                                              ; preds = %869
  %875 = load ptr, ptr %3, align 8, !tbaa !5
  %876 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %875, i32 0, i32 7
  %877 = load i64, ptr %876, align 8, !tbaa !96
  %878 = icmp eq i64 %877, 6
  br i1 %878, label %879, label %1354

879:                                              ; preds = %874, %869
  %880 = load ptr, ptr %3, align 8, !tbaa !5
  %881 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %880, i32 0, i32 27
  %882 = load ptr, ptr %4, align 8, !tbaa !5
  %883 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef %881, ptr noundef %882)
  %884 = load ptr, ptr %3, align 8, !tbaa !5
  %885 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %884, i32 0, i32 28
  %886 = load ptr, ptr %4, align 8, !tbaa !5
  %887 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %885, ptr noundef %886)
  %888 = add nsw i64 %883, %887
  %889 = icmp sgt i64 %888, 0
  br i1 %889, label %890, label %898

890:                                              ; preds = %879
  %891 = load ptr, ptr %3, align 8, !tbaa !5
  %892 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %891, i32 0, i32 35
  store i64 -5, ptr %892, align 8, !tbaa !68
  %893 = load i64, ptr %6, align 8, !tbaa !65
  %894 = load ptr, ptr %3, align 8, !tbaa !5
  %895 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %894, i32 0, i32 29
  %896 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %893, double noundef 0.000000e+00, ptr noundef %895, ptr noundef %896)
  %897 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %897)
  store i32 1, ptr %22, align 4
  br label %2327

898:                                              ; preds = %879
  %899 = load ptr, ptr %3, align 8, !tbaa !5
  %900 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %899, i32 0, i32 26
  %901 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl18xlcconverttosparseEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef %900, ptr noundef %901)
  %902 = load ptr, ptr %3, align 8, !tbaa !5
  %903 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %902, i32 0, i32 8
  %904 = load i64, ptr %903, align 8, !tbaa !93
  %905 = icmp eq i64 %904, 0
  br i1 %905, label %911, label %906

906:                                              ; preds = %898
  %907 = load ptr, ptr %3, align 8, !tbaa !5
  %908 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %907, i32 0, i32 8
  %909 = load i64, ptr %908, align 8, !tbaa !93
  %910 = icmp eq i64 %909, 1
  br label %911

911:                                              ; preds = %906, %898
  %912 = phi i1 [ true, %898 ], [ %910, %906 ]
  %913 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %912, ptr noundef @.str.1102, ptr noundef %913)
  %914 = load ptr, ptr %3, align 8, !tbaa !5
  %915 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %914, i32 0, i32 8
  %916 = load i64, ptr %915, align 8, !tbaa !93
  %917 = icmp eq i64 %916, 0
  br i1 %917, label %918, label %931

918:                                              ; preds = %911
  %919 = load ptr, ptr %3, align 8, !tbaa !5
  %920 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %919, i32 0, i32 9
  %921 = load ptr, ptr %3, align 8, !tbaa !5
  %922 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %921, i32 0, i32 51
  %923 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl7cqmgetaEPKNS_20convexquadraticmodelEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %920, ptr noundef %922, ptr noundef %923)
  %924 = load ptr, ptr %3, align 8, !tbaa !5
  %925 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %924, i32 0, i32 51
  %926 = load i64, ptr %6, align 8, !tbaa !65
  %927 = load i64, ptr %6, align 8, !tbaa !65
  %928 = load ptr, ptr %3, align 8, !tbaa !5
  %929 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %928, i32 0, i32 11
  %930 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl27sparsecreatecrsfromdensebufEPKNS_9ae_matrixEllPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %925, i64 noundef %926, i64 noundef %927, ptr noundef %929, ptr noundef %930)
  br label %931

931:                                              ; preds = %918, %911
  %932 = load ptr, ptr %3, align 8, !tbaa !5
  %933 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %932, i32 0, i32 6
  %934 = load i8, ptr %933, align 1, !tbaa !108, !range !85, !noundef !86
  %935 = trunc i8 %934 to i1
  br i1 %935, label %936, label %973

936:                                              ; preds = %931
  %937 = load ptr, ptr %3, align 8, !tbaa !5
  %938 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %937, i32 0, i32 43
  %939 = load ptr, ptr %3, align 8, !tbaa !5
  %940 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %939, i32 0, i32 23
  %941 = load ptr, ptr %3, align 8, !tbaa !5
  %942 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %941, i32 0, i32 16
  %943 = load ptr, ptr %3, align 8, !tbaa !5
  %944 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %943, i32 0, i32 17
  %945 = load ptr, ptr %3, align 8, !tbaa !5
  %946 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %945, i32 0, i32 18
  %947 = load ptr, ptr %3, align 8, !tbaa !5
  %948 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %947, i32 0, i32 11
  %949 = load ptr, ptr %3, align 8, !tbaa !5
  %950 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %949, i32 0, i32 12
  %951 = load i8, ptr %950, align 8, !tbaa !97, !range !85, !noundef !86
  %952 = trunc i8 %951 to i1
  %953 = load i64, ptr %6, align 8, !tbaa !65
  %954 = load ptr, ptr %3, align 8, !tbaa !5
  %955 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %954, i32 0, i32 26
  %956 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %955, i32 0, i32 14
  %957 = load ptr, ptr %3, align 8, !tbaa !5
  %958 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %957, i32 0, i32 26
  %959 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %958, i32 0, i32 15
  %960 = load ptr, ptr %3, align 8, !tbaa !5
  %961 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %960, i32 0, i32 26
  %962 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %961, i32 0, i32 16
  %963 = load i64, ptr %7, align 8, !tbaa !65
  %964 = load ptr, ptr %3, align 8, !tbaa !5
  %965 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %964, i32 0, i32 27
  %966 = load ptr, ptr %3, align 8, !tbaa !5
  %967 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %966, i32 0, i32 28
  %968 = load i8, ptr %12, align 1, !tbaa !75, !range !85, !noundef !86
  %969 = trunc i8 %968 to i1
  %970 = load ptr, ptr %3, align 8, !tbaa !5
  %971 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %970, i32 0, i32 52
  %972 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10presolveqpEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef %938, ptr noundef %940, ptr noundef %942, ptr noundef %944, ptr noundef %946, ptr noundef %948, i1 noundef zeroext %952, i1 noundef zeroext true, i64 noundef %953, ptr noundef %956, ptr noundef %959, ptr noundef %962, i64 noundef %963, ptr noundef %965, ptr noundef %967, i1 noundef zeroext %969, ptr noundef %971, ptr noundef %972)
  br label %1010

973:                                              ; preds = %931
  %974 = load ptr, ptr %3, align 8, !tbaa !5
  %975 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %974, i32 0, i32 43
  %976 = load ptr, ptr %3, align 8, !tbaa !5
  %977 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %976, i32 0, i32 23
  %978 = load ptr, ptr %3, align 8, !tbaa !5
  %979 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %978, i32 0, i32 16
  %980 = load ptr, ptr %3, align 8, !tbaa !5
  %981 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %980, i32 0, i32 17
  %982 = load ptr, ptr %3, align 8, !tbaa !5
  %983 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %982, i32 0, i32 18
  %984 = load ptr, ptr %3, align 8, !tbaa !5
  %985 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %984, i32 0, i32 11
  %986 = load ptr, ptr %3, align 8, !tbaa !5
  %987 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %986, i32 0, i32 12
  %988 = load i8, ptr %987, align 8, !tbaa !97, !range !85, !noundef !86
  %989 = trunc i8 %988 to i1
  %990 = load i64, ptr %6, align 8, !tbaa !65
  %991 = load ptr, ptr %3, align 8, !tbaa !5
  %992 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %991, i32 0, i32 26
  %993 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %992, i32 0, i32 14
  %994 = load ptr, ptr %3, align 8, !tbaa !5
  %995 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %994, i32 0, i32 26
  %996 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %995, i32 0, i32 15
  %997 = load ptr, ptr %3, align 8, !tbaa !5
  %998 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %997, i32 0, i32 26
  %999 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %998, i32 0, i32 16
  %1000 = load i64, ptr %7, align 8, !tbaa !65
  %1001 = load ptr, ptr %3, align 8, !tbaa !5
  %1002 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1001, i32 0, i32 27
  %1003 = load ptr, ptr %3, align 8, !tbaa !5
  %1004 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1003, i32 0, i32 28
  %1005 = load i8, ptr %12, align 1, !tbaa !75, !range !85, !noundef !86
  %1006 = trunc i8 %1005 to i1
  %1007 = load ptr, ptr %3, align 8, !tbaa !5
  %1008 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1007, i32 0, i32 52
  %1009 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef %975, ptr noundef %977, ptr noundef %979, ptr noundef %981, ptr noundef %983, ptr noundef %985, i1 noundef zeroext %989, i1 noundef zeroext true, i64 noundef %990, ptr noundef %993, ptr noundef %996, ptr noundef %999, i64 noundef %1000, ptr noundef %1002, ptr noundef %1004, i1 noundef zeroext %1006, ptr noundef %1008, ptr noundef %1009)
  br label %1010

1010:                                             ; preds = %973, %936
  %1011 = load ptr, ptr %3, align 8, !tbaa !5
  %1012 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1011, i32 0, i32 52
  %1013 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1012, i32 0, i32 16
  %1014 = load i64, ptr %1013, align 8, !tbaa !109
  %1015 = icmp eq i64 %1014, -3
  br i1 %1015, label %1022, label %1016

1016:                                             ; preds = %1010
  %1017 = load ptr, ptr %3, align 8, !tbaa !5
  %1018 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1017, i32 0, i32 52
  %1019 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1018, i32 0, i32 16
  %1020 = load i64, ptr %1019, align 8, !tbaa !109
  %1021 = icmp eq i64 %1020, -2
  br i1 %1021, label %1022, label %1034

1022:                                             ; preds = %1016, %1010
  %1023 = load ptr, ptr %3, align 8, !tbaa !5
  %1024 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1023, i32 0, i32 52
  %1025 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1024, i32 0, i32 16
  %1026 = load i64, ptr %1025, align 8, !tbaa !109
  %1027 = load ptr, ptr %3, align 8, !tbaa !5
  %1028 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1027, i32 0, i32 35
  store i64 %1026, ptr %1028, align 8, !tbaa !68
  %1029 = load i64, ptr %6, align 8, !tbaa !65
  %1030 = load ptr, ptr %3, align 8, !tbaa !5
  %1031 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1030, i32 0, i32 29
  %1032 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1029, double noundef 0.000000e+00, ptr noundef %1031, ptr noundef %1032)
  %1033 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1033)
  store i32 1, ptr %22, align 4
  br label %2327

1034:                                             ; preds = %1016
  %1035 = load ptr, ptr %3, align 8, !tbaa !5
  %1036 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1035, i32 0, i32 52
  %1037 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1036, i32 0, i32 16
  %1038 = load i64, ptr %1037, align 8, !tbaa !109
  %1039 = icmp eq i64 %1038, 0
  %1040 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %1039, ptr noundef @.str.1103, ptr noundef %1040)
  %1041 = load ptr, ptr %3, align 8, !tbaa !5
  %1042 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1041, i32 0, i32 52
  %1043 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1042, i32 0, i32 0
  %1044 = load i64, ptr %1043, align 8, !tbaa !110
  %1045 = icmp sgt i64 %1044, 0
  br i1 %1045, label %1046, label %1253

1046:                                             ; preds = %1034
  %1047 = load ptr, ptr %3, align 8, !tbaa !5
  %1048 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1047, i32 0, i32 7
  %1049 = load i64, ptr %1048, align 8, !tbaa !96
  %1050 = icmp eq i64 %1049, 5
  br i1 %1050, label %1051, label %1152

1051:                                             ; preds = %1046
  %1052 = load ptr, ptr %3, align 8, !tbaa !5
  %1053 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1052, i32 0, i32 52
  %1054 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1053, i32 0, i32 0
  %1055 = load i64, ptr %1054, align 8, !tbaa !110
  %1056 = load ptr, ptr %3, align 8, !tbaa !5
  %1057 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1056, i32 0, i32 44
  %1058 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1055, double noundef 0.000000e+00, ptr noundef %1057, ptr noundef %1058)
  %1059 = load ptr, ptr %3, align 8, !tbaa !5
  %1060 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1059, i32 0, i32 52
  %1061 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1060, i32 0, i32 0
  %1062 = load i64, ptr %1061, align 8, !tbaa !110
  %1063 = load ptr, ptr %3, align 8, !tbaa !5
  %1064 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1063, i32 0, i32 45
  %1065 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1062, double noundef 1.000000e+00, ptr noundef %1064, ptr noundef %1065)
  %1066 = load ptr, ptr %3, align 8, !tbaa !5
  %1067 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1066, i32 0, i32 57
  %1068 = load ptr, ptr %3, align 8, !tbaa !5
  %1069 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1068, i32 0, i32 45
  %1070 = load ptr, ptr %3, align 8, !tbaa !5
  %1071 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1070, i32 0, i32 44
  %1072 = load ptr, ptr %3, align 8, !tbaa !5
  %1073 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1072, i32 0, i32 52
  %1074 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1073, i32 0, i32 0
  %1075 = load i64, ptr %1074, align 8, !tbaa !110
  %1076 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13vipminitdenseEPNS_9vipmstateEPKNS_9ae_vectorES4_lbPNS_8ae_stateE(ptr noundef %1067, ptr noundef %1069, ptr noundef %1071, i64 noundef %1075, i1 noundef zeroext false, ptr noundef %1076)
  %1077 = load ptr, ptr %3, align 8, !tbaa !5
  %1078 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1077, i32 0, i32 57
  %1079 = load ptr, ptr %3, align 8, !tbaa !5
  %1080 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1079, i32 0, i32 51
  %1081 = load ptr, ptr %3, align 8, !tbaa !5
  %1082 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1081, i32 0, i32 52
  %1083 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1082, i32 0, i32 21
  %1084 = load ptr, ptr %3, align 8, !tbaa !5
  %1085 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1084, i32 0, i32 52
  %1086 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1085, i32 0, i32 18
  %1087 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl22vipmsetquadraticlinearEPNS_9vipmstateEPKNS_9ae_matrixEPKNS_12sparsematrixElbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %1078, ptr noundef %1080, ptr noundef %1083, i64 noundef 1, i1 noundef zeroext false, ptr noundef %1086, ptr noundef %1087)
  %1088 = load ptr, ptr %3, align 8, !tbaa !5
  %1089 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1088, i32 0, i32 57
  %1090 = load ptr, ptr %3, align 8, !tbaa !5
  %1091 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1090, i32 0, i32 52
  %1092 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1091, i32 0, i32 19
  %1093 = load ptr, ptr %3, align 8, !tbaa !5
  %1094 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1093, i32 0, i32 52
  %1095 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1094, i32 0, i32 20
  %1096 = load ptr, ptr %3, align 8, !tbaa !5
  %1097 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1096, i32 0, i32 52
  %1098 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1097, i32 0, i32 22
  %1099 = load ptr, ptr %3, align 8, !tbaa !5
  %1100 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1099, i32 0, i32 52
  %1101 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1100, i32 0, i32 4
  %1102 = load i64, ptr %1101, align 8, !tbaa !111
  %1103 = load ptr, ptr %3, align 8, !tbaa !5
  %1104 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1103, i32 0, i32 49
  %1105 = load ptr, ptr %3, align 8, !tbaa !5
  %1106 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1105, i32 0, i32 52
  %1107 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1106, i32 0, i32 23
  %1108 = load ptr, ptr %3, align 8, !tbaa !5
  %1109 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1108, i32 0, i32 52
  %1110 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1109, i32 0, i32 24
  %1111 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl18vipmsetconstraintsEPNS_9vipmstateEPKNS_9ae_vectorES4_PKNS_12sparsematrixElPKNS_9ae_matrixElS4_S4_PNS_8ae_stateE(ptr noundef %1089, ptr noundef %1092, ptr noundef %1095, ptr noundef %1098, i64 noundef %1102, ptr noundef %1104, i64 noundef 0, ptr noundef %1107, ptr noundef %1110, ptr noundef %1111)
  %1112 = load ptr, ptr %3, align 8, !tbaa !5
  %1113 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1112, i32 0, i32 57
  %1114 = load ptr, ptr %3, align 8, !tbaa !5
  %1115 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1114, i32 0, i32 3
  %1116 = load double, ptr %1115, align 8, !tbaa !112
  %1117 = load ptr, ptr %3, align 8, !tbaa !5
  %1118 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1117, i32 0, i32 3
  %1119 = load double, ptr %1118, align 8, !tbaa !112
  %1120 = load ptr, ptr %3, align 8, !tbaa !5
  %1121 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1120, i32 0, i32 3
  %1122 = load double, ptr %1121, align 8, !tbaa !112
  %1123 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11vipmsetcondEPNS_9vipmstateEdddPNS_8ae_stateE(ptr noundef %1113, double noundef %1116, double noundef %1119, double noundef %1122, ptr noundef %1123)
  %1124 = load ptr, ptr %3, align 8, !tbaa !5
  %1125 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1124, i32 0, i32 57
  %1126 = load ptr, ptr %3, align 8, !tbaa !5
  %1127 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1126, i32 0, i32 29
  %1128 = load ptr, ptr %3, align 8, !tbaa !5
  %1129 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1128, i32 0, i32 36
  %1130 = load ptr, ptr %3, align 8, !tbaa !5
  %1131 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1130, i32 0, i32 37
  %1132 = load ptr, ptr %3, align 8, !tbaa !5
  %1133 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1132, i32 0, i32 35
  %1134 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl12vipmoptimizeEPNS_9vipmstateEbPNS_9ae_vectorES3_S3_PlPNS_8ae_stateE(ptr noundef %1125, i1 noundef zeroext true, ptr noundef %1127, ptr noundef %1129, ptr noundef %1131, ptr noundef %1133, ptr noundef %1134)
  %1135 = load ptr, ptr %3, align 8, !tbaa !5
  %1136 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1135, i32 0, i32 57
  %1137 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %1136, i32 0, i32 50
  %1138 = load i64, ptr %1137, align 8, !tbaa !113
  %1139 = load ptr, ptr %3, align 8, !tbaa !5
  %1140 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1139, i32 0, i32 31
  store i64 %1138, ptr %1140, align 8, !tbaa !69
  %1141 = load ptr, ptr %3, align 8, !tbaa !5
  %1142 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1141, i32 0, i32 31
  %1143 = load i64, ptr %1142, align 8, !tbaa !69
  %1144 = load ptr, ptr %3, align 8, !tbaa !5
  %1145 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1144, i32 0, i32 32
  store i64 %1143, ptr %1145, align 8, !tbaa !70
  %1146 = load ptr, ptr %3, align 8, !tbaa !5
  %1147 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1146, i32 0, i32 57
  %1148 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %1147, i32 0, i32 51
  %1149 = load i64, ptr %1148, align 8, !tbaa !114
  %1150 = load ptr, ptr %3, align 8, !tbaa !5
  %1151 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1150, i32 0, i32 33
  store i64 %1149, ptr %1151, align 8, !tbaa !71
  br label %1252

1152:                                             ; preds = %1046
  %1153 = load ptr, ptr %3, align 8, !tbaa !5
  %1154 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1153, i32 0, i32 52
  %1155 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1154, i32 0, i32 0
  %1156 = load i64, ptr %1155, align 8, !tbaa !110
  %1157 = load ptr, ptr %3, align 8, !tbaa !5
  %1158 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1157, i32 0, i32 44
  %1159 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1156, double noundef 0.000000e+00, ptr noundef %1158, ptr noundef %1159)
  %1160 = load ptr, ptr %3, align 8, !tbaa !5
  %1161 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1160, i32 0, i32 52
  %1162 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1161, i32 0, i32 0
  %1163 = load i64, ptr %1162, align 8, !tbaa !110
  %1164 = load ptr, ptr %3, align 8, !tbaa !5
  %1165 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1164, i32 0, i32 45
  %1166 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1163, double noundef 1.000000e+00, ptr noundef %1165, ptr noundef %1166)
  %1167 = load ptr, ptr %3, align 8, !tbaa !5
  %1168 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1167, i32 0, i32 58
  %1169 = load ptr, ptr %3, align 8, !tbaa !5
  %1170 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1169, i32 0, i32 45
  %1171 = load ptr, ptr %3, align 8, !tbaa !5
  %1172 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1171, i32 0, i32 44
  %1173 = load ptr, ptr %3, align 8, !tbaa !5
  %1174 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1173, i32 0, i32 52
  %1175 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1174, i32 0, i32 0
  %1176 = load i64, ptr %1175, align 8, !tbaa !110
  %1177 = load ptr, ptr %3, align 8, !tbaa !5
  %1178 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1177, i32 0, i32 51
  %1179 = load ptr, ptr %3, align 8, !tbaa !5
  %1180 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1179, i32 0, i32 52
  %1181 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1180, i32 0, i32 21
  %1182 = load ptr, ptr %3, align 8, !tbaa !5
  %1183 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1182, i32 0, i32 49
  %1184 = load ptr, ptr %3, align 8, !tbaa !5
  %1185 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1184, i32 0, i32 48
  %1186 = load ptr, ptr %3, align 8, !tbaa !5
  %1187 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1186, i32 0, i32 52
  %1188 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1187, i32 0, i32 18
  %1189 = load ptr, ptr %3, align 8, !tbaa !5
  %1190 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1189, i32 0, i32 52
  %1191 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1190, i32 0, i32 19
  %1192 = load ptr, ptr %3, align 8, !tbaa !5
  %1193 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1192, i32 0, i32 52
  %1194 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1193, i32 0, i32 20
  %1195 = load ptr, ptr %3, align 8, !tbaa !5
  %1196 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1195, i32 0, i32 52
  %1197 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1196, i32 0, i32 22
  %1198 = load ptr, ptr %3, align 8, !tbaa !5
  %1199 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1198, i32 0, i32 52
  %1200 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1199, i32 0, i32 4
  %1201 = load i64, ptr %1200, align 8, !tbaa !111
  %1202 = load ptr, ptr %3, align 8, !tbaa !5
  %1203 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1202, i32 0, i32 49
  %1204 = load ptr, ptr %3, align 8, !tbaa !5
  %1205 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1204, i32 0, i32 52
  %1206 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1205, i32 0, i32 23
  %1207 = load ptr, ptr %3, align 8, !tbaa !5
  %1208 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1207, i32 0, i32 52
  %1209 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1208, i32 0, i32 24
  %1210 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl8ipm2initEPNS_9ipm2stateEPKNS_9ae_vectorES4_lPKNS_9ae_matrixEPKNS_12sparsematrixElbS7_S4_lS4_dS4_S4_SA_lS7_lS4_S4_bbPNS_8ae_stateE(ptr noundef %1168, ptr noundef %1170, ptr noundef %1172, i64 noundef %1176, ptr noundef %1178, ptr noundef %1181, i64 noundef 1, i1 noundef zeroext false, ptr noundef %1183, ptr noundef %1185, i64 noundef 0, ptr noundef %1188, double noundef 0.000000e+00, ptr noundef %1191, ptr noundef %1194, ptr noundef %1197, i64 noundef %1201, ptr noundef %1203, i64 noundef 0, ptr noundef %1206, ptr noundef %1209, i1 noundef zeroext false, i1 noundef zeroext true, ptr noundef %1210)
  %1211 = load ptr, ptr %3, align 8, !tbaa !5
  %1212 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1211, i32 0, i32 58
  %1213 = load ptr, ptr %3, align 8, !tbaa !5
  %1214 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1213, i32 0, i32 3
  %1215 = load double, ptr %1214, align 8, !tbaa !112
  %1216 = load ptr, ptr %3, align 8, !tbaa !5
  %1217 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1216, i32 0, i32 3
  %1218 = load double, ptr %1217, align 8, !tbaa !112
  %1219 = load ptr, ptr %3, align 8, !tbaa !5
  %1220 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1219, i32 0, i32 3
  %1221 = load double, ptr %1220, align 8, !tbaa !112
  %1222 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11ipm2setcondEPNS_9ipm2stateEdddPNS_8ae_stateE(ptr noundef %1212, double noundef %1215, double noundef %1218, double noundef %1221, ptr noundef %1222)
  %1223 = load ptr, ptr %3, align 8, !tbaa !5
  %1224 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1223, i32 0, i32 58
  %1225 = load ptr, ptr %3, align 8, !tbaa !5
  %1226 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1225, i32 0, i32 29
  %1227 = load ptr, ptr %3, align 8, !tbaa !5
  %1228 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1227, i32 0, i32 36
  %1229 = load ptr, ptr %3, align 8, !tbaa !5
  %1230 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1229, i32 0, i32 37
  %1231 = load ptr, ptr %3, align 8, !tbaa !5
  %1232 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1231, i32 0, i32 35
  %1233 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl12ipm2optimizeEPNS_9ipm2stateEbPNS_9ae_vectorES3_S3_PlPNS_8ae_stateE(ptr noundef %1224, i1 noundef zeroext true, ptr noundef %1226, ptr noundef %1228, ptr noundef %1230, ptr noundef %1232, ptr noundef %1233)
  %1234 = load ptr, ptr %3, align 8, !tbaa !5
  %1235 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1234, i32 0, i32 58
  %1236 = getelementptr inbounds %"struct.alglib_impl::ipm2state", ptr %1235, i32 0, i32 49
  %1237 = load i64, ptr %1236, align 8, !tbaa !115
  %1238 = load ptr, ptr %3, align 8, !tbaa !5
  %1239 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1238, i32 0, i32 31
  store i64 %1237, ptr %1239, align 8, !tbaa !69
  %1240 = load ptr, ptr %3, align 8, !tbaa !5
  %1241 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1240, i32 0, i32 58
  %1242 = getelementptr inbounds %"struct.alglib_impl::ipm2state", ptr %1241, i32 0, i32 49
  %1243 = load i64, ptr %1242, align 8, !tbaa !115
  %1244 = load ptr, ptr %3, align 8, !tbaa !5
  %1245 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1244, i32 0, i32 32
  store i64 %1243, ptr %1245, align 8, !tbaa !70
  %1246 = load ptr, ptr %3, align 8, !tbaa !5
  %1247 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1246, i32 0, i32 58
  %1248 = getelementptr inbounds %"struct.alglib_impl::ipm2state", ptr %1247, i32 0, i32 49
  %1249 = load i64, ptr %1248, align 8, !tbaa !115
  %1250 = load ptr, ptr %3, align 8, !tbaa !5
  %1251 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1250, i32 0, i32 33
  store i64 %1249, ptr %1251, align 8, !tbaa !71
  br label %1252

1252:                                             ; preds = %1152, %1051
  br label %1281

1253:                                             ; preds = %1034
  %1254 = load ptr, ptr %3, align 8, !tbaa !5
  %1255 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1254, i32 0, i32 52
  %1256 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1255, i32 0, i32 0
  %1257 = load i64, ptr %1256, align 8, !tbaa !110
  %1258 = load ptr, ptr %3, align 8, !tbaa !5
  %1259 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1258, i32 0, i32 36
  %1260 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1257, double noundef 0.000000e+00, ptr noundef %1259, ptr noundef %1260)
  %1261 = load ptr, ptr %3, align 8, !tbaa !5
  %1262 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1261, i32 0, i32 52
  %1263 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1262, i32 0, i32 4
  %1264 = load i64, ptr %1263, align 8, !tbaa !111
  %1265 = load ptr, ptr %3, align 8, !tbaa !5
  %1266 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1265, i32 0, i32 37
  %1267 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1264, double noundef 0.000000e+00, ptr noundef %1266, ptr noundef %1267)
  %1268 = load ptr, ptr %3, align 8, !tbaa !5
  %1269 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1268, i32 0, i32 52
  %1270 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1269, i32 0, i32 6
  %1271 = load i64, ptr %1270, align 8, !tbaa !116
  %1272 = load ptr, ptr %3, align 8, !tbaa !5
  %1273 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1272, i32 0, i32 38
  %1274 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1271, double noundef 0.000000e+00, ptr noundef %1273, ptr noundef %1274)
  %1275 = load ptr, ptr %3, align 8, !tbaa !5
  %1276 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1275, i32 0, i32 35
  store i64 1, ptr %1276, align 8, !tbaa !68
  %1277 = load ptr, ptr %3, align 8, !tbaa !5
  %1278 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1277, i32 0, i32 31
  store i64 0, ptr %1278, align 8, !tbaa !69
  %1279 = load ptr, ptr %3, align 8, !tbaa !5
  %1280 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1279, i32 0, i32 32
  store i64 0, ptr %1280, align 8, !tbaa !70
  br label %1281

1281:                                             ; preds = %1253, %1252
  %1282 = load ptr, ptr %3, align 8, !tbaa !5
  %1283 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1282, i32 0, i32 52
  %1284 = load ptr, ptr %3, align 8, !tbaa !5
  %1285 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1284, i32 0, i32 29
  %1286 = load ptr, ptr %3, align 8, !tbaa !5
  %1287 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1286, i32 0, i32 46
  %1288 = load ptr, ptr %3, align 8, !tbaa !5
  %1289 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1288, i32 0, i32 36
  %1290 = load ptr, ptr %3, align 8, !tbaa !5
  %1291 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1290, i32 0, i32 37
  %1292 = load ptr, ptr %3, align 8, !tbaa !5
  %1293 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1292, i32 0, i32 38
  %1294 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11presolvebwdEPNS_12presolveinfoEPNS_9ae_vectorES3_bS3_S3_S3_PNS_8ae_stateE(ptr noundef %1283, ptr noundef %1285, ptr noundef %1287, i1 noundef zeroext false, ptr noundef %1289, ptr noundef %1291, ptr noundef %1293, ptr noundef %1294)
  %1295 = load i64, ptr %6, align 8, !tbaa !65
  %1296 = load ptr, ptr %3, align 8, !tbaa !5
  %1297 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1296, i32 0, i32 39
  store i64 %1295, ptr %1297, align 8, !tbaa !73
  %1298 = load i64, ptr %7, align 8, !tbaa !65
  %1299 = load ptr, ptr %3, align 8, !tbaa !5
  %1300 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1299, i32 0, i32 40
  store i64 %1298, ptr %1300, align 8, !tbaa !74
  %1301 = load ptr, ptr %3, align 8, !tbaa !5
  %1302 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1301, i32 0, i32 35
  %1303 = load i64, ptr %1302, align 8, !tbaa !68
  %1304 = icmp sgt i64 %1303, 0
  br i1 %1304, label %1305, label %1352

1305:                                             ; preds = %1281
  %1306 = load ptr, ptr %3, align 8, !tbaa !5
  %1307 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1306, i32 0, i32 8
  %1308 = load i64, ptr %1307, align 8, !tbaa !93
  %1309 = icmp eq i64 %1308, 0
  br i1 %1309, label %1310, label %1319

1310:                                             ; preds = %1305
  %1311 = load ptr, ptr %3, align 8, !tbaa !5
  %1312 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1311, i32 0, i32 9
  %1313 = load ptr, ptr %3, align 8, !tbaa !5
  %1314 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1313, i32 0, i32 29
  %1315 = load ptr, ptr %4, align 8, !tbaa !5
  %1316 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %1312, ptr noundef %1314, ptr noundef %1315)
  %1317 = load ptr, ptr %3, align 8, !tbaa !5
  %1318 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1317, i32 0, i32 30
  store double %1316, ptr %1318, align 8, !tbaa !78
  br label %1319

1319:                                             ; preds = %1310, %1305
  %1320 = load ptr, ptr %3, align 8, !tbaa !5
  %1321 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1320, i32 0, i32 8
  %1322 = load i64, ptr %1321, align 8, !tbaa !93
  %1323 = icmp eq i64 %1322, 1
  br i1 %1323, label %1324, label %1338

1324:                                             ; preds = %1319
  %1325 = load ptr, ptr %3, align 8, !tbaa !5
  %1326 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1325, i32 0, i32 11
  %1327 = load ptr, ptr %3, align 8, !tbaa !5
  %1328 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1327, i32 0, i32 12
  %1329 = load i8, ptr %1328, align 8, !tbaa !97, !range !85, !noundef !86
  %1330 = trunc i8 %1329 to i1
  %1331 = load ptr, ptr %3, align 8, !tbaa !5
  %1332 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1331, i32 0, i32 29
  %1333 = load ptr, ptr %4, align 8, !tbaa !5
  %1334 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %1326, i1 noundef zeroext %1330, ptr noundef %1332, ptr noundef %1333)
  %1335 = fmul double 5.000000e-01, %1334
  %1336 = load ptr, ptr %3, align 8, !tbaa !5
  %1337 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1336, i32 0, i32 30
  store double %1335, ptr %1337, align 8, !tbaa !78
  br label %1338

1338:                                             ; preds = %1324, %1319
  %1339 = load ptr, ptr %3, align 8, !tbaa !5
  %1340 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1339, i32 0, i32 30
  %1341 = load double, ptr %1340, align 8, !tbaa !78
  %1342 = load i64, ptr %6, align 8, !tbaa !65
  %1343 = load ptr, ptr %3, align 8, !tbaa !5
  %1344 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1343, i32 0, i32 16
  %1345 = load ptr, ptr %3, align 8, !tbaa !5
  %1346 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1345, i32 0, i32 29
  %1347 = load ptr, ptr %4, align 8, !tbaa !5
  %1348 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %1342, ptr noundef %1344, ptr noundef %1346, ptr noundef %1347)
  %1349 = fadd double %1341, %1348
  %1350 = load ptr, ptr %3, align 8, !tbaa !5
  %1351 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1350, i32 0, i32 30
  store double %1349, ptr %1351, align 8, !tbaa !78
  br label %1352

1352:                                             ; preds = %1338, %1281
  %1353 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1353)
  store i32 1, ptr %22, align 4
  br label %2327

1354:                                             ; preds = %874
  %1355 = load ptr, ptr %3, align 8, !tbaa !5
  %1356 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1355, i32 0, i32 7
  %1357 = load i64, ptr %1356, align 8, !tbaa !96
  %1358 = icmp eq i64 %1357, 7
  br i1 %1358, label %1364, label %1359

1359:                                             ; preds = %1354
  %1360 = load ptr, ptr %3, align 8, !tbaa !5
  %1361 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1360, i32 0, i32 7
  %1362 = load i64, ptr %1361, align 8, !tbaa !96
  %1363 = icmp eq i64 %1362, 8
  br i1 %1363, label %1364, label %1847

1364:                                             ; preds = %1359, %1354
  %1365 = load ptr, ptr %3, align 8, !tbaa !5
  %1366 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1365, i32 0, i32 28
  %1367 = load ptr, ptr %4, align 8, !tbaa !5
  %1368 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %1366, ptr noundef %1367)
  %1369 = icmp ne i64 %1368, 0
  br i1 %1369, label %1370, label %1379

1370:                                             ; preds = %1364
  %1371 = load ptr, ptr %3, align 8, !tbaa !5
  %1372 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1371, i32 0, i32 7
  %1373 = load i64, ptr %1372, align 8, !tbaa !96
  %1374 = icmp eq i64 %1373, 8
  br i1 %1374, label %1375, label %1379

1375:                                             ; preds = %1370
  %1376 = load ptr, ptr %3, align 8, !tbaa !5
  %1377 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1376, i32 0, i32 35
  store i64 -5, ptr %1377, align 8, !tbaa !68
  %1378 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1378)
  store i32 1, ptr %22, align 4
  br label %2327

1379:                                             ; preds = %1370, %1364
  %1380 = load ptr, ptr %3, align 8, !tbaa !5
  %1381 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1380, i32 0, i32 26
  %1382 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl18xlcconverttosparseEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef %1381, ptr noundef %1382)
  %1383 = load ptr, ptr %3, align 8, !tbaa !5
  %1384 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1383, i32 0, i32 8
  %1385 = load i64, ptr %1384, align 8, !tbaa !93
  %1386 = icmp eq i64 %1385, 0
  br i1 %1386, label %1392, label %1387

1387:                                             ; preds = %1379
  %1388 = load ptr, ptr %3, align 8, !tbaa !5
  %1389 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1388, i32 0, i32 8
  %1390 = load i64, ptr %1389, align 8, !tbaa !93
  %1391 = icmp eq i64 %1390, 1
  br label %1392

1392:                                             ; preds = %1387, %1379
  %1393 = phi i1 [ true, %1379 ], [ %1391, %1387 ]
  %1394 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %1393, ptr noundef @.str.1102, ptr noundef %1394)
  %1395 = load ptr, ptr %3, align 8, !tbaa !5
  %1396 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1395, i32 0, i32 8
  %1397 = load i64, ptr %1396, align 8, !tbaa !93
  %1398 = icmp eq i64 %1397, 0
  br i1 %1398, label %1399, label %1412

1399:                                             ; preds = %1392
  %1400 = load ptr, ptr %3, align 8, !tbaa !5
  %1401 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1400, i32 0, i32 9
  %1402 = load ptr, ptr %3, align 8, !tbaa !5
  %1403 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1402, i32 0, i32 51
  %1404 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl7cqmgetaEPKNS_20convexquadraticmodelEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %1401, ptr noundef %1403, ptr noundef %1404)
  %1405 = load ptr, ptr %3, align 8, !tbaa !5
  %1406 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1405, i32 0, i32 51
  %1407 = load i64, ptr %6, align 8, !tbaa !65
  %1408 = load i64, ptr %6, align 8, !tbaa !65
  %1409 = load ptr, ptr %3, align 8, !tbaa !5
  %1410 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1409, i32 0, i32 11
  %1411 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl27sparsecreatecrsfromdensebufEPKNS_9ae_matrixEllPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %1406, i64 noundef %1407, i64 noundef %1408, ptr noundef %1410, ptr noundef %1411)
  br label %1412

1412:                                             ; preds = %1399, %1392
  %1413 = load ptr, ptr %3, align 8, !tbaa !5
  %1414 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1413, i32 0, i32 28
  %1415 = load ptr, ptr %4, align 8, !tbaa !5
  %1416 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %1414, ptr noundef %1415)
  %1417 = icmp eq i64 %1416, 0
  br i1 %1417, label %1418, label %1524

1418:                                             ; preds = %1412
  %1419 = load ptr, ptr %3, align 8, !tbaa !5
  %1420 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1419, i32 0, i32 6
  %1421 = load i8, ptr %1420, align 1, !tbaa !108, !range !85, !noundef !86
  %1422 = trunc i8 %1421 to i1
  br i1 %1422, label %1423, label %1460

1423:                                             ; preds = %1418
  %1424 = load ptr, ptr %3, align 8, !tbaa !5
  %1425 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1424, i32 0, i32 43
  %1426 = load ptr, ptr %3, align 8, !tbaa !5
  %1427 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1426, i32 0, i32 23
  %1428 = load ptr, ptr %3, align 8, !tbaa !5
  %1429 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1428, i32 0, i32 16
  %1430 = load ptr, ptr %3, align 8, !tbaa !5
  %1431 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1430, i32 0, i32 17
  %1432 = load ptr, ptr %3, align 8, !tbaa !5
  %1433 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1432, i32 0, i32 18
  %1434 = load ptr, ptr %3, align 8, !tbaa !5
  %1435 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1434, i32 0, i32 11
  %1436 = load ptr, ptr %3, align 8, !tbaa !5
  %1437 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1436, i32 0, i32 12
  %1438 = load i8, ptr %1437, align 8, !tbaa !97, !range !85, !noundef !86
  %1439 = trunc i8 %1438 to i1
  %1440 = load i64, ptr %6, align 8, !tbaa !65
  %1441 = load ptr, ptr %3, align 8, !tbaa !5
  %1442 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1441, i32 0, i32 26
  %1443 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1442, i32 0, i32 14
  %1444 = load ptr, ptr %3, align 8, !tbaa !5
  %1445 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1444, i32 0, i32 26
  %1446 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1445, i32 0, i32 15
  %1447 = load ptr, ptr %3, align 8, !tbaa !5
  %1448 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1447, i32 0, i32 26
  %1449 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1448, i32 0, i32 16
  %1450 = load i64, ptr %7, align 8, !tbaa !65
  %1451 = load ptr, ptr %3, align 8, !tbaa !5
  %1452 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1451, i32 0, i32 27
  %1453 = load ptr, ptr %3, align 8, !tbaa !5
  %1454 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1453, i32 0, i32 28
  %1455 = load i8, ptr %12, align 1, !tbaa !75, !range !85, !noundef !86
  %1456 = trunc i8 %1455 to i1
  %1457 = load ptr, ptr %3, align 8, !tbaa !5
  %1458 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1457, i32 0, i32 52
  %1459 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10presolveqpEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef %1425, ptr noundef %1427, ptr noundef %1429, ptr noundef %1431, ptr noundef %1433, ptr noundef %1435, i1 noundef zeroext %1439, i1 noundef zeroext true, i64 noundef %1440, ptr noundef %1443, ptr noundef %1446, ptr noundef %1449, i64 noundef %1450, ptr noundef %1452, ptr noundef %1454, i1 noundef zeroext %1456, ptr noundef %1458, ptr noundef %1459)
  br label %1497

1460:                                             ; preds = %1418
  %1461 = load ptr, ptr %3, align 8, !tbaa !5
  %1462 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1461, i32 0, i32 43
  %1463 = load ptr, ptr %3, align 8, !tbaa !5
  %1464 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1463, i32 0, i32 23
  %1465 = load ptr, ptr %3, align 8, !tbaa !5
  %1466 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1465, i32 0, i32 16
  %1467 = load ptr, ptr %3, align 8, !tbaa !5
  %1468 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1467, i32 0, i32 17
  %1469 = load ptr, ptr %3, align 8, !tbaa !5
  %1470 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1469, i32 0, i32 18
  %1471 = load ptr, ptr %3, align 8, !tbaa !5
  %1472 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1471, i32 0, i32 11
  %1473 = load ptr, ptr %3, align 8, !tbaa !5
  %1474 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1473, i32 0, i32 12
  %1475 = load i8, ptr %1474, align 8, !tbaa !97, !range !85, !noundef !86
  %1476 = trunc i8 %1475 to i1
  %1477 = load i64, ptr %6, align 8, !tbaa !65
  %1478 = load ptr, ptr %3, align 8, !tbaa !5
  %1479 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1478, i32 0, i32 26
  %1480 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1479, i32 0, i32 14
  %1481 = load ptr, ptr %3, align 8, !tbaa !5
  %1482 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1481, i32 0, i32 26
  %1483 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1482, i32 0, i32 15
  %1484 = load ptr, ptr %3, align 8, !tbaa !5
  %1485 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1484, i32 0, i32 26
  %1486 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1485, i32 0, i32 16
  %1487 = load i64, ptr %7, align 8, !tbaa !65
  %1488 = load ptr, ptr %3, align 8, !tbaa !5
  %1489 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1488, i32 0, i32 27
  %1490 = load ptr, ptr %3, align 8, !tbaa !5
  %1491 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1490, i32 0, i32 28
  %1492 = load i8, ptr %12, align 1, !tbaa !75, !range !85, !noundef !86
  %1493 = trunc i8 %1492 to i1
  %1494 = load ptr, ptr %3, align 8, !tbaa !5
  %1495 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1494, i32 0, i32 52
  %1496 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef %1462, ptr noundef %1464, ptr noundef %1466, ptr noundef %1468, ptr noundef %1470, ptr noundef %1472, i1 noundef zeroext %1476, i1 noundef zeroext true, i64 noundef %1477, ptr noundef %1480, ptr noundef %1483, ptr noundef %1486, i64 noundef %1487, ptr noundef %1489, ptr noundef %1491, i1 noundef zeroext %1493, ptr noundef %1495, ptr noundef %1496)
  br label %1497

1497:                                             ; preds = %1460, %1423
  %1498 = load ptr, ptr %3, align 8, !tbaa !5
  %1499 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1498, i32 0, i32 52
  %1500 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1499, i32 0, i32 16
  %1501 = load i64, ptr %1500, align 8, !tbaa !109
  %1502 = icmp eq i64 %1501, -3
  br i1 %1502, label %1509, label %1503

1503:                                             ; preds = %1497
  %1504 = load ptr, ptr %3, align 8, !tbaa !5
  %1505 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1504, i32 0, i32 52
  %1506 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1505, i32 0, i32 16
  %1507 = load i64, ptr %1506, align 8, !tbaa !109
  %1508 = icmp eq i64 %1507, -2
  br i1 %1508, label %1509, label %1521

1509:                                             ; preds = %1503, %1497
  %1510 = load ptr, ptr %3, align 8, !tbaa !5
  %1511 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1510, i32 0, i32 52
  %1512 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1511, i32 0, i32 16
  %1513 = load i64, ptr %1512, align 8, !tbaa !109
  %1514 = load ptr, ptr %3, align 8, !tbaa !5
  %1515 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1514, i32 0, i32 35
  store i64 %1513, ptr %1515, align 8, !tbaa !68
  %1516 = load i64, ptr %6, align 8, !tbaa !65
  %1517 = load ptr, ptr %3, align 8, !tbaa !5
  %1518 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1517, i32 0, i32 29
  %1519 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1516, double noundef 0.000000e+00, ptr noundef %1518, ptr noundef %1519)
  %1520 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1520)
  store i32 1, ptr %22, align 4
  br label %2327

1521:                                             ; preds = %1503
  %1522 = load i64, ptr %6, align 8, !tbaa !65
  %1523 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1522, double noundef 1.000000e+00, ptr noundef %13, ptr noundef %1523)
  br label %1635

1524:                                             ; preds = %1412
  %1525 = load i64, ptr %6, align 8, !tbaa !65
  %1526 = load ptr, ptr %3, align 8, !tbaa !5
  %1527 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1526, i32 0, i32 43
  %1528 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1525, ptr noundef %1527, ptr noundef %14, ptr noundef %1528)
  %1529 = load i64, ptr %6, align 8, !tbaa !65
  %1530 = load ptr, ptr %3, align 8, !tbaa !5
  %1531 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1530, i32 0, i32 23
  %1532 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1529, ptr noundef %1531, ptr noundef %15, ptr noundef %1532)
  %1533 = load i64, ptr %6, align 8, !tbaa !65
  %1534 = load ptr, ptr %3, align 8, !tbaa !5
  %1535 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1534, i32 0, i32 17
  %1536 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1533, ptr noundef %1535, ptr noundef %16, ptr noundef %1536)
  %1537 = load i64, ptr %6, align 8, !tbaa !65
  %1538 = load ptr, ptr %3, align 8, !tbaa !5
  %1539 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1538, i32 0, i32 18
  %1540 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1537, ptr noundef %1539, ptr noundef %17, ptr noundef %1540)
  %1541 = load i64, ptr %6, align 8, !tbaa !65
  %1542 = load ptr, ptr %3, align 8, !tbaa !5
  %1543 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1542, i32 0, i32 16
  %1544 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1541, ptr noundef %1543, ptr noundef %18, ptr noundef %1544)
  %1545 = load i64, ptr %6, align 8, !tbaa !65
  %1546 = load ptr, ptr %3, align 8, !tbaa !5
  %1547 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1546, i32 0, i32 29
  %1548 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1545, ptr noundef %1547, ptr noundef %19, ptr noundef %1548)
  %1549 = load ptr, ptr %3, align 8, !tbaa !5
  %1550 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1549, i32 0, i32 11
  %1551 = load ptr, ptr %3, align 8, !tbaa !5
  %1552 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1551, i32 0, i32 61
  %1553 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13sparsecopybufEPKNS_12sparsematrixEPS0_PNS_8ae_stateE(ptr noundef %1550, ptr noundef %1552, ptr noundef %1553)
  %1554 = load ptr, ptr %3, align 8, !tbaa !5
  %1555 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1554, i32 0, i32 28
  %1556 = load ptr, ptr %3, align 8, !tbaa !5
  %1557 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1556, i32 0, i32 62
  %1558 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl7xcccopyEPNS_17xconicconstraintsES1_PNS_8ae_stateE(ptr noundef %1555, ptr noundef %1557, ptr noundef %1558)
  %1559 = load i64, ptr %6, align 8, !tbaa !65
  store i64 %1559, ptr %20, align 8, !tbaa !65
  %1560 = load i64, ptr %7, align 8, !tbaa !65
  store i64 %1560, ptr %21, align 8, !tbaa !65
  %1561 = load ptr, ptr %3, align 8, !tbaa !5
  %1562 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1561, i32 0, i32 61
  %1563 = load ptr, ptr %3, align 8, !tbaa !5
  %1564 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1563, i32 0, i32 12
  %1565 = load i8, ptr %1564, align 8, !tbaa !97, !range !85, !noundef !86
  %1566 = trunc i8 %1565 to i1
  %1567 = load ptr, ptr %3, align 8, !tbaa !5
  %1568 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1567, i32 0, i32 26
  %1569 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1568, i32 0, i32 14
  %1570 = load ptr, ptr %3, align 8, !tbaa !5
  %1571 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1570, i32 0, i32 26
  %1572 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1571, i32 0, i32 15
  %1573 = load ptr, ptr %3, align 8, !tbaa !5
  %1574 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1573, i32 0, i32 26
  %1575 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1574, i32 0, i32 16
  %1576 = load ptr, ptr %3, align 8, !tbaa !5
  %1577 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1576, i32 0, i32 27
  %1578 = load ptr, ptr %3, align 8, !tbaa !5
  %1579 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1578, i32 0, i32 62
  %1580 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl34gqpipmcanonicalizeconicconstraintsEPNS_9ae_vectorES1_S1_S1_S1_S1_PNS_12sparsematrixEbbPlS3_S1_S1_S4_PNS_21xquadraticconstraintsEPNS_17xconicconstraintsES1_PNS_8ae_stateE(ptr noundef %14, ptr noundef %15, ptr noundef %18, ptr noundef %16, ptr noundef %17, ptr noundef %19, ptr noundef %1562, i1 noundef zeroext %1566, i1 noundef zeroext true, ptr noundef %20, ptr noundef %1569, ptr noundef %1572, ptr noundef %1575, ptr noundef %21, ptr noundef %1577, ptr noundef %1579, ptr noundef %13, ptr noundef %1580)
  %1581 = load ptr, ptr %3, align 8, !tbaa !5
  %1582 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1581, i32 0, i32 61
  %1583 = load ptr, ptr %3, align 8, !tbaa !5
  %1584 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1583, i32 0, i32 12
  %1585 = load i8, ptr %1584, align 8, !tbaa !97, !range !85, !noundef !86
  %1586 = trunc i8 %1585 to i1
  %1587 = load i64, ptr %20, align 8, !tbaa !65
  %1588 = load ptr, ptr %3, align 8, !tbaa !5
  %1589 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1588, i32 0, i32 26
  %1590 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1589, i32 0, i32 14
  %1591 = load ptr, ptr %3, align 8, !tbaa !5
  %1592 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1591, i32 0, i32 26
  %1593 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1592, i32 0, i32 15
  %1594 = load ptr, ptr %3, align 8, !tbaa !5
  %1595 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1594, i32 0, i32 26
  %1596 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1595, i32 0, i32 16
  %1597 = load i64, ptr %21, align 8, !tbaa !65
  %1598 = load ptr, ptr %3, align 8, !tbaa !5
  %1599 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1598, i32 0, i32 27
  %1600 = load ptr, ptr %3, align 8, !tbaa !5
  %1601 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1600, i32 0, i32 62
  %1602 = load i8, ptr %12, align 1, !tbaa !75, !range !85, !noundef !86
  %1603 = trunc i8 %1602 to i1
  %1604 = load ptr, ptr %3, align 8, !tbaa !5
  %1605 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1604, i32 0, i32 52
  %1606 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef %14, ptr noundef %15, ptr noundef %18, ptr noundef %16, ptr noundef %17, ptr noundef %1582, i1 noundef zeroext %1586, i1 noundef zeroext true, i64 noundef %1587, ptr noundef %1590, ptr noundef %1593, ptr noundef %1596, i64 noundef %1597, ptr noundef %1599, ptr noundef %1601, i1 noundef zeroext %1603, ptr noundef %1605, ptr noundef %1606)
  %1607 = load i64, ptr %20, align 8, !tbaa !65
  %1608 = load ptr, ptr %3, align 8, !tbaa !5
  %1609 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1608, i32 0, i32 29
  %1610 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1607, ptr noundef %19, ptr noundef %1609, ptr noundef %1610)
  %1611 = load ptr, ptr %3, align 8, !tbaa !5
  %1612 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1611, i32 0, i32 52
  %1613 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1612, i32 0, i32 16
  %1614 = load i64, ptr %1613, align 8, !tbaa !109
  %1615 = icmp eq i64 %1614, -3
  br i1 %1615, label %1622, label %1616

1616:                                             ; preds = %1524
  %1617 = load ptr, ptr %3, align 8, !tbaa !5
  %1618 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1617, i32 0, i32 52
  %1619 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1618, i32 0, i32 16
  %1620 = load i64, ptr %1619, align 8, !tbaa !109
  %1621 = icmp eq i64 %1620, -2
  br i1 %1621, label %1622, label %1634

1622:                                             ; preds = %1616, %1524
  %1623 = load ptr, ptr %3, align 8, !tbaa !5
  %1624 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1623, i32 0, i32 52
  %1625 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1624, i32 0, i32 16
  %1626 = load i64, ptr %1625, align 8, !tbaa !109
  %1627 = load ptr, ptr %3, align 8, !tbaa !5
  %1628 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1627, i32 0, i32 35
  store i64 %1626, ptr %1628, align 8, !tbaa !68
  %1629 = load i64, ptr %6, align 8, !tbaa !65
  %1630 = load ptr, ptr %3, align 8, !tbaa !5
  %1631 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1630, i32 0, i32 29
  %1632 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1629, double noundef 0.000000e+00, ptr noundef %1631, ptr noundef %1632)
  %1633 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1633)
  store i32 1, ptr %22, align 4
  br label %2327

1634:                                             ; preds = %1616
  br label %1635

1635:                                             ; preds = %1634, %1521
  %1636 = load ptr, ptr %3, align 8, !tbaa !5
  %1637 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1636, i32 0, i32 52
  %1638 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1637, i32 0, i32 16
  %1639 = load i64, ptr %1638, align 8, !tbaa !109
  %1640 = icmp eq i64 %1639, 0
  %1641 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %1640, ptr noundef @.str.1104, ptr noundef %1641)
  %1642 = load ptr, ptr %3, align 8, !tbaa !5
  %1643 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1642, i32 0, i32 52
  %1644 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1643, i32 0, i32 0
  %1645 = load i64, ptr %1644, align 8, !tbaa !110
  %1646 = icmp sgt i64 %1645, 0
  br i1 %1646, label %1647, label %1742

1647:                                             ; preds = %1635
  %1648 = load ptr, ptr %3, align 8, !tbaa !5
  %1649 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1648, i32 0, i32 52
  %1650 = load ptr, ptr %3, align 8, !tbaa !5
  %1651 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1650, i32 0, i32 29
  %1652 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11presolvefwdEPNS_12presolveinfoEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %1649, ptr noundef %1651, ptr noundef %1652)
  %1653 = load ptr, ptr %3, align 8, !tbaa !5
  %1654 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1653, i32 0, i32 52
  %1655 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1654, i32 0, i32 19
  %1656 = load ptr, ptr %3, align 8, !tbaa !5
  %1657 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1656, i32 0, i32 52
  %1658 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1657, i32 0, i32 20
  %1659 = load ptr, ptr %3, align 8, !tbaa !5
  %1660 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1659, i32 0, i32 29
  %1661 = load ptr, ptr %3, align 8, !tbaa !5
  %1662 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1661, i32 0, i32 52
  %1663 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1662, i32 0, i32 0
  %1664 = load i64, ptr %1663, align 8, !tbaa !110
  %1665 = load ptr, ptr %3, align 8, !tbaa !5
  %1666 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1665, i32 0, i32 7
  %1667 = load i64, ptr %1666, align 8, !tbaa !96
  %1668 = icmp eq i64 %1667, 7
  %1669 = load ptr, ptr %3, align 8, !tbaa !5
  %1670 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1669, i32 0, i32 3
  %1671 = load double, ptr %1670, align 8, !tbaa !112
  %1672 = load ptr, ptr %3, align 8, !tbaa !5
  %1673 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1672, i32 0, i32 4
  %1674 = load i64, ptr %1673, align 8, !tbaa !117
  %1675 = load ptr, ptr %3, align 8, !tbaa !5
  %1676 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1675, i32 0, i32 60
  %1677 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13gqpipminitbufEPKNS_9ae_vectorES2_S2_lbdlPNS_11gqpipmstateEPNS_8ae_stateE(ptr noundef %1655, ptr noundef %1658, ptr noundef %1660, i64 noundef %1664, i1 noundef zeroext %1668, double noundef %1671, i64 noundef %1674, ptr noundef %1676, ptr noundef %1677)
  %1678 = load ptr, ptr %3, align 8, !tbaa !5
  %1679 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1678, i32 0, i32 60
  %1680 = load ptr, ptr %3, align 8, !tbaa !5
  %1681 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1680, i32 0, i32 51
  %1682 = load ptr, ptr %3, align 8, !tbaa !5
  %1683 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1682, i32 0, i32 52
  %1684 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1683, i32 0, i32 21
  %1685 = load ptr, ptr %3, align 8, !tbaa !5
  %1686 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1685, i32 0, i32 52
  %1687 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1686, i32 0, i32 18
  %1688 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl24gqpipmsetquadraticlinearEPNS_11gqpipmstateEPKNS_9ae_matrixEPKNS_12sparsematrixElPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %1679, ptr noundef %1681, ptr noundef %1684, i64 noundef 1, ptr noundef %1687, ptr noundef %1688)
  %1689 = load ptr, ptr %3, align 8, !tbaa !5
  %1690 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1689, i32 0, i32 60
  %1691 = load ptr, ptr %3, align 8, !tbaa !5
  %1692 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1691, i32 0, i32 52
  %1693 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1692, i32 0, i32 22
  %1694 = load ptr, ptr %3, align 8, !tbaa !5
  %1695 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1694, i32 0, i32 52
  %1696 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1695, i32 0, i32 23
  %1697 = load ptr, ptr %3, align 8, !tbaa !5
  %1698 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1697, i32 0, i32 52
  %1699 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1698, i32 0, i32 24
  %1700 = load ptr, ptr %3, align 8, !tbaa !5
  %1701 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1700, i32 0, i32 52
  %1702 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1701, i32 0, i32 4
  %1703 = load i64, ptr %1702, align 8, !tbaa !111
  %1704 = load ptr, ptr %3, align 8, !tbaa !5
  %1705 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1704, i32 0, i32 52
  %1706 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1705, i32 0, i32 25
  %1707 = load ptr, ptr %3, align 8, !tbaa !5
  %1708 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1707, i32 0, i32 52
  %1709 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1708, i32 0, i32 26
  %1710 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl20gqpipmsetconstraintsEPNS_11gqpipmstateEPKNS_12sparsematrixEPKNS_9ae_vectorES7_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %1690, ptr noundef %1693, ptr noundef %1696, ptr noundef %1699, i64 noundef %1703, ptr noundef %1706, ptr noundef %1709, ptr noundef %1710)
  %1711 = load ptr, ptr %3, align 8, !tbaa !5
  %1712 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1711, i32 0, i32 60
  %1713 = load ptr, ptr %3, align 8, !tbaa !5
  %1714 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1713, i32 0, i32 29
  %1715 = load ptr, ptr %3, align 8, !tbaa !5
  %1716 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1715, i32 0, i32 36
  %1717 = load ptr, ptr %3, align 8, !tbaa !5
  %1718 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1717, i32 0, i32 37
  %1719 = load ptr, ptr %3, align 8, !tbaa !5
  %1720 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1719, i32 0, i32 38
  %1721 = load ptr, ptr %3, align 8, !tbaa !5
  %1722 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1721, i32 0, i32 35
  %1723 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14gqpipmoptimizeEPNS_11gqpipmstateEPNS_9ae_vectorES3_S3_S3_PlPNS_8ae_stateE(ptr noundef %1712, ptr noundef %1714, ptr noundef %1716, ptr noundef %1718, ptr noundef %1720, ptr noundef %1722, ptr noundef %1723)
  %1724 = load ptr, ptr %3, align 8, !tbaa !5
  %1725 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1724, i32 0, i32 60
  %1726 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %1725, i32 0, i32 27
  %1727 = load i64, ptr %1726, align 8, !tbaa !118
  %1728 = load ptr, ptr %3, align 8, !tbaa !5
  %1729 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1728, i32 0, i32 31
  store i64 %1727, ptr %1729, align 8, !tbaa !69
  %1730 = load ptr, ptr %3, align 8, !tbaa !5
  %1731 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1730, i32 0, i32 60
  %1732 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %1731, i32 0, i32 27
  %1733 = load i64, ptr %1732, align 8, !tbaa !118
  %1734 = load ptr, ptr %3, align 8, !tbaa !5
  %1735 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1734, i32 0, i32 32
  store i64 %1733, ptr %1735, align 8, !tbaa !70
  %1736 = load ptr, ptr %3, align 8, !tbaa !5
  %1737 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1736, i32 0, i32 60
  %1738 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %1737, i32 0, i32 27
  %1739 = load i64, ptr %1738, align 8, !tbaa !118
  %1740 = load ptr, ptr %3, align 8, !tbaa !5
  %1741 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1740, i32 0, i32 33
  store i64 %1739, ptr %1741, align 8, !tbaa !71
  br label %1770

1742:                                             ; preds = %1635
  %1743 = load ptr, ptr %3, align 8, !tbaa !5
  %1744 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1743, i32 0, i32 52
  %1745 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1744, i32 0, i32 0
  %1746 = load i64, ptr %1745, align 8, !tbaa !110
  %1747 = load ptr, ptr %3, align 8, !tbaa !5
  %1748 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1747, i32 0, i32 36
  %1749 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1746, double noundef 0.000000e+00, ptr noundef %1748, ptr noundef %1749)
  %1750 = load ptr, ptr %3, align 8, !tbaa !5
  %1751 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1750, i32 0, i32 52
  %1752 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1751, i32 0, i32 4
  %1753 = load i64, ptr %1752, align 8, !tbaa !111
  %1754 = load ptr, ptr %3, align 8, !tbaa !5
  %1755 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1754, i32 0, i32 37
  %1756 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1753, double noundef 0.000000e+00, ptr noundef %1755, ptr noundef %1756)
  %1757 = load ptr, ptr %3, align 8, !tbaa !5
  %1758 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1757, i32 0, i32 52
  %1759 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %1758, i32 0, i32 6
  %1760 = load i64, ptr %1759, align 8, !tbaa !116
  %1761 = load ptr, ptr %3, align 8, !tbaa !5
  %1762 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1761, i32 0, i32 38
  %1763 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1760, double noundef 0.000000e+00, ptr noundef %1762, ptr noundef %1763)
  %1764 = load ptr, ptr %3, align 8, !tbaa !5
  %1765 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1764, i32 0, i32 35
  store i64 1, ptr %1765, align 8, !tbaa !68
  %1766 = load ptr, ptr %3, align 8, !tbaa !5
  %1767 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1766, i32 0, i32 31
  store i64 0, ptr %1767, align 8, !tbaa !69
  %1768 = load ptr, ptr %3, align 8, !tbaa !5
  %1769 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1768, i32 0, i32 32
  store i64 0, ptr %1769, align 8, !tbaa !70
  br label %1770

1770:                                             ; preds = %1742, %1647
  %1771 = load ptr, ptr %3, align 8, !tbaa !5
  %1772 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1771, i32 0, i32 52
  %1773 = load ptr, ptr %3, align 8, !tbaa !5
  %1774 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1773, i32 0, i32 29
  %1775 = load ptr, ptr %3, align 8, !tbaa !5
  %1776 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1775, i32 0, i32 46
  %1777 = load ptr, ptr %3, align 8, !tbaa !5
  %1778 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1777, i32 0, i32 36
  %1779 = load ptr, ptr %3, align 8, !tbaa !5
  %1780 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1779, i32 0, i32 37
  %1781 = load ptr, ptr %3, align 8, !tbaa !5
  %1782 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1781, i32 0, i32 38
  %1783 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11presolvebwdEPNS_12presolveinfoEPNS_9ae_vectorES3_bS3_S3_S3_PNS_8ae_stateE(ptr noundef %1772, ptr noundef %1774, ptr noundef %1776, i1 noundef zeroext false, ptr noundef %1778, ptr noundef %1780, ptr noundef %1782, ptr noundef %1783)
  %1784 = load i64, ptr %6, align 8, !tbaa !65
  %1785 = load ptr, ptr %3, align 8, !tbaa !5
  %1786 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1785, i32 0, i32 36
  %1787 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rmergemulvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1784, ptr noundef %13, ptr noundef %1786, ptr noundef %1787)
  %1788 = load i64, ptr %6, align 8, !tbaa !65
  %1789 = load ptr, ptr %3, align 8, !tbaa !5
  %1790 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1789, i32 0, i32 39
  store i64 %1788, ptr %1790, align 8, !tbaa !73
  %1791 = load i64, ptr %7, align 8, !tbaa !65
  %1792 = load ptr, ptr %3, align 8, !tbaa !5
  %1793 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1792, i32 0, i32 40
  store i64 %1791, ptr %1793, align 8, !tbaa !74
  %1794 = load ptr, ptr %3, align 8, !tbaa !5
  %1795 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1794, i32 0, i32 35
  %1796 = load i64, ptr %1795, align 8, !tbaa !68
  %1797 = icmp sgt i64 %1796, 0
  br i1 %1797, label %1798, label %1845

1798:                                             ; preds = %1770
  %1799 = load ptr, ptr %3, align 8, !tbaa !5
  %1800 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1799, i32 0, i32 8
  %1801 = load i64, ptr %1800, align 8, !tbaa !93
  %1802 = icmp eq i64 %1801, 0
  br i1 %1802, label %1803, label %1812

1803:                                             ; preds = %1798
  %1804 = load ptr, ptr %3, align 8, !tbaa !5
  %1805 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1804, i32 0, i32 9
  %1806 = load ptr, ptr %3, align 8, !tbaa !5
  %1807 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1806, i32 0, i32 29
  %1808 = load ptr, ptr %4, align 8, !tbaa !5
  %1809 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %1805, ptr noundef %1807, ptr noundef %1808)
  %1810 = load ptr, ptr %3, align 8, !tbaa !5
  %1811 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1810, i32 0, i32 30
  store double %1809, ptr %1811, align 8, !tbaa !78
  br label %1812

1812:                                             ; preds = %1803, %1798
  %1813 = load ptr, ptr %3, align 8, !tbaa !5
  %1814 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1813, i32 0, i32 8
  %1815 = load i64, ptr %1814, align 8, !tbaa !93
  %1816 = icmp eq i64 %1815, 1
  br i1 %1816, label %1817, label %1831

1817:                                             ; preds = %1812
  %1818 = load ptr, ptr %3, align 8, !tbaa !5
  %1819 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1818, i32 0, i32 11
  %1820 = load ptr, ptr %3, align 8, !tbaa !5
  %1821 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1820, i32 0, i32 12
  %1822 = load i8, ptr %1821, align 8, !tbaa !97, !range !85, !noundef !86
  %1823 = trunc i8 %1822 to i1
  %1824 = load ptr, ptr %3, align 8, !tbaa !5
  %1825 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1824, i32 0, i32 29
  %1826 = load ptr, ptr %4, align 8, !tbaa !5
  %1827 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %1819, i1 noundef zeroext %1823, ptr noundef %1825, ptr noundef %1826)
  %1828 = fmul double 5.000000e-01, %1827
  %1829 = load ptr, ptr %3, align 8, !tbaa !5
  %1830 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1829, i32 0, i32 30
  store double %1828, ptr %1830, align 8, !tbaa !78
  br label %1831

1831:                                             ; preds = %1817, %1812
  %1832 = load ptr, ptr %3, align 8, !tbaa !5
  %1833 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1832, i32 0, i32 30
  %1834 = load double, ptr %1833, align 8, !tbaa !78
  %1835 = load i64, ptr %6, align 8, !tbaa !65
  %1836 = load ptr, ptr %3, align 8, !tbaa !5
  %1837 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1836, i32 0, i32 16
  %1838 = load ptr, ptr %3, align 8, !tbaa !5
  %1839 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1838, i32 0, i32 29
  %1840 = load ptr, ptr %4, align 8, !tbaa !5
  %1841 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %1835, ptr noundef %1837, ptr noundef %1839, ptr noundef %1840)
  %1842 = fadd double %1834, %1841
  %1843 = load ptr, ptr %3, align 8, !tbaa !5
  %1844 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1843, i32 0, i32 30
  store double %1842, ptr %1844, align 8, !tbaa !78
  br label %1845

1845:                                             ; preds = %1831, %1770
  %1846 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1846)
  store i32 1, ptr %22, align 4
  br label %2327

1847:                                             ; preds = %1359
  %1848 = load ptr, ptr %3, align 8, !tbaa !5
  %1849 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1848, i32 0, i32 7
  %1850 = load i64, ptr %1849, align 8, !tbaa !96
  %1851 = icmp eq i64 %1850, 9
  br i1 %1851, label %1852, label %2324

1852:                                             ; preds = %1847
  %1853 = load ptr, ptr %3, align 8, !tbaa !5
  %1854 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1853, i32 0, i32 26
  %1855 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl18xlcconverttosparseEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef %1854, ptr noundef %1855)
  %1856 = load ptr, ptr %3, align 8, !tbaa !5
  %1857 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1856, i32 0, i32 27
  %1858 = load ptr, ptr %4, align 8, !tbaa !5
  %1859 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef %1857, ptr noundef %1858)
  %1860 = load ptr, ptr %3, align 8, !tbaa !5
  %1861 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1860, i32 0, i32 28
  %1862 = load ptr, ptr %4, align 8, !tbaa !5
  %1863 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef %1861, ptr noundef %1862)
  %1864 = add nsw i64 %1859, %1863
  %1865 = icmp sgt i64 %1864, 0
  br i1 %1865, label %1866, label %1874

1866:                                             ; preds = %1852
  %1867 = load ptr, ptr %3, align 8, !tbaa !5
  %1868 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1867, i32 0, i32 35
  store i64 -5, ptr %1868, align 8, !tbaa !68
  %1869 = load i64, ptr %6, align 8, !tbaa !65
  %1870 = load ptr, ptr %3, align 8, !tbaa !5
  %1871 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1870, i32 0, i32 29
  %1872 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1869, double noundef 0.000000e+00, ptr noundef %1871, ptr noundef %1872)
  %1873 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1873)
  store i32 1, ptr %22, align 4
  br label %2327

1874:                                             ; preds = %1852
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %1875

1875:                                             ; preds = %1946, %1874
  %1876 = load i64, ptr %10, align 8, !tbaa !65
  %1877 = load i64, ptr %6, align 8, !tbaa !65
  %1878 = sub nsw i64 %1877, 1
  %1879 = icmp sle i64 %1876, %1878
  br i1 %1879, label %1880, label %1949

1880:                                             ; preds = %1875
  %1881 = load ptr, ptr %3, align 8, !tbaa !5
  %1882 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1881, i32 0, i32 17
  %1883 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1882, i32 0, i32 4
  %1884 = load ptr, ptr %1883, align 8, !tbaa !79
  %1885 = load i64, ptr %10, align 8, !tbaa !65
  %1886 = getelementptr inbounds double, ptr %1884, i64 %1885
  %1887 = load double, ptr %1886, align 8, !tbaa !80
  %1888 = load ptr, ptr %4, align 8, !tbaa !5
  %1889 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1887, ptr noundef %1888)
  br i1 %1889, label %1901, label %1890

1890:                                             ; preds = %1880
  %1891 = load ptr, ptr %3, align 8, !tbaa !5
  %1892 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1891, i32 0, i32 18
  %1893 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1892, i32 0, i32 4
  %1894 = load ptr, ptr %1893, align 8, !tbaa !79
  %1895 = load i64, ptr %10, align 8, !tbaa !65
  %1896 = getelementptr inbounds double, ptr %1894, i64 %1895
  %1897 = load double, ptr %1896, align 8, !tbaa !80
  %1898 = load ptr, ptr %4, align 8, !tbaa !5
  %1899 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1897, ptr noundef %1898)
  br i1 %1899, label %1901, label %1900

1900:                                             ; preds = %1890
  br label %1946

1901:                                             ; preds = %1890, %1880
  %1902 = load ptr, ptr %3, align 8, !tbaa !5
  %1903 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1902, i32 0, i32 17
  %1904 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1903, i32 0, i32 4
  %1905 = load ptr, ptr %1904, align 8, !tbaa !79
  %1906 = load i64, ptr %10, align 8, !tbaa !65
  %1907 = getelementptr inbounds double, ptr %1905, i64 %1906
  %1908 = load double, ptr %1907, align 8, !tbaa !80
  %1909 = load ptr, ptr %4, align 8, !tbaa !5
  %1910 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1908, ptr noundef %1909)
  br i1 %1910, label %1911, label %1938

1911:                                             ; preds = %1901
  %1912 = load ptr, ptr %3, align 8, !tbaa !5
  %1913 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1912, i32 0, i32 18
  %1914 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1913, i32 0, i32 4
  %1915 = load ptr, ptr %1914, align 8, !tbaa !79
  %1916 = load i64, ptr %10, align 8, !tbaa !65
  %1917 = getelementptr inbounds double, ptr %1915, i64 %1916
  %1918 = load double, ptr %1917, align 8, !tbaa !80
  %1919 = load ptr, ptr %4, align 8, !tbaa !5
  %1920 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1918, ptr noundef %1919)
  br i1 %1920, label %1921, label %1938

1921:                                             ; preds = %1911
  %1922 = load ptr, ptr %3, align 8, !tbaa !5
  %1923 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1922, i32 0, i32 17
  %1924 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1923, i32 0, i32 4
  %1925 = load ptr, ptr %1924, align 8, !tbaa !79
  %1926 = load i64, ptr %10, align 8, !tbaa !65
  %1927 = getelementptr inbounds double, ptr %1925, i64 %1926
  %1928 = load double, ptr %1927, align 8, !tbaa !80
  %1929 = load ptr, ptr %3, align 8, !tbaa !5
  %1930 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1929, i32 0, i32 18
  %1931 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1930, i32 0, i32 4
  %1932 = load ptr, ptr %1931, align 8, !tbaa !79
  %1933 = load i64, ptr %10, align 8, !tbaa !65
  %1934 = getelementptr inbounds double, ptr %1932, i64 %1933
  %1935 = load double, ptr %1934, align 8, !tbaa !80
  %1936 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1928, double noundef %1935)
  br i1 %1936, label %1937, label %1938

1937:                                             ; preds = %1921
  br label %1946

1938:                                             ; preds = %1921, %1911, %1901
  %1939 = load ptr, ptr %3, align 8, !tbaa !5
  %1940 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1939, i32 0, i32 35
  store i64 -5, ptr %1940, align 8, !tbaa !68
  %1941 = load i64, ptr %6, align 8, !tbaa !65
  %1942 = load ptr, ptr %3, align 8, !tbaa !5
  %1943 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1942, i32 0, i32 29
  %1944 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %1941, double noundef 0.000000e+00, ptr noundef %1943, ptr noundef %1944)
  %1945 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1945)
  store i32 1, ptr %22, align 4
  br label %2327

1946:                                             ; preds = %1937, %1900
  %1947 = load i64, ptr %10, align 8, !tbaa !65
  %1948 = add nsw i64 %1947, 1
  store i64 %1948, ptr %10, align 8, !tbaa !65
  br label %1875, !llvm.loop !119

1949:                                             ; preds = %1875
  store i64 0, ptr %10, align 8, !tbaa !65
  br label %1950

1950:                                             ; preds = %2027, %1949
  %1951 = load i64, ptr %10, align 8, !tbaa !65
  %1952 = load i64, ptr %7, align 8, !tbaa !65
  %1953 = sub nsw i64 %1952, 1
  %1954 = icmp sle i64 %1951, %1953
  br i1 %1954, label %1955, label %2030

1955:                                             ; preds = %1950
  %1956 = load ptr, ptr %3, align 8, !tbaa !5
  %1957 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1956, i32 0, i32 26
  %1958 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1957, i32 0, i32 15
  %1959 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1958, i32 0, i32 4
  %1960 = load ptr, ptr %1959, align 8, !tbaa !79
  %1961 = load i64, ptr %10, align 8, !tbaa !65
  %1962 = getelementptr inbounds double, ptr %1960, i64 %1961
  %1963 = load double, ptr %1962, align 8, !tbaa !80
  %1964 = load ptr, ptr %4, align 8, !tbaa !5
  %1965 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1963, ptr noundef %1964)
  br i1 %1965, label %1978, label %1966

1966:                                             ; preds = %1955
  %1967 = load ptr, ptr %3, align 8, !tbaa !5
  %1968 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1967, i32 0, i32 26
  %1969 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1968, i32 0, i32 16
  %1970 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1969, i32 0, i32 4
  %1971 = load ptr, ptr %1970, align 8, !tbaa !79
  %1972 = load i64, ptr %10, align 8, !tbaa !65
  %1973 = getelementptr inbounds double, ptr %1971, i64 %1972
  %1974 = load double, ptr %1973, align 8, !tbaa !80
  %1975 = load ptr, ptr %4, align 8, !tbaa !5
  %1976 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1974, ptr noundef %1975)
  br i1 %1976, label %1978, label %1977

1977:                                             ; preds = %1966
  br label %2027

1978:                                             ; preds = %1966, %1955
  %1979 = load ptr, ptr %3, align 8, !tbaa !5
  %1980 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1979, i32 0, i32 26
  %1981 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1980, i32 0, i32 15
  %1982 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1981, i32 0, i32 4
  %1983 = load ptr, ptr %1982, align 8, !tbaa !79
  %1984 = load i64, ptr %10, align 8, !tbaa !65
  %1985 = getelementptr inbounds double, ptr %1983, i64 %1984
  %1986 = load double, ptr %1985, align 8, !tbaa !80
  %1987 = load ptr, ptr %4, align 8, !tbaa !5
  %1988 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1986, ptr noundef %1987)
  br i1 %1988, label %1989, label %2019

1989:                                             ; preds = %1978
  %1990 = load ptr, ptr %3, align 8, !tbaa !5
  %1991 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %1990, i32 0, i32 26
  %1992 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %1991, i32 0, i32 16
  %1993 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1992, i32 0, i32 4
  %1994 = load ptr, ptr %1993, align 8, !tbaa !79
  %1995 = load i64, ptr %10, align 8, !tbaa !65
  %1996 = getelementptr inbounds double, ptr %1994, i64 %1995
  %1997 = load double, ptr %1996, align 8, !tbaa !80
  %1998 = load ptr, ptr %4, align 8, !tbaa !5
  %1999 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1997, ptr noundef %1998)
  br i1 %1999, label %2000, label %2019

2000:                                             ; preds = %1989
  %2001 = load ptr, ptr %3, align 8, !tbaa !5
  %2002 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2001, i32 0, i32 26
  %2003 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2002, i32 0, i32 15
  %2004 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2003, i32 0, i32 4
  %2005 = load ptr, ptr %2004, align 8, !tbaa !79
  %2006 = load i64, ptr %10, align 8, !tbaa !65
  %2007 = getelementptr inbounds double, ptr %2005, i64 %2006
  %2008 = load double, ptr %2007, align 8, !tbaa !80
  %2009 = load ptr, ptr %3, align 8, !tbaa !5
  %2010 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2009, i32 0, i32 26
  %2011 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2010, i32 0, i32 16
  %2012 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %2011, i32 0, i32 4
  %2013 = load ptr, ptr %2012, align 8, !tbaa !79
  %2014 = load i64, ptr %10, align 8, !tbaa !65
  %2015 = getelementptr inbounds double, ptr %2013, i64 %2014
  %2016 = load double, ptr %2015, align 8, !tbaa !80
  %2017 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %2008, double noundef %2016)
  br i1 %2017, label %2018, label %2019

2018:                                             ; preds = %2000
  br label %2027

2019:                                             ; preds = %2000, %1989, %1978
  %2020 = load ptr, ptr %3, align 8, !tbaa !5
  %2021 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2020, i32 0, i32 35
  store i64 -5, ptr %2021, align 8, !tbaa !68
  %2022 = load i64, ptr %6, align 8, !tbaa !65
  %2023 = load ptr, ptr %3, align 8, !tbaa !5
  %2024 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2023, i32 0, i32 29
  %2025 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %2022, double noundef 0.000000e+00, ptr noundef %2024, ptr noundef %2025)
  %2026 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %2026)
  store i32 1, ptr %22, align 4
  br label %2327

2027:                                             ; preds = %2018, %1977
  %2028 = load i64, ptr %10, align 8, !tbaa !65
  %2029 = add nsw i64 %2028, 1
  store i64 %2029, ptr %10, align 8, !tbaa !65
  br label %1950, !llvm.loop !120

2030:                                             ; preds = %1950
  %2031 = load ptr, ptr %3, align 8, !tbaa !5
  %2032 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2031, i32 0, i32 8
  %2033 = load i64, ptr %2032, align 8, !tbaa !93
  %2034 = icmp eq i64 %2033, 0
  br i1 %2034, label %2040, label %2035

2035:                                             ; preds = %2030
  %2036 = load ptr, ptr %3, align 8, !tbaa !5
  %2037 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2036, i32 0, i32 8
  %2038 = load i64, ptr %2037, align 8, !tbaa !93
  %2039 = icmp eq i64 %2038, 1
  br label %2040

2040:                                             ; preds = %2035, %2030
  %2041 = phi i1 [ true, %2030 ], [ %2039, %2035 ]
  %2042 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %2041, ptr noundef @.str.1102, ptr noundef %2042)
  %2043 = load ptr, ptr %3, align 8, !tbaa !5
  %2044 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2043, i32 0, i32 8
  %2045 = load i64, ptr %2044, align 8, !tbaa !93
  %2046 = icmp eq i64 %2045, 0
  br i1 %2046, label %2047, label %2060

2047:                                             ; preds = %2040
  %2048 = load ptr, ptr %3, align 8, !tbaa !5
  %2049 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2048, i32 0, i32 9
  %2050 = load ptr, ptr %3, align 8, !tbaa !5
  %2051 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2050, i32 0, i32 51
  %2052 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl7cqmgetaEPKNS_20convexquadraticmodelEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %2049, ptr noundef %2051, ptr noundef %2052)
  %2053 = load ptr, ptr %3, align 8, !tbaa !5
  %2054 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2053, i32 0, i32 51
  %2055 = load i64, ptr %6, align 8, !tbaa !65
  %2056 = load i64, ptr %6, align 8, !tbaa !65
  %2057 = load ptr, ptr %3, align 8, !tbaa !5
  %2058 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2057, i32 0, i32 11
  %2059 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl27sparsecreatecrsfromdensebufEPKNS_9ae_matrixEllPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %2054, i64 noundef %2055, i64 noundef %2056, ptr noundef %2058, ptr noundef %2059)
  br label %2060

2060:                                             ; preds = %2047, %2040
  %2061 = load ptr, ptr %3, align 8, !tbaa !5
  %2062 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2061, i32 0, i32 6
  %2063 = load i8, ptr %2062, align 1, !tbaa !108, !range !85, !noundef !86
  %2064 = trunc i8 %2063 to i1
  br i1 %2064, label %2065, label %2102

2065:                                             ; preds = %2060
  %2066 = load ptr, ptr %3, align 8, !tbaa !5
  %2067 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2066, i32 0, i32 43
  %2068 = load ptr, ptr %3, align 8, !tbaa !5
  %2069 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2068, i32 0, i32 23
  %2070 = load ptr, ptr %3, align 8, !tbaa !5
  %2071 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2070, i32 0, i32 16
  %2072 = load ptr, ptr %3, align 8, !tbaa !5
  %2073 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2072, i32 0, i32 17
  %2074 = load ptr, ptr %3, align 8, !tbaa !5
  %2075 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2074, i32 0, i32 18
  %2076 = load ptr, ptr %3, align 8, !tbaa !5
  %2077 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2076, i32 0, i32 11
  %2078 = load ptr, ptr %3, align 8, !tbaa !5
  %2079 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2078, i32 0, i32 12
  %2080 = load i8, ptr %2079, align 8, !tbaa !97, !range !85, !noundef !86
  %2081 = trunc i8 %2080 to i1
  %2082 = load i64, ptr %6, align 8, !tbaa !65
  %2083 = load ptr, ptr %3, align 8, !tbaa !5
  %2084 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2083, i32 0, i32 26
  %2085 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2084, i32 0, i32 14
  %2086 = load ptr, ptr %3, align 8, !tbaa !5
  %2087 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2086, i32 0, i32 26
  %2088 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2087, i32 0, i32 15
  %2089 = load ptr, ptr %3, align 8, !tbaa !5
  %2090 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2089, i32 0, i32 26
  %2091 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2090, i32 0, i32 16
  %2092 = load i64, ptr %7, align 8, !tbaa !65
  %2093 = load ptr, ptr %3, align 8, !tbaa !5
  %2094 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2093, i32 0, i32 27
  %2095 = load ptr, ptr %3, align 8, !tbaa !5
  %2096 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2095, i32 0, i32 28
  %2097 = load i8, ptr %12, align 1, !tbaa !75, !range !85, !noundef !86
  %2098 = trunc i8 %2097 to i1
  %2099 = load ptr, ptr %3, align 8, !tbaa !5
  %2100 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2099, i32 0, i32 52
  %2101 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10presolveqpEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef %2067, ptr noundef %2069, ptr noundef %2071, ptr noundef %2073, ptr noundef %2075, ptr noundef %2077, i1 noundef zeroext %2081, i1 noundef zeroext true, i64 noundef %2082, ptr noundef %2085, ptr noundef %2088, ptr noundef %2091, i64 noundef %2092, ptr noundef %2094, ptr noundef %2096, i1 noundef zeroext %2098, ptr noundef %2100, ptr noundef %2101)
  br label %2139

2102:                                             ; preds = %2060
  %2103 = load ptr, ptr %3, align 8, !tbaa !5
  %2104 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2103, i32 0, i32 43
  %2105 = load ptr, ptr %3, align 8, !tbaa !5
  %2106 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2105, i32 0, i32 23
  %2107 = load ptr, ptr %3, align 8, !tbaa !5
  %2108 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2107, i32 0, i32 16
  %2109 = load ptr, ptr %3, align 8, !tbaa !5
  %2110 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2109, i32 0, i32 17
  %2111 = load ptr, ptr %3, align 8, !tbaa !5
  %2112 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2111, i32 0, i32 18
  %2113 = load ptr, ptr %3, align 8, !tbaa !5
  %2114 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2113, i32 0, i32 11
  %2115 = load ptr, ptr %3, align 8, !tbaa !5
  %2116 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2115, i32 0, i32 12
  %2117 = load i8, ptr %2116, align 8, !tbaa !97, !range !85, !noundef !86
  %2118 = trunc i8 %2117 to i1
  %2119 = load i64, ptr %6, align 8, !tbaa !65
  %2120 = load ptr, ptr %3, align 8, !tbaa !5
  %2121 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2120, i32 0, i32 26
  %2122 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2121, i32 0, i32 14
  %2123 = load ptr, ptr %3, align 8, !tbaa !5
  %2124 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2123, i32 0, i32 26
  %2125 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2124, i32 0, i32 15
  %2126 = load ptr, ptr %3, align 8, !tbaa !5
  %2127 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2126, i32 0, i32 26
  %2128 = getelementptr inbounds %"struct.alglib_impl::xlinearconstraints", ptr %2127, i32 0, i32 16
  %2129 = load i64, ptr %7, align 8, !tbaa !65
  %2130 = load ptr, ptr %3, align 8, !tbaa !5
  %2131 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2130, i32 0, i32 27
  %2132 = load ptr, ptr %3, align 8, !tbaa !5
  %2133 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2132, i32 0, i32 28
  %2134 = load i8, ptr %12, align 1, !tbaa !75, !range !85, !noundef !86
  %2135 = trunc i8 %2134 to i1
  %2136 = load ptr, ptr %3, align 8, !tbaa !5
  %2137 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2136, i32 0, i32 52
  %2138 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef %2104, ptr noundef %2106, ptr noundef %2108, ptr noundef %2110, ptr noundef %2112, ptr noundef %2114, i1 noundef zeroext %2118, i1 noundef zeroext true, i64 noundef %2119, ptr noundef %2122, ptr noundef %2125, ptr noundef %2128, i64 noundef %2129, ptr noundef %2131, ptr noundef %2133, i1 noundef zeroext %2135, ptr noundef %2137, ptr noundef %2138)
  br label %2139

2139:                                             ; preds = %2102, %2065
  %2140 = load ptr, ptr %3, align 8, !tbaa !5
  %2141 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2140, i32 0, i32 52
  %2142 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2141, i32 0, i32 16
  %2143 = load i64, ptr %2142, align 8, !tbaa !109
  %2144 = icmp eq i64 %2143, -3
  br i1 %2144, label %2151, label %2145

2145:                                             ; preds = %2139
  %2146 = load ptr, ptr %3, align 8, !tbaa !5
  %2147 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2146, i32 0, i32 52
  %2148 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2147, i32 0, i32 16
  %2149 = load i64, ptr %2148, align 8, !tbaa !109
  %2150 = icmp eq i64 %2149, -2
  br i1 %2150, label %2151, label %2163

2151:                                             ; preds = %2145, %2139
  %2152 = load ptr, ptr %3, align 8, !tbaa !5
  %2153 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2152, i32 0, i32 52
  %2154 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2153, i32 0, i32 16
  %2155 = load i64, ptr %2154, align 8, !tbaa !109
  %2156 = load ptr, ptr %3, align 8, !tbaa !5
  %2157 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2156, i32 0, i32 35
  store i64 %2155, ptr %2157, align 8, !tbaa !68
  %2158 = load i64, ptr %6, align 8, !tbaa !65
  %2159 = load ptr, ptr %3, align 8, !tbaa !5
  %2160 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2159, i32 0, i32 29
  %2161 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %2158, double noundef 0.000000e+00, ptr noundef %2160, ptr noundef %2161)
  %2162 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %2162)
  store i32 1, ptr %22, align 4
  br label %2327

2163:                                             ; preds = %2145
  %2164 = load ptr, ptr %3, align 8, !tbaa !5
  %2165 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2164, i32 0, i32 52
  %2166 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2165, i32 0, i32 16
  %2167 = load i64, ptr %2166, align 8, !tbaa !109
  %2168 = icmp eq i64 %2167, 0
  %2169 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %2168, ptr noundef @.str.1105, ptr noundef %2169)
  %2170 = load ptr, ptr %3, align 8, !tbaa !5
  %2171 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2170, i32 0, i32 52
  %2172 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2171, i32 0, i32 0
  %2173 = load i64, ptr %2172, align 8, !tbaa !110
  %2174 = icmp sgt i64 %2173, 0
  br i1 %2174, label %2175, label %2223

2175:                                             ; preds = %2163
  %2176 = load ptr, ptr %3, align 8, !tbaa !5
  %2177 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2176, i32 0, i32 59
  %2178 = load ptr, ptr %3, align 8, !tbaa !5
  %2179 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2178, i32 0, i32 52
  %2180 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2179, i32 0, i32 0
  %2181 = load i64, ptr %2180, align 8, !tbaa !110
  %2182 = load ptr, ptr %3, align 8, !tbaa !5
  %2183 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2182, i32 0, i32 52
  %2184 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2183, i32 0, i32 21
  %2185 = load ptr, ptr %3, align 8, !tbaa !5
  %2186 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2185, i32 0, i32 52
  %2187 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2186, i32 0, i32 18
  %2188 = load ptr, ptr %3, align 8, !tbaa !5
  %2189 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2188, i32 0, i32 52
  %2190 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2189, i32 0, i32 22
  %2191 = load ptr, ptr %3, align 8, !tbaa !5
  %2192 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2191, i32 0, i32 52
  %2193 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2192, i32 0, i32 23
  %2194 = load ptr, ptr %3, align 8, !tbaa !5
  %2195 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2194, i32 0, i32 52
  %2196 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2195, i32 0, i32 4
  %2197 = load i64, ptr %2196, align 8, !tbaa !111
  %2198 = load ptr, ptr %3, align 8, !tbaa !5
  %2199 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2198, i32 0, i32 29
  %2200 = load ptr, ptr %3, align 8, !tbaa !5
  %2201 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2200, i32 0, i32 37
  %2202 = load ptr, ptr %3, align 8, !tbaa !5
  %2203 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2202, i32 0, i32 35
  %2204 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ecqpsolveEPNS_9ecqpstateElPKNS_12sparsematrixEPKNS_9ae_vectorES4_S7_lPS5_S8_PlPNS_8ae_stateE(ptr noundef %2177, i64 noundef %2181, ptr noundef %2184, ptr noundef %2187, ptr noundef %2190, ptr noundef %2193, i64 noundef %2197, ptr noundef %2199, ptr noundef %2201, ptr noundef %2203, ptr noundef %2204)
  %2205 = load ptr, ptr %3, align 8, !tbaa !5
  %2206 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2205, i32 0, i32 59
  %2207 = getelementptr inbounds %"struct.alglib_impl::ecqpstate", ptr %2206, i32 0, i32 9
  %2208 = load i64, ptr %2207, align 8, !tbaa !121
  %2209 = load ptr, ptr %3, align 8, !tbaa !5
  %2210 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2209, i32 0, i32 31
  store i64 %2208, ptr %2210, align 8, !tbaa !69
  %2211 = load ptr, ptr %3, align 8, !tbaa !5
  %2212 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2211, i32 0, i32 59
  %2213 = getelementptr inbounds %"struct.alglib_impl::ecqpstate", ptr %2212, i32 0, i32 9
  %2214 = load i64, ptr %2213, align 8, !tbaa !121
  %2215 = load ptr, ptr %3, align 8, !tbaa !5
  %2216 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2215, i32 0, i32 32
  store i64 %2214, ptr %2216, align 8, !tbaa !70
  %2217 = load ptr, ptr %3, align 8, !tbaa !5
  %2218 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2217, i32 0, i32 59
  %2219 = getelementptr inbounds %"struct.alglib_impl::ecqpstate", ptr %2218, i32 0, i32 9
  %2220 = load i64, ptr %2219, align 8, !tbaa !121
  %2221 = load ptr, ptr %3, align 8, !tbaa !5
  %2222 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2221, i32 0, i32 33
  store i64 %2220, ptr %2222, align 8, !tbaa !71
  br label %2251

2223:                                             ; preds = %2163
  %2224 = load ptr, ptr %3, align 8, !tbaa !5
  %2225 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2224, i32 0, i32 52
  %2226 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2225, i32 0, i32 0
  %2227 = load i64, ptr %2226, align 8, !tbaa !110
  %2228 = load ptr, ptr %3, align 8, !tbaa !5
  %2229 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2228, i32 0, i32 36
  %2230 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %2227, double noundef 0.000000e+00, ptr noundef %2229, ptr noundef %2230)
  %2231 = load ptr, ptr %3, align 8, !tbaa !5
  %2232 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2231, i32 0, i32 52
  %2233 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2232, i32 0, i32 4
  %2234 = load i64, ptr %2233, align 8, !tbaa !111
  %2235 = load ptr, ptr %3, align 8, !tbaa !5
  %2236 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2235, i32 0, i32 37
  %2237 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %2234, double noundef 0.000000e+00, ptr noundef %2236, ptr noundef %2237)
  %2238 = load ptr, ptr %3, align 8, !tbaa !5
  %2239 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2238, i32 0, i32 52
  %2240 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %2239, i32 0, i32 6
  %2241 = load i64, ptr %2240, align 8, !tbaa !116
  %2242 = load ptr, ptr %3, align 8, !tbaa !5
  %2243 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2242, i32 0, i32 38
  %2244 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %2241, double noundef 0.000000e+00, ptr noundef %2243, ptr noundef %2244)
  %2245 = load ptr, ptr %3, align 8, !tbaa !5
  %2246 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2245, i32 0, i32 35
  store i64 1, ptr %2246, align 8, !tbaa !68
  %2247 = load ptr, ptr %3, align 8, !tbaa !5
  %2248 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2247, i32 0, i32 31
  store i64 0, ptr %2248, align 8, !tbaa !69
  %2249 = load ptr, ptr %3, align 8, !tbaa !5
  %2250 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2249, i32 0, i32 32
  store i64 0, ptr %2250, align 8, !tbaa !70
  br label %2251

2251:                                             ; preds = %2223, %2175
  %2252 = load ptr, ptr %3, align 8, !tbaa !5
  %2253 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2252, i32 0, i32 52
  %2254 = load ptr, ptr %3, align 8, !tbaa !5
  %2255 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2254, i32 0, i32 29
  %2256 = load ptr, ptr %3, align 8, !tbaa !5
  %2257 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2256, i32 0, i32 46
  %2258 = load ptr, ptr %3, align 8, !tbaa !5
  %2259 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2258, i32 0, i32 36
  %2260 = load ptr, ptr %3, align 8, !tbaa !5
  %2261 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2260, i32 0, i32 37
  %2262 = load ptr, ptr %3, align 8, !tbaa !5
  %2263 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2262, i32 0, i32 38
  %2264 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11presolvebwdEPNS_12presolveinfoEPNS_9ae_vectorES3_bS3_S3_S3_PNS_8ae_stateE(ptr noundef %2253, ptr noundef %2255, ptr noundef %2257, i1 noundef zeroext false, ptr noundef %2259, ptr noundef %2261, ptr noundef %2263, ptr noundef %2264)
  %2265 = load i64, ptr %6, align 8, !tbaa !65
  %2266 = load ptr, ptr %3, align 8, !tbaa !5
  %2267 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2266, i32 0, i32 39
  store i64 %2265, ptr %2267, align 8, !tbaa !73
  %2268 = load i64, ptr %7, align 8, !tbaa !65
  %2269 = load ptr, ptr %3, align 8, !tbaa !5
  %2270 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2269, i32 0, i32 40
  store i64 %2268, ptr %2270, align 8, !tbaa !74
  %2271 = load ptr, ptr %3, align 8, !tbaa !5
  %2272 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2271, i32 0, i32 35
  %2273 = load i64, ptr %2272, align 8, !tbaa !68
  %2274 = icmp sgt i64 %2273, 0
  br i1 %2274, label %2275, label %2322

2275:                                             ; preds = %2251
  %2276 = load ptr, ptr %3, align 8, !tbaa !5
  %2277 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2276, i32 0, i32 8
  %2278 = load i64, ptr %2277, align 8, !tbaa !93
  %2279 = icmp eq i64 %2278, 0
  br i1 %2279, label %2280, label %2289

2280:                                             ; preds = %2275
  %2281 = load ptr, ptr %3, align 8, !tbaa !5
  %2282 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2281, i32 0, i32 9
  %2283 = load ptr, ptr %3, align 8, !tbaa !5
  %2284 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2283, i32 0, i32 29
  %2285 = load ptr, ptr %4, align 8, !tbaa !5
  %2286 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %2282, ptr noundef %2284, ptr noundef %2285)
  %2287 = load ptr, ptr %3, align 8, !tbaa !5
  %2288 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2287, i32 0, i32 30
  store double %2286, ptr %2288, align 8, !tbaa !78
  br label %2289

2289:                                             ; preds = %2280, %2275
  %2290 = load ptr, ptr %3, align 8, !tbaa !5
  %2291 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2290, i32 0, i32 8
  %2292 = load i64, ptr %2291, align 8, !tbaa !93
  %2293 = icmp eq i64 %2292, 1
  br i1 %2293, label %2294, label %2308

2294:                                             ; preds = %2289
  %2295 = load ptr, ptr %3, align 8, !tbaa !5
  %2296 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2295, i32 0, i32 11
  %2297 = load ptr, ptr %3, align 8, !tbaa !5
  %2298 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2297, i32 0, i32 12
  %2299 = load i8, ptr %2298, align 8, !tbaa !97, !range !85, !noundef !86
  %2300 = trunc i8 %2299 to i1
  %2301 = load ptr, ptr %3, align 8, !tbaa !5
  %2302 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2301, i32 0, i32 29
  %2303 = load ptr, ptr %4, align 8, !tbaa !5
  %2304 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %2296, i1 noundef zeroext %2300, ptr noundef %2302, ptr noundef %2303)
  %2305 = fmul double 5.000000e-01, %2304
  %2306 = load ptr, ptr %3, align 8, !tbaa !5
  %2307 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2306, i32 0, i32 30
  store double %2305, ptr %2307, align 8, !tbaa !78
  br label %2308

2308:                                             ; preds = %2294, %2289
  %2309 = load ptr, ptr %3, align 8, !tbaa !5
  %2310 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2309, i32 0, i32 30
  %2311 = load double, ptr %2310, align 8, !tbaa !78
  %2312 = load i64, ptr %6, align 8, !tbaa !65
  %2313 = load ptr, ptr %3, align 8, !tbaa !5
  %2314 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2313, i32 0, i32 16
  %2315 = load ptr, ptr %3, align 8, !tbaa !5
  %2316 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2315, i32 0, i32 29
  %2317 = load ptr, ptr %4, align 8, !tbaa !5
  %2318 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %2312, ptr noundef %2314, ptr noundef %2316, ptr noundef %2317)
  %2319 = fadd double %2311, %2318
  %2320 = load ptr, ptr %3, align 8, !tbaa !5
  %2321 = getelementptr inbounds %"struct.alglib_impl::minqpstate", ptr %2320, i32 0, i32 30
  store double %2319, ptr %2321, align 8, !tbaa !78
  br label %2322

2322:                                             ; preds = %2308, %2251
  %2323 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %2323)
  store i32 1, ptr %22, align 4
  br label %2327

2324:                                             ; preds = %1847
  %2325 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.978, ptr noundef %2325)
  %2326 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %2326)
  store i32 0, ptr %22, align 4
  br label %2327

2327:                                             ; preds = %2324, %2322, %2151, %2019, %1938, %1866, %1845, %1622, %1509, %1375, %1352, %1022, %890, %867, %760, %732, %541, %497, %359
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  %2328 = load i32, ptr %22, align 4
  switch i32 %2328, label %2330 [
    i32 0, label %2329
    i32 1, label %2329
  ]

2329:                                             ; preds = %2327, %2327
  ret void

2330:                                             ; preds = %2327
  unreachable
}

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

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

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

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

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

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

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

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

declare noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef) #2

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

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

declare noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef double @_ZN11alglib_impl9sparsegetEPKNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl10minqpstateE", !11, i64 0, !12, i64 8, !15, i64 80, !13, i64 104, !11, i64 112, !14, i64 120, !14, i64 121, !11, i64 128, !11, i64 136, !16, i64 144, !14, i64 1832, !20, i64 1840, !14, i64 2208, !13, i64 2216, !13, i64 2224, !13, i64 2232, !19, i64 2240, !19, i64 2304, !19, i64 2368, !11, i64 2432, !19, i64 2440, !19, i64 2504, !19, i64 2568, !19, i64 2632, !19, i64 2696, !14, i64 2760, !21, i64 2768, !22, i64 4584, !25, i64 4792, !19, i64 4936, !13, i64 5000, !11, i64 5008, !11, i64 5016, !11, i64 5024, !11, i64 5032, !11, i64 5040, !19, i64 5048, !19, i64 5112, !19, i64 5176, !11, i64 5240, !11, i64 5248, !11, i64 5256, !11, i64 5264, !19, i64 5272, !19, i64 5336, !19, i64 5400, !19, i64 5464, !19, i64 5528, !19, i64 5592, !17, i64 5656, !20, i64 5736, !17, i64 6104, !26, i64 6184, !32, i64 12176, !32, i64 12320, !33, i64 12464, !37, i64 19768, !38, i64 31392, !49, i64 58040, !54, i64 81936, !58, i64 99144, !20, i64 130320, !25, i64 130688}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl11qqpsettingsE", !13, i64 0, !13, i64 8, !13, i64 16, !11, i64 24, !14, i64 32, !14, i64 33, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!13 = !{!"double", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl18qpdenseaulsettingsE", !13, i64 0, !11, i64 8, !13, i64 16}
!16 = !{!"_ZTSN11alglib_impl20convexquadraticmodelE", !11, i64 0, !11, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !17, i64 40, !17, i64 120, !19, i64 200, !19, i64 264, !19, i64 328, !19, i64 392, !19, i64 456, !17, i64 520, !17, i64 600, !19, i64 680, !19, i64 744, !19, i64 808, !13, i64 872, !13, i64 880, !19, i64 888, !19, i64 952, !11, i64 1016, !11, i64 1024, !17, i64 1032, !17, i64 1112, !17, i64 1192, !19, i64 1272, !19, i64 1336, !13, i64 1400, !19, i64 1408, !19, i64 1472, !19, i64 1536, !17, i64 1600, !14, i64 1680, !14, i64 1681, !14, i64 1682, !14, i64 1683}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !14, i64 32, !18, i64 40, !7, i64 72}
!18 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !14, i64 16, !18, i64 24, !7, i64 56}
!20 = !{!"_ZTSN11alglib_impl12sparsematrixE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !19, i64 256, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360}
!21 = !{!"_ZTSN11alglib_impl18xlinearconstraintsE", !11, i64 0, !11, i64 8, !11, i64 16, !17, i64 24, !20, i64 104, !19, i64 472, !19, i64 536, !19, i64 600, !19, i64 664, !11, i64 728, !11, i64 736, !17, i64 744, !19, i64 824, !19, i64 888, !20, i64 952, !19, i64 1320, !19, i64 1384, !20, i64 1448}
!22 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !11, i64 0, !23, i64 8, !19, i64 144}
!23 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !11, i64 0, !11, i64 8, !14, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !24, i64 56, !18, i64 104}
!24 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !18, i64 8, !14, i64 40}
!25 = !{!"_ZTSN11alglib_impl17xconicconstraintsE", !11, i64 0, !23, i64 8}
!26 = !{!"_ZTSN11alglib_impl12presolveinfoE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !19, i64 64, !19, i64 128, !19, i64 192, !14, i64 256, !20, i64 264, !20, i64 632, !22, i64 1000, !25, i64 1208, !11, i64 1352, !19, i64 1360, !19, i64 1424, !19, i64 1488, !19, i64 1552, !20, i64 1616, !20, i64 1984, !19, i64 2352, !19, i64 2416, !22, i64 2480, !25, i64 2688, !19, i64 2832, !19, i64 2896, !19, i64 2960, !19, i64 3024, !19, i64 3088, !19, i64 3152, !19, i64 3216, !19, i64 3280, !27, i64 3344, !19, i64 4240, !19, i64 4304, !19, i64 4368, !19, i64 4432, !19, i64 4496, !19, i64 4560, !19, i64 4624, !28, i64 4688}
!27 = !{!"_ZTSN11alglib_impl14presolverstackE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !19, i64 40, !19, i64 104, !19, i64 168, !19, i64 232, !19, i64 296, !11, i64 360, !11, i64 368, !11, i64 376, !19, i64 384, !19, i64 448, !19, i64 512, !19, i64 576, !19, i64 640, !19, i64 704, !19, i64 768, !19, i64 832}
!28 = !{!"_ZTSN11alglib_impl15presolvebuffersE", !29, i64 0, !29, i64 152, !29, i64 304, !29, i64 456, !19, i64 608, !19, i64 672, !19, i64 736, !19, i64 800, !30, i64 864}
!29 = !{!"_ZTSN11alglib_impl5nisetE", !11, i64 0, !11, i64 8, !19, i64 16, !19, i64 80, !11, i64 144}
!30 = !{!"_ZTSN11alglib_impl21dynamiccrsqconstraintE", !11, i64 0, !19, i64 8, !19, i64 72, !31, i64 136, !13, i64 416, !13, i64 424, !14, i64 432}
!31 = !{!"_ZTSN11alglib_impl10dynamiccrsE", !11, i64 0, !11, i64 8, !11, i64 16, !19, i64 24, !19, i64 88, !19, i64 152, !19, i64 216}
!32 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !18, i64 32, !24, i64 64, !18, i64 112}
!33 = !{!"_ZTSN11alglib_impl10qqpbuffersE", !11, i64 0, !11, i64 8, !17, i64 16, !20, i64 96, !14, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !19, i64 496, !19, i64 560, !19, i64 624, !19, i64 688, !19, i64 752, !19, i64 816, !19, i64 880, !19, i64 944, !19, i64 1008, !19, i64 1072, !19, i64 1136, !19, i64 1200, !19, i64 1264, !34, i64 1328, !19, i64 5672, !11, i64 5736, !11, i64 5744, !17, i64 5752, !20, i64 5832, !19, i64 6200, !19, i64 6264, !19, i64 6328, !19, i64 6392, !19, i64 6456, !19, i64 6520, !19, i64 6584, !19, i64 6648, !19, i64 6712, !36, i64 6776, !11, i64 7272, !11, i64 7280, !11, i64 7288, !11, i64 7296}
!34 = !{!"_ZTSN11alglib_impl10sactivesetE", !11, i64 0, !11, i64 8, !19, i64 16, !14, i64 80, !19, i64 88, !19, i64 152, !19, i64 216, !14, i64 280, !17, i64 288, !17, i64 368, !17, i64 448, !11, i64 528, !19, i64 536, !11, i64 600, !11, i64 608, !14, i64 616, !14, i64 617, !19, i64 624, !19, i64 688, !19, i64 752, !19, i64 816, !17, i64 880, !11, i64 960, !11, i64 968, !19, i64 976, !19, i64 1040, !19, i64 1104, !19, i64 1168, !19, i64 1232, !19, i64 1296, !35, i64 1360, !19, i64 3000, !19, i64 3064, !19, i64 3128, !17, i64 3192, !19, i64 3272, !19, i64 3336, !19, i64 3400, !17, i64 3464, !17, i64 3544, !19, i64 3624, !19, i64 3688, !19, i64 3752, !17, i64 3816, !19, i64 3896, !19, i64 3960, !19, i64 4024, !19, i64 4088, !19, i64 4152, !19, i64 4216, !19, i64 4280}
!35 = !{!"_ZTSN11alglib_impl11snnlssolverE", !11, i64 0, !11, i64 8, !11, i64 16, !17, i64 24, !19, i64 104, !19, i64 168, !13, i64 232, !11, i64 240, !19, i64 248, !19, i64 312, !17, i64 376, !17, i64 456, !17, i64 536, !19, i64 616, !19, i64 680, !19, i64 744, !19, i64 808, !19, i64 872, !19, i64 936, !19, i64 1000, !19, i64 1064, !19, i64 1128, !19, i64 1192, !19, i64 1256, !19, i64 1320, !19, i64 1384, !19, i64 1448, !19, i64 1512, !19, i64 1576}
!36 = !{!"_ZTSN11alglib_impl13sparsebuffersE", !19, i64 0, !19, i64 64, !20, i64 128}
!37 = !{!"_ZTSN11alglib_impl17qpdenseaulbuffersE", !19, i64 0, !17, i64 64, !19, i64 144, !19, i64 208, !19, i64 272, !19, i64 336, !19, i64 400, !19, i64 464, !17, i64 528, !19, i64 608, !19, i64 672, !17, i64 736, !19, i64 816, !19, i64 880, !19, i64 944, !19, i64 1008, !19, i64 1072, !19, i64 1136, !12, i64 1200, !33, i64 1272, !19, i64 8576, !19, i64 8640, !19, i64 8704, !17, i64 8768, !19, i64 8848, !19, i64 8912, !19, i64 8976, !16, i64 9040, !20, i64 10728, !17, i64 11096, !19, i64 11176, !19, i64 11240, !19, i64 11304, !19, i64 11368, !19, i64 11432, !19, i64 11496, !11, i64 11560, !11, i64 11568, !11, i64 11576, !11, i64 11584, !11, i64 11592, !11, i64 11600, !11, i64 11608, !11, i64 11616}
!38 = !{!"_ZTSN11alglib_impl9vipmstateE", !14, i64 0, !14, i64 1, !11, i64 8, !11, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48, !19, i64 56, !19, i64 120, !19, i64 184, !13, i64 248, !19, i64 256, !17, i64 320, !20, i64 400, !19, i64 768, !11, i64 832, !14, i64 840, !19, i64 848, !19, i64 912, !19, i64 976, !19, i64 1040, !19, i64 1104, !19, i64 1168, !17, i64 1232, !17, i64 1312, !20, i64 1392, !20, i64 1760, !20, i64 2128, !19, i64 2496, !19, i64 2560, !19, i64 2624, !19, i64 2688, !19, i64 2752, !11, i64 2816, !11, i64 2824, !39, i64 2832, !39, i64 3488, !39, i64 4144, !39, i64 4800, !39, i64 5456, !19, i64 6112, !19, i64 6176, !19, i64 6240, !19, i64 6304, !19, i64 6368, !11, i64 6432, !11, i64 6440, !11, i64 6448, !11, i64 6456, !11, i64 6464, !11, i64 6472, !14, i64 6480, !14, i64 6481, !11, i64 6488, !14, i64 6496, !14, i64 6497, !19, i64 6504, !19, i64 6568, !19, i64 6632, !19, i64 6696, !19, i64 6760, !19, i64 6824, !19, i64 6888, !19, i64 6952, !19, i64 7016, !19, i64 7080, !19, i64 7144, !19, i64 7208, !19, i64 7272, !19, i64 7336, !19, i64 7400, !17, i64 7464, !19, i64 7544, !19, i64 7608, !19, i64 7672, !19, i64 7736, !19, i64 7800, !40, i64 7864, !48, i64 23944, !19, i64 24584, !19, i64 24648, !19, i64 24712, !19, i64 24776, !19, i64 24840, !19, i64 24904, !19, i64 24968, !19, i64 25032, !39, i64 25096, !19, i64 25752, !19, i64 25816, !19, i64 25880, !19, i64 25944, !19, i64 26008, !17, i64 26072, !19, i64 26152, !19, i64 26216, !20, i64 26280}
!39 = !{!"_ZTSN11alglib_impl8vipmvarsE", !11, i64 0, !11, i64 8, !19, i64 16, !19, i64 80, !19, i64 144, !19, i64 208, !19, i64 272, !19, i64 336, !19, i64 400, !19, i64 464, !19, i64 528, !19, i64 592}
!40 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !20, i64 0, !19, i64 368, !19, i64 432, !19, i64 496, !19, i64 560, !11, i64 624, !41, i64 632, !19, i64 15696, !19, i64 15760, !19, i64 15824, !19, i64 15888, !19, i64 15952, !19, i64 16016}
!41 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !11, i64 0, !11, i64 8, !11, i64 16, !14, i64 24, !11, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !19, i64 72, !14, i64 136, !14, i64 137, !14, i64 138, !14, i64 139, !14, i64 140, !19, i64 144, !11, i64 208, !19, i64 216, !19, i64 280, !19, i64 344, !19, i64 408, !19, i64 472, !19, i64 536, !14, i64 600, !19, i64 608, !19, i64 672, !19, i64 736, !19, i64 800, !19, i64 864, !19, i64 928, !14, i64 992, !14, i64 993, !42, i64 1000, !19, i64 1512, !19, i64 1576, !19, i64 1640, !19, i64 1704, !19, i64 1768, !19, i64 1832, !32, i64 1896, !32, i64 2040, !32, i64 2184, !32, i64 2328, !32, i64 2472, !32, i64 2616, !19, i64 2760, !19, i64 2824, !19, i64 2888, !19, i64 2952, !19, i64 3016, !43, i64 3080, !47, i64 7464, !19, i64 13816, !19, i64 13880, !19, i64 13944, !19, i64 14008, !19, i64 14072, !19, i64 14136, !20, i64 14200, !20, i64 14568, !19, i64 14936, !19, i64 15000}
!42 = !{!"_ZTSN11alglib_impl9spcholadjE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !19, i64 256, !19, i64 320, !19, i64 384, !19, i64 448}
!43 = !{!"_ZTSN11alglib_impl9amdbufferE", !11, i64 0, !14, i64 8, !14, i64 9, !19, i64 16, !19, i64 80, !19, i64 144, !44, i64 208, !44, i64 568, !44, i64 928, !45, i64 1288, !46, i64 1496, !29, i64 1968, !19, i64 2120, !19, i64 2184, !19, i64 2248, !29, i64 2312, !29, i64 2464, !29, i64 2616, !29, i64 2768, !29, i64 2920, !29, i64 3072, !19, i64 3224, !11, i64 3288, !29, i64 3296, !29, i64 3448, !44, i64 3600, !29, i64 3960, !19, i64 4112, !19, i64 4176, !19, i64 4240, !17, i64 4304}
!44 = !{!"_ZTSN11alglib_impl8amdknsetE", !11, i64 0, !11, i64 8, !19, i64 16, !19, i64 80, !19, i64 144, !19, i64 208, !19, i64 272, !11, i64 336, !11, i64 344, !11, i64 352}
!45 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !11, i64 0, !19, i64 8, !19, i64 72, !19, i64 136, !11, i64 200}
!46 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !11, i64 0, !14, i64 8, !11, i64 16, !19, i64 24, !19, i64 88, !19, i64 152, !19, i64 216, !19, i64 280, !19, i64 344, !19, i64 408}
!47 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !19, i64 0, !19, i64 64, !43, i64 128, !20, i64 4512, !20, i64 4880, !20, i64 5248, !20, i64 5616, !20, i64 5984}
!48 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !19, i64 256, !19, i64 320, !19, i64 384, !19, i64 448, !19, i64 512, !19, i64 576}
!49 = !{!"_ZTSN11alglib_impl9ipm2stateE", !11, i64 0, !11, i64 8, !11, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !11, i64 48, !14, i64 56, !19, i64 64, !19, i64 128, !19, i64 192, !13, i64 256, !19, i64 264, !20, i64 328, !19, i64 696, !14, i64 760, !13, i64 768, !19, i64 776, !19, i64 840, !19, i64 904, !19, i64 968, !19, i64 1032, !19, i64 1096, !19, i64 1160, !19, i64 1224, !19, i64 1288, !19, i64 1352, !19, i64 1416, !19, i64 1480, !19, i64 1544, !19, i64 1608, !19, i64 1672, !20, i64 1736, !19, i64 2104, !11, i64 2168, !50, i64 2176, !50, i64 2576, !50, i64 2976, !50, i64 3376, !19, i64 3776, !19, i64 3840, !19, i64 3904, !19, i64 3968, !11, i64 4032, !11, i64 4040, !19, i64 4048, !19, i64 4112, !19, i64 4176, !51, i64 4240, !11, i64 4624, !11, i64 4632, !14, i64 4640, !14, i64 4641, !14, i64 4642, !52, i64 4648, !52, i64 4672, !52, i64 4696, !52, i64 4720, !52, i64 4744, !53, i64 4768, !51, i64 21736, !19, i64 22120, !19, i64 22184, !19, i64 22248, !19, i64 22312, !19, i64 22376, !17, i64 22440, !20, i64 22520, !19, i64 22888, !19, i64 22952, !20, i64 23016, !20, i64 23384, !17, i64 23752, !19, i64 23832}
!50 = !{!"_ZTSN11alglib_impl8ipm2varsE", !11, i64 0, !11, i64 8, !19, i64 16, !19, i64 80, !19, i64 144, !19, i64 208, !19, i64 272, !19, i64 336}
!51 = !{!"_ZTSN11alglib_impl17ipm2righthandsideE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !19, i64 256, !19, i64 320}
!52 = !{!"_ZTSN11alglib_impl6stimerE", !11, i64 0, !11, i64 8, !14, i64 16}
!53 = !{!"_ZTSN11alglib_impl17ipm2reducedsystemE", !20, i64 0, !19, i64 368, !41, i64 432, !19, i64 15496, !19, i64 15560, !19, i64 15624, !19, i64 15688, !19, i64 15752, !19, i64 15816, !19, i64 15880, !19, i64 15944, !19, i64 16008, !19, i64 16072, !19, i64 16136, !19, i64 16200, !19, i64 16264, !19, i64 16328, !19, i64 16392, !19, i64 16456, !19, i64 16520, !19, i64 16584, !19, i64 16648, !19, i64 16712, !19, i64 16776, !19, i64 16840, !19, i64 16904}
!54 = !{!"_ZTSN11alglib_impl9ecqpstateE", !20, i64 0, !19, i64 368, !41, i64 432, !19, i64 15496, !19, i64 15560, !19, i64 15624, !19, i64 15688, !19, i64 15752, !55, i64 15816, !11, i64 17064, !11, i64 17072, !14, i64 17080, !14, i64 17081, !52, i64 17088, !52, i64 17112, !52, i64 17136, !52, i64 17160, !52, i64 17184}
!55 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !17, i64 256, !17, i64 336, !17, i64 416, !17, i64 496, !17, i64 576, !19, i64 656, !19, i64 720, !19, i64 784, !19, i64 848, !11, i64 912, !11, i64 920, !13, i64 928, !13, i64 936, !13, i64 944, !13, i64 952, !11, i64 960, !11, i64 968, !13, i64 976, !56, i64 984}
!56 = !{!"_ZTSN11alglib_impl10rcommstateE", !57, i64 0, !19, i64 8, !19, i64 72, !19, i64 136, !19, i64 200}
!57 = !{!"int", !7, i64 0}
!58 = !{!"_ZTSN11alglib_impl11gqpipmstateE", !14, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !19, i64 40, !11, i64 104, !13, i64 112, !11, i64 120, !19, i64 128, !19, i64 192, !19, i64 256, !19, i64 320, !19, i64 384, !19, i64 448, !11, i64 512, !19, i64 520, !19, i64 584, !17, i64 648, !20, i64 728, !20, i64 1096, !19, i64 1464, !19, i64 1528, !22, i64 1592, !25, i64 1800, !13, i64 1944, !11, i64 1952, !11, i64 1960, !11, i64 1968, !14, i64 1976, !14, i64 1977, !52, i64 1984, !59, i64 2008, !17, i64 12320, !17, i64 12400, !19, i64 12480, !19, i64 12544, !17, i64 12608, !17, i64 12688, !19, i64 12768, !19, i64 12832, !20, i64 12896, !20, i64 13264, !20, i64 13632, !20, i64 14000, !19, i64 14368, !41, i64 14432, !32, i64 29496, !19, i64 29640, !19, i64 29704, !20, i64 29768, !19, i64 30136, !19, i64 30200, !19, i64 30264, !19, i64 30328, !19, i64 30392, !19, i64 30456, !17, i64 30520, !19, i64 30600, !19, i64 30664, !19, i64 30728, !19, i64 30792, !19, i64 30856, !19, i64 30920, !19, i64 30984, !19, i64 31048, !19, i64 31112}
!59 = !{!"_ZTSN11alglib_impl9gipmstateE", !11, i64 0, !11, i64 8, !11, i64 16, !19, i64 24, !19, i64 88, !19, i64 152, !19, i64 216, !19, i64 280, !19, i64 344, !19, i64 408, !13, i64 472, !11, i64 480, !11, i64 488, !19, i64 496, !13, i64 560, !19, i64 568, !19, i64 632, !20, i64 696, !19, i64 1064, !19, i64 1128, !14, i64 1192, !14, i64 1193, !14, i64 1194, !19, i64 1200, !19, i64 1264, !19, i64 1328, !19, i64 1392, !19, i64 1456, !19, i64 1520, !19, i64 1584, !19, i64 1648, !13, i64 1712, !13, i64 1720, !13, i64 1728, !13, i64 1736, !13, i64 1744, !11, i64 1752, !60, i64 1760, !60, i64 2560, !61, i64 3360, !61, i64 3960, !13, i64 4560, !11, i64 4568, !62, i64 4576, !14, i64 4744, !14, i64 4745, !14, i64 4746, !11, i64 4752, !11, i64 4760, !52, i64 4768, !32, i64 4792, !63, i64 4936, !64, i64 5704, !60, i64 6856, !60, i64 7656, !19, i64 8456, !19, i64 8520, !19, i64 8584, !60, i64 8648, !61, i64 9448, !56, i64 10048}
!60 = !{!"_ZTSN11alglib_impl8gipmvarsE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !19, i64 32, !19, i64 96, !19, i64 160, !19, i64 224, !19, i64 288, !19, i64 352, !19, i64 416, !19, i64 480, !19, i64 544, !19, i64 608, !19, i64 672, !19, i64 736}
!61 = !{!"_ZTSN11alglib_impl11varsfuncjacE", !11, i64 0, !11, i64 8, !14, i64 16, !19, i64 24, !19, i64 88, !17, i64 152, !20, i64 232}
!62 = !{!"_ZTSN11alglib_impl9nlpfilterE", !13, i64 0, !11, i64 8, !13, i64 16, !13, i64 24, !14, i64 32, !19, i64 40, !19, i64 104}
!63 = !{!"_ZTSN11alglib_impl7gipmrhsE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !19, i64 256, !19, i64 320, !19, i64 384, !19, i64 448, !19, i64 512, !19, i64 576, !19, i64 640, !19, i64 704}
!64 = !{!"_ZTSN11alglib_impl19gipmcondensedsystemE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !19, i64 256, !19, i64 320, !19, i64 384, !19, i64 448, !19, i64 512, !19, i64 576, !19, i64 640, !19, i64 704, !19, i64 768, !19, i64 832, !19, i64 896, !19, i64 960, !19, i64 1024, !19, i64 1088}
!65 = !{!11, !11, i64 0}
!66 = !{!10, !11, i64 2776}
!67 = !{!10, !11, i64 2784}
!68 = !{!10, !11, i64 5040}
!69 = !{!10, !11, i64 5008}
!70 = !{!10, !11, i64 5016}
!71 = !{!10, !11, i64 5024}
!72 = !{!10, !11, i64 5032}
!73 = !{!10, !11, i64 5240}
!74 = !{!10, !11, i64 5248}
!75 = !{!14, !14, i64 0}
!76 = !{!10, !11, i64 5256}
!77 = !{!10, !11, i64 5264}
!78 = !{!10, !13, i64 5000}
!79 = !{!7, !7, i64 0}
!80 = !{!13, !13, i64 0}
!81 = distinct !{!81, !82}
!82 = !{!"llvm.loop.mustprogress"}
!83 = distinct !{!83, !82}
!84 = !{!10, !14, i64 2760}
!85 = !{i8 0, i8 2}
!86 = !{}
!87 = distinct !{!87, !82}
!88 = distinct !{!88, !82}
!89 = distinct !{!89, !82}
!90 = distinct !{!90, !82}
!91 = !{!10, !11, i64 2432}
!92 = distinct !{!92, !82}
!93 = !{!10, !11, i64 136}
!94 = distinct !{!94, !82}
!95 = distinct !{!95, !82}
!96 = !{!10, !11, i64 128}
!97 = !{!10, !14, i64 2208}
!98 = !{!10, !11, i64 3496}
!99 = !{!10, !11, i64 3504}
!100 = !{!10, !14, i64 120}
!101 = distinct !{!101, !82}
!102 = !{!10, !11, i64 31328}
!103 = !{!10, !11, i64 31336}
!104 = !{!10, !11, i64 31344}
!105 = !{!10, !11, i64 19736}
!106 = !{!10, !11, i64 19744}
!107 = !{!10, !11, i64 19752}
!108 = !{!10, !14, i64 121}
!109 = !{!10, !11, i64 7536}
!110 = !{!10, !11, i64 6184}
!111 = !{!10, !11, i64 6216}
!112 = !{!10, !13, i64 104}
!113 = !{!10, !11, i64 37856}
!114 = !{!10, !11, i64 37864}
!115 = !{!10, !11, i64 62664}
!116 = !{!10, !11, i64 6232}
!117 = !{!10, !11, i64 112}
!118 = !{!10, !11, i64 101104}
!119 = distinct !{!119, !82}
!120 = distinct !{!120, !82}
!121 = !{!10, !11, i64 99000}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.609 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.705 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.978 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.1098 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1099 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1100 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1101 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.1102 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1103 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1104 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1105 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca %"struct.alglib_impl::ae_vector", align 8
  %5 = alloca %"struct.alglib_impl::ae_vector", align 8
  %6 = alloca %"struct.alglib_impl::ae_vector", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  %9 = alloca %"struct.alglib_impl::ae_vector", align 8
  %10 = alloca %"struct.alglib_impl::ae_vector", align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %4, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %5, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %6, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %10, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %4, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %5, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %9, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %10, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  %13 = load i64, ptr %0, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 2768
  %15 = getelementptr inbounds i8, ptr %0, i64 2776
  %16 = load i64, ptr %15, align 8, !tbaa !64
  %17 = getelementptr inbounds i8, ptr %0, i64 2784
  %18 = load i64, ptr %17, align 8, !tbaa !65
  %19 = add i64 %18, %16
  %20 = getelementptr inbounds i8, ptr %0, i64 4584
  %21 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef nonnull %20, ptr noundef %1)
  %22 = getelementptr inbounds i8, ptr %0, i64 4792
  %23 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef %1)
  %24 = getelementptr inbounds i8, ptr %0, i64 5040
  store i64 -5, ptr %24, align 8, !tbaa !66
  %25 = getelementptr inbounds i8, ptr %0, i64 5008
  %26 = getelementptr inbounds i8, ptr %0, i64 5016
  %27 = getelementptr inbounds i8, ptr %0, i64 5024
  %28 = getelementptr inbounds i8, ptr %0, i64 5240
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %25, i8 0, i64 32, i1 false)
  store i64 %13, ptr %28, align 8, !tbaa !67
  %29 = getelementptr inbounds i8, ptr %0, i64 5248
  store i64 %19, ptr %29, align 8, !tbaa !68
  %30 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef nonnull @.str.609)
  br i1 %30, label %35, label %31

31:                                               ; preds = %2
  %32 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef nonnull @.str.1098)
  br i1 %32, label %35, label %33

33:                                               ; preds = %31
  %34 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef nonnull @.str.705)
  br label %35

35:                                               ; preds = %33, %31, %2
  %36 = phi i1 [ true, %31 ], [ true, %2 ], [ %34, %33 ]
  %37 = getelementptr inbounds i8, ptr %0, i64 5256
  %38 = load i64, ptr %37, align 8, !tbaa !69
  %39 = icmp eq i64 %21, %38
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef nonnull @.str.1099, ptr noundef %1)
  %40 = getelementptr inbounds i8, ptr %0, i64 5264
  %41 = load i64, ptr %40, align 8, !tbaa !70
  %42 = icmp eq i64 %23, %41
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %42, ptr noundef nonnull @.str.1100, ptr noundef %1)
  %43 = getelementptr inbounds i8, ptr %0, i64 5000
  store double 0.000000e+00, ptr %43, align 8, !tbaa !71
  %.not.not916 = icmp sgt i64 %13, 0
  br i1 %.not.not916, label %.lr.ph, label %.preheader915

.lr.ph:                                           ; preds = %35
  %44 = getelementptr inbounds i8, ptr %0, i64 5104
  %xtraiter = and i64 %13, 3
  %45 = icmp ult i64 %13, 4
  br i1 %45, label %.preheader915.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %13, 9223372036854775804
  br label %53

.preheader915.loopexit.unr-lcssa:                 ; preds = %53, %.lr.ph
  %.0917.unr = phi i64 [ 0, %.lr.ph ], [ %65, %53 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader915, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader915.loopexit.unr-lcssa, %.epil.preheader
  %.0917.epil = phi i64 [ %48, %.epil.preheader ], [ %.0917.unr, %.preheader915.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader915.loopexit.unr-lcssa ]
  %46 = load ptr, ptr %44, align 8, !tbaa !72
  %47 = getelementptr inbounds double, ptr %46, i64 %.0917.epil
  store double 0.000000e+00, ptr %47, align 8, !tbaa !73
  %48 = add nuw nsw i64 %.0917.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader915, label %.epil.preheader, !llvm.loop !74

.preheader915:                                    ; preds = %.preheader915.loopexit.unr-lcssa, %.epil.preheader, %35
  %.not.not881918 = icmp sgt i64 %19, 0
  br i1 %.not.not881918, label %.lr.ph920, label %._crit_edge

.lr.ph920:                                        ; preds = %.preheader915
  %49 = getelementptr inbounds i8, ptr %0, i64 5168
  %50 = add i64 %18, %16
  %51 = add i64 %50, -1
  %xtraiter990 = and i64 %19, 3
  %52 = icmp ult i64 %51, 3
  br i1 %52, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph920.new

.lr.ph920.new:                                    ; preds = %.lr.ph920
  %unroll_iter993 = and i64 %19, 9223372036854775804
  br label %66

53:                                               ; preds = %53, %.lr.ph.new
  %.0917 = phi i64 [ 0, %.lr.ph.new ], [ %65, %53 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %53 ]
  %54 = load ptr, ptr %44, align 8, !tbaa !72
  %55 = getelementptr inbounds double, ptr %54, i64 %.0917
  store double 0.000000e+00, ptr %55, align 8, !tbaa !73
  %56 = or disjoint i64 %.0917, 1
  %57 = load ptr, ptr %44, align 8, !tbaa !72
  %58 = getelementptr inbounds double, ptr %57, i64 %56
  store double 0.000000e+00, ptr %58, align 8, !tbaa !73
  %59 = or disjoint i64 %.0917, 2
  %60 = load ptr, ptr %44, align 8, !tbaa !72
  %61 = getelementptr inbounds double, ptr %60, i64 %59
  store double 0.000000e+00, ptr %61, align 8, !tbaa !73
  %62 = or disjoint i64 %.0917, 3
  %63 = load ptr, ptr %44, align 8, !tbaa !72
  %64 = getelementptr inbounds double, ptr %63, i64 %62
  store double 0.000000e+00, ptr %64, align 8, !tbaa !73
  %65 = add nuw nsw i64 %.0917, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader915.loopexit.unr-lcssa, label %53, !llvm.loop !76

66:                                               ; preds = %66, %.lr.ph920.new
  %.1919 = phi i64 [ 0, %.lr.ph920.new ], [ %78, %66 ]
  %niter994 = phi i64 [ 0, %.lr.ph920.new ], [ %niter994.next.3, %66 ]
  %67 = load ptr, ptr %49, align 8, !tbaa !72
  %68 = getelementptr inbounds double, ptr %67, i64 %.1919
  store double 0.000000e+00, ptr %68, align 8, !tbaa !73
  %69 = or disjoint i64 %.1919, 1
  %70 = load ptr, ptr %49, align 8, !tbaa !72
  %71 = getelementptr inbounds double, ptr %70, i64 %69
  store double 0.000000e+00, ptr %71, align 8, !tbaa !73
  %72 = or disjoint i64 %.1919, 2
  %73 = load ptr, ptr %49, align 8, !tbaa !72
  %74 = getelementptr inbounds double, ptr %73, i64 %72
  store double 0.000000e+00, ptr %74, align 8, !tbaa !73
  %75 = or disjoint i64 %.1919, 3
  %76 = load ptr, ptr %49, align 8, !tbaa !72
  %77 = getelementptr inbounds double, ptr %76, i64 %75
  store double 0.000000e+00, ptr %77, align 8, !tbaa !73
  %78 = add nuw nsw i64 %.1919, 4
  %niter994.next.3 = add i64 %niter994, 4
  %niter994.ncmp.3 = icmp eq i64 %niter994.next.3, %unroll_iter993
  br i1 %niter994.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %66, !llvm.loop !78

._crit_edge.loopexit.unr-lcssa:                   ; preds = %66, %.lr.ph920
  %.1919.unr = phi i64 [ 0, %.lr.ph920 ], [ %78, %66 ]
  %lcmp.mod992.not = icmp eq i64 %xtraiter990, 0
  br i1 %lcmp.mod992.not, label %._crit_edge, label %.epil.preheader989

.epil.preheader989:                               ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader989
  %.1919.epil = phi i64 [ %81, %.epil.preheader989 ], [ %.1919.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter991 = phi i64 [ %epil.iter991.next, %.epil.preheader989 ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %79 = load ptr, ptr %49, align 8, !tbaa !72
  %80 = getelementptr inbounds double, ptr %79, i64 %.1919.epil
  store double 0.000000e+00, ptr %80, align 8, !tbaa !73
  %81 = add nuw nsw i64 %.1919.epil, 1
  %epil.iter991.next = add i64 %epil.iter991, 1
  %epil.iter991.cmp.not = icmp eq i64 %epil.iter991.next, %xtraiter990
  br i1 %epil.iter991.cmp.not, label %._crit_edge, label %.epil.preheader989, !llvm.loop !79

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader989, %.preheader915
  %82 = getelementptr inbounds i8, ptr %0, i64 5176
  call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %21, double noundef 0.000000e+00, ptr noundef nonnull %82, ptr noundef %1)
  %83 = getelementptr inbounds i8, ptr %0, i64 2760
  %84 = load i8, ptr %83, align 8, !tbaa !80, !range !81, !noundef !82
  %85 = trunc nuw i8 %84 to i1
  br i1 %85, label %.preheader911, label %.preheader913

.preheader913:                                    ; preds = %._crit_edge
  br i1 %.not.not916, label %.lr.ph923, label %._crit_edge935

.lr.ph923:                                        ; preds = %.preheader913
  %86 = getelementptr inbounds i8, ptr %0, i64 2688
  %87 = getelementptr inbounds i8, ptr %0, i64 4992
  %88 = getelementptr inbounds i8, ptr %0, i64 2560
  %89 = getelementptr inbounds i8, ptr %0, i64 2360
  %90 = getelementptr inbounds i8, ptr %0, i64 2624
  %91 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %143

.preheader911:                                    ; preds = %._crit_edge
  br i1 %.not.not916, label %.lr.ph926, label %._crit_edge935

.lr.ph926:                                        ; preds = %.preheader911
  %92 = getelementptr inbounds i8, ptr %0, i64 2752
  %93 = getelementptr inbounds i8, ptr %0, i64 4992
  %94 = getelementptr inbounds i8, ptr %0, i64 2560
  %95 = getelementptr inbounds i8, ptr %0, i64 2360
  %96 = getelementptr inbounds i8, ptr %0, i64 2624
  %97 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %98

98:                                               ; preds = %.lr.ph926, %141
  %.2925 = phi i64 [ 0, %.lr.ph926 ], [ %142, %141 ]
  %99 = load ptr, ptr %92, align 8, !tbaa !72
  %100 = getelementptr inbounds double, ptr %99, i64 %.2925
  %101 = load double, ptr %100, align 8, !tbaa !73
  %102 = load ptr, ptr %93, align 8, !tbaa !72
  %103 = getelementptr inbounds double, ptr %102, i64 %.2925
  store double %101, ptr %103, align 8, !tbaa !73
  %104 = load ptr, ptr %94, align 8, !tbaa !72
  %105 = getelementptr inbounds i8, ptr %104, i64 %.2925
  %106 = load i8, ptr %105, align 1, !tbaa !83, !range !81, !noundef !82
  %107 = trunc nuw i8 %106 to i1
  br i1 %107, label %108, label %122

108:                                              ; preds = %98
  %109 = load ptr, ptr %93, align 8, !tbaa !72
  %110 = getelementptr inbounds double, ptr %109, i64 %.2925
  %111 = load double, ptr %110, align 8, !tbaa !73
  %112 = load ptr, ptr %95, align 8, !tbaa !72
  %113 = getelementptr inbounds double, ptr %112, i64 %.2925
  %114 = load double, ptr %113, align 8, !tbaa !73
  %115 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %111, double noundef %114)
  br i1 %115, label %116, label %122

116:                                              ; preds = %108
  %117 = load ptr, ptr %95, align 8, !tbaa !72
  %118 = getelementptr inbounds double, ptr %117, i64 %.2925
  %119 = load double, ptr %118, align 8, !tbaa !73
  %120 = load ptr, ptr %93, align 8, !tbaa !72
  %121 = getelementptr inbounds double, ptr %120, i64 %.2925
  store double %119, ptr %121, align 8, !tbaa !73
  br label %122

122:                                              ; preds = %116, %108, %98
  %123 = load ptr, ptr %96, align 8, !tbaa !72
  %124 = getelementptr inbounds i8, ptr %123, i64 %.2925
  %125 = load i8, ptr %124, align 1, !tbaa !83, !range !81, !noundef !82
  %126 = trunc nuw i8 %125 to i1
  br i1 %126, label %127, label %141

127:                                              ; preds = %122
  %128 = load ptr, ptr %93, align 8, !tbaa !72
  %129 = getelementptr inbounds double, ptr %128, i64 %.2925
  %130 = load double, ptr %129, align 8, !tbaa !73
  %131 = load ptr, ptr %97, align 8, !tbaa !72
  %132 = getelementptr inbounds double, ptr %131, i64 %.2925
  %133 = load double, ptr %132, align 8, !tbaa !73
  %134 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %130, double noundef %133)
  br i1 %134, label %135, label %141

135:                                              ; preds = %127
  %136 = load ptr, ptr %97, align 8, !tbaa !72
  %137 = getelementptr inbounds double, ptr %136, i64 %.2925
  %138 = load double, ptr %137, align 8, !tbaa !73
  %139 = load ptr, ptr %93, align 8, !tbaa !72
  %140 = getelementptr inbounds double, ptr %139, i64 %.2925
  store double %138, ptr %140, align 8, !tbaa !73
  br label %141

141:                                              ; preds = %122, %127, %135
  %142 = add nuw nsw i64 %.2925, 1
  %exitcond962.not = icmp eq i64 %142, %13
  br i1 %exitcond962.not, label %.loopexit912, label %98, !llvm.loop !84

143:                                              ; preds = %.lr.ph923, %178
  %.3922 = phi i64 [ 0, %.lr.ph923 ], [ %179, %178 ]
  %144 = load ptr, ptr %86, align 8, !tbaa !72
  %145 = getelementptr inbounds double, ptr %144, i64 %.3922
  %146 = load double, ptr %145, align 8, !tbaa !73
  %147 = load ptr, ptr %87, align 8, !tbaa !72
  %148 = getelementptr inbounds double, ptr %147, i64 %.3922
  store double %146, ptr %148, align 8, !tbaa !73
  %149 = load ptr, ptr %88, align 8, !tbaa !72
  %150 = getelementptr inbounds i8, ptr %149, i64 %.3922
  %151 = load i8, ptr %150, align 1, !tbaa !83, !range !81, !noundef !82
  %152 = trunc nuw i8 %151 to i1
  br i1 %152, label %153, label %163

153:                                              ; preds = %143
  %154 = load ptr, ptr %87, align 8, !tbaa !72
  %155 = getelementptr inbounds double, ptr %154, i64 %.3922
  %156 = load double, ptr %155, align 8, !tbaa !73
  %157 = load ptr, ptr %89, align 8, !tbaa !72
  %158 = getelementptr inbounds double, ptr %157, i64 %.3922
  %159 = load double, ptr %158, align 8, !tbaa !73
  %160 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %156, double noundef %159, ptr noundef %1)
  %161 = load ptr, ptr %87, align 8, !tbaa !72
  %162 = getelementptr inbounds double, ptr %161, i64 %.3922
  store double %160, ptr %162, align 8, !tbaa !73
  br label %163

163:                                              ; preds = %153, %143
  %164 = load ptr, ptr %90, align 8, !tbaa !72
  %165 = getelementptr inbounds i8, ptr %164, i64 %.3922
  %166 = load i8, ptr %165, align 1, !tbaa !83, !range !81, !noundef !82
  %167 = trunc nuw i8 %166 to i1
  br i1 %167, label %168, label %178

168:                                              ; preds = %163
  %169 = load ptr, ptr %87, align 8, !tbaa !72
  %170 = getelementptr inbounds double, ptr %169, i64 %.3922
  %171 = load double, ptr %170, align 8, !tbaa !73
  %172 = load ptr, ptr %91, align 8, !tbaa !72
  %173 = getelementptr inbounds double, ptr %172, i64 %.3922
  %174 = load double, ptr %173, align 8, !tbaa !73
  %175 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %171, double noundef %174, ptr noundef %1)
  %176 = load ptr, ptr %87, align 8, !tbaa !72
  %177 = getelementptr inbounds double, ptr %176, i64 %.3922
  store double %175, ptr %177, align 8, !tbaa !73
  br label %178

178:                                              ; preds = %163, %168
  %179 = add nuw nsw i64 %.3922, 1
  %exitcond961.not = icmp eq i64 %179, %13
  br i1 %exitcond961.not, label %.loopexit912, label %143, !llvm.loop !85

.loopexit912:                                     ; preds = %178, %141
  br i1 %.not.not916, label %.lr.ph930, label %._crit_edge935

.lr.ph930:                                        ; preds = %.loopexit912
  %180 = getelementptr inbounds i8, ptr %0, i64 2560
  %181 = getelementptr inbounds i8, ptr %0, i64 2624
  %182 = getelementptr inbounds i8, ptr %0, i64 2360
  %183 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %184

184:                                              ; preds = %.lr.ph930, %203
  %.4928 = phi i64 [ 0, %.lr.ph930 ], [ %204, %203 ]
  %185 = load ptr, ptr %180, align 8, !tbaa !72
  %186 = getelementptr inbounds i8, ptr %185, i64 %.4928
  %187 = load i8, ptr %186, align 1, !tbaa !83, !range !81, !noundef !82
  %188 = trunc nuw i8 %187 to i1
  br i1 %188, label %189, label %203

189:                                              ; preds = %184
  %190 = load ptr, ptr %181, align 8, !tbaa !72
  %191 = getelementptr inbounds i8, ptr %190, i64 %.4928
  %192 = load i8, ptr %191, align 1, !tbaa !83, !range !81, !noundef !82
  %193 = trunc nuw i8 %192 to i1
  br i1 %193, label %194, label %203

194:                                              ; preds = %189
  %195 = load ptr, ptr %182, align 8, !tbaa !72
  %196 = getelementptr inbounds double, ptr %195, i64 %.4928
  %197 = load double, ptr %196, align 8, !tbaa !73
  %198 = load ptr, ptr %183, align 8, !tbaa !72
  %199 = getelementptr inbounds double, ptr %198, i64 %.4928
  %200 = load double, ptr %199, align 8, !tbaa !73
  %201 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %197, double noundef %200)
  br i1 %201, label %202, label %203

202:                                              ; preds = %194
  store i64 -3, ptr %24, align 8, !tbaa !66
  br label %846

203:                                              ; preds = %184, %189, %194
  %204 = add nuw nsw i64 %.4928, 1
  %exitcond963.not = icmp eq i64 %204, %13
  br i1 %exitcond963.not, label %._crit_edge935, label %184, !llvm.loop !86

._crit_edge935:                                   ; preds = %203, %.preheader911, %.preheader913, %.loopexit912
  %205 = getelementptr inbounds i8, ptr %0, i64 5272
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %205, i64 noundef %13, ptr noundef %1)
  %206 = getelementptr inbounds i8, ptr %0, i64 2432
  %207 = load i64, ptr %206, align 8, !tbaa !87
  switch i64 %207, label %265 [
    i64 0, label %.preheader906
    i64 1, label %236
  ]

.preheader906:                                    ; preds = %._crit_edge935
  br i1 %.not.not916, label %.lr.ph945, label %.loopexit

.lr.ph945:                                        ; preds = %.preheader906
  %208 = getelementptr inbounds i8, ptr %0, i64 2496
  %209 = getelementptr inbounds i8, ptr %0, i64 5328
  %xtraiter996 = and i64 %13, 3
  %210 = icmp ult i64 %13, 4
  br i1 %210, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph945.new

.lr.ph945.new:                                    ; preds = %.lr.ph945
  %unroll_iter999 = and i64 %13, 9223372036854775804
  br label %211

211:                                              ; preds = %211, %.lr.ph945.new
  %.6944 = phi i64 [ 0, %.lr.ph945.new ], [ %235, %211 ]
  %niter1000 = phi i64 [ 0, %.lr.ph945.new ], [ %niter1000.next.3, %211 ]
  %212 = load ptr, ptr %208, align 8, !tbaa !72
  %213 = getelementptr inbounds double, ptr %212, i64 %.6944
  %214 = load double, ptr %213, align 8, !tbaa !73
  %215 = load ptr, ptr %209, align 8, !tbaa !72
  %216 = getelementptr inbounds double, ptr %215, i64 %.6944
  store double %214, ptr %216, align 8, !tbaa !73
  %217 = or disjoint i64 %.6944, 1
  %218 = load ptr, ptr %208, align 8, !tbaa !72
  %219 = getelementptr inbounds double, ptr %218, i64 %217
  %220 = load double, ptr %219, align 8, !tbaa !73
  %221 = load ptr, ptr %209, align 8, !tbaa !72
  %222 = getelementptr inbounds double, ptr %221, i64 %217
  store double %220, ptr %222, align 8, !tbaa !73
  %223 = or disjoint i64 %.6944, 2
  %224 = load ptr, ptr %208, align 8, !tbaa !72
  %225 = getelementptr inbounds double, ptr %224, i64 %223
  %226 = load double, ptr %225, align 8, !tbaa !73
  %227 = load ptr, ptr %209, align 8, !tbaa !72
  %228 = getelementptr inbounds double, ptr %227, i64 %223
  store double %226, ptr %228, align 8, !tbaa !73
  %229 = or disjoint i64 %.6944, 3
  %230 = load ptr, ptr %208, align 8, !tbaa !72
  %231 = getelementptr inbounds double, ptr %230, i64 %229
  %232 = load double, ptr %231, align 8, !tbaa !73
  %233 = load ptr, ptr %209, align 8, !tbaa !72
  %234 = getelementptr inbounds double, ptr %233, i64 %229
  store double %232, ptr %234, align 8, !tbaa !73
  %235 = add nuw nsw i64 %.6944, 4
  %niter1000.next.3 = add i64 %niter1000, 4
  %niter1000.ncmp.3 = icmp eq i64 %niter1000.next.3, %unroll_iter999
  br i1 %niter1000.ncmp.3, label %.loopexit.loopexit.unr-lcssa, label %211, !llvm.loop !88

236:                                              ; preds = %._crit_edge935
  %237 = getelementptr inbounds i8, ptr %0, i64 136
  %238 = load i64, ptr %237, align 8, !tbaa !89
  switch i64 %238, label %248 [
    i64 0, label %241
    i64 1, label %.preheader908
  ]

.preheader908:                                    ; preds = %236
  br i1 %.not.not916, label %.lr.ph938, label %.loopexit

.lr.ph938:                                        ; preds = %.preheader908
  %239 = getelementptr inbounds i8, ptr %0, i64 1840
  %240 = getelementptr inbounds i8, ptr %0, i64 5328
  br label %243

241:                                              ; preds = %236
  %242 = getelementptr inbounds i8, ptr %0, i64 144
  call void @_ZN11alglib_impl11cqmgetdiagaEPNS_20convexquadraticmodelEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %242, ptr noundef nonnull %205, ptr noundef %1)
  br label %.loopexit909

243:                                              ; preds = %.lr.ph938, %243
  %.7937 = phi i64 [ 0, %.lr.ph938 ], [ %247, %243 ]
  %244 = call noundef double @_ZN11alglib_impl9sparsegetEPKNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %239, i64 noundef %.7937, i64 noundef %.7937, ptr noundef %1)
  %245 = load ptr, ptr %240, align 8, !tbaa !72
  %246 = getelementptr inbounds double, ptr %245, i64 %.7937
  store double %244, ptr %246, align 8, !tbaa !73
  %247 = add nuw nsw i64 %.7937, 1
  %exitcond964.not = icmp eq i64 %247, %13
  br i1 %exitcond964.not, label %.loopexit909, label %243, !llvm.loop !90

248:                                              ; preds = %236
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.1101, ptr noundef %1)
  br label %.loopexit909

.loopexit909:                                     ; preds = %243, %248, %241
  br i1 %.not.not916, label %.lr.ph942, label %.loopexit

.lr.ph942:                                        ; preds = %.loopexit909
  %249 = getelementptr inbounds i8, ptr %0, i64 5328
  br label %250

250:                                              ; preds = %.lr.ph942, %256
  %.8940 = phi i64 [ 0, %.lr.ph942 ], [ %264, %256 ]
  %251 = load ptr, ptr %249, align 8, !tbaa !72
  %252 = getelementptr inbounds double, ptr %251, i64 %.8940
  %253 = load double, ptr %252, align 8, !tbaa !73
  %254 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %253, double noundef 0.000000e+00)
  br i1 %254, label %255, label %256

255:                                              ; preds = %250
  store i64 -9, ptr %24, align 8, !tbaa !66
  br label %846

256:                                              ; preds = %250
  %257 = load ptr, ptr %249, align 8, !tbaa !72
  %258 = getelementptr inbounds double, ptr %257, i64 %.8940
  %259 = load double, ptr %258, align 8, !tbaa !73
  %260 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %259, ptr noundef %1)
  %261 = fdiv double 1.000000e+00, %260
  %262 = load ptr, ptr %249, align 8, !tbaa !72
  %263 = getelementptr inbounds double, ptr %262, i64 %.8940
  store double %261, ptr %263, align 8, !tbaa !73
  %264 = add nuw nsw i64 %.8940, 1
  %exitcond965.not = icmp eq i64 %264, %13
  br i1 %exitcond965.not, label %.loopexit, label %250, !llvm.loop !91

265:                                              ; preds = %._crit_edge935
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.1101, ptr noundef %1)
  br label %.loopexit

.loopexit.loopexit.unr-lcssa:                     ; preds = %211, %.lr.ph945
  %.6944.unr = phi i64 [ 0, %.lr.ph945 ], [ %235, %211 ]
  %lcmp.mod998.not = icmp eq i64 %xtraiter996, 0
  br i1 %lcmp.mod998.not, label %.loopexit, label %.epil.preheader995

.epil.preheader995:                               ; preds = %.loopexit.loopexit.unr-lcssa, %.epil.preheader995
  %.6944.epil = phi i64 [ %271, %.epil.preheader995 ], [ %.6944.unr, %.loopexit.loopexit.unr-lcssa ]
  %epil.iter997 = phi i64 [ %epil.iter997.next, %.epil.preheader995 ], [ 0, %.loopexit.loopexit.unr-lcssa ]
  %266 = load ptr, ptr %208, align 8, !tbaa !72
  %267 = getelementptr inbounds double, ptr %266, i64 %.6944.epil
  %268 = load double, ptr %267, align 8, !tbaa !73
  %269 = load ptr, ptr %209, align 8, !tbaa !72
  %270 = getelementptr inbounds double, ptr %269, i64 %.6944.epil
  store double %268, ptr %270, align 8, !tbaa !73
  %271 = add nuw nsw i64 %.6944.epil, 1
  %epil.iter997.next = add i64 %epil.iter997, 1
  %epil.iter997.cmp.not = icmp eq i64 %epil.iter997.next, %xtraiter996
  br i1 %epil.iter997.cmp.not, label %.loopexit, label %.epil.preheader995, !llvm.loop !92

.loopexit:                                        ; preds = %256, %.loopexit.loopexit.unr-lcssa, %.epil.preheader995, %.preheader908, %.loopexit909, %.preheader906, %265
  %272 = getelementptr inbounds i8, ptr %0, i64 128
  %273 = load i64, ptr %272, align 8, !tbaa !93
  switch i64 %273, label %845 [
    i64 4, label %274
    i64 3, label %381
    i64 5, label %430
    i64 6, label %430
    i64 7, label %554
    i64 8, label %554
    i64 9, label %687
  ]

274:                                              ; preds = %.loopexit
  %275 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef nonnull %20, ptr noundef %1)
  %276 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef %1)
  %277 = add nsw i64 %276, %275
  %278 = icmp sgt i64 %277, 0
  br i1 %278, label %279, label %280

279:                                              ; preds = %274
  store i64 -5, ptr %24, align 8, !tbaa !66
  br label %846

280:                                              ; preds = %274
  call void @_ZN11alglib_impl15xlcconverttooldEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef nonnull %14, ptr noundef %1)
  %281 = getelementptr inbounds i8, ptr %0, i64 144
  %282 = getelementptr inbounds i8, ptr %0, i64 1840
  %283 = getelementptr inbounds i8, ptr %0, i64 136
  %284 = load i64, ptr %283, align 8, !tbaa !89
  %285 = getelementptr inbounds i8, ptr %0, i64 2208
  %286 = load i8, ptr %285, align 8, !tbaa !94, !range !81, !noundef !82
  %287 = trunc nuw i8 %286 to i1
  %288 = getelementptr inbounds i8, ptr %0, i64 2240
  %289 = getelementptr inbounds i8, ptr %0, i64 2304
  %290 = getelementptr inbounds i8, ptr %0, i64 2368
  %291 = getelementptr inbounds i8, ptr %0, i64 2632
  %292 = getelementptr inbounds i8, ptr %0, i64 3512
  %293 = getelementptr inbounds i8, ptr %0, i64 3496
  %294 = load i64, ptr %293, align 8, !tbaa !95
  %295 = getelementptr inbounds i8, ptr %0, i64 3504
  %296 = load i64, ptr %295, align 8, !tbaa !96
  %297 = getelementptr inbounds i8, ptr %0, i64 5736
  %298 = getelementptr inbounds i8, ptr %0, i64 120
  %299 = load i8, ptr %298, align 8, !tbaa !97, !range !81, !noundef !82
  %300 = trunc nuw i8 %299 to i1
  %301 = xor i1 %300, true
  %302 = getelementptr inbounds i8, ptr %0, i64 80
  %303 = getelementptr inbounds i8, ptr %0, i64 19768
  %304 = getelementptr inbounds i8, ptr %0, i64 4936
  %305 = getelementptr inbounds i8, ptr %0, i64 5048
  %306 = getelementptr inbounds i8, ptr %0, i64 5528
  call void @_ZN11alglib_impl18qpdenseauloptimizeEPKNS_20convexquadraticmodelEPKNS_12sparsematrixElbPKNS_9ae_vectorES8_S8_S8_S8_lPKNS_9ae_matrixEllS5_llbPKNS_18qpdenseaulsettingsEPNS_17qpdenseaulbuffersEPS6_SH_SH_PlPNS_8ae_stateE(ptr noundef nonnull %281, ptr noundef nonnull %282, i64 noundef %284, i1 noundef zeroext %287, ptr noundef nonnull %288, ptr noundef nonnull %289, ptr noundef nonnull %290, ptr noundef nonnull %205, ptr noundef nonnull %291, i64 noundef %13, ptr noundef nonnull %292, i64 noundef %294, i64 noundef %296, ptr noundef nonnull %297, i64 noundef 0, i64 noundef 0, i1 noundef zeroext %301, ptr noundef nonnull %302, ptr noundef nonnull %303, ptr noundef nonnull %304, ptr noundef nonnull %305, ptr noundef nonnull %306, ptr noundef nonnull %24, ptr noundef %1)
  %307 = load i64, ptr %293, align 8, !tbaa !95
  %308 = load i64, ptr %295, align 8, !tbaa !96
  %309 = add nsw i64 %308, %307
  %.not891.not953 = icmp sgt i64 %309, 0
  br i1 %.not891.not953, label %.lr.ph956, label %._crit_edge957

.lr.ph956:                                        ; preds = %280
  %310 = getelementptr inbounds i8, ptr %0, i64 5168
  %311 = getelementptr inbounds i8, ptr %0, i64 3648
  %312 = getelementptr inbounds i8, ptr %0, i64 5584
  %313 = getelementptr inbounds i8, ptr %0, i64 3712
  %314 = add i64 %307, %308
  %xtraiter1002 = and i64 %309, 1
  %315 = icmp eq i64 %314, 1
  br i1 %315, label %._crit_edge957.loopexit.unr-lcssa, label %.lr.ph956.new

.lr.ph956.new:                                    ; preds = %.lr.ph956
  %unroll_iter1005 = and i64 %309, 9223372036854775806
  br label %316

316:                                              ; preds = %316, %.lr.ph956.new
  %.9954 = phi i64 [ 0, %.lr.ph956.new ], [ %344, %316 ]
  %niter1006 = phi i64 [ 0, %.lr.ph956.new ], [ %niter1006.next.1, %316 ]
  %317 = load ptr, ptr %310, align 8, !tbaa !72
  %318 = load ptr, ptr %311, align 8, !tbaa !72
  %319 = getelementptr inbounds i64, ptr %318, i64 %.9954
  %320 = load i64, ptr %319, align 8, !tbaa !98
  %321 = getelementptr inbounds double, ptr %317, i64 %320
  %322 = load double, ptr %321, align 8, !tbaa !73
  %323 = load ptr, ptr %312, align 8, !tbaa !72
  %324 = getelementptr inbounds double, ptr %323, i64 %.9954
  %325 = load double, ptr %324, align 8, !tbaa !73
  %326 = load ptr, ptr %313, align 8, !tbaa !72
  %327 = getelementptr inbounds double, ptr %326, i64 %.9954
  %328 = load double, ptr %327, align 8, !tbaa !73
  %329 = call double @llvm.fmuladd.f64(double %325, double %328, double %322)
  store double %329, ptr %321, align 8, !tbaa !73
  %330 = or disjoint i64 %.9954, 1
  %331 = load ptr, ptr %310, align 8, !tbaa !72
  %332 = load ptr, ptr %311, align 8, !tbaa !72
  %333 = getelementptr inbounds i64, ptr %332, i64 %330
  %334 = load i64, ptr %333, align 8, !tbaa !98
  %335 = getelementptr inbounds double, ptr %331, i64 %334
  %336 = load double, ptr %335, align 8, !tbaa !73
  %337 = load ptr, ptr %312, align 8, !tbaa !72
  %338 = getelementptr inbounds double, ptr %337, i64 %330
  %339 = load double, ptr %338, align 8, !tbaa !73
  %340 = load ptr, ptr %313, align 8, !tbaa !72
  %341 = getelementptr inbounds double, ptr %340, i64 %330
  %342 = load double, ptr %341, align 8, !tbaa !73
  %343 = call double @llvm.fmuladd.f64(double %339, double %342, double %336)
  store double %343, ptr %335, align 8, !tbaa !73
  %344 = add nuw nsw i64 %.9954, 2
  %niter1006.next.1 = add i64 %niter1006, 2
  %niter1006.ncmp.1 = icmp eq i64 %niter1006.next.1, %unroll_iter1005
  br i1 %niter1006.ncmp.1, label %._crit_edge957.loopexit.unr-lcssa, label %316, !llvm.loop !99

._crit_edge957.loopexit.unr-lcssa:                ; preds = %316, %.lr.ph956
  %.9954.unr = phi i64 [ 0, %.lr.ph956 ], [ %344, %316 ]
  %lcmp.mod1004.not = icmp eq i64 %xtraiter1002, 0
  br i1 %lcmp.mod1004.not, label %._crit_edge957, label %._crit_edge957.loopexit.epilog-lcssa

._crit_edge957.loopexit.epilog-lcssa:             ; preds = %._crit_edge957.loopexit.unr-lcssa
  %345 = load ptr, ptr %310, align 8, !tbaa !72
  %346 = load ptr, ptr %311, align 8, !tbaa !72
  %347 = getelementptr inbounds i64, ptr %346, i64 %.9954.unr
  %348 = load i64, ptr %347, align 8, !tbaa !98
  %349 = getelementptr inbounds double, ptr %345, i64 %348
  %350 = load double, ptr %349, align 8, !tbaa !73
  %351 = load ptr, ptr %312, align 8, !tbaa !72
  %352 = getelementptr inbounds double, ptr %351, i64 %.9954.unr
  %353 = load double, ptr %352, align 8, !tbaa !73
  %354 = load ptr, ptr %313, align 8, !tbaa !72
  %355 = getelementptr inbounds double, ptr %354, i64 %.9954.unr
  %356 = load double, ptr %355, align 8, !tbaa !73
  %357 = call double @llvm.fmuladd.f64(double %353, double %356, double %350)
  store double %357, ptr %349, align 8, !tbaa !73
  br label %._crit_edge957

._crit_edge957:                                   ; preds = %._crit_edge957.loopexit.epilog-lcssa, %._crit_edge957.loopexit.unr-lcssa, %280
  %358 = getelementptr inbounds i8, ptr %0, i64 31328
  %359 = load <2 x i64>, ptr %358, align 8, !tbaa !98
  store <2 x i64> %359, ptr %25, align 8, !tbaa !98
  %360 = getelementptr inbounds i8, ptr %0, i64 31344
  %361 = load i64, ptr %360, align 8, !tbaa !100
  store i64 %361, ptr %27, align 8, !tbaa !101
  %362 = load i64, ptr %24, align 8, !tbaa !66
  %363 = icmp sgt i64 %362, 0
  br i1 %363, label %364, label %846

364:                                              ; preds = %._crit_edge957
  %365 = load i64, ptr %283, align 8, !tbaa !89
  %366 = icmp eq i64 %365, 0
  br i1 %366, label %367, label %369

367:                                              ; preds = %364
  %368 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %281, ptr noundef nonnull %304, ptr noundef %1)
  store double %368, ptr %43, align 8, !tbaa !71
  %.pr = load i64, ptr %283, align 8, !tbaa !89
  br label %369

369:                                              ; preds = %367, %364
  %370 = phi i64 [ %.pr, %367 ], [ %365, %364 ]
  %371 = icmp eq i64 %370, 1
  br i1 %371, label %372, label %._crit_edge981

._crit_edge981:                                   ; preds = %369
  %.pre982 = load double, ptr %43, align 8, !tbaa !71
  br label %377

372:                                              ; preds = %369
  %373 = load i8, ptr %285, align 8, !tbaa !94, !range !81, !noundef !82
  %374 = trunc nuw i8 %373 to i1
  %375 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %282, i1 noundef zeroext %374, ptr noundef nonnull %304, ptr noundef %1)
  %376 = fmul double %375, 5.000000e-01
  store double %376, ptr %43, align 8, !tbaa !71
  br label %377

377:                                              ; preds = %._crit_edge981, %372
  %378 = phi double [ %.pre982, %._crit_edge981 ], [ %376, %372 ]
  %379 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %288, ptr noundef nonnull %304, ptr noundef %1)
  %380 = fadd double %378, %379
  store double %380, ptr %43, align 8, !tbaa !71
  br label %846

381:                                              ; preds = %.loopexit
  %382 = load i64, ptr %15, align 8, !tbaa !64
  %383 = load i64, ptr %17, align 8, !tbaa !65
  %384 = add nsw i64 %383, %382
  %385 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef nonnull %20, ptr noundef %1)
  %386 = add nsw i64 %384, %385
  %387 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef %1)
  %388 = add nsw i64 %386, %387
  %389 = icmp sgt i64 %388, 0
  br i1 %389, label %390, label %391

390:                                              ; preds = %381
  store i64 -5, ptr %24, align 8, !tbaa !66
  br label %846

391:                                              ; preds = %381
  %392 = getelementptr inbounds i8, ptr %0, i64 144
  %393 = getelementptr inbounds i8, ptr %0, i64 1840
  %394 = getelementptr inbounds i8, ptr %0, i64 5656
  %395 = getelementptr inbounds i8, ptr %0, i64 136
  %396 = load i64, ptr %395, align 8, !tbaa !89
  %397 = getelementptr inbounds i8, ptr %0, i64 2208
  %398 = load i8, ptr %397, align 8, !tbaa !94, !range !81, !noundef !82
  %399 = trunc nuw i8 %398 to i1
  %400 = getelementptr inbounds i8, ptr %0, i64 2240
  %401 = getelementptr inbounds i8, ptr %0, i64 2304
  %402 = getelementptr inbounds i8, ptr %0, i64 2368
  %403 = getelementptr inbounds i8, ptr %0, i64 2632
  %404 = getelementptr inbounds i8, ptr %0, i64 8
  %405 = getelementptr inbounds i8, ptr %0, i64 12464
  %406 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl11qqpoptimizeEPKNS_20convexquadraticmodelEPKNS_12sparsematrixEPKNS_9ae_matrixElbPKNS_9ae_vectorESB_SB_SB_SB_lPKNS_11qqpsettingsEPNS_10qqpbuffersEPS9_PlPNS_8ae_stateE(ptr noundef nonnull %392, ptr noundef nonnull %393, ptr noundef nonnull %394, i64 noundef %396, i1 noundef zeroext %399, ptr noundef nonnull %400, ptr noundef nonnull %401, ptr noundef nonnull %402, ptr noundef nonnull %205, ptr noundef nonnull %403, i64 noundef %13, ptr noundef nonnull %404, ptr noundef nonnull %405, ptr noundef nonnull %406, ptr noundef nonnull %24, ptr noundef %1)
  %407 = getelementptr inbounds i8, ptr %0, i64 19736
  %408 = load <2 x i64>, ptr %407, align 8, !tbaa !98
  store <2 x i64> %408, ptr %25, align 8, !tbaa !98
  %409 = getelementptr inbounds i8, ptr %0, i64 19752
  %410 = load i64, ptr %409, align 8, !tbaa !102
  store i64 %410, ptr %27, align 8, !tbaa !101
  %411 = load i64, ptr %24, align 8, !tbaa !66
  %412 = icmp sgt i64 %411, 0
  br i1 %412, label %413, label %846

413:                                              ; preds = %391
  %414 = load i64, ptr %395, align 8, !tbaa !89
  %415 = icmp eq i64 %414, 0
  br i1 %415, label %416, label %418

416:                                              ; preds = %413
  %417 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %392, ptr noundef nonnull %406, ptr noundef %1)
  store double %417, ptr %43, align 8, !tbaa !71
  %.pr901 = load i64, ptr %395, align 8, !tbaa !89
  br label %418

418:                                              ; preds = %416, %413
  %419 = phi i64 [ %.pr901, %416 ], [ %414, %413 ]
  %420 = icmp eq i64 %419, 1
  br i1 %420, label %421, label %._crit_edge979

._crit_edge979:                                   ; preds = %418
  %.pre980 = load double, ptr %43, align 8, !tbaa !71
  br label %426

421:                                              ; preds = %418
  %422 = load i8, ptr %397, align 8, !tbaa !94, !range !81, !noundef !82
  %423 = trunc nuw i8 %422 to i1
  %424 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %393, i1 noundef zeroext %423, ptr noundef nonnull %406, ptr noundef %1)
  %425 = fmul double %424, 5.000000e-01
  store double %425, ptr %43, align 8, !tbaa !71
  br label %426

426:                                              ; preds = %._crit_edge979, %421
  %427 = phi double [ %.pre980, %._crit_edge979 ], [ %425, %421 ]
  %428 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %400, ptr noundef nonnull %406, ptr noundef %1)
  %429 = fadd double %427, %428
  store double %429, ptr %43, align 8, !tbaa !71
  br label %846

430:                                              ; preds = %.loopexit, %.loopexit
  %431 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef nonnull %20, ptr noundef %1)
  %432 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef %1)
  %433 = add nsw i64 %432, %431
  %434 = icmp sgt i64 %433, 0
  br i1 %434, label %435, label %437

435:                                              ; preds = %430
  store i64 -5, ptr %24, align 8, !tbaa !66
  %436 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %436, ptr noundef %1)
  br label %846

437:                                              ; preds = %430
  call void @_ZN11alglib_impl18xlcconverttosparseEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef nonnull %14, ptr noundef %1)
  %438 = getelementptr inbounds i8, ptr %0, i64 136
  %439 = load i64, ptr %438, align 8, !tbaa !89
  %spec.select892 = icmp ult i64 %439, 2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select892, ptr noundef nonnull @.str.1102, ptr noundef %1)
  %440 = load i64, ptr %438, align 8, !tbaa !89
  %441 = icmp eq i64 %440, 0
  br i1 %441, label %442, label %446

442:                                              ; preds = %437
  %443 = getelementptr inbounds i8, ptr %0, i64 144
  %444 = getelementptr inbounds i8, ptr %0, i64 6104
  call void @_ZN11alglib_impl7cqmgetaEPKNS_20convexquadraticmodelEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef nonnull %443, ptr noundef nonnull %444, ptr noundef %1)
  %445 = getelementptr inbounds i8, ptr %0, i64 1840
  call void @_ZN11alglib_impl27sparsecreatecrsfromdensebufEPKNS_9ae_matrixEllPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %444, i64 noundef %13, i64 noundef %13, ptr noundef nonnull %445, ptr noundef %1)
  br label %446

446:                                              ; preds = %442, %437
  %447 = getelementptr inbounds i8, ptr %0, i64 121
  %448 = load i8, ptr %447, align 1, !tbaa !103, !range !81, !noundef !82
  %449 = trunc nuw i8 %448 to i1
  %450 = getelementptr inbounds i8, ptr %0, i64 2632
  %451 = getelementptr inbounds i8, ptr %0, i64 2240
  %452 = getelementptr inbounds i8, ptr %0, i64 2304
  %453 = getelementptr inbounds i8, ptr %0, i64 2368
  %454 = getelementptr inbounds i8, ptr %0, i64 1840
  %455 = getelementptr inbounds i8, ptr %0, i64 2208
  %456 = load i8, ptr %455, align 8, !tbaa !94, !range !81, !noundef !82
  %457 = trunc nuw i8 %456 to i1
  %458 = getelementptr inbounds i8, ptr %0, i64 3720
  %459 = getelementptr inbounds i8, ptr %0, i64 4088
  %460 = getelementptr inbounds i8, ptr %0, i64 4152
  %461 = getelementptr inbounds i8, ptr %0, i64 6184
  br i1 %449, label %462, label %463

462:                                              ; preds = %446
  call void @_ZN11alglib_impl10presolveqpEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef nonnull %205, ptr noundef nonnull %450, ptr noundef nonnull %451, ptr noundef nonnull %452, ptr noundef nonnull %453, ptr noundef nonnull %454, i1 noundef zeroext %457, i1 noundef zeroext true, i64 noundef %13, ptr noundef nonnull %458, ptr noundef nonnull %459, ptr noundef nonnull %460, i64 noundef %19, ptr noundef nonnull %20, ptr noundef nonnull %22, i1 noundef zeroext %36, ptr noundef nonnull %461, ptr noundef %1)
  br label %464

463:                                              ; preds = %446
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef nonnull %205, ptr noundef nonnull %450, ptr noundef nonnull %451, ptr noundef nonnull %452, ptr noundef nonnull %453, ptr noundef nonnull %454, i1 noundef zeroext %457, i1 noundef zeroext true, i64 noundef %13, ptr noundef nonnull %458, ptr noundef nonnull %459, ptr noundef nonnull %460, i64 noundef %19, ptr noundef nonnull %20, ptr noundef nonnull %22, i1 noundef zeroext %36, ptr noundef nonnull %461, ptr noundef %1)
  br label %464

464:                                              ; preds = %463, %462
  %465 = getelementptr inbounds i8, ptr %0, i64 6184
  %466 = getelementptr inbounds i8, ptr %0, i64 7536
  %467 = load i64, ptr %466, align 8, !tbaa !104
  %.off = add i64 %467, 3
  %switch = icmp ult i64 %.off, 2
  br i1 %switch, label %468, label %470

468:                                              ; preds = %464
  store i64 %467, ptr %24, align 8, !tbaa !66
  %469 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %469, ptr noundef %1)
  br label %846

470:                                              ; preds = %464
  %471 = icmp eq i64 %467, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %471, ptr noundef nonnull @.str.1103, ptr noundef %1)
  %472 = load i64, ptr %465, align 8, !tbaa !105
  %473 = icmp sgt i64 %472, 0
  br i1 %473, label %474, label %519

474:                                              ; preds = %470
  %475 = load i64, ptr %272, align 8, !tbaa !93
  %476 = icmp eq i64 %475, 5
  %477 = getelementptr inbounds i8, ptr %0, i64 5336
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %472, double noundef 0.000000e+00, ptr noundef nonnull %477, ptr noundef %1)
  %478 = load i64, ptr %465, align 8, !tbaa !105
  %479 = getelementptr inbounds i8, ptr %0, i64 5400
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %478, double noundef 1.000000e+00, ptr noundef nonnull %479, ptr noundef %1)
  %480 = load i64, ptr %465, align 8, !tbaa !105
  %481 = getelementptr inbounds i8, ptr %0, i64 7672
  %482 = getelementptr inbounds i8, ptr %0, i64 7736
  %483 = getelementptr inbounds i8, ptr %0, i64 8168
  %484 = getelementptr inbounds i8, ptr %0, i64 6216
  br i1 %476, label %485, label %502

485:                                              ; preds = %474
  %486 = getelementptr inbounds i8, ptr %0, i64 31392
  call void @_ZN11alglib_impl13vipminitdenseEPNS_9vipmstateEPKNS_9ae_vectorES4_lbPNS_8ae_stateE(ptr noundef nonnull %486, ptr noundef nonnull %479, ptr noundef nonnull %477, i64 noundef %480, i1 noundef zeroext false, ptr noundef %1)
  %487 = getelementptr inbounds i8, ptr %0, i64 6104
  %488 = getelementptr inbounds i8, ptr %0, i64 7800
  %489 = getelementptr inbounds i8, ptr %0, i64 7608
  call void @_ZN11alglib_impl22vipmsetquadraticlinearEPNS_9vipmstateEPKNS_9ae_matrixEPKNS_12sparsematrixElbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %486, ptr noundef nonnull %487, ptr noundef nonnull %488, i64 noundef 1, i1 noundef zeroext false, ptr noundef nonnull %489, ptr noundef %1)
  %490 = load i64, ptr %484, align 8, !tbaa !106
  %491 = getelementptr inbounds i8, ptr %0, i64 5656
  %492 = getelementptr inbounds i8, ptr %0, i64 8536
  %493 = getelementptr inbounds i8, ptr %0, i64 8600
  call void @_ZN11alglib_impl18vipmsetconstraintsEPNS_9vipmstateEPKNS_9ae_vectorES4_PKNS_12sparsematrixElPKNS_9ae_matrixElS4_S4_PNS_8ae_stateE(ptr noundef nonnull %486, ptr noundef nonnull %481, ptr noundef nonnull %482, ptr noundef nonnull %483, i64 noundef %490, ptr noundef nonnull %491, i64 noundef 0, ptr noundef nonnull %492, ptr noundef nonnull %493, ptr noundef %1)
  %494 = getelementptr inbounds i8, ptr %0, i64 104
  %495 = load double, ptr %494, align 8, !tbaa !107
  call void @_ZN11alglib_impl11vipmsetcondEPNS_9vipmstateEdddPNS_8ae_stateE(ptr noundef nonnull %486, double noundef %495, double noundef %495, double noundef %495, ptr noundef %1)
  %496 = getelementptr inbounds i8, ptr %0, i64 4936
  %497 = getelementptr inbounds i8, ptr %0, i64 5048
  %498 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl12vipmoptimizeEPNS_9vipmstateEbPNS_9ae_vectorES3_S3_PlPNS_8ae_stateE(ptr noundef nonnull %486, i1 noundef zeroext true, ptr noundef nonnull %496, ptr noundef nonnull %497, ptr noundef nonnull %498, ptr noundef nonnull %24, ptr noundef %1)
  %499 = getelementptr inbounds i8, ptr %0, i64 37856
  %500 = load <2 x i64>, ptr %499, align 8, !tbaa !98
  %501 = extractelement <2 x i64> %500, i64 0
  store i64 %501, ptr %25, align 8, !tbaa !108
  store <2 x i64> %500, ptr %26, align 8, !tbaa !98
  br label %526

502:                                              ; preds = %474
  %503 = getelementptr inbounds i8, ptr %0, i64 58040
  %504 = getelementptr inbounds i8, ptr %0, i64 6104
  %505 = getelementptr inbounds i8, ptr %0, i64 7800
  %506 = getelementptr inbounds i8, ptr %0, i64 5656
  %507 = getelementptr inbounds i8, ptr %0, i64 5592
  %508 = getelementptr inbounds i8, ptr %0, i64 7608
  %509 = load i64, ptr %484, align 8, !tbaa !106
  %510 = getelementptr inbounds i8, ptr %0, i64 8536
  %511 = getelementptr inbounds i8, ptr %0, i64 8600
  call void @_ZN11alglib_impl8ipm2initEPNS_9ipm2stateEPKNS_9ae_vectorES4_lPKNS_9ae_matrixEPKNS_12sparsematrixElbS7_S4_lS4_dS4_S4_SA_lS7_lS4_S4_bbPNS_8ae_stateE(ptr noundef nonnull %503, ptr noundef nonnull %479, ptr noundef nonnull %477, i64 noundef %480, ptr noundef nonnull %504, ptr noundef nonnull %505, i64 noundef 1, i1 noundef zeroext false, ptr noundef nonnull %506, ptr noundef nonnull %507, i64 noundef 0, ptr noundef nonnull %508, double noundef 0.000000e+00, ptr noundef nonnull %481, ptr noundef nonnull %482, ptr noundef nonnull %483, i64 noundef %509, ptr noundef nonnull %506, i64 noundef 0, ptr noundef nonnull %510, ptr noundef nonnull %511, i1 noundef zeroext false, i1 noundef zeroext true, ptr noundef %1)
  %512 = getelementptr inbounds i8, ptr %0, i64 104
  %513 = load double, ptr %512, align 8, !tbaa !107
  call void @_ZN11alglib_impl11ipm2setcondEPNS_9ipm2stateEdddPNS_8ae_stateE(ptr noundef nonnull %503, double noundef %513, double noundef %513, double noundef %513, ptr noundef %1)
  %514 = getelementptr inbounds i8, ptr %0, i64 4936
  %515 = getelementptr inbounds i8, ptr %0, i64 5048
  %516 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl12ipm2optimizeEPNS_9ipm2stateEbPNS_9ae_vectorES3_S3_PlPNS_8ae_stateE(ptr noundef nonnull %503, i1 noundef zeroext true, ptr noundef nonnull %514, ptr noundef nonnull %515, ptr noundef nonnull %516, ptr noundef nonnull %24, ptr noundef %1)
  %517 = getelementptr inbounds i8, ptr %0, i64 62664
  %518 = load i64, ptr %517, align 8, !tbaa !109
  store i64 %518, ptr %25, align 8, !tbaa !108
  store i64 %518, ptr %26, align 8, !tbaa !110
  store i64 %518, ptr %27, align 8, !tbaa !101
  br label %526

519:                                              ; preds = %470
  %520 = getelementptr inbounds i8, ptr %0, i64 5048
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %472, double noundef 0.000000e+00, ptr noundef nonnull %520, ptr noundef %1)
  %521 = getelementptr inbounds i8, ptr %0, i64 6216
  %522 = load i64, ptr %521, align 8, !tbaa !106
  %523 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %522, double noundef 0.000000e+00, ptr noundef nonnull %523, ptr noundef %1)
  %524 = getelementptr inbounds i8, ptr %0, i64 6232
  %525 = load i64, ptr %524, align 8, !tbaa !111
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %525, double noundef 0.000000e+00, ptr noundef nonnull %82, ptr noundef %1)
  store i64 1, ptr %24, align 8, !tbaa !66
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %25, i8 0, i64 16, i1 false)
  br label %526

526:                                              ; preds = %485, %502, %519
  %527 = getelementptr inbounds i8, ptr %0, i64 4936
  %528 = getelementptr inbounds i8, ptr %0, i64 5464
  %529 = getelementptr inbounds i8, ptr %0, i64 5048
  %530 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl11presolvebwdEPNS_12presolveinfoEPNS_9ae_vectorES3_bS3_S3_S3_PNS_8ae_stateE(ptr noundef nonnull %465, ptr noundef nonnull %527, ptr noundef nonnull %528, i1 noundef zeroext false, ptr noundef nonnull %529, ptr noundef nonnull %530, ptr noundef nonnull %82, ptr noundef %1)
  store i64 %13, ptr %28, align 8, !tbaa !67
  store i64 %19, ptr %29, align 8, !tbaa !68
  %531 = load i64, ptr %24, align 8, !tbaa !66
  %532 = icmp sgt i64 %531, 0
  br i1 %532, label %533, label %846

533:                                              ; preds = %526
  %534 = load i64, ptr %438, align 8, !tbaa !89
  %535 = icmp eq i64 %534, 0
  br i1 %535, label %536, label %539

536:                                              ; preds = %533
  %537 = getelementptr inbounds i8, ptr %0, i64 144
  %538 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %537, ptr noundef nonnull %527, ptr noundef %1)
  store double %538, ptr %43, align 8, !tbaa !71
  %.pr902 = load i64, ptr %438, align 8, !tbaa !89
  br label %539

539:                                              ; preds = %536, %533
  %540 = phi i64 [ %.pr902, %536 ], [ %534, %533 ]
  %541 = icmp eq i64 %540, 1
  br i1 %541, label %542, label %._crit_edge977

._crit_edge977:                                   ; preds = %539
  %.pre978 = load double, ptr %43, align 8, !tbaa !71
  br label %549

542:                                              ; preds = %539
  %543 = getelementptr inbounds i8, ptr %0, i64 1840
  %544 = getelementptr inbounds i8, ptr %0, i64 2208
  %545 = load i8, ptr %544, align 8, !tbaa !94, !range !81, !noundef !82
  %546 = trunc nuw i8 %545 to i1
  %547 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %543, i1 noundef zeroext %546, ptr noundef nonnull %527, ptr noundef %1)
  %548 = fmul double %547, 5.000000e-01
  store double %548, ptr %43, align 8, !tbaa !71
  br label %549

549:                                              ; preds = %._crit_edge977, %542
  %550 = phi double [ %.pre978, %._crit_edge977 ], [ %548, %542 ]
  %551 = getelementptr inbounds i8, ptr %0, i64 2240
  %552 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %551, ptr noundef nonnull %527, ptr noundef %1)
  %553 = fadd double %550, %552
  store double %553, ptr %43, align 8, !tbaa !71
  br label %846

554:                                              ; preds = %.loopexit, %.loopexit
  %555 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef %1)
  %.not = icmp eq i64 %555, 0
  br i1 %.not, label %560, label %556

556:                                              ; preds = %554
  %557 = load i64, ptr %272, align 8, !tbaa !93
  %558 = icmp eq i64 %557, 8
  br i1 %558, label %559, label %560

559:                                              ; preds = %556
  store i64 -5, ptr %24, align 8, !tbaa !66
  br label %846

560:                                              ; preds = %556, %554
  call void @_ZN11alglib_impl18xlcconverttosparseEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef nonnull %14, ptr noundef %1)
  %561 = getelementptr inbounds i8, ptr %0, i64 136
  %562 = load i64, ptr %561, align 8, !tbaa !89
  %spec.select893 = icmp ult i64 %562, 2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select893, ptr noundef nonnull @.str.1102, ptr noundef %1)
  %563 = load i64, ptr %561, align 8, !tbaa !89
  %564 = icmp eq i64 %563, 0
  br i1 %564, label %565, label %569

565:                                              ; preds = %560
  %566 = getelementptr inbounds i8, ptr %0, i64 144
  %567 = getelementptr inbounds i8, ptr %0, i64 6104
  call void @_ZN11alglib_impl7cqmgetaEPKNS_20convexquadraticmodelEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef nonnull %566, ptr noundef nonnull %567, ptr noundef %1)
  %568 = getelementptr inbounds i8, ptr %0, i64 1840
  call void @_ZN11alglib_impl27sparsecreatecrsfromdensebufEPKNS_9ae_matrixEllPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %567, i64 noundef %13, i64 noundef %13, ptr noundef nonnull %568, ptr noundef %1)
  br label %569

569:                                              ; preds = %565, %560
  %570 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef %1)
  %571 = icmp eq i64 %570, 0
  br i1 %571, label %572, label %596

572:                                              ; preds = %569
  %573 = getelementptr inbounds i8, ptr %0, i64 121
  %574 = load i8, ptr %573, align 1, !tbaa !103, !range !81, !noundef !82
  %575 = trunc nuw i8 %574 to i1
  %576 = getelementptr inbounds i8, ptr %0, i64 2632
  %577 = getelementptr inbounds i8, ptr %0, i64 2240
  %578 = getelementptr inbounds i8, ptr %0, i64 2304
  %579 = getelementptr inbounds i8, ptr %0, i64 2368
  %580 = getelementptr inbounds i8, ptr %0, i64 1840
  %581 = getelementptr inbounds i8, ptr %0, i64 2208
  %582 = load i8, ptr %581, align 8, !tbaa !94, !range !81, !noundef !82
  %583 = trunc nuw i8 %582 to i1
  %584 = getelementptr inbounds i8, ptr %0, i64 3720
  %585 = getelementptr inbounds i8, ptr %0, i64 4088
  %586 = getelementptr inbounds i8, ptr %0, i64 4152
  %587 = getelementptr inbounds i8, ptr %0, i64 6184
  br i1 %575, label %588, label %589

588:                                              ; preds = %572
  call void @_ZN11alglib_impl10presolveqpEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef nonnull %205, ptr noundef nonnull %576, ptr noundef nonnull %577, ptr noundef nonnull %578, ptr noundef nonnull %579, ptr noundef nonnull %580, i1 noundef zeroext %583, i1 noundef zeroext true, i64 noundef %13, ptr noundef nonnull %584, ptr noundef nonnull %585, ptr noundef nonnull %586, i64 noundef %19, ptr noundef nonnull %20, ptr noundef nonnull %22, i1 noundef zeroext %36, ptr noundef nonnull %587, ptr noundef %1)
  br label %590

589:                                              ; preds = %572
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef nonnull %205, ptr noundef nonnull %576, ptr noundef nonnull %577, ptr noundef nonnull %578, ptr noundef nonnull %579, ptr noundef nonnull %580, i1 noundef zeroext %583, i1 noundef zeroext true, i64 noundef %13, ptr noundef nonnull %584, ptr noundef nonnull %585, ptr noundef nonnull %586, i64 noundef %19, ptr noundef nonnull %20, ptr noundef nonnull %22, i1 noundef zeroext %36, ptr noundef nonnull %587, ptr noundef %1)
  br label %590

590:                                              ; preds = %589, %588
  %591 = getelementptr inbounds i8, ptr %0, i64 7536
  %592 = load i64, ptr %591, align 8, !tbaa !104
  %.off895 = add i64 %592, 3
  %switch896 = icmp ult i64 %.off895, 2
  br i1 %switch896, label %593, label %595

593:                                              ; preds = %590
  store i64 %592, ptr %24, align 8, !tbaa !66
  %594 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %594, ptr noundef %1)
  br label %846

595:                                              ; preds = %590
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 1.000000e+00, ptr noundef nonnull %4, ptr noundef %1)
  %.pre974 = load i64, ptr %591, align 8, !tbaa !104
  br label %620

596:                                              ; preds = %569
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %205, ptr noundef nonnull %5, ptr noundef %1)
  %597 = getelementptr inbounds i8, ptr %0, i64 2632
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %597, ptr noundef nonnull %6, ptr noundef %1)
  %598 = getelementptr inbounds i8, ptr %0, i64 2304
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %598, ptr noundef nonnull %7, ptr noundef %1)
  %599 = getelementptr inbounds i8, ptr %0, i64 2368
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %599, ptr noundef nonnull %8, ptr noundef %1)
  %600 = getelementptr inbounds i8, ptr %0, i64 2240
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %600, ptr noundef nonnull %9, ptr noundef %1)
  %601 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %601, ptr noundef nonnull %10, ptr noundef %1)
  %602 = getelementptr inbounds i8, ptr %0, i64 1840
  %603 = getelementptr inbounds i8, ptr %0, i64 130320
  call void @_ZN11alglib_impl13sparsecopybufEPKNS_12sparsematrixEPS0_PNS_8ae_stateE(ptr noundef nonnull %602, ptr noundef nonnull %603, ptr noundef %1)
  %604 = getelementptr inbounds i8, ptr %0, i64 130688
  call void @_ZN11alglib_impl7xcccopyEPNS_17xconicconstraintsES1_PNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef nonnull %604, ptr noundef %1)
  store i64 %13, ptr %11, align 8, !tbaa !98
  store i64 %19, ptr %12, align 8, !tbaa !98
  %605 = getelementptr inbounds i8, ptr %0, i64 2208
  %606 = load i8, ptr %605, align 8, !tbaa !94, !range !81, !noundef !82
  %607 = trunc nuw i8 %606 to i1
  %608 = getelementptr inbounds i8, ptr %0, i64 3720
  %609 = getelementptr inbounds i8, ptr %0, i64 4088
  %610 = getelementptr inbounds i8, ptr %0, i64 4152
  call void @_ZN11alglib_impl34gqpipmcanonicalizeconicconstraintsEPNS_9ae_vectorES1_S1_S1_S1_S1_PNS_12sparsematrixEbbPlS3_S1_S1_S4_PNS_21xquadraticconstraintsEPNS_17xconicconstraintsES1_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %10, ptr noundef nonnull %603, i1 noundef zeroext %607, i1 noundef zeroext true, ptr noundef nonnull %11, ptr noundef nonnull %608, ptr noundef nonnull %609, ptr noundef nonnull %610, ptr noundef nonnull %12, ptr noundef nonnull %20, ptr noundef nonnull %604, ptr noundef nonnull %4, ptr noundef %1)
  %611 = load i8, ptr %605, align 8, !tbaa !94, !range !81, !noundef !82
  %612 = trunc nuw i8 %611 to i1
  %613 = load i64, ptr %11, align 8, !tbaa !98
  %614 = load i64, ptr %12, align 8, !tbaa !98
  %615 = getelementptr inbounds i8, ptr %0, i64 6184
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %603, i1 noundef zeroext %612, i1 noundef zeroext true, i64 noundef %613, ptr noundef nonnull %608, ptr noundef nonnull %609, ptr noundef nonnull %610, i64 noundef %614, ptr noundef nonnull %20, ptr noundef nonnull %604, i1 noundef zeroext %36, ptr noundef nonnull %615, ptr noundef %1)
  %616 = load i64, ptr %11, align 8, !tbaa !98
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %616, ptr noundef nonnull %10, ptr noundef nonnull %601, ptr noundef %1)
  %617 = getelementptr inbounds i8, ptr %0, i64 7536
  %618 = load i64, ptr %617, align 8, !tbaa !104
  %.off897 = add i64 %618, 3
  %switch898 = icmp ult i64 %.off897, 2
  br i1 %switch898, label %619, label %620

619:                                              ; preds = %596
  store i64 %618, ptr %24, align 8, !tbaa !66
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %601, ptr noundef %1)
  br label %846

620:                                              ; preds = %596, %595
  %621 = phi i64 [ %618, %596 ], [ %.pre974, %595 ]
  %622 = getelementptr inbounds i8, ptr %0, i64 6184
  %623 = icmp eq i64 %621, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %623, ptr noundef nonnull @.str.1104, ptr noundef %1)
  %624 = load i64, ptr %622, align 8, !tbaa !105
  %625 = icmp sgt i64 %624, 0
  br i1 %625, label %626, label %652

626:                                              ; preds = %620
  %627 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl11presolvefwdEPNS_12presolveinfoEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %622, ptr noundef nonnull %627, ptr noundef %1)
  %628 = getelementptr inbounds i8, ptr %0, i64 7672
  %629 = getelementptr inbounds i8, ptr %0, i64 7736
  %630 = load i64, ptr %622, align 8, !tbaa !105
  %631 = load i64, ptr %272, align 8, !tbaa !93
  %632 = icmp eq i64 %631, 7
  %633 = getelementptr inbounds i8, ptr %0, i64 104
  %634 = load double, ptr %633, align 8, !tbaa !107
  %635 = getelementptr inbounds i8, ptr %0, i64 112
  %636 = load i64, ptr %635, align 8, !tbaa !112
  %637 = getelementptr inbounds i8, ptr %0, i64 99144
  call void @_ZN11alglib_impl13gqpipminitbufEPKNS_9ae_vectorES2_S2_lbdlPNS_11gqpipmstateEPNS_8ae_stateE(ptr noundef nonnull %628, ptr noundef nonnull %629, ptr noundef nonnull %627, i64 noundef %630, i1 noundef zeroext %632, double noundef %634, i64 noundef %636, ptr noundef nonnull %637, ptr noundef %1)
  %638 = getelementptr inbounds i8, ptr %0, i64 6104
  %639 = getelementptr inbounds i8, ptr %0, i64 7800
  %640 = getelementptr inbounds i8, ptr %0, i64 7608
  call void @_ZN11alglib_impl24gqpipmsetquadraticlinearEPNS_11gqpipmstateEPKNS_9ae_matrixEPKNS_12sparsematrixElPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %637, ptr noundef nonnull %638, ptr noundef nonnull %639, i64 noundef 1, ptr noundef nonnull %640, ptr noundef %1)
  %641 = getelementptr inbounds i8, ptr %0, i64 8168
  %642 = getelementptr inbounds i8, ptr %0, i64 8536
  %643 = getelementptr inbounds i8, ptr %0, i64 8600
  %644 = getelementptr inbounds i8, ptr %0, i64 6216
  %645 = load i64, ptr %644, align 8, !tbaa !106
  %646 = getelementptr inbounds i8, ptr %0, i64 8664
  %647 = getelementptr inbounds i8, ptr %0, i64 8872
  call void @_ZN11alglib_impl20gqpipmsetconstraintsEPNS_11gqpipmstateEPKNS_12sparsematrixEPKNS_9ae_vectorES7_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %637, ptr noundef nonnull %641, ptr noundef nonnull %642, ptr noundef nonnull %643, i64 noundef %645, ptr noundef nonnull %646, ptr noundef nonnull %647, ptr noundef %1)
  %648 = getelementptr inbounds i8, ptr %0, i64 5048
  %649 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl14gqpipmoptimizeEPNS_11gqpipmstateEPNS_9ae_vectorES3_S3_S3_PlPNS_8ae_stateE(ptr noundef nonnull %637, ptr noundef nonnull %627, ptr noundef nonnull %648, ptr noundef nonnull %649, ptr noundef nonnull %82, ptr noundef nonnull %24, ptr noundef %1)
  %650 = getelementptr inbounds i8, ptr %0, i64 101104
  %651 = load i64, ptr %650, align 8, !tbaa !113
  store i64 %651, ptr %27, align 8, !tbaa !101
  br label %659

652:                                              ; preds = %620
  %653 = getelementptr inbounds i8, ptr %0, i64 5048
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %624, double noundef 0.000000e+00, ptr noundef nonnull %653, ptr noundef %1)
  %654 = getelementptr inbounds i8, ptr %0, i64 6216
  %655 = load i64, ptr %654, align 8, !tbaa !106
  %656 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %655, double noundef 0.000000e+00, ptr noundef nonnull %656, ptr noundef %1)
  %657 = getelementptr inbounds i8, ptr %0, i64 6232
  %658 = load i64, ptr %657, align 8, !tbaa !111
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %658, double noundef 0.000000e+00, ptr noundef nonnull %82, ptr noundef %1)
  store i64 1, ptr %24, align 8, !tbaa !66
  br label %659

659:                                              ; preds = %652, %626
  %.sink970 = phi i64 [ %651, %626 ], [ 0, %652 ]
  store i64 %.sink970, ptr %25, align 8
  store i64 %.sink970, ptr %26, align 8
  %660 = getelementptr inbounds i8, ptr %0, i64 4936
  %661 = getelementptr inbounds i8, ptr %0, i64 5464
  %662 = getelementptr inbounds i8, ptr %0, i64 5048
  %663 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl11presolvebwdEPNS_12presolveinfoEPNS_9ae_vectorES3_bS3_S3_S3_PNS_8ae_stateE(ptr noundef nonnull %622, ptr noundef nonnull %660, ptr noundef nonnull %661, i1 noundef zeroext false, ptr noundef nonnull %662, ptr noundef nonnull %663, ptr noundef nonnull %82, ptr noundef %1)
  call void @_ZN11alglib_impl10rmergemulvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %4, ptr noundef nonnull %662, ptr noundef %1)
  store i64 %13, ptr %28, align 8, !tbaa !67
  store i64 %19, ptr %29, align 8, !tbaa !68
  %664 = load i64, ptr %24, align 8, !tbaa !66
  %665 = icmp sgt i64 %664, 0
  br i1 %665, label %666, label %846

666:                                              ; preds = %659
  %667 = load i64, ptr %561, align 8, !tbaa !89
  %668 = icmp eq i64 %667, 0
  br i1 %668, label %669, label %672

669:                                              ; preds = %666
  %670 = getelementptr inbounds i8, ptr %0, i64 144
  %671 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %670, ptr noundef nonnull %660, ptr noundef %1)
  store double %671, ptr %43, align 8, !tbaa !71
  %.pr903 = load i64, ptr %561, align 8, !tbaa !89
  br label %672

672:                                              ; preds = %669, %666
  %673 = phi i64 [ %.pr903, %669 ], [ %667, %666 ]
  %674 = icmp eq i64 %673, 1
  br i1 %674, label %675, label %._crit_edge975

._crit_edge975:                                   ; preds = %672
  %.pre976 = load double, ptr %43, align 8, !tbaa !71
  br label %682

675:                                              ; preds = %672
  %676 = getelementptr inbounds i8, ptr %0, i64 1840
  %677 = getelementptr inbounds i8, ptr %0, i64 2208
  %678 = load i8, ptr %677, align 8, !tbaa !94, !range !81, !noundef !82
  %679 = trunc nuw i8 %678 to i1
  %680 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %676, i1 noundef zeroext %679, ptr noundef nonnull %660, ptr noundef %1)
  %681 = fmul double %680, 5.000000e-01
  store double %681, ptr %43, align 8, !tbaa !71
  br label %682

682:                                              ; preds = %._crit_edge975, %675
  %683 = phi double [ %.pre976, %._crit_edge975 ], [ %681, %675 ]
  %684 = getelementptr inbounds i8, ptr %0, i64 2240
  %685 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %684, ptr noundef nonnull %660, ptr noundef %1)
  %686 = fadd double %683, %685
  store double %686, ptr %43, align 8, !tbaa !71
  br label %846

687:                                              ; preds = %.loopexit
  call void @_ZN11alglib_impl18xlcconverttosparseEPNS_18xlinearconstraintsEPNS_8ae_stateE(ptr noundef nonnull %14, ptr noundef %1)
  %688 = call noundef i64 @_ZN11alglib_impl11xqcgetcountEPKNS_21xquadraticconstraintsEPNS_8ae_stateE(ptr noundef nonnull %20, ptr noundef %1)
  %689 = call noundef i64 @_ZN11alglib_impl11xccgetcountEPKNS_17xconicconstraintsEPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef %1)
  %690 = add nsw i64 %689, %688
  %691 = icmp sgt i64 %690, 0
  br i1 %691, label %694, label %.preheader905

.preheader905:                                    ; preds = %687
  br i1 %.not.not916, label %.lr.ph948, label %.preheader

.lr.ph948:                                        ; preds = %.preheader905
  %692 = getelementptr inbounds i8, ptr %0, i64 2360
  %693 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %698

694:                                              ; preds = %687
  store i64 -5, ptr %24, align 8, !tbaa !66
  %695 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %695, ptr noundef %1)
  br label %846

.preheader:                                       ; preds = %728, %.preheader905
  br i1 %.not.not881918, label %.lr.ph951, label %._crit_edge952

.lr.ph951:                                        ; preds = %.preheader
  %696 = getelementptr inbounds i8, ptr %0, i64 4144
  %697 = getelementptr inbounds i8, ptr %0, i64 4208
  br label %730

698:                                              ; preds = %.lr.ph948, %728
  %.10947 = phi i64 [ 0, %.lr.ph948 ], [ %729, %728 ]
  %699 = load ptr, ptr %692, align 8, !tbaa !72
  %700 = getelementptr inbounds double, ptr %699, i64 %.10947
  %701 = load double, ptr %700, align 8, !tbaa !73
  %702 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %701, ptr noundef %1)
  br i1 %702, label %708, label %703

703:                                              ; preds = %698
  %704 = load ptr, ptr %693, align 8, !tbaa !72
  %705 = getelementptr inbounds double, ptr %704, i64 %.10947
  %706 = load double, ptr %705, align 8, !tbaa !73
  %707 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %706, ptr noundef %1)
  br i1 %707, label %708, label %728

708:                                              ; preds = %703, %698
  %709 = load ptr, ptr %692, align 8, !tbaa !72
  %710 = getelementptr inbounds double, ptr %709, i64 %.10947
  %711 = load double, ptr %710, align 8, !tbaa !73
  %712 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %711, ptr noundef %1)
  br i1 %712, label %713, label %726

713:                                              ; preds = %708
  %714 = load ptr, ptr %693, align 8, !tbaa !72
  %715 = getelementptr inbounds double, ptr %714, i64 %.10947
  %716 = load double, ptr %715, align 8, !tbaa !73
  %717 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %716, ptr noundef %1)
  br i1 %717, label %718, label %726

718:                                              ; preds = %713
  %719 = load ptr, ptr %692, align 8, !tbaa !72
  %720 = getelementptr inbounds double, ptr %719, i64 %.10947
  %721 = load double, ptr %720, align 8, !tbaa !73
  %722 = load ptr, ptr %693, align 8, !tbaa !72
  %723 = getelementptr inbounds double, ptr %722, i64 %.10947
  %724 = load double, ptr %723, align 8, !tbaa !73
  %725 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %721, double noundef %724)
  br i1 %725, label %728, label %726

726:                                              ; preds = %718, %713, %708
  store i64 -5, ptr %24, align 8, !tbaa !66
  %727 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %727, ptr noundef %1)
  br label %846

728:                                              ; preds = %718, %703
  %729 = add nuw nsw i64 %.10947, 1
  %exitcond967.not = icmp eq i64 %729, %13
  br i1 %exitcond967.not, label %.preheader, label %698, !llvm.loop !114

730:                                              ; preds = %.lr.ph951, %760
  %.11950 = phi i64 [ 0, %.lr.ph951 ], [ %761, %760 ]
  %731 = load ptr, ptr %696, align 8, !tbaa !72
  %732 = getelementptr inbounds double, ptr %731, i64 %.11950
  %733 = load double, ptr %732, align 8, !tbaa !73
  %734 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %733, ptr noundef %1)
  br i1 %734, label %740, label %735

735:                                              ; preds = %730
  %736 = load ptr, ptr %697, align 8, !tbaa !72
  %737 = getelementptr inbounds double, ptr %736, i64 %.11950
  %738 = load double, ptr %737, align 8, !tbaa !73
  %739 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %738, ptr noundef %1)
  br i1 %739, label %740, label %760

740:                                              ; preds = %735, %730
  %741 = load ptr, ptr %696, align 8, !tbaa !72
  %742 = getelementptr inbounds double, ptr %741, i64 %.11950
  %743 = load double, ptr %742, align 8, !tbaa !73
  %744 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %743, ptr noundef %1)
  br i1 %744, label %745, label %758

745:                                              ; preds = %740
  %746 = load ptr, ptr %697, align 8, !tbaa !72
  %747 = getelementptr inbounds double, ptr %746, i64 %.11950
  %748 = load double, ptr %747, align 8, !tbaa !73
  %749 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %748, ptr noundef %1)
  br i1 %749, label %750, label %758

750:                                              ; preds = %745
  %751 = load ptr, ptr %696, align 8, !tbaa !72
  %752 = getelementptr inbounds double, ptr %751, i64 %.11950
  %753 = load double, ptr %752, align 8, !tbaa !73
  %754 = load ptr, ptr %697, align 8, !tbaa !72
  %755 = getelementptr inbounds double, ptr %754, i64 %.11950
  %756 = load double, ptr %755, align 8, !tbaa !73
  %757 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %753, double noundef %756)
  br i1 %757, label %760, label %758

758:                                              ; preds = %750, %745, %740
  store i64 -5, ptr %24, align 8, !tbaa !66
  %759 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %759, ptr noundef %1)
  br label %846

760:                                              ; preds = %750, %735
  %761 = add nuw nsw i64 %.11950, 1
  %exitcond968.not = icmp eq i64 %761, %19
  br i1 %exitcond968.not, label %._crit_edge952, label %730, !llvm.loop !115

._crit_edge952:                                   ; preds = %760, %.preheader
  %762 = getelementptr inbounds i8, ptr %0, i64 136
  %763 = load i64, ptr %762, align 8, !tbaa !89
  %spec.select894 = icmp ult i64 %763, 2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select894, ptr noundef nonnull @.str.1102, ptr noundef %1)
  %764 = load i64, ptr %762, align 8, !tbaa !89
  %765 = icmp eq i64 %764, 0
  br i1 %765, label %766, label %770

766:                                              ; preds = %._crit_edge952
  %767 = getelementptr inbounds i8, ptr %0, i64 144
  %768 = getelementptr inbounds i8, ptr %0, i64 6104
  call void @_ZN11alglib_impl7cqmgetaEPKNS_20convexquadraticmodelEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef nonnull %767, ptr noundef nonnull %768, ptr noundef %1)
  %769 = getelementptr inbounds i8, ptr %0, i64 1840
  call void @_ZN11alglib_impl27sparsecreatecrsfromdensebufEPKNS_9ae_matrixEllPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %768, i64 noundef %13, i64 noundef %13, ptr noundef nonnull %769, ptr noundef %1)
  br label %770

770:                                              ; preds = %766, %._crit_edge952
  %771 = getelementptr inbounds i8, ptr %0, i64 121
  %772 = load i8, ptr %771, align 1, !tbaa !103, !range !81, !noundef !82
  %773 = trunc nuw i8 %772 to i1
  %774 = getelementptr inbounds i8, ptr %0, i64 2632
  %775 = getelementptr inbounds i8, ptr %0, i64 2240
  %776 = getelementptr inbounds i8, ptr %0, i64 2304
  %777 = getelementptr inbounds i8, ptr %0, i64 2368
  %778 = getelementptr inbounds i8, ptr %0, i64 1840
  %779 = getelementptr inbounds i8, ptr %0, i64 2208
  %780 = load i8, ptr %779, align 8, !tbaa !94, !range !81, !noundef !82
  %781 = trunc nuw i8 %780 to i1
  %782 = getelementptr inbounds i8, ptr %0, i64 3720
  %783 = getelementptr inbounds i8, ptr %0, i64 4088
  %784 = getelementptr inbounds i8, ptr %0, i64 4152
  %785 = getelementptr inbounds i8, ptr %0, i64 6184
  br i1 %773, label %786, label %787

786:                                              ; preds = %770
  call void @_ZN11alglib_impl10presolveqpEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef nonnull %205, ptr noundef nonnull %774, ptr noundef nonnull %775, ptr noundef nonnull %776, ptr noundef nonnull %777, ptr noundef nonnull %778, i1 noundef zeroext %781, i1 noundef zeroext true, i64 noundef %13, ptr noundef nonnull %782, ptr noundef nonnull %783, ptr noundef nonnull %784, i64 noundef %19, ptr noundef nonnull %20, ptr noundef nonnull %22, i1 noundef zeroext %36, ptr noundef nonnull %785, ptr noundef %1)
  br label %788

787:                                              ; preds = %770
  call void @_ZN11alglib_impl21presolvenonescaleuserEPKNS_9ae_vectorES2_S2_S2_S2_PKNS_12sparsematrixEbblS5_S2_S2_lPNS_21xquadraticconstraintsEPNS_17xconicconstraintsEbPNS_12presolveinfoEPNS_8ae_stateE(ptr noundef nonnull %205, ptr noundef nonnull %774, ptr noundef nonnull %775, ptr noundef nonnull %776, ptr noundef nonnull %777, ptr noundef nonnull %778, i1 noundef zeroext %781, i1 noundef zeroext true, i64 noundef %13, ptr noundef nonnull %782, ptr noundef nonnull %783, ptr noundef nonnull %784, i64 noundef %19, ptr noundef nonnull %20, ptr noundef nonnull %22, i1 noundef zeroext %36, ptr noundef nonnull %785, ptr noundef %1)
  br label %788

788:                                              ; preds = %787, %786
  %789 = getelementptr inbounds i8, ptr %0, i64 6184
  %790 = getelementptr inbounds i8, ptr %0, i64 7536
  %791 = load i64, ptr %790, align 8, !tbaa !104
  %.off899 = add i64 %791, 3
  %switch900 = icmp ult i64 %.off899, 2
  br i1 %switch900, label %792, label %794

792:                                              ; preds = %788
  store i64 %791, ptr %24, align 8, !tbaa !66
  %793 = getelementptr inbounds i8, ptr %0, i64 4936
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %13, double noundef 0.000000e+00, ptr noundef nonnull %793, ptr noundef %1)
  br label %846

794:                                              ; preds = %788
  %795 = icmp eq i64 %791, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %795, ptr noundef nonnull @.str.1105, ptr noundef %1)
  %796 = load i64, ptr %789, align 8, !tbaa !105
  %797 = icmp sgt i64 %796, 0
  br i1 %797, label %798, label %810

798:                                              ; preds = %794
  %799 = getelementptr inbounds i8, ptr %0, i64 81936
  %800 = getelementptr inbounds i8, ptr %0, i64 7800
  %801 = getelementptr inbounds i8, ptr %0, i64 7608
  %802 = getelementptr inbounds i8, ptr %0, i64 8168
  %803 = getelementptr inbounds i8, ptr %0, i64 8536
  %804 = getelementptr inbounds i8, ptr %0, i64 6216
  %805 = load i64, ptr %804, align 8, !tbaa !106
  %806 = getelementptr inbounds i8, ptr %0, i64 4936
  %807 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl9ecqpsolveEPNS_9ecqpstateElPKNS_12sparsematrixEPKNS_9ae_vectorES4_S7_lPS5_S8_PlPNS_8ae_stateE(ptr noundef nonnull %799, i64 noundef %796, ptr noundef nonnull %800, ptr noundef nonnull %801, ptr noundef nonnull %802, ptr noundef nonnull %803, i64 noundef %805, ptr noundef nonnull %806, ptr noundef nonnull %807, ptr noundef nonnull %24, ptr noundef %1)
  %808 = getelementptr inbounds i8, ptr %0, i64 99000
  %809 = load i64, ptr %808, align 8, !tbaa !116
  store i64 %809, ptr %27, align 8, !tbaa !101
  br label %817

810:                                              ; preds = %794
  %811 = getelementptr inbounds i8, ptr %0, i64 5048
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %796, double noundef 0.000000e+00, ptr noundef nonnull %811, ptr noundef %1)
  %812 = getelementptr inbounds i8, ptr %0, i64 6216
  %813 = load i64, ptr %812, align 8, !tbaa !106
  %814 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %813, double noundef 0.000000e+00, ptr noundef nonnull %814, ptr noundef %1)
  %815 = getelementptr inbounds i8, ptr %0, i64 6232
  %816 = load i64, ptr %815, align 8, !tbaa !111
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %816, double noundef 0.000000e+00, ptr noundef nonnull %82, ptr noundef %1)
  store i64 1, ptr %24, align 8, !tbaa !66
  br label %817

817:                                              ; preds = %810, %798
  %.sink972 = phi i64 [ %809, %798 ], [ 0, %810 ]
  store i64 %.sink972, ptr %25, align 8
  store i64 %.sink972, ptr %26, align 8
  %818 = getelementptr inbounds i8, ptr %0, i64 4936
  %819 = getelementptr inbounds i8, ptr %0, i64 5464
  %820 = getelementptr inbounds i8, ptr %0, i64 5048
  %821 = getelementptr inbounds i8, ptr %0, i64 5112
  call void @_ZN11alglib_impl11presolvebwdEPNS_12presolveinfoEPNS_9ae_vectorES3_bS3_S3_S3_PNS_8ae_stateE(ptr noundef nonnull %789, ptr noundef nonnull %818, ptr noundef nonnull %819, i1 noundef zeroext false, ptr noundef nonnull %820, ptr noundef nonnull %821, ptr noundef nonnull %82, ptr noundef %1)
  store i64 %13, ptr %28, align 8, !tbaa !67
  store i64 %19, ptr %29, align 8, !tbaa !68
  %822 = load i64, ptr %24, align 8, !tbaa !66
  %823 = icmp sgt i64 %822, 0
  br i1 %823, label %824, label %846

824:                                              ; preds = %817
  %825 = load i64, ptr %762, align 8, !tbaa !89
  %826 = icmp eq i64 %825, 0
  br i1 %826, label %827, label %830

827:                                              ; preds = %824
  %828 = getelementptr inbounds i8, ptr %0, i64 144
  %829 = call noundef double @_ZN11alglib_impl7cqmevalEPKNS_20convexquadraticmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %828, ptr noundef nonnull %818, ptr noundef %1)
  store double %829, ptr %43, align 8, !tbaa !71
  %.pr904 = load i64, ptr %762, align 8, !tbaa !89
  br label %830

830:                                              ; preds = %827, %824
  %831 = phi i64 [ %.pr904, %827 ], [ %825, %824 ]
  %832 = icmp eq i64 %831, 1
  br i1 %832, label %833, label %._crit_edge973

._crit_edge973:                                   ; preds = %830
  %.pre = load double, ptr %43, align 8, !tbaa !71
  br label %840

833:                                              ; preds = %830
  %834 = getelementptr inbounds i8, ptr %0, i64 1840
  %835 = getelementptr inbounds i8, ptr %0, i64 2208
  %836 = load i8, ptr %835, align 8, !tbaa !94, !range !81, !noundef !82
  %837 = trunc nuw i8 %836 to i1
  %838 = call noundef double @_ZN11alglib_impl10sparsevsmvEPKNS_12sparsematrixEbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %834, i1 noundef zeroext %837, ptr noundef nonnull %818, ptr noundef %1)
  %839 = fmul double %838, 5.000000e-01
  store double %839, ptr %43, align 8, !tbaa !71
  br label %840

840:                                              ; preds = %._crit_edge973, %833
  %841 = phi double [ %.pre, %._crit_edge973 ], [ %839, %833 ]
  %842 = getelementptr inbounds i8, ptr %0, i64 2240
  %843 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %13, ptr noundef nonnull %842, ptr noundef nonnull %818, ptr noundef %1)
  %844 = fadd double %841, %843
  store double %844, ptr %43, align 8, !tbaa !71
  br label %846

845:                                              ; preds = %.loopexit
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.978, ptr noundef %1)
  br label %846

846:                                              ; preds = %817, %840, %659, %682, %526, %549, %391, %426, %._crit_edge957, %377, %845, %792, %758, %726, %694, %619, %593, %559, %468, %435, %390, %279, %255, %202
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret void
}

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

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

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

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

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

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

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

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

declare noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl10minqpstateE", !7, i64 0, !10, i64 8, !13, i64 80, !11, i64 104, !7, i64 112, !12, i64 120, !12, i64 121, !7, i64 128, !7, i64 136, !14, i64 144, !12, i64 1832, !19, i64 1840, !12, i64 2208, !11, i64 2216, !11, i64 2224, !11, i64 2232, !18, i64 2240, !18, i64 2304, !18, i64 2368, !7, i64 2432, !18, i64 2440, !18, i64 2504, !18, i64 2568, !18, i64 2632, !18, i64 2696, !12, i64 2760, !20, i64 2768, !21, i64 4584, !24, i64 4792, !18, i64 4936, !11, i64 5000, !7, i64 5008, !7, i64 5016, !7, i64 5024, !7, i64 5032, !7, i64 5040, !18, i64 5048, !18, i64 5112, !18, i64 5176, !7, i64 5240, !7, i64 5248, !7, i64 5256, !7, i64 5264, !18, i64 5272, !18, i64 5336, !18, i64 5400, !18, i64 5464, !18, i64 5528, !18, i64 5592, !15, i64 5656, !19, i64 5736, !15, i64 6104, !25, i64 6184, !31, i64 12176, !31, i64 12320, !32, i64 12464, !36, i64 19768, !37, i64 31392, !48, i64 58040, !53, i64 81936, !57, i64 99144, !19, i64 130320, !24, i64 130688}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl11qqpsettingsE", !11, i64 0, !11, i64 8, !11, i64 16, !7, i64 24, !12, i64 32, !12, i64 33, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64}
!11 = !{!"double", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{!"_ZTSN11alglib_impl18qpdenseaulsettingsE", !11, i64 0, !7, i64 8, !11, i64 16}
!14 = !{!"_ZTSN11alglib_impl20convexquadraticmodelE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !15, i64 40, !15, i64 120, !18, i64 200, !18, i64 264, !18, i64 328, !18, i64 392, !18, i64 456, !15, i64 520, !15, i64 600, !18, i64 680, !18, i64 744, !18, i64 808, !11, i64 872, !11, i64 880, !18, i64 888, !18, i64 952, !7, i64 1016, !7, i64 1024, !15, i64 1032, !15, i64 1112, !15, i64 1192, !18, i64 1272, !18, i64 1336, !11, i64 1400, !18, i64 1408, !18, i64 1472, !18, i64 1536, !15, i64 1600, !12, i64 1680, !12, i64 1681, !12, i64 1682, !12, i64 1683}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !16, i64 40, !8, i64 72}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !12, i64 16, !16, i64 24, !8, i64 56}
!19 = !{!"_ZTSN11alglib_impl12sparsematrixE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!20 = !{!"_ZTSN11alglib_impl18xlinearconstraintsE", !7, i64 0, !7, i64 8, !7, i64 16, !15, i64 24, !19, i64 104, !18, i64 472, !18, i64 536, !18, i64 600, !18, i64 664, !7, i64 728, !7, i64 736, !15, i64 744, !18, i64 824, !18, i64 888, !19, i64 952, !18, i64 1320, !18, i64 1384, !19, i64 1448}
!21 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !7, i64 0, !22, i64 8, !18, i64 144}
!22 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !7, i64 0, !7, i64 8, !12, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !23, i64 56, !16, i64 104}
!23 = !{!"_ZTSN11alglib_impl7ae_lockE", !17, i64 0, !16, i64 8, !12, i64 40}
!24 = !{!"_ZTSN11alglib_impl17xconicconstraintsE", !7, i64 0, !22, i64 8}
!25 = !{!"_ZTSN11alglib_impl12presolveinfoE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !18, i64 64, !18, i64 128, !18, i64 192, !12, i64 256, !19, i64 264, !19, i64 632, !21, i64 1000, !24, i64 1208, !7, i64 1352, !18, i64 1360, !18, i64 1424, !18, i64 1488, !18, i64 1552, !19, i64 1616, !19, i64 1984, !18, i64 2352, !18, i64 2416, !21, i64 2480, !24, i64 2688, !18, i64 2832, !18, i64 2896, !18, i64 2960, !18, i64 3024, !18, i64 3088, !18, i64 3152, !18, i64 3216, !18, i64 3280, !26, i64 3344, !18, i64 4240, !18, i64 4304, !18, i64 4368, !18, i64 4432, !18, i64 4496, !18, i64 4560, !18, i64 4624, !27, i64 4688}
!26 = !{!"_ZTSN11alglib_impl14presolverstackE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !18, i64 40, !18, i64 104, !18, i64 168, !18, i64 232, !18, i64 296, !7, i64 360, !7, i64 368, !7, i64 376, !18, i64 384, !18, i64 448, !18, i64 512, !18, i64 576, !18, i64 640, !18, i64 704, !18, i64 768, !18, i64 832}
!27 = !{!"_ZTSN11alglib_impl15presolvebuffersE", !28, i64 0, !28, i64 152, !28, i64 304, !28, i64 456, !18, i64 608, !18, i64 672, !18, i64 736, !18, i64 800, !29, i64 864}
!28 = !{!"_ZTSN11alglib_impl5nisetE", !7, i64 0, !7, i64 8, !18, i64 16, !18, i64 80, !7, i64 144}
!29 = !{!"_ZTSN11alglib_impl21dynamiccrsqconstraintE", !7, i64 0, !18, i64 8, !18, i64 72, !30, i64 136, !11, i64 416, !11, i64 424, !12, i64 432}
!30 = !{!"_ZTSN11alglib_impl10dynamiccrsE", !7, i64 0, !7, i64 8, !7, i64 16, !18, i64 24, !18, i64 88, !18, i64 152, !18, i64 216}
!31 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !16, i64 32, !23, i64 64, !16, i64 112}
!32 = !{!"_ZTSN11alglib_impl10qqpbuffersE", !7, i64 0, !7, i64 8, !15, i64 16, !19, i64 96, !12, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !18, i64 496, !18, i64 560, !18, i64 624, !18, i64 688, !18, i64 752, !18, i64 816, !18, i64 880, !18, i64 944, !18, i64 1008, !18, i64 1072, !18, i64 1136, !18, i64 1200, !18, i64 1264, !33, i64 1328, !18, i64 5672, !7, i64 5736, !7, i64 5744, !15, i64 5752, !19, i64 5832, !18, i64 6200, !18, i64 6264, !18, i64 6328, !18, i64 6392, !18, i64 6456, !18, i64 6520, !18, i64 6584, !18, i64 6648, !18, i64 6712, !35, i64 6776, !7, i64 7272, !7, i64 7280, !7, i64 7288, !7, i64 7296}
!33 = !{!"_ZTSN11alglib_impl10sactivesetE", !7, i64 0, !7, i64 8, !18, i64 16, !12, i64 80, !18, i64 88, !18, i64 152, !18, i64 216, !12, i64 280, !15, i64 288, !15, i64 368, !15, i64 448, !7, i64 528, !18, i64 536, !7, i64 600, !7, i64 608, !12, i64 616, !12, i64 617, !18, i64 624, !18, i64 688, !18, i64 752, !18, i64 816, !15, i64 880, !7, i64 960, !7, i64 968, !18, i64 976, !18, i64 1040, !18, i64 1104, !18, i64 1168, !18, i64 1232, !18, i64 1296, !34, i64 1360, !18, i64 3000, !18, i64 3064, !18, i64 3128, !15, i64 3192, !18, i64 3272, !18, i64 3336, !18, i64 3400, !15, i64 3464, !15, i64 3544, !18, i64 3624, !18, i64 3688, !18, i64 3752, !15, i64 3816, !18, i64 3896, !18, i64 3960, !18, i64 4024, !18, i64 4088, !18, i64 4152, !18, i64 4216, !18, i64 4280}
!34 = !{!"_ZTSN11alglib_impl11snnlssolverE", !7, i64 0, !7, i64 8, !7, i64 16, !15, i64 24, !18, i64 104, !18, i64 168, !11, i64 232, !7, i64 240, !18, i64 248, !18, i64 312, !15, i64 376, !15, i64 456, !15, i64 536, !18, i64 616, !18, i64 680, !18, i64 744, !18, i64 808, !18, i64 872, !18, i64 936, !18, i64 1000, !18, i64 1064, !18, i64 1128, !18, i64 1192, !18, i64 1256, !18, i64 1320, !18, i64 1384, !18, i64 1448, !18, i64 1512, !18, i64 1576}
!35 = !{!"_ZTSN11alglib_impl13sparsebuffersE", !18, i64 0, !18, i64 64, !19, i64 128}
!36 = !{!"_ZTSN11alglib_impl17qpdenseaulbuffersE", !18, i64 0, !15, i64 64, !18, i64 144, !18, i64 208, !18, i64 272, !18, i64 336, !18, i64 400, !18, i64 464, !15, i64 528, !18, i64 608, !18, i64 672, !15, i64 736, !18, i64 816, !18, i64 880, !18, i64 944, !18, i64 1008, !18, i64 1072, !18, i64 1136, !10, i64 1200, !32, i64 1272, !18, i64 8576, !18, i64 8640, !18, i64 8704, !15, i64 8768, !18, i64 8848, !18, i64 8912, !18, i64 8976, !14, i64 9040, !19, i64 10728, !15, i64 11096, !18, i64 11176, !18, i64 11240, !18, i64 11304, !18, i64 11368, !18, i64 11432, !18, i64 11496, !7, i64 11560, !7, i64 11568, !7, i64 11576, !7, i64 11584, !7, i64 11592, !7, i64 11600, !7, i64 11608, !7, i64 11616}
!37 = !{!"_ZTSN11alglib_impl9vipmstateE", !12, i64 0, !12, i64 1, !7, i64 8, !7, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !18, i64 56, !18, i64 120, !18, i64 184, !11, i64 248, !18, i64 256, !15, i64 320, !19, i64 400, !18, i64 768, !7, i64 832, !12, i64 840, !18, i64 848, !18, i64 912, !18, i64 976, !18, i64 1040, !18, i64 1104, !18, i64 1168, !15, i64 1232, !15, i64 1312, !19, i64 1392, !19, i64 1760, !19, i64 2128, !18, i64 2496, !18, i64 2560, !18, i64 2624, !18, i64 2688, !18, i64 2752, !7, i64 2816, !7, i64 2824, !38, i64 2832, !38, i64 3488, !38, i64 4144, !38, i64 4800, !38, i64 5456, !18, i64 6112, !18, i64 6176, !18, i64 6240, !18, i64 6304, !18, i64 6368, !7, i64 6432, !7, i64 6440, !7, i64 6448, !7, i64 6456, !7, i64 6464, !7, i64 6472, !12, i64 6480, !12, i64 6481, !7, i64 6488, !12, i64 6496, !12, i64 6497, !18, i64 6504, !18, i64 6568, !18, i64 6632, !18, i64 6696, !18, i64 6760, !18, i64 6824, !18, i64 6888, !18, i64 6952, !18, i64 7016, !18, i64 7080, !18, i64 7144, !18, i64 7208, !18, i64 7272, !18, i64 7336, !18, i64 7400, !15, i64 7464, !18, i64 7544, !18, i64 7608, !18, i64 7672, !18, i64 7736, !18, i64 7800, !39, i64 7864, !47, i64 23944, !18, i64 24584, !18, i64 24648, !18, i64 24712, !18, i64 24776, !18, i64 24840, !18, i64 24904, !18, i64 24968, !18, i64 25032, !38, i64 25096, !18, i64 25752, !18, i64 25816, !18, i64 25880, !18, i64 25944, !18, i64 26008, !15, i64 26072, !18, i64 26152, !18, i64 26216, !19, i64 26280}
!38 = !{!"_ZTSN11alglib_impl8vipmvarsE", !7, i64 0, !7, i64 8, !18, i64 16, !18, i64 80, !18, i64 144, !18, i64 208, !18, i64 272, !18, i64 336, !18, i64 400, !18, i64 464, !18, i64 528, !18, i64 592}
!39 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !19, i64 0, !18, i64 368, !18, i64 432, !18, i64 496, !18, i64 560, !7, i64 624, !40, i64 632, !18, i64 15696, !18, i64 15760, !18, i64 15824, !18, i64 15888, !18, i64 15952, !18, i64 16016}
!40 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !7, i64 0, !7, i64 8, !7, i64 16, !12, i64 24, !7, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !18, i64 72, !12, i64 136, !12, i64 137, !12, i64 138, !12, i64 139, !12, i64 140, !18, i64 144, !7, i64 208, !18, i64 216, !18, i64 280, !18, i64 344, !18, i64 408, !18, i64 472, !18, i64 536, !12, i64 600, !18, i64 608, !18, i64 672, !18, i64 736, !18, i64 800, !18, i64 864, !18, i64 928, !12, i64 992, !12, i64 993, !41, i64 1000, !18, i64 1512, !18, i64 1576, !18, i64 1640, !18, i64 1704, !18, i64 1768, !18, i64 1832, !31, i64 1896, !31, i64 2040, !31, i64 2184, !31, i64 2328, !31, i64 2472, !31, i64 2616, !18, i64 2760, !18, i64 2824, !18, i64 2888, !18, i64 2952, !18, i64 3016, !42, i64 3080, !46, i64 7464, !18, i64 13816, !18, i64 13880, !18, i64 13944, !18, i64 14008, !18, i64 14072, !18, i64 14136, !19, i64 14200, !19, i64 14568, !18, i64 14936, !18, i64 15000}
!41 = !{!"_ZTSN11alglib_impl9spcholadjE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !18, i64 320, !18, i64 384, !18, i64 448}
!42 = !{!"_ZTSN11alglib_impl9amdbufferE", !7, i64 0, !12, i64 8, !12, i64 9, !18, i64 16, !18, i64 80, !18, i64 144, !43, i64 208, !43, i64 568, !43, i64 928, !44, i64 1288, !45, i64 1496, !28, i64 1968, !18, i64 2120, !18, i64 2184, !18, i64 2248, !28, i64 2312, !28, i64 2464, !28, i64 2616, !28, i64 2768, !28, i64 2920, !28, i64 3072, !18, i64 3224, !7, i64 3288, !28, i64 3296, !28, i64 3448, !43, i64 3600, !28, i64 3960, !18, i64 4112, !18, i64 4176, !18, i64 4240, !15, i64 4304}
!43 = !{!"_ZTSN11alglib_impl8amdknsetE", !7, i64 0, !7, i64 8, !18, i64 16, !18, i64 80, !18, i64 144, !18, i64 208, !18, i64 272, !7, i64 336, !7, i64 344, !7, i64 352}
!44 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !7, i64 0, !18, i64 8, !18, i64 72, !18, i64 136, !7, i64 200}
!45 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !7, i64 0, !12, i64 8, !7, i64 16, !18, i64 24, !18, i64 88, !18, i64 152, !18, i64 216, !18, i64 280, !18, i64 344, !18, i64 408}
!46 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !18, i64 0, !18, i64 64, !42, i64 128, !19, i64 4512, !19, i64 4880, !19, i64 5248, !19, i64 5616, !19, i64 5984}
!47 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !18, i64 320, !18, i64 384, !18, i64 448, !18, i64 512, !18, i64 576}
!48 = !{!"_ZTSN11alglib_impl9ipm2stateE", !7, i64 0, !7, i64 8, !7, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !7, i64 48, !12, i64 56, !18, i64 64, !18, i64 128, !18, i64 192, !11, i64 256, !18, i64 264, !19, i64 328, !18, i64 696, !12, i64 760, !11, i64 768, !18, i64 776, !18, i64 840, !18, i64 904, !18, i64 968, !18, i64 1032, !18, i64 1096, !18, i64 1160, !18, i64 1224, !18, i64 1288, !18, i64 1352, !18, i64 1416, !18, i64 1480, !18, i64 1544, !18, i64 1608, !18, i64 1672, !19, i64 1736, !18, i64 2104, !7, i64 2168, !49, i64 2176, !49, i64 2576, !49, i64 2976, !49, i64 3376, !18, i64 3776, !18, i64 3840, !18, i64 3904, !18, i64 3968, !7, i64 4032, !7, i64 4040, !18, i64 4048, !18, i64 4112, !18, i64 4176, !50, i64 4240, !7, i64 4624, !7, i64 4632, !12, i64 4640, !12, i64 4641, !12, i64 4642, !51, i64 4648, !51, i64 4672, !51, i64 4696, !51, i64 4720, !51, i64 4744, !52, i64 4768, !50, i64 21736, !18, i64 22120, !18, i64 22184, !18, i64 22248, !18, i64 22312, !18, i64 22376, !15, i64 22440, !19, i64 22520, !18, i64 22888, !18, i64 22952, !19, i64 23016, !19, i64 23384, !15, i64 23752, !18, i64 23832}
!49 = !{!"_ZTSN11alglib_impl8ipm2varsE", !7, i64 0, !7, i64 8, !18, i64 16, !18, i64 80, !18, i64 144, !18, i64 208, !18, i64 272, !18, i64 336}
!50 = !{!"_ZTSN11alglib_impl17ipm2righthandsideE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !18, i64 320}
!51 = !{!"_ZTSN11alglib_impl6stimerE", !7, i64 0, !7, i64 8, !12, i64 16}
!52 = !{!"_ZTSN11alglib_impl17ipm2reducedsystemE", !19, i64 0, !18, i64 368, !40, i64 432, !18, i64 15496, !18, i64 15560, !18, i64 15624, !18, i64 15688, !18, i64 15752, !18, i64 15816, !18, i64 15880, !18, i64 15944, !18, i64 16008, !18, i64 16072, !18, i64 16136, !18, i64 16200, !18, i64 16264, !18, i64 16328, !18, i64 16392, !18, i64 16456, !18, i64 16520, !18, i64 16584, !18, i64 16648, !18, i64 16712, !18, i64 16776, !18, i64 16840, !18, i64 16904}
!53 = !{!"_ZTSN11alglib_impl9ecqpstateE", !19, i64 0, !18, i64 368, !40, i64 432, !18, i64 15496, !18, i64 15560, !18, i64 15624, !18, i64 15688, !18, i64 15752, !54, i64 15816, !7, i64 17064, !7, i64 17072, !12, i64 17080, !12, i64 17081, !51, i64 17088, !51, i64 17112, !51, i64 17136, !51, i64 17160, !51, i64 17184}
!54 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !15, i64 256, !15, i64 336, !15, i64 416, !15, i64 496, !15, i64 576, !18, i64 656, !18, i64 720, !18, i64 784, !18, i64 848, !7, i64 912, !7, i64 920, !11, i64 928, !11, i64 936, !11, i64 944, !11, i64 952, !7, i64 960, !7, i64 968, !11, i64 976, !55, i64 984}
!55 = !{!"_ZTSN11alglib_impl10rcommstateE", !56, i64 0, !18, i64 8, !18, i64 72, !18, i64 136, !18, i64 200}
!56 = !{!"int", !8, i64 0}
!57 = !{!"_ZTSN11alglib_impl11gqpipmstateE", !12, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !18, i64 40, !7, i64 104, !11, i64 112, !7, i64 120, !18, i64 128, !18, i64 192, !18, i64 256, !18, i64 320, !18, i64 384, !18, i64 448, !7, i64 512, !18, i64 520, !18, i64 584, !15, i64 648, !19, i64 728, !19, i64 1096, !18, i64 1464, !18, i64 1528, !21, i64 1592, !24, i64 1800, !11, i64 1944, !7, i64 1952, !7, i64 1960, !7, i64 1968, !12, i64 1976, !12, i64 1977, !51, i64 1984, !58, i64 2008, !15, i64 12320, !15, i64 12400, !18, i64 12480, !18, i64 12544, !15, i64 12608, !15, i64 12688, !18, i64 12768, !18, i64 12832, !19, i64 12896, !19, i64 13264, !19, i64 13632, !19, i64 14000, !18, i64 14368, !40, i64 14432, !31, i64 29496, !18, i64 29640, !18, i64 29704, !19, i64 29768, !18, i64 30136, !18, i64 30200, !18, i64 30264, !18, i64 30328, !18, i64 30392, !18, i64 30456, !15, i64 30520, !18, i64 30600, !18, i64 30664, !18, i64 30728, !18, i64 30792, !18, i64 30856, !18, i64 30920, !18, i64 30984, !18, i64 31048, !18, i64 31112}
!58 = !{!"_ZTSN11alglib_impl9gipmstateE", !7, i64 0, !7, i64 8, !7, i64 16, !18, i64 24, !18, i64 88, !18, i64 152, !18, i64 216, !18, i64 280, !18, i64 344, !18, i64 408, !11, i64 472, !7, i64 480, !7, i64 488, !18, i64 496, !11, i64 560, !18, i64 568, !18, i64 632, !19, i64 696, !18, i64 1064, !18, i64 1128, !12, i64 1192, !12, i64 1193, !12, i64 1194, !18, i64 1200, !18, i64 1264, !18, i64 1328, !18, i64 1392, !18, i64 1456, !18, i64 1520, !18, i64 1584, !18, i64 1648, !11, i64 1712, !11, i64 1720, !11, i64 1728, !11, i64 1736, !11, i64 1744, !7, i64 1752, !59, i64 1760, !59, i64 2560, !60, i64 3360, !60, i64 3960, !11, i64 4560, !7, i64 4568, !61, i64 4576, !12, i64 4744, !12, i64 4745, !12, i64 4746, !7, i64 4752, !7, i64 4760, !51, i64 4768, !31, i64 4792, !62, i64 4936, !63, i64 5704, !59, i64 6856, !59, i64 7656, !18, i64 8456, !18, i64 8520, !18, i64 8584, !59, i64 8648, !60, i64 9448, !55, i64 10048}
!59 = !{!"_ZTSN11alglib_impl8gipmvarsE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !18, i64 32, !18, i64 96, !18, i64 160, !18, i64 224, !18, i64 288, !18, i64 352, !18, i64 416, !18, i64 480, !18, i64 544, !18, i64 608, !18, i64 672, !18, i64 736}
!60 = !{!"_ZTSN11alglib_impl11varsfuncjacE", !7, i64 0, !7, i64 8, !12, i64 16, !18, i64 24, !18, i64 88, !15, i64 152, !19, i64 232}
!61 = !{!"_ZTSN11alglib_impl9nlpfilterE", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !18, i64 40, !18, i64 104}
!62 = !{!"_ZTSN11alglib_impl7gipmrhsE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !18, i64 320, !18, i64 384, !18, i64 448, !18, i64 512, !18, i64 576, !18, i64 640, !18, i64 704}
!63 = !{!"_ZTSN11alglib_impl19gipmcondensedsystemE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !18, i64 320, !18, i64 384, !18, i64 448, !18, i64 512, !18, i64 576, !18, i64 640, !18, i64 704, !18, i64 768, !18, i64 832, !18, i64 896, !18, i64 960, !18, i64 1024, !18, i64 1088}
!64 = !{!6, !7, i64 2776}
!65 = !{!6, !7, i64 2784}
!66 = !{!6, !7, i64 5040}
!67 = !{!6, !7, i64 5240}
!68 = !{!6, !7, i64 5248}
!69 = !{!6, !7, i64 5256}
!70 = !{!6, !7, i64 5264}
!71 = !{!6, !11, i64 5000}
!72 = !{!8, !8, i64 0}
!73 = !{!11, !11, i64 0}
!74 = distinct !{!74, !75}
!75 = !{!"llvm.loop.unroll.disable"}
!76 = distinct !{!76, !77}
!77 = !{!"llvm.loop.mustprogress"}
!78 = distinct !{!78, !77}
!79 = distinct !{!79, !75}
!80 = !{!6, !12, i64 2760}
!81 = !{i8 0, i8 2}
!82 = !{}
!83 = !{!12, !12, i64 0}
!84 = distinct !{!84, !77}
!85 = distinct !{!85, !77}
!86 = distinct !{!86, !77}
!87 = !{!6, !7, i64 2432}
!88 = distinct !{!88, !77}
!89 = !{!6, !7, i64 136}
!90 = distinct !{!90, !77}
!91 = distinct !{!91, !77}
!92 = distinct !{!92, !75}
!93 = !{!6, !7, i64 128}
!94 = !{!6, !12, i64 2208}
!95 = !{!6, !7, i64 3496}
!96 = !{!6, !7, i64 3504}
!97 = !{!6, !12, i64 120}
!98 = !{!7, !7, i64 0}
!99 = distinct !{!99, !77}
!100 = !{!6, !7, i64 31344}
!101 = !{!6, !7, i64 5024}
!102 = !{!6, !7, i64 19752}
!103 = !{!6, !12, i64 121}
!104 = !{!6, !7, i64 7536}
!105 = !{!6, !7, i64 6184}
!106 = !{!6, !7, i64 6216}
!107 = !{!6, !11, i64 104}
!108 = !{!6, !7, i64 5008}
!109 = !{!6, !7, i64 62664}
!110 = !{!6, !7, i64 5016}
!111 = !{!6, !7, i64 6232}
!112 = !{!6, !7, i64 112}
!113 = !{!6, !7, i64 101104}
!114 = distinct !{!114, !77}
!115 = distinct !{!115, !77}
!116 = !{!6, !7, i64 99000}


; Effective O3 passes: ADCEPass,BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,MergedLoadStoreMotionPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass