; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/tests/test_c.ll (Z10testlinregbPN11alglib_impl8ae_stateE)

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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }
%"struct.alglib_impl::linearmodel" = type { %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::lrreport" = type { %"struct.alglib_impl::ae_matrix", double, double, double, double, double, double, i64, %"struct.alglib_impl::ae_vector" }

@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.477 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1044 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1045 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1046 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1047 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1048 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1049 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1050 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1051 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1052 = external hidden unnamed_addr constant [42 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

declare i32 @printf(ptr noundef, ...) #1

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

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

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

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

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

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

declare noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #1

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef, ptr noundef) #1

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

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

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

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

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #1

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10testlinregbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #4 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca double, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca double, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %25 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %26 = alloca %"struct.alglib_impl::ae_vector", align 8
  %27 = alloca %"struct.alglib_impl::ae_vector", align 8
  %28 = alloca %"struct.alglib_impl::ae_vector", align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::ae_vector", align 8
  %32 = alloca %"struct.alglib_impl::ae_vector", align 8
  %33 = alloca %"struct.alglib_impl::ae_vector", align 8
  %34 = alloca %"struct.alglib_impl::ae_vector", align 8
  %35 = alloca %"struct.alglib_impl::linearmodel", align 8
  %36 = alloca %"struct.alglib_impl::linearmodel", align 8
  %37 = alloca %"struct.alglib_impl::linearmodel", align 8
  %38 = alloca %"struct.alglib_impl::ae_vector", align 8
  %39 = alloca %"struct.alglib_impl::ae_vector", align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca i8, align 1
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca double, align 8
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca i64, align 8
  %51 = alloca %"struct.alglib_impl::ae_vector", align 8
  %52 = alloca %"struct.alglib_impl::ae_vector", align 8
  %53 = alloca %"struct.alglib_impl::ae_vector", align 8
  %54 = alloca %"struct.alglib_impl::lrreport", align 8
  %55 = alloca %"struct.alglib_impl::lrreport", align 8
  %56 = alloca double, align 8
  %57 = alloca double, align 8
  %58 = alloca double, align 8
  %59 = alloca double, align 8
  %60 = alloca double, align 8
  %61 = alloca double, align 8
  %62 = alloca double, align 8
  %63 = alloca double, align 8
  %64 = alloca double, align 8
  %65 = alloca double, align 8
  %66 = alloca double, align 8
  %67 = alloca i8, align 1
  %68 = alloca double, align 8
  %69 = alloca double, align 8
  %70 = alloca double, align 8
  %71 = alloca double, align 8
  %72 = alloca double, align 8
  %73 = alloca double, align 8
  %74 = alloca double, align 8
  %75 = alloca double, align 8
  %76 = alloca double, align 8
  %77 = alloca i8, align 1
  %78 = alloca i8, align 1
  %79 = alloca i8, align 1
  %80 = alloca i8, align 1
  %81 = alloca i8, align 1
  %82 = alloca i8, align 1
  %83 = alloca i8, align 1
  %84 = alloca i8, align 1
  %85 = alloca i8, align 1
  %86 = zext i1 %0 to i8
  store i8 %86, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %52) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %77) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %78) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %79) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %81) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %82) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %83) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %85) #5
  %87 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %87, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %30, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %31, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %32, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %33, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %34, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %35, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %36, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %38, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %39, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %51, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %52, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %53, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %54, i8 0, i64 200, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %55, i8 0, i64 200, i1 false)
  %88 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %24, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %88, i1 noundef zeroext true)
  %89 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %25, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %89, i1 noundef zeroext true)
  %90 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %26, i64 noundef 0, i64 noundef 3, ptr noundef %90, i1 noundef zeroext true)
  %91 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %27, i64 noundef 0, i64 noundef 3, ptr noundef %91, i1 noundef zeroext true)
  %92 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %28, i64 noundef 0, i64 noundef 3, ptr noundef %92, i1 noundef zeroext true)
  %93 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %29, i64 noundef 0, i64 noundef 3, ptr noundef %93, i1 noundef zeroext true)
  %94 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %30, i64 noundef 0, i64 noundef 3, ptr noundef %94, i1 noundef zeroext true)
  %95 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %31, i64 noundef 0, i64 noundef 3, ptr noundef %95, i1 noundef zeroext true)
  %96 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %32, i64 noundef 0, i64 noundef 3, ptr noundef %96, i1 noundef zeroext true)
  %97 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %33, i64 noundef 0, i64 noundef 3, ptr noundef %97, i1 noundef zeroext true)
  %98 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %34, i64 noundef 0, i64 noundef 3, ptr noundef %98, i1 noundef zeroext true)
  %99 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl17_linearmodel_initEPvPNS_8ae_stateEb(ptr noundef %35, ptr noundef %99, i1 noundef zeroext true)
  %100 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl17_linearmodel_initEPvPNS_8ae_stateEb(ptr noundef %36, ptr noundef %100, i1 noundef zeroext true)
  %101 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl17_linearmodel_initEPvPNS_8ae_stateEb(ptr noundef %37, ptr noundef %101, i1 noundef zeroext true)
  %102 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %38, i64 noundef 0, i64 noundef 3, ptr noundef %102, i1 noundef zeroext true)
  %103 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %39, i64 noundef 0, i64 noundef 3, ptr noundef %103, i1 noundef zeroext true)
  %104 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %51, i64 noundef 0, i64 noundef 3, ptr noundef %104, i1 noundef zeroext true)
  %105 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %52, i64 noundef 0, i64 noundef 3, ptr noundef %105, i1 noundef zeroext true)
  %106 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %53, i64 noundef 0, i64 noundef 3, ptr noundef %106, i1 noundef zeroext true)
  %107 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14_lrreport_initEPvPNS_8ae_stateEb(ptr noundef %54, ptr noundef %107, i1 noundef zeroext true)
  %108 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14_lrreport_initEPvPNS_8ae_stateEb(ptr noundef %55, ptr noundef %108, i1 noundef zeroext true)
  store i64 40, ptr %7, align 8, !tbaa !11
  store i64 1000, ptr %8, align 8, !tbaa !11
  store double 7.000000e+00, ptr %6, align 8, !tbaa !13
  store double 5.000000e-10, ptr %9, align 8, !tbaa !13
  store i8 0, ptr %78, align 1, !tbaa !5
  store i8 0, ptr %77, align 1, !tbaa !5
  store i8 0, ptr %79, align 1, !tbaa !5
  store i8 0, ptr %80, align 1, !tbaa !5
  store i8 0, ptr %81, align 1, !tbaa !5
  store i8 0, ptr %82, align 1, !tbaa !5
  store i8 0, ptr %83, align 1, !tbaa !5
  store i8 0, ptr %84, align 1, !tbaa !5
  store i64 5, ptr %50, align 8, !tbaa !11
  %109 = load i64, ptr %50, align 8, !tbaa !11
  %110 = sub nsw i64 %109, 1
  %111 = add nsw i64 %110, 1
  %112 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %51, i64 noundef %111, ptr noundef %112)
  %113 = load i64, ptr %50, align 8, !tbaa !11
  %114 = sub nsw i64 %113, 1
  %115 = add nsw i64 %114, 1
  %116 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %52, i64 noundef %115, ptr noundef %116)
  %117 = load i64, ptr %50, align 8, !tbaa !11
  %118 = sub nsw i64 %117, 1
  %119 = add nsw i64 %118, 1
  %120 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %53, i64 noundef %119, ptr noundef %120)
  %121 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %122 = load ptr, ptr %121, align 8, !tbaa !15
  %123 = getelementptr inbounds double, ptr %122, i64 0
  store double 5.000000e-01, ptr %123, align 8, !tbaa !13
  %124 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %125 = load ptr, ptr %124, align 8, !tbaa !15
  %126 = getelementptr inbounds double, ptr %125, i64 1
  store double 2.500000e-01, ptr %126, align 8, !tbaa !13
  %127 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = getelementptr inbounds double, ptr %128, i64 2
  store double 1.000000e-01, ptr %129, align 8, !tbaa !13
  %130 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !15
  %132 = getelementptr inbounds double, ptr %131, i64 3
  store double 5.000000e-02, ptr %132, align 8, !tbaa !13
  %133 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %134 = load ptr, ptr %133, align 8, !tbaa !15
  %135 = getelementptr inbounds double, ptr %134, i64 4
  store double 2.500000e-02, ptr %135, align 8, !tbaa !13
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %136

136:                                              ; preds = %163, %2
  %137 = load i64, ptr %11, align 8, !tbaa !11
  %138 = load i64, ptr %50, align 8, !tbaa !11
  %139 = sub nsw i64 %138, 1
  %140 = icmp sle i64 %137, %139
  br i1 %140, label %141, label %166

141:                                              ; preds = %136
  %142 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %143 = load ptr, ptr %142, align 8, !tbaa !15
  %144 = load i64, ptr %11, align 8, !tbaa !11
  %145 = getelementptr inbounds double, ptr %143, i64 %144
  %146 = load double, ptr %145, align 8, !tbaa !13
  %147 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 4
  %148 = load ptr, ptr %147, align 8, !tbaa !15
  %149 = load i64, ptr %11, align 8, !tbaa !11
  %150 = getelementptr inbounds double, ptr %148, i64 %149
  %151 = load double, ptr %150, align 8, !tbaa !13
  %152 = fsub double 1.000000e+00, %151
  %153 = fmul double %146, %152
  %154 = load i64, ptr %8, align 8, !tbaa !11
  %155 = sitofp i64 %154 to double
  %156 = fdiv double %153, %155
  %157 = load ptr, ptr %4, align 8, !tbaa !9
  %158 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %156, ptr noundef %157)
  %159 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %53, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !15
  %161 = load i64, ptr %11, align 8, !tbaa !11
  %162 = getelementptr inbounds double, ptr %160, i64 %161
  store double %158, ptr %162, align 8, !tbaa !13
  br label %163

163:                                              ; preds = %141
  %164 = load i64, ptr %11, align 8, !tbaa !11
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr %11, align 8, !tbaa !11
  br label %136, !llvm.loop !16

166:                                              ; preds = %136
  %167 = load i64, ptr %8, align 8, !tbaa !11
  %168 = sub nsw i64 %167, 1
  %169 = add nsw i64 %168, 1
  %170 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef %169, ptr noundef %170)
  %171 = load i64, ptr %8, align 8, !tbaa !11
  %172 = sub nsw i64 %171, 1
  %173 = add nsw i64 %172, 1
  %174 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %31, i64 noundef %173, ptr noundef %174)
  store i64 3, ptr %10, align 8, !tbaa !11
  br label %175

175:                                              ; preds = %373, %166
  %176 = load i64, ptr %10, align 8, !tbaa !11
  %177 = load i64, ptr %7, align 8, !tbaa !11
  %178 = icmp sle i64 %176, %177
  br i1 %178, label %179, label %376

179:                                              ; preds = %175
  %180 = load i64, ptr %10, align 8, !tbaa !11
  %181 = sub nsw i64 %180, 1
  %182 = add nsw i64 %181, 1
  %183 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %26, i64 noundef %182, ptr noundef %183)
  %184 = load i64, ptr %10, align 8, !tbaa !11
  %185 = sub nsw i64 %184, 1
  %186 = add nsw i64 %185, 1
  %187 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %24, i64 noundef %186, i64 noundef 2, ptr noundef %187)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %188

188:                                              ; preds = %219, %179
  %189 = load i64, ptr %11, align 8, !tbaa !11
  %190 = load i64, ptr %10, align 8, !tbaa !11
  %191 = sub nsw i64 %190, 1
  %192 = icmp sle i64 %189, %191
  br i1 %192, label %193, label %222

193:                                              ; preds = %188
  %194 = load ptr, ptr %4, align 8, !tbaa !9
  %195 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %194)
  %196 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %195, double -1.000000e+00)
  %197 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %198 = load ptr, ptr %197, align 8, !tbaa !15
  %199 = load i64, ptr %11, align 8, !tbaa !11
  %200 = getelementptr inbounds ptr, ptr %198, i64 %199
  %201 = load ptr, ptr %200, align 8, !tbaa !9
  %202 = getelementptr inbounds double, ptr %201, i64 0
  store double %196, ptr %202, align 8, !tbaa !13
  %203 = load ptr, ptr %4, align 8, !tbaa !9
  %204 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %203)
  %205 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %204, double -1.000000e+00)
  %206 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %207 = load ptr, ptr %206, align 8, !tbaa !15
  %208 = load i64, ptr %11, align 8, !tbaa !11
  %209 = getelementptr inbounds ptr, ptr %207, i64 %208
  %210 = load ptr, ptr %209, align 8, !tbaa !9
  %211 = getelementptr inbounds double, ptr %210, i64 1
  store double %205, ptr %211, align 8, !tbaa !13
  %212 = load ptr, ptr %4, align 8, !tbaa !9
  %213 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %212)
  %214 = fadd double 1.000000e+00, %213
  %215 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %216 = load ptr, ptr %215, align 8, !tbaa !15
  %217 = load i64, ptr %11, align 8, !tbaa !11
  %218 = getelementptr inbounds double, ptr %216, i64 %217
  store double %214, ptr %218, align 8, !tbaa !13
  br label %219

219:                                              ; preds = %193
  %220 = load i64, ptr %11, align 8, !tbaa !11
  %221 = add nsw i64 %220, 1
  store i64 %221, ptr %11, align 8, !tbaa !11
  br label %188, !llvm.loop !18

222:                                              ; preds = %188
  %223 = load i64, ptr %10, align 8, !tbaa !11
  %224 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, ptr noundef %26, i64 noundef %223, i64 noundef 1, ptr noundef %36, ptr noundef %54, ptr noundef %224)
  %225 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef %36, ptr noundef %34, ptr noundef %14, ptr noundef %225)
  %226 = load i64, ptr %10, align 8, !tbaa !11
  %227 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7lrlinesEPKNS_9ae_matrixEPKNS_9ae_vectorElPdS6_S6_S6_S6_S6_S6_PNS_8ae_stateE(ptr noundef %24, ptr noundef %26, i64 noundef %226, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %227)
  %228 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %229 = trunc i8 %228 to i1
  br i1 %229, label %241, label %230

230:                                              ; preds = %222
  %231 = load double, ptr %43, align 8, !tbaa !13
  %232 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %233 = load ptr, ptr %232, align 8, !tbaa !15
  %234 = getelementptr inbounds double, ptr %233, i64 1
  %235 = load double, ptr %234, align 8, !tbaa !13
  %236 = fsub double %231, %235
  %237 = load ptr, ptr %4, align 8, !tbaa !9
  %238 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %236, ptr noundef %237)
  %239 = load double, ptr %9, align 8, !tbaa !13
  %240 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %238, double noundef %239)
  br label %241

241:                                              ; preds = %230, %222
  %242 = phi i1 [ true, %222 ], [ %240, %230 ]
  %243 = zext i1 %242 to i8
  store i8 %243, ptr %80, align 1, !tbaa !5
  %244 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %245 = trunc i8 %244 to i1
  br i1 %245, label %257, label %246

246:                                              ; preds = %241
  %247 = load double, ptr %44, align 8, !tbaa !13
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %249 = load ptr, ptr %248, align 8, !tbaa !15
  %250 = getelementptr inbounds double, ptr %249, i64 0
  %251 = load double, ptr %250, align 8, !tbaa !13
  %252 = fsub double %247, %251
  %253 = load ptr, ptr %4, align 8, !tbaa !9
  %254 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %252, ptr noundef %253)
  %255 = load double, ptr %9, align 8, !tbaa !13
  %256 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %254, double noundef %255)
  br label %257

257:                                              ; preds = %246, %241
  %258 = phi i1 [ true, %241 ], [ %256, %246 ]
  %259 = zext i1 %258 to i8
  store i8 %259, ptr %80, align 1, !tbaa !5
  %260 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %261 = trunc i8 %260 to i1
  br i1 %261, label %276, label %262

262:                                              ; preds = %257
  %263 = load double, ptr %45, align 8, !tbaa !13
  %264 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %265 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %264, i32 0, i32 6
  %266 = load ptr, ptr %265, align 8, !tbaa !15
  %267 = getelementptr inbounds ptr, ptr %266, i64 1
  %268 = load ptr, ptr %267, align 8, !tbaa !9
  %269 = getelementptr inbounds double, ptr %268, i64 1
  %270 = load double, ptr %269, align 8, !tbaa !13
  %271 = fsub double %263, %270
  %272 = load ptr, ptr %4, align 8, !tbaa !9
  %273 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %271, ptr noundef %272)
  %274 = load double, ptr %9, align 8, !tbaa !13
  %275 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %273, double noundef %274)
  br label %276

276:                                              ; preds = %262, %257
  %277 = phi i1 [ true, %257 ], [ %275, %262 ]
  %278 = zext i1 %277 to i8
  store i8 %278, ptr %79, align 1, !tbaa !5
  %279 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %280 = trunc i8 %279 to i1
  br i1 %280, label %295, label %281

281:                                              ; preds = %276
  %282 = load double, ptr %46, align 8, !tbaa !13
  %283 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %284 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %283, i32 0, i32 6
  %285 = load ptr, ptr %284, align 8, !tbaa !15
  %286 = getelementptr inbounds ptr, ptr %285, i64 0
  %287 = load ptr, ptr %286, align 8, !tbaa !9
  %288 = getelementptr inbounds double, ptr %287, i64 0
  %289 = load double, ptr %288, align 8, !tbaa !13
  %290 = fsub double %282, %289
  %291 = load ptr, ptr %4, align 8, !tbaa !9
  %292 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %290, ptr noundef %291)
  %293 = load double, ptr %9, align 8, !tbaa !13
  %294 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %292, double noundef %293)
  br label %295

295:                                              ; preds = %281, %276
  %296 = phi i1 [ true, %276 ], [ %294, %281 ]
  %297 = zext i1 %296 to i8
  store i8 %297, ptr %79, align 1, !tbaa !5
  %298 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %299 = trunc i8 %298 to i1
  br i1 %299, label %314, label %300

300:                                              ; preds = %295
  %301 = load double, ptr %47, align 8, !tbaa !13
  %302 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %303 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %302, i32 0, i32 6
  %304 = load ptr, ptr %303, align 8, !tbaa !15
  %305 = getelementptr inbounds ptr, ptr %304, i64 1
  %306 = load ptr, ptr %305, align 8, !tbaa !9
  %307 = getelementptr inbounds double, ptr %306, i64 0
  %308 = load double, ptr %307, align 8, !tbaa !13
  %309 = fsub double %301, %308
  %310 = load ptr, ptr %4, align 8, !tbaa !9
  %311 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %309, ptr noundef %310)
  %312 = load double, ptr %9, align 8, !tbaa !13
  %313 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %311, double noundef %312)
  br label %314

314:                                              ; preds = %300, %295
  %315 = phi i1 [ true, %295 ], [ %313, %300 ]
  %316 = zext i1 %315 to i8
  store i8 %316, ptr %79, align 1, !tbaa !5
  %317 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %318 = trunc i8 %317 to i1
  br i1 %318, label %333, label %319

319:                                              ; preds = %314
  %320 = load double, ptr %47, align 8, !tbaa !13
  %321 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %322 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %321, i32 0, i32 6
  %323 = load ptr, ptr %322, align 8, !tbaa !15
  %324 = getelementptr inbounds ptr, ptr %323, i64 0
  %325 = load ptr, ptr %324, align 8, !tbaa !9
  %326 = getelementptr inbounds double, ptr %325, i64 1
  %327 = load double, ptr %326, align 8, !tbaa !13
  %328 = fsub double %320, %327
  %329 = load ptr, ptr %4, align 8, !tbaa !9
  %330 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %328, ptr noundef %329)
  %331 = load double, ptr %9, align 8, !tbaa !13
  %332 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %330, double noundef %331)
  br label %333

333:                                              ; preds = %319, %314
  %334 = phi i1 [ true, %314 ], [ %332, %319 ]
  %335 = zext i1 %334 to i8
  store i8 %335, ptr %79, align 1, !tbaa !5
  %336 = load i64, ptr %10, align 8, !tbaa !11
  %337 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, i64 noundef %336, i64 noundef 1, ptr noundef %36, ptr noundef %54, ptr noundef %337)
  %338 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef %36, ptr noundef %34, ptr noundef %14, ptr noundef %338)
  %339 = load i64, ptr %10, align 8, !tbaa !11
  %340 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl6lrlineEPKNS_9ae_matrixElPdS3_PNS_8ae_stateE(ptr noundef %24, i64 noundef %339, ptr noundef %43, ptr noundef %44, ptr noundef %340)
  %341 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %342 = trunc i8 %341 to i1
  br i1 %342, label %354, label %343

343:                                              ; preds = %333
  %344 = load double, ptr %43, align 8, !tbaa !13
  %345 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %346 = load ptr, ptr %345, align 8, !tbaa !15
  %347 = getelementptr inbounds double, ptr %346, i64 1
  %348 = load double, ptr %347, align 8, !tbaa !13
  %349 = fsub double %344, %348
  %350 = load ptr, ptr %4, align 8, !tbaa !9
  %351 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %349, ptr noundef %350)
  %352 = load double, ptr %9, align 8, !tbaa !13
  %353 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %351, double noundef %352)
  br label %354

354:                                              ; preds = %343, %333
  %355 = phi i1 [ true, %333 ], [ %353, %343 ]
  %356 = zext i1 %355 to i8
  store i8 %356, ptr %80, align 1, !tbaa !5
  %357 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %358 = trunc i8 %357 to i1
  br i1 %358, label %370, label %359

359:                                              ; preds = %354
  %360 = load double, ptr %44, align 8, !tbaa !13
  %361 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %362 = load ptr, ptr %361, align 8, !tbaa !15
  %363 = getelementptr inbounds double, ptr %362, i64 0
  %364 = load double, ptr %363, align 8, !tbaa !13
  %365 = fsub double %360, %364
  %366 = load ptr, ptr %4, align 8, !tbaa !9
  %367 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %365, ptr noundef %366)
  %368 = load double, ptr %9, align 8, !tbaa !13
  %369 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %367, double noundef %368)
  br label %370

370:                                              ; preds = %359, %354
  %371 = phi i1 [ true, %354 ], [ %369, %359 ]
  %372 = zext i1 %371 to i8
  store i8 %372, ptr %80, align 1, !tbaa !5
  br label %373

373:                                              ; preds = %370
  %374 = load i64, ptr %10, align 8, !tbaa !11
  %375 = add nsw i64 %374, 1
  store i64 %375, ptr %10, align 8, !tbaa !11
  br label %175, !llvm.loop !21

376:                                              ; preds = %175
  %377 = load ptr, ptr %4, align 8, !tbaa !9
  %378 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 3000, ptr noundef %377)
  %379 = add nsw i64 1000, %378
  store i64 %379, ptr %10, align 8, !tbaa !11
  %380 = load ptr, ptr %4, align 8, !tbaa !9
  %381 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %380)
  %382 = call double @llvm.fmuladd.f64(double %381, double 1.900000e+00, double 1.000000e-01)
  store double %382, ptr %72, align 8, !tbaa !13
  %383 = load i64, ptr %10, align 8, !tbaa !11
  %384 = sub nsw i64 %383, 1
  %385 = add nsw i64 %384, 1
  %386 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %24, i64 noundef %385, i64 noundef 2, ptr noundef %386)
  %387 = load i64, ptr %10, align 8, !tbaa !11
  %388 = sub nsw i64 %387, 1
  %389 = add nsw i64 %388, 1
  %390 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %26, i64 noundef %389, ptr noundef %390)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %391

391:                                              ; preds = %429, %376
  %392 = load i64, ptr %11, align 8, !tbaa !11
  %393 = load i64, ptr %10, align 8, !tbaa !11
  %394 = sub nsw i64 %393, 1
  %395 = icmp sle i64 %392, %394
  br i1 %395, label %396, label %432

396:                                              ; preds = %391
  %397 = load ptr, ptr %4, align 8, !tbaa !9
  %398 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %397)
  %399 = call double @llvm.fmuladd.f64(double 1.500000e+00, double %398, double -5.000000e-01)
  %400 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %401 = load ptr, ptr %400, align 8, !tbaa !15
  %402 = load i64, ptr %11, align 8, !tbaa !11
  %403 = getelementptr inbounds ptr, ptr %401, i64 %402
  %404 = load ptr, ptr %403, align 8, !tbaa !9
  %405 = getelementptr inbounds double, ptr %404, i64 0
  store double %399, ptr %405, align 8, !tbaa !13
  %406 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %407 = load ptr, ptr %406, align 8, !tbaa !15
  %408 = load i64, ptr %11, align 8, !tbaa !11
  %409 = getelementptr inbounds ptr, ptr %407, i64 %408
  %410 = load ptr, ptr %409, align 8, !tbaa !9
  %411 = getelementptr inbounds double, ptr %410, i64 0
  %412 = load double, ptr %411, align 8, !tbaa !13
  %413 = call double @llvm.fmuladd.f64(double 1.200000e+00, double %412, double -3.000000e-01)
  %414 = load double, ptr %72, align 8, !tbaa !13
  %415 = load ptr, ptr %4, align 8, !tbaa !9
  %416 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef %414, ptr noundef %415)
  %417 = fadd double %413, %416
  %418 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %419 = load ptr, ptr %418, align 8, !tbaa !15
  %420 = load i64, ptr %11, align 8, !tbaa !11
  %421 = getelementptr inbounds ptr, ptr %419, i64 %420
  %422 = load ptr, ptr %421, align 8, !tbaa !9
  %423 = getelementptr inbounds double, ptr %422, i64 1
  store double %417, ptr %423, align 8, !tbaa !13
  %424 = load double, ptr %72, align 8, !tbaa !13
  %425 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %426 = load ptr, ptr %425, align 8, !tbaa !15
  %427 = load i64, ptr %11, align 8, !tbaa !11
  %428 = getelementptr inbounds double, ptr %426, i64 %427
  store double %424, ptr %428, align 8, !tbaa !13
  br label %429

429:                                              ; preds = %396
  %430 = load i64, ptr %11, align 8, !tbaa !11
  %431 = add nsw i64 %430, 1
  store i64 %431, ptr %11, align 8, !tbaa !11
  br label %391, !llvm.loop !22

432:                                              ; preds = %391
  %433 = load i64, ptr %10, align 8, !tbaa !11
  %434 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, i64 noundef %433, i64 noundef 1, ptr noundef %36, ptr noundef %54, ptr noundef %434)
  %435 = load i64, ptr %10, align 8, !tbaa !11
  %436 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7lrlinesEPKNS_9ae_matrixEPKNS_9ae_vectorElPdS6_S6_S6_S6_S6_S6_PNS_8ae_stateE(ptr noundef %24, ptr noundef %26, i64 noundef %435, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %436)
  %437 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %438 = trunc i8 %437 to i1
  br i1 %438, label %456, label %439

439:                                              ; preds = %432
  %440 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %441 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %440, i32 0, i32 6
  %442 = load ptr, ptr %441, align 8, !tbaa !15
  %443 = getelementptr inbounds ptr, ptr %442, i64 0
  %444 = load ptr, ptr %443, align 8, !tbaa !9
  %445 = getelementptr inbounds double, ptr %444, i64 0
  %446 = load double, ptr %445, align 8, !tbaa !13
  %447 = load double, ptr %46, align 8, !tbaa !13
  %448 = fdiv double %446, %447
  %449 = load ptr, ptr %4, align 8, !tbaa !9
  %450 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %448, ptr noundef %449)
  %451 = load ptr, ptr %4, align 8, !tbaa !9
  %452 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %450, ptr noundef %451)
  %453 = load ptr, ptr %4, align 8, !tbaa !9
  %454 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %453)
  %455 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %452, double noundef %454)
  br label %456

456:                                              ; preds = %439, %432
  %457 = phi i1 [ true, %432 ], [ %455, %439 ]
  %458 = zext i1 %457 to i8
  store i8 %458, ptr %79, align 1, !tbaa !5
  %459 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %460 = trunc i8 %459 to i1
  br i1 %460, label %478, label %461

461:                                              ; preds = %456
  %462 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %463 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %462, i32 0, i32 6
  %464 = load ptr, ptr %463, align 8, !tbaa !15
  %465 = getelementptr inbounds ptr, ptr %464, i64 1
  %466 = load ptr, ptr %465, align 8, !tbaa !9
  %467 = getelementptr inbounds double, ptr %466, i64 1
  %468 = load double, ptr %467, align 8, !tbaa !13
  %469 = load double, ptr %45, align 8, !tbaa !13
  %470 = fdiv double %468, %469
  %471 = load ptr, ptr %4, align 8, !tbaa !9
  %472 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %470, ptr noundef %471)
  %473 = load ptr, ptr %4, align 8, !tbaa !9
  %474 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %472, ptr noundef %473)
  %475 = load ptr, ptr %4, align 8, !tbaa !9
  %476 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %475)
  %477 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %474, double noundef %476)
  br label %478

478:                                              ; preds = %461, %456
  %479 = phi i1 [ true, %456 ], [ %477, %461 ]
  %480 = zext i1 %479 to i8
  store i8 %480, ptr %79, align 1, !tbaa !5
  %481 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %482 = trunc i8 %481 to i1
  br i1 %482, label %500, label %483

483:                                              ; preds = %478
  %484 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %485 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %484, i32 0, i32 6
  %486 = load ptr, ptr %485, align 8, !tbaa !15
  %487 = getelementptr inbounds ptr, ptr %486, i64 0
  %488 = load ptr, ptr %487, align 8, !tbaa !9
  %489 = getelementptr inbounds double, ptr %488, i64 1
  %490 = load double, ptr %489, align 8, !tbaa !13
  %491 = load double, ptr %47, align 8, !tbaa !13
  %492 = fdiv double %490, %491
  %493 = load ptr, ptr %4, align 8, !tbaa !9
  %494 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %492, ptr noundef %493)
  %495 = load ptr, ptr %4, align 8, !tbaa !9
  %496 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %494, ptr noundef %495)
  %497 = load ptr, ptr %4, align 8, !tbaa !9
  %498 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %497)
  %499 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %496, double noundef %498)
  br label %500

500:                                              ; preds = %483, %478
  %501 = phi i1 [ true, %478 ], [ %499, %483 ]
  %502 = zext i1 %501 to i8
  store i8 %502, ptr %79, align 1, !tbaa !5
  %503 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %504 = trunc i8 %503 to i1
  br i1 %504, label %522, label %505

505:                                              ; preds = %500
  %506 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %507 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %506, i32 0, i32 6
  %508 = load ptr, ptr %507, align 8, !tbaa !15
  %509 = getelementptr inbounds ptr, ptr %508, i64 1
  %510 = load ptr, ptr %509, align 8, !tbaa !9
  %511 = getelementptr inbounds double, ptr %510, i64 0
  %512 = load double, ptr %511, align 8, !tbaa !13
  %513 = load double, ptr %47, align 8, !tbaa !13
  %514 = fdiv double %512, %513
  %515 = load ptr, ptr %4, align 8, !tbaa !9
  %516 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %514, ptr noundef %515)
  %517 = load ptr, ptr %4, align 8, !tbaa !9
  %518 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %516, ptr noundef %517)
  %519 = load ptr, ptr %4, align 8, !tbaa !9
  %520 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %519)
  %521 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %518, double noundef %520)
  br label %522

522:                                              ; preds = %505, %500
  %523 = phi i1 [ true, %500 ], [ %521, %505 ]
  %524 = zext i1 %523 to i8
  store i8 %524, ptr %79, align 1, !tbaa !5
  store i64 0, ptr %20, align 8, !tbaa !11
  store i64 -1, ptr %21, align 8, !tbaa !11
  store i64 0, ptr %22, align 8, !tbaa !11
  store i64 -1, ptr %23, align 8, !tbaa !11
  store i64 0, ptr %19, align 8, !tbaa !11
  br label %525

525:                                              ; preds = %1807, %522
  %526 = load i64, ptr %19, align 8, !tbaa !11
  %527 = icmp sle i64 %526, 1
  br i1 %527, label %528, label %1810

528:                                              ; preds = %525
  store i64 0, ptr %18, align 8, !tbaa !11
  br label %529

529:                                              ; preds = %1803, %528
  %530 = load i64, ptr %18, align 8, !tbaa !11
  %531 = icmp sle i64 %530, 3
  br i1 %531, label %532, label %1806

532:                                              ; preds = %529
  %533 = load i64, ptr %18, align 8, !tbaa !11
  %534 = icmp eq i64 %533, 0
  br i1 %534, label %535, label %536

535:                                              ; preds = %532
  store i64 1, ptr %20, align 8, !tbaa !11
  store i64 3, ptr %21, align 8, !tbaa !11
  br label %536

536:                                              ; preds = %535, %532
  %537 = load i64, ptr %18, align 8, !tbaa !11
  %538 = icmp eq i64 %537, 1
  br i1 %538, label %539, label %540

539:                                              ; preds = %536
  store i64 9, ptr %20, align 8, !tbaa !11
  store i64 9, ptr %21, align 8, !tbaa !11
  br label %540

540:                                              ; preds = %539, %536
  %541 = load i64, ptr %18, align 8, !tbaa !11
  %542 = icmp eq i64 %541, 2
  br i1 %542, label %546, label %543

543:                                              ; preds = %540
  %544 = load i64, ptr %18, align 8, !tbaa !11
  %545 = icmp eq i64 %544, 3
  br i1 %545, label %546, label %547

546:                                              ; preds = %543, %540
  store i64 9, ptr %20, align 8, !tbaa !11
  store i64 9, ptr %21, align 8, !tbaa !11
  br label %547

547:                                              ; preds = %546, %543
  %548 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %548, ptr %17, align 8, !tbaa !11
  br label %549

549:                                              ; preds = %1799, %547
  %550 = load i64, ptr %17, align 8, !tbaa !11
  %551 = load i64, ptr %21, align 8, !tbaa !11
  %552 = icmp sle i64 %550, %551
  br i1 %552, label %553, label %1802

553:                                              ; preds = %549
  %554 = load i64, ptr %18, align 8, !tbaa !11
  %555 = icmp eq i64 %554, 0
  br i1 %555, label %556, label %561

556:                                              ; preds = %553
  %557 = load i64, ptr %17, align 8, !tbaa !11
  %558 = add nsw i64 %557, 3
  store i64 %558, ptr %22, align 8, !tbaa !11
  %559 = load i64, ptr %17, align 8, !tbaa !11
  %560 = add nsw i64 %559, 20
  store i64 %560, ptr %23, align 8, !tbaa !11
  br label %561

561:                                              ; preds = %556, %553
  %562 = load i64, ptr %18, align 8, !tbaa !11
  %563 = icmp eq i64 %562, 1
  br i1 %563, label %564, label %569

564:                                              ; preds = %561
  %565 = load ptr, ptr %4, align 8, !tbaa !9
  %566 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 70, ptr noundef %565)
  %567 = add nsw i64 70, %566
  store i64 %567, ptr %22, align 8, !tbaa !11
  %568 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %568, ptr %23, align 8, !tbaa !11
  br label %569

569:                                              ; preds = %564, %561
  %570 = load i64, ptr %18, align 8, !tbaa !11
  %571 = icmp eq i64 %570, 2
  br i1 %571, label %575, label %572

572:                                              ; preds = %569
  %573 = load i64, ptr %18, align 8, !tbaa !11
  %574 = icmp eq i64 %573, 3
  br i1 %574, label %575, label %577

575:                                              ; preds = %572, %569
  store i64 100, ptr %22, align 8, !tbaa !11
  %576 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %576, ptr %23, align 8, !tbaa !11
  br label %577

577:                                              ; preds = %575, %572
  %578 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %578, ptr %10, align 8, !tbaa !11
  br label %579

579:                                              ; preds = %1795, %577
  %580 = load i64, ptr %10, align 8, !tbaa !11
  %581 = load i64, ptr %23, align 8, !tbaa !11
  %582 = icmp sle i64 %580, %581
  br i1 %582, label %583, label %1798

583:                                              ; preds = %579
  %584 = load i64, ptr %10, align 8, !tbaa !11
  %585 = sub nsw i64 %584, 1
  %586 = add nsw i64 %585, 1
  %587 = load i64, ptr %17, align 8, !tbaa !11
  %588 = add nsw i64 %587, 1
  %589 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %24, i64 noundef %586, i64 noundef %588, ptr noundef %589)
  %590 = load i64, ptr %10, align 8, !tbaa !11
  %591 = sub nsw i64 %590, 1
  %592 = add nsw i64 %591, 1
  %593 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %33, i64 noundef %592, ptr noundef %593)
  %594 = load i64, ptr %10, align 8, !tbaa !11
  %595 = sub nsw i64 %594, 1
  %596 = add nsw i64 %595, 1
  %597 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %26, i64 noundef %596, ptr noundef %597)
  store double 1.000000e-03, ptr %71, align 8, !tbaa !13
  store double 2.000000e-01, ptr %70, align 8, !tbaa !13
  %598 = load i64, ptr %18, align 8, !tbaa !11
  %599 = icmp eq i64 %598, 0
  br i1 %599, label %600, label %709

600:                                              ; preds = %583
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %601

601:                                              ; preds = %616, %600
  %602 = load i64, ptr %11, align 8, !tbaa !11
  %603 = load i64, ptr %10, align 8, !tbaa !11
  %604 = sub nsw i64 %603, 1
  %605 = icmp sle i64 %602, %604
  br i1 %605, label %606, label %619

606:                                              ; preds = %601
  %607 = load ptr, ptr %4, align 8, !tbaa !9
  %608 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %607)
  %609 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %608, double -1.000000e+00)
  %610 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %611 = load ptr, ptr %610, align 8, !tbaa !15
  %612 = load i64, ptr %11, align 8, !tbaa !11
  %613 = getelementptr inbounds ptr, ptr %611, i64 %612
  %614 = load ptr, ptr %613, align 8, !tbaa !9
  %615 = getelementptr inbounds double, ptr %614, i64 0
  store double %609, ptr %615, align 8, !tbaa !13
  br label %616

616:                                              ; preds = %606
  %617 = load i64, ptr %11, align 8, !tbaa !11
  %618 = add nsw i64 %617, 1
  store i64 %618, ptr %11, align 8, !tbaa !11
  br label %601, !llvm.loop !23

619:                                              ; preds = %601
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %620

620:                                              ; preds = %660, %619
  %621 = load i64, ptr %11, align 8, !tbaa !11
  %622 = load i64, ptr %10, align 8, !tbaa !11
  %623 = sub nsw i64 %622, 1
  %624 = icmp sle i64 %621, %623
  br i1 %624, label %625, label %663

625:                                              ; preds = %620
  store i64 1, ptr %12, align 8, !tbaa !11
  br label %626

626:                                              ; preds = %656, %625
  %627 = load i64, ptr %12, align 8, !tbaa !11
  %628 = load i64, ptr %17, align 8, !tbaa !11
  %629 = sub nsw i64 %628, 1
  %630 = icmp sle i64 %627, %629
  br i1 %630, label %631, label %659

631:                                              ; preds = %626
  %632 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %633 = load ptr, ptr %632, align 8, !tbaa !15
  %634 = load i64, ptr %11, align 8, !tbaa !11
  %635 = getelementptr inbounds ptr, ptr %633, i64 %634
  %636 = load ptr, ptr %635, align 8, !tbaa !9
  %637 = getelementptr inbounds double, ptr %636, i64 0
  %638 = load double, ptr %637, align 8, !tbaa !13
  %639 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %640 = load ptr, ptr %639, align 8, !tbaa !15
  %641 = load i64, ptr %11, align 8, !tbaa !11
  %642 = getelementptr inbounds ptr, ptr %640, i64 %641
  %643 = load ptr, ptr %642, align 8, !tbaa !9
  %644 = load i64, ptr %12, align 8, !tbaa !11
  %645 = sub nsw i64 %644, 1
  %646 = getelementptr inbounds double, ptr %643, i64 %645
  %647 = load double, ptr %646, align 8, !tbaa !13
  %648 = fmul double %638, %647
  %649 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %650 = load ptr, ptr %649, align 8, !tbaa !15
  %651 = load i64, ptr %11, align 8, !tbaa !11
  %652 = getelementptr inbounds ptr, ptr %650, i64 %651
  %653 = load ptr, ptr %652, align 8, !tbaa !9
  %654 = load i64, ptr %12, align 8, !tbaa !11
  %655 = getelementptr inbounds double, ptr %653, i64 %654
  store double %648, ptr %655, align 8, !tbaa !13
  br label %656

656:                                              ; preds = %631
  %657 = load i64, ptr %12, align 8, !tbaa !11
  %658 = add nsw i64 %657, 1
  store i64 %658, ptr %12, align 8, !tbaa !11
  br label %626, !llvm.loop !24

659:                                              ; preds = %626
  br label %660

660:                                              ; preds = %659
  %661 = load i64, ptr %11, align 8, !tbaa !11
  %662 = add nsw i64 %661, 1
  store i64 %662, ptr %11, align 8, !tbaa !11
  br label %620, !llvm.loop !25

663:                                              ; preds = %620
  %664 = load ptr, ptr %4, align 8, !tbaa !9
  %665 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %664)
  %666 = fmul double %665, 0x400921FB54442D18
  store double %666, ptr %68, align 8, !tbaa !13
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %667

667:                                              ; preds = %705, %663
  %668 = load i64, ptr %11, align 8, !tbaa !11
  %669 = load i64, ptr %10, align 8, !tbaa !11
  %670 = sub nsw i64 %669, 1
  %671 = icmp sle i64 %668, %670
  br i1 %671, label %672, label %708

672:                                              ; preds = %667
  %673 = load double, ptr %68, align 8, !tbaa !13
  %674 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %675 = load ptr, ptr %674, align 8, !tbaa !15
  %676 = load i64, ptr %11, align 8, !tbaa !11
  %677 = getelementptr inbounds ptr, ptr %675, i64 %676
  %678 = load ptr, ptr %677, align 8, !tbaa !9
  %679 = getelementptr inbounds double, ptr %678, i64 0
  %680 = load double, ptr %679, align 8, !tbaa !13
  %681 = fadd double %680, 1.000000e+00
  %682 = call double @llvm.fmuladd.f64(double 0x3FF921FB54442D18, double %681, double %673)
  %683 = load ptr, ptr %4, align 8, !tbaa !9
  %684 = call noundef double @_ZN11alglib_impl6ae_sinEdPNS_8ae_stateE(double noundef %682, ptr noundef %683)
  %685 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %33, i32 0, i32 4
  %686 = load ptr, ptr %685, align 8, !tbaa !15
  %687 = load i64, ptr %11, align 8, !tbaa !11
  %688 = getelementptr inbounds double, ptr %686, i64 %687
  store double %684, ptr %688, align 8, !tbaa !13
  %689 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %33, i32 0, i32 4
  %690 = load ptr, ptr %689, align 8, !tbaa !15
  %691 = load i64, ptr %11, align 8, !tbaa !11
  %692 = getelementptr inbounds double, ptr %690, i64 %691
  %693 = load double, ptr %692, align 8, !tbaa !13
  %694 = load double, ptr %70, align 8, !tbaa !13
  %695 = load ptr, ptr %4, align 8, !tbaa !9
  %696 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %695)
  %697 = call double @llvm.fmuladd.f64(double %694, double %696, double %693)
  %698 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %699 = load ptr, ptr %698, align 8, !tbaa !15
  %700 = load i64, ptr %11, align 8, !tbaa !11
  %701 = getelementptr inbounds ptr, ptr %699, i64 %700
  %702 = load ptr, ptr %701, align 8, !tbaa !9
  %703 = load i64, ptr %17, align 8, !tbaa !11
  %704 = getelementptr inbounds double, ptr %702, i64 %703
  store double %697, ptr %704, align 8, !tbaa !13
  br label %705

705:                                              ; preds = %672
  %706 = load i64, ptr %11, align 8, !tbaa !11
  %707 = add nsw i64 %706, 1
  store i64 %707, ptr %11, align 8, !tbaa !11
  br label %667, !llvm.loop !26

708:                                              ; preds = %667
  br label %709

709:                                              ; preds = %708, %583
  %710 = load i64, ptr %18, align 8, !tbaa !11
  %711 = icmp eq i64 %710, 1
  br i1 %711, label %712, label %828

712:                                              ; preds = %709
  %713 = load i64, ptr %17, align 8, !tbaa !11
  %714 = icmp eq i64 %713, 9
  %715 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %714, ptr noundef @.str.477, ptr noundef %715)
  %716 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef 9, ptr noundef %716)
  %717 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %718 = load ptr, ptr %717, align 8, !tbaa !15
  %719 = getelementptr inbounds double, ptr %718, i64 0
  store double 1.000000e+00, ptr %719, align 8, !tbaa !13
  %720 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %721 = load ptr, ptr %720, align 8, !tbaa !15
  %722 = getelementptr inbounds double, ptr %721, i64 1
  store double 2.000000e+00, ptr %722, align 8, !tbaa !13
  %723 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %724 = load ptr, ptr %723, align 8, !tbaa !15
  %725 = getelementptr inbounds double, ptr %724, i64 2
  store double 3.000000e+00, ptr %725, align 8, !tbaa !13
  %726 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %727 = load ptr, ptr %726, align 8, !tbaa !15
  %728 = getelementptr inbounds double, ptr %727, i64 3
  store double 2.500000e-01, ptr %728, align 8, !tbaa !13
  %729 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %730 = load ptr, ptr %729, align 8, !tbaa !15
  %731 = getelementptr inbounds double, ptr %730, i64 4
  store double 5.000000e-01, ptr %731, align 8, !tbaa !13
  %732 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %733 = load ptr, ptr %732, align 8, !tbaa !15
  %734 = getelementptr inbounds double, ptr %733, i64 5
  store double 7.500000e-01, ptr %734, align 8, !tbaa !13
  %735 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %736 = load ptr, ptr %735, align 8, !tbaa !15
  %737 = getelementptr inbounds double, ptr %736, i64 6
  store double 6.000000e-02, ptr %737, align 8, !tbaa !13
  %738 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %739 = load ptr, ptr %738, align 8, !tbaa !15
  %740 = getelementptr inbounds double, ptr %739, i64 7
  store double 1.200000e-01, ptr %740, align 8, !tbaa !13
  %741 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %742 = load ptr, ptr %741, align 8, !tbaa !15
  %743 = getelementptr inbounds double, ptr %742, i64 8
  store double 1.800000e-01, ptr %743, align 8, !tbaa !13
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %744

744:                                              ; preds = %824, %712
  %745 = load i64, ptr %11, align 8, !tbaa !11
  %746 = load i64, ptr %10, align 8, !tbaa !11
  %747 = sub nsw i64 %746, 1
  %748 = icmp sle i64 %745, %747
  br i1 %748, label %749, label %827

749:                                              ; preds = %744
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %750

750:                                              ; preds = %763, %749
  %751 = load i64, ptr %12, align 8, !tbaa !11
  %752 = load i64, ptr %17, align 8, !tbaa !11
  %753 = sub nsw i64 %752, 1
  %754 = icmp sle i64 %751, %753
  br i1 %754, label %755, label %766

755:                                              ; preds = %750
  %756 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %757 = load ptr, ptr %756, align 8, !tbaa !15
  %758 = load i64, ptr %11, align 8, !tbaa !11
  %759 = getelementptr inbounds ptr, ptr %757, i64 %758
  %760 = load ptr, ptr %759, align 8, !tbaa !9
  %761 = load i64, ptr %12, align 8, !tbaa !11
  %762 = getelementptr inbounds double, ptr %760, i64 %761
  store double 0.000000e+00, ptr %762, align 8, !tbaa !13
  br label %763

763:                                              ; preds = %755
  %764 = load i64, ptr %12, align 8, !tbaa !11
  %765 = add nsw i64 %764, 1
  store i64 %765, ptr %12, align 8, !tbaa !11
  br label %750, !llvm.loop !27

766:                                              ; preds = %750
  %767 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %768 = load ptr, ptr %767, align 8, !tbaa !15
  %769 = load i64, ptr %11, align 8, !tbaa !11
  %770 = getelementptr inbounds ptr, ptr %768, i64 %769
  %771 = load ptr, ptr %770, align 8, !tbaa !9
  %772 = load i64, ptr %11, align 8, !tbaa !11
  %773 = srem i64 %772, 3
  %774 = add nsw i64 0, %773
  %775 = getelementptr inbounds double, ptr %771, i64 %774
  store double 1.000000e+00, ptr %775, align 8, !tbaa !13
  %776 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %777 = load ptr, ptr %776, align 8, !tbaa !15
  %778 = load i64, ptr %11, align 8, !tbaa !11
  %779 = getelementptr inbounds ptr, ptr %777, i64 %778
  %780 = load ptr, ptr %779, align 8, !tbaa !9
  %781 = load i64, ptr %11, align 8, !tbaa !11
  %782 = sdiv i64 %781, 3
  %783 = srem i64 %782, 3
  %784 = add nsw i64 3, %783
  %785 = getelementptr inbounds double, ptr %780, i64 %784
  store double 1.000000e+00, ptr %785, align 8, !tbaa !13
  %786 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %787 = load ptr, ptr %786, align 8, !tbaa !15
  %788 = load i64, ptr %11, align 8, !tbaa !11
  %789 = getelementptr inbounds ptr, ptr %787, i64 %788
  %790 = load ptr, ptr %789, align 8, !tbaa !9
  %791 = load i64, ptr %11, align 8, !tbaa !11
  %792 = sdiv i64 %791, 9
  %793 = srem i64 %792, 3
  %794 = add nsw i64 6, %793
  %795 = getelementptr inbounds double, ptr %790, i64 %794
  store double 1.000000e+00, ptr %795, align 8, !tbaa !13
  %796 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %797 = load ptr, ptr %796, align 8, !tbaa !15
  %798 = load i64, ptr %11, align 8, !tbaa !11
  %799 = getelementptr inbounds ptr, ptr %797, i64 %798
  %800 = load ptr, ptr %799, align 8, !tbaa !9
  %801 = getelementptr inbounds double, ptr %800, i64 0
  %802 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %803 = load ptr, ptr %802, align 8, !tbaa !15
  %804 = getelementptr inbounds double, ptr %803, i64 0
  %805 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef 8)
  %806 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %801, i64 noundef 1, ptr noundef %804, i64 noundef 1, i64 noundef %805)
  store double %806, ptr %59, align 8, !tbaa !13
  %807 = load double, ptr %59, align 8, !tbaa !13
  %808 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %33, i32 0, i32 4
  %809 = load ptr, ptr %808, align 8, !tbaa !15
  %810 = load i64, ptr %11, align 8, !tbaa !11
  %811 = getelementptr inbounds double, ptr %809, i64 %810
  store double %807, ptr %811, align 8, !tbaa !13
  %812 = load double, ptr %59, align 8, !tbaa !13
  %813 = load double, ptr %70, align 8, !tbaa !13
  %814 = load ptr, ptr %4, align 8, !tbaa !9
  %815 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %814)
  %816 = call double @llvm.fmuladd.f64(double %813, double %815, double %812)
  %817 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %818 = load ptr, ptr %817, align 8, !tbaa !15
  %819 = load i64, ptr %11, align 8, !tbaa !11
  %820 = getelementptr inbounds ptr, ptr %818, i64 %819
  %821 = load ptr, ptr %820, align 8, !tbaa !9
  %822 = load i64, ptr %17, align 8, !tbaa !11
  %823 = getelementptr inbounds double, ptr %821, i64 %822
  store double %816, ptr %823, align 8, !tbaa !13
  br label %824

824:                                              ; preds = %766
  %825 = load i64, ptr %11, align 8, !tbaa !11
  %826 = add nsw i64 %825, 1
  store i64 %826, ptr %11, align 8, !tbaa !11
  br label %744, !llvm.loop !28

827:                                              ; preds = %744
  br label %828

828:                                              ; preds = %827, %709
  %829 = load i64, ptr %18, align 8, !tbaa !11
  %830 = icmp eq i64 %829, 2
  br i1 %830, label %834, label %831

831:                                              ; preds = %828
  %832 = load i64, ptr %18, align 8, !tbaa !11
  %833 = icmp eq i64 %832, 3
  br i1 %833, label %834, label %939

834:                                              ; preds = %831, %828
  %835 = load i64, ptr %17, align 8, !tbaa !11
  %836 = icmp eq i64 %835, 9
  %837 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %836, ptr noundef @.str.477, ptr noundef %837)
  %838 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef 9, ptr noundef %838)
  %839 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %840 = load ptr, ptr %839, align 8, !tbaa !15
  %841 = getelementptr inbounds double, ptr %840, i64 0
  store double 1.000000e+00, ptr %841, align 8, !tbaa !13
  %842 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %843 = load ptr, ptr %842, align 8, !tbaa !15
  %844 = getelementptr inbounds double, ptr %843, i64 1
  store double -2.000000e+00, ptr %844, align 8, !tbaa !13
  %845 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %846 = load ptr, ptr %845, align 8, !tbaa !15
  %847 = getelementptr inbounds double, ptr %846, i64 2
  store double 3.000000e+00, ptr %847, align 8, !tbaa !13
  %848 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %849 = load ptr, ptr %848, align 8, !tbaa !15
  %850 = getelementptr inbounds double, ptr %849, i64 3
  store double 2.500000e-01, ptr %850, align 8, !tbaa !13
  %851 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %852 = load ptr, ptr %851, align 8, !tbaa !15
  %853 = getelementptr inbounds double, ptr %852, i64 4
  store double -5.000000e-01, ptr %853, align 8, !tbaa !13
  %854 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %855 = load ptr, ptr %854, align 8, !tbaa !15
  %856 = getelementptr inbounds double, ptr %855, i64 5
  store double 7.500000e-01, ptr %856, align 8, !tbaa !13
  %857 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %858 = load ptr, ptr %857, align 8, !tbaa !15
  %859 = getelementptr inbounds double, ptr %858, i64 6
  store double -6.000000e-02, ptr %859, align 8, !tbaa !13
  %860 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %861 = load ptr, ptr %860, align 8, !tbaa !15
  %862 = getelementptr inbounds double, ptr %861, i64 7
  store double 1.200000e-01, ptr %862, align 8, !tbaa !13
  %863 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %864 = load ptr, ptr %863, align 8, !tbaa !15
  %865 = getelementptr inbounds double, ptr %864, i64 8
  store double -1.800000e-01, ptr %865, align 8, !tbaa !13
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %866

866:                                              ; preds = %935, %834
  %867 = load i64, ptr %11, align 8, !tbaa !11
  %868 = load i64, ptr %10, align 8, !tbaa !11
  %869 = sub nsw i64 %868, 1
  %870 = icmp sle i64 %867, %869
  br i1 %870, label %871, label %938

871:                                              ; preds = %866
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %872

872:                                              ; preds = %903, %871
  %873 = load i64, ptr %12, align 8, !tbaa !11
  %874 = load i64, ptr %17, align 8, !tbaa !11
  %875 = sub nsw i64 %874, 1
  %876 = icmp sle i64 %873, %875
  br i1 %876, label %877, label %906

877:                                              ; preds = %872
  %878 = load i64, ptr %18, align 8, !tbaa !11
  %879 = icmp eq i64 %878, 2
  br i1 %879, label %880, label %891

880:                                              ; preds = %877
  %881 = load ptr, ptr %4, align 8, !tbaa !9
  %882 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 3.000000e+00, ptr noundef %881)
  %883 = fadd double 1.000000e+00, %882
  %884 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %885 = load ptr, ptr %884, align 8, !tbaa !15
  %886 = load i64, ptr %11, align 8, !tbaa !11
  %887 = getelementptr inbounds ptr, ptr %885, i64 %886
  %888 = load ptr, ptr %887, align 8, !tbaa !9
  %889 = load i64, ptr %12, align 8, !tbaa !11
  %890 = getelementptr inbounds double, ptr %888, i64 %889
  store double %883, ptr %890, align 8, !tbaa !13
  br label %902

891:                                              ; preds = %877
  %892 = load ptr, ptr %4, align 8, !tbaa !9
  %893 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 5.000000e-02, ptr noundef %892)
  %894 = fadd double 1.000000e+00, %893
  %895 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %896 = load ptr, ptr %895, align 8, !tbaa !15
  %897 = load i64, ptr %11, align 8, !tbaa !11
  %898 = getelementptr inbounds ptr, ptr %896, i64 %897
  %899 = load ptr, ptr %898, align 8, !tbaa !9
  %900 = load i64, ptr %12, align 8, !tbaa !11
  %901 = getelementptr inbounds double, ptr %899, i64 %900
  store double %894, ptr %901, align 8, !tbaa !13
  br label %902

902:                                              ; preds = %891, %880
  br label %903

903:                                              ; preds = %902
  %904 = load i64, ptr %12, align 8, !tbaa !11
  %905 = add nsw i64 %904, 1
  store i64 %905, ptr %12, align 8, !tbaa !11
  br label %872, !llvm.loop !29

906:                                              ; preds = %872
  %907 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %908 = load ptr, ptr %907, align 8, !tbaa !15
  %909 = load i64, ptr %11, align 8, !tbaa !11
  %910 = getelementptr inbounds ptr, ptr %908, i64 %909
  %911 = load ptr, ptr %910, align 8, !tbaa !9
  %912 = getelementptr inbounds double, ptr %911, i64 0
  %913 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %914 = load ptr, ptr %913, align 8, !tbaa !15
  %915 = getelementptr inbounds double, ptr %914, i64 0
  %916 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef 8)
  %917 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %912, i64 noundef 1, ptr noundef %915, i64 noundef 1, i64 noundef %916)
  store double %917, ptr %59, align 8, !tbaa !13
  %918 = load double, ptr %59, align 8, !tbaa !13
  %919 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %33, i32 0, i32 4
  %920 = load ptr, ptr %919, align 8, !tbaa !15
  %921 = load i64, ptr %11, align 8, !tbaa !11
  %922 = getelementptr inbounds double, ptr %920, i64 %921
  store double %918, ptr %922, align 8, !tbaa !13
  %923 = load double, ptr %59, align 8, !tbaa !13
  %924 = load double, ptr %70, align 8, !tbaa !13
  %925 = load ptr, ptr %4, align 8, !tbaa !9
  %926 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %925)
  %927 = call double @llvm.fmuladd.f64(double %924, double %926, double %923)
  %928 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %929 = load ptr, ptr %928, align 8, !tbaa !15
  %930 = load i64, ptr %11, align 8, !tbaa !11
  %931 = getelementptr inbounds ptr, ptr %929, i64 %930
  %932 = load ptr, ptr %931, align 8, !tbaa !9
  %933 = load i64, ptr %17, align 8, !tbaa !11
  %934 = getelementptr inbounds double, ptr %932, i64 %933
  store double %927, ptr %934, align 8, !tbaa !13
  br label %935

935:                                              ; preds = %906
  %936 = load i64, ptr %11, align 8, !tbaa !11
  %937 = add nsw i64 %936, 1
  store i64 %937, ptr %11, align 8, !tbaa !11
  br label %866, !llvm.loop !30

938:                                              ; preds = %866
  br label %939

939:                                              ; preds = %938, %831
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %940

940:                                              ; preds = %953, %939
  %941 = load i64, ptr %11, align 8, !tbaa !11
  %942 = load i64, ptr %10, align 8, !tbaa !11
  %943 = sub nsw i64 %942, 1
  %944 = icmp sle i64 %941, %943
  br i1 %944, label %945, label %956

945:                                              ; preds = %940
  %946 = load ptr, ptr %4, align 8, !tbaa !9
  %947 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %946)
  %948 = fadd double 1.000000e+00, %947
  %949 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %950 = load ptr, ptr %949, align 8, !tbaa !15
  %951 = load i64, ptr %11, align 8, !tbaa !11
  %952 = getelementptr inbounds double, ptr %950, i64 %951
  store double %948, ptr %952, align 8, !tbaa !13
  br label %953

953:                                              ; preds = %945
  %954 = load i64, ptr %11, align 8, !tbaa !11
  %955 = add nsw i64 %954, 1
  store i64 %955, ptr %11, align 8, !tbaa !11
  br label %940, !llvm.loop !31

956:                                              ; preds = %940
  %957 = load i64, ptr %19, align 8, !tbaa !11
  %958 = icmp eq i64 %957, 0
  br i1 %958, label %959, label %963

959:                                              ; preds = %956
  %960 = load i64, ptr %10, align 8, !tbaa !11
  %961 = load i64, ptr %17, align 8, !tbaa !11
  %962 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, ptr noundef %26, i64 noundef %960, i64 noundef %961, ptr noundef %36, ptr noundef %54, ptr noundef %962)
  br label %967

963:                                              ; preds = %956
  %964 = load i64, ptr %10, align 8, !tbaa !11
  %965 = load i64, ptr %17, align 8, !tbaa !11
  %966 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9lrbuildzsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, ptr noundef %26, i64 noundef %964, i64 noundef %965, ptr noundef %36, ptr noundef %54, ptr noundef %966)
  br label %967

967:                                              ; preds = %963, %959
  %968 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef %36, ptr noundef %34, ptr noundef %14, ptr noundef %968)
  %969 = load i64, ptr %17, align 8, !tbaa !11
  %970 = sub nsw i64 %969, 1
  %971 = add nsw i64 %970, 1
  %972 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %29, i64 noundef %971, ptr noundef %972)
  %973 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %974 = load ptr, ptr %973, align 8, !tbaa !15
  %975 = load i64, ptr %17, align 8, !tbaa !11
  %976 = getelementptr inbounds double, ptr %974, i64 %975
  %977 = load double, ptr %976, align 8, !tbaa !13
  store double %977, ptr %59, align 8, !tbaa !13
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %978

978:                                              ; preds = %1003, %967
  %979 = load i64, ptr %11, align 8, !tbaa !11
  %980 = load i64, ptr %17, align 8, !tbaa !11
  %981 = sub nsw i64 %980, 1
  %982 = icmp sle i64 %979, %981
  br i1 %982, label %983, label %1006

983:                                              ; preds = %978
  %984 = load ptr, ptr %4, align 8, !tbaa !9
  %985 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %984)
  %986 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %985, double -1.000000e+00)
  %987 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %988 = load ptr, ptr %987, align 8, !tbaa !15
  %989 = load i64, ptr %11, align 8, !tbaa !11
  %990 = getelementptr inbounds double, ptr %988, i64 %989
  store double %986, ptr %990, align 8, !tbaa !13
  %991 = load double, ptr %59, align 8, !tbaa !13
  %992 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %993 = load ptr, ptr %992, align 8, !tbaa !15
  %994 = load i64, ptr %11, align 8, !tbaa !11
  %995 = getelementptr inbounds double, ptr %993, i64 %994
  %996 = load double, ptr %995, align 8, !tbaa !13
  %997 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %998 = load ptr, ptr %997, align 8, !tbaa !15
  %999 = load i64, ptr %11, align 8, !tbaa !11
  %1000 = getelementptr inbounds double, ptr %998, i64 %999
  %1001 = load double, ptr %1000, align 8, !tbaa !13
  %1002 = call double @llvm.fmuladd.f64(double %996, double %1001, double %991)
  store double %1002, ptr %59, align 8, !tbaa !13
  br label %1003

1003:                                             ; preds = %983
  %1004 = load i64, ptr %11, align 8, !tbaa !11
  %1005 = add nsw i64 %1004, 1
  store i64 %1005, ptr %11, align 8, !tbaa !11
  br label %978, !llvm.loop !32

1006:                                             ; preds = %978
  %1007 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %1008 = trunc i8 %1007 to i1
  br i1 %1008, label %1024, label %1009

1009:                                             ; preds = %1006
  %1010 = load double, ptr %59, align 8, !tbaa !13
  %1011 = load ptr, ptr %4, align 8, !tbaa !9
  %1012 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %36, ptr noundef %29, ptr noundef %1011)
  %1013 = fsub double %1010, %1012
  %1014 = load ptr, ptr %4, align 8, !tbaa !9
  %1015 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1013, ptr noundef %1014)
  %1016 = load double, ptr %59, align 8, !tbaa !13
  %1017 = load ptr, ptr %4, align 8, !tbaa !9
  %1018 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1016, ptr noundef %1017)
  %1019 = load ptr, ptr %4, align 8, !tbaa !9
  %1020 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1018, double noundef 1.000000e+00, ptr noundef %1019)
  %1021 = fdiv double %1015, %1020
  %1022 = load double, ptr %9, align 8, !tbaa !13
  %1023 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1021, double noundef %1022)
  br label %1024

1024:                                             ; preds = %1009, %1006
  %1025 = phi i1 [ true, %1006 ], [ %1023, %1009 ]
  %1026 = zext i1 %1025 to i8
  store i8 %1026, ptr %82, align 1, !tbaa !5
  %1027 = load i64, ptr %17, align 8, !tbaa !11
  %1028 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl6lrpackEPKNS_9ae_vectorElPNS_11linearmodelEPNS_8ae_stateE(ptr noundef %34, i64 noundef %1027, ptr noundef %37, ptr noundef %1028)
  %1029 = load i64, ptr %17, align 8, !tbaa !11
  %1030 = sub nsw i64 %1029, 1
  %1031 = add nsw i64 %1030, 1
  %1032 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %29, i64 noundef %1031, ptr noundef %1032)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1033

1033:                                             ; preds = %1046, %1024
  %1034 = load i64, ptr %11, align 8, !tbaa !11
  %1035 = load i64, ptr %17, align 8, !tbaa !11
  %1036 = sub nsw i64 %1035, 1
  %1037 = icmp sle i64 %1034, %1036
  br i1 %1037, label %1038, label %1049

1038:                                             ; preds = %1033
  %1039 = load ptr, ptr %4, align 8, !tbaa !9
  %1040 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1039)
  %1041 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1040, double -1.000000e+00)
  %1042 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %1043 = load ptr, ptr %1042, align 8, !tbaa !15
  %1044 = load i64, ptr %11, align 8, !tbaa !11
  %1045 = getelementptr inbounds double, ptr %1043, i64 %1044
  store double %1041, ptr %1045, align 8, !tbaa !13
  br label %1046

1046:                                             ; preds = %1038
  %1047 = load i64, ptr %11, align 8, !tbaa !11
  %1048 = add nsw i64 %1047, 1
  store i64 %1048, ptr %11, align 8, !tbaa !11
  br label %1033, !llvm.loop !33

1049:                                             ; preds = %1033
  %1050 = load ptr, ptr %4, align 8, !tbaa !9
  %1051 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %36, ptr noundef %29, ptr noundef %1050)
  store double %1051, ptr %59, align 8, !tbaa !13
  %1052 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %1053 = trunc i8 %1052 to i1
  br i1 %1053, label %1067, label %1054

1054:                                             ; preds = %1049
  %1055 = load double, ptr %59, align 8, !tbaa !13
  %1056 = load ptr, ptr %4, align 8, !tbaa !9
  %1057 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %37, ptr noundef %29, ptr noundef %1056)
  %1058 = fsub double %1055, %1057
  %1059 = load ptr, ptr %4, align 8, !tbaa !9
  %1060 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1058, ptr noundef %1059)
  %1061 = load double, ptr %59, align 8, !tbaa !13
  %1062 = load ptr, ptr %4, align 8, !tbaa !9
  %1063 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1061, ptr noundef %1062)
  %1064 = fdiv double %1060, %1063
  %1065 = load double, ptr %9, align 8, !tbaa !13
  %1066 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1064, double noundef %1065)
  br label %1067

1067:                                             ; preds = %1054, %1049
  %1068 = phi i1 [ true, %1049 ], [ %1066, %1054 ]
  %1069 = zext i1 %1068 to i8
  store i8 %1069, ptr %82, align 1, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %1070

1070:                                             ; preds = %1217, %1067
  %1071 = load i64, ptr %13, align 8, !tbaa !11
  %1072 = load i64, ptr %17, align 8, !tbaa !11
  %1073 = icmp sle i64 %1071, %1072
  br i1 %1073, label %1074, label %1220

1074:                                             ; preds = %1070
  %1075 = load i64, ptr %19, align 8, !tbaa !11
  %1076 = icmp eq i64 %1075, 1
  br i1 %1076, label %1077, label %1082

1077:                                             ; preds = %1074
  %1078 = load i64, ptr %13, align 8, !tbaa !11
  %1079 = load i64, ptr %17, align 8, !tbaa !11
  %1080 = icmp eq i64 %1078, %1079
  br i1 %1080, label %1081, label %1082

1081:                                             ; preds = %1077
  br label %1217

1082:                                             ; preds = %1077, %1074
  store double 0.000000e+00, ptr %56, align 8, !tbaa !13
  store double 0.000000e+00, ptr %57, align 8, !tbaa !13
  store double 0.000000e+00, ptr %58, align 8, !tbaa !13
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1083

1083:                                             ; preds = %1200, %1082
  %1084 = load i64, ptr %11, align 8, !tbaa !11
  %1085 = load i64, ptr %10, align 8, !tbaa !11
  %1086 = sub nsw i64 %1085, 1
  %1087 = icmp sle i64 %1084, %1086
  br i1 %1087, label %1088, label %1203

1088:                                             ; preds = %1083
  %1089 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %1090 = load ptr, ptr %1089, align 8, !tbaa !15
  %1091 = load i64, ptr %17, align 8, !tbaa !11
  %1092 = getelementptr inbounds double, ptr %1090, i64 %1091
  %1093 = load double, ptr %1092, align 8, !tbaa !13
  store double %1093, ptr %59, align 8, !tbaa !13
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %1094

1094:                                             ; preds = %1115, %1088
  %1095 = load i64, ptr %12, align 8, !tbaa !11
  %1096 = load i64, ptr %17, align 8, !tbaa !11
  %1097 = sub nsw i64 %1096, 1
  %1098 = icmp sle i64 %1095, %1097
  br i1 %1098, label %1099, label %1118

1099:                                             ; preds = %1094
  %1100 = load double, ptr %59, align 8, !tbaa !13
  %1101 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1102 = load ptr, ptr %1101, align 8, !tbaa !15
  %1103 = load i64, ptr %11, align 8, !tbaa !11
  %1104 = getelementptr inbounds ptr, ptr %1102, i64 %1103
  %1105 = load ptr, ptr %1104, align 8, !tbaa !9
  %1106 = load i64, ptr %12, align 8, !tbaa !11
  %1107 = getelementptr inbounds double, ptr %1105, i64 %1106
  %1108 = load double, ptr %1107, align 8, !tbaa !13
  %1109 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %1110 = load ptr, ptr %1109, align 8, !tbaa !15
  %1111 = load i64, ptr %12, align 8, !tbaa !11
  %1112 = getelementptr inbounds double, ptr %1110, i64 %1111
  %1113 = load double, ptr %1112, align 8, !tbaa !13
  %1114 = call double @llvm.fmuladd.f64(double %1108, double %1113, double %1100)
  store double %1114, ptr %59, align 8, !tbaa !13
  br label %1115

1115:                                             ; preds = %1099
  %1116 = load i64, ptr %12, align 8, !tbaa !11
  %1117 = add nsw i64 %1116, 1
  store i64 %1117, ptr %12, align 8, !tbaa !11
  br label %1094, !llvm.loop !34

1118:                                             ; preds = %1094
  %1119 = load double, ptr %56, align 8, !tbaa !13
  %1120 = load double, ptr %59, align 8, !tbaa !13
  %1121 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1122 = load ptr, ptr %1121, align 8, !tbaa !15
  %1123 = load i64, ptr %11, align 8, !tbaa !11
  %1124 = getelementptr inbounds ptr, ptr %1122, i64 %1123
  %1125 = load ptr, ptr %1124, align 8, !tbaa !9
  %1126 = load i64, ptr %17, align 8, !tbaa !11
  %1127 = getelementptr inbounds double, ptr %1125, i64 %1126
  %1128 = load double, ptr %1127, align 8, !tbaa !13
  %1129 = fsub double %1120, %1128
  %1130 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %1131 = load ptr, ptr %1130, align 8, !tbaa !15
  %1132 = load i64, ptr %11, align 8, !tbaa !11
  %1133 = getelementptr inbounds double, ptr %1131, i64 %1132
  %1134 = load double, ptr %1133, align 8, !tbaa !13
  %1135 = fdiv double %1129, %1134
  %1136 = load ptr, ptr %4, align 8, !tbaa !9
  %1137 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1135, ptr noundef %1136)
  %1138 = fadd double %1119, %1137
  store double %1138, ptr %56, align 8, !tbaa !13
  %1139 = load i64, ptr %13, align 8, !tbaa !11
  %1140 = load i64, ptr %17, align 8, !tbaa !11
  %1141 = icmp slt i64 %1139, %1140
  br i1 %1141, label %1142, label %1151

1142:                                             ; preds = %1118
  %1143 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1144 = load ptr, ptr %1143, align 8, !tbaa !15
  %1145 = load i64, ptr %11, align 8, !tbaa !11
  %1146 = getelementptr inbounds ptr, ptr %1144, i64 %1145
  %1147 = load ptr, ptr %1146, align 8, !tbaa !9
  %1148 = load i64, ptr %13, align 8, !tbaa !11
  %1149 = getelementptr inbounds double, ptr %1147, i64 %1148
  %1150 = load double, ptr %1149, align 8, !tbaa !13
  store double %1150, ptr %60, align 8, !tbaa !13
  br label %1152

1151:                                             ; preds = %1118
  store double 1.000000e+00, ptr %60, align 8, !tbaa !13
  br label %1152

1152:                                             ; preds = %1151, %1142
  %1153 = load double, ptr %57, align 8, !tbaa !13
  %1154 = load double, ptr %59, align 8, !tbaa !13
  %1155 = load double, ptr %60, align 8, !tbaa !13
  %1156 = load double, ptr %71, align 8, !tbaa !13
  %1157 = call double @llvm.fmuladd.f64(double %1155, double %1156, double %1154)
  %1158 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1159 = load ptr, ptr %1158, align 8, !tbaa !15
  %1160 = load i64, ptr %11, align 8, !tbaa !11
  %1161 = getelementptr inbounds ptr, ptr %1159, i64 %1160
  %1162 = load ptr, ptr %1161, align 8, !tbaa !9
  %1163 = load i64, ptr %17, align 8, !tbaa !11
  %1164 = getelementptr inbounds double, ptr %1162, i64 %1163
  %1165 = load double, ptr %1164, align 8, !tbaa !13
  %1166 = fsub double %1157, %1165
  %1167 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %1168 = load ptr, ptr %1167, align 8, !tbaa !15
  %1169 = load i64, ptr %11, align 8, !tbaa !11
  %1170 = getelementptr inbounds double, ptr %1168, i64 %1169
  %1171 = load double, ptr %1170, align 8, !tbaa !13
  %1172 = fdiv double %1166, %1171
  %1173 = load ptr, ptr %4, align 8, !tbaa !9
  %1174 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1172, ptr noundef %1173)
  %1175 = fadd double %1153, %1174
  store double %1175, ptr %57, align 8, !tbaa !13
  %1176 = load double, ptr %58, align 8, !tbaa !13
  %1177 = load double, ptr %59, align 8, !tbaa !13
  %1178 = load double, ptr %60, align 8, !tbaa !13
  %1179 = load double, ptr %71, align 8, !tbaa !13
  %1180 = fneg double %1178
  %1181 = call double @llvm.fmuladd.f64(double %1180, double %1179, double %1177)
  %1182 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1183 = load ptr, ptr %1182, align 8, !tbaa !15
  %1184 = load i64, ptr %11, align 8, !tbaa !11
  %1185 = getelementptr inbounds ptr, ptr %1183, i64 %1184
  %1186 = load ptr, ptr %1185, align 8, !tbaa !9
  %1187 = load i64, ptr %17, align 8, !tbaa !11
  %1188 = getelementptr inbounds double, ptr %1186, i64 %1187
  %1189 = load double, ptr %1188, align 8, !tbaa !13
  %1190 = fsub double %1181, %1189
  %1191 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %1192 = load ptr, ptr %1191, align 8, !tbaa !15
  %1193 = load i64, ptr %11, align 8, !tbaa !11
  %1194 = getelementptr inbounds double, ptr %1192, i64 %1193
  %1195 = load double, ptr %1194, align 8, !tbaa !13
  %1196 = fdiv double %1190, %1195
  %1197 = load ptr, ptr %4, align 8, !tbaa !9
  %1198 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1196, ptr noundef %1197)
  %1199 = fadd double %1176, %1198
  store double %1199, ptr %58, align 8, !tbaa !13
  br label %1200

1200:                                             ; preds = %1152
  %1201 = load i64, ptr %11, align 8, !tbaa !11
  %1202 = add nsw i64 %1201, 1
  store i64 %1202, ptr %11, align 8, !tbaa !11
  br label %1083, !llvm.loop !35

1203:                                             ; preds = %1083
  %1204 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %1205 = trunc i8 %1204 to i1
  br i1 %1205, label %1214, label %1206

1206:                                             ; preds = %1203
  %1207 = load double, ptr %56, align 8, !tbaa !13
  %1208 = load double, ptr %57, align 8, !tbaa !13
  %1209 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1207, double noundef %1208)
  br i1 %1209, label %1214, label %1210

1210:                                             ; preds = %1206
  %1211 = load double, ptr %56, align 8, !tbaa !13
  %1212 = load double, ptr %58, align 8, !tbaa !13
  %1213 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1211, double noundef %1212)
  br label %1214

1214:                                             ; preds = %1210, %1206, %1203
  %1215 = phi i1 [ true, %1206 ], [ true, %1203 ], [ %1213, %1210 ]
  %1216 = zext i1 %1215 to i8
  store i8 %1216, ptr %80, align 1, !tbaa !5
  br label %1217

1217:                                             ; preds = %1214, %1081
  %1218 = load i64, ptr %13, align 8, !tbaa !11
  %1219 = add nsw i64 %1218, 1
  store i64 %1219, ptr %13, align 8, !tbaa !11
  br label %1070, !llvm.loop !36

1220:                                             ; preds = %1070
  %1221 = load i64, ptr %8, align 8, !tbaa !11
  %1222 = sub nsw i64 %1221, 1
  %1223 = add nsw i64 %1222, 1
  %1224 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef %1223, ptr noundef %1224)
  %1225 = load i64, ptr %17, align 8, !tbaa !11
  %1226 = add nsw i64 %1225, 1
  %1227 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %31, i64 noundef %1226, ptr noundef %1227)
  %1228 = load i64, ptr %17, align 8, !tbaa !11
  %1229 = add nsw i64 %1228, 1
  %1230 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %32, i64 noundef %1229, ptr noundef %1230)
  %1231 = load i64, ptr %10, align 8, !tbaa !11
  %1232 = sub nsw i64 %1231, 1
  %1233 = add nsw i64 %1232, 1
  %1234 = load i64, ptr %17, align 8, !tbaa !11
  %1235 = add nsw i64 %1234, 1
  %1236 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %25, i64 noundef %1233, i64 noundef %1235, ptr noundef %1236)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1237

1237:                                             ; preds = %1248, %1220
  %1238 = load i64, ptr %11, align 8, !tbaa !11
  %1239 = load i64, ptr %17, align 8, !tbaa !11
  %1240 = icmp sle i64 %1238, %1239
  br i1 %1240, label %1241, label %1251

1241:                                             ; preds = %1237
  %1242 = load ptr, ptr %4, align 8, !tbaa !9
  %1243 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %1242)
  %1244 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %1245 = load ptr, ptr %1244, align 8, !tbaa !15
  %1246 = load i64, ptr %11, align 8, !tbaa !11
  %1247 = getelementptr inbounds double, ptr %1245, i64 %1246
  store double %1243, ptr %1247, align 8, !tbaa !13
  br label %1248

1248:                                             ; preds = %1241
  %1249 = load i64, ptr %11, align 8, !tbaa !11
  %1250 = add nsw i64 %1249, 1
  store i64 %1250, ptr %11, align 8, !tbaa !11
  br label %1237, !llvm.loop !37

1251:                                             ; preds = %1237
  store i64 0, ptr %16, align 8, !tbaa !11
  br label %1252

1252:                                             ; preds = %1329, %1251
  %1253 = load i64, ptr %16, align 8, !tbaa !11
  %1254 = load i64, ptr %8, align 8, !tbaa !11
  %1255 = sub nsw i64 %1254, 1
  %1256 = icmp sle i64 %1253, %1255
  br i1 %1256, label %1257, label %1332

1257:                                             ; preds = %1252
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1258

1258:                                             ; preds = %1299, %1257
  %1259 = load i64, ptr %11, align 8, !tbaa !11
  %1260 = load i64, ptr %10, align 8, !tbaa !11
  %1261 = sub nsw i64 %1260, 1
  %1262 = icmp sle i64 %1259, %1261
  br i1 %1262, label %1263, label %1302

1263:                                             ; preds = %1258
  %1264 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %25, i32 0, i32 6
  %1265 = load ptr, ptr %1264, align 8, !tbaa !15
  %1266 = load i64, ptr %11, align 8, !tbaa !11
  %1267 = getelementptr inbounds ptr, ptr %1265, i64 %1266
  %1268 = load ptr, ptr %1267, align 8, !tbaa !9
  %1269 = getelementptr inbounds double, ptr %1268, i64 0
  %1270 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1271 = load ptr, ptr %1270, align 8, !tbaa !15
  %1272 = load i64, ptr %11, align 8, !tbaa !11
  %1273 = getelementptr inbounds ptr, ptr %1271, i64 %1272
  %1274 = load ptr, ptr %1273, align 8, !tbaa !9
  %1275 = getelementptr inbounds double, ptr %1274, i64 0
  %1276 = load i64, ptr %17, align 8, !tbaa !11
  %1277 = sub nsw i64 %1276, 1
  %1278 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1277)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1269, i64 noundef 1, ptr noundef %1275, i64 noundef 1, i64 noundef %1278)
  %1279 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %33, i32 0, i32 4
  %1280 = load ptr, ptr %1279, align 8, !tbaa !15
  %1281 = load i64, ptr %11, align 8, !tbaa !11
  %1282 = getelementptr inbounds double, ptr %1280, i64 %1281
  %1283 = load double, ptr %1282, align 8, !tbaa !13
  %1284 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %1285 = load ptr, ptr %1284, align 8, !tbaa !15
  %1286 = load i64, ptr %11, align 8, !tbaa !11
  %1287 = getelementptr inbounds double, ptr %1285, i64 %1286
  %1288 = load double, ptr %1287, align 8, !tbaa !13
  %1289 = load ptr, ptr %4, align 8, !tbaa !9
  %1290 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %1289)
  %1291 = call double @llvm.fmuladd.f64(double %1288, double %1290, double %1283)
  %1292 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %25, i32 0, i32 6
  %1293 = load ptr, ptr %1292, align 8, !tbaa !15
  %1294 = load i64, ptr %11, align 8, !tbaa !11
  %1295 = getelementptr inbounds ptr, ptr %1293, i64 %1294
  %1296 = load ptr, ptr %1295, align 8, !tbaa !9
  %1297 = load i64, ptr %17, align 8, !tbaa !11
  %1298 = getelementptr inbounds double, ptr %1296, i64 %1297
  store double %1291, ptr %1298, align 8, !tbaa !13
  br label %1299

1299:                                             ; preds = %1263
  %1300 = load i64, ptr %11, align 8, !tbaa !11
  %1301 = add nsw i64 %1300, 1
  store i64 %1301, ptr %11, align 8, !tbaa !11
  br label %1258, !llvm.loop !38

1302:                                             ; preds = %1258
  %1303 = load i64, ptr %19, align 8, !tbaa !11
  %1304 = icmp eq i64 %1303, 0
  br i1 %1304, label %1305, label %1309

1305:                                             ; preds = %1302
  %1306 = load i64, ptr %10, align 8, !tbaa !11
  %1307 = load i64, ptr %17, align 8, !tbaa !11
  %1308 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %25, ptr noundef %26, i64 noundef %1306, i64 noundef %1307, ptr noundef %36, ptr noundef %55, ptr noundef %1308)
  br label %1313

1309:                                             ; preds = %1302
  %1310 = load i64, ptr %10, align 8, !tbaa !11
  %1311 = load i64, ptr %17, align 8, !tbaa !11
  %1312 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9lrbuildzsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %25, ptr noundef %26, i64 noundef %1310, i64 noundef %1311, ptr noundef %36, ptr noundef %55, ptr noundef %1312)
  br label %1313

1313:                                             ; preds = %1309, %1305
  %1314 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef %36, ptr noundef %28, ptr noundef %14, ptr noundef %1314)
  %1315 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %1316 = load ptr, ptr %1315, align 8, !tbaa !15
  %1317 = getelementptr inbounds double, ptr %1316, i64 0
  %1318 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %1319 = load ptr, ptr %1318, align 8, !tbaa !15
  %1320 = getelementptr inbounds double, ptr %1319, i64 0
  %1321 = load i64, ptr %17, align 8, !tbaa !11
  %1322 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1321)
  %1323 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %1317, i64 noundef 1, ptr noundef %1320, i64 noundef 1, i64 noundef %1322)
  store double %1323, ptr %59, align 8, !tbaa !13
  %1324 = load double, ptr %59, align 8, !tbaa !13
  %1325 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %1326 = load ptr, ptr %1325, align 8, !tbaa !15
  %1327 = load i64, ptr %16, align 8, !tbaa !11
  %1328 = getelementptr inbounds double, ptr %1326, i64 %1327
  store double %1324, ptr %1328, align 8, !tbaa !13
  br label %1329

1329:                                             ; preds = %1313
  %1330 = load i64, ptr %16, align 8, !tbaa !11
  %1331 = add nsw i64 %1330, 1
  store i64 %1331, ptr %16, align 8, !tbaa !11
  br label %1252, !llvm.loop !39

1332:                                             ; preds = %1252
  %1333 = load i64, ptr %8, align 8, !tbaa !11
  %1334 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL26testlinregunit_calculatemvPKN11alglib_impl9ae_vectorElPdS3_S3_S3_PNS_8ae_stateE(ptr noundef %30, i64 noundef %1333, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %1334)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1335

1335:                                             ; preds = %1361, %1332
  %1336 = load i64, ptr %11, align 8, !tbaa !11
  %1337 = load i64, ptr %17, align 8, !tbaa !11
  %1338 = icmp sle i64 %1336, %1337
  br i1 %1338, label %1339, label %1364

1339:                                             ; preds = %1335
  %1340 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %1341 = load ptr, ptr %1340, align 8, !tbaa !15
  %1342 = getelementptr inbounds double, ptr %1341, i64 0
  %1343 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %1344 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1343, i32 0, i32 6
  %1345 = load ptr, ptr %1344, align 8, !tbaa !15
  %1346 = getelementptr inbounds ptr, ptr %1345, i64 0
  %1347 = load ptr, ptr %1346, align 8, !tbaa !9
  %1348 = load i64, ptr %11, align 8, !tbaa !11
  %1349 = getelementptr inbounds double, ptr %1347, i64 %1348
  %1350 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 0
  %1351 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %1350, i32 0, i32 2
  %1352 = load i64, ptr %1351, align 8, !tbaa !40
  %1353 = load i64, ptr %17, align 8, !tbaa !11
  %1354 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1353)
  %1355 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %1342, i64 noundef 1, ptr noundef %1349, i64 noundef %1352, i64 noundef %1354)
  store double %1355, ptr %59, align 8, !tbaa !13
  %1356 = load double, ptr %59, align 8, !tbaa !13
  %1357 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %1358 = load ptr, ptr %1357, align 8, !tbaa !15
  %1359 = load i64, ptr %11, align 8, !tbaa !11
  %1360 = getelementptr inbounds double, ptr %1358, i64 %1359
  store double %1356, ptr %1360, align 8, !tbaa !13
  br label %1361

1361:                                             ; preds = %1339
  %1362 = load i64, ptr %11, align 8, !tbaa !11
  %1363 = add nsw i64 %1362, 1
  store i64 %1363, ptr %11, align 8, !tbaa !11
  br label %1335, !llvm.loop !45

1364:                                             ; preds = %1335
  %1365 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %1366 = load ptr, ptr %1365, align 8, !tbaa !15
  %1367 = getelementptr inbounds double, ptr %1366, i64 0
  %1368 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %1369 = load ptr, ptr %1368, align 8, !tbaa !15
  %1370 = getelementptr inbounds double, ptr %1369, i64 0
  %1371 = load i64, ptr %17, align 8, !tbaa !11
  %1372 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1371)
  %1373 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %1367, i64 noundef 1, ptr noundef %1370, i64 noundef 1, i64 noundef %1372)
  store double %1373, ptr %59, align 8, !tbaa !13
  %1374 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %1375 = trunc i8 %1374 to i1
  br i1 %1375, label %1388, label %1376

1376:                                             ; preds = %1364
  %1377 = load double, ptr %59, align 8, !tbaa !13
  %1378 = load ptr, ptr %4, align 8, !tbaa !9
  %1379 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %1377, ptr noundef %1378)
  %1380 = load double, ptr %75, align 8, !tbaa !13
  %1381 = fsub double %1379, %1380
  %1382 = load double, ptr %76, align 8, !tbaa !13
  %1383 = fdiv double %1381, %1382
  %1384 = load ptr, ptr %4, align 8, !tbaa !9
  %1385 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1383, ptr noundef %1384)
  %1386 = load double, ptr %6, align 8, !tbaa !13
  %1387 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %1385, double noundef %1386)
  br label %1388

1388:                                             ; preds = %1376, %1364
  %1389 = phi i1 [ true, %1364 ], [ %1387, %1376 ]
  %1390 = zext i1 %1389 to i8
  store i8 %1390, ptr %79, align 1, !tbaa !5
  store double 0.000000e+00, ptr %61, align 8, !tbaa !13
  store double 0.000000e+00, ptr %62, align 8, !tbaa !13
  store double 0.000000e+00, ptr %63, align 8, !tbaa !13
  store double 0.000000e+00, ptr %64, align 8, !tbaa !13
  store double 0.000000e+00, ptr %65, align 8, !tbaa !13
  store double 0.000000e+00, ptr %66, align 8, !tbaa !13
  %1391 = load i64, ptr %10, align 8, !tbaa !11
  %1392 = sub nsw i64 %1391, 2
  %1393 = add nsw i64 %1392, 1
  %1394 = load i64, ptr %17, align 8, !tbaa !11
  %1395 = add nsw i64 %1394, 1
  %1396 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %25, i64 noundef %1393, i64 noundef %1395, ptr noundef %1396)
  %1397 = load i64, ptr %10, align 8, !tbaa !11
  %1398 = sub nsw i64 %1397, 2
  %1399 = add nsw i64 %1398, 1
  %1400 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %27, i64 noundef %1399, ptr noundef %1400)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1401

1401:                                             ; preds = %1432, %1388
  %1402 = load i64, ptr %11, align 8, !tbaa !11
  %1403 = load i64, ptr %10, align 8, !tbaa !11
  %1404 = sub nsw i64 %1403, 2
  %1405 = icmp sle i64 %1402, %1404
  br i1 %1405, label %1406, label %1435

1406:                                             ; preds = %1401
  %1407 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %25, i32 0, i32 6
  %1408 = load ptr, ptr %1407, align 8, !tbaa !15
  %1409 = load i64, ptr %11, align 8, !tbaa !11
  %1410 = getelementptr inbounds ptr, ptr %1408, i64 %1409
  %1411 = load ptr, ptr %1410, align 8, !tbaa !9
  %1412 = getelementptr inbounds double, ptr %1411, i64 0
  %1413 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1414 = load ptr, ptr %1413, align 8, !tbaa !15
  %1415 = load i64, ptr %11, align 8, !tbaa !11
  %1416 = add nsw i64 %1415, 1
  %1417 = getelementptr inbounds ptr, ptr %1414, i64 %1416
  %1418 = load ptr, ptr %1417, align 8, !tbaa !9
  %1419 = getelementptr inbounds double, ptr %1418, i64 0
  %1420 = load i64, ptr %17, align 8, !tbaa !11
  %1421 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1420)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1412, i64 noundef 1, ptr noundef %1419, i64 noundef 1, i64 noundef %1421)
  %1422 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %1423 = load ptr, ptr %1422, align 8, !tbaa !15
  %1424 = load i64, ptr %11, align 8, !tbaa !11
  %1425 = add nsw i64 %1424, 1
  %1426 = getelementptr inbounds double, ptr %1423, i64 %1425
  %1427 = load double, ptr %1426, align 8, !tbaa !13
  %1428 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1429 = load ptr, ptr %1428, align 8, !tbaa !15
  %1430 = load i64, ptr %11, align 8, !tbaa !11
  %1431 = getelementptr inbounds double, ptr %1429, i64 %1430
  store double %1427, ptr %1431, align 8, !tbaa !13
  br label %1432

1432:                                             ; preds = %1406
  %1433 = load i64, ptr %11, align 8, !tbaa !11
  %1434 = add nsw i64 %1433, 1
  store i64 %1434, ptr %11, align 8, !tbaa !11
  br label %1401, !llvm.loop !46

1435:                                             ; preds = %1401
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1436

1436:                                             ; preds = %1652, %1435
  %1437 = load i64, ptr %11, align 8, !tbaa !11
  %1438 = load i64, ptr %10, align 8, !tbaa !11
  %1439 = sub nsw i64 %1438, 1
  %1440 = icmp sle i64 %1437, %1439
  br i1 %1440, label %1441, label %1655

1441:                                             ; preds = %1436
  %1442 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1443 = load ptr, ptr %1442, align 8, !tbaa !15
  %1444 = load i64, ptr %11, align 8, !tbaa !11
  %1445 = getelementptr inbounds ptr, ptr %1443, i64 %1444
  %1446 = load ptr, ptr %1445, align 8, !tbaa !9
  %1447 = getelementptr inbounds double, ptr %1446, i64 0
  %1448 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %1449 = load ptr, ptr %1448, align 8, !tbaa !15
  %1450 = getelementptr inbounds double, ptr %1449, i64 0
  %1451 = load i64, ptr %17, align 8, !tbaa !11
  %1452 = sub nsw i64 %1451, 1
  %1453 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1452)
  %1454 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %1447, i64 noundef 1, ptr noundef %1450, i64 noundef 1, i64 noundef %1453)
  store double %1454, ptr %59, align 8, !tbaa !13
  %1455 = load double, ptr %59, align 8, !tbaa !13
  %1456 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %1457 = load ptr, ptr %1456, align 8, !tbaa !15
  %1458 = load i64, ptr %17, align 8, !tbaa !11
  %1459 = getelementptr inbounds double, ptr %1457, i64 %1458
  %1460 = load double, ptr %1459, align 8, !tbaa !13
  %1461 = fadd double %1455, %1460
  store double %1461, ptr %59, align 8, !tbaa !13
  %1462 = load double, ptr %64, align 8, !tbaa !13
  %1463 = load double, ptr %59, align 8, !tbaa !13
  %1464 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1465 = load ptr, ptr %1464, align 8, !tbaa !15
  %1466 = load i64, ptr %11, align 8, !tbaa !11
  %1467 = getelementptr inbounds ptr, ptr %1465, i64 %1466
  %1468 = load ptr, ptr %1467, align 8, !tbaa !9
  %1469 = load i64, ptr %17, align 8, !tbaa !11
  %1470 = getelementptr inbounds double, ptr %1468, i64 %1469
  %1471 = load double, ptr %1470, align 8, !tbaa !13
  %1472 = fsub double %1463, %1471
  %1473 = load ptr, ptr %4, align 8, !tbaa !9
  %1474 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1472, ptr noundef %1473)
  %1475 = fadd double %1462, %1474
  store double %1475, ptr %64, align 8, !tbaa !13
  %1476 = load double, ptr %65, align 8, !tbaa !13
  %1477 = load double, ptr %59, align 8, !tbaa !13
  %1478 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1479 = load ptr, ptr %1478, align 8, !tbaa !15
  %1480 = load i64, ptr %11, align 8, !tbaa !11
  %1481 = getelementptr inbounds ptr, ptr %1479, i64 %1480
  %1482 = load ptr, ptr %1481, align 8, !tbaa !9
  %1483 = load i64, ptr %17, align 8, !tbaa !11
  %1484 = getelementptr inbounds double, ptr %1482, i64 %1483
  %1485 = load double, ptr %1484, align 8, !tbaa !13
  %1486 = fsub double %1477, %1485
  %1487 = load ptr, ptr %4, align 8, !tbaa !9
  %1488 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1486, ptr noundef %1487)
  %1489 = fadd double %1476, %1488
  store double %1489, ptr %65, align 8, !tbaa !13
  %1490 = load double, ptr %66, align 8, !tbaa !13
  %1491 = load double, ptr %59, align 8, !tbaa !13
  %1492 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1493 = load ptr, ptr %1492, align 8, !tbaa !15
  %1494 = load i64, ptr %11, align 8, !tbaa !11
  %1495 = getelementptr inbounds ptr, ptr %1493, i64 %1494
  %1496 = load ptr, ptr %1495, align 8, !tbaa !9
  %1497 = load i64, ptr %17, align 8, !tbaa !11
  %1498 = getelementptr inbounds double, ptr %1496, i64 %1497
  %1499 = load double, ptr %1498, align 8, !tbaa !13
  %1500 = fsub double %1491, %1499
  %1501 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1502 = load ptr, ptr %1501, align 8, !tbaa !15
  %1503 = load i64, ptr %11, align 8, !tbaa !11
  %1504 = getelementptr inbounds ptr, ptr %1502, i64 %1503
  %1505 = load ptr, ptr %1504, align 8, !tbaa !9
  %1506 = load i64, ptr %17, align 8, !tbaa !11
  %1507 = getelementptr inbounds double, ptr %1505, i64 %1506
  %1508 = load double, ptr %1507, align 8, !tbaa !13
  %1509 = fdiv double %1500, %1508
  %1510 = load ptr, ptr %4, align 8, !tbaa !9
  %1511 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1509, ptr noundef %1510)
  %1512 = fadd double %1490, %1511
  store double %1512, ptr %66, align 8, !tbaa !13
  store i8 1, ptr %67, align 1, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %1513

1513:                                             ; preds = %1530, %1441
  %1514 = load i64, ptr %13, align 8, !tbaa !11
  %1515 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 7
  %1516 = load i64, ptr %1515, align 8, !tbaa !47
  %1517 = sub nsw i64 %1516, 1
  %1518 = icmp sle i64 %1514, %1517
  br i1 %1518, label %1519, label %1533

1519:                                             ; preds = %1513
  %1520 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 8
  %1521 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1520, i32 0, i32 4
  %1522 = load ptr, ptr %1521, align 8, !tbaa !15
  %1523 = load i64, ptr %13, align 8, !tbaa !11
  %1524 = getelementptr inbounds i64, ptr %1522, i64 %1523
  %1525 = load i64, ptr %1524, align 8, !tbaa !11
  %1526 = load i64, ptr %11, align 8, !tbaa !11
  %1527 = icmp eq i64 %1525, %1526
  br i1 %1527, label %1528, label %1529

1528:                                             ; preds = %1519
  store i8 0, ptr %67, align 1, !tbaa !5
  br label %1529

1529:                                             ; preds = %1528, %1519
  br label %1530

1530:                                             ; preds = %1529
  %1531 = load i64, ptr %13, align 8, !tbaa !11
  %1532 = add nsw i64 %1531, 1
  store i64 %1532, ptr %13, align 8, !tbaa !11
  br label %1513, !llvm.loop !48

1533:                                             ; preds = %1513
  %1534 = load i8, ptr %67, align 1, !tbaa !5, !range !19, !noundef !20
  %1535 = trunc i8 %1534 to i1
  br i1 %1535, label %1536, label %1622

1536:                                             ; preds = %1533
  %1537 = load i64, ptr %19, align 8, !tbaa !11
  %1538 = icmp eq i64 %1537, 0
  br i1 %1538, label %1539, label %1544

1539:                                             ; preds = %1536
  %1540 = load i64, ptr %10, align 8, !tbaa !11
  %1541 = sub nsw i64 %1540, 1
  %1542 = load i64, ptr %17, align 8, !tbaa !11
  %1543 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %25, ptr noundef %27, i64 noundef %1541, i64 noundef %1542, ptr noundef %36, ptr noundef %55, ptr noundef %1543)
  br label %1549

1544:                                             ; preds = %1536
  %1545 = load i64, ptr %10, align 8, !tbaa !11
  %1546 = sub nsw i64 %1545, 1
  %1547 = load i64, ptr %17, align 8, !tbaa !11
  %1548 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9lrbuildzsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %25, ptr noundef %27, i64 noundef %1546, i64 noundef %1547, ptr noundef %36, ptr noundef %55, ptr noundef %1548)
  br label %1549

1549:                                             ; preds = %1544, %1539
  %1550 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef %36, ptr noundef %28, ptr noundef %14, ptr noundef %1550)
  %1551 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1552 = load ptr, ptr %1551, align 8, !tbaa !15
  %1553 = load i64, ptr %11, align 8, !tbaa !11
  %1554 = getelementptr inbounds ptr, ptr %1552, i64 %1553
  %1555 = load ptr, ptr %1554, align 8, !tbaa !9
  %1556 = getelementptr inbounds double, ptr %1555, i64 0
  %1557 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %1558 = load ptr, ptr %1557, align 8, !tbaa !15
  %1559 = getelementptr inbounds double, ptr %1558, i64 0
  %1560 = load i64, ptr %17, align 8, !tbaa !11
  %1561 = sub nsw i64 %1560, 1
  %1562 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1561)
  %1563 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %1556, i64 noundef 1, ptr noundef %1559, i64 noundef 1, i64 noundef %1562)
  store double %1563, ptr %59, align 8, !tbaa !13
  %1564 = load double, ptr %59, align 8, !tbaa !13
  %1565 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %1566 = load ptr, ptr %1565, align 8, !tbaa !15
  %1567 = load i64, ptr %17, align 8, !tbaa !11
  %1568 = getelementptr inbounds double, ptr %1566, i64 %1567
  %1569 = load double, ptr %1568, align 8, !tbaa !13
  %1570 = fadd double %1564, %1569
  store double %1570, ptr %59, align 8, !tbaa !13
  %1571 = load double, ptr %61, align 8, !tbaa !13
  %1572 = load double, ptr %59, align 8, !tbaa !13
  %1573 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1574 = load ptr, ptr %1573, align 8, !tbaa !15
  %1575 = load i64, ptr %11, align 8, !tbaa !11
  %1576 = getelementptr inbounds ptr, ptr %1574, i64 %1575
  %1577 = load ptr, ptr %1576, align 8, !tbaa !9
  %1578 = load i64, ptr %17, align 8, !tbaa !11
  %1579 = getelementptr inbounds double, ptr %1577, i64 %1578
  %1580 = load double, ptr %1579, align 8, !tbaa !13
  %1581 = fsub double %1572, %1580
  %1582 = load ptr, ptr %4, align 8, !tbaa !9
  %1583 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %1581, ptr noundef %1582)
  %1584 = fadd double %1571, %1583
  store double %1584, ptr %61, align 8, !tbaa !13
  %1585 = load double, ptr %62, align 8, !tbaa !13
  %1586 = load double, ptr %59, align 8, !tbaa !13
  %1587 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1588 = load ptr, ptr %1587, align 8, !tbaa !15
  %1589 = load i64, ptr %11, align 8, !tbaa !11
  %1590 = getelementptr inbounds ptr, ptr %1588, i64 %1589
  %1591 = load ptr, ptr %1590, align 8, !tbaa !9
  %1592 = load i64, ptr %17, align 8, !tbaa !11
  %1593 = getelementptr inbounds double, ptr %1591, i64 %1592
  %1594 = load double, ptr %1593, align 8, !tbaa !13
  %1595 = fsub double %1586, %1594
  %1596 = load ptr, ptr %4, align 8, !tbaa !9
  %1597 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1595, ptr noundef %1596)
  %1598 = fadd double %1585, %1597
  store double %1598, ptr %62, align 8, !tbaa !13
  %1599 = load double, ptr %63, align 8, !tbaa !13
  %1600 = load double, ptr %59, align 8, !tbaa !13
  %1601 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1602 = load ptr, ptr %1601, align 8, !tbaa !15
  %1603 = load i64, ptr %11, align 8, !tbaa !11
  %1604 = getelementptr inbounds ptr, ptr %1602, i64 %1603
  %1605 = load ptr, ptr %1604, align 8, !tbaa !9
  %1606 = load i64, ptr %17, align 8, !tbaa !11
  %1607 = getelementptr inbounds double, ptr %1605, i64 %1606
  %1608 = load double, ptr %1607, align 8, !tbaa !13
  %1609 = fsub double %1600, %1608
  %1610 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1611 = load ptr, ptr %1610, align 8, !tbaa !15
  %1612 = load i64, ptr %11, align 8, !tbaa !11
  %1613 = getelementptr inbounds ptr, ptr %1611, i64 %1612
  %1614 = load ptr, ptr %1613, align 8, !tbaa !9
  %1615 = load i64, ptr %17, align 8, !tbaa !11
  %1616 = getelementptr inbounds double, ptr %1614, i64 %1615
  %1617 = load double, ptr %1616, align 8, !tbaa !13
  %1618 = fdiv double %1609, %1617
  %1619 = load ptr, ptr %4, align 8, !tbaa !9
  %1620 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1618, ptr noundef %1619)
  %1621 = fadd double %1599, %1620
  store double %1621, ptr %63, align 8, !tbaa !13
  br label %1622

1622:                                             ; preds = %1549, %1533
  %1623 = load i64, ptr %11, align 8, !tbaa !11
  %1624 = load i64, ptr %10, align 8, !tbaa !11
  %1625 = sub nsw i64 %1624, 1
  %1626 = icmp ne i64 %1623, %1625
  br i1 %1626, label %1627, label %1651

1627:                                             ; preds = %1622
  %1628 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %25, i32 0, i32 6
  %1629 = load ptr, ptr %1628, align 8, !tbaa !15
  %1630 = load i64, ptr %11, align 8, !tbaa !11
  %1631 = getelementptr inbounds ptr, ptr %1629, i64 %1630
  %1632 = load ptr, ptr %1631, align 8, !tbaa !9
  %1633 = getelementptr inbounds double, ptr %1632, i64 0
  %1634 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1635 = load ptr, ptr %1634, align 8, !tbaa !15
  %1636 = load i64, ptr %11, align 8, !tbaa !11
  %1637 = getelementptr inbounds ptr, ptr %1635, i64 %1636
  %1638 = load ptr, ptr %1637, align 8, !tbaa !9
  %1639 = getelementptr inbounds double, ptr %1638, i64 0
  %1640 = load i64, ptr %17, align 8, !tbaa !11
  %1641 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %1640)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %1633, i64 noundef 1, ptr noundef %1639, i64 noundef 1, i64 noundef %1641)
  %1642 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %1643 = load ptr, ptr %1642, align 8, !tbaa !15
  %1644 = load i64, ptr %11, align 8, !tbaa !11
  %1645 = getelementptr inbounds double, ptr %1643, i64 %1644
  %1646 = load double, ptr %1645, align 8, !tbaa !13
  %1647 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %1648 = load ptr, ptr %1647, align 8, !tbaa !15
  %1649 = load i64, ptr %11, align 8, !tbaa !11
  %1650 = getelementptr inbounds double, ptr %1648, i64 %1649
  store double %1646, ptr %1650, align 8, !tbaa !13
  br label %1651

1651:                                             ; preds = %1627, %1622
  br label %1652

1652:                                             ; preds = %1651
  %1653 = load i64, ptr %11, align 8, !tbaa !11
  %1654 = add nsw i64 %1653, 1
  store i64 %1654, ptr %11, align 8, !tbaa !11
  br label %1436, !llvm.loop !49

1655:                                             ; preds = %1436
  %1656 = load double, ptr %61, align 8, !tbaa !13
  %1657 = load i64, ptr %10, align 8, !tbaa !11
  %1658 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 7
  %1659 = load i64, ptr %1658, align 8, !tbaa !47
  %1660 = sub nsw i64 %1657, %1659
  %1661 = sitofp i64 %1660 to double
  %1662 = fdiv double %1656, %1661
  %1663 = load ptr, ptr %4, align 8, !tbaa !9
  %1664 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %1662, ptr noundef %1663)
  store double %1664, ptr %61, align 8, !tbaa !13
  %1665 = load double, ptr %62, align 8, !tbaa !13
  %1666 = load i64, ptr %10, align 8, !tbaa !11
  %1667 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 7
  %1668 = load i64, ptr %1667, align 8, !tbaa !47
  %1669 = sub nsw i64 %1666, %1668
  %1670 = sitofp i64 %1669 to double
  %1671 = fdiv double %1665, %1670
  store double %1671, ptr %62, align 8, !tbaa !13
  %1672 = load double, ptr %63, align 8, !tbaa !13
  %1673 = load i64, ptr %10, align 8, !tbaa !11
  %1674 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 7
  %1675 = load i64, ptr %1674, align 8, !tbaa !47
  %1676 = sub nsw i64 %1673, %1675
  %1677 = sitofp i64 %1676 to double
  %1678 = fdiv double %1672, %1677
  store double %1678, ptr %63, align 8, !tbaa !13
  %1679 = load double, ptr %64, align 8, !tbaa !13
  %1680 = load i64, ptr %10, align 8, !tbaa !11
  %1681 = sitofp i64 %1680 to double
  %1682 = fdiv double %1679, %1681
  %1683 = load ptr, ptr %4, align 8, !tbaa !9
  %1684 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %1682, ptr noundef %1683)
  store double %1684, ptr %64, align 8, !tbaa !13
  %1685 = load double, ptr %65, align 8, !tbaa !13
  %1686 = load i64, ptr %10, align 8, !tbaa !11
  %1687 = sitofp i64 %1686 to double
  %1688 = fdiv double %1685, %1687
  store double %1688, ptr %65, align 8, !tbaa !13
  %1689 = load double, ptr %66, align 8, !tbaa !13
  %1690 = load i64, ptr %10, align 8, !tbaa !11
  %1691 = sitofp i64 %1690 to double
  %1692 = fdiv double %1689, %1691
  store double %1692, ptr %66, align 8, !tbaa !13
  %1693 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %1694 = trunc i8 %1693 to i1
  br i1 %1694, label %1707, label %1695

1695:                                             ; preds = %1655
  %1696 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 4
  %1697 = load double, ptr %1696, align 8, !tbaa !50
  %1698 = load double, ptr %61, align 8, !tbaa !13
  %1699 = fdiv double %1697, %1698
  %1700 = load ptr, ptr %4, align 8, !tbaa !9
  %1701 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %1699, ptr noundef %1700)
  %1702 = load ptr, ptr %4, align 8, !tbaa !9
  %1703 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1701, ptr noundef %1702)
  %1704 = load ptr, ptr %4, align 8, !tbaa !9
  %1705 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1704)
  %1706 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1703, double noundef %1705)
  br label %1707

1707:                                             ; preds = %1695, %1655
  %1708 = phi i1 [ true, %1655 ], [ %1706, %1695 ]
  %1709 = zext i1 %1708 to i8
  store i8 %1709, ptr %81, align 1, !tbaa !5
  %1710 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %1711 = trunc i8 %1710 to i1
  br i1 %1711, label %1724, label %1712

1712:                                             ; preds = %1707
  %1713 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 5
  %1714 = load double, ptr %1713, align 8, !tbaa !51
  %1715 = load double, ptr %62, align 8, !tbaa !13
  %1716 = fdiv double %1714, %1715
  %1717 = load ptr, ptr %4, align 8, !tbaa !9
  %1718 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %1716, ptr noundef %1717)
  %1719 = load ptr, ptr %4, align 8, !tbaa !9
  %1720 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1718, ptr noundef %1719)
  %1721 = load ptr, ptr %4, align 8, !tbaa !9
  %1722 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1721)
  %1723 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1720, double noundef %1722)
  br label %1724

1724:                                             ; preds = %1712, %1707
  %1725 = phi i1 [ true, %1707 ], [ %1723, %1712 ]
  %1726 = zext i1 %1725 to i8
  store i8 %1726, ptr %81, align 1, !tbaa !5
  %1727 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %1728 = trunc i8 %1727 to i1
  br i1 %1728, label %1741, label %1729

1729:                                             ; preds = %1724
  %1730 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 6
  %1731 = load double, ptr %1730, align 8, !tbaa !52
  %1732 = load double, ptr %63, align 8, !tbaa !13
  %1733 = fdiv double %1731, %1732
  %1734 = load ptr, ptr %4, align 8, !tbaa !9
  %1735 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %1733, ptr noundef %1734)
  %1736 = load ptr, ptr %4, align 8, !tbaa !9
  %1737 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1735, ptr noundef %1736)
  %1738 = load ptr, ptr %4, align 8, !tbaa !9
  %1739 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1738)
  %1740 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1737, double noundef %1739)
  br label %1741

1741:                                             ; preds = %1729, %1724
  %1742 = phi i1 [ true, %1724 ], [ %1740, %1729 ]
  %1743 = zext i1 %1742 to i8
  store i8 %1743, ptr %81, align 1, !tbaa !5
  %1744 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %1745 = trunc i8 %1744 to i1
  br i1 %1745, label %1758, label %1746

1746:                                             ; preds = %1741
  %1747 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 1
  %1748 = load double, ptr %1747, align 8, !tbaa !53
  %1749 = load double, ptr %64, align 8, !tbaa !13
  %1750 = fdiv double %1748, %1749
  %1751 = load ptr, ptr %4, align 8, !tbaa !9
  %1752 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %1750, ptr noundef %1751)
  %1753 = load ptr, ptr %4, align 8, !tbaa !9
  %1754 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1752, ptr noundef %1753)
  %1755 = load ptr, ptr %4, align 8, !tbaa !9
  %1756 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1755)
  %1757 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1754, double noundef %1756)
  br label %1758

1758:                                             ; preds = %1746, %1741
  %1759 = phi i1 [ true, %1741 ], [ %1757, %1746 ]
  %1760 = zext i1 %1759 to i8
  store i8 %1760, ptr %81, align 1, !tbaa !5
  %1761 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %1762 = trunc i8 %1761 to i1
  br i1 %1762, label %1775, label %1763

1763:                                             ; preds = %1758
  %1764 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 2
  %1765 = load double, ptr %1764, align 8, !tbaa !54
  %1766 = load double, ptr %65, align 8, !tbaa !13
  %1767 = fdiv double %1765, %1766
  %1768 = load ptr, ptr %4, align 8, !tbaa !9
  %1769 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %1767, ptr noundef %1768)
  %1770 = load ptr, ptr %4, align 8, !tbaa !9
  %1771 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1769, ptr noundef %1770)
  %1772 = load ptr, ptr %4, align 8, !tbaa !9
  %1773 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1772)
  %1774 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1771, double noundef %1773)
  br label %1775

1775:                                             ; preds = %1763, %1758
  %1776 = phi i1 [ true, %1758 ], [ %1774, %1763 ]
  %1777 = zext i1 %1776 to i8
  store i8 %1777, ptr %81, align 1, !tbaa !5
  %1778 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %1779 = trunc i8 %1778 to i1
  br i1 %1779, label %1792, label %1780

1780:                                             ; preds = %1775
  %1781 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %54, i32 0, i32 3
  %1782 = load double, ptr %1781, align 8, !tbaa !55
  %1783 = load double, ptr %66, align 8, !tbaa !13
  %1784 = fdiv double %1782, %1783
  %1785 = load ptr, ptr %4, align 8, !tbaa !9
  %1786 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %1784, ptr noundef %1785)
  %1787 = load ptr, ptr %4, align 8, !tbaa !9
  %1788 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1786, ptr noundef %1787)
  %1789 = load ptr, ptr %4, align 8, !tbaa !9
  %1790 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1789)
  %1791 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1788, double noundef %1790)
  br label %1792

1792:                                             ; preds = %1780, %1775
  %1793 = phi i1 [ true, %1775 ], [ %1791, %1780 ]
  %1794 = zext i1 %1793 to i8
  store i8 %1794, ptr %81, align 1, !tbaa !5
  br label %1795

1795:                                             ; preds = %1792
  %1796 = load i64, ptr %10, align 8, !tbaa !11
  %1797 = add nsw i64 %1796, 1
  store i64 %1797, ptr %10, align 8, !tbaa !11
  br label %579, !llvm.loop !56

1798:                                             ; preds = %579
  br label %1799

1799:                                             ; preds = %1798
  %1800 = load i64, ptr %17, align 8, !tbaa !11
  %1801 = add nsw i64 %1800, 1
  store i64 %1801, ptr %17, align 8, !tbaa !11
  br label %549, !llvm.loop !57

1802:                                             ; preds = %549
  br label %1803

1803:                                             ; preds = %1802
  %1804 = load i64, ptr %18, align 8, !tbaa !11
  %1805 = add nsw i64 %1804, 1
  store i64 %1805, ptr %18, align 8, !tbaa !11
  br label %529, !llvm.loop !58

1806:                                             ; preds = %529
  br label %1807

1807:                                             ; preds = %1806
  %1808 = load i64, ptr %19, align 8, !tbaa !11
  %1809 = add nsw i64 %1808, 1
  store i64 %1809, ptr %19, align 8, !tbaa !11
  br label %525, !llvm.loop !59

1810:                                             ; preds = %525
  store i64 1, ptr %15, align 8, !tbaa !11
  br label %1811

1811:                                             ; preds = %2070, %1810
  %1812 = load i64, ptr %15, align 8, !tbaa !11
  %1813 = icmp sle i64 %1812, 50
  br i1 %1813, label %1814, label %2073

1814:                                             ; preds = %1811
  store i64 2, ptr %10, align 8, !tbaa !11
  br label %1815

1815:                                             ; preds = %1822, %1814
  %1816 = load ptr, ptr %4, align 8, !tbaa !9
  %1817 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1816)
  %1818 = fadd double %1817, 1.000000e-01
  store double %1818, ptr %70, align 8, !tbaa !13
  %1819 = load ptr, ptr %4, align 8, !tbaa !9
  %1820 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1819)
  %1821 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1820, double -1.000000e+00)
  store double %1821, ptr %69, align 8, !tbaa !13
  br label %1822

1822:                                             ; preds = %1815
  %1823 = load double, ptr %70, align 8, !tbaa !13
  %1824 = load double, ptr %69, align 8, !tbaa !13
  %1825 = fsub double %1823, %1824
  %1826 = load ptr, ptr %4, align 8, !tbaa !9
  %1827 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1825, ptr noundef %1826)
  %1828 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %1827, double noundef 5.000000e-02)
  br i1 %1828, label %1815, label %1829, !llvm.loop !60

1829:                                             ; preds = %1822
  %1830 = load i64, ptr %10, align 8, !tbaa !11
  %1831 = mul nsw i64 3, %1830
  %1832 = sub nsw i64 %1831, 1
  %1833 = add nsw i64 %1832, 1
  %1834 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %24, i64 noundef %1833, i64 noundef 2, ptr noundef %1834)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1835

1835:                                             ; preds = %1902, %1829
  %1836 = load i64, ptr %11, align 8, !tbaa !11
  %1837 = load i64, ptr %10, align 8, !tbaa !11
  %1838 = sub nsw i64 %1837, 1
  %1839 = icmp sle i64 %1836, %1838
  br i1 %1839, label %1840, label %1905

1840:                                             ; preds = %1835
  %1841 = load i64, ptr %11, align 8, !tbaa !11
  %1842 = sitofp i64 %1841 to double
  %1843 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1844 = load ptr, ptr %1843, align 8, !tbaa !15
  %1845 = load i64, ptr %11, align 8, !tbaa !11
  %1846 = mul nsw i64 3, %1845
  %1847 = add nsw i64 %1846, 0
  %1848 = getelementptr inbounds ptr, ptr %1844, i64 %1847
  %1849 = load ptr, ptr %1848, align 8, !tbaa !9
  %1850 = getelementptr inbounds double, ptr %1849, i64 0
  store double %1842, ptr %1850, align 8, !tbaa !13
  %1851 = load i64, ptr %11, align 8, !tbaa !11
  %1852 = sitofp i64 %1851 to double
  %1853 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1854 = load ptr, ptr %1853, align 8, !tbaa !15
  %1855 = load i64, ptr %11, align 8, !tbaa !11
  %1856 = mul nsw i64 3, %1855
  %1857 = add nsw i64 %1856, 1
  %1858 = getelementptr inbounds ptr, ptr %1854, i64 %1857
  %1859 = load ptr, ptr %1858, align 8, !tbaa !9
  %1860 = getelementptr inbounds double, ptr %1859, i64 0
  store double %1852, ptr %1860, align 8, !tbaa !13
  %1861 = load i64, ptr %11, align 8, !tbaa !11
  %1862 = sitofp i64 %1861 to double
  %1863 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1864 = load ptr, ptr %1863, align 8, !tbaa !15
  %1865 = load i64, ptr %11, align 8, !tbaa !11
  %1866 = mul nsw i64 3, %1865
  %1867 = add nsw i64 %1866, 2
  %1868 = getelementptr inbounds ptr, ptr %1864, i64 %1867
  %1869 = load ptr, ptr %1868, align 8, !tbaa !9
  %1870 = getelementptr inbounds double, ptr %1869, i64 0
  store double %1862, ptr %1870, align 8, !tbaa !13
  %1871 = load double, ptr %69, align 8, !tbaa !13
  %1872 = load double, ptr %70, align 8, !tbaa !13
  %1873 = fsub double %1871, %1872
  %1874 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1875 = load ptr, ptr %1874, align 8, !tbaa !15
  %1876 = load i64, ptr %11, align 8, !tbaa !11
  %1877 = mul nsw i64 3, %1876
  %1878 = add nsw i64 %1877, 0
  %1879 = getelementptr inbounds ptr, ptr %1875, i64 %1878
  %1880 = load ptr, ptr %1879, align 8, !tbaa !9
  %1881 = getelementptr inbounds double, ptr %1880, i64 1
  store double %1873, ptr %1881, align 8, !tbaa !13
  %1882 = load double, ptr %69, align 8, !tbaa !13
  %1883 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1884 = load ptr, ptr %1883, align 8, !tbaa !15
  %1885 = load i64, ptr %11, align 8, !tbaa !11
  %1886 = mul nsw i64 3, %1885
  %1887 = add nsw i64 %1886, 1
  %1888 = getelementptr inbounds ptr, ptr %1884, i64 %1887
  %1889 = load ptr, ptr %1888, align 8, !tbaa !9
  %1890 = getelementptr inbounds double, ptr %1889, i64 1
  store double %1882, ptr %1890, align 8, !tbaa !13
  %1891 = load double, ptr %69, align 8, !tbaa !13
  %1892 = load double, ptr %70, align 8, !tbaa !13
  %1893 = fadd double %1891, %1892
  %1894 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1895 = load ptr, ptr %1894, align 8, !tbaa !15
  %1896 = load i64, ptr %11, align 8, !tbaa !11
  %1897 = mul nsw i64 3, %1896
  %1898 = add nsw i64 %1897, 2
  %1899 = getelementptr inbounds ptr, ptr %1895, i64 %1898
  %1900 = load ptr, ptr %1899, align 8, !tbaa !9
  %1901 = getelementptr inbounds double, ptr %1900, i64 1
  store double %1893, ptr %1901, align 8, !tbaa !13
  br label %1902

1902:                                             ; preds = %1840
  %1903 = load i64, ptr %11, align 8, !tbaa !11
  %1904 = add nsw i64 %1903, 1
  store i64 %1904, ptr %11, align 8, !tbaa !11
  br label %1835, !llvm.loop !61

1905:                                             ; preds = %1835
  %1906 = load i64, ptr %10, align 8, !tbaa !11
  %1907 = mul nsw i64 3, %1906
  %1908 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, i64 noundef %1907, i64 noundef 1, ptr noundef %36, ptr noundef %54, ptr noundef %1908)
  %1909 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef %36, ptr noundef %34, ptr noundef %14, ptr noundef %1909)
  %1910 = load i64, ptr %10, align 8, !tbaa !11
  %1911 = mul nsw i64 3, %1910
  %1912 = load ptr, ptr %4, align 8, !tbaa !9
  %1913 = call noundef double @_ZN11alglib_impl10lrrmserrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef %36, ptr noundef %24, i64 noundef %1911, ptr noundef %1912)
  store double %1913, ptr %59, align 8, !tbaa !13
  %1914 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %1915 = trunc i8 %1914 to i1
  br i1 %1915, label %1927, label %1916

1916:                                             ; preds = %1905
  %1917 = load double, ptr %59, align 8, !tbaa !13
  %1918 = load double, ptr %70, align 8, !tbaa !13
  %1919 = load ptr, ptr %4, align 8, !tbaa !9
  %1920 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x3FE5555555555555, ptr noundef %1919)
  %1921 = fneg double %1918
  %1922 = call double @llvm.fmuladd.f64(double %1921, double %1920, double %1917)
  %1923 = load ptr, ptr %4, align 8, !tbaa !9
  %1924 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1922, ptr noundef %1923)
  %1925 = load double, ptr %9, align 8, !tbaa !13
  %1926 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1924, double noundef %1925)
  br label %1927

1927:                                             ; preds = %1916, %1905
  %1928 = phi i1 [ true, %1905 ], [ %1926, %1916 ]
  %1929 = zext i1 %1928 to i8
  store i8 %1929, ptr %82, align 1, !tbaa !5
  %1930 = load i64, ptr %10, align 8, !tbaa !11
  %1931 = mul nsw i64 3, %1930
  %1932 = load ptr, ptr %4, align 8, !tbaa !9
  %1933 = call noundef double @_ZN11alglib_impl10lravgerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef %36, ptr noundef %24, i64 noundef %1931, ptr noundef %1932)
  store double %1933, ptr %59, align 8, !tbaa !13
  %1934 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %1935 = trunc i8 %1934 to i1
  br i1 %1935, label %1945, label %1936

1936:                                             ; preds = %1927
  %1937 = load double, ptr %59, align 8, !tbaa !13
  %1938 = load double, ptr %70, align 8, !tbaa !13
  %1939 = fneg double %1938
  %1940 = call double @llvm.fmuladd.f64(double %1939, double 0x3FE5555555555555, double %1937)
  %1941 = load ptr, ptr %4, align 8, !tbaa !9
  %1942 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1940, ptr noundef %1941)
  %1943 = load double, ptr %9, align 8, !tbaa !13
  %1944 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1942, double noundef %1943)
  br label %1945

1945:                                             ; preds = %1936, %1927
  %1946 = phi i1 [ true, %1927 ], [ %1944, %1936 ]
  %1947 = zext i1 %1946 to i8
  store i8 %1947, ptr %82, align 1, !tbaa !5
  %1948 = load i64, ptr %10, align 8, !tbaa !11
  %1949 = mul nsw i64 3, %1948
  %1950 = load ptr, ptr %4, align 8, !tbaa !9
  %1951 = call noundef double @_ZN11alglib_impl13lravgrelerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef %36, ptr noundef %24, i64 noundef %1949, ptr noundef %1950)
  store double %1951, ptr %59, align 8, !tbaa !13
  %1952 = load double, ptr %70, align 8, !tbaa !13
  %1953 = load double, ptr %69, align 8, !tbaa !13
  %1954 = load double, ptr %70, align 8, !tbaa !13
  %1955 = fsub double %1953, %1954
  %1956 = fdiv double %1952, %1955
  %1957 = load ptr, ptr %4, align 8, !tbaa !9
  %1958 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1956, ptr noundef %1957)
  %1959 = load double, ptr %70, align 8, !tbaa !13
  %1960 = load double, ptr %69, align 8, !tbaa !13
  %1961 = load double, ptr %70, align 8, !tbaa !13
  %1962 = fadd double %1960, %1961
  %1963 = fdiv double %1959, %1962
  %1964 = load ptr, ptr %4, align 8, !tbaa !9
  %1965 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1963, ptr noundef %1964)
  %1966 = fadd double %1958, %1965
  %1967 = fdiv double %1966, 3.000000e+00
  store double %1967, ptr %60, align 8, !tbaa !13
  %1968 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %1969 = trunc i8 %1968 to i1
  br i1 %1969, label %1980, label %1970

1970:                                             ; preds = %1945
  %1971 = load double, ptr %59, align 8, !tbaa !13
  %1972 = load double, ptr %60, align 8, !tbaa !13
  %1973 = fsub double %1971, %1972
  %1974 = load ptr, ptr %4, align 8, !tbaa !9
  %1975 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1973, ptr noundef %1974)
  %1976 = load double, ptr %9, align 8, !tbaa !13
  %1977 = load double, ptr %60, align 8, !tbaa !13
  %1978 = fmul double %1976, %1977
  %1979 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1975, double noundef %1978)
  br label %1980

1980:                                             ; preds = %1970, %1945
  %1981 = phi i1 [ true, %1945 ], [ %1979, %1970 ]
  %1982 = zext i1 %1981 to i8
  store i8 %1982, ptr %82, align 1, !tbaa !5
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %1983

1983:                                             ; preds = %2046, %1980
  %1984 = load i64, ptr %11, align 8, !tbaa !11
  %1985 = load i64, ptr %10, align 8, !tbaa !11
  %1986 = sub nsw i64 %1985, 1
  %1987 = icmp sle i64 %1984, %1986
  br i1 %1987, label %1988, label %2049

1988:                                             ; preds = %1983
  %1989 = load i64, ptr %11, align 8, !tbaa !11
  %1990 = sitofp i64 %1989 to double
  %1991 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %1992 = load ptr, ptr %1991, align 8, !tbaa !15
  %1993 = load i64, ptr %11, align 8, !tbaa !11
  %1994 = mul nsw i64 3, %1993
  %1995 = add nsw i64 %1994, 0
  %1996 = getelementptr inbounds ptr, ptr %1992, i64 %1995
  %1997 = load ptr, ptr %1996, align 8, !tbaa !9
  %1998 = getelementptr inbounds double, ptr %1997, i64 0
  store double %1990, ptr %1998, align 8, !tbaa !13
  %1999 = load i64, ptr %11, align 8, !tbaa !11
  %2000 = sitofp i64 %1999 to double
  %2001 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %2002 = load ptr, ptr %2001, align 8, !tbaa !15
  %2003 = load i64, ptr %11, align 8, !tbaa !11
  %2004 = mul nsw i64 3, %2003
  %2005 = add nsw i64 %2004, 1
  %2006 = getelementptr inbounds ptr, ptr %2002, i64 %2005
  %2007 = load ptr, ptr %2006, align 8, !tbaa !9
  %2008 = getelementptr inbounds double, ptr %2007, i64 0
  store double %2000, ptr %2008, align 8, !tbaa !13
  %2009 = load i64, ptr %11, align 8, !tbaa !11
  %2010 = sitofp i64 %2009 to double
  %2011 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %2012 = load ptr, ptr %2011, align 8, !tbaa !15
  %2013 = load i64, ptr %11, align 8, !tbaa !11
  %2014 = mul nsw i64 3, %2013
  %2015 = add nsw i64 %2014, 2
  %2016 = getelementptr inbounds ptr, ptr %2012, i64 %2015
  %2017 = load ptr, ptr %2016, align 8, !tbaa !9
  %2018 = getelementptr inbounds double, ptr %2017, i64 0
  store double %2010, ptr %2018, align 8, !tbaa !13
  %2019 = load double, ptr %70, align 8, !tbaa !13
  %2020 = fneg double %2019
  %2021 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %2022 = load ptr, ptr %2021, align 8, !tbaa !15
  %2023 = load i64, ptr %11, align 8, !tbaa !11
  %2024 = mul nsw i64 3, %2023
  %2025 = add nsw i64 %2024, 0
  %2026 = getelementptr inbounds ptr, ptr %2022, i64 %2025
  %2027 = load ptr, ptr %2026, align 8, !tbaa !9
  %2028 = getelementptr inbounds double, ptr %2027, i64 1
  store double %2020, ptr %2028, align 8, !tbaa !13
  %2029 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %2030 = load ptr, ptr %2029, align 8, !tbaa !15
  %2031 = load i64, ptr %11, align 8, !tbaa !11
  %2032 = mul nsw i64 3, %2031
  %2033 = add nsw i64 %2032, 1
  %2034 = getelementptr inbounds ptr, ptr %2030, i64 %2033
  %2035 = load ptr, ptr %2034, align 8, !tbaa !9
  %2036 = getelementptr inbounds double, ptr %2035, i64 1
  store double 0.000000e+00, ptr %2036, align 8, !tbaa !13
  %2037 = load double, ptr %70, align 8, !tbaa !13
  %2038 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %2039 = load ptr, ptr %2038, align 8, !tbaa !15
  %2040 = load i64, ptr %11, align 8, !tbaa !11
  %2041 = mul nsw i64 3, %2040
  %2042 = add nsw i64 %2041, 2
  %2043 = getelementptr inbounds ptr, ptr %2039, i64 %2042
  %2044 = load ptr, ptr %2043, align 8, !tbaa !9
  %2045 = getelementptr inbounds double, ptr %2044, i64 1
  store double %2037, ptr %2045, align 8, !tbaa !13
  br label %2046

2046:                                             ; preds = %1988
  %2047 = load i64, ptr %11, align 8, !tbaa !11
  %2048 = add nsw i64 %2047, 1
  store i64 %2048, ptr %11, align 8, !tbaa !11
  br label %1983, !llvm.loop !62

2049:                                             ; preds = %1983
  %2050 = load i64, ptr %10, align 8, !tbaa !11
  %2051 = mul nsw i64 3, %2050
  %2052 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, i64 noundef %2051, i64 noundef 1, ptr noundef %36, ptr noundef %54, ptr noundef %2052)
  %2053 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef %36, ptr noundef %34, ptr noundef %14, ptr noundef %2053)
  %2054 = load i64, ptr %10, align 8, !tbaa !11
  %2055 = mul nsw i64 3, %2054
  %2056 = load ptr, ptr %4, align 8, !tbaa !9
  %2057 = call noundef double @_ZN11alglib_impl13lravgrelerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef %36, ptr noundef %24, i64 noundef %2055, ptr noundef %2056)
  store double %2057, ptr %59, align 8, !tbaa !13
  %2058 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %2059 = trunc i8 %2058 to i1
  br i1 %2059, label %2067, label %2060

2060:                                             ; preds = %2049
  %2061 = load double, ptr %59, align 8, !tbaa !13
  %2062 = fsub double %2061, 1.000000e+00
  %2063 = load ptr, ptr %4, align 8, !tbaa !9
  %2064 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %2062, ptr noundef %2063)
  %2065 = load double, ptr %9, align 8, !tbaa !13
  %2066 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %2064, double noundef %2065)
  br label %2067

2067:                                             ; preds = %2060, %2049
  %2068 = phi i1 [ true, %2049 ], [ %2066, %2060 ]
  %2069 = zext i1 %2068 to i8
  store i8 %2069, ptr %82, align 1, !tbaa !5
  br label %2070

2070:                                             ; preds = %2067
  %2071 = load i64, ptr %15, align 8, !tbaa !11
  %2072 = add nsw i64 %2071, 1
  store i64 %2072, ptr %15, align 8, !tbaa !11
  br label %1811, !llvm.loop !63

2073:                                             ; preds = %1811
  store i64 1, ptr %15, align 8, !tbaa !11
  br label %2074

2074:                                             ; preds = %2175, %2073
  %2075 = load i64, ptr %15, align 8, !tbaa !11
  %2076 = icmp sle i64 %2075, 10
  br i1 %2076, label %2077, label %2178

2077:                                             ; preds = %2074
  %2078 = load ptr, ptr %4, align 8, !tbaa !9
  %2079 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 5, ptr noundef %2078)
  %2080 = add nsw i64 1, %2079
  store i64 %2080, ptr %17, align 8, !tbaa !11
  %2081 = load ptr, ptr %4, align 8, !tbaa !9
  %2082 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 10, ptr noundef %2081)
  %2083 = add nsw i64 10, %2082
  store i64 %2083, ptr %10, align 8, !tbaa !11
  %2084 = load i64, ptr %10, align 8, !tbaa !11
  %2085 = sub nsw i64 %2084, 1
  %2086 = add nsw i64 %2085, 1
  %2087 = load i64, ptr %17, align 8, !tbaa !11
  %2088 = add nsw i64 %2087, 1
  %2089 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %24, i64 noundef %2086, i64 noundef %2088, ptr noundef %2089)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %2090

2090:                                             ; preds = %2115, %2077
  %2091 = load i64, ptr %11, align 8, !tbaa !11
  %2092 = load i64, ptr %10, align 8, !tbaa !11
  %2093 = sub nsw i64 %2092, 1
  %2094 = icmp sle i64 %2091, %2093
  br i1 %2094, label %2095, label %2118

2095:                                             ; preds = %2090
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %2096

2096:                                             ; preds = %2111, %2095
  %2097 = load i64, ptr %12, align 8, !tbaa !11
  %2098 = load i64, ptr %17, align 8, !tbaa !11
  %2099 = icmp sle i64 %2097, %2098
  br i1 %2099, label %2100, label %2114

2100:                                             ; preds = %2096
  %2101 = load ptr, ptr %4, align 8, !tbaa !9
  %2102 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %2101)
  %2103 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %2102, double -1.000000e+00)
  %2104 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %2105 = load ptr, ptr %2104, align 8, !tbaa !15
  %2106 = load i64, ptr %11, align 8, !tbaa !11
  %2107 = getelementptr inbounds ptr, ptr %2105, i64 %2106
  %2108 = load ptr, ptr %2107, align 8, !tbaa !9
  %2109 = load i64, ptr %12, align 8, !tbaa !11
  %2110 = getelementptr inbounds double, ptr %2108, i64 %2109
  store double %2103, ptr %2110, align 8, !tbaa !13
  br label %2111

2111:                                             ; preds = %2100
  %2112 = load i64, ptr %12, align 8, !tbaa !11
  %2113 = add nsw i64 %2112, 1
  store i64 %2113, ptr %12, align 8, !tbaa !11
  br label %2096, !llvm.loop !64

2114:                                             ; preds = %2096
  br label %2115

2115:                                             ; preds = %2114
  %2116 = load i64, ptr %11, align 8, !tbaa !11
  %2117 = add nsw i64 %2116, 1
  store i64 %2117, ptr %11, align 8, !tbaa !11
  br label %2090, !llvm.loop !65

2118:                                             ; preds = %2090
  %2119 = load i64, ptr %10, align 8, !tbaa !11
  %2120 = load i64, ptr %17, align 8, !tbaa !11
  %2121 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %24, i64 noundef %2119, i64 noundef %2120, ptr noundef %35, ptr noundef %54, ptr noundef %2121)
  %2122 = load i64, ptr %17, align 8, !tbaa !11
  %2123 = sub nsw i64 %2122, 1
  %2124 = add nsw i64 %2123, 1
  %2125 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %38, i64 noundef %2124, ptr noundef %2125)
  %2126 = load i64, ptr %17, align 8, !tbaa !11
  %2127 = sub nsw i64 %2126, 1
  %2128 = add nsw i64 %2127, 1
  %2129 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %39, i64 noundef %2128, ptr noundef %2129)
  %2130 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testlinregunit_unsetlrPN11alglib_impl11linearmodelEPNS_8ae_stateE(ptr noundef %36, ptr noundef %2130)
  %2131 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl6lrcopyEPKNS_11linearmodelEPS0_PNS_8ae_stateE(ptr noundef %35, ptr noundef %36, ptr noundef %2131)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %2132

2132:                                             ; preds = %2154, %2118
  %2133 = load i64, ptr %11, align 8, !tbaa !11
  %2134 = load i64, ptr %17, align 8, !tbaa !11
  %2135 = sub nsw i64 %2134, 1
  %2136 = icmp sle i64 %2133, %2135
  br i1 %2136, label %2137, label %2157

2137:                                             ; preds = %2132
  %2138 = load ptr, ptr %4, align 8, !tbaa !9
  %2139 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %2138)
  %2140 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %2139, double -1.000000e+00)
  %2141 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %2142 = load ptr, ptr %2141, align 8, !tbaa !15
  %2143 = load i64, ptr %11, align 8, !tbaa !11
  %2144 = getelementptr inbounds double, ptr %2142, i64 %2143
  store double %2140, ptr %2144, align 8, !tbaa !13
  %2145 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %2146 = load ptr, ptr %2145, align 8, !tbaa !15
  %2147 = load i64, ptr %11, align 8, !tbaa !11
  %2148 = getelementptr inbounds double, ptr %2146, i64 %2147
  %2149 = load double, ptr %2148, align 8, !tbaa !13
  %2150 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %2151 = load ptr, ptr %2150, align 8, !tbaa !15
  %2152 = load i64, ptr %11, align 8, !tbaa !11
  %2153 = getelementptr inbounds double, ptr %2151, i64 %2152
  store double %2149, ptr %2153, align 8, !tbaa !13
  br label %2154

2154:                                             ; preds = %2137
  %2155 = load i64, ptr %11, align 8, !tbaa !11
  %2156 = add nsw i64 %2155, 1
  store i64 %2156, ptr %11, align 8, !tbaa !11
  br label %2132, !llvm.loop !66

2157:                                             ; preds = %2132
  %2158 = load ptr, ptr %4, align 8, !tbaa !9
  %2159 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %35, ptr noundef %38, ptr noundef %2158)
  store double %2159, ptr %40, align 8, !tbaa !13
  %2160 = load ptr, ptr %4, align 8, !tbaa !9
  %2161 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %36, ptr noundef %39, ptr noundef %2160)
  store double %2161, ptr %41, align 8, !tbaa !13
  %2162 = load double, ptr %40, align 8, !tbaa !13
  %2163 = load double, ptr %41, align 8, !tbaa !13
  %2164 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %2162, double noundef %2163)
  %2165 = zext i1 %2164 to i8
  store i8 %2165, ptr %42, align 1, !tbaa !5
  %2166 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %2167 = trunc i8 %2166 to i1
  br i1 %2167, label %2172, label %2168

2168:                                             ; preds = %2157
  %2169 = load i8, ptr %42, align 1, !tbaa !5, !range !19, !noundef !20
  %2170 = trunc i8 %2169 to i1
  %2171 = xor i1 %2170, true
  br label %2172

2172:                                             ; preds = %2168, %2157
  %2173 = phi i1 [ true, %2157 ], [ %2171, %2168 ]
  %2174 = zext i1 %2173 to i8
  store i8 %2174, ptr %82, align 1, !tbaa !5
  br label %2175

2175:                                             ; preds = %2172
  %2176 = load i64, ptr %15, align 8, !tbaa !11
  %2177 = add nsw i64 %2176, 1
  store i64 %2177, ptr %15, align 8, !tbaa !11
  br label %2074, !llvm.loop !67

2178:                                             ; preds = %2074
  %2179 = load i8, ptr %78, align 1, !tbaa !5, !range !19, !noundef !20
  %2180 = trunc i8 %2179 to i1
  br i1 %2180, label %2199, label %2181

2181:                                             ; preds = %2178
  %2182 = load i8, ptr %77, align 1, !tbaa !5, !range !19, !noundef !20
  %2183 = trunc i8 %2182 to i1
  br i1 %2183, label %2199, label %2184

2184:                                             ; preds = %2181
  %2185 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %2186 = trunc i8 %2185 to i1
  br i1 %2186, label %2199, label %2187

2187:                                             ; preds = %2184
  %2188 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %2189 = trunc i8 %2188 to i1
  br i1 %2189, label %2199, label %2190

2190:                                             ; preds = %2187
  %2191 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %2192 = trunc i8 %2191 to i1
  br i1 %2192, label %2199, label %2193

2193:                                             ; preds = %2190
  %2194 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %2195 = trunc i8 %2194 to i1
  br i1 %2195, label %2199, label %2196

2196:                                             ; preds = %2193
  %2197 = load i8, ptr %83, align 1, !tbaa !5, !range !19, !noundef !20
  %2198 = trunc i8 %2197 to i1
  br label %2199

2199:                                             ; preds = %2196, %2193, %2190, %2187, %2184, %2181, %2178
  %2200 = phi i1 [ true, %2193 ], [ true, %2190 ], [ true, %2187 ], [ true, %2184 ], [ true, %2181 ], [ true, %2178 ], [ %2198, %2196 ]
  %2201 = zext i1 %2200 to i8
  store i8 %2201, ptr %84, align 1, !tbaa !5
  %2202 = load i8, ptr %3, align 1, !tbaa !5, !range !19, !noundef !20
  %2203 = trunc i8 %2202 to i1
  br i1 %2203, label %2290, label %2204

2204:                                             ; preds = %2199
  %2205 = call i32 (ptr, ...) @printf(ptr noundef @.str.1044)
  %2206 = call i32 (ptr, ...) @printf(ptr noundef @.str.1045)
  %2207 = load i8, ptr %78, align 1, !tbaa !5, !range !19, !noundef !20
  %2208 = trunc i8 %2207 to i1
  br i1 %2208, label %2211, label %2209

2209:                                             ; preds = %2204
  %2210 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2213

2211:                                             ; preds = %2204
  %2212 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2213

2213:                                             ; preds = %2211, %2209
  %2214 = call i32 (ptr, ...) @printf(ptr noundef @.str.1046)
  %2215 = load i8, ptr %77, align 1, !tbaa !5, !range !19, !noundef !20
  %2216 = trunc i8 %2215 to i1
  br i1 %2216, label %2219, label %2217

2217:                                             ; preds = %2213
  %2218 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2221

2219:                                             ; preds = %2213
  %2220 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2221

2221:                                             ; preds = %2219, %2217
  %2222 = call i32 (ptr, ...) @printf(ptr noundef @.str.1047)
  %2223 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %2224 = trunc i8 %2223 to i1
  br i1 %2224, label %2239, label %2225

2225:                                             ; preds = %2221
  %2226 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %2227 = trunc i8 %2226 to i1
  br i1 %2227, label %2239, label %2228

2228:                                             ; preds = %2225
  %2229 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %2230 = trunc i8 %2229 to i1
  br i1 %2230, label %2239, label %2231

2231:                                             ; preds = %2228
  %2232 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %2233 = trunc i8 %2232 to i1
  br i1 %2233, label %2239, label %2234

2234:                                             ; preds = %2231
  %2235 = load i8, ptr %83, align 1, !tbaa !5, !range !19, !noundef !20
  %2236 = trunc i8 %2235 to i1
  br i1 %2236, label %2239, label %2237

2237:                                             ; preds = %2234
  %2238 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2241

2239:                                             ; preds = %2234, %2231, %2228, %2225, %2221
  %2240 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2241

2241:                                             ; preds = %2239, %2237
  %2242 = call i32 (ptr, ...) @printf(ptr noundef @.str.1048)
  %2243 = load i8, ptr %80, align 1, !tbaa !5, !range !19, !noundef !20
  %2244 = trunc i8 %2243 to i1
  br i1 %2244, label %2247, label %2245

2245:                                             ; preds = %2241
  %2246 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2249

2247:                                             ; preds = %2241
  %2248 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2249

2249:                                             ; preds = %2247, %2245
  %2250 = call i32 (ptr, ...) @printf(ptr noundef @.str.1049)
  %2251 = load i8, ptr %79, align 1, !tbaa !5, !range !19, !noundef !20
  %2252 = trunc i8 %2251 to i1
  br i1 %2252, label %2255, label %2253

2253:                                             ; preds = %2249
  %2254 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2257

2255:                                             ; preds = %2249
  %2256 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2257

2257:                                             ; preds = %2255, %2253
  %2258 = call i32 (ptr, ...) @printf(ptr noundef @.str.1050)
  %2259 = load i8, ptr %81, align 1, !tbaa !5, !range !19, !noundef !20
  %2260 = trunc i8 %2259 to i1
  br i1 %2260, label %2263, label %2261

2261:                                             ; preds = %2257
  %2262 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2265

2263:                                             ; preds = %2257
  %2264 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2265

2265:                                             ; preds = %2263, %2261
  %2266 = call i32 (ptr, ...) @printf(ptr noundef @.str.1051)
  %2267 = load i8, ptr %83, align 1, !tbaa !5, !range !19, !noundef !20
  %2268 = trunc i8 %2267 to i1
  br i1 %2268, label %2271, label %2269

2269:                                             ; preds = %2265
  %2270 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2273

2271:                                             ; preds = %2265
  %2272 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2273

2273:                                             ; preds = %2271, %2269
  %2274 = call i32 (ptr, ...) @printf(ptr noundef @.str.1052)
  %2275 = load i8, ptr %82, align 1, !tbaa !5, !range !19, !noundef !20
  %2276 = trunc i8 %2275 to i1
  br i1 %2276, label %2279, label %2277

2277:                                             ; preds = %2273
  %2278 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %2281

2279:                                             ; preds = %2273
  %2280 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %2281

2281:                                             ; preds = %2279, %2277
  %2282 = load i8, ptr %84, align 1, !tbaa !5, !range !19, !noundef !20
  %2283 = trunc i8 %2282 to i1
  br i1 %2283, label %2284, label %2286

2284:                                             ; preds = %2281
  %2285 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
  br label %2288

2286:                                             ; preds = %2281
  %2287 = call i32 (ptr, ...) @printf(ptr noundef @.str.47)
  br label %2288

2288:                                             ; preds = %2286, %2284
  %2289 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  br label %2290

2290:                                             ; preds = %2288, %2199
  %2291 = load i8, ptr %84, align 1, !tbaa !5, !range !19, !noundef !20
  %2292 = trunc i8 %2291 to i1
  %2293 = xor i1 %2292, true
  %2294 = zext i1 %2293 to i8
  store i8 %2294, ptr %85, align 1, !tbaa !5
  %2295 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %2295)
  %2296 = load i8, ptr %85, align 1, !tbaa !5, !range !19, !noundef !20
  %2297 = trunc i8 %2296 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %85) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  ret i1 %2297
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef, double noundef, ptr noundef) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL26testlinregunit_calculatemvPKN11alglib_impl9ae_vectorElPdS3_S3_S3_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare noundef double @_ZN11alglib_impl10lrrmserrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl10lravgerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl13lravgrelerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22testlinregunit_unsetlrPN11alglib_impl11linearmodelEPNS_8ae_stateE(ptr noundef, ptr noundef) #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}
!27 = distinct !{!27, !17}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !17}
!30 = distinct !{!30, !17}
!31 = distinct !{!31, !17}
!32 = distinct !{!32, !17}
!33 = distinct !{!33, !17}
!34 = distinct !{!34, !17}
!35 = distinct !{!35, !17}
!36 = distinct !{!36, !17}
!37 = distinct !{!37, !17}
!38 = distinct !{!38, !17}
!39 = distinct !{!39, !17}
!40 = !{!41, !12, i64 16}
!41 = !{!"_ZTSN11alglib_impl8lrreportE", !42, i64 0, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !12, i64 128, !44, i64 136}
!42 = !{!"_ZTSN11alglib_impl9ae_matrixE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !6, i64 32, !43, i64 40, !7, i64 72}
!43 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!44 = !{!"_ZTSN11alglib_impl9ae_vectorE", !12, i64 0, !12, i64 8, !6, i64 16, !43, i64 24, !7, i64 56}
!45 = distinct !{!45, !17}
!46 = distinct !{!46, !17}
!47 = !{!41, !12, i64 128}
!48 = distinct !{!48, !17}
!49 = distinct !{!49, !17}
!50 = !{!41, !14, i64 104}
!51 = !{!41, !14, i64 112}
!52 = !{!41, !14, i64 120}
!53 = !{!41, !14, i64 80}
!54 = !{!41, !14, i64 88}
!55 = !{!41, !14, i64 96}
!56 = distinct !{!56, !17}
!57 = distinct !{!57, !17}
!58 = distinct !{!58, !17}
!59 = distinct !{!59, !17}
!60 = distinct !{!60, !17}
!61 = distinct !{!61, !17}
!62 = distinct !{!62, !17}
!63 = distinct !{!63, !17}
!64 = distinct !{!64, !17}
!65 = distinct !{!65, !17}
!66 = distinct !{!66, !17}
!67 = distinct !{!67, !17}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }
%"struct.alglib_impl::linearmodel" = type { %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::lrreport" = type { %"struct.alglib_impl::ae_matrix", double, double, double, double, double, double, i64, %"struct.alglib_impl::ae_vector" }

@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.477 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1044 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1045 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1046 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1047 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1048 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1049 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1050 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1051 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1052 = external hidden unnamed_addr constant [42 x i8], align 1

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

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

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #3

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

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

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

declare noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

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

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

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef, ptr noundef) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) local_unnamed_addr #3

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

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

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

declare noundef double @_ZN11alglib_impl6ae_sinEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10testlinregbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca i64, align 8
  %5 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %6 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  %9 = alloca %"struct.alglib_impl::ae_vector", align 8
  %10 = alloca %"struct.alglib_impl::ae_vector", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::linearmodel", align 8
  %17 = alloca %"struct.alglib_impl::linearmodel", align 8
  %18 = alloca %"struct.alglib_impl::linearmodel", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca %"struct.alglib_impl::ae_vector", align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca %"struct.alglib_impl::ae_vector", align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::lrreport", align 8
  %32 = alloca %"struct.alglib_impl::lrreport", align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #7
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %5, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %6, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %10, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %19, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %20, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %28, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %29, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %30, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(200) %31, i8 0, i64 200, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(200) %32, i8 0, i64 200, i1 false)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %5, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %9, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %10, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_linearmodel_initEPvPNS_8ae_stateEb(ptr noundef nonnull %16, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_linearmodel_initEPvPNS_8ae_stateEb(ptr noundef nonnull %17, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_linearmodel_initEPvPNS_8ae_stateEb(ptr noundef nonnull %18, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %19, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %20, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %28, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %29, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %30, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14_lrreport_initEPvPNS_8ae_stateEb(ptr noundef nonnull %31, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14_lrreport_initEPvPNS_8ae_stateEb(ptr noundef nonnull %32, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %28, i64 noundef 5, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef 5, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %30, i64 noundef 5, ptr noundef %1)
  %37 = getelementptr inbounds i8, ptr %28, i64 56
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  store double 5.000000e-01, ptr %38, align 8, !tbaa !8
  %39 = load ptr, ptr %37, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  store double 2.500000e-01, ptr %40, align 8, !tbaa !8
  %41 = load ptr, ptr %37, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  store double 1.000000e-01, ptr %42, align 8, !tbaa !8
  %43 = load ptr, ptr %37, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 24
  store double 5.000000e-02, ptr %44, align 8, !tbaa !8
  %45 = load ptr, ptr %37, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 32
  store double 2.500000e-02, ptr %46, align 8, !tbaa !8
  %47 = getelementptr inbounds i8, ptr %30, i64 56
  %48 = load ptr, ptr %37, align 8, !tbaa !5
  %49 = load double, ptr %48, align 8, !tbaa !8
  %50 = fsub double 1.000000e+00, %49
  %51 = fmul double %49, %50
  %52 = fdiv double %51, 1.000000e+03
  %53 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %52, ptr noundef %1)
  %54 = load ptr, ptr %47, align 8, !tbaa !5
  store double %53, ptr %54, align 8, !tbaa !8
  %55 = load ptr, ptr %37, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 8
  %57 = load double, ptr %56, align 8, !tbaa !8
  %58 = fsub double 1.000000e+00, %57
  %59 = fmul double %57, %58
  %60 = fdiv double %59, 1.000000e+03
  %61 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %60, ptr noundef %1)
  %62 = load ptr, ptr %47, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i64 8
  store double %61, ptr %63, align 8, !tbaa !8
  %64 = load ptr, ptr %37, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 16
  %66 = load double, ptr %65, align 8, !tbaa !8
  %67 = fsub double 1.000000e+00, %66
  %68 = fmul double %66, %67
  %69 = fdiv double %68, 1.000000e+03
  %70 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %69, ptr noundef %1)
  %71 = load ptr, ptr %47, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 16
  store double %70, ptr %72, align 8, !tbaa !8
  %73 = load ptr, ptr %37, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %73, i64 24
  %75 = load double, ptr %74, align 8, !tbaa !8
  %76 = fsub double 1.000000e+00, %75
  %77 = fmul double %75, %76
  %78 = fdiv double %77, 1.000000e+03
  %79 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %78, ptr noundef %1)
  %80 = load ptr, ptr %47, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 24
  store double %79, ptr %81, align 8, !tbaa !8
  %82 = load ptr, ptr %37, align 8, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %82, i64 32
  %84 = load double, ptr %83, align 8, !tbaa !8
  %85 = fsub double 1.000000e+00, %84
  %86 = fmul double %84, %85
  %87 = fdiv double %86, 1.000000e+03
  %88 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %87, ptr noundef %1)
  %89 = load ptr, ptr %47, align 8, !tbaa !5
  %90 = getelementptr inbounds i8, ptr %89, i64 32
  store double %88, ptr %90, align 8, !tbaa !8
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 1000, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef 1000, ptr noundef %1)
  %91 = getelementptr inbounds i8, ptr %5, i64 72
  %92 = getelementptr inbounds i8, ptr %7, i64 56
  %93 = getelementptr inbounds i8, ptr %15, i64 56
  %94 = getelementptr inbounds i8, ptr %31, i64 72
  br label %95

95:                                               ; preds = %2, %.critedge774
  %.0814 = phi i64 [ 3, %2 ], [ %181, %.critedge774 ]
  %.0675813 = phi i1 [ false, %2 ], [ %180, %.critedge774 ]
  %.0682812 = phi i1 [ false, %2 ], [ %164, %.critedge774 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %.0814, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.0814, i64 noundef 2, ptr noundef %1)
  br label %96

96:                                               ; preds = %95, %96
  %.1664811 = phi i64 [ 0, %95 ], [ %112, %96 ]
  %97 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %98 = call double @llvm.fmuladd.f64(double %97, double 2.000000e+00, double -1.000000e+00)
  %99 = load ptr, ptr %91, align 8, !tbaa !5
  %100 = getelementptr inbounds ptr, ptr %99, i64 %.1664811
  %101 = load ptr, ptr %100, align 8, !tbaa !10
  store double %98, ptr %101, align 8, !tbaa !8
  %102 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %103 = call double @llvm.fmuladd.f64(double %102, double 2.000000e+00, double -1.000000e+00)
  %104 = load ptr, ptr %91, align 8, !tbaa !5
  %105 = getelementptr inbounds ptr, ptr %104, i64 %.1664811
  %106 = load ptr, ptr %105, align 8, !tbaa !10
  %107 = getelementptr inbounds i8, ptr %106, i64 8
  store double %103, ptr %107, align 8, !tbaa !8
  %108 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %109 = fadd double %108, 1.000000e+00
  %110 = load ptr, ptr %92, align 8, !tbaa !5
  %111 = getelementptr inbounds double, ptr %110, i64 %.1664811
  store double %109, ptr %111, align 8, !tbaa !8
  %112 = add nuw nsw i64 %.1664811, 1
  %exitcond.not = icmp eq i64 %112, %.0814
  br i1 %exitcond.not, label %113, label %96, !llvm.loop !12

113:                                              ; preds = %96
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %.0814, i64 noundef 1, ptr noundef nonnull %17, ptr noundef nonnull %31, ptr noundef %1)
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %15, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZN11alglib_impl7lrlinesEPKNS_9ae_matrixEPKNS_9ae_vectorElPdS6_S6_S6_S6_S6_S6_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %.0814, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef %1)
  br i1 %.0675813, label %.critedge, label %114

114:                                              ; preds = %113
  %115 = load double, ptr %21, align 8, !tbaa !8
  %116 = load ptr, ptr %93, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 8
  %118 = load double, ptr %117, align 8, !tbaa !8
  %119 = fsub double %115, %118
  %120 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %119, ptr noundef %1)
  %121 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %120, double noundef 5.000000e-10)
  br i1 %121, label %.critedge, label %122

122:                                              ; preds = %114
  %123 = load double, ptr %22, align 8, !tbaa !8
  %124 = load ptr, ptr %93, align 8, !tbaa !5
  %125 = load double, ptr %124, align 8, !tbaa !8
  %126 = fsub double %123, %125
  %127 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %126, ptr noundef %1)
  %128 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %127, double noundef 5.000000e-10)
  br label %.critedge

.critedge:                                        ; preds = %113, %122, %114
  %129 = phi i1 [ true, %114 ], [ %128, %122 ], [ true, %113 ]
  br i1 %.0682812, label %.critedge772, label %130

130:                                              ; preds = %.critedge
  %131 = load double, ptr %23, align 8, !tbaa !8
  %132 = load ptr, ptr %94, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %132, i64 8
  %134 = load ptr, ptr %133, align 8, !tbaa !10
  %135 = getelementptr inbounds i8, ptr %134, i64 8
  %136 = load double, ptr %135, align 8, !tbaa !8
  %137 = fsub double %131, %136
  %138 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %137, ptr noundef %1)
  %139 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %138, double noundef 5.000000e-10)
  br i1 %139, label %.critedge772, label %.critedge770

.critedge770:                                     ; preds = %130
  %140 = load double, ptr %24, align 8, !tbaa !8
  %141 = load ptr, ptr %94, align 8, !tbaa !5
  %142 = load ptr, ptr %141, align 8, !tbaa !10
  %143 = load double, ptr %142, align 8, !tbaa !8
  %144 = fsub double %140, %143
  %145 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %144, ptr noundef %1)
  %146 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %145, double noundef 5.000000e-10)
  br i1 %146, label %.critedge772, label %.critedge771

.critedge771:                                     ; preds = %.critedge770
  %147 = load double, ptr %25, align 8, !tbaa !8
  %148 = load ptr, ptr %94, align 8, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %148, i64 8
  %150 = load ptr, ptr %149, align 8, !tbaa !10
  %151 = load double, ptr %150, align 8, !tbaa !8
  %152 = fsub double %147, %151
  %153 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %152, ptr noundef %1)
  %154 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %153, double noundef 5.000000e-10)
  br i1 %154, label %.critedge772, label %155

155:                                              ; preds = %.critedge771
  %156 = load double, ptr %25, align 8, !tbaa !8
  %157 = load ptr, ptr %94, align 8, !tbaa !5
  %158 = load ptr, ptr %157, align 8, !tbaa !10
  %159 = getelementptr inbounds i8, ptr %158, i64 8
  %160 = load double, ptr %159, align 8, !tbaa !8
  %161 = fsub double %156, %160
  %162 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %161, ptr noundef %1)
  %163 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %162, double noundef 5.000000e-10)
  br label %.critedge772

.critedge772:                                     ; preds = %.critedge770, %.critedge, %130, %155, %.critedge771
  %164 = phi i1 [ true, %.critedge771 ], [ %163, %155 ], [ true, %130 ], [ true, %.critedge ], [ true, %.critedge770 ]
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.0814, i64 noundef 1, ptr noundef nonnull %17, ptr noundef nonnull %31, ptr noundef %1)
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %15, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZN11alglib_impl6lrlineEPKNS_9ae_matrixElPdS3_PNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.0814, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef %1)
  br i1 %129, label %.critedge774, label %165

165:                                              ; preds = %.critedge772
  %166 = load double, ptr %21, align 8, !tbaa !8
  %167 = load ptr, ptr %93, align 8, !tbaa !5
  %168 = getelementptr inbounds i8, ptr %167, i64 8
  %169 = load double, ptr %168, align 8, !tbaa !8
  %170 = fsub double %166, %169
  %171 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %170, ptr noundef %1)
  %172 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %171, double noundef 5.000000e-10)
  br i1 %172, label %.critedge774, label %173

173:                                              ; preds = %165
  %174 = load double, ptr %22, align 8, !tbaa !8
  %175 = load ptr, ptr %93, align 8, !tbaa !5
  %176 = load double, ptr %175, align 8, !tbaa !8
  %177 = fsub double %174, %176
  %178 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %177, ptr noundef %1)
  %179 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %178, double noundef 5.000000e-10)
  br label %.critedge774

.critedge774:                                     ; preds = %.critedge772, %173, %165
  %180 = phi i1 [ true, %165 ], [ %179, %173 ], [ true, %.critedge772 ]
  %181 = add nuw nsw i64 %.0814, 1
  %exitcond1018.not = icmp eq i64 %181, 41
  br i1 %exitcond1018.not, label %182, label %95, !llvm.loop !14

182:                                              ; preds = %.critedge774
  %183 = zext i1 %180 to i8
  %184 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 3000, ptr noundef %1)
  %185 = add nsw i64 %184, 1000
  %186 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %187 = call double @llvm.fmuladd.f64(double %186, double 1.900000e+00, double 1.000000e-01)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %185, i64 noundef 2, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %185, ptr noundef %1)
  %.not815 = icmp slt i64 %184, -999
  br i1 %.not815, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %182
  %188 = add i64 %184, 999
  %smax = call i64 @llvm.smax.i64(i64 %188, i64 0)
  br label %189

189:                                              ; preds = %.lr.ph, %189
  %.2816 = phi i64 [ 0, %.lr.ph ], [ %208, %189 ]
  %190 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %191 = call double @llvm.fmuladd.f64(double %190, double 1.500000e+00, double -5.000000e-01)
  %192 = load ptr, ptr %91, align 8, !tbaa !5
  %193 = getelementptr inbounds ptr, ptr %192, i64 %.2816
  %194 = load ptr, ptr %193, align 8, !tbaa !10
  store double %191, ptr %194, align 8, !tbaa !8
  %195 = load ptr, ptr %91, align 8, !tbaa !5
  %196 = getelementptr inbounds ptr, ptr %195, i64 %.2816
  %197 = load ptr, ptr %196, align 8, !tbaa !10
  %198 = load double, ptr %197, align 8, !tbaa !8
  %199 = call double @llvm.fmuladd.f64(double %198, double 1.200000e+00, double -3.000000e-01)
  %200 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef %187, ptr noundef %1)
  %201 = fadd double %199, %200
  %202 = load ptr, ptr %91, align 8, !tbaa !5
  %203 = getelementptr inbounds ptr, ptr %202, i64 %.2816
  %204 = load ptr, ptr %203, align 8, !tbaa !10
  %205 = getelementptr inbounds i8, ptr %204, i64 8
  store double %201, ptr %205, align 8, !tbaa !8
  %206 = load ptr, ptr %92, align 8, !tbaa !5
  %207 = getelementptr inbounds double, ptr %206, i64 %.2816
  store double %187, ptr %207, align 8, !tbaa !8
  %208 = add nuw i64 %.2816, 1
  %exitcond1019.not = icmp eq i64 %.2816, %smax
  br i1 %exitcond1019.not, label %._crit_edge, label %189, !llvm.loop !15

._crit_edge:                                      ; preds = %189, %182
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %185, i64 noundef 1, ptr noundef nonnull %17, ptr noundef nonnull %31, ptr noundef %1)
  call void @_ZN11alglib_impl7lrlinesEPKNS_9ae_matrixEPKNS_9ae_vectorElPdS6_S6_S6_S6_S6_S6_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %185, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef %1)
  br i1 %164, label %.critedge778, label %209

209:                                              ; preds = %._crit_edge
  %210 = load ptr, ptr %94, align 8, !tbaa !5
  %211 = load ptr, ptr %210, align 8, !tbaa !10
  %212 = load double, ptr %211, align 8, !tbaa !8
  %213 = load double, ptr %24, align 8, !tbaa !8
  %214 = fdiv double %212, %213
  %215 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %214, ptr noundef %1)
  %216 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %215, ptr noundef %1)
  %217 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %1)
  %218 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %216, double noundef %217)
  br i1 %218, label %.critedge778, label %.critedge776

.critedge776:                                     ; preds = %209
  %219 = load ptr, ptr %94, align 8, !tbaa !5
  %220 = getelementptr inbounds i8, ptr %219, i64 8
  %221 = load ptr, ptr %220, align 8, !tbaa !10
  %222 = getelementptr inbounds i8, ptr %221, i64 8
  %223 = load double, ptr %222, align 8, !tbaa !8
  %224 = load double, ptr %23, align 8, !tbaa !8
  %225 = fdiv double %223, %224
  %226 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %225, ptr noundef %1)
  %227 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %226, ptr noundef %1)
  %228 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %1)
  %229 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %227, double noundef %228)
  br i1 %229, label %.critedge778, label %.critedge777

.critedge777:                                     ; preds = %.critedge776
  %230 = load ptr, ptr %94, align 8, !tbaa !5
  %231 = load ptr, ptr %230, align 8, !tbaa !10
  %232 = getelementptr inbounds i8, ptr %231, i64 8
  %233 = load double, ptr %232, align 8, !tbaa !8
  %234 = load double, ptr %25, align 8, !tbaa !8
  %235 = fdiv double %233, %234
  %236 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %235, ptr noundef %1)
  %237 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %236, ptr noundef %1)
  %238 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %1)
  %239 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %237, double noundef %238)
  br i1 %239, label %.critedge778, label %240

240:                                              ; preds = %.critedge777
  %241 = load ptr, ptr %94, align 8, !tbaa !5
  %242 = getelementptr inbounds i8, ptr %241, i64 8
  %243 = load ptr, ptr %242, align 8, !tbaa !10
  %244 = load double, ptr %243, align 8, !tbaa !8
  %245 = load double, ptr %25, align 8, !tbaa !8
  %246 = fdiv double %244, %245
  %247 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %246, ptr noundef %1)
  %248 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %247, ptr noundef %1)
  %249 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.200000e+00, ptr noundef %1)
  %250 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %248, double noundef %249)
  %251 = zext i1 %250 to i8
  br label %.critedge778

.critedge778:                                     ; preds = %.critedge776, %._crit_edge, %209, %240, %.critedge777
  %252 = phi i8 [ 1, %.critedge777 ], [ %251, %240 ], [ 1, %209 ], [ 1, %._crit_edge ], [ 1, %.critedge776 ]
  %253 = getelementptr inbounds i8, ptr %14, i64 56
  %254 = getelementptr inbounds i8, ptr %11, i64 56
  %255 = getelementptr inbounds i8, ptr %10, i64 56
  %256 = getelementptr inbounds i8, ptr %12, i64 56
  %257 = getelementptr inbounds i8, ptr %6, i64 72
  %258 = getelementptr inbounds i8, ptr %9, i64 56
  %259 = getelementptr inbounds i8, ptr %31, i64 16
  %260 = getelementptr inbounds i8, ptr %13, i64 56
  %261 = getelementptr inbounds i8, ptr %8, i64 56
  %262 = getelementptr inbounds i8, ptr %31, i64 128
  %263 = getelementptr inbounds i8, ptr %31, i64 192
  %264 = getelementptr inbounds i8, ptr %31, i64 104
  %265 = getelementptr inbounds i8, ptr %31, i64 112
  %266 = getelementptr inbounds i8, ptr %31, i64 120
  %267 = getelementptr inbounds i8, ptr %31, i64 80
  %268 = getelementptr inbounds i8, ptr %31, i64 88
  %269 = getelementptr inbounds i8, ptr %31, i64 96
  br label %.preheader808

.preheader808:                                    ; preds = %.critedge778, %912
  %.0665976 = phi i8 [ 0, %.critedge778 ], [ %.2667.lcssa, %912 ]
  %.0671975 = phi i8 [ 0, %.critedge778 ], [ %.2673.lcssa, %912 ]
  %.1676974 = phi i8 [ %183, %.critedge778 ], [ %.3678.lcssa, %912 ]
  %.1683973 = phi i8 [ %252, %.critedge778 ], [ %.3685.lcssa, %912 ]
  %270 = phi i1 [ true, %.critedge778 ], [ false, %912 ]
  %271 = phi i1 [ false, %.critedge778 ], [ true, %912 ]
  %.0717971 = phi i64 [ 0, %.critedge778 ], [ %.4721, %912 ]
  %.0722970 = phi i64 [ -1, %.critedge778 ], [ %.4726, %912 ]
  %.0727969 = phi i64 [ 0, %.critedge778 ], [ %.2729.lcssa, %912 ]
  %.0733968 = phi i64 [ -1, %.critedge778 ], [ %.2735.lcssa, %912 ]
  br label %273

.preheader796:                                    ; preds = %912
  %272 = trunc nuw i8 %.2667.lcssa to i1
  br label %.preheader795

273:                                              ; preds = %.preheader808, %._crit_edge952
  %.1666967 = phi i8 [ %.0665976, %.preheader808 ], [ %.2667.lcssa, %._crit_edge952 ]
  %.1672966 = phi i8 [ %.0671975, %.preheader808 ], [ %.2673.lcssa, %._crit_edge952 ]
  %.2677965 = phi i8 [ %.1676974, %.preheader808 ], [ %.3678.lcssa, %._crit_edge952 ]
  %.2684964 = phi i8 [ %.1683973, %.preheader808 ], [ %.3685.lcssa, %._crit_edge952 ]
  %.0698963 = phi i64 [ 0, %.preheader808 ], [ %911, %._crit_edge952 ]
  %.1718962 = phi i64 [ %.0717971, %.preheader808 ], [ %.4721, %._crit_edge952 ]
  %.1723961 = phi i64 [ %.0722970, %.preheader808 ], [ %.4726, %._crit_edge952 ]
  %.1728960 = phi i64 [ %.0727969, %.preheader808 ], [ %.2729.lcssa, %._crit_edge952 ]
  %.1734959 = phi i64 [ %.0733968, %.preheader808 ], [ %.2735.lcssa, %._crit_edge952 ]
  %274 = icmp eq i64 %.0698963, 0
  %spec.select = select i1 %274, i64 3, i64 %.1723961
  %spec.select779 = select i1 %274, i64 1, i64 %.1718962
  %275 = icmp eq i64 %.0698963, 1
  %.3725 = select i1 %275, i64 9, i64 %spec.select
  %.3720 = select i1 %275, i64 9, i64 %spec.select779
  %276 = icmp eq i64 %.0698963, 2
  %or.cond.not = icmp ult i64 %.0698963, 2
  %.4726 = select i1 %or.cond.not, i64 %.3725, i64 9
  %.4721 = select i1 %or.cond.not, i64 %.3720, i64 9
  %.not745942 = icmp sgt i64 %.4721, %.4726
  br i1 %.not745942, label %._crit_edge952, label %.lr.ph951.preheader

.lr.ph951.preheader:                              ; preds = %273
  %277 = add i64 %.4721, -1
  %278 = add i64 %.4721, -2
  br label %.lr.ph951

.lr.ph951:                                        ; preds = %.lr.ph951.preheader, %._crit_edge937
  %indvar = phi i64 [ 0, %.lr.ph951.preheader ], [ %indvar.next, %._crit_edge937 ]
  %indvars.iv.in = phi i64 [ %.4721, %.lr.ph951.preheader ], [ %indvars.iv, %._crit_edge937 ]
  %.2667949 = phi i8 [ %.1666967, %.lr.ph951.preheader ], [ %.3668.lcssa, %._crit_edge937 ]
  %.2673948 = phi i8 [ %.1672966, %.lr.ph951.preheader ], [ %.3674.lcssa, %._crit_edge937 ]
  %.3678947 = phi i8 [ %.2677965, %.lr.ph951.preheader ], [ %.4679.lcssa, %._crit_edge937 ]
  %.3685946 = phi i8 [ %.2684964, %.lr.ph951.preheader ], [ %.4686.lcssa, %._crit_edge937 ]
  %.0697945 = phi i64 [ %.4721, %.lr.ph951.preheader ], [ %.pre1061, %._crit_edge937 ]
  %.2729944 = phi i64 [ %.1728960, %.lr.ph951.preheader ], [ %spec.select781, %._crit_edge937 ]
  %.2735943 = phi i64 [ %.1734959, %.lr.ph951.preheader ], [ %spec.select780, %._crit_edge937 ]
  %279 = add i64 %277, %indvar
  %280 = add i64 %277, %indvar
  %281 = add i64 %277, %indvar
  %indvars.iv = add i64 %indvars.iv.in, 1
  %282 = add nsw i64 %.0697945, 3
  %283 = add nsw i64 %.0697945, 20
  %.3736 = select i1 %274, i64 %283, i64 %.2735943
  %.3730 = select i1 %274, i64 %282, i64 %.2729944
  br i1 %275, label %284, label %287

284:                                              ; preds = %.lr.ph951
  %285 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 70, ptr noundef %1)
  %286 = add nsw i64 %285, 70
  br label %287

287:                                              ; preds = %284, %.lr.ph951
  %.4737 = phi i64 [ %286, %284 ], [ %.3736, %.lr.ph951 ]
  %.4731 = phi i64 [ %286, %284 ], [ %.3730, %.lr.ph951 ]
  %spec.select780 = select i1 %or.cond.not, i64 %.4737, i64 100
  %spec.select781 = select i1 %or.cond.not, i64 %.4731, i64 100
  %.not746929 = icmp sgt i64 %spec.select781, %spec.select780
  %.pre1061 = add i64 %.0697945, 1
  br i1 %.not746929, label %._crit_edge937, label %.lr.ph936

.lr.ph936:                                        ; preds = %287
  %.not767.not820 = icmp sgt i64 %.0697945, 1
  %288 = icmp eq i64 %.0697945, 9
  %.not766.not831 = icmp sgt i64 %.0697945, 0
  %289 = add nsw i64 %.0697945, -1
  %.not755879 = icmp slt i64 %.0697945, 0
  %290 = add i64 %spec.select781, -1
  %xtraiter = and i64 %281, 1
  %291 = sub i64 0, %indvar
  %292 = icmp eq i64 %278, %291
  %unroll_iter = and i64 %281, -2
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %xtraiter1131 = and i64 %.0697945, 3
  %293 = icmp ult i64 %280, 3
  %unroll_iter1133 = and i64 %.0697945, 9223372036854775804
  %lcmp.mod1132.not = icmp eq i64 %xtraiter1131, 0
  %xtraiter1135 = and i64 %.0697945, 3
  %294 = icmp ult i64 %279, 3
  %unroll_iter1139 = and i64 %.0697945, 9223372036854775804
  %lcmp.mod1137.not = icmp eq i64 %xtraiter1135, 0
  br label %295

295:                                              ; preds = %.lr.ph936, %.critedge788
  %indvars.iv1040 = phi i64 [ %290, %.lr.ph936 ], [ %indvars.iv.next1041, %.critedge788 ]
  %.1934 = phi i64 [ %spec.select781, %.lr.ph936 ], [ %910, %.critedge788 ]
  %.3668933 = phi i8 [ %.2667949, %.lr.ph936 ], [ %524, %.critedge788 ]
  %.3674932 = phi i8 [ %.2673948, %.lr.ph936 ], [ %909, %.critedge788 ]
  %.4679931 = phi i8 [ %.3678947, %.lr.ph936 ], [ %.5680.lcssa, %.critedge788 ]
  %.4686930 = phi i8 [ %.3685946, %.lr.ph936 ], [ %724, %.critedge788 ]
  %296 = add nsw i64 %.1934, -1
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.1934, i64 noundef %.pre1061, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %.1934, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %.1934, ptr noundef %1)
  br i1 %274, label %.preheader807, label %.loopexit805

.preheader807:                                    ; preds = %295
  %.not747.not817 = icmp sgt i64 %.1934, 0
  br i1 %.not747.not817, label %.lr.ph819, label %._crit_edge826.thread

.preheader806:                                    ; preds = %.lr.ph819
  br i1 %.not747.not817, label %.preheader801, label %._crit_edge826.thread

.lr.ph819:                                        ; preds = %.preheader807, %.lr.ph819
  %.3818 = phi i64 [ %302, %.lr.ph819 ], [ 0, %.preheader807 ]
  %297 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %298 = call double @llvm.fmuladd.f64(double %297, double 2.000000e+00, double -1.000000e+00)
  %299 = load ptr, ptr %91, align 8, !tbaa !5
  %300 = getelementptr inbounds ptr, ptr %299, i64 %.3818
  %301 = load ptr, ptr %300, align 8, !tbaa !10
  store double %298, ptr %301, align 8, !tbaa !8
  %302 = add nuw nsw i64 %.3818, 1
  %exitcond1020.not = icmp eq i64 %302, %.1934
  br i1 %exitcond1020.not, label %.preheader806, label %.lr.ph819, !llvm.loop !16

.preheader801:                                    ; preds = %.preheader806, %._crit_edge823
  %.4825 = phi i64 [ %328, %._crit_edge823 ], [ 0, %.preheader806 ]
  br i1 %.not767.not820, label %.lr.ph822.preheader, label %._crit_edge823

.lr.ph822.preheader:                              ; preds = %.preheader801
  br i1 %292, label %._crit_edge823.loopexit.unr-lcssa, label %.lr.ph822

.lr.ph822:                                        ; preds = %.lr.ph822.preheader, %.lr.ph822
  %.0687821 = phi i64 [ %319, %.lr.ph822 ], [ 1, %.lr.ph822.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph822 ], [ 0, %.lr.ph822.preheader ]
  %303 = load ptr, ptr %91, align 8, !tbaa !5
  %304 = getelementptr inbounds ptr, ptr %303, i64 %.4825
  %305 = load ptr, ptr %304, align 8, !tbaa !10
  %306 = load double, ptr %305, align 8, !tbaa !8
  %307 = getelementptr double, ptr %305, i64 %.0687821
  %308 = getelementptr i8, ptr %307, i64 -8
  %309 = load double, ptr %308, align 8, !tbaa !8
  %310 = fmul double %306, %309
  store double %310, ptr %307, align 8, !tbaa !8
  %311 = load ptr, ptr %91, align 8, !tbaa !5
  %312 = getelementptr inbounds ptr, ptr %311, i64 %.4825
  %313 = load ptr, ptr %312, align 8, !tbaa !10
  %314 = load double, ptr %313, align 8, !tbaa !8
  %315 = getelementptr double, ptr %313, i64 %.0687821
  %316 = getelementptr i8, ptr %315, i64 8
  %317 = load double, ptr %315, align 8, !tbaa !8
  %318 = fmul double %314, %317
  store double %318, ptr %316, align 8, !tbaa !8
  %319 = add nuw nsw i64 %.0687821, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge823.loopexit.unr-lcssa, label %.lr.ph822, !llvm.loop !17

._crit_edge823.loopexit.unr-lcssa:                ; preds = %.lr.ph822, %.lr.ph822.preheader
  %.0687821.unr = phi i64 [ 1, %.lr.ph822.preheader ], [ %319, %.lr.ph822 ]
  br i1 %lcmp.mod.not, label %._crit_edge823, label %.lr.ph822.epil

.lr.ph822.epil:                                   ; preds = %._crit_edge823.loopexit.unr-lcssa
  %320 = load ptr, ptr %91, align 8, !tbaa !5
  %321 = getelementptr inbounds ptr, ptr %320, i64 %.4825
  %322 = load ptr, ptr %321, align 8, !tbaa !10
  %323 = load double, ptr %322, align 8, !tbaa !8
  %324 = getelementptr double, ptr %322, i64 %.0687821.unr
  %325 = getelementptr i8, ptr %324, i64 -8
  %326 = load double, ptr %325, align 8, !tbaa !8
  %327 = fmul double %323, %326
  store double %327, ptr %324, align 8, !tbaa !8
  br label %._crit_edge823

._crit_edge823:                                   ; preds = %.lr.ph822.epil, %._crit_edge823.loopexit.unr-lcssa, %.preheader801
  %328 = add nuw nsw i64 %.4825, 1
  %exitcond1022.not = icmp eq i64 %328, %.1934
  br i1 %exitcond1022.not, label %._crit_edge826, label %.preheader801, !llvm.loop !18

._crit_edge826.thread:                            ; preds = %.preheader806, %.preheader807
  %329 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  br label %.loopexit805

._crit_edge826:                                   ; preds = %._crit_edge823
  %330 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %331 = fmul double %330, 0x400921FB54442D18
  br i1 %.not747.not817, label %.lr.ph830, label %.loopexit805

.lr.ph830:                                        ; preds = %._crit_edge826, %.lr.ph830
  %.5828 = phi i64 [ %350, %.lr.ph830 ], [ 0, %._crit_edge826 ]
  %332 = load ptr, ptr %91, align 8, !tbaa !5
  %333 = getelementptr inbounds ptr, ptr %332, i64 %.5828
  %334 = load ptr, ptr %333, align 8, !tbaa !10
  %335 = load double, ptr %334, align 8, !tbaa !8
  %336 = fadd double %335, 1.000000e+00
  %337 = call double @llvm.fmuladd.f64(double %336, double 0x3FF921FB54442D18, double %331)
  %338 = call noundef double @_ZN11alglib_impl6ae_sinEdPNS_8ae_stateE(double noundef %337, ptr noundef %1)
  %339 = load ptr, ptr %253, align 8, !tbaa !5
  %340 = getelementptr inbounds double, ptr %339, i64 %.5828
  store double %338, ptr %340, align 8, !tbaa !8
  %341 = load ptr, ptr %253, align 8, !tbaa !5
  %342 = getelementptr inbounds double, ptr %341, i64 %.5828
  %343 = load double, ptr %342, align 8, !tbaa !8
  %344 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %1)
  %345 = call double @llvm.fmuladd.f64(double %344, double 2.000000e-01, double %343)
  %346 = load ptr, ptr %91, align 8, !tbaa !5
  %347 = getelementptr inbounds ptr, ptr %346, i64 %.5828
  %348 = load ptr, ptr %347, align 8, !tbaa !10
  %349 = getelementptr inbounds double, ptr %348, i64 %.0697945
  store double %345, ptr %349, align 8, !tbaa !8
  %350 = add nuw nsw i64 %.5828, 1
  %exitcond1023.not = icmp eq i64 %350, %.1934
  br i1 %exitcond1023.not, label %.loopexit805, label %.lr.ph830, !llvm.loop !19

.loopexit805:                                     ; preds = %.lr.ph830, %._crit_edge826.thread, %._crit_edge826, %295
  br i1 %275, label %351, label %.loopexit804

351:                                              ; preds = %.loopexit805
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %288, ptr noundef nonnull @.str.477, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 9, ptr noundef %1)
  %352 = load ptr, ptr %254, align 8, !tbaa !5
  store double 1.000000e+00, ptr %352, align 8, !tbaa !8
  %353 = load ptr, ptr %254, align 8, !tbaa !5
  %354 = getelementptr inbounds i8, ptr %353, i64 8
  store double 2.000000e+00, ptr %354, align 8, !tbaa !8
  %355 = load ptr, ptr %254, align 8, !tbaa !5
  %356 = getelementptr inbounds i8, ptr %355, i64 16
  store double 3.000000e+00, ptr %356, align 8, !tbaa !8
  %357 = load ptr, ptr %254, align 8, !tbaa !5
  %358 = getelementptr inbounds i8, ptr %357, i64 24
  store double 2.500000e-01, ptr %358, align 8, !tbaa !8
  %359 = load ptr, ptr %254, align 8, !tbaa !5
  %360 = getelementptr inbounds i8, ptr %359, i64 32
  store double 5.000000e-01, ptr %360, align 8, !tbaa !8
  %361 = load ptr, ptr %254, align 8, !tbaa !5
  %362 = getelementptr inbounds i8, ptr %361, i64 40
  store double 7.500000e-01, ptr %362, align 8, !tbaa !8
  %363 = load ptr, ptr %254, align 8, !tbaa !5
  %364 = getelementptr inbounds i8, ptr %363, i64 48
  store double 6.000000e-02, ptr %364, align 8, !tbaa !8
  %365 = load ptr, ptr %254, align 8, !tbaa !5
  %366 = getelementptr inbounds i8, ptr %365, i64 56
  store double 1.200000e-01, ptr %366, align 8, !tbaa !8
  %367 = load ptr, ptr %254, align 8, !tbaa !5
  %368 = getelementptr inbounds i8, ptr %367, i64 64
  store double 1.800000e-01, ptr %368, align 8, !tbaa !8
  %.not750.not835 = icmp sgt i64 %.1934, 0
  br i1 %.not750.not835, label %.preheader800, label %._crit_edge848

.preheader800:                                    ; preds = %351, %._crit_edge834
  %.6836 = phi i64 [ %427, %._crit_edge834 ], [ 0, %351 ]
  br i1 %.not766.not831, label %.lr.ph833.preheader, label %._crit_edge834

.lr.ph833.preheader:                              ; preds = %.preheader800
  br i1 %293, label %._crit_edge834.loopexit.unr-lcssa, label %.lr.ph833

.lr.ph833:                                        ; preds = %.lr.ph833.preheader, %.lr.ph833
  %.1688832 = phi i64 [ %388, %.lr.ph833 ], [ 0, %.lr.ph833.preheader ]
  %niter1134 = phi i64 [ %niter1134.next.3, %.lr.ph833 ], [ 0, %.lr.ph833.preheader ]
  %369 = load ptr, ptr %91, align 8, !tbaa !5
  %370 = getelementptr inbounds ptr, ptr %369, i64 %.6836
  %371 = load ptr, ptr %370, align 8, !tbaa !10
  %372 = getelementptr inbounds double, ptr %371, i64 %.1688832
  store double 0.000000e+00, ptr %372, align 8, !tbaa !8
  %373 = or disjoint i64 %.1688832, 1
  %374 = load ptr, ptr %91, align 8, !tbaa !5
  %375 = getelementptr inbounds ptr, ptr %374, i64 %.6836
  %376 = load ptr, ptr %375, align 8, !tbaa !10
  %377 = getelementptr inbounds double, ptr %376, i64 %373
  store double 0.000000e+00, ptr %377, align 8, !tbaa !8
  %378 = or disjoint i64 %.1688832, 2
  %379 = load ptr, ptr %91, align 8, !tbaa !5
  %380 = getelementptr inbounds ptr, ptr %379, i64 %.6836
  %381 = load ptr, ptr %380, align 8, !tbaa !10
  %382 = getelementptr inbounds double, ptr %381, i64 %378
  store double 0.000000e+00, ptr %382, align 8, !tbaa !8
  %383 = or disjoint i64 %.1688832, 3
  %384 = load ptr, ptr %91, align 8, !tbaa !5
  %385 = getelementptr inbounds ptr, ptr %384, i64 %.6836
  %386 = load ptr, ptr %385, align 8, !tbaa !10
  %387 = getelementptr inbounds double, ptr %386, i64 %383
  store double 0.000000e+00, ptr %387, align 8, !tbaa !8
  %388 = add nuw nsw i64 %.1688832, 4
  %niter1134.next.3 = add i64 %niter1134, 4
  %niter1134.ncmp.3 = icmp eq i64 %niter1134.next.3, %unroll_iter1133
  br i1 %niter1134.ncmp.3, label %._crit_edge834.loopexit.unr-lcssa, label %.lr.ph833, !llvm.loop !20

._crit_edge834.loopexit.unr-lcssa:                ; preds = %.lr.ph833, %.lr.ph833.preheader
  %.1688832.unr = phi i64 [ 0, %.lr.ph833.preheader ], [ %388, %.lr.ph833 ]
  br i1 %lcmp.mod1132.not, label %._crit_edge834, label %.lr.ph833.epil

.lr.ph833.epil:                                   ; preds = %._crit_edge834.loopexit.unr-lcssa, %.lr.ph833.epil
  %.1688832.epil = phi i64 [ %393, %.lr.ph833.epil ], [ %.1688832.unr, %._crit_edge834.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph833.epil ], [ 0, %._crit_edge834.loopexit.unr-lcssa ]
  %389 = load ptr, ptr %91, align 8, !tbaa !5
  %390 = getelementptr inbounds ptr, ptr %389, i64 %.6836
  %391 = load ptr, ptr %390, align 8, !tbaa !10
  %392 = getelementptr inbounds double, ptr %391, i64 %.1688832.epil
  store double 0.000000e+00, ptr %392, align 8, !tbaa !8
  %393 = add nuw nsw i64 %.1688832.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter1131
  br i1 %epil.iter.cmp.not, label %._crit_edge834, label %.lr.ph833.epil, !llvm.loop !21

._crit_edge834:                                   ; preds = %._crit_edge834.loopexit.unr-lcssa, %.lr.ph833.epil, %.preheader800
  %394 = load ptr, ptr %91, align 8, !tbaa !5
  %395 = getelementptr inbounds ptr, ptr %394, i64 %.6836
  %396 = load ptr, ptr %395, align 8, !tbaa !10
  %397 = urem i64 %.6836, 3
  %398 = getelementptr inbounds double, ptr %396, i64 %397
  store double 1.000000e+00, ptr %398, align 8, !tbaa !8
  %399 = load ptr, ptr %91, align 8, !tbaa !5
  %400 = getelementptr inbounds ptr, ptr %399, i64 %.6836
  %401 = load ptr, ptr %400, align 8, !tbaa !10
  %402 = udiv i64 %.6836, 3
  %403 = urem i64 %402, 3
  %404 = getelementptr inbounds double, ptr %401, i64 %403
  %405 = getelementptr inbounds i8, ptr %404, i64 24
  store double 1.000000e+00, ptr %405, align 8, !tbaa !8
  %406 = load ptr, ptr %91, align 8, !tbaa !5
  %407 = getelementptr inbounds ptr, ptr %406, i64 %.6836
  %408 = load ptr, ptr %407, align 8, !tbaa !10
  %409 = udiv i64 %.6836, 9
  %410 = urem i64 %409, 3
  %411 = getelementptr inbounds double, ptr %408, i64 %410
  %412 = getelementptr inbounds i8, ptr %411, i64 48
  store double 1.000000e+00, ptr %412, align 8, !tbaa !8
  %413 = load ptr, ptr %91, align 8, !tbaa !5
  %414 = getelementptr inbounds ptr, ptr %413, i64 %.6836
  %415 = load ptr, ptr %414, align 8, !tbaa !10
  %416 = load ptr, ptr %254, align 8, !tbaa !5
  %417 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef 8)
  %418 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %415, i64 noundef 1, ptr noundef %416, i64 noundef 1, i64 noundef %417)
  %419 = load ptr, ptr %253, align 8, !tbaa !5
  %420 = getelementptr inbounds double, ptr %419, i64 %.6836
  store double %418, ptr %420, align 8, !tbaa !8
  %421 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %1)
  %422 = call double @llvm.fmuladd.f64(double %421, double 2.000000e-01, double %418)
  %423 = load ptr, ptr %91, align 8, !tbaa !5
  %424 = getelementptr inbounds ptr, ptr %423, i64 %.6836
  %425 = load ptr, ptr %424, align 8, !tbaa !10
  %426 = getelementptr inbounds double, ptr %425, i64 %.0697945
  store double %422, ptr %426, align 8, !tbaa !8
  %427 = add nuw nsw i64 %.6836, 1
  %exitcond1025.not = icmp eq i64 %427, %.1934
  br i1 %exitcond1025.not, label %.loopexit804, label %.preheader800, !llvm.loop !23

.loopexit804:                                     ; preds = %._crit_edge834, %.loopexit805
  br i1 %or.cond.not, label %.loopexit, label %428

428:                                              ; preds = %.loopexit804
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %288, ptr noundef nonnull @.str.477, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 9, ptr noundef %1)
  %429 = load ptr, ptr %254, align 8, !tbaa !5
  store double 1.000000e+00, ptr %429, align 8, !tbaa !8
  %430 = load ptr, ptr %254, align 8, !tbaa !5
  %431 = getelementptr inbounds i8, ptr %430, i64 8
  store double -2.000000e+00, ptr %431, align 8, !tbaa !8
  %432 = load ptr, ptr %254, align 8, !tbaa !5
  %433 = getelementptr inbounds i8, ptr %432, i64 16
  store double 3.000000e+00, ptr %433, align 8, !tbaa !8
  %434 = load ptr, ptr %254, align 8, !tbaa !5
  %435 = getelementptr inbounds i8, ptr %434, i64 24
  store double 2.500000e-01, ptr %435, align 8, !tbaa !8
  %436 = load ptr, ptr %254, align 8, !tbaa !5
  %437 = getelementptr inbounds i8, ptr %436, i64 32
  store double -5.000000e-01, ptr %437, align 8, !tbaa !8
  %438 = load ptr, ptr %254, align 8, !tbaa !5
  %439 = getelementptr inbounds i8, ptr %438, i64 40
  store double 7.500000e-01, ptr %439, align 8, !tbaa !8
  %440 = load ptr, ptr %254, align 8, !tbaa !5
  %441 = getelementptr inbounds i8, ptr %440, i64 48
  store double -6.000000e-02, ptr %441, align 8, !tbaa !8
  %442 = load ptr, ptr %254, align 8, !tbaa !5
  %443 = getelementptr inbounds i8, ptr %442, i64 56
  store double 1.200000e-01, ptr %443, align 8, !tbaa !8
  %444 = load ptr, ptr %254, align 8, !tbaa !5
  %445 = getelementptr inbounds i8, ptr %444, i64 64
  store double -1.800000e-01, ptr %445, align 8, !tbaa !8
  %.not751.not841 = icmp sgt i64 %.1934, 0
  br i1 %.not751.not841, label %.preheader799, label %._crit_edge848

.preheader799:                                    ; preds = %428, %._crit_edge840
  %.7842 = phi i64 [ %474, %._crit_edge840 ], [ 0, %428 ]
  br i1 %.not766.not831, label %.lr.ph839, label %._crit_edge840

.lr.ph839:                                        ; preds = %.preheader799
  br i1 %276, label %.lr.ph839.split.us, label %.lr.ph839.split

.lr.ph839.split.us:                               ; preds = %.lr.ph839, %.lr.ph839.split.us
  %.2689838.us = phi i64 [ %452, %.lr.ph839.split.us ], [ 0, %.lr.ph839 ]
  %446 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 3.000000e+00, ptr noundef %1)
  %447 = fadd double %446, 1.000000e+00
  %448 = load ptr, ptr %91, align 8, !tbaa !5
  %449 = getelementptr inbounds ptr, ptr %448, i64 %.7842
  %450 = load ptr, ptr %449, align 8, !tbaa !10
  %451 = getelementptr inbounds double, ptr %450, i64 %.2689838.us
  store double %447, ptr %451, align 8, !tbaa !8
  %452 = add nuw nsw i64 %.2689838.us, 1
  %exitcond1027.not = icmp eq i64 %452, %.0697945
  br i1 %exitcond1027.not, label %._crit_edge840, label %.lr.ph839.split.us, !llvm.loop !24

.lr.ph839.split:                                  ; preds = %.lr.ph839, %.lr.ph839.split
  %.2689838 = phi i64 [ %459, %.lr.ph839.split ], [ 0, %.lr.ph839 ]
  %453 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 5.000000e-02, ptr noundef %1)
  %454 = fadd double %453, 1.000000e+00
  %455 = load ptr, ptr %91, align 8, !tbaa !5
  %456 = getelementptr inbounds ptr, ptr %455, i64 %.7842
  %457 = load ptr, ptr %456, align 8, !tbaa !10
  %458 = getelementptr inbounds double, ptr %457, i64 %.2689838
  store double %454, ptr %458, align 8, !tbaa !8
  %459 = add nuw nsw i64 %.2689838, 1
  %exitcond1026.not = icmp eq i64 %459, %.0697945
  br i1 %exitcond1026.not, label %._crit_edge840, label %.lr.ph839.split, !llvm.loop !24

._crit_edge840:                                   ; preds = %.lr.ph839.split, %.lr.ph839.split.us, %.preheader799
  %460 = load ptr, ptr %91, align 8, !tbaa !5
  %461 = getelementptr inbounds ptr, ptr %460, i64 %.7842
  %462 = load ptr, ptr %461, align 8, !tbaa !10
  %463 = load ptr, ptr %254, align 8, !tbaa !5
  %464 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef 8)
  %465 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %462, i64 noundef 1, ptr noundef %463, i64 noundef 1, i64 noundef %464)
  %466 = load ptr, ptr %253, align 8, !tbaa !5
  %467 = getelementptr inbounds double, ptr %466, i64 %.7842
  store double %465, ptr %467, align 8, !tbaa !8
  %468 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %1)
  %469 = call double @llvm.fmuladd.f64(double %468, double 2.000000e-01, double %465)
  %470 = load ptr, ptr %91, align 8, !tbaa !5
  %471 = getelementptr inbounds ptr, ptr %470, i64 %.7842
  %472 = load ptr, ptr %471, align 8, !tbaa !10
  %473 = getelementptr inbounds double, ptr %472, i64 %.0697945
  store double %469, ptr %473, align 8, !tbaa !8
  %474 = add nuw nsw i64 %.7842, 1
  %exitcond1028.not = icmp eq i64 %474, %.1934
  br i1 %exitcond1028.not, label %.loopexit, label %.preheader799, !llvm.loop !25

.loopexit:                                        ; preds = %._crit_edge840, %.loopexit804
  %.not752.not844 = icmp sgt i64 %.1934, 0
  br i1 %.not752.not844, label %.lr.ph847, label %._crit_edge848

.lr.ph847:                                        ; preds = %.loopexit, %.lr.ph847
  %.8845 = phi i64 [ %479, %.lr.ph847 ], [ 0, %.loopexit ]
  %475 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %476 = fadd double %475, 1.000000e+00
  %477 = load ptr, ptr %92, align 8, !tbaa !5
  %478 = getelementptr inbounds double, ptr %477, i64 %.8845
  store double %476, ptr %478, align 8, !tbaa !8
  %479 = add nuw nsw i64 %.8845, 1
  %exitcond1029.not = icmp eq i64 %479, %.1934
  br i1 %exitcond1029.not, label %._crit_edge848, label %.lr.ph847, !llvm.loop !26

._crit_edge848:                                   ; preds = %.lr.ph847, %351, %428, %.loopexit
  %.not752.not8441064 = phi i1 [ false, %.loopexit ], [ false, %428 ], [ false, %351 ], [ %.not752.not844, %.lr.ph847 ]
  br i1 %270, label %480, label %481

480:                                              ; preds = %._crit_edge848
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %.1934, i64 noundef %.0697945, ptr noundef nonnull %17, ptr noundef nonnull %31, ptr noundef %1)
  br label %482

481:                                              ; preds = %._crit_edge848
  call void @_ZN11alglib_impl9lrbuildzsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %.1934, i64 noundef %.0697945, ptr noundef nonnull %17, ptr noundef nonnull %31, ptr noundef %1)
  br label %482

482:                                              ; preds = %481, %480
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %15, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %.0697945, ptr noundef %1)
  %483 = load ptr, ptr %93, align 8, !tbaa !5
  %484 = getelementptr inbounds double, ptr %483, i64 %.0697945
  %485 = load double, ptr %484, align 8, !tbaa !8
  br i1 %.not766.not831, label %.lr.ph853, label %._crit_edge854

.lr.ph853:                                        ; preds = %482, %.lr.ph853
  %.9851 = phi i64 [ %497, %.lr.ph853 ], [ 0, %482 ]
  %.0711850 = phi double [ %496, %.lr.ph853 ], [ %485, %482 ]
  %486 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %487 = call double @llvm.fmuladd.f64(double %486, double 2.000000e+00, double -1.000000e+00)
  %488 = load ptr, ptr %255, align 8, !tbaa !5
  %489 = getelementptr inbounds double, ptr %488, i64 %.9851
  store double %487, ptr %489, align 8, !tbaa !8
  %490 = load ptr, ptr %93, align 8, !tbaa !5
  %491 = getelementptr inbounds double, ptr %490, i64 %.9851
  %492 = load double, ptr %491, align 8, !tbaa !8
  %493 = load ptr, ptr %255, align 8, !tbaa !5
  %494 = getelementptr inbounds double, ptr %493, i64 %.9851
  %495 = load double, ptr %494, align 8, !tbaa !8
  %496 = call double @llvm.fmuladd.f64(double %492, double %495, double %.0711850)
  %497 = add nuw nsw i64 %.9851, 1
  %exitcond1030.not = icmp eq i64 %497, %.0697945
  br i1 %exitcond1030.not, label %._crit_edge854, label %.lr.ph853, !llvm.loop !27

._crit_edge854:                                   ; preds = %.lr.ph853, %482
  %.0711.lcssa = phi double [ %485, %482 ], [ %496, %.lr.ph853 ]
  %498 = trunc nuw i8 %.3668933 to i1
  br i1 %498, label %507, label %499

499:                                              ; preds = %._crit_edge854
  %500 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %10, ptr noundef %1)
  %501 = fsub double %.0711.lcssa, %500
  %502 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %501, ptr noundef %1)
  %503 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %.0711.lcssa, ptr noundef %1)
  %504 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %503, double noundef 1.000000e+00, ptr noundef %1)
  %505 = fdiv double %502, %504
  %506 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %505, double noundef 5.000000e-10)
  br label %507

507:                                              ; preds = %499, %._crit_edge854
  %508 = phi i1 [ true, %._crit_edge854 ], [ %506, %499 ]
  call void @_ZN11alglib_impl6lrpackEPKNS_9ae_vectorElPNS_11linearmodelEPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %.0697945, ptr noundef nonnull %18, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %.0697945, ptr noundef %1)
  br i1 %.not766.not831, label %.lr.ph858, label %._crit_edge859

.lr.ph858:                                        ; preds = %507, %.lr.ph858
  %.10856 = phi i64 [ %513, %.lr.ph858 ], [ 0, %507 ]
  %509 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %510 = call double @llvm.fmuladd.f64(double %509, double 2.000000e+00, double -1.000000e+00)
  %511 = load ptr, ptr %255, align 8, !tbaa !5
  %512 = getelementptr inbounds double, ptr %511, i64 %.10856
  store double %510, ptr %512, align 8, !tbaa !8
  %513 = add nuw nsw i64 %.10856, 1
  %exitcond1031.not = icmp eq i64 %513, %.0697945
  br i1 %exitcond1031.not, label %._crit_edge859, label %.lr.ph858, !llvm.loop !28

._crit_edge859:                                   ; preds = %.lr.ph858, %507
  %514 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %10, ptr noundef %1)
  br i1 %508, label %522, label %515

515:                                              ; preds = %._crit_edge859
  %516 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef nonnull %10, ptr noundef %1)
  %517 = fsub double %514, %516
  %518 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %517, ptr noundef %1)
  %519 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %514, ptr noundef %1)
  %520 = fdiv double %518, %519
  %521 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %520, double noundef 5.000000e-10)
  br label %522

522:                                              ; preds = %515, %._crit_edge859
  %523 = phi i1 [ true, %._crit_edge859 ], [ %521, %515 ]
  %524 = zext i1 %523 to i8
  br i1 %.not755879, label %._crit_edge886, label %.lr.ph885

.lr.ph885:                                        ; preds = %522, %662
  %.5680883 = phi i8 [ %.6681, %662 ], [ %.4679931, %522 ]
  %.0692880 = phi i64 [ %663, %662 ], [ 0, %522 ]
  %525 = icmp eq i64 %.0692880, %.0697945
  %or.cond = and i1 %271, %525
  br i1 %or.cond, label %662, label %.preheader798

.preheader798:                                    ; preds = %.lr.ph885
  br i1 %.not752.not8441064, label %.lr.ph872, label %._crit_edge873

.lr.ph872:                                        ; preds = %.preheader798
  %526 = icmp slt i64 %.0692880, %.0697945
  br i1 %.not766.not831, label %.lr.ph864.us, label %.lr.ph872.split

.lr.ph864.us:                                     ; preds = %.lr.ph872, %._crit_edge865.us._crit_edge
  %.11871.us = phi i64 [ %562, %._crit_edge865.us._crit_edge ], [ 0, %.lr.ph872 ]
  %.0715868.us = phi double [ %601, %._crit_edge865.us._crit_edge ], [ 0.000000e+00, %.lr.ph872 ]
  %527 = phi <2 x double> [ %561, %._crit_edge865.us._crit_edge ], [ zeroinitializer, %.lr.ph872 ]
  %528 = load ptr, ptr %93, align 8, !tbaa !5
  %529 = getelementptr inbounds double, ptr %528, i64 %.0697945
  %530 = load double, ptr %529, align 8, !tbaa !8
  %531 = load ptr, ptr %91, align 8, !tbaa !5
  %532 = getelementptr inbounds ptr, ptr %531, i64 %.11871.us
  %533 = load ptr, ptr %532, align 8, !tbaa !10
  br i1 %294, label %._crit_edge865.us.unr-lcssa, label %.lr.ph864.us.new

534:                                              ; preds = %._crit_edge865.us
  %535 = getelementptr inbounds double, ptr %603, i64 %.0692880
  %536 = load double, ptr %535, align 8, !tbaa !8
  br label %._crit_edge865.us._crit_edge

._crit_edge865.us._crit_edge:                     ; preds = %._crit_edge865.us, %534
  %.0710.us = phi double [ %536, %534 ], [ 1.000000e+00, %._crit_edge865.us ]
  %537 = call double @llvm.fmuladd.f64(double %.0710.us, double 1.000000e-03, double %.lcssa1120)
  %538 = getelementptr inbounds double, ptr %603, i64 %.0697945
  %539 = load double, ptr %538, align 8, !tbaa !8
  %540 = fsub double %537, %539
  %541 = load ptr, ptr %92, align 8, !tbaa !5
  %542 = getelementptr inbounds double, ptr %541, i64 %.11871.us
  %543 = load double, ptr %542, align 8, !tbaa !8
  %544 = fdiv double %540, %543
  %545 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %544, ptr noundef %1)
  %546 = fneg double %.0710.us
  %547 = call double @llvm.fmuladd.f64(double %546, double 1.000000e-03, double %.lcssa1120)
  %548 = load ptr, ptr %91, align 8, !tbaa !5
  %549 = getelementptr inbounds ptr, ptr %548, i64 %.11871.us
  %550 = load ptr, ptr %549, align 8, !tbaa !10
  %551 = getelementptr inbounds double, ptr %550, i64 %.0697945
  %552 = load double, ptr %551, align 8, !tbaa !8
  %553 = fsub double %547, %552
  %554 = load ptr, ptr %92, align 8, !tbaa !5
  %555 = getelementptr inbounds double, ptr %554, i64 %.11871.us
  %556 = load double, ptr %555, align 8, !tbaa !8
  %557 = fdiv double %553, %556
  %558 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %557, ptr noundef %1)
  %559 = insertelement <2 x double> poison, double %545, i64 0
  %560 = insertelement <2 x double> %559, double %558, i64 1
  %561 = fadd <2 x double> %527, %560
  %562 = add nuw nsw i64 %.11871.us, 1
  %exitcond1034.not = icmp eq i64 %562, %.1934
  br i1 %exitcond1034.not, label %._crit_edge873, label %.lr.ph864.us, !llvm.loop !29

.lr.ph864.us.new:                                 ; preds = %.lr.ph864.us, %.lr.ph864.us.new
  %.3690862.us = phi i64 [ %586, %.lr.ph864.us.new ], [ 0, %.lr.ph864.us ]
  %.1712861.us = phi double [ %585, %.lr.ph864.us.new ], [ %530, %.lr.ph864.us ]
  %niter1140 = phi i64 [ %niter1140.next.3, %.lr.ph864.us.new ], [ 0, %.lr.ph864.us ]
  %563 = getelementptr inbounds double, ptr %533, i64 %.3690862.us
  %564 = load double, ptr %563, align 8, !tbaa !8
  %565 = getelementptr inbounds double, ptr %528, i64 %.3690862.us
  %566 = load double, ptr %565, align 8, !tbaa !8
  %567 = call double @llvm.fmuladd.f64(double %564, double %566, double %.1712861.us)
  %568 = or disjoint i64 %.3690862.us, 1
  %569 = getelementptr inbounds double, ptr %533, i64 %568
  %570 = load double, ptr %569, align 8, !tbaa !8
  %571 = getelementptr inbounds double, ptr %528, i64 %568
  %572 = load double, ptr %571, align 8, !tbaa !8
  %573 = call double @llvm.fmuladd.f64(double %570, double %572, double %567)
  %574 = or disjoint i64 %.3690862.us, 2
  %575 = getelementptr inbounds double, ptr %533, i64 %574
  %576 = load double, ptr %575, align 8, !tbaa !8
  %577 = getelementptr inbounds double, ptr %528, i64 %574
  %578 = load double, ptr %577, align 8, !tbaa !8
  %579 = call double @llvm.fmuladd.f64(double %576, double %578, double %573)
  %580 = or disjoint i64 %.3690862.us, 3
  %581 = getelementptr inbounds double, ptr %533, i64 %580
  %582 = load double, ptr %581, align 8, !tbaa !8
  %583 = getelementptr inbounds double, ptr %528, i64 %580
  %584 = load double, ptr %583, align 8, !tbaa !8
  %585 = call double @llvm.fmuladd.f64(double %582, double %584, double %579)
  %586 = add nuw nsw i64 %.3690862.us, 4
  %niter1140.next.3 = add i64 %niter1140, 4
  %niter1140.ncmp.3 = icmp eq i64 %niter1140.next.3, %unroll_iter1139
  br i1 %niter1140.ncmp.3, label %._crit_edge865.us.unr-lcssa, label %.lr.ph864.us.new, !llvm.loop !30

._crit_edge865.us.unr-lcssa:                      ; preds = %.lr.ph864.us.new, %.lr.ph864.us
  %.lcssa1120.ph = phi double [ poison, %.lr.ph864.us ], [ %585, %.lr.ph864.us.new ]
  %.3690862.us.unr = phi i64 [ 0, %.lr.ph864.us ], [ %586, %.lr.ph864.us.new ]
  %.1712861.us.unr = phi double [ %530, %.lr.ph864.us ], [ %585, %.lr.ph864.us.new ]
  br i1 %lcmp.mod1137.not, label %._crit_edge865.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge865.us.unr-lcssa, %.epil.preheader
  %.3690862.us.epil = phi i64 [ %592, %.epil.preheader ], [ %.3690862.us.unr, %._crit_edge865.us.unr-lcssa ]
  %.1712861.us.epil = phi double [ %591, %.epil.preheader ], [ %.1712861.us.unr, %._crit_edge865.us.unr-lcssa ]
  %epil.iter1136 = phi i64 [ %epil.iter1136.next, %.epil.preheader ], [ 0, %._crit_edge865.us.unr-lcssa ]
  %587 = getelementptr inbounds double, ptr %533, i64 %.3690862.us.epil
  %588 = load double, ptr %587, align 8, !tbaa !8
  %589 = getelementptr inbounds double, ptr %528, i64 %.3690862.us.epil
  %590 = load double, ptr %589, align 8, !tbaa !8
  %591 = call double @llvm.fmuladd.f64(double %588, double %590, double %.1712861.us.epil)
  %592 = add nuw nsw i64 %.3690862.us.epil, 1
  %epil.iter1136.next = add i64 %epil.iter1136, 1
  %epil.iter1136.cmp.not = icmp eq i64 %epil.iter1136.next, %xtraiter1135
  br i1 %epil.iter1136.cmp.not, label %._crit_edge865.us, label %.epil.preheader, !llvm.loop !31

._crit_edge865.us:                                ; preds = %.epil.preheader, %._crit_edge865.us.unr-lcssa
  %.lcssa1120 = phi double [ %.lcssa1120.ph, %._crit_edge865.us.unr-lcssa ], [ %591, %.epil.preheader ]
  %593 = getelementptr inbounds double, ptr %533, i64 %.0697945
  %594 = load double, ptr %593, align 8, !tbaa !8
  %595 = fsub double %.lcssa1120, %594
  %596 = load ptr, ptr %92, align 8, !tbaa !5
  %597 = getelementptr inbounds double, ptr %596, i64 %.11871.us
  %598 = load double, ptr %597, align 8, !tbaa !8
  %599 = fdiv double %595, %598
  %600 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %599, ptr noundef %1)
  %601 = fadd double %.0715868.us, %600
  %.pre1055 = load ptr, ptr %91, align 8, !tbaa !5
  %602 = getelementptr inbounds ptr, ptr %.pre1055, i64 %.11871.us
  %603 = load ptr, ptr %602, align 8, !tbaa !10
  br i1 %526, label %534, label %._crit_edge865.us._crit_edge

.lr.ph872.split:                                  ; preds = %.lr.ph872, %.lr.ph872.split._crit_edge
  %.11871 = phi i64 [ %650, %.lr.ph872.split._crit_edge ], [ 0, %.lr.ph872 ]
  %.0715868 = phi double [ %619, %.lr.ph872.split._crit_edge ], [ 0.000000e+00, %.lr.ph872 ]
  %604 = phi <2 x double> [ %649, %.lr.ph872.split._crit_edge ], [ zeroinitializer, %.lr.ph872 ]
  %605 = load ptr, ptr %93, align 8, !tbaa !5
  %606 = getelementptr inbounds double, ptr %605, i64 %.0697945
  %607 = load double, ptr %606, align 8, !tbaa !8
  %608 = load ptr, ptr %91, align 8, !tbaa !5
  %609 = getelementptr inbounds ptr, ptr %608, i64 %.11871
  %610 = load ptr, ptr %609, align 8, !tbaa !10
  %611 = getelementptr inbounds double, ptr %610, i64 %.0697945
  %612 = load double, ptr %611, align 8, !tbaa !8
  %613 = fsub double %607, %612
  %614 = load ptr, ptr %92, align 8, !tbaa !5
  %615 = getelementptr inbounds double, ptr %614, i64 %.11871
  %616 = load double, ptr %615, align 8, !tbaa !8
  %617 = fdiv double %613, %616
  %618 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %617, ptr noundef %1)
  %619 = fadd double %.0715868, %618
  %.pre = load ptr, ptr %91, align 8, !tbaa !5
  %620 = getelementptr inbounds ptr, ptr %.pre, i64 %.11871
  %621 = load ptr, ptr %620, align 8, !tbaa !10
  br i1 %526, label %622, label %.lr.ph872.split._crit_edge

622:                                              ; preds = %.lr.ph872.split
  %623 = getelementptr inbounds double, ptr %621, i64 %.0692880
  %624 = load double, ptr %623, align 8, !tbaa !8
  br label %.lr.ph872.split._crit_edge

.lr.ph872.split._crit_edge:                       ; preds = %.lr.ph872.split, %622
  %.0710 = phi double [ %624, %622 ], [ 1.000000e+00, %.lr.ph872.split ]
  %625 = call double @llvm.fmuladd.f64(double %.0710, double 1.000000e-03, double %607)
  %626 = getelementptr inbounds double, ptr %621, i64 %.0697945
  %627 = load double, ptr %626, align 8, !tbaa !8
  %628 = fsub double %625, %627
  %629 = load ptr, ptr %92, align 8, !tbaa !5
  %630 = getelementptr inbounds double, ptr %629, i64 %.11871
  %631 = load double, ptr %630, align 8, !tbaa !8
  %632 = fdiv double %628, %631
  %633 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %632, ptr noundef %1)
  %634 = fneg double %.0710
  %635 = call double @llvm.fmuladd.f64(double %634, double 1.000000e-03, double %607)
  %636 = load ptr, ptr %91, align 8, !tbaa !5
  %637 = getelementptr inbounds ptr, ptr %636, i64 %.11871
  %638 = load ptr, ptr %637, align 8, !tbaa !10
  %639 = getelementptr inbounds double, ptr %638, i64 %.0697945
  %640 = load double, ptr %639, align 8, !tbaa !8
  %641 = fsub double %635, %640
  %642 = load ptr, ptr %92, align 8, !tbaa !5
  %643 = getelementptr inbounds double, ptr %642, i64 %.11871
  %644 = load double, ptr %643, align 8, !tbaa !8
  %645 = fdiv double %641, %644
  %646 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %645, ptr noundef %1)
  %647 = insertelement <2 x double> poison, double %633, i64 0
  %648 = insertelement <2 x double> %647, double %646, i64 1
  %649 = fadd <2 x double> %604, %648
  %650 = add nuw nsw i64 %.11871, 1
  %exitcond1032.not = icmp eq i64 %650, %.1934
  br i1 %exitcond1032.not, label %._crit_edge873, label %.lr.ph872.split, !llvm.loop !29

._crit_edge873:                                   ; preds = %.lr.ph872.split._crit_edge, %._crit_edge865.us._crit_edge, %.preheader798
  %.0715.lcssa = phi double [ 0.000000e+00, %.preheader798 ], [ %601, %._crit_edge865.us._crit_edge ], [ %619, %.lr.ph872.split._crit_edge ]
  %651 = phi <2 x double> [ zeroinitializer, %.preheader798 ], [ %561, %._crit_edge865.us._crit_edge ], [ %649, %.lr.ph872.split._crit_edge ]
  %652 = trunc nuw i8 %.5680883 to i1
  br i1 %652, label %659, label %653

653:                                              ; preds = %._crit_edge873
  %654 = extractelement <2 x double> %651, i64 0
  %655 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.0715.lcssa, double noundef %654)
  br i1 %655, label %659, label %656

656:                                              ; preds = %653
  %657 = extractelement <2 x double> %651, i64 1
  %658 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.0715.lcssa, double noundef %657)
  br label %659

659:                                              ; preds = %656, %653, %._crit_edge873
  %660 = phi i1 [ true, %653 ], [ true, %._crit_edge873 ], [ %658, %656 ]
  %661 = zext i1 %660 to i8
  br label %662

662:                                              ; preds = %.lr.ph885, %659
  %.6681 = phi i8 [ %661, %659 ], [ %.5680883, %.lr.ph885 ]
  %663 = add nuw i64 %.0692880, 1
  %exitcond1035.not = icmp eq i64 %.0692880, %indvars.iv.in
  br i1 %exitcond1035.not, label %._crit_edge886, label %.lr.ph885, !llvm.loop !32

._crit_edge886:                                   ; preds = %662, %522
  %.5680.lcssa = phi i8 [ %.4679931, %522 ], [ %.6681, %662 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 1000, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %.pre1061, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %.pre1061, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %.1934, i64 noundef %.pre1061, ptr noundef %1)
  br i1 %.not755879, label %.preheader797.preheader, label %.lr.ph891

.lr.ph891:                                        ; preds = %._crit_edge886, %.lr.ph891
  %.12889 = phi i64 [ %667, %.lr.ph891 ], [ 0, %._crit_edge886 ]
  %664 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %1)
  %665 = load ptr, ptr %256, align 8, !tbaa !5
  %666 = getelementptr inbounds double, ptr %665, i64 %.12889
  store double %664, ptr %666, align 8, !tbaa !8
  %667 = add nuw i64 %.12889, 1
  %exitcond1036.not = icmp eq i64 %.12889, %indvars.iv.in
  br i1 %exitcond1036.not, label %.preheader797.preheader, label %.lr.ph891, !llvm.loop !33

.preheader797.preheader:                          ; preds = %.lr.ph891, %._crit_edge886
  br label %.preheader797

.preheader797:                                    ; preds = %.preheader797.preheader, %690
  %.0696896 = phi i64 [ %697, %690 ], [ 0, %.preheader797.preheader ]
  br i1 %.not752.not8441064, label %.lr.ph894, label %._crit_edge895

.lr.ph894:                                        ; preds = %.preheader797, %.lr.ph894
  %.13893 = phi i64 [ %687, %.lr.ph894 ], [ 0, %.preheader797 ]
  %668 = load ptr, ptr %257, align 8, !tbaa !5
  %669 = getelementptr inbounds ptr, ptr %668, i64 %.13893
  %670 = load ptr, ptr %669, align 8, !tbaa !10
  %671 = load ptr, ptr %91, align 8, !tbaa !5
  %672 = getelementptr inbounds ptr, ptr %671, i64 %.13893
  %673 = load ptr, ptr %672, align 8, !tbaa !10
  %674 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %289)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %670, i64 noundef 1, ptr noundef %673, i64 noundef 1, i64 noundef %674)
  %675 = load ptr, ptr %253, align 8, !tbaa !5
  %676 = getelementptr inbounds double, ptr %675, i64 %.13893
  %677 = load double, ptr %676, align 8, !tbaa !8
  %678 = load ptr, ptr %92, align 8, !tbaa !5
  %679 = getelementptr inbounds double, ptr %678, i64 %.13893
  %680 = load double, ptr %679, align 8, !tbaa !8
  %681 = call noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef 0.000000e+00, double noundef 1.000000e+00, ptr noundef %1)
  %682 = call double @llvm.fmuladd.f64(double %680, double %681, double %677)
  %683 = load ptr, ptr %257, align 8, !tbaa !5
  %684 = getelementptr inbounds ptr, ptr %683, i64 %.13893
  %685 = load ptr, ptr %684, align 8, !tbaa !10
  %686 = getelementptr inbounds double, ptr %685, i64 %.0697945
  store double %682, ptr %686, align 8, !tbaa !8
  %687 = add nuw nsw i64 %.13893, 1
  %exitcond1037.not = icmp eq i64 %687, %.1934
  br i1 %exitcond1037.not, label %._crit_edge895, label %.lr.ph894, !llvm.loop !34

._crit_edge895:                                   ; preds = %.lr.ph894, %.preheader797
  br i1 %270, label %688, label %689

688:                                              ; preds = %._crit_edge895
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %7, i64 noundef %.1934, i64 noundef %.0697945, ptr noundef nonnull %17, ptr noundef nonnull %32, ptr noundef %1)
  br label %690

689:                                              ; preds = %._crit_edge895
  call void @_ZN11alglib_impl9lrbuildzsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %7, i64 noundef %.1934, i64 noundef %.0697945, ptr noundef nonnull %17, ptr noundef nonnull %32, ptr noundef %1)
  br label %690

690:                                              ; preds = %689, %688
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef %1)
  %691 = load ptr, ptr %256, align 8, !tbaa !5
  %692 = load ptr, ptr %258, align 8, !tbaa !5
  %693 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %.0697945)
  %694 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %691, i64 noundef 1, ptr noundef %692, i64 noundef 1, i64 noundef %693)
  %695 = load ptr, ptr %254, align 8, !tbaa !5
  %696 = getelementptr inbounds double, ptr %695, i64 %.0696896
  store double %694, ptr %696, align 8, !tbaa !8
  %697 = add nuw nsw i64 %.0696896, 1
  %exitcond1038.not = icmp eq i64 %697, 1000
  br i1 %exitcond1038.not, label %698, label %.preheader797, !llvm.loop !35

698:                                              ; preds = %690
  call void @_ZL26testlinregunit_calculatemvPKN11alglib_impl9ae_vectorElPdS3_S3_S3_PNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 1000, ptr noundef nonnull %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef %1)
  br i1 %.not755879, label %._crit_edge901, label %.lr.ph900

.lr.ph900:                                        ; preds = %698, %.lr.ph900
  %.14898 = phi i64 [ %708, %.lr.ph900 ], [ 0, %698 ]
  %699 = load ptr, ptr %256, align 8, !tbaa !5
  %700 = load ptr, ptr %94, align 8, !tbaa !5
  %701 = load ptr, ptr %700, align 8, !tbaa !10
  %702 = getelementptr inbounds double, ptr %701, i64 %.14898
  %703 = load i64, ptr %259, align 8, !tbaa !36
  %704 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %.0697945)
  %705 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %699, i64 noundef 1, ptr noundef %702, i64 noundef %703, i64 noundef %704)
  %706 = load ptr, ptr %260, align 8, !tbaa !5
  %707 = getelementptr inbounds double, ptr %706, i64 %.14898
  store double %705, ptr %707, align 8, !tbaa !8
  %708 = add nuw i64 %.14898, 1
  %exitcond1039.not = icmp eq i64 %.14898, %indvars.iv.in
  br i1 %exitcond1039.not, label %._crit_edge901, label %.lr.ph900, !llvm.loop !43

._crit_edge901:                                   ; preds = %.lr.ph900, %698
  %709 = load ptr, ptr %260, align 8, !tbaa !5
  %710 = load ptr, ptr %256, align 8, !tbaa !5
  %711 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %.0697945)
  %712 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %709, i64 noundef 1, ptr noundef %710, i64 noundef 1, i64 noundef %711)
  %713 = trunc nuw i8 %.4686930 to i1
  br i1 %713, label %722, label %714

714:                                              ; preds = %._crit_edge901
  %715 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %712, ptr noundef %1)
  %716 = load double, ptr %35, align 8, !tbaa !8
  %717 = fsub double %715, %716
  %718 = load double, ptr %36, align 8, !tbaa !8
  %719 = fdiv double %717, %718
  %720 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %719, ptr noundef %1)
  %721 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %720, double noundef 7.000000e+00)
  br label %722

722:                                              ; preds = %714, %._crit_edge901
  %723 = phi i1 [ true, %._crit_edge901 ], [ %721, %714 ]
  %724 = zext i1 %723 to i8
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %296, i64 noundef %.pre1061, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %296, ptr noundef %1)
  %.not758902 = icmp slt i64 %.1934, 2
  br i1 %.not758902, label %.preheader802, label %.lr.ph905

.preheader802:                                    ; preds = %.lr.ph905, %722
  br i1 %.not752.not8441064, label %.lr.ph921, label %._crit_edge922

.lr.ph905:                                        ; preds = %722, %.lr.ph905
  %.15903 = phi i64 [ %729, %.lr.ph905 ], [ 0, %722 ]
  %725 = load ptr, ptr %257, align 8, !tbaa !5
  %726 = getelementptr inbounds ptr, ptr %725, i64 %.15903
  %727 = load ptr, ptr %726, align 8, !tbaa !10
  %728 = load ptr, ptr %91, align 8, !tbaa !5
  %729 = add nuw nsw i64 %.15903, 1
  %730 = getelementptr inbounds ptr, ptr %728, i64 %729
  %731 = load ptr, ptr %730, align 8, !tbaa !10
  %732 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %.0697945)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %727, i64 noundef 1, ptr noundef %731, i64 noundef 1, i64 noundef %732)
  %733 = load ptr, ptr %92, align 8, !tbaa !5
  %734 = getelementptr inbounds double, ptr %733, i64 %729
  %735 = load double, ptr %734, align 8, !tbaa !8
  %736 = load ptr, ptr %261, align 8, !tbaa !5
  %737 = getelementptr inbounds double, ptr %736, i64 %.15903
  store double %735, ptr %737, align 8, !tbaa !8
  %exitcond1042.not = icmp eq i64 %729, %indvars.iv1040
  br i1 %exitcond1042.not, label %.preheader802, label %.lr.ph905, !llvm.loop !44

.lr.ph921:                                        ; preds = %.preheader802, %852
  %.16920 = phi i64 [ %853, %852 ], [ 0, %.preheader802 ]
  %.0701919 = phi double [ %772, %852 ], [ 0.000000e+00, %.preheader802 ]
  %.0702918 = phi double [ %763, %852 ], [ 0.000000e+00, %.preheader802 ]
  %.0703917 = phi double [ %755, %852 ], [ 0.000000e+00, %.preheader802 ]
  %.0704916 = phi double [ %.1705, %852 ], [ 0.000000e+00, %.preheader802 ]
  %.0706915 = phi double [ %.1707, %852 ], [ 0.000000e+00, %.preheader802 ]
  %.0708914 = phi double [ %.1709, %852 ], [ 0.000000e+00, %.preheader802 ]
  %738 = load ptr, ptr %91, align 8, !tbaa !5
  %739 = getelementptr inbounds ptr, ptr %738, i64 %.16920
  %740 = load ptr, ptr %739, align 8, !tbaa !10
  %741 = load ptr, ptr %93, align 8, !tbaa !5
  %742 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %289)
  %743 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %740, i64 noundef 1, ptr noundef %741, i64 noundef 1, i64 noundef %742)
  %744 = load ptr, ptr %93, align 8, !tbaa !5
  %745 = getelementptr inbounds double, ptr %744, i64 %.0697945
  %746 = load double, ptr %745, align 8, !tbaa !8
  %747 = fadd double %743, %746
  %748 = load ptr, ptr %91, align 8, !tbaa !5
  %749 = getelementptr inbounds ptr, ptr %748, i64 %.16920
  %750 = load ptr, ptr %749, align 8, !tbaa !10
  %751 = getelementptr inbounds double, ptr %750, i64 %.0697945
  %752 = load double, ptr %751, align 8, !tbaa !8
  %753 = fsub double %747, %752
  %754 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %753, ptr noundef %1)
  %755 = fadd double %.0703917, %754
  %756 = load ptr, ptr %91, align 8, !tbaa !5
  %757 = getelementptr inbounds ptr, ptr %756, i64 %.16920
  %758 = load ptr, ptr %757, align 8, !tbaa !10
  %759 = getelementptr inbounds double, ptr %758, i64 %.0697945
  %760 = load double, ptr %759, align 8, !tbaa !8
  %761 = fsub double %747, %760
  %762 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %761, ptr noundef %1)
  %763 = fadd double %.0702918, %762
  %764 = load ptr, ptr %91, align 8, !tbaa !5
  %765 = getelementptr inbounds ptr, ptr %764, i64 %.16920
  %766 = load ptr, ptr %765, align 8, !tbaa !10
  %767 = getelementptr inbounds double, ptr %766, i64 %.0697945
  %768 = load double, ptr %767, align 8, !tbaa !8
  %769 = fsub double %747, %768
  %770 = fdiv double %769, %768
  %771 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %770, ptr noundef %1)
  %772 = fadd double %.0701919, %771
  %773 = load i64, ptr %262, align 8, !tbaa !45
  %.not760.not906 = icmp sgt i64 %773, 0
  br i1 %.not760.not906, label %.lr.ph910, label %.critedge995

.lr.ph910:                                        ; preds = %.lr.ph921
  %774 = load ptr, ptr %263, align 8, !tbaa !5
  %xtraiter1142 = and i64 %773, 3
  %775 = icmp ult i64 %773, 4
  br i1 %775, label %._crit_edge911.unr-lcssa, label %.lr.ph910.new

.lr.ph910.new:                                    ; preds = %.lr.ph910
  %unroll_iter1146 = and i64 %773, 9223372036854775804
  br label %776

776:                                              ; preds = %776, %.lr.ph910.new
  %.1693908 = phi i64 [ 0, %.lr.ph910.new ], [ %795, %776 ]
  %.0699907 = phi i1 [ true, %.lr.ph910.new ], [ %spec.select782.3, %776 ]
  %niter1147 = phi i64 [ 0, %.lr.ph910.new ], [ %niter1147.next.3, %776 ]
  %777 = getelementptr inbounds i64, ptr %774, i64 %.1693908
  %778 = load i64, ptr %777, align 8, !tbaa !46
  %779 = icmp ne i64 %778, %.16920
  %780 = or disjoint i64 %.1693908, 1
  %781 = getelementptr inbounds i64, ptr %774, i64 %780
  %782 = load i64, ptr %781, align 8, !tbaa !46
  %783 = icmp ne i64 %782, %.16920
  %784 = or disjoint i64 %.1693908, 2
  %785 = getelementptr inbounds i64, ptr %774, i64 %784
  %786 = load i64, ptr %785, align 8, !tbaa !46
  %787 = icmp ne i64 %786, %.16920
  %788 = or disjoint i64 %.1693908, 3
  %789 = getelementptr inbounds i64, ptr %774, i64 %788
  %790 = load i64, ptr %789, align 8, !tbaa !46
  %791 = icmp ne i64 %790, %.16920
  %792 = select i1 %791, i1 %787, i1 false
  %793 = select i1 %792, i1 %783, i1 false
  %794 = select i1 %793, i1 %779, i1 false
  %spec.select782.3 = select i1 %794, i1 %.0699907, i1 false
  %795 = add nuw nsw i64 %.1693908, 4
  %niter1147.next.3 = add i64 %niter1147, 4
  %niter1147.ncmp.3 = icmp eq i64 %niter1147.next.3, %unroll_iter1146
  br i1 %niter1147.ncmp.3, label %._crit_edge911.unr-lcssa, label %776, !llvm.loop !47

._crit_edge911.unr-lcssa:                         ; preds = %776, %.lr.ph910
  %spec.select782.lcssa.ph = phi i1 [ poison, %.lr.ph910 ], [ %spec.select782.3, %776 ]
  %.1693908.unr = phi i64 [ 0, %.lr.ph910 ], [ %795, %776 ]
  %.0699907.unr = phi i1 [ true, %.lr.ph910 ], [ %spec.select782.3, %776 ]
  %lcmp.mod1144.not = icmp eq i64 %xtraiter1142, 0
  br i1 %lcmp.mod1144.not, label %._crit_edge911, label %.epil.preheader1141

.epil.preheader1141:                              ; preds = %._crit_edge911.unr-lcssa, %.epil.preheader1141
  %.1693908.epil = phi i64 [ %799, %.epil.preheader1141 ], [ %.1693908.unr, %._crit_edge911.unr-lcssa ]
  %.0699907.epil = phi i1 [ %spec.select782.epil, %.epil.preheader1141 ], [ %.0699907.unr, %._crit_edge911.unr-lcssa ]
  %epil.iter1143 = phi i64 [ %epil.iter1143.next, %.epil.preheader1141 ], [ 0, %._crit_edge911.unr-lcssa ]
  %796 = getelementptr inbounds i64, ptr %774, i64 %.1693908.epil
  %797 = load i64, ptr %796, align 8, !tbaa !46
  %798 = icmp ne i64 %797, %.16920
  %spec.select782.epil = select i1 %798, i1 %.0699907.epil, i1 false
  %799 = add nuw nsw i64 %.1693908.epil, 1
  %epil.iter1143.next = add i64 %epil.iter1143, 1
  %epil.iter1143.cmp.not = icmp eq i64 %epil.iter1143.next, %xtraiter1142
  br i1 %epil.iter1143.cmp.not, label %._crit_edge911, label %.epil.preheader1141, !llvm.loop !48

._crit_edge911:                                   ; preds = %.epil.preheader1141, %._crit_edge911.unr-lcssa
  %spec.select782.lcssa = phi i1 [ %spec.select782.lcssa.ph, %._crit_edge911.unr-lcssa ], [ %spec.select782.epil, %.epil.preheader1141 ]
  br i1 %spec.select782.lcssa, label %.critedge995, label %838

.critedge995:                                     ; preds = %.lr.ph921, %._crit_edge911
  br i1 %270, label %800, label %801

800:                                              ; preds = %.critedge995
  call void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef %296, i64 noundef %.0697945, ptr noundef nonnull %17, ptr noundef nonnull %32, ptr noundef %1)
  br label %802

801:                                              ; preds = %.critedge995
  call void @_ZN11alglib_impl9lrbuildzsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef %296, i64 noundef %.0697945, ptr noundef nonnull %17, ptr noundef nonnull %32, ptr noundef %1)
  br label %802

802:                                              ; preds = %801, %800
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef %1)
  %803 = load ptr, ptr %91, align 8, !tbaa !5
  %804 = getelementptr inbounds ptr, ptr %803, i64 %.16920
  %805 = load ptr, ptr %804, align 8, !tbaa !10
  %806 = load ptr, ptr %258, align 8, !tbaa !5
  %807 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %289)
  %808 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %805, i64 noundef 1, ptr noundef %806, i64 noundef 1, i64 noundef %807)
  %809 = load ptr, ptr %258, align 8, !tbaa !5
  %810 = getelementptr inbounds double, ptr %809, i64 %.0697945
  %811 = load double, ptr %810, align 8, !tbaa !8
  %812 = fadd double %808, %811
  %813 = load ptr, ptr %91, align 8, !tbaa !5
  %814 = getelementptr inbounds ptr, ptr %813, i64 %.16920
  %815 = load ptr, ptr %814, align 8, !tbaa !10
  %816 = getelementptr inbounds double, ptr %815, i64 %.0697945
  %817 = load double, ptr %816, align 8, !tbaa !8
  %818 = fsub double %812, %817
  %819 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %818, ptr noundef %1)
  %820 = fadd double %.0708914, %819
  %821 = load ptr, ptr %91, align 8, !tbaa !5
  %822 = getelementptr inbounds ptr, ptr %821, i64 %.16920
  %823 = load ptr, ptr %822, align 8, !tbaa !10
  %824 = getelementptr inbounds double, ptr %823, i64 %.0697945
  %825 = load double, ptr %824, align 8, !tbaa !8
  %826 = fsub double %812, %825
  %827 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %826, ptr noundef %1)
  %828 = fadd double %.0706915, %827
  %829 = load ptr, ptr %91, align 8, !tbaa !5
  %830 = getelementptr inbounds ptr, ptr %829, i64 %.16920
  %831 = load ptr, ptr %830, align 8, !tbaa !10
  %832 = getelementptr inbounds double, ptr %831, i64 %.0697945
  %833 = load double, ptr %832, align 8, !tbaa !8
  %834 = fsub double %812, %833
  %835 = fdiv double %834, %833
  %836 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %835, ptr noundef %1)
  %837 = fadd double %.0704916, %836
  br label %838

838:                                              ; preds = %802, %._crit_edge911
  %.1709 = phi double [ %820, %802 ], [ %.0708914, %._crit_edge911 ]
  %.1707 = phi double [ %828, %802 ], [ %.0706915, %._crit_edge911 ]
  %.1705 = phi double [ %837, %802 ], [ %.0704916, %._crit_edge911 ]
  %.not761 = icmp eq i64 %.16920, %296
  br i1 %.not761, label %852, label %839

839:                                              ; preds = %838
  %840 = load ptr, ptr %257, align 8, !tbaa !5
  %841 = getelementptr inbounds ptr, ptr %840, i64 %.16920
  %842 = load ptr, ptr %841, align 8, !tbaa !10
  %843 = load ptr, ptr %91, align 8, !tbaa !5
  %844 = getelementptr inbounds ptr, ptr %843, i64 %.16920
  %845 = load ptr, ptr %844, align 8, !tbaa !10
  %846 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %.0697945)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %842, i64 noundef 1, ptr noundef %845, i64 noundef 1, i64 noundef %846)
  %847 = load ptr, ptr %92, align 8, !tbaa !5
  %848 = getelementptr inbounds double, ptr %847, i64 %.16920
  %849 = load double, ptr %848, align 8, !tbaa !8
  %850 = load ptr, ptr %261, align 8, !tbaa !5
  %851 = getelementptr inbounds double, ptr %850, i64 %.16920
  store double %849, ptr %851, align 8, !tbaa !8
  br label %852

852:                                              ; preds = %838, %839
  %853 = add nuw nsw i64 %.16920, 1
  %exitcond1044.not = icmp eq i64 %853, %.1934
  br i1 %exitcond1044.not, label %._crit_edge922, label %.lr.ph921, !llvm.loop !49

._crit_edge922:                                   ; preds = %852, %.preheader802
  %.0708.lcssa = phi double [ 0.000000e+00, %.preheader802 ], [ %.1709, %852 ]
  %.0706.lcssa = phi double [ 0.000000e+00, %.preheader802 ], [ %.1707, %852 ]
  %.0704.lcssa = phi double [ 0.000000e+00, %.preheader802 ], [ %.1705, %852 ]
  %.0703.lcssa = phi double [ 0.000000e+00, %.preheader802 ], [ %755, %852 ]
  %.0702.lcssa = phi double [ 0.000000e+00, %.preheader802 ], [ %763, %852 ]
  %.0701.lcssa = phi double [ 0.000000e+00, %.preheader802 ], [ %772, %852 ]
  %854 = load i64, ptr %262, align 8, !tbaa !45
  %855 = sub nsw i64 %.1934, %854
  %856 = sitofp i64 %855 to double
  %857 = fdiv double %.0708.lcssa, %856
  %858 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %857, ptr noundef %1)
  %859 = load i64, ptr %262, align 8, !tbaa !45
  %860 = sub nsw i64 %.1934, %859
  %861 = sitofp i64 %860 to double
  %862 = fdiv double %.0706.lcssa, %861
  %863 = fdiv double %.0704.lcssa, %861
  %864 = sitofp i64 %.1934 to double
  %865 = fdiv double %.0703.lcssa, %864
  %866 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %865, ptr noundef %1)
  %867 = fdiv double %.0702.lcssa, %864
  %868 = fdiv double %.0701.lcssa, %864
  %869 = trunc nuw i8 %.3674932 to i1
  br i1 %869, label %.critedge788, label %870

870:                                              ; preds = %._crit_edge922
  %871 = load double, ptr %264, align 8, !tbaa !50
  %872 = fdiv double %871, %858
  %873 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %872, ptr noundef %1)
  %874 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %873, ptr noundef %1)
  %875 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1)
  %876 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %874, double noundef %875)
  br i1 %876, label %.critedge788, label %.critedge784

.critedge784:                                     ; preds = %870
  %877 = load double, ptr %265, align 8, !tbaa !51
  %878 = fdiv double %877, %862
  %879 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %878, ptr noundef %1)
  %880 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %879, ptr noundef %1)
  %881 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1)
  %882 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %880, double noundef %881)
  br i1 %882, label %.critedge788, label %.critedge785

.critedge785:                                     ; preds = %.critedge784
  %883 = load double, ptr %266, align 8, !tbaa !52
  %884 = fdiv double %883, %863
  %885 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %884, ptr noundef %1)
  %886 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %885, ptr noundef %1)
  %887 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1)
  %888 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %886, double noundef %887)
  br i1 %888, label %.critedge788, label %.critedge786

.critedge786:                                     ; preds = %.critedge785
  %889 = load double, ptr %267, align 8, !tbaa !53
  %890 = fdiv double %889, %866
  %891 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %890, ptr noundef %1)
  %892 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %891, ptr noundef %1)
  %893 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1)
  %894 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %892, double noundef %893)
  br i1 %894, label %.critedge788, label %.critedge787

.critedge787:                                     ; preds = %.critedge786
  %895 = load double, ptr %268, align 8, !tbaa !54
  %896 = fdiv double %895, %867
  %897 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %896, ptr noundef %1)
  %898 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %897, ptr noundef %1)
  %899 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1)
  %900 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %898, double noundef %899)
  br i1 %900, label %.critedge788, label %901

901:                                              ; preds = %.critedge787
  %902 = load double, ptr %269, align 8, !tbaa !55
  %903 = fdiv double %902, %868
  %904 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %903, ptr noundef %1)
  %905 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %904, ptr noundef %1)
  %906 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef 1.000010e+00, ptr noundef %1)
  %907 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %905, double noundef %906)
  br label %.critedge788

.critedge788:                                     ; preds = %.critedge786, %.critedge784, %._crit_edge922, %870, %.critedge785, %901, %.critedge787
  %908 = phi i1 [ true, %.critedge787 ], [ %907, %901 ], [ true, %.critedge785 ], [ true, %870 ], [ true, %._crit_edge922 ], [ true, %.critedge784 ], [ true, %.critedge786 ]
  %909 = zext i1 %908 to i8
  %910 = add i64 %.1934, 1
  %indvars.iv.next1041 = add i64 %indvars.iv1040, 1
  %exitcond1045.not = icmp eq i64 %.1934, %spec.select780
  br i1 %exitcond1045.not, label %._crit_edge937, label %295, !llvm.loop !56

._crit_edge937:                                   ; preds = %.critedge788, %287
  %.4686.lcssa = phi i8 [ %.3685946, %287 ], [ %724, %.critedge788 ]
  %.4679.lcssa = phi i8 [ %.3678947, %287 ], [ %.5680.lcssa, %.critedge788 ]
  %.3674.lcssa = phi i8 [ %.2673948, %287 ], [ %909, %.critedge788 ]
  %.3668.lcssa = phi i8 [ %.2667949, %287 ], [ %524, %.critedge788 ]
  %exitcond1046.not = icmp eq i64 %.0697945, %.4726
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond1046.not, label %._crit_edge952, label %.lr.ph951, !llvm.loop !57

._crit_edge952:                                   ; preds = %._crit_edge937, %273
  %.2735.lcssa = phi i64 [ %.1734959, %273 ], [ %spec.select780, %._crit_edge937 ]
  %.2729.lcssa = phi i64 [ %.1728960, %273 ], [ %spec.select781, %._crit_edge937 ]
  %.3685.lcssa = phi i8 [ %.2684964, %273 ], [ %.4686.lcssa, %._crit_edge937 ]
  %.3678.lcssa = phi i8 [ %.2677965, %273 ], [ %.4679.lcssa, %._crit_edge937 ]
  %.2673.lcssa = phi i8 [ %.1672966, %273 ], [ %.3674.lcssa, %._crit_edge937 ]
  %.2667.lcssa = phi i8 [ %.1666967, %273 ], [ %.3668.lcssa, %._crit_edge937 ]
  %911 = add nuw nsw i64 %.0698963, 1
  %exitcond1047.not = icmp eq i64 %911, 4
  br i1 %exitcond1047.not, label %912, label %273, !llvm.loop !58

912:                                              ; preds = %._crit_edge952
  br i1 %270, label %.preheader808, label %.preheader796, !llvm.loop !59

.preheader795:                                    ; preds = %.preheader796, %1041
  %.4669980 = phi i1 [ %272, %.preheader796 ], [ %1042, %1041 ]
  %.0694979 = phi i64 [ 1, %.preheader796 ], [ %1043, %1041 ]
  br label %915

.preheader794:                                    ; preds = %1041
  %913 = getelementptr inbounds i8, ptr %19, i64 56
  %914 = getelementptr inbounds i8, ptr %20, i64 56
  br label %1044

915:                                              ; preds = %.preheader795, %915
  %916 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %917 = fadd double %916, 1.000000e-01
  %918 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %919 = call double @llvm.fmuladd.f64(double %918, double 2.000000e+00, double -1.000000e+00)
  %920 = fsub double %917, %919
  %921 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %920, ptr noundef %1)
  %922 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %921, double noundef 5.000000e-02)
  br i1 %922, label %915, label %923, !llvm.loop !60

923:                                              ; preds = %915
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef 6, i64 noundef 2, ptr noundef %1)
  %924 = fsub double %919, %917
  %925 = fadd double %917, %919
  %926 = load ptr, ptr %91, align 8, !tbaa !5
  %927 = load ptr, ptr %926, align 8, !tbaa !10
  store double 0.000000e+00, ptr %927, align 8, !tbaa !8
  %928 = load ptr, ptr %91, align 8, !tbaa !5
  %929 = getelementptr inbounds i8, ptr %928, i64 8
  %930 = load ptr, ptr %929, align 8, !tbaa !10
  store double 0.000000e+00, ptr %930, align 8, !tbaa !8
  %931 = load ptr, ptr %91, align 8, !tbaa !5
  %932 = getelementptr inbounds i8, ptr %931, i64 16
  %933 = load ptr, ptr %932, align 8, !tbaa !10
  store double 0.000000e+00, ptr %933, align 8, !tbaa !8
  %934 = load ptr, ptr %91, align 8, !tbaa !5
  %935 = load ptr, ptr %934, align 8, !tbaa !10
  %936 = getelementptr inbounds i8, ptr %935, i64 8
  store double %924, ptr %936, align 8, !tbaa !8
  %937 = load ptr, ptr %91, align 8, !tbaa !5
  %938 = getelementptr inbounds i8, ptr %937, i64 8
  %939 = load ptr, ptr %938, align 8, !tbaa !10
  %940 = getelementptr inbounds i8, ptr %939, i64 8
  store double %919, ptr %940, align 8, !tbaa !8
  %941 = load ptr, ptr %91, align 8, !tbaa !5
  %942 = getelementptr inbounds i8, ptr %941, i64 16
  %943 = load ptr, ptr %942, align 8, !tbaa !10
  %944 = getelementptr inbounds i8, ptr %943, i64 8
  store double %925, ptr %944, align 8, !tbaa !8
  %945 = load ptr, ptr %91, align 8, !tbaa !5
  %946 = getelementptr inbounds i8, ptr %945, i64 24
  %947 = load ptr, ptr %946, align 8, !tbaa !10
  store double 1.000000e+00, ptr %947, align 8, !tbaa !8
  %948 = load ptr, ptr %91, align 8, !tbaa !5
  %949 = getelementptr inbounds i8, ptr %948, i64 32
  %950 = load ptr, ptr %949, align 8, !tbaa !10
  store double 1.000000e+00, ptr %950, align 8, !tbaa !8
  %951 = load ptr, ptr %91, align 8, !tbaa !5
  %952 = getelementptr inbounds i8, ptr %951, i64 40
  %953 = load ptr, ptr %952, align 8, !tbaa !10
  store double 1.000000e+00, ptr %953, align 8, !tbaa !8
  %954 = load ptr, ptr %91, align 8, !tbaa !5
  %955 = getelementptr inbounds i8, ptr %954, i64 24
  %956 = load ptr, ptr %955, align 8, !tbaa !10
  %957 = getelementptr inbounds i8, ptr %956, i64 8
  store double %924, ptr %957, align 8, !tbaa !8
  %958 = load ptr, ptr %91, align 8, !tbaa !5
  %959 = getelementptr inbounds i8, ptr %958, i64 32
  %960 = load ptr, ptr %959, align 8, !tbaa !10
  %961 = getelementptr inbounds i8, ptr %960, i64 8
  store double %919, ptr %961, align 8, !tbaa !8
  %962 = load ptr, ptr %91, align 8, !tbaa !5
  %963 = getelementptr inbounds i8, ptr %962, i64 40
  %964 = load ptr, ptr %963, align 8, !tbaa !10
  %965 = getelementptr inbounds i8, ptr %964, i64 8
  store double %925, ptr %965, align 8, !tbaa !8
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef 6, i64 noundef 1, ptr noundef nonnull %17, ptr noundef nonnull %31, ptr noundef %1)
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %15, ptr noundef nonnull %4, ptr noundef %1)
  %966 = call noundef double @_ZN11alglib_impl10lrrmserrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %5, i64 noundef 6, ptr noundef %1)
  br i1 %.4669980, label %.thread, label %968

.thread:                                          ; preds = %923
  %967 = call noundef double @_ZN11alglib_impl10lravgerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %5, i64 noundef 6, ptr noundef %1)
  br label %979

968:                                              ; preds = %923
  %969 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x3FE5555555555555, ptr noundef %1)
  %970 = fneg double %917
  %971 = call double @llvm.fmuladd.f64(double %970, double %969, double %966)
  %972 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %971, ptr noundef %1)
  %973 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %972, double noundef 5.000000e-10)
  %974 = call noundef double @_ZN11alglib_impl10lravgerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %5, i64 noundef 6, ptr noundef %1)
  br i1 %973, label %979, label %975

975:                                              ; preds = %968
  %976 = call double @llvm.fmuladd.f64(double %970, double 0x3FE5555555555555, double %974)
  %977 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %976, ptr noundef %1)
  %978 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %977, double noundef 5.000000e-10)
  br label %979

979:                                              ; preds = %.thread, %975, %968
  %980 = phi i1 [ true, %968 ], [ %978, %975 ], [ true, %.thread ]
  %981 = call noundef double @_ZN11alglib_impl13lravgrelerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %5, i64 noundef 6, ptr noundef %1)
  %982 = fdiv double %917, %924
  %983 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %982, ptr noundef %1)
  %984 = fdiv double %917, %925
  %985 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %984, ptr noundef %1)
  br i1 %980, label %993, label %986

986:                                              ; preds = %979
  %987 = fadd double %983, %985
  %988 = fdiv double %987, 3.000000e+00
  %989 = fsub double %981, %988
  %990 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %989, ptr noundef %1)
  %991 = fmul double %988, 5.000000e-10
  %992 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %990, double noundef %991)
  br label %993

993:                                              ; preds = %986, %979
  %994 = phi i1 [ true, %979 ], [ %992, %986 ]
  %995 = fneg double %917
  %996 = load ptr, ptr %91, align 8, !tbaa !5
  %997 = load ptr, ptr %996, align 8, !tbaa !10
  store double 0.000000e+00, ptr %997, align 8, !tbaa !8
  %998 = load ptr, ptr %91, align 8, !tbaa !5
  %999 = getelementptr inbounds i8, ptr %998, i64 8
  %1000 = load ptr, ptr %999, align 8, !tbaa !10
  store double 0.000000e+00, ptr %1000, align 8, !tbaa !8
  %1001 = load ptr, ptr %91, align 8, !tbaa !5
  %1002 = getelementptr inbounds i8, ptr %1001, i64 16
  %1003 = load ptr, ptr %1002, align 8, !tbaa !10
  store double 0.000000e+00, ptr %1003, align 8, !tbaa !8
  %1004 = load ptr, ptr %91, align 8, !tbaa !5
  %1005 = load ptr, ptr %1004, align 8, !tbaa !10
  %1006 = getelementptr inbounds i8, ptr %1005, i64 8
  store double %995, ptr %1006, align 8, !tbaa !8
  %1007 = load ptr, ptr %91, align 8, !tbaa !5
  %1008 = getelementptr inbounds i8, ptr %1007, i64 8
  %1009 = load ptr, ptr %1008, align 8, !tbaa !10
  %1010 = getelementptr inbounds i8, ptr %1009, i64 8
  store double 0.000000e+00, ptr %1010, align 8, !tbaa !8
  %1011 = load ptr, ptr %91, align 8, !tbaa !5
  %1012 = getelementptr inbounds i8, ptr %1011, i64 16
  %1013 = load ptr, ptr %1012, align 8, !tbaa !10
  %1014 = getelementptr inbounds i8, ptr %1013, i64 8
  store double %917, ptr %1014, align 8, !tbaa !8
  %1015 = load ptr, ptr %91, align 8, !tbaa !5
  %1016 = getelementptr inbounds i8, ptr %1015, i64 24
  %1017 = load ptr, ptr %1016, align 8, !tbaa !10
  store double 1.000000e+00, ptr %1017, align 8, !tbaa !8
  %1018 = load ptr, ptr %91, align 8, !tbaa !5
  %1019 = getelementptr inbounds i8, ptr %1018, i64 32
  %1020 = load ptr, ptr %1019, align 8, !tbaa !10
  store double 1.000000e+00, ptr %1020, align 8, !tbaa !8
  %1021 = load ptr, ptr %91, align 8, !tbaa !5
  %1022 = getelementptr inbounds i8, ptr %1021, i64 40
  %1023 = load ptr, ptr %1022, align 8, !tbaa !10
  store double 1.000000e+00, ptr %1023, align 8, !tbaa !8
  %1024 = load ptr, ptr %91, align 8, !tbaa !5
  %1025 = getelementptr inbounds i8, ptr %1024, i64 24
  %1026 = load ptr, ptr %1025, align 8, !tbaa !10
  %1027 = getelementptr inbounds i8, ptr %1026, i64 8
  store double %995, ptr %1027, align 8, !tbaa !8
  %1028 = load ptr, ptr %91, align 8, !tbaa !5
  %1029 = getelementptr inbounds i8, ptr %1028, i64 32
  %1030 = load ptr, ptr %1029, align 8, !tbaa !10
  %1031 = getelementptr inbounds i8, ptr %1030, i64 8
  store double 0.000000e+00, ptr %1031, align 8, !tbaa !8
  %1032 = load ptr, ptr %91, align 8, !tbaa !5
  %1033 = getelementptr inbounds i8, ptr %1032, i64 40
  %1034 = load ptr, ptr %1033, align 8, !tbaa !10
  %1035 = getelementptr inbounds i8, ptr %1034, i64 8
  store double %917, ptr %1035, align 8, !tbaa !8
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef 6, i64 noundef 1, ptr noundef nonnull %17, ptr noundef nonnull %31, ptr noundef %1)
  call void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %15, ptr noundef nonnull %4, ptr noundef %1)
  %1036 = call noundef double @_ZN11alglib_impl13lravgrelerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %5, i64 noundef 6, ptr noundef %1)
  br i1 %994, label %1041, label %1037

1037:                                             ; preds = %993
  %1038 = fadd double %1036, -1.000000e+00
  %1039 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1038, ptr noundef %1)
  %1040 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1039, double noundef 5.000000e-10)
  br label %1041

1041:                                             ; preds = %1037, %993
  %1042 = phi i1 [ true, %993 ], [ %1040, %1037 ]
  %1043 = add nuw nsw i64 %.0694979, 1
  %exitcond1048.not = icmp eq i64 %1043, 51
  br i1 %exitcond1048.not, label %.preheader794, label %.preheader795, !llvm.loop !61

1044:                                             ; preds = %.preheader794, %._crit_edge992
  %.5670994 = phi i1 [ %1042, %.preheader794 ], [ %1074, %._crit_edge992 ]
  %.1695993 = phi i64 [ 1, %.preheader794 ], [ %1075, %._crit_edge992 ]
  %1045 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 5, ptr noundef %1)
  %1046 = add i64 %1045, 1
  %1047 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 10, ptr noundef %1)
  %1048 = add nsw i64 %1047, 10
  %1049 = add i64 %1045, 2
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %1048, i64 noundef %1049, ptr noundef %1)
  %.not742985 = icmp slt i64 %1047, -9
  %.not744981 = icmp slt i64 %1045, -1
  %or.cond1087 = or i1 %.not742985, %.not744981
  br i1 %or.cond1087, label %._crit_edge987, label %.preheader.preheader

.preheader.preheader:                             ; preds = %1044
  %1050 = add i64 %1047, 9
  %smax1050 = call i64 @llvm.smax.i64(i64 %1050, i64 0)
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge984
  %.19986 = phi i64 [ %1059, %._crit_edge984 ], [ 0, %.preheader.preheader ]
  br label %1051

1051:                                             ; preds = %.preheader, %1051
  %.4691982 = phi i64 [ 0, %.preheader ], [ %1058, %1051 ]
  %1052 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %1053 = call double @llvm.fmuladd.f64(double %1052, double 2.000000e+00, double -1.000000e+00)
  %1054 = load ptr, ptr %91, align 8, !tbaa !5
  %1055 = getelementptr inbounds ptr, ptr %1054, i64 %.19986
  %1056 = load ptr, ptr %1055, align 8, !tbaa !10
  %1057 = getelementptr inbounds double, ptr %1056, i64 %.4691982
  store double %1053, ptr %1057, align 8, !tbaa !8
  %1058 = add nuw i64 %.4691982, 1
  %exitcond1049 = icmp eq i64 %1058, %1049
  br i1 %exitcond1049, label %._crit_edge984, label %1051, !llvm.loop !62

._crit_edge984:                                   ; preds = %1051
  %1059 = add nuw i64 %.19986, 1
  %exitcond1051.not = icmp eq i64 %.19986, %smax1050
  br i1 %exitcond1051.not, label %._crit_edge987, label %.preheader, !llvm.loop !63

._crit_edge987:                                   ; preds = %._crit_edge984, %1044
  call void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %1048, i64 noundef %1046, ptr noundef nonnull %16, ptr noundef nonnull %31, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef %1046, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %20, i64 noundef %1046, ptr noundef %1)
  call void @_ZL22testlinregunit_unsetlrPN11alglib_impl11linearmodelEPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef %1)
  call void @_ZN11alglib_impl6lrcopyEPKNS_11linearmodelEPS0_PNS_8ae_stateE(ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef %1)
  %.not743988 = icmp slt i64 %1045, 0
  br i1 %.not743988, label %._crit_edge992, label %.lr.ph991

.lr.ph991:                                        ; preds = %._crit_edge987, %.lr.ph991
  %.20989 = phi i64 [ %1069, %.lr.ph991 ], [ 0, %._crit_edge987 ]
  %1060 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %1061 = call double @llvm.fmuladd.f64(double %1060, double 2.000000e+00, double -1.000000e+00)
  %1062 = load ptr, ptr %913, align 8, !tbaa !5
  %1063 = getelementptr inbounds double, ptr %1062, i64 %.20989
  store double %1061, ptr %1063, align 8, !tbaa !8
  %1064 = load ptr, ptr %913, align 8, !tbaa !5
  %1065 = getelementptr inbounds double, ptr %1064, i64 %.20989
  %1066 = load double, ptr %1065, align 8, !tbaa !8
  %1067 = load ptr, ptr %914, align 8, !tbaa !5
  %1068 = getelementptr inbounds double, ptr %1067, i64 %.20989
  store double %1066, ptr %1068, align 8, !tbaa !8
  %1069 = add nuw i64 %.20989, 1
  %exitcond1052.not = icmp eq i64 %.20989, %1045
  br i1 %exitcond1052.not, label %._crit_edge992, label %.lr.ph991, !llvm.loop !64

._crit_edge992:                                   ; preds = %.lr.ph991, %._crit_edge987
  %1070 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %16, ptr noundef nonnull %19, ptr noundef %1)
  %1071 = call noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %20, ptr noundef %1)
  %1072 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1070, double noundef %1071)
  %1073 = xor i1 %1072, true
  %1074 = or i1 %.5670994, %1073
  %1075 = add nuw nsw i64 %.1695993, 1
  %exitcond1053.not = icmp eq i64 %1075, 11
  br i1 %exitcond1053.not, label %1076, label %1044, !llvm.loop !65

1076:                                             ; preds = %._crit_edge992
  %1077 = trunc nuw i8 %.3678.lcssa to i1
  br i1 %1077, label %1082, label %1078

1078:                                             ; preds = %1076
  %1079 = trunc nuw i8 %.3685.lcssa to i1
  br i1 %1079, label %1082, label %1080

1080:                                             ; preds = %1078
  %1081 = trunc nuw i8 %.2673.lcssa to i1
  %spec.select791 = select i1 %1081, i1 true, i1 %1074
  br label %1082

1082:                                             ; preds = %1080, %1078, %1076
  %1083 = phi i1 [ true, %1078 ], [ true, %1076 ], [ %spec.select791, %1080 ]
  br i1 %0, label %1115, label %1084

1084:                                             ; preds = %1082
  %1085 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1044)
  %1086 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1045)
  %1087 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %1088 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1046)
  %1089 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %1090 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1047)
  br i1 %1077, label %1098, label %.thread790

.thread790:                                       ; preds = %1084
  %1091 = trunc nuw i8 %.3685.lcssa to i1
  %1092 = trunc nuw i8 %.2673.lcssa to i1
  %1093 = select i1 %1091, i1 true, i1 %1092
  %or.cond1090 = select i1 %1093, i1 true, i1 %1074
  %.str.3.sink = select i1 %or.cond1090, ptr @.str.2, ptr @.str.3
  %1094 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink)
  %1095 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1048)
  %1096 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %1097 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1049)
  br i1 %1091, label %1103, label %1104

1098:                                             ; preds = %1084
  %1099 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %1100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1048)
  %.pre1060 = trunc nuw i8 %.3685.lcssa to i1
  %1101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %1102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1049)
  br i1 %.pre1060, label %1103, label %1104

1103:                                             ; preds = %1098, %.thread790
  br label %1104

1104:                                             ; preds = %.thread790, %1098, %1103
  %.str.2.sink = phi ptr [ @.str.2, %1103 ], [ @.str.3, %1098 ], [ @.str.3, %.thread790 ]
  %1105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink)
  %1106 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1050)
  %1107 = trunc nuw i8 %.2673.lcssa to i1
  %.str.2..str.3 = select i1 %1107, ptr @.str.2, ptr @.str.3
  %1108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2..str.3)
  %1109 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1051)
  %1110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %1111 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1052)
  %.str.2.sink1089 = select i1 %1074, ptr @.str.2, ptr @.str.3
  %1112 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink1089)
  %.str.47.sink = select i1 %1083, ptr @.str.46, ptr @.str.47
  %1113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.47.sink)
  %1114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  br label %1115

1115:                                             ; preds = %1104, %1082
  %1116 = xor i1 %1083, true
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  ret i1 %1116
}

declare void @_ZN11alglib_impl17_linearmodel_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN11alglib_impl14_lrreport_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN11alglib_impl8lrbuildsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl8lrunpackEPKNS_11linearmodelEPNS_9ae_vectorEPlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl7lrlinesEPKNS_9ae_matrixEPKNS_9ae_vectorElPdS6_S6_S6_S6_S6_S6_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl7lrbuildEPKNS_9ae_matrixEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl6lrlineEPKNS_9ae_matrixElPdS3_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZL29testlinregunit_generatenormalddPN11alglib_impl8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN11alglib_impl9lrbuildzsEPKNS_9ae_matrixEPKNS_9ae_vectorEllPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare noundef double @_ZN11alglib_impl9lrprocessEPKNS_11linearmodelEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl6lrpackEPKNS_9ae_vectorElPNS_11linearmodelEPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL26testlinregunit_calculatemvPKN11alglib_impl9ae_vectorElPdS3_S3_S3_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare noundef double @_ZN11alglib_impl10lrrmserrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare noundef double @_ZN11alglib_impl10lravgerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare noundef double @_ZN11alglib_impl13lravgrelerrorEPKNS_11linearmodelEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22testlinregunit_unsetlrPN11alglib_impl11linearmodelEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN11alglib_impl6lrcopyEPKNS_11linearmodelEPS0_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree nounwind "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"double", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.unroll.disable"}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}
!25 = distinct !{!25, !13}
!26 = distinct !{!26, !13}
!27 = distinct !{!27, !13}
!28 = distinct !{!28, !13}
!29 = distinct !{!29, !13}
!30 = distinct !{!30, !13}
!31 = distinct !{!31, !22}
!32 = distinct !{!32, !13}
!33 = distinct !{!33, !13}
!34 = distinct !{!34, !13}
!35 = distinct !{!35, !13}
!36 = !{!37, !39, i64 16}
!37 = !{!"_ZTSN11alglib_impl8lrreportE", !38, i64 0, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !39, i64 128, !42, i64 136}
!38 = !{!"_ZTSN11alglib_impl9ae_matrixE", !39, i64 0, !39, i64 8, !39, i64 16, !39, i64 24, !40, i64 32, !41, i64 40, !6, i64 72}
!39 = !{!"long", !6, i64 0}
!40 = !{!"bool", !6, i64 0}
!41 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!42 = !{!"_ZTSN11alglib_impl9ae_vectorE", !39, i64 0, !39, i64 8, !40, i64 16, !41, i64 24, !6, i64 56}
!43 = distinct !{!43, !13}
!44 = distinct !{!44, !13}
!45 = !{!37, !39, i64 128}
!46 = !{!39, !39, i64 0}
!47 = distinct !{!47, !13}
!48 = distinct !{!48, !22}
!49 = distinct !{!49, !13}
!50 = !{!37, !9, i64 104}
!51 = !{!37, !9, i64 112}
!52 = !{!37, !9, i64 120}
!53 = !{!37, !9, i64 80}
!54 = !{!37, !9, i64 88}
!55 = !{!37, !9, i64 96}
!56 = distinct !{!56, !13}
!57 = distinct !{!57, !13}
!58 = distinct !{!58, !13}
!59 = distinct !{!59, !13}
!60 = distinct !{!60, !13}
!61 = distinct !{!61, !13}
!62 = distinct !{!62, !13}
!63 = distinct !{!63, !13}
!64 = distinct !{!64, !13}
!65 = distinct !{!65, !13}


; Effective O3 passes: ADCEPass,AggressiveInstCombinePass,BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass