; 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::ssgdstate" = type { 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_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::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, double, double, double, double, i64, double, %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::hqrndstate", %"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, double, i64, i64, %"struct.alglib_impl::rcommstate", %"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::sparsematrix" }
%"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::hqrndstate" = type { 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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }

@.str.1410 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1411 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1412 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.1413 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1414 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1415 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1416 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1417 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1418 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1419 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1420 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1421 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1422 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1423 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1424 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1425 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1426 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZN11alglib_implL19ssgd_defaultpenaltyE = external hidden global double, align 8
@.str.1427 = external hidden unnamed_addr constant [63 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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_impl16ae_fp_greater_eqEdd(double noundef, double noundef) #1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11ssgdinitbufEPKNS_9ae_vectorES2_S2_S2_lPKNS_9ae_matrixES2_S2_lS2_S2_lddldddldPNS_9ssgdstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i64 noundef %8, ptr noundef %9, ptr noundef %10, i64 noundef %11, double noundef %12, double noundef %13, i64 noundef %14, double noundef %15, double noundef %16, double noundef %17, i64 noundef %18, double noundef %19, ptr noundef %20, ptr noundef %21) #2 {
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i64, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca i64, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca i64, align 8
  %42 = alloca double, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i64, align 8
  store ptr %0, ptr %23, align 8, !tbaa !5
  store ptr %1, ptr %24, align 8, !tbaa !5
  store ptr %2, ptr %25, align 8, !tbaa !5
  store ptr %3, ptr %26, align 8, !tbaa !5
  store i64 %4, ptr %27, align 8, !tbaa !9
  store ptr %5, ptr %28, align 8, !tbaa !5
  store ptr %6, ptr %29, align 8, !tbaa !5
  store ptr %7, ptr %30, align 8, !tbaa !5
  store i64 %8, ptr %31, align 8, !tbaa !9
  store ptr %9, ptr %32, align 8, !tbaa !5
  store ptr %10, ptr %33, align 8, !tbaa !5
  store i64 %11, ptr %34, align 8, !tbaa !9
  store double %12, ptr %35, align 8, !tbaa !11
  store double %13, ptr %36, align 8, !tbaa !11
  store i64 %14, ptr %37, align 8, !tbaa !9
  store double %15, ptr %38, align 8, !tbaa !11
  store double %16, ptr %39, align 8, !tbaa !11
  store double %17, ptr %40, align 8, !tbaa !11
  store i64 %18, ptr %41, align 8, !tbaa !9
  store double %19, ptr %42, align 8, !tbaa !11
  store ptr %20, ptr %43, align 8, !tbaa !5
  store ptr %21, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #3
  %46 = load double, ptr %38, align 8, !tbaa !11
  %47 = load ptr, ptr %44, align 8, !tbaa !5
  %48 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %46, ptr noundef %47)
  %49 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %48, ptr noundef @.str.1410, ptr noundef %49)
  %50 = load double, ptr %39, align 8, !tbaa !11
  %51 = load ptr, ptr %44, align 8, !tbaa !5
  %52 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %50, ptr noundef %51)
  %53 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %52, ptr noundef @.str.1411, ptr noundef %53)
  %54 = load double, ptr %40, align 8, !tbaa !11
  %55 = load ptr, ptr %44, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %54, ptr noundef %55)
  %57 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %56, ptr noundef @.str.1412, ptr noundef %57)
  %58 = load double, ptr %35, align 8, !tbaa !11
  %59 = load ptr, ptr %44, align 8, !tbaa !5
  %60 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %58, ptr noundef %59)
  %61 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %60, ptr noundef @.str.1413, ptr noundef %61)
  %62 = load double, ptr %36, align 8, !tbaa !11
  %63 = load ptr, ptr %44, align 8, !tbaa !5
  %64 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %62, ptr noundef %63)
  %65 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %64, ptr noundef @.str.1414, ptr noundef %65)
  %66 = load double, ptr %42, align 8, !tbaa !11
  %67 = load ptr, ptr %44, align 8, !tbaa !5
  %68 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %66, ptr noundef %67)
  %69 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %68, ptr noundef @.str.1415, ptr noundef %69)
  %70 = load double, ptr %38, align 8, !tbaa !11
  %71 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %70, double noundef 0.000000e+00)
  %72 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %71, ptr noundef @.str.1416, ptr noundef %72)
  %73 = load double, ptr %39, align 8, !tbaa !11
  %74 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %73, double noundef 0.000000e+00)
  %75 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %74, ptr noundef @.str.1417, ptr noundef %75)
  %76 = load double, ptr %40, align 8, !tbaa !11
  %77 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %76, double noundef 0.000000e+00)
  %78 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %77, ptr noundef @.str.1418, ptr noundef %78)
  %79 = load double, ptr %40, align 8, !tbaa !11
  %80 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %79, double noundef 1.000000e+00)
  %81 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %80, ptr noundef @.str.1419, ptr noundef %81)
  %82 = load double, ptr %35, align 8, !tbaa !11
  %83 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %82, double noundef 0.000000e+00)
  %84 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %83, ptr noundef @.str.1420, ptr noundef %84)
  %85 = load double, ptr %36, align 8, !tbaa !11
  %86 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %85, double noundef 0.000000e+00)
  %87 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %86, ptr noundef @.str.1421, ptr noundef %87)
  %88 = load double, ptr %38, align 8, !tbaa !11
  %89 = load double, ptr %39, align 8, !tbaa !11
  %90 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %88, double noundef %89)
  %91 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %90, ptr noundef @.str.1422, ptr noundef %91)
  %92 = load double, ptr %35, align 8, !tbaa !11
  %93 = load double, ptr %36, align 8, !tbaa !11
  %94 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %92, double noundef %93)
  %95 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %94, ptr noundef @.str.1423, ptr noundef %95)
  %96 = load i64, ptr %41, align 8, !tbaa !9
  %97 = icmp sgt i64 %96, 0
  %98 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %97, ptr noundef @.str.1424, ptr noundef %98)
  %99 = load i64, ptr %37, align 8, !tbaa !9
  %100 = icmp sgt i64 %99, 0
  %101 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %100, ptr noundef @.str.1425, ptr noundef %101)
  %102 = load double, ptr %42, align 8, !tbaa !11
  %103 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %102, double noundef 0.000000e+00)
  %104 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %103, ptr noundef @.str.1426, ptr noundef %104)
  %105 = load i64, ptr %27, align 8, !tbaa !9
  %106 = load ptr, ptr %43, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %106, i32 0, i32 0
  store i64 %105, ptr %107, align 8, !tbaa !13
  %108 = load i64, ptr %31, align 8, !tbaa !9
  %109 = load ptr, ptr %43, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %109, i32 0, i32 1
  store i64 %108, ptr %110, align 8, !tbaa !23
  %111 = load i64, ptr %34, align 8, !tbaa !9
  %112 = load ptr, ptr %43, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %112, i32 0, i32 2
  store i64 %111, ptr %113, align 8, !tbaa !24
  %114 = load double, ptr %38, align 8, !tbaa !11
  %115 = load ptr, ptr %43, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %115, i32 0, i32 20
  store double %114, ptr %116, align 8, !tbaa !25
  %117 = load double, ptr %39, align 8, !tbaa !11
  %118 = load ptr, ptr %43, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %118, i32 0, i32 21
  store double %117, ptr %119, align 8, !tbaa !26
  %120 = load double, ptr %35, align 8, !tbaa !11
  %121 = load ptr, ptr %43, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %121, i32 0, i32 23
  store double %120, ptr %122, align 8, !tbaa !27
  %123 = load double, ptr %36, align 8, !tbaa !11
  %124 = load ptr, ptr %43, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %124, i32 0, i32 24
  store double %123, ptr %125, align 8, !tbaa !28
  %126 = load i64, ptr %37, align 8, !tbaa !9
  %127 = load ptr, ptr %43, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %127, i32 0, i32 25
  store i64 %126, ptr %128, align 8, !tbaa !29
  %129 = load i64, ptr %41, align 8, !tbaa !9
  %130 = load ptr, ptr %43, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %130, i32 0, i32 19
  store i64 %129, ptr %131, align 8, !tbaa !30
  %132 = load double, ptr %42, align 8, !tbaa !11
  %133 = load double, ptr @_ZN11alglib_implL19ssgd_defaultpenaltyE, align 8, !tbaa !11
  %134 = load ptr, ptr %44, align 8, !tbaa !5
  %135 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %132, double noundef %133, ptr noundef %134)
  %136 = load ptr, ptr %43, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %136, i32 0, i32 26
  store double %135, ptr %137, align 8, !tbaa !31
  %138 = load ptr, ptr %43, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %138, i32 0, i32 45
  %140 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %139, i32 0, i32 1
  %141 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %140, i64 noundef 7, ptr noundef %141)
  %142 = load ptr, ptr %43, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %142, i32 0, i32 45
  %144 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %143, i32 0, i32 2
  %145 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %144, i64 noundef 2, ptr noundef %145)
  %146 = load ptr, ptr %43, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %146, i32 0, i32 45
  %148 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %147, i32 0, i32 3
  %149 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %148, i64 noundef 8, ptr noundef %149)
  %150 = load ptr, ptr %43, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %150, i32 0, i32 45
  %152 = getelementptr inbounds %"struct.alglib_impl::rcommstate", ptr %151, i32 0, i32 0
  store i32 -1, ptr %152, align 8, !tbaa !32
  %153 = load ptr, ptr %43, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %153, i32 0, i32 30
  store i8 0, ptr %154, align 8, !tbaa !33
  %155 = load ptr, ptr %43, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %155, i32 0, i32 31
  store i8 0, ptr %156, align 1, !tbaa !34
  %157 = load ptr, ptr %43, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %157, i32 0, i32 27
  %159 = load i64, ptr %27, align 8, !tbaa !9
  %160 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %158, i64 noundef %159, ptr noundef %160)
  %161 = load ptr, ptr %43, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %161, i32 0, i32 29
  %163 = load i64, ptr %34, align 8, !tbaa !9
  %164 = add nsw i64 1, %163
  %165 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %162, i64 noundef %164, ptr noundef %165)
  %166 = load i64, ptr %27, align 8, !tbaa !9
  %167 = load ptr, ptr %43, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %167, i32 0, i32 3
  %169 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %166, ptr noundef %168, ptr noundef %169)
  %170 = load i64, ptr %27, align 8, !tbaa !9
  %171 = load ptr, ptr %43, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %171, i32 0, i32 4
  %173 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %170, ptr noundef %172, ptr noundef %173)
  %174 = load ptr, ptr %43, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %174, i32 0, i32 5
  %176 = load i64, ptr %27, align 8, !tbaa !9
  %177 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %175, i64 noundef %176, ptr noundef %177)
  %178 = load ptr, ptr %43, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %178, i32 0, i32 6
  %180 = load i64, ptr %27, align 8, !tbaa !9
  %181 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %179, i64 noundef %180, ptr noundef %181)
  %182 = load i64, ptr %27, align 8, !tbaa !9
  %183 = load ptr, ptr %43, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %183, i32 0, i32 7
  %185 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %182, double noundef -1.000000e+300, ptr noundef %184, ptr noundef %185)
  %186 = load i64, ptr %27, align 8, !tbaa !9
  %187 = load ptr, ptr %43, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %187, i32 0, i32 8
  %189 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %186, double noundef 1.000000e+300, ptr noundef %188, ptr noundef %189)
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %190

190:                                              ; preds = %348, %22
  %191 = load i64, ptr %45, align 8, !tbaa !9
  %192 = load i64, ptr %27, align 8, !tbaa !9
  %193 = sub nsw i64 %192, 1
  %194 = icmp sle i64 %191, %193
  br i1 %194, label %195, label %351

195:                                              ; preds = %190
  %196 = load ptr, ptr %23, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %196, i32 0, i32 4
  %198 = load ptr, ptr %197, align 8, !tbaa !35
  %199 = load i64, ptr %45, align 8, !tbaa !9
  %200 = getelementptr inbounds double, ptr %198, i64 %199
  %201 = load double, ptr %200, align 8, !tbaa !11
  %202 = load ptr, ptr %44, align 8, !tbaa !5
  %203 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %201, ptr noundef %202)
  %204 = load ptr, ptr %43, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %204, i32 0, i32 5
  %206 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %205, i32 0, i32 4
  %207 = load ptr, ptr %206, align 8, !tbaa !35
  %208 = load i64, ptr %45, align 8, !tbaa !9
  %209 = getelementptr inbounds i8, ptr %207, i64 %208
  %210 = zext i1 %203 to i8
  store i8 %210, ptr %209, align 1, !tbaa !36
  %211 = load ptr, ptr %24, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %211, i32 0, i32 4
  %213 = load ptr, ptr %212, align 8, !tbaa !35
  %214 = load i64, ptr %45, align 8, !tbaa !9
  %215 = getelementptr inbounds double, ptr %213, i64 %214
  %216 = load double, ptr %215, align 8, !tbaa !11
  %217 = load ptr, ptr %44, align 8, !tbaa !5
  %218 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %216, ptr noundef %217)
  %219 = load ptr, ptr %43, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %219, i32 0, i32 6
  %221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %220, i32 0, i32 4
  %222 = load ptr, ptr %221, align 8, !tbaa !35
  %223 = load i64, ptr %45, align 8, !tbaa !9
  %224 = getelementptr inbounds i8, ptr %222, i64 %223
  %225 = zext i1 %218 to i8
  store i8 %225, ptr %224, align 1, !tbaa !36
  %226 = load ptr, ptr %43, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %226, i32 0, i32 5
  %228 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %227, i32 0, i32 4
  %229 = load ptr, ptr %228, align 8, !tbaa !35
  %230 = load i64, ptr %45, align 8, !tbaa !9
  %231 = getelementptr inbounds i8, ptr %229, i64 %230
  %232 = load i8, ptr %231, align 1, !tbaa !36, !range !37, !noundef !38
  %233 = trunc i8 %232 to i1
  br i1 %233, label %234, label %254

234:                                              ; preds = %195
  %235 = load ptr, ptr %23, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %235, i32 0, i32 4
  %237 = load ptr, ptr %236, align 8, !tbaa !35
  %238 = load i64, ptr %45, align 8, !tbaa !9
  %239 = getelementptr inbounds double, ptr %237, i64 %238
  %240 = load double, ptr %239, align 8, !tbaa !11
  %241 = load ptr, ptr %25, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %241, i32 0, i32 4
  %243 = load ptr, ptr %242, align 8, !tbaa !35
  %244 = load i64, ptr %45, align 8, !tbaa !9
  %245 = getelementptr inbounds double, ptr %243, i64 %244
  %246 = load double, ptr %245, align 8, !tbaa !11
  %247 = fdiv double %240, %246
  %248 = load ptr, ptr %43, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %248, i32 0, i32 7
  %250 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %249, i32 0, i32 4
  %251 = load ptr, ptr %250, align 8, !tbaa !35
  %252 = load i64, ptr %45, align 8, !tbaa !9
  %253 = getelementptr inbounds double, ptr %251, i64 %252
  store double %247, ptr %253, align 8, !tbaa !11
  br label %254

254:                                              ; preds = %234, %195
  %255 = load ptr, ptr %43, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %255, i32 0, i32 6
  %257 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %256, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !35
  %259 = load i64, ptr %45, align 8, !tbaa !9
  %260 = getelementptr inbounds i8, ptr %258, i64 %259
  %261 = load i8, ptr %260, align 1, !tbaa !36, !range !37, !noundef !38
  %262 = trunc i8 %261 to i1
  br i1 %262, label %263, label %283

263:                                              ; preds = %254
  %264 = load ptr, ptr %24, align 8, !tbaa !5
  %265 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %264, i32 0, i32 4
  %266 = load ptr, ptr %265, align 8, !tbaa !35
  %267 = load i64, ptr %45, align 8, !tbaa !9
  %268 = getelementptr inbounds double, ptr %266, i64 %267
  %269 = load double, ptr %268, align 8, !tbaa !11
  %270 = load ptr, ptr %25, align 8, !tbaa !5
  %271 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %270, i32 0, i32 4
  %272 = load ptr, ptr %271, align 8, !tbaa !35
  %273 = load i64, ptr %45, align 8, !tbaa !9
  %274 = getelementptr inbounds double, ptr %272, i64 %273
  %275 = load double, ptr %274, align 8, !tbaa !11
  %276 = fdiv double %269, %275
  %277 = load ptr, ptr %43, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %277, i32 0, i32 8
  %279 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %278, i32 0, i32 4
  %280 = load ptr, ptr %279, align 8, !tbaa !35
  %281 = load i64, ptr %45, align 8, !tbaa !9
  %282 = getelementptr inbounds double, ptr %280, i64 %281
  store double %276, ptr %282, align 8, !tbaa !11
  br label %283

283:                                              ; preds = %263, %254
  %284 = load ptr, ptr %43, align 8, !tbaa !5
  %285 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %284, i32 0, i32 5
  %286 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %285, i32 0, i32 4
  %287 = load ptr, ptr %286, align 8, !tbaa !35
  %288 = load i64, ptr %45, align 8, !tbaa !9
  %289 = getelementptr inbounds i8, ptr %287, i64 %288
  %290 = load i8, ptr %289, align 1, !tbaa !36, !range !37, !noundef !38
  %291 = trunc i8 %290 to i1
  br i1 %291, label %292, label %316

292:                                              ; preds = %283
  %293 = load ptr, ptr %43, align 8, !tbaa !5
  %294 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %293, i32 0, i32 6
  %295 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %294, i32 0, i32 4
  %296 = load ptr, ptr %295, align 8, !tbaa !35
  %297 = load i64, ptr %45, align 8, !tbaa !9
  %298 = getelementptr inbounds i8, ptr %296, i64 %297
  %299 = load i8, ptr %298, align 1, !tbaa !36, !range !37, !noundef !38
  %300 = trunc i8 %299 to i1
  br i1 %300, label %301, label %316

301:                                              ; preds = %292
  %302 = load ptr, ptr %23, align 8, !tbaa !5
  %303 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %302, i32 0, i32 4
  %304 = load ptr, ptr %303, align 8, !tbaa !35
  %305 = load i64, ptr %45, align 8, !tbaa !9
  %306 = getelementptr inbounds double, ptr %304, i64 %305
  %307 = load double, ptr %306, align 8, !tbaa !11
  %308 = load ptr, ptr %24, align 8, !tbaa !5
  %309 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %308, i32 0, i32 4
  %310 = load ptr, ptr %309, align 8, !tbaa !35
  %311 = load i64, ptr %45, align 8, !tbaa !9
  %312 = getelementptr inbounds double, ptr %310, i64 %311
  %313 = load double, ptr %312, align 8, !tbaa !11
  %314 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %307, double noundef %313)
  %315 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %314, ptr noundef @.str.1427, ptr noundef %315)
  br label %316

316:                                              ; preds = %301, %292, %283
  %317 = load ptr, ptr %26, align 8, !tbaa !5
  %318 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %317, i32 0, i32 4
  %319 = load ptr, ptr %318, align 8, !tbaa !35
  %320 = load i64, ptr %45, align 8, !tbaa !9
  %321 = getelementptr inbounds double, ptr %319, i64 %320
  %322 = load double, ptr %321, align 8, !tbaa !11
  %323 = load ptr, ptr %25, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %323, i32 0, i32 4
  %325 = load ptr, ptr %324, align 8, !tbaa !35
  %326 = load i64, ptr %45, align 8, !tbaa !9
  %327 = getelementptr inbounds double, ptr %325, i64 %326
  %328 = load double, ptr %327, align 8, !tbaa !11
  %329 = fdiv double %322, %328
  %330 = load ptr, ptr %43, align 8, !tbaa !5
  %331 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %330, i32 0, i32 3
  %332 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %331, i32 0, i32 4
  %333 = load ptr, ptr %332, align 8, !tbaa !35
  %334 = load i64, ptr %45, align 8, !tbaa !9
  %335 = getelementptr inbounds double, ptr %333, i64 %334
  store double %329, ptr %335, align 8, !tbaa !11
  %336 = load ptr, ptr %25, align 8, !tbaa !5
  %337 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %336, i32 0, i32 4
  %338 = load ptr, ptr %337, align 8, !tbaa !35
  %339 = load i64, ptr %45, align 8, !tbaa !9
  %340 = getelementptr inbounds double, ptr %338, i64 %339
  %341 = load double, ptr %340, align 8, !tbaa !11
  %342 = load ptr, ptr %43, align 8, !tbaa !5
  %343 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %342, i32 0, i32 4
  %344 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %343, i32 0, i32 4
  %345 = load ptr, ptr %344, align 8, !tbaa !35
  %346 = load i64, ptr %45, align 8, !tbaa !9
  %347 = getelementptr inbounds double, ptr %345, i64 %346
  store double %341, ptr %347, align 8, !tbaa !11
  br label %348

348:                                              ; preds = %316
  %349 = load i64, ptr %45, align 8, !tbaa !9
  %350 = add nsw i64 %349, 1
  store i64 %350, ptr %45, align 8, !tbaa !9
  br label %190, !llvm.loop !39

351:                                              ; preds = %190
  %352 = load i64, ptr %31, align 8, !tbaa !9
  %353 = icmp sgt i64 %352, 0
  br i1 %353, label %354, label %450

354:                                              ; preds = %351
  %355 = load i64, ptr %27, align 8, !tbaa !9
  %356 = load ptr, ptr %43, align 8, !tbaa !5
  %357 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %356, i32 0, i32 53
  %358 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %355, double noundef 0.000000e+00, ptr noundef %357, ptr noundef %358)
  %359 = load i64, ptr %31, align 8, !tbaa !9
  %360 = load i64, ptr %27, align 8, !tbaa !9
  %361 = load ptr, ptr %28, align 8, !tbaa !5
  %362 = load ptr, ptr %43, align 8, !tbaa !5
  %363 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %362, i32 0, i32 9
  %364 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocmEllPKNS_9ae_matrixEPS0_PNS_8ae_stateE(i64 noundef %359, i64 noundef %360, ptr noundef %361, ptr noundef %363, ptr noundef %364)
  %365 = load i64, ptr %31, align 8, !tbaa !9
  %366 = load ptr, ptr %29, align 8, !tbaa !5
  %367 = load ptr, ptr %43, align 8, !tbaa !5
  %368 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %367, i32 0, i32 10
  %369 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %365, ptr noundef %366, ptr noundef %368, ptr noundef %369)
  %370 = load i64, ptr %31, align 8, !tbaa !9
  %371 = load ptr, ptr %30, align 8, !tbaa !5
  %372 = load ptr, ptr %43, align 8, !tbaa !5
  %373 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %372, i32 0, i32 11
  %374 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %370, ptr noundef %371, ptr noundef %373, ptr noundef %374)
  %375 = load ptr, ptr %25, align 8, !tbaa !5
  %376 = load ptr, ptr %43, align 8, !tbaa !5
  %377 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %376, i32 0, i32 53
  %378 = load i64, ptr %27, align 8, !tbaa !9
  %379 = load ptr, ptr %43, align 8, !tbaa !5
  %380 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %379, i32 0, i32 54
  %381 = load ptr, ptr %43, align 8, !tbaa !5
  %382 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %381, i32 0, i32 9
  %383 = load i64, ptr %31, align 8, !tbaa !9
  %384 = load ptr, ptr %43, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %384, i32 0, i32 10
  %386 = load ptr, ptr %43, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %386, i32 0, i32 11
  %388 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl24scaleshiftmixedlcinplaceEPKNS_9ae_vectorES2_lPNS_12sparsematrixElPNS_9ae_matrixElPS0_S7_PNS_8ae_stateE(ptr noundef %375, ptr noundef %377, i64 noundef %378, ptr noundef %380, i64 noundef 0, ptr noundef %382, i64 noundef %383, ptr noundef %385, ptr noundef %387, ptr noundef %388)
  %389 = load ptr, ptr %43, align 8, !tbaa !5
  %390 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %389, i32 0, i32 9
  %391 = load i64, ptr %31, align 8, !tbaa !9
  %392 = load ptr, ptr %43, align 8, !tbaa !5
  %393 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %392, i32 0, i32 10
  %394 = load ptr, ptr %43, align 8, !tbaa !5
  %395 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %394, i32 0, i32 11
  %396 = load i64, ptr %27, align 8, !tbaa !9
  %397 = load ptr, ptr %43, align 8, !tbaa !5
  %398 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %397, i32 0, i32 18
  %399 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23normalizedenselcinplaceEPNS_9ae_matrixElPNS_9ae_vectorES3_lbS3_bPNS_8ae_stateE(ptr noundef %390, i64 noundef %391, ptr noundef %393, ptr noundef %395, i64 noundef %396, i1 noundef zeroext true, ptr noundef %398, i1 noundef zeroext true, ptr noundef %399)
  %400 = load i64, ptr %31, align 8, !tbaa !9
  %401 = load ptr, ptr %43, align 8, !tbaa !5
  %402 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %401, i32 0, i32 12
  %403 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %400, ptr noundef %402, ptr noundef %403)
  %404 = load i64, ptr %31, align 8, !tbaa !9
  %405 = load ptr, ptr %43, align 8, !tbaa !5
  %406 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %405, i32 0, i32 13
  %407 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %404, ptr noundef %406, ptr noundef %407)
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %408

408:                                              ; preds = %446, %354
  %409 = load i64, ptr %45, align 8, !tbaa !9
  %410 = load i64, ptr %31, align 8, !tbaa !9
  %411 = sub nsw i64 %410, 1
  %412 = icmp sle i64 %409, %411
  br i1 %412, label %413, label %449

413:                                              ; preds = %408
  %414 = load ptr, ptr %43, align 8, !tbaa !5
  %415 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %414, i32 0, i32 10
  %416 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %415, i32 0, i32 4
  %417 = load ptr, ptr %416, align 8, !tbaa !35
  %418 = load i64, ptr %45, align 8, !tbaa !9
  %419 = getelementptr inbounds double, ptr %417, i64 %418
  %420 = load double, ptr %419, align 8, !tbaa !11
  %421 = load ptr, ptr %44, align 8, !tbaa !5
  %422 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %420, ptr noundef %421)
  %423 = load ptr, ptr %43, align 8, !tbaa !5
  %424 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %423, i32 0, i32 12
  %425 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %424, i32 0, i32 4
  %426 = load ptr, ptr %425, align 8, !tbaa !35
  %427 = load i64, ptr %45, align 8, !tbaa !9
  %428 = getelementptr inbounds i8, ptr %426, i64 %427
  %429 = zext i1 %422 to i8
  store i8 %429, ptr %428, align 1, !tbaa !36
  %430 = load ptr, ptr %43, align 8, !tbaa !5
  %431 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %430, i32 0, i32 11
  %432 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %431, i32 0, i32 4
  %433 = load ptr, ptr %432, align 8, !tbaa !35
  %434 = load i64, ptr %45, align 8, !tbaa !9
  %435 = getelementptr inbounds double, ptr %433, i64 %434
  %436 = load double, ptr %435, align 8, !tbaa !11
  %437 = load ptr, ptr %44, align 8, !tbaa !5
  %438 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %436, ptr noundef %437)
  %439 = load ptr, ptr %43, align 8, !tbaa !5
  %440 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %439, i32 0, i32 13
  %441 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %440, i32 0, i32 4
  %442 = load ptr, ptr %441, align 8, !tbaa !35
  %443 = load i64, ptr %45, align 8, !tbaa !9
  %444 = getelementptr inbounds i8, ptr %442, i64 %443
  %445 = zext i1 %438 to i8
  store i8 %445, ptr %444, align 1, !tbaa !36
  br label %446

446:                                              ; preds = %413
  %447 = load i64, ptr %45, align 8, !tbaa !9
  %448 = add nsw i64 %447, 1
  store i64 %448, ptr %45, align 8, !tbaa !9
  br label %408, !llvm.loop !41

449:                                              ; preds = %408
  br label %450

450:                                              ; preds = %449, %351
  %451 = load i64, ptr %34, align 8, !tbaa !9
  %452 = icmp sgt i64 %451, 0
  br i1 %452, label %453, label %514

453:                                              ; preds = %450
  %454 = load i64, ptr %34, align 8, !tbaa !9
  %455 = load ptr, ptr %32, align 8, !tbaa !5
  %456 = load ptr, ptr %43, align 8, !tbaa !5
  %457 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %456, i32 0, i32 14
  %458 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %454, ptr noundef %455, ptr noundef %457, ptr noundef %458)
  %459 = load i64, ptr %34, align 8, !tbaa !9
  %460 = load ptr, ptr %33, align 8, !tbaa !5
  %461 = load ptr, ptr %43, align 8, !tbaa !5
  %462 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %461, i32 0, i32 15
  %463 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %459, ptr noundef %460, ptr noundef %462, ptr noundef %463)
  %464 = load i64, ptr %34, align 8, !tbaa !9
  %465 = load ptr, ptr %43, align 8, !tbaa !5
  %466 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %465, i32 0, i32 16
  %467 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %464, ptr noundef %466, ptr noundef %467)
  %468 = load i64, ptr %34, align 8, !tbaa !9
  %469 = load ptr, ptr %43, align 8, !tbaa !5
  %470 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %469, i32 0, i32 17
  %471 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %468, ptr noundef %470, ptr noundef %471)
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %472

472:                                              ; preds = %510, %453
  %473 = load i64, ptr %45, align 8, !tbaa !9
  %474 = load i64, ptr %34, align 8, !tbaa !9
  %475 = sub nsw i64 %474, 1
  %476 = icmp sle i64 %473, %475
  br i1 %476, label %477, label %513

477:                                              ; preds = %472
  %478 = load ptr, ptr %43, align 8, !tbaa !5
  %479 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %478, i32 0, i32 14
  %480 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %479, i32 0, i32 4
  %481 = load ptr, ptr %480, align 8, !tbaa !35
  %482 = load i64, ptr %45, align 8, !tbaa !9
  %483 = getelementptr inbounds double, ptr %481, i64 %482
  %484 = load double, ptr %483, align 8, !tbaa !11
  %485 = load ptr, ptr %44, align 8, !tbaa !5
  %486 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %484, ptr noundef %485)
  %487 = load ptr, ptr %43, align 8, !tbaa !5
  %488 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %487, i32 0, i32 16
  %489 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %488, i32 0, i32 4
  %490 = load ptr, ptr %489, align 8, !tbaa !35
  %491 = load i64, ptr %45, align 8, !tbaa !9
  %492 = getelementptr inbounds i8, ptr %490, i64 %491
  %493 = zext i1 %486 to i8
  store i8 %493, ptr %492, align 1, !tbaa !36
  %494 = load ptr, ptr %43, align 8, !tbaa !5
  %495 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %494, i32 0, i32 15
  %496 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %495, i32 0, i32 4
  %497 = load ptr, ptr %496, align 8, !tbaa !35
  %498 = load i64, ptr %45, align 8, !tbaa !9
  %499 = getelementptr inbounds double, ptr %497, i64 %498
  %500 = load double, ptr %499, align 8, !tbaa !11
  %501 = load ptr, ptr %44, align 8, !tbaa !5
  %502 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %500, ptr noundef %501)
  %503 = load ptr, ptr %43, align 8, !tbaa !5
  %504 = getelementptr inbounds %"struct.alglib_impl::ssgdstate", ptr %503, i32 0, i32 17
  %505 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %504, i32 0, i32 4
  %506 = load ptr, ptr %505, align 8, !tbaa !35
  %507 = load i64, ptr %45, align 8, !tbaa !9
  %508 = getelementptr inbounds i8, ptr %506, i64 %507
  %509 = zext i1 %502 to i8
  store i8 %509, ptr %508, align 1, !tbaa !36
  br label %510

510:                                              ; preds = %477
  %511 = load i64, ptr %45, align 8, !tbaa !9
  %512 = add nsw i64 %511, 1
  store i64 %512, ptr %45, align 8, !tbaa !9
  br label %472, !llvm.loop !42

513:                                              ; preds = %472
  br label %514

514:                                              ; preds = %513, %450
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #3
  ret void
}

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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ssgdstateE", !10, i64 0, !10, i64 8, !10, i64 16, !15, i64 24, !15, i64 88, !15, i64 152, !15, i64 216, !15, i64 280, !15, i64 344, !18, i64 408, !15, i64 488, !15, i64 552, !15, i64 616, !15, i64 680, !15, i64 744, !15, i64 808, !15, i64 872, !15, i64 936, !15, i64 1000, !10, i64 1064, !12, i64 1072, !12, i64 1080, !12, i64 1088, !12, i64 1096, !12, i64 1104, !10, i64 1112, !12, i64 1120, !15, i64 1128, !12, i64 1192, !15, i64 1200, !16, i64 1264, !16, i64 1265, !15, i64 1272, !15, i64 1336, !19, i64 1400, !15, i64 1424, !15, i64 1488, !15, i64 1552, !15, i64 1616, !15, i64 1680, !12, i64 1744, !12, i64 1752, !12, i64 1760, !10, i64 1768, !10, i64 1776, !20, i64 1784, !15, i64 2048, !15, i64 2112, !15, i64 2176, !15, i64 2240, !15, i64 2304, !15, i64 2368, !15, i64 2432, !15, i64 2496, !22, i64 2560}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !16, i64 16, !17, i64 24, !7, i64 56}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !16, i64 32, !17, i64 40, !7, i64 72}
!19 = !{!"_ZTSN11alglib_impl10hqrndstateE", !10, i64 0, !10, i64 8, !10, i64 16}
!20 = !{!"_ZTSN11alglib_impl10rcommstateE", !21, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !15, i64 200}
!21 = !{!"int", !7, i64 0}
!22 = !{!"_ZTSN11alglib_impl12sparsematrixE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!23 = !{!14, !10, i64 8}
!24 = !{!14, !10, i64 16}
!25 = !{!14, !12, i64 1072}
!26 = !{!14, !12, i64 1080}
!27 = !{!14, !12, i64 1096}
!28 = !{!14, !12, i64 1104}
!29 = !{!14, !10, i64 1112}
!30 = !{!14, !10, i64 1064}
!31 = !{!14, !12, i64 1120}
!32 = !{!14, !21, i64 1784}
!33 = !{!14, !16, i64 1264}
!34 = !{!14, !16, i64 1265}
!35 = !{!7, !7, i64 0}
!36 = !{!16, !16, i64 0}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = distinct !{!41, !40}
!42 = distinct !{!42, !40}


; 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.1410 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1411 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1412 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.1413 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1414 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1415 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1416 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1417 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1418 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1419 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1420 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1421 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1422 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1423 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1424 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1425 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1426 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZN11alglib_implL19ssgd_defaultpenaltyE = external hidden local_unnamed_addr global double, align 8
@.str.1427 = external hidden unnamed_addr constant [63 x i8], align 1

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double 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_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11ssgdinitbufEPKNS_9ae_vectorES2_S2_S2_lPKNS_9ae_matrixES2_S2_lS2_S2_lddldddldPNS_9ssgdstateEPNS_8ae_stateE(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i64 noundef %8, ptr noundef %9, ptr noundef %10, i64 noundef %11, double noundef %12, double noundef %13, i64 noundef %14, double noundef %15, double noundef %16, double noundef %17, i64 noundef %18, double noundef %19, ptr noundef %20, ptr noundef %21) local_unnamed_addr #1 {
  %23 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %15, ptr noundef %21)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %23, ptr noundef nonnull @.str.1410, ptr noundef %21)
  %24 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %16, ptr noundef %21)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %24, ptr noundef nonnull @.str.1411, ptr noundef %21)
  %25 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %17, ptr noundef %21)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %25, ptr noundef nonnull @.str.1412, ptr noundef %21)
  %26 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %12, ptr noundef %21)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef nonnull @.str.1413, ptr noundef %21)
  %27 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %13, ptr noundef %21)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %27, ptr noundef nonnull @.str.1414, ptr noundef %21)
  %28 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %19, ptr noundef %21)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %28, ptr noundef nonnull @.str.1415, ptr noundef %21)
  %29 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %15, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %29, ptr noundef nonnull @.str.1416, ptr noundef %21)
  %30 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %16, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %30, ptr noundef nonnull @.str.1417, ptr noundef %21)
  %31 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %17, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %31, ptr noundef nonnull @.str.1418, ptr noundef %21)
  %32 = tail call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %17, double noundef 1.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %32, ptr noundef nonnull @.str.1419, ptr noundef %21)
  %33 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %12, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %33, ptr noundef nonnull @.str.1420, ptr noundef %21)
  %34 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %13, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %34, ptr noundef nonnull @.str.1421, ptr noundef %21)
  %35 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %15, double noundef %16)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %35, ptr noundef nonnull @.str.1422, ptr noundef %21)
  %36 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %12, double noundef %13)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %36, ptr noundef nonnull @.str.1423, ptr noundef %21)
  %37 = icmp sgt i64 %18, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %37, ptr noundef nonnull @.str.1424, ptr noundef %21)
  %38 = icmp sgt i64 %14, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %38, ptr noundef nonnull @.str.1425, ptr noundef %21)
  %39 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %19, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef nonnull @.str.1426, ptr noundef %21)
  store i64 %4, ptr %20, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %20, i64 8
  store i64 %8, ptr %40, align 8, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %20, i64 16
  store i64 %11, ptr %41, align 8, !tbaa !21
  %42 = getelementptr inbounds i8, ptr %20, i64 1072
  store double %15, ptr %42, align 8, !tbaa !22
  %43 = getelementptr inbounds i8, ptr %20, i64 1080
  store double %16, ptr %43, align 8, !tbaa !23
  %44 = getelementptr inbounds i8, ptr %20, i64 1096
  store double %12, ptr %44, align 8, !tbaa !24
  %45 = getelementptr inbounds i8, ptr %20, i64 1104
  store double %13, ptr %45, align 8, !tbaa !25
  %46 = getelementptr inbounds i8, ptr %20, i64 1112
  store i64 %14, ptr %46, align 8, !tbaa !26
  %47 = getelementptr inbounds i8, ptr %20, i64 1064
  store i64 %18, ptr %47, align 8, !tbaa !27
  %48 = load double, ptr @_ZN11alglib_implL19ssgd_defaultpenaltyE, align 8, !tbaa !28
  %49 = tail call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %19, double noundef %48, ptr noundef %21)
  %50 = getelementptr inbounds i8, ptr %20, i64 1120
  store double %49, ptr %50, align 8, !tbaa !29
  %51 = getelementptr inbounds i8, ptr %20, i64 1784
  %52 = getelementptr inbounds i8, ptr %20, i64 1792
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %52, i64 noundef 7, ptr noundef %21)
  %53 = getelementptr inbounds i8, ptr %20, i64 1856
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %53, i64 noundef 2, ptr noundef %21)
  %54 = getelementptr inbounds i8, ptr %20, i64 1920
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %54, i64 noundef 8, ptr noundef %21)
  store i32 -1, ptr %51, align 8, !tbaa !30
  %55 = getelementptr inbounds i8, ptr %20, i64 1264
  store i8 0, ptr %55, align 8, !tbaa !31
  %56 = getelementptr inbounds i8, ptr %20, i64 1265
  store i8 0, ptr %56, align 1, !tbaa !32
  %57 = getelementptr inbounds i8, ptr %20, i64 1128
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %57, i64 noundef %4, ptr noundef %21)
  %58 = getelementptr inbounds i8, ptr %20, i64 1200
  %59 = add nsw i64 %11, 1
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %58, i64 noundef %59, ptr noundef %21)
  %60 = getelementptr inbounds i8, ptr %20, i64 24
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %4, ptr noundef nonnull %60, ptr noundef %21)
  %61 = getelementptr inbounds i8, ptr %20, i64 88
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %4, ptr noundef nonnull %61, ptr noundef %21)
  %62 = getelementptr inbounds i8, ptr %20, i64 152
  tail call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %62, i64 noundef %4, ptr noundef %21)
  %63 = getelementptr inbounds i8, ptr %20, i64 216
  tail call void @_ZN11alglib_impl23bvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %63, i64 noundef %4, ptr noundef %21)
  %64 = getelementptr inbounds i8, ptr %20, i64 280
  tail call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %4, double noundef -1.000000e+300, ptr noundef nonnull %64, ptr noundef %21)
  %65 = getelementptr inbounds i8, ptr %20, i64 344
  tail call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %4, double noundef 1.000000e+300, ptr noundef nonnull %65, ptr noundef %21)
  %.not.not228 = icmp sgt i64 %4, 0
  br i1 %.not.not228, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %22
  %66 = getelementptr inbounds i8, ptr %0, i64 56
  %67 = getelementptr inbounds i8, ptr %20, i64 208
  %68 = getelementptr inbounds i8, ptr %1, i64 56
  %69 = getelementptr inbounds i8, ptr %20, i64 272
  %70 = getelementptr inbounds i8, ptr %2, i64 56
  %71 = getelementptr inbounds i8, ptr %20, i64 336
  %72 = getelementptr inbounds i8, ptr %20, i64 400
  %73 = getelementptr inbounds i8, ptr %3, i64 56
  %74 = getelementptr inbounds i8, ptr %20, i64 80
  %75 = getelementptr inbounds i8, ptr %20, i64 144
  br label %76

76:                                               ; preds = %.lr.ph, %138
  %.0229 = phi i64 [ 0, %.lr.ph ], [ %153, %138 ]
  %77 = load ptr, ptr %66, align 8, !tbaa !33
  %78 = getelementptr inbounds double, ptr %77, i64 %.0229
  %79 = load double, ptr %78, align 8, !tbaa !28
  %80 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %79, ptr noundef %21)
  %81 = load ptr, ptr %67, align 8, !tbaa !33
  %82 = getelementptr inbounds i8, ptr %81, i64 %.0229
  %83 = zext i1 %80 to i8
  store i8 %83, ptr %82, align 1, !tbaa !34
  %84 = load ptr, ptr %68, align 8, !tbaa !33
  %85 = getelementptr inbounds double, ptr %84, i64 %.0229
  %86 = load double, ptr %85, align 8, !tbaa !28
  %87 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %86, ptr noundef %21)
  %88 = load ptr, ptr %69, align 8, !tbaa !33
  %89 = getelementptr inbounds i8, ptr %88, i64 %.0229
  %90 = zext i1 %87 to i8
  store i8 %90, ptr %89, align 1, !tbaa !34
  %91 = load ptr, ptr %67, align 8, !tbaa !33
  %92 = getelementptr inbounds i8, ptr %91, i64 %.0229
  %93 = load i8, ptr %92, align 1, !tbaa !34, !range !35, !noundef !36
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %95, label %105

95:                                               ; preds = %76
  %96 = load ptr, ptr %66, align 8, !tbaa !33
  %97 = getelementptr inbounds double, ptr %96, i64 %.0229
  %98 = load double, ptr %97, align 8, !tbaa !28
  %99 = load ptr, ptr %70, align 8, !tbaa !33
  %100 = getelementptr inbounds double, ptr %99, i64 %.0229
  %101 = load double, ptr %100, align 8, !tbaa !28
  %102 = fdiv double %98, %101
  %103 = load ptr, ptr %71, align 8, !tbaa !33
  %104 = getelementptr inbounds double, ptr %103, i64 %.0229
  store double %102, ptr %104, align 8, !tbaa !28
  br label %105

105:                                              ; preds = %95, %76
  %106 = load ptr, ptr %69, align 8, !tbaa !33
  %107 = getelementptr inbounds i8, ptr %106, i64 %.0229
  %108 = load i8, ptr %107, align 1, !tbaa !34, !range !35, !noundef !36
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %110, label %120

110:                                              ; preds = %105
  %111 = load ptr, ptr %68, align 8, !tbaa !33
  %112 = getelementptr inbounds double, ptr %111, i64 %.0229
  %113 = load double, ptr %112, align 8, !tbaa !28
  %114 = load ptr, ptr %70, align 8, !tbaa !33
  %115 = getelementptr inbounds double, ptr %114, i64 %.0229
  %116 = load double, ptr %115, align 8, !tbaa !28
  %117 = fdiv double %113, %116
  %118 = load ptr, ptr %72, align 8, !tbaa !33
  %119 = getelementptr inbounds double, ptr %118, i64 %.0229
  store double %117, ptr %119, align 8, !tbaa !28
  br label %120

120:                                              ; preds = %110, %105
  %121 = load ptr, ptr %67, align 8, !tbaa !33
  %122 = getelementptr inbounds i8, ptr %121, i64 %.0229
  %123 = load i8, ptr %122, align 1, !tbaa !34, !range !35, !noundef !36
  %124 = trunc nuw i8 %123 to i1
  br i1 %124, label %125, label %138

125:                                              ; preds = %120
  %126 = load ptr, ptr %69, align 8, !tbaa !33
  %127 = getelementptr inbounds i8, ptr %126, i64 %.0229
  %128 = load i8, ptr %127, align 1, !tbaa !34, !range !35, !noundef !36
  %129 = trunc nuw i8 %128 to i1
  br i1 %129, label %130, label %138

130:                                              ; preds = %125
  %131 = load ptr, ptr %66, align 8, !tbaa !33
  %132 = getelementptr inbounds double, ptr %131, i64 %.0229
  %133 = load double, ptr %132, align 8, !tbaa !28
  %134 = load ptr, ptr %68, align 8, !tbaa !33
  %135 = getelementptr inbounds double, ptr %134, i64 %.0229
  %136 = load double, ptr %135, align 8, !tbaa !28
  %137 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %133, double noundef %136)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %137, ptr noundef nonnull @.str.1427, ptr noundef %21)
  br label %138

138:                                              ; preds = %130, %125, %120
  %139 = load ptr, ptr %73, align 8, !tbaa !33
  %140 = getelementptr inbounds double, ptr %139, i64 %.0229
  %141 = load double, ptr %140, align 8, !tbaa !28
  %142 = load ptr, ptr %70, align 8, !tbaa !33
  %143 = getelementptr inbounds double, ptr %142, i64 %.0229
  %144 = load double, ptr %143, align 8, !tbaa !28
  %145 = fdiv double %141, %144
  %146 = load ptr, ptr %74, align 8, !tbaa !33
  %147 = getelementptr inbounds double, ptr %146, i64 %.0229
  store double %145, ptr %147, align 8, !tbaa !28
  %148 = load ptr, ptr %70, align 8, !tbaa !33
  %149 = getelementptr inbounds double, ptr %148, i64 %.0229
  %150 = load double, ptr %149, align 8, !tbaa !28
  %151 = load ptr, ptr %75, align 8, !tbaa !33
  %152 = getelementptr inbounds double, ptr %151, i64 %.0229
  store double %150, ptr %152, align 8, !tbaa !28
  %153 = add nuw nsw i64 %.0229, 1
  %exitcond.not = icmp eq i64 %153, %4
  br i1 %exitcond.not, label %._crit_edge, label %76, !llvm.loop !37

._crit_edge:                                      ; preds = %138, %22
  %154 = icmp sgt i64 %8, 0
  br i1 %154, label %155, label %.loopexit227

155:                                              ; preds = %._crit_edge
  %156 = getelementptr inbounds i8, ptr %20, i64 2496
  tail call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %4, double noundef 0.000000e+00, ptr noundef nonnull %156, ptr noundef %21)
  %157 = getelementptr inbounds i8, ptr %20, i64 408
  tail call void @_ZN11alglib_impl11rcopyallocmEllPKNS_9ae_matrixEPS0_PNS_8ae_stateE(i64 noundef %8, i64 noundef %4, ptr noundef %5, ptr noundef nonnull %157, ptr noundef %21)
  %158 = getelementptr inbounds i8, ptr %20, i64 488
  tail call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %8, ptr noundef %6, ptr noundef nonnull %158, ptr noundef %21)
  %159 = getelementptr inbounds i8, ptr %20, i64 552
  tail call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %8, ptr noundef %7, ptr noundef nonnull %159, ptr noundef %21)
  %160 = getelementptr inbounds i8, ptr %20, i64 2560
  tail call void @_ZN11alglib_impl24scaleshiftmixedlcinplaceEPKNS_9ae_vectorES2_lPNS_12sparsematrixElPNS_9ae_matrixElPS0_S7_PNS_8ae_stateE(ptr noundef %2, ptr noundef nonnull %156, i64 noundef %4, ptr noundef nonnull %160, i64 noundef 0, ptr noundef nonnull %157, i64 noundef %8, ptr noundef nonnull %158, ptr noundef nonnull %159, ptr noundef %21)
  %161 = getelementptr inbounds i8, ptr %20, i64 1000
  tail call void @_ZN11alglib_impl23normalizedenselcinplaceEPNS_9ae_matrixElPNS_9ae_vectorES3_lbS3_bPNS_8ae_stateE(ptr noundef nonnull %157, i64 noundef %8, ptr noundef nonnull %158, ptr noundef nonnull %159, i64 noundef %4, i1 noundef zeroext true, ptr noundef nonnull %161, i1 noundef zeroext true, ptr noundef %21)
  %162 = getelementptr inbounds i8, ptr %20, i64 616
  tail call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %8, ptr noundef nonnull %162, ptr noundef %21)
  %163 = getelementptr inbounds i8, ptr %20, i64 680
  tail call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %8, ptr noundef nonnull %163, ptr noundef %21)
  %164 = getelementptr inbounds i8, ptr %20, i64 544
  %165 = getelementptr inbounds i8, ptr %20, i64 672
  %166 = getelementptr inbounds i8, ptr %20, i64 608
  %167 = getelementptr inbounds i8, ptr %20, i64 736
  br label %168

168:                                              ; preds = %155, %168
  %.1230 = phi i64 [ 0, %155 ], [ %183, %168 ]
  %169 = load ptr, ptr %164, align 8, !tbaa !33
  %170 = getelementptr inbounds double, ptr %169, i64 %.1230
  %171 = load double, ptr %170, align 8, !tbaa !28
  %172 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %171, ptr noundef %21)
  %173 = load ptr, ptr %165, align 8, !tbaa !33
  %174 = getelementptr inbounds i8, ptr %173, i64 %.1230
  %175 = zext i1 %172 to i8
  store i8 %175, ptr %174, align 1, !tbaa !34
  %176 = load ptr, ptr %166, align 8, !tbaa !33
  %177 = getelementptr inbounds double, ptr %176, i64 %.1230
  %178 = load double, ptr %177, align 8, !tbaa !28
  %179 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %178, ptr noundef %21)
  %180 = load ptr, ptr %167, align 8, !tbaa !33
  %181 = getelementptr inbounds i8, ptr %180, i64 %.1230
  %182 = zext i1 %179 to i8
  store i8 %182, ptr %181, align 1, !tbaa !34
  %183 = add nuw nsw i64 %.1230, 1
  %exitcond232.not = icmp eq i64 %183, %8
  br i1 %exitcond232.not, label %.loopexit227, label %168, !llvm.loop !39

.loopexit227:                                     ; preds = %168, %._crit_edge
  %184 = icmp sgt i64 %11, 0
  br i1 %184, label %185, label %.loopexit

185:                                              ; preds = %.loopexit227
  %186 = getelementptr inbounds i8, ptr %20, i64 744
  tail call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %11, ptr noundef %9, ptr noundef nonnull %186, ptr noundef %21)
  %187 = getelementptr inbounds i8, ptr %20, i64 808
  tail call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %11, ptr noundef %10, ptr noundef nonnull %187, ptr noundef %21)
  %188 = getelementptr inbounds i8, ptr %20, i64 872
  tail call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %11, ptr noundef nonnull %188, ptr noundef %21)
  %189 = getelementptr inbounds i8, ptr %20, i64 936
  tail call void @_ZN11alglib_impl7ballocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %11, ptr noundef nonnull %189, ptr noundef %21)
  %190 = getelementptr inbounds i8, ptr %20, i64 800
  %191 = getelementptr inbounds i8, ptr %20, i64 928
  %192 = getelementptr inbounds i8, ptr %20, i64 864
  %193 = getelementptr inbounds i8, ptr %20, i64 992
  br label %194

194:                                              ; preds = %185, %194
  %.2231 = phi i64 [ 0, %185 ], [ %209, %194 ]
  %195 = load ptr, ptr %190, align 8, !tbaa !33
  %196 = getelementptr inbounds double, ptr %195, i64 %.2231
  %197 = load double, ptr %196, align 8, !tbaa !28
  %198 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %197, ptr noundef %21)
  %199 = load ptr, ptr %191, align 8, !tbaa !33
  %200 = getelementptr inbounds i8, ptr %199, i64 %.2231
  %201 = zext i1 %198 to i8
  store i8 %201, ptr %200, align 1, !tbaa !34
  %202 = load ptr, ptr %192, align 8, !tbaa !33
  %203 = getelementptr inbounds double, ptr %202, i64 %.2231
  %204 = load double, ptr %203, align 8, !tbaa !28
  %205 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %204, ptr noundef %21)
  %206 = load ptr, ptr %193, align 8, !tbaa !33
  %207 = getelementptr inbounds i8, ptr %206, i64 %.2231
  %208 = zext i1 %205 to i8
  store i8 %208, ptr %207, align 1, !tbaa !34
  %209 = add nuw nsw i64 %.2231, 1
  %exitcond233.not = icmp eq i64 %209, %11
  br i1 %exitcond233.not, label %.loopexit, label %194, !llvm.loop !40

.loopexit:                                        ; preds = %194, %.loopexit227
  ret void
}

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

!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_impl9ssgdstateE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 88, !10, i64 152, !10, i64 216, !10, i64 280, !10, i64 344, !14, i64 408, !10, i64 488, !10, i64 552, !10, i64 616, !10, i64 680, !10, i64 744, !10, i64 808, !10, i64 872, !10, i64 936, !10, i64 1000, !7, i64 1064, !15, i64 1072, !15, i64 1080, !15, i64 1088, !15, i64 1096, !15, i64 1104, !7, i64 1112, !15, i64 1120, !10, i64 1128, !15, i64 1192, !10, i64 1200, !11, i64 1264, !11, i64 1265, !10, i64 1272, !10, i64 1336, !16, i64 1400, !10, i64 1424, !10, i64 1488, !10, i64 1552, !10, i64 1616, !10, i64 1680, !15, i64 1744, !15, i64 1752, !15, i64 1760, !7, i64 1768, !7, i64 1776, !17, i64 1784, !10, i64 2048, !10, i64 2112, !10, i64 2176, !10, i64 2240, !10, i64 2304, !10, i64 2368, !10, i64 2432, !10, i64 2496, !19, i64 2560}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !8, i64 56}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !12, i64 40, !8, i64 72}
!15 = !{!"double", !8, i64 0}
!16 = !{!"_ZTSN11alglib_impl10hqrndstateE", !7, i64 0, !7, i64 8, !7, i64 16}
!17 = !{!"_ZTSN11alglib_impl10rcommstateE", !18, i64 0, !10, i64 8, !10, i64 72, !10, i64 136, !10, i64 200}
!18 = !{!"int", !8, i64 0}
!19 = !{!"_ZTSN11alglib_impl12sparsematrixE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !10, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!20 = !{!6, !7, i64 8}
!21 = !{!6, !7, i64 16}
!22 = !{!6, !15, i64 1072}
!23 = !{!6, !15, i64 1080}
!24 = !{!6, !15, i64 1096}
!25 = !{!6, !15, i64 1104}
!26 = !{!6, !7, i64 1112}
!27 = !{!6, !7, i64 1064}
!28 = !{!15, !15, i64 0}
!29 = !{!6, !15, i64 1120}
!30 = !{!6, !18, i64 1784}
!31 = !{!6, !11, i64 1264}
!32 = !{!6, !11, i64 1265}
!33 = !{!8, !8, i64 0}
!34 = !{!11, !11, i64 0}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = distinct !{!39, !38}
!40 = distinct !{!40, !38}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass