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

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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_smart_ptr" = type { ptr, ptr, i8, i8, i64, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::gqpipmstate" = type { i8, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", i64, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::xquadraticconstraints", %"struct.alglib_impl::xconicconstraints", double, i64, i64, i64, i8, i8, %"struct.alglib_impl::stimer", %"struct.alglib_impl::gipmstate", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::spcholanalysis", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::xquadraticconstraints" = type { i64, %"struct.alglib_impl::ae_obj_array", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_obj_array" = type { i64, i64, i8, ptr, ptr, ptr, ptr, %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::xconicconstraints" = type { i64, %"struct.alglib_impl::ae_obj_array" }
%"struct.alglib_impl::stimer" = type { i64, i64, i8 }
%"struct.alglib_impl::gipmstate" = type { i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, i64, i64, %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, double, double, i64, %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::varsfuncjac", double, i64, %"struct.alglib_impl::nlpfilter", i8, i8, i8, i64, i64, %"struct.alglib_impl::stimer", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::gipmrhs", %"struct.alglib_impl::gipmcondensedsystem", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::gipmvars", %"struct.alglib_impl::varsfuncjac", %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::nlpfilter" = type { double, i64, double, double, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::gipmrhs" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::gipmcondensedsystem" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::gipmvars" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::varsfuncjac" = type { i64, i64, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::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::spcholanalysis" = type { i64, i64, i64, i8, i64, double, double, double, double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, i8, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, i8, %"struct.alglib_impl::spcholadj", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdbuffer", %"struct.alglib_impl::priorityamdbuffers", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::spcholadj" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::amdbuffer" = type { i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdllmatrix", %"struct.alglib_impl::amdvertexset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::amdllmatrix" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::amdvertexset" = type { i64, i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::amdknset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::niset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::priorityamdbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdbuffer", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::ae_nxpool" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_dyn_block", %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::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_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_state" = type { i64, double, double, double, ptr, %"struct.alglib_impl::ae_dyn_block", ptr, i32, ptr, i64, ptr, ptr, ptr }
%"struct.alglib_impl::xquadraticconstraint" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", double, double, i8 }
%"struct.alglib_impl::xconicconstraint" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8 }

@.str.793 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.794 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.795 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.796 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.797 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.798 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.799 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.800 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.801 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.802 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.803 = external hidden unnamed_addr constant [32 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl20xccprimitiveconetypeEPNS_8ae_stateE(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl19gipmgetinitprimdualEPNS_8ae_stateE(ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl11gipminitbufEPKNS_9ae_vectorES2_S2_lS2_S2_llS2_dlPNS_9gipmstateEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, double noundef, i64 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl13gipmiterationEPNS_9gipmstateEbPNS_8ae_stateE(ptr noundef, i1 noundef zeroext, ptr noundef) #5

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14gqpipmoptimizeEPNS_11gqpipmstateEPNS_9ae_vectorES3_S3_S3_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #5 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.alglib_impl::ae_frame", align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca i8, align 1
  %32 = alloca ptr, align 8
  %33 = alloca %"struct.alglib_impl::ae_smart_ptr", align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.alglib_impl::ae_smart_ptr", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %35) #6
  %36 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %36, ptr noundef %15)
  call void @llvm.memset.p0.i64(ptr align 8 %33, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %35, i8 0, i64 80, i1 false)
  %37 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 0, ptr %37, align 8, !tbaa !9
  %38 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl17ae_smart_ptr_initEPNS_12ae_smart_ptrEPPvPNS_8ae_stateEb(ptr noundef %33, ptr noundef %32, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl17ae_smart_ptr_initEPNS_12ae_smart_ptrEPPvPNS_8ae_stateEb(ptr noundef %35, ptr noundef %34, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %40, i32 0, i32 1
  %42 = load i64, ptr %41, align 8, !tbaa !11
  store i64 %42, ptr %16, align 8, !tbaa !9
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %43, i32 0, i32 2
  %45 = load i64, ptr %44, align 8, !tbaa !41
  store i64 %45, ptr %22, align 8, !tbaa !9
  store i64 0, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !9
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %46, i32 0, i32 47
  %48 = load i64, ptr %16, align 8, !tbaa !9
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_nxpool_allocEPNS_9ae_nxpoolElPNS_8ae_stateE(ptr noundef %47, i64 noundef %48, ptr noundef %49)
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %50, i32 0, i32 51
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 1, double noundef 1.000000e+00, ptr noundef %51, ptr noundef %52)
  %53 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %53, ptr %25, align 8, !tbaa !9
  %54 = load i64, ptr %24, align 8, !tbaa !9
  %55 = load i64, ptr %22, align 8, !tbaa !9
  %56 = add nsw i64 %54, %55
  store i64 %56, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %114, %7
  %58 = load i64, ptr %17, align 8, !tbaa !9
  %59 = load i64, ptr %22, align 8, !tbaa !9
  %60 = sub nsw i64 %59, 1
  %61 = icmp sle i64 %58, %60
  br i1 %61, label %62, label %117

62:                                               ; preds = %57
  %63 = load i64, ptr %23, align 8, !tbaa !9
  %64 = add nsw i64 %63, 1
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %65, i32 0, i32 48
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %64, ptr noundef %66, ptr noundef %67)
  %68 = load i64, ptr %23, align 8, !tbaa !9
  %69 = add nsw i64 %68, 1
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %70, i32 0, i32 49
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %69, ptr noundef %71, ptr noundef %72)
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %73, i32 0, i32 21
  %75 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %74, i32 0, i32 4
  %76 = load ptr, ptr %75, align 8, !tbaa !42
  %77 = load i64, ptr %17, align 8, !tbaa !9
  %78 = getelementptr inbounds double, ptr %76, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !43
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %80, i32 0, i32 48
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %81, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !42
  %84 = load i64, ptr %23, align 8, !tbaa !9
  %85 = getelementptr inbounds double, ptr %83, i64 %84
  store double %79, ptr %85, align 8, !tbaa !43
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %86, i32 0, i32 22
  %88 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %87, i32 0, i32 4
  %89 = load ptr, ptr %88, align 8, !tbaa !42
  %90 = load i64, ptr %17, align 8, !tbaa !9
  %91 = getelementptr inbounds double, ptr %89, i64 %90
  %92 = load double, ptr %91, align 8, !tbaa !43
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %93, i32 0, i32 49
  %95 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %94, i32 0, i32 4
  %96 = load ptr, ptr %95, align 8, !tbaa !42
  %97 = load i64, ptr %23, align 8, !tbaa !9
  %98 = getelementptr inbounds double, ptr %96, i64 %97
  store double %92, ptr %98, align 8, !tbaa !43
  %99 = load i64, ptr %23, align 8, !tbaa !9
  %100 = add nsw i64 1, %99
  %101 = add nsw i64 %100, 1
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %102, i32 0, i32 51
  %104 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %101, ptr noundef %103, ptr noundef %104)
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %105, i32 0, i32 51
  %107 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %106, i32 0, i32 4
  %108 = load ptr, ptr %107, align 8, !tbaa !42
  %109 = load i64, ptr %23, align 8, !tbaa !9
  %110 = add nsw i64 1, %109
  %111 = getelementptr inbounds double, ptr %108, i64 %110
  store double 1.000000e+00, ptr %111, align 8, !tbaa !43
  %112 = load i64, ptr %23, align 8, !tbaa !9
  %113 = add nsw i64 %112, 1
  store i64 %113, ptr %23, align 8, !tbaa !9
  br label %114

114:                                              ; preds = %62
  %115 = load i64, ptr %17, align 8, !tbaa !9
  %116 = add nsw i64 %115, 1
  store i64 %116, ptr %17, align 8, !tbaa !9
  br label %57, !llvm.loop !44

117:                                              ; preds = %57
  %118 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %118, ptr %28, align 8, !tbaa !9
  %119 = load i64, ptr %28, align 8, !tbaa !9
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %120, i32 0, i32 15
  %122 = load i64, ptr %121, align 8, !tbaa !46
  %123 = add nsw i64 %119, %122
  store i64 %123, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %124

124:                                              ; preds = %209, %117
  %125 = load i64, ptr %17, align 8, !tbaa !9
  %126 = load i64, ptr %16, align 8, !tbaa !9
  %127 = sub nsw i64 %126, 1
  %128 = icmp sle i64 %125, %127
  br i1 %128, label %129, label %212

129:                                              ; preds = %124
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %130, i32 0, i32 13
  %132 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %131, i32 0, i32 4
  %133 = load ptr, ptr %132, align 8, !tbaa !42
  %134 = load i64, ptr %17, align 8, !tbaa !9
  %135 = getelementptr inbounds i8, ptr %133, i64 %134
  %136 = load i8, ptr %135, align 1, !tbaa !47, !range !48, !noundef !49
  %137 = trunc i8 %136 to i1
  br i1 %137, label %138, label %208

138:                                              ; preds = %129
  %139 = load i64, ptr %23, align 8, !tbaa !9
  %140 = add nsw i64 %139, 1
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %141, i32 0, i32 48
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %140, ptr noundef %142, ptr noundef %143)
  %144 = load i64, ptr %23, align 8, !tbaa !9
  %145 = add nsw i64 %144, 1
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %146, i32 0, i32 49
  %148 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %145, ptr noundef %147, ptr noundef %148)
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %149, i32 0, i32 9
  %151 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %150, i32 0, i32 4
  %152 = load ptr, ptr %151, align 8, !tbaa !42
  %153 = load i64, ptr %17, align 8, !tbaa !9
  %154 = getelementptr inbounds double, ptr %152, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !43
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %156, i32 0, i32 48
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %157, i32 0, i32 4
  %159 = load ptr, ptr %158, align 8, !tbaa !42
  %160 = load i64, ptr %23, align 8, !tbaa !9
  %161 = getelementptr inbounds double, ptr %159, i64 %160
  store double %155, ptr %161, align 8, !tbaa !43
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %162, i32 0, i32 10
  %164 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %163, i32 0, i32 4
  %165 = load ptr, ptr %164, align 8, !tbaa !42
  %166 = load i64, ptr %17, align 8, !tbaa !9
  %167 = getelementptr inbounds double, ptr %165, i64 %166
  %168 = load double, ptr %167, align 8, !tbaa !43
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %169, i32 0, i32 49
  %171 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %170, i32 0, i32 4
  %172 = load ptr, ptr %171, align 8, !tbaa !42
  %173 = load i64, ptr %23, align 8, !tbaa !9
  %174 = getelementptr inbounds double, ptr %172, i64 %173
  store double %168, ptr %174, align 8, !tbaa !43
  %175 = load i64, ptr %23, align 8, !tbaa !9
  %176 = add nsw i64 1, %175
  %177 = add nsw i64 %176, 1
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %178, i32 0, i32 51
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %177, ptr noundef %179, ptr noundef %180)
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %181, i32 0, i32 51
  %183 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %182, i32 0, i32 4
  %184 = load ptr, ptr %183, align 8, !tbaa !42
  %185 = load i64, ptr %23, align 8, !tbaa !9
  %186 = add nsw i64 1, %185
  %187 = getelementptr inbounds double, ptr %184, i64 %186
  store double 1.000000e+00, ptr %187, align 8, !tbaa !43
  %188 = load ptr, ptr %14, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.alglib_impl::ae_state", ptr %188, i32 0, i32 3
  %190 = load double, ptr %189, align 8, !tbaa !50
  %191 = load ptr, ptr %8, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %191, i32 0, i32 9
  %193 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %192, i32 0, i32 4
  %194 = load ptr, ptr %193, align 8, !tbaa !42
  %195 = load i64, ptr %17, align 8, !tbaa !9
  %196 = getelementptr inbounds double, ptr %194, i64 %195
  store double %190, ptr %196, align 8, !tbaa !43
  %197 = load ptr, ptr %14, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.alglib_impl::ae_state", ptr %197, i32 0, i32 2
  %199 = load double, ptr %198, align 8, !tbaa !54
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %200, i32 0, i32 10
  %202 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %201, i32 0, i32 4
  %203 = load ptr, ptr %202, align 8, !tbaa !42
  %204 = load i64, ptr %17, align 8, !tbaa !9
  %205 = getelementptr inbounds double, ptr %203, i64 %204
  store double %199, ptr %205, align 8, !tbaa !43
  %206 = load i64, ptr %23, align 8, !tbaa !9
  %207 = add nsw i64 %206, 1
  store i64 %207, ptr %23, align 8, !tbaa !9
  br label %208

208:                                              ; preds = %138, %129
  br label %209

209:                                              ; preds = %208
  %210 = load i64, ptr %17, align 8, !tbaa !9
  %211 = add nsw i64 %210, 1
  store i64 %211, ptr %17, align 8, !tbaa !9
  br label %124, !llvm.loop !55

212:                                              ; preds = %124
  %213 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %213, ptr %26, align 8, !tbaa !9
  %214 = load i64, ptr %24, align 8, !tbaa !9
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %215, i32 0, i32 3
  %217 = load i64, ptr %216, align 8, !tbaa !56
  %218 = add nsw i64 %214, %217
  store i64 %218, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %219

219:                                              ; preds = %275, %212
  %220 = load i64, ptr %17, align 8, !tbaa !9
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %221, i32 0, i32 3
  %223 = load i64, ptr %222, align 8, !tbaa !56
  %224 = sub nsw i64 %223, 1
  %225 = icmp sle i64 %220, %224
  br i1 %225, label %226, label %278

226:                                              ; preds = %219
  %227 = load i64, ptr %23, align 8, !tbaa !9
  %228 = add nsw i64 %227, 1
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  %230 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %229, i32 0, i32 48
  %231 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %228, ptr noundef %230, ptr noundef %231)
  %232 = load i64, ptr %23, align 8, !tbaa !9
  %233 = add nsw i64 %232, 1
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %234, i32 0, i32 49
  %236 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %233, ptr noundef %235, ptr noundef %236)
  %237 = load ptr, ptr %8, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %237, i32 0, i32 23
  %239 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraints", ptr %238, i32 0, i32 1
  %240 = load i64, ptr %17, align 8, !tbaa !9
  %241 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl16ae_obj_array_getEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef %239, i64 noundef %240, ptr noundef %33, ptr noundef %241)
  %242 = load ptr, ptr %32, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %242, i32 0, i32 4
  %244 = load double, ptr %243, align 8, !tbaa !57
  %245 = load ptr, ptr %8, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %245, i32 0, i32 48
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %246, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !42
  %249 = load i64, ptr %23, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %248, i64 %249
  store double %244, ptr %250, align 8, !tbaa !43
  %251 = load ptr, ptr %32, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %251, i32 0, i32 5
  %253 = load double, ptr %252, align 8, !tbaa !59
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  %255 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %254, i32 0, i32 49
  %256 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %255, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !42
  %258 = load i64, ptr %23, align 8, !tbaa !9
  %259 = getelementptr inbounds double, ptr %257, i64 %258
  store double %253, ptr %259, align 8, !tbaa !43
  %260 = load i64, ptr %23, align 8, !tbaa !9
  %261 = add nsw i64 1, %260
  %262 = add nsw i64 %261, 1
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %263, i32 0, i32 51
  %265 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %262, ptr noundef %264, ptr noundef %265)
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  %267 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %266, i32 0, i32 51
  %268 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %267, i32 0, i32 4
  %269 = load ptr, ptr %268, align 8, !tbaa !42
  %270 = load i64, ptr %23, align 8, !tbaa !9
  %271 = add nsw i64 1, %270
  %272 = getelementptr inbounds double, ptr %269, i64 %271
  store double 1.000000e+00, ptr %272, align 8, !tbaa !43
  %273 = load i64, ptr %23, align 8, !tbaa !9
  %274 = add nsw i64 %273, 1
  store i64 %274, ptr %23, align 8, !tbaa !9
  br label %275

275:                                              ; preds = %226
  %276 = load i64, ptr %17, align 8, !tbaa !9
  %277 = add nsw i64 %276, 1
  store i64 %277, ptr %17, align 8, !tbaa !9
  br label %219, !llvm.loop !60

278:                                              ; preds = %219
  %279 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %279, ptr %27, align 8, !tbaa !9
  %280 = load i64, ptr %24, align 8, !tbaa !9
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %281, i32 0, i32 4
  %283 = load i64, ptr %282, align 8, !tbaa !61
  %284 = add nsw i64 %280, %283
  store i64 %284, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %285

285:                                              ; preds = %354, %278
  %286 = load i64, ptr %17, align 8, !tbaa !9
  %287 = load ptr, ptr %8, align 8, !tbaa !5
  %288 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %287, i32 0, i32 4
  %289 = load i64, ptr %288, align 8, !tbaa !61
  %290 = sub nsw i64 %289, 1
  %291 = icmp sle i64 %286, %290
  br i1 %291, label %292, label %357

292:                                              ; preds = %285
  %293 = load i64, ptr %23, align 8, !tbaa !9
  %294 = add nsw i64 %293, 1
  %295 = load ptr, ptr %8, align 8, !tbaa !5
  %296 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %295, i32 0, i32 48
  %297 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %294, ptr noundef %296, ptr noundef %297)
  %298 = load i64, ptr %23, align 8, !tbaa !9
  %299 = add nsw i64 %298, 1
  %300 = load ptr, ptr %8, align 8, !tbaa !5
  %301 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %300, i32 0, i32 49
  %302 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %299, ptr noundef %301, ptr noundef %302)
  %303 = load ptr, ptr %8, align 8, !tbaa !5
  %304 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %303, i32 0, i32 24
  %305 = getelementptr inbounds %"struct.alglib_impl::xconicconstraints", ptr %304, i32 0, i32 1
  %306 = load i64, ptr %17, align 8, !tbaa !9
  %307 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl16ae_obj_array_getEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef %305, i64 noundef %306, ptr noundef %35, ptr noundef %307)
  %308 = load ptr, ptr %34, align 8, !tbaa !5
  %309 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %308, i32 0, i32 0
  %310 = load i64, ptr %309, align 8, !tbaa !62
  %311 = icmp sge i64 %310, 0
  %312 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %311, ptr noundef @.str.793, ptr noundef %312)
  store i8 0, ptr %31, align 1, !tbaa !47
  %313 = load ptr, ptr %34, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %313, i32 0, i32 0
  %315 = load i64, ptr %314, align 8, !tbaa !62
  %316 = load ptr, ptr %14, align 8, !tbaa !5
  %317 = call noundef i64 @_ZN11alglib_impl20xccprimitiveconetypeEPNS_8ae_stateE(ptr noundef %316)
  %318 = icmp eq i64 %315, %317
  br i1 %318, label %319, label %335

319:                                              ; preds = %292
  %320 = load ptr, ptr %14, align 8, !tbaa !5
  %321 = getelementptr inbounds %"struct.alglib_impl::ae_state", ptr %320, i32 0, i32 3
  %322 = load double, ptr %321, align 8, !tbaa !50
  %323 = load ptr, ptr %8, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %323, i32 0, i32 48
  %325 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %324, i32 0, i32 4
  %326 = load ptr, ptr %325, align 8, !tbaa !42
  %327 = load i64, ptr %23, align 8, !tbaa !9
  %328 = getelementptr inbounds double, ptr %326, i64 %327
  store double %322, ptr %328, align 8, !tbaa !43
  %329 = load ptr, ptr %8, align 8, !tbaa !5
  %330 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %329, i32 0, i32 49
  %331 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %330, i32 0, i32 4
  %332 = load ptr, ptr %331, align 8, !tbaa !42
  %333 = load i64, ptr %23, align 8, !tbaa !9
  %334 = getelementptr inbounds double, ptr %332, i64 %333
  store double 0.000000e+00, ptr %334, align 8, !tbaa !43
  store i8 1, ptr %31, align 1, !tbaa !47
  br label %335

335:                                              ; preds = %319, %292
  %336 = load i8, ptr %31, align 1, !tbaa !47, !range !48, !noundef !49
  %337 = trunc i8 %336 to i1
  %338 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %337, ptr noundef @.str.794, ptr noundef %338)
  %339 = load i64, ptr %23, align 8, !tbaa !9
  %340 = add nsw i64 1, %339
  %341 = add nsw i64 %340, 1
  %342 = load ptr, ptr %8, align 8, !tbaa !5
  %343 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %342, i32 0, i32 51
  %344 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %341, ptr noundef %343, ptr noundef %344)
  %345 = load ptr, ptr %8, align 8, !tbaa !5
  %346 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %345, i32 0, i32 51
  %347 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %346, i32 0, i32 4
  %348 = load ptr, ptr %347, align 8, !tbaa !42
  %349 = load i64, ptr %23, align 8, !tbaa !9
  %350 = add nsw i64 1, %349
  %351 = getelementptr inbounds double, ptr %348, i64 %350
  store double 1.000000e+00, ptr %351, align 8, !tbaa !43
  %352 = load i64, ptr %23, align 8, !tbaa !9
  %353 = add nsw i64 %352, 1
  store i64 %353, ptr %23, align 8, !tbaa !9
  br label %354

354:                                              ; preds = %335
  %355 = load i64, ptr %17, align 8, !tbaa !9
  %356 = add nsw i64 %355, 1
  store i64 %356, ptr %17, align 8, !tbaa !9
  br label %285, !llvm.loop !64

357:                                              ; preds = %285
  %358 = load i64, ptr %23, align 8, !tbaa !9
  %359 = load i64, ptr %24, align 8, !tbaa !9
  %360 = icmp eq i64 %358, %359
  %361 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %360, ptr noundef @.str.795, ptr noundef %361)
  %362 = load ptr, ptr %8, align 8, !tbaa !5
  %363 = load i64, ptr %25, align 8, !tbaa !9
  %364 = load i64, ptr %26, align 8, !tbaa !9
  %365 = load i64, ptr %28, align 8, !tbaa !9
  %366 = load i64, ptr %23, align 8, !tbaa !9
  %367 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_implL24gqpipm_initializehessjacEPNS_11gqpipmstateEllllPNS_8ae_stateE(ptr noundef %362, i64 noundef %363, i64 noundef %364, i64 noundef %365, i64 noundef %366, ptr noundef %367)
  %368 = load i64, ptr %16, align 8, !tbaa !9
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  %370 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %368, double noundef 0.000000e+00, ptr noundef %369, ptr noundef %370)
  %371 = load i64, ptr %16, align 8, !tbaa !9
  %372 = load ptr, ptr %10, align 8, !tbaa !5
  %373 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %371, double noundef 0.000000e+00, ptr noundef %372, ptr noundef %373)
  %374 = load ptr, ptr %8, align 8, !tbaa !5
  %375 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %374, i32 0, i32 2
  %376 = load i64, ptr %375, align 8, !tbaa !41
  %377 = load ptr, ptr %11, align 8, !tbaa !5
  %378 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %376, double noundef 0.000000e+00, ptr noundef %377, ptr noundef %378)
  %379 = load ptr, ptr %8, align 8, !tbaa !5
  %380 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %379, i32 0, i32 3
  %381 = load i64, ptr %380, align 8, !tbaa !56
  %382 = load ptr, ptr %12, align 8, !tbaa !5
  %383 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %381, double noundef 0.000000e+00, ptr noundef %382, ptr noundef %383)
  %384 = load ptr, ptr %14, align 8, !tbaa !5
  %385 = call noundef double @_ZN11alglib_impl19gipmgetinitprimdualEPNS_8ae_stateE(ptr noundef %384)
  store double %385, ptr %19, align 8, !tbaa !43
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %386

386:                                              ; preds = %641, %357
  %387 = load i64, ptr %17, align 8, !tbaa !9
  %388 = load i64, ptr %16, align 8, !tbaa !9
  %389 = sub nsw i64 %388, 1
  %390 = icmp sle i64 %387, %389
  br i1 %390, label %391, label %644

391:                                              ; preds = %386
  %392 = load ptr, ptr %8, align 8, !tbaa !5
  %393 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %392, i32 0, i32 9
  %394 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %393, i32 0, i32 4
  %395 = load ptr, ptr %394, align 8, !tbaa !42
  %396 = load i64, ptr %17, align 8, !tbaa !9
  %397 = getelementptr inbounds double, ptr %395, i64 %396
  %398 = load double, ptr %397, align 8, !tbaa !43
  %399 = load ptr, ptr %14, align 8, !tbaa !5
  %400 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %398, ptr noundef %399)
  br i1 %400, label %412, label %401

401:                                              ; preds = %391
  %402 = load ptr, ptr %8, align 8, !tbaa !5
  %403 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %402, i32 0, i32 10
  %404 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %403, i32 0, i32 4
  %405 = load ptr, ptr %404, align 8, !tbaa !42
  %406 = load i64, ptr %17, align 8, !tbaa !9
  %407 = getelementptr inbounds double, ptr %405, i64 %406
  %408 = load double, ptr %407, align 8, !tbaa !43
  %409 = load ptr, ptr %14, align 8, !tbaa !5
  %410 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %408, ptr noundef %409)
  br i1 %410, label %412, label %411

411:                                              ; preds = %401
  br label %641

412:                                              ; preds = %401, %391
  %413 = load ptr, ptr %8, align 8, !tbaa !5
  %414 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %413, i32 0, i32 9
  %415 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %414, i32 0, i32 4
  %416 = load ptr, ptr %415, align 8, !tbaa !42
  %417 = load i64, ptr %17, align 8, !tbaa !9
  %418 = getelementptr inbounds double, ptr %416, i64 %417
  %419 = load double, ptr %418, align 8, !tbaa !43
  %420 = load ptr, ptr %14, align 8, !tbaa !5
  %421 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %419, ptr noundef %420)
  br i1 %421, label %422, label %457

422:                                              ; preds = %412
  %423 = load ptr, ptr %8, align 8, !tbaa !5
  %424 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %423, i32 0, i32 10
  %425 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %424, i32 0, i32 4
  %426 = load ptr, ptr %425, align 8, !tbaa !42
  %427 = load i64, ptr %17, align 8, !tbaa !9
  %428 = getelementptr inbounds double, ptr %426, i64 %427
  %429 = load double, ptr %428, align 8, !tbaa !43
  %430 = load ptr, ptr %14, align 8, !tbaa !5
  %431 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %429, ptr noundef %430)
  br i1 %431, label %457, label %432

432:                                              ; preds = %422
  %433 = load ptr, ptr %8, align 8, !tbaa !5
  %434 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %433, i32 0, i32 5
  %435 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %434, i32 0, i32 4
  %436 = load ptr, ptr %435, align 8, !tbaa !42
  %437 = load i64, ptr %17, align 8, !tbaa !9
  %438 = getelementptr inbounds double, ptr %436, i64 %437
  %439 = load double, ptr %438, align 8, !tbaa !43
  %440 = load ptr, ptr %8, align 8, !tbaa !5
  %441 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %440, i32 0, i32 9
  %442 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %441, i32 0, i32 4
  %443 = load ptr, ptr %442, align 8, !tbaa !42
  %444 = load i64, ptr %17, align 8, !tbaa !9
  %445 = getelementptr inbounds double, ptr %443, i64 %444
  %446 = load double, ptr %445, align 8, !tbaa !43
  %447 = load double, ptr %19, align 8, !tbaa !43
  %448 = fadd double %446, %447
  %449 = load ptr, ptr %14, align 8, !tbaa !5
  %450 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %439, double noundef %448, ptr noundef %449)
  %451 = load ptr, ptr %8, align 8, !tbaa !5
  %452 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %451, i32 0, i32 5
  %453 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %452, i32 0, i32 4
  %454 = load ptr, ptr %453, align 8, !tbaa !42
  %455 = load i64, ptr %17, align 8, !tbaa !9
  %456 = getelementptr inbounds double, ptr %454, i64 %455
  store double %450, ptr %456, align 8, !tbaa !43
  br label %641

457:                                              ; preds = %422, %412
  %458 = load ptr, ptr %8, align 8, !tbaa !5
  %459 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %458, i32 0, i32 10
  %460 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %459, i32 0, i32 4
  %461 = load ptr, ptr %460, align 8, !tbaa !42
  %462 = load i64, ptr %17, align 8, !tbaa !9
  %463 = getelementptr inbounds double, ptr %461, i64 %462
  %464 = load double, ptr %463, align 8, !tbaa !43
  %465 = load ptr, ptr %14, align 8, !tbaa !5
  %466 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %464, ptr noundef %465)
  br i1 %466, label %467, label %502

467:                                              ; preds = %457
  %468 = load ptr, ptr %8, align 8, !tbaa !5
  %469 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %468, i32 0, i32 9
  %470 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %469, i32 0, i32 4
  %471 = load ptr, ptr %470, align 8, !tbaa !42
  %472 = load i64, ptr %17, align 8, !tbaa !9
  %473 = getelementptr inbounds double, ptr %471, i64 %472
  %474 = load double, ptr %473, align 8, !tbaa !43
  %475 = load ptr, ptr %14, align 8, !tbaa !5
  %476 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %474, ptr noundef %475)
  br i1 %476, label %502, label %477

477:                                              ; preds = %467
  %478 = load ptr, ptr %8, align 8, !tbaa !5
  %479 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %478, i32 0, i32 5
  %480 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %479, i32 0, i32 4
  %481 = load ptr, ptr %480, align 8, !tbaa !42
  %482 = load i64, ptr %17, align 8, !tbaa !9
  %483 = getelementptr inbounds double, ptr %481, i64 %482
  %484 = load double, ptr %483, align 8, !tbaa !43
  %485 = load ptr, ptr %8, align 8, !tbaa !5
  %486 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %485, i32 0, i32 10
  %487 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %486, i32 0, i32 4
  %488 = load ptr, ptr %487, align 8, !tbaa !42
  %489 = load i64, ptr %17, align 8, !tbaa !9
  %490 = getelementptr inbounds double, ptr %488, i64 %489
  %491 = load double, ptr %490, align 8, !tbaa !43
  %492 = load double, ptr %19, align 8, !tbaa !43
  %493 = fsub double %491, %492
  %494 = load ptr, ptr %14, align 8, !tbaa !5
  %495 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %484, double noundef %493, ptr noundef %494)
  %496 = load ptr, ptr %8, align 8, !tbaa !5
  %497 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %496, i32 0, i32 5
  %498 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %497, i32 0, i32 4
  %499 = load ptr, ptr %498, align 8, !tbaa !42
  %500 = load i64, ptr %17, align 8, !tbaa !9
  %501 = getelementptr inbounds double, ptr %499, i64 %500
  store double %495, ptr %501, align 8, !tbaa !43
  br label %641

502:                                              ; preds = %467, %457
  %503 = load ptr, ptr %8, align 8, !tbaa !5
  %504 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %503, i32 0, i32 10
  %505 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %504, i32 0, i32 4
  %506 = load ptr, ptr %505, align 8, !tbaa !42
  %507 = load i64, ptr %17, align 8, !tbaa !9
  %508 = getelementptr inbounds double, ptr %506, i64 %507
  %509 = load double, ptr %508, align 8, !tbaa !43
  %510 = load ptr, ptr %8, align 8, !tbaa !5
  %511 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %510, i32 0, i32 9
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %511, i32 0, i32 4
  %513 = load ptr, ptr %512, align 8, !tbaa !42
  %514 = load i64, ptr %17, align 8, !tbaa !9
  %515 = getelementptr inbounds double, ptr %513, i64 %514
  %516 = load double, ptr %515, align 8, !tbaa !43
  %517 = fsub double %509, %516
  %518 = load double, ptr %19, align 8, !tbaa !43
  %519 = fmul double 2.000000e+00, %518
  %520 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %517, double noundef %519)
  br i1 %520, label %521, label %570

521:                                              ; preds = %502
  %522 = load ptr, ptr %8, align 8, !tbaa !5
  %523 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %522, i32 0, i32 5
  %524 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %523, i32 0, i32 4
  %525 = load ptr, ptr %524, align 8, !tbaa !42
  %526 = load i64, ptr %17, align 8, !tbaa !9
  %527 = getelementptr inbounds double, ptr %525, i64 %526
  %528 = load double, ptr %527, align 8, !tbaa !43
  %529 = load ptr, ptr %8, align 8, !tbaa !5
  %530 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %529, i32 0, i32 9
  %531 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %530, i32 0, i32 4
  %532 = load ptr, ptr %531, align 8, !tbaa !42
  %533 = load i64, ptr %17, align 8, !tbaa !9
  %534 = getelementptr inbounds double, ptr %532, i64 %533
  %535 = load double, ptr %534, align 8, !tbaa !43
  %536 = load double, ptr %19, align 8, !tbaa !43
  %537 = fadd double %535, %536
  %538 = load ptr, ptr %14, align 8, !tbaa !5
  %539 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %528, double noundef %537, ptr noundef %538)
  %540 = load ptr, ptr %8, align 8, !tbaa !5
  %541 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %540, i32 0, i32 5
  %542 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %541, i32 0, i32 4
  %543 = load ptr, ptr %542, align 8, !tbaa !42
  %544 = load i64, ptr %17, align 8, !tbaa !9
  %545 = getelementptr inbounds double, ptr %543, i64 %544
  store double %539, ptr %545, align 8, !tbaa !43
  %546 = load ptr, ptr %8, align 8, !tbaa !5
  %547 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %546, i32 0, i32 5
  %548 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %547, i32 0, i32 4
  %549 = load ptr, ptr %548, align 8, !tbaa !42
  %550 = load i64, ptr %17, align 8, !tbaa !9
  %551 = getelementptr inbounds double, ptr %549, i64 %550
  %552 = load double, ptr %551, align 8, !tbaa !43
  %553 = load ptr, ptr %8, align 8, !tbaa !5
  %554 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %553, i32 0, i32 10
  %555 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %554, i32 0, i32 4
  %556 = load ptr, ptr %555, align 8, !tbaa !42
  %557 = load i64, ptr %17, align 8, !tbaa !9
  %558 = getelementptr inbounds double, ptr %556, i64 %557
  %559 = load double, ptr %558, align 8, !tbaa !43
  %560 = load double, ptr %19, align 8, !tbaa !43
  %561 = fsub double %559, %560
  %562 = load ptr, ptr %14, align 8, !tbaa !5
  %563 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %552, double noundef %561, ptr noundef %562)
  %564 = load ptr, ptr %8, align 8, !tbaa !5
  %565 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %564, i32 0, i32 5
  %566 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %565, i32 0, i32 4
  %567 = load ptr, ptr %566, align 8, !tbaa !42
  %568 = load i64, ptr %17, align 8, !tbaa !9
  %569 = getelementptr inbounds double, ptr %567, i64 %568
  store double %563, ptr %569, align 8, !tbaa !43
  br label %641

570:                                              ; preds = %502
  %571 = load ptr, ptr %8, align 8, !tbaa !5
  %572 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %571, i32 0, i32 9
  %573 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %572, i32 0, i32 4
  %574 = load ptr, ptr %573, align 8, !tbaa !42
  %575 = load i64, ptr %17, align 8, !tbaa !9
  %576 = getelementptr inbounds double, ptr %574, i64 %575
  %577 = load double, ptr %576, align 8, !tbaa !43
  %578 = load ptr, ptr %8, align 8, !tbaa !5
  %579 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %578, i32 0, i32 10
  %580 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %579, i32 0, i32 4
  %581 = load ptr, ptr %580, align 8, !tbaa !42
  %582 = load i64, ptr %17, align 8, !tbaa !9
  %583 = getelementptr inbounds double, ptr %581, i64 %582
  %584 = load double, ptr %583, align 8, !tbaa !43
  %585 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %577, double noundef %584)
  %586 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %585, ptr noundef @.str.796, ptr noundef %586)
  %587 = load ptr, ptr %8, align 8, !tbaa !5
  %588 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %587, i32 0, i32 9
  %589 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %588, i32 0, i32 4
  %590 = load ptr, ptr %589, align 8, !tbaa !42
  %591 = load i64, ptr %17, align 8, !tbaa !9
  %592 = getelementptr inbounds double, ptr %590, i64 %591
  %593 = load double, ptr %592, align 8, !tbaa !43
  %594 = load ptr, ptr %8, align 8, !tbaa !5
  %595 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %594, i32 0, i32 10
  %596 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %595, i32 0, i32 4
  %597 = load ptr, ptr %596, align 8, !tbaa !42
  %598 = load i64, ptr %17, align 8, !tbaa !9
  %599 = getelementptr inbounds double, ptr %597, i64 %598
  %600 = load double, ptr %599, align 8, !tbaa !43
  %601 = fadd double %593, %600
  %602 = fmul double 5.000000e-01, %601
  %603 = load ptr, ptr %8, align 8, !tbaa !5
  %604 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %603, i32 0, i32 5
  %605 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %604, i32 0, i32 4
  %606 = load ptr, ptr %605, align 8, !tbaa !42
  %607 = load i64, ptr %17, align 8, !tbaa !9
  %608 = getelementptr inbounds double, ptr %606, i64 %607
  store double %602, ptr %608, align 8, !tbaa !43
  %609 = load ptr, ptr %8, align 8, !tbaa !5
  %610 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %609, i32 0, i32 5
  %611 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %610, i32 0, i32 4
  %612 = load ptr, ptr %611, align 8, !tbaa !42
  %613 = load i64, ptr %17, align 8, !tbaa !9
  %614 = getelementptr inbounds double, ptr %612, i64 %613
  %615 = load double, ptr %614, align 8, !tbaa !43
  %616 = load ptr, ptr %8, align 8, !tbaa !5
  %617 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %616, i32 0, i32 9
  %618 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %617, i32 0, i32 4
  %619 = load ptr, ptr %618, align 8, !tbaa !42
  %620 = load i64, ptr %17, align 8, !tbaa !9
  %621 = getelementptr inbounds double, ptr %619, i64 %620
  %622 = load double, ptr %621, align 8, !tbaa !43
  %623 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %615, double noundef %622)
  %624 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %623, ptr noundef @.str.797, ptr noundef %624)
  %625 = load ptr, ptr %8, align 8, !tbaa !5
  %626 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %625, i32 0, i32 5
  %627 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %626, i32 0, i32 4
  %628 = load ptr, ptr %627, align 8, !tbaa !42
  %629 = load i64, ptr %17, align 8, !tbaa !9
  %630 = getelementptr inbounds double, ptr %628, i64 %629
  %631 = load double, ptr %630, align 8, !tbaa !43
  %632 = load ptr, ptr %8, align 8, !tbaa !5
  %633 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %632, i32 0, i32 10
  %634 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %633, i32 0, i32 4
  %635 = load ptr, ptr %634, align 8, !tbaa !42
  %636 = load i64, ptr %17, align 8, !tbaa !9
  %637 = getelementptr inbounds double, ptr %635, i64 %636
  %638 = load double, ptr %637, align 8, !tbaa !43
  %639 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %631, double noundef %638)
  %640 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %639, ptr noundef @.str.798, ptr noundef %640)
  br label %641

641:                                              ; preds = %570, %521, %477, %432, %411
  %642 = load i64, ptr %17, align 8, !tbaa !9
  %643 = add nsw i64 %642, 1
  store i64 %643, ptr %17, align 8, !tbaa !9
  br label %386, !llvm.loop !65

644:                                              ; preds = %386
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %645

645:                                              ; preds = %839, %644
  %646 = load i64, ptr %17, align 8, !tbaa !9
  %647 = load ptr, ptr %8, align 8, !tbaa !5
  %648 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %647, i32 0, i32 4
  %649 = load i64, ptr %648, align 8, !tbaa !61
  %650 = sub nsw i64 %649, 1
  %651 = icmp sle i64 %646, %650
  br i1 %651, label %652, label %842

652:                                              ; preds = %645
  %653 = load ptr, ptr %8, align 8, !tbaa !5
  %654 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %653, i32 0, i32 24
  %655 = getelementptr inbounds %"struct.alglib_impl::xconicconstraints", ptr %654, i32 0, i32 1
  %656 = load i64, ptr %17, align 8, !tbaa !9
  %657 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl16ae_obj_array_getEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef %655, i64 noundef %656, ptr noundef %35, ptr noundef %657)
  %658 = load ptr, ptr %34, align 8, !tbaa !5
  %659 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %658, i32 0, i32 1
  %660 = load i64, ptr %659, align 8, !tbaa !66
  %661 = icmp eq i64 %660, 0
  br i1 %661, label %662, label %663

662:                                              ; preds = %652
  br label %839

663:                                              ; preds = %652
  store i8 0, ptr %31, align 1, !tbaa !47
  %664 = load ptr, ptr %34, align 8, !tbaa !5
  %665 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %664, i32 0, i32 0
  %666 = load i64, ptr %665, align 8, !tbaa !62
  %667 = load ptr, ptr %14, align 8, !tbaa !5
  %668 = call noundef i64 @_ZN11alglib_impl20xccprimitiveconetypeEPNS_8ae_stateE(ptr noundef %667)
  %669 = icmp eq i64 %666, %668
  br i1 %669, label %670, label %835

670:                                              ; preds = %663
  %671 = load ptr, ptr %34, align 8, !tbaa !5
  %672 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %671, i32 0, i32 4
  %673 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %672, i32 0, i32 4
  %674 = load ptr, ptr %673, align 8, !tbaa !42
  %675 = load ptr, ptr %34, align 8, !tbaa !5
  %676 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %675, i32 0, i32 1
  %677 = load i64, ptr %676, align 8, !tbaa !66
  %678 = getelementptr inbounds double, ptr %674, i64 %677
  %679 = load double, ptr %678, align 8, !tbaa !43
  store double %679, ptr %21, align 8, !tbaa !43
  %680 = load double, ptr %21, align 8, !tbaa !43
  %681 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %680, double noundef 0.000000e+00)
  %682 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %681, ptr noundef @.str.799, ptr noundef %682)
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %683

683:                                              ; preds = %723, %670
  %684 = load i64, ptr %18, align 8, !tbaa !9
  %685 = load ptr, ptr %34, align 8, !tbaa !5
  %686 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %685, i32 0, i32 1
  %687 = load i64, ptr %686, align 8, !tbaa !66
  %688 = sub nsw i64 %687, 2
  %689 = icmp sle i64 %684, %688
  br i1 %689, label %690, label %726

690:                                              ; preds = %683
  %691 = load double, ptr %21, align 8, !tbaa !43
  %692 = load ptr, ptr %8, align 8, !tbaa !5
  %693 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %692, i32 0, i32 5
  %694 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %693, i32 0, i32 4
  %695 = load ptr, ptr %694, align 8, !tbaa !42
  %696 = load ptr, ptr %34, align 8, !tbaa !5
  %697 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %696, i32 0, i32 2
  %698 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %697, i32 0, i32 4
  %699 = load ptr, ptr %698, align 8, !tbaa !42
  %700 = load i64, ptr %18, align 8, !tbaa !9
  %701 = getelementptr inbounds i64, ptr %699, i64 %700
  %702 = load i64, ptr %701, align 8, !tbaa !9
  %703 = getelementptr inbounds double, ptr %695, i64 %702
  %704 = load double, ptr %703, align 8, !tbaa !43
  %705 = load ptr, ptr %34, align 8, !tbaa !5
  %706 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %705, i32 0, i32 3
  %707 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %706, i32 0, i32 4
  %708 = load ptr, ptr %707, align 8, !tbaa !42
  %709 = load i64, ptr %18, align 8, !tbaa !9
  %710 = getelementptr inbounds double, ptr %708, i64 %709
  %711 = load double, ptr %710, align 8, !tbaa !43
  %712 = load ptr, ptr %34, align 8, !tbaa !5
  %713 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %712, i32 0, i32 4
  %714 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %713, i32 0, i32 4
  %715 = load ptr, ptr %714, align 8, !tbaa !42
  %716 = load i64, ptr %18, align 8, !tbaa !9
  %717 = getelementptr inbounds double, ptr %715, i64 %716
  %718 = load double, ptr %717, align 8, !tbaa !43
  %719 = call double @llvm.fmuladd.f64(double %704, double %711, double %718)
  %720 = load ptr, ptr %14, align 8, !tbaa !5
  %721 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %719, ptr noundef %720)
  %722 = fadd double %691, %721
  store double %722, ptr %21, align 8, !tbaa !43
  br label %723

723:                                              ; preds = %690
  %724 = load i64, ptr %18, align 8, !tbaa !9
  %725 = add nsw i64 %724, 1
  store i64 %725, ptr %18, align 8, !tbaa !9
  br label %683, !llvm.loop !67

726:                                              ; preds = %683
  %727 = load double, ptr %21, align 8, !tbaa !43
  %728 = load ptr, ptr %14, align 8, !tbaa !5
  %729 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %727, ptr noundef %728)
  %730 = load ptr, ptr %8, align 8, !tbaa !5
  %731 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %730, i32 0, i32 5
  %732 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %731, i32 0, i32 4
  %733 = load ptr, ptr %732, align 8, !tbaa !42
  %734 = load ptr, ptr %34, align 8, !tbaa !5
  %735 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %734, i32 0, i32 2
  %736 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %735, i32 0, i32 4
  %737 = load ptr, ptr %736, align 8, !tbaa !42
  %738 = load ptr, ptr %34, align 8, !tbaa !5
  %739 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %738, i32 0, i32 1
  %740 = load i64, ptr %739, align 8, !tbaa !66
  %741 = sub nsw i64 %740, 1
  %742 = getelementptr inbounds i64, ptr %737, i64 %741
  %743 = load i64, ptr %742, align 8, !tbaa !9
  %744 = getelementptr inbounds double, ptr %733, i64 %743
  %745 = load double, ptr %744, align 8, !tbaa !43
  %746 = load ptr, ptr %34, align 8, !tbaa !5
  %747 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %746, i32 0, i32 3
  %748 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %747, i32 0, i32 4
  %749 = load ptr, ptr %748, align 8, !tbaa !42
  %750 = load ptr, ptr %34, align 8, !tbaa !5
  %751 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %750, i32 0, i32 1
  %752 = load i64, ptr %751, align 8, !tbaa !66
  %753 = sub nsw i64 %752, 1
  %754 = getelementptr inbounds double, ptr %749, i64 %753
  %755 = load double, ptr %754, align 8, !tbaa !43
  %756 = load ptr, ptr %34, align 8, !tbaa !5
  %757 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %756, i32 0, i32 4
  %758 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %757, i32 0, i32 4
  %759 = load ptr, ptr %758, align 8, !tbaa !42
  %760 = load ptr, ptr %34, align 8, !tbaa !5
  %761 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %760, i32 0, i32 1
  %762 = load i64, ptr %761, align 8, !tbaa !66
  %763 = sub nsw i64 %762, 1
  %764 = getelementptr inbounds double, ptr %759, i64 %763
  %765 = load double, ptr %764, align 8, !tbaa !43
  %766 = call double @llvm.fmuladd.f64(double %745, double %755, double %765)
  %767 = fsub double %729, %766
  store double %767, ptr %20, align 8, !tbaa !43
  %768 = load double, ptr %20, align 8, !tbaa !43
  %769 = load double, ptr %20, align 8, !tbaa !43
  %770 = load double, ptr %19, align 8, !tbaa !43
  %771 = fneg double %770
  %772 = load ptr, ptr %14, align 8, !tbaa !5
  %773 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %769, double noundef %771, ptr noundef %772)
  %774 = fsub double %768, %773
  store double %774, ptr %20, align 8, !tbaa !43
  %775 = load double, ptr %20, align 8, !tbaa !43
  %776 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %775, double noundef 0.000000e+00)
  br i1 %776, label %777, label %834

777:                                              ; preds = %726
  %778 = load ptr, ptr %34, align 8, !tbaa !5
  %779 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %778, i32 0, i32 3
  %780 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %779, i32 0, i32 4
  %781 = load ptr, ptr %780, align 8, !tbaa !42
  %782 = load ptr, ptr %34, align 8, !tbaa !5
  %783 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %782, i32 0, i32 1
  %784 = load i64, ptr %783, align 8, !tbaa !66
  %785 = sub nsw i64 %784, 1
  %786 = getelementptr inbounds double, ptr %781, i64 %785
  %787 = load double, ptr %786, align 8, !tbaa !43
  %788 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %787, double noundef 0.000000e+00)
  %789 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %788, ptr noundef @.str.800, ptr noundef %789)
  %790 = load ptr, ptr %8, align 8, !tbaa !5
  %791 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %790, i32 0, i32 5
  %792 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %791, i32 0, i32 4
  %793 = load ptr, ptr %792, align 8, !tbaa !42
  %794 = load ptr, ptr %34, align 8, !tbaa !5
  %795 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %794, i32 0, i32 2
  %796 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %795, i32 0, i32 4
  %797 = load ptr, ptr %796, align 8, !tbaa !42
  %798 = load ptr, ptr %34, align 8, !tbaa !5
  %799 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %798, i32 0, i32 1
  %800 = load i64, ptr %799, align 8, !tbaa !66
  %801 = sub nsw i64 %800, 1
  %802 = getelementptr inbounds i64, ptr %797, i64 %801
  %803 = load i64, ptr %802, align 8, !tbaa !9
  %804 = getelementptr inbounds double, ptr %793, i64 %803
  %805 = load double, ptr %804, align 8, !tbaa !43
  %806 = load double, ptr %20, align 8, !tbaa !43
  %807 = load ptr, ptr %34, align 8, !tbaa !5
  %808 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %807, i32 0, i32 3
  %809 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %808, i32 0, i32 4
  %810 = load ptr, ptr %809, align 8, !tbaa !42
  %811 = load ptr, ptr %34, align 8, !tbaa !5
  %812 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %811, i32 0, i32 1
  %813 = load i64, ptr %812, align 8, !tbaa !66
  %814 = sub nsw i64 %813, 1
  %815 = getelementptr inbounds double, ptr %810, i64 %814
  %816 = load double, ptr %815, align 8, !tbaa !43
  %817 = fdiv double %806, %816
  %818 = fadd double %805, %817
  %819 = load ptr, ptr %8, align 8, !tbaa !5
  %820 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %819, i32 0, i32 5
  %821 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %820, i32 0, i32 4
  %822 = load ptr, ptr %821, align 8, !tbaa !42
  %823 = load ptr, ptr %34, align 8, !tbaa !5
  %824 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %823, i32 0, i32 2
  %825 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %824, i32 0, i32 4
  %826 = load ptr, ptr %825, align 8, !tbaa !42
  %827 = load ptr, ptr %34, align 8, !tbaa !5
  %828 = getelementptr inbounds %"struct.alglib_impl::xconicconstraint", ptr %827, i32 0, i32 1
  %829 = load i64, ptr %828, align 8, !tbaa !66
  %830 = sub nsw i64 %829, 1
  %831 = getelementptr inbounds i64, ptr %826, i64 %830
  %832 = load i64, ptr %831, align 8, !tbaa !9
  %833 = getelementptr inbounds double, ptr %822, i64 %832
  store double %818, ptr %833, align 8, !tbaa !43
  br label %834

834:                                              ; preds = %777, %726
  store i8 1, ptr %31, align 1, !tbaa !47
  br label %835

835:                                              ; preds = %834, %663
  %836 = load i8, ptr %31, align 1, !tbaa !47, !range !48, !noundef !49
  %837 = trunc i8 %836 to i1
  %838 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %837, ptr noundef @.str.801, ptr noundef %838)
  br label %839

839:                                              ; preds = %835, %662
  %840 = load i64, ptr %17, align 8, !tbaa !9
  %841 = add nsw i64 %840, 1
  store i64 %841, ptr %17, align 8, !tbaa !9
  br label %645, !llvm.loop !68

842:                                              ; preds = %645
  %843 = load ptr, ptr %8, align 8, !tbaa !5
  %844 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %843, i32 0, i32 51
  %845 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %844, i32 0, i32 0
  %846 = load i64, ptr %845, align 8, !tbaa !69
  %847 = load i64, ptr %23, align 8, !tbaa !9
  %848 = add nsw i64 1, %847
  %849 = icmp sge i64 %846, %848
  %850 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %849, ptr noundef @.str.802, ptr noundef %850)
  %851 = load ptr, ptr %8, align 8, !tbaa !5
  %852 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %851, i32 0, i32 9
  %853 = load ptr, ptr %8, align 8, !tbaa !5
  %854 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %853, i32 0, i32 10
  %855 = load ptr, ptr %8, align 8, !tbaa !5
  %856 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %855, i32 0, i32 5
  %857 = load i64, ptr %16, align 8, !tbaa !9
  %858 = load ptr, ptr %8, align 8, !tbaa !5
  %859 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %858, i32 0, i32 48
  %860 = load ptr, ptr %8, align 8, !tbaa !5
  %861 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %860, i32 0, i32 49
  %862 = load i64, ptr %23, align 8, !tbaa !9
  %863 = load ptr, ptr %8, align 8, !tbaa !5
  %864 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %863, i32 0, i32 51
  %865 = load ptr, ptr %8, align 8, !tbaa !5
  %866 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %865, i32 0, i32 25
  %867 = load double, ptr %866, align 8, !tbaa !70
  %868 = load ptr, ptr %8, align 8, !tbaa !5
  %869 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %868, i32 0, i32 26
  %870 = load i64, ptr %869, align 8, !tbaa !71
  %871 = load ptr, ptr %8, align 8, !tbaa !5
  %872 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %871, i32 0, i32 32
  %873 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11gipminitbufEPKNS_9ae_vectorES2_S2_lS2_S2_llS2_dlPNS_9gipmstateEPNS_8ae_stateE(ptr noundef %852, ptr noundef %854, ptr noundef %856, i64 noundef %857, ptr noundef %859, ptr noundef %861, i64 noundef %862, i64 noundef 0, ptr noundef %864, double noundef %867, i64 noundef %870, ptr noundef %872, ptr noundef %873)
  store i8 0, ptr %29, align 1, !tbaa !47
  store i8 0, ptr %30, align 1, !tbaa !47
  br label %874

874:                                              ; preds = %926, %919, %909, %899, %885, %842
  %875 = load ptr, ptr %8, align 8, !tbaa !5
  %876 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %875, i32 0, i32 32
  %877 = load ptr, ptr %14, align 8, !tbaa !5
  %878 = call noundef zeroext i1 @_ZN11alglib_impl13gipmiterationEPNS_9gipmstateEbPNS_8ae_stateE(ptr noundef %876, i1 noundef zeroext false, ptr noundef %877)
  br i1 %878, label %879, label %928

879:                                              ; preds = %874
  %880 = load ptr, ptr %8, align 8, !tbaa !5
  %881 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %880, i32 0, i32 32
  %882 = getelementptr inbounds %"struct.alglib_impl::gipmstate", ptr %881, i32 0, i32 12
  %883 = load i64, ptr %882, align 8, !tbaa !72
  %884 = icmp eq i64 %883, 1
  br i1 %884, label %885, label %893

885:                                              ; preds = %879
  %886 = load ptr, ptr %8, align 8, !tbaa !5
  %887 = load i64, ptr %25, align 8, !tbaa !9
  %888 = load i64, ptr %26, align 8, !tbaa !9
  %889 = load i64, ptr %28, align 8, !tbaa !9
  %890 = load i64, ptr %27, align 8, !tbaa !9
  %891 = load i64, ptr %23, align 8, !tbaa !9
  %892 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_implL31gqpipm_handlecomputeandrememberEPNS_11gqpipmstateElllllPbS2_PNS_8ae_stateE(ptr noundef %886, i64 noundef %887, i64 noundef %888, i64 noundef %889, i64 noundef %890, i64 noundef %891, ptr noundef %29, ptr noundef %30, ptr noundef %892)
  br label %874, !llvm.loop !73

893:                                              ; preds = %879
  %894 = load ptr, ptr %8, align 8, !tbaa !5
  %895 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %894, i32 0, i32 32
  %896 = getelementptr inbounds %"struct.alglib_impl::gipmstate", ptr %895, i32 0, i32 12
  %897 = load i64, ptr %896, align 8, !tbaa !72
  %898 = icmp eq i64 %897, 1001
  br i1 %898, label %899, label %903

899:                                              ; preds = %893
  %900 = load ptr, ptr %8, align 8, !tbaa !5
  %901 = load i64, ptr %23, align 8, !tbaa !9
  %902 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_implL22gqpipm_handlefactorizeEPNS_11gqpipmstateElPbS2_PNS_8ae_stateE(ptr noundef %900, i64 noundef %901, ptr noundef %29, ptr noundef %30, ptr noundef %902)
  br label %874, !llvm.loop !73

903:                                              ; preds = %893
  %904 = load ptr, ptr %8, align 8, !tbaa !5
  %905 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %904, i32 0, i32 32
  %906 = getelementptr inbounds %"struct.alglib_impl::gipmstate", ptr %905, i32 0, i32 12
  %907 = load i64, ptr %906, align 8, !tbaa !72
  %908 = icmp eq i64 %907, 1002
  br i1 %908, label %909, label %913

909:                                              ; preds = %903
  %910 = load ptr, ptr %8, align 8, !tbaa !5
  %911 = load i64, ptr %23, align 8, !tbaa !9
  %912 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_implL18gqpipm_handlesolveEPNS_11gqpipmstateElPbS2_PNS_8ae_stateE(ptr noundef %910, i64 noundef %911, ptr noundef %29, ptr noundef %30, ptr noundef %912)
  br label %874, !llvm.loop !73

913:                                              ; preds = %903
  %914 = load ptr, ptr %8, align 8, !tbaa !5
  %915 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %914, i32 0, i32 32
  %916 = getelementptr inbounds %"struct.alglib_impl::gipmstate", ptr %915, i32 0, i32 12
  %917 = load i64, ptr %916, align 8, !tbaa !72
  %918 = icmp eq i64 %917, 1003
  br i1 %918, label %919, label %926

919:                                              ; preds = %913
  %920 = load ptr, ptr %8, align 8, !tbaa !5
  %921 = load i64, ptr %25, align 8, !tbaa !9
  %922 = load i64, ptr %26, align 8, !tbaa !9
  %923 = load i64, ptr %28, align 8, !tbaa !9
  %924 = load i64, ptr %23, align 8, !tbaa !9
  %925 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_implL15gqpipm_handlemvEPNS_11gqpipmstateEllllPbS2_PNS_8ae_stateE(ptr noundef %920, i64 noundef %921, i64 noundef %922, i64 noundef %923, i64 noundef %924, ptr noundef %29, ptr noundef %30, ptr noundef %925)
  br label %874, !llvm.loop !73

926:                                              ; preds = %913
  %927 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.803, ptr noundef %927)
  br label %874, !llvm.loop !73

928:                                              ; preds = %874
  %929 = load ptr, ptr %8, align 8, !tbaa !5
  %930 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %929, i32 0, i32 32
  %931 = load ptr, ptr %9, align 8, !tbaa !5
  %932 = load ptr, ptr %10, align 8, !tbaa !5
  %933 = load ptr, ptr %8, align 8, !tbaa !5
  %934 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %933, i32 0, i32 52
  %935 = load ptr, ptr %13, align 8, !tbaa !5
  %936 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11gipmresultsEPNS_9gipmstateEPNS_9ae_vectorES3_S3_PlPNS_8ae_stateE(ptr noundef %930, ptr noundef %931, ptr noundef %932, ptr noundef %934, ptr noundef %935, ptr noundef %936)
  %937 = load ptr, ptr %8, align 8, !tbaa !5
  %938 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %937, i32 0, i32 32
  %939 = getelementptr inbounds %"struct.alglib_impl::gipmstate", ptr %938, i32 0, i32 47
  %940 = load i64, ptr %939, align 8, !tbaa !74
  %941 = load ptr, ptr %8, align 8, !tbaa !5
  %942 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %941, i32 0, i32 27
  store i64 %940, ptr %942, align 8, !tbaa !75
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %943

943:                                              ; preds = %971, %928
  %944 = load i64, ptr %17, align 8, !tbaa !9
  %945 = load ptr, ptr %8, align 8, !tbaa !5
  %946 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %945, i32 0, i32 15
  %947 = load i64, ptr %946, align 8, !tbaa !46
  %948 = sub nsw i64 %947, 1
  %949 = icmp sle i64 %944, %948
  br i1 %949, label %950, label %974

950:                                              ; preds = %943
  %951 = load ptr, ptr %8, align 8, !tbaa !5
  %952 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %951, i32 0, i32 52
  %953 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %952, i32 0, i32 4
  %954 = load ptr, ptr %953, align 8, !tbaa !42
  %955 = load i64, ptr %28, align 8, !tbaa !9
  %956 = load i64, ptr %17, align 8, !tbaa !9
  %957 = add nsw i64 %955, %956
  %958 = getelementptr inbounds double, ptr %954, i64 %957
  %959 = load double, ptr %958, align 8, !tbaa !43
  %960 = load ptr, ptr %10, align 8, !tbaa !5
  %961 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %960, i32 0, i32 4
  %962 = load ptr, ptr %961, align 8, !tbaa !42
  %963 = load ptr, ptr %8, align 8, !tbaa !5
  %964 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %963, i32 0, i32 14
  %965 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %964, i32 0, i32 4
  %966 = load ptr, ptr %965, align 8, !tbaa !42
  %967 = load i64, ptr %17, align 8, !tbaa !9
  %968 = getelementptr inbounds i64, ptr %966, i64 %967
  %969 = load i64, ptr %968, align 8, !tbaa !9
  %970 = getelementptr inbounds double, ptr %962, i64 %969
  store double %959, ptr %970, align 8, !tbaa !43
  br label %971

971:                                              ; preds = %950
  %972 = load i64, ptr %17, align 8, !tbaa !9
  %973 = add nsw i64 %972, 1
  store i64 %973, ptr %17, align 8, !tbaa !9
  br label %943, !llvm.loop !76

974:                                              ; preds = %943
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %975

975:                                              ; preds = %995, %974
  %976 = load i64, ptr %17, align 8, !tbaa !9
  %977 = load i64, ptr %22, align 8, !tbaa !9
  %978 = sub nsw i64 %977, 1
  %979 = icmp sle i64 %976, %978
  br i1 %979, label %980, label %998

980:                                              ; preds = %975
  %981 = load ptr, ptr %8, align 8, !tbaa !5
  %982 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %981, i32 0, i32 52
  %983 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %982, i32 0, i32 4
  %984 = load ptr, ptr %983, align 8, !tbaa !42
  %985 = load i64, ptr %25, align 8, !tbaa !9
  %986 = load i64, ptr %17, align 8, !tbaa !9
  %987 = add nsw i64 %985, %986
  %988 = getelementptr inbounds double, ptr %984, i64 %987
  %989 = load double, ptr %988, align 8, !tbaa !43
  %990 = load ptr, ptr %11, align 8, !tbaa !5
  %991 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %990, i32 0, i32 4
  %992 = load ptr, ptr %991, align 8, !tbaa !42
  %993 = load i64, ptr %17, align 8, !tbaa !9
  %994 = getelementptr inbounds double, ptr %992, i64 %993
  store double %989, ptr %994, align 8, !tbaa !43
  br label %995

995:                                              ; preds = %980
  %996 = load i64, ptr %17, align 8, !tbaa !9
  %997 = add nsw i64 %996, 1
  store i64 %997, ptr %17, align 8, !tbaa !9
  br label %975, !llvm.loop !77

998:                                              ; preds = %975
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %999

999:                                              ; preds = %1021, %998
  %1000 = load i64, ptr %17, align 8, !tbaa !9
  %1001 = load ptr, ptr %8, align 8, !tbaa !5
  %1002 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %1001, i32 0, i32 3
  %1003 = load i64, ptr %1002, align 8, !tbaa !56
  %1004 = sub nsw i64 %1003, 1
  %1005 = icmp sle i64 %1000, %1004
  br i1 %1005, label %1006, label %1024

1006:                                             ; preds = %999
  %1007 = load ptr, ptr %8, align 8, !tbaa !5
  %1008 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %1007, i32 0, i32 52
  %1009 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1008, i32 0, i32 4
  %1010 = load ptr, ptr %1009, align 8, !tbaa !42
  %1011 = load i64, ptr %26, align 8, !tbaa !9
  %1012 = load i64, ptr %17, align 8, !tbaa !9
  %1013 = add nsw i64 %1011, %1012
  %1014 = getelementptr inbounds double, ptr %1010, i64 %1013
  %1015 = load double, ptr %1014, align 8, !tbaa !43
  %1016 = load ptr, ptr %12, align 8, !tbaa !5
  %1017 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1016, i32 0, i32 4
  %1018 = load ptr, ptr %1017, align 8, !tbaa !42
  %1019 = load i64, ptr %17, align 8, !tbaa !9
  %1020 = getelementptr inbounds double, ptr %1018, i64 %1019
  store double %1015, ptr %1020, align 8, !tbaa !43
  br label %1021

1021:                                             ; preds = %1006
  %1022 = load i64, ptr %17, align 8, !tbaa !9
  %1023 = add nsw i64 %1022, 1
  store i64 %1023, ptr %17, align 8, !tbaa !9
  br label %999, !llvm.loop !78

1024:                                             ; preds = %999
  %1025 = load i64, ptr %16, align 8, !tbaa !9
  %1026 = load ptr, ptr %8, align 8, !tbaa !5
  %1027 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %1026, i32 0, i32 11
  %1028 = load ptr, ptr %9, align 8, !tbaa !5
  %1029 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rmergemaxvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1025, ptr noundef %1027, ptr noundef %1028, ptr noundef %1029)
  %1030 = load i64, ptr %16, align 8, !tbaa !9
  %1031 = load ptr, ptr %8, align 8, !tbaa !5
  %1032 = getelementptr inbounds %"struct.alglib_impl::gqpipmstate", ptr %1031, i32 0, i32 12
  %1033 = load ptr, ptr %9, align 8, !tbaa !5
  %1034 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rmergeminvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %1030, ptr noundef %1032, ptr noundef %1033, ptr noundef %1034)
  %1035 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1035)
  call void @llvm.lifetime.end.p0(i64 80, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  ret void
}

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN11alglib_impl11gqpipmstateE", !13, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !14, i64 40, !10, i64 104, !16, i64 112, !10, i64 120, !14, i64 128, !14, i64 192, !14, i64 256, !14, i64 320, !14, i64 384, !14, i64 448, !10, i64 512, !14, i64 520, !14, i64 584, !17, i64 648, !18, i64 728, !18, i64 1096, !14, i64 1464, !14, i64 1528, !19, i64 1592, !22, i64 1800, !16, i64 1944, !10, i64 1952, !10, i64 1960, !10, i64 1968, !13, i64 1976, !13, i64 1977, !23, i64 1984, !24, i64 2008, !17, i64 12320, !17, i64 12400, !14, i64 12480, !14, i64 12544, !17, i64 12608, !17, i64 12688, !14, i64 12768, !14, i64 12832, !18, i64 12896, !18, i64 13264, !18, i64 13632, !18, i64 14000, !14, i64 14368, !33, i64 14432, !28, i64 29496, !14, i64 29640, !14, i64 29704, !18, i64 29768, !14, i64 30136, !14, i64 30200, !14, i64 30264, !14, i64 30328, !14, i64 30392, !14, i64 30456, !17, i64 30520, !14, i64 30600, !14, i64 30664, !14, i64 30728, !14, i64 30792, !14, i64 30856, !14, i64 30920, !14, i64 30984, !14, i64 31048, !14, i64 31112}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !13, i64 16, !15, i64 24, !7, i64 56}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !15, i64 40, !7, i64 72}
!18 = !{!"_ZTSN11alglib_impl12sparsematrixE", !14, i64 0, !14, i64 64, !14, i64 128, !14, i64 192, !14, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!19 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !10, i64 0, !20, i64 8, !14, i64 144}
!20 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !10, i64 0, !10, i64 8, !13, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !21, i64 56, !15, i64 104}
!21 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !15, i64 8, !13, i64 40}
!22 = !{!"_ZTSN11alglib_impl17xconicconstraintsE", !10, i64 0, !20, i64 8}
!23 = !{!"_ZTSN11alglib_impl6stimerE", !10, i64 0, !10, i64 8, !13, i64 16}
!24 = !{!"_ZTSN11alglib_impl9gipmstateE", !10, i64 0, !10, i64 8, !10, i64 16, !14, i64 24, !14, i64 88, !14, i64 152, !14, i64 216, !14, i64 280, !14, i64 344, !14, i64 408, !16, i64 472, !10, i64 480, !10, i64 488, !14, i64 496, !16, i64 560, !14, i64 568, !14, i64 632, !18, i64 696, !14, i64 1064, !14, i64 1128, !13, i64 1192, !13, i64 1193, !13, i64 1194, !14, i64 1200, !14, i64 1264, !14, i64 1328, !14, i64 1392, !14, i64 1456, !14, i64 1520, !14, i64 1584, !14, i64 1648, !16, i64 1712, !16, i64 1720, !16, i64 1728, !16, i64 1736, !16, i64 1744, !10, i64 1752, !25, i64 1760, !25, i64 2560, !26, i64 3360, !26, i64 3960, !16, i64 4560, !10, i64 4568, !27, i64 4576, !13, i64 4744, !13, i64 4745, !13, i64 4746, !10, i64 4752, !10, i64 4760, !23, i64 4768, !28, i64 4792, !29, i64 4936, !30, i64 5704, !25, i64 6856, !25, i64 7656, !14, i64 8456, !14, i64 8520, !14, i64 8584, !25, i64 8648, !26, i64 9448, !31, i64 10048}
!25 = !{!"_ZTSN11alglib_impl8gipmvarsE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !14, i64 32, !14, i64 96, !14, i64 160, !14, i64 224, !14, i64 288, !14, i64 352, !14, i64 416, !14, i64 480, !14, i64 544, !14, i64 608, !14, i64 672, !14, i64 736}
!26 = !{!"_ZTSN11alglib_impl11varsfuncjacE", !10, i64 0, !10, i64 8, !13, i64 16, !14, i64 24, !14, i64 88, !17, i64 152, !18, i64 232}
!27 = !{!"_ZTSN11alglib_impl9nlpfilterE", !16, i64 0, !10, i64 8, !16, i64 16, !16, i64 24, !13, i64 32, !14, i64 40, !14, i64 104}
!28 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !15, i64 32, !21, i64 64, !15, i64 112}
!29 = !{!"_ZTSN11alglib_impl7gipmrhsE", !14, i64 0, !14, i64 64, !14, i64 128, !14, i64 192, !14, i64 256, !14, i64 320, !14, i64 384, !14, i64 448, !14, i64 512, !14, i64 576, !14, i64 640, !14, i64 704}
!30 = !{!"_ZTSN11alglib_impl19gipmcondensedsystemE", !14, i64 0, !14, i64 64, !14, i64 128, !14, i64 192, !14, i64 256, !14, i64 320, !14, i64 384, !14, i64 448, !14, i64 512, !14, i64 576, !14, i64 640, !14, i64 704, !14, i64 768, !14, i64 832, !14, i64 896, !14, i64 960, !14, i64 1024, !14, i64 1088}
!31 = !{!"_ZTSN11alglib_impl10rcommstateE", !32, i64 0, !14, i64 8, !14, i64 72, !14, i64 136, !14, i64 200}
!32 = !{!"int", !7, i64 0}
!33 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !10, i64 0, !10, i64 8, !10, i64 16, !13, i64 24, !10, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !14, i64 72, !13, i64 136, !13, i64 137, !13, i64 138, !13, i64 139, !13, i64 140, !14, i64 144, !10, i64 208, !14, i64 216, !14, i64 280, !14, i64 344, !14, i64 408, !14, i64 472, !14, i64 536, !13, i64 600, !14, i64 608, !14, i64 672, !14, i64 736, !14, i64 800, !14, i64 864, !14, i64 928, !13, i64 992, !13, i64 993, !34, i64 1000, !14, i64 1512, !14, i64 1576, !14, i64 1640, !14, i64 1704, !14, i64 1768, !14, i64 1832, !28, i64 1896, !28, i64 2040, !28, i64 2184, !28, i64 2328, !28, i64 2472, !28, i64 2616, !14, i64 2760, !14, i64 2824, !14, i64 2888, !14, i64 2952, !14, i64 3016, !35, i64 3080, !40, i64 7464, !14, i64 13816, !14, i64 13880, !14, i64 13944, !14, i64 14008, !14, i64 14072, !14, i64 14136, !18, i64 14200, !18, i64 14568, !14, i64 14936, !14, i64 15000}
!34 = !{!"_ZTSN11alglib_impl9spcholadjE", !14, i64 0, !14, i64 64, !14, i64 128, !14, i64 192, !14, i64 256, !14, i64 320, !14, i64 384, !14, i64 448}
!35 = !{!"_ZTSN11alglib_impl9amdbufferE", !10, i64 0, !13, i64 8, !13, i64 9, !14, i64 16, !14, i64 80, !14, i64 144, !36, i64 208, !36, i64 568, !36, i64 928, !37, i64 1288, !38, i64 1496, !39, i64 1968, !14, i64 2120, !14, i64 2184, !14, i64 2248, !39, i64 2312, !39, i64 2464, !39, i64 2616, !39, i64 2768, !39, i64 2920, !39, i64 3072, !14, i64 3224, !10, i64 3288, !39, i64 3296, !39, i64 3448, !36, i64 3600, !39, i64 3960, !14, i64 4112, !14, i64 4176, !14, i64 4240, !17, i64 4304}
!36 = !{!"_ZTSN11alglib_impl8amdknsetE", !10, i64 0, !10, i64 8, !14, i64 16, !14, i64 80, !14, i64 144, !14, i64 208, !14, i64 272, !10, i64 336, !10, i64 344, !10, i64 352}
!37 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !10, i64 0, !14, i64 8, !14, i64 72, !14, i64 136, !10, i64 200}
!38 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !10, i64 0, !13, i64 8, !10, i64 16, !14, i64 24, !14, i64 88, !14, i64 152, !14, i64 216, !14, i64 280, !14, i64 344, !14, i64 408}
!39 = !{!"_ZTSN11alglib_impl5nisetE", !10, i64 0, !10, i64 8, !14, i64 16, !14, i64 80, !10, i64 144}
!40 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !14, i64 0, !14, i64 64, !35, i64 128, !18, i64 4512, !18, i64 4880, !18, i64 5248, !18, i64 5616, !18, i64 5984}
!41 = !{!12, !10, i64 16}
!42 = !{!7, !7, i64 0}
!43 = !{!16, !16, i64 0}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = !{!12, !10, i64 512}
!47 = !{!13, !13, i64 0}
!48 = !{i8 0, i8 2}
!49 = !{}
!50 = !{!51, !16, i64 24}
!51 = !{!"_ZTSN11alglib_impl8ae_stateE", !10, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !6, i64 32, !15, 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, !16, i64 16}
!55 = distinct !{!55, !45}
!56 = !{!12, !10, i64 24}
!57 = !{!58, !16, i64 504}
!58 = !{!"_ZTSN11alglib_impl20xquadraticconstraintE", !10, i64 0, !14, i64 8, !14, i64 72, !18, i64 136, !16, i64 504, !16, i64 512, !13, i64 520}
!59 = !{!58, !16, i64 512}
!60 = distinct !{!60, !45}
!61 = !{!12, !10, i64 32}
!62 = !{!63, !10, i64 0}
!63 = !{!"_ZTSN11alglib_impl16xconicconstraintE", !10, i64 0, !10, i64 8, !14, i64 16, !14, i64 80, !14, i64 144, !13, i64 208}
!64 = distinct !{!64, !45}
!65 = distinct !{!65, !45}
!66 = !{!63, !10, i64 8}
!67 = distinct !{!67, !45}
!68 = distinct !{!68, !45}
!69 = !{!12, !10, i64 30136}
!70 = !{!12, !16, i64 1944}
!71 = !{!12, !10, i64 1952}
!72 = !{!12, !10, i64 2496}
!73 = distinct !{!73, !45}
!74 = !{!12, !10, i64 6760}
!75 = !{!12, !10, i64 1960}
!76 = distinct !{!76, !45}
!77 = distinct !{!77, !45}
!78 = distinct !{!78, !45}


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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_smart_ptr" = type { ptr, ptr, i8, i8, i64, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }

@.str.793 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.794 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.795 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.796 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.797 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.798 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.799 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.800 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.801 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.802 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.803 = external hidden unnamed_addr constant [32 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl20xccprimitiveconetypeEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl19gipmgetinitprimdualEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl11gipminitbufEPKNS_9ae_vectorES2_S2_lS2_S2_llS2_dlPNS_9gipmstateEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, double noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl13gipmiterationEPNS_9gipmstateEbPNS_8ae_stateE(ptr noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #5

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14gqpipmoptimizeEPNS_11gqpipmstateEPNS_9ae_vectorES3_S3_S3_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #5 {
  %8 = alloca %"struct.alglib_impl::ae_frame", align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.alglib_impl::ae_smart_ptr", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.alglib_impl::ae_smart_ptr", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #6
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %6, ptr noundef nonnull %8)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %12, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %14, i8 0, i64 80, i1 false)
  store i64 0, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl17ae_smart_ptr_initEPNS_12ae_smart_ptrEPPvPNS_8ae_stateEb(ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17ae_smart_ptr_initEPNS_12ae_smart_ptrEPPvPNS_8ae_stateEb(ptr noundef nonnull %14, ptr noundef nonnull %13, ptr noundef %6, i1 noundef zeroext true)
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i64, ptr %15, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load i64, ptr %17, align 8, !tbaa !40
  %19 = getelementptr inbounds i8, ptr %0, i64 29496
  call void @_ZN11alglib_impl15ae_nxpool_allocEPNS_9ae_nxpoolElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef %16, ptr noundef %6)
  %20 = getelementptr inbounds i8, ptr %0, i64 30136
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 1, double noundef 1.000000e+00, ptr noundef nonnull %20, ptr noundef %6)
  %.not.not362 = icmp sgt i64 %18, 0
  br i1 %.not.not362, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %7
  %21 = getelementptr inbounds i8, ptr %0, i64 29640
  %22 = getelementptr inbounds i8, ptr %0, i64 29704
  %23 = getelementptr inbounds i8, ptr %0, i64 1520
  %24 = getelementptr inbounds i8, ptr %0, i64 29696
  %25 = getelementptr inbounds i8, ptr %0, i64 1584
  %26 = getelementptr inbounds i8, ptr %0, i64 29760
  %27 = getelementptr inbounds i8, ptr %0, i64 30192
  br label %28

28:                                               ; preds = %.lr.ph, %28
  %.0340364 = phi i64 [ 0, %.lr.ph ], [ %29, %28 ]
  %29 = add nuw nsw i64 %.0340364, 1
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %29, ptr noundef nonnull %21, ptr noundef %6)
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %29, ptr noundef nonnull %22, ptr noundef %6)
  %30 = load ptr, ptr %23, align 8, !tbaa !41
  %31 = getelementptr inbounds double, ptr %30, i64 %.0340364
  %32 = load double, ptr %31, align 8, !tbaa !42
  %33 = load ptr, ptr %24, align 8, !tbaa !41
  %34 = getelementptr inbounds double, ptr %33, i64 %.0340364
  store double %32, ptr %34, align 8, !tbaa !42
  %35 = load ptr, ptr %25, align 8, !tbaa !41
  %36 = getelementptr inbounds double, ptr %35, i64 %.0340364
  %37 = load double, ptr %36, align 8, !tbaa !42
  %38 = load ptr, ptr %26, align 8, !tbaa !41
  %39 = getelementptr inbounds double, ptr %38, i64 %.0340364
  store double %37, ptr %39, align 8, !tbaa !42
  %40 = add nuw nsw i64 %.0340364, 2
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %40, ptr noundef nonnull %20, ptr noundef %6)
  %41 = load ptr, ptr %27, align 8, !tbaa !41
  %42 = getelementptr inbounds double, ptr %41, i64 %29
  store double 1.000000e+00, ptr %42, align 8, !tbaa !42
  %exitcond.not = icmp eq i64 %29, %18
  br i1 %exitcond.not, label %._crit_edge, label %28, !llvm.loop !43

._crit_edge:                                      ; preds = %28, %7
  %.0344.lcssa = phi i64 [ 0, %7 ], [ %18, %28 ]
  %43 = getelementptr inbounds i8, ptr %0, i64 512
  %44 = load i64, ptr %43, align 8, !tbaa !45
  %45 = add nsw i64 %44, %18
  %.not.not352365 = icmp sgt i64 %16, 0
  br i1 %.not.not352365, label %.lr.ph369, label %._crit_edge370

.lr.ph369:                                        ; preds = %._crit_edge
  %46 = getelementptr inbounds i8, ptr %0, i64 440
  %47 = getelementptr inbounds i8, ptr %0, i64 29640
  %48 = getelementptr inbounds i8, ptr %0, i64 29704
  %49 = getelementptr inbounds i8, ptr %0, i64 184
  %50 = getelementptr inbounds i8, ptr %0, i64 29696
  %51 = getelementptr inbounds i8, ptr %0, i64 248
  %52 = getelementptr inbounds i8, ptr %0, i64 29760
  %53 = getelementptr inbounds i8, ptr %0, i64 30192
  %54 = getelementptr inbounds i8, ptr %6, i64 24
  %55 = getelementptr inbounds i8, ptr %6, i64 16
  br label %56

56:                                               ; preds = %.lr.ph369, %82
  %.1341367 = phi i64 [ 0, %.lr.ph369 ], [ %83, %82 ]
  %.1345366 = phi i64 [ %.0344.lcssa, %.lr.ph369 ], [ %.2346, %82 ]
  %57 = load ptr, ptr %46, align 8, !tbaa !41
  %58 = getelementptr inbounds i8, ptr %57, i64 %.1341367
  %59 = load i8, ptr %58, align 1, !tbaa !46, !range !47, !noundef !48
  %60 = trunc nuw i8 %59 to i1
  br i1 %60, label %61, label %82

61:                                               ; preds = %56
  %62 = add nsw i64 %.1345366, 1
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %62, ptr noundef nonnull %47, ptr noundef %6)
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %62, ptr noundef nonnull %48, ptr noundef %6)
  %63 = load ptr, ptr %49, align 8, !tbaa !41
  %64 = getelementptr inbounds double, ptr %63, i64 %.1341367
  %65 = load double, ptr %64, align 8, !tbaa !42
  %66 = load ptr, ptr %50, align 8, !tbaa !41
  %67 = getelementptr inbounds double, ptr %66, i64 %.1345366
  store double %65, ptr %67, align 8, !tbaa !42
  %68 = load ptr, ptr %51, align 8, !tbaa !41
  %69 = getelementptr inbounds double, ptr %68, i64 %.1341367
  %70 = load double, ptr %69, align 8, !tbaa !42
  %71 = load ptr, ptr %52, align 8, !tbaa !41
  %72 = getelementptr inbounds double, ptr %71, i64 %.1345366
  store double %70, ptr %72, align 8, !tbaa !42
  %73 = add nsw i64 %.1345366, 2
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %73, ptr noundef nonnull %20, ptr noundef %6)
  %74 = load ptr, ptr %53, align 8, !tbaa !41
  %75 = getelementptr inbounds double, ptr %74, i64 %62
  store double 1.000000e+00, ptr %75, align 8, !tbaa !42
  %76 = load double, ptr %54, align 8, !tbaa !49
  %77 = load ptr, ptr %49, align 8, !tbaa !41
  %78 = getelementptr inbounds double, ptr %77, i64 %.1341367
  store double %76, ptr %78, align 8, !tbaa !42
  %79 = load double, ptr %55, align 8, !tbaa !53
  %80 = load ptr, ptr %51, align 8, !tbaa !41
  %81 = getelementptr inbounds double, ptr %80, i64 %.1341367
  store double %79, ptr %81, align 8, !tbaa !42
  br label %82

82:                                               ; preds = %56, %61
  %.2346 = phi i64 [ %62, %61 ], [ %.1345366, %56 ]
  %83 = add nuw nsw i64 %.1341367, 1
  %exitcond419.not = icmp eq i64 %83, %16
  br i1 %exitcond419.not, label %._crit_edge370, label %56, !llvm.loop !54

._crit_edge370:                                   ; preds = %82, %._crit_edge
  %.1345.lcssa = phi i64 [ %.0344.lcssa, %._crit_edge ], [ %.2346, %82 ]
  %84 = getelementptr inbounds i8, ptr %0, i64 24
  %85 = load i64, ptr %84, align 8, !tbaa !55
  %86 = add nsw i64 %85, %45
  %.not.not353372 = icmp sgt i64 %85, 0
  br i1 %.not.not353372, label %.lr.ph376, label %._crit_edge377

.lr.ph376:                                        ; preds = %._crit_edge370
  %87 = getelementptr inbounds i8, ptr %0, i64 29640
  %88 = getelementptr inbounds i8, ptr %0, i64 29704
  %89 = getelementptr inbounds i8, ptr %0, i64 1600
  %90 = getelementptr inbounds i8, ptr %0, i64 29696
  %91 = getelementptr inbounds i8, ptr %0, i64 29760
  %92 = getelementptr inbounds i8, ptr %0, i64 30192
  br label %93

93:                                               ; preds = %.lr.ph376, %93
  %.2374 = phi i64 [ 0, %.lr.ph376 ], [ %107, %93 ]
  %.3347373 = phi i64 [ %.1345.lcssa, %.lr.ph376 ], [ %94, %93 ]
  %94 = add nsw i64 %.3347373, 1
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %94, ptr noundef nonnull %87, ptr noundef %6)
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %94, ptr noundef nonnull %88, ptr noundef %6)
  call void @_ZN11alglib_impl16ae_obj_array_getEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef nonnull %89, i64 noundef %.2374, ptr noundef nonnull %12, ptr noundef %6)
  %95 = load ptr, ptr %11, align 8, !tbaa !56
  %96 = getelementptr inbounds i8, ptr %95, i64 504
  %97 = load double, ptr %96, align 8, !tbaa !57
  %98 = load ptr, ptr %90, align 8, !tbaa !41
  %99 = getelementptr inbounds double, ptr %98, i64 %.3347373
  store double %97, ptr %99, align 8, !tbaa !42
  %100 = getelementptr inbounds i8, ptr %95, i64 512
  %101 = load double, ptr %100, align 8, !tbaa !59
  %102 = load ptr, ptr %91, align 8, !tbaa !41
  %103 = getelementptr inbounds double, ptr %102, i64 %.3347373
  store double %101, ptr %103, align 8, !tbaa !42
  %104 = add nsw i64 %.3347373, 2
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %104, ptr noundef nonnull %20, ptr noundef %6)
  %105 = load ptr, ptr %92, align 8, !tbaa !41
  %106 = getelementptr inbounds double, ptr %105, i64 %94
  store double 1.000000e+00, ptr %106, align 8, !tbaa !42
  %107 = add nuw nsw i64 %.2374, 1
  %108 = load i64, ptr %84, align 8, !tbaa !55
  %.not.not353 = icmp slt i64 %107, %108
  br i1 %.not.not353, label %93, label %._crit_edge377, !llvm.loop !60

._crit_edge377:                                   ; preds = %93, %._crit_edge370
  %.3347.lcssa = phi i64 [ %.1345.lcssa, %._crit_edge370 ], [ %94, %93 ]
  %109 = getelementptr inbounds i8, ptr %0, i64 32
  %110 = load i64, ptr %109, align 8, !tbaa !61
  %111 = add nsw i64 %110, %86
  %.not.not354379 = icmp sgt i64 %110, 0
  br i1 %.not.not354379, label %.lr.ph383, label %._crit_edge384

.lr.ph383:                                        ; preds = %._crit_edge377
  %112 = getelementptr inbounds i8, ptr %0, i64 29640
  %113 = getelementptr inbounds i8, ptr %0, i64 29704
  %114 = getelementptr inbounds i8, ptr %0, i64 1808
  %115 = getelementptr inbounds i8, ptr %6, i64 24
  %116 = getelementptr inbounds i8, ptr %0, i64 29696
  %117 = getelementptr inbounds i8, ptr %0, i64 29760
  %118 = getelementptr inbounds i8, ptr %0, i64 30192
  br label %119

119:                                              ; preds = %.lr.ph383, %134
  %.3381 = phi i64 [ 0, %.lr.ph383 ], [ %138, %134 ]
  %.4348380 = phi i64 [ %.3347.lcssa, %.lr.ph383 ], [ %120, %134 ]
  %120 = add nsw i64 %.4348380, 1
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %120, ptr noundef nonnull %112, ptr noundef %6)
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %120, ptr noundef nonnull %113, ptr noundef %6)
  call void @_ZN11alglib_impl16ae_obj_array_getEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef nonnull %114, i64 noundef %.3381, ptr noundef nonnull %14, ptr noundef %6)
  %121 = load ptr, ptr %13, align 8, !tbaa !56
  %122 = load i64, ptr %121, align 8, !tbaa !62
  %123 = icmp sgt i64 %122, -1
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %123, ptr noundef nonnull @.str.793, ptr noundef %6)
  %124 = load ptr, ptr %13, align 8, !tbaa !56
  %125 = load i64, ptr %124, align 8, !tbaa !62
  %126 = call noundef i64 @_ZN11alglib_impl20xccprimitiveconetypeEPNS_8ae_stateE(ptr noundef %6)
  %127 = icmp eq i64 %125, %126
  br i1 %127, label %128, label %134

128:                                              ; preds = %119
  %129 = load double, ptr %115, align 8, !tbaa !49
  %130 = load ptr, ptr %116, align 8, !tbaa !41
  %131 = getelementptr inbounds double, ptr %130, i64 %.4348380
  store double %129, ptr %131, align 8, !tbaa !42
  %132 = load ptr, ptr %117, align 8, !tbaa !41
  %133 = getelementptr inbounds double, ptr %132, i64 %.4348380
  store double 0.000000e+00, ptr %133, align 8, !tbaa !42
  br label %134

134:                                              ; preds = %128, %119
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %127, ptr noundef nonnull @.str.794, ptr noundef %6)
  %135 = add nsw i64 %.4348380, 2
  call void @_ZN11alglib_impl6rgrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %135, ptr noundef nonnull %20, ptr noundef %6)
  %136 = load ptr, ptr %118, align 8, !tbaa !41
  %137 = getelementptr inbounds double, ptr %136, i64 %120
  store double 1.000000e+00, ptr %137, align 8, !tbaa !42
  %138 = add nuw nsw i64 %.3381, 1
  %139 = load i64, ptr %109, align 8, !tbaa !61
  %.not.not354 = icmp slt i64 %138, %139
  br i1 %.not.not354, label %119, label %._crit_edge384, !llvm.loop !64

._crit_edge384:                                   ; preds = %134, %._crit_edge377
  %.4348.lcssa = phi i64 [ %.3347.lcssa, %._crit_edge377 ], [ %120, %134 ]
  %140 = icmp eq i64 %.4348.lcssa, %111
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %140, ptr noundef nonnull @.str.795, ptr noundef %6)
  call void @_ZN11alglib_implL24gqpipm_initializehessjacEPNS_11gqpipmstateEllllPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef 0, i64 noundef %45, i64 noundef %18, i64 noundef %.4348.lcssa, ptr noundef %6)
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %16, double noundef 0.000000e+00, ptr noundef %1, ptr noundef %6)
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %16, double noundef 0.000000e+00, ptr noundef %2, ptr noundef %6)
  %141 = load i64, ptr %17, align 8, !tbaa !40
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %141, double noundef 0.000000e+00, ptr noundef %3, ptr noundef %6)
  %142 = load i64, ptr %84, align 8, !tbaa !55
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %142, double noundef 0.000000e+00, ptr noundef %4, ptr noundef %6)
  %143 = call noundef double @_ZN11alglib_impl19gipmgetinitprimdualEPNS_8ae_stateE(ptr noundef %6)
  br i1 %.not.not352365, label %.lr.ph389, label %.preheader361

.lr.ph389:                                        ; preds = %._crit_edge384
  %144 = getelementptr inbounds i8, ptr %0, i64 184
  %145 = getelementptr inbounds i8, ptr %0, i64 248
  %146 = getelementptr inbounds i8, ptr %0, i64 96
  %147 = fmul double %143, 2.000000e+00
  br label %152

.preheader361:                                    ; preds = %266, %._crit_edge384
  %148 = load i64, ptr %109, align 8, !tbaa !61
  %.not.not356397 = icmp sgt i64 %148, 0
  br i1 %.not.not356397, label %.lr.ph399, label %._crit_edge400

.lr.ph399:                                        ; preds = %.preheader361
  %149 = getelementptr inbounds i8, ptr %0, i64 1808
  %150 = getelementptr inbounds i8, ptr %0, i64 96
  %151 = fneg double %143
  br label %268

152:                                              ; preds = %.lr.ph389, %266
  %.4387 = phi i64 [ 0, %.lr.ph389 ], [ %267, %266 ]
  %153 = load ptr, ptr %144, align 8, !tbaa !41
  %154 = getelementptr inbounds double, ptr %153, i64 %.4387
  %155 = load double, ptr %154, align 8, !tbaa !42
  %156 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %155, ptr noundef %6)
  br i1 %156, label %162, label %157

157:                                              ; preds = %152
  %158 = load ptr, ptr %145, align 8, !tbaa !41
  %159 = getelementptr inbounds double, ptr %158, i64 %.4387
  %160 = load double, ptr %159, align 8, !tbaa !42
  %161 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %160, ptr noundef %6)
  br i1 %161, label %162, label %266

162:                                              ; preds = %157, %152
  %163 = load ptr, ptr %144, align 8, !tbaa !41
  %164 = getelementptr inbounds double, ptr %163, i64 %.4387
  %165 = load double, ptr %164, align 8, !tbaa !42
  %166 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %165, ptr noundef %6)
  br i1 %166, label %167, label %183

167:                                              ; preds = %162
  %168 = load ptr, ptr %145, align 8, !tbaa !41
  %169 = getelementptr inbounds double, ptr %168, i64 %.4387
  %170 = load double, ptr %169, align 8, !tbaa !42
  %171 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %170, ptr noundef %6)
  br i1 %171, label %183, label %172

172:                                              ; preds = %167
  %173 = load ptr, ptr %146, align 8, !tbaa !41
  %174 = getelementptr inbounds double, ptr %173, i64 %.4387
  %175 = load double, ptr %174, align 8, !tbaa !42
  %176 = load ptr, ptr %144, align 8, !tbaa !41
  %177 = getelementptr inbounds double, ptr %176, i64 %.4387
  %178 = load double, ptr %177, align 8, !tbaa !42
  %179 = fadd double %143, %178
  %180 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %175, double noundef %179, ptr noundef %6)
  %181 = load ptr, ptr %146, align 8, !tbaa !41
  %182 = getelementptr inbounds double, ptr %181, i64 %.4387
  store double %180, ptr %182, align 8, !tbaa !42
  br label %266

183:                                              ; preds = %167, %162
  %184 = load ptr, ptr %145, align 8, !tbaa !41
  %185 = getelementptr inbounds double, ptr %184, i64 %.4387
  %186 = load double, ptr %185, align 8, !tbaa !42
  %187 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %186, ptr noundef %6)
  br i1 %187, label %188, label %204

188:                                              ; preds = %183
  %189 = load ptr, ptr %144, align 8, !tbaa !41
  %190 = getelementptr inbounds double, ptr %189, i64 %.4387
  %191 = load double, ptr %190, align 8, !tbaa !42
  %192 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %191, ptr noundef %6)
  br i1 %192, label %204, label %193

193:                                              ; preds = %188
  %194 = load ptr, ptr %146, align 8, !tbaa !41
  %195 = getelementptr inbounds double, ptr %194, i64 %.4387
  %196 = load double, ptr %195, align 8, !tbaa !42
  %197 = load ptr, ptr %145, align 8, !tbaa !41
  %198 = getelementptr inbounds double, ptr %197, i64 %.4387
  %199 = load double, ptr %198, align 8, !tbaa !42
  %200 = fsub double %199, %143
  %201 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %196, double noundef %200, ptr noundef %6)
  %202 = load ptr, ptr %146, align 8, !tbaa !41
  %203 = getelementptr inbounds double, ptr %202, i64 %.4387
  store double %201, ptr %203, align 8, !tbaa !42
  br label %266

204:                                              ; preds = %188, %183
  %205 = load ptr, ptr %145, align 8, !tbaa !41
  %206 = getelementptr inbounds double, ptr %205, i64 %.4387
  %207 = load double, ptr %206, align 8, !tbaa !42
  %208 = load ptr, ptr %144, align 8, !tbaa !41
  %209 = getelementptr inbounds double, ptr %208, i64 %.4387
  %210 = load double, ptr %209, align 8, !tbaa !42
  %211 = fsub double %207, %210
  %212 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %211, double noundef %147)
  br i1 %212, label %213, label %234

213:                                              ; preds = %204
  %214 = load ptr, ptr %146, align 8, !tbaa !41
  %215 = getelementptr inbounds double, ptr %214, i64 %.4387
  %216 = load double, ptr %215, align 8, !tbaa !42
  %217 = load ptr, ptr %144, align 8, !tbaa !41
  %218 = getelementptr inbounds double, ptr %217, i64 %.4387
  %219 = load double, ptr %218, align 8, !tbaa !42
  %220 = fadd double %143, %219
  %221 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %216, double noundef %220, ptr noundef %6)
  %222 = load ptr, ptr %146, align 8, !tbaa !41
  %223 = getelementptr inbounds double, ptr %222, i64 %.4387
  store double %221, ptr %223, align 8, !tbaa !42
  %224 = load ptr, ptr %146, align 8, !tbaa !41
  %225 = getelementptr inbounds double, ptr %224, i64 %.4387
  %226 = load double, ptr %225, align 8, !tbaa !42
  %227 = load ptr, ptr %145, align 8, !tbaa !41
  %228 = getelementptr inbounds double, ptr %227, i64 %.4387
  %229 = load double, ptr %228, align 8, !tbaa !42
  %230 = fsub double %229, %143
  %231 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %226, double noundef %230, ptr noundef %6)
  %232 = load ptr, ptr %146, align 8, !tbaa !41
  %233 = getelementptr inbounds double, ptr %232, i64 %.4387
  store double %231, ptr %233, align 8, !tbaa !42
  br label %266

234:                                              ; preds = %204
  %235 = load ptr, ptr %144, align 8, !tbaa !41
  %236 = getelementptr inbounds double, ptr %235, i64 %.4387
  %237 = load double, ptr %236, align 8, !tbaa !42
  %238 = load ptr, ptr %145, align 8, !tbaa !41
  %239 = getelementptr inbounds double, ptr %238, i64 %.4387
  %240 = load double, ptr %239, align 8, !tbaa !42
  %241 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %237, double noundef %240)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %241, ptr noundef nonnull @.str.796, ptr noundef %6)
  %242 = load ptr, ptr %144, align 8, !tbaa !41
  %243 = getelementptr inbounds double, ptr %242, i64 %.4387
  %244 = load double, ptr %243, align 8, !tbaa !42
  %245 = load ptr, ptr %145, align 8, !tbaa !41
  %246 = getelementptr inbounds double, ptr %245, i64 %.4387
  %247 = load double, ptr %246, align 8, !tbaa !42
  %248 = fadd double %244, %247
  %249 = fmul double %248, 5.000000e-01
  %250 = load ptr, ptr %146, align 8, !tbaa !41
  %251 = getelementptr inbounds double, ptr %250, i64 %.4387
  store double %249, ptr %251, align 8, !tbaa !42
  %252 = load ptr, ptr %146, align 8, !tbaa !41
  %253 = getelementptr inbounds double, ptr %252, i64 %.4387
  %254 = load double, ptr %253, align 8, !tbaa !42
  %255 = load ptr, ptr %144, align 8, !tbaa !41
  %256 = getelementptr inbounds double, ptr %255, i64 %.4387
  %257 = load double, ptr %256, align 8, !tbaa !42
  %258 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %254, double noundef %257)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %258, ptr noundef nonnull @.str.797, ptr noundef %6)
  %259 = load ptr, ptr %146, align 8, !tbaa !41
  %260 = getelementptr inbounds double, ptr %259, i64 %.4387
  %261 = load double, ptr %260, align 8, !tbaa !42
  %262 = load ptr, ptr %145, align 8, !tbaa !41
  %263 = getelementptr inbounds double, ptr %262, i64 %.4387
  %264 = load double, ptr %263, align 8, !tbaa !42
  %265 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %261, double noundef %264)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %265, ptr noundef nonnull @.str.798, ptr noundef %6)
  br label %266

266:                                              ; preds = %157, %234, %213, %193, %172
  %267 = add nuw nsw i64 %.4387, 1
  %exitcond420.not = icmp eq i64 %267, %16
  br i1 %exitcond420.not, label %.preheader361, label %152, !llvm.loop !65

268:                                              ; preds = %.lr.ph399, %366
  %.5398 = phi i64 [ 0, %.lr.ph399 ], [ %367, %366 ]
  call void @_ZN11alglib_impl16ae_obj_array_getEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef nonnull %149, i64 noundef %.5398, ptr noundef nonnull %14, ptr noundef %6)
  %269 = load ptr, ptr %13, align 8, !tbaa !56
  %270 = getelementptr inbounds i8, ptr %269, i64 8
  %271 = load i64, ptr %270, align 8, !tbaa !66
  %272 = icmp eq i64 %271, 0
  br i1 %272, label %366, label %273

273:                                              ; preds = %268
  %274 = load i64, ptr %269, align 8, !tbaa !62
  %275 = call noundef i64 @_ZN11alglib_impl20xccprimitiveconetypeEPNS_8ae_stateE(ptr noundef %6)
  %276 = icmp eq i64 %274, %275
  br i1 %276, label %277, label %365

277:                                              ; preds = %273
  %278 = load ptr, ptr %13, align 8, !tbaa !56
  %279 = getelementptr inbounds i8, ptr %278, i64 200
  %280 = load ptr, ptr %279, align 8, !tbaa !41
  %281 = getelementptr inbounds i8, ptr %278, i64 8
  %282 = load i64, ptr %281, align 8, !tbaa !66
  %283 = getelementptr inbounds double, ptr %280, i64 %282
  %284 = load double, ptr %283, align 8, !tbaa !42
  %285 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %284, double noundef 0.000000e+00)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %285, ptr noundef nonnull @.str.799, ptr noundef %6)
  %286 = load ptr, ptr %13, align 8, !tbaa !56
  %287 = getelementptr inbounds i8, ptr %286, i64 8
  %288 = load i64, ptr %287, align 8, !tbaa !66
  %.not390 = icmp slt i64 %288, 2
  br i1 %.not390, label %._crit_edge395, label %.lr.ph394

.lr.ph394:                                        ; preds = %277, %.lr.ph394
  %289 = phi ptr [ %309, %.lr.ph394 ], [ %286, %277 ]
  %.0342392 = phi i64 [ %308, %.lr.ph394 ], [ 0, %277 ]
  %.0343391 = phi double [ %307, %.lr.ph394 ], [ %284, %277 ]
  %290 = load ptr, ptr %150, align 8, !tbaa !41
  %291 = getelementptr inbounds i8, ptr %289, i64 72
  %292 = load ptr, ptr %291, align 8, !tbaa !41
  %293 = getelementptr inbounds i64, ptr %292, i64 %.0342392
  %294 = load i64, ptr %293, align 8, !tbaa !5
  %295 = getelementptr inbounds double, ptr %290, i64 %294
  %296 = load double, ptr %295, align 8, !tbaa !42
  %297 = getelementptr inbounds i8, ptr %289, i64 136
  %298 = load ptr, ptr %297, align 8, !tbaa !41
  %299 = getelementptr inbounds double, ptr %298, i64 %.0342392
  %300 = load double, ptr %299, align 8, !tbaa !42
  %301 = getelementptr inbounds i8, ptr %289, i64 200
  %302 = load ptr, ptr %301, align 8, !tbaa !41
  %303 = getelementptr inbounds double, ptr %302, i64 %.0342392
  %304 = load double, ptr %303, align 8, !tbaa !42
  %305 = call double @llvm.fmuladd.f64(double %296, double %300, double %304)
  %306 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %305, ptr noundef %6)
  %307 = fadd double %.0343391, %306
  %308 = add nuw nsw i64 %.0342392, 1
  %309 = load ptr, ptr %13, align 8, !tbaa !56
  %310 = getelementptr inbounds i8, ptr %309, i64 8
  %311 = load i64, ptr %310, align 8, !tbaa !66
  %312 = add nsw i64 %311, -2
  %.not.not415 = icmp slt i64 %.0342392, %312
  br i1 %.not.not415, label %.lr.ph394, label %._crit_edge395, !llvm.loop !67

._crit_edge395:                                   ; preds = %.lr.ph394, %277
  %.0343.lcssa = phi double [ %284, %277 ], [ %307, %.lr.ph394 ]
  %313 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %.0343.lcssa, ptr noundef %6)
  %314 = load ptr, ptr %150, align 8, !tbaa !41
  %315 = load ptr, ptr %13, align 8, !tbaa !56
  %316 = getelementptr inbounds i8, ptr %315, i64 72
  %317 = load ptr, ptr %316, align 8, !tbaa !41
  %318 = getelementptr inbounds i8, ptr %315, i64 8
  %319 = load i64, ptr %318, align 8, !tbaa !66
  %320 = add nsw i64 %319, -1
  %321 = getelementptr inbounds i64, ptr %317, i64 %320
  %322 = load i64, ptr %321, align 8, !tbaa !5
  %323 = getelementptr inbounds double, ptr %314, i64 %322
  %324 = load double, ptr %323, align 8, !tbaa !42
  %325 = getelementptr inbounds i8, ptr %315, i64 136
  %326 = load ptr, ptr %325, align 8, !tbaa !41
  %327 = getelementptr inbounds double, ptr %326, i64 %320
  %328 = load double, ptr %327, align 8, !tbaa !42
  %329 = getelementptr inbounds i8, ptr %315, i64 200
  %330 = load ptr, ptr %329, align 8, !tbaa !41
  %331 = getelementptr inbounds double, ptr %330, i64 %320
  %332 = load double, ptr %331, align 8, !tbaa !42
  %333 = call double @llvm.fmuladd.f64(double %324, double %328, double %332)
  %334 = fsub double %313, %333
  %335 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %334, double noundef %151, ptr noundef %6)
  %336 = fsub double %334, %335
  %337 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %336, double noundef 0.000000e+00)
  br i1 %337, label %338, label %365

338:                                              ; preds = %._crit_edge395
  %339 = load ptr, ptr %13, align 8, !tbaa !56
  %340 = getelementptr inbounds i8, ptr %339, i64 136
  %341 = load ptr, ptr %340, align 8, !tbaa !41
  %342 = getelementptr inbounds i8, ptr %339, i64 8
  %343 = load i64, ptr %342, align 8, !tbaa !66
  %344 = getelementptr double, ptr %341, i64 %343
  %345 = getelementptr i8, ptr %344, i64 -8
  %346 = load double, ptr %345, align 8, !tbaa !42
  %347 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %346, double noundef 0.000000e+00)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %347, ptr noundef nonnull @.str.800, ptr noundef %6)
  %348 = load ptr, ptr %150, align 8, !tbaa !41
  %349 = load ptr, ptr %13, align 8, !tbaa !56
  %350 = getelementptr inbounds i8, ptr %349, i64 72
  %351 = load ptr, ptr %350, align 8, !tbaa !41
  %352 = getelementptr inbounds i8, ptr %349, i64 8
  %353 = load i64, ptr %352, align 8, !tbaa !66
  %354 = add nsw i64 %353, -1
  %355 = getelementptr inbounds i64, ptr %351, i64 %354
  %356 = load i64, ptr %355, align 8, !tbaa !5
  %357 = getelementptr inbounds double, ptr %348, i64 %356
  %358 = load double, ptr %357, align 8, !tbaa !42
  %359 = getelementptr inbounds i8, ptr %349, i64 136
  %360 = load ptr, ptr %359, align 8, !tbaa !41
  %361 = getelementptr inbounds double, ptr %360, i64 %354
  %362 = load double, ptr %361, align 8, !tbaa !42
  %363 = fdiv double %336, %362
  %364 = fadd double %358, %363
  store double %364, ptr %357, align 8, !tbaa !42
  br label %365

365:                                              ; preds = %._crit_edge395, %338, %273
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %276, ptr noundef nonnull @.str.801, ptr noundef %6)
  br label %366

366:                                              ; preds = %268, %365
  %367 = add nuw nsw i64 %.5398, 1
  %368 = load i64, ptr %109, align 8, !tbaa !61
  %.not.not356 = icmp slt i64 %367, %368
  br i1 %.not.not356, label %268, label %._crit_edge400, !llvm.loop !68

._crit_edge400:                                   ; preds = %366, %.preheader361
  %369 = load i64, ptr %20, align 8, !tbaa !69
  %370 = icmp sgt i64 %369, %.4348.lcssa
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %370, ptr noundef nonnull @.str.802, ptr noundef %6)
  %371 = getelementptr inbounds i8, ptr %0, i64 128
  %372 = getelementptr inbounds i8, ptr %0, i64 192
  %373 = getelementptr inbounds i8, ptr %0, i64 40
  %374 = getelementptr inbounds i8, ptr %0, i64 29640
  %375 = getelementptr inbounds i8, ptr %0, i64 29704
  %376 = getelementptr inbounds i8, ptr %0, i64 1944
  %377 = load double, ptr %376, align 8, !tbaa !70
  %378 = getelementptr inbounds i8, ptr %0, i64 1952
  %379 = load i64, ptr %378, align 8, !tbaa !71
  %380 = getelementptr inbounds i8, ptr %0, i64 2008
  call void @_ZN11alglib_impl11gipminitbufEPKNS_9ae_vectorES2_S2_lS2_S2_llS2_dlPNS_9gipmstateEPNS_8ae_stateE(ptr noundef nonnull %371, ptr noundef nonnull %372, ptr noundef nonnull %373, i64 noundef %16, ptr noundef nonnull %374, ptr noundef nonnull %375, i64 noundef %.4348.lcssa, i64 noundef 0, ptr noundef nonnull %20, double noundef %377, i64 noundef %379, ptr noundef nonnull %380, ptr noundef %6)
  store i8 0, ptr %9, align 1, !tbaa !46
  store i8 0, ptr %10, align 1, !tbaa !46
  %381 = call noundef zeroext i1 @_ZN11alglib_impl13gipmiterationEPNS_9gipmstateEbPNS_8ae_stateE(ptr noundef nonnull %380, i1 noundef zeroext false, ptr noundef %6)
  br i1 %381, label %.lr.ph402, label %._crit_edge403

.lr.ph402:                                        ; preds = %._crit_edge400
  %382 = getelementptr inbounds i8, ptr %0, i64 2496
  br label %383

383:                                              ; preds = %.lr.ph402, %.backedge
  %384 = load i64, ptr %382, align 8, !tbaa !72
  switch i64 %384, label %390 [
    i64 1, label %385
    i64 1001, label %387
    i64 1002, label %388
    i64 1003, label %389
  ]

385:                                              ; preds = %383
  call void @_ZN11alglib_implL31gqpipm_handlecomputeandrememberEPNS_11gqpipmstateElllllPbS2_PNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef 0, i64 noundef %45, i64 noundef %18, i64 noundef %86, i64 noundef %.4348.lcssa, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %6)
  br label %.backedge

.backedge:                                        ; preds = %385, %387, %388, %389, %390
  %386 = call noundef zeroext i1 @_ZN11alglib_impl13gipmiterationEPNS_9gipmstateEbPNS_8ae_stateE(ptr noundef nonnull %380, i1 noundef zeroext false, ptr noundef %6)
  br i1 %386, label %383, label %._crit_edge403, !llvm.loop !73

387:                                              ; preds = %383
  call void @_ZN11alglib_implL22gqpipm_handlefactorizeEPNS_11gqpipmstateElPbS2_PNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %.4348.lcssa, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %6)
  br label %.backedge

388:                                              ; preds = %383
  call void @_ZN11alglib_implL18gqpipm_handlesolveEPNS_11gqpipmstateElPbS2_PNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %.4348.lcssa, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %6)
  br label %.backedge

389:                                              ; preds = %383
  call void @_ZN11alglib_implL15gqpipm_handlemvEPNS_11gqpipmstateEllllPbS2_PNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef 0, i64 noundef %45, i64 noundef %18, i64 noundef %.4348.lcssa, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %6)
  br label %.backedge

390:                                              ; preds = %383
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.803, ptr noundef %6)
  br label %.backedge

._crit_edge403:                                   ; preds = %.backedge, %._crit_edge400
  %391 = getelementptr inbounds i8, ptr %0, i64 30200
  call void @_ZN11alglib_impl11gipmresultsEPNS_9gipmstateEPNS_9ae_vectorES3_S3_PlPNS_8ae_stateE(ptr noundef nonnull %380, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %391, ptr noundef nonnull %5, ptr noundef %6)
  %392 = getelementptr inbounds i8, ptr %0, i64 6760
  %393 = load i64, ptr %392, align 8, !tbaa !74
  %394 = getelementptr inbounds i8, ptr %0, i64 1960
  store i64 %393, ptr %394, align 8, !tbaa !75
  %395 = load i64, ptr %43, align 8, !tbaa !45
  %.not.not357404 = icmp sgt i64 %395, 0
  br i1 %.not.not357404, label %.lr.ph407, label %.preheader360

.lr.ph407:                                        ; preds = %._crit_edge403
  %396 = getelementptr inbounds i8, ptr %0, i64 30256
  %397 = getelementptr inbounds i8, ptr %2, i64 56
  %398 = getelementptr inbounds i8, ptr %0, i64 504
  %xtraiter = and i64 %395, 1
  %399 = icmp eq i64 %395, 1
  br i1 %399, label %.preheader360.loopexit.unr-lcssa, label %.lr.ph407.new

.lr.ph407.new:                                    ; preds = %.lr.ph407
  %unroll_iter = and i64 %395, 9223372036854775806
  br label %412

.preheader360.loopexit.unr-lcssa:                 ; preds = %412, %.lr.ph407
  %.6405.unr = phi i64 [ 0, %.lr.ph407 ], [ %432, %412 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader360, label %.preheader360.loopexit.epilog-lcssa

.preheader360.loopexit.epilog-lcssa:              ; preds = %.preheader360.loopexit.unr-lcssa
  %400 = load ptr, ptr %396, align 8, !tbaa !41
  %401 = getelementptr double, ptr %400, i64 %18
  %402 = getelementptr double, ptr %401, i64 %.6405.unr
  %403 = load double, ptr %402, align 8, !tbaa !42
  %404 = load ptr, ptr %397, align 8, !tbaa !41
  %405 = load ptr, ptr %398, align 8, !tbaa !41
  %406 = getelementptr inbounds i64, ptr %405, i64 %.6405.unr
  %407 = load i64, ptr %406, align 8, !tbaa !5
  %408 = getelementptr inbounds double, ptr %404, i64 %407
  store double %403, ptr %408, align 8, !tbaa !42
  br label %.preheader360

.preheader360:                                    ; preds = %.preheader360.loopexit.epilog-lcssa, %.preheader360.loopexit.unr-lcssa, %._crit_edge403
  br i1 %.not.not362, label %.lr.ph410, label %.preheader

.lr.ph410:                                        ; preds = %.preheader360
  %409 = getelementptr inbounds i8, ptr %0, i64 30256
  %410 = getelementptr inbounds i8, ptr %3, i64 56
  %xtraiter431 = and i64 %18, 3
  %411 = icmp ult i64 %18, 4
  br i1 %411, label %.preheader.loopexit.unr-lcssa, label %.lr.ph410.new

.lr.ph410.new:                                    ; preds = %.lr.ph410
  %unroll_iter433 = and i64 %18, 9223372036854775804
  br label %443

412:                                              ; preds = %412, %.lr.ph407.new
  %.6405 = phi i64 [ 0, %.lr.ph407.new ], [ %432, %412 ]
  %niter = phi i64 [ 0, %.lr.ph407.new ], [ %niter.next.1, %412 ]
  %413 = load ptr, ptr %396, align 8, !tbaa !41
  %414 = getelementptr double, ptr %413, i64 %18
  %415 = getelementptr double, ptr %414, i64 %.6405
  %416 = load double, ptr %415, align 8, !tbaa !42
  %417 = load ptr, ptr %397, align 8, !tbaa !41
  %418 = load ptr, ptr %398, align 8, !tbaa !41
  %419 = getelementptr inbounds i64, ptr %418, i64 %.6405
  %420 = load i64, ptr %419, align 8, !tbaa !5
  %421 = getelementptr inbounds double, ptr %417, i64 %420
  store double %416, ptr %421, align 8, !tbaa !42
  %422 = or disjoint i64 %.6405, 1
  %423 = load ptr, ptr %396, align 8, !tbaa !41
  %424 = getelementptr double, ptr %423, i64 %18
  %425 = getelementptr double, ptr %424, i64 %422
  %426 = load double, ptr %425, align 8, !tbaa !42
  %427 = load ptr, ptr %397, align 8, !tbaa !41
  %428 = load ptr, ptr %398, align 8, !tbaa !41
  %429 = getelementptr inbounds i64, ptr %428, i64 %422
  %430 = load i64, ptr %429, align 8, !tbaa !5
  %431 = getelementptr inbounds double, ptr %427, i64 %430
  store double %426, ptr %431, align 8, !tbaa !42
  %432 = add nuw nsw i64 %.6405, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader360.loopexit.unr-lcssa, label %412, !llvm.loop !76

.preheader.loopexit.unr-lcssa:                    ; preds = %443, %.lr.ph410
  %.7409.unr = phi i64 [ 0, %.lr.ph410 ], [ %467, %443 ]
  %lcmp.mod432.not = icmp eq i64 %xtraiter431, 0
  br i1 %lcmp.mod432.not, label %.preheader, label %.epil.preheader430

.epil.preheader430:                               ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader430
  %.7409.epil = phi i64 [ %438, %.epil.preheader430 ], [ %.7409.unr, %.preheader.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader430 ], [ 0, %.preheader.loopexit.unr-lcssa ]
  %433 = load ptr, ptr %409, align 8, !tbaa !41
  %434 = getelementptr inbounds double, ptr %433, i64 %.7409.epil
  %435 = load double, ptr %434, align 8, !tbaa !42
  %436 = load ptr, ptr %410, align 8, !tbaa !41
  %437 = getelementptr inbounds double, ptr %436, i64 %.7409.epil
  store double %435, ptr %437, align 8, !tbaa !42
  %438 = add nuw nsw i64 %.7409.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter431
  br i1 %epil.iter.cmp.not, label %.preheader, label %.epil.preheader430, !llvm.loop !77

.preheader:                                       ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader430, %.preheader360
  %439 = load i64, ptr %84, align 8, !tbaa !55
  %.not.not359411 = icmp sgt i64 %439, 0
  br i1 %.not.not359411, label %.lr.ph413, label %._crit_edge414

.lr.ph413:                                        ; preds = %.preheader
  %440 = getelementptr inbounds i8, ptr %0, i64 30256
  %441 = getelementptr inbounds i8, ptr %4, i64 56
  %xtraiter436 = and i64 %439, 3
  %442 = icmp ult i64 %439, 4
  br i1 %442, label %._crit_edge414.loopexit.unr-lcssa, label %.lr.ph413.new

.lr.ph413.new:                                    ; preds = %.lr.ph413
  %unroll_iter439 = and i64 %439, 9223372036854775804
  br label %468

443:                                              ; preds = %443, %.lr.ph410.new
  %.7409 = phi i64 [ 0, %.lr.ph410.new ], [ %467, %443 ]
  %niter434 = phi i64 [ 0, %.lr.ph410.new ], [ %niter434.next.3, %443 ]
  %444 = load ptr, ptr %409, align 8, !tbaa !41
  %445 = getelementptr inbounds double, ptr %444, i64 %.7409
  %446 = load double, ptr %445, align 8, !tbaa !42
  %447 = load ptr, ptr %410, align 8, !tbaa !41
  %448 = getelementptr inbounds double, ptr %447, i64 %.7409
  store double %446, ptr %448, align 8, !tbaa !42
  %449 = or disjoint i64 %.7409, 1
  %450 = load ptr, ptr %409, align 8, !tbaa !41
  %451 = getelementptr inbounds double, ptr %450, i64 %449
  %452 = load double, ptr %451, align 8, !tbaa !42
  %453 = load ptr, ptr %410, align 8, !tbaa !41
  %454 = getelementptr inbounds double, ptr %453, i64 %449
  store double %452, ptr %454, align 8, !tbaa !42
  %455 = or disjoint i64 %.7409, 2
  %456 = load ptr, ptr %409, align 8, !tbaa !41
  %457 = getelementptr inbounds double, ptr %456, i64 %455
  %458 = load double, ptr %457, align 8, !tbaa !42
  %459 = load ptr, ptr %410, align 8, !tbaa !41
  %460 = getelementptr inbounds double, ptr %459, i64 %455
  store double %458, ptr %460, align 8, !tbaa !42
  %461 = or disjoint i64 %.7409, 3
  %462 = load ptr, ptr %409, align 8, !tbaa !41
  %463 = getelementptr inbounds double, ptr %462, i64 %461
  %464 = load double, ptr %463, align 8, !tbaa !42
  %465 = load ptr, ptr %410, align 8, !tbaa !41
  %466 = getelementptr inbounds double, ptr %465, i64 %461
  store double %464, ptr %466, align 8, !tbaa !42
  %467 = add nuw nsw i64 %.7409, 4
  %niter434.next.3 = add i64 %niter434, 4
  %niter434.ncmp.3 = icmp eq i64 %niter434.next.3, %unroll_iter433
  br i1 %niter434.ncmp.3, label %.preheader.loopexit.unr-lcssa, label %443, !llvm.loop !79

468:                                              ; preds = %468, %.lr.ph413.new
  %.8412 = phi i64 [ 0, %.lr.ph413.new ], [ %496, %468 ]
  %niter440 = phi i64 [ 0, %.lr.ph413.new ], [ %niter440.next.3, %468 ]
  %469 = load ptr, ptr %440, align 8, !tbaa !41
  %470 = getelementptr double, ptr %469, i64 %45
  %471 = getelementptr double, ptr %470, i64 %.8412
  %472 = load double, ptr %471, align 8, !tbaa !42
  %473 = load ptr, ptr %441, align 8, !tbaa !41
  %474 = getelementptr inbounds double, ptr %473, i64 %.8412
  store double %472, ptr %474, align 8, !tbaa !42
  %475 = or disjoint i64 %.8412, 1
  %476 = load ptr, ptr %440, align 8, !tbaa !41
  %477 = getelementptr double, ptr %476, i64 %45
  %478 = getelementptr double, ptr %477, i64 %475
  %479 = load double, ptr %478, align 8, !tbaa !42
  %480 = load ptr, ptr %441, align 8, !tbaa !41
  %481 = getelementptr inbounds double, ptr %480, i64 %475
  store double %479, ptr %481, align 8, !tbaa !42
  %482 = or disjoint i64 %.8412, 2
  %483 = load ptr, ptr %440, align 8, !tbaa !41
  %484 = getelementptr double, ptr %483, i64 %45
  %485 = getelementptr double, ptr %484, i64 %482
  %486 = load double, ptr %485, align 8, !tbaa !42
  %487 = load ptr, ptr %441, align 8, !tbaa !41
  %488 = getelementptr inbounds double, ptr %487, i64 %482
  store double %486, ptr %488, align 8, !tbaa !42
  %489 = or disjoint i64 %.8412, 3
  %490 = load ptr, ptr %440, align 8, !tbaa !41
  %491 = getelementptr double, ptr %490, i64 %45
  %492 = getelementptr double, ptr %491, i64 %489
  %493 = load double, ptr %492, align 8, !tbaa !42
  %494 = load ptr, ptr %441, align 8, !tbaa !41
  %495 = getelementptr inbounds double, ptr %494, i64 %489
  store double %493, ptr %495, align 8, !tbaa !42
  %496 = add nuw nsw i64 %.8412, 4
  %niter440.next.3 = add i64 %niter440, 4
  %niter440.ncmp.3 = icmp eq i64 %niter440.next.3, %unroll_iter439
  br i1 %niter440.ncmp.3, label %._crit_edge414.loopexit.unr-lcssa, label %468, !llvm.loop !80

._crit_edge414.loopexit.unr-lcssa:                ; preds = %468, %.lr.ph413
  %.8412.unr = phi i64 [ 0, %.lr.ph413 ], [ %496, %468 ]
  %lcmp.mod438.not = icmp eq i64 %xtraiter436, 0
  br i1 %lcmp.mod438.not, label %._crit_edge414, label %.epil.preheader435

.epil.preheader435:                               ; preds = %._crit_edge414.loopexit.unr-lcssa, %.epil.preheader435
  %.8412.epil = phi i64 [ %503, %.epil.preheader435 ], [ %.8412.unr, %._crit_edge414.loopexit.unr-lcssa ]
  %epil.iter437 = phi i64 [ %epil.iter437.next, %.epil.preheader435 ], [ 0, %._crit_edge414.loopexit.unr-lcssa ]
  %497 = load ptr, ptr %440, align 8, !tbaa !41
  %498 = getelementptr double, ptr %497, i64 %45
  %499 = getelementptr double, ptr %498, i64 %.8412.epil
  %500 = load double, ptr %499, align 8, !tbaa !42
  %501 = load ptr, ptr %441, align 8, !tbaa !41
  %502 = getelementptr inbounds double, ptr %501, i64 %.8412.epil
  store double %500, ptr %502, align 8, !tbaa !42
  %503 = add nuw nsw i64 %.8412.epil, 1
  %epil.iter437.next = add i64 %epil.iter437, 1
  %epil.iter437.cmp.not = icmp eq i64 %epil.iter437.next, %xtraiter436
  br i1 %epil.iter437.cmp.not, label %._crit_edge414, label %.epil.preheader435, !llvm.loop !81

._crit_edge414:                                   ; preds = %._crit_edge414.loopexit.unr-lcssa, %.epil.preheader435, %.preheader
  %504 = getelementptr inbounds i8, ptr %0, i64 256
  call void @_ZN11alglib_impl10rmergemaxvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %16, ptr noundef nonnull %504, ptr noundef %1, ptr noundef %6)
  %505 = getelementptr inbounds i8, ptr %0, i64 320
  call void @_ZN11alglib_impl10rmergeminvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %16, ptr noundef nonnull %505, ptr noundef %1, ptr noundef %6)
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %6)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  ret void
}

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN11alglib_impl11gqpipmstateE", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !6, i64 104, !15, i64 112, !6, i64 120, !12, i64 128, !12, i64 192, !12, i64 256, !12, i64 320, !12, i64 384, !12, i64 448, !6, i64 512, !12, i64 520, !12, i64 584, !16, i64 648, !17, i64 728, !17, i64 1096, !12, i64 1464, !12, i64 1528, !18, i64 1592, !21, i64 1800, !15, i64 1944, !6, i64 1952, !6, i64 1960, !6, i64 1968, !11, i64 1976, !11, i64 1977, !22, i64 1984, !23, i64 2008, !16, i64 12320, !16, i64 12400, !12, i64 12480, !12, i64 12544, !16, i64 12608, !16, i64 12688, !12, i64 12768, !12, i64 12832, !17, i64 12896, !17, i64 13264, !17, i64 13632, !17, i64 14000, !12, i64 14368, !32, i64 14432, !27, i64 29496, !12, i64 29640, !12, i64 29704, !17, i64 29768, !12, i64 30136, !12, i64 30200, !12, i64 30264, !12, i64 30328, !12, i64 30392, !12, i64 30456, !16, i64 30520, !12, i64 30600, !12, i64 30664, !12, i64 30728, !12, i64 30792, !12, i64 30856, !12, i64 30920, !12, i64 30984, !12, i64 31048, !12, i64 31112}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !11, i64 16, !13, i64 24, !7, i64 56}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !13, i64 40, !7, i64 72}
!17 = !{!"_ZTSN11alglib_impl12sparsematrixE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360}
!18 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !6, i64 0, !19, i64 8, !12, i64 144}
!19 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !6, i64 0, !6, i64 8, !11, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !20, i64 56, !13, i64 104}
!20 = !{!"_ZTSN11alglib_impl7ae_lockE", !14, i64 0, !13, i64 8, !11, i64 40}
!21 = !{!"_ZTSN11alglib_impl17xconicconstraintsE", !6, i64 0, !19, i64 8}
!22 = !{!"_ZTSN11alglib_impl6stimerE", !6, i64 0, !6, i64 8, !11, i64 16}
!23 = !{!"_ZTSN11alglib_impl9gipmstateE", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 88, !12, i64 152, !12, i64 216, !12, i64 280, !12, i64 344, !12, i64 408, !15, i64 472, !6, i64 480, !6, i64 488, !12, i64 496, !15, i64 560, !12, i64 568, !12, i64 632, !17, i64 696, !12, i64 1064, !12, i64 1128, !11, i64 1192, !11, i64 1193, !11, i64 1194, !12, i64 1200, !12, i64 1264, !12, i64 1328, !12, i64 1392, !12, i64 1456, !12, i64 1520, !12, i64 1584, !12, i64 1648, !15, i64 1712, !15, i64 1720, !15, i64 1728, !15, i64 1736, !15, i64 1744, !6, i64 1752, !24, i64 1760, !24, i64 2560, !25, i64 3360, !25, i64 3960, !15, i64 4560, !6, i64 4568, !26, i64 4576, !11, i64 4744, !11, i64 4745, !11, i64 4746, !6, i64 4752, !6, i64 4760, !22, i64 4768, !27, i64 4792, !28, i64 4936, !29, i64 5704, !24, i64 6856, !24, i64 7656, !12, i64 8456, !12, i64 8520, !12, i64 8584, !24, i64 8648, !25, i64 9448, !30, i64 10048}
!24 = !{!"_ZTSN11alglib_impl8gipmvarsE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !12, i64 96, !12, i64 160, !12, i64 224, !12, i64 288, !12, i64 352, !12, i64 416, !12, i64 480, !12, i64 544, !12, i64 608, !12, i64 672, !12, i64 736}
!25 = !{!"_ZTSN11alglib_impl11varsfuncjacE", !6, i64 0, !6, i64 8, !11, i64 16, !12, i64 24, !12, i64 88, !16, i64 152, !17, i64 232}
!26 = !{!"_ZTSN11alglib_impl9nlpfilterE", !15, i64 0, !6, i64 8, !15, i64 16, !15, i64 24, !11, i64 32, !12, i64 40, !12, i64 104}
!27 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !20, i64 64, !13, i64 112}
!28 = !{!"_ZTSN11alglib_impl7gipmrhsE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !12, i64 320, !12, i64 384, !12, i64 448, !12, i64 512, !12, i64 576, !12, i64 640, !12, i64 704}
!29 = !{!"_ZTSN11alglib_impl19gipmcondensedsystemE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !12, i64 320, !12, i64 384, !12, i64 448, !12, i64 512, !12, i64 576, !12, i64 640, !12, i64 704, !12, i64 768, !12, i64 832, !12, i64 896, !12, i64 960, !12, i64 1024, !12, i64 1088}
!30 = !{!"_ZTSN11alglib_impl10rcommstateE", !31, i64 0, !12, i64 8, !12, i64 72, !12, i64 136, !12, i64 200}
!31 = !{!"int", !7, i64 0}
!32 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !12, i64 72, !11, i64 136, !11, i64 137, !11, i64 138, !11, i64 139, !11, i64 140, !12, i64 144, !6, i64 208, !12, i64 216, !12, i64 280, !12, i64 344, !12, i64 408, !12, i64 472, !12, i64 536, !11, i64 600, !12, i64 608, !12, i64 672, !12, i64 736, !12, i64 800, !12, i64 864, !12, i64 928, !11, i64 992, !11, i64 993, !33, i64 1000, !12, i64 1512, !12, i64 1576, !12, i64 1640, !12, i64 1704, !12, i64 1768, !12, i64 1832, !27, i64 1896, !27, i64 2040, !27, i64 2184, !27, i64 2328, !27, i64 2472, !27, i64 2616, !12, i64 2760, !12, i64 2824, !12, i64 2888, !12, i64 2952, !12, i64 3016, !34, i64 3080, !39, i64 7464, !12, i64 13816, !12, i64 13880, !12, i64 13944, !12, i64 14008, !12, i64 14072, !12, i64 14136, !17, i64 14200, !17, i64 14568, !12, i64 14936, !12, i64 15000}
!33 = !{!"_ZTSN11alglib_impl9spcholadjE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !12, i64 320, !12, i64 384, !12, i64 448}
!34 = !{!"_ZTSN11alglib_impl9amdbufferE", !6, i64 0, !11, i64 8, !11, i64 9, !12, i64 16, !12, i64 80, !12, i64 144, !35, i64 208, !35, i64 568, !35, i64 928, !36, i64 1288, !37, i64 1496, !38, i64 1968, !12, i64 2120, !12, i64 2184, !12, i64 2248, !38, i64 2312, !38, i64 2464, !38, i64 2616, !38, i64 2768, !38, i64 2920, !38, i64 3072, !12, i64 3224, !6, i64 3288, !38, i64 3296, !38, i64 3448, !35, i64 3600, !38, i64 3960, !12, i64 4112, !12, i64 4176, !12, i64 4240, !16, i64 4304}
!35 = !{!"_ZTSN11alglib_impl8amdknsetE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !12, i64 208, !12, i64 272, !6, i64 336, !6, i64 344, !6, i64 352}
!36 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !6, i64 0, !12, i64 8, !12, i64 72, !12, i64 136, !6, i64 200}
!37 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !12, i64 88, !12, i64 152, !12, i64 216, !12, i64 280, !12, i64 344, !12, i64 408}
!38 = !{!"_ZTSN11alglib_impl5nisetE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 80, !6, i64 144}
!39 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !12, i64 0, !12, i64 64, !34, i64 128, !17, i64 4512, !17, i64 4880, !17, i64 5248, !17, i64 5616, !17, i64 5984}
!40 = !{!10, !6, i64 16}
!41 = !{!7, !7, i64 0}
!42 = !{!15, !15, i64 0}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!10, !6, i64 512}
!46 = !{!11, !11, i64 0}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = !{!50, !15, i64 24}
!50 = !{!"_ZTSN11alglib_impl8ae_stateE", !6, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !14, i64 32, !13, i64 40, !14, i64 72, !51, i64 80, !14, i64 88, !52, i64 96, !14, i64 104, !14, i64 112, !14, i64 120}
!51 = !{!"_ZTSN11alglib_impl13ae_error_typeE", !7, i64 0}
!52 = !{!"long long", !7, i64 0}
!53 = !{!50, !15, i64 16}
!54 = distinct !{!54, !44}
!55 = !{!10, !6, i64 24}
!56 = !{!14, !14, i64 0}
!57 = !{!58, !15, i64 504}
!58 = !{!"_ZTSN11alglib_impl20xquadraticconstraintE", !6, i64 0, !12, i64 8, !12, i64 72, !17, i64 136, !15, i64 504, !15, i64 512, !11, i64 520}
!59 = !{!58, !15, i64 512}
!60 = distinct !{!60, !44}
!61 = !{!10, !6, i64 32}
!62 = !{!63, !6, i64 0}
!63 = !{!"_ZTSN11alglib_impl16xconicconstraintE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !11, i64 208}
!64 = distinct !{!64, !44}
!65 = distinct !{!65, !44}
!66 = !{!63, !6, i64 8}
!67 = distinct !{!67, !44}
!68 = distinct !{!68, !44}
!69 = !{!10, !6, i64 30136}
!70 = !{!10, !15, i64 1944}
!71 = !{!10, !6, i64 1952}
!72 = !{!10, !6, i64 2496}
!73 = distinct !{!73, !44}
!74 = !{!10, !6, i64 6760}
!75 = !{!10, !6, i64 1960}
!76 = distinct !{!76, !44}
!77 = distinct !{!77, !78}
!78 = !{!"llvm.loop.unroll.disable"}
!79 = distinct !{!79, !44}
!80 = distinct !{!80, !44}
!81 = distinct !{!81, !78}


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