; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z10bleictestsPN11alglib_impl8ae_stateE)

; 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::minqpstate" = type { i64, %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qpbleicsettings", %"struct.alglib_impl::qpdenseaulsettings", i8, i64, i64, %"struct.alglib_impl::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_matrix", i64, i64, %"struct.alglib_impl::sparsematrix", i64, i64, %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::qpbleicbuffers", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::qpdenseaulbuffers" }
%"struct.alglib_impl::qqpsettings" = type { double, double, double, i64, i8, i8, i64, i64, i64, i64 }
%"struct.alglib_impl::qpbleicsettings" = type { double, double, double, i64 }
%"struct.alglib_impl::qpdenseaulsettings" = type { double, i64, double }
%"struct.alglib_impl::convexquadraticmodel" = type { i64, i64, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i8, i8, i8, i8 }
%"struct.alglib_impl::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::qpbleicbuffers" = type { %"struct.alglib_impl::minbleicstate", %"struct.alglib_impl::minbleicreport", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64 }
%"struct.alglib_impl::minbleicstate" = type { i64, i64, double, double, double, i64, i8, i8, double, double, %"struct.alglib_impl::sactiveset", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, i8, i8, i8, %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, i64, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, double, double, double, double, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::snnlssolver", double, double, double, double, double, double, double, double, double, i64, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::linminstate", double, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, i64, %"struct.alglib_impl::smoothnessmonitor", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sactiveset" = type { i64, i64, %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::ae_vector", i64, i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::snnlssolver", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::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::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::linminstate" = type { i8, i8, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"struct.alglib_impl::smoothnessmonitor" = type { i64, i64, i8, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i8, double, double, i8, %"struct.alglib_impl::optguardreport", double, double, %"struct.alglib_impl::optguardnonc1test0report", %"struct.alglib_impl::optguardnonc1test0report", double, double, %"struct.alglib_impl::optguardnonc1test1report", %"struct.alglib_impl::optguardnonc1test1report", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardreport" = type { i8, i8, i64, double, i8, i8, i8, i64, double, i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardnonc1test0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test1report" = type { i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::minbleicreport" = type { i64, i64, i64, i64, double, double, double, double, i64, i64, i64, i64 }
%"struct.alglib_impl::qqpbuffers" = type { i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sactiveset", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsebuffers", i64, i64, i64, i64 }
%"struct.alglib_impl::sparsebuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::qpdenseaulbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::minqpreport" = type { i64, i64, i64, i64, i64 }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }
%"struct.alglib_impl::ae_state" = type { i64, double, double, double, ptr, %"struct.alglib_impl::ae_dyn_block", ptr, i32, ptr, i64, ptr, ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.424 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.425 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.426 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.427 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.428 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.429 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.430 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.431 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.432 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.433 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.434 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.435 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.436 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.437 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.438 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.439 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.440 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.441 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.442 = external hidden unnamed_addr constant [22 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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef, ptr noundef) #1

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #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_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #1

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #1

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

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

declare noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10bleictestsPN11alglib_impl8ae_stateE(ptr noundef %0) #4 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.alglib_impl::ae_frame", align 8
  %5 = alloca %"struct.alglib_impl::minqpstate", align 8
  %6 = alloca %"struct.alglib_impl::minqpreport", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %10 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %11 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"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::sparsematrix", align 8
  %20 = alloca i64, align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::hqrndstate", align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca %"struct.alglib_impl::ae_vector", align 8
  %28 = alloca %"struct.alglib_impl::ae_vector", align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca i64, align 8
  %34 = alloca i8, align 1
  %35 = alloca i8, align 1
  %36 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 35232, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 64, 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 368, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %37, ptr noundef %4)
  call void @llvm.memset.p0.i64(ptr align 8 %5, i8 0, i64 35232, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 40, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 64, i1 false)
  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 368, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 64, i1 false)
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_minqpstate_initEPvPNS_8ae_stateEb(ptr noundef %5, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17_minqpreport_initEPvPNS_8ae_stateEb(ptr noundef %6, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %7, i64 noundef 0, i64 noundef 2, ptr noundef %40, i1 noundef zeroext true)
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %9, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %41, i1 noundef zeroext true)
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %10, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %42, i1 noundef zeroext true)
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %11, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %43, i1 noundef zeroext true)
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %12, i64 noundef 0, i64 noundef 3, ptr noundef %44, i1 noundef zeroext true)
  %45 = load ptr, ptr %3, 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 %45, i1 noundef zeroext true)
  %46 = load ptr, ptr %3, 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 %46, i1 noundef zeroext true)
  %47 = load ptr, ptr %3, 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 %47, i1 noundef zeroext true)
  %48 = load ptr, ptr %3, 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 %48, i1 noundef zeroext true)
  %49 = load ptr, ptr %3, 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 %49, i1 noundef zeroext true)
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %18, i64 noundef 0, i64 noundef 2, ptr noundef %50, i1 noundef zeroext true)
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %19, ptr noundef %51, i1 noundef zeroext true)
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %21, i64 noundef 0, i64 noundef 3, ptr noundef %52, i1 noundef zeroext true)
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %22, i64 noundef 0, i64 noundef 3, ptr noundef %53, i1 noundef zeroext true)
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef %23, ptr noundef %54, i1 noundef zeroext true)
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %27, i64 noundef 0, i64 noundef 3, ptr noundef %55, i1 noundef zeroext true)
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %28, i64 noundef 0, i64 noundef 3, ptr noundef %56, i1 noundef zeroext true)
  store i8 0, ptr %35, align 1, !tbaa !9
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %23, ptr noundef %57)
  store double 1.000000e-03, ptr %29, align 8, !tbaa !11
  store i64 5, ptr %33, align 8, !tbaa !13
  store i64 20, ptr %20, align 8, !tbaa !13
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %58)
  %60 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %59, double noundef 5.000000e-01)
  %61 = zext i1 %60 to i8
  store i8 %61, ptr %34, align 1, !tbaa !9
  %62 = load i64, ptr %20, align 8, !tbaa !13
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl16spdmatrixrndcondEldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %62, double noundef 1.000000e+03, ptr noundef %10, ptr noundef %63)
  %64 = load i64, ptr %20, align 8, !tbaa !13
  %65 = load i64, ptr %20, align 8, !tbaa !13
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %64, i64 noundef %65, i64 noundef 0, ptr noundef %19, ptr noundef %66)
  %67 = load i64, ptr %20, align 8, !tbaa !13
  %68 = load i64, ptr %20, align 8, !tbaa !13
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %9, i64 noundef %67, i64 noundef %68, ptr noundef %69)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %70

70:                                               ; preds = %154, %1
  %71 = load i64, ptr %24, align 8, !tbaa !13
  %72 = load i64, ptr %20, align 8, !tbaa !13
  %73 = sub nsw i64 %72, 1
  %74 = icmp sle i64 %71, %73
  br i1 %74, label %75, label %157

75:                                               ; preds = %70
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %76

76:                                               ; preds = %150, %75
  %77 = load i64, ptr %25, align 8, !tbaa !13
  %78 = load i64, ptr %20, align 8, !tbaa !13
  %79 = sub nsw i64 %78, 1
  %80 = icmp sle i64 %77, %79
  br i1 %80, label %81, label %153

81:                                               ; preds = %76
  %82 = load i64, ptr %25, align 8, !tbaa !13
  %83 = load i64, ptr %24, align 8, !tbaa !13
  %84 = icmp sge i64 %82, %83
  br i1 %84, label %85, label %115

85:                                               ; preds = %81
  %86 = load i8, ptr %34, align 1, !tbaa !9, !range !15, !noundef !16
  %87 = trunc i8 %86 to i1
  br i1 %87, label %88, label %115

88:                                               ; preds = %85
  %89 = load i64, ptr %24, align 8, !tbaa !13
  %90 = load i64, ptr %25, align 8, !tbaa !13
  %91 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %92 = load ptr, ptr %91, align 8, !tbaa !17
  %93 = load i64, ptr %24, align 8, !tbaa !13
  %94 = getelementptr inbounds ptr, ptr %92, i64 %93
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = load i64, ptr %25, align 8, !tbaa !13
  %97 = getelementptr inbounds double, ptr %95, i64 %96
  %98 = load double, ptr %97, align 8, !tbaa !11
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %19, i64 noundef %89, i64 noundef %90, double noundef %98, ptr noundef %99)
  %100 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %101 = load ptr, ptr %100, align 8, !tbaa !17
  %102 = load i64, ptr %24, align 8, !tbaa !13
  %103 = getelementptr inbounds ptr, ptr %101, i64 %102
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = load i64, ptr %25, align 8, !tbaa !13
  %106 = getelementptr inbounds double, ptr %104, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !11
  %108 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %109 = load ptr, ptr %108, align 8, !tbaa !17
  %110 = load i64, ptr %24, align 8, !tbaa !13
  %111 = getelementptr inbounds ptr, ptr %109, i64 %110
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = load i64, ptr %25, align 8, !tbaa !13
  %114 = getelementptr inbounds double, ptr %112, i64 %113
  store double %107, ptr %114, align 8, !tbaa !11
  br label %115

115:                                              ; preds = %88, %85, %81
  %116 = load i64, ptr %25, align 8, !tbaa !13
  %117 = load i64, ptr %24, align 8, !tbaa !13
  %118 = icmp sle i64 %116, %117
  br i1 %118, label %119, label %149

119:                                              ; preds = %115
  %120 = load i8, ptr %34, align 1, !tbaa !9, !range !15, !noundef !16
  %121 = trunc i8 %120 to i1
  br i1 %121, label %149, label %122

122:                                              ; preds = %119
  %123 = load i64, ptr %24, align 8, !tbaa !13
  %124 = load i64, ptr %25, align 8, !tbaa !13
  %125 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %126 = load ptr, ptr %125, align 8, !tbaa !17
  %127 = load i64, ptr %24, align 8, !tbaa !13
  %128 = getelementptr inbounds ptr, ptr %126, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = load i64, ptr %25, align 8, !tbaa !13
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !11
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %19, i64 noundef %123, i64 noundef %124, double noundef %132, ptr noundef %133)
  %134 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %135 = load ptr, ptr %134, align 8, !tbaa !17
  %136 = load i64, ptr %24, align 8, !tbaa !13
  %137 = getelementptr inbounds ptr, ptr %135, i64 %136
  %138 = load ptr, ptr %137, align 8, !tbaa !5
  %139 = load i64, ptr %25, align 8, !tbaa !13
  %140 = getelementptr inbounds double, ptr %138, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !11
  %142 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %143 = load ptr, ptr %142, align 8, !tbaa !17
  %144 = load i64, ptr %24, align 8, !tbaa !13
  %145 = getelementptr inbounds ptr, ptr %143, i64 %144
  %146 = load ptr, ptr %145, align 8, !tbaa !5
  %147 = load i64, ptr %25, align 8, !tbaa !13
  %148 = getelementptr inbounds double, ptr %146, i64 %147
  store double %141, ptr %148, align 8, !tbaa !11
  br label %149

149:                                              ; preds = %122, %119, %115
  br label %150

150:                                              ; preds = %149
  %151 = load i64, ptr %25, align 8, !tbaa !13
  %152 = add nsw i64 %151, 1
  store i64 %152, ptr %25, align 8, !tbaa !13
  br label %76, !llvm.loop !18

153:                                              ; preds = %76
  br label %154

154:                                              ; preds = %153
  %155 = load i64, ptr %24, align 8, !tbaa !13
  %156 = add nsw i64 %155, 1
  store i64 %156, ptr %24, align 8, !tbaa !13
  br label %70, !llvm.loop !20

157:                                              ; preds = %70
  %158 = load i64, ptr %20, align 8, !tbaa !13
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %158, ptr noundef %159)
  %160 = load i64, ptr %20, align 8, !tbaa !13
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef %160, ptr noundef %161)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %162

162:                                              ; preds = %183, %157
  %163 = load i64, ptr %24, align 8, !tbaa !13
  %164 = load i64, ptr %20, align 8, !tbaa !13
  %165 = sub nsw i64 %164, 1
  %166 = icmp sle i64 %163, %165
  br i1 %166, label %167, label %186

167:                                              ; preds = %162
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %168)
  %170 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %171 = load ptr, ptr %170, align 8, !tbaa !17
  %172 = load i64, ptr %24, align 8, !tbaa !13
  %173 = getelementptr inbounds double, ptr %171, i64 %172
  store double %169, ptr %173, align 8, !tbaa !11
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %174)
  %176 = fdiv double %175, 1.000000e+01
  %177 = load ptr, ptr %3, align 8, !tbaa !5
  %178 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %176, ptr noundef %177)
  %179 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %180 = load ptr, ptr %179, align 8, !tbaa !17
  %181 = load i64, ptr %24, align 8, !tbaa !13
  %182 = getelementptr inbounds double, ptr %180, i64 %181
  store double %178, ptr %182, align 8, !tbaa !11
  br label %183

183:                                              ; preds = %167
  %184 = load i64, ptr %24, align 8, !tbaa !13
  %185 = add nsw i64 %184, 1
  store i64 %185, ptr %24, align 8, !tbaa !13
  br label %162, !llvm.loop !21

186:                                              ; preds = %162
  %187 = load i64, ptr %20, align 8, !tbaa !13
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %187, ptr noundef %5, ptr noundef %188)
  %189 = load i64, ptr %33, align 8, !tbaa !13
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %189, ptr noundef %190)
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %191)
  %192 = load i8, ptr %34, align 1, !tbaa !9, !range !15, !noundef !16
  %193 = trunc i8 %192 to i1
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %9, i1 noundef zeroext %193, ptr noundef %194)
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %195)
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %196)
  %197 = load i64, ptr %20, align 8, !tbaa !13
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %197, ptr noundef %5, ptr noundef %198)
  %199 = load i64, ptr %33, align 8, !tbaa !13
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %199, ptr noundef %200)
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %201)
  %202 = load i8, ptr %34, align 1, !tbaa !9, !range !15, !noundef !16
  %203 = trunc i8 %202 to i1
  %204 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %19, i1 noundef zeroext %203, ptr noundef %204)
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %205)
  %206 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %28, ptr noundef %6, ptr noundef %206)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %207

207:                                              ; preds = %228, %186
  %208 = load i64, ptr %24, align 8, !tbaa !13
  %209 = load i64, ptr %20, align 8, !tbaa !13
  %210 = sub nsw i64 %209, 1
  %211 = icmp sle i64 %208, %210
  br i1 %211, label %212, label %231

212:                                              ; preds = %207
  %213 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %214 = load ptr, ptr %213, align 8, !tbaa !17
  %215 = load i64, ptr %24, align 8, !tbaa !13
  %216 = getelementptr inbounds double, ptr %214, i64 %215
  %217 = load double, ptr %216, align 8, !tbaa !11
  %218 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %219 = load ptr, ptr %218, align 8, !tbaa !17
  %220 = load i64, ptr %24, align 8, !tbaa !13
  %221 = getelementptr inbounds double, ptr %219, i64 %220
  %222 = load double, ptr %221, align 8, !tbaa !11
  %223 = fsub double %217, %222
  %224 = load ptr, ptr %3, align 8, !tbaa !5
  %225 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %223, ptr noundef %224)
  %226 = load double, ptr %29, align 8, !tbaa !11
  %227 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %225, double noundef %226)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %227, ptr noundef @.str.8, i32 noundef 42211, ptr noundef @.str.424)
  br label %228

228:                                              ; preds = %212
  %229 = load i64, ptr %24, align 8, !tbaa !13
  %230 = add nsw i64 %229, 1
  store i64 %230, ptr %24, align 8, !tbaa !13
  br label %207, !llvm.loop !22

231:                                              ; preds = %207
  store double 1.000000e-03, ptr %29, align 8, !tbaa !11
  store i64 5, ptr %33, align 8, !tbaa !13
  store i64 20, ptr %20, align 8, !tbaa !13
  %232 = load i64, ptr %20, align 8, !tbaa !13
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef %232, ptr noundef %233)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %234

234:                                              ; preds = %249, %231
  %235 = load i64, ptr %24, align 8, !tbaa !13
  %236 = load i64, ptr %20, align 8, !tbaa !13
  %237 = sub nsw i64 %236, 1
  %238 = icmp sle i64 %235, %237
  br i1 %238, label %239, label %252

239:                                              ; preds = %234
  %240 = load ptr, ptr %3, align 8, !tbaa !5
  %241 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %240)
  %242 = fdiv double %241, 1.000000e+01
  %243 = load ptr, ptr %3, align 8, !tbaa !5
  %244 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %242, ptr noundef %243)
  %245 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %246 = load ptr, ptr %245, align 8, !tbaa !17
  %247 = load i64, ptr %24, align 8, !tbaa !13
  %248 = getelementptr inbounds double, ptr %246, i64 %247
  store double %244, ptr %248, align 8, !tbaa !11
  br label %249

249:                                              ; preds = %239
  %250 = load i64, ptr %24, align 8, !tbaa !13
  %251 = add nsw i64 %250, 1
  store i64 %251, ptr %24, align 8, !tbaa !13
  br label %234, !llvm.loop !23

252:                                              ; preds = %234
  %253 = load i64, ptr %20, align 8, !tbaa !13
  %254 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl16spdmatrixrndcondEldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %253, double noundef 1.000000e+03, ptr noundef %9, ptr noundef %254)
  %255 = load i64, ptr %20, align 8, !tbaa !13
  %256 = load i64, ptr %20, align 8, !tbaa !13
  %257 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %10, i64 noundef %255, i64 noundef %256, ptr noundef %257)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %258

258:                                              ; preds = %301, %252
  %259 = load i64, ptr %24, align 8, !tbaa !13
  %260 = load i64, ptr %20, align 8, !tbaa !13
  %261 = sub nsw i64 %260, 1
  %262 = icmp sle i64 %259, %261
  br i1 %262, label %263, label %304

263:                                              ; preds = %258
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %264

264:                                              ; preds = %297, %263
  %265 = load i64, ptr %25, align 8, !tbaa !13
  %266 = load i64, ptr %20, align 8, !tbaa !13
  %267 = sub nsw i64 %266, 1
  %268 = icmp sle i64 %265, %267
  br i1 %268, label %269, label %300

269:                                              ; preds = %264
  %270 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %271 = load ptr, ptr %270, align 8, !tbaa !17
  %272 = load i64, ptr %24, align 8, !tbaa !13
  %273 = getelementptr inbounds ptr, ptr %271, i64 %272
  %274 = load ptr, ptr %273, align 8, !tbaa !5
  %275 = load i64, ptr %25, align 8, !tbaa !13
  %276 = getelementptr inbounds double, ptr %274, i64 %275
  %277 = load double, ptr %276, align 8, !tbaa !11
  %278 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %279 = load ptr, ptr %278, align 8, !tbaa !17
  %280 = load i64, ptr %24, align 8, !tbaa !13
  %281 = getelementptr inbounds double, ptr %279, i64 %280
  %282 = load double, ptr %281, align 8, !tbaa !11
  %283 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %284 = load ptr, ptr %283, align 8, !tbaa !17
  %285 = load i64, ptr %25, align 8, !tbaa !13
  %286 = getelementptr inbounds double, ptr %284, i64 %285
  %287 = load double, ptr %286, align 8, !tbaa !11
  %288 = fmul double %282, %287
  %289 = fdiv double %277, %288
  %290 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %291 = load ptr, ptr %290, align 8, !tbaa !17
  %292 = load i64, ptr %24, align 8, !tbaa !13
  %293 = getelementptr inbounds ptr, ptr %291, i64 %292
  %294 = load ptr, ptr %293, align 8, !tbaa !5
  %295 = load i64, ptr %25, align 8, !tbaa !13
  %296 = getelementptr inbounds double, ptr %294, i64 %295
  store double %289, ptr %296, align 8, !tbaa !11
  br label %297

297:                                              ; preds = %269
  %298 = load i64, ptr %25, align 8, !tbaa !13
  %299 = add nsw i64 %298, 1
  store i64 %299, ptr %25, align 8, !tbaa !13
  br label %264, !llvm.loop !24

300:                                              ; preds = %264
  br label %301

301:                                              ; preds = %300
  %302 = load i64, ptr %24, align 8, !tbaa !13
  %303 = add nsw i64 %302, 1
  store i64 %303, ptr %24, align 8, !tbaa !13
  br label %258, !llvm.loop !25

304:                                              ; preds = %258
  %305 = load i64, ptr %20, align 8, !tbaa !13
  %306 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %305, ptr noundef %306)
  %307 = load i64, ptr %20, align 8, !tbaa !13
  %308 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %13, i64 noundef %307, ptr noundef %308)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %309

309:                                              ; preds = %336, %304
  %310 = load i64, ptr %24, align 8, !tbaa !13
  %311 = load i64, ptr %20, align 8, !tbaa !13
  %312 = sub nsw i64 %311, 1
  %313 = icmp sle i64 %310, %312
  br i1 %313, label %314, label %339

314:                                              ; preds = %309
  %315 = load ptr, ptr %3, align 8, !tbaa !5
  %316 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %315)
  %317 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %318 = load ptr, ptr %317, align 8, !tbaa !17
  %319 = load i64, ptr %24, align 8, !tbaa !13
  %320 = getelementptr inbounds double, ptr %318, i64 %319
  store double %316, ptr %320, align 8, !tbaa !11
  %321 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %322 = load ptr, ptr %321, align 8, !tbaa !17
  %323 = load i64, ptr %24, align 8, !tbaa !13
  %324 = getelementptr inbounds double, ptr %322, i64 %323
  %325 = load double, ptr %324, align 8, !tbaa !11
  %326 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %327 = load ptr, ptr %326, align 8, !tbaa !17
  %328 = load i64, ptr %24, align 8, !tbaa !13
  %329 = getelementptr inbounds double, ptr %327, i64 %328
  %330 = load double, ptr %329, align 8, !tbaa !11
  %331 = fdiv double %325, %330
  %332 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %333 = load ptr, ptr %332, align 8, !tbaa !17
  %334 = load i64, ptr %24, align 8, !tbaa !13
  %335 = getelementptr inbounds double, ptr %333, i64 %334
  store double %331, ptr %335, align 8, !tbaa !11
  br label %336

336:                                              ; preds = %314
  %337 = load i64, ptr %24, align 8, !tbaa !13
  %338 = add nsw i64 %337, 1
  store i64 %338, ptr %24, align 8, !tbaa !13
  br label %309, !llvm.loop !26

339:                                              ; preds = %309
  %340 = load i64, ptr %20, align 8, !tbaa !13
  %341 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %340, ptr noundef %5, ptr noundef %341)
  %342 = load i64, ptr %33, align 8, !tbaa !13
  %343 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %342, ptr noundef %343)
  %344 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %344)
  %345 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %9, i1 noundef zeroext true, ptr noundef %345)
  %346 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %346)
  %347 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %347)
  %348 = load i64, ptr %20, align 8, !tbaa !13
  %349 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %348, ptr noundef %5, ptr noundef %349)
  %350 = load i64, ptr %33, align 8, !tbaa !13
  %351 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %350, ptr noundef %351)
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %13, ptr noundef %352)
  %353 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %10, i1 noundef zeroext true, ptr noundef %353)
  %354 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpsetscaleEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %16, ptr noundef %354)
  %355 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %355)
  %356 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %28, ptr noundef %6, ptr noundef %356)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %357

357:                                              ; preds = %384, %339
  %358 = load i64, ptr %24, align 8, !tbaa !13
  %359 = load i64, ptr %20, align 8, !tbaa !13
  %360 = sub nsw i64 %359, 1
  %361 = icmp sle i64 %358, %360
  br i1 %361, label %362, label %387

362:                                              ; preds = %357
  %363 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %364 = load ptr, ptr %363, align 8, !tbaa !17
  %365 = load i64, ptr %24, align 8, !tbaa !13
  %366 = getelementptr inbounds double, ptr %364, i64 %365
  %367 = load double, ptr %366, align 8, !tbaa !11
  %368 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %369 = load ptr, ptr %368, align 8, !tbaa !17
  %370 = load i64, ptr %24, align 8, !tbaa !13
  %371 = getelementptr inbounds double, ptr %369, i64 %370
  %372 = load double, ptr %371, align 8, !tbaa !11
  %373 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %374 = load ptr, ptr %373, align 8, !tbaa !17
  %375 = load i64, ptr %24, align 8, !tbaa !13
  %376 = getelementptr inbounds double, ptr %374, i64 %375
  %377 = load double, ptr %376, align 8, !tbaa !11
  %378 = fneg double %377
  %379 = call double @llvm.fmuladd.f64(double %367, double %372, double %378)
  %380 = load ptr, ptr %3, align 8, !tbaa !5
  %381 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %379, ptr noundef %380)
  %382 = load double, ptr %29, align 8, !tbaa !11
  %383 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %381, double noundef %382)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %383, ptr noundef @.str.8, i32 noundef 42271, ptr noundef @.str.425)
  br label %384

384:                                              ; preds = %362
  %385 = load i64, ptr %24, align 8, !tbaa !13
  %386 = add nsw i64 %385, 1
  store i64 %386, ptr %24, align 8, !tbaa !13
  br label %357, !llvm.loop !27

387:                                              ; preds = %357
  store i64 20000, ptr %20, align 8, !tbaa !13
  %388 = load i64, ptr %20, align 8, !tbaa !13
  %389 = load i64, ptr %20, align 8, !tbaa !13
  %390 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %388, i64 noundef %389, i64 noundef 0, ptr noundef %19, ptr noundef %390)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %391

391:                                              ; preds = %405, %387
  %392 = load i64, ptr %24, align 8, !tbaa !13
  %393 = load i64, ptr %20, align 8, !tbaa !13
  %394 = sub nsw i64 %393, 1
  %395 = icmp sle i64 %392, %394
  br i1 %395, label %396, label %408

396:                                              ; preds = %391
  %397 = load i64, ptr %24, align 8, !tbaa !13
  %398 = load i64, ptr %24, align 8, !tbaa !13
  %399 = load ptr, ptr %3, align 8, !tbaa !5
  %400 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %399)
  %401 = fmul double -3.000000e+00, %400
  %402 = load ptr, ptr %3, align 8, !tbaa !5
  %403 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %401, ptr noundef %402)
  %404 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %19, i64 noundef %397, i64 noundef %398, double noundef %403, ptr noundef %404)
  br label %405

405:                                              ; preds = %396
  %406 = load i64, ptr %24, align 8, !tbaa !13
  %407 = add nsw i64 %406, 1
  store i64 %407, ptr %24, align 8, !tbaa !13
  br label %391, !llvm.loop !28

408:                                              ; preds = %391
  %409 = load i64, ptr %20, align 8, !tbaa !13
  %410 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %409, ptr noundef %410)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %411

411:                                              ; preds = %423, %408
  %412 = load i64, ptr %24, align 8, !tbaa !13
  %413 = load i64, ptr %20, align 8, !tbaa !13
  %414 = sub nsw i64 %413, 1
  %415 = icmp sle i64 %412, %414
  br i1 %415, label %416, label %426

416:                                              ; preds = %411
  %417 = load ptr, ptr %3, align 8, !tbaa !5
  %418 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %417)
  %419 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %420 = load ptr, ptr %419, align 8, !tbaa !17
  %421 = load i64, ptr %24, align 8, !tbaa !13
  %422 = getelementptr inbounds double, ptr %420, i64 %421
  store double %418, ptr %422, align 8, !tbaa !11
  br label %423

423:                                              ; preds = %416
  %424 = load i64, ptr %24, align 8, !tbaa !13
  %425 = add nsw i64 %424, 1
  store i64 %425, ptr %24, align 8, !tbaa !13
  br label %411, !llvm.loop !29

426:                                              ; preds = %411
  %427 = load i64, ptr %20, align 8, !tbaa !13
  %428 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %427, ptr noundef %5, ptr noundef %428)
  %429 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 10, ptr noundef %429)
  %430 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %430)
  %431 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %19, i1 noundef zeroext true, ptr noundef %431)
  %432 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %432)
  %433 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %433)
  %434 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %7, i64 noundef 12, ptr noundef %434)
  %435 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %436 = load ptr, ptr %435, align 8, !tbaa !17
  %437 = getelementptr inbounds i64, ptr %436, i64 0
  store i64 2, ptr %437, align 8, !tbaa !13
  %438 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %439 = load ptr, ptr %438, align 8, !tbaa !17
  %440 = getelementptr inbounds i64, ptr %439, i64 1
  store i64 3, ptr %440, align 8, !tbaa !13
  %441 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %442 = load ptr, ptr %441, align 8, !tbaa !17
  %443 = getelementptr inbounds i64, ptr %442, i64 2
  store i64 4, ptr %443, align 8, !tbaa !13
  %444 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %445 = load ptr, ptr %444, align 8, !tbaa !17
  %446 = getelementptr inbounds i64, ptr %445, i64 3
  store i64 5, ptr %446, align 8, !tbaa !13
  %447 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %448 = load ptr, ptr %447, align 8, !tbaa !17
  %449 = getelementptr inbounds i64, ptr %448, i64 4
  store i64 6, ptr %449, align 8, !tbaa !13
  %450 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %451 = load ptr, ptr %450, align 8, !tbaa !17
  %452 = getelementptr inbounds i64, ptr %451, i64 5
  store i64 7, ptr %452, align 8, !tbaa !13
  %453 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %454 = load ptr, ptr %453, align 8, !tbaa !17
  %455 = getelementptr inbounds i64, ptr %454, i64 6
  store i64 8, ptr %455, align 8, !tbaa !13
  %456 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %457 = load ptr, ptr %456, align 8, !tbaa !17
  %458 = getelementptr inbounds i64, ptr %457, i64 7
  store i64 9, ptr %458, align 8, !tbaa !13
  %459 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %460 = load ptr, ptr %459, align 8, !tbaa !17
  %461 = getelementptr inbounds i64, ptr %460, i64 8
  store i64 10, ptr %461, align 8, !tbaa !13
  %462 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %463 = load ptr, ptr %462, align 8, !tbaa !17
  %464 = getelementptr inbounds i64, ptr %463, i64 9
  store i64 20, ptr %464, align 8, !tbaa !13
  %465 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %466 = load ptr, ptr %465, align 8, !tbaa !17
  %467 = getelementptr inbounds i64, ptr %466, i64 10
  store i64 40, ptr %467, align 8, !tbaa !13
  %468 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %469 = load ptr, ptr %468, align 8, !tbaa !17
  %470 = getelementptr inbounds i64, ptr %469, i64 11
  store i64 80, ptr %470, align 8, !tbaa !13
  store double 1.000000e-05, ptr %29, align 8, !tbaa !11
  store i64 0, ptr %8, align 8, !tbaa !13
  br label %471

471:                                              ; preds = %790, %426
  %472 = load i64, ptr %8, align 8, !tbaa !13
  %473 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 0
  %474 = load i64, ptr %473, align 8, !tbaa !30
  %475 = sub nsw i64 %474, 1
  %476 = icmp sle i64 %472, %475
  br i1 %476, label %477, label %793

477:                                              ; preds = %471
  store i64 1, ptr %26, align 8, !tbaa !13
  br label %478

478:                                              ; preds = %786, %477
  %479 = load i64, ptr %26, align 8, !tbaa !13
  %480 = icmp sle i64 %479, 10
  br i1 %480, label %481, label %789

481:                                              ; preds = %478
  %482 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %483 = load ptr, ptr %482, align 8, !tbaa !17
  %484 = load i64, ptr %8, align 8, !tbaa !13
  %485 = getelementptr inbounds i64, ptr %483, i64 %484
  %486 = load i64, ptr %485, align 8, !tbaa !13
  store i64 %486, ptr %20, align 8, !tbaa !13
  %487 = load i64, ptr %20, align 8, !tbaa !13
  %488 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %487, ptr noundef %488)
  %489 = load i64, ptr %20, align 8, !tbaa !13
  %490 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef %489, ptr noundef %490)
  %491 = load i64, ptr %20, align 8, !tbaa !13
  %492 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %15, i64 noundef %491, ptr noundef %492)
  %493 = load i64, ptr %20, align 8, !tbaa !13
  %494 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %493, ptr noundef %494)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %495

495:                                              ; preds = %531, %481
  %496 = load i64, ptr %24, align 8, !tbaa !13
  %497 = load i64, ptr %20, align 8, !tbaa !13
  %498 = sub nsw i64 %497, 1
  %499 = icmp sle i64 %496, %498
  br i1 %499, label %500, label %534

500:                                              ; preds = %495
  br label %501

501:                                              ; preds = %508, %500
  %502 = load ptr, ptr %3, align 8, !tbaa !5
  %503 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %23, ptr noundef %502)
  %504 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %505 = load ptr, ptr %504, align 8, !tbaa !17
  %506 = load i64, ptr %24, align 8, !tbaa !13
  %507 = getelementptr inbounds double, ptr %505, i64 %506
  store double %503, ptr %507, align 8, !tbaa !11
  br label %508

508:                                              ; preds = %501
  %509 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %510 = load ptr, ptr %509, align 8, !tbaa !17
  %511 = load i64, ptr %24, align 8, !tbaa !13
  %512 = getelementptr inbounds double, ptr %510, i64 %511
  %513 = load double, ptr %512, align 8, !tbaa !11
  %514 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %513, double noundef 0.000000e+00)
  br i1 %514, label %501, label %515, !llvm.loop !33

515:                                              ; preds = %508
  %516 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %517 = load ptr, ptr %516, align 8, !tbaa !17
  %518 = load i64, ptr %24, align 8, !tbaa !13
  %519 = getelementptr inbounds double, ptr %517, i64 %518
  store double -1.000000e+00, ptr %519, align 8, !tbaa !11
  %520 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %521 = load ptr, ptr %520, align 8, !tbaa !17
  %522 = load i64, ptr %24, align 8, !tbaa !13
  %523 = getelementptr inbounds double, ptr %521, i64 %522
  store double 1.000000e+00, ptr %523, align 8, !tbaa !11
  %524 = load ptr, ptr %3, align 8, !tbaa !5
  %525 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %23, ptr noundef %524)
  %526 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %525, double -1.000000e+00)
  %527 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %528 = load ptr, ptr %527, align 8, !tbaa !17
  %529 = load i64, ptr %24, align 8, !tbaa !13
  %530 = getelementptr inbounds double, ptr %528, i64 %529
  store double %526, ptr %530, align 8, !tbaa !11
  br label %531

531:                                              ; preds = %515
  %532 = load i64, ptr %24, align 8, !tbaa !13
  %533 = add nsw i64 %532, 1
  store i64 %533, ptr %24, align 8, !tbaa !13
  br label %495, !llvm.loop !34

534:                                              ; preds = %495
  store double 0.000000e+00, ptr %30, align 8, !tbaa !11
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %535

535:                                              ; preds = %548, %534
  %536 = load i64, ptr %24, align 8, !tbaa !13
  %537 = load i64, ptr %20, align 8, !tbaa !13
  %538 = sub nsw i64 %537, 1
  %539 = icmp sle i64 %536, %538
  br i1 %539, label %540, label %551

540:                                              ; preds = %535
  %541 = load double, ptr %30, align 8, !tbaa !11
  %542 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %543 = load ptr, ptr %542, align 8, !tbaa !17
  %544 = load i64, ptr %24, align 8, !tbaa !13
  %545 = getelementptr inbounds double, ptr %543, i64 %544
  %546 = load double, ptr %545, align 8, !tbaa !11
  %547 = fadd double %541, %546
  store double %547, ptr %30, align 8, !tbaa !11
  br label %548

548:                                              ; preds = %540
  %549 = load i64, ptr %24, align 8, !tbaa !13
  %550 = add nsw i64 %549, 1
  store i64 %550, ptr %24, align 8, !tbaa !13
  br label %535, !llvm.loop !35

551:                                              ; preds = %535
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %552

552:                                              ; preds = %572, %551
  %553 = load i64, ptr %24, align 8, !tbaa !13
  %554 = load i64, ptr %20, align 8, !tbaa !13
  %555 = sub nsw i64 %554, 1
  %556 = icmp sle i64 %553, %555
  br i1 %556, label %557, label %575

557:                                              ; preds = %552
  %558 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %559 = load ptr, ptr %558, align 8, !tbaa !17
  %560 = load i64, ptr %24, align 8, !tbaa !13
  %561 = getelementptr inbounds double, ptr %559, i64 %560
  %562 = load double, ptr %561, align 8, !tbaa !11
  %563 = load double, ptr %30, align 8, !tbaa !11
  %564 = load i64, ptr %20, align 8, !tbaa !13
  %565 = sitofp i64 %564 to double
  %566 = fdiv double %563, %565
  %567 = fsub double %562, %566
  %568 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %569 = load ptr, ptr %568, align 8, !tbaa !17
  %570 = load i64, ptr %24, align 8, !tbaa !13
  %571 = getelementptr inbounds double, ptr %569, i64 %570
  store double %567, ptr %571, align 8, !tbaa !11
  br label %572

572:                                              ; preds = %557
  %573 = load i64, ptr %24, align 8, !tbaa !13
  %574 = add nsw i64 %573, 1
  store i64 %574, ptr %24, align 8, !tbaa !13
  br label %552, !llvm.loop !36

575:                                              ; preds = %552
  store double 0.000000e+00, ptr %30, align 8, !tbaa !11
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %576

576:                                              ; preds = %589, %575
  %577 = load i64, ptr %24, align 8, !tbaa !13
  %578 = load i64, ptr %20, align 8, !tbaa !13
  %579 = sub nsw i64 %578, 1
  %580 = icmp sle i64 %577, %579
  br i1 %580, label %581, label %592

581:                                              ; preds = %576
  %582 = load double, ptr %30, align 8, !tbaa !11
  %583 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %584 = load ptr, ptr %583, align 8, !tbaa !17
  %585 = load i64, ptr %24, align 8, !tbaa !13
  %586 = getelementptr inbounds double, ptr %584, i64 %585
  %587 = load double, ptr %586, align 8, !tbaa !11
  %588 = fadd double %582, %587
  store double %588, ptr %30, align 8, !tbaa !11
  br label %589

589:                                              ; preds = %581
  %590 = load i64, ptr %24, align 8, !tbaa !13
  %591 = add nsw i64 %590, 1
  store i64 %591, ptr %24, align 8, !tbaa !13
  br label %576, !llvm.loop !37

592:                                              ; preds = %576
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %593

593:                                              ; preds = %613, %592
  %594 = load i64, ptr %24, align 8, !tbaa !13
  %595 = load i64, ptr %20, align 8, !tbaa !13
  %596 = sub nsw i64 %595, 1
  %597 = icmp sle i64 %594, %596
  br i1 %597, label %598, label %616

598:                                              ; preds = %593
  %599 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %600 = load ptr, ptr %599, align 8, !tbaa !17
  %601 = load i64, ptr %24, align 8, !tbaa !13
  %602 = getelementptr inbounds double, ptr %600, i64 %601
  %603 = load double, ptr %602, align 8, !tbaa !11
  %604 = load double, ptr %30, align 8, !tbaa !11
  %605 = load i64, ptr %20, align 8, !tbaa !13
  %606 = sitofp i64 %605 to double
  %607 = fdiv double %604, %606
  %608 = fsub double %603, %607
  %609 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %610 = load ptr, ptr %609, align 8, !tbaa !17
  %611 = load i64, ptr %24, align 8, !tbaa !13
  %612 = getelementptr inbounds double, ptr %610, i64 %611
  store double %608, ptr %612, align 8, !tbaa !11
  br label %613

613:                                              ; preds = %598
  %614 = load i64, ptr %24, align 8, !tbaa !13
  %615 = add nsw i64 %614, 1
  store i64 %615, ptr %24, align 8, !tbaa !13
  br label %593, !llvm.loop !38

616:                                              ; preds = %593
  %617 = load i64, ptr %20, align 8, !tbaa !13
  %618 = load i64, ptr %20, align 8, !tbaa !13
  %619 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %9, i64 noundef %617, i64 noundef %618, ptr noundef %619)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %620

620:                                              ; preds = %643, %616
  %621 = load i64, ptr %24, align 8, !tbaa !13
  %622 = load i64, ptr %20, align 8, !tbaa !13
  %623 = sub nsw i64 %622, 1
  %624 = icmp sle i64 %621, %623
  br i1 %624, label %625, label %646

625:                                              ; preds = %620
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %626

626:                                              ; preds = %639, %625
  %627 = load i64, ptr %25, align 8, !tbaa !13
  %628 = load i64, ptr %20, align 8, !tbaa !13
  %629 = sub nsw i64 %628, 1
  %630 = icmp sle i64 %627, %629
  br i1 %630, label %631, label %642

631:                                              ; preds = %626
  %632 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %633 = load ptr, ptr %632, align 8, !tbaa !17
  %634 = load i64, ptr %24, align 8, !tbaa !13
  %635 = getelementptr inbounds ptr, ptr %633, i64 %634
  %636 = load ptr, ptr %635, align 8, !tbaa !5
  %637 = load i64, ptr %25, align 8, !tbaa !13
  %638 = getelementptr inbounds double, ptr %636, i64 %637
  store double 1.000000e+00, ptr %638, align 8, !tbaa !11
  br label %639

639:                                              ; preds = %631
  %640 = load i64, ptr %25, align 8, !tbaa !13
  %641 = add nsw i64 %640, 1
  store i64 %641, ptr %25, align 8, !tbaa !13
  br label %626, !llvm.loop !39

642:                                              ; preds = %626
  br label %643

643:                                              ; preds = %642
  %644 = load i64, ptr %24, align 8, !tbaa !13
  %645 = add nsw i64 %644, 1
  store i64 %645, ptr %24, align 8, !tbaa !13
  br label %620, !llvm.loop !40

646:                                              ; preds = %620
  %647 = load i64, ptr %20, align 8, !tbaa !13
  %648 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZL27testminqpunit_densetosparsePN11alglib_impl9ae_matrixElPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %9, i64 noundef %647, ptr noundef %19, ptr noundef %648)
  %649 = load i64, ptr %20, align 8, !tbaa !13
  %650 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %649, ptr noundef %5, ptr noundef %650)
  %651 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %651)
  %652 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %652)
  %653 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %21, ptr noundef %653)
  %654 = load ptr, ptr %3, align 8, !tbaa !5
  %655 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %23, ptr noundef %654)
  %656 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %655, double noundef 0.000000e+00)
  br i1 %656, label %657, label %659

657:                                              ; preds = %646
  %658 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %9, i1 noundef zeroext true, ptr noundef %658)
  br label %661

659:                                              ; preds = %646
  %660 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %19, i1 noundef zeroext true, ptr noundef %660)
  br label %661

661:                                              ; preds = %659, %657
  %662 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %662)
  %663 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %22, ptr noundef %6, ptr noundef %663)
  %664 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %665 = load i64, ptr %664, align 8, !tbaa !41
  %666 = icmp ne i64 %665, -4
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %666, ptr noundef @.str.8, i32 noundef 42422, ptr noundef @.str.426)
  %667 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %5, ptr noundef %14, ptr noundef %15, ptr noundef %667)
  %668 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %668)
  %669 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %22, ptr noundef %6, ptr noundef %669)
  %670 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %671 = load i64, ptr %670, align 8, !tbaa !41
  %672 = icmp sle i64 %671, 0
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %672, ptr noundef @.str.8, i32 noundef 42426, ptr noundef @.str.427)
  %673 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %674 = load i64, ptr %673, align 8, !tbaa !41
  %675 = icmp sle i64 %674, 0
  br i1 %675, label %676, label %680

676:                                              ; preds = %661
  %677 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %677)
  %678 = load i8, ptr %35, align 1, !tbaa !9, !range !15, !noundef !16
  %679 = trunc i8 %678 to i1
  store i1 %679, ptr %2, align 1
  store i32 1, ptr %36, align 4
  br label %1564

680:                                              ; preds = %661
  store double 0.000000e+00, ptr %32, align 8, !tbaa !11
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %681

681:                                              ; preds = %776, %680
  %682 = load i64, ptr %24, align 8, !tbaa !13
  %683 = load i64, ptr %20, align 8, !tbaa !13
  %684 = sub nsw i64 %683, 1
  %685 = icmp sle i64 %682, %684
  br i1 %685, label %686, label %779

686:                                              ; preds = %681
  %687 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %688 = load ptr, ptr %687, align 8, !tbaa !17
  %689 = load i64, ptr %24, align 8, !tbaa !13
  %690 = getelementptr inbounds double, ptr %688, i64 %689
  %691 = load double, ptr %690, align 8, !tbaa !11
  store double %691, ptr %31, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %692

692:                                              ; preds = %713, %686
  %693 = load i64, ptr %25, align 8, !tbaa !13
  %694 = load i64, ptr %20, align 8, !tbaa !13
  %695 = sub nsw i64 %694, 1
  %696 = icmp sle i64 %693, %695
  br i1 %696, label %697, label %716

697:                                              ; preds = %692
  %698 = load double, ptr %31, align 8, !tbaa !11
  %699 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %700 = load ptr, ptr %699, align 8, !tbaa !17
  %701 = load i64, ptr %24, align 8, !tbaa !13
  %702 = getelementptr inbounds ptr, ptr %700, i64 %701
  %703 = load ptr, ptr %702, align 8, !tbaa !5
  %704 = load i64, ptr %25, align 8, !tbaa !13
  %705 = getelementptr inbounds double, ptr %703, i64 %704
  %706 = load double, ptr %705, align 8, !tbaa !11
  %707 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %708 = load ptr, ptr %707, align 8, !tbaa !17
  %709 = load i64, ptr %25, align 8, !tbaa !13
  %710 = getelementptr inbounds double, ptr %708, i64 %709
  %711 = load double, ptr %710, align 8, !tbaa !11
  %712 = call double @llvm.fmuladd.f64(double %706, double %711, double %698)
  store double %712, ptr %31, align 8, !tbaa !11
  br label %713

713:                                              ; preds = %697
  %714 = load i64, ptr %25, align 8, !tbaa !13
  %715 = add nsw i64 %714, 1
  store i64 %715, ptr %25, align 8, !tbaa !13
  br label %692, !llvm.loop !43

716:                                              ; preds = %692
  %717 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %718 = load ptr, ptr %717, align 8, !tbaa !17
  %719 = load i64, ptr %24, align 8, !tbaa !13
  %720 = getelementptr inbounds double, ptr %718, i64 %719
  %721 = load double, ptr %720, align 8, !tbaa !11
  %722 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %723 = load ptr, ptr %722, align 8, !tbaa !17
  %724 = load i64, ptr %24, align 8, !tbaa !13
  %725 = getelementptr inbounds double, ptr %723, i64 %724
  %726 = load double, ptr %725, align 8, !tbaa !11
  %727 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %721, double noundef %726)
  br i1 %727, label %728, label %732

728:                                              ; preds = %716
  %729 = load double, ptr %31, align 8, !tbaa !11
  %730 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %729, double noundef 0.000000e+00)
  br i1 %730, label %731, label %732

731:                                              ; preds = %728
  store double 0.000000e+00, ptr %31, align 8, !tbaa !11
  br label %732

732:                                              ; preds = %731, %728, %716
  %733 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %734 = load ptr, ptr %733, align 8, !tbaa !17
  %735 = load i64, ptr %24, align 8, !tbaa !13
  %736 = getelementptr inbounds double, ptr %734, i64 %735
  %737 = load double, ptr %736, align 8, !tbaa !11
  %738 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %739 = load ptr, ptr %738, align 8, !tbaa !17
  %740 = load i64, ptr %24, align 8, !tbaa !13
  %741 = getelementptr inbounds double, ptr %739, i64 %740
  %742 = load double, ptr %741, align 8, !tbaa !11
  %743 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %737, double noundef %742)
  br i1 %743, label %744, label %748

744:                                              ; preds = %732
  %745 = load double, ptr %31, align 8, !tbaa !11
  %746 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %745, double noundef 0.000000e+00)
  br i1 %746, label %747, label %748

747:                                              ; preds = %744
  store double 0.000000e+00, ptr %31, align 8, !tbaa !11
  br label %748

748:                                              ; preds = %747, %744, %732
  %749 = load double, ptr %32, align 8, !tbaa !11
  %750 = load double, ptr %31, align 8, !tbaa !11
  %751 = load ptr, ptr %3, align 8, !tbaa !5
  %752 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %750, ptr noundef %751)
  %753 = fadd double %749, %752
  store double %753, ptr %32, align 8, !tbaa !11
  %754 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %755 = load ptr, ptr %754, align 8, !tbaa !17
  %756 = load i64, ptr %24, align 8, !tbaa !13
  %757 = getelementptr inbounds double, ptr %755, i64 %756
  %758 = load double, ptr %757, align 8, !tbaa !11
  %759 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %760 = load ptr, ptr %759, align 8, !tbaa !17
  %761 = load i64, ptr %24, align 8, !tbaa !13
  %762 = getelementptr inbounds double, ptr %760, i64 %761
  %763 = load double, ptr %762, align 8, !tbaa !11
  %764 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %758, double noundef %763)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %764, ptr noundef @.str.8, i32 noundef 42454, ptr noundef @.str.428)
  %765 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %766 = load ptr, ptr %765, align 8, !tbaa !17
  %767 = load i64, ptr %24, align 8, !tbaa !13
  %768 = getelementptr inbounds double, ptr %766, i64 %767
  %769 = load double, ptr %768, align 8, !tbaa !11
  %770 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %771 = load ptr, ptr %770, align 8, !tbaa !17
  %772 = load i64, ptr %24, align 8, !tbaa !13
  %773 = getelementptr inbounds double, ptr %771, i64 %772
  %774 = load double, ptr %773, align 8, !tbaa !11
  %775 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %769, double noundef %774)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %775, ptr noundef @.str.8, i32 noundef 42455, ptr noundef @.str.429)
  br label %776

776:                                              ; preds = %748
  %777 = load i64, ptr %24, align 8, !tbaa !13
  %778 = add nsw i64 %777, 1
  store i64 %778, ptr %24, align 8, !tbaa !13
  br label %681, !llvm.loop !44

779:                                              ; preds = %681
  %780 = load double, ptr %32, align 8, !tbaa !11
  %781 = load ptr, ptr %3, align 8, !tbaa !5
  %782 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %780, ptr noundef %781)
  store double %782, ptr %32, align 8, !tbaa !11
  %783 = load double, ptr %32, align 8, !tbaa !11
  %784 = load double, ptr %29, align 8, !tbaa !11
  %785 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %783, double noundef %784)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %785, ptr noundef @.str.8, i32 noundef 42458, ptr noundef @.str.430)
  br label %786

786:                                              ; preds = %779
  %787 = load i64, ptr %26, align 8, !tbaa !13
  %788 = add nsw i64 %787, 1
  store i64 %788, ptr %26, align 8, !tbaa !13
  br label %478, !llvm.loop !45

789:                                              ; preds = %478
  br label %790

790:                                              ; preds = %789
  %791 = load i64, ptr %8, align 8, !tbaa !13
  %792 = add nsw i64 %791, 1
  store i64 %792, ptr %8, align 8, !tbaa !13
  br label %471, !llvm.loop !46

793:                                              ; preds = %471
  store i64 20, ptr %20, align 8, !tbaa !13
  store double 0x3D06849B86A12B9B, ptr %29, align 8, !tbaa !11
  %794 = load i64, ptr %20, align 8, !tbaa !13
  %795 = load i64, ptr %20, align 8, !tbaa !13
  %796 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %794, i64 noundef %795, i64 noundef 0, ptr noundef %19, ptr noundef %796)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %797

797:                                              ; preds = %806, %793
  %798 = load i64, ptr %24, align 8, !tbaa !13
  %799 = load i64, ptr %20, align 8, !tbaa !13
  %800 = sub nsw i64 %799, 1
  %801 = icmp sle i64 %798, %800
  br i1 %801, label %802, label %809

802:                                              ; preds = %797
  %803 = load i64, ptr %24, align 8, !tbaa !13
  %804 = load i64, ptr %24, align 8, !tbaa !13
  %805 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %19, i64 noundef %803, i64 noundef %804, double noundef -1.000000e+00, ptr noundef %805)
  br label %806

806:                                              ; preds = %802
  %807 = load i64, ptr %24, align 8, !tbaa !13
  %808 = add nsw i64 %807, 1
  store i64 %808, ptr %24, align 8, !tbaa !13
  br label %797, !llvm.loop !47

809:                                              ; preds = %797
  %810 = load i64, ptr %20, align 8, !tbaa !13
  %811 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef %810, ptr noundef %811)
  %812 = load i64, ptr %20, align 8, !tbaa !13
  %813 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %15, i64 noundef %812, ptr noundef %813)
  %814 = load i64, ptr %20, align 8, !tbaa !13
  %815 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %17, i64 noundef %814, ptr noundef %815)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %816

816:                                              ; preds = %837, %809
  %817 = load i64, ptr %24, align 8, !tbaa !13
  %818 = load i64, ptr %20, align 8, !tbaa !13
  %819 = sub nsw i64 %818, 1
  %820 = icmp sle i64 %817, %819
  br i1 %820, label %821, label %840

821:                                              ; preds = %816
  %822 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %823 = load ptr, ptr %822, align 8, !tbaa !17
  %824 = load i64, ptr %24, align 8, !tbaa !13
  %825 = getelementptr inbounds double, ptr %823, i64 %824
  store double -1.000000e+00, ptr %825, align 8, !tbaa !11
  %826 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %827 = load ptr, ptr %826, align 8, !tbaa !17
  %828 = load i64, ptr %24, align 8, !tbaa !13
  %829 = getelementptr inbounds double, ptr %827, i64 %828
  store double 1.000000e+00, ptr %829, align 8, !tbaa !11
  %830 = load ptr, ptr %3, align 8, !tbaa !5
  %831 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %830)
  %832 = fsub double %831, 5.000000e-01
  %833 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %17, i32 0, i32 4
  %834 = load ptr, ptr %833, align 8, !tbaa !17
  %835 = load i64, ptr %24, align 8, !tbaa !13
  %836 = getelementptr inbounds double, ptr %834, i64 %835
  store double %832, ptr %836, align 8, !tbaa !11
  br label %837

837:                                              ; preds = %821
  %838 = load i64, ptr %24, align 8, !tbaa !13
  %839 = add nsw i64 %838, 1
  store i64 %839, ptr %24, align 8, !tbaa !13
  br label %816, !llvm.loop !48

840:                                              ; preds = %816
  %841 = load i64, ptr %20, align 8, !tbaa !13
  %842 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %841, ptr noundef %5, ptr noundef %842)
  %843 = load double, ptr %29, align 8, !tbaa !11
  %844 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef %843, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %844)
  %845 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %19, i1 noundef zeroext true, ptr noundef %845)
  %846 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %5, ptr noundef %14, ptr noundef %15, ptr noundef %846)
  %847 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %17, ptr noundef %847)
  %848 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %848)
  %849 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %849)
  %850 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %851 = load i64, ptr %850, align 8, !tbaa !41
  %852 = icmp sle i64 %851, 0
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %852, ptr noundef @.str.8, i32 noundef 42494, ptr noundef @.str.431)
  %853 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %854 = load i64, ptr %853, align 8, !tbaa !41
  %855 = icmp sgt i64 %854, 0
  br i1 %855, label %856, label %882

856:                                              ; preds = %840
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %857

857:                                              ; preds = %878, %856
  %858 = load i64, ptr %24, align 8, !tbaa !13
  %859 = load i64, ptr %20, align 8, !tbaa !13
  %860 = sub nsw i64 %859, 1
  %861 = icmp sle i64 %858, %860
  br i1 %861, label %862, label %881

862:                                              ; preds = %857
  %863 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %864 = load ptr, ptr %863, align 8, !tbaa !17
  %865 = load i64, ptr %24, align 8, !tbaa !13
  %866 = getelementptr inbounds double, ptr %864, i64 %865
  %867 = load double, ptr %866, align 8, !tbaa !11
  %868 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %867, double noundef -1.000000e+00)
  br i1 %868, label %869, label %876

869:                                              ; preds = %862
  %870 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %871 = load ptr, ptr %870, align 8, !tbaa !17
  %872 = load i64, ptr %24, align 8, !tbaa !13
  %873 = getelementptr inbounds double, ptr %871, i64 %872
  %874 = load double, ptr %873, align 8, !tbaa !11
  %875 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %874, double noundef 1.000000e+00)
  br label %876

876:                                              ; preds = %869, %862
  %877 = phi i1 [ false, %862 ], [ %875, %869 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %877, ptr noundef @.str.8, i32 noundef 42499, ptr noundef @.str.432)
  br label %878

878:                                              ; preds = %876
  %879 = load i64, ptr %24, align 8, !tbaa !13
  %880 = add nsw i64 %879, 1
  store i64 %880, ptr %24, align 8, !tbaa !13
  br label %857, !llvm.loop !49

881:                                              ; preds = %857
  br label %882

882:                                              ; preds = %881, %840
  %883 = load i64, ptr %20, align 8, !tbaa !13
  %884 = load ptr, ptr %3, align 8, !tbaa !5
  %885 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %883, ptr noundef %884)
  store i64 %885, ptr %24, align 8, !tbaa !13
  %886 = load ptr, ptr %3, align 8, !tbaa !5
  %887 = getelementptr inbounds %"struct.alglib_impl::ae_state", ptr %886, i32 0, i32 3
  %888 = load double, ptr %887, align 8, !tbaa !50
  %889 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %890 = load ptr, ptr %889, align 8, !tbaa !17
  %891 = load i64, ptr %24, align 8, !tbaa !13
  %892 = getelementptr inbounds double, ptr %890, i64 %891
  store double %888, ptr %892, align 8, !tbaa !11
  %893 = load ptr, ptr %3, align 8, !tbaa !5
  %894 = getelementptr inbounds %"struct.alglib_impl::ae_state", ptr %893, i32 0, i32 2
  %895 = load double, ptr %894, align 8, !tbaa !54
  %896 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %897 = load ptr, ptr %896, align 8, !tbaa !17
  %898 = load i64, ptr %24, align 8, !tbaa !13
  %899 = getelementptr inbounds double, ptr %897, i64 %898
  store double %895, ptr %899, align 8, !tbaa !11
  %900 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %5, ptr noundef %14, ptr noundef %15, ptr noundef %900)
  %901 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %901)
  %902 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %902)
  %903 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %904 = load i64, ptr %903, align 8, !tbaa !41
  %905 = icmp ne i64 %904, -4
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %905, ptr noundef @.str.8, i32 noundef 42508, ptr noundef @.str.433)
  store i64 20, ptr %20, align 8, !tbaa !13
  store double 0x3D06849B86A12B9B, ptr %29, align 8, !tbaa !11
  %906 = load i64, ptr %20, align 8, !tbaa !13
  %907 = load i64, ptr %20, align 8, !tbaa !13
  %908 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %906, i64 noundef %907, i64 noundef 0, ptr noundef %19, ptr noundef %908)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %909

909:                                              ; preds = %918, %882
  %910 = load i64, ptr %24, align 8, !tbaa !13
  %911 = load i64, ptr %20, align 8, !tbaa !13
  %912 = sub nsw i64 %911, 1
  %913 = icmp sle i64 %910, %912
  br i1 %913, label %914, label %921

914:                                              ; preds = %909
  %915 = load i64, ptr %24, align 8, !tbaa !13
  %916 = load i64, ptr %24, align 8, !tbaa !13
  %917 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %19, i64 noundef %915, i64 noundef %916, double noundef -1.000000e+00, ptr noundef %917)
  br label %918

918:                                              ; preds = %914
  %919 = load i64, ptr %24, align 8, !tbaa !13
  %920 = add nsw i64 %919, 1
  store i64 %920, ptr %24, align 8, !tbaa !13
  br label %909, !llvm.loop !55

921:                                              ; preds = %909
  %922 = load i64, ptr %20, align 8, !tbaa !13
  %923 = mul nsw i64 2, %922
  %924 = load i64, ptr %20, align 8, !tbaa !13
  %925 = add nsw i64 %924, 1
  %926 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %11, i64 noundef %923, i64 noundef %925, ptr noundef %926)
  %927 = load i64, ptr %20, align 8, !tbaa !13
  %928 = mul nsw i64 2, %927
  %929 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef %928, ptr noundef %929)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %930

930:                                              ; preds = %1011, %921
  %931 = load i64, ptr %24, align 8, !tbaa !13
  %932 = load i64, ptr %20, align 8, !tbaa !13
  %933 = sub nsw i64 %932, 1
  %934 = icmp sle i64 %931, %933
  br i1 %934, label %935, label %1014

935:                                              ; preds = %930
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %936

936:                                              ; preds = %959, %935
  %937 = load i64, ptr %25, align 8, !tbaa !13
  %938 = load i64, ptr %20, align 8, !tbaa !13
  %939 = icmp sle i64 %937, %938
  br i1 %939, label %940, label %962

940:                                              ; preds = %936
  %941 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %942 = load ptr, ptr %941, align 8, !tbaa !17
  %943 = load i64, ptr %24, align 8, !tbaa !13
  %944 = mul nsw i64 2, %943
  %945 = add nsw i64 %944, 0
  %946 = getelementptr inbounds ptr, ptr %942, i64 %945
  %947 = load ptr, ptr %946, align 8, !tbaa !5
  %948 = load i64, ptr %25, align 8, !tbaa !13
  %949 = getelementptr inbounds double, ptr %947, i64 %948
  store double 0.000000e+00, ptr %949, align 8, !tbaa !11
  %950 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %951 = load ptr, ptr %950, align 8, !tbaa !17
  %952 = load i64, ptr %24, align 8, !tbaa !13
  %953 = mul nsw i64 2, %952
  %954 = add nsw i64 %953, 1
  %955 = getelementptr inbounds ptr, ptr %951, i64 %954
  %956 = load ptr, ptr %955, align 8, !tbaa !5
  %957 = load i64, ptr %25, align 8, !tbaa !13
  %958 = getelementptr inbounds double, ptr %956, i64 %957
  store double 0.000000e+00, ptr %958, align 8, !tbaa !11
  br label %959

959:                                              ; preds = %940
  %960 = load i64, ptr %25, align 8, !tbaa !13
  %961 = add nsw i64 %960, 1
  store i64 %961, ptr %25, align 8, !tbaa !13
  br label %936, !llvm.loop !56

962:                                              ; preds = %936
  %963 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %964 = load ptr, ptr %963, align 8, !tbaa !17
  %965 = load i64, ptr %24, align 8, !tbaa !13
  %966 = mul nsw i64 2, %965
  %967 = add nsw i64 %966, 0
  %968 = getelementptr inbounds ptr, ptr %964, i64 %967
  %969 = load ptr, ptr %968, align 8, !tbaa !5
  %970 = load i64, ptr %24, align 8, !tbaa !13
  %971 = getelementptr inbounds double, ptr %969, i64 %970
  store double 1.000000e+00, ptr %971, align 8, !tbaa !11
  %972 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %973 = load ptr, ptr %972, align 8, !tbaa !17
  %974 = load i64, ptr %24, align 8, !tbaa !13
  %975 = mul nsw i64 2, %974
  %976 = add nsw i64 %975, 0
  %977 = getelementptr inbounds ptr, ptr %973, i64 %976
  %978 = load ptr, ptr %977, align 8, !tbaa !5
  %979 = load i64, ptr %20, align 8, !tbaa !13
  %980 = getelementptr inbounds double, ptr %978, i64 %979
  store double 1.000000e+00, ptr %980, align 8, !tbaa !11
  %981 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %982 = load ptr, ptr %981, align 8, !tbaa !17
  %983 = load i64, ptr %24, align 8, !tbaa !13
  %984 = mul nsw i64 2, %983
  %985 = add nsw i64 %984, 0
  %986 = getelementptr inbounds i64, ptr %982, i64 %985
  store i64 -1, ptr %986, align 8, !tbaa !13
  %987 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %988 = load ptr, ptr %987, align 8, !tbaa !17
  %989 = load i64, ptr %24, align 8, !tbaa !13
  %990 = mul nsw i64 2, %989
  %991 = add nsw i64 %990, 1
  %992 = getelementptr inbounds ptr, ptr %988, i64 %991
  %993 = load ptr, ptr %992, align 8, !tbaa !5
  %994 = load i64, ptr %24, align 8, !tbaa !13
  %995 = getelementptr inbounds double, ptr %993, i64 %994
  store double 1.000000e+00, ptr %995, align 8, !tbaa !11
  %996 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %997 = load ptr, ptr %996, align 8, !tbaa !17
  %998 = load i64, ptr %24, align 8, !tbaa !13
  %999 = mul nsw i64 2, %998
  %1000 = add nsw i64 %999, 1
  %1001 = getelementptr inbounds ptr, ptr %997, i64 %1000
  %1002 = load ptr, ptr %1001, align 8, !tbaa !5
  %1003 = load i64, ptr %20, align 8, !tbaa !13
  %1004 = getelementptr inbounds double, ptr %1002, i64 %1003
  store double -1.000000e+00, ptr %1004, align 8, !tbaa !11
  %1005 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1006 = load ptr, ptr %1005, align 8, !tbaa !17
  %1007 = load i64, ptr %24, align 8, !tbaa !13
  %1008 = mul nsw i64 2, %1007
  %1009 = add nsw i64 %1008, 1
  %1010 = getelementptr inbounds i64, ptr %1006, i64 %1009
  store i64 1, ptr %1010, align 8, !tbaa !13
  br label %1011

1011:                                             ; preds = %962
  %1012 = load i64, ptr %24, align 8, !tbaa !13
  %1013 = add nsw i64 %1012, 1
  store i64 %1013, ptr %24, align 8, !tbaa !13
  br label %930, !llvm.loop !57

1014:                                             ; preds = %930
  %1015 = load i64, ptr %20, align 8, !tbaa !13
  %1016 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %17, i64 noundef %1015, ptr noundef %1016)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %1017

1017:                                             ; preds = %1030, %1014
  %1018 = load i64, ptr %24, align 8, !tbaa !13
  %1019 = load i64, ptr %20, align 8, !tbaa !13
  %1020 = sub nsw i64 %1019, 1
  %1021 = icmp sle i64 %1018, %1020
  br i1 %1021, label %1022, label %1033

1022:                                             ; preds = %1017
  %1023 = load ptr, ptr %3, align 8, !tbaa !5
  %1024 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1023)
  %1025 = fsub double %1024, 5.000000e-01
  %1026 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %17, i32 0, i32 4
  %1027 = load ptr, ptr %1026, align 8, !tbaa !17
  %1028 = load i64, ptr %24, align 8, !tbaa !13
  %1029 = getelementptr inbounds double, ptr %1027, i64 %1028
  store double %1025, ptr %1029, align 8, !tbaa !11
  br label %1030

1030:                                             ; preds = %1022
  %1031 = load i64, ptr %24, align 8, !tbaa !13
  %1032 = add nsw i64 %1031, 1
  store i64 %1032, ptr %24, align 8, !tbaa !13
  br label %1017, !llvm.loop !58

1033:                                             ; preds = %1017
  %1034 = load i64, ptr %20, align 8, !tbaa !13
  %1035 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %1034, ptr noundef %5, ptr noundef %1035)
  %1036 = load double, ptr %29, align 8, !tbaa !11
  %1037 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef %1036, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %1037)
  %1038 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %19, i1 noundef zeroext true, ptr noundef %1038)
  %1039 = load i64, ptr %20, align 8, !tbaa !13
  %1040 = mul nsw i64 2, %1039
  %1041 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetlcEPNS_10minqpstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %5, ptr noundef %11, ptr noundef %18, i64 noundef %1040, ptr noundef %1041)
  %1042 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %17, ptr noundef %1042)
  %1043 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %1043)
  %1044 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %1044)
  %1045 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %1046 = load i64, ptr %1045, align 8, !tbaa !41
  %1047 = icmp sle i64 %1046, 0
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1047, ptr noundef @.str.8, i32 noundef 42556, ptr noundef @.str.434)
  %1048 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %1049 = load i64, ptr %1048, align 8, !tbaa !41
  %1050 = icmp sgt i64 %1049, 0
  br i1 %1050, label %1051, label %1083

1051:                                             ; preds = %1033
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %1052

1052:                                             ; preds = %1079, %1051
  %1053 = load i64, ptr %24, align 8, !tbaa !13
  %1054 = load i64, ptr %20, align 8, !tbaa !13
  %1055 = sub nsw i64 %1054, 1
  %1056 = icmp sle i64 %1053, %1055
  br i1 %1056, label %1057, label %1082

1057:                                             ; preds = %1052
  %1058 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1059 = load ptr, ptr %1058, align 8, !tbaa !17
  %1060 = load i64, ptr %24, align 8, !tbaa !13
  %1061 = getelementptr inbounds double, ptr %1059, i64 %1060
  %1062 = load double, ptr %1061, align 8, !tbaa !11
  %1063 = fadd double %1062, 1.000000e+00
  %1064 = load ptr, ptr %3, align 8, !tbaa !5
  %1065 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1063, ptr noundef %1064)
  %1066 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1065, double noundef 5.000000e-14)
  br i1 %1066, label %1067, label %1077

1067:                                             ; preds = %1057
  %1068 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1069 = load ptr, ptr %1068, align 8, !tbaa !17
  %1070 = load i64, ptr %24, align 8, !tbaa !13
  %1071 = getelementptr inbounds double, ptr %1069, i64 %1070
  %1072 = load double, ptr %1071, align 8, !tbaa !11
  %1073 = fsub double %1072, 1.000000e+00
  %1074 = load ptr, ptr %3, align 8, !tbaa !5
  %1075 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1073, ptr noundef %1074)
  %1076 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1075, double noundef 5.000000e-14)
  br label %1077

1077:                                             ; preds = %1067, %1057
  %1078 = phi i1 [ false, %1057 ], [ %1076, %1067 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1078, ptr noundef @.str.8, i32 noundef 42561, ptr noundef @.str.435)
  br label %1079

1079:                                             ; preds = %1077
  %1080 = load i64, ptr %24, align 8, !tbaa !13
  %1081 = add nsw i64 %1080, 1
  store i64 %1081, ptr %24, align 8, !tbaa !13
  br label %1052, !llvm.loop !59

1082:                                             ; preds = %1052
  br label %1083

1083:                                             ; preds = %1082, %1033
  %1084 = load i64, ptr %20, align 8, !tbaa !13
  %1085 = sub nsw i64 %1084, 1
  %1086 = mul nsw i64 2, %1085
  %1087 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetlcEPNS_10minqpstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %5, ptr noundef %11, ptr noundef %18, i64 noundef %1086, ptr noundef %1087)
  %1088 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %1088)
  %1089 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %1089)
  %1090 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %1091 = load i64, ptr %1090, align 8, !tbaa !41
  %1092 = icmp ne i64 %1091, -4
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1092, ptr noundef @.str.8, i32 noundef 42567, ptr noundef @.str.436)
  store i64 20, ptr %20, align 8, !tbaa !13
  %1093 = load i64, ptr %20, align 8, !tbaa !13
  %1094 = load i64, ptr %20, align 8, !tbaa !13
  %1095 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %1093, i64 noundef %1094, i64 noundef 0, ptr noundef %19, ptr noundef %1095)
  %1096 = load i64, ptr %20, align 8, !tbaa !13
  %1097 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef %1096, ptr noundef %1097)
  %1098 = load i64, ptr %20, align 8, !tbaa !13
  %1099 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %15, i64 noundef %1098, ptr noundef %1099)
  %1100 = load i64, ptr %20, align 8, !tbaa !13
  %1101 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %1100, ptr noundef %1101)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %1102

1102:                                             ; preds = %1122, %1083
  %1103 = load i64, ptr %24, align 8, !tbaa !13
  %1104 = load i64, ptr %20, align 8, !tbaa !13
  %1105 = sub nsw i64 %1104, 1
  %1106 = icmp sle i64 %1103, %1105
  br i1 %1106, label %1107, label %1125

1107:                                             ; preds = %1102
  %1108 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1109 = load ptr, ptr %1108, align 8, !tbaa !17
  %1110 = load i64, ptr %24, align 8, !tbaa !13
  %1111 = getelementptr inbounds double, ptr %1109, i64 %1110
  store double -1.000000e+00, ptr %1111, align 8, !tbaa !11
  %1112 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %1113 = load ptr, ptr %1112, align 8, !tbaa !17
  %1114 = load i64, ptr %24, align 8, !tbaa !13
  %1115 = getelementptr inbounds double, ptr %1113, i64 %1114
  store double 1.000000e+00, ptr %1115, align 8, !tbaa !11
  %1116 = load ptr, ptr %3, align 8, !tbaa !5
  %1117 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %1116)
  %1118 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1119 = load ptr, ptr %1118, align 8, !tbaa !17
  %1120 = load i64, ptr %24, align 8, !tbaa !13
  %1121 = getelementptr inbounds double, ptr %1119, i64 %1120
  store double %1117, ptr %1121, align 8, !tbaa !11
  br label %1122

1122:                                             ; preds = %1107
  %1123 = load i64, ptr %24, align 8, !tbaa !13
  %1124 = add nsw i64 %1123, 1
  store i64 %1124, ptr %24, align 8, !tbaa !13
  br label %1102, !llvm.loop !60

1125:                                             ; preds = %1102
  %1126 = load i64, ptr %20, align 8, !tbaa !13
  %1127 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %1126, ptr noundef %5, ptr noundef %1127)
  %1128 = load double, ptr %29, align 8, !tbaa !11
  %1129 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef %1128, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %1129)
  %1130 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %1130)
  %1131 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %5, ptr noundef %14, ptr noundef %15, ptr noundef %1131)
  %1132 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %1132)
  %1133 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %1133)
  %1134 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %1135 = load i64, ptr %1134, align 8, !tbaa !41
  %1136 = icmp sle i64 %1135, 0
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1136, ptr noundef @.str.8, i32 noundef 42600, ptr noundef @.str.437)
  %1137 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %1138 = load i64, ptr %1137, align 8, !tbaa !41
  %1139 = icmp sgt i64 %1138, 0
  br i1 %1139, label %1140, label %1191

1140:                                             ; preds = %1125
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %1141

1141:                                             ; preds = %1187, %1140
  %1142 = load i64, ptr %24, align 8, !tbaa !13
  %1143 = load i64, ptr %20, align 8, !tbaa !13
  %1144 = sub nsw i64 %1143, 1
  %1145 = icmp sle i64 %1142, %1144
  br i1 %1145, label %1146, label %1190

1146:                                             ; preds = %1141
  %1147 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1148 = load ptr, ptr %1147, align 8, !tbaa !17
  %1149 = load i64, ptr %24, align 8, !tbaa !13
  %1150 = getelementptr inbounds double, ptr %1148, i64 %1149
  %1151 = load double, ptr %1150, align 8, !tbaa !11
  %1152 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1151, double noundef 0.000000e+00)
  br i1 %1152, label %1153, label %1165

1153:                                             ; preds = %1146
  %1154 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1155 = load ptr, ptr %1154, align 8, !tbaa !17
  %1156 = load i64, ptr %24, align 8, !tbaa !13
  %1157 = getelementptr inbounds double, ptr %1155, i64 %1156
  %1158 = load double, ptr %1157, align 8, !tbaa !11
  %1159 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1160 = load ptr, ptr %1159, align 8, !tbaa !17
  %1161 = load i64, ptr %24, align 8, !tbaa !13
  %1162 = getelementptr inbounds double, ptr %1160, i64 %1161
  %1163 = load double, ptr %1162, align 8, !tbaa !11
  %1164 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1158, double noundef %1163)
  br label %1165

1165:                                             ; preds = %1153, %1146
  %1166 = phi i1 [ false, %1146 ], [ %1164, %1153 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1166, ptr noundef @.str.8, i32 noundef 42605, ptr noundef @.str.438)
  %1167 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1168 = load ptr, ptr %1167, align 8, !tbaa !17
  %1169 = load i64, ptr %24, align 8, !tbaa !13
  %1170 = getelementptr inbounds double, ptr %1168, i64 %1169
  %1171 = load double, ptr %1170, align 8, !tbaa !11
  %1172 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1171, double noundef 0.000000e+00)
  br i1 %1172, label %1173, label %1185

1173:                                             ; preds = %1165
  %1174 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1175 = load ptr, ptr %1174, align 8, !tbaa !17
  %1176 = load i64, ptr %24, align 8, !tbaa !13
  %1177 = getelementptr inbounds double, ptr %1175, i64 %1176
  %1178 = load double, ptr %1177, align 8, !tbaa !11
  %1179 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %1180 = load ptr, ptr %1179, align 8, !tbaa !17
  %1181 = load i64, ptr %24, align 8, !tbaa !13
  %1182 = getelementptr inbounds double, ptr %1180, i64 %1181
  %1183 = load double, ptr %1182, align 8, !tbaa !11
  %1184 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1178, double noundef %1183)
  br label %1185

1185:                                             ; preds = %1173, %1165
  %1186 = phi i1 [ false, %1165 ], [ %1184, %1173 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1186, ptr noundef @.str.8, i32 noundef 42606, ptr noundef @.str.439)
  br label %1187

1187:                                             ; preds = %1185
  %1188 = load i64, ptr %24, align 8, !tbaa !13
  %1189 = add nsw i64 %1188, 1
  store i64 %1189, ptr %24, align 8, !tbaa !13
  br label %1141, !llvm.loop !61

1190:                                             ; preds = %1141
  br label %1191

1191:                                             ; preds = %1190, %1125
  %1192 = load i64, ptr %20, align 8, !tbaa !13
  %1193 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %1192, ptr noundef %5, ptr noundef %1193)
  %1194 = load double, ptr %29, align 8, !tbaa !11
  %1195 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef %1194, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %1195)
  %1196 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %1196)
  %1197 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %5, ptr noundef %14, ptr noundef %15, ptr noundef %1197)
  %1198 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %19, i1 noundef zeroext true, ptr noundef %1198)
  %1199 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %1199)
  %1200 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %27, ptr noundef %6, ptr noundef %1200)
  %1201 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %1202 = load i64, ptr %1201, align 8, !tbaa !41
  %1203 = icmp sle i64 %1202, 0
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1203, ptr noundef @.str.8, i32 noundef 42616, ptr noundef @.str.440)
  %1204 = getelementptr inbounds %"struct.alglib_impl::minqpreport", ptr %6, i32 0, i32 4
  %1205 = load i64, ptr %1204, align 8, !tbaa !41
  %1206 = icmp sgt i64 %1205, 0
  br i1 %1206, label %1207, label %1258

1207:                                             ; preds = %1191
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %1208

1208:                                             ; preds = %1254, %1207
  %1209 = load i64, ptr %24, align 8, !tbaa !13
  %1210 = load i64, ptr %20, align 8, !tbaa !13
  %1211 = sub nsw i64 %1210, 1
  %1212 = icmp sle i64 %1209, %1211
  br i1 %1212, label %1213, label %1257

1213:                                             ; preds = %1208
  %1214 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1215 = load ptr, ptr %1214, align 8, !tbaa !17
  %1216 = load i64, ptr %24, align 8, !tbaa !13
  %1217 = getelementptr inbounds double, ptr %1215, i64 %1216
  %1218 = load double, ptr %1217, align 8, !tbaa !11
  %1219 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1218, double noundef 0.000000e+00)
  br i1 %1219, label %1220, label %1232

1220:                                             ; preds = %1213
  %1221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1222 = load ptr, ptr %1221, align 8, !tbaa !17
  %1223 = load i64, ptr %24, align 8, !tbaa !13
  %1224 = getelementptr inbounds double, ptr %1222, i64 %1223
  %1225 = load double, ptr %1224, align 8, !tbaa !11
  %1226 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1227 = load ptr, ptr %1226, align 8, !tbaa !17
  %1228 = load i64, ptr %24, align 8, !tbaa !13
  %1229 = getelementptr inbounds double, ptr %1227, i64 %1228
  %1230 = load double, ptr %1229, align 8, !tbaa !11
  %1231 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1225, double noundef %1230)
  br label %1232

1232:                                             ; preds = %1220, %1213
  %1233 = phi i1 [ false, %1213 ], [ %1231, %1220 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1233, ptr noundef @.str.8, i32 noundef 42621, ptr noundef @.str.441)
  %1234 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1235 = load ptr, ptr %1234, align 8, !tbaa !17
  %1236 = load i64, ptr %24, align 8, !tbaa !13
  %1237 = getelementptr inbounds double, ptr %1235, i64 %1236
  %1238 = load double, ptr %1237, align 8, !tbaa !11
  %1239 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1238, double noundef 0.000000e+00)
  br i1 %1239, label %1240, label %1252

1240:                                             ; preds = %1232
  %1241 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1242 = load ptr, ptr %1241, align 8, !tbaa !17
  %1243 = load i64, ptr %24, align 8, !tbaa !13
  %1244 = getelementptr inbounds double, ptr %1242, i64 %1243
  %1245 = load double, ptr %1244, align 8, !tbaa !11
  %1246 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %1247 = load ptr, ptr %1246, align 8, !tbaa !17
  %1248 = load i64, ptr %24, align 8, !tbaa !13
  %1249 = getelementptr inbounds double, ptr %1247, i64 %1248
  %1250 = load double, ptr %1249, align 8, !tbaa !11
  %1251 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1245, double noundef %1250)
  br label %1252

1252:                                             ; preds = %1240, %1232
  %1253 = phi i1 [ false, %1232 ], [ %1251, %1240 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %35, i1 noundef zeroext %1253, ptr noundef @.str.8, i32 noundef 42622, ptr noundef @.str.442)
  br label %1254

1254:                                             ; preds = %1252
  %1255 = load i64, ptr %24, align 8, !tbaa !13
  %1256 = add nsw i64 %1255, 1
  store i64 %1256, ptr %24, align 8, !tbaa !13
  br label %1208, !llvm.loop !62

1257:                                             ; preds = %1208
  br label %1258

1258:                                             ; preds = %1257, %1191
  store i64 3, ptr %20, align 8, !tbaa !13
  %1259 = load i64, ptr %20, align 8, !tbaa !13
  %1260 = load i64, ptr %20, align 8, !tbaa !13
  %1261 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %9, i64 noundef %1259, i64 noundef %1260, ptr noundef %1261)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %1262

1262:                                             ; preds = %1285, %1258
  %1263 = load i64, ptr %24, align 8, !tbaa !13
  %1264 = load i64, ptr %20, align 8, !tbaa !13
  %1265 = sub nsw i64 %1264, 1
  %1266 = icmp sle i64 %1263, %1265
  br i1 %1266, label %1267, label %1288

1267:                                             ; preds = %1262
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %1268

1268:                                             ; preds = %1281, %1267
  %1269 = load i64, ptr %25, align 8, !tbaa !13
  %1270 = load i64, ptr %20, align 8, !tbaa !13
  %1271 = sub nsw i64 %1270, 1
  %1272 = icmp sle i64 %1269, %1271
  br i1 %1272, label %1273, label %1284

1273:                                             ; preds = %1268
  %1274 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %1275 = load ptr, ptr %1274, align 8, !tbaa !17
  %1276 = load i64, ptr %24, align 8, !tbaa !13
  %1277 = getelementptr inbounds ptr, ptr %1275, i64 %1276
  %1278 = load ptr, ptr %1277, align 8, !tbaa !5
  %1279 = load i64, ptr %25, align 8, !tbaa !13
  %1280 = getelementptr inbounds double, ptr %1278, i64 %1279
  store double 0.000000e+00, ptr %1280, align 8, !tbaa !11
  br label %1281

1281:                                             ; preds = %1273
  %1282 = load i64, ptr %25, align 8, !tbaa !13
  %1283 = add nsw i64 %1282, 1
  store i64 %1283, ptr %25, align 8, !tbaa !13
  br label %1268, !llvm.loop !63

1284:                                             ; preds = %1268
  br label %1285

1285:                                             ; preds = %1284
  %1286 = load i64, ptr %24, align 8, !tbaa !13
  %1287 = add nsw i64 %1286, 1
  store i64 %1287, ptr %24, align 8, !tbaa !13
  br label %1262, !llvm.loop !64

1288:                                             ; preds = %1262
  %1289 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %1290 = load ptr, ptr %1289, align 8, !tbaa !17
  %1291 = getelementptr inbounds ptr, ptr %1290, i64 0
  %1292 = load ptr, ptr %1291, align 8, !tbaa !5
  %1293 = getelementptr inbounds double, ptr %1292, i64 0
  store double 1.222990e+00, ptr %1293, align 8, !tbaa !11
  %1294 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %1295 = load ptr, ptr %1294, align 8, !tbaa !17
  %1296 = getelementptr inbounds ptr, ptr %1295, i64 1
  %1297 = load ptr, ptr %1296, align 8, !tbaa !5
  %1298 = getelementptr inbounds double, ptr %1297, i64 1
  store double 1.934900e+00, ptr %1298, align 8, !tbaa !11
  %1299 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %9, i32 0, i32 6
  %1300 = load ptr, ptr %1299, align 8, !tbaa !17
  %1301 = getelementptr inbounds ptr, ptr %1300, i64 2
  %1302 = load ptr, ptr %1301, align 8, !tbaa !5
  %1303 = getelementptr inbounds double, ptr %1302, i64 2
  store double 6.039240e-01, ptr %1303, align 8, !tbaa !11
  %1304 = load i64, ptr %20, align 8, !tbaa !13
  %1305 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %1304, ptr noundef %1305)
  %1306 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1307 = load ptr, ptr %1306, align 8, !tbaa !17
  %1308 = getelementptr inbounds double, ptr %1307, i64 0
  store double -4.972450e+00, ptr %1308, align 8, !tbaa !11
  %1309 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1310 = load ptr, ptr %1309, align 8, !tbaa !17
  %1311 = getelementptr inbounds double, ptr %1310, i64 1
  store double -9.090390e+00, ptr %1311, align 8, !tbaa !11
  %1312 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1313 = load ptr, ptr %1312, align 8, !tbaa !17
  %1314 = getelementptr inbounds double, ptr %1313, i64 2
  store double -4.638560e+00, ptr %1314, align 8, !tbaa !11
  %1315 = load i64, ptr %20, align 8, !tbaa !13
  %1316 = add nsw i64 %1315, 1
  %1317 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %11, i64 noundef 8, i64 noundef %1316, ptr noundef %1317)
  store i64 0, ptr %24, align 8, !tbaa !13
  br label %1318

1318:                                             ; preds = %1342, %1288
  %1319 = load i64, ptr %24, align 8, !tbaa !13
  %1320 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 0
  %1321 = load i64, ptr %1320, align 8, !tbaa !65
  %1322 = sub nsw i64 %1321, 1
  %1323 = icmp sle i64 %1319, %1322
  br i1 %1323, label %1324, label %1345

1324:                                             ; preds = %1318
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %1325

1325:                                             ; preds = %1338, %1324
  %1326 = load i64, ptr %25, align 8, !tbaa !13
  %1327 = load i64, ptr %20, align 8, !tbaa !13
  %1328 = sub nsw i64 %1327, 1
  %1329 = icmp sle i64 %1326, %1328
  br i1 %1329, label %1330, label %1341

1330:                                             ; preds = %1325
  %1331 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1332 = load ptr, ptr %1331, align 8, !tbaa !17
  %1333 = load i64, ptr %24, align 8, !tbaa !13
  %1334 = getelementptr inbounds ptr, ptr %1332, i64 %1333
  %1335 = load ptr, ptr %1334, align 8, !tbaa !5
  %1336 = load i64, ptr %25, align 8, !tbaa !13
  %1337 = getelementptr inbounds double, ptr %1335, i64 %1336
  store double 0.000000e+00, ptr %1337, align 8, !tbaa !11
  br label %1338

1338:                                             ; preds = %1330
  %1339 = load i64, ptr %25, align 8, !tbaa !13
  %1340 = add nsw i64 %1339, 1
  store i64 %1340, ptr %25, align 8, !tbaa !13
  br label %1325, !llvm.loop !67

1341:                                             ; preds = %1325
  br label %1342

1342:                                             ; preds = %1341
  %1343 = load i64, ptr %24, align 8, !tbaa !13
  %1344 = add nsw i64 %1343, 1
  store i64 %1344, ptr %24, align 8, !tbaa !13
  br label %1318, !llvm.loop !68

1345:                                             ; preds = %1318
  %1346 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1347 = load ptr, ptr %1346, align 8, !tbaa !17
  %1348 = getelementptr inbounds ptr, ptr %1347, i64 0
  %1349 = load ptr, ptr %1348, align 8, !tbaa !5
  %1350 = getelementptr inbounds double, ptr %1349, i64 0
  store double 1.000000e+00, ptr %1350, align 8, !tbaa !11
  %1351 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1352 = load ptr, ptr %1351, align 8, !tbaa !17
  %1353 = getelementptr inbounds ptr, ptr %1352, i64 0
  %1354 = load ptr, ptr %1353, align 8, !tbaa !5
  %1355 = load i64, ptr %20, align 8, !tbaa !13
  %1356 = getelementptr inbounds double, ptr %1354, i64 %1355
  store double 4.942980e+00, ptr %1356, align 8, !tbaa !11
  %1357 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1358 = load ptr, ptr %1357, align 8, !tbaa !17
  %1359 = getelementptr inbounds ptr, ptr %1358, i64 1
  %1360 = load ptr, ptr %1359, align 8, !tbaa !5
  %1361 = getelementptr inbounds double, ptr %1360, i64 0
  store double 1.000000e+00, ptr %1361, align 8, !tbaa !11
  %1362 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1363 = load ptr, ptr %1362, align 8, !tbaa !17
  %1364 = getelementptr inbounds ptr, ptr %1363, i64 1
  %1365 = load ptr, ptr %1364, align 8, !tbaa !5
  %1366 = load i64, ptr %20, align 8, !tbaa !13
  %1367 = getelementptr inbounds double, ptr %1365, i64 %1366
  store double 4.799810e+00, ptr %1367, align 8, !tbaa !11
  %1368 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1369 = load ptr, ptr %1368, align 8, !tbaa !17
  %1370 = getelementptr inbounds ptr, ptr %1369, i64 2
  %1371 = load ptr, ptr %1370, align 8, !tbaa !5
  %1372 = getelementptr inbounds double, ptr %1371, i64 1
  store double 1.000000e+00, ptr %1372, align 8, !tbaa !11
  %1373 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1374 = load ptr, ptr %1373, align 8, !tbaa !17
  %1375 = getelementptr inbounds ptr, ptr %1374, i64 2
  %1376 = load ptr, ptr %1375, align 8, !tbaa !5
  %1377 = load i64, ptr %20, align 8, !tbaa !13
  %1378 = getelementptr inbounds double, ptr %1376, i64 %1377
  store double -4.848000e-01, ptr %1378, align 8, !tbaa !11
  %1379 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1380 = load ptr, ptr %1379, align 8, !tbaa !17
  %1381 = getelementptr inbounds ptr, ptr %1380, i64 3
  %1382 = load ptr, ptr %1381, align 8, !tbaa !5
  %1383 = getelementptr inbounds double, ptr %1382, i64 1
  store double 1.000000e+00, ptr %1383, align 8, !tbaa !11
  %1384 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1385 = load ptr, ptr %1384, align 8, !tbaa !17
  %1386 = getelementptr inbounds ptr, ptr %1385, i64 3
  %1387 = load ptr, ptr %1386, align 8, !tbaa !5
  %1388 = load i64, ptr %20, align 8, !tbaa !13
  %1389 = getelementptr inbounds double, ptr %1387, i64 %1388
  store double -7.380400e-01, ptr %1389, align 8, !tbaa !11
  %1390 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1391 = load ptr, ptr %1390, align 8, !tbaa !17
  %1392 = getelementptr inbounds ptr, ptr %1391, i64 4
  %1393 = load ptr, ptr %1392, align 8, !tbaa !5
  %1394 = getelementptr inbounds double, ptr %1393, i64 2
  store double 1.000000e+00, ptr %1394, align 8, !tbaa !11
  %1395 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1396 = load ptr, ptr %1395, align 8, !tbaa !17
  %1397 = getelementptr inbounds ptr, ptr %1396, i64 4
  %1398 = load ptr, ptr %1397, align 8, !tbaa !5
  %1399 = load i64, ptr %20, align 8, !tbaa !13
  %1400 = getelementptr inbounds double, ptr %1398, i64 %1399
  store double 5.757290e-01, ptr %1400, align 8, !tbaa !11
  %1401 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1402 = load ptr, ptr %1401, align 8, !tbaa !17
  %1403 = getelementptr inbounds ptr, ptr %1402, i64 5
  %1404 = load ptr, ptr %1403, align 8, !tbaa !5
  %1405 = getelementptr inbounds double, ptr %1404, i64 2
  store double 1.000000e+00, ptr %1405, align 8, !tbaa !11
  %1406 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1407 = load ptr, ptr %1406, align 8, !tbaa !17
  %1408 = getelementptr inbounds ptr, ptr %1407, i64 5
  %1409 = load ptr, ptr %1408, align 8, !tbaa !5
  %1410 = load i64, ptr %20, align 8, !tbaa !13
  %1411 = getelementptr inbounds double, ptr %1409, i64 %1410
  store double 4.586450e-01, ptr %1411, align 8, !tbaa !11
  %1412 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1413 = load ptr, ptr %1412, align 8, !tbaa !17
  %1414 = getelementptr inbounds ptr, ptr %1413, i64 6
  %1415 = load ptr, ptr %1414, align 8, !tbaa !5
  %1416 = getelementptr inbounds double, ptr %1415, i64 0
  store double 1.000000e+00, ptr %1416, align 8, !tbaa !11
  %1417 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1418 = load ptr, ptr %1417, align 8, !tbaa !17
  %1419 = getelementptr inbounds ptr, ptr %1418, i64 6
  %1420 = load ptr, ptr %1419, align 8, !tbaa !5
  %1421 = getelementptr inbounds double, ptr %1420, i64 2
  store double -1.000000e+00, ptr %1421, align 8, !tbaa !11
  %1422 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1423 = load ptr, ptr %1422, align 8, !tbaa !17
  %1424 = getelementptr inbounds ptr, ptr %1423, i64 6
  %1425 = load ptr, ptr %1424, align 8, !tbaa !5
  %1426 = load i64, ptr %20, align 8, !tbaa !13
  %1427 = getelementptr inbounds double, ptr %1425, i64 %1426
  store double -5.465740e-02, ptr %1427, align 8, !tbaa !11
  %1428 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1429 = load ptr, ptr %1428, align 8, !tbaa !17
  %1430 = getelementptr inbounds ptr, ptr %1429, i64 7
  %1431 = load ptr, ptr %1430, align 8, !tbaa !5
  %1432 = getelementptr inbounds double, ptr %1431, i64 0
  store double 1.000000e+00, ptr %1432, align 8, !tbaa !11
  %1433 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1434 = load ptr, ptr %1433, align 8, !tbaa !17
  %1435 = getelementptr inbounds ptr, ptr %1434, i64 7
  %1436 = load ptr, ptr %1435, align 8, !tbaa !5
  %1437 = getelementptr inbounds double, ptr %1436, i64 2
  store double -1.000000e+00, ptr %1437, align 8, !tbaa !11
  %1438 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1439 = load ptr, ptr %1438, align 8, !tbaa !17
  %1440 = getelementptr inbounds ptr, ptr %1439, i64 7
  %1441 = load ptr, ptr %1440, align 8, !tbaa !5
  %1442 = load i64, ptr %20, align 8, !tbaa !13
  %1443 = getelementptr inbounds double, ptr %1441, i64 %1442
  store double -5.900440e-01, ptr %1443, align 8, !tbaa !11
  %1444 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef 8, ptr noundef %1444)
  %1445 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1446 = load ptr, ptr %1445, align 8, !tbaa !17
  %1447 = getelementptr inbounds i64, ptr %1446, i64 0
  store i64 -1, ptr %1447, align 8, !tbaa !13
  %1448 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1449 = load ptr, ptr %1448, align 8, !tbaa !17
  %1450 = getelementptr inbounds i64, ptr %1449, i64 1
  store i64 1, ptr %1450, align 8, !tbaa !13
  %1451 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1452 = load ptr, ptr %1451, align 8, !tbaa !17
  %1453 = getelementptr inbounds i64, ptr %1452, i64 2
  store i64 -1, ptr %1453, align 8, !tbaa !13
  %1454 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1455 = load ptr, ptr %1454, align 8, !tbaa !17
  %1456 = getelementptr inbounds i64, ptr %1455, i64 3
  store i64 1, ptr %1456, align 8, !tbaa !13
  %1457 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1458 = load ptr, ptr %1457, align 8, !tbaa !17
  %1459 = getelementptr inbounds i64, ptr %1458, i64 4
  store i64 -1, ptr %1459, align 8, !tbaa !13
  %1460 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1461 = load ptr, ptr %1460, align 8, !tbaa !17
  %1462 = getelementptr inbounds i64, ptr %1461, i64 5
  store i64 1, ptr %1462, align 8, !tbaa !13
  %1463 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1464 = load ptr, ptr %1463, align 8, !tbaa !17
  %1465 = getelementptr inbounds i64, ptr %1464, i64 6
  store i64 -1, ptr %1465, align 8, !tbaa !13
  %1466 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1467 = load ptr, ptr %1466, align 8, !tbaa !17
  %1468 = getelementptr inbounds i64, ptr %1467, i64 7
  store i64 1, ptr %1468, align 8, !tbaa !13
  %1469 = load i64, ptr %20, align 8, !tbaa !13
  %1470 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef %1469, ptr noundef %1470)
  %1471 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1472 = load ptr, ptr %1471, align 8, !tbaa !17
  %1473 = getelementptr inbounds double, ptr %1472, i64 0
  store double 1.431710e-01, ptr %1473, align 8, !tbaa !11
  %1474 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1475 = load ptr, ptr %1474, align 8, !tbaa !17
  %1476 = getelementptr inbounds double, ptr %1475, i64 1
  store double 2.532400e-01, ptr %1476, align 8, !tbaa !11
  %1477 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1478 = load ptr, ptr %1477, align 8, !tbaa !17
  %1479 = getelementptr inbounds double, ptr %1478, i64 2
  store double 1.170840e-01, ptr %1479, align 8, !tbaa !11
  %1480 = load i64, ptr %20, align 8, !tbaa !13
  %1481 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %1480, ptr noundef %1481)
  %1482 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %1483 = load ptr, ptr %1482, align 8, !tbaa !17
  %1484 = getelementptr inbounds double, ptr %1483, i64 0
  store double 3.511260e+00, ptr %1484, align 8, !tbaa !11
  %1485 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %1486 = load ptr, ptr %1485, align 8, !tbaa !17
  %1487 = getelementptr inbounds double, ptr %1486, i64 1
  store double 4.057310e+00, ptr %1487, align 8, !tbaa !11
  %1488 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %1489 = load ptr, ptr %1488, align 8, !tbaa !17
  %1490 = getelementptr inbounds double, ptr %1489, i64 2
  store double 6.633070e+00, ptr %1490, align 8, !tbaa !11
  store i64 1, ptr %26, align 8, !tbaa !13
  br label %1491

1491:                                             ; preds = %1557, %1345
  %1492 = load i64, ptr %26, align 8, !tbaa !13
  %1493 = icmp sle i64 %1492, 10000
  br i1 %1493, label %1494, label %1560

1494:                                             ; preds = %1491
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %1495

1495:                                             ; preds = %1516, %1494
  %1496 = load i64, ptr %25, align 8, !tbaa !13
  %1497 = load i64, ptr %20, align 8, !tbaa !13
  %1498 = sub nsw i64 %1497, 1
  %1499 = icmp sle i64 %1496, %1498
  br i1 %1499, label %1500, label %1519

1500:                                             ; preds = %1495
  %1501 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1502 = load ptr, ptr %1501, align 8, !tbaa !17
  %1503 = load i64, ptr %25, align 8, !tbaa !13
  %1504 = getelementptr inbounds double, ptr %1502, i64 %1503
  %1505 = load double, ptr %1504, align 8, !tbaa !11
  %1506 = load ptr, ptr %3, align 8, !tbaa !5
  %1507 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef %23, i64 noundef 2, ptr noundef %1506)
  %1508 = mul nsw i64 2, %1507
  %1509 = sub nsw i64 %1508, 1
  %1510 = sitofp i64 %1509 to double
  %1511 = call double @llvm.fmuladd.f64(double %1510, double 1.000000e-01, double %1505)
  %1512 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %1513 = load ptr, ptr %1512, align 8, !tbaa !17
  %1514 = load i64, ptr %25, align 8, !tbaa !13
  %1515 = getelementptr inbounds double, ptr %1513, i64 %1514
  store double %1511, ptr %1515, align 8, !tbaa !11
  br label %1516

1516:                                             ; preds = %1500
  %1517 = load i64, ptr %25, align 8, !tbaa !13
  %1518 = add nsw i64 %1517, 1
  store i64 %1518, ptr %25, align 8, !tbaa !13
  br label %1495, !llvm.loop !69

1519:                                             ; preds = %1495
  store i64 0, ptr %25, align 8, !tbaa !13
  br label %1520

1520:                                             ; preds = %1545, %1519
  %1521 = load i64, ptr %25, align 8, !tbaa !13
  %1522 = icmp sle i64 %1521, 5
  br i1 %1522, label %1523, label %1548

1523:                                             ; preds = %1520
  %1524 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1525 = load ptr, ptr %1524, align 8, !tbaa !17
  %1526 = load i64, ptr %25, align 8, !tbaa !13
  %1527 = getelementptr inbounds ptr, ptr %1525, i64 %1526
  %1528 = load ptr, ptr %1527, align 8, !tbaa !5
  %1529 = load i64, ptr %20, align 8, !tbaa !13
  %1530 = getelementptr inbounds double, ptr %1528, i64 %1529
  %1531 = load double, ptr %1530, align 8, !tbaa !11
  %1532 = load ptr, ptr %3, align 8, !tbaa !5
  %1533 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef %23, i64 noundef 2, ptr noundef %1532)
  %1534 = mul nsw i64 2, %1533
  %1535 = sub nsw i64 %1534, 1
  %1536 = sitofp i64 %1535 to double
  %1537 = call double @llvm.fmuladd.f64(double %1536, double 1.000000e-01, double %1531)
  %1538 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 6
  %1539 = load ptr, ptr %1538, align 8, !tbaa !17
  %1540 = load i64, ptr %25, align 8, !tbaa !13
  %1541 = getelementptr inbounds ptr, ptr %1539, i64 %1540
  %1542 = load ptr, ptr %1541, align 8, !tbaa !5
  %1543 = load i64, ptr %20, align 8, !tbaa !13
  %1544 = getelementptr inbounds double, ptr %1542, i64 %1543
  store double %1537, ptr %1544, align 8, !tbaa !11
  br label %1545

1545:                                             ; preds = %1523
  %1546 = load i64, ptr %25, align 8, !tbaa !13
  %1547 = add nsw i64 %1546, 1
  store i64 %1547, ptr %25, align 8, !tbaa !13
  br label %1520, !llvm.loop !70

1548:                                             ; preds = %1520
  %1549 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 3, ptr noundef %5, ptr noundef %1549)
  %1550 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef %5, ptr noundef %9, i1 noundef zeroext true, ptr noundef %1550)
  %1551 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %12, ptr noundef %1551)
  %1552 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl10minqpsetlcEPNS_10minqpstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %5, ptr noundef %11, ptr noundef %18, i64 noundef 8, ptr noundef %1552)
  %1553 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %1553)
  %1554 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %5, ptr noundef %21, ptr noundef %1554)
  %1555 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef %5, ptr noundef %1555)
  %1556 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef %5, ptr noundef %22, ptr noundef %6, ptr noundef %1556)
  br label %1557

1557:                                             ; preds = %1548
  %1558 = load i64, ptr %26, align 8, !tbaa !13
  %1559 = add nsw i64 %1558, 1
  store i64 %1559, ptr %26, align 8, !tbaa !13
  br label %1491, !llvm.loop !71

1560:                                             ; preds = %1491
  %1561 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1561)
  %1562 = load i8, ptr %35, align 1, !tbaa !9, !range !15, !noundef !16
  %1563 = trunc i8 %1562 to i1
  store i1 %1563, ptr %2, align 1
  store i32 1, ptr %36, align 4
  br label %1564

1564:                                             ; preds = %1560, %676
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 368, 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 64, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 35232, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #5
  %1565 = load i1, ptr %2, align 1
  ret i1 %1565
}

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef) #1

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = !{!31, !14, i64 0}
!31 = !{!"_ZTSN11alglib_impl9ae_vectorE", !14, i64 0, !14, i64 8, !10, i64 16, !32, i64 24, !7, i64 56}
!32 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!33 = distinct !{!33, !19}
!34 = distinct !{!34, !19}
!35 = distinct !{!35, !19}
!36 = distinct !{!36, !19}
!37 = distinct !{!37, !19}
!38 = distinct !{!38, !19}
!39 = distinct !{!39, !19}
!40 = distinct !{!40, !19}
!41 = !{!42, !14, i64 32}
!42 = !{!"_ZTSN11alglib_impl11minqpreportE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!43 = distinct !{!43, !19}
!44 = distinct !{!44, !19}
!45 = distinct !{!45, !19}
!46 = distinct !{!46, !19}
!47 = distinct !{!47, !19}
!48 = distinct !{!48, !19}
!49 = distinct !{!49, !19}
!50 = !{!51, !12, i64 24}
!51 = !{!"_ZTSN11alglib_impl8ae_stateE", !14, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !6, i64 32, !32, i64 40, !6, i64 72, !52, i64 80, !6, i64 88, !53, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!52 = !{!"_ZTSN11alglib_impl13ae_error_typeE", !7, i64 0}
!53 = !{!"long long", !7, i64 0}
!54 = !{!51, !12, i64 16}
!55 = distinct !{!55, !19}
!56 = distinct !{!56, !19}
!57 = distinct !{!57, !19}
!58 = distinct !{!58, !19}
!59 = distinct !{!59, !19}
!60 = distinct !{!60, !19}
!61 = distinct !{!61, !19}
!62 = distinct !{!62, !19}
!63 = distinct !{!63, !19}
!64 = distinct !{!64, !19}
!65 = !{!66, !14, i64 0}
!66 = !{!"_ZTSN11alglib_impl9ae_matrixE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !10, i64 32, !32, i64 40, !7, i64 72}
!67 = distinct !{!67, !19}
!68 = distinct !{!68, !19}
!69 = distinct !{!69, !19}
!70 = distinct !{!70, !19}
!71 = distinct !{!71, !19}


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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::minqpstate" = type { i64, %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qpbleicsettings", %"struct.alglib_impl::qpdenseaulsettings", i8, i64, i64, %"struct.alglib_impl::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_matrix", i64, i64, %"struct.alglib_impl::sparsematrix", i64, i64, %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::qpbleicbuffers", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::qpdenseaulbuffers" }
%"struct.alglib_impl::qqpsettings" = type { double, double, double, i64, i8, i8, i64, i64, i64, i64 }
%"struct.alglib_impl::qpbleicsettings" = type { double, double, double, i64 }
%"struct.alglib_impl::qpdenseaulsettings" = type { double, i64, double }
%"struct.alglib_impl::convexquadraticmodel" = type { i64, i64, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i8, i8, i8, i8 }
%"struct.alglib_impl::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::qpbleicbuffers" = type { %"struct.alglib_impl::minbleicstate", %"struct.alglib_impl::minbleicreport", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64 }
%"struct.alglib_impl::minbleicstate" = type { i64, i64, double, double, double, i64, i8, i8, double, double, %"struct.alglib_impl::sactiveset", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, i8, i8, i8, %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, i64, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, double, double, double, double, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::snnlssolver", double, double, double, double, double, double, double, double, double, i64, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::linminstate", double, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, i64, %"struct.alglib_impl::smoothnessmonitor", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sactiveset" = type { i64, i64, %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::ae_vector", i64, i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::snnlssolver", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::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::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::linminstate" = type { i8, i8, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"struct.alglib_impl::smoothnessmonitor" = type { i64, i64, i8, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i8, double, double, i8, %"struct.alglib_impl::optguardreport", double, double, %"struct.alglib_impl::optguardnonc1test0report", %"struct.alglib_impl::optguardnonc1test0report", double, double, %"struct.alglib_impl::optguardnonc1test1report", %"struct.alglib_impl::optguardnonc1test1report", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardreport" = type { i8, i8, i64, double, i8, i8, i8, i64, double, i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardnonc1test0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test1report" = type { i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::minbleicreport" = type { i64, i64, i64, i64, double, double, double, double, i64, i64, i64, i64 }
%"struct.alglib_impl::qqpbuffers" = type { i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sactiveset", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsebuffers", i64, i64, i64, i64 }
%"struct.alglib_impl::sparsebuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::qpdenseaulbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::minqpreport" = type { i64, i64, i64, i64, i64 }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }

@.str.8 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.424 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.425 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.426 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.427 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.428 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.429 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.430 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.431 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.432 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.433 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.434 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.435 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.436 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.437 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.438 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.439 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.440 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.441 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.442 = external hidden unnamed_addr constant [22 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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef, ptr noundef) local_unnamed_addr #1

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #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_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

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

declare noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

declare void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef, i1 noundef zeroext, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

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

declare noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10bleictestsPN11alglib_impl8ae_stateE(ptr noundef %0) local_unnamed_addr #4 {
  %2 = alloca %"struct.alglib_impl::ae_frame", align 8
  %3 = alloca %"struct.alglib_impl::minqpstate", align 8
  %4 = alloca %"struct.alglib_impl::minqpreport", align 8
  %5 = alloca %"struct.alglib_impl::ae_vector", align 8
  %6 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %7 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %8 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %9 = alloca %"struct.alglib_impl::ae_vector", align 8
  %10 = alloca %"struct.alglib_impl::ae_vector", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::sparsematrix", 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::hqrndstate", align 8
  %20 = alloca %"struct.alglib_impl::ae_vector", align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 35232, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 80, 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 64, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 368, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %0, ptr noundef nonnull %2)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(35232) %3, i8 0, i64 35232, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %4, i8 0, i64 40, 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(80) %6, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %7, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %8, i8 0, i64 80, 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 @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(368) %16, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %19, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %20, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %21, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl16_minqpstate_initEPvPNS_8ae_stateEb(ptr noundef nonnull %3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_minqpreport_initEPvPNS_8ae_stateEb(ptr noundef nonnull %4, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %5, i64 noundef 0, i64 noundef 2, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %0, 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 %0, 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 %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 2, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef nonnull %16, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %17, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %18, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef nonnull %19, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %20, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %21, i64 noundef 0, i64 noundef 3, ptr noundef %0, i1 noundef zeroext true)
  store i8 0, ptr %22, align 1, !tbaa !5
  call void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %19, ptr noundef %0)
  %23 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %24 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %23, double noundef 5.000000e-01)
  call void @_ZN11alglib_impl16spdmatrixrndcondEldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef 20, double noundef 1.000000e+03, ptr noundef nonnull %7, ptr noundef %0)
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef 20, i64 noundef 20, i64 noundef 0, ptr noundef nonnull %16, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 20, i64 noundef 20, ptr noundef %0)
  %25 = getelementptr inbounds i8, ptr %7, i64 72
  %26 = getelementptr inbounds i8, ptr %6, i64 72
  br i1 %24, label %.preheader558.us, label %.preheader558

.preheader558.us:                                 ; preds = %1, %.split.us562
  %.0513560.us = phi i64 [ %27, %.split.us562 ], [ 0, %1 ]
  br label %28

.split.us562:                                     ; preds = %44
  %27 = add nuw nsw i64 %.0513560.us, 1
  %exitcond642.not = icmp eq i64 %27, 20
  br i1 %exitcond642.not, label %.split566.us, label %.preheader558.us, !llvm.loop !9

28:                                               ; preds = %.preheader558.us, %44
  %.0510559.us563 = phi i64 [ 0, %.preheader558.us ], [ %45, %44 ]
  %.not.us.not = icmp ult i64 %.0510559.us563, %.0513560.us
  br i1 %.not.us.not, label %44, label %29

29:                                               ; preds = %28
  %30 = load ptr, ptr %25, align 8, !tbaa !11
  %31 = getelementptr inbounds ptr, ptr %30, i64 %.0513560.us
  %32 = load ptr, ptr %31, align 8, !tbaa !12
  %33 = getelementptr inbounds double, ptr %32, i64 %.0510559.us563
  %34 = load double, ptr %33, align 8, !tbaa !14
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %.0513560.us, i64 noundef %.0510559.us563, double noundef %34, ptr noundef %0)
  %35 = load ptr, ptr %25, align 8, !tbaa !11
  %36 = getelementptr inbounds ptr, ptr %35, i64 %.0513560.us
  %37 = load ptr, ptr %36, align 8, !tbaa !12
  %38 = getelementptr inbounds double, ptr %37, i64 %.0510559.us563
  %39 = load double, ptr %38, align 8, !tbaa !14
  %40 = load ptr, ptr %26, align 8, !tbaa !11
  %41 = getelementptr inbounds ptr, ptr %40, i64 %.0513560.us
  %42 = load ptr, ptr %41, align 8, !tbaa !12
  %43 = getelementptr inbounds double, ptr %42, i64 %.0510559.us563
  store double %39, ptr %43, align 8, !tbaa !14
  br label %44

44:                                               ; preds = %29, %28
  %45 = add nuw nsw i64 %.0510559.us563, 1
  %exitcond641.not = icmp eq i64 %45, 20
  br i1 %exitcond641.not, label %.split.us562, label %28, !llvm.loop !16

.preheader558:                                    ; preds = %1, %.split.us
  %.0513560 = phi i64 [ %64, %.split.us ], [ 0, %1 ]
  br label %46

46:                                               ; preds = %62, %.preheader558
  %.0510559.us = phi i64 [ 0, %.preheader558 ], [ %63, %62 ]
  %.not534.us = icmp ugt i64 %.0510559.us, %.0513560
  br i1 %.not534.us, label %62, label %47

47:                                               ; preds = %46
  %48 = load ptr, ptr %25, align 8, !tbaa !11
  %49 = getelementptr inbounds ptr, ptr %48, i64 %.0513560
  %50 = load ptr, ptr %49, align 8, !tbaa !12
  %51 = getelementptr inbounds double, ptr %50, i64 %.0510559.us
  %52 = load double, ptr %51, align 8, !tbaa !14
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %.0513560, i64 noundef %.0510559.us, double noundef %52, ptr noundef %0)
  %53 = load ptr, ptr %25, align 8, !tbaa !11
  %54 = getelementptr inbounds ptr, ptr %53, i64 %.0513560
  %55 = load ptr, ptr %54, align 8, !tbaa !12
  %56 = getelementptr inbounds double, ptr %55, i64 %.0510559.us
  %57 = load double, ptr %56, align 8, !tbaa !14
  %58 = load ptr, ptr %26, align 8, !tbaa !11
  %59 = getelementptr inbounds ptr, ptr %58, i64 %.0513560
  %60 = load ptr, ptr %59, align 8, !tbaa !12
  %61 = getelementptr inbounds double, ptr %60, i64 %.0510559.us
  store double %57, ptr %61, align 8, !tbaa !14
  br label %62

62:                                               ; preds = %47, %46
  %63 = add nuw nsw i64 %.0510559.us, 1
  %exitcond.not = icmp eq i64 %63, 20
  br i1 %exitcond.not, label %.split.us, label %46, !llvm.loop !16

.split.us:                                        ; preds = %62
  %64 = add nuw nsw i64 %.0513560, 1
  %exitcond640.not = icmp eq i64 %64, 20
  br i1 %exitcond640.not, label %.split566.us, label %.preheader558, !llvm.loop !9

.split566.us:                                     ; preds = %.split.us, %.split.us562
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef 20, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef 20, ptr noundef %0)
  %65 = getelementptr inbounds i8, ptr %9, i64 56
  %66 = getelementptr inbounds i8, ptr %13, i64 56
  br label %67

67:                                               ; preds = %.split566.us, %67
  %.1514567 = phi i64 [ 0, %.split566.us ], [ %76, %67 ]
  %68 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %69 = load ptr, ptr %65, align 8, !tbaa !11
  %70 = getelementptr inbounds double, ptr %69, i64 %.1514567
  store double %68, ptr %70, align 8, !tbaa !14
  %71 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %72 = fdiv double %71, 1.000000e+01
  %73 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %72, ptr noundef %0)
  %74 = load ptr, ptr %66, align 8, !tbaa !11
  %75 = getelementptr inbounds double, ptr %74, i64 %.1514567
  store double %73, ptr %75, align 8, !tbaa !14
  %76 = add nuw nsw i64 %.1514567, 1
  %exitcond643.not = icmp eq i64 %76, 20
  br i1 %exitcond643.not, label %77, label %67, !llvm.loop !17

77:                                               ; preds = %67
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 5, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %6, i1 noundef zeroext %24, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 5, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %16, i1 noundef zeroext %24, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %21, ptr noundef nonnull %4, ptr noundef %0)
  %78 = getelementptr inbounds i8, ptr %20, i64 56
  %79 = getelementptr inbounds i8, ptr %21, i64 56
  br label %80

80:                                               ; preds = %77, %80
  %.2515568 = phi i64 [ 0, %77 ], [ %90, %80 ]
  %81 = load ptr, ptr %78, align 8, !tbaa !11
  %82 = getelementptr inbounds double, ptr %81, i64 %.2515568
  %83 = load double, ptr %82, align 8, !tbaa !14
  %84 = load ptr, ptr %79, align 8, !tbaa !11
  %85 = getelementptr inbounds double, ptr %84, i64 %.2515568
  %86 = load double, ptr %85, align 8, !tbaa !14
  %87 = fsub double %83, %86
  %88 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %87, ptr noundef %0)
  %89 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %88, double noundef 1.000000e-03)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %89, ptr noundef nonnull @.str.8, i32 noundef 42211, ptr noundef nonnull @.str.424)
  %90 = add nuw nsw i64 %.2515568, 1
  %exitcond644.not = icmp eq i64 %90, 20
  br i1 %exitcond644.not, label %91, label %80, !llvm.loop !18

91:                                               ; preds = %80
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef 20, ptr noundef %0)
  %92 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %93 = fdiv double %92, 1.000000e+01
  %94 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %93, ptr noundef %0)
  %95 = load ptr, ptr %66, align 8, !tbaa !11
  store double %94, ptr %95, align 8, !tbaa !14
  %96 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %97 = fdiv double %96, 1.000000e+01
  %98 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %97, ptr noundef %0)
  %99 = load ptr, ptr %66, align 8, !tbaa !11
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  store double %98, ptr %100, align 8, !tbaa !14
  %101 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %102 = fdiv double %101, 1.000000e+01
  %103 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %102, ptr noundef %0)
  %104 = load ptr, ptr %66, align 8, !tbaa !11
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  store double %103, ptr %105, align 8, !tbaa !14
  %106 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %107 = fdiv double %106, 1.000000e+01
  %108 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %107, ptr noundef %0)
  %109 = load ptr, ptr %66, align 8, !tbaa !11
  %110 = getelementptr inbounds i8, ptr %109, i64 24
  store double %108, ptr %110, align 8, !tbaa !14
  %111 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %112 = fdiv double %111, 1.000000e+01
  %113 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %112, ptr noundef %0)
  %114 = load ptr, ptr %66, align 8, !tbaa !11
  %115 = getelementptr inbounds i8, ptr %114, i64 32
  store double %113, ptr %115, align 8, !tbaa !14
  %116 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %117 = fdiv double %116, 1.000000e+01
  %118 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %117, ptr noundef %0)
  %119 = load ptr, ptr %66, align 8, !tbaa !11
  %120 = getelementptr inbounds i8, ptr %119, i64 40
  store double %118, ptr %120, align 8, !tbaa !14
  %121 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %122 = fdiv double %121, 1.000000e+01
  %123 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %122, ptr noundef %0)
  %124 = load ptr, ptr %66, align 8, !tbaa !11
  %125 = getelementptr inbounds i8, ptr %124, i64 48
  store double %123, ptr %125, align 8, !tbaa !14
  %126 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %127 = fdiv double %126, 1.000000e+01
  %128 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %127, ptr noundef %0)
  %129 = load ptr, ptr %66, align 8, !tbaa !11
  %130 = getelementptr inbounds i8, ptr %129, i64 56
  store double %128, ptr %130, align 8, !tbaa !14
  %131 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %132 = fdiv double %131, 1.000000e+01
  %133 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %132, ptr noundef %0)
  %134 = load ptr, ptr %66, align 8, !tbaa !11
  %135 = getelementptr inbounds i8, ptr %134, i64 64
  store double %133, ptr %135, align 8, !tbaa !14
  %136 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %137 = fdiv double %136, 1.000000e+01
  %138 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %137, ptr noundef %0)
  %139 = load ptr, ptr %66, align 8, !tbaa !11
  %140 = getelementptr inbounds i8, ptr %139, i64 72
  store double %138, ptr %140, align 8, !tbaa !14
  %141 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %142 = fdiv double %141, 1.000000e+01
  %143 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %142, ptr noundef %0)
  %144 = load ptr, ptr %66, align 8, !tbaa !11
  %145 = getelementptr inbounds i8, ptr %144, i64 80
  store double %143, ptr %145, align 8, !tbaa !14
  %146 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %147 = fdiv double %146, 1.000000e+01
  %148 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %147, ptr noundef %0)
  %149 = load ptr, ptr %66, align 8, !tbaa !11
  %150 = getelementptr inbounds i8, ptr %149, i64 88
  store double %148, ptr %150, align 8, !tbaa !14
  %151 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %152 = fdiv double %151, 1.000000e+01
  %153 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %152, ptr noundef %0)
  %154 = load ptr, ptr %66, align 8, !tbaa !11
  %155 = getelementptr inbounds i8, ptr %154, i64 96
  store double %153, ptr %155, align 8, !tbaa !14
  %156 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %157 = fdiv double %156, 1.000000e+01
  %158 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %157, ptr noundef %0)
  %159 = load ptr, ptr %66, align 8, !tbaa !11
  %160 = getelementptr inbounds i8, ptr %159, i64 104
  store double %158, ptr %160, align 8, !tbaa !14
  %161 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %162 = fdiv double %161, 1.000000e+01
  %163 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %162, ptr noundef %0)
  %164 = load ptr, ptr %66, align 8, !tbaa !11
  %165 = getelementptr inbounds i8, ptr %164, i64 112
  store double %163, ptr %165, align 8, !tbaa !14
  %166 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %167 = fdiv double %166, 1.000000e+01
  %168 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %167, ptr noundef %0)
  %169 = load ptr, ptr %66, align 8, !tbaa !11
  %170 = getelementptr inbounds i8, ptr %169, i64 120
  store double %168, ptr %170, align 8, !tbaa !14
  %171 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %172 = fdiv double %171, 1.000000e+01
  %173 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %172, ptr noundef %0)
  %174 = load ptr, ptr %66, align 8, !tbaa !11
  %175 = getelementptr inbounds i8, ptr %174, i64 128
  store double %173, ptr %175, align 8, !tbaa !14
  %176 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %177 = fdiv double %176, 1.000000e+01
  %178 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %177, ptr noundef %0)
  %179 = load ptr, ptr %66, align 8, !tbaa !11
  %180 = getelementptr inbounds i8, ptr %179, i64 136
  store double %178, ptr %180, align 8, !tbaa !14
  %181 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %182 = fdiv double %181, 1.000000e+01
  %183 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %182, ptr noundef %0)
  %184 = load ptr, ptr %66, align 8, !tbaa !11
  %185 = getelementptr inbounds i8, ptr %184, i64 144
  store double %183, ptr %185, align 8, !tbaa !14
  %186 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %187 = fdiv double %186, 1.000000e+01
  %188 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %187, ptr noundef %0)
  %189 = load ptr, ptr %66, align 8, !tbaa !11
  %190 = getelementptr inbounds i8, ptr %189, i64 152
  store double %188, ptr %190, align 8, !tbaa !14
  call void @_ZN11alglib_impl16spdmatrixrndcondEldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef 20, double noundef 1.000000e+03, ptr noundef nonnull %6, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef 20, i64 noundef 20, ptr noundef %0)
  %.pre = load ptr, ptr %26, align 8, !tbaa !11
  %.pre680 = load ptr, ptr %66, align 8, !tbaa !11
  %.pre681 = load ptr, ptr %25, align 8, !tbaa !11
  br label %.preheader557

.preheader557:                                    ; preds = %91, %.preheader557
  %191 = phi ptr [ %.pre681, %91 ], [ %356, %.preheader557 ]
  %192 = phi ptr [ %.pre680, %91 ], [ %418, %.preheader557 ]
  %193 = phi ptr [ %.pre, %91 ], [ %346, %.preheader557 ]
  %.4517571 = phi i64 [ 0, %91 ], [ %434, %.preheader557 ]
  %194 = getelementptr inbounds ptr, ptr %193, i64 %.4517571
  %195 = load ptr, ptr %194, align 8, !tbaa !12
  %196 = load double, ptr %195, align 8, !tbaa !14
  %197 = getelementptr inbounds double, ptr %192, i64 %.4517571
  %198 = load double, ptr %197, align 8, !tbaa !14
  %199 = load double, ptr %192, align 8, !tbaa !14
  %200 = fmul double %198, %199
  %201 = fdiv double %196, %200
  %202 = getelementptr inbounds ptr, ptr %191, i64 %.4517571
  %203 = load ptr, ptr %202, align 8, !tbaa !12
  store double %201, ptr %203, align 8, !tbaa !14
  %204 = load ptr, ptr %26, align 8, !tbaa !11
  %205 = getelementptr inbounds ptr, ptr %204, i64 %.4517571
  %206 = load ptr, ptr %205, align 8, !tbaa !12
  %207 = getelementptr inbounds i8, ptr %206, i64 8
  %208 = load double, ptr %207, align 8, !tbaa !14
  %209 = load ptr, ptr %66, align 8, !tbaa !11
  %210 = getelementptr inbounds double, ptr %209, i64 %.4517571
  %211 = load double, ptr %210, align 8, !tbaa !14
  %212 = getelementptr inbounds i8, ptr %209, i64 8
  %213 = load double, ptr %212, align 8, !tbaa !14
  %214 = fmul double %211, %213
  %215 = fdiv double %208, %214
  %216 = load ptr, ptr %25, align 8, !tbaa !11
  %217 = getelementptr inbounds ptr, ptr %216, i64 %.4517571
  %218 = load ptr, ptr %217, align 8, !tbaa !12
  %219 = getelementptr inbounds i8, ptr %218, i64 8
  store double %215, ptr %219, align 8, !tbaa !14
  %220 = load ptr, ptr %26, align 8, !tbaa !11
  %221 = getelementptr inbounds ptr, ptr %220, i64 %.4517571
  %222 = load ptr, ptr %221, align 8, !tbaa !12
  %223 = getelementptr inbounds i8, ptr %222, i64 16
  %224 = load double, ptr %223, align 8, !tbaa !14
  %225 = load ptr, ptr %66, align 8, !tbaa !11
  %226 = getelementptr inbounds double, ptr %225, i64 %.4517571
  %227 = load double, ptr %226, align 8, !tbaa !14
  %228 = getelementptr inbounds i8, ptr %225, i64 16
  %229 = load double, ptr %228, align 8, !tbaa !14
  %230 = fmul double %227, %229
  %231 = fdiv double %224, %230
  %232 = load ptr, ptr %25, align 8, !tbaa !11
  %233 = getelementptr inbounds ptr, ptr %232, i64 %.4517571
  %234 = load ptr, ptr %233, align 8, !tbaa !12
  %235 = getelementptr inbounds i8, ptr %234, i64 16
  store double %231, ptr %235, align 8, !tbaa !14
  %236 = load ptr, ptr %26, align 8, !tbaa !11
  %237 = getelementptr inbounds ptr, ptr %236, i64 %.4517571
  %238 = load ptr, ptr %237, align 8, !tbaa !12
  %239 = getelementptr inbounds i8, ptr %238, i64 24
  %240 = load double, ptr %239, align 8, !tbaa !14
  %241 = load ptr, ptr %66, align 8, !tbaa !11
  %242 = getelementptr inbounds double, ptr %241, i64 %.4517571
  %243 = load double, ptr %242, align 8, !tbaa !14
  %244 = getelementptr inbounds i8, ptr %241, i64 24
  %245 = load double, ptr %244, align 8, !tbaa !14
  %246 = fmul double %243, %245
  %247 = fdiv double %240, %246
  %248 = load ptr, ptr %25, align 8, !tbaa !11
  %249 = getelementptr inbounds ptr, ptr %248, i64 %.4517571
  %250 = load ptr, ptr %249, align 8, !tbaa !12
  %251 = getelementptr inbounds i8, ptr %250, i64 24
  store double %247, ptr %251, align 8, !tbaa !14
  %252 = load ptr, ptr %26, align 8, !tbaa !11
  %253 = getelementptr inbounds ptr, ptr %252, i64 %.4517571
  %254 = load ptr, ptr %253, align 8, !tbaa !12
  %255 = getelementptr inbounds i8, ptr %254, i64 32
  %256 = load double, ptr %255, align 8, !tbaa !14
  %257 = load ptr, ptr %66, align 8, !tbaa !11
  %258 = getelementptr inbounds double, ptr %257, i64 %.4517571
  %259 = load double, ptr %258, align 8, !tbaa !14
  %260 = getelementptr inbounds i8, ptr %257, i64 32
  %261 = load double, ptr %260, align 8, !tbaa !14
  %262 = fmul double %259, %261
  %263 = fdiv double %256, %262
  %264 = load ptr, ptr %25, align 8, !tbaa !11
  %265 = getelementptr inbounds ptr, ptr %264, i64 %.4517571
  %266 = load ptr, ptr %265, align 8, !tbaa !12
  %267 = getelementptr inbounds i8, ptr %266, i64 32
  store double %263, ptr %267, align 8, !tbaa !14
  %268 = load ptr, ptr %26, align 8, !tbaa !11
  %269 = getelementptr inbounds ptr, ptr %268, i64 %.4517571
  %270 = load ptr, ptr %269, align 8, !tbaa !12
  %271 = getelementptr inbounds i8, ptr %270, i64 40
  %272 = load double, ptr %271, align 8, !tbaa !14
  %273 = load ptr, ptr %66, align 8, !tbaa !11
  %274 = getelementptr inbounds double, ptr %273, i64 %.4517571
  %275 = load double, ptr %274, align 8, !tbaa !14
  %276 = getelementptr inbounds i8, ptr %273, i64 40
  %277 = load double, ptr %276, align 8, !tbaa !14
  %278 = fmul double %275, %277
  %279 = fdiv double %272, %278
  %280 = load ptr, ptr %25, align 8, !tbaa !11
  %281 = getelementptr inbounds ptr, ptr %280, i64 %.4517571
  %282 = load ptr, ptr %281, align 8, !tbaa !12
  %283 = getelementptr inbounds i8, ptr %282, i64 40
  store double %279, ptr %283, align 8, !tbaa !14
  %284 = load ptr, ptr %26, align 8, !tbaa !11
  %285 = getelementptr inbounds ptr, ptr %284, i64 %.4517571
  %286 = load ptr, ptr %285, align 8, !tbaa !12
  %287 = getelementptr inbounds i8, ptr %286, i64 48
  %288 = load double, ptr %287, align 8, !tbaa !14
  %289 = load ptr, ptr %66, align 8, !tbaa !11
  %290 = getelementptr inbounds double, ptr %289, i64 %.4517571
  %291 = load double, ptr %290, align 8, !tbaa !14
  %292 = getelementptr inbounds i8, ptr %289, i64 48
  %293 = load double, ptr %292, align 8, !tbaa !14
  %294 = fmul double %291, %293
  %295 = fdiv double %288, %294
  %296 = load ptr, ptr %25, align 8, !tbaa !11
  %297 = getelementptr inbounds ptr, ptr %296, i64 %.4517571
  %298 = load ptr, ptr %297, align 8, !tbaa !12
  %299 = getelementptr inbounds i8, ptr %298, i64 48
  store double %295, ptr %299, align 8, !tbaa !14
  %300 = load ptr, ptr %26, align 8, !tbaa !11
  %301 = getelementptr inbounds ptr, ptr %300, i64 %.4517571
  %302 = load ptr, ptr %301, align 8, !tbaa !12
  %303 = getelementptr inbounds i8, ptr %302, i64 56
  %304 = load double, ptr %303, align 8, !tbaa !14
  %305 = load ptr, ptr %66, align 8, !tbaa !11
  %306 = getelementptr inbounds double, ptr %305, i64 %.4517571
  %307 = load double, ptr %306, align 8, !tbaa !14
  %308 = getelementptr inbounds i8, ptr %305, i64 56
  %309 = load double, ptr %308, align 8, !tbaa !14
  %310 = fmul double %307, %309
  %311 = fdiv double %304, %310
  %312 = load ptr, ptr %25, align 8, !tbaa !11
  %313 = getelementptr inbounds ptr, ptr %312, i64 %.4517571
  %314 = load ptr, ptr %313, align 8, !tbaa !12
  %315 = getelementptr inbounds i8, ptr %314, i64 56
  store double %311, ptr %315, align 8, !tbaa !14
  %316 = load ptr, ptr %26, align 8, !tbaa !11
  %317 = getelementptr inbounds ptr, ptr %316, i64 %.4517571
  %318 = load ptr, ptr %317, align 8, !tbaa !12
  %319 = getelementptr inbounds i8, ptr %318, i64 64
  %320 = load double, ptr %319, align 8, !tbaa !14
  %321 = load ptr, ptr %66, align 8, !tbaa !11
  %322 = getelementptr inbounds double, ptr %321, i64 %.4517571
  %323 = load double, ptr %322, align 8, !tbaa !14
  %324 = getelementptr inbounds i8, ptr %321, i64 64
  %325 = load double, ptr %324, align 8, !tbaa !14
  %326 = fmul double %323, %325
  %327 = fdiv double %320, %326
  %328 = load ptr, ptr %25, align 8, !tbaa !11
  %329 = getelementptr inbounds ptr, ptr %328, i64 %.4517571
  %330 = load ptr, ptr %329, align 8, !tbaa !12
  %331 = getelementptr inbounds i8, ptr %330, i64 64
  store double %327, ptr %331, align 8, !tbaa !14
  %332 = load ptr, ptr %26, align 8, !tbaa !11
  %333 = getelementptr inbounds ptr, ptr %332, i64 %.4517571
  %334 = load ptr, ptr %333, align 8, !tbaa !12
  %335 = getelementptr inbounds i8, ptr %334, i64 72
  %336 = load double, ptr %335, align 8, !tbaa !14
  %337 = load double, ptr %322, align 8, !tbaa !14
  %338 = getelementptr inbounds i8, ptr %321, i64 72
  %339 = load double, ptr %338, align 8, !tbaa !14
  %340 = fmul double %337, %339
  %341 = fdiv double %336, %340
  %342 = load ptr, ptr %25, align 8, !tbaa !11
  %343 = getelementptr inbounds ptr, ptr %342, i64 %.4517571
  %344 = load ptr, ptr %343, align 8, !tbaa !12
  %345 = getelementptr inbounds i8, ptr %344, i64 72
  store double %341, ptr %345, align 8, !tbaa !14
  %346 = load ptr, ptr %26, align 8, !tbaa !11
  %347 = getelementptr inbounds ptr, ptr %346, i64 %.4517571
  %348 = load ptr, ptr %347, align 8, !tbaa !12
  %349 = getelementptr inbounds i8, ptr %348, i64 80
  %350 = load double, ptr %349, align 8, !tbaa !14
  %351 = load double, ptr %322, align 8, !tbaa !14
  %352 = getelementptr inbounds i8, ptr %321, i64 80
  %353 = load double, ptr %352, align 8, !tbaa !14
  %354 = fmul double %351, %353
  %355 = fdiv double %350, %354
  %356 = load ptr, ptr %25, align 8, !tbaa !11
  %357 = getelementptr inbounds ptr, ptr %356, i64 %.4517571
  %358 = load ptr, ptr %357, align 8, !tbaa !12
  %359 = getelementptr inbounds i8, ptr %358, i64 80
  store double %355, ptr %359, align 8, !tbaa !14
  %360 = getelementptr inbounds i8, ptr %348, i64 88
  %361 = load double, ptr %360, align 8, !tbaa !14
  %362 = load double, ptr %322, align 8, !tbaa !14
  %363 = getelementptr inbounds i8, ptr %321, i64 88
  %364 = load double, ptr %363, align 8, !tbaa !14
  %365 = fmul double %362, %364
  %366 = fdiv double %361, %365
  %367 = getelementptr inbounds i8, ptr %358, i64 88
  store double %366, ptr %367, align 8, !tbaa !14
  %368 = getelementptr inbounds i8, ptr %348, i64 96
  %369 = load double, ptr %368, align 8, !tbaa !14
  %370 = load double, ptr %322, align 8, !tbaa !14
  %371 = getelementptr inbounds i8, ptr %321, i64 96
  %372 = load double, ptr %371, align 8, !tbaa !14
  %373 = fmul double %370, %372
  %374 = fdiv double %369, %373
  %375 = getelementptr inbounds i8, ptr %358, i64 96
  store double %374, ptr %375, align 8, !tbaa !14
  %376 = getelementptr inbounds i8, ptr %348, i64 104
  %377 = load double, ptr %376, align 8, !tbaa !14
  %378 = load double, ptr %322, align 8, !tbaa !14
  %379 = getelementptr inbounds i8, ptr %321, i64 104
  %380 = load double, ptr %379, align 8, !tbaa !14
  %381 = fmul double %378, %380
  %382 = fdiv double %377, %381
  %383 = getelementptr inbounds i8, ptr %358, i64 104
  store double %382, ptr %383, align 8, !tbaa !14
  %384 = getelementptr inbounds i8, ptr %348, i64 112
  %385 = load double, ptr %384, align 8, !tbaa !14
  %386 = load double, ptr %322, align 8, !tbaa !14
  %387 = getelementptr inbounds i8, ptr %321, i64 112
  %388 = load double, ptr %387, align 8, !tbaa !14
  %389 = fmul double %386, %388
  %390 = fdiv double %385, %389
  %391 = getelementptr inbounds i8, ptr %358, i64 112
  store double %390, ptr %391, align 8, !tbaa !14
  %392 = getelementptr inbounds i8, ptr %348, i64 120
  %393 = load double, ptr %392, align 8, !tbaa !14
  %394 = load double, ptr %322, align 8, !tbaa !14
  %395 = getelementptr inbounds i8, ptr %321, i64 120
  %396 = load double, ptr %395, align 8, !tbaa !14
  %397 = fmul double %394, %396
  %398 = fdiv double %393, %397
  %399 = getelementptr inbounds i8, ptr %358, i64 120
  store double %398, ptr %399, align 8, !tbaa !14
  %400 = getelementptr inbounds i8, ptr %348, i64 128
  %401 = load double, ptr %400, align 8, !tbaa !14
  %402 = load double, ptr %322, align 8, !tbaa !14
  %403 = getelementptr inbounds i8, ptr %321, i64 128
  %404 = load double, ptr %403, align 8, !tbaa !14
  %405 = fmul double %402, %404
  %406 = fdiv double %401, %405
  %407 = getelementptr inbounds i8, ptr %358, i64 128
  store double %406, ptr %407, align 8, !tbaa !14
  %408 = getelementptr inbounds i8, ptr %348, i64 136
  %409 = load double, ptr %408, align 8, !tbaa !14
  %410 = load double, ptr %322, align 8, !tbaa !14
  %411 = getelementptr inbounds i8, ptr %321, i64 136
  %412 = load double, ptr %411, align 8, !tbaa !14
  %413 = fmul double %410, %412
  %414 = fdiv double %409, %413
  %415 = getelementptr inbounds i8, ptr %358, i64 136
  store double %414, ptr %415, align 8, !tbaa !14
  %416 = getelementptr inbounds i8, ptr %348, i64 144
  %417 = load double, ptr %416, align 8, !tbaa !14
  %418 = load ptr, ptr %66, align 8, !tbaa !11
  %419 = getelementptr inbounds double, ptr %418, i64 %.4517571
  %420 = load double, ptr %419, align 8, !tbaa !14
  %421 = getelementptr inbounds i8, ptr %418, i64 144
  %422 = load double, ptr %421, align 8, !tbaa !14
  %423 = fmul double %420, %422
  %424 = fdiv double %417, %423
  %425 = getelementptr inbounds i8, ptr %358, i64 144
  store double %424, ptr %425, align 8, !tbaa !14
  %426 = getelementptr inbounds i8, ptr %348, i64 152
  %427 = load double, ptr %426, align 8, !tbaa !14
  %428 = load double, ptr %419, align 8, !tbaa !14
  %429 = getelementptr inbounds i8, ptr %418, i64 152
  %430 = load double, ptr %429, align 8, !tbaa !14
  %431 = fmul double %428, %430
  %432 = fdiv double %427, %431
  %433 = getelementptr inbounds i8, ptr %358, i64 152
  store double %432, ptr %433, align 8, !tbaa !14
  %434 = add nuw nsw i64 %.4517571, 1
  %exitcond647.not = icmp eq i64 %434, 20
  br i1 %exitcond647.not, label %435, label %.preheader557, !llvm.loop !19

435:                                              ; preds = %.preheader557
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef 20, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef 20, ptr noundef %0)
  %436 = getelementptr inbounds i8, ptr %10, i64 56
  %437 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %438 = load ptr, ptr %65, align 8, !tbaa !11
  store double %437, ptr %438, align 8, !tbaa !14
  %439 = load ptr, ptr %65, align 8, !tbaa !11
  %440 = load double, ptr %439, align 8, !tbaa !14
  %441 = load ptr, ptr %66, align 8, !tbaa !11
  %442 = load double, ptr %441, align 8, !tbaa !14
  %443 = fdiv double %440, %442
  %444 = load ptr, ptr %436, align 8, !tbaa !11
  store double %443, ptr %444, align 8, !tbaa !14
  %445 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %446 = load ptr, ptr %65, align 8, !tbaa !11
  %447 = getelementptr inbounds i8, ptr %446, i64 8
  store double %445, ptr %447, align 8, !tbaa !14
  %448 = load ptr, ptr %65, align 8, !tbaa !11
  %449 = getelementptr inbounds i8, ptr %448, i64 8
  %450 = load double, ptr %449, align 8, !tbaa !14
  %451 = load ptr, ptr %66, align 8, !tbaa !11
  %452 = getelementptr inbounds i8, ptr %451, i64 8
  %453 = load double, ptr %452, align 8, !tbaa !14
  %454 = fdiv double %450, %453
  %455 = load ptr, ptr %436, align 8, !tbaa !11
  %456 = getelementptr inbounds i8, ptr %455, i64 8
  store double %454, ptr %456, align 8, !tbaa !14
  %457 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %458 = load ptr, ptr %65, align 8, !tbaa !11
  %459 = getelementptr inbounds i8, ptr %458, i64 16
  store double %457, ptr %459, align 8, !tbaa !14
  %460 = load ptr, ptr %65, align 8, !tbaa !11
  %461 = getelementptr inbounds i8, ptr %460, i64 16
  %462 = load double, ptr %461, align 8, !tbaa !14
  %463 = load ptr, ptr %66, align 8, !tbaa !11
  %464 = getelementptr inbounds i8, ptr %463, i64 16
  %465 = load double, ptr %464, align 8, !tbaa !14
  %466 = fdiv double %462, %465
  %467 = load ptr, ptr %436, align 8, !tbaa !11
  %468 = getelementptr inbounds i8, ptr %467, i64 16
  store double %466, ptr %468, align 8, !tbaa !14
  %469 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %470 = load ptr, ptr %65, align 8, !tbaa !11
  %471 = getelementptr inbounds i8, ptr %470, i64 24
  store double %469, ptr %471, align 8, !tbaa !14
  %472 = load ptr, ptr %65, align 8, !tbaa !11
  %473 = getelementptr inbounds i8, ptr %472, i64 24
  %474 = load double, ptr %473, align 8, !tbaa !14
  %475 = load ptr, ptr %66, align 8, !tbaa !11
  %476 = getelementptr inbounds i8, ptr %475, i64 24
  %477 = load double, ptr %476, align 8, !tbaa !14
  %478 = fdiv double %474, %477
  %479 = load ptr, ptr %436, align 8, !tbaa !11
  %480 = getelementptr inbounds i8, ptr %479, i64 24
  store double %478, ptr %480, align 8, !tbaa !14
  %481 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %482 = load ptr, ptr %65, align 8, !tbaa !11
  %483 = getelementptr inbounds i8, ptr %482, i64 32
  store double %481, ptr %483, align 8, !tbaa !14
  %484 = load ptr, ptr %65, align 8, !tbaa !11
  %485 = getelementptr inbounds i8, ptr %484, i64 32
  %486 = load double, ptr %485, align 8, !tbaa !14
  %487 = load ptr, ptr %66, align 8, !tbaa !11
  %488 = getelementptr inbounds i8, ptr %487, i64 32
  %489 = load double, ptr %488, align 8, !tbaa !14
  %490 = fdiv double %486, %489
  %491 = load ptr, ptr %436, align 8, !tbaa !11
  %492 = getelementptr inbounds i8, ptr %491, i64 32
  store double %490, ptr %492, align 8, !tbaa !14
  %493 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %494 = load ptr, ptr %65, align 8, !tbaa !11
  %495 = getelementptr inbounds i8, ptr %494, i64 40
  store double %493, ptr %495, align 8, !tbaa !14
  %496 = load ptr, ptr %65, align 8, !tbaa !11
  %497 = getelementptr inbounds i8, ptr %496, i64 40
  %498 = load double, ptr %497, align 8, !tbaa !14
  %499 = load ptr, ptr %66, align 8, !tbaa !11
  %500 = getelementptr inbounds i8, ptr %499, i64 40
  %501 = load double, ptr %500, align 8, !tbaa !14
  %502 = fdiv double %498, %501
  %503 = load ptr, ptr %436, align 8, !tbaa !11
  %504 = getelementptr inbounds i8, ptr %503, i64 40
  store double %502, ptr %504, align 8, !tbaa !14
  %505 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %506 = load ptr, ptr %65, align 8, !tbaa !11
  %507 = getelementptr inbounds i8, ptr %506, i64 48
  store double %505, ptr %507, align 8, !tbaa !14
  %508 = load ptr, ptr %65, align 8, !tbaa !11
  %509 = getelementptr inbounds i8, ptr %508, i64 48
  %510 = load double, ptr %509, align 8, !tbaa !14
  %511 = load ptr, ptr %66, align 8, !tbaa !11
  %512 = getelementptr inbounds i8, ptr %511, i64 48
  %513 = load double, ptr %512, align 8, !tbaa !14
  %514 = fdiv double %510, %513
  %515 = load ptr, ptr %436, align 8, !tbaa !11
  %516 = getelementptr inbounds i8, ptr %515, i64 48
  store double %514, ptr %516, align 8, !tbaa !14
  %517 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %518 = load ptr, ptr %65, align 8, !tbaa !11
  %519 = getelementptr inbounds i8, ptr %518, i64 56
  store double %517, ptr %519, align 8, !tbaa !14
  %520 = load ptr, ptr %65, align 8, !tbaa !11
  %521 = getelementptr inbounds i8, ptr %520, i64 56
  %522 = load double, ptr %521, align 8, !tbaa !14
  %523 = load ptr, ptr %66, align 8, !tbaa !11
  %524 = getelementptr inbounds i8, ptr %523, i64 56
  %525 = load double, ptr %524, align 8, !tbaa !14
  %526 = fdiv double %522, %525
  %527 = load ptr, ptr %436, align 8, !tbaa !11
  %528 = getelementptr inbounds i8, ptr %527, i64 56
  store double %526, ptr %528, align 8, !tbaa !14
  %529 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %530 = load ptr, ptr %65, align 8, !tbaa !11
  %531 = getelementptr inbounds i8, ptr %530, i64 64
  store double %529, ptr %531, align 8, !tbaa !14
  %532 = load ptr, ptr %66, align 8, !tbaa !11
  %533 = getelementptr inbounds i8, ptr %532, i64 64
  %534 = load double, ptr %533, align 8, !tbaa !14
  %535 = fdiv double %529, %534
  %536 = load ptr, ptr %436, align 8, !tbaa !11
  %537 = getelementptr inbounds i8, ptr %536, i64 64
  store double %535, ptr %537, align 8, !tbaa !14
  %538 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %539 = load ptr, ptr %65, align 8, !tbaa !11
  %540 = getelementptr inbounds i8, ptr %539, i64 72
  store double %538, ptr %540, align 8, !tbaa !14
  %541 = load ptr, ptr %66, align 8, !tbaa !11
  %542 = getelementptr inbounds i8, ptr %541, i64 72
  %543 = load double, ptr %542, align 8, !tbaa !14
  %544 = fdiv double %538, %543
  %545 = load ptr, ptr %436, align 8, !tbaa !11
  %546 = getelementptr inbounds i8, ptr %545, i64 72
  store double %544, ptr %546, align 8, !tbaa !14
  %547 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %548 = load ptr, ptr %65, align 8, !tbaa !11
  %549 = getelementptr inbounds i8, ptr %548, i64 80
  store double %547, ptr %549, align 8, !tbaa !14
  %550 = load ptr, ptr %66, align 8, !tbaa !11
  %551 = getelementptr inbounds i8, ptr %550, i64 80
  %552 = load double, ptr %551, align 8, !tbaa !14
  %553 = fdiv double %547, %552
  %554 = load ptr, ptr %436, align 8, !tbaa !11
  %555 = getelementptr inbounds i8, ptr %554, i64 80
  store double %553, ptr %555, align 8, !tbaa !14
  %556 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %557 = load ptr, ptr %65, align 8, !tbaa !11
  %558 = getelementptr inbounds i8, ptr %557, i64 88
  store double %556, ptr %558, align 8, !tbaa !14
  %559 = load ptr, ptr %66, align 8, !tbaa !11
  %560 = getelementptr inbounds i8, ptr %559, i64 88
  %561 = load double, ptr %560, align 8, !tbaa !14
  %562 = fdiv double %556, %561
  %563 = load ptr, ptr %436, align 8, !tbaa !11
  %564 = getelementptr inbounds i8, ptr %563, i64 88
  store double %562, ptr %564, align 8, !tbaa !14
  %565 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %566 = load ptr, ptr %65, align 8, !tbaa !11
  %567 = getelementptr inbounds i8, ptr %566, i64 96
  store double %565, ptr %567, align 8, !tbaa !14
  %568 = load ptr, ptr %66, align 8, !tbaa !11
  %569 = getelementptr inbounds i8, ptr %568, i64 96
  %570 = load double, ptr %569, align 8, !tbaa !14
  %571 = fdiv double %565, %570
  %572 = load ptr, ptr %436, align 8, !tbaa !11
  %573 = getelementptr inbounds i8, ptr %572, i64 96
  store double %571, ptr %573, align 8, !tbaa !14
  %574 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %575 = load ptr, ptr %65, align 8, !tbaa !11
  %576 = getelementptr inbounds i8, ptr %575, i64 104
  store double %574, ptr %576, align 8, !tbaa !14
  %577 = load ptr, ptr %66, align 8, !tbaa !11
  %578 = getelementptr inbounds i8, ptr %577, i64 104
  %579 = load double, ptr %578, align 8, !tbaa !14
  %580 = fdiv double %574, %579
  %581 = load ptr, ptr %436, align 8, !tbaa !11
  %582 = getelementptr inbounds i8, ptr %581, i64 104
  store double %580, ptr %582, align 8, !tbaa !14
  %583 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %584 = load ptr, ptr %65, align 8, !tbaa !11
  %585 = getelementptr inbounds i8, ptr %584, i64 112
  store double %583, ptr %585, align 8, !tbaa !14
  %586 = load ptr, ptr %66, align 8, !tbaa !11
  %587 = getelementptr inbounds i8, ptr %586, i64 112
  %588 = load double, ptr %587, align 8, !tbaa !14
  %589 = fdiv double %583, %588
  %590 = load ptr, ptr %436, align 8, !tbaa !11
  %591 = getelementptr inbounds i8, ptr %590, i64 112
  store double %589, ptr %591, align 8, !tbaa !14
  %592 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %593 = load ptr, ptr %65, align 8, !tbaa !11
  %594 = getelementptr inbounds i8, ptr %593, i64 120
  store double %592, ptr %594, align 8, !tbaa !14
  %595 = load ptr, ptr %66, align 8, !tbaa !11
  %596 = getelementptr inbounds i8, ptr %595, i64 120
  %597 = load double, ptr %596, align 8, !tbaa !14
  %598 = fdiv double %592, %597
  %599 = load ptr, ptr %436, align 8, !tbaa !11
  %600 = getelementptr inbounds i8, ptr %599, i64 120
  store double %598, ptr %600, align 8, !tbaa !14
  %601 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %602 = load ptr, ptr %65, align 8, !tbaa !11
  %603 = getelementptr inbounds i8, ptr %602, i64 128
  store double %601, ptr %603, align 8, !tbaa !14
  %604 = load ptr, ptr %66, align 8, !tbaa !11
  %605 = getelementptr inbounds i8, ptr %604, i64 128
  %606 = load double, ptr %605, align 8, !tbaa !14
  %607 = fdiv double %601, %606
  %608 = load ptr, ptr %436, align 8, !tbaa !11
  %609 = getelementptr inbounds i8, ptr %608, i64 128
  store double %607, ptr %609, align 8, !tbaa !14
  %610 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %611 = load ptr, ptr %65, align 8, !tbaa !11
  %612 = getelementptr inbounds i8, ptr %611, i64 136
  store double %610, ptr %612, align 8, !tbaa !14
  %613 = load ptr, ptr %66, align 8, !tbaa !11
  %614 = getelementptr inbounds i8, ptr %613, i64 136
  %615 = load double, ptr %614, align 8, !tbaa !14
  %616 = fdiv double %610, %615
  %617 = load ptr, ptr %436, align 8, !tbaa !11
  %618 = getelementptr inbounds i8, ptr %617, i64 136
  store double %616, ptr %618, align 8, !tbaa !14
  %619 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %620 = load ptr, ptr %65, align 8, !tbaa !11
  %621 = getelementptr inbounds i8, ptr %620, i64 144
  store double %619, ptr %621, align 8, !tbaa !14
  %622 = load ptr, ptr %66, align 8, !tbaa !11
  %623 = getelementptr inbounds i8, ptr %622, i64 144
  %624 = load double, ptr %623, align 8, !tbaa !14
  %625 = fdiv double %619, %624
  %626 = load ptr, ptr %436, align 8, !tbaa !11
  %627 = getelementptr inbounds i8, ptr %626, i64 144
  store double %625, ptr %627, align 8, !tbaa !14
  %628 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %629 = load ptr, ptr %65, align 8, !tbaa !11
  %630 = getelementptr inbounds i8, ptr %629, i64 152
  store double %628, ptr %630, align 8, !tbaa !14
  %631 = load ptr, ptr %66, align 8, !tbaa !11
  %632 = getelementptr inbounds i8, ptr %631, i64 152
  %633 = load double, ptr %632, align 8, !tbaa !14
  %634 = fdiv double %628, %633
  %635 = load ptr, ptr %436, align 8, !tbaa !11
  %636 = getelementptr inbounds i8, ptr %635, i64 152
  store double %634, ptr %636, align 8, !tbaa !14
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 5, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %6, i1 noundef zeroext true, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 5, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %10, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %7, i1 noundef zeroext true, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpsetscaleEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %13, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %21, ptr noundef nonnull %4, ptr noundef %0)
  br label %637

637:                                              ; preds = %435, %637
  %.6519573 = phi i64 [ 0, %435 ], [ %651, %637 ]
  %638 = load ptr, ptr %66, align 8, !tbaa !11
  %639 = getelementptr inbounds double, ptr %638, i64 %.6519573
  %640 = load double, ptr %639, align 8, !tbaa !14
  %641 = load ptr, ptr %78, align 8, !tbaa !11
  %642 = getelementptr inbounds double, ptr %641, i64 %.6519573
  %643 = load double, ptr %642, align 8, !tbaa !14
  %644 = load ptr, ptr %79, align 8, !tbaa !11
  %645 = getelementptr inbounds double, ptr %644, i64 %.6519573
  %646 = load double, ptr %645, align 8, !tbaa !14
  %647 = fneg double %646
  %648 = call double @llvm.fmuladd.f64(double %640, double %643, double %647)
  %649 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %648, ptr noundef %0)
  %650 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %649, double noundef 1.000000e-03)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %650, ptr noundef nonnull @.str.8, i32 noundef 42271, ptr noundef nonnull @.str.425)
  %651 = add nuw nsw i64 %.6519573, 1
  %exitcond649.not = icmp eq i64 %651, 20
  br i1 %exitcond649.not, label %652, label %637, !llvm.loop !20

652:                                              ; preds = %637
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef 20000, i64 noundef 20000, i64 noundef 0, ptr noundef nonnull %16, ptr noundef %0)
  br label %653

653:                                              ; preds = %652, %653
  %.7520574 = phi i64 [ 0, %652 ], [ %657, %653 ]
  %654 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %655 = fmul double %654, -3.000000e+00
  %656 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 1.000000e+01, double noundef %655, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %.7520574, i64 noundef %.7520574, double noundef %656, ptr noundef %0)
  %657 = add nuw nsw i64 %.7520574, 1
  %exitcond650.not = icmp eq i64 %657, 20000
  br i1 %exitcond650.not, label %658, label %653, !llvm.loop !21

658:                                              ; preds = %653
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef 20000, ptr noundef %0)
  br label %659

659:                                              ; preds = %658, %659
  %.8521575 = phi i64 [ 0, %658 ], [ %663, %659 ]
  %660 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %661 = load ptr, ptr %65, align 8, !tbaa !11
  %662 = getelementptr inbounds double, ptr %661, i64 %.8521575
  store double %660, ptr %662, align 8, !tbaa !14
  %663 = add nuw nsw i64 %.8521575, 1
  %exitcond651.not = icmp eq i64 %663, 20000
  br i1 %exitcond651.not, label %664, label %659, !llvm.loop !22

664:                                              ; preds = %659
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20000, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 10, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %16, i1 noundef zeroext true, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef 12, ptr noundef %0)
  %665 = getelementptr inbounds i8, ptr %5, i64 56
  %666 = load ptr, ptr %665, align 8, !tbaa !11
  store i64 2, ptr %666, align 8, !tbaa !23
  %667 = load ptr, ptr %665, align 8, !tbaa !11
  %668 = getelementptr inbounds i8, ptr %667, i64 8
  store i64 3, ptr %668, align 8, !tbaa !23
  %669 = load ptr, ptr %665, align 8, !tbaa !11
  %670 = getelementptr inbounds i8, ptr %669, i64 16
  store i64 4, ptr %670, align 8, !tbaa !23
  %671 = load ptr, ptr %665, align 8, !tbaa !11
  %672 = getelementptr inbounds i8, ptr %671, i64 24
  store i64 5, ptr %672, align 8, !tbaa !23
  %673 = load ptr, ptr %665, align 8, !tbaa !11
  %674 = getelementptr inbounds i8, ptr %673, i64 32
  store i64 6, ptr %674, align 8, !tbaa !23
  %675 = load ptr, ptr %665, align 8, !tbaa !11
  %676 = getelementptr inbounds i8, ptr %675, i64 40
  store i64 7, ptr %676, align 8, !tbaa !23
  %677 = load ptr, ptr %665, align 8, !tbaa !11
  %678 = getelementptr inbounds i8, ptr %677, i64 48
  store i64 8, ptr %678, align 8, !tbaa !23
  %679 = load ptr, ptr %665, align 8, !tbaa !11
  %680 = getelementptr inbounds i8, ptr %679, i64 56
  store i64 9, ptr %680, align 8, !tbaa !23
  %681 = load ptr, ptr %665, align 8, !tbaa !11
  %682 = getelementptr inbounds i8, ptr %681, i64 64
  store i64 10, ptr %682, align 8, !tbaa !23
  %683 = getelementptr inbounds i8, ptr %681, i64 72
  store i64 20, ptr %683, align 8, !tbaa !23
  %684 = getelementptr inbounds i8, ptr %681, i64 80
  store i64 40, ptr %684, align 8, !tbaa !23
  %685 = getelementptr inbounds i8, ptr %681, i64 88
  store i64 80, ptr %685, align 8, !tbaa !23
  %686 = load i64, ptr %5, align 8, !tbaa !25
  %.not.not613 = icmp sgt i64 %686, 0
  br i1 %.not.not613, label %.preheader556.lr.ph, label %._crit_edge615

.preheader556.lr.ph:                              ; preds = %664
  %687 = getelementptr inbounds i8, ptr %11, i64 56
  %688 = getelementptr inbounds i8, ptr %12, i64 56
  %689 = getelementptr inbounds i8, ptr %17, i64 56
  %690 = getelementptr inbounds i8, ptr %4, i64 32
  %691 = getelementptr inbounds i8, ptr %18, i64 56
  br label %.preheader556

.preheader556:                                    ; preds = %.preheader556.lr.ph, %969
  %.0522614 = phi i64 [ 0, %.preheader556.lr.ph ], [ %970, %969 ]
  br label %692

692:                                              ; preds = %.preheader556, %._crit_edge610
  %.0508612 = phi i64 [ 1, %.preheader556 ], [ %968, %._crit_edge610 ]
  %693 = load ptr, ptr %665, align 8, !tbaa !11
  %694 = getelementptr inbounds i64, ptr %693, i64 %.0522614
  %695 = load i64, ptr %694, align 8, !tbaa !23
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %695, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %695, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %695, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef %695, ptr noundef %0)
  %.not.not525576 = icmp sgt i64 %695, 0
  br i1 %.not.not525576, label %.preheader550, label %._crit_edge.thread

.preheader555:                                    ; preds = %707
  br i1 %.not.not525576, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %.preheader555
  %696 = load ptr, ptr %689, align 8, !tbaa !11
  %697 = add nsw i64 %695, -1
  %xtraiter = and i64 %695, 7
  %698 = icmp ult i64 %697, 7
  br i1 %698, label %.preheader554.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %695, 9223372036854775800
  br label %724

.preheader550:                                    ; preds = %692, %707
  %.9577 = phi i64 [ %716, %707 ], [ 0, %692 ]
  br label %699

699:                                              ; preds = %.preheader550, %699
  %700 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %19, ptr noundef %0)
  %701 = load ptr, ptr %65, align 8, !tbaa !11
  %702 = getelementptr inbounds double, ptr %701, i64 %.9577
  store double %700, ptr %702, align 8, !tbaa !14
  %703 = load ptr, ptr %65, align 8, !tbaa !11
  %704 = getelementptr inbounds double, ptr %703, i64 %.9577
  %705 = load double, ptr %704, align 8, !tbaa !14
  %706 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %705, double noundef 0.000000e+00)
  br i1 %706, label %699, label %707, !llvm.loop !28

707:                                              ; preds = %699
  %708 = load ptr, ptr %687, align 8, !tbaa !11
  %709 = getelementptr inbounds double, ptr %708, i64 %.9577
  store double -1.000000e+00, ptr %709, align 8, !tbaa !14
  %710 = load ptr, ptr %688, align 8, !tbaa !11
  %711 = getelementptr inbounds double, ptr %710, i64 %.9577
  store double 1.000000e+00, ptr %711, align 8, !tbaa !14
  %712 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %19, ptr noundef %0)
  %713 = call double @llvm.fmuladd.f64(double %712, double 2.000000e+00, double -1.000000e+00)
  %714 = load ptr, ptr %689, align 8, !tbaa !11
  %715 = getelementptr inbounds double, ptr %714, i64 %.9577
  store double %713, ptr %715, align 8, !tbaa !14
  %716 = add nuw nsw i64 %.9577, 1
  %exitcond652.not = icmp eq i64 %716, %695
  br i1 %exitcond652.not, label %.preheader555, label %.preheader550, !llvm.loop !29

.preheader554.unr-lcssa:                          ; preds = %724, %.lr.ph
  %.lcssa.ph = phi double [ poison, %.lr.ph ], [ %755, %724 ]
  %.0506580.unr = phi double [ 0.000000e+00, %.lr.ph ], [ %755, %724 ]
  %.10579.unr = phi i64 [ 0, %.lr.ph ], [ %756, %724 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader554, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader554.unr-lcssa, %.epil.preheader
  %.0506580.epil = phi double [ %719, %.epil.preheader ], [ %.0506580.unr, %.preheader554.unr-lcssa ]
  %.10579.epil = phi i64 [ %720, %.epil.preheader ], [ %.10579.unr, %.preheader554.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader554.unr-lcssa ]
  %717 = getelementptr inbounds double, ptr %696, i64 %.10579.epil
  %718 = load double, ptr %717, align 8, !tbaa !14
  %719 = fadd double %.0506580.epil, %718
  %720 = add nuw nsw i64 %.10579.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 %.preheader554, label %.epil.preheader, !llvm.loop !30

.preheader554:                                    ; preds = %.epil.preheader, %.preheader554.unr-lcssa
  %.lcssa = phi double [ %.lcssa.ph, %.preheader554.unr-lcssa ], [ %719, %.epil.preheader ]
  br i1 %.not.not525576, label %.lr.ph583, label %._crit_edge.thread

.lr.ph583:                                        ; preds = %.preheader554
  %721 = uitofp nneg i64 %695 to double
  %722 = fdiv double %.lcssa, %721
  %xtraiter701 = and i64 %695, 3
  %723 = icmp ult i64 %697, 3
  br i1 %723, label %.preheader553.unr-lcssa, label %.lr.ph583.new

.lr.ph583.new:                                    ; preds = %.lr.ph583
  %unroll_iter704 = and i64 %695, 9223372036854775804
  br label %764

724:                                              ; preds = %724, %.lr.ph.new
  %.0506580 = phi double [ 0.000000e+00, %.lr.ph.new ], [ %755, %724 ]
  %.10579 = phi i64 [ 0, %.lr.ph.new ], [ %756, %724 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.7, %724 ]
  %725 = getelementptr inbounds double, ptr %696, i64 %.10579
  %726 = load double, ptr %725, align 8, !tbaa !14
  %727 = fadd double %.0506580, %726
  %728 = or disjoint i64 %.10579, 1
  %729 = getelementptr inbounds double, ptr %696, i64 %728
  %730 = load double, ptr %729, align 8, !tbaa !14
  %731 = fadd double %727, %730
  %732 = or disjoint i64 %.10579, 2
  %733 = getelementptr inbounds double, ptr %696, i64 %732
  %734 = load double, ptr %733, align 8, !tbaa !14
  %735 = fadd double %731, %734
  %736 = or disjoint i64 %.10579, 3
  %737 = getelementptr inbounds double, ptr %696, i64 %736
  %738 = load double, ptr %737, align 8, !tbaa !14
  %739 = fadd double %735, %738
  %740 = or disjoint i64 %.10579, 4
  %741 = getelementptr inbounds double, ptr %696, i64 %740
  %742 = load double, ptr %741, align 8, !tbaa !14
  %743 = fadd double %739, %742
  %744 = or disjoint i64 %.10579, 5
  %745 = getelementptr inbounds double, ptr %696, i64 %744
  %746 = load double, ptr %745, align 8, !tbaa !14
  %747 = fadd double %743, %746
  %748 = or disjoint i64 %.10579, 6
  %749 = getelementptr inbounds double, ptr %696, i64 %748
  %750 = load double, ptr %749, align 8, !tbaa !14
  %751 = fadd double %747, %750
  %752 = or disjoint i64 %.10579, 7
  %753 = getelementptr inbounds double, ptr %696, i64 %752
  %754 = load double, ptr %753, align 8, !tbaa !14
  %755 = fadd double %751, %754
  %756 = add nuw nsw i64 %.10579, 8
  %niter.next.7 = add i64 %niter, 8
  %niter.ncmp.7 = icmp eq i64 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %.preheader554.unr-lcssa, label %724, !llvm.loop !32

.preheader553.unr-lcssa:                          ; preds = %764, %.lr.ph583
  %.11582.unr = phi i64 [ 0, %.lr.ph583 ], [ %784, %764 ]
  %lcmp.mod703.not = icmp eq i64 %xtraiter701, 0
  br i1 %lcmp.mod703.not, label %.preheader553, label %.epil.preheader700

.epil.preheader700:                               ; preds = %.preheader553.unr-lcssa, %.epil.preheader700
  %.11582.epil = phi i64 [ %761, %.epil.preheader700 ], [ %.11582.unr, %.preheader553.unr-lcssa ]
  %epil.iter702 = phi i64 [ %epil.iter702.next, %.epil.preheader700 ], [ 0, %.preheader553.unr-lcssa ]
  %757 = load ptr, ptr %689, align 8, !tbaa !11
  %758 = getelementptr inbounds double, ptr %757, i64 %.11582.epil
  %759 = load double, ptr %758, align 8, !tbaa !14
  %760 = fsub double %759, %722
  store double %760, ptr %758, align 8, !tbaa !14
  %761 = add nuw nsw i64 %.11582.epil, 1
  %epil.iter702.next = add i64 %epil.iter702, 1
  %epil.iter702.cmp.not = icmp eq i64 %epil.iter702.next, %xtraiter701
  br i1 %epil.iter702.cmp.not, label %.preheader553, label %.epil.preheader700, !llvm.loop !33

.preheader553:                                    ; preds = %.epil.preheader700, %.preheader553.unr-lcssa
  br i1 %.not.not525576, label %.lr.ph587, label %._crit_edge.thread

.lr.ph587:                                        ; preds = %.preheader553
  %762 = load ptr, ptr %65, align 8, !tbaa !11
  %xtraiter707 = and i64 %695, 7
  %763 = icmp ult i64 %697, 7
  br i1 %763, label %.preheader552.unr-lcssa, label %.lr.ph587.new

.lr.ph587.new:                                    ; preds = %.lr.ph587
  %unroll_iter711 = and i64 %695, 9223372036854775800
  br label %792

764:                                              ; preds = %764, %.lr.ph583.new
  %.11582 = phi i64 [ 0, %.lr.ph583.new ], [ %784, %764 ]
  %niter705 = phi i64 [ 0, %.lr.ph583.new ], [ %niter705.next.3, %764 ]
  %765 = load ptr, ptr %689, align 8, !tbaa !11
  %766 = getelementptr inbounds double, ptr %765, i64 %.11582
  %767 = load double, ptr %766, align 8, !tbaa !14
  %768 = fsub double %767, %722
  store double %768, ptr %766, align 8, !tbaa !14
  %769 = or disjoint i64 %.11582, 1
  %770 = load ptr, ptr %689, align 8, !tbaa !11
  %771 = getelementptr inbounds double, ptr %770, i64 %769
  %772 = load double, ptr %771, align 8, !tbaa !14
  %773 = fsub double %772, %722
  store double %773, ptr %771, align 8, !tbaa !14
  %774 = or disjoint i64 %.11582, 2
  %775 = load ptr, ptr %689, align 8, !tbaa !11
  %776 = getelementptr inbounds double, ptr %775, i64 %774
  %777 = load double, ptr %776, align 8, !tbaa !14
  %778 = fsub double %777, %722
  store double %778, ptr %776, align 8, !tbaa !14
  %779 = or disjoint i64 %.11582, 3
  %780 = load ptr, ptr %689, align 8, !tbaa !11
  %781 = getelementptr inbounds double, ptr %780, i64 %779
  %782 = load double, ptr %781, align 8, !tbaa !14
  %783 = fsub double %782, %722
  store double %783, ptr %781, align 8, !tbaa !14
  %784 = add nuw nsw i64 %.11582, 4
  %niter705.next.3 = add i64 %niter705, 4
  %niter705.ncmp.3 = icmp eq i64 %niter705.next.3, %unroll_iter704
  br i1 %niter705.ncmp.3, label %.preheader553.unr-lcssa, label %764, !llvm.loop !34

.preheader552.unr-lcssa:                          ; preds = %792, %.lr.ph587
  %.lcssa695.ph = phi double [ poison, %.lr.ph587 ], [ %823, %792 ]
  %.1507586.unr = phi double [ 0.000000e+00, %.lr.ph587 ], [ %823, %792 ]
  %.12585.unr = phi i64 [ 0, %.lr.ph587 ], [ %824, %792 ]
  %lcmp.mod709.not = icmp eq i64 %xtraiter707, 0
  br i1 %lcmp.mod709.not, label %.preheader552, label %.epil.preheader706

.epil.preheader706:                               ; preds = %.preheader552.unr-lcssa, %.epil.preheader706
  %.1507586.epil = phi double [ %787, %.epil.preheader706 ], [ %.1507586.unr, %.preheader552.unr-lcssa ]
  %.12585.epil = phi i64 [ %788, %.epil.preheader706 ], [ %.12585.unr, %.preheader552.unr-lcssa ]
  %epil.iter708 = phi i64 [ %epil.iter708.next, %.epil.preheader706 ], [ 0, %.preheader552.unr-lcssa ]
  %785 = getelementptr inbounds double, ptr %762, i64 %.12585.epil
  %786 = load double, ptr %785, align 8, !tbaa !14
  %787 = fadd double %.1507586.epil, %786
  %788 = add nuw nsw i64 %.12585.epil, 1
  %epil.iter708.next = add i64 %epil.iter708, 1
  %epil.iter708.cmp.not = icmp eq i64 %epil.iter708.next, %xtraiter707
  br i1 %epil.iter708.cmp.not, label %.preheader552, label %.epil.preheader706, !llvm.loop !35

.preheader552:                                    ; preds = %.epil.preheader706, %.preheader552.unr-lcssa
  %.lcssa695 = phi double [ %.lcssa695.ph, %.preheader552.unr-lcssa ], [ %787, %.epil.preheader706 ]
  br i1 %.not.not525576, label %.lr.ph591, label %._crit_edge.thread

.lr.ph591:                                        ; preds = %.preheader552
  %789 = uitofp nneg i64 %695 to double
  %790 = fdiv double %.lcssa695, %789
  %xtraiter714 = and i64 %695, 3
  %791 = icmp ult i64 %697, 3
  br i1 %791, label %._crit_edge.unr-lcssa, label %.lr.ph591.new

.lr.ph591.new:                                    ; preds = %.lr.ph591
  %unroll_iter717 = and i64 %695, 9223372036854775804
  br label %825

792:                                              ; preds = %792, %.lr.ph587.new
  %.1507586 = phi double [ 0.000000e+00, %.lr.ph587.new ], [ %823, %792 ]
  %.12585 = phi i64 [ 0, %.lr.ph587.new ], [ %824, %792 ]
  %niter712 = phi i64 [ 0, %.lr.ph587.new ], [ %niter712.next.7, %792 ]
  %793 = getelementptr inbounds double, ptr %762, i64 %.12585
  %794 = load double, ptr %793, align 8, !tbaa !14
  %795 = fadd double %.1507586, %794
  %796 = or disjoint i64 %.12585, 1
  %797 = getelementptr inbounds double, ptr %762, i64 %796
  %798 = load double, ptr %797, align 8, !tbaa !14
  %799 = fadd double %795, %798
  %800 = or disjoint i64 %.12585, 2
  %801 = getelementptr inbounds double, ptr %762, i64 %800
  %802 = load double, ptr %801, align 8, !tbaa !14
  %803 = fadd double %799, %802
  %804 = or disjoint i64 %.12585, 3
  %805 = getelementptr inbounds double, ptr %762, i64 %804
  %806 = load double, ptr %805, align 8, !tbaa !14
  %807 = fadd double %803, %806
  %808 = or disjoint i64 %.12585, 4
  %809 = getelementptr inbounds double, ptr %762, i64 %808
  %810 = load double, ptr %809, align 8, !tbaa !14
  %811 = fadd double %807, %810
  %812 = or disjoint i64 %.12585, 5
  %813 = getelementptr inbounds double, ptr %762, i64 %812
  %814 = load double, ptr %813, align 8, !tbaa !14
  %815 = fadd double %811, %814
  %816 = or disjoint i64 %.12585, 6
  %817 = getelementptr inbounds double, ptr %762, i64 %816
  %818 = load double, ptr %817, align 8, !tbaa !14
  %819 = fadd double %815, %818
  %820 = or disjoint i64 %.12585, 7
  %821 = getelementptr inbounds double, ptr %762, i64 %820
  %822 = load double, ptr %821, align 8, !tbaa !14
  %823 = fadd double %819, %822
  %824 = add nuw nsw i64 %.12585, 8
  %niter712.next.7 = add i64 %niter712, 8
  %niter712.ncmp.7 = icmp eq i64 %niter712.next.7, %unroll_iter711
  br i1 %niter712.ncmp.7, label %.preheader552.unr-lcssa, label %792, !llvm.loop !36

825:                                              ; preds = %825, %.lr.ph591.new
  %.13590 = phi i64 [ 0, %.lr.ph591.new ], [ %845, %825 ]
  %niter718 = phi i64 [ 0, %.lr.ph591.new ], [ %niter718.next.3, %825 ]
  %826 = load ptr, ptr %65, align 8, !tbaa !11
  %827 = getelementptr inbounds double, ptr %826, i64 %.13590
  %828 = load double, ptr %827, align 8, !tbaa !14
  %829 = fsub double %828, %790
  store double %829, ptr %827, align 8, !tbaa !14
  %830 = or disjoint i64 %.13590, 1
  %831 = load ptr, ptr %65, align 8, !tbaa !11
  %832 = getelementptr inbounds double, ptr %831, i64 %830
  %833 = load double, ptr %832, align 8, !tbaa !14
  %834 = fsub double %833, %790
  store double %834, ptr %832, align 8, !tbaa !14
  %835 = or disjoint i64 %.13590, 2
  %836 = load ptr, ptr %65, align 8, !tbaa !11
  %837 = getelementptr inbounds double, ptr %836, i64 %835
  %838 = load double, ptr %837, align 8, !tbaa !14
  %839 = fsub double %838, %790
  store double %839, ptr %837, align 8, !tbaa !14
  %840 = or disjoint i64 %.13590, 3
  %841 = load ptr, ptr %65, align 8, !tbaa !11
  %842 = getelementptr inbounds double, ptr %841, i64 %840
  %843 = load double, ptr %842, align 8, !tbaa !14
  %844 = fsub double %843, %790
  store double %844, ptr %842, align 8, !tbaa !14
  %845 = add nuw nsw i64 %.13590, 4
  %niter718.next.3 = add i64 %niter718, 4
  %niter718.ncmp.3 = icmp eq i64 %niter718.next.3, %unroll_iter717
  br i1 %niter718.ncmp.3, label %._crit_edge.unr-lcssa, label %825, !llvm.loop !37

._crit_edge.thread:                               ; preds = %.preheader552, %.preheader553, %.preheader554, %.preheader555, %692
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %695, i64 noundef %695, ptr noundef %0)
  br label %._crit_edge598.split.us

._crit_edge.unr-lcssa:                            ; preds = %825, %.lr.ph591
  %.13590.unr = phi i64 [ 0, %.lr.ph591 ], [ %845, %825 ]
  %lcmp.mod716.not = icmp eq i64 %xtraiter714, 0
  br i1 %lcmp.mod716.not, label %._crit_edge, label %.epil.preheader713

.epil.preheader713:                               ; preds = %._crit_edge.unr-lcssa, %.epil.preheader713
  %.13590.epil = phi i64 [ %850, %.epil.preheader713 ], [ %.13590.unr, %._crit_edge.unr-lcssa ]
  %epil.iter715 = phi i64 [ %epil.iter715.next, %.epil.preheader713 ], [ 0, %._crit_edge.unr-lcssa ]
  %846 = load ptr, ptr %65, align 8, !tbaa !11
  %847 = getelementptr inbounds double, ptr %846, i64 %.13590.epil
  %848 = load double, ptr %847, align 8, !tbaa !14
  %849 = fsub double %848, %790
  store double %849, ptr %847, align 8, !tbaa !14
  %850 = add nuw nsw i64 %.13590.epil, 1
  %epil.iter715.next = add i64 %epil.iter715, 1
  %epil.iter715.cmp.not = icmp eq i64 %epil.iter715.next, %xtraiter714
  br i1 %epil.iter715.cmp.not, label %._crit_edge, label %.epil.preheader713, !llvm.loop !38

._crit_edge:                                      ; preds = %.epil.preheader713, %._crit_edge.unr-lcssa
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %695, i64 noundef %695, ptr noundef %0)
  br i1 %.not.not525576, label %.preheader549.us.preheader, label %._crit_edge598.split.us

.preheader549.us.preheader:                       ; preds = %._crit_edge
  %xtraiter720 = and i64 %695, 3
  %851 = icmp ult i64 %697, 3
  %unroll_iter723 = and i64 %695, 9223372036854775804
  %lcmp.mod722.not = icmp eq i64 %xtraiter720, 0
  br label %.preheader549.us

.preheader549.us:                                 ; preds = %.preheader549.us.preheader, %._crit_edge595.us
  %.14597.us = phi i64 [ %877, %._crit_edge595.us ], [ 0, %.preheader549.us.preheader ]
  br i1 %851, label %._crit_edge595.us.unr-lcssa, label %.preheader549.us.new

.preheader549.us.new:                             ; preds = %.preheader549.us, %.preheader549.us.new
  %.2512593.us = phi i64 [ %871, %.preheader549.us.new ], [ 0, %.preheader549.us ]
  %niter724 = phi i64 [ %niter724.next.3, %.preheader549.us.new ], [ 0, %.preheader549.us ]
  %852 = load ptr, ptr %26, align 8, !tbaa !11
  %853 = getelementptr inbounds ptr, ptr %852, i64 %.14597.us
  %854 = load ptr, ptr %853, align 8, !tbaa !12
  %855 = getelementptr inbounds double, ptr %854, i64 %.2512593.us
  store double 1.000000e+00, ptr %855, align 8, !tbaa !14
  %856 = or disjoint i64 %.2512593.us, 1
  %857 = load ptr, ptr %26, align 8, !tbaa !11
  %858 = getelementptr inbounds ptr, ptr %857, i64 %.14597.us
  %859 = load ptr, ptr %858, align 8, !tbaa !12
  %860 = getelementptr inbounds double, ptr %859, i64 %856
  store double 1.000000e+00, ptr %860, align 8, !tbaa !14
  %861 = or disjoint i64 %.2512593.us, 2
  %862 = load ptr, ptr %26, align 8, !tbaa !11
  %863 = getelementptr inbounds ptr, ptr %862, i64 %.14597.us
  %864 = load ptr, ptr %863, align 8, !tbaa !12
  %865 = getelementptr inbounds double, ptr %864, i64 %861
  store double 1.000000e+00, ptr %865, align 8, !tbaa !14
  %866 = or disjoint i64 %.2512593.us, 3
  %867 = load ptr, ptr %26, align 8, !tbaa !11
  %868 = getelementptr inbounds ptr, ptr %867, i64 %.14597.us
  %869 = load ptr, ptr %868, align 8, !tbaa !12
  %870 = getelementptr inbounds double, ptr %869, i64 %866
  store double 1.000000e+00, ptr %870, align 8, !tbaa !14
  %871 = add nuw nsw i64 %.2512593.us, 4
  %niter724.next.3 = add i64 %niter724, 4
  %niter724.ncmp.3 = icmp eq i64 %niter724.next.3, %unroll_iter723
  br i1 %niter724.ncmp.3, label %._crit_edge595.us.unr-lcssa, label %.preheader549.us.new, !llvm.loop !39

._crit_edge595.us.unr-lcssa:                      ; preds = %.preheader549.us.new, %.preheader549.us
  %.2512593.us.unr = phi i64 [ 0, %.preheader549.us ], [ %871, %.preheader549.us.new ]
  br i1 %lcmp.mod722.not, label %._crit_edge595.us, label %.epil.preheader719

.epil.preheader719:                               ; preds = %._crit_edge595.us.unr-lcssa, %.epil.preheader719
  %.2512593.us.epil = phi i64 [ %876, %.epil.preheader719 ], [ %.2512593.us.unr, %._crit_edge595.us.unr-lcssa ]
  %epil.iter721 = phi i64 [ %epil.iter721.next, %.epil.preheader719 ], [ 0, %._crit_edge595.us.unr-lcssa ]
  %872 = load ptr, ptr %26, align 8, !tbaa !11
  %873 = getelementptr inbounds ptr, ptr %872, i64 %.14597.us
  %874 = load ptr, ptr %873, align 8, !tbaa !12
  %875 = getelementptr inbounds double, ptr %874, i64 %.2512593.us.epil
  store double 1.000000e+00, ptr %875, align 8, !tbaa !14
  %876 = add nuw nsw i64 %.2512593.us.epil, 1
  %epil.iter721.next = add i64 %epil.iter721, 1
  %epil.iter721.cmp.not = icmp eq i64 %epil.iter721.next, %xtraiter720
  br i1 %epil.iter721.cmp.not, label %._crit_edge595.us, label %.epil.preheader719, !llvm.loop !40

._crit_edge595.us:                                ; preds = %.epil.preheader719, %._crit_edge595.us.unr-lcssa
  %877 = add nuw nsw i64 %.14597.us, 1
  %exitcond658.not = icmp eq i64 %877, %695
  br i1 %exitcond658.not, label %._crit_edge598.split.us, label %.preheader549.us, !llvm.loop !41

._crit_edge598.split.us:                          ; preds = %._crit_edge595.us, %._crit_edge.thread, %._crit_edge
  call void @_ZL27testminqpunit_densetosparsePN11alglib_impl9ae_matrixElPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %695, ptr noundef nonnull %16, ptr noundef %0)
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef %695, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %17, ptr noundef %0)
  %878 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %19, ptr noundef %0)
  %879 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %878, double noundef 0.000000e+00)
  br i1 %879, label %880, label %881

880:                                              ; preds = %._crit_edge598.split.us
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %6, i1 noundef zeroext true, ptr noundef %0)
  br label %882

881:                                              ; preds = %._crit_edge598.split.us
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %16, i1 noundef zeroext true, ptr noundef %0)
  br label %882

882:                                              ; preds = %881, %880
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %18, ptr noundef nonnull %4, ptr noundef %0)
  %883 = load i64, ptr %690, align 8, !tbaa !42
  %884 = icmp ne i64 %883, -4
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %884, ptr noundef nonnull @.str.8, i32 noundef 42422, ptr noundef nonnull @.str.426)
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %18, ptr noundef nonnull %4, ptr noundef %0)
  %885 = load i64, ptr %690, align 8, !tbaa !42
  %886 = icmp slt i64 %885, 1
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %886, ptr noundef nonnull @.str.8, i32 noundef 42426, ptr noundef nonnull @.str.427)
  %887 = load i64, ptr %690, align 8, !tbaa !42
  %888 = icmp slt i64 %887, 1
  br i1 %888, label %.loopexit688, label %.preheader551

.preheader551:                                    ; preds = %882
  br i1 %.not.not525576, label %.lr.ph609.preheader, label %._crit_edge610

.lr.ph609.preheader:                              ; preds = %.preheader551
  %889 = add nsw i64 %695, -1
  %xtraiter726 = and i64 %695, 3
  %890 = icmp ult i64 %889, 3
  %unroll_iter730 = and i64 %695, 9223372036854775804
  %lcmp.mod728.not = icmp eq i64 %xtraiter726, 0
  br label %.lr.ph609

.lr.ph609:                                        ; preds = %.lr.ph609.preheader, %948
  %.0504608 = phi double [ %950, %948 ], [ 0.000000e+00, %.lr.ph609.preheader ]
  %.15607 = phi i64 [ %965, %948 ], [ 0, %.lr.ph609.preheader ]
  %891 = load ptr, ptr %65, align 8, !tbaa !11
  %892 = getelementptr inbounds double, ptr %891, i64 %.15607
  %893 = load double, ptr %892, align 8, !tbaa !14
  %894 = load ptr, ptr %26, align 8, !tbaa !11
  %895 = getelementptr inbounds ptr, ptr %894, i64 %.15607
  %896 = load ptr, ptr %895, align 8, !tbaa !12
  %897 = load ptr, ptr %691, align 8, !tbaa !11
  br i1 %890, label %._crit_edge604.unr-lcssa, label %.lr.ph609.new

.lr.ph609.new:                                    ; preds = %.lr.ph609, %.lr.ph609.new
  %.0505601 = phi double [ %920, %.lr.ph609.new ], [ %893, %.lr.ph609 ]
  %.3600 = phi i64 [ %921, %.lr.ph609.new ], [ 0, %.lr.ph609 ]
  %niter731 = phi i64 [ %niter731.next.3, %.lr.ph609.new ], [ 0, %.lr.ph609 ]
  %898 = getelementptr inbounds double, ptr %896, i64 %.3600
  %899 = load double, ptr %898, align 8, !tbaa !14
  %900 = getelementptr inbounds double, ptr %897, i64 %.3600
  %901 = load double, ptr %900, align 8, !tbaa !14
  %902 = call double @llvm.fmuladd.f64(double %899, double %901, double %.0505601)
  %903 = or disjoint i64 %.3600, 1
  %904 = getelementptr inbounds double, ptr %896, i64 %903
  %905 = load double, ptr %904, align 8, !tbaa !14
  %906 = getelementptr inbounds double, ptr %897, i64 %903
  %907 = load double, ptr %906, align 8, !tbaa !14
  %908 = call double @llvm.fmuladd.f64(double %905, double %907, double %902)
  %909 = or disjoint i64 %.3600, 2
  %910 = getelementptr inbounds double, ptr %896, i64 %909
  %911 = load double, ptr %910, align 8, !tbaa !14
  %912 = getelementptr inbounds double, ptr %897, i64 %909
  %913 = load double, ptr %912, align 8, !tbaa !14
  %914 = call double @llvm.fmuladd.f64(double %911, double %913, double %908)
  %915 = or disjoint i64 %.3600, 3
  %916 = getelementptr inbounds double, ptr %896, i64 %915
  %917 = load double, ptr %916, align 8, !tbaa !14
  %918 = getelementptr inbounds double, ptr %897, i64 %915
  %919 = load double, ptr %918, align 8, !tbaa !14
  %920 = call double @llvm.fmuladd.f64(double %917, double %919, double %914)
  %921 = add nuw nsw i64 %.3600, 4
  %niter731.next.3 = add i64 %niter731, 4
  %niter731.ncmp.3 = icmp eq i64 %niter731.next.3, %unroll_iter730
  br i1 %niter731.ncmp.3, label %._crit_edge604.unr-lcssa, label %.lr.ph609.new, !llvm.loop !44

._crit_edge604.unr-lcssa:                         ; preds = %.lr.ph609.new, %.lr.ph609
  %.lcssa696.ph = phi double [ poison, %.lr.ph609 ], [ %920, %.lr.ph609.new ]
  %.0505601.unr = phi double [ %893, %.lr.ph609 ], [ %920, %.lr.ph609.new ]
  %.3600.unr = phi i64 [ 0, %.lr.ph609 ], [ %921, %.lr.ph609.new ]
  br i1 %lcmp.mod728.not, label %._crit_edge604, label %.epil.preheader725

.epil.preheader725:                               ; preds = %._crit_edge604.unr-lcssa, %.epil.preheader725
  %.0505601.epil = phi double [ %926, %.epil.preheader725 ], [ %.0505601.unr, %._crit_edge604.unr-lcssa ]
  %.3600.epil = phi i64 [ %927, %.epil.preheader725 ], [ %.3600.unr, %._crit_edge604.unr-lcssa ]
  %epil.iter727 = phi i64 [ %epil.iter727.next, %.epil.preheader725 ], [ 0, %._crit_edge604.unr-lcssa ]
  %922 = getelementptr inbounds double, ptr %896, i64 %.3600.epil
  %923 = load double, ptr %922, align 8, !tbaa !14
  %924 = getelementptr inbounds double, ptr %897, i64 %.3600.epil
  %925 = load double, ptr %924, align 8, !tbaa !14
  %926 = call double @llvm.fmuladd.f64(double %923, double %925, double %.0505601.epil)
  %927 = add nuw nsw i64 %.3600.epil, 1
  %epil.iter727.next = add i64 %epil.iter727, 1
  %epil.iter727.cmp.not = icmp eq i64 %epil.iter727.next, %xtraiter726
  br i1 %epil.iter727.cmp.not, label %._crit_edge604, label %.epil.preheader725, !llvm.loop !45

._crit_edge604:                                   ; preds = %.epil.preheader725, %._crit_edge604.unr-lcssa
  %.lcssa696 = phi double [ %.lcssa696.ph, %._crit_edge604.unr-lcssa ], [ %926, %.epil.preheader725 ]
  %928 = getelementptr inbounds double, ptr %897, i64 %.15607
  %929 = load double, ptr %928, align 8, !tbaa !14
  %930 = load ptr, ptr %687, align 8, !tbaa !11
  %931 = getelementptr inbounds double, ptr %930, i64 %.15607
  %932 = load double, ptr %931, align 8, !tbaa !14
  %933 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %929, double noundef %932)
  br i1 %933, label %934, label %937

934:                                              ; preds = %._crit_edge604
  %935 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.lcssa696, double noundef 0.000000e+00)
  br i1 %935, label %936, label %937

936:                                              ; preds = %934
  br label %937

937:                                              ; preds = %936, %934, %._crit_edge604
  %.1 = phi double [ 0.000000e+00, %936 ], [ %.lcssa696, %934 ], [ %.lcssa696, %._crit_edge604 ]
  %938 = load ptr, ptr %691, align 8, !tbaa !11
  %939 = getelementptr inbounds double, ptr %938, i64 %.15607
  %940 = load double, ptr %939, align 8, !tbaa !14
  %941 = load ptr, ptr %688, align 8, !tbaa !11
  %942 = getelementptr inbounds double, ptr %941, i64 %.15607
  %943 = load double, ptr %942, align 8, !tbaa !14
  %944 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %940, double noundef %943)
  br i1 %944, label %945, label %948

945:                                              ; preds = %937
  %946 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %.1, double noundef 0.000000e+00)
  br i1 %946, label %947, label %948

947:                                              ; preds = %945
  br label %948

948:                                              ; preds = %947, %945, %937
  %.2 = phi double [ 0.000000e+00, %947 ], [ %.1, %945 ], [ %.1, %937 ]
  %949 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %.2, ptr noundef %0)
  %950 = fadd double %.0504608, %949
  %951 = load ptr, ptr %691, align 8, !tbaa !11
  %952 = getelementptr inbounds double, ptr %951, i64 %.15607
  %953 = load double, ptr %952, align 8, !tbaa !14
  %954 = load ptr, ptr %687, align 8, !tbaa !11
  %955 = getelementptr inbounds double, ptr %954, i64 %.15607
  %956 = load double, ptr %955, align 8, !tbaa !14
  %957 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %953, double noundef %956)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %957, ptr noundef nonnull @.str.8, i32 noundef 42454, ptr noundef nonnull @.str.428)
  %958 = load ptr, ptr %691, align 8, !tbaa !11
  %959 = getelementptr inbounds double, ptr %958, i64 %.15607
  %960 = load double, ptr %959, align 8, !tbaa !14
  %961 = load ptr, ptr %688, align 8, !tbaa !11
  %962 = getelementptr inbounds double, ptr %961, i64 %.15607
  %963 = load double, ptr %962, align 8, !tbaa !14
  %964 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %960, double noundef %963)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %964, ptr noundef nonnull @.str.8, i32 noundef 42455, ptr noundef nonnull @.str.429)
  %965 = add nuw nsw i64 %.15607, 1
  %exitcond660.not = icmp eq i64 %965, %695
  br i1 %exitcond660.not, label %._crit_edge610, label %.lr.ph609, !llvm.loop !46

._crit_edge610:                                   ; preds = %948, %.preheader551
  %.0504.lcssa = phi double [ 0.000000e+00, %.preheader551 ], [ %950, %948 ]
  %966 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %.0504.lcssa, ptr noundef %0)
  %967 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %966, double noundef 1.000000e-05)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %967, ptr noundef nonnull @.str.8, i32 noundef 42458, ptr noundef nonnull @.str.430)
  %968 = add nuw nsw i64 %.0508612, 1
  %exitcond661.not = icmp eq i64 %968, 11
  br i1 %exitcond661.not, label %969, label %692, !llvm.loop !47

969:                                              ; preds = %._crit_edge610
  %970 = add nuw nsw i64 %.0522614, 1
  %971 = load i64, ptr %5, align 8, !tbaa !25
  %.not.not = icmp slt i64 %970, %971
  br i1 %.not.not, label %.preheader556, label %._crit_edge615, !llvm.loop !48

._crit_edge615:                                   ; preds = %969, %664
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef 20, i64 noundef 20, i64 noundef 0, ptr noundef nonnull %16, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 1, i64 noundef 1, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 2, i64 noundef 2, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 3, i64 noundef 3, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 4, i64 noundef 4, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 5, i64 noundef 5, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 6, i64 noundef 6, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 7, i64 noundef 7, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 8, i64 noundef 8, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 9, i64 noundef 9, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 10, i64 noundef 10, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 11, i64 noundef 11, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 12, i64 noundef 12, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 13, i64 noundef 13, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 14, i64 noundef 14, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 15, i64 noundef 15, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 16, i64 noundef 16, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 17, i64 noundef 17, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 18, i64 noundef 18, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 19, i64 noundef 19, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 20, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef 20, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef 20, ptr noundef %0)
  %972 = getelementptr inbounds i8, ptr %11, i64 56
  %973 = getelementptr inbounds i8, ptr %12, i64 56
  %974 = getelementptr inbounds i8, ptr %14, i64 56
  %975 = load ptr, ptr %972, align 8, !tbaa !11
  store double -1.000000e+00, ptr %975, align 8, !tbaa !14
  %976 = load ptr, ptr %973, align 8, !tbaa !11
  store double 1.000000e+00, ptr %976, align 8, !tbaa !14
  %977 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %978 = fadd double %977, -5.000000e-01
  %979 = load ptr, ptr %974, align 8, !tbaa !11
  store double %978, ptr %979, align 8, !tbaa !14
  %980 = load ptr, ptr %972, align 8, !tbaa !11
  %981 = getelementptr inbounds i8, ptr %980, i64 8
  store double -1.000000e+00, ptr %981, align 8, !tbaa !14
  %982 = load ptr, ptr %973, align 8, !tbaa !11
  %983 = getelementptr inbounds i8, ptr %982, i64 8
  store double 1.000000e+00, ptr %983, align 8, !tbaa !14
  %984 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %985 = fadd double %984, -5.000000e-01
  %986 = load ptr, ptr %974, align 8, !tbaa !11
  %987 = getelementptr inbounds i8, ptr %986, i64 8
  store double %985, ptr %987, align 8, !tbaa !14
  %988 = load ptr, ptr %972, align 8, !tbaa !11
  %989 = getelementptr inbounds i8, ptr %988, i64 16
  store double -1.000000e+00, ptr %989, align 8, !tbaa !14
  %990 = load ptr, ptr %973, align 8, !tbaa !11
  %991 = getelementptr inbounds i8, ptr %990, i64 16
  store double 1.000000e+00, ptr %991, align 8, !tbaa !14
  %992 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %993 = fadd double %992, -5.000000e-01
  %994 = load ptr, ptr %974, align 8, !tbaa !11
  %995 = getelementptr inbounds i8, ptr %994, i64 16
  store double %993, ptr %995, align 8, !tbaa !14
  %996 = load ptr, ptr %972, align 8, !tbaa !11
  %997 = getelementptr inbounds i8, ptr %996, i64 24
  store double -1.000000e+00, ptr %997, align 8, !tbaa !14
  %998 = load ptr, ptr %973, align 8, !tbaa !11
  %999 = getelementptr inbounds i8, ptr %998, i64 24
  store double 1.000000e+00, ptr %999, align 8, !tbaa !14
  %1000 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1001 = fadd double %1000, -5.000000e-01
  %1002 = load ptr, ptr %974, align 8, !tbaa !11
  %1003 = getelementptr inbounds i8, ptr %1002, i64 24
  store double %1001, ptr %1003, align 8, !tbaa !14
  %1004 = load ptr, ptr %972, align 8, !tbaa !11
  %1005 = getelementptr inbounds i8, ptr %1004, i64 32
  store double -1.000000e+00, ptr %1005, align 8, !tbaa !14
  %1006 = load ptr, ptr %973, align 8, !tbaa !11
  %1007 = getelementptr inbounds i8, ptr %1006, i64 32
  store double 1.000000e+00, ptr %1007, align 8, !tbaa !14
  %1008 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1009 = fadd double %1008, -5.000000e-01
  %1010 = load ptr, ptr %974, align 8, !tbaa !11
  %1011 = getelementptr inbounds i8, ptr %1010, i64 32
  store double %1009, ptr %1011, align 8, !tbaa !14
  %1012 = load ptr, ptr %972, align 8, !tbaa !11
  %1013 = getelementptr inbounds i8, ptr %1012, i64 40
  store double -1.000000e+00, ptr %1013, align 8, !tbaa !14
  %1014 = load ptr, ptr %973, align 8, !tbaa !11
  %1015 = getelementptr inbounds i8, ptr %1014, i64 40
  store double 1.000000e+00, ptr %1015, align 8, !tbaa !14
  %1016 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1017 = fadd double %1016, -5.000000e-01
  %1018 = load ptr, ptr %974, align 8, !tbaa !11
  %1019 = getelementptr inbounds i8, ptr %1018, i64 40
  store double %1017, ptr %1019, align 8, !tbaa !14
  %1020 = load ptr, ptr %972, align 8, !tbaa !11
  %1021 = getelementptr inbounds i8, ptr %1020, i64 48
  store double -1.000000e+00, ptr %1021, align 8, !tbaa !14
  %1022 = load ptr, ptr %973, align 8, !tbaa !11
  %1023 = getelementptr inbounds i8, ptr %1022, i64 48
  store double 1.000000e+00, ptr %1023, align 8, !tbaa !14
  %1024 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1025 = fadd double %1024, -5.000000e-01
  %1026 = load ptr, ptr %974, align 8, !tbaa !11
  %1027 = getelementptr inbounds i8, ptr %1026, i64 48
  store double %1025, ptr %1027, align 8, !tbaa !14
  %1028 = load ptr, ptr %972, align 8, !tbaa !11
  %1029 = getelementptr inbounds i8, ptr %1028, i64 56
  store double -1.000000e+00, ptr %1029, align 8, !tbaa !14
  %1030 = load ptr, ptr %973, align 8, !tbaa !11
  %1031 = getelementptr inbounds i8, ptr %1030, i64 56
  store double 1.000000e+00, ptr %1031, align 8, !tbaa !14
  %1032 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1033 = fadd double %1032, -5.000000e-01
  %1034 = load ptr, ptr %974, align 8, !tbaa !11
  %1035 = getelementptr inbounds i8, ptr %1034, i64 56
  store double %1033, ptr %1035, align 8, !tbaa !14
  %1036 = load ptr, ptr %972, align 8, !tbaa !11
  %1037 = getelementptr inbounds i8, ptr %1036, i64 64
  store double -1.000000e+00, ptr %1037, align 8, !tbaa !14
  %1038 = load ptr, ptr %973, align 8, !tbaa !11
  %1039 = getelementptr inbounds i8, ptr %1038, i64 64
  store double 1.000000e+00, ptr %1039, align 8, !tbaa !14
  %1040 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1041 = fadd double %1040, -5.000000e-01
  %1042 = load ptr, ptr %974, align 8, !tbaa !11
  %1043 = getelementptr inbounds i8, ptr %1042, i64 64
  store double %1041, ptr %1043, align 8, !tbaa !14
  %1044 = load ptr, ptr %972, align 8, !tbaa !11
  %1045 = getelementptr inbounds i8, ptr %1044, i64 72
  store double -1.000000e+00, ptr %1045, align 8, !tbaa !14
  %1046 = load ptr, ptr %973, align 8, !tbaa !11
  %1047 = getelementptr inbounds i8, ptr %1046, i64 72
  store double 1.000000e+00, ptr %1047, align 8, !tbaa !14
  %1048 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1049 = fadd double %1048, -5.000000e-01
  %1050 = load ptr, ptr %974, align 8, !tbaa !11
  %1051 = getelementptr inbounds i8, ptr %1050, i64 72
  store double %1049, ptr %1051, align 8, !tbaa !14
  %1052 = load ptr, ptr %972, align 8, !tbaa !11
  %1053 = getelementptr inbounds i8, ptr %1052, i64 80
  store double -1.000000e+00, ptr %1053, align 8, !tbaa !14
  %1054 = load ptr, ptr %973, align 8, !tbaa !11
  %1055 = getelementptr inbounds i8, ptr %1054, i64 80
  store double 1.000000e+00, ptr %1055, align 8, !tbaa !14
  %1056 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1057 = fadd double %1056, -5.000000e-01
  %1058 = load ptr, ptr %974, align 8, !tbaa !11
  %1059 = getelementptr inbounds i8, ptr %1058, i64 80
  store double %1057, ptr %1059, align 8, !tbaa !14
  %1060 = load ptr, ptr %972, align 8, !tbaa !11
  %1061 = getelementptr inbounds i8, ptr %1060, i64 88
  store double -1.000000e+00, ptr %1061, align 8, !tbaa !14
  %1062 = load ptr, ptr %973, align 8, !tbaa !11
  %1063 = getelementptr inbounds i8, ptr %1062, i64 88
  store double 1.000000e+00, ptr %1063, align 8, !tbaa !14
  %1064 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1065 = fadd double %1064, -5.000000e-01
  %1066 = load ptr, ptr %974, align 8, !tbaa !11
  %1067 = getelementptr inbounds i8, ptr %1066, i64 88
  store double %1065, ptr %1067, align 8, !tbaa !14
  %1068 = load ptr, ptr %972, align 8, !tbaa !11
  %1069 = getelementptr inbounds i8, ptr %1068, i64 96
  store double -1.000000e+00, ptr %1069, align 8, !tbaa !14
  %1070 = load ptr, ptr %973, align 8, !tbaa !11
  %1071 = getelementptr inbounds i8, ptr %1070, i64 96
  store double 1.000000e+00, ptr %1071, align 8, !tbaa !14
  %1072 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1073 = fadd double %1072, -5.000000e-01
  %1074 = load ptr, ptr %974, align 8, !tbaa !11
  %1075 = getelementptr inbounds i8, ptr %1074, i64 96
  store double %1073, ptr %1075, align 8, !tbaa !14
  %1076 = load ptr, ptr %972, align 8, !tbaa !11
  %1077 = getelementptr inbounds i8, ptr %1076, i64 104
  store double -1.000000e+00, ptr %1077, align 8, !tbaa !14
  %1078 = load ptr, ptr %973, align 8, !tbaa !11
  %1079 = getelementptr inbounds i8, ptr %1078, i64 104
  store double 1.000000e+00, ptr %1079, align 8, !tbaa !14
  %1080 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1081 = fadd double %1080, -5.000000e-01
  %1082 = load ptr, ptr %974, align 8, !tbaa !11
  %1083 = getelementptr inbounds i8, ptr %1082, i64 104
  store double %1081, ptr %1083, align 8, !tbaa !14
  %1084 = load ptr, ptr %972, align 8, !tbaa !11
  %1085 = getelementptr inbounds i8, ptr %1084, i64 112
  store double -1.000000e+00, ptr %1085, align 8, !tbaa !14
  %1086 = load ptr, ptr %973, align 8, !tbaa !11
  %1087 = getelementptr inbounds i8, ptr %1086, i64 112
  store double 1.000000e+00, ptr %1087, align 8, !tbaa !14
  %1088 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1089 = fadd double %1088, -5.000000e-01
  %1090 = load ptr, ptr %974, align 8, !tbaa !11
  %1091 = getelementptr inbounds i8, ptr %1090, i64 112
  store double %1089, ptr %1091, align 8, !tbaa !14
  %1092 = load ptr, ptr %972, align 8, !tbaa !11
  %1093 = getelementptr inbounds i8, ptr %1092, i64 120
  store double -1.000000e+00, ptr %1093, align 8, !tbaa !14
  %1094 = load ptr, ptr %973, align 8, !tbaa !11
  %1095 = getelementptr inbounds i8, ptr %1094, i64 120
  store double 1.000000e+00, ptr %1095, align 8, !tbaa !14
  %1096 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1097 = fadd double %1096, -5.000000e-01
  %1098 = load ptr, ptr %974, align 8, !tbaa !11
  %1099 = getelementptr inbounds i8, ptr %1098, i64 120
  store double %1097, ptr %1099, align 8, !tbaa !14
  %1100 = load ptr, ptr %972, align 8, !tbaa !11
  %1101 = getelementptr inbounds i8, ptr %1100, i64 128
  store double -1.000000e+00, ptr %1101, align 8, !tbaa !14
  %1102 = load ptr, ptr %973, align 8, !tbaa !11
  %1103 = getelementptr inbounds i8, ptr %1102, i64 128
  store double 1.000000e+00, ptr %1103, align 8, !tbaa !14
  %1104 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1105 = fadd double %1104, -5.000000e-01
  %1106 = load ptr, ptr %974, align 8, !tbaa !11
  %1107 = getelementptr inbounds i8, ptr %1106, i64 128
  store double %1105, ptr %1107, align 8, !tbaa !14
  %1108 = load ptr, ptr %972, align 8, !tbaa !11
  %1109 = getelementptr inbounds i8, ptr %1108, i64 136
  store double -1.000000e+00, ptr %1109, align 8, !tbaa !14
  %1110 = load ptr, ptr %973, align 8, !tbaa !11
  %1111 = getelementptr inbounds i8, ptr %1110, i64 136
  store double 1.000000e+00, ptr %1111, align 8, !tbaa !14
  %1112 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1113 = fadd double %1112, -5.000000e-01
  %1114 = load ptr, ptr %974, align 8, !tbaa !11
  %1115 = getelementptr inbounds i8, ptr %1114, i64 136
  store double %1113, ptr %1115, align 8, !tbaa !14
  %1116 = load ptr, ptr %972, align 8, !tbaa !11
  %1117 = getelementptr inbounds i8, ptr %1116, i64 144
  store double -1.000000e+00, ptr %1117, align 8, !tbaa !14
  %1118 = load ptr, ptr %973, align 8, !tbaa !11
  %1119 = getelementptr inbounds i8, ptr %1118, i64 144
  store double 1.000000e+00, ptr %1119, align 8, !tbaa !14
  %1120 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1121 = fadd double %1120, -5.000000e-01
  %1122 = load ptr, ptr %974, align 8, !tbaa !11
  %1123 = getelementptr inbounds i8, ptr %1122, i64 144
  store double %1121, ptr %1123, align 8, !tbaa !14
  %1124 = load ptr, ptr %972, align 8, !tbaa !11
  %1125 = getelementptr inbounds i8, ptr %1124, i64 152
  store double -1.000000e+00, ptr %1125, align 8, !tbaa !14
  %1126 = load ptr, ptr %973, align 8, !tbaa !11
  %1127 = getelementptr inbounds i8, ptr %1126, i64 152
  store double 1.000000e+00, ptr %1127, align 8, !tbaa !14
  %1128 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1129 = fadd double %1128, -5.000000e-01
  %1130 = load ptr, ptr %974, align 8, !tbaa !11
  %1131 = getelementptr inbounds i8, ptr %1130, i64 152
  store double %1129, ptr %1131, align 8, !tbaa !14
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0x3D06849B86A12B9B, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %0)
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %16, i1 noundef zeroext true, ptr noundef %0)
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %14, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  %1132 = getelementptr inbounds i8, ptr %4, i64 32
  %1133 = load i64, ptr %1132, align 8, !tbaa !42
  %1134 = icmp slt i64 %1133, 1
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1134, ptr noundef nonnull @.str.8, i32 noundef 42494, ptr noundef nonnull @.str.431)
  %1135 = load i64, ptr %1132, align 8, !tbaa !42
  %1136 = icmp sgt i64 %1135, 0
  br i1 %1136, label %.preheader547, label %.loopexit548

.preheader547:                                    ; preds = %._crit_edge615, %1146
  %.18618 = phi i64 [ %1148, %1146 ], [ 0, %._crit_edge615 ]
  %1137 = load ptr, ptr %78, align 8, !tbaa !11
  %1138 = getelementptr inbounds double, ptr %1137, i64 %.18618
  %1139 = load double, ptr %1138, align 8, !tbaa !14
  %1140 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1139, double noundef -1.000000e+00)
  br i1 %1140, label %1141, label %1146

1141:                                             ; preds = %.preheader547
  %1142 = load ptr, ptr %78, align 8, !tbaa !11
  %1143 = getelementptr inbounds double, ptr %1142, i64 %.18618
  %1144 = load double, ptr %1143, align 8, !tbaa !14
  %1145 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1144, double noundef 1.000000e+00)
  br label %1146

1146:                                             ; preds = %1141, %.preheader547
  %1147 = phi i1 [ false, %.preheader547 ], [ %1145, %1141 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1147, ptr noundef nonnull @.str.8, i32 noundef 42499, ptr noundef nonnull @.str.432)
  %1148 = add nuw nsw i64 %.18618, 1
  %exitcond664.not = icmp eq i64 %1148, 20
  br i1 %exitcond664.not, label %.loopexit548, label %.preheader547, !llvm.loop !49

.loopexit548:                                     ; preds = %1146, %._crit_edge615
  %1149 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 20, ptr noundef %0)
  %1150 = getelementptr inbounds i8, ptr %0, i64 24
  %1151 = load double, ptr %1150, align 8, !tbaa !50
  %1152 = load ptr, ptr %972, align 8, !tbaa !11
  %1153 = getelementptr inbounds double, ptr %1152, i64 %1149
  store double %1151, ptr %1153, align 8, !tbaa !14
  %1154 = getelementptr inbounds i8, ptr %0, i64 16
  %1155 = load double, ptr %1154, align 8, !tbaa !54
  %1156 = load ptr, ptr %973, align 8, !tbaa !11
  %1157 = getelementptr inbounds double, ptr %1156, i64 %1149
  store double %1155, ptr %1157, align 8, !tbaa !14
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  %1158 = load i64, ptr %1132, align 8, !tbaa !42
  %1159 = icmp ne i64 %1158, -4
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1159, ptr noundef nonnull @.str.8, i32 noundef 42508, ptr noundef nonnull @.str.433)
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef 20, i64 noundef 20, i64 noundef 0, ptr noundef nonnull %16, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 1, i64 noundef 1, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 2, i64 noundef 2, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 3, i64 noundef 3, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 4, i64 noundef 4, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 5, i64 noundef 5, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 6, i64 noundef 6, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 7, i64 noundef 7, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 8, i64 noundef 8, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 9, i64 noundef 9, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 10, i64 noundef 10, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 11, i64 noundef 11, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 12, i64 noundef 12, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 13, i64 noundef 13, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 14, i64 noundef 14, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 15, i64 noundef 15, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 16, i64 noundef 16, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 17, i64 noundef 17, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 18, i64 noundef 18, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef 19, i64 noundef 19, double noundef -1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 40, i64 noundef 21, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef 40, ptr noundef %0)
  %1160 = getelementptr inbounds i8, ptr %8, i64 72
  %1161 = getelementptr inbounds i8, ptr %15, i64 56
  br label %.preheader546

.preheader546:                                    ; preds = %.loopexit548, %.preheader546
  %.20621 = phi i64 [ 0, %.loopexit548 ], [ %1286, %.preheader546 ]
  %1162 = shl nuw nsw i64 %.20621, 1
  %1163 = or disjoint i64 %1162, 1
  %1164 = load ptr, ptr %1160, align 8, !tbaa !11
  %1165 = getelementptr inbounds ptr, ptr %1164, i64 %1162
  %1166 = load ptr, ptr %1165, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1166, align 8, !tbaa !14
  %1167 = load ptr, ptr %1160, align 8, !tbaa !11
  %1168 = getelementptr inbounds ptr, ptr %1167, i64 %1163
  %1169 = load ptr, ptr %1168, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1169, align 8, !tbaa !14
  %1170 = load ptr, ptr %1160, align 8, !tbaa !11
  %1171 = getelementptr inbounds ptr, ptr %1170, i64 %1162
  %1172 = load ptr, ptr %1171, align 8, !tbaa !12
  %1173 = getelementptr inbounds i8, ptr %1172, i64 8
  store double 0.000000e+00, ptr %1173, align 8, !tbaa !14
  %1174 = load ptr, ptr %1160, align 8, !tbaa !11
  %1175 = getelementptr inbounds ptr, ptr %1174, i64 %1163
  %1176 = load ptr, ptr %1175, align 8, !tbaa !12
  %1177 = getelementptr inbounds i8, ptr %1176, i64 8
  store double 0.000000e+00, ptr %1177, align 8, !tbaa !14
  %1178 = load ptr, ptr %1160, align 8, !tbaa !11
  %1179 = getelementptr inbounds ptr, ptr %1178, i64 %1162
  %1180 = load ptr, ptr %1179, align 8, !tbaa !12
  %1181 = getelementptr inbounds i8, ptr %1180, i64 16
  store double 0.000000e+00, ptr %1181, align 8, !tbaa !14
  %1182 = load ptr, ptr %1160, align 8, !tbaa !11
  %1183 = getelementptr inbounds ptr, ptr %1182, i64 %1163
  %1184 = load ptr, ptr %1183, align 8, !tbaa !12
  %1185 = getelementptr inbounds i8, ptr %1184, i64 16
  store double 0.000000e+00, ptr %1185, align 8, !tbaa !14
  %1186 = load ptr, ptr %1160, align 8, !tbaa !11
  %1187 = getelementptr inbounds ptr, ptr %1186, i64 %1162
  %1188 = load ptr, ptr %1187, align 8, !tbaa !12
  %1189 = getelementptr inbounds i8, ptr %1188, i64 24
  store double 0.000000e+00, ptr %1189, align 8, !tbaa !14
  %1190 = load ptr, ptr %1160, align 8, !tbaa !11
  %1191 = getelementptr inbounds ptr, ptr %1190, i64 %1163
  %1192 = load ptr, ptr %1191, align 8, !tbaa !12
  %1193 = getelementptr inbounds i8, ptr %1192, i64 24
  store double 0.000000e+00, ptr %1193, align 8, !tbaa !14
  %1194 = load ptr, ptr %1160, align 8, !tbaa !11
  %1195 = getelementptr inbounds ptr, ptr %1194, i64 %1162
  %1196 = load ptr, ptr %1195, align 8, !tbaa !12
  %1197 = getelementptr inbounds i8, ptr %1196, i64 32
  store double 0.000000e+00, ptr %1197, align 8, !tbaa !14
  %1198 = load ptr, ptr %1160, align 8, !tbaa !11
  %1199 = getelementptr inbounds ptr, ptr %1198, i64 %1163
  %1200 = load ptr, ptr %1199, align 8, !tbaa !12
  %1201 = getelementptr inbounds i8, ptr %1200, i64 32
  store double 0.000000e+00, ptr %1201, align 8, !tbaa !14
  %1202 = load ptr, ptr %1160, align 8, !tbaa !11
  %1203 = getelementptr inbounds ptr, ptr %1202, i64 %1162
  %1204 = load ptr, ptr %1203, align 8, !tbaa !12
  %1205 = getelementptr inbounds i8, ptr %1204, i64 40
  store double 0.000000e+00, ptr %1205, align 8, !tbaa !14
  %1206 = load ptr, ptr %1160, align 8, !tbaa !11
  %1207 = getelementptr inbounds ptr, ptr %1206, i64 %1163
  %1208 = load ptr, ptr %1207, align 8, !tbaa !12
  %1209 = getelementptr inbounds i8, ptr %1208, i64 40
  store double 0.000000e+00, ptr %1209, align 8, !tbaa !14
  %1210 = load ptr, ptr %1160, align 8, !tbaa !11
  %1211 = getelementptr inbounds ptr, ptr %1210, i64 %1162
  %1212 = load ptr, ptr %1211, align 8, !tbaa !12
  %1213 = getelementptr inbounds i8, ptr %1212, i64 48
  store double 0.000000e+00, ptr %1213, align 8, !tbaa !14
  %1214 = load ptr, ptr %1160, align 8, !tbaa !11
  %1215 = getelementptr inbounds ptr, ptr %1214, i64 %1163
  %1216 = load ptr, ptr %1215, align 8, !tbaa !12
  %1217 = getelementptr inbounds i8, ptr %1216, i64 48
  store double 0.000000e+00, ptr %1217, align 8, !tbaa !14
  %1218 = load ptr, ptr %1160, align 8, !tbaa !11
  %1219 = getelementptr inbounds ptr, ptr %1218, i64 %1162
  %1220 = load ptr, ptr %1219, align 8, !tbaa !12
  %1221 = getelementptr inbounds i8, ptr %1220, i64 56
  store double 0.000000e+00, ptr %1221, align 8, !tbaa !14
  %1222 = load ptr, ptr %1160, align 8, !tbaa !11
  %1223 = getelementptr inbounds ptr, ptr %1222, i64 %1163
  %1224 = load ptr, ptr %1223, align 8, !tbaa !12
  %1225 = getelementptr inbounds i8, ptr %1224, i64 56
  store double 0.000000e+00, ptr %1225, align 8, !tbaa !14
  %1226 = load ptr, ptr %1160, align 8, !tbaa !11
  %1227 = getelementptr inbounds ptr, ptr %1226, i64 %1162
  %1228 = load ptr, ptr %1227, align 8, !tbaa !12
  %1229 = getelementptr inbounds i8, ptr %1228, i64 64
  store double 0.000000e+00, ptr %1229, align 8, !tbaa !14
  %1230 = load ptr, ptr %1160, align 8, !tbaa !11
  %1231 = getelementptr inbounds ptr, ptr %1230, i64 %1163
  %1232 = load ptr, ptr %1231, align 8, !tbaa !12
  %1233 = getelementptr inbounds i8, ptr %1232, i64 64
  store double 0.000000e+00, ptr %1233, align 8, !tbaa !14
  %1234 = load ptr, ptr %1160, align 8, !tbaa !11
  %1235 = getelementptr inbounds ptr, ptr %1234, i64 %1162
  %1236 = load ptr, ptr %1235, align 8, !tbaa !12
  %1237 = getelementptr inbounds i8, ptr %1236, i64 72
  store double 0.000000e+00, ptr %1237, align 8, !tbaa !14
  %1238 = load ptr, ptr %1160, align 8, !tbaa !11
  %1239 = getelementptr inbounds ptr, ptr %1238, i64 %1163
  %1240 = load ptr, ptr %1239, align 8, !tbaa !12
  %1241 = getelementptr inbounds i8, ptr %1240, i64 72
  store double 0.000000e+00, ptr %1241, align 8, !tbaa !14
  %1242 = load ptr, ptr %1160, align 8, !tbaa !11
  %1243 = getelementptr inbounds ptr, ptr %1242, i64 %1162
  %1244 = load ptr, ptr %1243, align 8, !tbaa !12
  %1245 = getelementptr inbounds i8, ptr %1244, i64 80
  store double 0.000000e+00, ptr %1245, align 8, !tbaa !14
  %1246 = getelementptr inbounds ptr, ptr %1242, i64 %1163
  %1247 = load ptr, ptr %1246, align 8, !tbaa !12
  %1248 = getelementptr inbounds i8, ptr %1247, i64 80
  store double 0.000000e+00, ptr %1248, align 8, !tbaa !14
  %1249 = getelementptr inbounds i8, ptr %1244, i64 88
  store double 0.000000e+00, ptr %1249, align 8, !tbaa !14
  %1250 = getelementptr inbounds i8, ptr %1247, i64 88
  store double 0.000000e+00, ptr %1250, align 8, !tbaa !14
  %1251 = getelementptr inbounds i8, ptr %1244, i64 96
  store double 0.000000e+00, ptr %1251, align 8, !tbaa !14
  %1252 = getelementptr inbounds i8, ptr %1247, i64 96
  store double 0.000000e+00, ptr %1252, align 8, !tbaa !14
  %1253 = getelementptr inbounds i8, ptr %1244, i64 104
  store double 0.000000e+00, ptr %1253, align 8, !tbaa !14
  %1254 = getelementptr inbounds i8, ptr %1247, i64 104
  store double 0.000000e+00, ptr %1254, align 8, !tbaa !14
  %1255 = getelementptr inbounds i8, ptr %1244, i64 112
  store double 0.000000e+00, ptr %1255, align 8, !tbaa !14
  %1256 = getelementptr inbounds i8, ptr %1247, i64 112
  store double 0.000000e+00, ptr %1256, align 8, !tbaa !14
  %1257 = getelementptr inbounds i8, ptr %1244, i64 120
  store double 0.000000e+00, ptr %1257, align 8, !tbaa !14
  %1258 = getelementptr inbounds i8, ptr %1247, i64 120
  store double 0.000000e+00, ptr %1258, align 8, !tbaa !14
  %1259 = getelementptr inbounds i8, ptr %1244, i64 128
  store double 0.000000e+00, ptr %1259, align 8, !tbaa !14
  %1260 = getelementptr inbounds i8, ptr %1247, i64 128
  store double 0.000000e+00, ptr %1260, align 8, !tbaa !14
  %1261 = getelementptr inbounds i8, ptr %1244, i64 136
  store double 0.000000e+00, ptr %1261, align 8, !tbaa !14
  %1262 = getelementptr inbounds i8, ptr %1247, i64 136
  store double 0.000000e+00, ptr %1262, align 8, !tbaa !14
  %1263 = getelementptr inbounds i8, ptr %1244, i64 144
  store double 0.000000e+00, ptr %1263, align 8, !tbaa !14
  %1264 = getelementptr inbounds i8, ptr %1247, i64 144
  store double 0.000000e+00, ptr %1264, align 8, !tbaa !14
  %1265 = getelementptr inbounds i8, ptr %1244, i64 152
  store double 0.000000e+00, ptr %1265, align 8, !tbaa !14
  %1266 = getelementptr inbounds i8, ptr %1247, i64 152
  store double 0.000000e+00, ptr %1266, align 8, !tbaa !14
  %1267 = getelementptr inbounds i8, ptr %1244, i64 160
  store double 0.000000e+00, ptr %1267, align 8, !tbaa !14
  %1268 = getelementptr inbounds i8, ptr %1247, i64 160
  store double 0.000000e+00, ptr %1268, align 8, !tbaa !14
  %1269 = getelementptr inbounds double, ptr %1244, i64 %.20621
  store double 1.000000e+00, ptr %1269, align 8, !tbaa !14
  %1270 = load ptr, ptr %1160, align 8, !tbaa !11
  %1271 = getelementptr inbounds ptr, ptr %1270, i64 %1162
  %1272 = load ptr, ptr %1271, align 8, !tbaa !12
  %1273 = getelementptr inbounds i8, ptr %1272, i64 160
  store double 1.000000e+00, ptr %1273, align 8, !tbaa !14
  %1274 = load ptr, ptr %1161, align 8, !tbaa !11
  %1275 = getelementptr inbounds i64, ptr %1274, i64 %1162
  store i64 -1, ptr %1275, align 8, !tbaa !23
  %1276 = load ptr, ptr %1160, align 8, !tbaa !11
  %1277 = getelementptr inbounds ptr, ptr %1276, i64 %1163
  %1278 = load ptr, ptr %1277, align 8, !tbaa !12
  %1279 = getelementptr inbounds double, ptr %1278, i64 %.20621
  store double 1.000000e+00, ptr %1279, align 8, !tbaa !14
  %1280 = load ptr, ptr %1160, align 8, !tbaa !11
  %1281 = getelementptr inbounds ptr, ptr %1280, i64 %1163
  %1282 = load ptr, ptr %1281, align 8, !tbaa !12
  %1283 = getelementptr inbounds i8, ptr %1282, i64 160
  store double -1.000000e+00, ptr %1283, align 8, !tbaa !14
  %1284 = load ptr, ptr %1161, align 8, !tbaa !11
  %1285 = getelementptr inbounds i64, ptr %1284, i64 %1163
  store i64 1, ptr %1285, align 8, !tbaa !23
  %1286 = add nuw nsw i64 %.20621, 1
  %exitcond667.not = icmp eq i64 %1286, 20
  br i1 %exitcond667.not, label %1287, label %.preheader546, !llvm.loop !55

1287:                                             ; preds = %.preheader546
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef 20, ptr noundef %0)
  %1288 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1289 = fadd double %1288, -5.000000e-01
  %1290 = load ptr, ptr %974, align 8, !tbaa !11
  store double %1289, ptr %1290, align 8, !tbaa !14
  %1291 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1292 = fadd double %1291, -5.000000e-01
  %1293 = load ptr, ptr %974, align 8, !tbaa !11
  %1294 = getelementptr inbounds i8, ptr %1293, i64 8
  store double %1292, ptr %1294, align 8, !tbaa !14
  %1295 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1296 = fadd double %1295, -5.000000e-01
  %1297 = load ptr, ptr %974, align 8, !tbaa !11
  %1298 = getelementptr inbounds i8, ptr %1297, i64 16
  store double %1296, ptr %1298, align 8, !tbaa !14
  %1299 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1300 = fadd double %1299, -5.000000e-01
  %1301 = load ptr, ptr %974, align 8, !tbaa !11
  %1302 = getelementptr inbounds i8, ptr %1301, i64 24
  store double %1300, ptr %1302, align 8, !tbaa !14
  %1303 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1304 = fadd double %1303, -5.000000e-01
  %1305 = load ptr, ptr %974, align 8, !tbaa !11
  %1306 = getelementptr inbounds i8, ptr %1305, i64 32
  store double %1304, ptr %1306, align 8, !tbaa !14
  %1307 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1308 = fadd double %1307, -5.000000e-01
  %1309 = load ptr, ptr %974, align 8, !tbaa !11
  %1310 = getelementptr inbounds i8, ptr %1309, i64 40
  store double %1308, ptr %1310, align 8, !tbaa !14
  %1311 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1312 = fadd double %1311, -5.000000e-01
  %1313 = load ptr, ptr %974, align 8, !tbaa !11
  %1314 = getelementptr inbounds i8, ptr %1313, i64 48
  store double %1312, ptr %1314, align 8, !tbaa !14
  %1315 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1316 = fadd double %1315, -5.000000e-01
  %1317 = load ptr, ptr %974, align 8, !tbaa !11
  %1318 = getelementptr inbounds i8, ptr %1317, i64 56
  store double %1316, ptr %1318, align 8, !tbaa !14
  %1319 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1320 = fadd double %1319, -5.000000e-01
  %1321 = load ptr, ptr %974, align 8, !tbaa !11
  %1322 = getelementptr inbounds i8, ptr %1321, i64 64
  store double %1320, ptr %1322, align 8, !tbaa !14
  %1323 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1324 = fadd double %1323, -5.000000e-01
  %1325 = load ptr, ptr %974, align 8, !tbaa !11
  %1326 = getelementptr inbounds i8, ptr %1325, i64 72
  store double %1324, ptr %1326, align 8, !tbaa !14
  %1327 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1328 = fadd double %1327, -5.000000e-01
  %1329 = load ptr, ptr %974, align 8, !tbaa !11
  %1330 = getelementptr inbounds i8, ptr %1329, i64 80
  store double %1328, ptr %1330, align 8, !tbaa !14
  %1331 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1332 = fadd double %1331, -5.000000e-01
  %1333 = load ptr, ptr %974, align 8, !tbaa !11
  %1334 = getelementptr inbounds i8, ptr %1333, i64 88
  store double %1332, ptr %1334, align 8, !tbaa !14
  %1335 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1336 = fadd double %1335, -5.000000e-01
  %1337 = load ptr, ptr %974, align 8, !tbaa !11
  %1338 = getelementptr inbounds i8, ptr %1337, i64 96
  store double %1336, ptr %1338, align 8, !tbaa !14
  %1339 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1340 = fadd double %1339, -5.000000e-01
  %1341 = load ptr, ptr %974, align 8, !tbaa !11
  %1342 = getelementptr inbounds i8, ptr %1341, i64 104
  store double %1340, ptr %1342, align 8, !tbaa !14
  %1343 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1344 = fadd double %1343, -5.000000e-01
  %1345 = load ptr, ptr %974, align 8, !tbaa !11
  %1346 = getelementptr inbounds i8, ptr %1345, i64 112
  store double %1344, ptr %1346, align 8, !tbaa !14
  %1347 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1348 = fadd double %1347, -5.000000e-01
  %1349 = load ptr, ptr %974, align 8, !tbaa !11
  %1350 = getelementptr inbounds i8, ptr %1349, i64 120
  store double %1348, ptr %1350, align 8, !tbaa !14
  %1351 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1352 = fadd double %1351, -5.000000e-01
  %1353 = load ptr, ptr %974, align 8, !tbaa !11
  %1354 = getelementptr inbounds i8, ptr %1353, i64 128
  store double %1352, ptr %1354, align 8, !tbaa !14
  %1355 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1356 = fadd double %1355, -5.000000e-01
  %1357 = load ptr, ptr %974, align 8, !tbaa !11
  %1358 = getelementptr inbounds i8, ptr %1357, i64 136
  store double %1356, ptr %1358, align 8, !tbaa !14
  %1359 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1360 = fadd double %1359, -5.000000e-01
  %1361 = load ptr, ptr %974, align 8, !tbaa !11
  %1362 = getelementptr inbounds i8, ptr %1361, i64 144
  store double %1360, ptr %1362, align 8, !tbaa !14
  %1363 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %0)
  %1364 = fadd double %1363, -5.000000e-01
  %1365 = load ptr, ptr %974, align 8, !tbaa !11
  %1366 = getelementptr inbounds i8, ptr %1365, i64 152
  store double %1364, ptr %1366, align 8, !tbaa !14
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0x3D06849B86A12B9B, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %0)
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %16, i1 noundef zeroext true, ptr noundef %0)
  call void @_ZN11alglib_impl10minqpsetlcEPNS_10minqpstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef nonnull %15, i64 noundef 40, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %14, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  %1367 = load i64, ptr %1132, align 8, !tbaa !42
  %1368 = icmp slt i64 %1367, 1
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1368, ptr noundef nonnull @.str.8, i32 noundef 42556, ptr noundef nonnull @.str.434)
  %1369 = load i64, ptr %1132, align 8, !tbaa !42
  %1370 = icmp sgt i64 %1369, 0
  br i1 %1370, label %.preheader544, label %.loopexit545

.preheader544:                                    ; preds = %1287, %1384
  %.22623 = phi i64 [ %1386, %1384 ], [ 0, %1287 ]
  %1371 = load ptr, ptr %78, align 8, !tbaa !11
  %1372 = getelementptr inbounds double, ptr %1371, i64 %.22623
  %1373 = load double, ptr %1372, align 8, !tbaa !14
  %1374 = fadd double %1373, 1.000000e+00
  %1375 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1374, ptr noundef %0)
  %1376 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1375, double noundef 5.000000e-14)
  br i1 %1376, label %1377, label %1384

1377:                                             ; preds = %.preheader544
  %1378 = load ptr, ptr %78, align 8, !tbaa !11
  %1379 = getelementptr inbounds double, ptr %1378, i64 %.22623
  %1380 = load double, ptr %1379, align 8, !tbaa !14
  %1381 = fadd double %1380, -1.000000e+00
  %1382 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1381, ptr noundef %0)
  %1383 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1382, double noundef 5.000000e-14)
  br label %1384

1384:                                             ; preds = %1377, %.preheader544
  %1385 = phi i1 [ false, %.preheader544 ], [ %1383, %1377 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1385, ptr noundef nonnull @.str.8, i32 noundef 42561, ptr noundef nonnull @.str.435)
  %1386 = add nuw nsw i64 %.22623, 1
  %exitcond669.not = icmp eq i64 %1386, 20
  br i1 %exitcond669.not, label %.loopexit545, label %.preheader544, !llvm.loop !56

.loopexit545:                                     ; preds = %1384, %1287
  call void @_ZN11alglib_impl10minqpsetlcEPNS_10minqpstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef nonnull %15, i64 noundef 38, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  %1387 = load i64, ptr %1132, align 8, !tbaa !42
  %1388 = icmp ne i64 %1387, -4
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1388, ptr noundef nonnull @.str.8, i32 noundef 42567, ptr noundef nonnull @.str.436)
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef 20, i64 noundef 20, i64 noundef 0, ptr noundef nonnull %16, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 20, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef 20, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef 20, ptr noundef %0)
  %1389 = load ptr, ptr %972, align 8, !tbaa !11
  store double -1.000000e+00, ptr %1389, align 8, !tbaa !14
  %1390 = load ptr, ptr %973, align 8, !tbaa !11
  store double 1.000000e+00, ptr %1390, align 8, !tbaa !14
  %1391 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1392 = load ptr, ptr %65, align 8, !tbaa !11
  store double %1391, ptr %1392, align 8, !tbaa !14
  %1393 = load ptr, ptr %972, align 8, !tbaa !11
  %1394 = getelementptr inbounds i8, ptr %1393, i64 8
  store double -1.000000e+00, ptr %1394, align 8, !tbaa !14
  %1395 = load ptr, ptr %973, align 8, !tbaa !11
  %1396 = getelementptr inbounds i8, ptr %1395, i64 8
  store double 1.000000e+00, ptr %1396, align 8, !tbaa !14
  %1397 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1398 = load ptr, ptr %65, align 8, !tbaa !11
  %1399 = getelementptr inbounds i8, ptr %1398, i64 8
  store double %1397, ptr %1399, align 8, !tbaa !14
  %1400 = load ptr, ptr %972, align 8, !tbaa !11
  %1401 = getelementptr inbounds i8, ptr %1400, i64 16
  store double -1.000000e+00, ptr %1401, align 8, !tbaa !14
  %1402 = load ptr, ptr %973, align 8, !tbaa !11
  %1403 = getelementptr inbounds i8, ptr %1402, i64 16
  store double 1.000000e+00, ptr %1403, align 8, !tbaa !14
  %1404 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1405 = load ptr, ptr %65, align 8, !tbaa !11
  %1406 = getelementptr inbounds i8, ptr %1405, i64 16
  store double %1404, ptr %1406, align 8, !tbaa !14
  %1407 = load ptr, ptr %972, align 8, !tbaa !11
  %1408 = getelementptr inbounds i8, ptr %1407, i64 24
  store double -1.000000e+00, ptr %1408, align 8, !tbaa !14
  %1409 = load ptr, ptr %973, align 8, !tbaa !11
  %1410 = getelementptr inbounds i8, ptr %1409, i64 24
  store double 1.000000e+00, ptr %1410, align 8, !tbaa !14
  %1411 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1412 = load ptr, ptr %65, align 8, !tbaa !11
  %1413 = getelementptr inbounds i8, ptr %1412, i64 24
  store double %1411, ptr %1413, align 8, !tbaa !14
  %1414 = load ptr, ptr %972, align 8, !tbaa !11
  %1415 = getelementptr inbounds i8, ptr %1414, i64 32
  store double -1.000000e+00, ptr %1415, align 8, !tbaa !14
  %1416 = load ptr, ptr %973, align 8, !tbaa !11
  %1417 = getelementptr inbounds i8, ptr %1416, i64 32
  store double 1.000000e+00, ptr %1417, align 8, !tbaa !14
  %1418 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1419 = load ptr, ptr %65, align 8, !tbaa !11
  %1420 = getelementptr inbounds i8, ptr %1419, i64 32
  store double %1418, ptr %1420, align 8, !tbaa !14
  %1421 = load ptr, ptr %972, align 8, !tbaa !11
  %1422 = getelementptr inbounds i8, ptr %1421, i64 40
  store double -1.000000e+00, ptr %1422, align 8, !tbaa !14
  %1423 = load ptr, ptr %973, align 8, !tbaa !11
  %1424 = getelementptr inbounds i8, ptr %1423, i64 40
  store double 1.000000e+00, ptr %1424, align 8, !tbaa !14
  %1425 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1426 = load ptr, ptr %65, align 8, !tbaa !11
  %1427 = getelementptr inbounds i8, ptr %1426, i64 40
  store double %1425, ptr %1427, align 8, !tbaa !14
  %1428 = load ptr, ptr %972, align 8, !tbaa !11
  %1429 = getelementptr inbounds i8, ptr %1428, i64 48
  store double -1.000000e+00, ptr %1429, align 8, !tbaa !14
  %1430 = load ptr, ptr %973, align 8, !tbaa !11
  %1431 = getelementptr inbounds i8, ptr %1430, i64 48
  store double 1.000000e+00, ptr %1431, align 8, !tbaa !14
  %1432 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1433 = load ptr, ptr %65, align 8, !tbaa !11
  %1434 = getelementptr inbounds i8, ptr %1433, i64 48
  store double %1432, ptr %1434, align 8, !tbaa !14
  %1435 = load ptr, ptr %972, align 8, !tbaa !11
  %1436 = getelementptr inbounds i8, ptr %1435, i64 56
  store double -1.000000e+00, ptr %1436, align 8, !tbaa !14
  %1437 = load ptr, ptr %973, align 8, !tbaa !11
  %1438 = getelementptr inbounds i8, ptr %1437, i64 56
  store double 1.000000e+00, ptr %1438, align 8, !tbaa !14
  %1439 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1440 = load ptr, ptr %65, align 8, !tbaa !11
  %1441 = getelementptr inbounds i8, ptr %1440, i64 56
  store double %1439, ptr %1441, align 8, !tbaa !14
  %1442 = load ptr, ptr %972, align 8, !tbaa !11
  %1443 = getelementptr inbounds i8, ptr %1442, i64 64
  store double -1.000000e+00, ptr %1443, align 8, !tbaa !14
  %1444 = load ptr, ptr %973, align 8, !tbaa !11
  %1445 = getelementptr inbounds i8, ptr %1444, i64 64
  store double 1.000000e+00, ptr %1445, align 8, !tbaa !14
  %1446 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1447 = load ptr, ptr %65, align 8, !tbaa !11
  %1448 = getelementptr inbounds i8, ptr %1447, i64 64
  store double %1446, ptr %1448, align 8, !tbaa !14
  %1449 = load ptr, ptr %972, align 8, !tbaa !11
  %1450 = getelementptr inbounds i8, ptr %1449, i64 72
  store double -1.000000e+00, ptr %1450, align 8, !tbaa !14
  %1451 = load ptr, ptr %973, align 8, !tbaa !11
  %1452 = getelementptr inbounds i8, ptr %1451, i64 72
  store double 1.000000e+00, ptr %1452, align 8, !tbaa !14
  %1453 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1454 = load ptr, ptr %65, align 8, !tbaa !11
  %1455 = getelementptr inbounds i8, ptr %1454, i64 72
  store double %1453, ptr %1455, align 8, !tbaa !14
  %1456 = load ptr, ptr %972, align 8, !tbaa !11
  %1457 = getelementptr inbounds i8, ptr %1456, i64 80
  store double -1.000000e+00, ptr %1457, align 8, !tbaa !14
  %1458 = load ptr, ptr %973, align 8, !tbaa !11
  %1459 = getelementptr inbounds i8, ptr %1458, i64 80
  store double 1.000000e+00, ptr %1459, align 8, !tbaa !14
  %1460 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1461 = load ptr, ptr %65, align 8, !tbaa !11
  %1462 = getelementptr inbounds i8, ptr %1461, i64 80
  store double %1460, ptr %1462, align 8, !tbaa !14
  %1463 = load ptr, ptr %972, align 8, !tbaa !11
  %1464 = getelementptr inbounds i8, ptr %1463, i64 88
  store double -1.000000e+00, ptr %1464, align 8, !tbaa !14
  %1465 = load ptr, ptr %973, align 8, !tbaa !11
  %1466 = getelementptr inbounds i8, ptr %1465, i64 88
  store double 1.000000e+00, ptr %1466, align 8, !tbaa !14
  %1467 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1468 = load ptr, ptr %65, align 8, !tbaa !11
  %1469 = getelementptr inbounds i8, ptr %1468, i64 88
  store double %1467, ptr %1469, align 8, !tbaa !14
  %1470 = load ptr, ptr %972, align 8, !tbaa !11
  %1471 = getelementptr inbounds i8, ptr %1470, i64 96
  store double -1.000000e+00, ptr %1471, align 8, !tbaa !14
  %1472 = load ptr, ptr %973, align 8, !tbaa !11
  %1473 = getelementptr inbounds i8, ptr %1472, i64 96
  store double 1.000000e+00, ptr %1473, align 8, !tbaa !14
  %1474 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1475 = load ptr, ptr %65, align 8, !tbaa !11
  %1476 = getelementptr inbounds i8, ptr %1475, i64 96
  store double %1474, ptr %1476, align 8, !tbaa !14
  %1477 = load ptr, ptr %972, align 8, !tbaa !11
  %1478 = getelementptr inbounds i8, ptr %1477, i64 104
  store double -1.000000e+00, ptr %1478, align 8, !tbaa !14
  %1479 = load ptr, ptr %973, align 8, !tbaa !11
  %1480 = getelementptr inbounds i8, ptr %1479, i64 104
  store double 1.000000e+00, ptr %1480, align 8, !tbaa !14
  %1481 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1482 = load ptr, ptr %65, align 8, !tbaa !11
  %1483 = getelementptr inbounds i8, ptr %1482, i64 104
  store double %1481, ptr %1483, align 8, !tbaa !14
  %1484 = load ptr, ptr %972, align 8, !tbaa !11
  %1485 = getelementptr inbounds i8, ptr %1484, i64 112
  store double -1.000000e+00, ptr %1485, align 8, !tbaa !14
  %1486 = load ptr, ptr %973, align 8, !tbaa !11
  %1487 = getelementptr inbounds i8, ptr %1486, i64 112
  store double 1.000000e+00, ptr %1487, align 8, !tbaa !14
  %1488 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1489 = load ptr, ptr %65, align 8, !tbaa !11
  %1490 = getelementptr inbounds i8, ptr %1489, i64 112
  store double %1488, ptr %1490, align 8, !tbaa !14
  %1491 = load ptr, ptr %972, align 8, !tbaa !11
  %1492 = getelementptr inbounds i8, ptr %1491, i64 120
  store double -1.000000e+00, ptr %1492, align 8, !tbaa !14
  %1493 = load ptr, ptr %973, align 8, !tbaa !11
  %1494 = getelementptr inbounds i8, ptr %1493, i64 120
  store double 1.000000e+00, ptr %1494, align 8, !tbaa !14
  %1495 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1496 = load ptr, ptr %65, align 8, !tbaa !11
  %1497 = getelementptr inbounds i8, ptr %1496, i64 120
  store double %1495, ptr %1497, align 8, !tbaa !14
  %1498 = load ptr, ptr %972, align 8, !tbaa !11
  %1499 = getelementptr inbounds i8, ptr %1498, i64 128
  store double -1.000000e+00, ptr %1499, align 8, !tbaa !14
  %1500 = load ptr, ptr %973, align 8, !tbaa !11
  %1501 = getelementptr inbounds i8, ptr %1500, i64 128
  store double 1.000000e+00, ptr %1501, align 8, !tbaa !14
  %1502 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1503 = load ptr, ptr %65, align 8, !tbaa !11
  %1504 = getelementptr inbounds i8, ptr %1503, i64 128
  store double %1502, ptr %1504, align 8, !tbaa !14
  %1505 = load ptr, ptr %972, align 8, !tbaa !11
  %1506 = getelementptr inbounds i8, ptr %1505, i64 136
  store double -1.000000e+00, ptr %1506, align 8, !tbaa !14
  %1507 = load ptr, ptr %973, align 8, !tbaa !11
  %1508 = getelementptr inbounds i8, ptr %1507, i64 136
  store double 1.000000e+00, ptr %1508, align 8, !tbaa !14
  %1509 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1510 = load ptr, ptr %65, align 8, !tbaa !11
  %1511 = getelementptr inbounds i8, ptr %1510, i64 136
  store double %1509, ptr %1511, align 8, !tbaa !14
  %1512 = load ptr, ptr %972, align 8, !tbaa !11
  %1513 = getelementptr inbounds i8, ptr %1512, i64 144
  store double -1.000000e+00, ptr %1513, align 8, !tbaa !14
  %1514 = load ptr, ptr %973, align 8, !tbaa !11
  %1515 = getelementptr inbounds i8, ptr %1514, i64 144
  store double 1.000000e+00, ptr %1515, align 8, !tbaa !14
  %1516 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1517 = load ptr, ptr %65, align 8, !tbaa !11
  %1518 = getelementptr inbounds i8, ptr %1517, i64 144
  store double %1516, ptr %1518, align 8, !tbaa !14
  %1519 = load ptr, ptr %972, align 8, !tbaa !11
  %1520 = getelementptr inbounds i8, ptr %1519, i64 152
  store double -1.000000e+00, ptr %1520, align 8, !tbaa !14
  %1521 = load ptr, ptr %973, align 8, !tbaa !11
  %1522 = getelementptr inbounds i8, ptr %1521, i64 152
  store double 1.000000e+00, ptr %1522, align 8, !tbaa !14
  %1523 = call noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef %0)
  %1524 = load ptr, ptr %65, align 8, !tbaa !11
  %1525 = getelementptr inbounds i8, ptr %1524, i64 152
  store double %1523, ptr %1525, align 8, !tbaa !14
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0x3D06849B86A12B9B, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  %1526 = load i64, ptr %1132, align 8, !tbaa !42
  %1527 = icmp slt i64 %1526, 1
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1527, ptr noundef nonnull @.str.8, i32 noundef 42600, ptr noundef nonnull @.str.437)
  %1528 = load i64, ptr %1132, align 8, !tbaa !42
  %1529 = icmp sgt i64 %1528, 0
  br i1 %1529, label %.preheader542, label %.loopexit543

.preheader542:                                    ; preds = %.loopexit545, %1556
  %.24625 = phi i64 [ %1558, %1556 ], [ 0, %.loopexit545 ]
  %1530 = load ptr, ptr %65, align 8, !tbaa !11
  %1531 = getelementptr inbounds double, ptr %1530, i64 %.24625
  %1532 = load double, ptr %1531, align 8, !tbaa !14
  %1533 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1532, double noundef 0.000000e+00)
  br i1 %1533, label %1534, label %1542

1534:                                             ; preds = %.preheader542
  %1535 = load ptr, ptr %78, align 8, !tbaa !11
  %1536 = getelementptr inbounds double, ptr %1535, i64 %.24625
  %1537 = load double, ptr %1536, align 8, !tbaa !14
  %1538 = load ptr, ptr %972, align 8, !tbaa !11
  %1539 = getelementptr inbounds double, ptr %1538, i64 %.24625
  %1540 = load double, ptr %1539, align 8, !tbaa !14
  %1541 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1537, double noundef %1540)
  br label %1542

1542:                                             ; preds = %1534, %.preheader542
  %1543 = phi i1 [ false, %.preheader542 ], [ %1541, %1534 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1543, ptr noundef nonnull @.str.8, i32 noundef 42605, ptr noundef nonnull @.str.438)
  %1544 = load ptr, ptr %65, align 8, !tbaa !11
  %1545 = getelementptr inbounds double, ptr %1544, i64 %.24625
  %1546 = load double, ptr %1545, align 8, !tbaa !14
  %1547 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1546, double noundef 0.000000e+00)
  br i1 %1547, label %1548, label %1556

1548:                                             ; preds = %1542
  %1549 = load ptr, ptr %78, align 8, !tbaa !11
  %1550 = getelementptr inbounds double, ptr %1549, i64 %.24625
  %1551 = load double, ptr %1550, align 8, !tbaa !14
  %1552 = load ptr, ptr %973, align 8, !tbaa !11
  %1553 = getelementptr inbounds double, ptr %1552, i64 %.24625
  %1554 = load double, ptr %1553, align 8, !tbaa !14
  %1555 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1551, double noundef %1554)
  br label %1556

1556:                                             ; preds = %1548, %1542
  %1557 = phi i1 [ false, %1542 ], [ %1555, %1548 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1557, ptr noundef nonnull @.str.8, i32 noundef 42606, ptr noundef nonnull @.str.439)
  %1558 = add nuw nsw i64 %.24625, 1
  %exitcond671.not = icmp eq i64 %1558, 20
  br i1 %exitcond671.not, label %.loopexit543, label %.preheader542, !llvm.loop !57

.loopexit543:                                     ; preds = %1556, %.loopexit545
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 20, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0x3D06849B86A12B9B, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %0)
  call void @_ZN11alglib_impl27minqpsetquadratictermsparseEPNS_10minqpstateEPNS_12sparsematrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %16, i1 noundef zeroext true, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %4, ptr noundef %0)
  %1559 = load i64, ptr %1132, align 8, !tbaa !42
  %1560 = icmp slt i64 %1559, 1
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1560, ptr noundef nonnull @.str.8, i32 noundef 42616, ptr noundef nonnull @.str.440)
  %1561 = load i64, ptr %1132, align 8, !tbaa !42
  %1562 = icmp sgt i64 %1561, 0
  br i1 %1562, label %.preheader541, label %.loopexit

.preheader541:                                    ; preds = %.loopexit543, %1589
  %.25626 = phi i64 [ %1591, %1589 ], [ 0, %.loopexit543 ]
  %1563 = load ptr, ptr %65, align 8, !tbaa !11
  %1564 = getelementptr inbounds double, ptr %1563, i64 %.25626
  %1565 = load double, ptr %1564, align 8, !tbaa !14
  %1566 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1565, double noundef 0.000000e+00)
  br i1 %1566, label %1567, label %1575

1567:                                             ; preds = %.preheader541
  %1568 = load ptr, ptr %78, align 8, !tbaa !11
  %1569 = getelementptr inbounds double, ptr %1568, i64 %.25626
  %1570 = load double, ptr %1569, align 8, !tbaa !14
  %1571 = load ptr, ptr %972, align 8, !tbaa !11
  %1572 = getelementptr inbounds double, ptr %1571, i64 %.25626
  %1573 = load double, ptr %1572, align 8, !tbaa !14
  %1574 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1570, double noundef %1573)
  br label %1575

1575:                                             ; preds = %1567, %.preheader541
  %1576 = phi i1 [ false, %.preheader541 ], [ %1574, %1567 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1576, ptr noundef nonnull @.str.8, i32 noundef 42621, ptr noundef nonnull @.str.441)
  %1577 = load ptr, ptr %65, align 8, !tbaa !11
  %1578 = getelementptr inbounds double, ptr %1577, i64 %.25626
  %1579 = load double, ptr %1578, align 8, !tbaa !14
  %1580 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1579, double noundef 0.000000e+00)
  br i1 %1580, label %1581, label %1589

1581:                                             ; preds = %1575
  %1582 = load ptr, ptr %78, align 8, !tbaa !11
  %1583 = getelementptr inbounds double, ptr %1582, i64 %.25626
  %1584 = load double, ptr %1583, align 8, !tbaa !14
  %1585 = load ptr, ptr %973, align 8, !tbaa !11
  %1586 = getelementptr inbounds double, ptr %1585, i64 %.25626
  %1587 = load double, ptr %1586, align 8, !tbaa !14
  %1588 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1584, double noundef %1587)
  br label %1589

1589:                                             ; preds = %1581, %1575
  %1590 = phi i1 [ false, %1575 ], [ %1588, %1581 ]
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %22, i1 noundef zeroext %1590, ptr noundef nonnull @.str.8, i32 noundef 42622, ptr noundef nonnull @.str.442)
  %1591 = add nuw nsw i64 %.25626, 1
  %exitcond672.not = icmp eq i64 %1591, 20
  br i1 %exitcond672.not, label %.loopexit, label %.preheader541, !llvm.loop !58

.loopexit:                                        ; preds = %1589, %.loopexit543
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 3, i64 noundef 3, ptr noundef %0)
  %1592 = load ptr, ptr %26, align 8, !tbaa !11
  %1593 = load ptr, ptr %1592, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1593, align 8, !tbaa !14
  %1594 = load ptr, ptr %26, align 8, !tbaa !11
  %1595 = load ptr, ptr %1594, align 8, !tbaa !12
  %1596 = getelementptr inbounds i8, ptr %1595, i64 8
  store double 0.000000e+00, ptr %1596, align 8, !tbaa !14
  %1597 = load ptr, ptr %26, align 8, !tbaa !11
  %1598 = load ptr, ptr %1597, align 8, !tbaa !12
  %1599 = getelementptr inbounds i8, ptr %1598, i64 16
  store double 0.000000e+00, ptr %1599, align 8, !tbaa !14
  %1600 = load ptr, ptr %26, align 8, !tbaa !11
  %1601 = getelementptr inbounds i8, ptr %1600, i64 8
  %1602 = load ptr, ptr %1601, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1602, align 8, !tbaa !14
  %1603 = load ptr, ptr %26, align 8, !tbaa !11
  %1604 = getelementptr inbounds i8, ptr %1603, i64 8
  %1605 = load ptr, ptr %1604, align 8, !tbaa !12
  %1606 = getelementptr inbounds i8, ptr %1605, i64 8
  store double 0.000000e+00, ptr %1606, align 8, !tbaa !14
  %1607 = load ptr, ptr %26, align 8, !tbaa !11
  %1608 = getelementptr inbounds i8, ptr %1607, i64 8
  %1609 = load ptr, ptr %1608, align 8, !tbaa !12
  %1610 = getelementptr inbounds i8, ptr %1609, i64 16
  store double 0.000000e+00, ptr %1610, align 8, !tbaa !14
  %1611 = load ptr, ptr %26, align 8, !tbaa !11
  %1612 = getelementptr inbounds i8, ptr %1611, i64 16
  %1613 = load ptr, ptr %1612, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1613, align 8, !tbaa !14
  %1614 = load ptr, ptr %26, align 8, !tbaa !11
  %1615 = getelementptr inbounds i8, ptr %1614, i64 16
  %1616 = load ptr, ptr %1615, align 8, !tbaa !12
  %1617 = getelementptr inbounds i8, ptr %1616, i64 8
  store double 0.000000e+00, ptr %1617, align 8, !tbaa !14
  %1618 = load ptr, ptr %26, align 8, !tbaa !11
  %1619 = getelementptr inbounds i8, ptr %1618, i64 16
  %1620 = load ptr, ptr %1619, align 8, !tbaa !12
  %1621 = getelementptr inbounds i8, ptr %1620, i64 16
  store double 0.000000e+00, ptr %1621, align 8, !tbaa !14
  %1622 = load ptr, ptr %26, align 8, !tbaa !11
  %1623 = load ptr, ptr %1622, align 8, !tbaa !12
  store double 1.222990e+00, ptr %1623, align 8, !tbaa !14
  %1624 = load ptr, ptr %26, align 8, !tbaa !11
  %1625 = getelementptr inbounds i8, ptr %1624, i64 8
  %1626 = load ptr, ptr %1625, align 8, !tbaa !12
  %1627 = getelementptr inbounds i8, ptr %1626, i64 8
  store double 1.934900e+00, ptr %1627, align 8, !tbaa !14
  %1628 = load ptr, ptr %26, align 8, !tbaa !11
  %1629 = getelementptr inbounds i8, ptr %1628, i64 16
  %1630 = load ptr, ptr %1629, align 8, !tbaa !12
  %1631 = getelementptr inbounds i8, ptr %1630, i64 16
  store double 6.039240e-01, ptr %1631, align 8, !tbaa !14
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef 3, ptr noundef %0)
  %1632 = load ptr, ptr %65, align 8, !tbaa !11
  store double -4.972450e+00, ptr %1632, align 8, !tbaa !14
  %1633 = load ptr, ptr %65, align 8, !tbaa !11
  %1634 = getelementptr inbounds i8, ptr %1633, i64 8
  store double -9.090390e+00, ptr %1634, align 8, !tbaa !14
  %1635 = load ptr, ptr %65, align 8, !tbaa !11
  %1636 = getelementptr inbounds i8, ptr %1635, i64 16
  store double -4.638560e+00, ptr %1636, align 8, !tbaa !14
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 8, i64 noundef 4, ptr noundef %0)
  %1637 = load i64, ptr %8, align 8, !tbaa !59
  %.not.not524630 = icmp sgt i64 %1637, 0
  br i1 %.not.not524630, label %.preheader539.preheader, label %._crit_edge632

.preheader539.preheader:                          ; preds = %.loopexit
  %xtraiter732 = and i64 %1637, 1
  %1638 = icmp eq i64 %1637, 1
  br i1 %1638, label %._crit_edge632.loopexit.unr-lcssa, label %.preheader539.preheader.new

.preheader539.preheader.new:                      ; preds = %.preheader539.preheader
  %unroll_iter735 = and i64 %1637, 9223372036854775806
  br label %.preheader539

.preheader539:                                    ; preds = %.preheader539, %.preheader539.preheader.new
  %.27631 = phi i64 [ 0, %.preheader539.preheader.new ], [ %1662, %.preheader539 ]
  %niter736 = phi i64 [ 0, %.preheader539.preheader.new ], [ %niter736.next.1, %.preheader539 ]
  %1639 = load ptr, ptr %1160, align 8, !tbaa !11
  %1640 = getelementptr inbounds ptr, ptr %1639, i64 %.27631
  %1641 = load ptr, ptr %1640, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1641, align 8, !tbaa !14
  %1642 = load ptr, ptr %1160, align 8, !tbaa !11
  %1643 = getelementptr inbounds ptr, ptr %1642, i64 %.27631
  %1644 = load ptr, ptr %1643, align 8, !tbaa !12
  %1645 = getelementptr inbounds i8, ptr %1644, i64 8
  store double 0.000000e+00, ptr %1645, align 8, !tbaa !14
  %1646 = load ptr, ptr %1160, align 8, !tbaa !11
  %1647 = getelementptr inbounds ptr, ptr %1646, i64 %.27631
  %1648 = load ptr, ptr %1647, align 8, !tbaa !12
  %1649 = getelementptr inbounds i8, ptr %1648, i64 16
  store double 0.000000e+00, ptr %1649, align 8, !tbaa !14
  %1650 = or disjoint i64 %.27631, 1
  %1651 = load ptr, ptr %1160, align 8, !tbaa !11
  %1652 = getelementptr inbounds ptr, ptr %1651, i64 %1650
  %1653 = load ptr, ptr %1652, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1653, align 8, !tbaa !14
  %1654 = load ptr, ptr %1160, align 8, !tbaa !11
  %1655 = getelementptr inbounds ptr, ptr %1654, i64 %1650
  %1656 = load ptr, ptr %1655, align 8, !tbaa !12
  %1657 = getelementptr inbounds i8, ptr %1656, i64 8
  store double 0.000000e+00, ptr %1657, align 8, !tbaa !14
  %1658 = load ptr, ptr %1160, align 8, !tbaa !11
  %1659 = getelementptr inbounds ptr, ptr %1658, i64 %1650
  %1660 = load ptr, ptr %1659, align 8, !tbaa !12
  %1661 = getelementptr inbounds i8, ptr %1660, i64 16
  store double 0.000000e+00, ptr %1661, align 8, !tbaa !14
  %1662 = add nuw nsw i64 %.27631, 2
  %niter736.next.1 = add i64 %niter736, 2
  %niter736.ncmp.1 = icmp eq i64 %niter736.next.1, %unroll_iter735
  br i1 %niter736.ncmp.1, label %._crit_edge632.loopexit.unr-lcssa, label %.preheader539, !llvm.loop !61

._crit_edge632.loopexit.unr-lcssa:                ; preds = %.preheader539, %.preheader539.preheader
  %.27631.unr = phi i64 [ 0, %.preheader539.preheader ], [ %1662, %.preheader539 ]
  %lcmp.mod734.not = icmp eq i64 %xtraiter732, 0
  br i1 %lcmp.mod734.not, label %._crit_edge632, label %.preheader539.epil

.preheader539.epil:                               ; preds = %._crit_edge632.loopexit.unr-lcssa
  %1663 = load ptr, ptr %1160, align 8, !tbaa !11
  %1664 = getelementptr inbounds ptr, ptr %1663, i64 %.27631.unr
  %1665 = load ptr, ptr %1664, align 8, !tbaa !12
  store double 0.000000e+00, ptr %1665, align 8, !tbaa !14
  %1666 = load ptr, ptr %1160, align 8, !tbaa !11
  %1667 = getelementptr inbounds ptr, ptr %1666, i64 %.27631.unr
  %1668 = load ptr, ptr %1667, align 8, !tbaa !12
  %1669 = getelementptr inbounds i8, ptr %1668, i64 8
  store double 0.000000e+00, ptr %1669, align 8, !tbaa !14
  %1670 = load ptr, ptr %1160, align 8, !tbaa !11
  %1671 = getelementptr inbounds ptr, ptr %1670, i64 %.27631.unr
  %1672 = load ptr, ptr %1671, align 8, !tbaa !12
  %1673 = getelementptr inbounds i8, ptr %1672, i64 16
  store double 0.000000e+00, ptr %1673, align 8, !tbaa !14
  br label %._crit_edge632

._crit_edge632:                                   ; preds = %.preheader539.epil, %._crit_edge632.loopexit.unr-lcssa, %.loopexit
  %1674 = load ptr, ptr %1160, align 8, !tbaa !11
  %1675 = load ptr, ptr %1674, align 8, !tbaa !12
  store double 1.000000e+00, ptr %1675, align 8, !tbaa !14
  %1676 = load ptr, ptr %1160, align 8, !tbaa !11
  %1677 = load ptr, ptr %1676, align 8, !tbaa !12
  %1678 = getelementptr inbounds i8, ptr %1677, i64 24
  store double 4.942980e+00, ptr %1678, align 8, !tbaa !14
  %1679 = load ptr, ptr %1160, align 8, !tbaa !11
  %1680 = getelementptr inbounds i8, ptr %1679, i64 8
  %1681 = load ptr, ptr %1680, align 8, !tbaa !12
  store double 1.000000e+00, ptr %1681, align 8, !tbaa !14
  %1682 = load ptr, ptr %1160, align 8, !tbaa !11
  %1683 = getelementptr inbounds i8, ptr %1682, i64 8
  %1684 = load ptr, ptr %1683, align 8, !tbaa !12
  %1685 = getelementptr inbounds i8, ptr %1684, i64 24
  store double 4.799810e+00, ptr %1685, align 8, !tbaa !14
  %1686 = load ptr, ptr %1160, align 8, !tbaa !11
  %1687 = getelementptr inbounds i8, ptr %1686, i64 16
  %1688 = load ptr, ptr %1687, align 8, !tbaa !12
  %1689 = getelementptr inbounds i8, ptr %1688, i64 8
  store double 1.000000e+00, ptr %1689, align 8, !tbaa !14
  %1690 = load ptr, ptr %1160, align 8, !tbaa !11
  %1691 = getelementptr inbounds i8, ptr %1690, i64 16
  %1692 = load ptr, ptr %1691, align 8, !tbaa !12
  %1693 = getelementptr inbounds i8, ptr %1692, i64 24
  store double -4.848000e-01, ptr %1693, align 8, !tbaa !14
  %1694 = load ptr, ptr %1160, align 8, !tbaa !11
  %1695 = getelementptr inbounds i8, ptr %1694, i64 24
  %1696 = load ptr, ptr %1695, align 8, !tbaa !12
  %1697 = getelementptr inbounds i8, ptr %1696, i64 8
  store double 1.000000e+00, ptr %1697, align 8, !tbaa !14
  %1698 = load ptr, ptr %1160, align 8, !tbaa !11
  %1699 = getelementptr inbounds i8, ptr %1698, i64 24
  %1700 = load ptr, ptr %1699, align 8, !tbaa !12
  %1701 = getelementptr inbounds i8, ptr %1700, i64 24
  store double -7.380400e-01, ptr %1701, align 8, !tbaa !14
  %1702 = load ptr, ptr %1160, align 8, !tbaa !11
  %1703 = getelementptr inbounds i8, ptr %1702, i64 32
  %1704 = load ptr, ptr %1703, align 8, !tbaa !12
  %1705 = getelementptr inbounds i8, ptr %1704, i64 16
  store double 1.000000e+00, ptr %1705, align 8, !tbaa !14
  %1706 = load ptr, ptr %1160, align 8, !tbaa !11
  %1707 = getelementptr inbounds i8, ptr %1706, i64 32
  %1708 = load ptr, ptr %1707, align 8, !tbaa !12
  %1709 = getelementptr inbounds i8, ptr %1708, i64 24
  store double 5.757290e-01, ptr %1709, align 8, !tbaa !14
  %1710 = load ptr, ptr %1160, align 8, !tbaa !11
  %1711 = getelementptr inbounds i8, ptr %1710, i64 40
  %1712 = load ptr, ptr %1711, align 8, !tbaa !12
  %1713 = getelementptr inbounds i8, ptr %1712, i64 16
  store double 1.000000e+00, ptr %1713, align 8, !tbaa !14
  %1714 = load ptr, ptr %1160, align 8, !tbaa !11
  %1715 = getelementptr inbounds i8, ptr %1714, i64 40
  %1716 = load ptr, ptr %1715, align 8, !tbaa !12
  %1717 = getelementptr inbounds i8, ptr %1716, i64 24
  store double 4.586450e-01, ptr %1717, align 8, !tbaa !14
  %1718 = load ptr, ptr %1160, align 8, !tbaa !11
  %1719 = getelementptr inbounds i8, ptr %1718, i64 48
  %1720 = load ptr, ptr %1719, align 8, !tbaa !12
  store double 1.000000e+00, ptr %1720, align 8, !tbaa !14
  %1721 = load ptr, ptr %1160, align 8, !tbaa !11
  %1722 = getelementptr inbounds i8, ptr %1721, i64 48
  %1723 = load ptr, ptr %1722, align 8, !tbaa !12
  %1724 = getelementptr inbounds i8, ptr %1723, i64 16
  store double -1.000000e+00, ptr %1724, align 8, !tbaa !14
  %1725 = load ptr, ptr %1160, align 8, !tbaa !11
  %1726 = getelementptr inbounds i8, ptr %1725, i64 48
  %1727 = load ptr, ptr %1726, align 8, !tbaa !12
  %1728 = getelementptr inbounds i8, ptr %1727, i64 24
  store double -5.465740e-02, ptr %1728, align 8, !tbaa !14
  %1729 = load ptr, ptr %1160, align 8, !tbaa !11
  %1730 = getelementptr inbounds i8, ptr %1729, i64 56
  %1731 = load ptr, ptr %1730, align 8, !tbaa !12
  store double 1.000000e+00, ptr %1731, align 8, !tbaa !14
  %1732 = load ptr, ptr %1160, align 8, !tbaa !11
  %1733 = getelementptr inbounds i8, ptr %1732, i64 56
  %1734 = load ptr, ptr %1733, align 8, !tbaa !12
  %1735 = getelementptr inbounds i8, ptr %1734, i64 16
  store double -1.000000e+00, ptr %1735, align 8, !tbaa !14
  %1736 = load ptr, ptr %1160, align 8, !tbaa !11
  %1737 = getelementptr inbounds i8, ptr %1736, i64 56
  %1738 = load ptr, ptr %1737, align 8, !tbaa !12
  %1739 = getelementptr inbounds i8, ptr %1738, i64 24
  store double -5.900440e-01, ptr %1739, align 8, !tbaa !14
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef 8, ptr noundef %0)
  %1740 = load ptr, ptr %1161, align 8, !tbaa !11
  store i64 -1, ptr %1740, align 8, !tbaa !23
  %1741 = load ptr, ptr %1161, align 8, !tbaa !11
  %1742 = getelementptr inbounds i8, ptr %1741, i64 8
  store i64 1, ptr %1742, align 8, !tbaa !23
  %1743 = load ptr, ptr %1161, align 8, !tbaa !11
  %1744 = getelementptr inbounds i8, ptr %1743, i64 16
  store i64 -1, ptr %1744, align 8, !tbaa !23
  %1745 = load ptr, ptr %1161, align 8, !tbaa !11
  %1746 = getelementptr inbounds i8, ptr %1745, i64 24
  store i64 1, ptr %1746, align 8, !tbaa !23
  %1747 = load ptr, ptr %1161, align 8, !tbaa !11
  %1748 = getelementptr inbounds i8, ptr %1747, i64 32
  store i64 -1, ptr %1748, align 8, !tbaa !23
  %1749 = load ptr, ptr %1161, align 8, !tbaa !11
  %1750 = getelementptr inbounds i8, ptr %1749, i64 40
  store i64 1, ptr %1750, align 8, !tbaa !23
  %1751 = load ptr, ptr %1161, align 8, !tbaa !11
  %1752 = getelementptr inbounds i8, ptr %1751, i64 48
  store i64 -1, ptr %1752, align 8, !tbaa !23
  %1753 = load ptr, ptr %1161, align 8, !tbaa !11
  %1754 = getelementptr inbounds i8, ptr %1753, i64 56
  store i64 1, ptr %1754, align 8, !tbaa !23
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef 3, ptr noundef %0)
  %1755 = load ptr, ptr %66, align 8, !tbaa !11
  store double 1.431710e-01, ptr %1755, align 8, !tbaa !14
  %1756 = load ptr, ptr %66, align 8, !tbaa !11
  %1757 = getelementptr inbounds i8, ptr %1756, i64 8
  store double 2.532400e-01, ptr %1757, align 8, !tbaa !14
  %1758 = load ptr, ptr %66, align 8, !tbaa !11
  %1759 = getelementptr inbounds i8, ptr %1758, i64 16
  store double 1.170840e-01, ptr %1759, align 8, !tbaa !14
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef 3, ptr noundef %0)
  %1760 = getelementptr inbounds i8, ptr %17, i64 56
  %1761 = load ptr, ptr %1760, align 8, !tbaa !11
  store double 3.511260e+00, ptr %1761, align 8, !tbaa !14
  %1762 = load ptr, ptr %1760, align 8, !tbaa !11
  %1763 = getelementptr inbounds i8, ptr %1762, i64 8
  store double 4.057310e+00, ptr %1763, align 8, !tbaa !14
  %1764 = load ptr, ptr %1760, align 8, !tbaa !11
  %1765 = getelementptr inbounds i8, ptr %1764, i64 16
  store double 6.633070e+00, ptr %1765, align 8, !tbaa !14
  br label %.preheader538

.preheader538:                                    ; preds = %._crit_edge632, %.preheader538
  %.1509635 = phi i64 [ 1, %._crit_edge632 ], [ %1876, %.preheader538 ]
  %1766 = load ptr, ptr %65, align 8, !tbaa !11
  %1767 = load double, ptr %1766, align 8, !tbaa !14
  %1768 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1769 = shl nsw i64 %1768, 1
  %1770 = add nsw i64 %1769, -1
  %1771 = sitofp i64 %1770 to double
  %1772 = call double @llvm.fmuladd.f64(double %1771, double 1.000000e-01, double %1767)
  %1773 = load ptr, ptr %65, align 8, !tbaa !11
  store double %1772, ptr %1773, align 8, !tbaa !14
  %1774 = load ptr, ptr %65, align 8, !tbaa !11
  %1775 = getelementptr inbounds i8, ptr %1774, i64 8
  %1776 = load double, ptr %1775, align 8, !tbaa !14
  %1777 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1778 = shl nsw i64 %1777, 1
  %1779 = add nsw i64 %1778, -1
  %1780 = sitofp i64 %1779 to double
  %1781 = call double @llvm.fmuladd.f64(double %1780, double 1.000000e-01, double %1776)
  %1782 = load ptr, ptr %65, align 8, !tbaa !11
  %1783 = getelementptr inbounds i8, ptr %1782, i64 8
  store double %1781, ptr %1783, align 8, !tbaa !14
  %1784 = load ptr, ptr %65, align 8, !tbaa !11
  %1785 = getelementptr inbounds i8, ptr %1784, i64 16
  %1786 = load double, ptr %1785, align 8, !tbaa !14
  %1787 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1788 = shl nsw i64 %1787, 1
  %1789 = add nsw i64 %1788, -1
  %1790 = sitofp i64 %1789 to double
  %1791 = call double @llvm.fmuladd.f64(double %1790, double 1.000000e-01, double %1786)
  %1792 = load ptr, ptr %65, align 8, !tbaa !11
  %1793 = getelementptr inbounds i8, ptr %1792, i64 16
  store double %1791, ptr %1793, align 8, !tbaa !14
  %1794 = load ptr, ptr %1160, align 8, !tbaa !11
  %1795 = load ptr, ptr %1794, align 8, !tbaa !12
  %1796 = getelementptr inbounds i8, ptr %1795, i64 24
  %1797 = load double, ptr %1796, align 8, !tbaa !14
  %1798 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1799 = shl nsw i64 %1798, 1
  %1800 = add nsw i64 %1799, -1
  %1801 = sitofp i64 %1800 to double
  %1802 = call double @llvm.fmuladd.f64(double %1801, double 1.000000e-01, double %1797)
  %1803 = load ptr, ptr %1160, align 8, !tbaa !11
  %1804 = load ptr, ptr %1803, align 8, !tbaa !12
  %1805 = getelementptr inbounds i8, ptr %1804, i64 24
  store double %1802, ptr %1805, align 8, !tbaa !14
  %1806 = load ptr, ptr %1160, align 8, !tbaa !11
  %1807 = getelementptr inbounds i8, ptr %1806, i64 8
  %1808 = load ptr, ptr %1807, align 8, !tbaa !12
  %1809 = getelementptr inbounds i8, ptr %1808, i64 24
  %1810 = load double, ptr %1809, align 8, !tbaa !14
  %1811 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1812 = shl nsw i64 %1811, 1
  %1813 = add nsw i64 %1812, -1
  %1814 = sitofp i64 %1813 to double
  %1815 = call double @llvm.fmuladd.f64(double %1814, double 1.000000e-01, double %1810)
  %1816 = load ptr, ptr %1160, align 8, !tbaa !11
  %1817 = getelementptr inbounds i8, ptr %1816, i64 8
  %1818 = load ptr, ptr %1817, align 8, !tbaa !12
  %1819 = getelementptr inbounds i8, ptr %1818, i64 24
  store double %1815, ptr %1819, align 8, !tbaa !14
  %1820 = load ptr, ptr %1160, align 8, !tbaa !11
  %1821 = getelementptr inbounds i8, ptr %1820, i64 16
  %1822 = load ptr, ptr %1821, align 8, !tbaa !12
  %1823 = getelementptr inbounds i8, ptr %1822, i64 24
  %1824 = load double, ptr %1823, align 8, !tbaa !14
  %1825 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1826 = shl nsw i64 %1825, 1
  %1827 = add nsw i64 %1826, -1
  %1828 = sitofp i64 %1827 to double
  %1829 = call double @llvm.fmuladd.f64(double %1828, double 1.000000e-01, double %1824)
  %1830 = load ptr, ptr %1160, align 8, !tbaa !11
  %1831 = getelementptr inbounds i8, ptr %1830, i64 16
  %1832 = load ptr, ptr %1831, align 8, !tbaa !12
  %1833 = getelementptr inbounds i8, ptr %1832, i64 24
  store double %1829, ptr %1833, align 8, !tbaa !14
  %1834 = load ptr, ptr %1160, align 8, !tbaa !11
  %1835 = getelementptr inbounds i8, ptr %1834, i64 24
  %1836 = load ptr, ptr %1835, align 8, !tbaa !12
  %1837 = getelementptr inbounds i8, ptr %1836, i64 24
  %1838 = load double, ptr %1837, align 8, !tbaa !14
  %1839 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1840 = shl nsw i64 %1839, 1
  %1841 = add nsw i64 %1840, -1
  %1842 = sitofp i64 %1841 to double
  %1843 = call double @llvm.fmuladd.f64(double %1842, double 1.000000e-01, double %1838)
  %1844 = load ptr, ptr %1160, align 8, !tbaa !11
  %1845 = getelementptr inbounds i8, ptr %1844, i64 24
  %1846 = load ptr, ptr %1845, align 8, !tbaa !12
  %1847 = getelementptr inbounds i8, ptr %1846, i64 24
  store double %1843, ptr %1847, align 8, !tbaa !14
  %1848 = load ptr, ptr %1160, align 8, !tbaa !11
  %1849 = getelementptr inbounds i8, ptr %1848, i64 32
  %1850 = load ptr, ptr %1849, align 8, !tbaa !12
  %1851 = getelementptr inbounds i8, ptr %1850, i64 24
  %1852 = load double, ptr %1851, align 8, !tbaa !14
  %1853 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1854 = shl nsw i64 %1853, 1
  %1855 = add nsw i64 %1854, -1
  %1856 = sitofp i64 %1855 to double
  %1857 = call double @llvm.fmuladd.f64(double %1856, double 1.000000e-01, double %1852)
  %1858 = load ptr, ptr %1160, align 8, !tbaa !11
  %1859 = getelementptr inbounds i8, ptr %1858, i64 32
  %1860 = load ptr, ptr %1859, align 8, !tbaa !12
  %1861 = getelementptr inbounds i8, ptr %1860, i64 24
  store double %1857, ptr %1861, align 8, !tbaa !14
  %1862 = load ptr, ptr %1160, align 8, !tbaa !11
  %1863 = getelementptr inbounds i8, ptr %1862, i64 40
  %1864 = load ptr, ptr %1863, align 8, !tbaa !12
  %1865 = getelementptr inbounds i8, ptr %1864, i64 24
  %1866 = load double, ptr %1865, align 8, !tbaa !14
  %1867 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef 2, ptr noundef %0)
  %1868 = shl nsw i64 %1867, 1
  %1869 = add nsw i64 %1868, -1
  %1870 = sitofp i64 %1869 to double
  %1871 = call double @llvm.fmuladd.f64(double %1870, double 1.000000e-01, double %1866)
  %1872 = load ptr, ptr %1160, align 8, !tbaa !11
  %1873 = getelementptr inbounds i8, ptr %1872, i64 40
  %1874 = load ptr, ptr %1873, align 8, !tbaa !12
  %1875 = getelementptr inbounds i8, ptr %1874, i64 24
  store double %1871, ptr %1875, align 8, !tbaa !14
  call void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef 3, ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetquadratictermEPNS_10minqpstateEPNS_9ae_matrixEbPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %6, i1 noundef zeroext true, ptr noundef %0)
  call void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl10minqpsetlcEPNS_10minqpstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef nonnull %15, i64 noundef 8, ptr noundef %0)
  call void @_ZN11alglib_impl17minqpsetalgobleicEPNS_10minqpstateEdddlPNS_8ae_stateE(ptr noundef nonnull %3, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef 0, ptr noundef %0)
  call void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %17, ptr noundef %0)
  call void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %18, ptr noundef nonnull %4, ptr noundef %0)
  %1876 = add nuw nsw i64 %.1509635, 1
  %exitcond679.not = icmp eq i64 %1876, 10001
  br i1 %exitcond679.not, label %.loopexit688, label %.preheader538, !llvm.loop !62

.loopexit688:                                     ; preds = %882, %.preheader538
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %0)
  %.0.in = load i8, ptr %22, align 1, !tbaa !5, !range !63, !noundef !64
  %.0 = trunc nuw i8 %.0.in to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, 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 80, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 35232, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  ret i1 %.0
}

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

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

declare void @_ZN11alglib_impl11minqpcreateElPNS_10minqpstateEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare void @_ZN11alglib_impl10minqpsetbcEPNS_10minqpstateEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl21minqpsetstartingpointEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl13minqpoptimizeEPNS_10minqpstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl12minqpresultsEPNS_10minqpstateEPNS_9ae_vectorEPNS_11minqpreportEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl18minqpsetlineartermEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

declare void @_ZN11alglib_impl13minqpsetscaleEPNS_10minqpstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl10minqpsetlcEPNS_10minqpstateEPNS_9ae_matrixEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl12randomnormalEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = !{!24, !24, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!26, !24, i64 0}
!26 = !{!"_ZTSN11alglib_impl9ae_vectorE", !24, i64 0, !24, i64 8, !6, i64 16, !27, i64 24, !7, i64 56}
!27 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.unroll.disable"}
!32 = distinct !{!32, !10}
!33 = distinct !{!33, !31}
!34 = distinct !{!34, !10}
!35 = distinct !{!35, !31}
!36 = distinct !{!36, !10}
!37 = distinct !{!37, !10}
!38 = distinct !{!38, !31}
!39 = distinct !{!39, !10}
!40 = distinct !{!40, !31}
!41 = distinct !{!41, !10}
!42 = !{!43, !24, i64 32}
!43 = !{!"_ZTSN11alglib_impl11minqpreportE", !24, i64 0, !24, i64 8, !24, i64 16, !24, i64 24, !24, i64 32}
!44 = distinct !{!44, !10}
!45 = distinct !{!45, !31}
!46 = distinct !{!46, !10}
!47 = distinct !{!47, !10}
!48 = distinct !{!48, !10}
!49 = distinct !{!49, !10}
!50 = !{!51, !15, i64 24}
!51 = !{!"_ZTSN11alglib_impl8ae_stateE", !24, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !13, i64 32, !27, i64 40, !13, i64 72, !52, i64 80, !13, i64 88, !53, i64 96, !13, i64 104, !13, i64 112, !13, i64 120}
!52 = !{!"_ZTSN11alglib_impl13ae_error_typeE", !7, i64 0}
!53 = !{!"long long", !7, i64 0}
!54 = !{!51, !15, i64 16}
!55 = distinct !{!55, !10}
!56 = distinct !{!56, !10}
!57 = distinct !{!57, !10}
!58 = distinct !{!58, !10}
!59 = !{!60, !24, i64 0}
!60 = !{!"_ZTSN11alglib_impl9ae_matrixE", !24, i64 0, !24, i64 8, !24, i64 16, !24, i64 24, !6, i64 32, !27, i64 40, !7, i64 72}
!61 = distinct !{!61, !10}
!62 = distinct !{!62, !10}
!63 = !{i8 0, i8 2}
!64 = !{}


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