; 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::vipmstate" = type { i8, i8, i64, i64, double, double, double, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", i64, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64, i8, i8, i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::vipmreducedsparsesystem", %"struct.alglib_impl::vipmrighthandside", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::vipmvars", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::vipmreducedsparsesystem" = type { %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::spcholanalysis", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::spcholanalysis" = type { i64, i64, i64, i8, i64, double, double, double, double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, i8, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, i8, %"struct.alglib_impl::spcholadj", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdbuffer", %"struct.alglib_impl::priorityamdbuffers", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::spcholadj" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_nxpool" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_dyn_block", %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::amdbuffer" = type { i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdllmatrix", %"struct.alglib_impl::amdvertexset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::amdllmatrix" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::amdvertexset" = type { i64, i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::amdknset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::niset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::priorityamdbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdbuffer", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::vipmrighthandside" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::vipmvars" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::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::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }

@.str.586 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.587 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.588 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.589 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.590 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.591 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.592 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.593 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.594 = external hidden unnamed_addr constant [65 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 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) #1

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11alglib_impl19scaledenseqpinplaceEPNS_9ae_matrixEblPNS_9ae_vectorElPKS2_PNS_8ae_stateE(ptr noundef, i1 noundef zeroext, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22vipmsetquadraticlinearEPNS_9vipmstateEPKNS_9ae_matrixEPKNS_12sparsematrixElbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i1 noundef zeroext %4, ptr noundef %5, ptr noundef %6) #3 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i64 %3, ptr %11, align 8, !tbaa !9
  %26 = zext i1 %4 to i8
  store i8 %26, ptr %12, align 1, !tbaa !11
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %27, i32 0, i32 3
  %29 = load i64, ptr %28, align 8, !tbaa !13
  store i64 %29, ptr %15, align 8, !tbaa !9
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %30, i32 0, i32 2
  %32 = load i64, ptr %31, align 8, !tbaa !33
  store i64 %32, ptr %16, align 8, !tbaa !9
  %33 = load i64, ptr %11, align 8, !tbaa !9
  %34 = icmp eq i64 %33, 0
  br i1 %34, label %38, label %35

35:                                               ; preds = %7
  %36 = load i64, ptr %11, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 1
  br label %38

38:                                               ; preds = %35, %7
  %39 = phi i1 [ true, %7 ], [ %37, %35 ]
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef @.str.586, ptr noundef %40)
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  %42 = load i64, ptr %16, align 8, !tbaa !9
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  %44 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %41, i64 noundef %42, ptr noundef %43)
  %45 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %44, ptr noundef @.str.587, ptr noundef %45)
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %46, i32 0, i32 54
  %48 = load i64, ptr %47, align 8, !tbaa !34
  %49 = icmp eq i64 %48, 0
  br i1 %49, label %55, label %50

50:                                               ; preds = %38
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %51, i32 0, i32 54
  %53 = load i64, ptr %52, align 8, !tbaa !34
  %54 = icmp eq i64 %53, 1
  br label %55

55:                                               ; preds = %50, %38
  %56 = phi i1 [ true, %38 ], [ %54, %50 ]
  %57 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %56, ptr noundef @.str.588, ptr noundef %57)
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %58, i32 0, i32 7
  store i8 0, ptr %59, align 8, !tbaa !35
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %60, i32 0, i32 56
  store i8 0, ptr %61, align 1, !tbaa !36
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %62, i32 0, i32 55
  store i8 0, ptr %63, align 8, !tbaa !37
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %64, i32 0, i32 12
  %66 = load i64, ptr %16, align 8, !tbaa !9
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %65, i64 noundef %66, ptr noundef %67)
  %68 = load i64, ptr %16, align 8, !tbaa !9
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %70, i32 0, i32 12
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rvectorcopyElPKNS_9ae_vectorElPS0_lPNS_8ae_stateE(i64 noundef %68, ptr noundef %69, i64 noundef 0, ptr noundef %71, i64 noundef 0, ptr noundef %72)
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %73, i32 0, i32 16
  store i64 -1, ptr %74, align 8, !tbaa !38
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %75, i32 0, i32 11
  store double 1.000000e+00, ptr %76, align 8, !tbaa !39
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %77, i32 0, i32 54
  %79 = load i64, ptr %78, align 8, !tbaa !34
  %80 = icmp eq i64 %79, 0
  br i1 %80, label %81, label %370

81:                                               ; preds = %55
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %82, i32 0, i32 16
  store i64 0, ptr %83, align 8, !tbaa !38
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %84, i32 0, i32 13
  %86 = load i64, ptr %15, align 8, !tbaa !9
  %87 = load i64, ptr %15, align 8, !tbaa !9
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %85, i64 noundef %86, i64 noundef %87, ptr noundef %88)
  %89 = load i64, ptr %11, align 8, !tbaa !9
  %90 = icmp eq i64 %89, 0
  br i1 %90, label %91, label %109

91:                                               ; preds = %81
  %92 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %101

94:                                               ; preds = %91
  %95 = load i64, ptr %15, align 8, !tbaa !9
  %96 = load i64, ptr %15, align 8, !tbaa !9
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %98, i32 0, i32 13
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl16rmatrixtransposeEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef %95, i64 noundef %96, ptr noundef %97, i64 noundef 0, i64 noundef 0, ptr noundef %99, i64 noundef 0, i64 noundef 0, ptr noundef %100)
  br label %108

101:                                              ; preds = %91
  %102 = load i64, ptr %15, align 8, !tbaa !9
  %103 = load i64, ptr %15, align 8, !tbaa !9
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %105, i32 0, i32 13
  %107 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixcopyEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef %102, i64 noundef %103, ptr noundef %104, i64 noundef 0, i64 noundef 0, ptr noundef %106, i64 noundef 0, i64 noundef 0, ptr noundef %107)
  br label %108

108:                                              ; preds = %101, %94
  br label %109

109:                                              ; preds = %108, %81
  %110 = load i64, ptr %11, align 8, !tbaa !9
  %111 = icmp eq i64 %110, 1
  br i1 %111, label %112, label %307

112:                                              ; preds = %109
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %113, i32 0, i32 5
  %115 = load i64, ptr %114, align 8, !tbaa !42
  %116 = icmp eq i64 %115, 1
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %116, ptr noundef @.str.589, ptr noundef %117)
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %118, i32 0, i32 6
  %120 = load i64, ptr %119, align 8, !tbaa !43
  %121 = load i64, ptr %15, align 8, !tbaa !9
  %122 = icmp eq i64 %120, %121
  %123 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %122, ptr noundef @.str.590, ptr noundef %123)
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %124, i32 0, i32 7
  %126 = load i64, ptr %125, align 8, !tbaa !44
  %127 = load i64, ptr %15, align 8, !tbaa !9
  %128 = icmp eq i64 %126, %127
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %128, ptr noundef @.str.590, ptr noundef %129)
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %130

130:                                              ; preds = %154, %112
  %131 = load i64, ptr %17, align 8, !tbaa !9
  %132 = load i64, ptr %15, align 8, !tbaa !9
  %133 = sub nsw i64 %132, 1
  %134 = icmp sle i64 %131, %133
  br i1 %134, label %135, label %157

135:                                              ; preds = %130
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %150, %135
  %137 = load i64, ptr %18, align 8, !tbaa !9
  %138 = load i64, ptr %17, align 8, !tbaa !9
  %139 = icmp sle i64 %137, %138
  br i1 %139, label %140, label %153

140:                                              ; preds = %136
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %141, i32 0, i32 13
  %143 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %142, i32 0, i32 6
  %144 = load ptr, ptr %143, align 8, !tbaa !45
  %145 = load i64, ptr %17, align 8, !tbaa !9
  %146 = getelementptr inbounds ptr, ptr %144, i64 %145
  %147 = load ptr, ptr %146, align 8, !tbaa !5
  %148 = load i64, ptr %18, align 8, !tbaa !9
  %149 = getelementptr inbounds double, ptr %147, i64 %148
  store double 0.000000e+00, ptr %149, align 8, !tbaa !46
  br label %150

150:                                              ; preds = %140
  %151 = load i64, ptr %18, align 8, !tbaa !9
  %152 = add nsw i64 %151, 1
  store i64 %152, ptr %18, align 8, !tbaa !9
  br label %136, !llvm.loop !47

153:                                              ; preds = %136
  br label %154

154:                                              ; preds = %153
  %155 = load i64, ptr %17, align 8, !tbaa !9
  %156 = add nsw i64 %155, 1
  store i64 %156, ptr %17, align 8, !tbaa !9
  br label %130, !llvm.loop !49

157:                                              ; preds = %130
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %158

158:                                              ; preds = %303, %157
  %159 = load i64, ptr %17, align 8, !tbaa !9
  %160 = load i64, ptr %15, align 8, !tbaa !9
  %161 = sub nsw i64 %160, 1
  %162 = icmp sle i64 %159, %161
  br i1 %162, label %163, label %306

163:                                              ; preds = %158
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %164, i32 0, i32 3
  %166 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %165, i32 0, i32 4
  %167 = load ptr, ptr %166, align 8, !tbaa !45
  %168 = load i64, ptr %17, align 8, !tbaa !9
  %169 = getelementptr inbounds i64, ptr %167, i64 %168
  %170 = load i64, ptr %169, align 8, !tbaa !9
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %171, i32 0, i32 4
  %173 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %172, i32 0, i32 4
  %174 = load ptr, ptr %173, align 8, !tbaa !45
  %175 = load i64, ptr %17, align 8, !tbaa !9
  %176 = getelementptr inbounds i64, ptr %174, i64 %175
  %177 = load i64, ptr %176, align 8, !tbaa !9
  %178 = icmp ne i64 %170, %177
  br i1 %178, label %179, label %202

179:                                              ; preds = %163
  %180 = load ptr, ptr %10, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %180, i32 0, i32 0
  %182 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %181, i32 0, i32 4
  %183 = load ptr, ptr %182, align 8, !tbaa !45
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %184, i32 0, i32 3
  %186 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %185, i32 0, i32 4
  %187 = load ptr, ptr %186, align 8, !tbaa !45
  %188 = load i64, ptr %17, align 8, !tbaa !9
  %189 = getelementptr inbounds i64, ptr %187, i64 %188
  %190 = load i64, ptr %189, align 8, !tbaa !9
  %191 = getelementptr inbounds double, ptr %183, i64 %190
  %192 = load double, ptr %191, align 8, !tbaa !46
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %193, i32 0, i32 13
  %195 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %194, i32 0, i32 6
  %196 = load ptr, ptr %195, align 8, !tbaa !45
  %197 = load i64, ptr %17, align 8, !tbaa !9
  %198 = getelementptr inbounds ptr, ptr %196, i64 %197
  %199 = load ptr, ptr %198, align 8, !tbaa !5
  %200 = load i64, ptr %17, align 8, !tbaa !9
  %201 = getelementptr inbounds double, ptr %199, i64 %200
  store double %192, ptr %201, align 8, !tbaa !46
  br label %202

202:                                              ; preds = %179, %163
  %203 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %204 = trunc i8 %203 to i1
  br i1 %204, label %205, label %254

205:                                              ; preds = %202
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %206, i32 0, i32 4
  %208 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %207, i32 0, i32 4
  %209 = load ptr, ptr %208, align 8, !tbaa !45
  %210 = load i64, ptr %17, align 8, !tbaa !9
  %211 = getelementptr inbounds i64, ptr %209, i64 %210
  %212 = load i64, ptr %211, align 8, !tbaa !9
  store i64 %212, ptr %20, align 8, !tbaa !9
  %213 = load ptr, ptr %10, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %213, i32 0, i32 2
  %215 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %214, i32 0, i32 4
  %216 = load ptr, ptr %215, align 8, !tbaa !45
  %217 = load i64, ptr %17, align 8, !tbaa !9
  %218 = add nsw i64 %217, 1
  %219 = getelementptr inbounds i64, ptr %216, i64 %218
  %220 = load i64, ptr %219, align 8, !tbaa !9
  %221 = sub nsw i64 %220, 1
  store i64 %221, ptr %21, align 8, !tbaa !9
  %222 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %222, ptr %18, align 8, !tbaa !9
  br label %223

223:                                              ; preds = %250, %205
  %224 = load i64, ptr %18, align 8, !tbaa !9
  %225 = load i64, ptr %21, align 8, !tbaa !9
  %226 = icmp sle i64 %224, %225
  br i1 %226, label %227, label %253

227:                                              ; preds = %223
  %228 = load ptr, ptr %10, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %228, i32 0, i32 0
  %230 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %229, i32 0, i32 4
  %231 = load ptr, ptr %230, align 8, !tbaa !45
  %232 = load i64, ptr %18, align 8, !tbaa !9
  %233 = getelementptr inbounds double, ptr %231, i64 %232
  %234 = load double, ptr %233, align 8, !tbaa !46
  %235 = load ptr, ptr %8, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %235, i32 0, i32 13
  %237 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %236, i32 0, i32 6
  %238 = load ptr, ptr %237, align 8, !tbaa !45
  %239 = load ptr, ptr %10, align 8, !tbaa !5
  %240 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %239, i32 0, i32 1
  %241 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %240, i32 0, i32 4
  %242 = load ptr, ptr %241, align 8, !tbaa !45
  %243 = load i64, ptr %18, align 8, !tbaa !9
  %244 = getelementptr inbounds i64, ptr %242, i64 %243
  %245 = load i64, ptr %244, align 8, !tbaa !9
  %246 = getelementptr inbounds ptr, ptr %238, i64 %245
  %247 = load ptr, ptr %246, align 8, !tbaa !5
  %248 = load i64, ptr %17, align 8, !tbaa !9
  %249 = getelementptr inbounds double, ptr %247, i64 %248
  store double %234, ptr %249, align 8, !tbaa !46
  br label %250

250:                                              ; preds = %227
  %251 = load i64, ptr %18, align 8, !tbaa !9
  %252 = add nsw i64 %251, 1
  store i64 %252, ptr %18, align 8, !tbaa !9
  br label %223, !llvm.loop !50

253:                                              ; preds = %223
  br label %302

254:                                              ; preds = %202
  %255 = load ptr, ptr %10, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %255, i32 0, i32 2
  %257 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %256, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !45
  %259 = load i64, ptr %17, align 8, !tbaa !9
  %260 = getelementptr inbounds i64, ptr %258, i64 %259
  %261 = load i64, ptr %260, align 8, !tbaa !9
  store i64 %261, ptr %20, align 8, !tbaa !9
  %262 = load ptr, ptr %10, align 8, !tbaa !5
  %263 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %262, i32 0, i32 3
  %264 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %263, i32 0, i32 4
  %265 = load ptr, ptr %264, align 8, !tbaa !45
  %266 = load i64, ptr %17, align 8, !tbaa !9
  %267 = getelementptr inbounds i64, ptr %265, i64 %266
  %268 = load i64, ptr %267, align 8, !tbaa !9
  %269 = sub nsw i64 %268, 1
  store i64 %269, ptr %21, align 8, !tbaa !9
  %270 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %270, ptr %18, align 8, !tbaa !9
  br label %271

271:                                              ; preds = %298, %254
  %272 = load i64, ptr %18, align 8, !tbaa !9
  %273 = load i64, ptr %21, align 8, !tbaa !9
  %274 = icmp sle i64 %272, %273
  br i1 %274, label %275, label %301

275:                                              ; preds = %271
  %276 = load ptr, ptr %10, align 8, !tbaa !5
  %277 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %276, i32 0, i32 0
  %278 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %277, i32 0, i32 4
  %279 = load ptr, ptr %278, align 8, !tbaa !45
  %280 = load i64, ptr %18, align 8, !tbaa !9
  %281 = getelementptr inbounds double, ptr %279, i64 %280
  %282 = load double, ptr %281, align 8, !tbaa !46
  %283 = load ptr, ptr %8, align 8, !tbaa !5
  %284 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %283, i32 0, i32 13
  %285 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %284, i32 0, i32 6
  %286 = load ptr, ptr %285, align 8, !tbaa !45
  %287 = load i64, ptr %17, align 8, !tbaa !9
  %288 = getelementptr inbounds ptr, ptr %286, i64 %287
  %289 = load ptr, ptr %288, align 8, !tbaa !5
  %290 = load ptr, ptr %10, align 8, !tbaa !5
  %291 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %290, i32 0, i32 1
  %292 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %291, i32 0, i32 4
  %293 = load ptr, ptr %292, align 8, !tbaa !45
  %294 = load i64, ptr %18, align 8, !tbaa !9
  %295 = getelementptr inbounds i64, ptr %293, i64 %294
  %296 = load i64, ptr %295, align 8, !tbaa !9
  %297 = getelementptr inbounds double, ptr %289, i64 %296
  store double %282, ptr %297, align 8, !tbaa !46
  br label %298

298:                                              ; preds = %275
  %299 = load i64, ptr %18, align 8, !tbaa !9
  %300 = add nsw i64 %299, 1
  store i64 %300, ptr %18, align 8, !tbaa !9
  br label %271, !llvm.loop !51

301:                                              ; preds = %271
  br label %302

302:                                              ; preds = %301, %253
  br label %303

303:                                              ; preds = %302
  %304 = load i64, ptr %17, align 8, !tbaa !9
  %305 = add nsw i64 %304, 1
  store i64 %305, ptr %17, align 8, !tbaa !9
  br label %158, !llvm.loop !52

306:                                              ; preds = %158
  br label %307

307:                                              ; preds = %306, %109
  store double 0.000000e+00, ptr %23, align 8, !tbaa !46
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %308

308:                                              ; preds = %335, %307
  %309 = load i64, ptr %17, align 8, !tbaa !9
  %310 = load i64, ptr %15, align 8, !tbaa !9
  %311 = sub nsw i64 %310, 1
  %312 = icmp sle i64 %309, %311
  br i1 %312, label %313, label %338

313:                                              ; preds = %308
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %314

314:                                              ; preds = %331, %313
  %315 = load i64, ptr %18, align 8, !tbaa !9
  %316 = load i64, ptr %17, align 8, !tbaa !9
  %317 = icmp sle i64 %315, %316
  br i1 %317, label %318, label %334

318:                                              ; preds = %314
  %319 = load double, ptr %23, align 8, !tbaa !46
  %320 = load ptr, ptr %8, align 8, !tbaa !5
  %321 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %320, i32 0, i32 13
  %322 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %321, i32 0, i32 6
  %323 = load ptr, ptr %322, align 8, !tbaa !45
  %324 = load i64, ptr %17, align 8, !tbaa !9
  %325 = getelementptr inbounds ptr, ptr %323, i64 %324
  %326 = load ptr, ptr %325, align 8, !tbaa !5
  %327 = load i64, ptr %18, align 8, !tbaa !9
  %328 = getelementptr inbounds double, ptr %326, i64 %327
  %329 = load double, ptr %328, align 8, !tbaa !46
  %330 = fadd double %319, %329
  store double %330, ptr %23, align 8, !tbaa !46
  br label %331

331:                                              ; preds = %318
  %332 = load i64, ptr %18, align 8, !tbaa !9
  %333 = add nsw i64 %332, 1
  store i64 %333, ptr %18, align 8, !tbaa !9
  br label %314, !llvm.loop !53

334:                                              ; preds = %314
  br label %335

335:                                              ; preds = %334
  %336 = load i64, ptr %17, align 8, !tbaa !9
  %337 = add nsw i64 %336, 1
  store i64 %337, ptr %17, align 8, !tbaa !9
  br label %308, !llvm.loop !54

338:                                              ; preds = %308
  %339 = load double, ptr %23, align 8, !tbaa !46
  %340 = load ptr, ptr %14, align 8, !tbaa !5
  %341 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %339, ptr noundef %340)
  %342 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %341, ptr noundef @.str.591, ptr noundef %342)
  %343 = load ptr, ptr %8, align 8, !tbaa !5
  %344 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %343, i32 0, i32 13
  %345 = load i64, ptr %15, align 8, !tbaa !9
  %346 = load ptr, ptr %8, align 8, !tbaa !5
  %347 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %346, i32 0, i32 12
  %348 = load i64, ptr %16, align 8, !tbaa !9
  %349 = load ptr, ptr %8, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %349, i32 0, i32 8
  %351 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl19scaledenseqpinplaceEPNS_9ae_matrixEblPNS_9ae_vectorElPKS2_PNS_8ae_stateE(ptr noundef %344, i1 noundef zeroext false, i64 noundef %345, ptr noundef %347, i64 noundef %348, ptr noundef %350, ptr noundef %351)
  %352 = load ptr, ptr %8, align 8, !tbaa !5
  %353 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %352, i32 0, i32 1
  %354 = load i8, ptr %353, align 1, !tbaa !55, !range !40, !noundef !41
  %355 = trunc i8 %354 to i1
  br i1 %355, label %356, label %367

356:                                              ; preds = %338
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %357, i32 0, i32 13
  %359 = load i64, ptr %15, align 8, !tbaa !9
  %360 = load ptr, ptr %8, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %360, i32 0, i32 12
  %362 = load i64, ptr %16, align 8, !tbaa !9
  %363 = load ptr, ptr %14, align 8, !tbaa !5
  %364 = call noundef double @_ZN11alglib_impl23normalizedenseqpinplaceEPNS_9ae_matrixEblPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %358, i1 noundef zeroext false, i64 noundef %359, ptr noundef %361, i64 noundef %362, ptr noundef %363)
  %365 = load ptr, ptr %8, align 8, !tbaa !5
  %366 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %365, i32 0, i32 11
  store double %364, ptr %366, align 8, !tbaa !39
  br label %367

367:                                              ; preds = %356, %338
  %368 = load ptr, ptr %8, align 8, !tbaa !5
  %369 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %368, i32 0, i32 17
  store i8 0, ptr %369, align 8, !tbaa !56
  br label %370

370:                                              ; preds = %367, %55
  %371 = load ptr, ptr %8, align 8, !tbaa !5
  %372 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %371, i32 0, i32 54
  %373 = load i64, ptr %372, align 8, !tbaa !34
  %374 = icmp eq i64 %373, 1
  br i1 %374, label %375, label %979

375:                                              ; preds = %370
  %376 = load i64, ptr %15, align 8, !tbaa !9
  %377 = load i64, ptr %16, align 8, !tbaa !9
  %378 = icmp eq i64 %376, %377
  %379 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %378, ptr noundef @.str.592, ptr noundef %379)
  %380 = load ptr, ptr %8, align 8, !tbaa !5
  %381 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %380, i32 0, i32 16
  store i64 1, ptr %381, align 8, !tbaa !38
  %382 = load ptr, ptr %8, align 8, !tbaa !5
  %383 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %382, i32 0, i32 14
  %384 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %383, i32 0, i32 5
  store i64 1, ptr %384, align 8, !tbaa !57
  %385 = load i64, ptr %16, align 8, !tbaa !9
  %386 = load ptr, ptr %8, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %386, i32 0, i32 14
  %388 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %387, i32 0, i32 6
  store i64 %385, ptr %388, align 8, !tbaa !58
  %389 = load i64, ptr %16, align 8, !tbaa !9
  %390 = load ptr, ptr %8, align 8, !tbaa !5
  %391 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %390, i32 0, i32 14
  %392 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %391, i32 0, i32 7
  store i64 %389, ptr %392, align 8, !tbaa !59
  %393 = load i64, ptr %11, align 8, !tbaa !9
  %394 = icmp eq i64 %393, 0
  br i1 %394, label %395, label %639

395:                                              ; preds = %375
  store i64 0, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %396

396:                                              ; preds = %439, %395
  %397 = load i64, ptr %17, align 8, !tbaa !9
  %398 = load i64, ptr %16, align 8, !tbaa !9
  %399 = sub nsw i64 %398, 1
  %400 = icmp sle i64 %397, %399
  br i1 %400, label %401, label %442

401:                                              ; preds = %396
  %402 = load i64, ptr %24, align 8, !tbaa !9
  %403 = add nsw i64 %402, 1
  store i64 %403, ptr %24, align 8, !tbaa !9
  %404 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %405 = trunc i8 %404 to i1
  br i1 %405, label %406, label %411

406:                                              ; preds = %401
  %407 = load i64, ptr %17, align 8, !tbaa !9
  %408 = add nsw i64 %407, 1
  store i64 %408, ptr %20, align 8, !tbaa !9
  %409 = load i64, ptr %16, align 8, !tbaa !9
  %410 = sub nsw i64 %409, 1
  store i64 %410, ptr %21, align 8, !tbaa !9
  br label %414

411:                                              ; preds = %401
  store i64 0, ptr %20, align 8, !tbaa !9
  %412 = load i64, ptr %17, align 8, !tbaa !9
  %413 = sub nsw i64 %412, 1
  store i64 %413, ptr %21, align 8, !tbaa !9
  br label %414

414:                                              ; preds = %411, %406
  %415 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %415, ptr %18, align 8, !tbaa !9
  br label %416

416:                                              ; preds = %435, %414
  %417 = load i64, ptr %18, align 8, !tbaa !9
  %418 = load i64, ptr %21, align 8, !tbaa !9
  %419 = icmp sle i64 %417, %418
  br i1 %419, label %420, label %438

420:                                              ; preds = %416
  %421 = load ptr, ptr %9, align 8, !tbaa !5
  %422 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %421, i32 0, i32 6
  %423 = load ptr, ptr %422, align 8, !tbaa !45
  %424 = load i64, ptr %17, align 8, !tbaa !9
  %425 = getelementptr inbounds ptr, ptr %423, i64 %424
  %426 = load ptr, ptr %425, align 8, !tbaa !5
  %427 = load i64, ptr %18, align 8, !tbaa !9
  %428 = getelementptr inbounds double, ptr %426, i64 %427
  %429 = load double, ptr %428, align 8, !tbaa !46
  %430 = fcmp une double %429, 0.000000e+00
  br i1 %430, label %431, label %434

431:                                              ; preds = %420
  %432 = load i64, ptr %24, align 8, !tbaa !9
  %433 = add nsw i64 %432, 1
  store i64 %433, ptr %24, align 8, !tbaa !9
  br label %434

434:                                              ; preds = %431, %420
  br label %435

435:                                              ; preds = %434
  %436 = load i64, ptr %18, align 8, !tbaa !9
  %437 = add nsw i64 %436, 1
  store i64 %437, ptr %18, align 8, !tbaa !9
  br label %416, !llvm.loop !60

438:                                              ; preds = %416
  br label %439

439:                                              ; preds = %438
  %440 = load i64, ptr %17, align 8, !tbaa !9
  %441 = add nsw i64 %440, 1
  store i64 %441, ptr %17, align 8, !tbaa !9
  br label %396, !llvm.loop !61

442:                                              ; preds = %396
  %443 = load ptr, ptr %8, align 8, !tbaa !5
  %444 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %443, i32 0, i32 14
  %445 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %444, i32 0, i32 2
  %446 = load i64, ptr %16, align 8, !tbaa !9
  %447 = add nsw i64 %446, 1
  %448 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %445, i64 noundef %447, ptr noundef %448)
  %449 = load ptr, ptr %8, align 8, !tbaa !5
  %450 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %449, i32 0, i32 14
  %451 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %450, i32 0, i32 1
  %452 = load i64, ptr %24, align 8, !tbaa !9
  %453 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %451, i64 noundef %452, ptr noundef %453)
  %454 = load ptr, ptr %8, align 8, !tbaa !5
  %455 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %454, i32 0, i32 14
  %456 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %455, i32 0, i32 0
  %457 = load i64, ptr %24, align 8, !tbaa !9
  %458 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %456, i64 noundef %457, ptr noundef %458)
  %459 = load ptr, ptr %8, align 8, !tbaa !5
  %460 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %459, i32 0, i32 14
  %461 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %460, i32 0, i32 2
  %462 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %461, i32 0, i32 4
  %463 = load ptr, ptr %462, align 8, !tbaa !45
  %464 = getelementptr inbounds i64, ptr %463, i64 0
  store i64 0, ptr %464, align 8, !tbaa !9
  store i64 0, ptr %25, align 8, !tbaa !9
  store double 0.000000e+00, ptr %23, align 8, !tbaa !46
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %465

465:                                              ; preds = %624, %442
  %466 = load i64, ptr %17, align 8, !tbaa !9
  %467 = load i64, ptr %16, align 8, !tbaa !9
  %468 = sub nsw i64 %467, 1
  %469 = icmp sle i64 %466, %468
  br i1 %469, label %470, label %627

470:                                              ; preds = %465
  %471 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %472 = trunc i8 %471 to i1
  br i1 %472, label %526, label %473

473:                                              ; preds = %470
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %474

474:                                              ; preds = %522, %473
  %475 = load i64, ptr %18, align 8, !tbaa !9
  %476 = load i64, ptr %17, align 8, !tbaa !9
  %477 = sub nsw i64 %476, 1
  %478 = icmp sle i64 %475, %477
  br i1 %478, label %479, label %525

479:                                              ; preds = %474
  %480 = load ptr, ptr %9, align 8, !tbaa !5
  %481 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %480, i32 0, i32 6
  %482 = load ptr, ptr %481, align 8, !tbaa !45
  %483 = load i64, ptr %17, align 8, !tbaa !9
  %484 = getelementptr inbounds ptr, ptr %482, i64 %483
  %485 = load ptr, ptr %484, align 8, !tbaa !5
  %486 = load i64, ptr %18, align 8, !tbaa !9
  %487 = getelementptr inbounds double, ptr %485, i64 %486
  %488 = load double, ptr %487, align 8, !tbaa !46
  %489 = fcmp une double %488, 0.000000e+00
  br i1 %489, label %490, label %521

490:                                              ; preds = %479
  %491 = load ptr, ptr %9, align 8, !tbaa !5
  %492 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %491, i32 0, i32 6
  %493 = load ptr, ptr %492, align 8, !tbaa !45
  %494 = load i64, ptr %17, align 8, !tbaa !9
  %495 = getelementptr inbounds ptr, ptr %493, i64 %494
  %496 = load ptr, ptr %495, align 8, !tbaa !5
  %497 = load i64, ptr %18, align 8, !tbaa !9
  %498 = getelementptr inbounds double, ptr %496, i64 %497
  %499 = load double, ptr %498, align 8, !tbaa !46
  store double %499, ptr %22, align 8, !tbaa !46
  %500 = load i64, ptr %18, align 8, !tbaa !9
  %501 = load ptr, ptr %8, align 8, !tbaa !5
  %502 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %501, i32 0, i32 14
  %503 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %502, i32 0, i32 1
  %504 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %503, i32 0, i32 4
  %505 = load ptr, ptr %504, align 8, !tbaa !45
  %506 = load i64, ptr %25, align 8, !tbaa !9
  %507 = getelementptr inbounds i64, ptr %505, i64 %506
  store i64 %500, ptr %507, align 8, !tbaa !9
  %508 = load double, ptr %22, align 8, !tbaa !46
  %509 = load ptr, ptr %8, align 8, !tbaa !5
  %510 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %509, i32 0, i32 14
  %511 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %510, i32 0, i32 0
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %511, i32 0, i32 4
  %513 = load ptr, ptr %512, align 8, !tbaa !45
  %514 = load i64, ptr %25, align 8, !tbaa !9
  %515 = getelementptr inbounds double, ptr %513, i64 %514
  store double %508, ptr %515, align 8, !tbaa !46
  %516 = load double, ptr %23, align 8, !tbaa !46
  %517 = load double, ptr %22, align 8, !tbaa !46
  %518 = fadd double %516, %517
  store double %518, ptr %23, align 8, !tbaa !46
  %519 = load i64, ptr %25, align 8, !tbaa !9
  %520 = add nsw i64 %519, 1
  store i64 %520, ptr %25, align 8, !tbaa !9
  br label %521

521:                                              ; preds = %490, %479
  br label %522

522:                                              ; preds = %521
  %523 = load i64, ptr %18, align 8, !tbaa !9
  %524 = add nsw i64 %523, 1
  store i64 %524, ptr %18, align 8, !tbaa !9
  br label %474, !llvm.loop !62

525:                                              ; preds = %474
  br label %526

526:                                              ; preds = %525, %470
  %527 = load ptr, ptr %9, align 8, !tbaa !5
  %528 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %527, i32 0, i32 6
  %529 = load ptr, ptr %528, align 8, !tbaa !45
  %530 = load i64, ptr %17, align 8, !tbaa !9
  %531 = getelementptr inbounds ptr, ptr %529, i64 %530
  %532 = load ptr, ptr %531, align 8, !tbaa !5
  %533 = load i64, ptr %17, align 8, !tbaa !9
  %534 = getelementptr inbounds double, ptr %532, i64 %533
  %535 = load double, ptr %534, align 8, !tbaa !46
  store double %535, ptr %22, align 8, !tbaa !46
  %536 = load i64, ptr %17, align 8, !tbaa !9
  %537 = load ptr, ptr %8, align 8, !tbaa !5
  %538 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %537, i32 0, i32 14
  %539 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %538, i32 0, i32 1
  %540 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %539, i32 0, i32 4
  %541 = load ptr, ptr %540, align 8, !tbaa !45
  %542 = load i64, ptr %25, align 8, !tbaa !9
  %543 = getelementptr inbounds i64, ptr %541, i64 %542
  store i64 %536, ptr %543, align 8, !tbaa !9
  %544 = load double, ptr %22, align 8, !tbaa !46
  %545 = load ptr, ptr %8, align 8, !tbaa !5
  %546 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %545, i32 0, i32 14
  %547 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %546, i32 0, i32 0
  %548 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %547, i32 0, i32 4
  %549 = load ptr, ptr %548, align 8, !tbaa !45
  %550 = load i64, ptr %25, align 8, !tbaa !9
  %551 = getelementptr inbounds double, ptr %549, i64 %550
  store double %544, ptr %551, align 8, !tbaa !46
  %552 = load double, ptr %23, align 8, !tbaa !46
  %553 = load double, ptr %22, align 8, !tbaa !46
  %554 = fadd double %552, %553
  store double %554, ptr %23, align 8, !tbaa !46
  %555 = load i64, ptr %25, align 8, !tbaa !9
  %556 = add nsw i64 %555, 1
  store i64 %556, ptr %25, align 8, !tbaa !9
  %557 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %558 = trunc i8 %557 to i1
  br i1 %558, label %559, label %614

559:                                              ; preds = %526
  %560 = load i64, ptr %17, align 8, !tbaa !9
  %561 = add nsw i64 %560, 1
  store i64 %561, ptr %18, align 8, !tbaa !9
  br label %562

562:                                              ; preds = %610, %559
  %563 = load i64, ptr %18, align 8, !tbaa !9
  %564 = load i64, ptr %16, align 8, !tbaa !9
  %565 = sub nsw i64 %564, 1
  %566 = icmp sle i64 %563, %565
  br i1 %566, label %567, label %613

567:                                              ; preds = %562
  %568 = load ptr, ptr %9, align 8, !tbaa !5
  %569 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %568, i32 0, i32 6
  %570 = load ptr, ptr %569, align 8, !tbaa !45
  %571 = load i64, ptr %17, align 8, !tbaa !9
  %572 = getelementptr inbounds ptr, ptr %570, i64 %571
  %573 = load ptr, ptr %572, align 8, !tbaa !5
  %574 = load i64, ptr %18, align 8, !tbaa !9
  %575 = getelementptr inbounds double, ptr %573, i64 %574
  %576 = load double, ptr %575, align 8, !tbaa !46
  %577 = fcmp une double %576, 0.000000e+00
  br i1 %577, label %578, label %609

578:                                              ; preds = %567
  %579 = load ptr, ptr %9, align 8, !tbaa !5
  %580 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %579, i32 0, i32 6
  %581 = load ptr, ptr %580, align 8, !tbaa !45
  %582 = load i64, ptr %17, align 8, !tbaa !9
  %583 = getelementptr inbounds ptr, ptr %581, i64 %582
  %584 = load ptr, ptr %583, align 8, !tbaa !5
  %585 = load i64, ptr %18, align 8, !tbaa !9
  %586 = getelementptr inbounds double, ptr %584, i64 %585
  %587 = load double, ptr %586, align 8, !tbaa !46
  store double %587, ptr %22, align 8, !tbaa !46
  %588 = load i64, ptr %18, align 8, !tbaa !9
  %589 = load ptr, ptr %8, align 8, !tbaa !5
  %590 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %589, i32 0, i32 14
  %591 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %590, i32 0, i32 1
  %592 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %591, i32 0, i32 4
  %593 = load ptr, ptr %592, align 8, !tbaa !45
  %594 = load i64, ptr %25, align 8, !tbaa !9
  %595 = getelementptr inbounds i64, ptr %593, i64 %594
  store i64 %588, ptr %595, align 8, !tbaa !9
  %596 = load double, ptr %22, align 8, !tbaa !46
  %597 = load ptr, ptr %8, align 8, !tbaa !5
  %598 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %597, i32 0, i32 14
  %599 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %598, i32 0, i32 0
  %600 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %599, i32 0, i32 4
  %601 = load ptr, ptr %600, align 8, !tbaa !45
  %602 = load i64, ptr %25, align 8, !tbaa !9
  %603 = getelementptr inbounds double, ptr %601, i64 %602
  store double %596, ptr %603, align 8, !tbaa !46
  %604 = load double, ptr %23, align 8, !tbaa !46
  %605 = load double, ptr %22, align 8, !tbaa !46
  %606 = fadd double %604, %605
  store double %606, ptr %23, align 8, !tbaa !46
  %607 = load i64, ptr %25, align 8, !tbaa !9
  %608 = add nsw i64 %607, 1
  store i64 %608, ptr %25, align 8, !tbaa !9
  br label %609

609:                                              ; preds = %578, %567
  br label %610

610:                                              ; preds = %609
  %611 = load i64, ptr %18, align 8, !tbaa !9
  %612 = add nsw i64 %611, 1
  store i64 %612, ptr %18, align 8, !tbaa !9
  br label %562, !llvm.loop !63

613:                                              ; preds = %562
  br label %614

614:                                              ; preds = %613, %526
  %615 = load i64, ptr %25, align 8, !tbaa !9
  %616 = load ptr, ptr %8, align 8, !tbaa !5
  %617 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %616, i32 0, i32 14
  %618 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %617, i32 0, i32 2
  %619 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %618, i32 0, i32 4
  %620 = load ptr, ptr %619, align 8, !tbaa !45
  %621 = load i64, ptr %17, align 8, !tbaa !9
  %622 = add nsw i64 %621, 1
  %623 = getelementptr inbounds i64, ptr %620, i64 %622
  store i64 %615, ptr %623, align 8, !tbaa !9
  br label %624

624:                                              ; preds = %614
  %625 = load i64, ptr %17, align 8, !tbaa !9
  %626 = add nsw i64 %625, 1
  store i64 %626, ptr %17, align 8, !tbaa !9
  br label %465, !llvm.loop !64

627:                                              ; preds = %465
  %628 = load double, ptr %23, align 8, !tbaa !46
  %629 = load ptr, ptr %14, align 8, !tbaa !5
  %630 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %628, ptr noundef %629)
  %631 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %630, ptr noundef @.str.591, ptr noundef %631)
  %632 = load i64, ptr %25, align 8, !tbaa !9
  %633 = load i64, ptr %24, align 8, !tbaa !9
  %634 = icmp eq i64 %632, %633
  %635 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %634, ptr noundef @.str.593, ptr noundef %635)
  %636 = load ptr, ptr %8, align 8, !tbaa !5
  %637 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %636, i32 0, i32 14
  %638 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl22sparsecreatecrsinplaceEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %637, ptr noundef %638)
  br label %639

639:                                              ; preds = %627, %375
  %640 = load i64, ptr %11, align 8, !tbaa !9
  %641 = icmp eq i64 %640, 1
  br i1 %641, label %642, label %920

642:                                              ; preds = %639
  %643 = load ptr, ptr %10, align 8, !tbaa !5
  %644 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %643, i32 0, i32 5
  %645 = load i64, ptr %644, align 8, !tbaa !42
  %646 = icmp eq i64 %645, 1
  %647 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %646, ptr noundef @.str.589, ptr noundef %647)
  %648 = load ptr, ptr %10, align 8, !tbaa !5
  %649 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %648, i32 0, i32 6
  %650 = load i64, ptr %649, align 8, !tbaa !43
  %651 = load i64, ptr %16, align 8, !tbaa !9
  %652 = icmp eq i64 %650, %651
  %653 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %652, ptr noundef @.str.590, ptr noundef %653)
  %654 = load ptr, ptr %10, align 8, !tbaa !5
  %655 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %654, i32 0, i32 7
  %656 = load i64, ptr %655, align 8, !tbaa !44
  %657 = load i64, ptr %16, align 8, !tbaa !9
  %658 = icmp eq i64 %656, %657
  %659 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %658, ptr noundef @.str.590, ptr noundef %659)
  %660 = load ptr, ptr %8, align 8, !tbaa !5
  %661 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %660, i32 0, i32 14
  %662 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %661, i32 0, i32 2
  %663 = load i64, ptr %16, align 8, !tbaa !9
  %664 = add nsw i64 %663, 1
  %665 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %662, i64 noundef %664, ptr noundef %665)
  %666 = load ptr, ptr %8, align 8, !tbaa !5
  %667 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %666, i32 0, i32 14
  %668 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %667, i32 0, i32 1
  %669 = load ptr, ptr %10, align 8, !tbaa !5
  %670 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %669, i32 0, i32 2
  %671 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %670, i32 0, i32 4
  %672 = load ptr, ptr %671, align 8, !tbaa !45
  %673 = load i64, ptr %16, align 8, !tbaa !9
  %674 = getelementptr inbounds i64, ptr %672, i64 %673
  %675 = load i64, ptr %674, align 8, !tbaa !9
  %676 = load i64, ptr %16, align 8, !tbaa !9
  %677 = add nsw i64 %675, %676
  %678 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %668, i64 noundef %677, ptr noundef %678)
  %679 = load ptr, ptr %8, align 8, !tbaa !5
  %680 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %679, i32 0, i32 14
  %681 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %680, i32 0, i32 0
  %682 = load ptr, ptr %10, align 8, !tbaa !5
  %683 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %682, i32 0, i32 2
  %684 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %683, i32 0, i32 4
  %685 = load ptr, ptr %684, align 8, !tbaa !45
  %686 = load i64, ptr %16, align 8, !tbaa !9
  %687 = getelementptr inbounds i64, ptr %685, i64 %686
  %688 = load i64, ptr %687, align 8, !tbaa !9
  %689 = load i64, ptr %16, align 8, !tbaa !9
  %690 = add nsw i64 %688, %689
  %691 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %681, i64 noundef %690, ptr noundef %691)
  %692 = load ptr, ptr %8, align 8, !tbaa !5
  %693 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %692, i32 0, i32 14
  %694 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %693, i32 0, i32 2
  %695 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %694, i32 0, i32 4
  %696 = load ptr, ptr %695, align 8, !tbaa !45
  %697 = getelementptr inbounds i64, ptr %696, i64 0
  store i64 0, ptr %697, align 8, !tbaa !9
  store i64 0, ptr %25, align 8, !tbaa !9
  store double 0.000000e+00, ptr %23, align 8, !tbaa !46
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %698

698:                                              ; preds = %891, %642
  %699 = load i64, ptr %17, align 8, !tbaa !9
  %700 = load i64, ptr %16, align 8, !tbaa !9
  %701 = sub nsw i64 %700, 1
  %702 = icmp sle i64 %699, %701
  br i1 %702, label %703, label %894

703:                                              ; preds = %698
  %704 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %705 = trunc i8 %704 to i1
  br i1 %705, label %766, label %706

706:                                              ; preds = %703
  %707 = load ptr, ptr %10, align 8, !tbaa !5
  %708 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %707, i32 0, i32 2
  %709 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %708, i32 0, i32 4
  %710 = load ptr, ptr %709, align 8, !tbaa !45
  %711 = load i64, ptr %17, align 8, !tbaa !9
  %712 = getelementptr inbounds i64, ptr %710, i64 %711
  %713 = load i64, ptr %712, align 8, !tbaa !9
  store i64 %713, ptr %20, align 8, !tbaa !9
  %714 = load ptr, ptr %10, align 8, !tbaa !5
  %715 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %714, i32 0, i32 3
  %716 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %715, i32 0, i32 4
  %717 = load ptr, ptr %716, align 8, !tbaa !45
  %718 = load i64, ptr %17, align 8, !tbaa !9
  %719 = getelementptr inbounds i64, ptr %717, i64 %718
  %720 = load i64, ptr %719, align 8, !tbaa !9
  %721 = sub nsw i64 %720, 1
  store i64 %721, ptr %21, align 8, !tbaa !9
  %722 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %722, ptr %19, align 8, !tbaa !9
  br label %723

723:                                              ; preds = %762, %706
  %724 = load i64, ptr %19, align 8, !tbaa !9
  %725 = load i64, ptr %21, align 8, !tbaa !9
  %726 = icmp sle i64 %724, %725
  br i1 %726, label %727, label %765

727:                                              ; preds = %723
  %728 = load ptr, ptr %10, align 8, !tbaa !5
  %729 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %728, i32 0, i32 0
  %730 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %729, i32 0, i32 4
  %731 = load ptr, ptr %730, align 8, !tbaa !45
  %732 = load i64, ptr %19, align 8, !tbaa !9
  %733 = getelementptr inbounds double, ptr %731, i64 %732
  %734 = load double, ptr %733, align 8, !tbaa !46
  store double %734, ptr %22, align 8, !tbaa !46
  %735 = load ptr, ptr %10, align 8, !tbaa !5
  %736 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %735, i32 0, i32 1
  %737 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %736, i32 0, i32 4
  %738 = load ptr, ptr %737, align 8, !tbaa !45
  %739 = load i64, ptr %19, align 8, !tbaa !9
  %740 = getelementptr inbounds i64, ptr %738, i64 %739
  %741 = load i64, ptr %740, align 8, !tbaa !9
  %742 = load ptr, ptr %8, align 8, !tbaa !5
  %743 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %742, i32 0, i32 14
  %744 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %743, i32 0, i32 1
  %745 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %744, i32 0, i32 4
  %746 = load ptr, ptr %745, align 8, !tbaa !45
  %747 = load i64, ptr %25, align 8, !tbaa !9
  %748 = getelementptr inbounds i64, ptr %746, i64 %747
  store i64 %741, ptr %748, align 8, !tbaa !9
  %749 = load double, ptr %22, align 8, !tbaa !46
  %750 = load ptr, ptr %8, align 8, !tbaa !5
  %751 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %750, i32 0, i32 14
  %752 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %751, i32 0, i32 0
  %753 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %752, i32 0, i32 4
  %754 = load ptr, ptr %753, align 8, !tbaa !45
  %755 = load i64, ptr %25, align 8, !tbaa !9
  %756 = getelementptr inbounds double, ptr %754, i64 %755
  store double %749, ptr %756, align 8, !tbaa !46
  %757 = load double, ptr %23, align 8, !tbaa !46
  %758 = load double, ptr %22, align 8, !tbaa !46
  %759 = fadd double %757, %758
  store double %759, ptr %23, align 8, !tbaa !46
  %760 = load i64, ptr %25, align 8, !tbaa !9
  %761 = add nsw i64 %760, 1
  store i64 %761, ptr %25, align 8, !tbaa !9
  br label %762

762:                                              ; preds = %727
  %763 = load i64, ptr %19, align 8, !tbaa !9
  %764 = add nsw i64 %763, 1
  store i64 %764, ptr %19, align 8, !tbaa !9
  br label %723, !llvm.loop !65

765:                                              ; preds = %723
  br label %766

766:                                              ; preds = %765, %703
  store double 0.000000e+00, ptr %22, align 8, !tbaa !46
  %767 = load ptr, ptr %10, align 8, !tbaa !5
  %768 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %767, i32 0, i32 4
  %769 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %768, i32 0, i32 4
  %770 = load ptr, ptr %769, align 8, !tbaa !45
  %771 = load i64, ptr %17, align 8, !tbaa !9
  %772 = getelementptr inbounds i64, ptr %770, i64 %771
  %773 = load i64, ptr %772, align 8, !tbaa !9
  %774 = load ptr, ptr %10, align 8, !tbaa !5
  %775 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %774, i32 0, i32 3
  %776 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %775, i32 0, i32 4
  %777 = load ptr, ptr %776, align 8, !tbaa !45
  %778 = load i64, ptr %17, align 8, !tbaa !9
  %779 = getelementptr inbounds i64, ptr %777, i64 %778
  %780 = load i64, ptr %779, align 8, !tbaa !9
  %781 = icmp ne i64 %773, %780
  br i1 %781, label %782, label %796

782:                                              ; preds = %766
  %783 = load ptr, ptr %10, align 8, !tbaa !5
  %784 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %783, i32 0, i32 0
  %785 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %784, i32 0, i32 4
  %786 = load ptr, ptr %785, align 8, !tbaa !45
  %787 = load ptr, ptr %10, align 8, !tbaa !5
  %788 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %787, i32 0, i32 3
  %789 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %788, i32 0, i32 4
  %790 = load ptr, ptr %789, align 8, !tbaa !45
  %791 = load i64, ptr %17, align 8, !tbaa !9
  %792 = getelementptr inbounds i64, ptr %790, i64 %791
  %793 = load i64, ptr %792, align 8, !tbaa !9
  %794 = getelementptr inbounds double, ptr %786, i64 %793
  %795 = load double, ptr %794, align 8, !tbaa !46
  store double %795, ptr %22, align 8, !tbaa !46
  br label %796

796:                                              ; preds = %782, %766
  %797 = load i64, ptr %17, align 8, !tbaa !9
  %798 = load ptr, ptr %8, align 8, !tbaa !5
  %799 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %798, i32 0, i32 14
  %800 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %799, i32 0, i32 1
  %801 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %800, i32 0, i32 4
  %802 = load ptr, ptr %801, align 8, !tbaa !45
  %803 = load i64, ptr %25, align 8, !tbaa !9
  %804 = getelementptr inbounds i64, ptr %802, i64 %803
  store i64 %797, ptr %804, align 8, !tbaa !9
  %805 = load double, ptr %22, align 8, !tbaa !46
  %806 = load ptr, ptr %8, align 8, !tbaa !5
  %807 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %806, i32 0, i32 14
  %808 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %807, i32 0, i32 0
  %809 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %808, i32 0, i32 4
  %810 = load ptr, ptr %809, align 8, !tbaa !45
  %811 = load i64, ptr %25, align 8, !tbaa !9
  %812 = getelementptr inbounds double, ptr %810, i64 %811
  store double %805, ptr %812, align 8, !tbaa !46
  %813 = load double, ptr %23, align 8, !tbaa !46
  %814 = load double, ptr %22, align 8, !tbaa !46
  %815 = fadd double %813, %814
  store double %815, ptr %23, align 8, !tbaa !46
  %816 = load i64, ptr %25, align 8, !tbaa !9
  %817 = add nsw i64 %816, 1
  store i64 %817, ptr %25, align 8, !tbaa !9
  %818 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %819 = trunc i8 %818 to i1
  br i1 %819, label %820, label %881

820:                                              ; preds = %796
  %821 = load ptr, ptr %10, align 8, !tbaa !5
  %822 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %821, i32 0, i32 4
  %823 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %822, i32 0, i32 4
  %824 = load ptr, ptr %823, align 8, !tbaa !45
  %825 = load i64, ptr %17, align 8, !tbaa !9
  %826 = getelementptr inbounds i64, ptr %824, i64 %825
  %827 = load i64, ptr %826, align 8, !tbaa !9
  store i64 %827, ptr %20, align 8, !tbaa !9
  %828 = load ptr, ptr %10, align 8, !tbaa !5
  %829 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %828, i32 0, i32 2
  %830 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %829, i32 0, i32 4
  %831 = load ptr, ptr %830, align 8, !tbaa !45
  %832 = load i64, ptr %17, align 8, !tbaa !9
  %833 = add nsw i64 %832, 1
  %834 = getelementptr inbounds i64, ptr %831, i64 %833
  %835 = load i64, ptr %834, align 8, !tbaa !9
  %836 = sub nsw i64 %835, 1
  store i64 %836, ptr %21, align 8, !tbaa !9
  %837 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %837, ptr %19, align 8, !tbaa !9
  br label %838

838:                                              ; preds = %877, %820
  %839 = load i64, ptr %19, align 8, !tbaa !9
  %840 = load i64, ptr %21, align 8, !tbaa !9
  %841 = icmp sle i64 %839, %840
  br i1 %841, label %842, label %880

842:                                              ; preds = %838
  %843 = load ptr, ptr %10, align 8, !tbaa !5
  %844 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %843, i32 0, i32 0
  %845 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %844, i32 0, i32 4
  %846 = load ptr, ptr %845, align 8, !tbaa !45
  %847 = load i64, ptr %19, align 8, !tbaa !9
  %848 = getelementptr inbounds double, ptr %846, i64 %847
  %849 = load double, ptr %848, align 8, !tbaa !46
  store double %849, ptr %22, align 8, !tbaa !46
  %850 = load ptr, ptr %10, align 8, !tbaa !5
  %851 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %850, i32 0, i32 1
  %852 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %851, i32 0, i32 4
  %853 = load ptr, ptr %852, align 8, !tbaa !45
  %854 = load i64, ptr %19, align 8, !tbaa !9
  %855 = getelementptr inbounds i64, ptr %853, i64 %854
  %856 = load i64, ptr %855, align 8, !tbaa !9
  %857 = load ptr, ptr %8, align 8, !tbaa !5
  %858 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %857, i32 0, i32 14
  %859 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %858, i32 0, i32 1
  %860 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %859, i32 0, i32 4
  %861 = load ptr, ptr %860, align 8, !tbaa !45
  %862 = load i64, ptr %25, align 8, !tbaa !9
  %863 = getelementptr inbounds i64, ptr %861, i64 %862
  store i64 %856, ptr %863, align 8, !tbaa !9
  %864 = load double, ptr %22, align 8, !tbaa !46
  %865 = load ptr, ptr %8, align 8, !tbaa !5
  %866 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %865, i32 0, i32 14
  %867 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %866, i32 0, i32 0
  %868 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %867, i32 0, i32 4
  %869 = load ptr, ptr %868, align 8, !tbaa !45
  %870 = load i64, ptr %25, align 8, !tbaa !9
  %871 = getelementptr inbounds double, ptr %869, i64 %870
  store double %864, ptr %871, align 8, !tbaa !46
  %872 = load double, ptr %23, align 8, !tbaa !46
  %873 = load double, ptr %22, align 8, !tbaa !46
  %874 = fadd double %872, %873
  store double %874, ptr %23, align 8, !tbaa !46
  %875 = load i64, ptr %25, align 8, !tbaa !9
  %876 = add nsw i64 %875, 1
  store i64 %876, ptr %25, align 8, !tbaa !9
  br label %877

877:                                              ; preds = %842
  %878 = load i64, ptr %19, align 8, !tbaa !9
  %879 = add nsw i64 %878, 1
  store i64 %879, ptr %19, align 8, !tbaa !9
  br label %838, !llvm.loop !66

880:                                              ; preds = %838
  br label %881

881:                                              ; preds = %880, %796
  %882 = load i64, ptr %25, align 8, !tbaa !9
  %883 = load ptr, ptr %8, align 8, !tbaa !5
  %884 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %883, i32 0, i32 14
  %885 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %884, i32 0, i32 2
  %886 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %885, i32 0, i32 4
  %887 = load ptr, ptr %886, align 8, !tbaa !45
  %888 = load i64, ptr %17, align 8, !tbaa !9
  %889 = add nsw i64 %888, 1
  %890 = getelementptr inbounds i64, ptr %887, i64 %889
  store i64 %882, ptr %890, align 8, !tbaa !9
  br label %891

891:                                              ; preds = %881
  %892 = load i64, ptr %17, align 8, !tbaa !9
  %893 = add nsw i64 %892, 1
  store i64 %893, ptr %17, align 8, !tbaa !9
  br label %698, !llvm.loop !67

894:                                              ; preds = %698
  %895 = load double, ptr %23, align 8, !tbaa !46
  %896 = load ptr, ptr %14, align 8, !tbaa !5
  %897 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %895, ptr noundef %896)
  %898 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %897, ptr noundef @.str.594, ptr noundef %898)
  %899 = load i64, ptr %25, align 8, !tbaa !9
  %900 = load ptr, ptr %8, align 8, !tbaa !5
  %901 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %900, i32 0, i32 14
  %902 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %901, i32 0, i32 0
  %903 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %902, i32 0, i32 0
  %904 = load i64, ptr %903, align 8, !tbaa !68
  %905 = icmp sle i64 %899, %904
  br i1 %905, label %906, label %914

906:                                              ; preds = %894
  %907 = load i64, ptr %25, align 8, !tbaa !9
  %908 = load ptr, ptr %8, align 8, !tbaa !5
  %909 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %908, i32 0, i32 14
  %910 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %909, i32 0, i32 1
  %911 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %910, i32 0, i32 0
  %912 = load i64, ptr %911, align 8, !tbaa !69
  %913 = icmp sle i64 %907, %912
  br label %914

914:                                              ; preds = %906, %894
  %915 = phi i1 [ false, %894 ], [ %913, %906 ]
  %916 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %915, ptr noundef @.str.593, ptr noundef %916)
  %917 = load ptr, ptr %8, align 8, !tbaa !5
  %918 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %917, i32 0, i32 14
  %919 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl22sparsecreatecrsinplaceEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %918, ptr noundef %919)
  br label %920

920:                                              ; preds = %914, %639
  %921 = load i8, ptr %12, align 1, !tbaa !11, !range !40, !noundef !41
  %922 = trunc i8 %921 to i1
  br i1 %922, label %923, label %934

923:                                              ; preds = %920
  %924 = load ptr, ptr %8, align 8, !tbaa !5
  %925 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %924, i32 0, i32 14
  %926 = load ptr, ptr %8, align 8, !tbaa !5
  %927 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %926, i32 0, i32 97
  %928 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl25sparsecopytransposecrsbufEPKNS_12sparsematrixEPS0_PNS_8ae_stateE(ptr noundef %925, ptr noundef %927, ptr noundef %928)
  %929 = load ptr, ptr %8, align 8, !tbaa !5
  %930 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %929, i32 0, i32 97
  %931 = load ptr, ptr %8, align 8, !tbaa !5
  %932 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %931, i32 0, i32 14
  %933 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13sparsecopybufEPKNS_12sparsematrixEPS0_PNS_8ae_stateE(ptr noundef %930, ptr noundef %932, ptr noundef %933)
  br label %934

934:                                              ; preds = %923, %920
  %935 = load ptr, ptr %8, align 8, !tbaa !5
  %936 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %935, i32 0, i32 8
  %937 = load i64, ptr %16, align 8, !tbaa !9
  %938 = load ptr, ptr %8, align 8, !tbaa !5
  %939 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %938, i32 0, i32 14
  %940 = load ptr, ptr %8, align 8, !tbaa !5
  %941 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %940, i32 0, i32 94
  %942 = load ptr, ptr %8, align 8, !tbaa !5
  %943 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %942, i32 0, i32 89
  %944 = load ptr, ptr %8, align 8, !tbaa !5
  %945 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %944, i32 0, i32 12
  %946 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20scalesparseqpinplaceEPKNS_9ae_vectorElPNS_12sparsematrixEPNS_9ae_matrixEPS0_lS7_PNS_8ae_stateE(ptr noundef %936, i64 noundef %937, ptr noundef %939, ptr noundef %941, ptr noundef %943, i64 noundef 0, ptr noundef %945, ptr noundef %946)
  %947 = load ptr, ptr %8, align 8, !tbaa !5
  %948 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %947, i32 0, i32 1
  %949 = load i8, ptr %948, align 1, !tbaa !55, !range !40, !noundef !41
  %950 = trunc i8 %949 to i1
  br i1 %950, label %951, label %965

951:                                              ; preds = %934
  %952 = load ptr, ptr %8, align 8, !tbaa !5
  %953 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %952, i32 0, i32 14
  %954 = load ptr, ptr %8, align 8, !tbaa !5
  %955 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %954, i32 0, i32 94
  %956 = load ptr, ptr %8, align 8, !tbaa !5
  %957 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %956, i32 0, i32 89
  %958 = load ptr, ptr %8, align 8, !tbaa !5
  %959 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %958, i32 0, i32 12
  %960 = load i64, ptr %16, align 8, !tbaa !9
  %961 = load ptr, ptr %14, align 8, !tbaa !5
  %962 = call noundef double @_ZN11alglib_impl24normalizesparseqpinplaceEPNS_12sparsematrixEbPNS_9ae_matrixEPNS_9ae_vectorElS5_lPNS_8ae_stateE(ptr noundef %953, i1 noundef zeroext false, ptr noundef %955, ptr noundef %957, i64 noundef 0, ptr noundef %959, i64 noundef %960, ptr noundef %961)
  %963 = load ptr, ptr %8, align 8, !tbaa !5
  %964 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %963, i32 0, i32 11
  store double %962, ptr %964, align 8, !tbaa !39
  br label %965

965:                                              ; preds = %951, %934
  %966 = load ptr, ptr %8, align 8, !tbaa !5
  %967 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %966, i32 0, i32 14
  %968 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %967, i32 0, i32 2
  %969 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %968, i32 0, i32 4
  %970 = load ptr, ptr %969, align 8, !tbaa !45
  %971 = load i64, ptr %16, align 8, !tbaa !9
  %972 = getelementptr inbounds i64, ptr %970, i64 %971
  %973 = load i64, ptr %972, align 8, !tbaa !9
  %974 = load i64, ptr %16, align 8, !tbaa !9
  %975 = icmp eq i64 %973, %974
  %976 = load ptr, ptr %8, align 8, !tbaa !5
  %977 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %976, i32 0, i32 17
  %978 = zext i1 %975 to i8
  store i8 %978, ptr %977, align 8, !tbaa !56
  br label %979

979:                                              ; preds = %965, %370
  %980 = load ptr, ptr %8, align 8, !tbaa !5
  %981 = getelementptr inbounds %"struct.alglib_impl::vipmstate", ptr %980, i32 0, i32 16
  %982 = load i64, ptr %981, align 8, !tbaa !38
  %983 = icmp sge i64 %982, 0
  %984 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %983, ptr noundef @.str.593, ptr noundef %984)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"bool", !7, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"_ZTSN11alglib_impl9vipmstateE", !12, i64 0, !12, i64 1, !10, i64 8, !10, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !12, i64 48, !16, i64 56, !16, i64 120, !16, i64 184, !15, i64 248, !16, i64 256, !18, i64 320, !19, i64 400, !16, i64 768, !10, i64 832, !12, i64 840, !16, i64 848, !16, i64 912, !16, i64 976, !16, i64 1040, !16, i64 1104, !16, i64 1168, !18, i64 1232, !18, i64 1312, !19, i64 1392, !19, i64 1760, !19, i64 2128, !16, i64 2496, !16, i64 2560, !16, i64 2624, !16, i64 2688, !16, i64 2752, !10, i64 2816, !10, i64 2824, !20, i64 2832, !20, i64 3488, !20, i64 4144, !20, i64 4800, !20, i64 5456, !16, i64 6112, !16, i64 6176, !16, i64 6240, !16, i64 6304, !16, i64 6368, !10, i64 6432, !10, i64 6440, !10, i64 6448, !10, i64 6456, !10, i64 6464, !10, i64 6472, !12, i64 6480, !12, i64 6481, !10, i64 6488, !12, i64 6496, !12, i64 6497, !16, i64 6504, !16, i64 6568, !16, i64 6632, !16, i64 6696, !16, i64 6760, !16, i64 6824, !16, i64 6888, !16, i64 6952, !16, i64 7016, !16, i64 7080, !16, i64 7144, !16, i64 7208, !16, i64 7272, !16, i64 7336, !16, i64 7400, !18, i64 7464, !16, i64 7544, !16, i64 7608, !16, i64 7672, !16, i64 7736, !16, i64 7800, !21, i64 7864, !32, i64 23944, !16, i64 24584, !16, i64 24648, !16, i64 24712, !16, i64 24776, !16, i64 24840, !16, i64 24904, !16, i64 24968, !16, i64 25032, !20, i64 25096, !16, i64 25752, !16, i64 25816, !16, i64 25880, !16, i64 25944, !16, i64 26008, !18, i64 26072, !16, i64 26152, !16, i64 26216, !19, i64 26280}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !12, i64 16, !17, i64 24, !7, i64 56}
!17 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !17, i64 40, !7, i64 72}
!19 = !{!"_ZTSN11alglib_impl12sparsematrixE", !16, i64 0, !16, i64 64, !16, i64 128, !16, i64 192, !16, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!20 = !{!"_ZTSN11alglib_impl8vipmvarsE", !10, i64 0, !10, i64 8, !16, i64 16, !16, i64 80, !16, i64 144, !16, i64 208, !16, i64 272, !16, i64 336, !16, i64 400, !16, i64 464, !16, i64 528, !16, i64 592}
!21 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !19, i64 0, !16, i64 368, !16, i64 432, !16, i64 496, !16, i64 560, !10, i64 624, !22, i64 632, !16, i64 15696, !16, i64 15760, !16, i64 15824, !16, i64 15888, !16, i64 15952, !16, i64 16016}
!22 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !10, i64 0, !10, i64 8, !10, i64 16, !12, i64 24, !10, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !16, i64 72, !12, i64 136, !12, i64 137, !12, i64 138, !12, i64 139, !12, i64 140, !16, i64 144, !10, i64 208, !16, i64 216, !16, i64 280, !16, i64 344, !16, i64 408, !16, i64 472, !16, i64 536, !12, i64 600, !16, i64 608, !16, i64 672, !16, i64 736, !16, i64 800, !16, i64 864, !16, i64 928, !12, i64 992, !12, i64 993, !23, i64 1000, !16, i64 1512, !16, i64 1576, !16, i64 1640, !16, i64 1704, !16, i64 1768, !16, i64 1832, !24, i64 1896, !24, i64 2040, !24, i64 2184, !24, i64 2328, !24, i64 2472, !24, i64 2616, !16, i64 2760, !16, i64 2824, !16, i64 2888, !16, i64 2952, !16, i64 3016, !26, i64 3080, !31, i64 7464, !16, i64 13816, !16, i64 13880, !16, i64 13944, !16, i64 14008, !16, i64 14072, !16, i64 14136, !19, i64 14200, !19, i64 14568, !16, i64 14936, !16, i64 15000}
!23 = !{!"_ZTSN11alglib_impl9spcholadjE", !16, i64 0, !16, i64 64, !16, i64 128, !16, i64 192, !16, i64 256, !16, i64 320, !16, i64 384, !16, i64 448}
!24 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !17, i64 32, !25, i64 64, !17, i64 112}
!25 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !17, i64 8, !12, i64 40}
!26 = !{!"_ZTSN11alglib_impl9amdbufferE", !10, i64 0, !12, i64 8, !12, i64 9, !16, i64 16, !16, i64 80, !16, i64 144, !27, i64 208, !27, i64 568, !27, i64 928, !28, i64 1288, !29, i64 1496, !30, i64 1968, !16, i64 2120, !16, i64 2184, !16, i64 2248, !30, i64 2312, !30, i64 2464, !30, i64 2616, !30, i64 2768, !30, i64 2920, !30, i64 3072, !16, i64 3224, !10, i64 3288, !30, i64 3296, !30, i64 3448, !27, i64 3600, !30, i64 3960, !16, i64 4112, !16, i64 4176, !16, i64 4240, !18, i64 4304}
!27 = !{!"_ZTSN11alglib_impl8amdknsetE", !10, i64 0, !10, i64 8, !16, i64 16, !16, i64 80, !16, i64 144, !16, i64 208, !16, i64 272, !10, i64 336, !10, i64 344, !10, i64 352}
!28 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !10, i64 0, !16, i64 8, !16, i64 72, !16, i64 136, !10, i64 200}
!29 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !10, i64 0, !12, i64 8, !10, i64 16, !16, i64 24, !16, i64 88, !16, i64 152, !16, i64 216, !16, i64 280, !16, i64 344, !16, i64 408}
!30 = !{!"_ZTSN11alglib_impl5nisetE", !10, i64 0, !10, i64 8, !16, i64 16, !16, i64 80, !10, i64 144}
!31 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !16, i64 0, !16, i64 64, !26, i64 128, !19, i64 4512, !19, i64 4880, !19, i64 5248, !19, i64 5616, !19, i64 5984}
!32 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !16, i64 0, !16, i64 64, !16, i64 128, !16, i64 192, !16, i64 256, !16, i64 320, !16, i64 384, !16, i64 448, !16, i64 512, !16, i64 576}
!33 = !{!14, !10, i64 8}
!34 = !{!14, !10, i64 6488}
!35 = !{!14, !12, i64 48}
!36 = !{!14, !12, i64 6497}
!37 = !{!14, !12, i64 6496}
!38 = !{!14, !10, i64 832}
!39 = !{!14, !15, i64 248}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!19, !10, i64 320}
!43 = !{!19, !10, i64 328}
!44 = !{!19, !10, i64 336}
!45 = !{!7, !7, i64 0}
!46 = !{!15, !15, i64 0}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = distinct !{!49, !48}
!50 = distinct !{!50, !48}
!51 = distinct !{!51, !48}
!52 = distinct !{!52, !48}
!53 = distinct !{!53, !48}
!54 = distinct !{!54, !48}
!55 = !{!14, !12, i64 1}
!56 = !{!14, !12, i64 840}
!57 = !{!14, !10, i64 720}
!58 = !{!14, !10, i64 728}
!59 = !{!14, !10, i64 736}
!60 = distinct !{!60, !48}
!61 = distinct !{!61, !48}
!62 = distinct !{!62, !48}
!63 = distinct !{!63, !48}
!64 = distinct !{!64, !48}
!65 = distinct !{!65, !48}
!66 = distinct !{!66, !48}
!67 = distinct !{!67, !48}
!68 = !{!14, !10, i64 400}
!69 = !{!14, !10, i64 464}


; 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"

@.str.586 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.587 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.588 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.589 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.590 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.591 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.592 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.593 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.594 = external hidden unnamed_addr constant [65 x i8], align 1

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

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

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

declare void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl11rmatrixcopyEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl16rmatrixtransposeEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

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

declare void @_ZN11alglib_impl22sparsecreatecrsinplaceEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22vipmsetquadraticlinearEPNS_9vipmstateEPKNS_9ae_matrixEPKNS_12sparsematrixElbPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i1 noundef zeroext %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #2 {
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = load i64, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i64, ptr %10, align 8, !tbaa !30
  %12 = icmp eq i64 %3, 0
  %13 = icmp eq i64 %3, 1
  %14 = icmp ult i64 %3, 2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %14, ptr noundef nonnull @.str.586, ptr noundef %6)
  %15 = tail call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %5, i64 noundef %11, ptr noundef %6)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %15, ptr noundef nonnull @.str.587, ptr noundef %6)
  %16 = getelementptr inbounds i8, ptr %0, i64 6488
  %17 = load i64, ptr %16, align 8, !tbaa !31
  %spec.select = icmp ult i64 %17, 2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select, ptr noundef nonnull @.str.588, ptr noundef %6)
  %18 = getelementptr inbounds i8, ptr %0, i64 48
  store i8 0, ptr %18, align 8, !tbaa !32
  %19 = getelementptr inbounds i8, ptr %0, i64 6497
  store i8 0, ptr %19, align 1, !tbaa !33
  %20 = getelementptr inbounds i8, ptr %0, i64 6496
  store i8 0, ptr %20, align 8, !tbaa !34
  %21 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %11, ptr noundef %6)
  tail call void @_ZN11alglib_impl11rvectorcopyElPKNS_9ae_vectorElPS0_lPNS_8ae_stateE(i64 noundef %11, ptr noundef %5, i64 noundef 0, ptr noundef nonnull %21, i64 noundef 0, ptr noundef %6)
  %22 = getelementptr inbounds i8, ptr %0, i64 832
  store i64 -1, ptr %22, align 8, !tbaa !35
  %23 = getelementptr inbounds i8, ptr %0, i64 248
  store double 1.000000e+00, ptr %23, align 8, !tbaa !36
  %24 = load i64, ptr %16, align 8, !tbaa !31
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %26, label %231

26:                                               ; preds = %7
  store i64 0, ptr %22, align 8, !tbaa !35
  %27 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %27, i64 noundef %9, i64 noundef %9, ptr noundef %6)
  br i1 %12, label %28, label %31

28:                                               ; preds = %26
  br i1 %4, label %29, label %30

29:                                               ; preds = %28
  tail call void @_ZN11alglib_impl16rmatrixtransposeEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef %9, i64 noundef %9, ptr noundef %1, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %27, i64 noundef 0, i64 noundef 0, ptr noundef %6)
  br label %.thread

30:                                               ; preds = %28
  tail call void @_ZN11alglib_impl11rmatrixcopyEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef %9, i64 noundef %9, ptr noundef %1, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %27, i64 noundef 0, i64 noundef 0, ptr noundef %6)
  br label %.thread

31:                                               ; preds = %26
  br i1 %13, label %32, label %.thread

32:                                               ; preds = %31
  %33 = getelementptr inbounds i8, ptr %2, i64 320
  %34 = load i64, ptr %33, align 8, !tbaa !37
  %35 = icmp eq i64 %34, 1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %35, ptr noundef nonnull @.str.589, ptr noundef %6)
  %36 = getelementptr inbounds i8, ptr %2, i64 328
  %37 = load i64, ptr %36, align 8, !tbaa !38
  %38 = icmp eq i64 %37, %9
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %38, ptr noundef nonnull @.str.590, ptr noundef %6)
  %39 = getelementptr inbounds i8, ptr %2, i64 336
  %40 = load i64, ptr %39, align 8, !tbaa !39
  %41 = icmp eq i64 %40, %9
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %41, ptr noundef nonnull @.str.590, ptr noundef %6)
  %.not.not424 = icmp sgt i64 %9, 0
  br i1 %.not.not424, label %.preheader422.lr.ph, label %._crit_edge

.preheader422.lr.ph:                              ; preds = %32
  %42 = getelementptr inbounds i8, ptr %0, i64 392
  br label %.preheader422

.preheader422:                                    ; preds = %.preheader422.lr.ph, %.epilog-lcssa
  %indvars.iv = phi i64 [ 1, %.preheader422.lr.ph ], [ %indvars.iv.next, %.epilog-lcssa ]
  %.0382425 = phi i64 [ 0, %.preheader422.lr.ph ], [ %76, %.epilog-lcssa ]
  %xtraiter = and i64 %indvars.iv, 3
  %43 = icmp ult i64 %.0382425, 3
  br i1 %43, label %.unr-lcssa, label %.preheader422.new

.preheader422.new:                                ; preds = %.preheader422
  %unroll_iter = and i64 %indvars.iv, -4
  br label %50

.preheader421:                                    ; preds = %.epilog-lcssa
  br i1 %.not.not424, label %.lr.ph434, label %._crit_edge

.lr.ph434:                                        ; preds = %.preheader421
  %44 = getelementptr inbounds i8, ptr %2, i64 248
  %45 = getelementptr inbounds i8, ptr %2, i64 312
  %46 = getelementptr inbounds i8, ptr %2, i64 56
  %47 = getelementptr inbounds i8, ptr %0, i64 392
  %48 = getelementptr inbounds i8, ptr %2, i64 184
  %49 = getelementptr inbounds i8, ptr %2, i64 120
  br label %77

50:                                               ; preds = %50, %.preheader422.new
  %.0375423 = phi i64 [ 0, %.preheader422.new ], [ %70, %50 ]
  %niter = phi i64 [ 0, %.preheader422.new ], [ %niter.next.3, %50 ]
  %51 = load ptr, ptr %42, align 8, !tbaa !40
  %52 = getelementptr inbounds ptr, ptr %51, i64 %.0382425
  %53 = load ptr, ptr %52, align 8, !tbaa !41
  %54 = getelementptr inbounds double, ptr %53, i64 %.0375423
  store double 0.000000e+00, ptr %54, align 8, !tbaa !42
  %55 = or disjoint i64 %.0375423, 1
  %56 = load ptr, ptr %42, align 8, !tbaa !40
  %57 = getelementptr inbounds ptr, ptr %56, i64 %.0382425
  %58 = load ptr, ptr %57, align 8, !tbaa !41
  %59 = getelementptr inbounds double, ptr %58, i64 %55
  store double 0.000000e+00, ptr %59, align 8, !tbaa !42
  %60 = or disjoint i64 %.0375423, 2
  %61 = load ptr, ptr %42, align 8, !tbaa !40
  %62 = getelementptr inbounds ptr, ptr %61, i64 %.0382425
  %63 = load ptr, ptr %62, align 8, !tbaa !41
  %64 = getelementptr inbounds double, ptr %63, i64 %60
  store double 0.000000e+00, ptr %64, align 8, !tbaa !42
  %65 = or disjoint i64 %.0375423, 3
  %66 = load ptr, ptr %42, align 8, !tbaa !40
  %67 = getelementptr inbounds ptr, ptr %66, i64 %.0382425
  %68 = load ptr, ptr %67, align 8, !tbaa !41
  %69 = getelementptr inbounds double, ptr %68, i64 %65
  store double 0.000000e+00, ptr %69, align 8, !tbaa !42
  %70 = add nuw nsw i64 %.0375423, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.unr-lcssa, label %50, !llvm.loop !43

.unr-lcssa:                                       ; preds = %50, %.preheader422
  %.0375423.unr = phi i64 [ 0, %.preheader422 ], [ %70, %50 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.epilog-lcssa, label %.epil.preheader

.epil.preheader:                                  ; preds = %.unr-lcssa, %.epil.preheader
  %.0375423.epil = phi i64 [ %75, %.epil.preheader ], [ %.0375423.unr, %.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.unr-lcssa ]
  %71 = load ptr, ptr %42, align 8, !tbaa !40
  %72 = getelementptr inbounds ptr, ptr %71, i64 %.0382425
  %73 = load ptr, ptr %72, align 8, !tbaa !41
  %74 = getelementptr inbounds double, ptr %73, i64 %.0375423.epil
  store double 0.000000e+00, ptr %74, align 8, !tbaa !42
  %75 = add nuw nsw i64 %.0375423.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.epilog-lcssa, label %.epil.preheader, !llvm.loop !45

.epilog-lcssa:                                    ; preds = %.epil.preheader, %.unr-lcssa
  %76 = add nuw nsw i64 %.0382425, 1
  %indvars.iv.next = add nuw i64 %indvars.iv, 1
  %exitcond510.not = icmp eq i64 %76, %9
  br i1 %exitcond510.not, label %.preheader421, label %.preheader422, !llvm.loop !47

77:                                               ; preds = %.lr.ph434, %.loopexit419
  %.1383432 = phi i64 [ 0, %.lr.ph434 ], [ %178, %.loopexit419 ]
  %78 = load ptr, ptr %44, align 8, !tbaa !40
  %79 = getelementptr inbounds i64, ptr %78, i64 %.1383432
  %80 = load i64, ptr %79, align 8, !tbaa !48
  %81 = load ptr, ptr %45, align 8, !tbaa !40
  %82 = getelementptr inbounds i64, ptr %81, i64 %.1383432
  %83 = load i64, ptr %82, align 8, !tbaa !48
  %.not408 = icmp eq i64 %80, %83
  br i1 %.not408, label %92, label %84

84:                                               ; preds = %77
  %85 = load ptr, ptr %46, align 8, !tbaa !40
  %86 = getelementptr inbounds double, ptr %85, i64 %80
  %87 = load double, ptr %86, align 8, !tbaa !42
  %88 = load ptr, ptr %47, align 8, !tbaa !40
  %89 = getelementptr inbounds ptr, ptr %88, i64 %.1383432
  %90 = load ptr, ptr %89, align 8, !tbaa !41
  %91 = getelementptr inbounds double, ptr %90, i64 %.1383432
  store double %87, ptr %91, align 8, !tbaa !42
  br label %92

92:                                               ; preds = %84, %77
  br i1 %4, label %93, label %136

93:                                               ; preds = %92
  %94 = load ptr, ptr %45, align 8, !tbaa !40
  %95 = getelementptr inbounds i64, ptr %94, i64 %.1383432
  %96 = load i64, ptr %95, align 8, !tbaa !48
  %97 = load ptr, ptr %48, align 8, !tbaa !40
  %98 = getelementptr inbounds i64, ptr %97, i64 %.1383432
  %99 = getelementptr inbounds i8, ptr %98, i64 8
  %100 = load i64, ptr %99, align 8, !tbaa !48
  %.not410.not428 = icmp slt i64 %96, %100
  br i1 %.not410.not428, label %.lr.ph430.preheader, label %.loopexit419

.lr.ph430.preheader:                              ; preds = %93
  %101 = sub i64 %100, %96
  %.neg557 = add i64 %96, 1
  %xtraiter542 = and i64 %101, 1
  %lcmp.mod543.not = icmp eq i64 %xtraiter542, 0
  br i1 %lcmp.mod543.not, label %.lr.ph430.prol.loopexit, label %.lr.ph430.prol

.lr.ph430.prol:                                   ; preds = %.lr.ph430.preheader
  %102 = load ptr, ptr %46, align 8, !tbaa !40
  %103 = getelementptr inbounds double, ptr %102, i64 %96
  %104 = load double, ptr %103, align 8, !tbaa !42
  %105 = load ptr, ptr %47, align 8, !tbaa !40
  %106 = load ptr, ptr %49, align 8, !tbaa !40
  %107 = getelementptr inbounds i64, ptr %106, i64 %96
  %108 = load i64, ptr %107, align 8, !tbaa !48
  %109 = getelementptr inbounds ptr, ptr %105, i64 %108
  %110 = load ptr, ptr %109, align 8, !tbaa !41
  %111 = getelementptr inbounds double, ptr %110, i64 %.1383432
  store double %104, ptr %111, align 8, !tbaa !42
  %112 = add nsw i64 %96, 1
  br label %.lr.ph430.prol.loopexit

.lr.ph430.prol.loopexit:                          ; preds = %.lr.ph430.prol, %.lr.ph430.preheader
  %.1376429.unr = phi i64 [ %96, %.lr.ph430.preheader ], [ %112, %.lr.ph430.prol ]
  %113 = icmp eq i64 %100, %.neg557
  br i1 %113, label %.loopexit419, label %.lr.ph430

.lr.ph430:                                        ; preds = %.lr.ph430.prol.loopexit, %.lr.ph430
  %.1376429 = phi i64 [ %135, %.lr.ph430 ], [ %.1376429.unr, %.lr.ph430.prol.loopexit ]
  %114 = load ptr, ptr %46, align 8, !tbaa !40
  %115 = getelementptr inbounds double, ptr %114, i64 %.1376429
  %116 = load double, ptr %115, align 8, !tbaa !42
  %117 = load ptr, ptr %47, align 8, !tbaa !40
  %118 = load ptr, ptr %49, align 8, !tbaa !40
  %119 = getelementptr inbounds i64, ptr %118, i64 %.1376429
  %120 = load i64, ptr %119, align 8, !tbaa !48
  %121 = getelementptr inbounds ptr, ptr %117, i64 %120
  %122 = load ptr, ptr %121, align 8, !tbaa !41
  %123 = getelementptr inbounds double, ptr %122, i64 %.1383432
  store double %116, ptr %123, align 8, !tbaa !42
  %124 = add nsw i64 %.1376429, 1
  %125 = load ptr, ptr %46, align 8, !tbaa !40
  %126 = getelementptr inbounds double, ptr %125, i64 %124
  %127 = load double, ptr %126, align 8, !tbaa !42
  %128 = load ptr, ptr %47, align 8, !tbaa !40
  %129 = load ptr, ptr %49, align 8, !tbaa !40
  %130 = getelementptr inbounds i64, ptr %129, i64 %124
  %131 = load i64, ptr %130, align 8, !tbaa !48
  %132 = getelementptr inbounds ptr, ptr %128, i64 %131
  %133 = load ptr, ptr %132, align 8, !tbaa !41
  %134 = getelementptr inbounds double, ptr %133, i64 %.1383432
  store double %127, ptr %134, align 8, !tbaa !42
  %135 = add nsw i64 %.1376429, 2
  %exitcond512.not.1 = icmp eq i64 %135, %100
  br i1 %exitcond512.not.1, label %.loopexit419, label %.lr.ph430, !llvm.loop !49

136:                                              ; preds = %92
  %137 = load ptr, ptr %48, align 8, !tbaa !40
  %138 = getelementptr inbounds i64, ptr %137, i64 %.1383432
  %139 = load i64, ptr %138, align 8, !tbaa !48
  %140 = load ptr, ptr %44, align 8, !tbaa !40
  %141 = getelementptr inbounds i64, ptr %140, i64 %.1383432
  %142 = load i64, ptr %141, align 8, !tbaa !48
  %.not409.not426 = icmp slt i64 %139, %142
  br i1 %.not409.not426, label %.lr.ph.preheader, label %.loopexit419

.lr.ph.preheader:                                 ; preds = %136
  %143 = sub i64 %142, %139
  %.neg = add i64 %139, 1
  %xtraiter540 = and i64 %143, 1
  %lcmp.mod541.not = icmp eq i64 %xtraiter540, 0
  br i1 %lcmp.mod541.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader
  %144 = load ptr, ptr %46, align 8, !tbaa !40
  %145 = getelementptr inbounds double, ptr %144, i64 %139
  %146 = load double, ptr %145, align 8, !tbaa !42
  %147 = load ptr, ptr %47, align 8, !tbaa !40
  %148 = getelementptr inbounds ptr, ptr %147, i64 %.1383432
  %149 = load ptr, ptr %148, align 8, !tbaa !41
  %150 = load ptr, ptr %49, align 8, !tbaa !40
  %151 = getelementptr inbounds i64, ptr %150, i64 %139
  %152 = load i64, ptr %151, align 8, !tbaa !48
  %153 = getelementptr inbounds double, ptr %149, i64 %152
  store double %146, ptr %153, align 8, !tbaa !42
  %154 = add nsw i64 %139, 1
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %.2377427.unr = phi i64 [ %139, %.lr.ph.preheader ], [ %154, %.lr.ph.prol ]
  %155 = icmp eq i64 %142, %.neg
  br i1 %155, label %.loopexit419, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %.2377427 = phi i64 [ %177, %.lr.ph ], [ %.2377427.unr, %.lr.ph.prol.loopexit ]
  %156 = load ptr, ptr %46, align 8, !tbaa !40
  %157 = getelementptr inbounds double, ptr %156, i64 %.2377427
  %158 = load double, ptr %157, align 8, !tbaa !42
  %159 = load ptr, ptr %47, align 8, !tbaa !40
  %160 = getelementptr inbounds ptr, ptr %159, i64 %.1383432
  %161 = load ptr, ptr %160, align 8, !tbaa !41
  %162 = load ptr, ptr %49, align 8, !tbaa !40
  %163 = getelementptr inbounds i64, ptr %162, i64 %.2377427
  %164 = load i64, ptr %163, align 8, !tbaa !48
  %165 = getelementptr inbounds double, ptr %161, i64 %164
  store double %158, ptr %165, align 8, !tbaa !42
  %166 = add nsw i64 %.2377427, 1
  %167 = load ptr, ptr %46, align 8, !tbaa !40
  %168 = getelementptr inbounds double, ptr %167, i64 %166
  %169 = load double, ptr %168, align 8, !tbaa !42
  %170 = load ptr, ptr %47, align 8, !tbaa !40
  %171 = getelementptr inbounds ptr, ptr %170, i64 %.1383432
  %172 = load ptr, ptr %171, align 8, !tbaa !41
  %173 = load ptr, ptr %49, align 8, !tbaa !40
  %174 = getelementptr inbounds i64, ptr %173, i64 %166
  %175 = load i64, ptr %174, align 8, !tbaa !48
  %176 = getelementptr inbounds double, ptr %172, i64 %175
  store double %169, ptr %176, align 8, !tbaa !42
  %177 = add nsw i64 %.2377427, 2
  %exitcond511.not.1 = icmp eq i64 %177, %142
  br i1 %exitcond511.not.1, label %.loopexit419, label %.lr.ph, !llvm.loop !50

.loopexit419:                                     ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %.lr.ph430.prol.loopexit, %.lr.ph430, %136, %93
  %178 = add nuw nsw i64 %.1383432, 1
  %exitcond513.not = icmp eq i64 %178, %9
  br i1 %exitcond513.not, label %.thread, label %77, !llvm.loop !51

.thread:                                          ; preds = %.loopexit419, %30, %29, %31
  %.not.not397437 = icmp sgt i64 %9, 0
  br i1 %.not.not397437, label %.preheader418.lr.ph, label %._crit_edge

.preheader418.lr.ph:                              ; preds = %.thread
  %179 = getelementptr inbounds i8, ptr %0, i64 392
  %180 = load ptr, ptr %179, align 8, !tbaa !40
  br label %.preheader418

.preheader418:                                    ; preds = %.preheader418.lr.ph, %.epilog-lcssa549
  %indvars.iv514 = phi i64 [ 1, %.preheader418.lr.ph ], [ %indvars.iv.next515, %.epilog-lcssa549 ]
  %.0358439 = phi double [ 0.000000e+00, %.preheader418.lr.ph ], [ %.lcssa538, %.epilog-lcssa549 ]
  %.2384438 = phi i64 [ 0, %.preheader418.lr.ph ], [ %221, %.epilog-lcssa549 ]
  %181 = getelementptr inbounds ptr, ptr %180, i64 %.2384438
  %182 = load ptr, ptr %181, align 8, !tbaa !41
  %xtraiter546 = and i64 %indvars.iv514, 7
  %183 = icmp ult i64 %.2384438, 7
  br i1 %183, label %.unr-lcssa544, label %.preheader418.new

.preheader418.new:                                ; preds = %.preheader418
  %unroll_iter551 = and i64 %indvars.iv514, -8
  br label %184

184:                                              ; preds = %184, %.preheader418.new
  %.1359436 = phi double [ %.0358439, %.preheader418.new ], [ %215, %184 ]
  %.3378435 = phi i64 [ 0, %.preheader418.new ], [ %216, %184 ]
  %niter552 = phi i64 [ 0, %.preheader418.new ], [ %niter552.next.7, %184 ]
  %185 = getelementptr inbounds double, ptr %182, i64 %.3378435
  %186 = load double, ptr %185, align 8, !tbaa !42
  %187 = fadd double %.1359436, %186
  %188 = or disjoint i64 %.3378435, 1
  %189 = getelementptr inbounds double, ptr %182, i64 %188
  %190 = load double, ptr %189, align 8, !tbaa !42
  %191 = fadd double %187, %190
  %192 = or disjoint i64 %.3378435, 2
  %193 = getelementptr inbounds double, ptr %182, i64 %192
  %194 = load double, ptr %193, align 8, !tbaa !42
  %195 = fadd double %191, %194
  %196 = or disjoint i64 %.3378435, 3
  %197 = getelementptr inbounds double, ptr %182, i64 %196
  %198 = load double, ptr %197, align 8, !tbaa !42
  %199 = fadd double %195, %198
  %200 = or disjoint i64 %.3378435, 4
  %201 = getelementptr inbounds double, ptr %182, i64 %200
  %202 = load double, ptr %201, align 8, !tbaa !42
  %203 = fadd double %199, %202
  %204 = or disjoint i64 %.3378435, 5
  %205 = getelementptr inbounds double, ptr %182, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !42
  %207 = fadd double %203, %206
  %208 = or disjoint i64 %.3378435, 6
  %209 = getelementptr inbounds double, ptr %182, i64 %208
  %210 = load double, ptr %209, align 8, !tbaa !42
  %211 = fadd double %207, %210
  %212 = or disjoint i64 %.3378435, 7
  %213 = getelementptr inbounds double, ptr %182, i64 %212
  %214 = load double, ptr %213, align 8, !tbaa !42
  %215 = fadd double %211, %214
  %216 = add nuw nsw i64 %.3378435, 8
  %niter552.next.7 = add i64 %niter552, 8
  %niter552.ncmp.7 = icmp eq i64 %niter552.next.7, %unroll_iter551
  br i1 %niter552.ncmp.7, label %.unr-lcssa544, label %184, !llvm.loop !52

.unr-lcssa544:                                    ; preds = %184, %.preheader418
  %.lcssa538.ph = phi double [ poison, %.preheader418 ], [ %215, %184 ]
  %.1359436.unr = phi double [ %.0358439, %.preheader418 ], [ %215, %184 ]
  %.3378435.unr = phi i64 [ 0, %.preheader418 ], [ %216, %184 ]
  %lcmp.mod548.not = icmp eq i64 %xtraiter546, 0
  br i1 %lcmp.mod548.not, label %.epilog-lcssa549, label %.epil.preheader545

.epil.preheader545:                               ; preds = %.unr-lcssa544, %.epil.preheader545
  %.1359436.epil = phi double [ %219, %.epil.preheader545 ], [ %.1359436.unr, %.unr-lcssa544 ]
  %.3378435.epil = phi i64 [ %220, %.epil.preheader545 ], [ %.3378435.unr, %.unr-lcssa544 ]
  %epil.iter547 = phi i64 [ %epil.iter547.next, %.epil.preheader545 ], [ 0, %.unr-lcssa544 ]
  %217 = getelementptr inbounds double, ptr %182, i64 %.3378435.epil
  %218 = load double, ptr %217, align 8, !tbaa !42
  %219 = fadd double %.1359436.epil, %218
  %220 = add nuw nsw i64 %.3378435.epil, 1
  %epil.iter547.next = add i64 %epil.iter547, 1
  %epil.iter547.cmp.not = icmp eq i64 %epil.iter547.next, %xtraiter546
  br i1 %epil.iter547.cmp.not, label %.epilog-lcssa549, label %.epil.preheader545, !llvm.loop !53

.epilog-lcssa549:                                 ; preds = %.epil.preheader545, %.unr-lcssa544
  %.lcssa538 = phi double [ %.lcssa538.ph, %.unr-lcssa544 ], [ %219, %.epil.preheader545 ]
  %221 = add nuw nsw i64 %.2384438, 1
  %indvars.iv.next515 = add nuw i64 %indvars.iv514, 1
  %exitcond517.not = icmp eq i64 %221, %9
  br i1 %exitcond517.not, label %._crit_edge, label %.preheader418, !llvm.loop !54

._crit_edge:                                      ; preds = %.epilog-lcssa549, %32, %.preheader421, %.thread
  %.0358.lcssa = phi double [ 0.000000e+00, %.thread ], [ 0.000000e+00, %.preheader421 ], [ 0.000000e+00, %32 ], [ %.lcssa538, %.epilog-lcssa549 ]
  %222 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %.0358.lcssa, ptr noundef %6)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %222, ptr noundef nonnull @.str.591, ptr noundef %6)
  %223 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZN11alglib_impl19scaledenseqpinplaceEPNS_9ae_matrixEblPNS_9ae_vectorElPKS2_PNS_8ae_stateE(ptr noundef nonnull %27, i1 noundef zeroext false, i64 noundef %9, ptr noundef nonnull %21, i64 noundef %11, ptr noundef nonnull %223, ptr noundef %6)
  %224 = getelementptr inbounds i8, ptr %0, i64 1
  %225 = load i8, ptr %224, align 1, !tbaa !55, !range !56, !noundef !57
  %226 = trunc nuw i8 %225 to i1
  br i1 %226, label %227, label %229

227:                                              ; preds = %._crit_edge
  %228 = tail call noundef double @_ZN11alglib_impl23normalizedenseqpinplaceEPNS_9ae_matrixEblPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %27, i1 noundef zeroext false, i64 noundef %9, ptr noundef nonnull %21, i64 noundef %11, ptr noundef %6)
  store double %228, ptr %23, align 8, !tbaa !36
  br label %229

229:                                              ; preds = %227, %._crit_edge
  %230 = getelementptr inbounds i8, ptr %0, i64 840
  store i8 0, ptr %230, align 8, !tbaa !58
  %.pr = load i64, ptr %16, align 8, !tbaa !31
  br label %231

231:                                              ; preds = %229, %7
  %232 = phi i64 [ %.pr, %229 ], [ %24, %7 ]
  %233 = icmp eq i64 %232, 1
  br i1 %233, label %234, label %501

234:                                              ; preds = %231
  %235 = icmp eq i64 %9, %11
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %235, ptr noundef nonnull @.str.592, ptr noundef %6)
  store i64 1, ptr %22, align 8, !tbaa !35
  %236 = getelementptr inbounds i8, ptr %0, i64 400
  %237 = getelementptr inbounds i8, ptr %0, i64 720
  store i64 1, ptr %237, align 8, !tbaa !59
  %238 = getelementptr inbounds i8, ptr %0, i64 728
  store i64 %11, ptr %238, align 8, !tbaa !60
  %239 = getelementptr inbounds i8, ptr %0, i64 736
  store i64 %11, ptr %239, align 8, !tbaa !61
  br i1 %12, label %.preheader417, label %322

.preheader417:                                    ; preds = %234
  %240 = add nsw i64 %11, -1
  %.not.not398446 = icmp sgt i64 %11, 0
  br i1 %.not.not398446, label %.lr.ph449, label %._crit_edge450

.lr.ph449:                                        ; preds = %.preheader417
  %241 = getelementptr inbounds i8, ptr %1, i64 72
  br label %242

.loopexit416:                                     ; preds = %scalar.ph, %middle.block, %242
  %.1356.lcssa = phi i64 [ %243, %242 ], [ %262, %middle.block ], [ %.2357, %scalar.ph ]
  %exitcond519.not = icmp eq i64 %244, %11
  br i1 %exitcond519.not, label %._crit_edge450, label %242, !llvm.loop !62

242:                                              ; preds = %.lr.ph449, %.loopexit416
  %.0355448 = phi i64 [ 0, %.lr.ph449 ], [ %.1356.lcssa, %.loopexit416 ]
  %.3385447 = phi i64 [ 0, %.lr.ph449 ], [ %244, %.loopexit416 ]
  %243 = add nsw i64 %.0355448, 1
  %244 = add nuw nsw i64 %.3385447, 1
  %245 = add nsw i64 %.3385447, -1
  %.0372 = select i1 %4, i64 %244, i64 0
  %.0371 = select i1 %4, i64 %240, i64 %245
  %.not406440 = icmp sgt i64 %.0372, %.0371
  br i1 %.not406440, label %.loopexit416, label %.lr.ph444

.lr.ph444:                                        ; preds = %242
  %246 = load ptr, ptr %241, align 8, !tbaa !40
  %247 = getelementptr inbounds ptr, ptr %246, i64 %.3385447
  %248 = load ptr, ptr %247, align 8, !tbaa !41
  %249 = add nsw i64 %.0371, 1
  %250 = sub i64 %249, %.0372
  %min.iters.check = icmp ult i64 %250, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph444
  %n.vec = and i64 %250, -4
  %ind.end = add i64 %.0372, %n.vec
  %251 = insertelement <2 x i64> <i64 poison, i64 0>, i64 %243, i64 0
  %252 = getelementptr double, ptr %248, i64 %.0372
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i64> [ %251, %vector.ph ], [ %259, %vector.body ]
  %vec.phi533 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %260, %vector.body ]
  %253 = getelementptr double, ptr %252, i64 %index
  %254 = getelementptr inbounds i8, ptr %253, i64 16
  %wide.load = load <2 x double>, ptr %253, align 8, !tbaa !42
  %wide.load534 = load <2 x double>, ptr %254, align 8, !tbaa !42
  %255 = fcmp une <2 x double> %wide.load, zeroinitializer
  %256 = fcmp une <2 x double> %wide.load534, zeroinitializer
  %257 = zext <2 x i1> %255 to <2 x i64>
  %258 = zext <2 x i1> %256 to <2 x i64>
  %259 = add <2 x i64> %vec.phi, %257
  %260 = add <2 x i64> %vec.phi533, %258
  %index.next = add nuw i64 %index, 4
  %261 = icmp eq i64 %index.next, %n.vec
  br i1 %261, label %middle.block, label %vector.body, !llvm.loop !63

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %260, %259
  %262 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n = icmp eq i64 %250, %n.vec
  br i1 %cmp.n, label %.loopexit416, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph444
  %.1356442.ph = phi i64 [ %243, %.lr.ph444 ], [ %262, %middle.block ]
  %.4379441.ph = phi i64 [ %.0372, %.lr.ph444 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.1356442 = phi i64 [ %.2357, %scalar.ph ], [ %.1356442.ph, %scalar.ph.preheader ]
  %.4379441 = phi i64 [ %267, %scalar.ph ], [ %.4379441.ph, %scalar.ph.preheader ]
  %263 = getelementptr inbounds double, ptr %248, i64 %.4379441
  %264 = load double, ptr %263, align 8, !tbaa !42
  %265 = fcmp une double %264, 0.000000e+00
  %266 = zext i1 %265 to i64
  %.2357 = add nsw i64 %.1356442, %266
  %267 = add nuw i64 %.4379441, 1
  %exitcond518.not = icmp eq i64 %.4379441, %.0371
  br i1 %exitcond518.not, label %.loopexit416, label %scalar.ph, !llvm.loop !66

._crit_edge450:                                   ; preds = %.loopexit416, %.preheader417
  %.0355.lcssa = phi i64 [ 0, %.preheader417 ], [ %.1356.lcssa, %.loopexit416 ]
  %268 = getelementptr inbounds i8, ptr %0, i64 528
  %269 = add nsw i64 %11, 1
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %268, i64 noundef %269, ptr noundef %6)
  %270 = getelementptr inbounds i8, ptr %0, i64 464
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %270, i64 noundef %.0355.lcssa, ptr noundef %6)
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %236, i64 noundef %.0355.lcssa, ptr noundef %6)
  %271 = getelementptr inbounds i8, ptr %0, i64 584
  %272 = load ptr, ptr %271, align 8, !tbaa !40
  store i64 0, ptr %272, align 8, !tbaa !48
  br i1 %.not.not398446, label %.lr.ph474, label %._crit_edge475

.lr.ph474:                                        ; preds = %._crit_edge450
  %273 = getelementptr inbounds i8, ptr %1, i64 72
  %274 = getelementptr inbounds i8, ptr %0, i64 520
  %275 = getelementptr inbounds i8, ptr %0, i64 456
  br label %276

276:                                              ; preds = %.lr.ph474, %.loopexit413
  %.0472 = phi i64 [ 0, %.lr.ph474 ], [ %.6, %.loopexit413 ]
  %.2360471 = phi double [ 0.000000e+00, %.lr.ph474 ], [ %.8366, %.loopexit413 ]
  %.4386469 = phi i64 [ 0, %.lr.ph474 ], [ %318, %.loopexit413 ]
  %.not404.not453 = icmp eq i64 %.4386469, 0
  %or.cond.not = or i1 %.not404.not453, %4
  br i1 %or.cond.not, label %.loopexit415, label %.lr.ph457

.lr.ph457:                                        ; preds = %276, %290
  %.1456 = phi i64 [ %.2, %290 ], [ %.0472, %276 ]
  %.3361455 = phi double [ %.4362, %290 ], [ %.2360471, %276 ]
  %.5380454 = phi i64 [ %291, %290 ], [ 0, %276 ]
  %277 = load ptr, ptr %273, align 8, !tbaa !40
  %278 = getelementptr inbounds ptr, ptr %277, i64 %.4386469
  %279 = load ptr, ptr %278, align 8, !tbaa !41
  %280 = getelementptr inbounds double, ptr %279, i64 %.5380454
  %281 = load double, ptr %280, align 8, !tbaa !42
  %282 = fcmp une double %281, 0.000000e+00
  br i1 %282, label %283, label %290

283:                                              ; preds = %.lr.ph457
  %284 = load ptr, ptr %274, align 8, !tbaa !40
  %285 = getelementptr inbounds i64, ptr %284, i64 %.1456
  store i64 %.5380454, ptr %285, align 8, !tbaa !48
  %286 = load ptr, ptr %275, align 8, !tbaa !40
  %287 = getelementptr inbounds double, ptr %286, i64 %.1456
  store double %281, ptr %287, align 8, !tbaa !42
  %288 = fadd double %.3361455, %281
  %289 = add nsw i64 %.1456, 1
  br label %290

290:                                              ; preds = %.lr.ph457, %283
  %.4362 = phi double [ %288, %283 ], [ %.3361455, %.lr.ph457 ]
  %.2 = phi i64 [ %289, %283 ], [ %.1456, %.lr.ph457 ]
  %291 = add nuw nsw i64 %.5380454, 1
  %exitcond520.not = icmp eq i64 %291, %.4386469
  br i1 %exitcond520.not, label %.loopexit415, label %.lr.ph457, !llvm.loop !67

.loopexit415:                                     ; preds = %290, %276
  %.5363 = phi double [ %.2360471, %276 ], [ %.4362, %290 ]
  %.3 = phi i64 [ %.0472, %276 ], [ %.2, %290 ]
  %292 = load ptr, ptr %273, align 8, !tbaa !40
  %293 = getelementptr inbounds ptr, ptr %292, i64 %.4386469
  %294 = load ptr, ptr %293, align 8, !tbaa !41
  %295 = getelementptr inbounds double, ptr %294, i64 %.4386469
  %296 = load double, ptr %295, align 8, !tbaa !42
  %297 = load ptr, ptr %274, align 8, !tbaa !40
  %298 = getelementptr inbounds i64, ptr %297, i64 %.3
  store i64 %.4386469, ptr %298, align 8, !tbaa !48
  %299 = load ptr, ptr %275, align 8, !tbaa !40
  %300 = getelementptr inbounds double, ptr %299, i64 %.3
  store double %296, ptr %300, align 8, !tbaa !42
  %301 = fadd double %.5363, %296
  %302 = add nsw i64 %.3, 1
  %.not405.not461 = icmp slt i64 %.4386469, %240
  %or.cond504 = select i1 %4, i1 %.not405.not461, i1 false
  br i1 %or.cond504, label %.lr.ph465, label %.loopexit413

.lr.ph465:                                        ; preds = %.loopexit415, %316
  %.6381464.in = phi i64 [ %.6381464, %316 ], [ %.4386469, %.loopexit415 ]
  %.4463 = phi i64 [ %.5, %316 ], [ %302, %.loopexit415 ]
  %.6364462 = phi double [ %.7365, %316 ], [ %301, %.loopexit415 ]
  %.6381464 = add nuw nsw i64 %.6381464.in, 1
  %303 = load ptr, ptr %273, align 8, !tbaa !40
  %304 = getelementptr inbounds ptr, ptr %303, i64 %.4386469
  %305 = load ptr, ptr %304, align 8, !tbaa !41
  %306 = getelementptr inbounds double, ptr %305, i64 %.6381464
  %307 = load double, ptr %306, align 8, !tbaa !42
  %308 = fcmp une double %307, 0.000000e+00
  br i1 %308, label %309, label %316

309:                                              ; preds = %.lr.ph465
  %310 = load ptr, ptr %274, align 8, !tbaa !40
  %311 = getelementptr inbounds i64, ptr %310, i64 %.4463
  store i64 %.6381464, ptr %311, align 8, !tbaa !48
  %312 = load ptr, ptr %275, align 8, !tbaa !40
  %313 = getelementptr inbounds double, ptr %312, i64 %.4463
  store double %307, ptr %313, align 8, !tbaa !42
  %314 = fadd double %.6364462, %307
  %315 = add nsw i64 %.4463, 1
  br label %316

316:                                              ; preds = %.lr.ph465, %309
  %.7365 = phi double [ %314, %309 ], [ %.6364462, %.lr.ph465 ]
  %.5 = phi i64 [ %315, %309 ], [ %.4463, %.lr.ph465 ]
  %.not405.not = icmp slt i64 %.6381464, %240
  br i1 %.not405.not, label %.lr.ph465, label %.loopexit413, !llvm.loop !68

.loopexit413:                                     ; preds = %316, %.loopexit415
  %.8366 = phi double [ %301, %.loopexit415 ], [ %.7365, %316 ]
  %.6 = phi i64 [ %302, %.loopexit415 ], [ %.5, %316 ]
  %317 = load ptr, ptr %271, align 8, !tbaa !40
  %318 = add nuw nsw i64 %.4386469, 1
  %319 = getelementptr inbounds i64, ptr %317, i64 %318
  store i64 %.6, ptr %319, align 8, !tbaa !48
  %exitcond521.not = icmp eq i64 %318, %11
  br i1 %exitcond521.not, label %._crit_edge475, label %276, !llvm.loop !69

._crit_edge475:                                   ; preds = %.loopexit413, %._crit_edge450
  %.2360.lcssa = phi double [ 0.000000e+00, %._crit_edge450 ], [ %.8366, %.loopexit413 ]
  %.0.lcssa = phi i64 [ 0, %._crit_edge450 ], [ %.6, %.loopexit413 ]
  %320 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %.2360.lcssa, ptr noundef %6)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %320, ptr noundef nonnull @.str.591, ptr noundef %6)
  %321 = icmp eq i64 %.0.lcssa, %.0355.lcssa
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %321, ptr noundef nonnull @.str.593, ptr noundef %6)
  tail call void @_ZN11alglib_impl22sparsecreatecrsinplaceEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %236, ptr noundef %6)
  br label %322

322:                                              ; preds = %._crit_edge475, %234
  br i1 %13, label %323, label %481

323:                                              ; preds = %322
  %324 = getelementptr inbounds i8, ptr %2, i64 320
  %325 = load i64, ptr %324, align 8, !tbaa !37
  %326 = icmp eq i64 %325, 1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %326, ptr noundef nonnull @.str.589, ptr noundef %6)
  %327 = getelementptr inbounds i8, ptr %2, i64 328
  %328 = load i64, ptr %327, align 8, !tbaa !38
  %329 = icmp eq i64 %328, %11
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %329, ptr noundef nonnull @.str.590, ptr noundef %6)
  %330 = getelementptr inbounds i8, ptr %2, i64 336
  %331 = load i64, ptr %330, align 8, !tbaa !39
  %332 = icmp eq i64 %331, %11
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %332, ptr noundef nonnull @.str.590, ptr noundef %6)
  %333 = getelementptr inbounds i8, ptr %0, i64 528
  %334 = add nsw i64 %11, 1
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %333, i64 noundef %334, ptr noundef %6)
  %335 = getelementptr inbounds i8, ptr %0, i64 464
  %336 = getelementptr inbounds i8, ptr %2, i64 184
  %337 = load ptr, ptr %336, align 8, !tbaa !40
  %338 = getelementptr inbounds i64, ptr %337, i64 %11
  %339 = load i64, ptr %338, align 8, !tbaa !48
  %340 = add nsw i64 %339, %11
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %335, i64 noundef %340, ptr noundef %6)
  %341 = load ptr, ptr %336, align 8, !tbaa !40
  %342 = getelementptr inbounds i64, ptr %341, i64 %11
  %343 = load i64, ptr %342, align 8, !tbaa !48
  %344 = add nsw i64 %343, %11
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %236, i64 noundef %344, ptr noundef %6)
  %345 = getelementptr inbounds i8, ptr %0, i64 584
  %346 = load ptr, ptr %345, align 8, !tbaa !40
  store i64 0, ptr %346, align 8, !tbaa !48
  %.not.not400494 = icmp sgt i64 %11, 0
  br i1 %.not.not400494, label %.lr.ph499, label %._crit_edge500

.lr.ph499:                                        ; preds = %323
  %347 = getelementptr inbounds i8, ptr %2, i64 248
  %348 = getelementptr inbounds i8, ptr %2, i64 56
  %349 = getelementptr inbounds i8, ptr %2, i64 120
  %350 = getelementptr inbounds i8, ptr %0, i64 520
  %351 = getelementptr inbounds i8, ptr %0, i64 456
  %352 = getelementptr inbounds i8, ptr %2, i64 312
  br label %353

353:                                              ; preds = %.lr.ph499, %.loopexit
  %.7497 = phi i64 [ 0, %.lr.ph499 ], [ %.11, %.loopexit ]
  %.9367496 = phi double [ 0.000000e+00, %.lr.ph499 ], [ %.13, %.loopexit ]
  %.5387495 = phi i64 [ 0, %.lr.ph499 ], [ %472, %.loopexit ]
  %.pre525 = load ptr, ptr %347, align 8, !tbaa !40
  br i1 %4, label %.loopexit412, label %354

354:                                              ; preds = %353
  %355 = load ptr, ptr %336, align 8, !tbaa !40
  %356 = getelementptr inbounds i64, ptr %355, i64 %.5387495
  %357 = load i64, ptr %356, align 8, !tbaa !48
  %358 = getelementptr inbounds i64, ptr %.pre525, i64 %.5387495
  %359 = load i64, ptr %358, align 8, !tbaa !48
  %.not401.not478 = icmp slt i64 %357, %359
  br i1 %.not401.not478, label %.lr.ph483.preheader, label %.loopexit412

.lr.ph483.preheader:                              ; preds = %354
  %360 = add i64 %.7497, %359
  %361 = sub i64 %360, %357
  %362 = sub i64 %359, %357
  %.neg558 = add i64 %357, 1
  %xtraiter553 = and i64 %362, 1
  %lcmp.mod554.not = icmp eq i64 %xtraiter553, 0
  br i1 %lcmp.mod554.not, label %.lr.ph483.prol.loopexit, label %.lr.ph483.prol

.lr.ph483.prol:                                   ; preds = %.lr.ph483.preheader
  %363 = load ptr, ptr %348, align 8, !tbaa !40
  %364 = getelementptr inbounds double, ptr %363, i64 %357
  %365 = load double, ptr %364, align 8, !tbaa !42
  %366 = load ptr, ptr %349, align 8, !tbaa !40
  %367 = getelementptr inbounds i64, ptr %366, i64 %357
  %368 = load i64, ptr %367, align 8, !tbaa !48
  %369 = load ptr, ptr %350, align 8, !tbaa !40
  %370 = getelementptr inbounds i64, ptr %369, i64 %.7497
  store i64 %368, ptr %370, align 8, !tbaa !48
  %371 = load ptr, ptr %351, align 8, !tbaa !40
  %372 = getelementptr inbounds double, ptr %371, i64 %.7497
  store double %365, ptr %372, align 8, !tbaa !42
  %373 = fadd double %.9367496, %365
  %374 = add i64 %.7497, 1
  %375 = add nsw i64 %357, 1
  br label %.lr.ph483.prol.loopexit

.lr.ph483.prol.loopexit:                          ; preds = %.lr.ph483.prol, %.lr.ph483.preheader
  %.lcssa.unr = phi double [ poison, %.lr.ph483.preheader ], [ %373, %.lr.ph483.prol ]
  %.8481.unr = phi i64 [ %.7497, %.lr.ph483.preheader ], [ %374, %.lr.ph483.prol ]
  %.10368480.unr = phi double [ %.9367496, %.lr.ph483.preheader ], [ %373, %.lr.ph483.prol ]
  %.0373479.unr = phi i64 [ %357, %.lr.ph483.preheader ], [ %375, %.lr.ph483.prol ]
  %376 = icmp eq i64 %359, %.neg558
  br i1 %376, label %.loopexit412.loopexit, label %.lr.ph483

.lr.ph483:                                        ; preds = %.lr.ph483.prol.loopexit, %.lr.ph483
  %.8481 = phi i64 [ %401, %.lr.ph483 ], [ %.8481.unr, %.lr.ph483.prol.loopexit ]
  %.10368480 = phi double [ %400, %.lr.ph483 ], [ %.10368480.unr, %.lr.ph483.prol.loopexit ]
  %.0373479 = phi i64 [ %402, %.lr.ph483 ], [ %.0373479.unr, %.lr.ph483.prol.loopexit ]
  %377 = load ptr, ptr %348, align 8, !tbaa !40
  %378 = getelementptr inbounds double, ptr %377, i64 %.0373479
  %379 = load double, ptr %378, align 8, !tbaa !42
  %380 = load ptr, ptr %349, align 8, !tbaa !40
  %381 = getelementptr inbounds i64, ptr %380, i64 %.0373479
  %382 = load i64, ptr %381, align 8, !tbaa !48
  %383 = load ptr, ptr %350, align 8, !tbaa !40
  %384 = getelementptr inbounds i64, ptr %383, i64 %.8481
  store i64 %382, ptr %384, align 8, !tbaa !48
  %385 = load ptr, ptr %351, align 8, !tbaa !40
  %386 = getelementptr inbounds double, ptr %385, i64 %.8481
  store double %379, ptr %386, align 8, !tbaa !42
  %387 = fadd double %.10368480, %379
  %388 = add i64 %.8481, 1
  %389 = add nsw i64 %.0373479, 1
  %390 = load ptr, ptr %348, align 8, !tbaa !40
  %391 = getelementptr inbounds double, ptr %390, i64 %389
  %392 = load double, ptr %391, align 8, !tbaa !42
  %393 = load ptr, ptr %349, align 8, !tbaa !40
  %394 = getelementptr inbounds i64, ptr %393, i64 %389
  %395 = load i64, ptr %394, align 8, !tbaa !48
  %396 = load ptr, ptr %350, align 8, !tbaa !40
  %397 = getelementptr inbounds i64, ptr %396, i64 %388
  store i64 %395, ptr %397, align 8, !tbaa !48
  %398 = load ptr, ptr %351, align 8, !tbaa !40
  %399 = getelementptr inbounds double, ptr %398, i64 %388
  store double %392, ptr %399, align 8, !tbaa !42
  %400 = fadd double %387, %392
  %401 = add i64 %.8481, 2
  %402 = add nsw i64 %.0373479, 2
  %exitcond522.not.1 = icmp eq i64 %401, %361
  br i1 %exitcond522.not.1, label %.loopexit412.loopexit, label %.lr.ph483, !llvm.loop !70

.loopexit412.loopexit:                            ; preds = %.lr.ph483, %.lr.ph483.prol.loopexit
  %.lcssa = phi double [ %.lcssa.unr, %.lr.ph483.prol.loopexit ], [ %400, %.lr.ph483 ]
  %.pre = load ptr, ptr %347, align 8, !tbaa !40
  br label %.loopexit412

.loopexit412:                                     ; preds = %.loopexit412.loopexit, %354, %353
  %403 = phi ptr [ %.pre525, %353 ], [ %.pre525, %354 ], [ %.pre, %.loopexit412.loopexit ]
  %.11369 = phi double [ %.9367496, %353 ], [ %.9367496, %354 ], [ %.lcssa, %.loopexit412.loopexit ]
  %.9 = phi i64 [ %.7497, %353 ], [ %.7497, %354 ], [ %361, %.loopexit412.loopexit ]
  %404 = load ptr, ptr %352, align 8, !tbaa !40
  %405 = getelementptr inbounds i64, ptr %404, i64 %.5387495
  %406 = load i64, ptr %405, align 8, !tbaa !48
  %407 = getelementptr inbounds i64, ptr %403, i64 %.5387495
  %408 = load i64, ptr %407, align 8, !tbaa !48
  %.not402 = icmp eq i64 %406, %408
  br i1 %.not402, label %413, label %409

409:                                              ; preds = %.loopexit412
  %410 = load ptr, ptr %348, align 8, !tbaa !40
  %411 = getelementptr inbounds double, ptr %410, i64 %408
  %412 = load double, ptr %411, align 8, !tbaa !42
  br label %413

413:                                              ; preds = %409, %.loopexit412
  %.0370 = phi double [ %412, %409 ], [ 0.000000e+00, %.loopexit412 ]
  %414 = load ptr, ptr %350, align 8, !tbaa !40
  %415 = getelementptr inbounds i64, ptr %414, i64 %.9
  store i64 %.5387495, ptr %415, align 8, !tbaa !48
  %416 = load ptr, ptr %351, align 8, !tbaa !40
  %417 = getelementptr inbounds double, ptr %416, i64 %.9
  store double %.0370, ptr %417, align 8, !tbaa !42
  %418 = fadd double %.11369, %.0370
  %419 = add i64 %.9, 1
  br i1 %4, label %420, label %.loopexit

420:                                              ; preds = %413
  %421 = load ptr, ptr %352, align 8, !tbaa !40
  %422 = getelementptr inbounds i64, ptr %421, i64 %.5387495
  %423 = load i64, ptr %422, align 8, !tbaa !48
  %424 = load ptr, ptr %336, align 8, !tbaa !40
  %425 = getelementptr inbounds i64, ptr %424, i64 %.5387495
  %426 = getelementptr inbounds i8, ptr %425, i64 8
  %427 = load i64, ptr %426, align 8, !tbaa !48
  %.not403.not486 = icmp slt i64 %423, %427
  br i1 %.not403.not486, label %.lr.ph491.preheader, label %.loopexit

.lr.ph491.preheader:                              ; preds = %420
  %428 = add i64 %419, %427
  %429 = sub i64 %428, %423
  %430 = sub i64 %427, %423
  %.neg559 = add i64 %423, 1
  %xtraiter555 = and i64 %430, 1
  %lcmp.mod556.not = icmp eq i64 %xtraiter555, 0
  br i1 %lcmp.mod556.not, label %.lr.ph491.prol.loopexit, label %.lr.ph491.prol

.lr.ph491.prol:                                   ; preds = %.lr.ph491.preheader
  %431 = load ptr, ptr %348, align 8, !tbaa !40
  %432 = getelementptr inbounds double, ptr %431, i64 %423
  %433 = load double, ptr %432, align 8, !tbaa !42
  %434 = load ptr, ptr %349, align 8, !tbaa !40
  %435 = getelementptr inbounds i64, ptr %434, i64 %423
  %436 = load i64, ptr %435, align 8, !tbaa !48
  %437 = load ptr, ptr %350, align 8, !tbaa !40
  %438 = getelementptr inbounds i64, ptr %437, i64 %419
  store i64 %436, ptr %438, align 8, !tbaa !48
  %439 = load ptr, ptr %351, align 8, !tbaa !40
  %440 = getelementptr inbounds double, ptr %439, i64 %419
  store double %433, ptr %440, align 8, !tbaa !42
  %441 = fadd double %418, %433
  %442 = add i64 %.9, 2
  %443 = add nsw i64 %423, 1
  br label %.lr.ph491.prol.loopexit

.lr.ph491.prol.loopexit:                          ; preds = %.lr.ph491.prol, %.lr.ph491.preheader
  %.lcssa535.unr = phi double [ poison, %.lr.ph491.preheader ], [ %441, %.lr.ph491.prol ]
  %.10489.unr = phi i64 [ %419, %.lr.ph491.preheader ], [ %442, %.lr.ph491.prol ]
  %.12488.unr = phi double [ %418, %.lr.ph491.preheader ], [ %441, %.lr.ph491.prol ]
  %.1374487.unr = phi i64 [ %423, %.lr.ph491.preheader ], [ %443, %.lr.ph491.prol ]
  %444 = icmp eq i64 %427, %.neg559
  br i1 %444, label %.loopexit, label %.lr.ph491

.lr.ph491:                                        ; preds = %.lr.ph491.prol.loopexit, %.lr.ph491
  %.10489 = phi i64 [ %469, %.lr.ph491 ], [ %.10489.unr, %.lr.ph491.prol.loopexit ]
  %.12488 = phi double [ %468, %.lr.ph491 ], [ %.12488.unr, %.lr.ph491.prol.loopexit ]
  %.1374487 = phi i64 [ %470, %.lr.ph491 ], [ %.1374487.unr, %.lr.ph491.prol.loopexit ]
  %445 = load ptr, ptr %348, align 8, !tbaa !40
  %446 = getelementptr inbounds double, ptr %445, i64 %.1374487
  %447 = load double, ptr %446, align 8, !tbaa !42
  %448 = load ptr, ptr %349, align 8, !tbaa !40
  %449 = getelementptr inbounds i64, ptr %448, i64 %.1374487
  %450 = load i64, ptr %449, align 8, !tbaa !48
  %451 = load ptr, ptr %350, align 8, !tbaa !40
  %452 = getelementptr inbounds i64, ptr %451, i64 %.10489
  store i64 %450, ptr %452, align 8, !tbaa !48
  %453 = load ptr, ptr %351, align 8, !tbaa !40
  %454 = getelementptr inbounds double, ptr %453, i64 %.10489
  store double %447, ptr %454, align 8, !tbaa !42
  %455 = fadd double %.12488, %447
  %456 = add i64 %.10489, 1
  %457 = add nsw i64 %.1374487, 1
  %458 = load ptr, ptr %348, align 8, !tbaa !40
  %459 = getelementptr inbounds double, ptr %458, i64 %457
  %460 = load double, ptr %459, align 8, !tbaa !42
  %461 = load ptr, ptr %349, align 8, !tbaa !40
  %462 = getelementptr inbounds i64, ptr %461, i64 %457
  %463 = load i64, ptr %462, align 8, !tbaa !48
  %464 = load ptr, ptr %350, align 8, !tbaa !40
  %465 = getelementptr inbounds i64, ptr %464, i64 %456
  store i64 %463, ptr %465, align 8, !tbaa !48
  %466 = load ptr, ptr %351, align 8, !tbaa !40
  %467 = getelementptr inbounds double, ptr %466, i64 %456
  store double %460, ptr %467, align 8, !tbaa !42
  %468 = fadd double %455, %460
  %469 = add i64 %.10489, 2
  %470 = add nsw i64 %.1374487, 2
  %exitcond523.not.1 = icmp eq i64 %469, %429
  br i1 %exitcond523.not.1, label %.loopexit, label %.lr.ph491, !llvm.loop !71

.loopexit:                                        ; preds = %.lr.ph491.prol.loopexit, %.lr.ph491, %420, %413
  %.13 = phi double [ %418, %413 ], [ %418, %420 ], [ %.lcssa535.unr, %.lr.ph491.prol.loopexit ], [ %468, %.lr.ph491 ]
  %.11 = phi i64 [ %419, %413 ], [ %419, %420 ], [ %429, %.lr.ph491 ], [ %429, %.lr.ph491.prol.loopexit ]
  %471 = load ptr, ptr %345, align 8, !tbaa !40
  %472 = add nuw nsw i64 %.5387495, 1
  %473 = getelementptr inbounds i64, ptr %471, i64 %472
  store i64 %.11, ptr %473, align 8, !tbaa !48
  %exitcond524.not = icmp eq i64 %472, %11
  br i1 %exitcond524.not, label %._crit_edge500, label %353, !llvm.loop !72

._crit_edge500:                                   ; preds = %.loopexit, %323
  %.9367.lcssa = phi double [ 0.000000e+00, %323 ], [ %.13, %.loopexit ]
  %.7.lcssa = phi i64 [ 0, %323 ], [ %.11, %.loopexit ]
  %474 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %.9367.lcssa, ptr noundef %6)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %474, ptr noundef nonnull @.str.594, ptr noundef %6)
  %475 = load i64, ptr %236, align 8, !tbaa !73
  %.not = icmp sgt i64 %.7.lcssa, %475
  br i1 %.not, label %479, label %476

476:                                              ; preds = %._crit_edge500
  %477 = load i64, ptr %335, align 8, !tbaa !74
  %478 = icmp sle i64 %.7.lcssa, %477
  br label %479

479:                                              ; preds = %476, %._crit_edge500
  %480 = phi i1 [ false, %._crit_edge500 ], [ %478, %476 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %480, ptr noundef nonnull @.str.593, ptr noundef %6)
  tail call void @_ZN11alglib_impl22sparsecreatecrsinplaceEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %236, ptr noundef %6)
  br label %481

481:                                              ; preds = %479, %322
  br i1 %4, label %482, label %484

482:                                              ; preds = %481
  %483 = getelementptr inbounds i8, ptr %0, i64 26280
  tail call void @_ZN11alglib_impl25sparsecopytransposecrsbufEPKNS_12sparsematrixEPS0_PNS_8ae_stateE(ptr noundef nonnull %236, ptr noundef nonnull %483, ptr noundef %6)
  tail call void @_ZN11alglib_impl13sparsecopybufEPKNS_12sparsematrixEPS0_PNS_8ae_stateE(ptr noundef nonnull %483, ptr noundef nonnull %236, ptr noundef %6)
  br label %484

484:                                              ; preds = %482, %481
  %485 = getelementptr inbounds i8, ptr %0, i64 56
  %486 = getelementptr inbounds i8, ptr %0, i64 26072
  %487 = getelementptr inbounds i8, ptr %0, i64 25752
  tail call void @_ZN11alglib_impl20scalesparseqpinplaceEPKNS_9ae_vectorElPNS_12sparsematrixEPNS_9ae_matrixEPS0_lS7_PNS_8ae_stateE(ptr noundef nonnull %485, i64 noundef %11, ptr noundef nonnull %236, ptr noundef nonnull %486, ptr noundef nonnull %487, i64 noundef 0, ptr noundef nonnull %21, ptr noundef %6)
  %488 = getelementptr inbounds i8, ptr %0, i64 1
  %489 = load i8, ptr %488, align 1, !tbaa !55, !range !56, !noundef !57
  %490 = trunc nuw i8 %489 to i1
  br i1 %490, label %491, label %493

491:                                              ; preds = %484
  %492 = tail call noundef double @_ZN11alglib_impl24normalizesparseqpinplaceEPNS_12sparsematrixEbPNS_9ae_matrixEPNS_9ae_vectorElS5_lPNS_8ae_stateE(ptr noundef nonnull %236, i1 noundef zeroext false, ptr noundef nonnull %486, ptr noundef nonnull %487, i64 noundef 0, ptr noundef nonnull %21, i64 noundef %11, ptr noundef %6)
  store double %492, ptr %23, align 8, !tbaa !36
  br label %493

493:                                              ; preds = %491, %484
  %494 = getelementptr inbounds i8, ptr %0, i64 584
  %495 = load ptr, ptr %494, align 8, !tbaa !40
  %496 = getelementptr inbounds i64, ptr %495, i64 %11
  %497 = load i64, ptr %496, align 8, !tbaa !48
  %498 = icmp eq i64 %497, %11
  %499 = getelementptr inbounds i8, ptr %0, i64 840
  %500 = zext i1 %498 to i8
  store i8 %500, ptr %499, align 8, !tbaa !58
  br label %501

501:                                              ; preds = %493, %231
  %502 = load i64, ptr %22, align 8, !tbaa !35
  %503 = icmp sgt i64 %502, -1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %503, ptr noundef nonnull @.str.593, ptr noundef %6)
  ret void
}

declare void @_ZN11alglib_impl11rvectorcopyElPKNS_9ae_vectorElPS0_lPNS_8ae_stateE(i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl25sparsecopytransposecrsbufEPKNS_12sparsematrixEPS0_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #3

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

!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, !10, i64 16}
!6 = !{!"_ZTSN11alglib_impl9vipmstateE", !7, i64 0, !7, i64 1, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !7, i64 48, !12, i64 56, !12, i64 120, !12, i64 184, !11, i64 248, !12, i64 256, !15, i64 320, !16, i64 400, !12, i64 768, !10, i64 832, !7, i64 840, !12, i64 848, !12, i64 912, !12, i64 976, !12, i64 1040, !12, i64 1104, !12, i64 1168, !15, i64 1232, !15, i64 1312, !16, i64 1392, !16, i64 1760, !16, i64 2128, !12, i64 2496, !12, i64 2560, !12, i64 2624, !12, i64 2688, !12, i64 2752, !10, i64 2816, !10, i64 2824, !17, i64 2832, !17, i64 3488, !17, i64 4144, !17, i64 4800, !17, i64 5456, !12, i64 6112, !12, i64 6176, !12, i64 6240, !12, i64 6304, !12, i64 6368, !10, i64 6432, !10, i64 6440, !10, i64 6448, !10, i64 6456, !10, i64 6464, !10, i64 6472, !7, i64 6480, !7, i64 6481, !10, i64 6488, !7, i64 6496, !7, i64 6497, !12, i64 6504, !12, i64 6568, !12, i64 6632, !12, i64 6696, !12, i64 6760, !12, i64 6824, !12, i64 6888, !12, i64 6952, !12, i64 7016, !12, i64 7080, !12, i64 7144, !12, i64 7208, !12, i64 7272, !12, i64 7336, !12, i64 7400, !15, i64 7464, !12, i64 7544, !12, i64 7608, !12, i64 7672, !12, i64 7736, !12, i64 7800, !18, i64 7864, !29, i64 23944, !12, i64 24584, !12, i64 24648, !12, i64 24712, !12, i64 24776, !12, i64 24840, !12, i64 24904, !12, i64 24968, !12, i64 25032, !17, i64 25096, !12, i64 25752, !12, i64 25816, !12, i64 25880, !12, i64 25944, !12, i64 26008, !15, i64 26072, !12, i64 26152, !12, i64 26216, !16, i64 26280}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !7, i64 16, !13, i64 24, !8, i64 56}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !13, i64 40, !8, i64 72}
!16 = !{!"_ZTSN11alglib_impl12sparsematrixE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!17 = !{!"_ZTSN11alglib_impl8vipmvarsE", !10, i64 0, !10, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !12, i64 208, !12, i64 272, !12, i64 336, !12, i64 400, !12, i64 464, !12, i64 528, !12, i64 592}
!18 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !16, i64 0, !12, i64 368, !12, i64 432, !12, i64 496, !12, i64 560, !10, i64 624, !19, i64 632, !12, i64 15696, !12, i64 15760, !12, i64 15824, !12, i64 15888, !12, i64 15952, !12, i64 16016}
!19 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !7, i64 136, !7, i64 137, !7, i64 138, !7, i64 139, !7, i64 140, !12, i64 144, !10, i64 208, !12, i64 216, !12, i64 280, !12, i64 344, !12, i64 408, !12, i64 472, !12, i64 536, !7, i64 600, !12, i64 608, !12, i64 672, !12, i64 736, !12, i64 800, !12, i64 864, !12, i64 928, !7, i64 992, !7, i64 993, !20, i64 1000, !12, i64 1512, !12, i64 1576, !12, i64 1640, !12, i64 1704, !12, i64 1768, !12, i64 1832, !21, i64 1896, !21, i64 2040, !21, i64 2184, !21, i64 2328, !21, i64 2472, !21, i64 2616, !12, i64 2760, !12, i64 2824, !12, i64 2888, !12, i64 2952, !12, i64 3016, !23, i64 3080, !28, i64 7464, !12, i64 13816, !12, i64 13880, !12, i64 13944, !12, i64 14008, !12, i64 14072, !12, i64 14136, !16, i64 14200, !16, i64 14568, !12, i64 14936, !12, i64 15000}
!20 = !{!"_ZTSN11alglib_impl9spcholadjE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !12, i64 320, !12, i64 384, !12, i64 448}
!21 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !22, i64 64, !13, i64 112}
!22 = !{!"_ZTSN11alglib_impl7ae_lockE", !14, i64 0, !13, i64 8, !7, i64 40}
!23 = !{!"_ZTSN11alglib_impl9amdbufferE", !10, i64 0, !7, i64 8, !7, i64 9, !12, i64 16, !12, i64 80, !12, i64 144, !24, i64 208, !24, i64 568, !24, i64 928, !25, i64 1288, !26, i64 1496, !27, i64 1968, !12, i64 2120, !12, i64 2184, !12, i64 2248, !27, i64 2312, !27, i64 2464, !27, i64 2616, !27, i64 2768, !27, i64 2920, !27, i64 3072, !12, i64 3224, !10, i64 3288, !27, i64 3296, !27, i64 3448, !24, i64 3600, !27, i64 3960, !12, i64 4112, !12, i64 4176, !12, i64 4240, !15, i64 4304}
!24 = !{!"_ZTSN11alglib_impl8amdknsetE", !10, i64 0, !10, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !12, i64 208, !12, i64 272, !10, i64 336, !10, i64 344, !10, i64 352}
!25 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !10, i64 0, !12, i64 8, !12, i64 72, !12, i64 136, !10, i64 200}
!26 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !10, i64 0, !7, i64 8, !10, i64 16, !12, i64 24, !12, i64 88, !12, i64 152, !12, i64 216, !12, i64 280, !12, i64 344, !12, i64 408}
!27 = !{!"_ZTSN11alglib_impl5nisetE", !10, i64 0, !10, i64 8, !12, i64 16, !12, i64 80, !10, i64 144}
!28 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !12, i64 0, !12, i64 64, !23, i64 128, !16, i64 4512, !16, i64 4880, !16, i64 5248, !16, i64 5616, !16, i64 5984}
!29 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !12, i64 320, !12, i64 384, !12, i64 448, !12, i64 512, !12, i64 576}
!30 = !{!6, !10, i64 8}
!31 = !{!6, !10, i64 6488}
!32 = !{!6, !7, i64 48}
!33 = !{!6, !7, i64 6497}
!34 = !{!6, !7, i64 6496}
!35 = !{!6, !10, i64 832}
!36 = !{!6, !11, i64 248}
!37 = !{!16, !10, i64 320}
!38 = !{!16, !10, i64 328}
!39 = !{!16, !10, i64 336}
!40 = !{!8, !8, i64 0}
!41 = !{!14, !14, i64 0}
!42 = !{!11, !11, i64 0}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.unroll.disable"}
!47 = distinct !{!47, !44}
!48 = !{!10, !10, i64 0}
!49 = distinct !{!49, !44}
!50 = distinct !{!50, !44}
!51 = distinct !{!51, !44}
!52 = distinct !{!52, !44}
!53 = distinct !{!53, !46}
!54 = distinct !{!54, !44}
!55 = !{!6, !7, i64 1}
!56 = !{i8 0, i8 2}
!57 = !{}
!58 = !{!6, !7, i64 840}
!59 = !{!6, !10, i64 720}
!60 = !{!6, !10, i64 728}
!61 = !{!6, !10, i64 736}
!62 = distinct !{!62, !44}
!63 = distinct !{!63, !44, !64, !65}
!64 = !{!"llvm.loop.isvectorized", i32 1}
!65 = !{!"llvm.loop.unroll.runtime.disable"}
!66 = distinct !{!66, !44, !65, !64}
!67 = distinct !{!67, !44}
!68 = distinct !{!68, !44}
!69 = distinct !{!69, !44}
!70 = distinct !{!70, !44}
!71 = distinct !{!71, !44}
!72 = distinct !{!72, !44}
!73 = !{!6, !10, i64 400}
!74 = !{!6, !10, i64 464}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass