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

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

%"struct.alglib_impl::nlsstate" = type { i64, i64, i64, i64, i64, double, %"struct.alglib_impl::nlpstoppingcriteria", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, i64, %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::dfgmstate", i8, %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::nlpstoppingcriteria" = type { double, double, i64 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.1 = 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 }
%"struct.alglib_impl::rcommstate" = type { i32, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::dfgmstate" = type { i64, i64, i64, i64, i8, i64, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, i64, i64, double, i64, %"struct.alglib_impl::ae_vector", double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::rcommstate", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::hqrndstate", %"struct.alglib_impl::df2psmodel", %"struct.alglib_impl::dfolsamodel", i8, i8, i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", 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::vipmstate", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::matinvreport", i64, i64, i64 }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }
%"struct.alglib_impl::df2psmodel" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::dfolsamodel" = type { %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"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::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::matinvreport" = type { i64, double, double }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.212 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.612 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1322 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1323 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1324 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1521 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1522 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.1523 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.1524 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.1525 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.1526 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.1527 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.1528 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1529 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1530 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1531 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1532 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1533 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1534 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1535 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1536 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1537 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1538 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1539 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.1540 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1541 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1542 = external hidden unnamed_addr constant [94 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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl12nlsiterationEPNS_8nlsstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %15, i32 0, i32 43
  %17 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %16, i32 0, i32 0
  %18 = load i32, ptr %17, align 8, !tbaa !9
  %19 = icmp sge i32 %18, 0
  br i1 %19, label %20, label %72

20:                                               ; preds = %2
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %21, i32 0, i32 43
  %23 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %22, i32 0, i32 1
  %24 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %25 = load ptr, ptr %24, align 8, !tbaa !40
  %26 = getelementptr inbounds i64, ptr %25, i64 0
  %27 = load i64, ptr %26, align 8, !tbaa !41
  store i64 %27, ptr %6, align 8, !tbaa !41
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %28, i32 0, i32 43
  %30 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %29, i32 0, i32 1
  %31 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %32 = load ptr, ptr %31, align 8, !tbaa !40
  %33 = getelementptr inbounds i64, ptr %32, i64 1
  %34 = load i64, ptr %33, align 8, !tbaa !41
  store i64 %34, ptr %7, align 8, !tbaa !41
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %35, i32 0, i32 43
  %37 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %36, i32 0, i32 1
  %38 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %39 = load ptr, ptr %38, align 8, !tbaa !40
  %40 = getelementptr inbounds i64, ptr %39, i64 2
  %41 = load i64, ptr %40, align 8, !tbaa !41
  store i64 %41, ptr %8, align 8, !tbaa !41
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %42, i32 0, i32 43
  %44 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %43, i32 0, i32 1
  %45 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %44, i32 0, i32 4
  %46 = load ptr, ptr %45, align 8, !tbaa !40
  %47 = getelementptr inbounds i64, ptr %46, i64 3
  %48 = load i64, ptr %47, align 8, !tbaa !41
  store i64 %48, ptr %9, align 8, !tbaa !41
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %49, i32 0, i32 43
  %51 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %50, i32 0, i32 1
  %52 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %53 = load ptr, ptr %52, align 8, !tbaa !40
  %54 = getelementptr inbounds i64, ptr %53, i64 4
  %55 = load i64, ptr %54, align 8, !tbaa !41
  store i64 %55, ptr %10, align 8, !tbaa !41
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %56, i32 0, i32 43
  %58 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %57, i32 0, i32 1
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %60 = load ptr, ptr %59, align 8, !tbaa !40
  %61 = getelementptr inbounds i64, ptr %60, i64 5
  %62 = load i64, ptr %61, align 8, !tbaa !41
  store i64 %62, ptr %11, align 8, !tbaa !41
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %63, i32 0, i32 43
  %65 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %64, i32 0, i32 2
  %66 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !40
  %68 = getelementptr inbounds i8, ptr %67, i64 0
  %69 = load i8, ptr %68, align 1, !tbaa !42, !range !43, !noundef !44
  %70 = trunc i8 %69 to i1
  %71 = zext i1 %70 to i8
  store i8 %71, ptr %12, align 1, !tbaa !42
  br label %73

72:                                               ; preds = %2
  store i64 359, ptr %6, align 8, !tbaa !41
  store i64 -58, ptr %7, align 8, !tbaa !41
  store i64 -919, ptr %8, align 8, !tbaa !41
  store i64 -909, ptr %9, align 8, !tbaa !41
  store i64 81, ptr %10, align 8, !tbaa !41
  store i64 255, ptr %11, align 8, !tbaa !41
  store i8 0, ptr %12, align 1, !tbaa !42
  br label %73

73:                                               ; preds = %72, %20
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %74, i32 0, i32 43
  %76 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %75, i32 0, i32 0
  %77 = load i32, ptr %76, align 8, !tbaa !9
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %73
  br label %556

80:                                               ; preds = %73
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %81, i32 0, i32 43
  %83 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %82, i32 0, i32 0
  %84 = load i32, ptr %83, align 8, !tbaa !9
  %85 = icmp eq i32 %84, 1
  br i1 %85, label %86, label %87

86:                                               ; preds = %80
  br label %633

87:                                               ; preds = %80
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %88, i32 0, i32 1
  %90 = load i64, ptr %89, align 8, !tbaa !45
  store i64 %90, ptr %6, align 8, !tbaa !41
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %91, i32 0, i32 2
  %93 = load i64, ptr %92, align 8, !tbaa !46
  store i64 %93, ptr %8, align 8, !tbaa !41
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %94, i32 0, i32 13
  %96 = load i64, ptr %95, align 8, !tbaa !47
  store i64 %96, ptr %9, align 8, !tbaa !41
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %97, i32 0, i32 48
  store i64 0, ptr %98, align 8, !tbaa !48
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %99, i32 0, i32 49
  store i64 0, ptr %100, align 8, !tbaa !49
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %101, i32 0, i32 50
  store i64 0, ptr %102, align 8, !tbaa !50
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %103, i32 0, i32 47
  store i64 0, ptr %104, align 8, !tbaa !51
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %105, i32 0, i32 24
  store i8 0, ptr %106, align 8, !tbaa !52
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %107, i32 0, i32 45
  store i8 0, ptr %108, align 8, !tbaa !53
  store i8 0, ptr %12, align 1, !tbaa !42
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %109, i32 0, i32 4
  %111 = load i64, ptr %110, align 8, !tbaa !54
  %112 = icmp eq i64 %111, 0
  br i1 %112, label %113, label %122

113:                                              ; preds = %87
  %114 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef @.str.1322)
  br i1 %114, label %117, label %115

115:                                              ; preds = %113
  %116 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef @.str.1324)
  br label %117

117:                                              ; preds = %115, %113
  %118 = phi i1 [ true, %113 ], [ %116, %115 ]
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %119, i32 0, i32 45
  %121 = zext i1 %118 to i8
  store i8 %121, ptr %120, align 8, !tbaa !53
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %122

122:                                              ; preds = %117, %87
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %123, i32 0, i32 4
  %125 = load i64, ptr %124, align 8, !tbaa !54
  %126 = icmp eq i64 %125, 1
  br i1 %126, label %127, label %136

127:                                              ; preds = %122
  %128 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef @.str.1323)
  br i1 %128, label %131, label %129

129:                                              ; preds = %127
  %130 = call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef @.str.1324)
  br label %131

131:                                              ; preds = %129, %127
  %132 = phi i1 [ true, %127 ], [ %130, %129 ]
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %133, i32 0, i32 45
  %135 = zext i1 %132 to i8
  store i8 %135, ptr %134, align 8, !tbaa !53
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %136

136:                                              ; preds = %131, %122
  %137 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %138 = trunc i8 %137 to i1
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %138, ptr noundef @.str.1521, ptr noundef %139)
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %140, i32 0, i32 45
  %142 = load i8, ptr %141, align 8, !tbaa !53, !range !43, !noundef !44
  %143 = trunc i8 %142 to i1
  br i1 %143, label %144, label %147

144:                                              ; preds = %136
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.612)
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.212)
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1522)
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.212)
  %145 = load i64, ptr %6, align 8, !tbaa !41
  %146 = trunc i64 %145 to i32
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1523, i32 noundef %146)
  br label %147

147:                                              ; preds = %144, %136
  %148 = load i64, ptr %6, align 8, !tbaa !41
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %149, i32 0, i32 19
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %148, ptr noundef %150, ptr noundef %151)
  %152 = load i64, ptr %6, align 8, !tbaa !41
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %153, i32 0, i32 20
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %152, ptr noundef %154, ptr noundef %155)
  %156 = load i64, ptr %6, align 8, !tbaa !41
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %157, i32 0, i32 21
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %156, ptr noundef %158, ptr noundef %159)
  %160 = load i64, ptr %6, align 8, !tbaa !41
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %161, i32 0, i32 22
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %160, ptr noundef %162, ptr noundef %163)
  %164 = load i64, ptr %6, align 8, !tbaa !41
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %165, i32 0, i32 23
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %164, ptr noundef %166, ptr noundef %167)
  store i64 0, ptr %7, align 8, !tbaa !41
  store i64 0, ptr %10, align 8, !tbaa !41
  br label %168

168:                                              ; preds = %308, %147
  %169 = load i64, ptr %10, align 8, !tbaa !41
  %170 = load i64, ptr %6, align 8, !tbaa !41
  %171 = sub nsw i64 %170, 1
  %172 = icmp sle i64 %169, %171
  br i1 %172, label %173, label %311

173:                                              ; preds = %168
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %174, i32 0, i32 17
  %176 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %175, i32 0, i32 4
  %177 = load ptr, ptr %176, align 8, !tbaa !40
  %178 = load i64, ptr %10, align 8, !tbaa !41
  %179 = getelementptr inbounds double, ptr %177, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !55
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %180, ptr noundef %181)
  br i1 %182, label %183, label %246

183:                                              ; preds = %173
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %184, i32 0, i32 18
  %186 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %185, i32 0, i32 4
  %187 = load ptr, ptr %186, align 8, !tbaa !40
  %188 = load i64, ptr %10, align 8, !tbaa !41
  %189 = getelementptr inbounds double, ptr %187, i64 %188
  %190 = load double, ptr %189, align 8, !tbaa !55
  %191 = load ptr, ptr %5, align 8, !tbaa !5
  %192 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %190, ptr noundef %191)
  br i1 %192, label %193, label %246

193:                                              ; preds = %183
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %194, i32 0, i32 17
  %196 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %195, i32 0, i32 4
  %197 = load ptr, ptr %196, align 8, !tbaa !40
  %198 = load i64, ptr %10, align 8, !tbaa !41
  %199 = getelementptr inbounds double, ptr %197, i64 %198
  %200 = load double, ptr %199, align 8, !tbaa !55
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %201, i32 0, i32 18
  %203 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %202, i32 0, i32 4
  %204 = load ptr, ptr %203, align 8, !tbaa !40
  %205 = load i64, ptr %10, align 8, !tbaa !41
  %206 = getelementptr inbounds double, ptr %204, i64 %205
  %207 = load double, ptr %206, align 8, !tbaa !55
  %208 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %200, double noundef %207)
  br i1 %208, label %209, label %222

209:                                              ; preds = %193
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %210, i32 0, i32 45
  %212 = load i8, ptr %211, align 8, !tbaa !53, !range !43, !noundef !44
  %213 = trunc i8 %212 to i1
  br i1 %213, label %214, label %217

214:                                              ; preds = %209
  %215 = load i64, ptr %10, align 8, !tbaa !41
  %216 = trunc i64 %215 to i32
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1524, i32 noundef %216)
  br label %217

217:                                              ; preds = %214, %209
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %218, i32 0, i32 49
  store i64 -3, ptr %219, align 8, !tbaa !49
  store i8 0, ptr %13, align 1, !tbaa !42
  %220 = load i8, ptr %13, align 1, !tbaa !42, !range !43, !noundef !44
  %221 = trunc i8 %220 to i1
  store i1 %221, ptr %3, align 1
  store i32 1, ptr %14, align 4
  br label %815

222:                                              ; preds = %193
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %223, i32 0, i32 17
  %225 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %224, i32 0, i32 4
  %226 = load ptr, ptr %225, align 8, !tbaa !40
  %227 = load i64, ptr %10, align 8, !tbaa !41
  %228 = getelementptr inbounds double, ptr %226, i64 %227
  %229 = load double, ptr %228, align 8, !tbaa !55
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %230, i32 0, i32 18
  %232 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %231, i32 0, i32 4
  %233 = load ptr, ptr %232, align 8, !tbaa !40
  %234 = load i64, ptr %10, align 8, !tbaa !41
  %235 = getelementptr inbounds double, ptr %233, i64 %234
  %236 = load double, ptr %235, align 8, !tbaa !55
  %237 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %229, double noundef %236)
  br i1 %237, label %238, label %245

238:                                              ; preds = %222
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %239, i32 0, i32 19
  %241 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %240, i32 0, i32 4
  %242 = load ptr, ptr %241, align 8, !tbaa !40
  %243 = load i64, ptr %10, align 8, !tbaa !41
  %244 = getelementptr inbounds i64, ptr %242, i64 %243
  store i64 -1, ptr %244, align 8, !tbaa !41
  br label %308

245:                                              ; preds = %222
  br label %246

246:                                              ; preds = %245, %183, %173
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %247, i32 0, i32 9
  %249 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %248, i32 0, i32 4
  %250 = load ptr, ptr %249, align 8, !tbaa !40
  %251 = load i64, ptr %10, align 8, !tbaa !41
  %252 = getelementptr inbounds double, ptr %250, i64 %251
  %253 = load double, ptr %252, align 8, !tbaa !55
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  %255 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %254, i32 0, i32 23
  %256 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %255, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !40
  %258 = load i64, ptr %7, align 8, !tbaa !41
  %259 = getelementptr inbounds double, ptr %257, i64 %258
  store double %253, ptr %259, align 8, !tbaa !55
  %260 = load ptr, ptr %4, align 8, !tbaa !5
  %261 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %260, i32 0, i32 8
  %262 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %261, i32 0, i32 4
  %263 = load ptr, ptr %262, align 8, !tbaa !40
  %264 = load i64, ptr %10, align 8, !tbaa !41
  %265 = getelementptr inbounds double, ptr %263, i64 %264
  %266 = load double, ptr %265, align 8, !tbaa !55
  %267 = load ptr, ptr %4, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %267, i32 0, i32 22
  %269 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %268, i32 0, i32 4
  %270 = load ptr, ptr %269, align 8, !tbaa !40
  %271 = load i64, ptr %7, align 8, !tbaa !41
  %272 = getelementptr inbounds double, ptr %270, i64 %271
  store double %266, ptr %272, align 8, !tbaa !55
  %273 = load ptr, ptr %4, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %273, i32 0, i32 17
  %275 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %274, i32 0, i32 4
  %276 = load ptr, ptr %275, align 8, !tbaa !40
  %277 = load i64, ptr %10, align 8, !tbaa !41
  %278 = getelementptr inbounds double, ptr %276, i64 %277
  %279 = load double, ptr %278, align 8, !tbaa !55
  %280 = load ptr, ptr %4, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %280, i32 0, i32 20
  %282 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %281, i32 0, i32 4
  %283 = load ptr, ptr %282, align 8, !tbaa !40
  %284 = load i64, ptr %7, align 8, !tbaa !41
  %285 = getelementptr inbounds double, ptr %283, i64 %284
  store double %279, ptr %285, align 8, !tbaa !55
  %286 = load ptr, ptr %4, align 8, !tbaa !5
  %287 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %286, i32 0, i32 18
  %288 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %287, i32 0, i32 4
  %289 = load ptr, ptr %288, align 8, !tbaa !40
  %290 = load i64, ptr %10, align 8, !tbaa !41
  %291 = getelementptr inbounds double, ptr %289, i64 %290
  %292 = load double, ptr %291, align 8, !tbaa !55
  %293 = load ptr, ptr %4, align 8, !tbaa !5
  %294 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %293, i32 0, i32 21
  %295 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %294, i32 0, i32 4
  %296 = load ptr, ptr %295, align 8, !tbaa !40
  %297 = load i64, ptr %7, align 8, !tbaa !41
  %298 = getelementptr inbounds double, ptr %296, i64 %297
  store double %292, ptr %298, align 8, !tbaa !55
  %299 = load i64, ptr %7, align 8, !tbaa !41
  %300 = load ptr, ptr %4, align 8, !tbaa !5
  %301 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %300, i32 0, i32 19
  %302 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %301, i32 0, i32 4
  %303 = load ptr, ptr %302, align 8, !tbaa !40
  %304 = load i64, ptr %10, align 8, !tbaa !41
  %305 = getelementptr inbounds i64, ptr %303, i64 %304
  store i64 %299, ptr %305, align 8, !tbaa !41
  %306 = load i64, ptr %7, align 8, !tbaa !41
  %307 = add nsw i64 %306, 1
  store i64 %307, ptr %7, align 8, !tbaa !41
  br label %308

308:                                              ; preds = %246, %238
  %309 = load i64, ptr %10, align 8, !tbaa !41
  %310 = add nsw i64 %309, 1
  store i64 %310, ptr %10, align 8, !tbaa !41
  br label %168, !llvm.loop !56

311:                                              ; preds = %168
  %312 = load i64, ptr %7, align 8, !tbaa !41
  %313 = icmp eq i64 %312, 0
  br i1 %313, label %314, label %333

314:                                              ; preds = %311
  %315 = load ptr, ptr %4, align 8, !tbaa !5
  %316 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %315, i32 0, i32 45
  %317 = load i8, ptr %316, align 8, !tbaa !53, !range !43, !noundef !44
  %318 = trunc i8 %317 to i1
  br i1 %318, label %319, label %320

319:                                              ; preds = %314
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1525)
  br label %320

320:                                              ; preds = %319, %314
  %321 = load ptr, ptr %4, align 8, !tbaa !5
  %322 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %321, i32 0, i32 49
  store i64 2, ptr %322, align 8, !tbaa !49
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %323, i32 0, i32 48
  store i64 0, ptr %324, align 8, !tbaa !48
  %325 = load i64, ptr %6, align 8, !tbaa !41
  %326 = load ptr, ptr %4, align 8, !tbaa !5
  %327 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %326, i32 0, i32 17
  %328 = load ptr, ptr %4, align 8, !tbaa !5
  %329 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %328, i32 0, i32 46
  %330 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %325, ptr noundef %327, ptr noundef %329, ptr noundef %330)
  store i8 0, ptr %13, align 1, !tbaa !42
  %331 = load i8, ptr %13, align 1, !tbaa !42, !range !43, !noundef !44
  %332 = trunc i8 %331 to i1
  store i1 %332, ptr %3, align 1
  store i32 1, ptr %14, align 4
  br label %815

333:                                              ; preds = %311
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %334, i32 0, i32 45
  %336 = load i8, ptr %335, align 8, !tbaa !53, !range !43, !noundef !44
  %337 = trunc i8 %336 to i1
  br i1 %337, label %338, label %351

338:                                              ; preds = %333
  %339 = load i64, ptr %7, align 8, !tbaa !41
  %340 = trunc i64 %339 to i32
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1526, i32 noundef %340)
  %341 = load i64, ptr %8, align 8, !tbaa !41
  %342 = trunc i64 %341 to i32
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1527, i32 noundef %342)
  %343 = load ptr, ptr %4, align 8, !tbaa !5
  %344 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %343, i32 0, i32 14
  %345 = load i64, ptr %344, align 8, !tbaa !58
  %346 = trunc i64 %345 to i32
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1528, i32 noundef %346)
  %347 = load ptr, ptr %4, align 8, !tbaa !5
  %348 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %347, i32 0, i32 13
  %349 = load i64, ptr %348, align 8, !tbaa !47
  %350 = trunc i64 %349 to i32
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1529, i32 noundef %350)
  br label %351

351:                                              ; preds = %338, %333
  %352 = load ptr, ptr %4, align 8, !tbaa !5
  %353 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %352, i32 0, i32 0
  %354 = load i64, ptr %353, align 8, !tbaa !59
  %355 = icmp eq i64 %354, 2
  %356 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %355, ptr noundef @.str.1530, ptr noundef %356)
  store i8 0, ptr %12, align 1, !tbaa !42
  %357 = load ptr, ptr %4, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %357, i32 0, i32 3
  %359 = load i64, ptr %358, align 8, !tbaa !60
  %360 = icmp eq i64 %359, 0
  br i1 %360, label %361, label %380

361:                                              ; preds = %351
  %362 = load i64, ptr %6, align 8, !tbaa !41
  %363 = load ptr, ptr %4, align 8, !tbaa !5
  %364 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %363, i32 0, i32 26
  %365 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %362, ptr noundef %364, ptr noundef %365)
  %366 = load i64, ptr %8, align 8, !tbaa !41
  %367 = load i64, ptr %9, align 8, !tbaa !41
  %368 = add nsw i64 %366, %367
  %369 = load ptr, ptr %4, align 8, !tbaa !5
  %370 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %369, i32 0, i32 39
  %371 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %368, ptr noundef %370, ptr noundef %371)
  %372 = load i64, ptr %6, align 8, !tbaa !41
  %373 = load ptr, ptr %4, align 8, !tbaa !5
  %374 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %373, i32 0, i32 40
  %375 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %372, ptr noundef %374, ptr noundef %375)
  %376 = load i64, ptr %6, align 8, !tbaa !41
  %377 = load ptr, ptr %4, align 8, !tbaa !5
  %378 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %377, i32 0, i32 37
  %379 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %376, ptr noundef %378, ptr noundef %379)
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %380

380:                                              ; preds = %361, %351
  %381 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %382 = trunc i8 %381 to i1
  %383 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %382, ptr noundef @.str.1531, ptr noundef %383)
  store i8 0, ptr %12, align 1, !tbaa !42
  %384 = load ptr, ptr %4, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %384, i32 0, i32 4
  %386 = load i64, ptr %385, align 8, !tbaa !54
  %387 = icmp eq i64 %386, 0
  br i1 %387, label %393, label %388

388:                                              ; preds = %380
  %389 = load ptr, ptr %4, align 8, !tbaa !5
  %390 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %389, i32 0, i32 4
  %391 = load i64, ptr %390, align 8, !tbaa !54
  %392 = icmp eq i64 %391, 1
  br i1 %392, label %393, label %434

393:                                              ; preds = %388, %380
  store i64 -999999, ptr %10, align 8, !tbaa !41
  %394 = load ptr, ptr %4, align 8, !tbaa !5
  %395 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %394, i32 0, i32 4
  %396 = load i64, ptr %395, align 8, !tbaa !54
  %397 = icmp eq i64 %396, 0
  br i1 %397, label %398, label %399

398:                                              ; preds = %393
  store i64 0, ptr %10, align 8, !tbaa !41
  br label %399

399:                                              ; preds = %398, %393
  %400 = load ptr, ptr %4, align 8, !tbaa !5
  %401 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %400, i32 0, i32 4
  %402 = load i64, ptr %401, align 8, !tbaa !54
  %403 = icmp eq i64 %402, 1
  br i1 %403, label %404, label %405

404:                                              ; preds = %399
  store i64 1, ptr %10, align 8, !tbaa !41
  br label %405

405:                                              ; preds = %404, %399
  %406 = load i64, ptr %10, align 8, !tbaa !41
  %407 = icmp sge i64 %406, 0
  %408 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %407, ptr noundef @.str.1532, ptr noundef %408)
  %409 = load ptr, ptr %4, align 8, !tbaa !5
  %410 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %409, i32 0, i32 20
  %411 = load ptr, ptr %4, align 8, !tbaa !5
  %412 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %411, i32 0, i32 21
  %413 = load ptr, ptr %4, align 8, !tbaa !5
  %414 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %413, i32 0, i32 22
  %415 = load ptr, ptr %4, align 8, !tbaa !5
  %416 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %415, i32 0, i32 23
  %417 = load i64, ptr %7, align 8, !tbaa !41
  %418 = load i64, ptr %8, align 8, !tbaa !41
  %419 = load i64, ptr %10, align 8, !tbaa !41
  %420 = load ptr, ptr %4, align 8, !tbaa !5
  %421 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %420, i32 0, i32 6
  %422 = load ptr, ptr %4, align 8, !tbaa !5
  %423 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %422, i32 0, i32 12
  %424 = load i64, ptr %423, align 8, !tbaa !61
  %425 = load ptr, ptr %4, align 8, !tbaa !5
  %426 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %425, i32 0, i32 10
  %427 = load double, ptr %426, align 8, !tbaa !62
  %428 = load ptr, ptr %4, align 8, !tbaa !5
  %429 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %428, i32 0, i32 11
  %430 = load i64, ptr %429, align 8, !tbaa !63
  %431 = load ptr, ptr %4, align 8, !tbaa !5
  %432 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %431, i32 0, i32 44
  %433 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl11dfgminitbufEPKNS_9ae_vectorES2_S2_S2_llblPKNS_19nlpstoppingcriteriaEldlPNS_9dfgmstateEPNS_8ae_stateE(ptr noundef %410, ptr noundef %412, ptr noundef %414, ptr noundef %416, i64 noundef %417, i64 noundef %418, i1 noundef zeroext true, i64 noundef %419, ptr noundef %421, i64 noundef %424, double noundef %427, i64 noundef %430, ptr noundef %432, ptr noundef %433)
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %434

434:                                              ; preds = %405, %388
  %435 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %436 = trunc i8 %435 to i1
  %437 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %436, ptr noundef @.str.1533, ptr noundef %437)
  br label %438

438:                                              ; preds = %697, %434
  %439 = load ptr, ptr %4, align 8, !tbaa !5
  %440 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %439, i32 0, i32 25
  store i64 0, ptr %440, align 8, !tbaa !64
  store i8 0, ptr %12, align 1, !tbaa !42
  %441 = load ptr, ptr %4, align 8, !tbaa !5
  %442 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %441, i32 0, i32 4
  %443 = load i64, ptr %442, align 8, !tbaa !54
  %444 = icmp eq i64 %443, 0
  br i1 %444, label %450, label %445

445:                                              ; preds = %438
  %446 = load ptr, ptr %4, align 8, !tbaa !5
  %447 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %446, i32 0, i32 4
  %448 = load i64, ptr %447, align 8, !tbaa !54
  %449 = icmp eq i64 %448, 1
  br i1 %449, label %450, label %534

450:                                              ; preds = %445, %438
  %451 = load ptr, ptr %4, align 8, !tbaa !5
  %452 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %451, i32 0, i32 44
  %453 = load ptr, ptr %4, align 8, !tbaa !5
  %454 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %453, i32 0, i32 24
  %455 = load i8, ptr %454, align 8, !tbaa !52, !range !43, !noundef !44
  %456 = trunc i8 %455 to i1
  %457 = load ptr, ptr %5, align 8, !tbaa !5
  %458 = call noundef zeroext i1 @_ZN11alglib_impl13dfgmiterationEPNS_9dfgmstateEbPNS_8ae_stateE(ptr noundef %452, i1 noundef zeroext %456, ptr noundef %457)
  br i1 %458, label %460, label %459

459:                                              ; preds = %450
  br label %701

460:                                              ; preds = %450
  %461 = load ptr, ptr %4, align 8, !tbaa !5
  %462 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %461, i32 0, i32 44
  %463 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %462, i32 0, i32 20
  %464 = load i64, ptr %463, align 8, !tbaa !65
  %465 = icmp eq i64 %464, 4
  br i1 %465, label %466, label %502

466:                                              ; preds = %460
  %467 = load i64, ptr %6, align 8, !tbaa !41
  %468 = load ptr, ptr %4, align 8, !tbaa !5
  %469 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %468, i32 0, i32 44
  %470 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %469, i32 0, i32 23
  %471 = load i64, ptr %470, align 8, !tbaa !66
  %472 = mul nsw i64 %467, %471
  %473 = load ptr, ptr %4, align 8, !tbaa !5
  %474 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %473, i32 0, i32 51
  %475 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %472, ptr noundef %474, ptr noundef %475)
  %476 = load ptr, ptr %4, align 8, !tbaa !5
  %477 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %476, i32 0, i32 44
  %478 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %477, i32 0, i32 23
  %479 = load i64, ptr %478, align 8, !tbaa !66
  %480 = load ptr, ptr %4, align 8, !tbaa !5
  %481 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %480, i32 0, i32 53
  store i64 %479, ptr %481, align 8, !tbaa !67
  %482 = load ptr, ptr %4, align 8, !tbaa !5
  %483 = load ptr, ptr %4, align 8, !tbaa !5
  %484 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %483, i32 0, i32 44
  %485 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %484, i32 0, i32 24
  %486 = load ptr, ptr %4, align 8, !tbaa !5
  %487 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %486, i32 0, i32 44
  %488 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %487, i32 0, i32 23
  %489 = load i64, ptr %488, align 8, !tbaa !66
  %490 = load ptr, ptr %4, align 8, !tbaa !5
  %491 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %490, i32 0, i32 19
  %492 = load i64, ptr %7, align 8, !tbaa !41
  %493 = load ptr, ptr %4, align 8, !tbaa !5
  %494 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %493, i32 0, i32 44
  %495 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %494, i32 0, i32 12
  %496 = load ptr, ptr %4, align 8, !tbaa !5
  %497 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %496, i32 0, i32 44
  %498 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %497, i32 0, i32 13
  %499 = load ptr, ptr %4, align 8, !tbaa !5
  %500 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %499, i32 0, i32 51
  %501 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef %482, ptr noundef %485, i64 noundef %489, ptr noundef %491, i64 noundef %492, ptr noundef %495, ptr noundef %498, ptr noundef %500, ptr noundef %501)
  store i64 4, ptr %11, align 8, !tbaa !41
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %502

502:                                              ; preds = %466, %460
  %503 = load ptr, ptr %4, align 8, !tbaa !5
  %504 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %503, i32 0, i32 44
  %505 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %504, i32 0, i32 20
  %506 = load i64, ptr %505, align 8, !tbaa !65
  %507 = icmp eq i64 %506, -1
  br i1 %507, label %508, label %533

508:                                              ; preds = %502
  %509 = load ptr, ptr %4, align 8, !tbaa !5
  %510 = load ptr, ptr %4, align 8, !tbaa !5
  %511 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %510, i32 0, i32 44
  %512 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %511, i32 0, i32 21
  %513 = load ptr, ptr %4, align 8, !tbaa !5
  %514 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %513, i32 0, i32 19
  %515 = load i64, ptr %7, align 8, !tbaa !41
  %516 = load ptr, ptr %4, align 8, !tbaa !5
  %517 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %516, i32 0, i32 44
  %518 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %517, i32 0, i32 12
  %519 = load ptr, ptr %4, align 8, !tbaa !5
  %520 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %519, i32 0, i32 44
  %521 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %520, i32 0, i32 13
  %522 = load ptr, ptr %4, align 8, !tbaa !5
  %523 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %522, i32 0, i32 26
  %524 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef %509, ptr noundef %512, i64 noundef 1, ptr noundef %514, i64 noundef %515, ptr noundef %518, ptr noundef %521, ptr noundef %523, ptr noundef %524)
  %525 = load ptr, ptr %4, align 8, !tbaa !5
  %526 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %525, i32 0, i32 44
  %527 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %526, i32 0, i32 22
  %528 = load double, ptr %527, align 8, !tbaa !68
  %529 = load ptr, ptr %4, align 8, !tbaa !5
  %530 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %529, i32 0, i32 27
  store double %528, ptr %530, align 8, !tbaa !69
  %531 = load ptr, ptr %4, align 8, !tbaa !5
  %532 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %531, i32 0, i32 25
  store i64 -1, ptr %532, align 8, !tbaa !64
  store i64 -1, ptr %11, align 8, !tbaa !41
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %533

533:                                              ; preds = %508, %502
  br label %534

534:                                              ; preds = %533, %445
  %535 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %536 = trunc i8 %535 to i1
  %537 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %536, ptr noundef @.str.1534, ptr noundef %537)
  store i8 0, ptr %12, align 1, !tbaa !42
  %538 = load i64, ptr %11, align 8, !tbaa !41
  %539 = icmp ne i64 %538, -1
  br i1 %539, label %540, label %541

540:                                              ; preds = %534
  br label %558

541:                                              ; preds = %534
  %542 = load ptr, ptr %4, align 8, !tbaa !5
  %543 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %542, i32 0, i32 0
  %544 = load i64, ptr %543, align 8, !tbaa !59
  %545 = icmp eq i64 %544, 2
  %546 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %545, ptr noundef @.str.1535, ptr noundef %546)
  %547 = load ptr, ptr %4, align 8, !tbaa !5
  %548 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %547, i32 0, i32 7
  %549 = load i8, ptr %548, align 8, !tbaa !70, !range !43, !noundef !44
  %550 = trunc i8 %549 to i1
  br i1 %550, label %552, label %551

551:                                              ; preds = %541
  br label %557

552:                                              ; preds = %541
  %553 = load ptr, ptr %4, align 8, !tbaa !5
  %554 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %553, i32 0, i32 43
  %555 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %554, i32 0, i32 0
  store i32 0, ptr %555, align 8, !tbaa !9
  br label %761

556:                                              ; preds = %79
  br label %557

557:                                              ; preds = %556, %551
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %558

558:                                              ; preds = %557, %540
  %559 = load i64, ptr %11, align 8, !tbaa !41
  %560 = icmp ne i64 %559, 4
  br i1 %560, label %561, label %562

561:                                              ; preds = %558
  br label %650

562:                                              ; preds = %558
  %563 = load ptr, ptr %4, align 8, !tbaa !5
  %564 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %563, i32 0, i32 47
  %565 = load i64, ptr %564, align 8, !tbaa !51
  %566 = load ptr, ptr %4, align 8, !tbaa !5
  %567 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %566, i32 0, i32 53
  %568 = load i64, ptr %567, align 8, !tbaa !67
  %569 = add nsw i64 %565, %568
  %570 = load ptr, ptr %4, align 8, !tbaa !5
  %571 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %570, i32 0, i32 47
  store i64 %569, ptr %571, align 8, !tbaa !51
  %572 = load ptr, ptr %4, align 8, !tbaa !5
  %573 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %572, i32 0, i32 50
  %574 = load i64, ptr %573, align 8, !tbaa !50
  %575 = add nsw i64 %574, 1
  %576 = load ptr, ptr %4, align 8, !tbaa !5
  %577 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %576, i32 0, i32 50
  store i64 %575, ptr %577, align 8, !tbaa !50
  %578 = load i64, ptr %6, align 8, !tbaa !41
  %579 = load ptr, ptr %4, align 8, !tbaa !5
  %580 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %579, i32 0, i32 33
  %581 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %578, ptr noundef %580, ptr noundef %581)
  %582 = load i64, ptr %8, align 8, !tbaa !41
  %583 = load i64, ptr %9, align 8, !tbaa !41
  %584 = add nsw i64 %582, %583
  %585 = load ptr, ptr %4, align 8, !tbaa !5
  %586 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %585, i32 0, i32 34
  %587 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %584, ptr noundef %586, ptr noundef %587)
  %588 = load i64, ptr %8, align 8, !tbaa !41
  %589 = load i64, ptr %9, align 8, !tbaa !41
  %590 = add nsw i64 %588, %589
  %591 = load ptr, ptr %4, align 8, !tbaa !5
  %592 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %591, i32 0, i32 53
  %593 = load i64, ptr %592, align 8, !tbaa !67
  %594 = mul nsw i64 %590, %593
  %595 = load ptr, ptr %4, align 8, !tbaa !5
  %596 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %595, i32 0, i32 52
  %597 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %594, ptr noundef %596, ptr noundef %597)
  store i64 0, ptr %10, align 8, !tbaa !41
  br label %598

598:                                              ; preds = %633, %562
  %599 = load i64, ptr %10, align 8, !tbaa !41
  %600 = load ptr, ptr %4, align 8, !tbaa !5
  %601 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %600, i32 0, i32 53
  %602 = load i64, ptr %601, align 8, !tbaa !67
  %603 = sub nsw i64 %602, 1
  %604 = icmp sgt i64 %599, %603
  br i1 %604, label %605, label %606

605:                                              ; preds = %598
  br label %649

606:                                              ; preds = %598
  %607 = load ptr, ptr %4, align 8, !tbaa !5
  %608 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %607, i32 0, i32 25
  store i64 4, ptr %608, align 8, !tbaa !64
  %609 = load i64, ptr %8, align 8, !tbaa !41
  %610 = load i64, ptr %9, align 8, !tbaa !41
  %611 = add nsw i64 %609, %610
  %612 = load ptr, ptr %4, align 8, !tbaa !5
  %613 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %612, i32 0, i32 29
  store i64 %611, ptr %613, align 8, !tbaa !71
  %614 = load i64, ptr %6, align 8, !tbaa !41
  %615 = load ptr, ptr %4, align 8, !tbaa !5
  %616 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %615, i32 0, i32 30
  store i64 %614, ptr %616, align 8, !tbaa !72
  %617 = load ptr, ptr %4, align 8, !tbaa !5
  %618 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %617, i32 0, i32 31
  store i64 0, ptr %618, align 8, !tbaa !73
  %619 = load ptr, ptr %4, align 8, !tbaa !5
  %620 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %619, i32 0, i32 28
  store i64 1, ptr %620, align 8, !tbaa !74
  %621 = load i64, ptr %6, align 8, !tbaa !41
  %622 = load ptr, ptr %4, align 8, !tbaa !5
  %623 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %622, i32 0, i32 51
  %624 = load i64, ptr %10, align 8, !tbaa !41
  %625 = load i64, ptr %6, align 8, !tbaa !41
  %626 = mul nsw i64 %624, %625
  %627 = load ptr, ptr %4, align 8, !tbaa !5
  %628 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %627, i32 0, i32 33
  %629 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rcopyvxElPKNS_9ae_vectorElPS0_lPNS_8ae_stateE(i64 noundef %621, ptr noundef %623, i64 noundef %626, ptr noundef %628, i64 noundef 0, ptr noundef %629)
  %630 = load ptr, ptr %4, align 8, !tbaa !5
  %631 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %630, i32 0, i32 43
  %632 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %631, i32 0, i32 0
  store i32 1, ptr %632, align 8, !tbaa !9
  br label %761

633:                                              ; preds = %86
  %634 = load i64, ptr %8, align 8, !tbaa !41
  %635 = load i64, ptr %9, align 8, !tbaa !41
  %636 = add nsw i64 %634, %635
  %637 = load ptr, ptr %4, align 8, !tbaa !5
  %638 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %637, i32 0, i32 34
  %639 = load ptr, ptr %4, align 8, !tbaa !5
  %640 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %639, i32 0, i32 52
  %641 = load i64, ptr %10, align 8, !tbaa !41
  %642 = load i64, ptr %8, align 8, !tbaa !41
  %643 = load i64, ptr %9, align 8, !tbaa !41
  %644 = add nsw i64 %642, %643
  %645 = mul nsw i64 %641, %644
  %646 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rcopyvxElPKNS_9ae_vectorElPS0_lPNS_8ae_stateE(i64 noundef %636, ptr noundef %638, i64 noundef 0, ptr noundef %640, i64 noundef %645, ptr noundef %646)
  %647 = load i64, ptr %10, align 8, !tbaa !41
  %648 = add nsw i64 %647, 1
  store i64 %648, ptr %10, align 8, !tbaa !41
  br label %598

649:                                              ; preds = %605
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %650

650:                                              ; preds = %649, %561
  %651 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %652 = trunc i8 %651 to i1
  %653 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %652, ptr noundef @.str.1536, ptr noundef %653)
  %654 = load i64, ptr %11, align 8, !tbaa !41
  %655 = icmp eq i64 %654, -1
  br i1 %655, label %659, label %656

656:                                              ; preds = %650
  %657 = load i64, ptr %11, align 8, !tbaa !41
  %658 = icmp eq i64 %657, 4
  br label %659

659:                                              ; preds = %656, %650
  %660 = phi i1 [ true, %650 ], [ %658, %656 ]
  %661 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %660, ptr noundef @.str.1537, ptr noundef %661)
  store i8 0, ptr %12, align 1, !tbaa !42
  %662 = load i64, ptr %11, align 8, !tbaa !41
  %663 = icmp eq i64 %662, -1
  br i1 %663, label %664, label %665

664:                                              ; preds = %659
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %665

665:                                              ; preds = %664, %659
  %666 = load i64, ptr %11, align 8, !tbaa !41
  %667 = icmp eq i64 %666, 4
  br i1 %667, label %668, label %697

668:                                              ; preds = %665
  %669 = load ptr, ptr %4, align 8, !tbaa !5
  %670 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %669, i32 0, i32 4
  %671 = load i64, ptr %670, align 8, !tbaa !54
  %672 = icmp eq i64 %671, 0
  br i1 %672, label %678, label %673

673:                                              ; preds = %668
  %674 = load ptr, ptr %4, align 8, !tbaa !5
  %675 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %674, i32 0, i32 4
  %676 = load i64, ptr %675, align 8, !tbaa !54
  %677 = icmp eq i64 %676, 1
  br i1 %677, label %678, label %697

678:                                              ; preds = %673, %668
  %679 = load ptr, ptr %4, align 8, !tbaa !5
  %680 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %679, i32 0, i32 0
  %681 = load i64, ptr %680, align 8, !tbaa !59
  %682 = icmp eq i64 %681, 2
  %683 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %682, ptr noundef @.str.1538, ptr noundef %683)
  %684 = load i64, ptr %8, align 8, !tbaa !41
  %685 = load i64, ptr %9, align 8, !tbaa !41
  %686 = add nsw i64 %684, %685
  %687 = load ptr, ptr %4, align 8, !tbaa !5
  %688 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %687, i32 0, i32 53
  %689 = load i64, ptr %688, align 8, !tbaa !67
  %690 = mul nsw i64 %686, %689
  %691 = load ptr, ptr %4, align 8, !tbaa !5
  %692 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %691, i32 0, i32 52
  %693 = load ptr, ptr %4, align 8, !tbaa !5
  %694 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %693, i32 0, i32 44
  %695 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %694, i32 0, i32 25
  %696 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %690, ptr noundef %692, ptr noundef %695, ptr noundef %696)
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %697

697:                                              ; preds = %678, %673, %665
  %698 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %699 = trunc i8 %698 to i1
  %700 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %699, ptr noundef @.str.1539, ptr noundef %700)
  br label %438

701:                                              ; preds = %459
  store i8 0, ptr %12, align 1, !tbaa !42
  %702 = load ptr, ptr %4, align 8, !tbaa !5
  %703 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %702, i32 0, i32 4
  %704 = load i64, ptr %703, align 8, !tbaa !54
  %705 = icmp eq i64 %704, 0
  br i1 %705, label %711, label %706

706:                                              ; preds = %701
  %707 = load ptr, ptr %4, align 8, !tbaa !5
  %708 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %707, i32 0, i32 4
  %709 = load i64, ptr %708, align 8, !tbaa !54
  %710 = icmp eq i64 %709, 1
  br i1 %710, label %711, label %740

711:                                              ; preds = %706, %701
  %712 = load ptr, ptr %4, align 8, !tbaa !5
  %713 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %712, i32 0, i32 44
  %714 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %713, i32 0, i32 68
  %715 = load i64, ptr %714, align 8, !tbaa !75
  %716 = load ptr, ptr %4, align 8, !tbaa !5
  %717 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %716, i32 0, i32 49
  store i64 %715, ptr %717, align 8, !tbaa !49
  %718 = load ptr, ptr %4, align 8, !tbaa !5
  %719 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %718, i32 0, i32 44
  %720 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %719, i32 0, i32 69
  %721 = load i64, ptr %720, align 8, !tbaa !76
  %722 = load ptr, ptr %4, align 8, !tbaa !5
  %723 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %722, i32 0, i32 48
  store i64 %721, ptr %723, align 8, !tbaa !48
  %724 = load ptr, ptr %4, align 8, !tbaa !5
  %725 = load ptr, ptr %4, align 8, !tbaa !5
  %726 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %725, i32 0, i32 44
  %727 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %726, i32 0, i32 38
  %728 = load ptr, ptr %4, align 8, !tbaa !5
  %729 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %728, i32 0, i32 19
  %730 = load i64, ptr %7, align 8, !tbaa !41
  %731 = load ptr, ptr %4, align 8, !tbaa !5
  %732 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %731, i32 0, i32 44
  %733 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %732, i32 0, i32 12
  %734 = load ptr, ptr %4, align 8, !tbaa !5
  %735 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %734, i32 0, i32 44
  %736 = getelementptr inbounds %"struct.alglib_impl::dfgmstate", ptr %735, i32 0, i32 13
  %737 = load ptr, ptr %4, align 8, !tbaa !5
  %738 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %737, i32 0, i32 46
  %739 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef %724, ptr noundef %727, i64 noundef 1, ptr noundef %729, i64 noundef %730, ptr noundef %733, ptr noundef %736, ptr noundef %738, ptr noundef %739)
  store i8 1, ptr %12, align 1, !tbaa !42
  br label %740

740:                                              ; preds = %711, %706
  %741 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %742 = trunc i8 %741 to i1
  %743 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %742, ptr noundef @.str.1540, ptr noundef %743)
  %744 = load ptr, ptr %4, align 8, !tbaa !5
  %745 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %744, i32 0, i32 45
  %746 = load i8, ptr %745, align 8, !tbaa !53, !range !43, !noundef !44
  %747 = trunc i8 %746 to i1
  br i1 %747, label %748, label %758

748:                                              ; preds = %740
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1541)
  %749 = load ptr, ptr %4, align 8, !tbaa !5
  %750 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %749, i32 0, i32 47
  %751 = load i64, ptr %750, align 8, !tbaa !51
  %752 = sitofp i64 %751 to double
  %753 = load ptr, ptr %4, align 8, !tbaa !5
  %754 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %753, i32 0, i32 50
  %755 = load i64, ptr %754, align 8, !tbaa !50
  %756 = sitofp i64 %755 to double
  %757 = fdiv double %752, %756
  call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef @.str.1542, double noundef %757)
  br label %758

758:                                              ; preds = %748, %740
  store i8 0, ptr %13, align 1, !tbaa !42
  %759 = load i8, ptr %13, align 1, !tbaa !42, !range !43, !noundef !44
  %760 = trunc i8 %759 to i1
  store i1 %760, ptr %3, align 1
  store i32 1, ptr %14, align 4
  br label %815

761:                                              ; preds = %606, %552
  store i8 1, ptr %13, align 1, !tbaa !42
  %762 = load i64, ptr %6, align 8, !tbaa !41
  %763 = load ptr, ptr %4, align 8, !tbaa !5
  %764 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %763, i32 0, i32 43
  %765 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %764, i32 0, i32 1
  %766 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %765, i32 0, i32 4
  %767 = load ptr, ptr %766, align 8, !tbaa !40
  %768 = getelementptr inbounds i64, ptr %767, i64 0
  store i64 %762, ptr %768, align 8, !tbaa !41
  %769 = load i64, ptr %7, align 8, !tbaa !41
  %770 = load ptr, ptr %4, align 8, !tbaa !5
  %771 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %770, i32 0, i32 43
  %772 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %771, i32 0, i32 1
  %773 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %772, i32 0, i32 4
  %774 = load ptr, ptr %773, align 8, !tbaa !40
  %775 = getelementptr inbounds i64, ptr %774, i64 1
  store i64 %769, ptr %775, align 8, !tbaa !41
  %776 = load i64, ptr %8, align 8, !tbaa !41
  %777 = load ptr, ptr %4, align 8, !tbaa !5
  %778 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %777, i32 0, i32 43
  %779 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %778, i32 0, i32 1
  %780 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %779, i32 0, i32 4
  %781 = load ptr, ptr %780, align 8, !tbaa !40
  %782 = getelementptr inbounds i64, ptr %781, i64 2
  store i64 %776, ptr %782, align 8, !tbaa !41
  %783 = load i64, ptr %9, align 8, !tbaa !41
  %784 = load ptr, ptr %4, align 8, !tbaa !5
  %785 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %784, i32 0, i32 43
  %786 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %785, i32 0, i32 1
  %787 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %786, i32 0, i32 4
  %788 = load ptr, ptr %787, align 8, !tbaa !40
  %789 = getelementptr inbounds i64, ptr %788, i64 3
  store i64 %783, ptr %789, align 8, !tbaa !41
  %790 = load i64, ptr %10, align 8, !tbaa !41
  %791 = load ptr, ptr %4, align 8, !tbaa !5
  %792 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %791, i32 0, i32 43
  %793 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %792, i32 0, i32 1
  %794 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %793, i32 0, i32 4
  %795 = load ptr, ptr %794, align 8, !tbaa !40
  %796 = getelementptr inbounds i64, ptr %795, i64 4
  store i64 %790, ptr %796, align 8, !tbaa !41
  %797 = load i64, ptr %11, align 8, !tbaa !41
  %798 = load ptr, ptr %4, align 8, !tbaa !5
  %799 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %798, i32 0, i32 43
  %800 = getelementptr inbounds %"struct.alglib_impl::rcommstate", 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 !40
  %803 = getelementptr inbounds i64, ptr %802, i64 5
  store i64 %797, ptr %803, align 8, !tbaa !41
  %804 = load i8, ptr %12, align 1, !tbaa !42, !range !43, !noundef !44
  %805 = trunc i8 %804 to i1
  %806 = load ptr, ptr %4, align 8, !tbaa !5
  %807 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %806, i32 0, i32 43
  %808 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %807, i32 0, i32 2
  %809 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %808, i32 0, i32 4
  %810 = load ptr, ptr %809, align 8, !tbaa !40
  %811 = getelementptr inbounds i8, ptr %810, i64 0
  %812 = zext i1 %805 to i8
  store i8 %812, ptr %811, align 1, !tbaa !42
  %813 = load i8, ptr %13, align 1, !tbaa !42, !range !43, !noundef !44
  %814 = trunc i8 %813 to i1
  store i1 %814, ptr %3, align 1
  store i32 1, ptr %14, align 4
  br label %815

815:                                              ; preds = %761, %758, %320, %217
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %816 = load i1, ptr %3, align 1
  ret i1 %816
}

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

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

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

declare void @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef, ...) #1

declare noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef) #1

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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 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 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 #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, !20, i64 2216}
!10 = !{!"_ZTSN11alglib_impl8nlsstateE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !13, i64 48, !14, i64 72, !15, i64 80, !15, i64 144, !12, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !15, i64 248, !15, i64 312, !15, i64 376, !15, i64 440, !15, i64 504, !15, i64 568, !15, i64 632, !15, i64 696, !15, i64 760, !14, i64 824, !11, i64 832, !15, i64 840, !12, i64 904, !11, i64 912, !11, i64 920, !11, i64 928, !11, i64 936, !11, i64 944, !15, i64 952, !15, i64 1016, !15, i64 1080, !17, i64 1144, !15, i64 1512, !15, i64 1576, !15, i64 1640, !15, i64 1704, !18, i64 1768, !17, i64 1848, !19, i64 2216, !21, i64 2480, !14, i64 33368, !15, i64 33376, !11, i64 33440, !11, i64 33448, !11, i64 33456, !11, i64 33464, !15, i64 33472, !15, i64 33536, !11, i64 33600}
!11 = !{!"long", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl19nlpstoppingcriteriaE", !12, i64 0, !12, i64 8, !11, i64 16}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !14, i64 16, !16, i64 24, !7, i64 56}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"_ZTSN11alglib_impl12sparsematrixE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !14, i64 32, !16, i64 40, !7, i64 72}
!19 = !{!"_ZTSN11alglib_impl10rcommstateE", !20, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !15, i64 200}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSN11alglib_impl9dfgmstateE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !14, i64 32, !11, i64 40, !12, i64 48, !11, i64 56, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !15, i64 320, !15, i64 384, !15, i64 448, !15, i64 512, !12, i64 576, !11, i64 584, !11, i64 592, !12, i64 600, !11, i64 608, !15, i64 616, !12, i64 680, !11, i64 688, !15, i64 696, !15, i64 760, !19, i64 824, !19, i64 1088, !19, i64 1352, !14, i64 1616, !15, i64 1624, !15, i64 1688, !12, i64 1752, !12, i64 1760, !15, i64 1768, !15, i64 1832, !12, i64 1896, !12, i64 1904, !15, i64 1912, !15, i64 1976, !15, i64 2040, !15, i64 2104, !15, i64 2168, !12, i64 2232, !12, i64 2240, !18, i64 2248, !11, i64 2328, !22, i64 2336, !23, i64 2360, !24, i64 2648, !14, i64 3176, !14, i64 3177, !11, i64 3184, !12, i64 3192, !18, i64 3200, !15, i64 3280, !15, i64 3344, !15, i64 3408, !11, i64 3472, !11, i64 3480, !15, i64 3488, !15, i64 3552, !15, i64 3616, !15, i64 3680, !25, i64 3744, !18, i64 30392, !17, i64 30472, !39, i64 30840, !11, i64 30864, !11, i64 30872, !11, i64 30880}
!22 = !{!"_ZTSN11alglib_impl10hqrndstateE", !11, i64 0, !11, i64 8, !11, i64 16}
!23 = !{!"_ZTSN11alglib_impl10df2psmodelE", !15, i64 0, !18, i64 64, !15, i64 144, !18, i64 208}
!24 = !{!"_ZTSN11alglib_impl11dfolsamodelE", !18, i64 0, !18, i64 80, !18, i64 160, !15, i64 240, !18, i64 304, !15, i64 384, !18, i64 448}
!25 = !{!"_ZTSN11alglib_impl9vipmstateE", !14, i64 0, !14, i64 1, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !14, i64 48, !15, i64 56, !15, i64 120, !15, i64 184, !12, i64 248, !15, i64 256, !18, i64 320, !17, i64 400, !15, i64 768, !11, i64 832, !14, i64 840, !15, i64 848, !15, i64 912, !15, i64 976, !15, i64 1040, !15, i64 1104, !15, i64 1168, !18, i64 1232, !18, i64 1312, !17, i64 1392, !17, i64 1760, !17, i64 2128, !15, i64 2496, !15, i64 2560, !15, i64 2624, !15, i64 2688, !15, i64 2752, !11, i64 2816, !11, i64 2824, !26, i64 2832, !26, i64 3488, !26, i64 4144, !26, i64 4800, !26, i64 5456, !15, i64 6112, !15, i64 6176, !15, i64 6240, !15, i64 6304, !15, i64 6368, !11, i64 6432, !11, i64 6440, !11, i64 6448, !11, i64 6456, !11, i64 6464, !11, i64 6472, !14, i64 6480, !14, i64 6481, !11, i64 6488, !14, i64 6496, !14, i64 6497, !15, i64 6504, !15, i64 6568, !15, i64 6632, !15, i64 6696, !15, i64 6760, !15, i64 6824, !15, i64 6888, !15, i64 6952, !15, i64 7016, !15, i64 7080, !15, i64 7144, !15, i64 7208, !15, i64 7272, !15, i64 7336, !15, i64 7400, !18, i64 7464, !15, i64 7544, !15, i64 7608, !15, i64 7672, !15, i64 7736, !15, i64 7800, !27, i64 7864, !38, i64 23944, !15, i64 24584, !15, i64 24648, !15, i64 24712, !15, i64 24776, !15, i64 24840, !15, i64 24904, !15, i64 24968, !15, i64 25032, !26, i64 25096, !15, i64 25752, !15, i64 25816, !15, i64 25880, !15, i64 25944, !15, i64 26008, !18, i64 26072, !15, i64 26152, !15, i64 26216, !17, i64 26280}
!26 = !{!"_ZTSN11alglib_impl8vipmvarsE", !11, i64 0, !11, i64 8, !15, i64 16, !15, i64 80, !15, i64 144, !15, i64 208, !15, i64 272, !15, i64 336, !15, i64 400, !15, i64 464, !15, i64 528, !15, i64 592}
!27 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !17, i64 0, !15, i64 368, !15, i64 432, !15, i64 496, !15, i64 560, !11, i64 624, !28, i64 632, !15, i64 15696, !15, i64 15760, !15, i64 15824, !15, i64 15888, !15, i64 15952, !15, i64 16016}
!28 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !11, i64 0, !11, i64 8, !11, i64 16, !14, i64 24, !11, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !15, i64 72, !14, i64 136, !14, i64 137, !14, i64 138, !14, i64 139, !14, i64 140, !15, i64 144, !11, i64 208, !15, i64 216, !15, i64 280, !15, i64 344, !15, i64 408, !15, i64 472, !15, i64 536, !14, i64 600, !15, i64 608, !15, i64 672, !15, i64 736, !15, i64 800, !15, i64 864, !15, i64 928, !14, i64 992, !14, i64 993, !29, i64 1000, !15, i64 1512, !15, i64 1576, !15, i64 1640, !15, i64 1704, !15, i64 1768, !15, i64 1832, !30, i64 1896, !30, i64 2040, !30, i64 2184, !30, i64 2328, !30, i64 2472, !30, i64 2616, !15, i64 2760, !15, i64 2824, !15, i64 2888, !15, i64 2952, !15, i64 3016, !32, i64 3080, !37, i64 7464, !15, i64 13816, !15, i64 13880, !15, i64 13944, !15, i64 14008, !15, i64 14072, !15, i64 14136, !17, i64 14200, !17, i64 14568, !15, i64 14936, !15, i64 15000}
!29 = !{!"_ZTSN11alglib_impl9spcholadjE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !15, i64 320, !15, i64 384, !15, i64 448}
!30 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !16, i64 32, !31, i64 64, !16, i64 112}
!31 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !16, i64 8, !14, i64 40}
!32 = !{!"_ZTSN11alglib_impl9amdbufferE", !11, i64 0, !14, i64 8, !14, i64 9, !15, i64 16, !15, i64 80, !15, i64 144, !33, i64 208, !33, i64 568, !33, i64 928, !34, i64 1288, !35, i64 1496, !36, i64 1968, !15, i64 2120, !15, i64 2184, !15, i64 2248, !36, i64 2312, !36, i64 2464, !36, i64 2616, !36, i64 2768, !36, i64 2920, !36, i64 3072, !15, i64 3224, !11, i64 3288, !36, i64 3296, !36, i64 3448, !33, i64 3600, !36, i64 3960, !15, i64 4112, !15, i64 4176, !15, i64 4240, !18, i64 4304}
!33 = !{!"_ZTSN11alglib_impl8amdknsetE", !11, i64 0, !11, i64 8, !15, i64 16, !15, i64 80, !15, i64 144, !15, i64 208, !15, i64 272, !11, i64 336, !11, i64 344, !11, i64 352}
!34 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !11, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !11, i64 200}
!35 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !11, i64 0, !14, i64 8, !11, i64 16, !15, i64 24, !15, i64 88, !15, i64 152, !15, i64 216, !15, i64 280, !15, i64 344, !15, i64 408}
!36 = !{!"_ZTSN11alglib_impl5nisetE", !11, i64 0, !11, i64 8, !15, i64 16, !15, i64 80, !11, i64 144}
!37 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !15, i64 0, !15, i64 64, !32, i64 128, !17, i64 4512, !17, i64 4880, !17, i64 5248, !17, i64 5616, !17, i64 5984}
!38 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !15, i64 320, !15, i64 384, !15, i64 448, !15, i64 512, !15, i64 576}
!39 = !{!"_ZTSN11alglib_impl12matinvreportE", !11, i64 0, !12, i64 8, !12, i64 16}
!40 = !{!7, !7, i64 0}
!41 = !{!11, !11, i64 0}
!42 = !{!14, !14, i64 0}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!10, !11, i64 8}
!46 = !{!10, !11, i64 16}
!47 = !{!10, !11, i64 232}
!48 = !{!10, !11, i64 33448}
!49 = !{!10, !11, i64 33456}
!50 = !{!10, !11, i64 33464}
!51 = !{!10, !11, i64 33440}
!52 = !{!10, !14, i64 824}
!53 = !{!10, !14, i64 33368}
!54 = !{!10, !11, i64 32}
!55 = !{!12, !12, i64 0}
!56 = distinct !{!56, !57}
!57 = !{!"llvm.loop.mustprogress"}
!58 = !{!10, !11, i64 240}
!59 = !{!10, !11, i64 0}
!60 = !{!10, !11, i64 24}
!61 = !{!10, !11, i64 224}
!62 = !{!10, !12, i64 208}
!63 = !{!10, !11, i64 216}
!64 = !{!10, !11, i64 832}
!65 = !{!10, !11, i64 3088}
!66 = !{!10, !11, i64 3168}
!67 = !{!10, !11, i64 33600}
!68 = !{!10, !12, i64 3160}
!69 = !{!10, !12, i64 904}
!70 = !{!10, !14, i64 72}
!71 = !{!10, !11, i64 920}
!72 = !{!10, !11, i64 928}
!73 = !{!10, !11, i64 936}
!74 = !{!10, !11, i64 912}
!75 = !{!10, !11, i64 33344}
!76 = !{!10, !11, i64 33352}


; 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.212 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.612 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1322 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1323 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1324 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1521 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1522 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.1523 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.1524 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.1525 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.1526 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.1527 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.1528 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1529 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1530 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1531 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1532 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1533 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1534 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1535 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1536 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1537 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1538 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1539 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.1540 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1541 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1542 = external hidden unnamed_addr constant [94 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl12nlsiterationEPNS_8nlsstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 2216
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i32 %4, -1
  br i1 %5, label %6, label %23

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 2280
  %8 = load ptr, ptr %7, align 8, !tbaa !39
  %9 = load i64, ptr %8, align 8, !tbaa !40
  %10 = getelementptr inbounds i8, ptr %8, i64 8
  %11 = load i64, ptr %10, align 8, !tbaa !40
  %12 = getelementptr inbounds i8, ptr %8, i64 16
  %13 = load i64, ptr %12, align 8, !tbaa !40
  %14 = getelementptr inbounds i8, ptr %8, i64 24
  %15 = load i64, ptr %14, align 8, !tbaa !40
  %16 = getelementptr inbounds i8, ptr %8, i64 32
  %17 = load i64, ptr %16, align 8, !tbaa !40
  %18 = getelementptr inbounds i8, ptr %8, i64 40
  %19 = load i64, ptr %18, align 8, !tbaa !40
  %20 = getelementptr inbounds i8, ptr %0, i64 2344
  %21 = load ptr, ptr %20, align 8, !tbaa !39
  %22 = load i8, ptr %21, align 1, !tbaa !41, !range !42, !noundef !43
  br label %23

23:                                               ; preds = %2, %6
  %.0320 = phi i64 [ %9, %6 ], [ 359, %2 ]
  %.0311 = phi i64 [ %11, %6 ], [ -58, %2 ]
  %.0304 = phi i64 [ %13, %6 ], [ -919, %2 ]
  %.0297 = phi i64 [ %15, %6 ], [ -909, %2 ]
  %.0288 = phi i64 [ %17, %6 ], [ 81, %2 ]
  %.0279 = phi i64 [ %19, %6 ], [ 255, %2 ]
  %.0 = phi i8 [ %22, %6 ], [ 0, %2 ]
  switch i32 %4, label %24 [
    i32 0, label %224
    i32 1, label %253
  ]

24:                                               ; preds = %23
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = load i64, ptr %25, align 8, !tbaa !44
  %27 = getelementptr inbounds i8, ptr %0, i64 16
  %28 = load i64, ptr %27, align 8, !tbaa !45
  %29 = getelementptr inbounds i8, ptr %0, i64 232
  %30 = load i64, ptr %29, align 8, !tbaa !46
  %31 = getelementptr inbounds i8, ptr %0, i64 33448
  %32 = getelementptr inbounds i8, ptr %0, i64 33456
  %33 = getelementptr inbounds i8, ptr %0, i64 33440
  %34 = getelementptr inbounds i8, ptr %0, i64 824
  store i8 0, ptr %34, align 8, !tbaa !47
  %35 = getelementptr inbounds i8, ptr %0, i64 33368
  store i8 0, ptr %35, align 8, !tbaa !48
  %36 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %33, i8 0, i64 32, i1 false)
  %37 = load i64, ptr %36, align 8, !tbaa !49
  %38 = icmp eq i64 %37, 0
  br i1 %38, label %39, label %46

39:                                               ; preds = %24
  %40 = tail call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef nonnull @.str.1322)
  br i1 %40, label %43, label %41

41:                                               ; preds = %39
  %42 = tail call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef nonnull @.str.1324)
  br label %43

43:                                               ; preds = %41, %39
  %44 = phi i1 [ true, %39 ], [ %42, %41 ]
  %45 = zext i1 %44 to i8
  store i8 %45, ptr %35, align 8, !tbaa !48
  %.pr = load i64, ptr %36, align 8, !tbaa !49
  br label %46

46:                                               ; preds = %43, %24
  %47 = phi i64 [ %.pr, %43 ], [ %37, %24 ]
  %48 = icmp eq i64 %47, 1
  br i1 %48, label %49, label %56

49:                                               ; preds = %46
  %50 = tail call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef nonnull @.str.1323)
  br i1 %50, label %53, label %51

51:                                               ; preds = %49
  %52 = tail call noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef nonnull @.str.1324)
  br label %53

53:                                               ; preds = %51, %49
  %54 = phi i1 [ true, %49 ], [ %52, %51 ]
  %55 = zext i1 %54 to i8
  store i8 %55, ptr %35, align 8, !tbaa !48
  br label %56

56:                                               ; preds = %53, %46
  %.2 = phi i1 [ true, %53 ], [ %38, %46 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %.2, ptr noundef nonnull @.str.1521, ptr noundef %1)
  %57 = load i8, ptr %35, align 8, !tbaa !48, !range !42, !noundef !43
  %58 = trunc nuw i8 %57 to i1
  br i1 %58, label %59, label %61

59:                                               ; preds = %56
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.612)
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.212)
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1522)
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.212)
  %60 = trunc i64 %26 to i32
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1523, i32 noundef %60)
  br label %61

61:                                               ; preds = %59, %56
  %62 = getelementptr inbounds i8, ptr %0, i64 504
  tail call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %62, ptr noundef %1)
  %63 = getelementptr inbounds i8, ptr %0, i64 568
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %63, ptr noundef %1)
  %64 = getelementptr inbounds i8, ptr %0, i64 632
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %64, ptr noundef %1)
  %65 = getelementptr inbounds i8, ptr %0, i64 696
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %65, ptr noundef %1)
  %66 = getelementptr inbounds i8, ptr %0, i64 760
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %66, ptr noundef %1)
  %.not.not353 = icmp sgt i64 %26, 0
  br i1 %.not.not353, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %61
  %67 = getelementptr inbounds i8, ptr %0, i64 432
  %68 = getelementptr inbounds i8, ptr %0, i64 496
  %69 = getelementptr inbounds i8, ptr %0, i64 200
  %70 = getelementptr inbounds i8, ptr %0, i64 816
  %71 = getelementptr inbounds i8, ptr %0, i64 136
  %72 = getelementptr inbounds i8, ptr %0, i64 752
  %73 = getelementptr inbounds i8, ptr %0, i64 624
  %74 = getelementptr inbounds i8, ptr %0, i64 688
  %75 = getelementptr inbounds i8, ptr %0, i64 560
  br label %76

76:                                               ; preds = %.lr.ph, %135
  %.1289355 = phi i64 [ 0, %.lr.ph ], [ %136, %135 ]
  %.1312354 = phi i64 [ 0, %.lr.ph ], [ %.2313, %135 ]
  %77 = load ptr, ptr %67, align 8, !tbaa !39
  %78 = getelementptr inbounds double, ptr %77, i64 %.1289355
  %79 = load double, ptr %78, align 8, !tbaa !50
  %80 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %79, ptr noundef %1)
  br i1 %80, label %81, label %111

81:                                               ; preds = %76
  %82 = load ptr, ptr %68, align 8, !tbaa !39
  %83 = getelementptr inbounds double, ptr %82, i64 %.1289355
  %84 = load double, ptr %83, align 8, !tbaa !50
  %85 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %84, ptr noundef %1)
  br i1 %85, label %86, label %111

86:                                               ; preds = %81
  %87 = load ptr, ptr %67, align 8, !tbaa !39
  %88 = getelementptr inbounds double, ptr %87, i64 %.1289355
  %89 = load double, ptr %88, align 8, !tbaa !50
  %90 = load ptr, ptr %68, align 8, !tbaa !39
  %91 = getelementptr inbounds double, ptr %90, i64 %.1289355
  %92 = load double, ptr %91, align 8, !tbaa !50
  %93 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %89, double noundef %92)
  br i1 %93, label %94, label %100

94:                                               ; preds = %86
  %95 = load i8, ptr %35, align 8, !tbaa !48, !range !42, !noundef !43
  %96 = trunc nuw i8 %95 to i1
  br i1 %96, label %97, label %99

97:                                               ; preds = %94
  %98 = trunc i64 %.1289355 to i32
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1524, i32 noundef %98)
  br label %99

99:                                               ; preds = %97, %94
  store i64 -3, ptr %32, align 8, !tbaa !51
  br label %315

100:                                              ; preds = %86
  %101 = load ptr, ptr %67, align 8, !tbaa !39
  %102 = getelementptr inbounds double, ptr %101, i64 %.1289355
  %103 = load double, ptr %102, align 8, !tbaa !50
  %104 = load ptr, ptr %68, align 8, !tbaa !39
  %105 = getelementptr inbounds double, ptr %104, i64 %.1289355
  %106 = load double, ptr %105, align 8, !tbaa !50
  %107 = tail call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %103, double noundef %106)
  br i1 %107, label %108, label %111

108:                                              ; preds = %100
  %109 = load ptr, ptr %75, align 8, !tbaa !39
  %110 = getelementptr inbounds i64, ptr %109, i64 %.1289355
  store i64 -1, ptr %110, align 8, !tbaa !40
  br label %135

111:                                              ; preds = %100, %81, %76
  %112 = load ptr, ptr %69, align 8, !tbaa !39
  %113 = getelementptr inbounds double, ptr %112, i64 %.1289355
  %114 = load double, ptr %113, align 8, !tbaa !50
  %115 = load ptr, ptr %70, align 8, !tbaa !39
  %116 = getelementptr inbounds double, ptr %115, i64 %.1312354
  store double %114, ptr %116, align 8, !tbaa !50
  %117 = load ptr, ptr %71, align 8, !tbaa !39
  %118 = getelementptr inbounds double, ptr %117, i64 %.1289355
  %119 = load double, ptr %118, align 8, !tbaa !50
  %120 = load ptr, ptr %72, align 8, !tbaa !39
  %121 = getelementptr inbounds double, ptr %120, i64 %.1312354
  store double %119, ptr %121, align 8, !tbaa !50
  %122 = load ptr, ptr %67, align 8, !tbaa !39
  %123 = getelementptr inbounds double, ptr %122, i64 %.1289355
  %124 = load double, ptr %123, align 8, !tbaa !50
  %125 = load ptr, ptr %73, align 8, !tbaa !39
  %126 = getelementptr inbounds double, ptr %125, i64 %.1312354
  store double %124, ptr %126, align 8, !tbaa !50
  %127 = load ptr, ptr %68, align 8, !tbaa !39
  %128 = getelementptr inbounds double, ptr %127, i64 %.1289355
  %129 = load double, ptr %128, align 8, !tbaa !50
  %130 = load ptr, ptr %74, align 8, !tbaa !39
  %131 = getelementptr inbounds double, ptr %130, i64 %.1312354
  store double %129, ptr %131, align 8, !tbaa !50
  %132 = load ptr, ptr %75, align 8, !tbaa !39
  %133 = getelementptr inbounds i64, ptr %132, i64 %.1289355
  store i64 %.1312354, ptr %133, align 8, !tbaa !40
  %134 = add nsw i64 %.1312354, 1
  br label %135

135:                                              ; preds = %111, %108
  %.2313 = phi i64 [ %.1312354, %108 ], [ %134, %111 ]
  %136 = add nuw nsw i64 %.1289355, 1
  %exitcond.not = icmp eq i64 %136, %26
  br i1 %exitcond.not, label %._crit_edge, label %76, !llvm.loop !52

._crit_edge:                                      ; preds = %135
  %137 = icmp eq i64 %.2313, 0
  br i1 %137, label %._crit_edge.thread, label %144

._crit_edge.thread:                               ; preds = %61, %._crit_edge
  %138 = load i8, ptr %35, align 8, !tbaa !48, !range !42, !noundef !43
  %139 = trunc nuw i8 %138 to i1
  br i1 %139, label %140, label %141

140:                                              ; preds = %._crit_edge.thread
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1525)
  br label %141

141:                                              ; preds = %140, %._crit_edge.thread
  store i64 2, ptr %32, align 8, !tbaa !51
  store i64 0, ptr %31, align 8, !tbaa !54
  %142 = getelementptr inbounds i8, ptr %0, i64 376
  %143 = getelementptr inbounds i8, ptr %0, i64 33376
  tail call void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %142, ptr noundef nonnull %143, ptr noundef %1)
  br label %315

144:                                              ; preds = %._crit_edge
  %145 = load i8, ptr %35, align 8, !tbaa !48, !range !42, !noundef !43
  %146 = trunc nuw i8 %145 to i1
  br i1 %146, label %147, label %155

147:                                              ; preds = %144
  %148 = trunc i64 %.2313 to i32
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1526, i32 noundef %148)
  %149 = trunc i64 %28 to i32
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1527, i32 noundef %149)
  %150 = getelementptr inbounds i8, ptr %0, i64 240
  %151 = load i64, ptr %150, align 8, !tbaa !55
  %152 = trunc i64 %151 to i32
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1528, i32 noundef %152)
  %153 = load i64, ptr %29, align 8, !tbaa !46
  %154 = trunc i64 %153 to i32
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1529, i32 noundef %154)
  br label %155

155:                                              ; preds = %147, %144
  %156 = load i64, ptr %0, align 8, !tbaa !56
  %157 = icmp eq i64 %156, 2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %157, ptr noundef nonnull @.str.1530, ptr noundef %1)
  %158 = getelementptr inbounds i8, ptr %0, i64 24
  %159 = load i64, ptr %158, align 8, !tbaa !57
  %160 = icmp eq i64 %159, 0
  br i1 %160, label %161, label %167

161:                                              ; preds = %155
  %162 = getelementptr inbounds i8, ptr %0, i64 840
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %162, ptr noundef %1)
  %163 = add nsw i64 %30, %28
  %164 = getelementptr inbounds i8, ptr %0, i64 1640
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %163, ptr noundef nonnull %164, ptr noundef %1)
  %165 = getelementptr inbounds i8, ptr %0, i64 1704
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %165, ptr noundef %1)
  %166 = getelementptr inbounds i8, ptr %0, i64 1512
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %26, ptr noundef nonnull %166, ptr noundef %1)
  br label %167

167:                                              ; preds = %161, %155
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %160, ptr noundef nonnull @.str.1531, ptr noundef %1)
  %168 = load i64, ptr %36, align 8, !tbaa !49
  %switch = icmp ult i64 %168, 2
  br i1 %switch, label %169, label %180

169:                                              ; preds = %167
  %170 = icmp eq i64 %168, 0
  %spec.store.select = select i1 %170, i64 0, i64 -999999
  %171 = icmp eq i64 %168, 1
  %spec.store.select1 = select i1 %171, i64 1, i64 %spec.store.select
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext true, ptr noundef nonnull @.str.1532, ptr noundef %1)
  %172 = getelementptr inbounds i8, ptr %0, i64 48
  %173 = getelementptr inbounds i8, ptr %0, i64 224
  %174 = load i64, ptr %173, align 8, !tbaa !58
  %175 = getelementptr inbounds i8, ptr %0, i64 208
  %176 = load double, ptr %175, align 8, !tbaa !59
  %177 = getelementptr inbounds i8, ptr %0, i64 216
  %178 = load i64, ptr %177, align 8, !tbaa !60
  %179 = getelementptr inbounds i8, ptr %0, i64 2480
  tail call void @_ZN11alglib_impl11dfgminitbufEPKNS_9ae_vectorES2_S2_S2_llblPKNS_19nlpstoppingcriteriaEldlPNS_9dfgmstateEPNS_8ae_stateE(ptr noundef nonnull %63, ptr noundef nonnull %64, ptr noundef nonnull %65, ptr noundef nonnull %66, i64 noundef %.2313, i64 noundef %28, i1 noundef zeroext true, i64 noundef %spec.store.select1, ptr noundef nonnull %172, i64 noundef %174, double noundef %176, i64 noundef %178, ptr noundef nonnull %179, ptr noundef %1)
  br label %180

180:                                              ; preds = %167, %169
  %.2290 = phi i64 [ %spec.store.select1, %169 ], [ %26, %167 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %switch, ptr noundef nonnull @.str.1533, ptr noundef %1)
  br label %181

181:                                              ; preds = %275, %180
  %.1321 = phi i64 [ %.5325, %275 ], [ %26, %180 ]
  %.3314 = phi i64 [ %.7318, %275 ], [ %.2313, %180 ]
  %.1305 = phi i64 [ %.5309, %275 ], [ %28, %180 ]
  %.1298 = phi i64 [ %.5302, %275 ], [ %30, %180 ]
  %.3291 = phi i64 [ %.7295, %275 ], [ %.2290, %180 ]
  %.1280 = phi i64 [ %.7286, %275 ], [ %.0279, %180 ]
  %182 = getelementptr inbounds i8, ptr %0, i64 832
  store i64 0, ptr %182, align 8, !tbaa !61
  %183 = getelementptr inbounds i8, ptr %0, i64 32
  %184 = load i64, ptr %183, align 8, !tbaa !49
  %switch335 = icmp ult i64 %184, 2
  br i1 %switch335, label %185, label %217

185:                                              ; preds = %181
  %186 = getelementptr inbounds i8, ptr %0, i64 2480
  %187 = getelementptr inbounds i8, ptr %0, i64 824
  %188 = load i8, ptr %187, align 8, !tbaa !47, !range !42, !noundef !43
  %189 = trunc nuw i8 %188 to i1
  %190 = tail call noundef zeroext i1 @_ZN11alglib_impl13dfgmiterationEPNS_9dfgmstateEbPNS_8ae_stateE(ptr noundef nonnull %186, i1 noundef zeroext %189, ptr noundef %1)
  br i1 %190, label %191, label %276

191:                                              ; preds = %185
  %192 = getelementptr inbounds i8, ptr %0, i64 3088
  %193 = load i64, ptr %192, align 8, !tbaa !62
  %194 = icmp eq i64 %193, 4
  br i1 %194, label %195, label %206

195:                                              ; preds = %191
  %196 = getelementptr inbounds i8, ptr %0, i64 3168
  %197 = load i64, ptr %196, align 8, !tbaa !63
  %198 = mul nsw i64 %197, %.1321
  %199 = getelementptr inbounds i8, ptr %0, i64 33472
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %198, ptr noundef nonnull %199, ptr noundef %1)
  %200 = load i64, ptr %196, align 8, !tbaa !63
  %201 = getelementptr inbounds i8, ptr %0, i64 33600
  store i64 %200, ptr %201, align 8, !tbaa !64
  %202 = getelementptr inbounds i8, ptr %0, i64 3176
  %203 = getelementptr inbounds i8, ptr %0, i64 504
  %204 = getelementptr inbounds i8, ptr %0, i64 2800
  %205 = getelementptr inbounds i8, ptr %0, i64 2864
  tail call void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %202, i64 noundef %200, ptr noundef nonnull %203, i64 noundef %.3314, ptr noundef nonnull %204, ptr noundef nonnull %205, ptr noundef nonnull %199, ptr noundef %1)
  %.pr338 = load i64, ptr %192, align 8, !tbaa !62
  br label %206

206:                                              ; preds = %195, %191
  %207 = phi i64 [ %.pr338, %195 ], [ %193, %191 ]
  %.2281 = phi i64 [ 4, %195 ], [ %.1280, %191 ]
  %208 = icmp eq i64 %207, -1
  br i1 %208, label %.thread, label %217

.thread:                                          ; preds = %206
  %209 = getelementptr inbounds i8, ptr %0, i64 3096
  %210 = getelementptr inbounds i8, ptr %0, i64 504
  %211 = getelementptr inbounds i8, ptr %0, i64 2800
  %212 = getelementptr inbounds i8, ptr %0, i64 2864
  %213 = getelementptr inbounds i8, ptr %0, i64 840
  tail call void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %209, i64 noundef 1, ptr noundef nonnull %210, i64 noundef %.3314, ptr noundef nonnull %211, ptr noundef nonnull %212, ptr noundef nonnull %213, ptr noundef %1)
  %214 = getelementptr inbounds i8, ptr %0, i64 3160
  %215 = load double, ptr %214, align 8, !tbaa !65
  %216 = getelementptr inbounds i8, ptr %0, i64 904
  store double %215, ptr %216, align 8, !tbaa !66
  store i64 -1, ptr %182, align 8, !tbaa !61
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext true, ptr noundef nonnull @.str.1534, ptr noundef %1)
  br label %218

217:                                              ; preds = %181, %206
  %.3282 = phi i64 [ %.2281, %206 ], [ %.1280, %181 ]
  %.6 = phi i1 [ %194, %206 ], [ false, %181 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %.6, ptr noundef nonnull @.str.1534, ptr noundef %1)
  %.not334 = icmp eq i64 %.3282, -1
  br i1 %.not334, label %218, label %224

218:                                              ; preds = %.thread, %217
  %219 = load i64, ptr %0, align 8, !tbaa !56
  %220 = icmp eq i64 %219, 2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %220, ptr noundef nonnull @.str.1535, ptr noundef %1)
  %221 = getelementptr inbounds i8, ptr %0, i64 72
  %222 = load i8, ptr %221, align 8, !tbaa !67, !range !42, !noundef !43
  %223 = trunc nuw i8 %222 to i1
  br i1 %223, label %300, label %.thread342

224:                                              ; preds = %23, %217
  %.3323 = phi i64 [ %.1321, %217 ], [ %.0320, %23 ]
  %.5316 = phi i64 [ %.3314, %217 ], [ %.0311, %23 ]
  %.3307 = phi i64 [ %.1305, %217 ], [ %.0304, %23 ]
  %.3300 = phi i64 [ %.1298, %217 ], [ %.0297, %23 ]
  %.5293 = phi i64 [ %.3291, %217 ], [ %.0288, %23 ]
  %.5284 = phi i64 [ %.3282, %217 ], [ %.0279, %23 ]
  %.7 = phi i8 [ 0, %217 ], [ 1, %23 ]
  %.not = icmp eq i64 %.5284, 4
  br i1 %.not, label %225, label %.thread342

225:                                              ; preds = %224
  %226 = getelementptr inbounds i8, ptr %0, i64 33440
  %227 = load i64, ptr %226, align 8, !tbaa !68
  %228 = getelementptr inbounds i8, ptr %0, i64 33600
  %229 = load i64, ptr %228, align 8, !tbaa !64
  %230 = add nsw i64 %229, %227
  store i64 %230, ptr %226, align 8, !tbaa !68
  %231 = getelementptr inbounds i8, ptr %0, i64 33464
  %232 = load i64, ptr %231, align 8, !tbaa !69
  %233 = add nsw i64 %232, 1
  store i64 %233, ptr %231, align 8, !tbaa !69
  %234 = getelementptr inbounds i8, ptr %0, i64 952
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %.3323, ptr noundef nonnull %234, ptr noundef %1)
  %235 = add nsw i64 %.3300, %.3307
  %236 = getelementptr inbounds i8, ptr %0, i64 1016
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %235, ptr noundef nonnull %236, ptr noundef %1)
  %237 = load i64, ptr %228, align 8, !tbaa !64
  %238 = mul nsw i64 %237, %235
  %239 = getelementptr inbounds i8, ptr %0, i64 33536
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %238, ptr noundef nonnull %239, ptr noundef %1)
  br label %240

240:                                              ; preds = %253, %225
  %.4324 = phi i64 [ %.3323, %225 ], [ %.0320, %253 ]
  %.6317 = phi i64 [ %.5316, %225 ], [ %.0311, %253 ]
  %.4308 = phi i64 [ %.3307, %225 ], [ %.0304, %253 ]
  %.4301 = phi i64 [ %.3300, %225 ], [ %.0297, %253 ]
  %.6294 = phi i64 [ 0, %225 ], [ %258, %253 ]
  %.6285 = phi i64 [ 4, %225 ], [ %.0279, %253 ]
  %.8 = phi i8 [ %.7, %225 ], [ %.0, %253 ]
  %241 = getelementptr inbounds i8, ptr %0, i64 33600
  %242 = load i64, ptr %241, align 8, !tbaa !64
  %.not333 = icmp slt i64 %.6294, %242
  br i1 %.not333, label %243, label %.thread342

243:                                              ; preds = %240
  %244 = getelementptr inbounds i8, ptr %0, i64 832
  store i64 4, ptr %244, align 8, !tbaa !61
  %245 = add nsw i64 %.4301, %.4308
  %246 = getelementptr inbounds i8, ptr %0, i64 920
  store i64 %245, ptr %246, align 8, !tbaa !70
  %247 = getelementptr inbounds i8, ptr %0, i64 928
  store i64 %.4324, ptr %247, align 8, !tbaa !71
  %248 = getelementptr inbounds i8, ptr %0, i64 936
  store i64 0, ptr %248, align 8, !tbaa !72
  %249 = getelementptr inbounds i8, ptr %0, i64 912
  store i64 1, ptr %249, align 8, !tbaa !73
  %250 = getelementptr inbounds i8, ptr %0, i64 33472
  %251 = mul nsw i64 %.6294, %.4324
  %252 = getelementptr inbounds i8, ptr %0, i64 952
  tail call void @_ZN11alglib_impl7rcopyvxElPKNS_9ae_vectorElPS0_lPNS_8ae_stateE(i64 noundef %.4324, ptr noundef nonnull %250, i64 noundef %251, ptr noundef nonnull %252, i64 noundef 0, ptr noundef %1)
  br label %300

253:                                              ; preds = %23
  %254 = add nsw i64 %.0297, %.0304
  %255 = getelementptr inbounds i8, ptr %0, i64 1016
  %256 = getelementptr inbounds i8, ptr %0, i64 33536
  %257 = mul nsw i64 %.0288, %254
  tail call void @_ZN11alglib_impl7rcopyvxElPKNS_9ae_vectorElPS0_lPNS_8ae_stateE(i64 noundef %254, ptr noundef nonnull %255, i64 noundef 0, ptr noundef nonnull %256, i64 noundef %257, ptr noundef %1)
  %258 = add nsw i64 %.0288, 1
  br label %240

.thread342:                                       ; preds = %218, %240, %224
  %.5325 = phi i64 [ %.3323, %224 ], [ %.4324, %240 ], [ %.1321, %218 ]
  %.7318 = phi i64 [ %.5316, %224 ], [ %.6317, %240 ], [ %.3314, %218 ]
  %.5309 = phi i64 [ %.3307, %224 ], [ %.4308, %240 ], [ %.1305, %218 ]
  %.5302 = phi i64 [ %.3300, %224 ], [ %.4301, %240 ], [ %.1298, %218 ]
  %.7295 = phi i64 [ %.5293, %224 ], [ %.6294, %240 ], [ %.3291, %218 ]
  %.7286 = phi i64 [ %.5284, %224 ], [ %.6285, %240 ], [ -1, %218 ]
  %.9 = phi i8 [ %.7, %224 ], [ 1, %240 ], [ 1, %218 ]
  %259 = trunc nuw i8 %.9 to i1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %259, ptr noundef nonnull @.str.1536, ptr noundef %1)
  %260 = icmp eq i64 %.7286, -1
  %261 = icmp eq i64 %.7286, 4
  %262 = or i1 %260, %261
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %262, ptr noundef nonnull @.str.1537, ptr noundef %1)
  br i1 %261, label %263, label %275

263:                                              ; preds = %.thread342
  %264 = getelementptr inbounds i8, ptr %0, i64 32
  %265 = load i64, ptr %264, align 8, !tbaa !49
  %switch336 = icmp ult i64 %265, 2
  br i1 %switch336, label %266, label %275

266:                                              ; preds = %263
  %267 = load i64, ptr %0, align 8, !tbaa !56
  %268 = icmp eq i64 %267, 2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %268, ptr noundef nonnull @.str.1538, ptr noundef %1)
  %269 = add nsw i64 %.5302, %.5309
  %270 = getelementptr inbounds i8, ptr %0, i64 33600
  %271 = load i64, ptr %270, align 8, !tbaa !64
  %272 = mul nsw i64 %271, %269
  %273 = getelementptr inbounds i8, ptr %0, i64 33536
  %274 = getelementptr inbounds i8, ptr %0, i64 3240
  tail call void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %272, ptr noundef nonnull %273, ptr noundef nonnull %274, ptr noundef %1)
  br label %275

275:                                              ; preds = %263, %266, %.thread342
  %.10.shrunk = phi i1 [ true, %266 ], [ %260, %.thread342 ], [ %260, %263 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %.10.shrunk, ptr noundef nonnull @.str.1539, ptr noundef %1)
  br label %181

276:                                              ; preds = %185
  %277 = load i64, ptr %183, align 8, !tbaa !49
  %switch337 = icmp ult i64 %277, 2
  br i1 %switch337, label %278, label %288

278:                                              ; preds = %276
  %279 = getelementptr inbounds i8, ptr %0, i64 33344
  %280 = getelementptr inbounds i8, ptr %0, i64 33448
  %281 = load <2 x i64>, ptr %279, align 8, !tbaa !40
  %282 = shufflevector <2 x i64> %281, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
  store <2 x i64> %282, ptr %280, align 8, !tbaa !40
  %283 = getelementptr inbounds i8, ptr %0, i64 4392
  %284 = getelementptr inbounds i8, ptr %0, i64 504
  %285 = getelementptr inbounds i8, ptr %0, i64 2800
  %286 = getelementptr inbounds i8, ptr %0, i64 2864
  %287 = getelementptr inbounds i8, ptr %0, i64 33376
  tail call void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %283, i64 noundef 1, ptr noundef nonnull %284, i64 noundef %.3314, ptr noundef nonnull %285, ptr noundef nonnull %286, ptr noundef nonnull %287, ptr noundef %1)
  br label %288

288:                                              ; preds = %276, %278
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %switch337, ptr noundef nonnull @.str.1540, ptr noundef %1)
  %289 = getelementptr inbounds i8, ptr %0, i64 33368
  %290 = load i8, ptr %289, align 8, !tbaa !48, !range !42, !noundef !43
  %291 = trunc nuw i8 %290 to i1
  br i1 %291, label %292, label %315

292:                                              ; preds = %288
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1541)
  %293 = getelementptr inbounds i8, ptr %0, i64 33440
  %294 = load i64, ptr %293, align 8, !tbaa !68
  %295 = sitofp i64 %294 to double
  %296 = getelementptr inbounds i8, ptr %0, i64 33464
  %297 = load i64, ptr %296, align 8, !tbaa !69
  %298 = sitofp i64 %297 to double
  %299 = fdiv double %295, %298
  tail call void (ptr, ...) @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef nonnull @.str.1542, double noundef %299)
  br label %315

300:                                              ; preds = %218, %243
  %storemerge = phi i32 [ 1, %243 ], [ 0, %218 ]
  %.6326 = phi i64 [ %.4324, %243 ], [ %.1321, %218 ]
  %.8319 = phi i64 [ %.6317, %243 ], [ %.3314, %218 ]
  %.6310 = phi i64 [ %.4308, %243 ], [ %.1305, %218 ]
  %.6303 = phi i64 [ %.4301, %243 ], [ %.1298, %218 ]
  %.8296 = phi i64 [ %.6294, %243 ], [ %.3291, %218 ]
  %.8287 = phi i64 [ %.6285, %243 ], [ -1, %218 ]
  %.12 = phi i8 [ %.8, %243 ], [ 0, %218 ]
  store i32 %storemerge, ptr %3, align 8, !tbaa !5
  %301 = getelementptr inbounds i8, ptr %0, i64 2280
  %302 = load ptr, ptr %301, align 8, !tbaa !39
  store i64 %.6326, ptr %302, align 8, !tbaa !40
  %303 = load ptr, ptr %301, align 8, !tbaa !39
  %304 = getelementptr inbounds i8, ptr %303, i64 8
  store i64 %.8319, ptr %304, align 8, !tbaa !40
  %305 = load ptr, ptr %301, align 8, !tbaa !39
  %306 = getelementptr inbounds i8, ptr %305, i64 16
  store i64 %.6310, ptr %306, align 8, !tbaa !40
  %307 = load ptr, ptr %301, align 8, !tbaa !39
  %308 = getelementptr inbounds i8, ptr %307, i64 24
  store i64 %.6303, ptr %308, align 8, !tbaa !40
  %309 = load ptr, ptr %301, align 8, !tbaa !39
  %310 = getelementptr inbounds i8, ptr %309, i64 32
  store i64 %.8296, ptr %310, align 8, !tbaa !40
  %311 = load ptr, ptr %301, align 8, !tbaa !39
  %312 = getelementptr inbounds i8, ptr %311, i64 40
  store i64 %.8287, ptr %312, align 8, !tbaa !40
  %313 = getelementptr inbounds i8, ptr %0, i64 2344
  %314 = load ptr, ptr %313, align 8, !tbaa !39
  store i8 %.12, ptr %314, align 1, !tbaa !41
  br label %315

315:                                              ; preds = %288, %292, %300, %141, %99
  %.0327 = phi i1 [ true, %300 ], [ false, %99 ], [ false, %141 ], [ false, %292 ], [ false, %288 ]
  ret i1 %.0327
}

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

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

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

declare void @_ZN11alglib_impl8ae_traceEPKcz(ptr noundef, ...) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl19ae_is_trace_enabledEPKc(ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL16nls_unscalebatchEPKNS_8nlsstateEPKNS_9ae_vectorElS5_lS5_S5_PS3_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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, !19, i64 2216}
!6 = !{!"_ZTSN11alglib_impl8nlsstateE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 48, !12, i64 72, !13, i64 80, !13, i64 144, !10, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !13, i64 248, !13, i64 312, !13, i64 376, !13, i64 440, !13, i64 504, !13, i64 568, !13, i64 632, !13, i64 696, !13, i64 760, !12, i64 824, !7, i64 832, !13, i64 840, !10, i64 904, !7, i64 912, !7, i64 920, !7, i64 928, !7, i64 936, !7, i64 944, !13, i64 952, !13, i64 1016, !13, i64 1080, !16, i64 1144, !13, i64 1512, !13, i64 1576, !13, i64 1640, !13, i64 1704, !17, i64 1768, !16, i64 1848, !18, i64 2216, !20, i64 2480, !12, i64 33368, !13, i64 33376, !7, i64 33440, !7, i64 33448, !7, i64 33456, !7, i64 33464, !13, i64 33472, !13, i64 33536, !7, i64 33600}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl19nlpstoppingcriteriaE", !10, i64 0, !10, i64 8, !7, i64 16}
!12 = !{!"bool", !8, i64 0}
!13 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !12, i64 16, !14, i64 24, !8, i64 56}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTSN11alglib_impl12sparsematrixE", !13, i64 0, !13, i64 64, !13, i64 128, !13, i64 192, !13, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !14, i64 40, !8, i64 72}
!18 = !{!"_ZTSN11alglib_impl10rcommstateE", !19, i64 0, !13, i64 8, !13, i64 72, !13, i64 136, !13, i64 200}
!19 = !{!"int", !8, i64 0}
!20 = !{!"_ZTSN11alglib_impl9dfgmstateE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !7, i64 40, !10, i64 48, !7, i64 56, !13, i64 64, !13, i64 128, !13, i64 192, !13, i64 256, !13, i64 320, !13, i64 384, !13, i64 448, !13, i64 512, !10, i64 576, !7, i64 584, !7, i64 592, !10, i64 600, !7, i64 608, !13, i64 616, !10, i64 680, !7, i64 688, !13, i64 696, !13, i64 760, !18, i64 824, !18, i64 1088, !18, i64 1352, !12, i64 1616, !13, i64 1624, !13, i64 1688, !10, i64 1752, !10, i64 1760, !13, i64 1768, !13, i64 1832, !10, i64 1896, !10, i64 1904, !13, i64 1912, !13, i64 1976, !13, i64 2040, !13, i64 2104, !13, i64 2168, !10, i64 2232, !10, i64 2240, !17, i64 2248, !7, i64 2328, !21, i64 2336, !22, i64 2360, !23, i64 2648, !12, i64 3176, !12, i64 3177, !7, i64 3184, !10, i64 3192, !17, i64 3200, !13, i64 3280, !13, i64 3344, !13, i64 3408, !7, i64 3472, !7, i64 3480, !13, i64 3488, !13, i64 3552, !13, i64 3616, !13, i64 3680, !24, i64 3744, !17, i64 30392, !16, i64 30472, !38, i64 30840, !7, i64 30864, !7, i64 30872, !7, i64 30880}
!21 = !{!"_ZTSN11alglib_impl10hqrndstateE", !7, i64 0, !7, i64 8, !7, i64 16}
!22 = !{!"_ZTSN11alglib_impl10df2psmodelE", !13, i64 0, !17, i64 64, !13, i64 144, !17, i64 208}
!23 = !{!"_ZTSN11alglib_impl11dfolsamodelE", !17, i64 0, !17, i64 80, !17, i64 160, !13, i64 240, !17, i64 304, !13, i64 384, !17, i64 448}
!24 = !{!"_ZTSN11alglib_impl9vipmstateE", !12, i64 0, !12, i64 1, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !12, i64 48, !13, i64 56, !13, i64 120, !13, i64 184, !10, i64 248, !13, i64 256, !17, i64 320, !16, i64 400, !13, i64 768, !7, i64 832, !12, i64 840, !13, i64 848, !13, i64 912, !13, i64 976, !13, i64 1040, !13, i64 1104, !13, i64 1168, !17, i64 1232, !17, i64 1312, !16, i64 1392, !16, i64 1760, !16, i64 2128, !13, i64 2496, !13, i64 2560, !13, i64 2624, !13, i64 2688, !13, i64 2752, !7, i64 2816, !7, i64 2824, !25, i64 2832, !25, i64 3488, !25, i64 4144, !25, i64 4800, !25, i64 5456, !13, i64 6112, !13, i64 6176, !13, i64 6240, !13, i64 6304, !13, i64 6368, !7, i64 6432, !7, i64 6440, !7, i64 6448, !7, i64 6456, !7, i64 6464, !7, i64 6472, !12, i64 6480, !12, i64 6481, !7, i64 6488, !12, i64 6496, !12, i64 6497, !13, i64 6504, !13, i64 6568, !13, i64 6632, !13, i64 6696, !13, i64 6760, !13, i64 6824, !13, i64 6888, !13, i64 6952, !13, i64 7016, !13, i64 7080, !13, i64 7144, !13, i64 7208, !13, i64 7272, !13, i64 7336, !13, i64 7400, !17, i64 7464, !13, i64 7544, !13, i64 7608, !13, i64 7672, !13, i64 7736, !13, i64 7800, !26, i64 7864, !37, i64 23944, !13, i64 24584, !13, i64 24648, !13, i64 24712, !13, i64 24776, !13, i64 24840, !13, i64 24904, !13, i64 24968, !13, i64 25032, !25, i64 25096, !13, i64 25752, !13, i64 25816, !13, i64 25880, !13, i64 25944, !13, i64 26008, !17, i64 26072, !13, i64 26152, !13, i64 26216, !16, i64 26280}
!25 = !{!"_ZTSN11alglib_impl8vipmvarsE", !7, i64 0, !7, i64 8, !13, i64 16, !13, i64 80, !13, i64 144, !13, i64 208, !13, i64 272, !13, i64 336, !13, i64 400, !13, i64 464, !13, i64 528, !13, i64 592}
!26 = !{!"_ZTSN11alglib_impl23vipmreducedsparsesystemE", !16, i64 0, !13, i64 368, !13, i64 432, !13, i64 496, !13, i64 560, !7, i64 624, !27, i64 632, !13, i64 15696, !13, i64 15760, !13, i64 15824, !13, i64 15888, !13, i64 15952, !13, i64 16016}
!27 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !7, i64 0, !7, i64 8, !7, i64 16, !12, i64 24, !7, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !13, i64 72, !12, i64 136, !12, i64 137, !12, i64 138, !12, i64 139, !12, i64 140, !13, i64 144, !7, i64 208, !13, i64 216, !13, i64 280, !13, i64 344, !13, i64 408, !13, i64 472, !13, i64 536, !12, i64 600, !13, i64 608, !13, i64 672, !13, i64 736, !13, i64 800, !13, i64 864, !13, i64 928, !12, i64 992, !12, i64 993, !28, i64 1000, !13, i64 1512, !13, i64 1576, !13, i64 1640, !13, i64 1704, !13, i64 1768, !13, i64 1832, !29, i64 1896, !29, i64 2040, !29, i64 2184, !29, i64 2328, !29, i64 2472, !29, i64 2616, !13, i64 2760, !13, i64 2824, !13, i64 2888, !13, i64 2952, !13, i64 3016, !31, i64 3080, !36, i64 7464, !13, i64 13816, !13, i64 13880, !13, i64 13944, !13, i64 14008, !13, i64 14072, !13, i64 14136, !16, i64 14200, !16, i64 14568, !13, i64 14936, !13, i64 15000}
!28 = !{!"_ZTSN11alglib_impl9spcholadjE", !13, i64 0, !13, i64 64, !13, i64 128, !13, i64 192, !13, i64 256, !13, i64 320, !13, i64 384, !13, i64 448}
!29 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !14, i64 32, !30, i64 64, !14, i64 112}
!30 = !{!"_ZTSN11alglib_impl7ae_lockE", !15, i64 0, !14, i64 8, !12, i64 40}
!31 = !{!"_ZTSN11alglib_impl9amdbufferE", !7, i64 0, !12, i64 8, !12, i64 9, !13, i64 16, !13, i64 80, !13, i64 144, !32, i64 208, !32, i64 568, !32, i64 928, !33, i64 1288, !34, i64 1496, !35, i64 1968, !13, i64 2120, !13, i64 2184, !13, i64 2248, !35, i64 2312, !35, i64 2464, !35, i64 2616, !35, i64 2768, !35, i64 2920, !35, i64 3072, !13, i64 3224, !7, i64 3288, !35, i64 3296, !35, i64 3448, !32, i64 3600, !35, i64 3960, !13, i64 4112, !13, i64 4176, !13, i64 4240, !17, i64 4304}
!32 = !{!"_ZTSN11alglib_impl8amdknsetE", !7, i64 0, !7, i64 8, !13, i64 16, !13, i64 80, !13, i64 144, !13, i64 208, !13, i64 272, !7, i64 336, !7, i64 344, !7, i64 352}
!33 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !7, i64 0, !13, i64 8, !13, i64 72, !13, i64 136, !7, i64 200}
!34 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !7, i64 0, !12, i64 8, !7, i64 16, !13, i64 24, !13, i64 88, !13, i64 152, !13, i64 216, !13, i64 280, !13, i64 344, !13, i64 408}
!35 = !{!"_ZTSN11alglib_impl5nisetE", !7, i64 0, !7, i64 8, !13, i64 16, !13, i64 80, !7, i64 144}
!36 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !13, i64 0, !13, i64 64, !31, i64 128, !16, i64 4512, !16, i64 4880, !16, i64 5248, !16, i64 5616, !16, i64 5984}
!37 = !{!"_ZTSN11alglib_impl17vipmrighthandsideE", !13, i64 0, !13, i64 64, !13, i64 128, !13, i64 192, !13, i64 256, !13, i64 320, !13, i64 384, !13, i64 448, !13, i64 512, !13, i64 576}
!38 = !{!"_ZTSN11alglib_impl12matinvreportE", !7, i64 0, !10, i64 8, !10, i64 16}
!39 = !{!8, !8, i64 0}
!40 = !{!7, !7, i64 0}
!41 = !{!12, !12, i64 0}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!6, !7, i64 8}
!45 = !{!6, !7, i64 16}
!46 = !{!6, !7, i64 232}
!47 = !{!6, !12, i64 824}
!48 = !{!6, !12, i64 33368}
!49 = !{!6, !7, i64 32}
!50 = !{!10, !10, i64 0}
!51 = !{!6, !7, i64 33456}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}
!54 = !{!6, !7, i64 33448}
!55 = !{!6, !7, i64 240}
!56 = !{!6, !7, i64 0}
!57 = !{!6, !7, i64 24}
!58 = !{!6, !7, i64 224}
!59 = !{!6, !10, i64 208}
!60 = !{!6, !7, i64 216}
!61 = !{!6, !7, i64 832}
!62 = !{!6, !7, i64 3088}
!63 = !{!6, !7, i64 3168}
!64 = !{!6, !7, i64 33600}
!65 = !{!6, !10, i64 3160}
!66 = !{!6, !10, i64 904}
!67 = !{!6, !12, i64 72}
!68 = !{!6, !7, i64 33440}
!69 = !{!6, !7, i64 33464}
!70 = !{!6, !7, i64 920}
!71 = !{!6, !7, i64 928}
!72 = !{!6, !7, i64 936}
!73 = !{!6, !7, i64 912}


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