; LLVM IR from venumb/ZSPACE :: cpp/depends/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_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::apbuffers" = 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_matrix", %"struct.alglib_impl::ae_matrix" }

@.str.131 = external hidden unnamed_addr constant [17 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

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

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

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

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double 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_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorES1_S1_S1_S1_S1_llldddPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double noundef, ptr noundef) #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl17findfeasiblepointEPNS_9ae_vectorES1_S1_S1_S1_llPNS_9ae_matrixEldPlS4_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %7, i64 noundef %8, double noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #4 {
  %14 = alloca i1, align 1
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca double, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"struct.alglib_impl::ae_frame", align 8
  %29 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca %"struct.alglib_impl::ae_vector", align 8
  %35 = alloca %"struct.alglib_impl::ae_vector", align 8
  %36 = alloca %"struct.alglib_impl::ae_vector", align 8
  %37 = alloca %"struct.alglib_impl::ae_vector", align 8
  %38 = alloca %"struct.alglib_impl::ae_vector", align 8
  %39 = alloca %"struct.alglib_impl::ae_vector", align 8
  %40 = alloca %"struct.alglib_impl::ae_vector", align 8
  %41 = alloca %"struct.alglib_impl::ae_vector", align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca double, align 8
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = alloca double, align 8
  %52 = alloca double, align 8
  %53 = alloca double, align 8
  %54 = alloca double, align 8
  %55 = alloca double, align 8
  %56 = alloca double, align 8
  %57 = alloca i64, align 8
  %58 = alloca double, align 8
  %59 = alloca double, align 8
  %60 = alloca i8, align 1
  %61 = alloca i8, align 1
  %62 = alloca i8, align 1
  %63 = alloca %"struct.alglib_impl::ae_vector", align 8
  %64 = alloca %"struct.alglib_impl::ae_vector", align 8
  %65 = alloca %"struct.alglib_impl::ae_vector", align 8
  %66 = alloca i64, align 8
  %67 = alloca i64, align 8
  %68 = alloca %"struct.alglib_impl::ae_vector", align 8
  %69 = alloca %"struct.alglib_impl::ae_vector", align 8
  %70 = alloca %"struct.alglib_impl::apbuffers", align 8
  %71 = alloca i64, align 8
  %72 = alloca i64, align 8
  %73 = alloca i64, align 8
  %74 = alloca i64, align 8
  %75 = alloca i64, align 8
  %76 = alloca i64, align 8
  %77 = alloca i64, align 8
  %78 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %79 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %80 = alloca i8, align 1
  %81 = alloca i32, align 4
  store ptr %0, ptr %15, align 8, !tbaa !5
  store ptr %1, ptr %16, align 8, !tbaa !5
  store ptr %2, ptr %17, align 8, !tbaa !5
  store ptr %3, ptr %18, align 8, !tbaa !5
  store ptr %4, ptr %19, align 8, !tbaa !5
  store i64 %5, ptr %20, align 8, !tbaa !9
  store i64 %6, ptr %21, align 8, !tbaa !9
  store ptr %7, ptr %22, align 8, !tbaa !5
  store i64 %8, ptr %23, align 8, !tbaa !9
  store double %9, ptr %24, align 8, !tbaa !11
  store ptr %10, ptr %25, align 8, !tbaa !5
  store ptr %11, ptr %26, align 8, !tbaa !5
  store ptr %12, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %63) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %64) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %69) #5
  call void @llvm.lifetime.start.p0(i64 736, ptr %70) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %78) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %79) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #5
  %82 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %82, ptr noundef %28)
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %34, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %35, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %36, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %38, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %39, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %40, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %41, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %63, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %64, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %65, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %68, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %69, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %70, i8 0, i64 736, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %78, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %79, i8 0, i64 80, i1 false)
  %83 = load ptr, ptr %22, align 8, !tbaa !5
  %84 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef %29, ptr noundef %83, ptr noundef %84, i1 noundef zeroext true)
  store ptr %29, ptr %22, align 8, !tbaa !5
  %85 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 0, ptr %85, align 8, !tbaa !9
  %86 = load ptr, ptr %26, align 8, !tbaa !5
  store i64 0, ptr %86, align 8, !tbaa !9
  %87 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %34, i64 noundef 0, i64 noundef 3, ptr noundef %87, i1 noundef zeroext true)
  %88 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %35, i64 noundef 0, i64 noundef 3, ptr noundef %88, i1 noundef zeroext true)
  %89 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %36, i64 noundef 0, i64 noundef 3, ptr noundef %89, i1 noundef zeroext true)
  %90 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %37, i64 noundef 0, i64 noundef 3, ptr noundef %90, i1 noundef zeroext true)
  %91 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %38, i64 noundef 0, i64 noundef 3, ptr noundef %91, i1 noundef zeroext true)
  %92 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %39, i64 noundef 0, i64 noundef 3, ptr noundef %92, i1 noundef zeroext true)
  %93 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %40, i64 noundef 0, i64 noundef 3, ptr noundef %93, i1 noundef zeroext true)
  %94 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %41, i64 noundef 0, i64 noundef 3, ptr noundef %94, i1 noundef zeroext true)
  %95 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %63, i64 noundef 0, i64 noundef 3, ptr noundef %95, i1 noundef zeroext true)
  %96 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %64, i64 noundef 0, i64 noundef 3, ptr noundef %96, i1 noundef zeroext true)
  %97 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %65, i64 noundef 0, i64 noundef 3, ptr noundef %97, i1 noundef zeroext true)
  %98 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %68, i64 noundef 0, i64 noundef 2, ptr noundef %98, i1 noundef zeroext true)
  %99 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %69, i64 noundef 0, i64 noundef 2, ptr noundef %99, i1 noundef zeroext true)
  %100 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl15_apbuffers_initEPvPNS_8ae_stateEb(ptr noundef %70, ptr noundef %100, i1 noundef zeroext true)
  %101 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %78, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %101, i1 noundef zeroext true)
  %102 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %79, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %102, i1 noundef zeroext true)
  store i64 3, ptr %73, align 8, !tbaa !9
  store i64 3, ptr %75, align 8, !tbaa !9
  store i64 5, ptr %77, align 8, !tbaa !9
  %103 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 0, ptr %103, align 8, !tbaa !9
  %104 = load ptr, ptr %26, align 8, !tbaa !5
  store i64 0, ptr %104, align 8, !tbaa !9
  %105 = load ptr, ptr %15, align 8, !tbaa !5
  %106 = load ptr, ptr %16, align 8, !tbaa !5
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = load ptr, ptr %19, align 8, !tbaa !5
  %110 = load i64, ptr %20, align 8, !tbaa !9
  %111 = load i64, ptr %21, align 8, !tbaa !9
  %112 = load ptr, ptr %27, align 8, !tbaa !5
  %113 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %105, ptr noundef %106, ptr noundef %107, ptr noundef %108, ptr noundef %109, i64 noundef %110, i64 noundef %111, ptr noundef %112)
  br i1 %113, label %118, label %114

114:                                              ; preds = %13
  store i8 0, ptr %80, align 1, !tbaa !13
  %115 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %115)
  %116 = load i8, ptr %80, align 1, !tbaa !13, !range !15, !noundef !16
  %117 = trunc i8 %116 to i1
  store i1 %117, ptr %14, align 1
  store i32 1, ptr %81, align 4
  br label %1752

118:                                              ; preds = %13
  %119 = load i64, ptr %23, align 8, !tbaa !9
  %120 = icmp eq i64 %119, 0
  br i1 %120, label %121, label %125

121:                                              ; preds = %118
  store i8 1, ptr %80, align 1, !tbaa !13
  %122 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %122)
  %123 = load i8, ptr %80, align 1, !tbaa !13, !range !15, !noundef !16
  %124 = trunc i8 %123 to i1
  store i1 %124, ptr %14, align 1
  store i32 1, ptr %81, align 4
  br label %1752

125:                                              ; preds = %118
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %126

126:                                              ; preds = %176, %125
  %127 = load i64, ptr %30, align 8, !tbaa !9
  %128 = load i64, ptr %23, align 8, !tbaa !9
  %129 = sub nsw i64 %128, 1
  %130 = icmp sle i64 %127, %129
  br i1 %130, label %131, label %179

131:                                              ; preds = %126
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %132

132:                                              ; preds = %154, %131
  %133 = load i64, ptr %31, align 8, !tbaa !9
  %134 = load i64, ptr %20, align 8, !tbaa !9
  %135 = load i64, ptr %21, align 8, !tbaa !9
  %136 = add nsw i64 %134, %135
  %137 = sub nsw i64 %136, 1
  %138 = icmp sle i64 %133, %137
  br i1 %138, label %139, label %157

139:                                              ; preds = %132
  %140 = load double, ptr %45, align 8, !tbaa !11
  %141 = load ptr, ptr %22, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %141, i32 0, i32 6
  %143 = load ptr, ptr %142, align 8, !tbaa !17
  %144 = load i64, ptr %30, align 8, !tbaa !9
  %145 = getelementptr inbounds ptr, ptr %143, i64 %144
  %146 = load ptr, ptr %145, align 8, !tbaa !5
  %147 = load i64, ptr %31, align 8, !tbaa !9
  %148 = getelementptr inbounds double, ptr %146, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !11
  %150 = load ptr, ptr %27, align 8, !tbaa !5
  %151 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %149, ptr noundef %150)
  %152 = load ptr, ptr %27, align 8, !tbaa !5
  %153 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %140, double noundef %151, ptr noundef %152)
  store double %153, ptr %45, align 8, !tbaa !11
  br label %154

154:                                              ; preds = %139
  %155 = load i64, ptr %31, align 8, !tbaa !9
  %156 = add nsw i64 %155, 1
  store i64 %156, ptr %31, align 8, !tbaa !9
  br label %132, !llvm.loop !18

157:                                              ; preds = %132
  %158 = load double, ptr %45, align 8, !tbaa !11
  %159 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %158, double noundef 0.000000e+00)
  br i1 %159, label %160, label %175

160:                                              ; preds = %157
  %161 = load double, ptr %45, align 8, !tbaa !11
  %162 = fdiv double 1.000000e+00, %161
  store double %162, ptr %45, align 8, !tbaa !11
  %163 = load ptr, ptr %22, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %163, i32 0, i32 6
  %165 = load ptr, ptr %164, align 8, !tbaa !17
  %166 = load i64, ptr %30, align 8, !tbaa !9
  %167 = getelementptr inbounds ptr, ptr %165, i64 %166
  %168 = load ptr, ptr %167, align 8, !tbaa !5
  %169 = getelementptr inbounds double, ptr %168, i64 0
  %170 = load i64, ptr %20, align 8, !tbaa !9
  %171 = load i64, ptr %21, align 8, !tbaa !9
  %172 = add nsw i64 %170, %171
  %173 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %172)
  %174 = load double, ptr %45, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %169, i64 noundef 1, i64 noundef %173, double noundef %174)
  br label %175

175:                                              ; preds = %160, %157
  br label %176

176:                                              ; preds = %175
  %177 = load i64, ptr %30, align 8, !tbaa !9
  %178 = add nsw i64 %177, 1
  store i64 %178, ptr %30, align 8, !tbaa !9
  br label %126, !llvm.loop !20

179:                                              ; preds = %126
  %180 = load i64, ptr %20, align 8, !tbaa !9
  %181 = load i64, ptr %21, align 8, !tbaa !9
  %182 = add nsw i64 %180, %181
  %183 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %35, i64 noundef %182, ptr noundef %183)
  %184 = load i64, ptr %20, align 8, !tbaa !9
  %185 = load i64, ptr %21, align 8, !tbaa !9
  %186 = add nsw i64 %184, %185
  %187 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %36, i64 noundef %186, ptr noundef %187)
  %188 = load i64, ptr %20, align 8, !tbaa !9
  %189 = load i64, ptr %21, align 8, !tbaa !9
  %190 = add nsw i64 %188, %189
  %191 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %34, i64 noundef %190, ptr noundef %191)
  %192 = load i64, ptr %20, align 8, !tbaa !9
  %193 = load i64, ptr %21, align 8, !tbaa !9
  %194 = add nsw i64 %192, %193
  %195 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %38, i64 noundef %194, ptr noundef %195)
  %196 = load i64, ptr %20, align 8, !tbaa !9
  %197 = load i64, ptr %21, align 8, !tbaa !9
  %198 = add nsw i64 %196, %197
  %199 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %39, i64 noundef %198, ptr noundef %199)
  %200 = load i64, ptr %23, align 8, !tbaa !9
  %201 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %64, i64 noundef %200, ptr noundef %201)
  %202 = load i64, ptr %23, align 8, !tbaa !9
  %203 = load i64, ptr %20, align 8, !tbaa !9
  %204 = load i64, ptr %21, align 8, !tbaa !9
  %205 = add nsw i64 %203, %204
  %206 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %78, i64 noundef %202, i64 noundef %205, ptr noundef %206)
  %207 = load i64, ptr %20, align 8, !tbaa !9
  %208 = load i64, ptr %21, align 8, !tbaa !9
  %209 = add nsw i64 %207, %208
  %210 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %63, i64 noundef %209, ptr noundef %210)
  %211 = load i64, ptr %20, align 8, !tbaa !9
  %212 = load i64, ptr %21, align 8, !tbaa !9
  %213 = add nsw i64 %211, %212
  %214 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %37, i64 noundef %213, ptr noundef %214)
  %215 = load i64, ptr %20, align 8, !tbaa !9
  %216 = load i64, ptr %21, align 8, !tbaa !9
  %217 = add nsw i64 %215, %216
  %218 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %41, i64 noundef %217, ptr noundef %218)
  %219 = load i64, ptr %20, align 8, !tbaa !9
  %220 = load i64, ptr %21, align 8, !tbaa !9
  %221 = add nsw i64 %219, %220
  %222 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %65, i64 noundef %221, ptr noundef %222)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %223

223:                                              ; preds = %270, %179
  %224 = load i64, ptr %30, align 8, !tbaa !9
  %225 = load i64, ptr %20, align 8, !tbaa !9
  %226 = load i64, ptr %21, align 8, !tbaa !9
  %227 = add nsw i64 %225, %226
  %228 = sub nsw i64 %227, 1
  %229 = icmp sle i64 %224, %228
  br i1 %229, label %230, label %273

230:                                              ; preds = %223
  %231 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %41, i32 0, i32 4
  %232 = load ptr, ptr %231, align 8, !tbaa !17
  %233 = load i64, ptr %30, align 8, !tbaa !9
  %234 = getelementptr inbounds double, ptr %232, i64 %233
  store double 1.000000e+00, ptr %234, align 8, !tbaa !11
  %235 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %236 = load ptr, ptr %235, align 8, !tbaa !17
  %237 = load i64, ptr %30, align 8, !tbaa !9
  %238 = getelementptr inbounds double, ptr %236, i64 %237
  store double 0.000000e+00, ptr %238, align 8, !tbaa !11
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %239

239:                                              ; preds = %266, %230
  %240 = load i64, ptr %31, align 8, !tbaa !9
  %241 = load i64, ptr %23, align 8, !tbaa !9
  %242 = sub nsw i64 %241, 1
  %243 = icmp sle i64 %240, %242
  br i1 %243, label %244, label %269

244:                                              ; preds = %239
  %245 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %246 = load ptr, ptr %245, align 8, !tbaa !17
  %247 = load i64, ptr %30, align 8, !tbaa !9
  %248 = getelementptr inbounds double, ptr %246, i64 %247
  %249 = load double, ptr %248, align 8, !tbaa !11
  %250 = load ptr, ptr %22, align 8, !tbaa !5
  %251 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %250, i32 0, i32 6
  %252 = load ptr, ptr %251, align 8, !tbaa !17
  %253 = load i64, ptr %31, align 8, !tbaa !9
  %254 = getelementptr inbounds ptr, ptr %252, i64 %253
  %255 = load ptr, ptr %254, align 8, !tbaa !5
  %256 = load i64, ptr %30, align 8, !tbaa !9
  %257 = getelementptr inbounds double, ptr %255, i64 %256
  %258 = load double, ptr %257, align 8, !tbaa !11
  %259 = load ptr, ptr %27, align 8, !tbaa !5
  %260 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %258, ptr noundef %259)
  %261 = fadd double %249, %260
  %262 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %263 = load ptr, ptr %262, align 8, !tbaa !17
  %264 = load i64, ptr %30, align 8, !tbaa !9
  %265 = getelementptr inbounds double, ptr %263, i64 %264
  store double %261, ptr %265, align 8, !tbaa !11
  br label %266

266:                                              ; preds = %244
  %267 = load i64, ptr %31, align 8, !tbaa !9
  %268 = add nsw i64 %267, 1
  store i64 %268, ptr %31, align 8, !tbaa !9
  br label %239, !llvm.loop !21

269:                                              ; preds = %239
  br label %270

270:                                              ; preds = %269
  %271 = load i64, ptr %30, align 8, !tbaa !9
  %272 = add nsw i64 %271, 1
  store i64 %272, ptr %30, align 8, !tbaa !9
  br label %223, !llvm.loop !22

273:                                              ; preds = %223
  store i64 0, ptr %72, align 8, !tbaa !9
  store i64 0, ptr %74, align 8, !tbaa !9
  store i64 0, ptr %71, align 8, !tbaa !9
  br label %274

274:                                              ; preds = %1747, %273
  store i8 1, ptr %62, align 1, !tbaa !13
  %275 = load ptr, ptr %22, align 8, !tbaa !5
  %276 = load ptr, ptr %15, align 8, !tbaa !5
  %277 = load i64, ptr %20, align 8, !tbaa !9
  %278 = load i64, ptr %21, align 8, !tbaa !9
  %279 = load i64, ptr %23, align 8, !tbaa !9
  %280 = load ptr, ptr %27, align 8, !tbaa !5
  %281 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef %275, ptr noundef %276, i64 noundef %277, i64 noundef %278, i64 noundef %279, ptr noundef %64, ptr noundef %280)
  store double %281, ptr %48, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %282

282:                                              ; preds = %362, %274
  %283 = load i64, ptr %30, align 8, !tbaa !9
  %284 = load i64, ptr %23, align 8, !tbaa !9
  %285 = sub nsw i64 %284, 1
  %286 = icmp sle i64 %283, %285
  br i1 %286, label %287, label %365

287:                                              ; preds = %282
  store double 0.000000e+00, ptr %47, align 8, !tbaa !11
  %288 = load ptr, ptr %22, align 8, !tbaa !5
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %288, i32 0, i32 6
  %290 = load ptr, ptr %289, align 8, !tbaa !17
  %291 = load i64, ptr %30, align 8, !tbaa !9
  %292 = getelementptr inbounds ptr, ptr %290, i64 %291
  %293 = load ptr, ptr %292, align 8, !tbaa !5
  %294 = load i64, ptr %20, align 8, !tbaa !9
  %295 = load i64, ptr %21, align 8, !tbaa !9
  %296 = add nsw i64 %294, %295
  %297 = getelementptr inbounds double, ptr %293, i64 %296
  %298 = load double, ptr %297, align 8, !tbaa !11
  %299 = fneg double %298
  store double %299, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %300

300:                                              ; preds = %346, %287
  %301 = load i64, ptr %31, align 8, !tbaa !9
  %302 = load i64, ptr %20, align 8, !tbaa !9
  %303 = load i64, ptr %21, align 8, !tbaa !9
  %304 = add nsw i64 %302, %303
  %305 = sub nsw i64 %304, 1
  %306 = icmp sle i64 %301, %305
  br i1 %306, label %307, label %349

307:                                              ; preds = %300
  %308 = load double, ptr %47, align 8, !tbaa !11
  %309 = load ptr, ptr %22, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %309, i32 0, i32 6
  %311 = load ptr, ptr %310, align 8, !tbaa !17
  %312 = load i64, ptr %30, align 8, !tbaa !9
  %313 = getelementptr inbounds ptr, ptr %311, i64 %312
  %314 = load ptr, ptr %313, align 8, !tbaa !5
  %315 = load i64, ptr %31, align 8, !tbaa !9
  %316 = getelementptr inbounds double, ptr %314, i64 %315
  %317 = load double, ptr %316, align 8, !tbaa !11
  %318 = load ptr, ptr %15, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %318, i32 0, i32 4
  %320 = load ptr, ptr %319, align 8, !tbaa !17
  %321 = load i64, ptr %31, align 8, !tbaa !9
  %322 = getelementptr inbounds double, ptr %320, i64 %321
  %323 = load double, ptr %322, align 8, !tbaa !11
  %324 = fmul double %317, %323
  %325 = load ptr, ptr %27, align 8, !tbaa !5
  %326 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %324, ptr noundef %325)
  %327 = load ptr, ptr %27, align 8, !tbaa !5
  %328 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %308, double noundef %326, ptr noundef %327)
  store double %328, ptr %47, align 8, !tbaa !11
  %329 = load double, ptr %45, align 8, !tbaa !11
  %330 = load ptr, ptr %22, align 8, !tbaa !5
  %331 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %330, i32 0, i32 6
  %332 = load ptr, ptr %331, align 8, !tbaa !17
  %333 = load i64, ptr %30, align 8, !tbaa !9
  %334 = getelementptr inbounds ptr, ptr %332, i64 %333
  %335 = load ptr, ptr %334, align 8, !tbaa !5
  %336 = load i64, ptr %31, align 8, !tbaa !9
  %337 = getelementptr inbounds double, ptr %335, i64 %336
  %338 = load double, ptr %337, align 8, !tbaa !11
  %339 = load ptr, ptr %15, align 8, !tbaa !5
  %340 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %339, i32 0, i32 4
  %341 = load ptr, ptr %340, align 8, !tbaa !17
  %342 = load i64, ptr %31, align 8, !tbaa !9
  %343 = getelementptr inbounds double, ptr %341, i64 %342
  %344 = load double, ptr %343, align 8, !tbaa !11
  %345 = call double @llvm.fmuladd.f64(double %338, double %344, double %329)
  store double %345, ptr %45, align 8, !tbaa !11
  br label %346

346:                                              ; preds = %307
  %347 = load i64, ptr %31, align 8, !tbaa !9
  %348 = add nsw i64 %347, 1
  store i64 %348, ptr %31, align 8, !tbaa !9
  br label %300, !llvm.loop !23

349:                                              ; preds = %300
  %350 = load i8, ptr %62, align 1, !tbaa !13, !range !15, !noundef !16
  %351 = trunc i8 %350 to i1
  br i1 %351, label %352, label %359

352:                                              ; preds = %349
  %353 = load double, ptr %45, align 8, !tbaa !11
  %354 = load ptr, ptr %27, align 8, !tbaa !5
  %355 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %353, ptr noundef %354)
  %356 = load double, ptr %47, align 8, !tbaa !11
  %357 = fmul double 5.000000e-14, %356
  %358 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %355, double noundef %357)
  br label %359

359:                                              ; preds = %352, %349
  %360 = phi i1 [ false, %349 ], [ %358, %352 ]
  %361 = zext i1 %360 to i8
  store i8 %361, ptr %62, align 1, !tbaa !13
  br label %362

362:                                              ; preds = %359
  %363 = load i64, ptr %30, align 8, !tbaa !9
  %364 = add nsw i64 %363, 1
  store i64 %364, ptr %30, align 8, !tbaa !9
  br label %282, !llvm.loop !24

365:                                              ; preds = %282
  %366 = load double, ptr %48, align 8, !tbaa !11
  store double %366, ptr %49, align 8, !tbaa !11
  %367 = load i8, ptr %62, align 1, !tbaa !13, !range !15, !noundef !16
  %368 = trunc i8 %367 to i1
  br i1 %368, label %369, label %377

369:                                              ; preds = %365
  %370 = load double, ptr %48, align 8, !tbaa !11
  %371 = load double, ptr %24, align 8, !tbaa !11
  %372 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %370, double noundef %371)
  %373 = zext i1 %372 to i8
  store i8 %373, ptr %80, align 1, !tbaa !13
  %374 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %374)
  %375 = load i8, ptr %80, align 1, !tbaa !13, !range !15, !noundef !16
  %376 = trunc i8 %375 to i1
  store i1 %376, ptr %14, align 1
  store i32 1, ptr %81, align 4
  br label %1752

377:                                              ; preds = %365
  br label %378

378:                                              ; preds = %1444, %377
  store double 0.000000e+00, ptr %43, align 8, !tbaa !11
  %379 = load ptr, ptr %22, align 8, !tbaa !5
  %380 = load ptr, ptr %15, align 8, !tbaa !5
  %381 = load i64, ptr %20, align 8, !tbaa !9
  %382 = load i64, ptr %21, align 8, !tbaa !9
  %383 = load i64, ptr %23, align 8, !tbaa !9
  %384 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_implL28optserv_feasibilityerrorgradEPNS_9ae_matrixEPNS_9ae_vectorElllPdS3_S3_PNS_8ae_stateE(ptr noundef %379, ptr noundef %380, i64 noundef %381, i64 noundef %382, i64 noundef %383, ptr noundef %44, ptr noundef %38, ptr noundef %64, ptr noundef %384)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %385

385:                                              ; preds = %445, %378
  %386 = load i64, ptr %30, align 8, !tbaa !9
  %387 = load i64, ptr %20, align 8, !tbaa !9
  %388 = sub nsw i64 %387, 1
  %389 = icmp sle i64 %386, %388
  br i1 %389, label %390, label %448

390:                                              ; preds = %385
  %391 = load ptr, ptr %17, align 8, !tbaa !5
  %392 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %391, i32 0, i32 4
  %393 = load ptr, ptr %392, align 8, !tbaa !17
  %394 = load i64, ptr %30, align 8, !tbaa !9
  %395 = getelementptr inbounds i8, ptr %393, i64 %394
  %396 = load i8, ptr %395, align 1, !tbaa !13, !range !15, !noundef !16
  %397 = trunc i8 %396 to i1
  br i1 %397, label %398, label %417

398:                                              ; preds = %390
  %399 = load ptr, ptr %15, align 8, !tbaa !5
  %400 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %399, i32 0, i32 4
  %401 = load ptr, ptr %400, align 8, !tbaa !17
  %402 = load i64, ptr %30, align 8, !tbaa !9
  %403 = getelementptr inbounds double, ptr %401, i64 %402
  %404 = load double, ptr %403, align 8, !tbaa !11
  %405 = load ptr, ptr %16, align 8, !tbaa !5
  %406 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %405, i32 0, i32 4
  %407 = load ptr, ptr %406, align 8, !tbaa !17
  %408 = load i64, ptr %30, align 8, !tbaa !9
  %409 = getelementptr inbounds double, ptr %407, i64 %408
  %410 = load double, ptr %409, align 8, !tbaa !11
  %411 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %404, double noundef %410)
  br i1 %411, label %412, label %417

412:                                              ; preds = %398
  %413 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %414 = load ptr, ptr %413, align 8, !tbaa !17
  %415 = load i64, ptr %30, align 8, !tbaa !9
  %416 = getelementptr inbounds double, ptr %414, i64 %415
  store double 0.000000e+00, ptr %416, align 8, !tbaa !11
  br label %417

417:                                              ; preds = %412, %398, %390
  %418 = load ptr, ptr %19, align 8, !tbaa !5
  %419 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %418, i32 0, i32 4
  %420 = load ptr, ptr %419, align 8, !tbaa !17
  %421 = load i64, ptr %30, align 8, !tbaa !9
  %422 = getelementptr inbounds i8, ptr %420, i64 %421
  %423 = load i8, ptr %422, align 1, !tbaa !13, !range !15, !noundef !16
  %424 = trunc i8 %423 to i1
  br i1 %424, label %425, label %444

425:                                              ; preds = %417
  %426 = load ptr, ptr %15, align 8, !tbaa !5
  %427 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %426, i32 0, i32 4
  %428 = load ptr, ptr %427, align 8, !tbaa !17
  %429 = load i64, ptr %30, align 8, !tbaa !9
  %430 = getelementptr inbounds double, ptr %428, i64 %429
  %431 = load double, ptr %430, align 8, !tbaa !11
  %432 = load ptr, ptr %18, align 8, !tbaa !5
  %433 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %432, i32 0, i32 4
  %434 = load ptr, ptr %433, align 8, !tbaa !17
  %435 = load i64, ptr %30, align 8, !tbaa !9
  %436 = getelementptr inbounds double, ptr %434, i64 %435
  %437 = load double, ptr %436, align 8, !tbaa !11
  %438 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %431, double noundef %437)
  br i1 %438, label %439, label %444

439:                                              ; preds = %425
  %440 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %441 = load ptr, ptr %440, align 8, !tbaa !17
  %442 = load i64, ptr %30, align 8, !tbaa !9
  %443 = getelementptr inbounds double, ptr %441, i64 %442
  store double 0.000000e+00, ptr %443, align 8, !tbaa !11
  br label %444

444:                                              ; preds = %439, %425, %417
  br label %445

445:                                              ; preds = %444
  %446 = load i64, ptr %30, align 8, !tbaa !9
  %447 = add nsw i64 %446, 1
  store i64 %447, ptr %30, align 8, !tbaa !9
  br label %385, !llvm.loop !25

448:                                              ; preds = %385
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %449

449:                                              ; preds = %472, %448
  %450 = load i64, ptr %30, align 8, !tbaa !9
  %451 = load i64, ptr %21, align 8, !tbaa !9
  %452 = sub nsw i64 %451, 1
  %453 = icmp sle i64 %450, %452
  br i1 %453, label %454, label %475

454:                                              ; preds = %449
  %455 = load ptr, ptr %15, align 8, !tbaa !5
  %456 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %455, i32 0, i32 4
  %457 = load ptr, ptr %456, align 8, !tbaa !17
  %458 = load i64, ptr %20, align 8, !tbaa !9
  %459 = load i64, ptr %30, align 8, !tbaa !9
  %460 = add nsw i64 %458, %459
  %461 = getelementptr inbounds double, ptr %457, i64 %460
  %462 = load double, ptr %461, align 8, !tbaa !11
  %463 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %462, double noundef 0.000000e+00)
  br i1 %463, label %464, label %471

464:                                              ; preds = %454
  %465 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %466 = load ptr, ptr %465, align 8, !tbaa !17
  %467 = load i64, ptr %20, align 8, !tbaa !9
  %468 = load i64, ptr %30, align 8, !tbaa !9
  %469 = add nsw i64 %467, %468
  %470 = getelementptr inbounds double, ptr %466, i64 %469
  store double 0.000000e+00, ptr %470, align 8, !tbaa !11
  br label %471

471:                                              ; preds = %464, %454
  br label %472

472:                                              ; preds = %471
  %473 = load i64, ptr %30, align 8, !tbaa !9
  %474 = add nsw i64 %473, 1
  store i64 %474, ptr %30, align 8, !tbaa !9
  br label %449, !llvm.loop !26

475:                                              ; preds = %449
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %476

476:                                              ; preds = %526, %475
  %477 = load i64, ptr %30, align 8, !tbaa !9
  %478 = load i64, ptr %20, align 8, !tbaa !9
  %479 = load i64, ptr %21, align 8, !tbaa !9
  %480 = add nsw i64 %478, %479
  %481 = sub nsw i64 %480, 1
  %482 = icmp sle i64 %477, %481
  br i1 %482, label %483, label %529

483:                                              ; preds = %476
  %484 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %485 = load ptr, ptr %484, align 8, !tbaa !17
  %486 = load i64, ptr %30, align 8, !tbaa !9
  %487 = getelementptr inbounds double, ptr %485, i64 %486
  %488 = load double, ptr %487, align 8, !tbaa !11
  %489 = load ptr, ptr %27, align 8, !tbaa !5
  %490 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %488, ptr noundef %489)
  %491 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %490, double noundef 0.000000e+00)
  br i1 %491, label %492, label %511

492:                                              ; preds = %483
  %493 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %494 = load ptr, ptr %493, align 8, !tbaa !17
  %495 = load i64, ptr %30, align 8, !tbaa !9
  %496 = getelementptr inbounds double, ptr %494, i64 %495
  %497 = load double, ptr %496, align 8, !tbaa !11
  %498 = fneg double %497
  %499 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %500 = load ptr, ptr %499, align 8, !tbaa !17
  %501 = load i64, ptr %30, align 8, !tbaa !9
  %502 = getelementptr inbounds double, ptr %500, i64 %501
  %503 = load double, ptr %502, align 8, !tbaa !11
  %504 = load ptr, ptr %27, align 8, !tbaa !5
  %505 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %503, ptr noundef %504)
  %506 = fdiv double %498, %505
  %507 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %508 = load ptr, ptr %507, align 8, !tbaa !17
  %509 = load i64, ptr %30, align 8, !tbaa !9
  %510 = getelementptr inbounds double, ptr %508, i64 %509
  store double %506, ptr %510, align 8, !tbaa !11
  br label %516

511:                                              ; preds = %483
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %513 = load ptr, ptr %512, align 8, !tbaa !17
  %514 = load i64, ptr %30, align 8, !tbaa !9
  %515 = getelementptr inbounds double, ptr %513, i64 %514
  store double 0.000000e+00, ptr %515, align 8, !tbaa !11
  br label %516

516:                                              ; preds = %511, %492
  %517 = load double, ptr %45, align 8, !tbaa !11
  %518 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %519 = load ptr, ptr %518, align 8, !tbaa !17
  %520 = load i64, ptr %30, align 8, !tbaa !9
  %521 = getelementptr inbounds double, ptr %519, i64 %520
  %522 = load double, ptr %521, align 8, !tbaa !11
  %523 = load ptr, ptr %27, align 8, !tbaa !5
  %524 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %522, ptr noundef %523)
  %525 = fadd double %517, %524
  store double %525, ptr %45, align 8, !tbaa !11
  br label %526

526:                                              ; preds = %516
  %527 = load i64, ptr %30, align 8, !tbaa !9
  %528 = add nsw i64 %527, 1
  store i64 %528, ptr %30, align 8, !tbaa !9
  br label %476, !llvm.loop !27

529:                                              ; preds = %476
  %530 = load double, ptr %45, align 8, !tbaa !11
  %531 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %530, double noundef 0.000000e+00)
  br i1 %531, label %532, label %533

532:                                              ; preds = %529
  br label %1445

533:                                              ; preds = %529
  %534 = load ptr, ptr %15, align 8, !tbaa !5
  %535 = load ptr, ptr %16, align 8, !tbaa !5
  %536 = load ptr, ptr %17, align 8, !tbaa !5
  %537 = load ptr, ptr %18, align 8, !tbaa !5
  %538 = load ptr, ptr %19, align 8, !tbaa !5
  %539 = load i64, ptr %20, align 8, !tbaa !9
  %540 = load i64, ptr %21, align 8, !tbaa !9
  %541 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl18calculatestepboundEPNS_9ae_vectorES1_dS1_S1_S1_S1_llPlPdS3_PNS_8ae_stateE(ptr noundef %534, ptr noundef %37, double noundef 1.000000e+00, ptr noundef %535, ptr noundef %536, ptr noundef %537, ptr noundef %538, i64 noundef %539, i64 noundef %540, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %541)
  %542 = load i64, ptr %57, align 8, !tbaa !9
  %543 = icmp sge i64 %542, 0
  br i1 %543, label %544, label %548

544:                                              ; preds = %533
  %545 = load double, ptr %59, align 8, !tbaa !11
  %546 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %545, double noundef 0.000000e+00)
  br i1 %546, label %547, label %548

547:                                              ; preds = %544
  br label %1445

548:                                              ; preds = %544, %533
  %549 = load i64, ptr %57, align 8, !tbaa !9
  %550 = icmp sge i64 %549, 0
  br i1 %550, label %551, label %555

551:                                              ; preds = %548
  %552 = load double, ptr %59, align 8, !tbaa !11
  %553 = load ptr, ptr %27, align 8, !tbaa !5
  %554 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef 1.000000e+00, double noundef %552, ptr noundef %553)
  store double %554, ptr %42, align 8, !tbaa !11
  br label %556

555:                                              ; preds = %548
  store double 1.000000e+00, ptr %42, align 8, !tbaa !11
  br label %556

556:                                              ; preds = %555, %551
  br label %557

557:                                              ; preds = %600, %556
  %558 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %559 = load ptr, ptr %558, align 8, !tbaa !17
  %560 = getelementptr inbounds double, ptr %559, i64 0
  %561 = load ptr, ptr %15, align 8, !tbaa !5
  %562 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %561, i32 0, i32 4
  %563 = load ptr, ptr %562, align 8, !tbaa !17
  %564 = getelementptr inbounds double, ptr %563, i64 0
  %565 = load i64, ptr %20, align 8, !tbaa !9
  %566 = load i64, ptr %21, align 8, !tbaa !9
  %567 = add nsw i64 %565, %566
  %568 = sub nsw i64 %567, 1
  %569 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %568)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %560, i64 noundef 1, ptr noundef %564, i64 noundef 1, i64 noundef %569)
  %570 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %571 = load ptr, ptr %570, align 8, !tbaa !17
  %572 = getelementptr inbounds double, ptr %571, i64 0
  %573 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %574 = load ptr, ptr %573, align 8, !tbaa !17
  %575 = getelementptr inbounds double, ptr %574, i64 0
  %576 = load i64, ptr %20, align 8, !tbaa !9
  %577 = load i64, ptr %21, align 8, !tbaa !9
  %578 = add nsw i64 %576, %577
  %579 = sub nsw i64 %578, 1
  %580 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %579)
  %581 = load double, ptr %42, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %572, i64 noundef 1, ptr noundef %575, i64 noundef 1, i64 noundef %580, double noundef %581)
  %582 = load ptr, ptr %16, align 8, !tbaa !5
  %583 = load ptr, ptr %17, align 8, !tbaa !5
  %584 = load ptr, ptr %18, align 8, !tbaa !5
  %585 = load ptr, ptr %19, align 8, !tbaa !5
  %586 = load i64, ptr %20, align 8, !tbaa !9
  %587 = load i64, ptr %21, align 8, !tbaa !9
  %588 = load ptr, ptr %27, align 8, !tbaa !5
  %589 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %36, ptr noundef %582, ptr noundef %583, ptr noundef %584, ptr noundef %585, i64 noundef %586, i64 noundef %587, ptr noundef %588)
  %590 = load ptr, ptr %22, align 8, !tbaa !5
  %591 = load i64, ptr %20, align 8, !tbaa !9
  %592 = load i64, ptr %21, align 8, !tbaa !9
  %593 = load i64, ptr %23, align 8, !tbaa !9
  %594 = load ptr, ptr %27, align 8, !tbaa !5
  %595 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef %590, ptr noundef %36, i64 noundef %591, i64 noundef %592, i64 noundef %593, ptr noundef %64, ptr noundef %594)
  store double %595, ptr %48, align 8, !tbaa !11
  %596 = load double, ptr %48, align 8, !tbaa !11
  %597 = load double, ptr %44, align 8, !tbaa !11
  %598 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %596, double noundef %597)
  br i1 %598, label %599, label %600

599:                                              ; preds = %557
  br label %605

600:                                              ; preds = %557
  %601 = load double, ptr %48, align 8, !tbaa !11
  store double %601, ptr %44, align 8, !tbaa !11
  %602 = load double, ptr %42, align 8, !tbaa !11
  store double %602, ptr %43, align 8, !tbaa !11
  %603 = load double, ptr %42, align 8, !tbaa !11
  %604 = fmul double 2.000000e+00, %603
  store double %604, ptr %42, align 8, !tbaa !11
  br label %557, !llvm.loop !28

605:                                              ; preds = %599
  %606 = load ptr, ptr %15, align 8, !tbaa !5
  %607 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %606, i32 0, i32 4
  %608 = load ptr, ptr %607, align 8, !tbaa !17
  %609 = getelementptr inbounds double, ptr %608, i64 0
  %610 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %611 = load ptr, ptr %610, align 8, !tbaa !17
  %612 = getelementptr inbounds double, ptr %611, i64 0
  %613 = load i64, ptr %20, align 8, !tbaa !9
  %614 = load i64, ptr %21, align 8, !tbaa !9
  %615 = add nsw i64 %613, %614
  %616 = sub nsw i64 %615, 1
  %617 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %616)
  %618 = load double, ptr %43, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %609, i64 noundef 1, ptr noundef %612, i64 noundef 1, i64 noundef %617, double noundef %618)
  %619 = load ptr, ptr %15, align 8, !tbaa !5
  %620 = load ptr, ptr %16, align 8, !tbaa !5
  %621 = load ptr, ptr %17, align 8, !tbaa !5
  %622 = load ptr, ptr %18, align 8, !tbaa !5
  %623 = load ptr, ptr %19, align 8, !tbaa !5
  %624 = load i64, ptr %20, align 8, !tbaa !9
  %625 = load i64, ptr %21, align 8, !tbaa !9
  %626 = load ptr, ptr %27, align 8, !tbaa !5
  %627 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %619, ptr noundef %620, ptr noundef %621, ptr noundef %622, ptr noundef %623, i64 noundef %624, i64 noundef %625, ptr noundef %626)
  store i64 0, ptr %66, align 8, !tbaa !9
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %628

628:                                              ; preds = %702, %605
  %629 = load i64, ptr %30, align 8, !tbaa !9
  %630 = load i64, ptr %20, align 8, !tbaa !9
  %631 = sub nsw i64 %630, 1
  %632 = icmp sle i64 %629, %631
  br i1 %632, label %633, label %705

633:                                              ; preds = %628
  %634 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %635 = load ptr, ptr %634, align 8, !tbaa !17
  %636 = load i64, ptr %30, align 8, !tbaa !9
  %637 = getelementptr inbounds double, ptr %635, i64 %636
  store double 0.000000e+00, ptr %637, align 8, !tbaa !11
  %638 = load ptr, ptr %17, align 8, !tbaa !5
  %639 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %638, i32 0, i32 4
  %640 = load ptr, ptr %639, align 8, !tbaa !17
  %641 = load i64, ptr %30, align 8, !tbaa !9
  %642 = getelementptr inbounds i8, ptr %640, i64 %641
  %643 = load i8, ptr %642, align 1, !tbaa !13, !range !15, !noundef !16
  %644 = trunc i8 %643 to i1
  br i1 %644, label %645, label %664

645:                                              ; preds = %633
  %646 = load ptr, ptr %15, align 8, !tbaa !5
  %647 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %646, i32 0, i32 4
  %648 = load ptr, ptr %647, align 8, !tbaa !17
  %649 = load i64, ptr %30, align 8, !tbaa !9
  %650 = getelementptr inbounds double, ptr %648, i64 %649
  %651 = load double, ptr %650, align 8, !tbaa !11
  %652 = load ptr, ptr %16, align 8, !tbaa !5
  %653 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %652, i32 0, i32 4
  %654 = load ptr, ptr %653, align 8, !tbaa !17
  %655 = load i64, ptr %30, align 8, !tbaa !9
  %656 = getelementptr inbounds double, ptr %654, i64 %655
  %657 = load double, ptr %656, align 8, !tbaa !11
  %658 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %651, double noundef %657)
  br i1 %658, label %659, label %664

659:                                              ; preds = %645
  %660 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %661 = load ptr, ptr %660, align 8, !tbaa !17
  %662 = load i64, ptr %30, align 8, !tbaa !9
  %663 = getelementptr inbounds double, ptr %661, i64 %662
  store double 1.000000e+00, ptr %663, align 8, !tbaa !11
  br label %664

664:                                              ; preds = %659, %645, %633
  %665 = load ptr, ptr %19, align 8, !tbaa !5
  %666 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %665, i32 0, i32 4
  %667 = load ptr, ptr %666, align 8, !tbaa !17
  %668 = load i64, ptr %30, align 8, !tbaa !9
  %669 = getelementptr inbounds i8, ptr %667, i64 %668
  %670 = load i8, ptr %669, align 1, !tbaa !13, !range !15, !noundef !16
  %671 = trunc i8 %670 to i1
  br i1 %671, label %672, label %691

672:                                              ; preds = %664
  %673 = load ptr, ptr %15, align 8, !tbaa !5
  %674 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %673, i32 0, i32 4
  %675 = load ptr, ptr %674, align 8, !tbaa !17
  %676 = load i64, ptr %30, align 8, !tbaa !9
  %677 = getelementptr inbounds double, ptr %675, i64 %676
  %678 = load double, ptr %677, align 8, !tbaa !11
  %679 = load ptr, ptr %18, align 8, !tbaa !5
  %680 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %679, i32 0, i32 4
  %681 = load ptr, ptr %680, align 8, !tbaa !17
  %682 = load i64, ptr %30, align 8, !tbaa !9
  %683 = getelementptr inbounds double, ptr %681, i64 %682
  %684 = load double, ptr %683, align 8, !tbaa !11
  %685 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %678, double noundef %684)
  br i1 %685, label %686, label %691

686:                                              ; preds = %672
  %687 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %688 = load ptr, ptr %687, align 8, !tbaa !17
  %689 = load i64, ptr %30, align 8, !tbaa !9
  %690 = getelementptr inbounds double, ptr %688, i64 %689
  store double 1.000000e+00, ptr %690, align 8, !tbaa !11
  br label %691

691:                                              ; preds = %686, %672, %664
  %692 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %693 = load ptr, ptr %692, align 8, !tbaa !17
  %694 = load i64, ptr %30, align 8, !tbaa !9
  %695 = getelementptr inbounds double, ptr %693, i64 %694
  %696 = load double, ptr %695, align 8, !tbaa !11
  %697 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %696, double noundef 0.000000e+00)
  br i1 %697, label %698, label %701

698:                                              ; preds = %691
  %699 = load i64, ptr %66, align 8, !tbaa !9
  %700 = add nsw i64 %699, 1
  store i64 %700, ptr %66, align 8, !tbaa !9
  br label %701

701:                                              ; preds = %698, %691
  br label %702

702:                                              ; preds = %701
  %703 = load i64, ptr %30, align 8, !tbaa !9
  %704 = add nsw i64 %703, 1
  store i64 %704, ptr %30, align 8, !tbaa !9
  br label %628, !llvm.loop !29

705:                                              ; preds = %628
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %706

706:                                              ; preds = %747, %705
  %707 = load i64, ptr %30, align 8, !tbaa !9
  %708 = load i64, ptr %21, align 8, !tbaa !9
  %709 = sub nsw i64 %708, 1
  %710 = icmp sle i64 %707, %709
  br i1 %710, label %711, label %750

711:                                              ; preds = %706
  %712 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %713 = load ptr, ptr %712, align 8, !tbaa !17
  %714 = load i64, ptr %20, align 8, !tbaa !9
  %715 = load i64, ptr %30, align 8, !tbaa !9
  %716 = add nsw i64 %714, %715
  %717 = getelementptr inbounds double, ptr %713, i64 %716
  store double 0.000000e+00, ptr %717, align 8, !tbaa !11
  %718 = load ptr, ptr %15, align 8, !tbaa !5
  %719 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %718, i32 0, i32 4
  %720 = load ptr, ptr %719, align 8, !tbaa !17
  %721 = load i64, ptr %20, align 8, !tbaa !9
  %722 = load i64, ptr %30, align 8, !tbaa !9
  %723 = add nsw i64 %721, %722
  %724 = getelementptr inbounds double, ptr %720, i64 %723
  %725 = load double, ptr %724, align 8, !tbaa !11
  %726 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %725, double noundef 0.000000e+00)
  br i1 %726, label %727, label %734

727:                                              ; preds = %711
  %728 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %729 = load ptr, ptr %728, align 8, !tbaa !17
  %730 = load i64, ptr %20, align 8, !tbaa !9
  %731 = load i64, ptr %30, align 8, !tbaa !9
  %732 = add nsw i64 %730, %731
  %733 = getelementptr inbounds double, ptr %729, i64 %732
  store double 1.000000e+00, ptr %733, align 8, !tbaa !11
  br label %734

734:                                              ; preds = %727, %711
  %735 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %736 = load ptr, ptr %735, align 8, !tbaa !17
  %737 = load i64, ptr %20, align 8, !tbaa !9
  %738 = load i64, ptr %30, align 8, !tbaa !9
  %739 = add nsw i64 %737, %738
  %740 = getelementptr inbounds double, ptr %736, i64 %739
  %741 = load double, ptr %740, align 8, !tbaa !11
  %742 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %741, double noundef 0.000000e+00)
  br i1 %742, label %743, label %746

743:                                              ; preds = %734
  %744 = load i64, ptr %66, align 8, !tbaa !9
  %745 = add nsw i64 %744, 1
  store i64 %745, ptr %66, align 8, !tbaa !9
  br label %746

746:                                              ; preds = %743, %734
  br label %747

747:                                              ; preds = %746
  %748 = load i64, ptr %30, align 8, !tbaa !9
  %749 = add nsw i64 %748, 1
  store i64 %749, ptr %30, align 8, !tbaa !9
  br label %706, !llvm.loop !30

750:                                              ; preds = %706
  %751 = load i64, ptr %20, align 8, !tbaa !9
  %752 = load i64, ptr %21, align 8, !tbaa !9
  %753 = add nsw i64 %751, %752
  %754 = load i64, ptr %66, align 8, !tbaa !9
  %755 = sub nsw i64 %753, %754
  store i64 %755, ptr %67, align 8, !tbaa !9
  %756 = load i64, ptr %67, align 8, !tbaa !9
  %757 = icmp eq i64 %756, 0
  br i1 %757, label %758, label %759

758:                                              ; preds = %750
  br label %1445

759:                                              ; preds = %750
  %760 = load ptr, ptr %25, align 8, !tbaa !5
  %761 = load i64, ptr %760, align 8, !tbaa !9
  %762 = add nsw i64 %761, 1
  %763 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 %762, ptr %763, align 8, !tbaa !9
  %764 = load i64, ptr %20, align 8, !tbaa !9
  %765 = load i64, ptr %21, align 8, !tbaa !9
  %766 = add nsw i64 %764, %765
  %767 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl10tagsortbufEPNS_9ae_vectorElS1_S1_PNS_9apbuffersEPNS_8ae_stateE(ptr noundef %63, i64 noundef %766, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %767)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %768

768:                                              ; preds = %802, %759
  %769 = load i64, ptr %30, align 8, !tbaa !9
  %770 = load i64, ptr %23, align 8, !tbaa !9
  %771 = sub nsw i64 %770, 1
  %772 = icmp sle i64 %769, %771
  br i1 %772, label %773, label %805

773:                                              ; preds = %768
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %774

774:                                              ; preds = %798, %773
  %775 = load i64, ptr %31, align 8, !tbaa !9
  %776 = load i64, ptr %20, align 8, !tbaa !9
  %777 = load i64, ptr %21, align 8, !tbaa !9
  %778 = add nsw i64 %776, %777
  %779 = sub nsw i64 %778, 1
  %780 = icmp sle i64 %775, %779
  br i1 %780, label %781, label %801

781:                                              ; preds = %774
  %782 = load ptr, ptr %22, align 8, !tbaa !5
  %783 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %782, i32 0, i32 6
  %784 = load ptr, ptr %783, align 8, !tbaa !17
  %785 = load i64, ptr %30, align 8, !tbaa !9
  %786 = getelementptr inbounds ptr, ptr %784, i64 %785
  %787 = load ptr, ptr %786, align 8, !tbaa !5
  %788 = load i64, ptr %31, align 8, !tbaa !9
  %789 = getelementptr inbounds double, ptr %787, i64 %788
  %790 = load double, ptr %789, align 8, !tbaa !11
  %791 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %792 = load ptr, ptr %791, align 8, !tbaa !17
  %793 = load i64, ptr %30, align 8, !tbaa !9
  %794 = getelementptr inbounds ptr, ptr %792, i64 %793
  %795 = load ptr, ptr %794, align 8, !tbaa !5
  %796 = load i64, ptr %31, align 8, !tbaa !9
  %797 = getelementptr inbounds double, ptr %795, i64 %796
  store double %790, ptr %797, align 8, !tbaa !11
  br label %798

798:                                              ; preds = %781
  %799 = load i64, ptr %31, align 8, !tbaa !9
  %800 = add nsw i64 %799, 1
  store i64 %800, ptr %31, align 8, !tbaa !9
  br label %774, !llvm.loop !31

801:                                              ; preds = %774
  br label %802

802:                                              ; preds = %801
  %803 = load i64, ptr %30, align 8, !tbaa !9
  %804 = add nsw i64 %803, 1
  store i64 %804, ptr %30, align 8, !tbaa !9
  br label %768, !llvm.loop !32

805:                                              ; preds = %768
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %806

806:                                              ; preds = %824, %805
  %807 = load i64, ptr %31, align 8, !tbaa !9
  %808 = load i64, ptr %20, align 8, !tbaa !9
  %809 = load i64, ptr %21, align 8, !tbaa !9
  %810 = add nsw i64 %808, %809
  %811 = sub nsw i64 %810, 1
  %812 = icmp sle i64 %807, %811
  br i1 %812, label %813, label %827

813:                                              ; preds = %806
  %814 = load ptr, ptr %15, align 8, !tbaa !5
  %815 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %814, i32 0, i32 4
  %816 = load ptr, ptr %815, align 8, !tbaa !17
  %817 = load i64, ptr %31, align 8, !tbaa !9
  %818 = getelementptr inbounds double, ptr %816, i64 %817
  %819 = load double, ptr %818, align 8, !tbaa !11
  %820 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %821 = load ptr, ptr %820, align 8, !tbaa !17
  %822 = load i64, ptr %31, align 8, !tbaa !9
  %823 = getelementptr inbounds double, ptr %821, i64 %822
  store double %819, ptr %823, align 8, !tbaa !11
  br label %824

824:                                              ; preds = %813
  %825 = load i64, ptr %31, align 8, !tbaa !9
  %826 = add nsw i64 %825, 1
  store i64 %826, ptr %31, align 8, !tbaa !9
  br label %806, !llvm.loop !33

827:                                              ; preds = %806
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %828

828:                                              ; preds = %911, %827
  %829 = load i64, ptr %31, align 8, !tbaa !9
  %830 = load i64, ptr %20, align 8, !tbaa !9
  %831 = load i64, ptr %21, align 8, !tbaa !9
  %832 = add nsw i64 %830, %831
  %833 = sub nsw i64 %832, 1
  %834 = icmp sle i64 %829, %833
  br i1 %834, label %835, label %914

835:                                              ; preds = %828
  %836 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %837 = load ptr, ptr %836, align 8, !tbaa !17
  %838 = load i64, ptr %31, align 8, !tbaa !9
  %839 = getelementptr inbounds i64, ptr %837, i64 %838
  %840 = load i64, ptr %839, align 8, !tbaa !9
  %841 = load i64, ptr %31, align 8, !tbaa !9
  %842 = icmp ne i64 %840, %841
  br i1 %842, label %843, label %910

843:                                              ; preds = %835
  %844 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %845 = load ptr, ptr %844, align 8, !tbaa !17
  %846 = load i64, ptr %31, align 8, !tbaa !9
  %847 = getelementptr inbounds i64, ptr %845, i64 %846
  %848 = load i64, ptr %847, align 8, !tbaa !9
  store i64 %848, ptr %32, align 8, !tbaa !9
  %849 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %849, ptr %33, align 8, !tbaa !9
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %850

850:                                              ; preds = %887, %843
  %851 = load i64, ptr %30, align 8, !tbaa !9
  %852 = load i64, ptr %23, align 8, !tbaa !9
  %853 = sub nsw i64 %852, 1
  %854 = icmp sle i64 %851, %853
  br i1 %854, label %855, label %890

855:                                              ; preds = %850
  %856 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %857 = load ptr, ptr %856, align 8, !tbaa !17
  %858 = load i64, ptr %30, align 8, !tbaa !9
  %859 = getelementptr inbounds ptr, ptr %857, i64 %858
  %860 = load ptr, ptr %859, align 8, !tbaa !5
  %861 = load i64, ptr %32, align 8, !tbaa !9
  %862 = getelementptr inbounds double, ptr %860, i64 %861
  %863 = load double, ptr %862, align 8, !tbaa !11
  store double %863, ptr %45, align 8, !tbaa !11
  %864 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %865 = load ptr, ptr %864, align 8, !tbaa !17
  %866 = load i64, ptr %30, align 8, !tbaa !9
  %867 = getelementptr inbounds ptr, ptr %865, i64 %866
  %868 = load ptr, ptr %867, align 8, !tbaa !5
  %869 = load i64, ptr %33, align 8, !tbaa !9
  %870 = getelementptr inbounds double, ptr %868, i64 %869
  %871 = load double, ptr %870, align 8, !tbaa !11
  %872 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %873 = load ptr, ptr %872, align 8, !tbaa !17
  %874 = load i64, ptr %30, align 8, !tbaa !9
  %875 = getelementptr inbounds ptr, ptr %873, i64 %874
  %876 = load ptr, ptr %875, align 8, !tbaa !5
  %877 = load i64, ptr %32, align 8, !tbaa !9
  %878 = getelementptr inbounds double, ptr %876, i64 %877
  store double %871, ptr %878, align 8, !tbaa !11
  %879 = load double, ptr %45, align 8, !tbaa !11
  %880 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %881 = load ptr, ptr %880, align 8, !tbaa !17
  %882 = load i64, ptr %30, align 8, !tbaa !9
  %883 = getelementptr inbounds ptr, ptr %881, i64 %882
  %884 = load ptr, ptr %883, align 8, !tbaa !5
  %885 = load i64, ptr %33, align 8, !tbaa !9
  %886 = getelementptr inbounds double, ptr %884, i64 %885
  store double %879, ptr %886, align 8, !tbaa !11
  br label %887

887:                                              ; preds = %855
  %888 = load i64, ptr %30, align 8, !tbaa !9
  %889 = add nsw i64 %888, 1
  store i64 %889, ptr %30, align 8, !tbaa !9
  br label %850, !llvm.loop !34

890:                                              ; preds = %850
  %891 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %892 = load ptr, ptr %891, align 8, !tbaa !17
  %893 = load i64, ptr %32, align 8, !tbaa !9
  %894 = getelementptr inbounds double, ptr %892, i64 %893
  %895 = load double, ptr %894, align 8, !tbaa !11
  store double %895, ptr %45, align 8, !tbaa !11
  %896 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %897 = load ptr, ptr %896, align 8, !tbaa !17
  %898 = load i64, ptr %33, align 8, !tbaa !9
  %899 = getelementptr inbounds double, ptr %897, i64 %898
  %900 = load double, ptr %899, align 8, !tbaa !11
  %901 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %902 = load ptr, ptr %901, align 8, !tbaa !17
  %903 = load i64, ptr %32, align 8, !tbaa !9
  %904 = getelementptr inbounds double, ptr %902, i64 %903
  store double %900, ptr %904, align 8, !tbaa !11
  %905 = load double, ptr %45, align 8, !tbaa !11
  %906 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %907 = load ptr, ptr %906, align 8, !tbaa !17
  %908 = load i64, ptr %33, align 8, !tbaa !9
  %909 = getelementptr inbounds double, ptr %907, i64 %908
  store double %905, ptr %909, align 8, !tbaa !11
  br label %910

910:                                              ; preds = %890, %835
  br label %911

911:                                              ; preds = %910
  %912 = load i64, ptr %31, align 8, !tbaa !9
  %913 = add nsw i64 %912, 1
  store i64 %913, ptr %31, align 8, !tbaa !9
  br label %828, !llvm.loop !35

914:                                              ; preds = %828
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %915

915:                                              ; preds = %925, %914
  %916 = load i64, ptr %30, align 8, !tbaa !9
  %917 = load i64, ptr %67, align 8, !tbaa !9
  %918 = sub nsw i64 %917, 1
  %919 = icmp sle i64 %916, %918
  br i1 %919, label %920, label %928

920:                                              ; preds = %915
  %921 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %922 = load ptr, ptr %921, align 8, !tbaa !17
  %923 = load i64, ptr %30, align 8, !tbaa !9
  %924 = getelementptr inbounds double, ptr %922, i64 %923
  store double 0.000000e+00, ptr %924, align 8, !tbaa !11
  br label %925

925:                                              ; preds = %920
  %926 = load i64, ptr %30, align 8, !tbaa !9
  %927 = add nsw i64 %926, 1
  store i64 %927, ptr %30, align 8, !tbaa !9
  br label %915, !llvm.loop !36

928:                                              ; preds = %915
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %929

929:                                              ; preds = %967, %928
  %930 = load i64, ptr %30, align 8, !tbaa !9
  %931 = load i64, ptr %23, align 8, !tbaa !9
  %932 = sub nsw i64 %931, 1
  %933 = icmp sle i64 %930, %932
  br i1 %933, label %934, label %970

934:                                              ; preds = %929
  %935 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %936 = load ptr, ptr %935, align 8, !tbaa !17
  %937 = load i64, ptr %30, align 8, !tbaa !9
  %938 = getelementptr inbounds ptr, ptr %936, i64 %937
  %939 = load ptr, ptr %938, align 8, !tbaa !5
  %940 = getelementptr inbounds double, ptr %939, i64 0
  %941 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %942 = load ptr, ptr %941, align 8, !tbaa !17
  %943 = getelementptr inbounds double, ptr %942, i64 0
  %944 = load i64, ptr %20, align 8, !tbaa !9
  %945 = load i64, ptr %21, align 8, !tbaa !9
  %946 = add nsw i64 %944, %945
  %947 = sub nsw i64 %946, 1
  %948 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %947)
  %949 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %940, i64 noundef 1, ptr noundef %943, i64 noundef 1, i64 noundef %948)
  store double %949, ptr %45, align 8, !tbaa !11
  %950 = load double, ptr %45, align 8, !tbaa !11
  %951 = load ptr, ptr %22, align 8, !tbaa !5
  %952 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %951, i32 0, i32 6
  %953 = load ptr, ptr %952, align 8, !tbaa !17
  %954 = load i64, ptr %30, align 8, !tbaa !9
  %955 = getelementptr inbounds ptr, ptr %953, i64 %954
  %956 = load ptr, ptr %955, align 8, !tbaa !5
  %957 = load i64, ptr %20, align 8, !tbaa !9
  %958 = load i64, ptr %21, align 8, !tbaa !9
  %959 = add nsw i64 %957, %958
  %960 = getelementptr inbounds double, ptr %956, i64 %959
  %961 = load double, ptr %960, align 8, !tbaa !11
  %962 = fsub double %950, %961
  %963 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %64, i32 0, i32 4
  %964 = load ptr, ptr %963, align 8, !tbaa !17
  %965 = load i64, ptr %30, align 8, !tbaa !9
  %966 = getelementptr inbounds double, ptr %964, i64 %965
  store double %962, ptr %966, align 8, !tbaa !11
  br label %967

967:                                              ; preds = %934
  %968 = load i64, ptr %30, align 8, !tbaa !9
  %969 = add nsw i64 %968, 1
  store i64 %969, ptr %30, align 8, !tbaa !9
  br label %929, !llvm.loop !37

970:                                              ; preds = %929
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %971

971:                                              ; preds = %995, %970
  %972 = load i64, ptr %30, align 8, !tbaa !9
  %973 = load i64, ptr %23, align 8, !tbaa !9
  %974 = sub nsw i64 %973, 1
  %975 = icmp sle i64 %972, %974
  br i1 %975, label %976, label %998

976:                                              ; preds = %971
  %977 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %64, i32 0, i32 4
  %978 = load ptr, ptr %977, align 8, !tbaa !17
  %979 = load i64, ptr %30, align 8, !tbaa !9
  %980 = getelementptr inbounds double, ptr %978, i64 %979
  %981 = load double, ptr %980, align 8, !tbaa !11
  store double %981, ptr %45, align 8, !tbaa !11
  %982 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %983 = load ptr, ptr %982, align 8, !tbaa !17
  %984 = getelementptr inbounds double, ptr %983, i64 0
  %985 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %986 = load ptr, ptr %985, align 8, !tbaa !17
  %987 = load i64, ptr %30, align 8, !tbaa !9
  %988 = getelementptr inbounds ptr, ptr %986, i64 %987
  %989 = load ptr, ptr %988, align 8, !tbaa !5
  %990 = getelementptr inbounds double, ptr %989, i64 0
  %991 = load i64, ptr %67, align 8, !tbaa !9
  %992 = sub nsw i64 %991, 1
  %993 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %992)
  %994 = load double, ptr %45, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %984, i64 noundef 1, ptr noundef %990, i64 noundef 1, i64 noundef %993, double noundef %994)
  br label %995

995:                                              ; preds = %976
  %996 = load i64, ptr %30, align 8, !tbaa !9
  %997 = add nsw i64 %996, 1
  store i64 %997, ptr %30, align 8, !tbaa !9
  br label %971, !llvm.loop !38

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

999:                                              ; preds = %1011, %998
  %1000 = load i64, ptr %30, align 8, !tbaa !9
  %1001 = load i64, ptr %20, align 8, !tbaa !9
  %1002 = load i64, ptr %21, align 8, !tbaa !9
  %1003 = add nsw i64 %1001, %1002
  %1004 = sub nsw i64 %1003, 1
  %1005 = icmp sle i64 %1000, %1004
  br i1 %1005, label %1006, label %1014

1006:                                             ; preds = %999
  %1007 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1008 = load ptr, ptr %1007, align 8, !tbaa !17
  %1009 = load i64, ptr %30, align 8, !tbaa !9
  %1010 = getelementptr inbounds double, ptr %1008, i64 %1009
  store double 0.000000e+00, ptr %1010, align 8, !tbaa !11
  br label %1011

1011:                                             ; preds = %1006
  %1012 = load i64, ptr %30, align 8, !tbaa !9
  %1013 = add nsw i64 %1012, 1
  store i64 %1013, ptr %30, align 8, !tbaa !9
  br label %999, !llvm.loop !39

1014:                                             ; preds = %999
  %1015 = load i64, ptr %23, align 8, !tbaa !9
  %1016 = load i64, ptr %67, align 8, !tbaa !9
  %1017 = icmp sle i64 %1015, %1016
  br i1 %1017, label %1018, label %1093

1018:                                             ; preds = %1014
  %1019 = load i64, ptr %23, align 8, !tbaa !9
  %1020 = load i64, ptr %67, align 8, !tbaa !9
  %1021 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl9rmatrixlqEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %78, i64 noundef %1019, i64 noundef %1020, ptr noundef %40, ptr noundef %1021)
  %1022 = load i64, ptr %23, align 8, !tbaa !9
  %1023 = load i64, ptr %67, align 8, !tbaa !9
  %1024 = load i64, ptr %23, align 8, !tbaa !9
  %1025 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl16rmatrixlqunpackqEPNS_9ae_matrixEllPNS_9ae_vectorElS1_PNS_8ae_stateE(ptr noundef %78, i64 noundef %1022, i64 noundef %1023, ptr noundef %40, i64 noundef %1024, ptr noundef %79, ptr noundef %1025)
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1026

1026:                                             ; preds = %1045, %1018
  %1027 = load i64, ptr %30, align 8, !tbaa !9
  %1028 = load i64, ptr %23, align 8, !tbaa !9
  %1029 = sub nsw i64 %1028, 1
  %1030 = icmp sle i64 %1027, %1029
  br i1 %1030, label %1031, label %1048

1031:                                             ; preds = %1026
  %1032 = load double, ptr %45, align 8, !tbaa !11
  %1033 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %1034 = load ptr, ptr %1033, align 8, !tbaa !17
  %1035 = load i64, ptr %30, align 8, !tbaa !9
  %1036 = getelementptr inbounds ptr, ptr %1034, i64 %1035
  %1037 = load ptr, ptr %1036, align 8, !tbaa !5
  %1038 = load i64, ptr %30, align 8, !tbaa !9
  %1039 = getelementptr inbounds double, ptr %1037, i64 %1038
  %1040 = load double, ptr %1039, align 8, !tbaa !11
  %1041 = load ptr, ptr %27, align 8, !tbaa !5
  %1042 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1040, ptr noundef %1041)
  %1043 = load ptr, ptr %27, align 8, !tbaa !5
  %1044 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1032, double noundef %1042, ptr noundef %1043)
  store double %1044, ptr %45, align 8, !tbaa !11
  br label %1045

1045:                                             ; preds = %1031
  %1046 = load i64, ptr %30, align 8, !tbaa !9
  %1047 = add nsw i64 %1046, 1
  store i64 %1047, ptr %30, align 8, !tbaa !9
  br label %1026, !llvm.loop !40

1048:                                             ; preds = %1026
  %1049 = load double, ptr %45, align 8, !tbaa !11
  %1050 = load ptr, ptr %27, align 8, !tbaa !5
  %1051 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %1049, double noundef 1.000000e+00, ptr noundef %1050)
  store double %1051, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1052

1052:                                             ; preds = %1079, %1048
  %1053 = load i64, ptr %30, align 8, !tbaa !9
  %1054 = load i64, ptr %23, align 8, !tbaa !9
  %1055 = sub nsw i64 %1054, 1
  %1056 = icmp sle i64 %1053, %1055
  br i1 %1056, label %1057, label %1082

1057:                                             ; preds = %1052
  %1058 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %1059 = load ptr, ptr %1058, align 8, !tbaa !17
  %1060 = load i64, ptr %30, align 8, !tbaa !9
  %1061 = getelementptr inbounds ptr, ptr %1059, i64 %1060
  %1062 = load ptr, ptr %1061, align 8, !tbaa !5
  %1063 = load i64, ptr %30, align 8, !tbaa !9
  %1064 = getelementptr inbounds double, ptr %1062, i64 %1063
  %1065 = load double, ptr %1064, align 8, !tbaa !11
  %1066 = load i64, ptr %23, align 8, !tbaa !9
  %1067 = mul nsw i64 10, %1066
  %1068 = sitofp i64 %1067 to double
  %1069 = fmul double %1068, 5.000000e-16
  %1070 = load double, ptr %45, align 8, !tbaa !11
  %1071 = call double @llvm.fmuladd.f64(double %1069, double %1070, double %1065)
  %1072 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %1073 = load ptr, ptr %1072, align 8, !tbaa !17
  %1074 = load i64, ptr %30, align 8, !tbaa !9
  %1075 = getelementptr inbounds ptr, ptr %1073, i64 %1074
  %1076 = load ptr, ptr %1075, align 8, !tbaa !5
  %1077 = load i64, ptr %30, align 8, !tbaa !9
  %1078 = getelementptr inbounds double, ptr %1076, i64 %1077
  store double %1071, ptr %1078, align 8, !tbaa !11
  br label %1079

1079:                                             ; preds = %1057
  %1080 = load i64, ptr %30, align 8, !tbaa !9
  %1081 = add nsw i64 %1080, 1
  store i64 %1081, ptr %30, align 8, !tbaa !9
  br label %1052, !llvm.loop !41

1082:                                             ; preds = %1052
  %1083 = load i64, ptr %23, align 8, !tbaa !9
  %1084 = load i64, ptr %67, align 8, !tbaa !9
  %1085 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemvElldPNS_9ae_matrixElllPNS_9ae_vectorEldS3_lPNS_8ae_stateE(i64 noundef %1083, i64 noundef %1084, double noundef 1.000000e+00, ptr noundef %79, i64 noundef 0, i64 noundef 0, i64 noundef 0, ptr noundef %38, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %64, i64 noundef 0, ptr noundef %1085)
  %1086 = load i64, ptr %23, align 8, !tbaa !9
  %1087 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1086, ptr noundef %78, i64 noundef 0, i64 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i64 noundef 1, ptr noundef %64, i64 noundef 0, ptr noundef %1087)
  %1088 = load i64, ptr %23, align 8, !tbaa !9
  %1089 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1088, ptr noundef %78, i64 noundef 0, i64 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i64 noundef 0, ptr noundef %64, i64 noundef 0, ptr noundef %1089)
  %1090 = load i64, ptr %67, align 8, !tbaa !9
  %1091 = load i64, ptr %23, align 8, !tbaa !9
  %1092 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemvElldPNS_9ae_matrixElllPNS_9ae_vectorEldS3_lPNS_8ae_stateE(i64 noundef %1090, i64 noundef %1091, double noundef -1.000000e+00, ptr noundef %79, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %64, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %37, i64 noundef 0, ptr noundef %1092)
  br label %1182

1093:                                             ; preds = %1014
  %1094 = load i64, ptr %23, align 8, !tbaa !9
  %1095 = load i64, ptr %67, align 8, !tbaa !9
  %1096 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl9rmatrixqrEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %78, i64 noundef %1094, i64 noundef %1095, ptr noundef %40, ptr noundef %1096)
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1097

1097:                                             ; preds = %1116, %1093
  %1098 = load i64, ptr %30, align 8, !tbaa !9
  %1099 = load i64, ptr %67, align 8, !tbaa !9
  %1100 = sub nsw i64 %1099, 1
  %1101 = icmp sle i64 %1098, %1100
  br i1 %1101, label %1102, label %1119

1102:                                             ; preds = %1097
  %1103 = load double, ptr %45, align 8, !tbaa !11
  %1104 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %1105 = load ptr, ptr %1104, align 8, !tbaa !17
  %1106 = load i64, ptr %30, align 8, !tbaa !9
  %1107 = getelementptr inbounds ptr, ptr %1105, i64 %1106
  %1108 = load ptr, ptr %1107, align 8, !tbaa !5
  %1109 = load i64, ptr %30, align 8, !tbaa !9
  %1110 = getelementptr inbounds double, ptr %1108, i64 %1109
  %1111 = load double, ptr %1110, align 8, !tbaa !11
  %1112 = load ptr, ptr %27, align 8, !tbaa !5
  %1113 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1111, ptr noundef %1112)
  %1114 = load ptr, ptr %27, align 8, !tbaa !5
  %1115 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1103, double noundef %1113, ptr noundef %1114)
  store double %1115, ptr %45, align 8, !tbaa !11
  br label %1116

1116:                                             ; preds = %1102
  %1117 = load i64, ptr %30, align 8, !tbaa !9
  %1118 = add nsw i64 %1117, 1
  store i64 %1118, ptr %30, align 8, !tbaa !9
  br label %1097, !llvm.loop !42

1119:                                             ; preds = %1097
  %1120 = load double, ptr %45, align 8, !tbaa !11
  %1121 = load ptr, ptr %27, align 8, !tbaa !5
  %1122 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %1120, double noundef 1.000000e+00, ptr noundef %1121)
  store double %1122, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1123

1123:                                             ; preds = %1165, %1119
  %1124 = load i64, ptr %30, align 8, !tbaa !9
  %1125 = load i64, ptr %67, align 8, !tbaa !9
  %1126 = sub nsw i64 %1125, 1
  %1127 = icmp sle i64 %1124, %1126
  br i1 %1127, label %1128, label %1168

1128:                                             ; preds = %1123
  %1129 = load i64, ptr %67, align 8, !tbaa !9
  %1130 = mul nsw i64 10, %1129
  %1131 = sitofp i64 %1130 to double
  %1132 = fmul double %1131, 5.000000e-16
  %1133 = load double, ptr %45, align 8, !tbaa !11
  %1134 = fmul double %1132, %1133
  store double %1134, ptr %46, align 8, !tbaa !11
  %1135 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %1136 = load ptr, ptr %1135, align 8, !tbaa !17
  %1137 = load i64, ptr %30, align 8, !tbaa !9
  %1138 = getelementptr inbounds ptr, ptr %1136, i64 %1137
  %1139 = load ptr, ptr %1138, align 8, !tbaa !5
  %1140 = load i64, ptr %30, align 8, !tbaa !9
  %1141 = getelementptr inbounds double, ptr %1139, i64 %1140
  %1142 = load double, ptr %1141, align 8, !tbaa !11
  %1143 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1142, double noundef 0.000000e+00)
  br i1 %1143, label %1144, label %1147

1144:                                             ; preds = %1128
  %1145 = load double, ptr %46, align 8, !tbaa !11
  %1146 = fneg double %1145
  store double %1146, ptr %46, align 8, !tbaa !11
  br label %1147

1147:                                             ; preds = %1144, %1128
  %1148 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %1149 = load ptr, ptr %1148, align 8, !tbaa !17
  %1150 = load i64, ptr %30, align 8, !tbaa !9
  %1151 = getelementptr inbounds ptr, ptr %1149, i64 %1150
  %1152 = load ptr, ptr %1151, align 8, !tbaa !5
  %1153 = load i64, ptr %30, align 8, !tbaa !9
  %1154 = getelementptr inbounds double, ptr %1152, i64 %1153
  %1155 = load double, ptr %1154, align 8, !tbaa !11
  %1156 = load double, ptr %46, align 8, !tbaa !11
  %1157 = fadd double %1155, %1156
  %1158 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %1159 = load ptr, ptr %1158, align 8, !tbaa !17
  %1160 = load i64, ptr %30, align 8, !tbaa !9
  %1161 = getelementptr inbounds ptr, ptr %1159, i64 %1160
  %1162 = load ptr, ptr %1161, align 8, !tbaa !5
  %1163 = load i64, ptr %30, align 8, !tbaa !9
  %1164 = getelementptr inbounds double, ptr %1162, i64 %1163
  store double %1157, ptr %1164, align 8, !tbaa !11
  br label %1165

1165:                                             ; preds = %1147
  %1166 = load i64, ptr %30, align 8, !tbaa !9
  %1167 = add nsw i64 %1166, 1
  store i64 %1167, ptr %30, align 8, !tbaa !9
  br label %1123, !llvm.loop !43

1168:                                             ; preds = %1123
  %1169 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1170 = load ptr, ptr %1169, align 8, !tbaa !17
  %1171 = getelementptr inbounds double, ptr %1170, i64 0
  %1172 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %1173 = load ptr, ptr %1172, align 8, !tbaa !17
  %1174 = getelementptr inbounds double, ptr %1173, i64 0
  %1175 = load i64, ptr %67, align 8, !tbaa !9
  %1176 = sub nsw i64 %1175, 1
  %1177 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1176)
  call void @_ZN11alglib_impl12ae_v_movenegEPdlPKdll(ptr noundef %1171, i64 noundef 1, ptr noundef %1174, i64 noundef 1, i64 noundef %1177)
  %1178 = load i64, ptr %67, align 8, !tbaa !9
  %1179 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1178, ptr noundef %78, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, i1 noundef zeroext false, i64 noundef 1, ptr noundef %37, i64 noundef 0, ptr noundef %1179)
  %1180 = load i64, ptr %67, align 8, !tbaa !9
  %1181 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1180, ptr noundef %78, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, i1 noundef zeroext false, i64 noundef 0, ptr noundef %37, i64 noundef 0, ptr noundef %1181)
  br label %1182

1182:                                             ; preds = %1168, %1082
  %1183 = load i64, ptr %20, align 8, !tbaa !9
  %1184 = load i64, ptr %21, align 8, !tbaa !9
  %1185 = add nsw i64 %1183, %1184
  %1186 = sub nsw i64 %1185, 1
  store i64 %1186, ptr %31, align 8, !tbaa !9
  br label %1187

1187:                                             ; preds = %1225, %1182
  %1188 = load i64, ptr %31, align 8, !tbaa !9
  %1189 = icmp sge i64 %1188, 0
  br i1 %1189, label %1190, label %1228

1190:                                             ; preds = %1187
  %1191 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %1192 = load ptr, ptr %1191, align 8, !tbaa !17
  %1193 = load i64, ptr %31, align 8, !tbaa !9
  %1194 = getelementptr inbounds i64, ptr %1192, i64 %1193
  %1195 = load i64, ptr %1194, align 8, !tbaa !9
  %1196 = load i64, ptr %31, align 8, !tbaa !9
  %1197 = icmp ne i64 %1195, %1196
  br i1 %1197, label %1198, label %1224

1198:                                             ; preds = %1190
  %1199 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %1200 = load ptr, ptr %1199, align 8, !tbaa !17
  %1201 = load i64, ptr %31, align 8, !tbaa !9
  %1202 = getelementptr inbounds i64, ptr %1200, i64 %1201
  %1203 = load i64, ptr %1202, align 8, !tbaa !9
  store i64 %1203, ptr %32, align 8, !tbaa !9
  %1204 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %1204, ptr %33, align 8, !tbaa !9
  %1205 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1206 = load ptr, ptr %1205, align 8, !tbaa !17
  %1207 = load i64, ptr %32, align 8, !tbaa !9
  %1208 = getelementptr inbounds double, ptr %1206, i64 %1207
  %1209 = load double, ptr %1208, align 8, !tbaa !11
  store double %1209, ptr %45, align 8, !tbaa !11
  %1210 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1211 = load ptr, ptr %1210, align 8, !tbaa !17
  %1212 = load i64, ptr %33, align 8, !tbaa !9
  %1213 = getelementptr inbounds double, ptr %1211, i64 %1212
  %1214 = load double, ptr %1213, align 8, !tbaa !11
  %1215 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1216 = load ptr, ptr %1215, align 8, !tbaa !17
  %1217 = load i64, ptr %32, align 8, !tbaa !9
  %1218 = getelementptr inbounds double, ptr %1216, i64 %1217
  store double %1214, ptr %1218, align 8, !tbaa !11
  %1219 = load double, ptr %45, align 8, !tbaa !11
  %1220 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1221 = load ptr, ptr %1220, align 8, !tbaa !17
  %1222 = load i64, ptr %33, align 8, !tbaa !9
  %1223 = getelementptr inbounds double, ptr %1221, i64 %1222
  store double %1219, ptr %1223, align 8, !tbaa !11
  br label %1224

1224:                                             ; preds = %1198, %1190
  br label %1225

1225:                                             ; preds = %1224
  %1226 = load i64, ptr %31, align 8, !tbaa !9
  %1227 = add nsw i64 %1226, -1
  store i64 %1227, ptr %31, align 8, !tbaa !9
  br label %1187, !llvm.loop !44

1228:                                             ; preds = %1187
  %1229 = load ptr, ptr %15, align 8, !tbaa !5
  %1230 = load ptr, ptr %16, align 8, !tbaa !5
  %1231 = load ptr, ptr %17, align 8, !tbaa !5
  %1232 = load ptr, ptr %18, align 8, !tbaa !5
  %1233 = load ptr, ptr %19, align 8, !tbaa !5
  %1234 = load i64, ptr %20, align 8, !tbaa !9
  %1235 = load i64, ptr %21, align 8, !tbaa !9
  %1236 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl18calculatestepboundEPNS_9ae_vectorES1_dS1_S1_S1_S1_llPlPdS3_PNS_8ae_stateE(ptr noundef %1229, ptr noundef %37, double noundef 1.000000e+00, ptr noundef %1230, ptr noundef %1231, ptr noundef %1232, ptr noundef %1233, i64 noundef %1234, i64 noundef %1235, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %1236)
  %1237 = load i64, ptr %57, align 8, !tbaa !9
  %1238 = icmp sge i64 %1237, 0
  br i1 %1238, label %1239, label %1243

1239:                                             ; preds = %1228
  %1240 = load double, ptr %59, align 8, !tbaa !11
  %1241 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1240, double noundef 0.000000e+00)
  br i1 %1241, label %1242, label %1243

1242:                                             ; preds = %1239
  br label %1445

1243:                                             ; preds = %1239, %1228
  %1244 = load i64, ptr %57, align 8, !tbaa !9
  %1245 = icmp sge i64 %1244, 0
  br i1 %1245, label %1246, label %1250

1246:                                             ; preds = %1243
  %1247 = load double, ptr %59, align 8, !tbaa !11
  %1248 = load ptr, ptr %27, align 8, !tbaa !5
  %1249 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef 1.000000e+00, double noundef %1247, ptr noundef %1248)
  store double %1249, ptr %45, align 8, !tbaa !11
  br label %1251

1250:                                             ; preds = %1243
  store double 1.000000e+00, ptr %45, align 8, !tbaa !11
  br label %1251

1251:                                             ; preds = %1250, %1246
  %1252 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1253 = load ptr, ptr %1252, align 8, !tbaa !17
  %1254 = getelementptr inbounds double, ptr %1253, i64 0
  %1255 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1256 = load ptr, ptr %1255, align 8, !tbaa !17
  %1257 = getelementptr inbounds double, ptr %1256, i64 0
  %1258 = load i64, ptr %20, align 8, !tbaa !9
  %1259 = load i64, ptr %21, align 8, !tbaa !9
  %1260 = add nsw i64 %1258, %1259
  %1261 = sub nsw i64 %1260, 1
  %1262 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1261)
  %1263 = load double, ptr %45, align 8, !tbaa !11
  call void @_ZN11alglib_impl10ae_v_movedEPdlPKdlld(ptr noundef %1254, i64 noundef 1, ptr noundef %1257, i64 noundef 1, i64 noundef %1262, double noundef %1263)
  %1264 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1265 = load ptr, ptr %1264, align 8, !tbaa !17
  %1266 = getelementptr inbounds double, ptr %1265, i64 0
  %1267 = load ptr, ptr %15, align 8, !tbaa !5
  %1268 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1267, i32 0, i32 4
  %1269 = load ptr, ptr %1268, align 8, !tbaa !17
  %1270 = getelementptr inbounds double, ptr %1269, i64 0
  %1271 = load i64, ptr %20, align 8, !tbaa !9
  %1272 = load i64, ptr %21, align 8, !tbaa !9
  %1273 = add nsw i64 %1271, %1272
  %1274 = sub nsw i64 %1273, 1
  %1275 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1274)
  call void @_ZN11alglib_impl8ae_v_addEPdlPKdll(ptr noundef %1266, i64 noundef 1, ptr noundef %1270, i64 noundef 1, i64 noundef %1275)
  %1276 = load ptr, ptr %15, align 8, !tbaa !5
  %1277 = load ptr, ptr %16, align 8, !tbaa !5
  %1278 = load ptr, ptr %17, align 8, !tbaa !5
  %1279 = load ptr, ptr %18, align 8, !tbaa !5
  %1280 = load ptr, ptr %19, align 8, !tbaa !5
  %1281 = load i64, ptr %20, align 8, !tbaa !9
  %1282 = load i64, ptr %21, align 8, !tbaa !9
  %1283 = load i64, ptr %57, align 8, !tbaa !9
  %1284 = load double, ptr %58, align 8, !tbaa !11
  %1285 = load double, ptr %45, align 8, !tbaa !11
  %1286 = load double, ptr %59, align 8, !tbaa !11
  %1287 = load ptr, ptr %27, align 8, !tbaa !5
  %1288 = call noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorES1_S1_S1_S1_S1_llldddPNS_8ae_stateE(ptr noundef %35, ptr noundef %1276, ptr noundef %1277, ptr noundef %1278, ptr noundef %1279, ptr noundef %1280, i64 noundef %1281, i64 noundef %1282, i64 noundef %1283, double noundef %1284, double noundef %1285, double noundef %1286, ptr noundef %1287)
  %1289 = load double, ptr %59, align 8, !tbaa !11
  %1290 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1289, double noundef 0.000000e+00)
  br i1 %1290, label %1291, label %1390

1291:                                             ; preds = %1251
  %1292 = load double, ptr %59, align 8, !tbaa !11
  %1293 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1292, double noundef 1.000000e+00)
  br i1 %1293, label %1294, label %1390

1294:                                             ; preds = %1291
  store double 0.000000e+00, ptr %43, align 8, !tbaa !11
  %1295 = load ptr, ptr %22, align 8, !tbaa !5
  %1296 = load i64, ptr %20, align 8, !tbaa !9
  %1297 = load i64, ptr %21, align 8, !tbaa !9
  %1298 = load i64, ptr %23, align 8, !tbaa !9
  %1299 = load ptr, ptr %27, align 8, !tbaa !5
  %1300 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef %1295, ptr noundef %35, i64 noundef %1296, i64 noundef %1297, i64 noundef %1298, ptr noundef %64, ptr noundef %1299)
  store double %1300, ptr %44, align 8, !tbaa !11
  %1301 = load double, ptr %59, align 8, !tbaa !11
  %1302 = fsub double 1.000000e+00, %1301
  store double %1302, ptr %42, align 8, !tbaa !11
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %1303

1303:                                             ; preds = %1355, %1294
  %1304 = load i64, ptr %31, align 8, !tbaa !9
  %1305 = load i64, ptr %77, align 8, !tbaa !9
  %1306 = sub nsw i64 %1305, 1
  %1307 = icmp sle i64 %1304, %1306
  br i1 %1307, label %1308, label %1358

1308:                                             ; preds = %1303
  %1309 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %1310 = load ptr, ptr %1309, align 8, !tbaa !17
  %1311 = getelementptr inbounds double, ptr %1310, i64 0
  %1312 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1313 = load ptr, ptr %1312, align 8, !tbaa !17
  %1314 = getelementptr inbounds double, ptr %1313, i64 0
  %1315 = load i64, ptr %20, align 8, !tbaa !9
  %1316 = load i64, ptr %21, align 8, !tbaa !9
  %1317 = add nsw i64 %1315, %1316
  %1318 = sub nsw i64 %1317, 1
  %1319 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1318)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1311, i64 noundef 1, ptr noundef %1314, i64 noundef 1, i64 noundef %1319)
  %1320 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %1321 = load ptr, ptr %1320, align 8, !tbaa !17
  %1322 = getelementptr inbounds double, ptr %1321, i64 0
  %1323 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1324 = load ptr, ptr %1323, align 8, !tbaa !17
  %1325 = getelementptr inbounds double, ptr %1324, i64 0
  %1326 = load i64, ptr %20, align 8, !tbaa !9
  %1327 = load i64, ptr %21, align 8, !tbaa !9
  %1328 = add nsw i64 %1326, %1327
  %1329 = sub nsw i64 %1328, 1
  %1330 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1329)
  %1331 = load double, ptr %42, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %1322, i64 noundef 1, ptr noundef %1325, i64 noundef 1, i64 noundef %1330, double noundef %1331)
  %1332 = load ptr, ptr %16, align 8, !tbaa !5
  %1333 = load ptr, ptr %17, align 8, !tbaa !5
  %1334 = load ptr, ptr %18, align 8, !tbaa !5
  %1335 = load ptr, ptr %19, align 8, !tbaa !5
  %1336 = load i64, ptr %20, align 8, !tbaa !9
  %1337 = load i64, ptr %21, align 8, !tbaa !9
  %1338 = load ptr, ptr %27, align 8, !tbaa !5
  %1339 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %36, ptr noundef %1332, ptr noundef %1333, ptr noundef %1334, ptr noundef %1335, i64 noundef %1336, i64 noundef %1337, ptr noundef %1338)
  %1340 = load ptr, ptr %22, align 8, !tbaa !5
  %1341 = load i64, ptr %20, align 8, !tbaa !9
  %1342 = load i64, ptr %21, align 8, !tbaa !9
  %1343 = load i64, ptr %23, align 8, !tbaa !9
  %1344 = load ptr, ptr %27, align 8, !tbaa !5
  %1345 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef %1340, ptr noundef %36, i64 noundef %1341, i64 noundef %1342, i64 noundef %1343, ptr noundef %64, ptr noundef %1344)
  store double %1345, ptr %48, align 8, !tbaa !11
  %1346 = load double, ptr %48, align 8, !tbaa !11
  %1347 = load double, ptr %44, align 8, !tbaa !11
  %1348 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1346, double noundef %1347)
  br i1 %1348, label %1349, label %1352

1349:                                             ; preds = %1308
  %1350 = load double, ptr %48, align 8, !tbaa !11
  store double %1350, ptr %44, align 8, !tbaa !11
  %1351 = load double, ptr %42, align 8, !tbaa !11
  store double %1351, ptr %43, align 8, !tbaa !11
  br label %1352

1352:                                             ; preds = %1349, %1308
  %1353 = load double, ptr %42, align 8, !tbaa !11
  %1354 = fmul double 5.000000e-01, %1353
  store double %1354, ptr %42, align 8, !tbaa !11
  br label %1355

1355:                                             ; preds = %1352
  %1356 = load i64, ptr %31, align 8, !tbaa !9
  %1357 = add nsw i64 %1356, 1
  store i64 %1357, ptr %31, align 8, !tbaa !9
  br label %1303, !llvm.loop !45

1358:                                             ; preds = %1303
  %1359 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %1360 = load ptr, ptr %1359, align 8, !tbaa !17
  %1361 = getelementptr inbounds double, ptr %1360, i64 0
  %1362 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1363 = load ptr, ptr %1362, align 8, !tbaa !17
  %1364 = getelementptr inbounds double, ptr %1363, i64 0
  %1365 = load i64, ptr %20, align 8, !tbaa !9
  %1366 = load i64, ptr %21, align 8, !tbaa !9
  %1367 = add nsw i64 %1365, %1366
  %1368 = sub nsw i64 %1367, 1
  %1369 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1368)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1361, i64 noundef 1, ptr noundef %1364, i64 noundef 1, i64 noundef %1369)
  %1370 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %1371 = load ptr, ptr %1370, align 8, !tbaa !17
  %1372 = getelementptr inbounds double, ptr %1371, i64 0
  %1373 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1374 = load ptr, ptr %1373, align 8, !tbaa !17
  %1375 = getelementptr inbounds double, ptr %1374, i64 0
  %1376 = load i64, ptr %20, align 8, !tbaa !9
  %1377 = load i64, ptr %21, align 8, !tbaa !9
  %1378 = add nsw i64 %1376, %1377
  %1379 = sub nsw i64 %1378, 1
  %1380 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1379)
  %1381 = load double, ptr %43, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %1372, i64 noundef 1, ptr noundef %1375, i64 noundef 1, i64 noundef %1380, double noundef %1381)
  %1382 = load ptr, ptr %16, align 8, !tbaa !5
  %1383 = load ptr, ptr %17, align 8, !tbaa !5
  %1384 = load ptr, ptr %18, align 8, !tbaa !5
  %1385 = load ptr, ptr %19, align 8, !tbaa !5
  %1386 = load i64, ptr %20, align 8, !tbaa !9
  %1387 = load i64, ptr %21, align 8, !tbaa !9
  %1388 = load ptr, ptr %27, align 8, !tbaa !5
  %1389 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %36, ptr noundef %1382, ptr noundef %1383, ptr noundef %1384, ptr noundef %1385, i64 noundef %1386, i64 noundef %1387, ptr noundef %1388)
  br label %1402

1390:                                             ; preds = %1291, %1251
  %1391 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %1392 = load ptr, ptr %1391, align 8, !tbaa !17
  %1393 = getelementptr inbounds double, ptr %1392, i64 0
  %1394 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1395 = load ptr, ptr %1394, align 8, !tbaa !17
  %1396 = getelementptr inbounds double, ptr %1395, i64 0
  %1397 = load i64, ptr %20, align 8, !tbaa !9
  %1398 = load i64, ptr %21, align 8, !tbaa !9
  %1399 = add nsw i64 %1397, %1398
  %1400 = sub nsw i64 %1399, 1
  %1401 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1400)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1393, i64 noundef 1, ptr noundef %1396, i64 noundef 1, i64 noundef %1401)
  br label %1402

1402:                                             ; preds = %1390, %1358
  %1403 = load double, ptr %59, align 8, !tbaa !11
  %1404 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %1403, double noundef 1.000000e+00)
  br i1 %1404, label %1408, label %1405

1405:                                             ; preds = %1402
  %1406 = load double, ptr %59, align 8, !tbaa !11
  %1407 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1406, double noundef 0.000000e+00)
  br label %1408

1408:                                             ; preds = %1405, %1402
  %1409 = phi i1 [ true, %1402 ], [ %1407, %1405 ]
  %1410 = zext i1 %1409 to i8
  store i8 %1410, ptr %61, align 1, !tbaa !13
  %1411 = load ptr, ptr %22, align 8, !tbaa !5
  %1412 = load ptr, ptr %15, align 8, !tbaa !5
  %1413 = load i64, ptr %20, align 8, !tbaa !9
  %1414 = load i64, ptr %21, align 8, !tbaa !9
  %1415 = load i64, ptr %23, align 8, !tbaa !9
  %1416 = load ptr, ptr %27, align 8, !tbaa !5
  %1417 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef %1411, ptr noundef %1412, i64 noundef %1413, i64 noundef %1414, i64 noundef %1415, ptr noundef %64, ptr noundef %1416)
  store double %1417, ptr %51, align 8, !tbaa !11
  %1418 = load ptr, ptr %22, align 8, !tbaa !5
  %1419 = load i64, ptr %20, align 8, !tbaa !9
  %1420 = load i64, ptr %21, align 8, !tbaa !9
  %1421 = load i64, ptr %23, align 8, !tbaa !9
  %1422 = load ptr, ptr %27, align 8, !tbaa !5
  %1423 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef %1418, ptr noundef %36, i64 noundef %1419, i64 noundef %1420, i64 noundef %1421, ptr noundef %64, ptr noundef %1422)
  store double %1423, ptr %52, align 8, !tbaa !11
  %1424 = load double, ptr %52, align 8, !tbaa !11
  %1425 = load double, ptr %51, align 8, !tbaa !11
  %1426 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %1424, double noundef %1425)
  br i1 %1426, label %1427, label %1428

1427:                                             ; preds = %1408
  br label %1445

1428:                                             ; preds = %1408
  %1429 = load ptr, ptr %15, align 8, !tbaa !5
  %1430 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1429, i32 0, i32 4
  %1431 = load ptr, ptr %1430, align 8, !tbaa !17
  %1432 = getelementptr inbounds double, ptr %1431, i64 0
  %1433 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %1434 = load ptr, ptr %1433, align 8, !tbaa !17
  %1435 = getelementptr inbounds double, ptr %1434, i64 0
  %1436 = load i64, ptr %20, align 8, !tbaa !9
  %1437 = load i64, ptr %21, align 8, !tbaa !9
  %1438 = add nsw i64 %1436, %1437
  %1439 = sub nsw i64 %1438, 1
  %1440 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1439)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1432, i64 noundef 1, ptr noundef %1435, i64 noundef 1, i64 noundef %1440)
  %1441 = load i8, ptr %61, align 1, !tbaa !13, !range !15, !noundef !16
  %1442 = trunc i8 %1441 to i1
  br i1 %1442, label %1443, label %1444

1443:                                             ; preds = %1428
  br label %1445

1444:                                             ; preds = %1428
  br label %378, !llvm.loop !46

1445:                                             ; preds = %1443, %1427, %1242, %758, %547, %532
  store i8 0, ptr %60, align 1, !tbaa !13
  store i64 1, ptr %76, align 8, !tbaa !9
  br label %1446

1446:                                             ; preds = %1695, %1445
  %1447 = load i64, ptr %76, align 8, !tbaa !9
  %1448 = load i64, ptr %23, align 8, !tbaa !9
  %1449 = icmp sle i64 %1447, %1448
  br i1 %1449, label %1450, label %1698

1450:                                             ; preds = %1446
  %1451 = load ptr, ptr %22, align 8, !tbaa !5
  %1452 = load ptr, ptr %15, align 8, !tbaa !5
  %1453 = load i64, ptr %20, align 8, !tbaa !9
  %1454 = load i64, ptr %21, align 8, !tbaa !9
  %1455 = load i64, ptr %23, align 8, !tbaa !9
  %1456 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_implL28optserv_feasibilityerrorgradEPNS_9ae_matrixEPNS_9ae_vectorElllPdS3_S3_PNS_8ae_stateE(ptr noundef %1451, ptr noundef %1452, i64 noundef %1453, i64 noundef %1454, i64 noundef %1455, ptr noundef %48, ptr noundef %38, ptr noundef %64, ptr noundef %1456)
  %1457 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1458 = load ptr, ptr %1457, align 8, !tbaa !17
  %1459 = getelementptr inbounds double, ptr %1458, i64 0
  %1460 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %1461 = load ptr, ptr %1460, align 8, !tbaa !17
  %1462 = getelementptr inbounds double, ptr %1461, i64 0
  %1463 = load i64, ptr %20, align 8, !tbaa !9
  %1464 = load i64, ptr %21, align 8, !tbaa !9
  %1465 = add nsw i64 %1463, %1464
  %1466 = sub nsw i64 %1465, 1
  %1467 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1466)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1459, i64 noundef 1, ptr noundef %1462, i64 noundef 1, i64 noundef %1467)
  %1468 = load ptr, ptr %15, align 8, !tbaa !5
  %1469 = load ptr, ptr %16, align 8, !tbaa !5
  %1470 = load ptr, ptr %17, align 8, !tbaa !5
  %1471 = load ptr, ptr %18, align 8, !tbaa !5
  %1472 = load ptr, ptr %19, align 8, !tbaa !5
  %1473 = load i64, ptr %20, align 8, !tbaa !9
  %1474 = load i64, ptr %21, align 8, !tbaa !9
  %1475 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl21projectgradientintobcEPNS_9ae_vectorES1_S1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %1468, ptr noundef %39, ptr noundef %1469, ptr noundef %1470, ptr noundef %1471, ptr noundef %1472, i64 noundef %1473, i64 noundef %1474, ptr noundef %1475)
  %1476 = load ptr, ptr %15, align 8, !tbaa !5
  %1477 = load ptr, ptr %16, align 8, !tbaa !5
  %1478 = load ptr, ptr %17, align 8, !tbaa !5
  %1479 = load ptr, ptr %18, align 8, !tbaa !5
  %1480 = load ptr, ptr %19, align 8, !tbaa !5
  %1481 = load i64, ptr %20, align 8, !tbaa !9
  %1482 = load i64, ptr %21, align 8, !tbaa !9
  %1483 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl15filterdirectionEPNS_9ae_vectorES1_S1_S1_S1_S1_S1_lldPNS_8ae_stateE(ptr noundef %39, ptr noundef %1476, ptr noundef %1477, ptr noundef %1478, ptr noundef %1479, ptr noundef %1480, ptr noundef %41, i64 noundef %1481, i64 noundef %1482, double noundef 1.000000e-09, ptr noundef %1483)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1484

1484:                                             ; preds = %1524, %1450
  %1485 = load i64, ptr %30, align 8, !tbaa !9
  %1486 = load i64, ptr %20, align 8, !tbaa !9
  %1487 = load i64, ptr %21, align 8, !tbaa !9
  %1488 = add nsw i64 %1486, %1487
  %1489 = sub nsw i64 %1488, 1
  %1490 = icmp sle i64 %1485, %1489
  br i1 %1490, label %1491, label %1527

1491:                                             ; preds = %1484
  %1492 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %1493 = load ptr, ptr %1492, align 8, !tbaa !17
  %1494 = load i64, ptr %30, align 8, !tbaa !9
  %1495 = getelementptr inbounds double, ptr %1493, i64 %1494
  %1496 = load double, ptr %1495, align 8, !tbaa !11
  %1497 = load ptr, ptr %27, align 8, !tbaa !5
  %1498 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1496, ptr noundef %1497)
  %1499 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1498, double noundef 0.000000e+00)
  br i1 %1499, label %1500, label %1518

1500:                                             ; preds = %1491
  %1501 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1502 = load ptr, ptr %1501, align 8, !tbaa !17
  %1503 = load i64, ptr %30, align 8, !tbaa !9
  %1504 = getelementptr inbounds double, ptr %1502, i64 %1503
  %1505 = load double, ptr %1504, align 8, !tbaa !11
  %1506 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %1507 = load ptr, ptr %1506, align 8, !tbaa !17
  %1508 = load i64, ptr %30, align 8, !tbaa !9
  %1509 = getelementptr inbounds double, ptr %1507, i64 %1508
  %1510 = load double, ptr %1509, align 8, !tbaa !11
  %1511 = load ptr, ptr %27, align 8, !tbaa !5
  %1512 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1510, ptr noundef %1511)
  %1513 = fdiv double %1505, %1512
  %1514 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1515 = load ptr, ptr %1514, align 8, !tbaa !17
  %1516 = load i64, ptr %30, align 8, !tbaa !9
  %1517 = getelementptr inbounds double, ptr %1515, i64 %1516
  store double %1513, ptr %1517, align 8, !tbaa !11
  br label %1523

1518:                                             ; preds = %1491
  %1519 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1520 = load ptr, ptr %1519, align 8, !tbaa !17
  %1521 = load i64, ptr %30, align 8, !tbaa !9
  %1522 = getelementptr inbounds double, ptr %1520, i64 %1521
  store double 0.000000e+00, ptr %1522, align 8, !tbaa !11
  br label %1523

1523:                                             ; preds = %1518, %1500
  br label %1524

1524:                                             ; preds = %1523
  %1525 = load i64, ptr %30, align 8, !tbaa !9
  %1526 = add nsw i64 %1525, 1
  store i64 %1526, ptr %30, align 8, !tbaa !9
  br label %1484, !llvm.loop !47

1527:                                             ; preds = %1484
  %1528 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1529 = load ptr, ptr %1528, align 8, !tbaa !17
  %1530 = getelementptr inbounds double, ptr %1529, i64 0
  %1531 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1532 = load ptr, ptr %1531, align 8, !tbaa !17
  %1533 = getelementptr inbounds double, ptr %1532, i64 0
  %1534 = load i64, ptr %20, align 8, !tbaa !9
  %1535 = load i64, ptr %21, align 8, !tbaa !9
  %1536 = add nsw i64 %1534, %1535
  %1537 = sub nsw i64 %1536, 1
  %1538 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1537)
  %1539 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %1530, i64 noundef 1, ptr noundef %1533, i64 noundef 1, i64 noundef %1538)
  store double %1539, ptr %53, align 8, !tbaa !11
  %1540 = load double, ptr %53, align 8, !tbaa !11
  %1541 = load ptr, ptr %27, align 8, !tbaa !5
  %1542 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %1540, ptr noundef %1541)
  store double %1542, ptr %53, align 8, !tbaa !11
  %1543 = load double, ptr %53, align 8, !tbaa !11
  %1544 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1543, double noundef 0.000000e+00)
  br i1 %1544, label %1545, label %1553

1545:                                             ; preds = %1527
  %1546 = load double, ptr %48, align 8, !tbaa !11
  %1547 = load double, ptr %24, align 8, !tbaa !11
  %1548 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %1546, double noundef %1547)
  %1549 = zext i1 %1548 to i8
  store i8 %1549, ptr %80, align 1, !tbaa !13
  %1550 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1550)
  %1551 = load i8, ptr %80, align 1, !tbaa !13, !range !15, !noundef !16
  %1552 = trunc i8 %1551 to i1
  store i1 %1552, ptr %14, align 1
  store i32 1, ptr %81, align 4
  br label %1752

1553:                                             ; preds = %1527
  %1554 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %1555 = load ptr, ptr %1554, align 8, !tbaa !17
  %1556 = getelementptr inbounds double, ptr %1555, i64 0
  %1557 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1558 = load ptr, ptr %1557, align 8, !tbaa !17
  %1559 = getelementptr inbounds double, ptr %1558, i64 0
  %1560 = load i64, ptr %20, align 8, !tbaa !9
  %1561 = load i64, ptr %21, align 8, !tbaa !9
  %1562 = add nsw i64 %1560, %1561
  %1563 = sub nsw i64 %1562, 1
  %1564 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1563)
  %1565 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %1556, i64 noundef 1, ptr noundef %1559, i64 noundef 1, i64 noundef %1564)
  store double %1565, ptr %54, align 8, !tbaa !11
  store double 0.000000e+00, ptr %55, align 8, !tbaa !11
  %1566 = load i64, ptr %23, align 8, !tbaa !9
  %1567 = load i64, ptr %20, align 8, !tbaa !9
  %1568 = load i64, ptr %21, align 8, !tbaa !9
  %1569 = add nsw i64 %1567, %1568
  %1570 = load ptr, ptr %22, align 8, !tbaa !5
  %1571 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemvElldPNS_9ae_matrixElllPNS_9ae_vectorEldS3_lPNS_8ae_stateE(i64 noundef %1566, i64 noundef %1569, double noundef 1.000000e+00, ptr noundef %1570, i64 noundef 0, i64 noundef 0, i64 noundef 0, ptr noundef %39, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %64, i64 noundef 0, ptr noundef %1571)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1572

1572:                                             ; preds = %1587, %1553
  %1573 = load i64, ptr %30, align 8, !tbaa !9
  %1574 = load i64, ptr %23, align 8, !tbaa !9
  %1575 = sub nsw i64 %1574, 1
  %1576 = icmp sle i64 %1573, %1575
  br i1 %1576, label %1577, label %1590

1577:                                             ; preds = %1572
  %1578 = load double, ptr %55, align 8, !tbaa !11
  %1579 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %64, i32 0, i32 4
  %1580 = load ptr, ptr %1579, align 8, !tbaa !17
  %1581 = load i64, ptr %30, align 8, !tbaa !9
  %1582 = getelementptr inbounds double, ptr %1580, i64 %1581
  %1583 = load double, ptr %1582, align 8, !tbaa !11
  %1584 = load ptr, ptr %27, align 8, !tbaa !5
  %1585 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1583, ptr noundef %1584)
  %1586 = fadd double %1578, %1585
  store double %1586, ptr %55, align 8, !tbaa !11
  br label %1587

1587:                                             ; preds = %1577
  %1588 = load i64, ptr %30, align 8, !tbaa !9
  %1589 = add nsw i64 %1588, 1
  store i64 %1589, ptr %30, align 8, !tbaa !9
  br label %1572, !llvm.loop !48

1590:                                             ; preds = %1572
  %1591 = load double, ptr %54, align 8, !tbaa !11
  %1592 = load double, ptr %55, align 8, !tbaa !11
  %1593 = fdiv double %1591, %1592
  store double %1593, ptr %56, align 8, !tbaa !11
  %1594 = load ptr, ptr %15, align 8, !tbaa !5
  %1595 = load ptr, ptr %16, align 8, !tbaa !5
  %1596 = load ptr, ptr %17, align 8, !tbaa !5
  %1597 = load ptr, ptr %18, align 8, !tbaa !5
  %1598 = load ptr, ptr %19, align 8, !tbaa !5
  %1599 = load i64, ptr %20, align 8, !tbaa !9
  %1600 = load i64, ptr %21, align 8, !tbaa !9
  %1601 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl18calculatestepboundEPNS_9ae_vectorES1_dS1_S1_S1_S1_llPlPdS3_PNS_8ae_stateE(ptr noundef %1594, ptr noundef %39, double noundef -1.000000e+00, ptr noundef %1595, ptr noundef %1596, ptr noundef %1597, ptr noundef %1598, i64 noundef %1599, i64 noundef %1600, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %1601)
  %1602 = load i64, ptr %57, align 8, !tbaa !9
  %1603 = icmp sge i64 %1602, 0
  br i1 %1603, label %1604, label %1611

1604:                                             ; preds = %1590
  %1605 = load double, ptr %59, align 8, !tbaa !11
  %1606 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1605, double noundef 0.000000e+00)
  br i1 %1606, label %1607, label %1611

1607:                                             ; preds = %1604
  store i8 0, ptr %80, align 1, !tbaa !13
  %1608 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1608)
  %1609 = load i8, ptr %80, align 1, !tbaa !13, !range !15, !noundef !16
  %1610 = trunc i8 %1609 to i1
  store i1 %1610, ptr %14, align 1
  store i32 1, ptr %81, align 4
  br label %1752

1611:                                             ; preds = %1604, %1590
  %1612 = load i64, ptr %57, align 8, !tbaa !9
  %1613 = icmp sge i64 %1612, 0
  br i1 %1613, label %1614, label %1619

1614:                                             ; preds = %1611
  %1615 = load double, ptr %56, align 8, !tbaa !11
  %1616 = load double, ptr %59, align 8, !tbaa !11
  %1617 = load ptr, ptr %27, align 8, !tbaa !5
  %1618 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %1615, double noundef %1616, ptr noundef %1617)
  store double %1618, ptr %45, align 8, !tbaa !11
  br label %1621

1619:                                             ; preds = %1611
  %1620 = load double, ptr %56, align 8, !tbaa !11
  store double %1620, ptr %45, align 8, !tbaa !11
  br label %1621

1621:                                             ; preds = %1619, %1614
  %1622 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1623 = load ptr, ptr %1622, align 8, !tbaa !17
  %1624 = getelementptr inbounds double, ptr %1623, i64 0
  %1625 = load ptr, ptr %15, align 8, !tbaa !5
  %1626 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1625, i32 0, i32 4
  %1627 = load ptr, ptr %1626, align 8, !tbaa !17
  %1628 = getelementptr inbounds double, ptr %1627, i64 0
  %1629 = load i64, ptr %20, align 8, !tbaa !9
  %1630 = load i64, ptr %21, align 8, !tbaa !9
  %1631 = add nsw i64 %1629, %1630
  %1632 = sub nsw i64 %1631, 1
  %1633 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1632)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1624, i64 noundef 1, ptr noundef %1628, i64 noundef 1, i64 noundef %1633)
  %1634 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1635 = load ptr, ptr %1634, align 8, !tbaa !17
  %1636 = getelementptr inbounds double, ptr %1635, i64 0
  %1637 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %1638 = load ptr, ptr %1637, align 8, !tbaa !17
  %1639 = getelementptr inbounds double, ptr %1638, i64 0
  %1640 = load i64, ptr %20, align 8, !tbaa !9
  %1641 = load i64, ptr %21, align 8, !tbaa !9
  %1642 = add nsw i64 %1640, %1641
  %1643 = sub nsw i64 %1642, 1
  %1644 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1643)
  %1645 = load double, ptr %45, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef %1636, i64 noundef 1, ptr noundef %1639, i64 noundef 1, i64 noundef %1644, double noundef %1645)
  %1646 = load ptr, ptr %15, align 8, !tbaa !5
  %1647 = load ptr, ptr %16, align 8, !tbaa !5
  %1648 = load ptr, ptr %17, align 8, !tbaa !5
  %1649 = load ptr, ptr %18, align 8, !tbaa !5
  %1650 = load ptr, ptr %19, align 8, !tbaa !5
  %1651 = load i64, ptr %20, align 8, !tbaa !9
  %1652 = load i64, ptr %21, align 8, !tbaa !9
  %1653 = load i64, ptr %57, align 8, !tbaa !9
  %1654 = load double, ptr %58, align 8, !tbaa !11
  %1655 = load double, ptr %45, align 8, !tbaa !11
  %1656 = load double, ptr %59, align 8, !tbaa !11
  %1657 = load ptr, ptr %27, align 8, !tbaa !5
  %1658 = call noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorES1_S1_S1_S1_S1_llldddPNS_8ae_stateE(ptr noundef %35, ptr noundef %1646, ptr noundef %1647, ptr noundef %1648, ptr noundef %1649, ptr noundef %1650, i64 noundef %1651, i64 noundef %1652, i64 noundef %1653, double noundef %1654, double noundef %1655, double noundef %1656, ptr noundef %1657)
  %1659 = load i8, ptr %60, align 1, !tbaa !13, !range !15, !noundef !16
  %1660 = trunc i8 %1659 to i1
  br i1 %1660, label %1672, label %1661

1661:                                             ; preds = %1621
  %1662 = load ptr, ptr %15, align 8, !tbaa !5
  %1663 = load ptr, ptr %16, align 8, !tbaa !5
  %1664 = load ptr, ptr %17, align 8, !tbaa !5
  %1665 = load ptr, ptr %18, align 8, !tbaa !5
  %1666 = load ptr, ptr %19, align 8, !tbaa !5
  %1667 = load i64, ptr %20, align 8, !tbaa !9
  %1668 = load i64, ptr %21, align 8, !tbaa !9
  %1669 = load ptr, ptr %27, align 8, !tbaa !5
  %1670 = call noundef i64 @_ZN11alglib_impl26numberofchangedconstraintsEPNS_9ae_vectorES1_S1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %35, ptr noundef %1662, ptr noundef %1663, ptr noundef %1664, ptr noundef %1665, ptr noundef %1666, i64 noundef %1667, i64 noundef %1668, ptr noundef %1669)
  %1671 = icmp sgt i64 %1670, 0
  br label %1672

1672:                                             ; preds = %1661, %1621
  %1673 = phi i1 [ true, %1621 ], [ %1671, %1661 ]
  %1674 = zext i1 %1673 to i8
  store i8 %1674, ptr %60, align 1, !tbaa !13
  %1675 = load ptr, ptr %15, align 8, !tbaa !5
  %1676 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1675, i32 0, i32 4
  %1677 = load ptr, ptr %1676, align 8, !tbaa !17
  %1678 = getelementptr inbounds double, ptr %1677, i64 0
  %1679 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %1680 = load ptr, ptr %1679, align 8, !tbaa !17
  %1681 = getelementptr inbounds double, ptr %1680, i64 0
  %1682 = load i64, ptr %20, align 8, !tbaa !9
  %1683 = load i64, ptr %21, align 8, !tbaa !9
  %1684 = add nsw i64 %1682, %1683
  %1685 = sub nsw i64 %1684, 1
  %1686 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1685)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1678, i64 noundef 1, ptr noundef %1681, i64 noundef 1, i64 noundef %1686)
  %1687 = load ptr, ptr %26, align 8, !tbaa !5
  %1688 = load i64, ptr %1687, align 8, !tbaa !9
  %1689 = add nsw i64 %1688, 1
  %1690 = load ptr, ptr %26, align 8, !tbaa !5
  store i64 %1689, ptr %1690, align 8, !tbaa !9
  %1691 = load i8, ptr %60, align 1, !tbaa !13, !range !15, !noundef !16
  %1692 = trunc i8 %1691 to i1
  br i1 %1692, label %1694, label %1693

1693:                                             ; preds = %1672
  br label %1698

1694:                                             ; preds = %1672
  br label %1695

1695:                                             ; preds = %1694
  %1696 = load i64, ptr %76, align 8, !tbaa !9
  %1697 = add nsw i64 %1696, 1
  store i64 %1697, ptr %76, align 8, !tbaa !9
  br label %1446, !llvm.loop !49

1698:                                             ; preds = %1693, %1446
  %1699 = load ptr, ptr %22, align 8, !tbaa !5
  %1700 = load ptr, ptr %15, align 8, !tbaa !5
  %1701 = load i64, ptr %20, align 8, !tbaa !9
  %1702 = load i64, ptr %21, align 8, !tbaa !9
  %1703 = load i64, ptr %23, align 8, !tbaa !9
  %1704 = load ptr, ptr %27, align 8, !tbaa !5
  %1705 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef %1699, ptr noundef %1700, i64 noundef %1701, i64 noundef %1702, i64 noundef %1703, ptr noundef %64, ptr noundef %1704)
  store double %1705, ptr %48, align 8, !tbaa !11
  %1706 = load double, ptr %48, align 8, !tbaa !11
  store double %1706, ptr %50, align 8, !tbaa !11
  %1707 = load double, ptr %50, align 8, !tbaa !11
  %1708 = load double, ptr %49, align 8, !tbaa !11
  %1709 = fmul double %1708, 0x3FEFFFFFFFFFEE68
  %1710 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %1707, double noundef %1709)
  br i1 %1710, label %1711, label %1713

1711:                                             ; preds = %1698
  %1712 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %74, ptr noundef %1712)
  br label %1714

1713:                                             ; preds = %1698
  store i64 0, ptr %74, align 8, !tbaa !9
  br label %1714

1714:                                             ; preds = %1713, %1711
  %1715 = load double, ptr %48, align 8, !tbaa !11
  %1716 = load double, ptr %24, align 8, !tbaa !11
  %1717 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %1715, double noundef %1716)
  br i1 %1717, label %1718, label %1720

1718:                                             ; preds = %1714
  %1719 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %72, ptr noundef %1719)
  br label %1721

1720:                                             ; preds = %1714
  store i64 0, ptr %72, align 8, !tbaa !9
  br label %1721

1721:                                             ; preds = %1720, %1718
  %1722 = load i8, ptr %60, align 1, !tbaa !13, !range !15, !noundef !16
  %1723 = trunc i8 %1722 to i1
  br i1 %1723, label %1724, label %1732

1724:                                             ; preds = %1721
  %1725 = load i64, ptr %72, align 8, !tbaa !9
  %1726 = load i64, ptr %73, align 8, !tbaa !9
  %1727 = icmp sge i64 %1725, %1726
  br i1 %1727, label %1732, label %1728

1728:                                             ; preds = %1724
  %1729 = load i64, ptr %74, align 8, !tbaa !9
  %1730 = load i64, ptr %75, align 8, !tbaa !9
  %1731 = icmp sge i64 %1729, %1730
  br i1 %1731, label %1732, label %1740

1732:                                             ; preds = %1728, %1724, %1721
  %1733 = load double, ptr %48, align 8, !tbaa !11
  %1734 = load double, ptr %24, align 8, !tbaa !11
  %1735 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %1733, double noundef %1734)
  %1736 = zext i1 %1735 to i8
  store i8 %1736, ptr %80, align 1, !tbaa !13
  %1737 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1737)
  %1738 = load i8, ptr %80, align 1, !tbaa !13, !range !15, !noundef !16
  %1739 = trunc i8 %1738 to i1
  store i1 %1739, ptr %14, align 1
  store i32 1, ptr %81, align 4
  br label %1752

1740:                                             ; preds = %1728
  %1741 = load i64, ptr %71, align 8, !tbaa !9
  %1742 = add nsw i64 %1741, 1
  store i64 %1742, ptr %71, align 8, !tbaa !9
  %1743 = load ptr, ptr %27, align 8, !tbaa !5
  %1744 = call noundef zeroext i1 @_ZN11alglib_impl11alwaysfalseEPNS_8ae_stateE(ptr noundef %1743)
  br i1 %1744, label %1745, label %1747

1745:                                             ; preds = %1740
  store i8 0, ptr %80, align 1, !tbaa !13
  %1746 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.131, ptr noundef %1746)
  br label %1748

1747:                                             ; preds = %1740
  br label %274, !llvm.loop !50

1748:                                             ; preds = %1745
  %1749 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1749)
  %1750 = load i8, ptr %80, align 1, !tbaa !13, !range !15, !noundef !16
  %1751 = trunc i8 %1750 to i1
  store i1 %1751, ptr %14, align 1
  store i32 1, ptr %81, align 4
  br label %1752

1752:                                             ; preds = %1748, %1732, %1607, %1545, %369, %121, %114
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %79) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %78) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 736, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %64) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #5
  %1753 = load i1, ptr %14, align 1
  ret i1 %1753
}

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}
!33 = distinct !{!33, !19}
!34 = distinct !{!34, !19}
!35 = distinct !{!35, !19}
!36 = distinct !{!36, !19}
!37 = distinct !{!37, !19}
!38 = distinct !{!38, !19}
!39 = distinct !{!39, !19}
!40 = distinct !{!40, !19}
!41 = distinct !{!41, !19}
!42 = distinct !{!42, !19}
!43 = distinct !{!43, !19}
!44 = distinct !{!44, !19}
!45 = distinct !{!45, !19}
!46 = distinct !{!46, !19}
!47 = distinct !{!47, !19}
!48 = distinct !{!48, !19}
!49 = distinct !{!49, !19}
!50 = distinct !{!50, !19}


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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::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::apbuffers" = 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_matrix", %"struct.alglib_impl::ae_matrix" }

@.str.131 = external hidden unnamed_addr constant [17 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

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

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

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

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double 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_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

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

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 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 double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorES1_S1_S1_S1_S1_llldddPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl17findfeasiblepointEPNS_9ae_vectorES1_S1_S1_S1_llPNS_9ae_matrixEldPlS4_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %7, i64 noundef %8, double noundef %9, ptr nocapture noundef %10, ptr nocapture noundef %11, ptr noundef %12) local_unnamed_addr #4 {
  %14 = alloca %"struct.alglib_impl::ae_frame", align 8
  %15 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca %"struct.alglib_impl::ae_vector", align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca i64, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::ae_vector", align 8
  %32 = alloca %"struct.alglib_impl::ae_vector", align 8
  %33 = alloca %"struct.alglib_impl::ae_vector", align 8
  %34 = alloca %"struct.alglib_impl::apbuffers", align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %38 = alloca %"struct.alglib_impl::ae_matrix", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %32) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %33) #5
  call void @llvm.lifetime.start.p0(i64 736, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %38) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %12, ptr noundef nonnull %14)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %15, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %19, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %20, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %21, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %23, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %29, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %30, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %31, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %32, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %33, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(736) %34, i8 0, i64 736, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %37, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %38, i8 0, i64 80, i1 false)
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef nonnull %15, ptr noundef %7, ptr noundef %12, i1 noundef zeroext true)
  store i64 0, ptr %10, align 8, !tbaa !5
  store i64 0, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %17, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %18, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %19, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %20, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %21, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %22, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %23, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %29, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %30, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %31, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %32, i64 noundef 0, i64 noundef 2, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %33, i64 noundef 0, i64 noundef 2, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl15_apbuffers_initEPvPNS_8ae_stateEb(ptr noundef nonnull %34, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %37, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %38, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  store i64 0, ptr %10, align 8, !tbaa !5
  store i64 0, ptr %11, align 8, !tbaa !5
  %39 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  br i1 %39, label %40, label %.loopexit

40:                                               ; preds = %13
  %41 = icmp eq i64 %8, 0
  br i1 %41, label %.loopexit, label %.preheader728

.preheader728:                                    ; preds = %40
  %.not.not743 = icmp sgt i64 %8, 0
  %42 = add i64 %6, %5
  br i1 %.not.not743, label %.preheader727.lr.ph, label %._crit_edge745

.preheader727.lr.ph:                              ; preds = %.preheader728
  %.not704.not739 = icmp sgt i64 %42, 0
  %43 = getelementptr inbounds i8, ptr %15, i64 72
  br i1 %.not704.not739, label %.preheader727.us, label %.preheader727

.preheader727.us:                                 ; preds = %.preheader727.lr.ph, %50
  %.0635744.us = phi i64 [ %51, %50 ], [ 0, %.preheader727.lr.ph ]
  br label %52

44:                                               ; preds = %._crit_edge.us
  %45 = fdiv double 1.000000e+00, %59
  %46 = load ptr, ptr %43, align 8, !tbaa !9
  %47 = getelementptr inbounds ptr, ptr %46, i64 %.0635744.us
  %48 = load ptr, ptr %47, align 8, !tbaa !10
  %49 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %42)
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %48, i64 noundef 1, i64 noundef %49, double noundef %45)
  br label %50

50:                                               ; preds = %44, %._crit_edge.us
  %51 = add nuw nsw i64 %.0635744.us, 1
  %exitcond887.not = icmp eq i64 %51, %8
  br i1 %exitcond887.not, label %._crit_edge745, label %.preheader727.us, !llvm.loop !12

52:                                               ; preds = %.preheader727.us, %52
  %.0637741.us = phi i64 [ 0, %.preheader727.us ], [ %60, %52 ]
  %.0659740.us = phi double [ 0.000000e+00, %.preheader727.us ], [ %59, %52 ]
  %53 = load ptr, ptr %43, align 8, !tbaa !9
  %54 = getelementptr inbounds ptr, ptr %53, i64 %.0635744.us
  %55 = load ptr, ptr %54, align 8, !tbaa !10
  %56 = getelementptr inbounds double, ptr %55, i64 %.0637741.us
  %57 = load double, ptr %56, align 8, !tbaa !14
  %58 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %57, ptr noundef %12)
  %59 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0659740.us, double noundef %58, ptr noundef %12)
  %60 = add nuw nsw i64 %.0637741.us, 1
  %exitcond886.not = icmp eq i64 %60, %42
  br i1 %exitcond886.not, label %._crit_edge.us, label %52, !llvm.loop !16

._crit_edge.us:                                   ; preds = %52
  %61 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %59, double noundef 0.000000e+00)
  br i1 %61, label %44, label %50

.preheader727:                                    ; preds = %.preheader727.lr.ph, %68
  %.0635744 = phi i64 [ %69, %68 ], [ 0, %.preheader727.lr.ph ]
  %62 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef 0.000000e+00, double noundef 0.000000e+00)
  br i1 %62, label %63, label %68

63:                                               ; preds = %.preheader727
  %64 = load ptr, ptr %43, align 8, !tbaa !9
  %65 = getelementptr inbounds ptr, ptr %64, i64 %.0635744
  %66 = load ptr, ptr %65, align 8, !tbaa !10
  %67 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %42)
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %66, i64 noundef 1, i64 noundef %67, double noundef 0x7FF0000000000000)
  br label %68

68:                                               ; preds = %.preheader727, %63
  %69 = add nuw nsw i64 %.0635744, 1
  %exitcond.not = icmp eq i64 %69, %8
  br i1 %exitcond.not, label %._crit_edge745, label %.preheader727, !llvm.loop !12

._crit_edge745:                                   ; preds = %68, %50, %.preheader728
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %20, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %30, i64 noundef %8, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %37, i64 noundef %8, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %23, i64 noundef %42, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %31, i64 noundef %42, ptr noundef %12)
  %.not.not677748 = icmp sgt i64 %42, 0
  br i1 %.not.not677748, label %.lr.ph751, label %._crit_edge752

.lr.ph751:                                        ; preds = %._crit_edge745
  %70 = getelementptr inbounds i8, ptr %23, i64 56
  %71 = getelementptr inbounds i8, ptr %31, i64 56
  %72 = getelementptr inbounds i8, ptr %15, i64 72
  br i1 %.not.not743, label %.lr.ph.us, label %.lr.ph751.split.preheader

.lr.ph751.split.preheader:                        ; preds = %.lr.ph751
  %73 = add i64 %6, %5
  %xtraiter = and i64 %42, 1
  %74 = icmp eq i64 %73, 1
  br i1 %74, label %._crit_edge752.loopexit949.unr-lcssa, label %.lr.ph751.split.preheader.new

.lr.ph751.split.preheader.new:                    ; preds = %.lr.ph751.split.preheader
  %unroll_iter = and i64 %42, 9223372036854775806
  br label %.lr.ph751.split

.lr.ph.us:                                        ; preds = %.lr.ph751, %._crit_edge.us753
  %.1749.us = phi i64 [ %93, %._crit_edge.us753 ], [ 0, %.lr.ph751 ]
  %75 = load ptr, ptr %70, align 8, !tbaa !9
  %76 = getelementptr inbounds double, ptr %75, i64 %.1749.us
  store double 1.000000e+00, ptr %76, align 8, !tbaa !14
  %77 = load ptr, ptr %71, align 8, !tbaa !9
  %78 = getelementptr inbounds double, ptr %77, i64 %.1749.us
  store double 0.000000e+00, ptr %78, align 8, !tbaa !14
  br label %79

79:                                               ; preds = %.lr.ph.us, %79
  %.1638747.us = phi i64 [ 0, %.lr.ph.us ], [ %92, %79 ]
  %80 = load ptr, ptr %71, align 8, !tbaa !9
  %81 = getelementptr inbounds double, ptr %80, i64 %.1749.us
  %82 = load double, ptr %81, align 8, !tbaa !14
  %83 = load ptr, ptr %72, align 8, !tbaa !9
  %84 = getelementptr inbounds ptr, ptr %83, i64 %.1638747.us
  %85 = load ptr, ptr %84, align 8, !tbaa !10
  %86 = getelementptr inbounds double, ptr %85, i64 %.1749.us
  %87 = load double, ptr %86, align 8, !tbaa !14
  %88 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %87, ptr noundef %12)
  %89 = fadd double %82, %88
  %90 = load ptr, ptr %71, align 8, !tbaa !9
  %91 = getelementptr inbounds double, ptr %90, i64 %.1749.us
  store double %89, ptr %91, align 8, !tbaa !14
  %92 = add nuw nsw i64 %.1638747.us, 1
  %exitcond889.not = icmp eq i64 %92, %8
  br i1 %exitcond889.not, label %._crit_edge.us753, label %79, !llvm.loop !17

._crit_edge.us753:                                ; preds = %79
  %93 = add nuw nsw i64 %.1749.us, 1
  %exitcond890.not = icmp eq i64 %93, %42
  br i1 %exitcond890.not, label %._crit_edge752, label %.lr.ph.us, !llvm.loop !18

.lr.ph751.split:                                  ; preds = %.lr.ph751.split, %.lr.ph751.split.preheader.new
  %.1749 = phi i64 [ 0, %.lr.ph751.split.preheader.new ], [ %103, %.lr.ph751.split ]
  %niter = phi i64 [ 0, %.lr.ph751.split.preheader.new ], [ %niter.next.1, %.lr.ph751.split ]
  %94 = load ptr, ptr %70, align 8, !tbaa !9
  %95 = getelementptr inbounds double, ptr %94, i64 %.1749
  store double 1.000000e+00, ptr %95, align 8, !tbaa !14
  %96 = load ptr, ptr %71, align 8, !tbaa !9
  %97 = getelementptr inbounds double, ptr %96, i64 %.1749
  store double 0.000000e+00, ptr %97, align 8, !tbaa !14
  %98 = or disjoint i64 %.1749, 1
  %99 = load ptr, ptr %70, align 8, !tbaa !9
  %100 = getelementptr inbounds double, ptr %99, i64 %98
  store double 1.000000e+00, ptr %100, align 8, !tbaa !14
  %101 = load ptr, ptr %71, align 8, !tbaa !9
  %102 = getelementptr inbounds double, ptr %101, i64 %98
  store double 0.000000e+00, ptr %102, align 8, !tbaa !14
  %103 = add nuw nsw i64 %.1749, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge752.loopexit949.unr-lcssa, label %.lr.ph751.split, !llvm.loop !18

._crit_edge752.loopexit949.unr-lcssa:             ; preds = %.lr.ph751.split, %.lr.ph751.split.preheader
  %.1749.unr = phi i64 [ 0, %.lr.ph751.split.preheader ], [ %103, %.lr.ph751.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge752, label %.lr.ph751.split.epil

.lr.ph751.split.epil:                             ; preds = %._crit_edge752.loopexit949.unr-lcssa
  %104 = load ptr, ptr %70, align 8, !tbaa !9
  %105 = getelementptr inbounds double, ptr %104, i64 %.1749.unr
  store double 1.000000e+00, ptr %105, align 8, !tbaa !14
  %106 = load ptr, ptr %71, align 8, !tbaa !9
  %107 = getelementptr inbounds double, ptr %106, i64 %.1749.unr
  store double 0.000000e+00, ptr %107, align 8, !tbaa !14
  br label %._crit_edge752

._crit_edge752:                                   ; preds = %.lr.ph751.split.epil, %._crit_edge752.loopexit949.unr-lcssa, %._crit_edge.us753, %._crit_edge745
  %108 = add i64 %42, -1
  store i64 0, ptr %35, align 8, !tbaa !5
  store i64 0, ptr %36, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %15, i64 72
  %110 = getelementptr inbounds i8, ptr %0, i64 56
  %.not.not679766 = icmp sgt i64 %5, 0
  %111 = getelementptr inbounds i8, ptr %2, i64 56
  %112 = getelementptr inbounds i8, ptr %1, i64 56
  %113 = getelementptr inbounds i8, ptr %20, i64 56
  %114 = getelementptr inbounds i8, ptr %4, i64 56
  %115 = getelementptr inbounds i8, ptr %3, i64 56
  %.not.not680770 = icmp sgt i64 %6, 0
  %116 = getelementptr inbounds i8, ptr %31, i64 56
  %117 = getelementptr inbounds i8, ptr %19, i64 56
  %118 = getelementptr inbounds i8, ptr %18, i64 56
  %119 = getelementptr inbounds i8, ptr %29, i64 56
  %120 = getelementptr inbounds i8, ptr %37, i64 72
  %121 = getelementptr inbounds i8, ptr %16, i64 56
  %122 = getelementptr inbounds i8, ptr %33, i64 56
  %123 = getelementptr inbounds i8, ptr %30, i64 56
  %124 = mul nsw i64 %8, 10
  %125 = sitofp i64 %124 to double
  %126 = fmul double %125, 5.000000e-16
  %127 = getelementptr inbounds i8, ptr %17, i64 56
  %.not699863 = icmp slt i64 %8, 1
  %128 = getelementptr inbounds i8, ptr %21, i64 56
  %129 = add i64 %8, -1
  %130 = add i64 %6, %5
  %xtraiter952 = and i64 %42, 1
  %131 = icmp eq i64 %108, 0
  %unroll_iter954 = and i64 %42, 9223372036854775806
  %lcmp.mod953.not = icmp eq i64 %xtraiter952, 0
  %xtraiter956 = and i64 %42, 3
  %132 = icmp ult i64 %42, 4
  %unroll_iter958 = and i64 %42, 9223372036854775804
  %lcmp.mod957.not = icmp eq i64 %xtraiter956, 0
  %xtraiter960 = and i64 %8, 1
  %133 = icmp eq i64 %129, 0
  %unroll_iter963 = and i64 %8, 9223372036854775806
  %lcmp.mod962.not = icmp eq i64 %xtraiter960, 0
  %xtraiter970 = and i64 %42, 3
  %134 = icmp ult i64 %42, 4
  %unroll_iter973 = and i64 %42, 9223372036854775804
  %lcmp.mod972.not = icmp eq i64 %xtraiter970, 0
  %xtraiter975 = and i64 %8, 1
  %135 = icmp eq i64 %129, 0
  %unroll_iter978 = and i64 %8, 9223372036854775806
  %lcmp.mod977.not = icmp eq i64 %xtraiter975, 0
  br label %136

136:                                              ; preds = %793, %._crit_edge752
  %137 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %0, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %137, ptr %25, align 8, !tbaa !14
  br i1 %.not.not743, label %.lr.ph763, label %._crit_edge764.thread

.lr.ph763:                                        ; preds = %136, %.lr.ph763.backedge
  %.2761 = phi i64 [ %.2761.be, %.lr.ph763.backedge ], [ 0, %136 ]
  %.0649760 = phi i1 [ %.0649760.be, %.lr.ph763.backedge ], [ true, %136 ]
  %138 = load ptr, ptr %109, align 8, !tbaa !9
  %139 = getelementptr inbounds ptr, ptr %138, i64 %.2761
  %140 = load ptr, ptr %139, align 8, !tbaa !10
  %141 = getelementptr inbounds double, ptr %140, i64 %42
  %142 = load double, ptr %141, align 8, !tbaa !14
  %143 = fneg double %142
  br i1 %.not.not677748, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.lr.ph763
  %.pre = load ptr, ptr %110, align 8, !tbaa !9
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %144 = phi ptr [ %158, %.lr.ph ], [ %.pre, %.lr.ph.preheader ]
  %145 = phi ptr [ %155, %.lr.ph ], [ %140, %.lr.ph.preheader ]
  %.2639757 = phi i64 [ %162, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.1660756 = phi double [ %161, %.lr.ph ], [ %143, %.lr.ph.preheader ]
  %.0667755 = phi double [ %152, %.lr.ph ], [ 0.000000e+00, %.lr.ph.preheader ]
  %146 = getelementptr inbounds double, ptr %145, i64 %.2639757
  %147 = load double, ptr %146, align 8, !tbaa !14
  %148 = getelementptr inbounds double, ptr %144, i64 %.2639757
  %149 = load double, ptr %148, align 8, !tbaa !14
  %150 = fmul double %147, %149
  %151 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %150, ptr noundef %12)
  %152 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0667755, double noundef %151, ptr noundef %12)
  %153 = load ptr, ptr %109, align 8, !tbaa !9
  %154 = getelementptr inbounds ptr, ptr %153, i64 %.2761
  %155 = load ptr, ptr %154, align 8, !tbaa !10
  %156 = getelementptr inbounds double, ptr %155, i64 %.2639757
  %157 = load double, ptr %156, align 8, !tbaa !14
  %158 = load ptr, ptr %110, align 8, !tbaa !9
  %159 = getelementptr inbounds double, ptr %158, i64 %.2639757
  %160 = load double, ptr %159, align 8, !tbaa !14
  %161 = call double @llvm.fmuladd.f64(double %157, double %160, double %.1660756)
  %162 = add nuw nsw i64 %.2639757, 1
  %exitcond891.not = icmp eq i64 %162, %42
  br i1 %exitcond891.not, label %._crit_edge, label %.lr.ph, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph763
  %.0667.lcssa = phi double [ 0.000000e+00, %.lr.ph763 ], [ %152, %.lr.ph ]
  %.1660.lcssa = phi double [ %143, %.lr.ph763 ], [ %161, %.lr.ph ]
  br i1 %.0649760, label %163, label %.thread916

163:                                              ; preds = %._crit_edge
  %164 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %.1660.lcssa, ptr noundef %12)
  %165 = fmul double %.0667.lcssa, 5.000000e-14
  %166 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %164, double noundef %165)
  %167 = add nuw nsw i64 %.2761, 1
  %exitcond892.not = icmp eq i64 %167, %8
  br i1 %exitcond892.not, label %._crit_edge764, label %.lr.ph763.backedge

.lr.ph763.backedge:                               ; preds = %163, %.thread916
  %.2761.be = phi i64 [ %167, %163 ], [ %168, %.thread916 ]
  %.0649760.be = phi i1 [ %166, %163 ], [ false, %.thread916 ]
  br label %.lr.ph763, !llvm.loop !20

.thread916:                                       ; preds = %._crit_edge
  %168 = add nuw nsw i64 %.2761, 1
  %exitcond892.not917 = icmp eq i64 %168, %8
  br i1 %exitcond892.not917, label %._crit_edge764.thread918, label %.lr.ph763.backedge

._crit_edge764.thread918:                         ; preds = %.thread916
  %.pre912919 = load double, ptr %25, align 8, !tbaa !14
  br label %.preheader726.preheader

._crit_edge764:                                   ; preds = %163
  %.pre912 = load double, ptr %25, align 8, !tbaa !14
  br i1 %166, label %._crit_edge764.thread, label %.preheader726.preheader

.preheader726.preheader:                          ; preds = %._crit_edge764.thread918, %._crit_edge764
  %.pre912920 = phi double [ %.pre912919, %._crit_edge764.thread918 ], [ %.pre912, %._crit_edge764 ]
  br label %.preheader726

._crit_edge764.thread:                            ; preds = %136, %._crit_edge764
  %169 = phi double [ %.pre912, %._crit_edge764 ], [ %137, %136 ]
  %170 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %169, double noundef %9)
  br label %.loopexit

.preheader726:                                    ; preds = %.preheader726.preheader, %693
  call void @_ZN11alglib_implL28optserv_feasibilityerrorgradEPNS_9ae_matrixEPNS_9ae_vectorElllPdS3_S3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %0, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %24, ptr noundef nonnull %20, ptr noundef nonnull %30, ptr noundef %12)
  br i1 %.not.not679766, label %.lr.ph769, label %.preheader725

.preheader725:                                    ; preds = %202, %.preheader726
  br i1 %.not.not680770, label %.lr.ph772, label %.preheader724

.lr.ph769:                                        ; preds = %.preheader726, %202
  %.3767 = phi i64 [ %203, %202 ], [ 0, %.preheader726 ]
  %171 = load ptr, ptr %111, align 8, !tbaa !9
  %172 = getelementptr inbounds i8, ptr %171, i64 %.3767
  %173 = load i8, ptr %172, align 1, !tbaa !21, !range !23, !noundef !24
  %174 = trunc nuw i8 %173 to i1
  br i1 %174, label %175, label %186

175:                                              ; preds = %.lr.ph769
  %176 = load ptr, ptr %110, align 8, !tbaa !9
  %177 = getelementptr inbounds double, ptr %176, i64 %.3767
  %178 = load double, ptr %177, align 8, !tbaa !14
  %179 = load ptr, ptr %112, align 8, !tbaa !9
  %180 = getelementptr inbounds double, ptr %179, i64 %.3767
  %181 = load double, ptr %180, align 8, !tbaa !14
  %182 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %178, double noundef %181)
  br i1 %182, label %183, label %186

183:                                              ; preds = %175
  %184 = load ptr, ptr %113, align 8, !tbaa !9
  %185 = getelementptr inbounds double, ptr %184, i64 %.3767
  store double 0.000000e+00, ptr %185, align 8, !tbaa !14
  br label %186

186:                                              ; preds = %183, %175, %.lr.ph769
  %187 = load ptr, ptr %114, align 8, !tbaa !9
  %188 = getelementptr inbounds i8, ptr %187, i64 %.3767
  %189 = load i8, ptr %188, align 1, !tbaa !21, !range !23, !noundef !24
  %190 = trunc nuw i8 %189 to i1
  br i1 %190, label %191, label %202

191:                                              ; preds = %186
  %192 = load ptr, ptr %110, align 8, !tbaa !9
  %193 = getelementptr inbounds double, ptr %192, i64 %.3767
  %194 = load double, ptr %193, align 8, !tbaa !14
  %195 = load ptr, ptr %115, align 8, !tbaa !9
  %196 = getelementptr inbounds double, ptr %195, i64 %.3767
  %197 = load double, ptr %196, align 8, !tbaa !14
  %198 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %194, double noundef %197)
  br i1 %198, label %199, label %202

199:                                              ; preds = %191
  %200 = load ptr, ptr %113, align 8, !tbaa !9
  %201 = getelementptr inbounds double, ptr %200, i64 %.3767
  store double 0.000000e+00, ptr %201, align 8, !tbaa !14
  br label %202

202:                                              ; preds = %186, %191, %199
  %203 = add nuw nsw i64 %.3767, 1
  %exitcond893.not = icmp eq i64 %203, %5
  br i1 %exitcond893.not, label %.preheader725, label %.lr.ph769, !llvm.loop !25

.preheader724:                                    ; preds = %212, %.preheader725
  br i1 %.not.not677748, label %.lr.ph776, label %._crit_edge777

.lr.ph772:                                        ; preds = %.preheader725, %212
  %.4771 = phi i64 [ %213, %212 ], [ 0, %.preheader725 ]
  %204 = load ptr, ptr %110, align 8, !tbaa !9
  %205 = add nsw i64 %.4771, %5
  %206 = getelementptr inbounds double, ptr %204, i64 %205
  %207 = load double, ptr %206, align 8, !tbaa !14
  %208 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %207, double noundef 0.000000e+00)
  br i1 %208, label %209, label %212

209:                                              ; preds = %.lr.ph772
  %210 = load ptr, ptr %113, align 8, !tbaa !9
  %211 = getelementptr inbounds double, ptr %210, i64 %205
  store double 0.000000e+00, ptr %211, align 8, !tbaa !14
  br label %212

212:                                              ; preds = %.lr.ph772, %209
  %213 = add nuw nsw i64 %.4771, 1
  %exitcond894.not = icmp eq i64 %213, %6
  br i1 %exitcond894.not, label %.preheader724, label %.lr.ph772, !llvm.loop !26

.lr.ph776:                                        ; preds = %.preheader724, %229
  %.5775 = phi i64 [ %237, %229 ], [ 0, %.preheader724 ]
  %.2661774 = phi double [ %236, %229 ], [ 0.000000e+00, %.preheader724 ]
  %214 = load ptr, ptr %116, align 8, !tbaa !9
  %215 = getelementptr inbounds double, ptr %214, i64 %.5775
  %216 = load double, ptr %215, align 8, !tbaa !14
  %217 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %216, ptr noundef %12)
  %218 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %217, double noundef 0.000000e+00)
  br i1 %218, label %219, label %229

219:                                              ; preds = %.lr.ph776
  %220 = load ptr, ptr %113, align 8, !tbaa !9
  %221 = getelementptr inbounds double, ptr %220, i64 %.5775
  %222 = load double, ptr %221, align 8, !tbaa !14
  %223 = fneg double %222
  %224 = load ptr, ptr %116, align 8, !tbaa !9
  %225 = getelementptr inbounds double, ptr %224, i64 %.5775
  %226 = load double, ptr %225, align 8, !tbaa !14
  %227 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %226, ptr noundef %12)
  %228 = fdiv double %223, %227
  br label %229

229:                                              ; preds = %.lr.ph776, %219
  %.sink = phi double [ %228, %219 ], [ 0.000000e+00, %.lr.ph776 ]
  %230 = load ptr, ptr %117, align 8, !tbaa !9
  %231 = getelementptr inbounds double, ptr %230, i64 %.5775
  store double %.sink, ptr %231, align 8, !tbaa !14
  %232 = load ptr, ptr %117, align 8, !tbaa !9
  %233 = getelementptr inbounds double, ptr %232, i64 %.5775
  %234 = load double, ptr %233, align 8, !tbaa !14
  %235 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %234, ptr noundef %12)
  %236 = fadd double %.2661774, %235
  %237 = add nuw nsw i64 %.5775, 1
  %exitcond895.not = icmp eq i64 %237, %42
  br i1 %exitcond895.not, label %._crit_edge777, label %.lr.ph776, !llvm.loop !27

._crit_edge777:                                   ; preds = %229, %.preheader724
  %.2661.lcssa = phi double [ 0.000000e+00, %.preheader724 ], [ %236, %229 ]
  %238 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %.2661.lcssa, double noundef 0.000000e+00)
  br i1 %238, label %697, label %239

239:                                              ; preds = %._crit_edge777
  call void @_ZN11alglib_impl18calculatestepboundEPNS_9ae_vectorES1_dS1_S1_S1_S1_llPlPdS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef nonnull %19, double noundef 1.000000e+00, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef %12)
  %240 = load i64, ptr %26, align 8, !tbaa !5
  %241 = icmp sgt i64 %240, -1
  br i1 %241, label %242, label %.thread.preheader

242:                                              ; preds = %239
  %243 = load double, ptr %28, align 8, !tbaa !14
  %244 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %243, double noundef 0.000000e+00)
  br i1 %244, label %697, label %245

245:                                              ; preds = %242
  %.pr = load i64, ptr %26, align 8, !tbaa !5
  %246 = icmp sgt i64 %.pr, -1
  br i1 %246, label %247, label %.thread.preheader

247:                                              ; preds = %245
  %248 = load double, ptr %28, align 8, !tbaa !14
  %249 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef 1.000000e+00, double noundef %248, ptr noundef %12)
  br label %.thread.preheader

.thread.preheader:                                ; preds = %239, %245, %247
  %.1654.ph = phi double [ %249, %247 ], [ 1.000000e+00, %245 ], [ 1.000000e+00, %239 ]
  br label %.thread

.thread:                                          ; preds = %.thread.preheader, %260
  %.0656 = phi double [ %.1654, %260 ], [ 0.000000e+00, %.thread.preheader ]
  %.1654 = phi double [ %262, %260 ], [ %.1654.ph, %.thread.preheader ]
  %250 = load ptr, ptr %118, align 8, !tbaa !9
  %251 = load ptr, ptr %110, align 8, !tbaa !9
  %252 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %250, i64 noundef 1, ptr noundef %251, i64 noundef 1, i64 noundef %252)
  %253 = load ptr, ptr %118, align 8, !tbaa !9
  %254 = load ptr, ptr %117, align 8, !tbaa !9
  %255 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %253, i64 noundef 1, ptr noundef %254, i64 noundef 1, i64 noundef %255, double noundef %.1654)
  %256 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  %257 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %18, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %257, ptr %25, align 8, !tbaa !14
  %258 = load double, ptr %24, align 8, !tbaa !14
  %259 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %257, double noundef %258)
  br i1 %259, label %263, label %260

260:                                              ; preds = %.thread
  %261 = load double, ptr %25, align 8, !tbaa !14
  store double %261, ptr %24, align 8, !tbaa !14
  %262 = fmul double %.1654, 2.000000e+00
  br label %.thread, !llvm.loop !28

263:                                              ; preds = %.thread
  %264 = load ptr, ptr %110, align 8, !tbaa !9
  %265 = load ptr, ptr %117, align 8, !tbaa !9
  %266 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %264, i64 noundef 1, ptr noundef %265, i64 noundef 1, i64 noundef %266, double noundef %.0656)
  %267 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  br i1 %.not.not679766, label %.lr.ph783, label %.preheader723

.preheader723:                                    ; preds = %301, %263
  %.0645.lcssa = phi i64 [ 0, %263 ], [ %spec.select, %301 ]
  br i1 %.not.not680770, label %.lr.ph788, label %._crit_edge789

.lr.ph783:                                        ; preds = %263, %301
  %.6781 = phi i64 [ %307, %301 ], [ 0, %263 ]
  %.0645780 = phi i64 [ %spec.select, %301 ], [ 0, %263 ]
  %268 = load ptr, ptr %119, align 8, !tbaa !9
  %269 = getelementptr inbounds double, ptr %268, i64 %.6781
  store double 0.000000e+00, ptr %269, align 8, !tbaa !14
  %270 = load ptr, ptr %111, align 8, !tbaa !9
  %271 = getelementptr inbounds i8, ptr %270, i64 %.6781
  %272 = load i8, ptr %271, align 1, !tbaa !21, !range !23, !noundef !24
  %273 = trunc nuw i8 %272 to i1
  br i1 %273, label %274, label %285

274:                                              ; preds = %.lr.ph783
  %275 = load ptr, ptr %110, align 8, !tbaa !9
  %276 = getelementptr inbounds double, ptr %275, i64 %.6781
  %277 = load double, ptr %276, align 8, !tbaa !14
  %278 = load ptr, ptr %112, align 8, !tbaa !9
  %279 = getelementptr inbounds double, ptr %278, i64 %.6781
  %280 = load double, ptr %279, align 8, !tbaa !14
  %281 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %277, double noundef %280)
  br i1 %281, label %282, label %285

282:                                              ; preds = %274
  %283 = load ptr, ptr %119, align 8, !tbaa !9
  %284 = getelementptr inbounds double, ptr %283, i64 %.6781
  store double 1.000000e+00, ptr %284, align 8, !tbaa !14
  br label %285

285:                                              ; preds = %282, %274, %.lr.ph783
  %286 = load ptr, ptr %114, align 8, !tbaa !9
  %287 = getelementptr inbounds i8, ptr %286, i64 %.6781
  %288 = load i8, ptr %287, align 1, !tbaa !21, !range !23, !noundef !24
  %289 = trunc nuw i8 %288 to i1
  br i1 %289, label %290, label %301

290:                                              ; preds = %285
  %291 = load ptr, ptr %110, align 8, !tbaa !9
  %292 = getelementptr inbounds double, ptr %291, i64 %.6781
  %293 = load double, ptr %292, align 8, !tbaa !14
  %294 = load ptr, ptr %115, align 8, !tbaa !9
  %295 = getelementptr inbounds double, ptr %294, i64 %.6781
  %296 = load double, ptr %295, align 8, !tbaa !14
  %297 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %293, double noundef %296)
  br i1 %297, label %298, label %301

298:                                              ; preds = %290
  %299 = load ptr, ptr %119, align 8, !tbaa !9
  %300 = getelementptr inbounds double, ptr %299, i64 %.6781
  store double 1.000000e+00, ptr %300, align 8, !tbaa !14
  br label %301

301:                                              ; preds = %298, %290, %285
  %302 = load ptr, ptr %119, align 8, !tbaa !9
  %303 = getelementptr inbounds double, ptr %302, i64 %.6781
  %304 = load double, ptr %303, align 8, !tbaa !14
  %305 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %304, double noundef 0.000000e+00)
  %306 = zext i1 %305 to i64
  %spec.select = add nuw nsw i64 %.0645780, %306
  %307 = add nuw nsw i64 %.6781, 1
  %exitcond896.not = icmp eq i64 %307, %5
  br i1 %exitcond896.not, label %.preheader723, label %.lr.ph783, !llvm.loop !29

.lr.ph788:                                        ; preds = %.preheader723, %318
  %.7787 = phi i64 [ %324, %318 ], [ 0, %.preheader723 ]
  %.2647786 = phi i64 [ %spec.select705, %318 ], [ %.0645.lcssa, %.preheader723 ]
  %308 = load ptr, ptr %119, align 8, !tbaa !9
  %309 = add nsw i64 %.7787, %5
  %310 = getelementptr inbounds double, ptr %308, i64 %309
  store double 0.000000e+00, ptr %310, align 8, !tbaa !14
  %311 = load ptr, ptr %110, align 8, !tbaa !9
  %312 = getelementptr inbounds double, ptr %311, i64 %309
  %313 = load double, ptr %312, align 8, !tbaa !14
  %314 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %313, double noundef 0.000000e+00)
  br i1 %314, label %315, label %318

315:                                              ; preds = %.lr.ph788
  %316 = load ptr, ptr %119, align 8, !tbaa !9
  %317 = getelementptr inbounds double, ptr %316, i64 %309
  store double 1.000000e+00, ptr %317, align 8, !tbaa !14
  br label %318

318:                                              ; preds = %315, %.lr.ph788
  %319 = load ptr, ptr %119, align 8, !tbaa !9
  %320 = getelementptr inbounds double, ptr %319, i64 %309
  %321 = load double, ptr %320, align 8, !tbaa !14
  %322 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %321, double noundef 0.000000e+00)
  %323 = zext i1 %322 to i64
  %spec.select705 = add nsw i64 %.2647786, %323
  %324 = add nuw nsw i64 %.7787, 1
  %exitcond897.not = icmp eq i64 %324, %6
  br i1 %exitcond897.not, label %._crit_edge789, label %.lr.ph788, !llvm.loop !30

._crit_edge789:                                   ; preds = %318, %.preheader723
  %.2647.lcssa = phi i64 [ %.0645.lcssa, %.preheader723 ], [ %spec.select705, %318 ]
  %325 = sub i64 %42, %.2647.lcssa
  %326 = icmp eq i64 %42, %.2647.lcssa
  br i1 %326, label %697, label %327

327:                                              ; preds = %._crit_edge789
  %328 = load i64, ptr %10, align 8, !tbaa !5
  %329 = add nsw i64 %328, 1
  store i64 %329, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl10tagsortbufEPNS_9ae_vectorElS1_S1_PNS_9apbuffersEPNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef %42, ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef nonnull %34, ptr noundef %12)
  br i1 %.not.not743, label %.preheader716, label %.preheader722

.preheader722:                                    ; preds = %._crit_edge794, %327
  br i1 %.not.not677748, label %.lr.ph799.preheader, label %.preheader720

.lr.ph799.preheader:                              ; preds = %.preheader722
  br i1 %132, label %.preheader721.unr-lcssa, label %.lr.ph799

.preheader716:                                    ; preds = %327, %._crit_edge794
  %.8796 = phi i64 [ %359, %._crit_edge794 ], [ 0, %327 ]
  br i1 %.not.not677748, label %.lr.ph793.preheader, label %._crit_edge794

.lr.ph793.preheader:                              ; preds = %.preheader716
  br i1 %131, label %._crit_edge794.loopexit.unr-lcssa, label %.lr.ph793

.lr.ph793:                                        ; preds = %.lr.ph793.preheader, %.lr.ph793
  %.3640792 = phi i64 [ %349, %.lr.ph793 ], [ 0, %.lr.ph793.preheader ]
  %niter955 = phi i64 [ %niter955.next.1, %.lr.ph793 ], [ 0, %.lr.ph793.preheader ]
  %330 = load ptr, ptr %109, align 8, !tbaa !9
  %331 = getelementptr inbounds ptr, ptr %330, i64 %.8796
  %332 = load ptr, ptr %331, align 8, !tbaa !10
  %333 = getelementptr inbounds double, ptr %332, i64 %.3640792
  %334 = load double, ptr %333, align 8, !tbaa !14
  %335 = load ptr, ptr %120, align 8, !tbaa !9
  %336 = getelementptr inbounds ptr, ptr %335, i64 %.8796
  %337 = load ptr, ptr %336, align 8, !tbaa !10
  %338 = getelementptr inbounds double, ptr %337, i64 %.3640792
  store double %334, ptr %338, align 8, !tbaa !14
  %339 = or disjoint i64 %.3640792, 1
  %340 = load ptr, ptr %109, align 8, !tbaa !9
  %341 = getelementptr inbounds ptr, ptr %340, i64 %.8796
  %342 = load ptr, ptr %341, align 8, !tbaa !10
  %343 = getelementptr inbounds double, ptr %342, i64 %339
  %344 = load double, ptr %343, align 8, !tbaa !14
  %345 = load ptr, ptr %120, align 8, !tbaa !9
  %346 = getelementptr inbounds ptr, ptr %345, i64 %.8796
  %347 = load ptr, ptr %346, align 8, !tbaa !10
  %348 = getelementptr inbounds double, ptr %347, i64 %339
  store double %344, ptr %348, align 8, !tbaa !14
  %349 = add nuw nsw i64 %.3640792, 2
  %niter955.next.1 = add i64 %niter955, 2
  %niter955.ncmp.1 = icmp eq i64 %niter955.next.1, %unroll_iter954
  br i1 %niter955.ncmp.1, label %._crit_edge794.loopexit.unr-lcssa, label %.lr.ph793, !llvm.loop !31

._crit_edge794.loopexit.unr-lcssa:                ; preds = %.lr.ph793, %.lr.ph793.preheader
  %.3640792.unr = phi i64 [ 0, %.lr.ph793.preheader ], [ %349, %.lr.ph793 ]
  br i1 %lcmp.mod953.not, label %._crit_edge794, label %.lr.ph793.epil

.lr.ph793.epil:                                   ; preds = %._crit_edge794.loopexit.unr-lcssa
  %350 = load ptr, ptr %109, align 8, !tbaa !9
  %351 = getelementptr inbounds ptr, ptr %350, i64 %.8796
  %352 = load ptr, ptr %351, align 8, !tbaa !10
  %353 = getelementptr inbounds double, ptr %352, i64 %.3640792.unr
  %354 = load double, ptr %353, align 8, !tbaa !14
  %355 = load ptr, ptr %120, align 8, !tbaa !9
  %356 = getelementptr inbounds ptr, ptr %355, i64 %.8796
  %357 = load ptr, ptr %356, align 8, !tbaa !10
  %358 = getelementptr inbounds double, ptr %357, i64 %.3640792.unr
  store double %354, ptr %358, align 8, !tbaa !14
  br label %._crit_edge794

._crit_edge794:                                   ; preds = %.lr.ph793.epil, %._crit_edge794.loopexit.unr-lcssa, %.preheader716
  %359 = add nuw nsw i64 %.8796, 1
  %exitcond899.not = icmp eq i64 %359, %8
  br i1 %exitcond899.not, label %.preheader722, label %.preheader716, !llvm.loop !32

.preheader721.unr-lcssa:                          ; preds = %.lr.ph799, %.lr.ph799.preheader
  %.4641798.unr = phi i64 [ 0, %.lr.ph799.preheader ], [ %389, %.lr.ph799 ]
  br i1 %lcmp.mod957.not, label %.preheader721, label %.lr.ph799.epil

.lr.ph799.epil:                                   ; preds = %.preheader721.unr-lcssa, %.lr.ph799.epil
  %.4641798.epil = phi i64 [ %365, %.lr.ph799.epil ], [ %.4641798.unr, %.preheader721.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph799.epil ], [ 0, %.preheader721.unr-lcssa ]
  %360 = load ptr, ptr %110, align 8, !tbaa !9
  %361 = getelementptr inbounds double, ptr %360, i64 %.4641798.epil
  %362 = load double, ptr %361, align 8, !tbaa !14
  %363 = load ptr, ptr %121, align 8, !tbaa !9
  %364 = getelementptr inbounds double, ptr %363, i64 %.4641798.epil
  store double %362, ptr %364, align 8, !tbaa !14
  %365 = add nuw nsw i64 %.4641798.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter956
  br i1 %epil.iter.cmp.not, label %.preheader721, label %.lr.ph799.epil, !llvm.loop !33

.preheader721:                                    ; preds = %.lr.ph799.epil, %.preheader721.unr-lcssa
  br i1 %.not.not677748, label %.lr.ph806, label %.preheader720

.lr.ph799:                                        ; preds = %.lr.ph799.preheader, %.lr.ph799
  %.4641798 = phi i64 [ %389, %.lr.ph799 ], [ 0, %.lr.ph799.preheader ]
  %niter959 = phi i64 [ %niter959.next.3, %.lr.ph799 ], [ 0, %.lr.ph799.preheader ]
  %366 = load ptr, ptr %110, align 8, !tbaa !9
  %367 = getelementptr inbounds double, ptr %366, i64 %.4641798
  %368 = load double, ptr %367, align 8, !tbaa !14
  %369 = load ptr, ptr %121, align 8, !tbaa !9
  %370 = getelementptr inbounds double, ptr %369, i64 %.4641798
  store double %368, ptr %370, align 8, !tbaa !14
  %371 = or disjoint i64 %.4641798, 1
  %372 = load ptr, ptr %110, align 8, !tbaa !9
  %373 = getelementptr inbounds double, ptr %372, i64 %371
  %374 = load double, ptr %373, align 8, !tbaa !14
  %375 = load ptr, ptr %121, align 8, !tbaa !9
  %376 = getelementptr inbounds double, ptr %375, i64 %371
  store double %374, ptr %376, align 8, !tbaa !14
  %377 = or disjoint i64 %.4641798, 2
  %378 = load ptr, ptr %110, align 8, !tbaa !9
  %379 = getelementptr inbounds double, ptr %378, i64 %377
  %380 = load double, ptr %379, align 8, !tbaa !14
  %381 = load ptr, ptr %121, align 8, !tbaa !9
  %382 = getelementptr inbounds double, ptr %381, i64 %377
  store double %380, ptr %382, align 8, !tbaa !14
  %383 = or disjoint i64 %.4641798, 3
  %384 = load ptr, ptr %110, align 8, !tbaa !9
  %385 = getelementptr inbounds double, ptr %384, i64 %383
  %386 = load double, ptr %385, align 8, !tbaa !14
  %387 = load ptr, ptr %121, align 8, !tbaa !9
  %388 = getelementptr inbounds double, ptr %387, i64 %383
  store double %386, ptr %388, align 8, !tbaa !14
  %389 = add nuw nsw i64 %.4641798, 4
  %niter959.next.3 = add i64 %niter959, 4
  %niter959.ncmp.3 = icmp eq i64 %niter959.next.3, %unroll_iter958
  br i1 %niter959.ncmp.3, label %.preheader721.unr-lcssa, label %.lr.ph799, !llvm.loop !35

.preheader720:                                    ; preds = %437, %.preheader722, %.preheader721
  %.not.not687807 = icmp sgt i64 %325, 0
  br i1 %.not.not687807, label %.lr.ph809.preheader, label %.preheader719

.lr.ph809.preheader:                              ; preds = %.preheader720
  %xtraiter965 = and i64 %325, 3
  %390 = sub i64 %.2647.lcssa, %130
  %391 = icmp ugt i64 %390, -4
  br i1 %391, label %.preheader719.loopexit.unr-lcssa, label %.lr.ph809.preheader.new

.lr.ph809.preheader.new:                          ; preds = %.lr.ph809.preheader
  %unroll_iter968 = and i64 %325, 9223372036854775804
  br label %.lr.ph809

.lr.ph806:                                        ; preds = %.preheader721, %437
  %.5642805 = phi i64 [ %438, %437 ], [ 0, %.preheader721 ]
  %392 = load ptr, ptr %122, align 8, !tbaa !9
  %393 = getelementptr inbounds i64, ptr %392, i64 %.5642805
  %394 = load i64, ptr %393, align 8, !tbaa !5
  %.not696 = icmp eq i64 %394, %.5642805
  br i1 %.not696, label %437, label %.preheader

.preheader:                                       ; preds = %.lr.ph806
  br i1 %.not.not743, label %.lr.ph802.preheader, label %._crit_edge803

.lr.ph802.preheader:                              ; preds = %.preheader
  br i1 %133, label %._crit_edge803.loopexit.unr-lcssa, label %.lr.ph802

.lr.ph802:                                        ; preds = %.lr.ph802.preheader, %.lr.ph802
  %.9801 = phi i64 [ %418, %.lr.ph802 ], [ 0, %.lr.ph802.preheader ]
  %niter964 = phi i64 [ %niter964.next.1, %.lr.ph802 ], [ 0, %.lr.ph802.preheader ]
  %395 = load ptr, ptr %120, align 8, !tbaa !9
  %396 = getelementptr inbounds ptr, ptr %395, i64 %.9801
  %397 = load ptr, ptr %396, align 8, !tbaa !10
  %398 = getelementptr inbounds double, ptr %397, i64 %394
  %399 = load double, ptr %398, align 8, !tbaa !14
  %400 = getelementptr inbounds double, ptr %397, i64 %.5642805
  %401 = load double, ptr %400, align 8, !tbaa !14
  store double %401, ptr %398, align 8, !tbaa !14
  %402 = load ptr, ptr %120, align 8, !tbaa !9
  %403 = getelementptr inbounds ptr, ptr %402, i64 %.9801
  %404 = load ptr, ptr %403, align 8, !tbaa !10
  %405 = getelementptr inbounds double, ptr %404, i64 %.5642805
  store double %399, ptr %405, align 8, !tbaa !14
  %406 = or disjoint i64 %.9801, 1
  %407 = load ptr, ptr %120, align 8, !tbaa !9
  %408 = getelementptr inbounds ptr, ptr %407, i64 %406
  %409 = load ptr, ptr %408, align 8, !tbaa !10
  %410 = getelementptr inbounds double, ptr %409, i64 %394
  %411 = load double, ptr %410, align 8, !tbaa !14
  %412 = getelementptr inbounds double, ptr %409, i64 %.5642805
  %413 = load double, ptr %412, align 8, !tbaa !14
  store double %413, ptr %410, align 8, !tbaa !14
  %414 = load ptr, ptr %120, align 8, !tbaa !9
  %415 = getelementptr inbounds ptr, ptr %414, i64 %406
  %416 = load ptr, ptr %415, align 8, !tbaa !10
  %417 = getelementptr inbounds double, ptr %416, i64 %.5642805
  store double %411, ptr %417, align 8, !tbaa !14
  %418 = add nuw nsw i64 %.9801, 2
  %niter964.next.1 = add i64 %niter964, 2
  %niter964.ncmp.1 = icmp eq i64 %niter964.next.1, %unroll_iter963
  br i1 %niter964.ncmp.1, label %._crit_edge803.loopexit.unr-lcssa, label %.lr.ph802, !llvm.loop !36

._crit_edge803.loopexit.unr-lcssa:                ; preds = %.lr.ph802, %.lr.ph802.preheader
  %.9801.unr = phi i64 [ 0, %.lr.ph802.preheader ], [ %418, %.lr.ph802 ]
  br i1 %lcmp.mod962.not, label %._crit_edge803, label %.lr.ph802.epil

.lr.ph802.epil:                                   ; preds = %._crit_edge803.loopexit.unr-lcssa
  %419 = load ptr, ptr %120, align 8, !tbaa !9
  %420 = getelementptr inbounds ptr, ptr %419, i64 %.9801.unr
  %421 = load ptr, ptr %420, align 8, !tbaa !10
  %422 = getelementptr inbounds double, ptr %421, i64 %394
  %423 = load double, ptr %422, align 8, !tbaa !14
  %424 = getelementptr inbounds double, ptr %421, i64 %.5642805
  %425 = load double, ptr %424, align 8, !tbaa !14
  store double %425, ptr %422, align 8, !tbaa !14
  %426 = load ptr, ptr %120, align 8, !tbaa !9
  %427 = getelementptr inbounds ptr, ptr %426, i64 %.9801.unr
  %428 = load ptr, ptr %427, align 8, !tbaa !10
  %429 = getelementptr inbounds double, ptr %428, i64 %.5642805
  store double %423, ptr %429, align 8, !tbaa !14
  br label %._crit_edge803

._crit_edge803:                                   ; preds = %.lr.ph802.epil, %._crit_edge803.loopexit.unr-lcssa, %.preheader
  %430 = load ptr, ptr %121, align 8, !tbaa !9
  %431 = getelementptr inbounds double, ptr %430, i64 %394
  %432 = load double, ptr %431, align 8, !tbaa !14
  %433 = getelementptr inbounds double, ptr %430, i64 %.5642805
  %434 = load double, ptr %433, align 8, !tbaa !14
  store double %434, ptr %431, align 8, !tbaa !14
  %435 = load ptr, ptr %121, align 8, !tbaa !9
  %436 = getelementptr inbounds double, ptr %435, i64 %.5642805
  store double %432, ptr %436, align 8, !tbaa !14
  br label %437

437:                                              ; preds = %.lr.ph806, %._crit_edge803
  %438 = add nuw nsw i64 %.5642805, 1
  %exitcond902.not = icmp eq i64 %438, %42
  br i1 %exitcond902.not, label %.preheader720, label %.lr.ph806, !llvm.loop !37

.preheader719.loopexit.unr-lcssa:                 ; preds = %.lr.ph809, %.lr.ph809.preheader
  %.10808.unr = phi i64 [ 0, %.lr.ph809.preheader ], [ %454, %.lr.ph809 ]
  %lcmp.mod967.not = icmp eq i64 %xtraiter965, 0
  br i1 %lcmp.mod967.not, label %.preheader719, label %.lr.ph809.epil

.lr.ph809.epil:                                   ; preds = %.preheader719.loopexit.unr-lcssa, %.lr.ph809.epil
  %.10808.epil = phi i64 [ %441, %.lr.ph809.epil ], [ %.10808.unr, %.preheader719.loopexit.unr-lcssa ]
  %epil.iter966 = phi i64 [ %epil.iter966.next, %.lr.ph809.epil ], [ 0, %.preheader719.loopexit.unr-lcssa ]
  %439 = load ptr, ptr %113, align 8, !tbaa !9
  %440 = getelementptr inbounds double, ptr %439, i64 %.10808.epil
  store double 0.000000e+00, ptr %440, align 8, !tbaa !14
  %441 = add nuw nsw i64 %.10808.epil, 1
  %epil.iter966.next = add i64 %epil.iter966, 1
  %epil.iter966.cmp.not = icmp eq i64 %epil.iter966.next, %xtraiter965
  br i1 %epil.iter966.cmp.not, label %.preheader719, label %.lr.ph809.epil, !llvm.loop !38

.preheader719:                                    ; preds = %.preheader719.loopexit.unr-lcssa, %.lr.ph809.epil, %.preheader720
  %442 = add nsw i64 %325, -1
  br i1 %.not.not743, label %.lr.ph812, label %.preheader717

.lr.ph809:                                        ; preds = %.lr.ph809, %.lr.ph809.preheader.new
  %.10808 = phi i64 [ 0, %.lr.ph809.preheader.new ], [ %454, %.lr.ph809 ]
  %niter969 = phi i64 [ 0, %.lr.ph809.preheader.new ], [ %niter969.next.3, %.lr.ph809 ]
  %443 = load ptr, ptr %113, align 8, !tbaa !9
  %444 = getelementptr inbounds double, ptr %443, i64 %.10808
  store double 0.000000e+00, ptr %444, align 8, !tbaa !14
  %445 = or disjoint i64 %.10808, 1
  %446 = load ptr, ptr %113, align 8, !tbaa !9
  %447 = getelementptr inbounds double, ptr %446, i64 %445
  store double 0.000000e+00, ptr %447, align 8, !tbaa !14
  %448 = or disjoint i64 %.10808, 2
  %449 = load ptr, ptr %113, align 8, !tbaa !9
  %450 = getelementptr inbounds double, ptr %449, i64 %448
  store double 0.000000e+00, ptr %450, align 8, !tbaa !14
  %451 = or disjoint i64 %.10808, 3
  %452 = load ptr, ptr %113, align 8, !tbaa !9
  %453 = getelementptr inbounds double, ptr %452, i64 %451
  store double 0.000000e+00, ptr %453, align 8, !tbaa !14
  %454 = add nuw nsw i64 %.10808, 4
  %niter969.next.3 = add i64 %niter969, 4
  %niter969.ncmp.3.not = icmp eq i64 %niter969.next.3, %unroll_iter968
  br i1 %niter969.ncmp.3.not, label %.preheader719.loopexit.unr-lcssa, label %.lr.ph809, !llvm.loop !39

.preheader718:                                    ; preds = %.lr.ph812
  br i1 %.not.not743, label %.lr.ph815, label %.preheader717

.lr.ph812:                                        ; preds = %.preheader719, %.lr.ph812
  %.11811 = phi i64 [ %469, %.lr.ph812 ], [ 0, %.preheader719 ]
  %455 = load ptr, ptr %120, align 8, !tbaa !9
  %456 = getelementptr inbounds ptr, ptr %455, i64 %.11811
  %457 = load ptr, ptr %456, align 8, !tbaa !10
  %458 = load ptr, ptr %121, align 8, !tbaa !9
  %459 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  %460 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %457, i64 noundef 1, ptr noundef %458, i64 noundef 1, i64 noundef %459)
  %461 = load ptr, ptr %109, align 8, !tbaa !9
  %462 = getelementptr inbounds ptr, ptr %461, i64 %.11811
  %463 = load ptr, ptr %462, align 8, !tbaa !10
  %464 = getelementptr inbounds double, ptr %463, i64 %42
  %465 = load double, ptr %464, align 8, !tbaa !14
  %466 = fsub double %460, %465
  %467 = load ptr, ptr %123, align 8, !tbaa !9
  %468 = getelementptr inbounds double, ptr %467, i64 %.11811
  store double %466, ptr %468, align 8, !tbaa !14
  %469 = add nuw nsw i64 %.11811, 1
  %exitcond903.not = icmp eq i64 %469, %8
  br i1 %exitcond903.not, label %.preheader718, label %.lr.ph812, !llvm.loop !40

.preheader717:                                    ; preds = %.lr.ph815, %.preheader719, %.preheader718
  br i1 %.not.not677748, label %.lr.ph818.preheader, label %._crit_edge819

.lr.ph818.preheader:                              ; preds = %.preheader717
  br i1 %134, label %._crit_edge819.loopexit.unr-lcssa, label %.lr.ph818

.lr.ph815:                                        ; preds = %.preheader718, %.lr.ph815
  %.12814 = phi i64 [ %478, %.lr.ph815 ], [ 0, %.preheader718 ]
  %470 = load ptr, ptr %123, align 8, !tbaa !9
  %471 = getelementptr inbounds double, ptr %470, i64 %.12814
  %472 = load double, ptr %471, align 8, !tbaa !14
  %473 = load ptr, ptr %113, align 8, !tbaa !9
  %474 = load ptr, ptr %120, align 8, !tbaa !9
  %475 = getelementptr inbounds ptr, ptr %474, i64 %.12814
  %476 = load ptr, ptr %475, align 8, !tbaa !10
  %477 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %442)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %473, i64 noundef 1, ptr noundef %476, i64 noundef 1, i64 noundef %477, double noundef %472)
  %478 = add nuw nsw i64 %.12814, 1
  %exitcond904.not = icmp eq i64 %478, %8
  br i1 %exitcond904.not, label %.preheader717, label %.lr.ph815, !llvm.loop !41

.lr.ph818:                                        ; preds = %.lr.ph818.preheader, %.lr.ph818
  %.13817 = phi i64 [ %490, %.lr.ph818 ], [ 0, %.lr.ph818.preheader ]
  %niter974 = phi i64 [ %niter974.next.3, %.lr.ph818 ], [ 0, %.lr.ph818.preheader ]
  %479 = load ptr, ptr %117, align 8, !tbaa !9
  %480 = getelementptr inbounds double, ptr %479, i64 %.13817
  store double 0.000000e+00, ptr %480, align 8, !tbaa !14
  %481 = or disjoint i64 %.13817, 1
  %482 = load ptr, ptr %117, align 8, !tbaa !9
  %483 = getelementptr inbounds double, ptr %482, i64 %481
  store double 0.000000e+00, ptr %483, align 8, !tbaa !14
  %484 = or disjoint i64 %.13817, 2
  %485 = load ptr, ptr %117, align 8, !tbaa !9
  %486 = getelementptr inbounds double, ptr %485, i64 %484
  store double 0.000000e+00, ptr %486, align 8, !tbaa !14
  %487 = or disjoint i64 %.13817, 3
  %488 = load ptr, ptr %117, align 8, !tbaa !9
  %489 = getelementptr inbounds double, ptr %488, i64 %487
  store double 0.000000e+00, ptr %489, align 8, !tbaa !14
  %490 = add nuw nsw i64 %.13817, 4
  %niter974.next.3 = add i64 %niter974, 4
  %niter974.ncmp.3 = icmp eq i64 %niter974.next.3, %unroll_iter973
  br i1 %niter974.ncmp.3, label %._crit_edge819.loopexit.unr-lcssa, label %.lr.ph818, !llvm.loop !42

._crit_edge819.loopexit.unr-lcssa:                ; preds = %.lr.ph818, %.lr.ph818.preheader
  %.13817.unr = phi i64 [ 0, %.lr.ph818.preheader ], [ %490, %.lr.ph818 ]
  br i1 %lcmp.mod972.not, label %._crit_edge819, label %.lr.ph818.epil

.lr.ph818.epil:                                   ; preds = %._crit_edge819.loopexit.unr-lcssa, %.lr.ph818.epil
  %.13817.epil = phi i64 [ %493, %.lr.ph818.epil ], [ %.13817.unr, %._crit_edge819.loopexit.unr-lcssa ]
  %epil.iter971 = phi i64 [ %epil.iter971.next, %.lr.ph818.epil ], [ 0, %._crit_edge819.loopexit.unr-lcssa ]
  %491 = load ptr, ptr %117, align 8, !tbaa !9
  %492 = getelementptr inbounds double, ptr %491, i64 %.13817.epil
  store double 0.000000e+00, ptr %492, align 8, !tbaa !14
  %493 = add nuw nsw i64 %.13817.epil, 1
  %epil.iter971.next = add i64 %epil.iter971, 1
  %epil.iter971.cmp.not = icmp eq i64 %epil.iter971.next, %xtraiter970
  br i1 %epil.iter971.cmp.not, label %._crit_edge819, label %.lr.ph818.epil, !llvm.loop !43

._crit_edge819:                                   ; preds = %._crit_edge819.loopexit.unr-lcssa, %.lr.ph818.epil, %.preheader717
  %.not = icmp slt i64 %325, %8
  br i1 %.not, label %525, label %494

494:                                              ; preds = %._crit_edge819
  call void @_ZN11alglib_impl9rmatrixlqEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %37, i64 noundef %8, i64 noundef %325, ptr noundef nonnull %22, ptr noundef %12)
  call void @_ZN11alglib_impl16rmatrixlqunpackqEPNS_9ae_matrixEllPNS_9ae_vectorElS1_PNS_8ae_stateE(ptr noundef nonnull %37, i64 noundef %8, i64 noundef %325, ptr noundef nonnull %22, i64 noundef %8, ptr noundef nonnull %38, ptr noundef %12)
  br i1 %.not.not743, label %.lr.ph824, label %._crit_edge825.thread

._crit_edge825.thread:                            ; preds = %494
  %495 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %12)
  br label %._crit_edge831

.lr.ph824:                                        ; preds = %494, %.lr.ph824
  %.14822 = phi i64 [ %503, %.lr.ph824 ], [ 0, %494 ]
  %.3662821 = phi double [ %502, %.lr.ph824 ], [ 0.000000e+00, %494 ]
  %496 = load ptr, ptr %120, align 8, !tbaa !9
  %497 = getelementptr inbounds ptr, ptr %496, i64 %.14822
  %498 = load ptr, ptr %497, align 8, !tbaa !10
  %499 = getelementptr inbounds double, ptr %498, i64 %.14822
  %500 = load double, ptr %499, align 8, !tbaa !14
  %501 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %500, ptr noundef %12)
  %502 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.3662821, double noundef %501, ptr noundef %12)
  %503 = add nuw nsw i64 %.14822, 1
  %exitcond906.not = icmp eq i64 %503, %8
  br i1 %exitcond906.not, label %._crit_edge825, label %.lr.ph824, !llvm.loop !44

._crit_edge825:                                   ; preds = %.lr.ph824
  %504 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %502, double noundef 1.000000e+00, ptr noundef %12)
  br i1 %.not.not743, label %.lr.ph830.preheader, label %._crit_edge831

.lr.ph830.preheader:                              ; preds = %._crit_edge825
  br i1 %135, label %._crit_edge831.loopexit.unr-lcssa, label %.lr.ph830

.lr.ph830:                                        ; preds = %.lr.ph830.preheader, %.lr.ph830
  %.15828 = phi i64 [ %518, %.lr.ph830 ], [ 0, %.lr.ph830.preheader ]
  %niter979 = phi i64 [ %niter979.next.1, %.lr.ph830 ], [ 0, %.lr.ph830.preheader ]
  %505 = load ptr, ptr %120, align 8, !tbaa !9
  %506 = getelementptr inbounds ptr, ptr %505, i64 %.15828
  %507 = load ptr, ptr %506, align 8, !tbaa !10
  %508 = getelementptr inbounds double, ptr %507, i64 %.15828
  %509 = load double, ptr %508, align 8, !tbaa !14
  %510 = call double @llvm.fmuladd.f64(double %126, double %504, double %509)
  store double %510, ptr %508, align 8, !tbaa !14
  %511 = or disjoint i64 %.15828, 1
  %512 = load ptr, ptr %120, align 8, !tbaa !9
  %513 = getelementptr inbounds ptr, ptr %512, i64 %511
  %514 = load ptr, ptr %513, align 8, !tbaa !10
  %515 = getelementptr inbounds double, ptr %514, i64 %511
  %516 = load double, ptr %515, align 8, !tbaa !14
  %517 = call double @llvm.fmuladd.f64(double %126, double %504, double %516)
  store double %517, ptr %515, align 8, !tbaa !14
  %518 = add nuw nsw i64 %.15828, 2
  %niter979.next.1 = add i64 %niter979, 2
  %niter979.ncmp.1 = icmp eq i64 %niter979.next.1, %unroll_iter978
  br i1 %niter979.ncmp.1, label %._crit_edge831.loopexit.unr-lcssa, label %.lr.ph830, !llvm.loop !45

._crit_edge831.loopexit.unr-lcssa:                ; preds = %.lr.ph830, %.lr.ph830.preheader
  %.15828.unr = phi i64 [ 0, %.lr.ph830.preheader ], [ %518, %.lr.ph830 ]
  br i1 %lcmp.mod977.not, label %._crit_edge831, label %.lr.ph830.epil

.lr.ph830.epil:                                   ; preds = %._crit_edge831.loopexit.unr-lcssa
  %519 = load ptr, ptr %120, align 8, !tbaa !9
  %520 = getelementptr inbounds ptr, ptr %519, i64 %.15828.unr
  %521 = load ptr, ptr %520, align 8, !tbaa !10
  %522 = getelementptr inbounds double, ptr %521, i64 %.15828.unr
  %523 = load double, ptr %522, align 8, !tbaa !14
  %524 = call double @llvm.fmuladd.f64(double %126, double %504, double %523)
  store double %524, ptr %522, align 8, !tbaa !14
  br label %._crit_edge831

._crit_edge831:                                   ; preds = %.lr.ph830.epil, %._crit_edge831.loopexit.unr-lcssa, %._crit_edge825.thread, %._crit_edge825
  call void @_ZN11alglib_impl11rmatrixgemvElldPNS_9ae_matrixElllPNS_9ae_vectorEldS3_lPNS_8ae_stateE(i64 noundef %8, i64 noundef %325, double noundef 1.000000e+00, ptr noundef nonnull %38, i64 noundef 0, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %20, i64 noundef 0, double noundef 0.000000e+00, ptr noundef nonnull %30, i64 noundef 0, ptr noundef %12)
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %8, ptr noundef nonnull %37, i64 noundef 0, i64 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i64 noundef 1, ptr noundef nonnull %30, i64 noundef 0, ptr noundef %12)
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %8, ptr noundef nonnull %37, i64 noundef 0, i64 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i64 noundef 0, ptr noundef nonnull %30, i64 noundef 0, ptr noundef %12)
  call void @_ZN11alglib_impl11rmatrixgemvElldPNS_9ae_matrixElllPNS_9ae_vectorEldS3_lPNS_8ae_stateE(i64 noundef %325, i64 noundef %8, double noundef -1.000000e+00, ptr noundef nonnull %38, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef nonnull %30, i64 noundef 0, double noundef 0.000000e+00, ptr noundef nonnull %19, i64 noundef 0, ptr noundef %12)
  br label %558

525:                                              ; preds = %._crit_edge819
  call void @_ZN11alglib_impl9rmatrixqrEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %37, i64 noundef %8, i64 noundef %325, ptr noundef nonnull %22, ptr noundef %12)
  br i1 %.not.not687807, label %.lr.ph836, label %._crit_edge837.thread

._crit_edge837.thread:                            ; preds = %525
  %526 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %12)
  br label %._crit_edge843

.lr.ph836:                                        ; preds = %525, %.lr.ph836
  %.16834 = phi i64 [ %534, %.lr.ph836 ], [ 0, %525 ]
  %.4663833 = phi double [ %533, %.lr.ph836 ], [ 0.000000e+00, %525 ]
  %527 = load ptr, ptr %120, align 8, !tbaa !9
  %528 = getelementptr inbounds ptr, ptr %527, i64 %.16834
  %529 = load ptr, ptr %528, align 8, !tbaa !10
  %530 = getelementptr inbounds double, ptr %529, i64 %.16834
  %531 = load double, ptr %530, align 8, !tbaa !14
  %532 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %531, ptr noundef %12)
  %533 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.4663833, double noundef %532, ptr noundef %12)
  %534 = add nuw nsw i64 %.16834, 1
  %.not691.not = icmp slt i64 %534, %325
  br i1 %.not691.not, label %.lr.ph836, label %._crit_edge837, !llvm.loop !46

._crit_edge837:                                   ; preds = %.lr.ph836
  %535 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %533, double noundef 1.000000e+00, ptr noundef %12)
  br i1 %.not.not687807, label %.lr.ph842, label %._crit_edge843

.lr.ph842:                                        ; preds = %._crit_edge837
  %536 = mul nuw nsw i64 %325, 10
  %537 = uitofp nneg i64 %536 to double
  %538 = fmul double %537, 5.000000e-16
  %539 = fmul double %538, %535
  %540 = fneg double %539
  br label %541

541:                                              ; preds = %.lr.ph842, %541
  %.17840 = phi i64 [ 0, %.lr.ph842 ], [ %554, %541 ]
  %542 = load ptr, ptr %120, align 8, !tbaa !9
  %543 = getelementptr inbounds ptr, ptr %542, i64 %.17840
  %544 = load ptr, ptr %543, align 8, !tbaa !10
  %545 = getelementptr inbounds double, ptr %544, i64 %.17840
  %546 = load double, ptr %545, align 8, !tbaa !14
  %547 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %546, double noundef 0.000000e+00)
  %.0666 = select i1 %547, double %540, double %539
  %548 = load ptr, ptr %120, align 8, !tbaa !9
  %549 = getelementptr inbounds ptr, ptr %548, i64 %.17840
  %550 = load ptr, ptr %549, align 8, !tbaa !10
  %551 = getelementptr inbounds double, ptr %550, i64 %.17840
  %552 = load double, ptr %551, align 8, !tbaa !14
  %553 = fadd double %.0666, %552
  store double %553, ptr %551, align 8, !tbaa !14
  %554 = add nuw nsw i64 %.17840, 1
  %.not692.not = icmp slt i64 %554, %325
  br i1 %.not692.not, label %541, label %._crit_edge843, !llvm.loop !47

._crit_edge843:                                   ; preds = %541, %._crit_edge837.thread, %._crit_edge837
  %555 = load ptr, ptr %117, align 8, !tbaa !9
  %556 = load ptr, ptr %113, align 8, !tbaa !9
  %557 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %442)
  call void @_ZN11alglib_impl12ae_v_movenegEPdlPKdll(ptr noundef %555, i64 noundef 1, ptr noundef %556, i64 noundef 1, i64 noundef %557)
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %325, ptr noundef nonnull %37, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, i1 noundef zeroext false, i64 noundef 1, ptr noundef nonnull %19, i64 noundef 0, ptr noundef %12)
  call void @_ZN11alglib_impl11rmatrixtrsvElPNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %325, ptr noundef nonnull %37, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, i1 noundef zeroext false, i64 noundef 0, ptr noundef nonnull %19, i64 noundef 0, ptr noundef %12)
  br label %558

558:                                              ; preds = %._crit_edge843, %._crit_edge831
  br i1 %.not.not677748, label %.lr.ph846, label %._crit_edge847

.lr.ph846:                                        ; preds = %558, %570
  %.6643844 = phi i64 [ %571, %570 ], [ %108, %558 ]
  %559 = load ptr, ptr %122, align 8, !tbaa !9
  %560 = getelementptr inbounds i64, ptr %559, i64 %.6643844
  %561 = load i64, ptr %560, align 8, !tbaa !5
  %.not695 = icmp eq i64 %561, %.6643844
  br i1 %.not695, label %570, label %562

562:                                              ; preds = %.lr.ph846
  %563 = load ptr, ptr %117, align 8, !tbaa !9
  %564 = getelementptr inbounds double, ptr %563, i64 %561
  %565 = load double, ptr %564, align 8, !tbaa !14
  %566 = getelementptr inbounds double, ptr %563, i64 %.6643844
  %567 = load double, ptr %566, align 8, !tbaa !14
  store double %567, ptr %564, align 8, !tbaa !14
  %568 = load ptr, ptr %117, align 8, !tbaa !9
  %569 = getelementptr inbounds double, ptr %568, i64 %.6643844
  store double %565, ptr %569, align 8, !tbaa !14
  br label %570

570:                                              ; preds = %.lr.ph846, %562
  %571 = add nsw i64 %.6643844, -1
  %572 = icmp sgt i64 %.6643844, 0
  br i1 %572, label %.lr.ph846, label %._crit_edge847, !llvm.loop !48

._crit_edge847:                                   ; preds = %570, %558
  call void @_ZN11alglib_impl18calculatestepboundEPNS_9ae_vectorES1_dS1_S1_S1_S1_llPlPdS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef nonnull %19, double noundef 1.000000e+00, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef %12)
  %573 = load i64, ptr %26, align 8, !tbaa !5
  %574 = icmp sgt i64 %573, -1
  br i1 %574, label %575, label %.thread712

575:                                              ; preds = %._crit_edge847
  %576 = load double, ptr %28, align 8, !tbaa !14
  %577 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %576, double noundef 0.000000e+00)
  br i1 %577, label %697, label %578

578:                                              ; preds = %575
  %.pr711 = load i64, ptr %26, align 8, !tbaa !5
  %579 = icmp sgt i64 %.pr711, -1
  br i1 %579, label %580, label %.thread712

580:                                              ; preds = %578
  %581 = load double, ptr %28, align 8, !tbaa !14
  %582 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef 1.000000e+00, double noundef %581, ptr noundef %12)
  br label %.thread712

.thread712:                                       ; preds = %._crit_edge847, %578, %580
  %.5664 = phi double [ %582, %580 ], [ 1.000000e+00, %578 ], [ 1.000000e+00, %._crit_edge847 ]
  %583 = load ptr, ptr %127, align 8, !tbaa !9
  %584 = load ptr, ptr %117, align 8, !tbaa !9
  %585 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl10ae_v_movedEPdlPKdlld(ptr noundef %583, i64 noundef 1, ptr noundef %584, i64 noundef 1, i64 noundef %585, double noundef %.5664)
  %586 = load ptr, ptr %127, align 8, !tbaa !9
  %587 = load ptr, ptr %110, align 8, !tbaa !9
  %588 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl8ae_v_addEPdlPKdll(ptr noundef %586, i64 noundef 1, ptr noundef %587, i64 noundef 1, i64 noundef %588)
  %589 = load i64, ptr %26, align 8, !tbaa !5
  %590 = load double, ptr %27, align 8, !tbaa !14
  %591 = load double, ptr %28, align 8, !tbaa !14
  %592 = call noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorES1_S1_S1_S1_S1_llldddPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %589, double noundef %590, double noundef %.5664, double noundef %591, ptr noundef %12)
  %593 = load double, ptr %28, align 8, !tbaa !14
  %594 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %593, double noundef 0.000000e+00)
  br i1 %594, label %595, label %678

595:                                              ; preds = %.thread712
  %596 = load double, ptr %28, align 8, !tbaa !14
  %597 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %596, double noundef 1.000000e+00)
  br i1 %597, label %598, label %678

598:                                              ; preds = %595
  %599 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %17, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %599, ptr %24, align 8, !tbaa !14
  %600 = load double, ptr %28, align 8, !tbaa !14
  %601 = fsub double 1.000000e+00, %600
  %602 = load ptr, ptr %118, align 8, !tbaa !9
  %603 = load ptr, ptr %127, align 8, !tbaa !9
  %604 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %602, i64 noundef 1, ptr noundef %603, i64 noundef 1, i64 noundef %604)
  %605 = load ptr, ptr %118, align 8, !tbaa !9
  %606 = load ptr, ptr %117, align 8, !tbaa !9
  %607 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %605, i64 noundef 1, ptr noundef %606, i64 noundef 1, i64 noundef %607, double noundef %601)
  %608 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  %609 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %18, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %609, ptr %25, align 8, !tbaa !14
  %610 = load double, ptr %24, align 8, !tbaa !14
  %611 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %609, double noundef %610)
  br i1 %611, label %612, label %614

612:                                              ; preds = %598
  %613 = load double, ptr %25, align 8, !tbaa !14
  store double %613, ptr %24, align 8, !tbaa !14
  br label %614

614:                                              ; preds = %612, %598
  %.2658 = phi double [ %601, %612 ], [ 0.000000e+00, %598 ]
  %615 = fmul double %601, 5.000000e-01
  %616 = load ptr, ptr %118, align 8, !tbaa !9
  %617 = load ptr, ptr %127, align 8, !tbaa !9
  %618 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %616, i64 noundef 1, ptr noundef %617, i64 noundef 1, i64 noundef %618)
  %619 = load ptr, ptr %118, align 8, !tbaa !9
  %620 = load ptr, ptr %117, align 8, !tbaa !9
  %621 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %619, i64 noundef 1, ptr noundef %620, i64 noundef 1, i64 noundef %621, double noundef %615)
  %622 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  %623 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %18, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %623, ptr %25, align 8, !tbaa !14
  %624 = load double, ptr %24, align 8, !tbaa !14
  %625 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %623, double noundef %624)
  br i1 %625, label %626, label %628

626:                                              ; preds = %614
  %627 = load double, ptr %25, align 8, !tbaa !14
  store double %627, ptr %24, align 8, !tbaa !14
  br label %628

628:                                              ; preds = %626, %614
  %.2658.1 = phi double [ %615, %626 ], [ %.2658, %614 ]
  %629 = fmul double %615, 5.000000e-01
  %630 = load ptr, ptr %118, align 8, !tbaa !9
  %631 = load ptr, ptr %127, align 8, !tbaa !9
  %632 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %630, i64 noundef 1, ptr noundef %631, i64 noundef 1, i64 noundef %632)
  %633 = load ptr, ptr %118, align 8, !tbaa !9
  %634 = load ptr, ptr %117, align 8, !tbaa !9
  %635 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %633, i64 noundef 1, ptr noundef %634, i64 noundef 1, i64 noundef %635, double noundef %629)
  %636 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  %637 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %18, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %637, ptr %25, align 8, !tbaa !14
  %638 = load double, ptr %24, align 8, !tbaa !14
  %639 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %637, double noundef %638)
  br i1 %639, label %640, label %642

640:                                              ; preds = %628
  %641 = load double, ptr %25, align 8, !tbaa !14
  store double %641, ptr %24, align 8, !tbaa !14
  br label %642

642:                                              ; preds = %640, %628
  %.2658.2 = phi double [ %629, %640 ], [ %.2658.1, %628 ]
  %643 = fmul double %629, 5.000000e-01
  %644 = load ptr, ptr %118, align 8, !tbaa !9
  %645 = load ptr, ptr %127, align 8, !tbaa !9
  %646 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %644, i64 noundef 1, ptr noundef %645, i64 noundef 1, i64 noundef %646)
  %647 = load ptr, ptr %118, align 8, !tbaa !9
  %648 = load ptr, ptr %117, align 8, !tbaa !9
  %649 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %647, i64 noundef 1, ptr noundef %648, i64 noundef 1, i64 noundef %649, double noundef %643)
  %650 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  %651 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %18, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %651, ptr %25, align 8, !tbaa !14
  %652 = load double, ptr %24, align 8, !tbaa !14
  %653 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %651, double noundef %652)
  br i1 %653, label %654, label %656

654:                                              ; preds = %642
  %655 = load double, ptr %25, align 8, !tbaa !14
  store double %655, ptr %24, align 8, !tbaa !14
  br label %656

656:                                              ; preds = %654, %642
  %.2658.3 = phi double [ %643, %654 ], [ %.2658.2, %642 ]
  %657 = fmul double %643, 5.000000e-01
  %658 = load ptr, ptr %118, align 8, !tbaa !9
  %659 = load ptr, ptr %127, align 8, !tbaa !9
  %660 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %658, i64 noundef 1, ptr noundef %659, i64 noundef 1, i64 noundef %660)
  %661 = load ptr, ptr %118, align 8, !tbaa !9
  %662 = load ptr, ptr %117, align 8, !tbaa !9
  %663 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %661, i64 noundef 1, ptr noundef %662, i64 noundef 1, i64 noundef %663, double noundef %657)
  %664 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  %665 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %18, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %665, ptr %25, align 8, !tbaa !14
  %666 = load double, ptr %24, align 8, !tbaa !14
  %667 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %665, double noundef %666)
  br i1 %667, label %668, label %670

668:                                              ; preds = %656
  %669 = load double, ptr %25, align 8, !tbaa !14
  store double %669, ptr %24, align 8, !tbaa !14
  br label %670

670:                                              ; preds = %668, %656
  %.2658.4 = phi double [ %657, %668 ], [ %.2658.3, %656 ]
  %671 = load ptr, ptr %118, align 8, !tbaa !9
  %672 = load ptr, ptr %127, align 8, !tbaa !9
  %673 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %671, i64 noundef 1, ptr noundef %672, i64 noundef 1, i64 noundef %673)
  %674 = load ptr, ptr %118, align 8, !tbaa !9
  %675 = load ptr, ptr %117, align 8, !tbaa !9
  %676 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %674, i64 noundef 1, ptr noundef %675, i64 noundef 1, i64 noundef %676, double noundef %.2658.4)
  %677 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorES1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  br label %682

678:                                              ; preds = %595, %.thread712
  %679 = load ptr, ptr %118, align 8, !tbaa !9
  %680 = load ptr, ptr %127, align 8, !tbaa !9
  %681 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %679, i64 noundef 1, ptr noundef %680, i64 noundef 1, i64 noundef %681)
  br label %682

682:                                              ; preds = %678, %670
  %683 = load double, ptr %28, align 8, !tbaa !14
  %684 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %683, double noundef 1.000000e+00)
  br i1 %684, label %688, label %685

685:                                              ; preds = %682
  %686 = load double, ptr %28, align 8, !tbaa !14
  %687 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %686, double noundef 0.000000e+00)
  br label %688

688:                                              ; preds = %685, %682
  %689 = phi i1 [ true, %682 ], [ %687, %685 ]
  %690 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %0, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  %691 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %18, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  %692 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %691, double noundef %690)
  br i1 %692, label %697, label %693

693:                                              ; preds = %688
  %694 = load ptr, ptr %110, align 8, !tbaa !9
  %695 = load ptr, ptr %118, align 8, !tbaa !9
  %696 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %694, i64 noundef 1, ptr noundef %695, i64 noundef 1, i64 noundef %696)
  br i1 %689, label %697, label %.preheader726, !llvm.loop !49

697:                                              ; preds = %693, %688, %575, %._crit_edge789, %242, %._crit_edge777
  br i1 %.not699863, label %._crit_edge868, label %.lr.ph867

.lr.ph867:                                        ; preds = %697, %773
  %.0634865 = phi i64 [ %774, %773 ], [ 1, %697 ]
  %.0650864 = phi i1 [ true, %773 ], [ false, %697 ]
  call void @_ZN11alglib_implL28optserv_feasibilityerrorgradEPNS_9ae_matrixEPNS_9ae_vectorElllPdS3_S3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %0, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %25, ptr noundef nonnull %20, ptr noundef nonnull %30, ptr noundef %12)
  %698 = load ptr, ptr %128, align 8, !tbaa !9
  %699 = load ptr, ptr %113, align 8, !tbaa !9
  %700 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %698, i64 noundef 1, ptr noundef %699, i64 noundef 1, i64 noundef %700)
  call void @_ZN11alglib_impl21projectgradientintobcEPNS_9ae_vectorES1_S1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef %0, ptr noundef nonnull %21, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  call void @_ZN11alglib_impl15filterdirectionEPNS_9ae_vectorES1_S1_S1_S1_S1_S1_lldPNS_8ae_stateE(ptr noundef nonnull %21, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %23, i64 noundef %5, i64 noundef %6, double noundef 1.000000e-09, ptr noundef %12)
  br i1 %.not.not677748, label %.lr.ph854, label %._crit_edge855

.lr.ph854:                                        ; preds = %.lr.ph867, %718
  %.18852 = phi i64 [ %719, %718 ], [ 0, %.lr.ph867 ]
  %701 = load ptr, ptr %116, align 8, !tbaa !9
  %702 = getelementptr inbounds double, ptr %701, i64 %.18852
  %703 = load double, ptr %702, align 8, !tbaa !14
  %704 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %703, ptr noundef %12)
  %705 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %704, double noundef 0.000000e+00)
  %706 = load ptr, ptr %128, align 8, !tbaa !9
  %707 = getelementptr inbounds double, ptr %706, i64 %.18852
  br i1 %705, label %708, label %717

708:                                              ; preds = %.lr.ph854
  %709 = load double, ptr %707, align 8, !tbaa !14
  %710 = load ptr, ptr %116, align 8, !tbaa !9
  %711 = getelementptr inbounds double, ptr %710, i64 %.18852
  %712 = load double, ptr %711, align 8, !tbaa !14
  %713 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %712, ptr noundef %12)
  %714 = fdiv double %709, %713
  %715 = load ptr, ptr %128, align 8, !tbaa !9
  %716 = getelementptr inbounds double, ptr %715, i64 %.18852
  store double %714, ptr %716, align 8, !tbaa !14
  br label %718

717:                                              ; preds = %.lr.ph854
  store double 0.000000e+00, ptr %707, align 8, !tbaa !14
  br label %718

718:                                              ; preds = %708, %717
  %719 = add nuw nsw i64 %.18852, 1
  %exitcond909.not = icmp eq i64 %719, %42
  br i1 %exitcond909.not, label %._crit_edge855, label %.lr.ph854, !llvm.loop !50

._crit_edge855:                                   ; preds = %718, %.lr.ph867
  %720 = load ptr, ptr %128, align 8, !tbaa !9
  %721 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  %722 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %720, i64 noundef 1, ptr noundef %720, i64 noundef 1, i64 noundef %721)
  %723 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %722, ptr noundef %12)
  %724 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %723, double noundef 0.000000e+00)
  br i1 %724, label %725, label %.lr.ph860

725:                                              ; preds = %._crit_edge855
  %726 = load double, ptr %25, align 8, !tbaa !14
  %727 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %726, double noundef %9)
  br label %.loopexit

.lr.ph860:                                        ; preds = %._crit_edge855
  %728 = load ptr, ptr %113, align 8, !tbaa !9
  %729 = load ptr, ptr %128, align 8, !tbaa !9
  %730 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  %731 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %728, i64 noundef 1, ptr noundef %729, i64 noundef 1, i64 noundef %730)
  call void @_ZN11alglib_impl11rmatrixgemvElldPNS_9ae_matrixElllPNS_9ae_vectorEldS3_lPNS_8ae_stateE(i64 noundef %8, i64 noundef %42, double noundef 1.000000e+00, ptr noundef nonnull %15, i64 noundef 0, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %21, i64 noundef 0, double noundef 0.000000e+00, ptr noundef nonnull %30, i64 noundef 0, ptr noundef %12)
  br label %732

732:                                              ; preds = %.lr.ph860, %732
  %.19858 = phi i64 [ 0, %.lr.ph860 ], [ %738, %732 ]
  %.0652857 = phi double [ 0.000000e+00, %.lr.ph860 ], [ %737, %732 ]
  %733 = load ptr, ptr %123, align 8, !tbaa !9
  %734 = getelementptr inbounds double, ptr %733, i64 %.19858
  %735 = load double, ptr %734, align 8, !tbaa !14
  %736 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %735, ptr noundef %12)
  %737 = fadd double %.0652857, %736
  %738 = add nuw nsw i64 %.19858, 1
  %exitcond910.not = icmp eq i64 %738, %8
  br i1 %exitcond910.not, label %._crit_edge861, label %732, !llvm.loop !51

._crit_edge861:                                   ; preds = %732
  %739 = fdiv double %731, %737
  call void @_ZN11alglib_impl18calculatestepboundEPNS_9ae_vectorES1_dS1_S1_S1_S1_llPlPdS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef nonnull %21, double noundef -1.000000e+00, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef %12)
  %740 = load i64, ptr %26, align 8, !tbaa !5
  %741 = icmp sgt i64 %740, -1
  br i1 %741, label %742, label %.thread715

742:                                              ; preds = %._crit_edge861
  %743 = load double, ptr %28, align 8, !tbaa !14
  %744 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %743, double noundef 0.000000e+00)
  br i1 %744, label %.loopexit, label %745

745:                                              ; preds = %742
  %.pr714 = load i64, ptr %26, align 8, !tbaa !5
  %746 = icmp sgt i64 %.pr714, -1
  br i1 %746, label %747, label %.thread715

747:                                              ; preds = %745
  %748 = load double, ptr %28, align 8, !tbaa !14
  %749 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %739, double noundef %748, ptr noundef %12)
  br label %.thread715

.thread715:                                       ; preds = %._crit_edge861, %745, %747
  %.6665 = phi double [ %749, %747 ], [ %739, %745 ], [ %739, %._crit_edge861 ]
  %750 = load ptr, ptr %127, align 8, !tbaa !9
  %751 = load ptr, ptr %110, align 8, !tbaa !9
  %752 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %750, i64 noundef 1, ptr noundef %751, i64 noundef 1, i64 noundef %752)
  %753 = load ptr, ptr %127, align 8, !tbaa !9
  %754 = load ptr, ptr %128, align 8, !tbaa !9
  %755 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef %753, i64 noundef 1, ptr noundef %754, i64 noundef 1, i64 noundef %755, double noundef %.6665)
  %756 = load i64, ptr %26, align 8, !tbaa !5
  %757 = load double, ptr %27, align 8, !tbaa !14
  %758 = load double, ptr %28, align 8, !tbaa !14
  %759 = call noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorES1_S1_S1_S1_S1_llldddPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %756, double noundef %757, double noundef %.6665, double noundef %758, ptr noundef %12)
  br i1 %.0650864, label %.critedge, label %760

760:                                              ; preds = %.thread715
  %761 = call noundef i64 @_ZN11alglib_impl26numberofchangedconstraintsEPNS_9ae_vectorES1_S1_S1_S1_S1_llPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %12)
  %762 = icmp sgt i64 %761, 0
  %763 = load ptr, ptr %110, align 8, !tbaa !9
  %764 = load ptr, ptr %127, align 8, !tbaa !9
  %765 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %763, i64 noundef 1, ptr noundef %764, i64 noundef 1, i64 noundef %765)
  %766 = load i64, ptr %11, align 8, !tbaa !5
  %767 = add nsw i64 %766, 1
  store i64 %767, ptr %11, align 8, !tbaa !5
  br i1 %762, label %773, label %._crit_edge868

.critedge:                                        ; preds = %.thread715
  %768 = load ptr, ptr %110, align 8, !tbaa !9
  %769 = load ptr, ptr %127, align 8, !tbaa !9
  %770 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %768, i64 noundef 1, ptr noundef %769, i64 noundef 1, i64 noundef %770)
  %771 = load i64, ptr %11, align 8, !tbaa !5
  %772 = add nsw i64 %771, 1
  store i64 %772, ptr %11, align 8, !tbaa !5
  br label %773

773:                                              ; preds = %.critedge, %760
  %774 = add nuw i64 %.0634865, 1
  %exitcond911.not = icmp eq i64 %.0634865, %8
  br i1 %exitcond911.not, label %._crit_edge868, label %.lr.ph867, !llvm.loop !52

._crit_edge868:                                   ; preds = %773, %760, %697
  %.not706 = phi i1 [ true, %697 ], [ true, %760 ], [ false, %773 ]
  %775 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPNS_9ae_matrixEPNS_9ae_vectorElllS3_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %0, i64 noundef %5, i64 noundef %6, i64 noundef %8, ptr noundef nonnull %30, ptr noundef %12)
  store double %775, ptr %25, align 8, !tbaa !14
  %776 = fmul double %.pre912920, 0x3FEFFFFFFFFFEE68
  %777 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %775, double noundef %776)
  br i1 %777, label %778, label %779

778:                                              ; preds = %._crit_edge868
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %36, ptr noundef %12)
  br label %780

779:                                              ; preds = %._crit_edge868
  store i64 0, ptr %36, align 8, !tbaa !5
  br label %780

780:                                              ; preds = %779, %778
  %781 = load double, ptr %25, align 8, !tbaa !14
  %782 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %781, double noundef %9)
  br i1 %782, label %783, label %784

783:                                              ; preds = %780
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %35, ptr noundef %12)
  %.pre913 = load i64, ptr %35, align 8
  br label %785

784:                                              ; preds = %780
  store i64 0, ptr %35, align 8, !tbaa !5
  br label %785

785:                                              ; preds = %784, %783
  %786 = phi i64 [ 0, %784 ], [ %.pre913, %783 ]
  %787 = icmp sgt i64 %786, 2
  %or.cond = select i1 %.not706, i1 true, i1 %787
  %788 = load i64, ptr %36, align 8
  %789 = icmp sgt i64 %788, 2
  %or.cond709 = select i1 %or.cond, i1 true, i1 %789
  br i1 %or.cond709, label %790, label %793

790:                                              ; preds = %785
  %791 = load double, ptr %25, align 8, !tbaa !14
  %792 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %791, double noundef %9)
  br label %.loopexit

793:                                              ; preds = %785
  %794 = call noundef zeroext i1 @_ZN11alglib_impl11alwaysfalseEPNS_8ae_stateE(ptr noundef %12)
  br i1 %794, label %795, label %136, !llvm.loop !53

795:                                              ; preds = %793
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.131, ptr noundef %12)
  br label %.loopexit

.loopexit:                                        ; preds = %742, %40, %13, %795, %790, %725, %._crit_edge764.thread
  %.0 = phi i1 [ %170, %._crit_edge764.thread ], [ %727, %725 ], [ %792, %790 ], [ false, %795 ], [ false, %13 ], [ true, %40 ], [ false, %742 ]
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %12)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 736, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #5
  ret i1 %.0
}

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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