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

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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_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.187 = 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 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 void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #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_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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_impl21projectgradientintobcEPKNS_9ae_vectorEPS0_S2_S2_S2_S2_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_impl18calculatestepboundEPKNS_9ae_vectorES2_dS2_S2_S2_S2_llPlPdS4_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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorEPKS0_S3_S3_S3_S3_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_vectorEPKS0_S3_S3_S3_S3_S3_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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11alglib_impl26numberofchangedconstraintsEPKNS_9ae_vectorES2_S2_S2_S2_S2_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_vectorEPKS0_S3_S3_S3_llPKNS_9ae_matrixEldPlS7_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 double, align 8
  %79 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %80 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %81 = alloca i8, align 1
  %82 = 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 8, ptr %78) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %79) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %80) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %81) #5
  %83 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %83, 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 %79, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %80, i8 0, i64 80, i1 false)
  %84 = load ptr, ptr %22, align 8, !tbaa !5
  %85 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %29, ptr noundef %84, ptr noundef %85, i1 noundef zeroext true)
  %86 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 0, ptr %86, align 8, !tbaa !9
  %87 = load ptr, ptr %26, align 8, !tbaa !5
  store i64 0, ptr %87, align 8, !tbaa !9
  %88 = 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 %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 %35, 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 %36, 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 %37, 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 %38, 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 %39, 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 %40, 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 %41, 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 %63, 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 %64, 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 %65, i64 noundef 0, i64 noundef 3, 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 %68, 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_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %69, i64 noundef 0, i64 noundef 2, ptr noundef %100, i1 noundef zeroext true)
  %101 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl15_apbuffers_initEPvPNS_8ae_stateEb(ptr noundef %70, 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)
  %103 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %80, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %103, 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
  %104 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 0, ptr %104, align 8, !tbaa !9
  %105 = load ptr, ptr %26, align 8, !tbaa !5
  store i64 0, ptr %105, align 8, !tbaa !9
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = load ptr, ptr %17, align 8, !tbaa !5
  %109 = load ptr, ptr %18, align 8, !tbaa !5
  %110 = load ptr, ptr %19, align 8, !tbaa !5
  %111 = load i64, ptr %20, align 8, !tbaa !9
  %112 = load i64, ptr %21, align 8, !tbaa !9
  %113 = load ptr, ptr %27, align 8, !tbaa !5
  %114 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_llPNS_8ae_stateE(ptr noundef %106, ptr noundef %107, ptr noundef %108, ptr noundef %109, ptr noundef %110, i64 noundef %111, i64 noundef %112, ptr noundef %113)
  br i1 %114, label %119, label %115

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

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

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

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

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

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

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

140:                                              ; preds = %133
  %141 = load double, ptr %45, align 8, !tbaa !11
  %142 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %29, 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 %141, double noundef %151, ptr noundef %152)
  store double %153, ptr %45, align 8, !tbaa !11
  br label %154

154:                                              ; preds = %140
  %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 %133, !llvm.loop !18

157:                                              ; preds = %133
  %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 %174

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 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %29, i32 0, i32 6
  %164 = load ptr, ptr %163, align 8, !tbaa !17
  %165 = load i64, ptr %30, align 8, !tbaa !9
  %166 = getelementptr inbounds ptr, ptr %164, i64 %165
  %167 = load ptr, ptr %166, align 8, !tbaa !5
  %168 = getelementptr inbounds double, ptr %167, i64 0
  %169 = load i64, ptr %20, align 8, !tbaa !9
  %170 = load i64, ptr %21, align 8, !tbaa !9
  %171 = add nsw i64 %169, %170
  %172 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %171)
  %173 = load double, ptr %45, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %168, i64 noundef 1, i64 noundef %172, double noundef %173)
  br label %174

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

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

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

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

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

238:                                              ; preds = %264, %229
  %239 = load i64, ptr %31, align 8, !tbaa !9
  %240 = load i64, ptr %23, align 8, !tbaa !9
  %241 = sub nsw i64 %240, 1
  %242 = icmp sle i64 %239, %241
  br i1 %242, label %243, label %267

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

264:                                              ; preds = %243
  %265 = load i64, ptr %31, align 8, !tbaa !9
  %266 = add nsw i64 %265, 1
  store i64 %266, ptr %31, align 8, !tbaa !9
  br label %238, !llvm.loop !21

267:                                              ; preds = %238
  br label %268

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

271:                                              ; preds = %222
  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 %272

272:                                              ; preds = %1746, %271
  %273 = load i64, ptr %20, align 8, !tbaa !9
  %274 = load i64, ptr %21, align 8, !tbaa !9
  %275 = add nsw i64 %273, %274
  %276 = load ptr, ptr %15, align 8, !tbaa !5
  %277 = load ptr, ptr %27, align 8, !tbaa !5
  %278 = call noundef double @_ZN11alglib_impl8rmaxabsvElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %275, ptr noundef %276, ptr noundef %277)
  %279 = load ptr, ptr %27, align 8, !tbaa !5
  %280 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %278, double noundef 1.000000e+00, ptr noundef %279)
  %281 = load i64, ptr %20, align 8, !tbaa !9
  %282 = add nsw i64 1000, %281
  %283 = sitofp i64 %282 to double
  %284 = fmul double %280, %283
  %285 = fmul double %284, 5.000000e-16
  store double %285, ptr %78, align 8, !tbaa !11
  store i8 1, ptr %62, align 1, !tbaa !13
  %286 = load ptr, ptr %15, align 8, !tbaa !5
  %287 = load i64, ptr %20, align 8, !tbaa !9
  %288 = load i64, ptr %21, align 8, !tbaa !9
  %289 = load i64, ptr %23, align 8, !tbaa !9
  %290 = load ptr, ptr %27, align 8, !tbaa !5
  %291 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_PNS_8ae_stateE(ptr noundef %29, ptr noundef %286, i64 noundef %287, i64 noundef %288, i64 noundef %289, ptr noundef %64, ptr noundef %290)
  store double %291, ptr %48, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %292

292:                                              ; preds = %369, %272
  %293 = load i64, ptr %30, align 8, !tbaa !9
  %294 = load i64, ptr %23, align 8, !tbaa !9
  %295 = sub nsw i64 %294, 1
  %296 = icmp sle i64 %293, %295
  br i1 %296, label %297, label %372

297:                                              ; preds = %292
  store double 0.000000e+00, ptr %47, align 8, !tbaa !11
  %298 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %29, i32 0, i32 6
  %299 = load ptr, ptr %298, align 8, !tbaa !17
  %300 = load i64, ptr %30, align 8, !tbaa !9
  %301 = getelementptr inbounds ptr, ptr %299, i64 %300
  %302 = load ptr, ptr %301, align 8, !tbaa !5
  %303 = load i64, ptr %20, align 8, !tbaa !9
  %304 = load i64, ptr %21, align 8, !tbaa !9
  %305 = add nsw i64 %303, %304
  %306 = getelementptr inbounds double, ptr %302, i64 %305
  %307 = load double, ptr %306, align 8, !tbaa !11
  %308 = fneg double %307
  store double %308, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %309

309:                                              ; preds = %353, %297
  %310 = load i64, ptr %31, align 8, !tbaa !9
  %311 = load i64, ptr %20, align 8, !tbaa !9
  %312 = load i64, ptr %21, align 8, !tbaa !9
  %313 = add nsw i64 %311, %312
  %314 = sub nsw i64 %313, 1
  %315 = icmp sle i64 %310, %314
  br i1 %315, label %316, label %356

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

353:                                              ; preds = %316
  %354 = load i64, ptr %31, align 8, !tbaa !9
  %355 = add nsw i64 %354, 1
  store i64 %355, ptr %31, align 8, !tbaa !9
  br label %309, !llvm.loop !23

356:                                              ; preds = %309
  %357 = load i8, ptr %62, align 1, !tbaa !13, !range !15, !noundef !16
  %358 = trunc i8 %357 to i1
  br i1 %358, label %359, label %366

359:                                              ; preds = %356
  %360 = load double, ptr %45, align 8, !tbaa !11
  %361 = load ptr, ptr %27, align 8, !tbaa !5
  %362 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %360, ptr noundef %361)
  %363 = load double, ptr %47, align 8, !tbaa !11
  %364 = fmul double 5.000000e-14, %363
  %365 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %362, double noundef %364)
  br label %366

366:                                              ; preds = %359, %356
  %367 = phi i1 [ false, %356 ], [ %365, %359 ]
  %368 = zext i1 %367 to i8
  store i8 %368, ptr %62, align 1, !tbaa !13
  br label %369

369:                                              ; preds = %366
  %370 = load i64, ptr %30, align 8, !tbaa !9
  %371 = add nsw i64 %370, 1
  store i64 %371, ptr %30, align 8, !tbaa !9
  br label %292, !llvm.loop !24

372:                                              ; preds = %292
  %373 = load double, ptr %48, align 8, !tbaa !11
  store double %373, ptr %49, align 8, !tbaa !11
  %374 = load i8, ptr %62, align 1, !tbaa !13, !range !15, !noundef !16
  %375 = trunc i8 %374 to i1
  br i1 %375, label %376, label %384

376:                                              ; preds = %372
  %377 = load double, ptr %48, align 8, !tbaa !11
  %378 = load double, ptr %24, align 8, !tbaa !11
  %379 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %377, double noundef %378)
  %380 = zext i1 %379 to i8
  store i8 %380, ptr %81, align 1, !tbaa !13
  %381 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %381)
  %382 = load i8, ptr %81, align 1, !tbaa !13, !range !15, !noundef !16
  %383 = trunc i8 %382 to i1
  store i1 %383, ptr %14, align 1
  store i32 1, ptr %82, align 4
  br label %1751

384:                                              ; preds = %372
  br label %385

385:                                              ; preds = %1445, %384
  store double 0.000000e+00, ptr %43, align 8, !tbaa !11
  %386 = load ptr, ptr %15, align 8, !tbaa !5
  %387 = load i64, ptr %20, align 8, !tbaa !9
  %388 = load i64, ptr %21, align 8, !tbaa !9
  %389 = load i64, ptr %23, align 8, !tbaa !9
  %390 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_implL28optserv_feasibilityerrorgradEPKNS_9ae_matrixEPKNS_9ae_vectorElllPdPS3_S7_PNS_8ae_stateE(ptr noundef %29, ptr noundef %386, i64 noundef %387, i64 noundef %388, i64 noundef %389, ptr noundef %44, ptr noundef %38, ptr noundef %64, ptr noundef %390)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %391

391:                                              ; preds = %451, %385
  %392 = load i64, ptr %30, align 8, !tbaa !9
  %393 = load i64, ptr %20, align 8, !tbaa !9
  %394 = sub nsw i64 %393, 1
  %395 = icmp sle i64 %392, %394
  br i1 %395, label %396, label %454

396:                                              ; preds = %391
  %397 = load ptr, ptr %17, align 8, !tbaa !5
  %398 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %397, i32 0, i32 4
  %399 = load ptr, ptr %398, align 8, !tbaa !17
  %400 = load i64, ptr %30, align 8, !tbaa !9
  %401 = getelementptr inbounds i8, ptr %399, i64 %400
  %402 = load i8, ptr %401, align 1, !tbaa !13, !range !15, !noundef !16
  %403 = trunc i8 %402 to i1
  br i1 %403, label %404, label %423

404:                                              ; preds = %396
  %405 = load ptr, ptr %15, 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 = load ptr, ptr %16, align 8, !tbaa !5
  %412 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %411, i32 0, i32 4
  %413 = load ptr, ptr %412, align 8, !tbaa !17
  %414 = load i64, ptr %30, align 8, !tbaa !9
  %415 = getelementptr inbounds double, ptr %413, i64 %414
  %416 = load double, ptr %415, align 8, !tbaa !11
  %417 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %410, double noundef %416)
  br i1 %417, label %418, label %423

418:                                              ; preds = %404
  %419 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, 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 double, ptr %420, i64 %421
  store double 0.000000e+00, ptr %422, align 8, !tbaa !11
  br label %423

423:                                              ; preds = %418, %404, %396
  %424 = load ptr, ptr %19, align 8, !tbaa !5
  %425 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %424, i32 0, i32 4
  %426 = load ptr, ptr %425, align 8, !tbaa !17
  %427 = load i64, ptr %30, align 8, !tbaa !9
  %428 = getelementptr inbounds i8, ptr %426, i64 %427
  %429 = load i8, ptr %428, align 1, !tbaa !13, !range !15, !noundef !16
  %430 = trunc i8 %429 to i1
  br i1 %430, label %431, label %450

431:                                              ; preds = %423
  %432 = load ptr, ptr %15, 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 = load ptr, ptr %18, align 8, !tbaa !5
  %439 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %438, i32 0, i32 4
  %440 = load ptr, ptr %439, align 8, !tbaa !17
  %441 = load i64, ptr %30, align 8, !tbaa !9
  %442 = getelementptr inbounds double, ptr %440, i64 %441
  %443 = load double, ptr %442, align 8, !tbaa !11
  %444 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %437, double noundef %443)
  br i1 %444, label %445, label %450

445:                                              ; preds = %431
  %446 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %447 = load ptr, ptr %446, align 8, !tbaa !17
  %448 = load i64, ptr %30, align 8, !tbaa !9
  %449 = getelementptr inbounds double, ptr %447, i64 %448
  store double 0.000000e+00, ptr %449, align 8, !tbaa !11
  br label %450

450:                                              ; preds = %445, %431, %423
  br label %451

451:                                              ; preds = %450
  %452 = load i64, ptr %30, align 8, !tbaa !9
  %453 = add nsw i64 %452, 1
  store i64 %453, ptr %30, align 8, !tbaa !9
  br label %391, !llvm.loop !25

454:                                              ; preds = %391
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %455

455:                                              ; preds = %478, %454
  %456 = load i64, ptr %30, align 8, !tbaa !9
  %457 = load i64, ptr %21, align 8, !tbaa !9
  %458 = sub nsw i64 %457, 1
  %459 = icmp sle i64 %456, %458
  br i1 %459, label %460, label %481

460:                                              ; preds = %455
  %461 = load ptr, ptr %15, align 8, !tbaa !5
  %462 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %461, i32 0, i32 4
  %463 = load ptr, ptr %462, align 8, !tbaa !17
  %464 = load i64, ptr %20, align 8, !tbaa !9
  %465 = load i64, ptr %30, align 8, !tbaa !9
  %466 = add nsw i64 %464, %465
  %467 = getelementptr inbounds double, ptr %463, i64 %466
  %468 = load double, ptr %467, align 8, !tbaa !11
  %469 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %468, double noundef 0.000000e+00)
  br i1 %469, label %470, label %477

470:                                              ; preds = %460
  %471 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %472 = load ptr, ptr %471, align 8, !tbaa !17
  %473 = load i64, ptr %20, align 8, !tbaa !9
  %474 = load i64, ptr %30, align 8, !tbaa !9
  %475 = add nsw i64 %473, %474
  %476 = getelementptr inbounds double, ptr %472, i64 %475
  store double 0.000000e+00, ptr %476, align 8, !tbaa !11
  br label %477

477:                                              ; preds = %470, %460
  br label %478

478:                                              ; preds = %477
  %479 = load i64, ptr %30, align 8, !tbaa !9
  %480 = add nsw i64 %479, 1
  store i64 %480, ptr %30, align 8, !tbaa !9
  br label %455, !llvm.loop !26

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

482:                                              ; preds = %532, %481
  %483 = load i64, ptr %30, align 8, !tbaa !9
  %484 = load i64, ptr %20, align 8, !tbaa !9
  %485 = load i64, ptr %21, align 8, !tbaa !9
  %486 = add nsw i64 %484, %485
  %487 = sub nsw i64 %486, 1
  %488 = icmp sle i64 %483, %487
  br i1 %488, label %489, label %535

489:                                              ; preds = %482
  %490 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %491 = load ptr, ptr %490, align 8, !tbaa !17
  %492 = load i64, ptr %30, align 8, !tbaa !9
  %493 = getelementptr inbounds double, ptr %491, i64 %492
  %494 = load double, ptr %493, align 8, !tbaa !11
  %495 = load ptr, ptr %27, align 8, !tbaa !5
  %496 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %494, ptr noundef %495)
  %497 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %496, double noundef 0.000000e+00)
  br i1 %497, label %498, label %517

498:                                              ; preds = %489
  %499 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, 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 = fneg double %503
  %505 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %506 = load ptr, ptr %505, align 8, !tbaa !17
  %507 = load i64, ptr %30, align 8, !tbaa !9
  %508 = getelementptr inbounds double, ptr %506, i64 %507
  %509 = load double, ptr %508, align 8, !tbaa !11
  %510 = load ptr, ptr %27, align 8, !tbaa !5
  %511 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %509, ptr noundef %510)
  %512 = fdiv double %504, %511
  %513 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %514 = load ptr, ptr %513, align 8, !tbaa !17
  %515 = load i64, ptr %30, align 8, !tbaa !9
  %516 = getelementptr inbounds double, ptr %514, i64 %515
  store double %512, ptr %516, align 8, !tbaa !11
  br label %522

517:                                              ; preds = %489
  %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
  store double 0.000000e+00, ptr %521, align 8, !tbaa !11
  br label %522

522:                                              ; preds = %517, %498
  %523 = load double, ptr %45, align 8, !tbaa !11
  %524 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %525 = load ptr, ptr %524, align 8, !tbaa !17
  %526 = load i64, ptr %30, align 8, !tbaa !9
  %527 = getelementptr inbounds double, ptr %525, i64 %526
  %528 = load double, ptr %527, align 8, !tbaa !11
  %529 = load ptr, ptr %27, align 8, !tbaa !5
  %530 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %528, ptr noundef %529)
  %531 = fadd double %523, %530
  store double %531, ptr %45, align 8, !tbaa !11
  br label %532

532:                                              ; preds = %522
  %533 = load i64, ptr %30, align 8, !tbaa !9
  %534 = add nsw i64 %533, 1
  store i64 %534, ptr %30, align 8, !tbaa !9
  br label %482, !llvm.loop !27

535:                                              ; preds = %482
  %536 = load double, ptr %45, align 8, !tbaa !11
  %537 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %536, double noundef 0.000000e+00)
  br i1 %537, label %538, label %539

538:                                              ; preds = %535
  br label %1446

539:                                              ; preds = %535
  %540 = load ptr, ptr %15, align 8, !tbaa !5
  %541 = load ptr, ptr %16, align 8, !tbaa !5
  %542 = load ptr, ptr %17, align 8, !tbaa !5
  %543 = load ptr, ptr %18, align 8, !tbaa !5
  %544 = load ptr, ptr %19, align 8, !tbaa !5
  %545 = load i64, ptr %20, align 8, !tbaa !9
  %546 = load i64, ptr %21, align 8, !tbaa !9
  %547 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl18calculatestepboundEPKNS_9ae_vectorES2_dS2_S2_S2_S2_llPlPdS4_PNS_8ae_stateE(ptr noundef %540, ptr noundef %37, double noundef 1.000000e+00, ptr noundef %541, ptr noundef %542, ptr noundef %543, ptr noundef %544, i64 noundef %545, i64 noundef %546, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %547)
  %548 = load i64, ptr %57, align 8, !tbaa !9
  %549 = icmp sge i64 %548, 0
  br i1 %549, label %550, label %554

550:                                              ; preds = %539
  %551 = load double, ptr %59, align 8, !tbaa !11
  %552 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %551, double noundef 0.000000e+00)
  br i1 %552, label %553, label %554

553:                                              ; preds = %550
  br label %1446

554:                                              ; preds = %550, %539
  %555 = load i64, ptr %57, align 8, !tbaa !9
  %556 = icmp sge i64 %555, 0
  br i1 %556, label %557, label %561

557:                                              ; preds = %554
  %558 = load double, ptr %59, align 8, !tbaa !11
  %559 = load ptr, ptr %27, align 8, !tbaa !5
  %560 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef 1.000000e+00, double noundef %558, ptr noundef %559)
  store double %560, ptr %42, align 8, !tbaa !11
  br label %562

561:                                              ; preds = %554
  store double 1.000000e+00, ptr %42, align 8, !tbaa !11
  br label %562

562:                                              ; preds = %561, %557
  br label %563

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

604:                                              ; preds = %563
  br label %610

605:                                              ; preds = %563
  %606 = load double, ptr %48, align 8, !tbaa !11
  store double %606, ptr %44, align 8, !tbaa !11
  %607 = load double, ptr %42, align 8, !tbaa !11
  store double %607, ptr %43, align 8, !tbaa !11
  %608 = load double, ptr %42, align 8, !tbaa !11
  %609 = fmul double 2.000000e+00, %608
  store double %609, ptr %42, align 8, !tbaa !11
  br label %563, !llvm.loop !28

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

633:                                              ; preds = %707, %610
  %634 = load i64, ptr %30, align 8, !tbaa !9
  %635 = load i64, ptr %20, align 8, !tbaa !9
  %636 = sub nsw i64 %635, 1
  %637 = icmp sle i64 %634, %636
  br i1 %637, label %638, label %710

638:                                              ; preds = %633
  %639 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, 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 double, ptr %640, i64 %641
  store double 0.000000e+00, ptr %642, align 8, !tbaa !11
  %643 = load ptr, ptr %17, align 8, !tbaa !5
  %644 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %643, i32 0, i32 4
  %645 = load ptr, ptr %644, align 8, !tbaa !17
  %646 = load i64, ptr %30, align 8, !tbaa !9
  %647 = getelementptr inbounds i8, ptr %645, i64 %646
  %648 = load i8, ptr %647, align 1, !tbaa !13, !range !15, !noundef !16
  %649 = trunc i8 %648 to i1
  br i1 %649, label %650, label %669

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

664:                                              ; preds = %650
  %665 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %666 = load ptr, ptr %665, align 8, !tbaa !17
  %667 = load i64, ptr %30, align 8, !tbaa !9
  %668 = getelementptr inbounds double, ptr %666, i64 %667
  store double 1.000000e+00, ptr %668, align 8, !tbaa !11
  br label %669

669:                                              ; preds = %664, %650, %638
  %670 = load ptr, ptr %19, align 8, !tbaa !5
  %671 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %670, i32 0, i32 4
  %672 = load ptr, ptr %671, align 8, !tbaa !17
  %673 = load i64, ptr %30, align 8, !tbaa !9
  %674 = getelementptr inbounds i8, ptr %672, i64 %673
  %675 = load i8, ptr %674, align 1, !tbaa !13, !range !15, !noundef !16
  %676 = trunc i8 %675 to i1
  br i1 %676, label %677, label %696

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

691:                                              ; preds = %677
  %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
  store double 1.000000e+00, ptr %695, align 8, !tbaa !11
  br label %696

696:                                              ; preds = %691, %677, %669
  %697 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %698 = load ptr, ptr %697, align 8, !tbaa !17
  %699 = load i64, ptr %30, align 8, !tbaa !9
  %700 = getelementptr inbounds double, ptr %698, i64 %699
  %701 = load double, ptr %700, align 8, !tbaa !11
  %702 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %701, double noundef 0.000000e+00)
  br i1 %702, label %703, label %706

703:                                              ; preds = %696
  %704 = load i64, ptr %66, align 8, !tbaa !9
  %705 = add nsw i64 %704, 1
  store i64 %705, ptr %66, align 8, !tbaa !9
  br label %706

706:                                              ; preds = %703, %696
  br label %707

707:                                              ; preds = %706
  %708 = load i64, ptr %30, align 8, !tbaa !9
  %709 = add nsw i64 %708, 1
  store i64 %709, ptr %30, align 8, !tbaa !9
  br label %633, !llvm.loop !29

710:                                              ; preds = %633
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %711

711:                                              ; preds = %752, %710
  %712 = load i64, ptr %30, align 8, !tbaa !9
  %713 = load i64, ptr %21, align 8, !tbaa !9
  %714 = sub nsw i64 %713, 1
  %715 = icmp sle i64 %712, %714
  br i1 %715, label %716, label %755

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

732:                                              ; preds = %716
  %733 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %734 = load ptr, ptr %733, align 8, !tbaa !17
  %735 = load i64, ptr %20, align 8, !tbaa !9
  %736 = load i64, ptr %30, align 8, !tbaa !9
  %737 = add nsw i64 %735, %736
  %738 = getelementptr inbounds double, ptr %734, i64 %737
  store double 1.000000e+00, ptr %738, align 8, !tbaa !11
  br label %739

739:                                              ; preds = %732, %716
  %740 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %741 = load ptr, ptr %740, align 8, !tbaa !17
  %742 = load i64, ptr %20, align 8, !tbaa !9
  %743 = load i64, ptr %30, align 8, !tbaa !9
  %744 = add nsw i64 %742, %743
  %745 = getelementptr inbounds double, ptr %741, i64 %744
  %746 = load double, ptr %745, align 8, !tbaa !11
  %747 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %746, double noundef 0.000000e+00)
  br i1 %747, label %748, label %751

748:                                              ; preds = %739
  %749 = load i64, ptr %66, align 8, !tbaa !9
  %750 = add nsw i64 %749, 1
  store i64 %750, ptr %66, align 8, !tbaa !9
  br label %751

751:                                              ; preds = %748, %739
  br label %752

752:                                              ; preds = %751
  %753 = load i64, ptr %30, align 8, !tbaa !9
  %754 = add nsw i64 %753, 1
  store i64 %754, ptr %30, align 8, !tbaa !9
  br label %711, !llvm.loop !30

755:                                              ; preds = %711
  %756 = load i64, ptr %20, align 8, !tbaa !9
  %757 = load i64, ptr %21, align 8, !tbaa !9
  %758 = add nsw i64 %756, %757
  %759 = load i64, ptr %66, align 8, !tbaa !9
  %760 = sub nsw i64 %758, %759
  store i64 %760, ptr %67, align 8, !tbaa !9
  %761 = load i64, ptr %67, align 8, !tbaa !9
  %762 = icmp eq i64 %761, 0
  br i1 %762, label %763, label %764

763:                                              ; preds = %755
  br label %1446

764:                                              ; preds = %755
  %765 = load ptr, ptr %25, align 8, !tbaa !5
  %766 = load i64, ptr %765, align 8, !tbaa !9
  %767 = add nsw i64 %766, 1
  %768 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 %767, ptr %768, align 8, !tbaa !9
  %769 = load i64, ptr %20, align 8, !tbaa !9
  %770 = load i64, ptr %21, align 8, !tbaa !9
  %771 = add nsw i64 %769, %770
  %772 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl10tagsortbufEPNS_9ae_vectorElS1_S1_PNS_9apbuffersEPNS_8ae_stateE(ptr noundef %63, i64 noundef %771, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %772)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %773

773:                                              ; preds = %806, %764
  %774 = load i64, ptr %30, align 8, !tbaa !9
  %775 = load i64, ptr %23, align 8, !tbaa !9
  %776 = sub nsw i64 %775, 1
  %777 = icmp sle i64 %774, %776
  br i1 %777, label %778, label %809

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

779:                                              ; preds = %802, %778
  %780 = load i64, ptr %31, align 8, !tbaa !9
  %781 = load i64, ptr %20, align 8, !tbaa !9
  %782 = load i64, ptr %21, align 8, !tbaa !9
  %783 = add nsw i64 %781, %782
  %784 = sub nsw i64 %783, 1
  %785 = icmp sle i64 %780, %784
  br i1 %785, label %786, label %805

786:                                              ; preds = %779
  %787 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %29, i32 0, i32 6
  %788 = load ptr, ptr %787, align 8, !tbaa !17
  %789 = load i64, ptr %30, align 8, !tbaa !9
  %790 = getelementptr inbounds ptr, ptr %788, i64 %789
  %791 = load ptr, ptr %790, align 8, !tbaa !5
  %792 = load i64, ptr %31, align 8, !tbaa !9
  %793 = getelementptr inbounds double, ptr %791, i64 %792
  %794 = load double, ptr %793, align 8, !tbaa !11
  %795 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %79, i32 0, i32 6
  %796 = load ptr, ptr %795, align 8, !tbaa !17
  %797 = load i64, ptr %30, align 8, !tbaa !9
  %798 = getelementptr inbounds ptr, ptr %796, i64 %797
  %799 = load ptr, ptr %798, align 8, !tbaa !5
  %800 = load i64, ptr %31, align 8, !tbaa !9
  %801 = getelementptr inbounds double, ptr %799, i64 %800
  store double %794, ptr %801, align 8, !tbaa !11
  br label %802

802:                                              ; preds = %786
  %803 = load i64, ptr %31, align 8, !tbaa !9
  %804 = add nsw i64 %803, 1
  store i64 %804, ptr %31, align 8, !tbaa !9
  br label %779, !llvm.loop !31

805:                                              ; preds = %779
  br label %806

806:                                              ; preds = %805
  %807 = load i64, ptr %30, align 8, !tbaa !9
  %808 = add nsw i64 %807, 1
  store i64 %808, ptr %30, align 8, !tbaa !9
  br label %773, !llvm.loop !32

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

810:                                              ; preds = %828, %809
  %811 = load i64, ptr %31, align 8, !tbaa !9
  %812 = load i64, ptr %20, align 8, !tbaa !9
  %813 = load i64, ptr %21, align 8, !tbaa !9
  %814 = add nsw i64 %812, %813
  %815 = sub nsw i64 %814, 1
  %816 = icmp sle i64 %811, %815
  br i1 %816, label %817, label %831

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

828:                                              ; preds = %817
  %829 = load i64, ptr %31, align 8, !tbaa !9
  %830 = add nsw i64 %829, 1
  store i64 %830, ptr %31, align 8, !tbaa !9
  br label %810, !llvm.loop !33

831:                                              ; preds = %810
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %832

832:                                              ; preds = %915, %831
  %833 = load i64, ptr %31, align 8, !tbaa !9
  %834 = load i64, ptr %20, align 8, !tbaa !9
  %835 = load i64, ptr %21, align 8, !tbaa !9
  %836 = add nsw i64 %834, %835
  %837 = sub nsw i64 %836, 1
  %838 = icmp sle i64 %833, %837
  br i1 %838, label %839, label %918

839:                                              ; preds = %832
  %840 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %841 = load ptr, ptr %840, align 8, !tbaa !17
  %842 = load i64, ptr %31, align 8, !tbaa !9
  %843 = getelementptr inbounds i64, ptr %841, i64 %842
  %844 = load i64, ptr %843, align 8, !tbaa !9
  %845 = load i64, ptr %31, align 8, !tbaa !9
  %846 = icmp ne i64 %844, %845
  br i1 %846, label %847, label %914

847:                                              ; preds = %839
  %848 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %849 = load ptr, ptr %848, align 8, !tbaa !17
  %850 = load i64, ptr %31, align 8, !tbaa !9
  %851 = getelementptr inbounds i64, ptr %849, i64 %850
  %852 = load i64, ptr %851, align 8, !tbaa !9
  store i64 %852, ptr %32, align 8, !tbaa !9
  %853 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %853, ptr %33, align 8, !tbaa !9
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %854

854:                                              ; preds = %891, %847
  %855 = load i64, ptr %30, align 8, !tbaa !9
  %856 = load i64, ptr %23, align 8, !tbaa !9
  %857 = sub nsw i64 %856, 1
  %858 = icmp sle i64 %855, %857
  br i1 %858, label %859, label %894

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

891:                                              ; preds = %859
  %892 = load i64, ptr %30, align 8, !tbaa !9
  %893 = add nsw i64 %892, 1
  store i64 %893, ptr %30, align 8, !tbaa !9
  br label %854, !llvm.loop !34

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

914:                                              ; preds = %894, %839
  br label %915

915:                                              ; preds = %914
  %916 = load i64, ptr %31, align 8, !tbaa !9
  %917 = add nsw i64 %916, 1
  store i64 %917, ptr %31, align 8, !tbaa !9
  br label %832, !llvm.loop !35

918:                                              ; preds = %832
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %919

919:                                              ; preds = %929, %918
  %920 = load i64, ptr %30, align 8, !tbaa !9
  %921 = load i64, ptr %67, align 8, !tbaa !9
  %922 = sub nsw i64 %921, 1
  %923 = icmp sle i64 %920, %922
  br i1 %923, label %924, label %932

924:                                              ; preds = %919
  %925 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %926 = load ptr, ptr %925, align 8, !tbaa !17
  %927 = load i64, ptr %30, align 8, !tbaa !9
  %928 = getelementptr inbounds double, ptr %926, i64 %927
  store double 0.000000e+00, ptr %928, align 8, !tbaa !11
  br label %929

929:                                              ; preds = %924
  %930 = load i64, ptr %30, align 8, !tbaa !9
  %931 = add nsw i64 %930, 1
  store i64 %931, ptr %30, align 8, !tbaa !9
  br label %919, !llvm.loop !36

932:                                              ; preds = %919
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %933

933:                                              ; preds = %970, %932
  %934 = load i64, ptr %30, align 8, !tbaa !9
  %935 = load i64, ptr %23, align 8, !tbaa !9
  %936 = sub nsw i64 %935, 1
  %937 = icmp sle i64 %934, %936
  br i1 %937, label %938, label %973

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

970:                                              ; preds = %938
  %971 = load i64, ptr %30, align 8, !tbaa !9
  %972 = add nsw i64 %971, 1
  store i64 %972, ptr %30, align 8, !tbaa !9
  br label %933, !llvm.loop !37

973:                                              ; preds = %933
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %974

974:                                              ; preds = %998, %973
  %975 = load i64, ptr %30, align 8, !tbaa !9
  %976 = load i64, ptr %23, align 8, !tbaa !9
  %977 = sub nsw i64 %976, 1
  %978 = icmp sle i64 %975, %977
  br i1 %978, label %979, label %1001

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

998:                                              ; preds = %979
  %999 = load i64, ptr %30, align 8, !tbaa !9
  %1000 = add nsw i64 %999, 1
  store i64 %1000, ptr %30, align 8, !tbaa !9
  br label %974, !llvm.loop !38

1001:                                             ; preds = %974
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1002

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

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

1014:                                             ; preds = %1009
  %1015 = load i64, ptr %30, align 8, !tbaa !9
  %1016 = add nsw i64 %1015, 1
  store i64 %1016, ptr %30, align 8, !tbaa !9
  br label %1002, !llvm.loop !39

1017:                                             ; preds = %1002
  %1018 = load i64, ptr %23, align 8, !tbaa !9
  %1019 = load i64, ptr %67, align 8, !tbaa !9
  %1020 = icmp sle i64 %1018, %1019
  br i1 %1020, label %1021, label %1096

1021:                                             ; preds = %1017
  %1022 = load i64, ptr %23, align 8, !tbaa !9
  %1023 = load i64, ptr %67, align 8, !tbaa !9
  %1024 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl9rmatrixlqEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %79, i64 noundef %1022, i64 noundef %1023, ptr noundef %40, ptr noundef %1024)
  %1025 = load i64, ptr %23, align 8, !tbaa !9
  %1026 = load i64, ptr %67, align 8, !tbaa !9
  %1027 = load i64, ptr %23, align 8, !tbaa !9
  %1028 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl16rmatrixlqunpackqEPKNS_9ae_matrixEllPKNS_9ae_vectorElPS0_PNS_8ae_stateE(ptr noundef %79, i64 noundef %1025, i64 noundef %1026, ptr noundef %40, i64 noundef %1027, ptr noundef %80, ptr noundef %1028)
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1029

1029:                                             ; preds = %1048, %1021
  %1030 = load i64, ptr %30, align 8, !tbaa !9
  %1031 = load i64, ptr %23, align 8, !tbaa !9
  %1032 = sub nsw i64 %1031, 1
  %1033 = icmp sle i64 %1030, %1032
  br i1 %1033, label %1034, label %1051

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

1048:                                             ; preds = %1034
  %1049 = load i64, ptr %30, align 8, !tbaa !9
  %1050 = add nsw i64 %1049, 1
  store i64 %1050, ptr %30, align 8, !tbaa !9
  br label %1029, !llvm.loop !40

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

1055:                                             ; preds = %1082, %1051
  %1056 = load i64, ptr %30, align 8, !tbaa !9
  %1057 = load i64, ptr %23, align 8, !tbaa !9
  %1058 = sub nsw i64 %1057, 1
  %1059 = icmp sle i64 %1056, %1058
  br i1 %1059, label %1060, label %1085

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

1082:                                             ; preds = %1060
  %1083 = load i64, ptr %30, align 8, !tbaa !9
  %1084 = add nsw i64 %1083, 1
  store i64 %1084, ptr %30, align 8, !tbaa !9
  br label %1055, !llvm.loop !41

1085:                                             ; preds = %1055
  %1086 = load i64, ptr %23, align 8, !tbaa !9
  %1087 = load i64, ptr %67, align 8, !tbaa !9
  %1088 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_lPNS_8ae_stateE(i64 noundef %1086, i64 noundef %1087, double noundef 1.000000e+00, ptr noundef %80, 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 %1088)
  %1089 = load i64, ptr %23, align 8, !tbaa !9
  %1090 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPKNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1089, ptr noundef %79, 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 %1090)
  %1091 = load i64, ptr %23, align 8, !tbaa !9
  %1092 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPKNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1091, ptr noundef %79, 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 %1092)
  %1093 = load i64, ptr %67, align 8, !tbaa !9
  %1094 = load i64, ptr %23, align 8, !tbaa !9
  %1095 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_lPNS_8ae_stateE(i64 noundef %1093, i64 noundef %1094, double noundef -1.000000e+00, ptr noundef %80, 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 %1095)
  br label %1185

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

1100:                                             ; preds = %1119, %1096
  %1101 = load i64, ptr %30, align 8, !tbaa !9
  %1102 = load i64, ptr %67, align 8, !tbaa !9
  %1103 = sub nsw i64 %1102, 1
  %1104 = icmp sle i64 %1101, %1103
  br i1 %1104, label %1105, label %1122

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

1119:                                             ; preds = %1105
  %1120 = load i64, ptr %30, align 8, !tbaa !9
  %1121 = add nsw i64 %1120, 1
  store i64 %1121, ptr %30, align 8, !tbaa !9
  br label %1100, !llvm.loop !42

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

1126:                                             ; preds = %1168, %1122
  %1127 = load i64, ptr %30, align 8, !tbaa !9
  %1128 = load i64, ptr %67, align 8, !tbaa !9
  %1129 = sub nsw i64 %1128, 1
  %1130 = icmp sle i64 %1127, %1129
  br i1 %1130, label %1131, label %1171

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

1147:                                             ; preds = %1131
  %1148 = load double, ptr %46, align 8, !tbaa !11
  %1149 = fneg double %1148
  store double %1149, ptr %46, align 8, !tbaa !11
  br label %1150

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

1168:                                             ; preds = %1150
  %1169 = load i64, ptr %30, align 8, !tbaa !9
  %1170 = add nsw i64 %1169, 1
  store i64 %1170, ptr %30, align 8, !tbaa !9
  br label %1126, !llvm.loop !43

1171:                                             ; preds = %1126
  %1172 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %1173 = load ptr, ptr %1172, align 8, !tbaa !17
  %1174 = getelementptr inbounds double, ptr %1173, i64 0
  %1175 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %1176 = load ptr, ptr %1175, align 8, !tbaa !17
  %1177 = getelementptr inbounds double, ptr %1176, i64 0
  %1178 = load i64, ptr %67, align 8, !tbaa !9
  %1179 = sub nsw i64 %1178, 1
  %1180 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1179)
  call void @_ZN11alglib_impl12ae_v_movenegEPdlPKdll(ptr noundef %1174, i64 noundef 1, ptr noundef %1177, i64 noundef 1, i64 noundef %1180)
  %1181 = load i64, ptr %67, align 8, !tbaa !9
  %1182 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPKNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1181, ptr noundef %79, 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 %1182)
  %1183 = load i64, ptr %67, align 8, !tbaa !9
  %1184 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixtrsvElPKNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %1183, ptr noundef %79, 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 %1184)
  br label %1185

1185:                                             ; preds = %1171, %1085
  %1186 = load i64, ptr %20, align 8, !tbaa !9
  %1187 = load i64, ptr %21, align 8, !tbaa !9
  %1188 = add nsw i64 %1186, %1187
  %1189 = sub nsw i64 %1188, 1
  store i64 %1189, ptr %31, align 8, !tbaa !9
  br label %1190

1190:                                             ; preds = %1228, %1185
  %1191 = load i64, ptr %31, align 8, !tbaa !9
  %1192 = icmp sge i64 %1191, 0
  br i1 %1192, label %1193, label %1231

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

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

1227:                                             ; preds = %1201, %1193
  br label %1228

1228:                                             ; preds = %1227
  %1229 = load i64, ptr %31, align 8, !tbaa !9
  %1230 = add nsw i64 %1229, -1
  store i64 %1230, ptr %31, align 8, !tbaa !9
  br label %1190, !llvm.loop !44

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

1242:                                             ; preds = %1231
  %1243 = load double, ptr %59, align 8, !tbaa !11
  %1244 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1243, double noundef 0.000000e+00)
  br i1 %1244, label %1245, label %1246

1245:                                             ; preds = %1242
  br label %1446

1246:                                             ; preds = %1242, %1231
  %1247 = load i64, ptr %57, align 8, !tbaa !9
  %1248 = icmp sge i64 %1247, 0
  br i1 %1248, label %1249, label %1253

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

1253:                                             ; preds = %1246
  store double 1.000000e+00, ptr %45, align 8, !tbaa !11
  br label %1254

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

1294:                                             ; preds = %1254
  %1295 = load double, ptr %59, align 8, !tbaa !11
  %1296 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %1295, double noundef 1.000000e+00)
  br i1 %1296, label %1297, label %1391

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

1305:                                             ; preds = %1356, %1297
  %1306 = load i64, ptr %31, align 8, !tbaa !9
  %1307 = load i64, ptr %77, align 8, !tbaa !9
  %1308 = sub nsw i64 %1307, 1
  %1309 = icmp sle i64 %1306, %1308
  br i1 %1309, label %1310, label %1359

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

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

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

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

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

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

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

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

1409:                                             ; preds = %1406, %1403
  %1410 = phi i1 [ true, %1403 ], [ %1408, %1406 ]
  %1411 = zext i1 %1410 to i8
  store i8 %1411, ptr %61, align 1, !tbaa !13
  %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_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_PNS_8ae_stateE(ptr noundef %29, 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 i64, ptr %20, align 8, !tbaa !9
  %1419 = load i64, ptr %21, align 8, !tbaa !9
  %1420 = load i64, ptr %23, align 8, !tbaa !9
  %1421 = load ptr, ptr %27, align 8, !tbaa !5
  %1422 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_PNS_8ae_stateE(ptr noundef %29, ptr noundef %36, i64 noundef %1418, i64 noundef %1419, i64 noundef %1420, ptr noundef %64, ptr noundef %1421)
  store double %1422, ptr %52, align 8, !tbaa !11
  %1423 = load double, ptr %52, align 8, !tbaa !11
  %1424 = load double, ptr %51, align 8, !tbaa !11
  %1425 = load double, ptr %78, align 8, !tbaa !11
  %1426 = fadd double %1424, %1425
  %1427 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %1423, double noundef %1426)
  br i1 %1427, label %1428, label %1429

1428:                                             ; preds = %1409
  br label %1446

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

1444:                                             ; preds = %1429
  br label %1446

1445:                                             ; preds = %1429
  br label %385, !llvm.loop !46

1446:                                             ; preds = %1444, %1428, %1245, %763, %553, %538
  store i8 0, ptr %60, align 1, !tbaa !13
  store i64 1, ptr %76, align 8, !tbaa !9
  br label %1447

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

1451:                                             ; preds = %1447
  %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_feasibilityerrorgradEPKNS_9ae_matrixEPKNS_9ae_vectorElllPdPS3_S7_PNS_8ae_stateE(ptr noundef %29, 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_impl21projectgradientintobcEPKNS_9ae_vectorEPS0_S2_S2_S2_S2_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_vectorEPKS0_S3_S3_S3_S3_S3_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, %1451
  %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 %81, 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 %81, 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 %82, align 4
  br label %1751

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 %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_lPNS_8ae_stateE(i64 noundef %1566, i64 noundef %1569, double noundef 1.000000e+00, ptr noundef %29, 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 %1570)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %1571

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

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

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

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

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

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

1610:                                             ; preds = %1603, %1589
  %1611 = load i64, ptr %57, align 8, !tbaa !9
  %1612 = icmp sge i64 %1611, 0
  br i1 %1612, label %1613, label %1618

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

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

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

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

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

1692:                                             ; preds = %1671
  br label %1697

1693:                                             ; preds = %1671
  br label %1694

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

1697:                                             ; preds = %1692, %1447
  %1698 = load ptr, ptr %15, align 8, !tbaa !5
  %1699 = load i64, ptr %20, align 8, !tbaa !9
  %1700 = load i64, ptr %21, align 8, !tbaa !9
  %1701 = load i64, ptr %23, align 8, !tbaa !9
  %1702 = load ptr, ptr %27, align 8, !tbaa !5
  %1703 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_PNS_8ae_stateE(ptr noundef %29, ptr noundef %1698, i64 noundef %1699, i64 noundef %1700, i64 noundef %1701, ptr noundef %64, ptr noundef %1702)
  store double %1703, ptr %48, align 8, !tbaa !11
  %1704 = load double, ptr %48, align 8, !tbaa !11
  store double %1704, ptr %50, align 8, !tbaa !11
  %1705 = load double, ptr %50, align 8, !tbaa !11
  %1706 = load double, ptr %49, align 8, !tbaa !11
  %1707 = load double, ptr %78, align 8, !tbaa !11
  %1708 = fsub double %1706, %1707
  %1709 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %1705, double noundef %1708)
  br i1 %1709, label %1710, label %1712

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

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

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

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

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

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

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

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

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

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

1744:                                             ; preds = %1739
  store i8 0, ptr %81, align 1, !tbaa !13
  %1745 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.187, ptr noundef %1745)
  br label %1747

1746:                                             ; preds = %1739
  br label %272, !llvm.loop !50

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

1751:                                             ; preds = %1747, %1731, %1606, %1545, %376, %122, %115
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %79) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  %1752 = load i1, ptr %14, align 1
  ret i1 %1752
}

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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_feasibilityerrorgradEPKNS_9ae_matrixEPKNS_9ae_vectorElllPdPS3_S7_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_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double 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 noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 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_impl16rmatrixlqunpackqEPKNS_9ae_matrixEllPKNS_9ae_vectorElPS0_PNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #2

declare void @_ZN11alglib_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_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_impl11rmatrixtrsvElPKNS_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_impl12ae_v_movenegEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 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.187 = 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 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 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_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_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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_impl21projectgradientintobcEPKNS_9ae_vectorEPS0_S2_S2_S2_S2_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_impl18calculatestepboundEPKNS_9ae_vectorES2_dS2_S2_S2_S2_llPlPdS4_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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorEPKS0_S3_S3_S3_S3_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_vectorEPKS0_S3_S3_S3_S3_S3_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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11alglib_impl26numberofchangedconstraintsEPKNS_9ae_vectorES2_S2_S2_S2_S2_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_vectorEPKS0_S3_S3_S3_llPKNS_9ae_matrixEldPlS7_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_matrixEPKS0_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_vectorEPKS0_S3_S3_S3_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 %.preheader718

.preheader718:                                    ; preds = %40
  %.not.not733 = icmp sgt i64 %8, 0
  %42 = add i64 %6, %5
  br i1 %.not.not733, label %.preheader717.lr.ph, label %._crit_edge735

.preheader717.lr.ph:                              ; preds = %.preheader718
  %.not694.not729 = icmp sgt i64 %42, 0
  %43 = getelementptr inbounds i8, ptr %15, i64 72
  br i1 %.not694.not729, label %.preheader717.us, label %.preheader717

.preheader717.us:                                 ; preds = %.preheader717.lr.ph, %50
  %.0624734.us = phi i64 [ %51, %50 ], [ 0, %.preheader717.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 %.0624734.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 %.0624734.us, 1
  %exitcond877.not = icmp eq i64 %51, %8
  br i1 %exitcond877.not, label %._crit_edge735, label %.preheader717.us, !llvm.loop !12

52:                                               ; preds = %.preheader717.us, %52
  %.0626731.us = phi i64 [ 0, %.preheader717.us ], [ %60, %52 ]
  %.0649730.us = phi double [ 0.000000e+00, %.preheader717.us ], [ %59, %52 ]
  %53 = load ptr, ptr %43, align 8, !tbaa !9
  %54 = getelementptr inbounds ptr, ptr %53, i64 %.0624734.us
  %55 = load ptr, ptr %54, align 8, !tbaa !10
  %56 = getelementptr inbounds double, ptr %55, i64 %.0626731.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 %.0649730.us, double noundef %58, ptr noundef %12)
  %60 = add nuw nsw i64 %.0626731.us, 1
  %exitcond876.not = icmp eq i64 %60, %42
  br i1 %exitcond876.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

.preheader717:                                    ; preds = %.preheader717.lr.ph, %68
  %.0624734 = phi i64 [ %69, %68 ], [ 0, %.preheader717.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 = %.preheader717
  %64 = load ptr, ptr %43, align 8, !tbaa !9
  %65 = getelementptr inbounds ptr, ptr %64, i64 %.0624734
  %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 = %.preheader717, %63
  %69 = add nuw nsw i64 %.0624734, 1
  %exitcond.not = icmp eq i64 %69, %8
  br i1 %exitcond.not, label %._crit_edge735, label %.preheader717, !llvm.loop !12

._crit_edge735:                                   ; preds = %68, %50, %.preheader718
  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.not667738 = icmp sgt i64 %42, 0
  br i1 %.not.not667738, label %.lr.ph741, label %._crit_edge742

.lr.ph741:                                        ; preds = %._crit_edge735
  %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.not733, label %.lr.ph.us, label %.lr.ph741.split.preheader

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

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

.lr.ph.us:                                        ; preds = %.lr.ph741, %._crit_edge.us743
  %.1739.us = phi i64 [ %93, %._crit_edge.us743 ], [ 0, %.lr.ph741 ]
  %75 = load ptr, ptr %70, align 8, !tbaa !9
  %76 = getelementptr inbounds double, ptr %75, i64 %.1739.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 %.1739.us
  store double 0.000000e+00, ptr %78, align 8, !tbaa !14
  br label %79

79:                                               ; preds = %.lr.ph.us, %79
  %.1627737.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 %.1739.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 %.1627737.us
  %85 = load ptr, ptr %84, align 8, !tbaa !10
  %86 = getelementptr inbounds double, ptr %85, i64 %.1739.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 %.1739.us
  store double %89, ptr %91, align 8, !tbaa !14
  %92 = add nuw nsw i64 %.1627737.us, 1
  %exitcond879.not = icmp eq i64 %92, %8
  br i1 %exitcond879.not, label %._crit_edge.us743, label %79, !llvm.loop !17

._crit_edge.us743:                                ; preds = %79
  %93 = add nuw nsw i64 %.1739.us, 1
  %exitcond880.not = icmp eq i64 %93, %42
  br i1 %exitcond880.not, label %._crit_edge742, label %.lr.ph.us, !llvm.loop !18

.lr.ph741.split:                                  ; preds = %.lr.ph741.split, %.lr.ph741.split.preheader.new
  %.1739 = phi i64 [ 0, %.lr.ph741.split.preheader.new ], [ %103, %.lr.ph741.split ]
  %niter = phi i64 [ 0, %.lr.ph741.split.preheader.new ], [ %niter.next.1, %.lr.ph741.split ]
  %94 = load ptr, ptr %70, align 8, !tbaa !9
  %95 = getelementptr inbounds double, ptr %94, i64 %.1739
  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 %.1739
  store double 0.000000e+00, ptr %97, align 8, !tbaa !14
  %98 = or disjoint i64 %.1739, 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 %.1739, 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_edge742.loopexit939.unr-lcssa, label %.lr.ph741.split, !llvm.loop !18

._crit_edge742.loopexit939.unr-lcssa:             ; preds = %.lr.ph741.split, %.lr.ph741.split.preheader
  %.1739.unr = phi i64 [ 0, %.lr.ph741.split.preheader ], [ %103, %.lr.ph741.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge742, label %.lr.ph741.split.epil

.lr.ph741.split.epil:                             ; preds = %._crit_edge742.loopexit939.unr-lcssa
  %104 = load ptr, ptr %70, align 8, !tbaa !9
  %105 = getelementptr inbounds double, ptr %104, i64 %.1739.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 %.1739.unr
  store double 0.000000e+00, ptr %107, align 8, !tbaa !14
  br label %._crit_edge742

._crit_edge742:                                   ; preds = %.lr.ph741.split.epil, %._crit_edge742.loopexit939.unr-lcssa, %._crit_edge.us743, %._crit_edge735
  %108 = add i64 %42, -1
  store i64 0, ptr %35, align 8, !tbaa !5
  store i64 0, ptr %36, align 8, !tbaa !5
  %109 = add nsw i64 %5, 1000
  %110 = sitofp i64 %109 to double
  %111 = getelementptr inbounds i8, ptr %15, i64 72
  %112 = getelementptr inbounds i8, ptr %0, i64 56
  %.not.not669756 = icmp sgt i64 %5, 0
  %113 = getelementptr inbounds i8, ptr %2, i64 56
  %114 = getelementptr inbounds i8, ptr %1, i64 56
  %115 = getelementptr inbounds i8, ptr %20, i64 56
  %116 = getelementptr inbounds i8, ptr %4, i64 56
  %117 = getelementptr inbounds i8, ptr %3, i64 56
  %.not.not670760 = icmp sgt i64 %6, 0
  %118 = getelementptr inbounds i8, ptr %31, i64 56
  %119 = getelementptr inbounds i8, ptr %19, i64 56
  %120 = getelementptr inbounds i8, ptr %18, i64 56
  %121 = getelementptr inbounds i8, ptr %29, i64 56
  %122 = getelementptr inbounds i8, ptr %37, i64 72
  %123 = getelementptr inbounds i8, ptr %16, i64 56
  %124 = getelementptr inbounds i8, ptr %33, i64 56
  %125 = getelementptr inbounds i8, ptr %30, i64 56
  %126 = mul nsw i64 %8, 10
  %127 = sitofp i64 %126 to double
  %128 = fmul double %127, 5.000000e-16
  %129 = getelementptr inbounds i8, ptr %17, i64 56
  %.not689853 = icmp slt i64 %8, 1
  %130 = getelementptr inbounds i8, ptr %21, i64 56
  %131 = add i64 %8, -1
  %132 = add i64 %6, %5
  %xtraiter942 = and i64 %42, 1
  %133 = icmp eq i64 %108, 0
  %unroll_iter944 = and i64 %42, 9223372036854775806
  %lcmp.mod943.not = icmp eq i64 %xtraiter942, 0
  %xtraiter946 = and i64 %42, 3
  %134 = icmp ult i64 %42, 4
  %unroll_iter948 = and i64 %42, 9223372036854775804
  %lcmp.mod947.not = icmp eq i64 %xtraiter946, 0
  %xtraiter950 = and i64 %8, 1
  %135 = icmp eq i64 %131, 0
  %unroll_iter953 = and i64 %8, 9223372036854775806
  %lcmp.mod952.not = icmp eq i64 %xtraiter950, 0
  %xtraiter960 = and i64 %42, 3
  %136 = icmp ult i64 %42, 4
  %unroll_iter963 = and i64 %42, 9223372036854775804
  %lcmp.mod962.not = icmp eq i64 %xtraiter960, 0
  %xtraiter965 = and i64 %8, 1
  %137 = icmp eq i64 %131, 0
  %unroll_iter968 = and i64 %8, 9223372036854775806
  %lcmp.mod967.not = icmp eq i64 %xtraiter965, 0
  br label %138

138:                                              ; preds = %800, %._crit_edge742
  %139 = call noundef double @_ZN11alglib_impl8rmaxabsvElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %42, ptr noundef %0, ptr noundef %12)
  %140 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %139, double noundef 1.000000e+00, ptr noundef %12)
  %141 = fmul double %140, %110
  %142 = fmul double %141, 5.000000e-16
  %143 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %143, ptr %25, align 8, !tbaa !14
  br i1 %.not.not733, label %.lr.ph753, label %._crit_edge754.thread

.lr.ph753:                                        ; preds = %138, %.lr.ph753.backedge
  %.2751 = phi i64 [ %.2751.be, %.lr.ph753.backedge ], [ 0, %138 ]
  %.0639750 = phi i1 [ %.0639750.be, %.lr.ph753.backedge ], [ true, %138 ]
  %144 = load ptr, ptr %111, align 8, !tbaa !9
  %145 = getelementptr inbounds ptr, ptr %144, i64 %.2751
  %146 = load ptr, ptr %145, align 8, !tbaa !10
  %147 = getelementptr inbounds double, ptr %146, i64 %42
  %148 = load double, ptr %147, align 8, !tbaa !14
  %149 = fneg double %148
  br i1 %.not.not667738, label %.lr.ph.preheader, label %._crit_edge

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

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %150 = phi ptr [ %164, %.lr.ph ], [ %.pre, %.lr.ph.preheader ]
  %151 = phi ptr [ %161, %.lr.ph ], [ %146, %.lr.ph.preheader ]
  %.2628747 = phi i64 [ %168, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.1650746 = phi double [ %167, %.lr.ph ], [ %149, %.lr.ph.preheader ]
  %.0657745 = phi double [ %158, %.lr.ph ], [ 0.000000e+00, %.lr.ph.preheader ]
  %152 = getelementptr inbounds double, ptr %151, i64 %.2628747
  %153 = load double, ptr %152, align 8, !tbaa !14
  %154 = getelementptr inbounds double, ptr %150, i64 %.2628747
  %155 = load double, ptr %154, align 8, !tbaa !14
  %156 = fmul double %153, %155
  %157 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %156, ptr noundef %12)
  %158 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0657745, double noundef %157, ptr noundef %12)
  %159 = load ptr, ptr %111, align 8, !tbaa !9
  %160 = getelementptr inbounds ptr, ptr %159, i64 %.2751
  %161 = load ptr, ptr %160, align 8, !tbaa !10
  %162 = getelementptr inbounds double, ptr %161, i64 %.2628747
  %163 = load double, ptr %162, align 8, !tbaa !14
  %164 = load ptr, ptr %112, align 8, !tbaa !9
  %165 = getelementptr inbounds double, ptr %164, i64 %.2628747
  %166 = load double, ptr %165, align 8, !tbaa !14
  %167 = call double @llvm.fmuladd.f64(double %163, double %166, double %.1650746)
  %168 = add nuw nsw i64 %.2628747, 1
  %exitcond881.not = icmp eq i64 %168, %42
  br i1 %exitcond881.not, label %._crit_edge, label %.lr.ph, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph753
  %.0657.lcssa = phi double [ 0.000000e+00, %.lr.ph753 ], [ %158, %.lr.ph ]
  %.1650.lcssa = phi double [ %149, %.lr.ph753 ], [ %167, %.lr.ph ]
  br i1 %.0639750, label %169, label %.thread906

169:                                              ; preds = %._crit_edge
  %170 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %.1650.lcssa, ptr noundef %12)
  %171 = fmul double %.0657.lcssa, 5.000000e-14
  %172 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %170, double noundef %171)
  %173 = add nuw nsw i64 %.2751, 1
  %exitcond882.not = icmp eq i64 %173, %8
  br i1 %exitcond882.not, label %._crit_edge754, label %.lr.ph753.backedge

.lr.ph753.backedge:                               ; preds = %169, %.thread906
  %.2751.be = phi i64 [ %173, %169 ], [ %174, %.thread906 ]
  %.0639750.be = phi i1 [ %172, %169 ], [ false, %.thread906 ]
  br label %.lr.ph753, !llvm.loop !20

.thread906:                                       ; preds = %._crit_edge
  %174 = add nuw nsw i64 %.2751, 1
  %exitcond882.not907 = icmp eq i64 %174, %8
  br i1 %exitcond882.not907, label %._crit_edge754.thread908, label %.lr.ph753.backedge

._crit_edge754.thread908:                         ; preds = %.thread906
  %.pre902909 = load double, ptr %25, align 8, !tbaa !14
  br label %.preheader716.preheader

._crit_edge754:                                   ; preds = %169
  %.pre902 = load double, ptr %25, align 8, !tbaa !14
  br i1 %172, label %._crit_edge754.thread, label %.preheader716.preheader

.preheader716.preheader:                          ; preds = %._crit_edge754.thread908, %._crit_edge754
  %.pre902910 = phi double [ %.pre902909, %._crit_edge754.thread908 ], [ %.pre902, %._crit_edge754 ]
  br label %.preheader716

._crit_edge754.thread:                            ; preds = %138, %._crit_edge754
  %175 = phi double [ %.pre902, %._crit_edge754 ], [ %143, %138 ]
  %176 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %175, double noundef %9)
  br label %.loopexit

.preheader716:                                    ; preds = %.preheader716.preheader, %700
  call void @_ZN11alglib_implL28optserv_feasibilityerrorgradEPKNS_9ae_matrixEPKNS_9ae_vectorElllPdPS3_S7_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.not669756, label %.lr.ph759, label %.preheader715

.preheader715:                                    ; preds = %208, %.preheader716
  br i1 %.not.not670760, label %.lr.ph762, label %.preheader714

.lr.ph759:                                        ; preds = %.preheader716, %208
  %.3757 = phi i64 [ %209, %208 ], [ 0, %.preheader716 ]
  %177 = load ptr, ptr %113, align 8, !tbaa !9
  %178 = getelementptr inbounds i8, ptr %177, i64 %.3757
  %179 = load i8, ptr %178, align 1, !tbaa !21, !range !23, !noundef !24
  %180 = trunc nuw i8 %179 to i1
  br i1 %180, label %181, label %192

181:                                              ; preds = %.lr.ph759
  %182 = load ptr, ptr %112, align 8, !tbaa !9
  %183 = getelementptr inbounds double, ptr %182, i64 %.3757
  %184 = load double, ptr %183, align 8, !tbaa !14
  %185 = load ptr, ptr %114, align 8, !tbaa !9
  %186 = getelementptr inbounds double, ptr %185, i64 %.3757
  %187 = load double, ptr %186, align 8, !tbaa !14
  %188 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %184, double noundef %187)
  br i1 %188, label %189, label %192

189:                                              ; preds = %181
  %190 = load ptr, ptr %115, align 8, !tbaa !9
  %191 = getelementptr inbounds double, ptr %190, i64 %.3757
  store double 0.000000e+00, ptr %191, align 8, !tbaa !14
  br label %192

192:                                              ; preds = %189, %181, %.lr.ph759
  %193 = load ptr, ptr %116, align 8, !tbaa !9
  %194 = getelementptr inbounds i8, ptr %193, i64 %.3757
  %195 = load i8, ptr %194, align 1, !tbaa !21, !range !23, !noundef !24
  %196 = trunc nuw i8 %195 to i1
  br i1 %196, label %197, label %208

197:                                              ; preds = %192
  %198 = load ptr, ptr %112, align 8, !tbaa !9
  %199 = getelementptr inbounds double, ptr %198, i64 %.3757
  %200 = load double, ptr %199, align 8, !tbaa !14
  %201 = load ptr, ptr %117, align 8, !tbaa !9
  %202 = getelementptr inbounds double, ptr %201, i64 %.3757
  %203 = load double, ptr %202, align 8, !tbaa !14
  %204 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %200, double noundef %203)
  br i1 %204, label %205, label %208

205:                                              ; preds = %197
  %206 = load ptr, ptr %115, align 8, !tbaa !9
  %207 = getelementptr inbounds double, ptr %206, i64 %.3757
  store double 0.000000e+00, ptr %207, align 8, !tbaa !14
  br label %208

208:                                              ; preds = %192, %197, %205
  %209 = add nuw nsw i64 %.3757, 1
  %exitcond883.not = icmp eq i64 %209, %5
  br i1 %exitcond883.not, label %.preheader715, label %.lr.ph759, !llvm.loop !25

.preheader714:                                    ; preds = %218, %.preheader715
  br i1 %.not.not667738, label %.lr.ph766, label %._crit_edge767

.lr.ph762:                                        ; preds = %.preheader715, %218
  %.4761 = phi i64 [ %219, %218 ], [ 0, %.preheader715 ]
  %210 = load ptr, ptr %112, align 8, !tbaa !9
  %211 = add nsw i64 %.4761, %5
  %212 = getelementptr inbounds double, ptr %210, i64 %211
  %213 = load double, ptr %212, align 8, !tbaa !14
  %214 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %213, double noundef 0.000000e+00)
  br i1 %214, label %215, label %218

215:                                              ; preds = %.lr.ph762
  %216 = load ptr, ptr %115, align 8, !tbaa !9
  %217 = getelementptr inbounds double, ptr %216, i64 %211
  store double 0.000000e+00, ptr %217, align 8, !tbaa !14
  br label %218

218:                                              ; preds = %.lr.ph762, %215
  %219 = add nuw nsw i64 %.4761, 1
  %exitcond884.not = icmp eq i64 %219, %6
  br i1 %exitcond884.not, label %.preheader714, label %.lr.ph762, !llvm.loop !26

.lr.ph766:                                        ; preds = %.preheader714, %235
  %.5765 = phi i64 [ %243, %235 ], [ 0, %.preheader714 ]
  %.2651764 = phi double [ %242, %235 ], [ 0.000000e+00, %.preheader714 ]
  %220 = load ptr, ptr %118, align 8, !tbaa !9
  %221 = getelementptr inbounds double, ptr %220, i64 %.5765
  %222 = load double, ptr %221, align 8, !tbaa !14
  %223 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %222, ptr noundef %12)
  %224 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %223, double noundef 0.000000e+00)
  br i1 %224, label %225, label %235

225:                                              ; preds = %.lr.ph766
  %226 = load ptr, ptr %115, align 8, !tbaa !9
  %227 = getelementptr inbounds double, ptr %226, i64 %.5765
  %228 = load double, ptr %227, align 8, !tbaa !14
  %229 = fneg double %228
  %230 = load ptr, ptr %118, align 8, !tbaa !9
  %231 = getelementptr inbounds double, ptr %230, i64 %.5765
  %232 = load double, ptr %231, align 8, !tbaa !14
  %233 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %232, ptr noundef %12)
  %234 = fdiv double %229, %233
  br label %235

235:                                              ; preds = %.lr.ph766, %225
  %.sink = phi double [ %234, %225 ], [ 0.000000e+00, %.lr.ph766 ]
  %236 = load ptr, ptr %119, align 8, !tbaa !9
  %237 = getelementptr inbounds double, ptr %236, i64 %.5765
  store double %.sink, ptr %237, align 8, !tbaa !14
  %238 = load ptr, ptr %119, align 8, !tbaa !9
  %239 = getelementptr inbounds double, ptr %238, i64 %.5765
  %240 = load double, ptr %239, align 8, !tbaa !14
  %241 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %240, ptr noundef %12)
  %242 = fadd double %.2651764, %241
  %243 = add nuw nsw i64 %.5765, 1
  %exitcond885.not = icmp eq i64 %243, %42
  br i1 %exitcond885.not, label %._crit_edge767, label %.lr.ph766, !llvm.loop !27

._crit_edge767:                                   ; preds = %235, %.preheader714
  %.2651.lcssa = phi double [ 0.000000e+00, %.preheader714 ], [ %242, %235 ]
  %244 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %.2651.lcssa, double noundef 0.000000e+00)
  br i1 %244, label %704, label %245

245:                                              ; preds = %._crit_edge767
  call void @_ZN11alglib_impl18calculatestepboundEPKNS_9ae_vectorES2_dS2_S2_S2_S2_llPlPdS4_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)
  %246 = load i64, ptr %26, align 8, !tbaa !5
  %247 = icmp sgt i64 %246, -1
  br i1 %247, label %248, label %.thread.preheader

248:                                              ; preds = %245
  %249 = load double, ptr %28, align 8, !tbaa !14
  %250 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %249, double noundef 0.000000e+00)
  br i1 %250, label %704, label %251

251:                                              ; preds = %248
  %.pr = load i64, ptr %26, align 8, !tbaa !5
  %252 = icmp sgt i64 %.pr, -1
  br i1 %252, label %253, label %.thread.preheader

253:                                              ; preds = %251
  %254 = load double, ptr %28, align 8, !tbaa !14
  %255 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef 1.000000e+00, double noundef %254, ptr noundef %12)
  br label %.thread.preheader

.thread.preheader:                                ; preds = %245, %251, %253
  %.1641.ph = phi double [ %255, %253 ], [ 1.000000e+00, %251 ], [ 1.000000e+00, %245 ]
  br label %.thread

.thread:                                          ; preds = %.thread.preheader, %266
  %.0645 = phi double [ %.1641, %266 ], [ 0.000000e+00, %.thread.preheader ]
  %.1641 = phi double [ %268, %266 ], [ %.1641.ph, %.thread.preheader ]
  %256 = load ptr, ptr %120, align 8, !tbaa !9
  %257 = load ptr, ptr %112, align 8, !tbaa !9
  %258 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %256, i64 noundef 1, ptr noundef %257, i64 noundef 1, i64 noundef %258)
  %259 = load ptr, ptr %120, align 8, !tbaa !9
  %260 = load ptr, ptr %119, align 8, !tbaa !9
  %261 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %259, i64 noundef 1, ptr noundef %260, i64 noundef 1, i64 noundef %261, double noundef %.1641)
  %262 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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)
  %263 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %263, ptr %25, align 8, !tbaa !14
  %264 = load double, ptr %24, align 8, !tbaa !14
  %265 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %263, double noundef %264)
  br i1 %265, label %269, label %266

266:                                              ; preds = %.thread
  %267 = load double, ptr %25, align 8, !tbaa !14
  store double %267, ptr %24, align 8, !tbaa !14
  %268 = fmul double %.1641, 2.000000e+00
  br label %.thread, !llvm.loop !28

269:                                              ; preds = %.thread
  %270 = load ptr, ptr %112, align 8, !tbaa !9
  %271 = load ptr, ptr %119, align 8, !tbaa !9
  %272 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %270, i64 noundef 1, ptr noundef %271, i64 noundef 1, i64 noundef %272, double noundef %.0645)
  %273 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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.not669756, label %.lr.ph773, label %.preheader713

.preheader713:                                    ; preds = %307, %269
  %.0635.lcssa = phi i64 [ 0, %269 ], [ %spec.select, %307 ]
  br i1 %.not.not670760, label %.lr.ph778, label %._crit_edge779

.lr.ph773:                                        ; preds = %269, %307
  %.6771 = phi i64 [ %313, %307 ], [ 0, %269 ]
  %.0635770 = phi i64 [ %spec.select, %307 ], [ 0, %269 ]
  %274 = load ptr, ptr %121, align 8, !tbaa !9
  %275 = getelementptr inbounds double, ptr %274, i64 %.6771
  store double 0.000000e+00, ptr %275, align 8, !tbaa !14
  %276 = load ptr, ptr %113, align 8, !tbaa !9
  %277 = getelementptr inbounds i8, ptr %276, i64 %.6771
  %278 = load i8, ptr %277, align 1, !tbaa !21, !range !23, !noundef !24
  %279 = trunc nuw i8 %278 to i1
  br i1 %279, label %280, label %291

280:                                              ; preds = %.lr.ph773
  %281 = load ptr, ptr %112, align 8, !tbaa !9
  %282 = getelementptr inbounds double, ptr %281, i64 %.6771
  %283 = load double, ptr %282, align 8, !tbaa !14
  %284 = load ptr, ptr %114, align 8, !tbaa !9
  %285 = getelementptr inbounds double, ptr %284, i64 %.6771
  %286 = load double, ptr %285, align 8, !tbaa !14
  %287 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %283, double noundef %286)
  br i1 %287, label %288, label %291

288:                                              ; preds = %280
  %289 = load ptr, ptr %121, align 8, !tbaa !9
  %290 = getelementptr inbounds double, ptr %289, i64 %.6771
  store double 1.000000e+00, ptr %290, align 8, !tbaa !14
  br label %291

291:                                              ; preds = %288, %280, %.lr.ph773
  %292 = load ptr, ptr %116, align 8, !tbaa !9
  %293 = getelementptr inbounds i8, ptr %292, i64 %.6771
  %294 = load i8, ptr %293, align 1, !tbaa !21, !range !23, !noundef !24
  %295 = trunc nuw i8 %294 to i1
  br i1 %295, label %296, label %307

296:                                              ; preds = %291
  %297 = load ptr, ptr %112, align 8, !tbaa !9
  %298 = getelementptr inbounds double, ptr %297, i64 %.6771
  %299 = load double, ptr %298, align 8, !tbaa !14
  %300 = load ptr, ptr %117, align 8, !tbaa !9
  %301 = getelementptr inbounds double, ptr %300, i64 %.6771
  %302 = load double, ptr %301, align 8, !tbaa !14
  %303 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %299, double noundef %302)
  br i1 %303, label %304, label %307

304:                                              ; preds = %296
  %305 = load ptr, ptr %121, align 8, !tbaa !9
  %306 = getelementptr inbounds double, ptr %305, i64 %.6771
  store double 1.000000e+00, ptr %306, align 8, !tbaa !14
  br label %307

307:                                              ; preds = %304, %296, %291
  %308 = load ptr, ptr %121, align 8, !tbaa !9
  %309 = getelementptr inbounds double, ptr %308, i64 %.6771
  %310 = load double, ptr %309, align 8, !tbaa !14
  %311 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %310, double noundef 0.000000e+00)
  %312 = zext i1 %311 to i64
  %spec.select = add nuw nsw i64 %.0635770, %312
  %313 = add nuw nsw i64 %.6771, 1
  %exitcond886.not = icmp eq i64 %313, %5
  br i1 %exitcond886.not, label %.preheader713, label %.lr.ph773, !llvm.loop !29

.lr.ph778:                                        ; preds = %.preheader713, %324
  %.7777 = phi i64 [ %330, %324 ], [ 0, %.preheader713 ]
  %.2637776 = phi i64 [ %spec.select695, %324 ], [ %.0635.lcssa, %.preheader713 ]
  %314 = load ptr, ptr %121, align 8, !tbaa !9
  %315 = add nsw i64 %.7777, %5
  %316 = getelementptr inbounds double, ptr %314, i64 %315
  store double 0.000000e+00, ptr %316, align 8, !tbaa !14
  %317 = load ptr, ptr %112, align 8, !tbaa !9
  %318 = getelementptr inbounds double, ptr %317, i64 %315
  %319 = load double, ptr %318, align 8, !tbaa !14
  %320 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %319, double noundef 0.000000e+00)
  br i1 %320, label %321, label %324

321:                                              ; preds = %.lr.ph778
  %322 = load ptr, ptr %121, align 8, !tbaa !9
  %323 = getelementptr inbounds double, ptr %322, i64 %315
  store double 1.000000e+00, ptr %323, align 8, !tbaa !14
  br label %324

324:                                              ; preds = %321, %.lr.ph778
  %325 = load ptr, ptr %121, align 8, !tbaa !9
  %326 = getelementptr inbounds double, ptr %325, i64 %315
  %327 = load double, ptr %326, align 8, !tbaa !14
  %328 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %327, double noundef 0.000000e+00)
  %329 = zext i1 %328 to i64
  %spec.select695 = add nsw i64 %.2637776, %329
  %330 = add nuw nsw i64 %.7777, 1
  %exitcond887.not = icmp eq i64 %330, %6
  br i1 %exitcond887.not, label %._crit_edge779, label %.lr.ph778, !llvm.loop !30

._crit_edge779:                                   ; preds = %324, %.preheader713
  %.2637.lcssa = phi i64 [ %.0635.lcssa, %.preheader713 ], [ %spec.select695, %324 ]
  %331 = sub i64 %42, %.2637.lcssa
  %332 = icmp eq i64 %42, %.2637.lcssa
  br i1 %332, label %704, label %333

333:                                              ; preds = %._crit_edge779
  %334 = load i64, ptr %10, align 8, !tbaa !5
  %335 = add nsw i64 %334, 1
  store i64 %335, 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.not733, label %.preheader706, label %.preheader712

.preheader712:                                    ; preds = %._crit_edge784, %333
  br i1 %.not.not667738, label %.lr.ph789.preheader, label %.preheader710

.lr.ph789.preheader:                              ; preds = %.preheader712
  br i1 %134, label %.preheader711.unr-lcssa, label %.lr.ph789

.preheader706:                                    ; preds = %333, %._crit_edge784
  %.8786 = phi i64 [ %365, %._crit_edge784 ], [ 0, %333 ]
  br i1 %.not.not667738, label %.lr.ph783.preheader, label %._crit_edge784

.lr.ph783.preheader:                              ; preds = %.preheader706
  br i1 %133, label %._crit_edge784.loopexit.unr-lcssa, label %.lr.ph783

.lr.ph783:                                        ; preds = %.lr.ph783.preheader, %.lr.ph783
  %.3629782 = phi i64 [ %355, %.lr.ph783 ], [ 0, %.lr.ph783.preheader ]
  %niter945 = phi i64 [ %niter945.next.1, %.lr.ph783 ], [ 0, %.lr.ph783.preheader ]
  %336 = load ptr, ptr %111, align 8, !tbaa !9
  %337 = getelementptr inbounds ptr, ptr %336, i64 %.8786
  %338 = load ptr, ptr %337, align 8, !tbaa !10
  %339 = getelementptr inbounds double, ptr %338, i64 %.3629782
  %340 = load double, ptr %339, align 8, !tbaa !14
  %341 = load ptr, ptr %122, align 8, !tbaa !9
  %342 = getelementptr inbounds ptr, ptr %341, i64 %.8786
  %343 = load ptr, ptr %342, align 8, !tbaa !10
  %344 = getelementptr inbounds double, ptr %343, i64 %.3629782
  store double %340, ptr %344, align 8, !tbaa !14
  %345 = or disjoint i64 %.3629782, 1
  %346 = load ptr, ptr %111, align 8, !tbaa !9
  %347 = getelementptr inbounds ptr, ptr %346, i64 %.8786
  %348 = load ptr, ptr %347, align 8, !tbaa !10
  %349 = getelementptr inbounds double, ptr %348, i64 %345
  %350 = load double, ptr %349, align 8, !tbaa !14
  %351 = load ptr, ptr %122, align 8, !tbaa !9
  %352 = getelementptr inbounds ptr, ptr %351, i64 %.8786
  %353 = load ptr, ptr %352, align 8, !tbaa !10
  %354 = getelementptr inbounds double, ptr %353, i64 %345
  store double %350, ptr %354, align 8, !tbaa !14
  %355 = add nuw nsw i64 %.3629782, 2
  %niter945.next.1 = add i64 %niter945, 2
  %niter945.ncmp.1 = icmp eq i64 %niter945.next.1, %unroll_iter944
  br i1 %niter945.ncmp.1, label %._crit_edge784.loopexit.unr-lcssa, label %.lr.ph783, !llvm.loop !31

._crit_edge784.loopexit.unr-lcssa:                ; preds = %.lr.ph783, %.lr.ph783.preheader
  %.3629782.unr = phi i64 [ 0, %.lr.ph783.preheader ], [ %355, %.lr.ph783 ]
  br i1 %lcmp.mod943.not, label %._crit_edge784, label %.lr.ph783.epil

.lr.ph783.epil:                                   ; preds = %._crit_edge784.loopexit.unr-lcssa
  %356 = load ptr, ptr %111, align 8, !tbaa !9
  %357 = getelementptr inbounds ptr, ptr %356, i64 %.8786
  %358 = load ptr, ptr %357, align 8, !tbaa !10
  %359 = getelementptr inbounds double, ptr %358, i64 %.3629782.unr
  %360 = load double, ptr %359, align 8, !tbaa !14
  %361 = load ptr, ptr %122, align 8, !tbaa !9
  %362 = getelementptr inbounds ptr, ptr %361, i64 %.8786
  %363 = load ptr, ptr %362, align 8, !tbaa !10
  %364 = getelementptr inbounds double, ptr %363, i64 %.3629782.unr
  store double %360, ptr %364, align 8, !tbaa !14
  br label %._crit_edge784

._crit_edge784:                                   ; preds = %.lr.ph783.epil, %._crit_edge784.loopexit.unr-lcssa, %.preheader706
  %365 = add nuw nsw i64 %.8786, 1
  %exitcond889.not = icmp eq i64 %365, %8
  br i1 %exitcond889.not, label %.preheader712, label %.preheader706, !llvm.loop !32

.preheader711.unr-lcssa:                          ; preds = %.lr.ph789, %.lr.ph789.preheader
  %.4630788.unr = phi i64 [ 0, %.lr.ph789.preheader ], [ %395, %.lr.ph789 ]
  br i1 %lcmp.mod947.not, label %.preheader711, label %.lr.ph789.epil

.lr.ph789.epil:                                   ; preds = %.preheader711.unr-lcssa, %.lr.ph789.epil
  %.4630788.epil = phi i64 [ %371, %.lr.ph789.epil ], [ %.4630788.unr, %.preheader711.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph789.epil ], [ 0, %.preheader711.unr-lcssa ]
  %366 = load ptr, ptr %112, align 8, !tbaa !9
  %367 = getelementptr inbounds double, ptr %366, i64 %.4630788.epil
  %368 = load double, ptr %367, align 8, !tbaa !14
  %369 = load ptr, ptr %123, align 8, !tbaa !9
  %370 = getelementptr inbounds double, ptr %369, i64 %.4630788.epil
  store double %368, ptr %370, align 8, !tbaa !14
  %371 = add nuw nsw i64 %.4630788.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter946
  br i1 %epil.iter.cmp.not, label %.preheader711, label %.lr.ph789.epil, !llvm.loop !33

.preheader711:                                    ; preds = %.lr.ph789.epil, %.preheader711.unr-lcssa
  br i1 %.not.not667738, label %.lr.ph796, label %.preheader710

.lr.ph789:                                        ; preds = %.lr.ph789.preheader, %.lr.ph789
  %.4630788 = phi i64 [ %395, %.lr.ph789 ], [ 0, %.lr.ph789.preheader ]
  %niter949 = phi i64 [ %niter949.next.3, %.lr.ph789 ], [ 0, %.lr.ph789.preheader ]
  %372 = load ptr, ptr %112, align 8, !tbaa !9
  %373 = getelementptr inbounds double, ptr %372, i64 %.4630788
  %374 = load double, ptr %373, align 8, !tbaa !14
  %375 = load ptr, ptr %123, align 8, !tbaa !9
  %376 = getelementptr inbounds double, ptr %375, i64 %.4630788
  store double %374, ptr %376, align 8, !tbaa !14
  %377 = or disjoint i64 %.4630788, 1
  %378 = load ptr, ptr %112, 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 %123, 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 %.4630788, 2
  %384 = load ptr, ptr %112, 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 %123, align 8, !tbaa !9
  %388 = getelementptr inbounds double, ptr %387, i64 %383
  store double %386, ptr %388, align 8, !tbaa !14
  %389 = or disjoint i64 %.4630788, 3
  %390 = load ptr, ptr %112, align 8, !tbaa !9
  %391 = getelementptr inbounds double, ptr %390, i64 %389
  %392 = load double, ptr %391, align 8, !tbaa !14
  %393 = load ptr, ptr %123, align 8, !tbaa !9
  %394 = getelementptr inbounds double, ptr %393, i64 %389
  store double %392, ptr %394, align 8, !tbaa !14
  %395 = add nuw nsw i64 %.4630788, 4
  %niter949.next.3 = add i64 %niter949, 4
  %niter949.ncmp.3 = icmp eq i64 %niter949.next.3, %unroll_iter948
  br i1 %niter949.ncmp.3, label %.preheader711.unr-lcssa, label %.lr.ph789, !llvm.loop !35

.preheader710:                                    ; preds = %443, %.preheader712, %.preheader711
  %.not.not677797 = icmp sgt i64 %331, 0
  br i1 %.not.not677797, label %.lr.ph799.preheader, label %.preheader709

.lr.ph799.preheader:                              ; preds = %.preheader710
  %xtraiter955 = and i64 %331, 3
  %396 = sub i64 %.2637.lcssa, %132
  %397 = icmp ugt i64 %396, -4
  br i1 %397, label %.preheader709.loopexit.unr-lcssa, label %.lr.ph799.preheader.new

.lr.ph799.preheader.new:                          ; preds = %.lr.ph799.preheader
  %unroll_iter958 = and i64 %331, 9223372036854775804
  br label %.lr.ph799

.lr.ph796:                                        ; preds = %.preheader711, %443
  %.5631795 = phi i64 [ %444, %443 ], [ 0, %.preheader711 ]
  %398 = load ptr, ptr %124, align 8, !tbaa !9
  %399 = getelementptr inbounds i64, ptr %398, i64 %.5631795
  %400 = load i64, ptr %399, align 8, !tbaa !5
  %.not686 = icmp eq i64 %400, %.5631795
  br i1 %.not686, label %443, label %.preheader

.preheader:                                       ; preds = %.lr.ph796
  br i1 %.not.not733, label %.lr.ph792.preheader, label %._crit_edge793

.lr.ph792.preheader:                              ; preds = %.preheader
  br i1 %135, label %._crit_edge793.loopexit.unr-lcssa, label %.lr.ph792

.lr.ph792:                                        ; preds = %.lr.ph792.preheader, %.lr.ph792
  %.9791 = phi i64 [ %424, %.lr.ph792 ], [ 0, %.lr.ph792.preheader ]
  %niter954 = phi i64 [ %niter954.next.1, %.lr.ph792 ], [ 0, %.lr.ph792.preheader ]
  %401 = load ptr, ptr %122, align 8, !tbaa !9
  %402 = getelementptr inbounds ptr, ptr %401, i64 %.9791
  %403 = load ptr, ptr %402, align 8, !tbaa !10
  %404 = getelementptr inbounds double, ptr %403, i64 %400
  %405 = load double, ptr %404, align 8, !tbaa !14
  %406 = getelementptr inbounds double, ptr %403, i64 %.5631795
  %407 = load double, ptr %406, align 8, !tbaa !14
  store double %407, ptr %404, align 8, !tbaa !14
  %408 = load ptr, ptr %122, align 8, !tbaa !9
  %409 = getelementptr inbounds ptr, ptr %408, i64 %.9791
  %410 = load ptr, ptr %409, align 8, !tbaa !10
  %411 = getelementptr inbounds double, ptr %410, i64 %.5631795
  store double %405, ptr %411, align 8, !tbaa !14
  %412 = or disjoint i64 %.9791, 1
  %413 = load ptr, ptr %122, align 8, !tbaa !9
  %414 = getelementptr inbounds ptr, ptr %413, i64 %412
  %415 = load ptr, ptr %414, align 8, !tbaa !10
  %416 = getelementptr inbounds double, ptr %415, i64 %400
  %417 = load double, ptr %416, align 8, !tbaa !14
  %418 = getelementptr inbounds double, ptr %415, i64 %.5631795
  %419 = load double, ptr %418, align 8, !tbaa !14
  store double %419, ptr %416, align 8, !tbaa !14
  %420 = load ptr, ptr %122, align 8, !tbaa !9
  %421 = getelementptr inbounds ptr, ptr %420, i64 %412
  %422 = load ptr, ptr %421, align 8, !tbaa !10
  %423 = getelementptr inbounds double, ptr %422, i64 %.5631795
  store double %417, ptr %423, align 8, !tbaa !14
  %424 = add nuw nsw i64 %.9791, 2
  %niter954.next.1 = add i64 %niter954, 2
  %niter954.ncmp.1 = icmp eq i64 %niter954.next.1, %unroll_iter953
  br i1 %niter954.ncmp.1, label %._crit_edge793.loopexit.unr-lcssa, label %.lr.ph792, !llvm.loop !36

._crit_edge793.loopexit.unr-lcssa:                ; preds = %.lr.ph792, %.lr.ph792.preheader
  %.9791.unr = phi i64 [ 0, %.lr.ph792.preheader ], [ %424, %.lr.ph792 ]
  br i1 %lcmp.mod952.not, label %._crit_edge793, label %.lr.ph792.epil

.lr.ph792.epil:                                   ; preds = %._crit_edge793.loopexit.unr-lcssa
  %425 = load ptr, ptr %122, align 8, !tbaa !9
  %426 = getelementptr inbounds ptr, ptr %425, i64 %.9791.unr
  %427 = load ptr, ptr %426, align 8, !tbaa !10
  %428 = getelementptr inbounds double, ptr %427, i64 %400
  %429 = load double, ptr %428, align 8, !tbaa !14
  %430 = getelementptr inbounds double, ptr %427, i64 %.5631795
  %431 = load double, ptr %430, align 8, !tbaa !14
  store double %431, ptr %428, align 8, !tbaa !14
  %432 = load ptr, ptr %122, align 8, !tbaa !9
  %433 = getelementptr inbounds ptr, ptr %432, i64 %.9791.unr
  %434 = load ptr, ptr %433, align 8, !tbaa !10
  %435 = getelementptr inbounds double, ptr %434, i64 %.5631795
  store double %429, ptr %435, align 8, !tbaa !14
  br label %._crit_edge793

._crit_edge793:                                   ; preds = %.lr.ph792.epil, %._crit_edge793.loopexit.unr-lcssa, %.preheader
  %436 = load ptr, ptr %123, align 8, !tbaa !9
  %437 = getelementptr inbounds double, ptr %436, i64 %400
  %438 = load double, ptr %437, align 8, !tbaa !14
  %439 = getelementptr inbounds double, ptr %436, i64 %.5631795
  %440 = load double, ptr %439, align 8, !tbaa !14
  store double %440, ptr %437, align 8, !tbaa !14
  %441 = load ptr, ptr %123, align 8, !tbaa !9
  %442 = getelementptr inbounds double, ptr %441, i64 %.5631795
  store double %438, ptr %442, align 8, !tbaa !14
  br label %443

443:                                              ; preds = %.lr.ph796, %._crit_edge793
  %444 = add nuw nsw i64 %.5631795, 1
  %exitcond892.not = icmp eq i64 %444, %42
  br i1 %exitcond892.not, label %.preheader710, label %.lr.ph796, !llvm.loop !37

.preheader709.loopexit.unr-lcssa:                 ; preds = %.lr.ph799, %.lr.ph799.preheader
  %.10798.unr = phi i64 [ 0, %.lr.ph799.preheader ], [ %460, %.lr.ph799 ]
  %lcmp.mod957.not = icmp eq i64 %xtraiter955, 0
  br i1 %lcmp.mod957.not, label %.preheader709, label %.lr.ph799.epil

.lr.ph799.epil:                                   ; preds = %.preheader709.loopexit.unr-lcssa, %.lr.ph799.epil
  %.10798.epil = phi i64 [ %447, %.lr.ph799.epil ], [ %.10798.unr, %.preheader709.loopexit.unr-lcssa ]
  %epil.iter956 = phi i64 [ %epil.iter956.next, %.lr.ph799.epil ], [ 0, %.preheader709.loopexit.unr-lcssa ]
  %445 = load ptr, ptr %115, align 8, !tbaa !9
  %446 = getelementptr inbounds double, ptr %445, i64 %.10798.epil
  store double 0.000000e+00, ptr %446, align 8, !tbaa !14
  %447 = add nuw nsw i64 %.10798.epil, 1
  %epil.iter956.next = add i64 %epil.iter956, 1
  %epil.iter956.cmp.not = icmp eq i64 %epil.iter956.next, %xtraiter955
  br i1 %epil.iter956.cmp.not, label %.preheader709, label %.lr.ph799.epil, !llvm.loop !38

.preheader709:                                    ; preds = %.preheader709.loopexit.unr-lcssa, %.lr.ph799.epil, %.preheader710
  %448 = add nsw i64 %331, -1
  br i1 %.not.not733, label %.lr.ph802, label %.preheader707

.lr.ph799:                                        ; preds = %.lr.ph799, %.lr.ph799.preheader.new
  %.10798 = phi i64 [ 0, %.lr.ph799.preheader.new ], [ %460, %.lr.ph799 ]
  %niter959 = phi i64 [ 0, %.lr.ph799.preheader.new ], [ %niter959.next.3, %.lr.ph799 ]
  %449 = load ptr, ptr %115, align 8, !tbaa !9
  %450 = getelementptr inbounds double, ptr %449, i64 %.10798
  store double 0.000000e+00, ptr %450, align 8, !tbaa !14
  %451 = or disjoint i64 %.10798, 1
  %452 = load ptr, ptr %115, align 8, !tbaa !9
  %453 = getelementptr inbounds double, ptr %452, i64 %451
  store double 0.000000e+00, ptr %453, align 8, !tbaa !14
  %454 = or disjoint i64 %.10798, 2
  %455 = load ptr, ptr %115, align 8, !tbaa !9
  %456 = getelementptr inbounds double, ptr %455, i64 %454
  store double 0.000000e+00, ptr %456, align 8, !tbaa !14
  %457 = or disjoint i64 %.10798, 3
  %458 = load ptr, ptr %115, align 8, !tbaa !9
  %459 = getelementptr inbounds double, ptr %458, i64 %457
  store double 0.000000e+00, ptr %459, align 8, !tbaa !14
  %460 = add nuw nsw i64 %.10798, 4
  %niter959.next.3 = add i64 %niter959, 4
  %niter959.ncmp.3.not = icmp eq i64 %niter959.next.3, %unroll_iter958
  br i1 %niter959.ncmp.3.not, label %.preheader709.loopexit.unr-lcssa, label %.lr.ph799, !llvm.loop !39

.preheader708:                                    ; preds = %.lr.ph802
  br i1 %.not.not733, label %.lr.ph805, label %.preheader707

.lr.ph802:                                        ; preds = %.preheader709, %.lr.ph802
  %.11801 = phi i64 [ %475, %.lr.ph802 ], [ 0, %.preheader709 ]
  %461 = load ptr, ptr %122, align 8, !tbaa !9
  %462 = getelementptr inbounds ptr, ptr %461, i64 %.11801
  %463 = load ptr, ptr %462, align 8, !tbaa !10
  %464 = load ptr, ptr %123, align 8, !tbaa !9
  %465 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  %466 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %463, i64 noundef 1, ptr noundef %464, i64 noundef 1, i64 noundef %465)
  %467 = load ptr, ptr %111, align 8, !tbaa !9
  %468 = getelementptr inbounds ptr, ptr %467, i64 %.11801
  %469 = load ptr, ptr %468, align 8, !tbaa !10
  %470 = getelementptr inbounds double, ptr %469, i64 %42
  %471 = load double, ptr %470, align 8, !tbaa !14
  %472 = fsub double %466, %471
  %473 = load ptr, ptr %125, align 8, !tbaa !9
  %474 = getelementptr inbounds double, ptr %473, i64 %.11801
  store double %472, ptr %474, align 8, !tbaa !14
  %475 = add nuw nsw i64 %.11801, 1
  %exitcond893.not = icmp eq i64 %475, %8
  br i1 %exitcond893.not, label %.preheader708, label %.lr.ph802, !llvm.loop !40

.preheader707:                                    ; preds = %.lr.ph805, %.preheader709, %.preheader708
  br i1 %.not.not667738, label %.lr.ph808.preheader, label %._crit_edge809

.lr.ph808.preheader:                              ; preds = %.preheader707
  br i1 %136, label %._crit_edge809.loopexit.unr-lcssa, label %.lr.ph808

.lr.ph805:                                        ; preds = %.preheader708, %.lr.ph805
  %.12804 = phi i64 [ %484, %.lr.ph805 ], [ 0, %.preheader708 ]
  %476 = load ptr, ptr %125, align 8, !tbaa !9
  %477 = getelementptr inbounds double, ptr %476, i64 %.12804
  %478 = load double, ptr %477, align 8, !tbaa !14
  %479 = load ptr, ptr %115, align 8, !tbaa !9
  %480 = load ptr, ptr %122, align 8, !tbaa !9
  %481 = getelementptr inbounds ptr, ptr %480, i64 %.12804
  %482 = load ptr, ptr %481, align 8, !tbaa !10
  %483 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %448)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %479, i64 noundef 1, ptr noundef %482, i64 noundef 1, i64 noundef %483, double noundef %478)
  %484 = add nuw nsw i64 %.12804, 1
  %exitcond894.not = icmp eq i64 %484, %8
  br i1 %exitcond894.not, label %.preheader707, label %.lr.ph805, !llvm.loop !41

.lr.ph808:                                        ; preds = %.lr.ph808.preheader, %.lr.ph808
  %.13807 = phi i64 [ %496, %.lr.ph808 ], [ 0, %.lr.ph808.preheader ]
  %niter964 = phi i64 [ %niter964.next.3, %.lr.ph808 ], [ 0, %.lr.ph808.preheader ]
  %485 = load ptr, ptr %119, align 8, !tbaa !9
  %486 = getelementptr inbounds double, ptr %485, i64 %.13807
  store double 0.000000e+00, ptr %486, align 8, !tbaa !14
  %487 = or disjoint i64 %.13807, 1
  %488 = load ptr, ptr %119, align 8, !tbaa !9
  %489 = getelementptr inbounds double, ptr %488, i64 %487
  store double 0.000000e+00, ptr %489, align 8, !tbaa !14
  %490 = or disjoint i64 %.13807, 2
  %491 = load ptr, ptr %119, align 8, !tbaa !9
  %492 = getelementptr inbounds double, ptr %491, i64 %490
  store double 0.000000e+00, ptr %492, align 8, !tbaa !14
  %493 = or disjoint i64 %.13807, 3
  %494 = load ptr, ptr %119, align 8, !tbaa !9
  %495 = getelementptr inbounds double, ptr %494, i64 %493
  store double 0.000000e+00, ptr %495, align 8, !tbaa !14
  %496 = add nuw nsw i64 %.13807, 4
  %niter964.next.3 = add i64 %niter964, 4
  %niter964.ncmp.3 = icmp eq i64 %niter964.next.3, %unroll_iter963
  br i1 %niter964.ncmp.3, label %._crit_edge809.loopexit.unr-lcssa, label %.lr.ph808, !llvm.loop !42

._crit_edge809.loopexit.unr-lcssa:                ; preds = %.lr.ph808, %.lr.ph808.preheader
  %.13807.unr = phi i64 [ 0, %.lr.ph808.preheader ], [ %496, %.lr.ph808 ]
  br i1 %lcmp.mod962.not, label %._crit_edge809, label %.lr.ph808.epil

.lr.ph808.epil:                                   ; preds = %._crit_edge809.loopexit.unr-lcssa, %.lr.ph808.epil
  %.13807.epil = phi i64 [ %499, %.lr.ph808.epil ], [ %.13807.unr, %._crit_edge809.loopexit.unr-lcssa ]
  %epil.iter961 = phi i64 [ %epil.iter961.next, %.lr.ph808.epil ], [ 0, %._crit_edge809.loopexit.unr-lcssa ]
  %497 = load ptr, ptr %119, align 8, !tbaa !9
  %498 = getelementptr inbounds double, ptr %497, i64 %.13807.epil
  store double 0.000000e+00, ptr %498, align 8, !tbaa !14
  %499 = add nuw nsw i64 %.13807.epil, 1
  %epil.iter961.next = add i64 %epil.iter961, 1
  %epil.iter961.cmp.not = icmp eq i64 %epil.iter961.next, %xtraiter960
  br i1 %epil.iter961.cmp.not, label %._crit_edge809, label %.lr.ph808.epil, !llvm.loop !43

._crit_edge809:                                   ; preds = %._crit_edge809.loopexit.unr-lcssa, %.lr.ph808.epil, %.preheader707
  %.not = icmp slt i64 %331, %8
  br i1 %.not, label %531, label %500

500:                                              ; preds = %._crit_edge809
  call void @_ZN11alglib_impl9rmatrixlqEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %37, i64 noundef %8, i64 noundef %331, ptr noundef nonnull %22, ptr noundef %12)
  call void @_ZN11alglib_impl16rmatrixlqunpackqEPKNS_9ae_matrixEllPKNS_9ae_vectorElPS0_PNS_8ae_stateE(ptr noundef nonnull %37, i64 noundef %8, i64 noundef %331, ptr noundef nonnull %22, i64 noundef %8, ptr noundef nonnull %38, ptr noundef %12)
  br i1 %.not.not733, label %.lr.ph814, label %._crit_edge815.thread

._crit_edge815.thread:                            ; preds = %500
  %501 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %12)
  br label %._crit_edge821

.lr.ph814:                                        ; preds = %500, %.lr.ph814
  %.14812 = phi i64 [ %509, %.lr.ph814 ], [ 0, %500 ]
  %.3652811 = phi double [ %508, %.lr.ph814 ], [ 0.000000e+00, %500 ]
  %502 = load ptr, ptr %122, align 8, !tbaa !9
  %503 = getelementptr inbounds ptr, ptr %502, i64 %.14812
  %504 = load ptr, ptr %503, align 8, !tbaa !10
  %505 = getelementptr inbounds double, ptr %504, i64 %.14812
  %506 = load double, ptr %505, align 8, !tbaa !14
  %507 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %506, ptr noundef %12)
  %508 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.3652811, double noundef %507, ptr noundef %12)
  %509 = add nuw nsw i64 %.14812, 1
  %exitcond896.not = icmp eq i64 %509, %8
  br i1 %exitcond896.not, label %._crit_edge815, label %.lr.ph814, !llvm.loop !44

._crit_edge815:                                   ; preds = %.lr.ph814
  %510 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %508, double noundef 1.000000e+00, ptr noundef %12)
  br i1 %.not.not733, label %.lr.ph820.preheader, label %._crit_edge821

.lr.ph820.preheader:                              ; preds = %._crit_edge815
  br i1 %137, label %._crit_edge821.loopexit.unr-lcssa, label %.lr.ph820

.lr.ph820:                                        ; preds = %.lr.ph820.preheader, %.lr.ph820
  %.15818 = phi i64 [ %524, %.lr.ph820 ], [ 0, %.lr.ph820.preheader ]
  %niter969 = phi i64 [ %niter969.next.1, %.lr.ph820 ], [ 0, %.lr.ph820.preheader ]
  %511 = load ptr, ptr %122, align 8, !tbaa !9
  %512 = getelementptr inbounds ptr, ptr %511, i64 %.15818
  %513 = load ptr, ptr %512, align 8, !tbaa !10
  %514 = getelementptr inbounds double, ptr %513, i64 %.15818
  %515 = load double, ptr %514, align 8, !tbaa !14
  %516 = call double @llvm.fmuladd.f64(double %128, double %510, double %515)
  store double %516, ptr %514, align 8, !tbaa !14
  %517 = or disjoint i64 %.15818, 1
  %518 = load ptr, ptr %122, align 8, !tbaa !9
  %519 = getelementptr inbounds ptr, ptr %518, i64 %517
  %520 = load ptr, ptr %519, align 8, !tbaa !10
  %521 = getelementptr inbounds double, ptr %520, i64 %517
  %522 = load double, ptr %521, align 8, !tbaa !14
  %523 = call double @llvm.fmuladd.f64(double %128, double %510, double %522)
  store double %523, ptr %521, align 8, !tbaa !14
  %524 = add nuw nsw i64 %.15818, 2
  %niter969.next.1 = add i64 %niter969, 2
  %niter969.ncmp.1 = icmp eq i64 %niter969.next.1, %unroll_iter968
  br i1 %niter969.ncmp.1, label %._crit_edge821.loopexit.unr-lcssa, label %.lr.ph820, !llvm.loop !45

._crit_edge821.loopexit.unr-lcssa:                ; preds = %.lr.ph820, %.lr.ph820.preheader
  %.15818.unr = phi i64 [ 0, %.lr.ph820.preheader ], [ %524, %.lr.ph820 ]
  br i1 %lcmp.mod967.not, label %._crit_edge821, label %.lr.ph820.epil

.lr.ph820.epil:                                   ; preds = %._crit_edge821.loopexit.unr-lcssa
  %525 = load ptr, ptr %122, align 8, !tbaa !9
  %526 = getelementptr inbounds ptr, ptr %525, i64 %.15818.unr
  %527 = load ptr, ptr %526, align 8, !tbaa !10
  %528 = getelementptr inbounds double, ptr %527, i64 %.15818.unr
  %529 = load double, ptr %528, align 8, !tbaa !14
  %530 = call double @llvm.fmuladd.f64(double %128, double %510, double %529)
  store double %530, ptr %528, align 8, !tbaa !14
  br label %._crit_edge821

._crit_edge821:                                   ; preds = %.lr.ph820.epil, %._crit_edge821.loopexit.unr-lcssa, %._crit_edge815.thread, %._crit_edge815
  call void @_ZN11alglib_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_lPNS_8ae_stateE(i64 noundef %8, i64 noundef %331, 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_impl11rmatrixtrsvElPKNS_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_impl11rmatrixtrsvElPKNS_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_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_lPNS_8ae_stateE(i64 noundef %331, 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 %564

531:                                              ; preds = %._crit_edge809
  call void @_ZN11alglib_impl9rmatrixqrEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %37, i64 noundef %8, i64 noundef %331, ptr noundef nonnull %22, ptr noundef %12)
  br i1 %.not.not677797, label %.lr.ph826, label %._crit_edge827.thread

._crit_edge827.thread:                            ; preds = %531
  %532 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %12)
  br label %._crit_edge833

.lr.ph826:                                        ; preds = %531, %.lr.ph826
  %.16824 = phi i64 [ %540, %.lr.ph826 ], [ 0, %531 ]
  %.4653823 = phi double [ %539, %.lr.ph826 ], [ 0.000000e+00, %531 ]
  %533 = load ptr, ptr %122, align 8, !tbaa !9
  %534 = getelementptr inbounds ptr, ptr %533, i64 %.16824
  %535 = load ptr, ptr %534, align 8, !tbaa !10
  %536 = getelementptr inbounds double, ptr %535, i64 %.16824
  %537 = load double, ptr %536, align 8, !tbaa !14
  %538 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %537, ptr noundef %12)
  %539 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.4653823, double noundef %538, ptr noundef %12)
  %540 = add nuw nsw i64 %.16824, 1
  %.not681.not = icmp slt i64 %540, %331
  br i1 %.not681.not, label %.lr.ph826, label %._crit_edge827, !llvm.loop !46

._crit_edge827:                                   ; preds = %.lr.ph826
  %541 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %539, double noundef 1.000000e+00, ptr noundef %12)
  br i1 %.not.not677797, label %.lr.ph832, label %._crit_edge833

.lr.ph832:                                        ; preds = %._crit_edge827
  %542 = mul nuw nsw i64 %331, 10
  %543 = uitofp nneg i64 %542 to double
  %544 = fmul double %543, 5.000000e-16
  %545 = fmul double %544, %541
  %546 = fneg double %545
  br label %547

547:                                              ; preds = %.lr.ph832, %547
  %.17830 = phi i64 [ 0, %.lr.ph832 ], [ %560, %547 ]
  %548 = load ptr, ptr %122, align 8, !tbaa !9
  %549 = getelementptr inbounds ptr, ptr %548, i64 %.17830
  %550 = load ptr, ptr %549, align 8, !tbaa !10
  %551 = getelementptr inbounds double, ptr %550, i64 %.17830
  %552 = load double, ptr %551, align 8, !tbaa !14
  %553 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %552, double noundef 0.000000e+00)
  %.0656 = select i1 %553, double %546, double %545
  %554 = load ptr, ptr %122, align 8, !tbaa !9
  %555 = getelementptr inbounds ptr, ptr %554, i64 %.17830
  %556 = load ptr, ptr %555, align 8, !tbaa !10
  %557 = getelementptr inbounds double, ptr %556, i64 %.17830
  %558 = load double, ptr %557, align 8, !tbaa !14
  %559 = fadd double %.0656, %558
  store double %559, ptr %557, align 8, !tbaa !14
  %560 = add nuw nsw i64 %.17830, 1
  %.not682.not = icmp slt i64 %560, %331
  br i1 %.not682.not, label %547, label %._crit_edge833, !llvm.loop !47

._crit_edge833:                                   ; preds = %547, %._crit_edge827.thread, %._crit_edge827
  %561 = load ptr, ptr %119, align 8, !tbaa !9
  %562 = load ptr, ptr %115, align 8, !tbaa !9
  %563 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %448)
  call void @_ZN11alglib_impl12ae_v_movenegEPdlPKdll(ptr noundef %561, i64 noundef 1, ptr noundef %562, i64 noundef 1, i64 noundef %563)
  call void @_ZN11alglib_impl11rmatrixtrsvElPKNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %331, 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_impl11rmatrixtrsvElPKNS_9ae_matrixEllbblPNS_9ae_vectorElPNS_8ae_stateE(i64 noundef %331, 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 %564

564:                                              ; preds = %._crit_edge833, %._crit_edge821
  br i1 %.not.not667738, label %.lr.ph836, label %._crit_edge837

.lr.ph836:                                        ; preds = %564, %576
  %.6632834 = phi i64 [ %577, %576 ], [ %108, %564 ]
  %565 = load ptr, ptr %124, align 8, !tbaa !9
  %566 = getelementptr inbounds i64, ptr %565, i64 %.6632834
  %567 = load i64, ptr %566, align 8, !tbaa !5
  %.not685 = icmp eq i64 %567, %.6632834
  br i1 %.not685, label %576, label %568

568:                                              ; preds = %.lr.ph836
  %569 = load ptr, ptr %119, align 8, !tbaa !9
  %570 = getelementptr inbounds double, ptr %569, i64 %567
  %571 = load double, ptr %570, align 8, !tbaa !14
  %572 = getelementptr inbounds double, ptr %569, i64 %.6632834
  %573 = load double, ptr %572, align 8, !tbaa !14
  store double %573, ptr %570, align 8, !tbaa !14
  %574 = load ptr, ptr %119, align 8, !tbaa !9
  %575 = getelementptr inbounds double, ptr %574, i64 %.6632834
  store double %571, ptr %575, align 8, !tbaa !14
  br label %576

576:                                              ; preds = %.lr.ph836, %568
  %577 = add nsw i64 %.6632834, -1
  %578 = icmp sgt i64 %.6632834, 0
  br i1 %578, label %.lr.ph836, label %._crit_edge837, !llvm.loop !48

._crit_edge837:                                   ; preds = %576, %564
  call void @_ZN11alglib_impl18calculatestepboundEPKNS_9ae_vectorES2_dS2_S2_S2_S2_llPlPdS4_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)
  %579 = load i64, ptr %26, align 8, !tbaa !5
  %580 = icmp sgt i64 %579, -1
  br i1 %580, label %581, label %.thread702

581:                                              ; preds = %._crit_edge837
  %582 = load double, ptr %28, align 8, !tbaa !14
  %583 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %582, double noundef 0.000000e+00)
  br i1 %583, label %704, label %584

584:                                              ; preds = %581
  %.pr701 = load i64, ptr %26, align 8, !tbaa !5
  %585 = icmp sgt i64 %.pr701, -1
  br i1 %585, label %586, label %.thread702

586:                                              ; preds = %584
  %587 = load double, ptr %28, align 8, !tbaa !14
  %588 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef 1.000000e+00, double noundef %587, ptr noundef %12)
  br label %.thread702

.thread702:                                       ; preds = %._crit_edge837, %584, %586
  %.5654 = phi double [ %588, %586 ], [ 1.000000e+00, %584 ], [ 1.000000e+00, %._crit_edge837 ]
  %589 = load ptr, ptr %129, align 8, !tbaa !9
  %590 = load ptr, ptr %119, align 8, !tbaa !9
  %591 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl10ae_v_movedEPdlPKdlld(ptr noundef %589, i64 noundef 1, ptr noundef %590, i64 noundef 1, i64 noundef %591, double noundef %.5654)
  %592 = load ptr, ptr %129, align 8, !tbaa !9
  %593 = load ptr, ptr %112, align 8, !tbaa !9
  %594 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl8ae_v_addEPdlPKdll(ptr noundef %592, i64 noundef 1, ptr noundef %593, i64 noundef 1, i64 noundef %594)
  %595 = load i64, ptr %26, align 8, !tbaa !5
  %596 = load double, ptr %27, align 8, !tbaa !14
  %597 = load double, ptr %28, align 8, !tbaa !14
  %598 = call noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorEPKS0_S3_S3_S3_S3_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 %595, double noundef %596, double noundef %.5654, double noundef %597, ptr noundef %12)
  %599 = load double, ptr %28, align 8, !tbaa !14
  %600 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %599, double noundef 0.000000e+00)
  br i1 %600, label %601, label %684

601:                                              ; preds = %.thread702
  %602 = load double, ptr %28, align 8, !tbaa !14
  %603 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %602, double noundef 1.000000e+00)
  br i1 %603, label %604, label %684

604:                                              ; preds = %601
  %605 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %605, ptr %24, align 8, !tbaa !14
  %606 = load double, ptr %28, align 8, !tbaa !14
  %607 = fsub double 1.000000e+00, %606
  %608 = load ptr, ptr %120, align 8, !tbaa !9
  %609 = load ptr, ptr %129, align 8, !tbaa !9
  %610 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %608, i64 noundef 1, ptr noundef %609, i64 noundef 1, i64 noundef %610)
  %611 = load ptr, ptr %120, align 8, !tbaa !9
  %612 = load ptr, ptr %119, align 8, !tbaa !9
  %613 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %611, i64 noundef 1, ptr noundef %612, i64 noundef 1, i64 noundef %613, double noundef %607)
  %614 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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)
  %615 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %615, ptr %25, align 8, !tbaa !14
  %616 = load double, ptr %24, align 8, !tbaa !14
  %617 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %615, double noundef %616)
  br i1 %617, label %618, label %620

618:                                              ; preds = %604
  %619 = load double, ptr %25, align 8, !tbaa !14
  store double %619, ptr %24, align 8, !tbaa !14
  br label %620

620:                                              ; preds = %618, %604
  %.2647 = phi double [ %607, %618 ], [ 0.000000e+00, %604 ]
  %621 = fmul double %607, 5.000000e-01
  %622 = load ptr, ptr %120, align 8, !tbaa !9
  %623 = load ptr, ptr %129, align 8, !tbaa !9
  %624 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %622, i64 noundef 1, ptr noundef %623, i64 noundef 1, i64 noundef %624)
  %625 = load ptr, ptr %120, align 8, !tbaa !9
  %626 = load ptr, ptr %119, align 8, !tbaa !9
  %627 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %625, i64 noundef 1, ptr noundef %626, i64 noundef 1, i64 noundef %627, double noundef %621)
  %628 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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)
  %629 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %629, ptr %25, align 8, !tbaa !14
  %630 = load double, ptr %24, align 8, !tbaa !14
  %631 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %629, double noundef %630)
  br i1 %631, label %632, label %634

632:                                              ; preds = %620
  %633 = load double, ptr %25, align 8, !tbaa !14
  store double %633, ptr %24, align 8, !tbaa !14
  br label %634

634:                                              ; preds = %632, %620
  %.2647.1 = phi double [ %621, %632 ], [ %.2647, %620 ]
  %635 = fmul double %621, 5.000000e-01
  %636 = load ptr, ptr %120, align 8, !tbaa !9
  %637 = load ptr, ptr %129, align 8, !tbaa !9
  %638 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %636, i64 noundef 1, ptr noundef %637, i64 noundef 1, i64 noundef %638)
  %639 = load ptr, ptr %120, align 8, !tbaa !9
  %640 = load ptr, ptr %119, align 8, !tbaa !9
  %641 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %639, i64 noundef 1, ptr noundef %640, i64 noundef 1, i64 noundef %641, double noundef %635)
  %642 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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)
  %643 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %643, ptr %25, align 8, !tbaa !14
  %644 = load double, ptr %24, align 8, !tbaa !14
  %645 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %643, double noundef %644)
  br i1 %645, label %646, label %648

646:                                              ; preds = %634
  %647 = load double, ptr %25, align 8, !tbaa !14
  store double %647, ptr %24, align 8, !tbaa !14
  br label %648

648:                                              ; preds = %646, %634
  %.2647.2 = phi double [ %635, %646 ], [ %.2647.1, %634 ]
  %649 = fmul double %635, 5.000000e-01
  %650 = load ptr, ptr %120, align 8, !tbaa !9
  %651 = load ptr, ptr %129, align 8, !tbaa !9
  %652 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %650, i64 noundef 1, ptr noundef %651, i64 noundef 1, i64 noundef %652)
  %653 = load ptr, ptr %120, align 8, !tbaa !9
  %654 = load ptr, ptr %119, align 8, !tbaa !9
  %655 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %653, i64 noundef 1, ptr noundef %654, i64 noundef 1, i64 noundef %655, double noundef %649)
  %656 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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)
  %657 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %657, ptr %25, align 8, !tbaa !14
  %658 = load double, ptr %24, align 8, !tbaa !14
  %659 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %657, double noundef %658)
  br i1 %659, label %660, label %662

660:                                              ; preds = %648
  %661 = load double, ptr %25, align 8, !tbaa !14
  store double %661, ptr %24, align 8, !tbaa !14
  br label %662

662:                                              ; preds = %660, %648
  %.2647.3 = phi double [ %649, %660 ], [ %.2647.2, %648 ]
  %663 = fmul double %649, 5.000000e-01
  %664 = load ptr, ptr %120, align 8, !tbaa !9
  %665 = load ptr, ptr %129, align 8, !tbaa !9
  %666 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %664, i64 noundef 1, ptr noundef %665, i64 noundef 1, i64 noundef %666)
  %667 = load ptr, ptr %120, align 8, !tbaa !9
  %668 = load ptr, ptr %119, align 8, !tbaa !9
  %669 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %667, i64 noundef 1, ptr noundef %668, i64 noundef 1, i64 noundef %669, double noundef %663)
  %670 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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)
  %671 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %671, ptr %25, align 8, !tbaa !14
  %672 = load double, ptr %24, align 8, !tbaa !14
  %673 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %671, double noundef %672)
  br i1 %673, label %674, label %676

674:                                              ; preds = %662
  %675 = load double, ptr %25, align 8, !tbaa !14
  store double %675, ptr %24, align 8, !tbaa !14
  br label %676

676:                                              ; preds = %674, %662
  %.2647.4 = phi double [ %663, %674 ], [ %.2647.3, %662 ]
  %677 = load ptr, ptr %120, align 8, !tbaa !9
  %678 = load ptr, ptr %129, align 8, !tbaa !9
  %679 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %677, i64 noundef 1, ptr noundef %678, i64 noundef 1, i64 noundef %679)
  %680 = load ptr, ptr %120, align 8, !tbaa !9
  %681 = load ptr, ptr %119, align 8, !tbaa !9
  %682 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %680, i64 noundef 1, ptr noundef %681, i64 noundef 1, i64 noundef %682, double noundef %.2647.4)
  %683 = call noundef zeroext i1 @_ZN11alglib_impl26enforceboundaryconstraintsEPNS_9ae_vectorEPKS0_S3_S3_S3_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 %688

684:                                              ; preds = %601, %.thread702
  %685 = load ptr, ptr %120, align 8, !tbaa !9
  %686 = load ptr, ptr %129, align 8, !tbaa !9
  %687 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %685, i64 noundef 1, ptr noundef %686, i64 noundef 1, i64 noundef %687)
  br label %688

688:                                              ; preds = %684, %676
  %689 = load double, ptr %28, align 8, !tbaa !14
  %690 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %689, double noundef 1.000000e+00)
  br i1 %690, label %694, label %691

691:                                              ; preds = %688
  %692 = load double, ptr %28, align 8, !tbaa !14
  %693 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %692, double noundef 0.000000e+00)
  br label %694

694:                                              ; preds = %691, %688
  %695 = phi i1 [ true, %688 ], [ %693, %691 ]
  %696 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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)
  %697 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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)
  %698 = fadd double %142, %696
  %699 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %697, double noundef %698)
  br i1 %699, label %704, label %700

700:                                              ; preds = %694
  %701 = load ptr, ptr %112, align 8, !tbaa !9
  %702 = load ptr, ptr %120, align 8, !tbaa !9
  %703 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %701, i64 noundef 1, ptr noundef %702, i64 noundef 1, i64 noundef %703)
  br i1 %695, label %704, label %.preheader716, !llvm.loop !49

704:                                              ; preds = %700, %694, %581, %._crit_edge779, %248, %._crit_edge767
  br i1 %.not689853, label %._crit_edge858, label %.lr.ph857

.lr.ph857:                                        ; preds = %704, %780
  %.0625855 = phi i64 [ %781, %780 ], [ 1, %704 ]
  %.0643854 = phi i1 [ true, %780 ], [ false, %704 ]
  call void @_ZN11alglib_implL28optserv_feasibilityerrorgradEPKNS_9ae_matrixEPKNS_9ae_vectorElllPdPS3_S7_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)
  %705 = load ptr, ptr %130, align 8, !tbaa !9
  %706 = load ptr, ptr %115, align 8, !tbaa !9
  %707 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %705, i64 noundef 1, ptr noundef %706, i64 noundef 1, i64 noundef %707)
  call void @_ZN11alglib_impl21projectgradientintobcEPKNS_9ae_vectorEPS0_S2_S2_S2_S2_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_vectorEPKS0_S3_S3_S3_S3_S3_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.not667738, label %.lr.ph844, label %._crit_edge845

.lr.ph844:                                        ; preds = %.lr.ph857, %725
  %.18842 = phi i64 [ %726, %725 ], [ 0, %.lr.ph857 ]
  %708 = load ptr, ptr %118, align 8, !tbaa !9
  %709 = getelementptr inbounds double, ptr %708, i64 %.18842
  %710 = load double, ptr %709, align 8, !tbaa !14
  %711 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %710, ptr noundef %12)
  %712 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %711, double noundef 0.000000e+00)
  %713 = load ptr, ptr %130, align 8, !tbaa !9
  %714 = getelementptr inbounds double, ptr %713, i64 %.18842
  br i1 %712, label %715, label %724

715:                                              ; preds = %.lr.ph844
  %716 = load double, ptr %714, align 8, !tbaa !14
  %717 = load ptr, ptr %118, align 8, !tbaa !9
  %718 = getelementptr inbounds double, ptr %717, i64 %.18842
  %719 = load double, ptr %718, align 8, !tbaa !14
  %720 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %719, ptr noundef %12)
  %721 = fdiv double %716, %720
  %722 = load ptr, ptr %130, align 8, !tbaa !9
  %723 = getelementptr inbounds double, ptr %722, i64 %.18842
  store double %721, ptr %723, align 8, !tbaa !14
  br label %725

724:                                              ; preds = %.lr.ph844
  store double 0.000000e+00, ptr %714, align 8, !tbaa !14
  br label %725

725:                                              ; preds = %715, %724
  %726 = add nuw nsw i64 %.18842, 1
  %exitcond899.not = icmp eq i64 %726, %42
  br i1 %exitcond899.not, label %._crit_edge845, label %.lr.ph844, !llvm.loop !50

._crit_edge845:                                   ; preds = %725, %.lr.ph857
  %727 = load ptr, ptr %130, align 8, !tbaa !9
  %728 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  %729 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %727, i64 noundef 1, ptr noundef %727, i64 noundef 1, i64 noundef %728)
  %730 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %729, ptr noundef %12)
  %731 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %730, double noundef 0.000000e+00)
  br i1 %731, label %732, label %.lr.ph850

732:                                              ; preds = %._crit_edge845
  %733 = load double, ptr %25, align 8, !tbaa !14
  %734 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %733, double noundef %9)
  br label %.loopexit

.lr.ph850:                                        ; preds = %._crit_edge845
  %735 = load ptr, ptr %115, align 8, !tbaa !9
  %736 = load ptr, ptr %130, align 8, !tbaa !9
  %737 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  %738 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %735, i64 noundef 1, ptr noundef %736, i64 noundef 1, i64 noundef %737)
  call void @_ZN11alglib_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_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 %739

739:                                              ; preds = %.lr.ph850, %739
  %.19848 = phi i64 [ 0, %.lr.ph850 ], [ %745, %739 ]
  %.0648847 = phi double [ 0.000000e+00, %.lr.ph850 ], [ %744, %739 ]
  %740 = load ptr, ptr %125, align 8, !tbaa !9
  %741 = getelementptr inbounds double, ptr %740, i64 %.19848
  %742 = load double, ptr %741, align 8, !tbaa !14
  %743 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %742, ptr noundef %12)
  %744 = fadd double %.0648847, %743
  %745 = add nuw nsw i64 %.19848, 1
  %exitcond900.not = icmp eq i64 %745, %8
  br i1 %exitcond900.not, label %._crit_edge851, label %739, !llvm.loop !51

._crit_edge851:                                   ; preds = %739
  %746 = fdiv double %738, %744
  call void @_ZN11alglib_impl18calculatestepboundEPKNS_9ae_vectorES2_dS2_S2_S2_S2_llPlPdS4_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)
  %747 = load i64, ptr %26, align 8, !tbaa !5
  %748 = icmp sgt i64 %747, -1
  br i1 %748, label %749, label %.thread705

749:                                              ; preds = %._crit_edge851
  %750 = load double, ptr %28, align 8, !tbaa !14
  %751 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %750, double noundef 0.000000e+00)
  br i1 %751, label %.loopexit, label %752

752:                                              ; preds = %749
  %.pr704 = load i64, ptr %26, align 8, !tbaa !5
  %753 = icmp sgt i64 %.pr704, -1
  br i1 %753, label %754, label %.thread705

754:                                              ; preds = %752
  %755 = load double, ptr %28, align 8, !tbaa !14
  %756 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %746, double noundef %755, ptr noundef %12)
  br label %.thread705

.thread705:                                       ; preds = %._crit_edge851, %752, %754
  %.6655 = phi double [ %756, %754 ], [ %746, %752 ], [ %746, %._crit_edge851 ]
  %757 = load ptr, ptr %129, align 8, !tbaa !9
  %758 = load ptr, ptr %112, align 8, !tbaa !9
  %759 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %757, i64 noundef 1, ptr noundef %758, i64 noundef 1, i64 noundef %759)
  %760 = load ptr, ptr %129, align 8, !tbaa !9
  %761 = load ptr, ptr %130, align 8, !tbaa !9
  %762 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef %760, i64 noundef 1, ptr noundef %761, i64 noundef 1, i64 noundef %762, double noundef %.6655)
  %763 = load i64, ptr %26, align 8, !tbaa !5
  %764 = load double, ptr %27, align 8, !tbaa !14
  %765 = load double, ptr %28, align 8, !tbaa !14
  %766 = call noundef i64 @_ZN11alglib_impl22postprocessboundedstepEPNS_9ae_vectorEPKS0_S3_S3_S3_S3_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 %763, double noundef %764, double noundef %.6655, double noundef %765, ptr noundef %12)
  br i1 %.0643854, label %.critedge, label %767

767:                                              ; preds = %.thread705
  %768 = call noundef i64 @_ZN11alglib_impl26numberofchangedconstraintsEPKNS_9ae_vectorES2_S2_S2_S2_S2_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)
  %769 = icmp sgt i64 %768, 0
  %770 = load ptr, ptr %112, align 8, !tbaa !9
  %771 = load ptr, ptr %129, align 8, !tbaa !9
  %772 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %770, i64 noundef 1, ptr noundef %771, i64 noundef 1, i64 noundef %772)
  %773 = load i64, ptr %11, align 8, !tbaa !5
  %774 = add nsw i64 %773, 1
  store i64 %774, ptr %11, align 8, !tbaa !5
  br i1 %769, label %780, label %._crit_edge858

.critedge:                                        ; preds = %.thread705
  %775 = load ptr, ptr %112, align 8, !tbaa !9
  %776 = load ptr, ptr %129, align 8, !tbaa !9
  %777 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %108)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %775, i64 noundef 1, ptr noundef %776, i64 noundef 1, i64 noundef %777)
  %778 = load i64, ptr %11, align 8, !tbaa !5
  %779 = add nsw i64 %778, 1
  store i64 %779, ptr %11, align 8, !tbaa !5
  br label %780

780:                                              ; preds = %.critedge, %767
  %781 = add nuw i64 %.0625855, 1
  %exitcond901.not = icmp eq i64 %.0625855, %8
  br i1 %exitcond901.not, label %._crit_edge858, label %.lr.ph857, !llvm.loop !52

._crit_edge858:                                   ; preds = %780, %767, %704
  %.not696 = phi i1 [ true, %704 ], [ true, %767 ], [ false, %780 ]
  %782 = call noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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 %782, ptr %25, align 8, !tbaa !14
  %783 = fsub double %.pre902910, %142
  %784 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %782, double noundef %783)
  br i1 %784, label %785, label %786

785:                                              ; preds = %._crit_edge858
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %36, ptr noundef %12)
  br label %787

786:                                              ; preds = %._crit_edge858
  store i64 0, ptr %36, align 8, !tbaa !5
  br label %787

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

790:                                              ; preds = %787
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %35, ptr noundef %12)
  %.pre903 = load i64, ptr %35, align 8
  br label %792

791:                                              ; preds = %787
  store i64 0, ptr %35, align 8, !tbaa !5
  br label %792

792:                                              ; preds = %791, %790
  %793 = phi i64 [ 0, %791 ], [ %.pre903, %790 ]
  %794 = icmp sgt i64 %793, 2
  %or.cond = select i1 %.not696, i1 true, i1 %794
  %795 = load i64, ptr %36, align 8
  %796 = icmp sgt i64 %795, 2
  %or.cond699 = select i1 %or.cond, i1 true, i1 %796
  br i1 %or.cond699, label %797, label %800

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

800:                                              ; preds = %792
  %801 = call noundef zeroext i1 @_ZN11alglib_impl11alwaysfalseEPNS_8ae_stateE(ptr noundef %12)
  br i1 %801, label %802, label %138, !llvm.loop !53

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

.loopexit:                                        ; preds = %749, %40, %13, %802, %797, %732, %._crit_edge754.thread
  %.0 = phi i1 [ %176, %._crit_edge754.thread ], [ %734, %732 ], [ %799, %797 ], [ false, %802 ], [ false, %13 ], [ true, %40 ], [ false, %749 ]
  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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZN11alglib_implL24optserv_feasibilityerrorEPKNS_9ae_matrixEPKNS_9ae_vectorElllPS3_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_feasibilityerrorgradEPKNS_9ae_matrixEPKNS_9ae_vectorElllPdPS3_S7_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_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double 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 noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 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_impl16rmatrixlqunpackqEPKNS_9ae_matrixEllPKNS_9ae_vectorElPS0_PNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl11rmatrixgemvElldPKNS_9ae_matrixElllPKNS_9ae_vectorEldPS3_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_impl11rmatrixtrsvElPKNS_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_impl12ae_v_movenegEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 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