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

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

%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }
%"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 }
%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_state" = type { i64, double, double, double, ptr, %"struct.alglib_impl::ae_dyn_block", ptr, i32, ptr, i64, ptr, ptr, ptr }

@.str.1504 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1505 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1506 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.1507 = external hidden unnamed_addr constant [49 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl12nlscreatedfoEllPKNS_9ae_vectorEPNS_8nlsstateEPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store i64 %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !9
  %11 = load ptr, ptr %9, align 8, !tbaa !9
  call void @_ZN11alglib_impl15_nlsstate_clearEPv(ptr noundef %11)
  %12 = load i64, ptr %6, align 8, !tbaa !5
  %13 = icmp sge i64 %12, 1
  %14 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %13, ptr noundef @.str.1504, ptr noundef %14)
  %15 = load i64, ptr %7, align 8, !tbaa !5
  %16 = icmp sge i64 %15, 1
  %17 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %16, ptr noundef @.str.1505, ptr noundef %17)
  %18 = load ptr, ptr %8, align 8, !tbaa !9
  %19 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 0
  %20 = load i64, ptr %19, align 8, !tbaa !11
  %21 = load i64, ptr %6, align 8, !tbaa !5
  %22 = icmp sge i64 %20, %21
  %23 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef @.str.1506, ptr noundef %23)
  %24 = load ptr, ptr %8, align 8, !tbaa !9
  %25 = load i64, ptr %6, align 8, !tbaa !5
  %26 = load ptr, ptr %10, align 8, !tbaa !9
  %27 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef %25, ptr noundef %26)
  %28 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %27, ptr noundef @.str.1507, ptr noundef %28)
  %29 = load ptr, ptr %9, align 8, !tbaa !9
  %30 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %29, i32 0, i32 0
  store i64 2, ptr %30, align 8, !tbaa !15
  %31 = load i64, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %9, align 8, !tbaa !9
  %33 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %32, i32 0, i32 1
  store i64 %31, ptr %33, align 8, !tbaa !42
  %34 = load i64, ptr %7, align 8, !tbaa !5
  %35 = load ptr, ptr %9, align 8, !tbaa !9
  %36 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %35, i32 0, i32 2
  store i64 %34, ptr %36, align 8, !tbaa !43
  %37 = load ptr, ptr %9, align 8, !tbaa !9
  %38 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %37, i32 0, i32 3
  store i64 0, ptr %38, align 8, !tbaa !44
  %39 = load ptr, ptr %9, align 8, !tbaa !9
  %40 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %39, i32 0, i32 5
  store double 0.000000e+00, ptr %40, align 8, !tbaa !45
  %41 = load ptr, ptr %9, align 8, !tbaa !9
  %42 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %41, i32 0, i32 7
  store i8 0, ptr %42, align 8, !tbaa !46
  %43 = load ptr, ptr %9, align 8, !tbaa !9
  %44 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %43, i32 0, i32 10
  store double 0.000000e+00, ptr %44, align 8, !tbaa !47
  %45 = load ptr, ptr %9, align 8, !tbaa !9
  %46 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %45, i32 0, i32 11
  store i64 0, ptr %46, align 8, !tbaa !48
  %47 = load ptr, ptr %9, align 8, !tbaa !9
  %48 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %47, i32 0, i32 6
  %49 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl15critinitdefaultEPNS_19nlpstoppingcriteriaEPNS_8ae_stateE(ptr noundef %48, ptr noundef %49)
  %50 = load i64, ptr %6, align 8, !tbaa !5
  %51 = load ptr, ptr %9, align 8, !tbaa !9
  %52 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %51, i32 0, i32 15
  %53 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl10bsetallocvElbPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %50, i1 noundef zeroext false, ptr noundef %52, ptr noundef %53)
  %54 = load i64, ptr %6, align 8, !tbaa !5
  %55 = load ptr, ptr %9, align 8, !tbaa !9
  %56 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %55, i32 0, i32 16
  %57 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl10bsetallocvElbPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %54, i1 noundef zeroext false, ptr noundef %56, ptr noundef %57)
  %58 = load i64, ptr %6, align 8, !tbaa !5
  %59 = load ptr, ptr %10, align 8, !tbaa !9
  %60 = getelementptr inbounds %"struct.alglib_impl::ae_state", ptr %59, i32 0, i32 3
  %61 = load double, ptr %60, align 8, !tbaa !49
  %62 = load ptr, ptr %9, align 8, !tbaa !9
  %63 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %62, i32 0, i32 17
  %64 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %58, double noundef %61, ptr noundef %63, ptr noundef %64)
  %65 = load i64, ptr %6, align 8, !tbaa !5
  %66 = load ptr, ptr %10, align 8, !tbaa !9
  %67 = getelementptr inbounds %"struct.alglib_impl::ae_state", ptr %66, i32 0, i32 2
  %68 = load double, ptr %67, align 8, !tbaa !53
  %69 = load ptr, ptr %9, align 8, !tbaa !9
  %70 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %69, i32 0, i32 18
  %71 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %65, double noundef %68, ptr noundef %70, ptr noundef %71)
  %72 = load ptr, ptr %9, align 8, !tbaa !9
  %73 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %72, i32 0, i32 13
  store i64 0, ptr %73, align 8, !tbaa !54
  %74 = load ptr, ptr %9, align 8, !tbaa !9
  %75 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %74, i32 0, i32 14
  store i64 0, ptr %75, align 8, !tbaa !55
  %76 = load i64, ptr %6, align 8, !tbaa !5
  %77 = load ptr, ptr %9, align 8, !tbaa !9
  %78 = getelementptr inbounds %"struct.alglib_impl::nlsstate", ptr %77, i32 0, i32 8
  %79 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %76, double noundef 1.000000e+00, ptr noundef %78, ptr noundef %79)
  %80 = load ptr, ptr %9, align 8, !tbaa !9
  %81 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl13nlssetalgo2psEPNS_8nlsstateElPNS_8ae_stateE(ptr noundef %80, i64 noundef 0, ptr noundef %81)
  %82 = load ptr, ptr %9, align 8, !tbaa !9
  %83 = load ptr, ptr %8, align 8, !tbaa !9
  %84 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZN11alglib_impl14nlsrestartfromEPNS_8nlsstateEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %82, ptr noundef %83, ptr noundef %84)
  ret void
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11alglib_impl15critinitdefaultEPNS_19nlpstoppingcriteriaEPNS_8ae_stateE(ptr noundef, ptr noundef) #2

declare void @_ZN11alglib_impl10bsetallocvElbPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15_nlsstate_clearEPv(ptr noundef) #1

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

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

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


; 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.1504 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1505 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1506 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.1507 = external hidden unnamed_addr constant [49 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 void @_ZN11alglib_impl12nlscreatedfoEllPKNS_9ae_vectorEPNS_8nlsstateEPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  tail call void @_ZN11alglib_impl15_nlsstate_clearEPv(ptr noundef %3)
  %6 = icmp sgt i64 %0, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %6, ptr noundef nonnull @.str.1504, ptr noundef %4)
  %7 = icmp sgt i64 %1, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %7, ptr noundef nonnull @.str.1505, ptr noundef %4)
  %8 = load i64, ptr %2, align 8, !tbaa !5
  %9 = icmp sge i64 %8, %0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %9, ptr noundef nonnull @.str.1506, ptr noundef %4)
  %10 = tail call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %2, i64 noundef %0, ptr noundef %4)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %10, ptr noundef nonnull @.str.1507, ptr noundef %4)
  store i64 2, ptr %3, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 %0, ptr %11, align 8, !tbaa !40
  %12 = getelementptr inbounds i8, ptr %3, i64 16
  store i64 %1, ptr %12, align 8, !tbaa !41
  %13 = getelementptr inbounds i8, ptr %3, i64 24
  store i64 0, ptr %13, align 8, !tbaa !42
  %14 = getelementptr inbounds i8, ptr %3, i64 40
  store double 0.000000e+00, ptr %14, align 8, !tbaa !43
  %15 = getelementptr inbounds i8, ptr %3, i64 72
  store i8 0, ptr %15, align 8, !tbaa !44
  %16 = getelementptr inbounds i8, ptr %3, i64 208
  %17 = getelementptr inbounds i8, ptr %3, i64 48
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, i8 0, i64 16, i1 false)
  tail call void @_ZN11alglib_impl15critinitdefaultEPNS_19nlpstoppingcriteriaEPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef %4)
  %18 = getelementptr inbounds i8, ptr %3, i64 248
  tail call void @_ZN11alglib_impl10bsetallocvElbPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %0, i1 noundef zeroext false, ptr noundef nonnull %18, ptr noundef %4)
  %19 = getelementptr inbounds i8, ptr %3, i64 312
  tail call void @_ZN11alglib_impl10bsetallocvElbPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %0, i1 noundef zeroext false, ptr noundef nonnull %19, ptr noundef %4)
  %20 = getelementptr inbounds i8, ptr %4, i64 24
  %21 = load double, ptr %20, align 8, !tbaa !45
  %22 = getelementptr inbounds i8, ptr %3, i64 376
  tail call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %0, double noundef %21, ptr noundef nonnull %22, ptr noundef %4)
  %23 = getelementptr inbounds i8, ptr %4, i64 16
  %24 = load double, ptr %23, align 8, !tbaa !49
  %25 = getelementptr inbounds i8, ptr %3, i64 440
  tail call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %0, double noundef %24, ptr noundef nonnull %25, ptr noundef %4)
  %26 = getelementptr inbounds i8, ptr %3, i64 232
  %27 = getelementptr inbounds i8, ptr %3, i64 80
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %26, i8 0, i64 16, i1 false)
  tail call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %0, double noundef 1.000000e+00, ptr noundef nonnull %27, ptr noundef %4)
  tail call void @_ZN11alglib_impl13nlssetalgo2psEPNS_8nlsstateElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef 0, ptr noundef %4)
  tail call void @_ZN11alglib_impl14nlsrestartfromEPNS_8nlsstateEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %2, ptr noundef %4)
  ret void
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15_nlsstate_clearEPv(ptr noundef) local_unnamed_addr #1

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InstCombinePass,MemCpyOptPass,SROAPass,TailCallElimPass