; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z11testspdgevdbPN11alglib_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_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { 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 }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.723 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.724 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.725 = 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 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) #2

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_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

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

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_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z11testspdgevdbPN11alglib_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 i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %15 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %16 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %17 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %18 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %19 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = zext i1 %0 to i8
  store i8 %35, 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 64, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 1, 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 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %36, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 80, i1 false)
  %37 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %12, i64 noundef 0, i64 noundef 3, ptr noundef %37, i1 noundef zeroext true)
  %38 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %13, i64 noundef 0, i64 noundef 3, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %14, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %15, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %40, i1 noundef zeroext true)
  %41 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %16, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %41, i1 noundef zeroext true)
  %42 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %17, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %42, i1 noundef zeroext true)
  %43 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %18, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %43, i1 noundef zeroext true)
  %44 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %19, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %44, i1 noundef zeroext true)
  store double 0x3D95FD7FE1796496, ptr %30, align 8, !tbaa !11
  store double 0.000000e+00, ptr %29, align 8, !tbaa !11
  store i8 0, ptr %32, align 1, !tbaa !5
  store i8 0, ptr %33, align 1, !tbaa !5
  store i64 20, ptr %9, align 8, !tbaa !13
  store i64 5, ptr %8, align 8, !tbaa !13
  store i64 1, ptr %7, align 8, !tbaa !13
  br label %45

45:                                               ; preds = %697, %2
  %46 = load i64, ptr %7, align 8, !tbaa !13
  %47 = load i64, ptr %9, align 8, !tbaa !13
  %48 = icmp sle i64 %46, %47
  br i1 %48, label %49, label %700

49:                                               ; preds = %45
  store i64 1, ptr %6, align 8, !tbaa !13
  br label %50

50:                                               ; preds = %693, %49
  %51 = load i64, ptr %6, align 8, !tbaa !13
  %52 = load i64, ptr %8, align 8, !tbaa !13
  %53 = icmp sle i64 %51, %52
  br i1 %53, label %54, label %696

54:                                               ; preds = %50
  store i64 0, ptr %10, align 8, !tbaa !13
  br label %55

55:                                               ; preds = %689, %54
  %56 = load i64, ptr %10, align 8, !tbaa !13
  %57 = icmp sle i64 %56, 1
  br i1 %57, label %58, label %692

58:                                               ; preds = %55
  store i64 0, ptr %11, align 8, !tbaa !13
  br label %59

59:                                               ; preds = %685, %58
  %60 = load i64, ptr %11, align 8, !tbaa !13
  %61 = icmp sle i64 %60, 1
  br i1 %61, label %62, label %688

62:                                               ; preds = %59
  %63 = load i64, ptr %10, align 8, !tbaa !13
  %64 = icmp eq i64 %63, 0
  %65 = zext i1 %64 to i8
  store i8 %65, ptr %20, align 1, !tbaa !5
  %66 = load i64, ptr %11, align 8, !tbaa !13
  %67 = icmp eq i64 %66, 0
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %21, align 1, !tbaa !5
  %69 = load i64, ptr %7, align 8, !tbaa !13
  %70 = sub nsw i64 %69, 1
  %71 = add nsw i64 %70, 1
  %72 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %13, i64 noundef %71, ptr noundef %72)
  %73 = load i64, ptr %7, align 8, !tbaa !13
  %74 = sub nsw i64 %73, 1
  %75 = add nsw i64 %74, 1
  %76 = load i64, ptr %7, align 8, !tbaa !13
  %77 = sub nsw i64 %76, 1
  %78 = add nsw i64 %77, 1
  %79 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %14, i64 noundef %75, i64 noundef %78, ptr noundef %79)
  %80 = load i64, ptr %7, align 8, !tbaa !13
  %81 = sub nsw i64 %80, 1
  %82 = add nsw i64 %81, 1
  %83 = load i64, ptr %7, align 8, !tbaa !13
  %84 = sub nsw i64 %83, 1
  %85 = add nsw i64 %84, 1
  %86 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %15, i64 noundef %82, i64 noundef %85, ptr noundef %86)
  %87 = load i64, ptr %7, align 8, !tbaa !13
  %88 = sub nsw i64 %87, 1
  %89 = add nsw i64 %88, 1
  %90 = load i64, ptr %7, align 8, !tbaa !13
  %91 = sub nsw i64 %90, 1
  %92 = add nsw i64 %91, 1
  %93 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %16, i64 noundef %89, i64 noundef %92, ptr noundef %93)
  %94 = load i64, ptr %7, align 8, !tbaa !13
  %95 = sub nsw i64 %94, 1
  %96 = add nsw i64 %95, 1
  %97 = load i64, ptr %7, align 8, !tbaa !13
  %98 = sub nsw i64 %97, 1
  %99 = add nsw i64 %98, 1
  %100 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %17, i64 noundef %96, i64 noundef %99, ptr noundef %100)
  %101 = load i64, ptr %7, align 8, !tbaa !13
  %102 = sub nsw i64 %101, 1
  %103 = add nsw i64 %102, 1
  %104 = load i64, ptr %7, align 8, !tbaa !13
  %105 = sub nsw i64 %104, 1
  %106 = add nsw i64 %105, 1
  %107 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %18, i64 noundef %103, i64 noundef %106, ptr noundef %107)
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %108

108:                                              ; preds = %179, %62
  %109 = load i64, ptr %22, align 8, !tbaa !13
  %110 = load i64, ptr %7, align 8, !tbaa !13
  %111 = sub nsw i64 %110, 1
  %112 = icmp sle i64 %109, %111
  br i1 %112, label %113, label %182

113:                                              ; preds = %108
  store i64 0, ptr %23, align 8, !tbaa !13
  br label %114

114:                                              ; preds = %175, %113
  %115 = load i64, ptr %23, align 8, !tbaa !13
  %116 = load i64, ptr %7, align 8, !tbaa !13
  %117 = sub nsw i64 %116, 1
  %118 = icmp sle i64 %115, %117
  br i1 %118, label %119, label %178

119:                                              ; preds = %114
  %120 = load ptr, ptr %4, align 8, !tbaa !9
  %121 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %120)
  %122 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %121, double -1.000000e+00)
  %123 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 6
  %124 = load ptr, ptr %123, align 8, !tbaa !15
  %125 = load i64, ptr %22, align 8, !tbaa !13
  %126 = getelementptr inbounds ptr, ptr %124, i64 %125
  %127 = load ptr, ptr %126, align 8, !tbaa !9
  %128 = load i64, ptr %23, align 8, !tbaa !13
  %129 = getelementptr inbounds double, ptr %127, i64 %128
  store double %122, ptr %129, align 8, !tbaa !11
  %130 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 6
  %131 = load ptr, ptr %130, align 8, !tbaa !15
  %132 = load i64, ptr %22, align 8, !tbaa !13
  %133 = getelementptr inbounds ptr, ptr %131, i64 %132
  %134 = load ptr, ptr %133, align 8, !tbaa !9
  %135 = load i64, ptr %23, align 8, !tbaa !13
  %136 = getelementptr inbounds double, ptr %134, i64 %135
  %137 = load double, ptr %136, align 8, !tbaa !11
  %138 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 6
  %139 = load ptr, ptr %138, align 8, !tbaa !15
  %140 = load i64, ptr %23, align 8, !tbaa !13
  %141 = getelementptr inbounds ptr, ptr %139, i64 %140
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %143 = load i64, ptr %22, align 8, !tbaa !13
  %144 = getelementptr inbounds double, ptr %142, i64 %143
  store double %137, ptr %144, align 8, !tbaa !11
  %145 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 6
  %146 = load ptr, ptr %145, align 8, !tbaa !15
  %147 = load i64, ptr %22, align 8, !tbaa !13
  %148 = getelementptr inbounds ptr, ptr %146, i64 %147
  %149 = load ptr, ptr %148, align 8, !tbaa !9
  %150 = load i64, ptr %23, align 8, !tbaa !13
  %151 = getelementptr inbounds double, ptr %149, i64 %150
  %152 = load double, ptr %151, align 8, !tbaa !11
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %154 = load ptr, ptr %153, align 8, !tbaa !15
  %155 = load i64, ptr %22, align 8, !tbaa !13
  %156 = getelementptr inbounds ptr, ptr %154, i64 %155
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = load i64, ptr %23, align 8, !tbaa !13
  %159 = getelementptr inbounds double, ptr %157, i64 %158
  store double %152, ptr %159, align 8, !tbaa !11
  %160 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 6
  %161 = load ptr, ptr %160, align 8, !tbaa !15
  %162 = load i64, ptr %22, align 8, !tbaa !13
  %163 = getelementptr inbounds ptr, ptr %161, i64 %162
  %164 = load ptr, ptr %163, align 8, !tbaa !9
  %165 = load i64, ptr %23, align 8, !tbaa !13
  %166 = getelementptr inbounds double, ptr %164, i64 %165
  %167 = load double, ptr %166, align 8, !tbaa !11
  %168 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %169 = load ptr, ptr %168, align 8, !tbaa !15
  %170 = load i64, ptr %23, align 8, !tbaa !13
  %171 = getelementptr inbounds ptr, ptr %169, i64 %170
  %172 = load ptr, ptr %171, align 8, !tbaa !9
  %173 = load i64, ptr %22, align 8, !tbaa !13
  %174 = getelementptr inbounds double, ptr %172, i64 %173
  store double %167, ptr %174, align 8, !tbaa !11
  br label %175

175:                                              ; preds = %119
  %176 = load i64, ptr %23, align 8, !tbaa !13
  %177 = add nsw i64 %176, 1
  store i64 %177, ptr %23, align 8, !tbaa !13
  br label %114, !llvm.loop !16

178:                                              ; preds = %114
  br label %179

179:                                              ; preds = %178
  %180 = load i64, ptr %22, align 8, !tbaa !13
  %181 = add nsw i64 %180, 1
  store i64 %181, ptr %22, align 8, !tbaa !13
  br label %108, !llvm.loop !18

182:                                              ; preds = %108
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %183

183:                                              ; preds = %235, %182
  %184 = load i64, ptr %22, align 8, !tbaa !13
  %185 = load i64, ptr %7, align 8, !tbaa !13
  %186 = sub nsw i64 %185, 1
  %187 = icmp sle i64 %184, %186
  br i1 %187, label %188, label %238

188:                                              ; preds = %183
  %189 = load i64, ptr %22, align 8, !tbaa !13
  %190 = add nsw i64 %189, 1
  store i64 %190, ptr %23, align 8, !tbaa !13
  br label %191

191:                                              ; preds = %221, %188
  %192 = load i64, ptr %23, align 8, !tbaa !13
  %193 = load i64, ptr %7, align 8, !tbaa !13
  %194 = sub nsw i64 %193, 1
  %195 = icmp sle i64 %192, %194
  br i1 %195, label %196, label %224

196:                                              ; preds = %191
  %197 = load ptr, ptr %4, align 8, !tbaa !9
  %198 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %197)
  %199 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %200 = load ptr, ptr %199, align 8, !tbaa !15
  %201 = load i64, ptr %22, align 8, !tbaa !13
  %202 = getelementptr inbounds ptr, ptr %200, i64 %201
  %203 = load ptr, ptr %202, align 8, !tbaa !9
  %204 = load i64, ptr %23, align 8, !tbaa !13
  %205 = getelementptr inbounds double, ptr %203, i64 %204
  store double %198, ptr %205, align 8, !tbaa !11
  %206 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %207 = load ptr, ptr %206, align 8, !tbaa !15
  %208 = load i64, ptr %22, align 8, !tbaa !13
  %209 = getelementptr inbounds ptr, ptr %207, i64 %208
  %210 = load ptr, ptr %209, align 8, !tbaa !9
  %211 = load i64, ptr %23, align 8, !tbaa !13
  %212 = getelementptr inbounds double, ptr %210, i64 %211
  %213 = load double, ptr %212, align 8, !tbaa !11
  %214 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %215 = load ptr, ptr %214, align 8, !tbaa !15
  %216 = load i64, ptr %23, align 8, !tbaa !13
  %217 = getelementptr inbounds ptr, ptr %215, i64 %216
  %218 = load ptr, ptr %217, align 8, !tbaa !9
  %219 = load i64, ptr %22, align 8, !tbaa !13
  %220 = getelementptr inbounds double, ptr %218, i64 %219
  store double %213, ptr %220, align 8, !tbaa !11
  br label %221

221:                                              ; preds = %196
  %222 = load i64, ptr %23, align 8, !tbaa !13
  %223 = add nsw i64 %222, 1
  store i64 %223, ptr %23, align 8, !tbaa !13
  br label %191, !llvm.loop !19

224:                                              ; preds = %191
  %225 = load ptr, ptr %4, align 8, !tbaa !9
  %226 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %225)
  %227 = fadd double 1.500000e+00, %226
  %228 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %229 = load ptr, ptr %228, align 8, !tbaa !15
  %230 = load i64, ptr %22, align 8, !tbaa !13
  %231 = getelementptr inbounds ptr, ptr %229, i64 %230
  %232 = load ptr, ptr %231, align 8, !tbaa !9
  %233 = load i64, ptr %22, align 8, !tbaa !13
  %234 = getelementptr inbounds double, ptr %232, i64 %233
  store double %227, ptr %234, align 8, !tbaa !11
  br label %235

235:                                              ; preds = %224
  %236 = load i64, ptr %22, align 8, !tbaa !13
  %237 = add nsw i64 %236, 1
  store i64 %237, ptr %22, align 8, !tbaa !13
  br label %183, !llvm.loop !20

238:                                              ; preds = %183
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %239

239:                                              ; preds = %308, %238
  %240 = load i64, ptr %22, align 8, !tbaa !13
  %241 = load i64, ptr %7, align 8, !tbaa !13
  %242 = sub nsw i64 %241, 1
  %243 = icmp sle i64 %240, %242
  br i1 %243, label %244, label %311

244:                                              ; preds = %239
  store i64 0, ptr %23, align 8, !tbaa !13
  br label %245

245:                                              ; preds = %304, %244
  %246 = load i64, ptr %23, align 8, !tbaa !13
  %247 = load i64, ptr %7, align 8, !tbaa !13
  %248 = sub nsw i64 %247, 1
  %249 = icmp sle i64 %246, %248
  br i1 %249, label %250, label %307

250:                                              ; preds = %245
  %251 = load i64, ptr %22, align 8, !tbaa !13
  %252 = load i64, ptr %23, align 8, !tbaa !13
  %253 = load ptr, ptr %4, align 8, !tbaa !9
  %254 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %251, i64 noundef %252, ptr noundef %253)
  store i64 %254, ptr %24, align 8, !tbaa !13
  %255 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %256 = load ptr, ptr %255, align 8, !tbaa !15
  %257 = load i64, ptr %22, align 8, !tbaa !13
  %258 = getelementptr inbounds ptr, ptr %256, i64 %257
  %259 = load ptr, ptr %258, align 8, !tbaa !9
  %260 = getelementptr inbounds double, ptr %259, i64 0
  %261 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %262 = load ptr, ptr %261, align 8, !tbaa !15
  %263 = getelementptr inbounds ptr, ptr %262, i64 0
  %264 = load ptr, ptr %263, align 8, !tbaa !9
  %265 = load i64, ptr %23, align 8, !tbaa !13
  %266 = getelementptr inbounds double, ptr %264, i64 %265
  %267 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 2
  %268 = load i64, ptr %267, align 8, !tbaa !21
  %269 = load i64, ptr %24, align 8, !tbaa !13
  %270 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %269)
  %271 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %260, i64 noundef 1, ptr noundef %266, i64 noundef %268, i64 noundef %270)
  store double %271, ptr %25, align 8, !tbaa !11
  %272 = load double, ptr %25, align 8, !tbaa !11
  %273 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %15, i32 0, i32 6
  %274 = load ptr, ptr %273, align 8, !tbaa !15
  %275 = load i64, ptr %22, align 8, !tbaa !13
  %276 = getelementptr inbounds ptr, ptr %274, i64 %275
  %277 = load ptr, ptr %276, align 8, !tbaa !9
  %278 = load i64, ptr %23, align 8, !tbaa !13
  %279 = getelementptr inbounds double, ptr %277, i64 %278
  store double %272, ptr %279, align 8, !tbaa !11
  %280 = load double, ptr %25, align 8, !tbaa !11
  %281 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %15, i32 0, i32 6
  %282 = load ptr, ptr %281, align 8, !tbaa !15
  %283 = load i64, ptr %23, align 8, !tbaa !13
  %284 = getelementptr inbounds ptr, ptr %282, i64 %283
  %285 = load ptr, ptr %284, align 8, !tbaa !9
  %286 = load i64, ptr %22, align 8, !tbaa !13
  %287 = getelementptr inbounds double, ptr %285, i64 %286
  store double %280, ptr %287, align 8, !tbaa !11
  %288 = load double, ptr %25, align 8, !tbaa !11
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %290 = load ptr, ptr %289, align 8, !tbaa !15
  %291 = load i64, ptr %22, align 8, !tbaa !13
  %292 = getelementptr inbounds ptr, ptr %290, i64 %291
  %293 = load ptr, ptr %292, align 8, !tbaa !9
  %294 = load i64, ptr %23, align 8, !tbaa !13
  %295 = getelementptr inbounds double, ptr %293, i64 %294
  store double %288, ptr %295, align 8, !tbaa !11
  %296 = load double, ptr %25, align 8, !tbaa !11
  %297 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %298 = load ptr, ptr %297, align 8, !tbaa !15
  %299 = load i64, ptr %23, align 8, !tbaa !13
  %300 = getelementptr inbounds ptr, ptr %298, i64 %299
  %301 = load ptr, ptr %300, align 8, !tbaa !9
  %302 = load i64, ptr %22, align 8, !tbaa !13
  %303 = getelementptr inbounds double, ptr %301, i64 %302
  store double %296, ptr %303, align 8, !tbaa !11
  br label %304

304:                                              ; preds = %250
  %305 = load i64, ptr %23, align 8, !tbaa !13
  %306 = add nsw i64 %305, 1
  store i64 %306, ptr %23, align 8, !tbaa !13
  br label %245, !llvm.loop !24

307:                                              ; preds = %245
  br label %308

308:                                              ; preds = %307
  %309 = load i64, ptr %22, align 8, !tbaa !13
  %310 = add nsw i64 %309, 1
  store i64 %310, ptr %22, align 8, !tbaa !13
  br label %239, !llvm.loop !25

311:                                              ; preds = %239
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %312

312:                                              ; preds = %398, %311
  %313 = load i64, ptr %22, align 8, !tbaa !13
  %314 = load i64, ptr %7, align 8, !tbaa !13
  %315 = sub nsw i64 %314, 1
  %316 = icmp sle i64 %313, %315
  br i1 %316, label %317, label %401

317:                                              ; preds = %312
  store i64 0, ptr %23, align 8, !tbaa !13
  br label %318

318:                                              ; preds = %394, %317
  %319 = load i64, ptr %23, align 8, !tbaa !13
  %320 = load i64, ptr %7, align 8, !tbaa !13
  %321 = sub nsw i64 %320, 1
  %322 = icmp sle i64 %319, %321
  br i1 %322, label %323, label %397

323:                                              ; preds = %318
  %324 = load i8, ptr %20, align 1, !tbaa !5, !range !26, !noundef !27
  %325 = trunc i8 %324 to i1
  br i1 %325, label %326, label %342

326:                                              ; preds = %323
  %327 = load i64, ptr %23, align 8, !tbaa !13
  %328 = load i64, ptr %22, align 8, !tbaa !13
  %329 = icmp slt i64 %327, %328
  br i1 %329, label %330, label %341

330:                                              ; preds = %326
  %331 = load ptr, ptr %4, align 8, !tbaa !9
  %332 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %331)
  %333 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %332, double -1.000000e+00)
  %334 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 6
  %335 = load ptr, ptr %334, align 8, !tbaa !15
  %336 = load i64, ptr %22, align 8, !tbaa !13
  %337 = getelementptr inbounds ptr, ptr %335, i64 %336
  %338 = load ptr, ptr %337, align 8, !tbaa !9
  %339 = load i64, ptr %23, align 8, !tbaa !13
  %340 = getelementptr inbounds double, ptr %338, i64 %339
  store double %333, ptr %340, align 8, !tbaa !11
  br label %341

341:                                              ; preds = %330, %326
  br label %358

342:                                              ; preds = %323
  %343 = load i64, ptr %22, align 8, !tbaa !13
  %344 = load i64, ptr %23, align 8, !tbaa !13
  %345 = icmp slt i64 %343, %344
  br i1 %345, label %346, label %357

346:                                              ; preds = %342
  %347 = load ptr, ptr %4, align 8, !tbaa !9
  %348 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %347)
  %349 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %348, double -1.000000e+00)
  %350 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 6
  %351 = load ptr, ptr %350, align 8, !tbaa !15
  %352 = load i64, ptr %22, align 8, !tbaa !13
  %353 = getelementptr inbounds ptr, ptr %351, i64 %352
  %354 = load ptr, ptr %353, align 8, !tbaa !9
  %355 = load i64, ptr %23, align 8, !tbaa !13
  %356 = getelementptr inbounds double, ptr %354, i64 %355
  store double %349, ptr %356, align 8, !tbaa !11
  br label %357

357:                                              ; preds = %346, %342
  br label %358

358:                                              ; preds = %357, %341
  %359 = load i8, ptr %21, align 1, !tbaa !5, !range !26, !noundef !27
  %360 = trunc i8 %359 to i1
  br i1 %360, label %361, label %377

361:                                              ; preds = %358
  %362 = load i64, ptr %23, align 8, !tbaa !13
  %363 = load i64, ptr %22, align 8, !tbaa !13
  %364 = icmp slt i64 %362, %363
  br i1 %364, label %365, label %376

365:                                              ; preds = %361
  %366 = load ptr, ptr %4, align 8, !tbaa !9
  %367 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %366)
  %368 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %367, double -1.000000e+00)
  %369 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %15, i32 0, i32 6
  %370 = load ptr, ptr %369, align 8, !tbaa !15
  %371 = load i64, ptr %22, align 8, !tbaa !13
  %372 = getelementptr inbounds ptr, ptr %370, i64 %371
  %373 = load ptr, ptr %372, align 8, !tbaa !9
  %374 = load i64, ptr %23, align 8, !tbaa !13
  %375 = getelementptr inbounds double, ptr %373, i64 %374
  store double %368, ptr %375, align 8, !tbaa !11
  br label %376

376:                                              ; preds = %365, %361
  br label %393

377:                                              ; preds = %358
  %378 = load i64, ptr %22, align 8, !tbaa !13
  %379 = load i64, ptr %23, align 8, !tbaa !13
  %380 = icmp slt i64 %378, %379
  br i1 %380, label %381, label %392

381:                                              ; preds = %377
  %382 = load ptr, ptr %4, align 8, !tbaa !9
  %383 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %382)
  %384 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %383, double -1.000000e+00)
  %385 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %15, i32 0, i32 6
  %386 = load ptr, ptr %385, align 8, !tbaa !15
  %387 = load i64, ptr %22, align 8, !tbaa !13
  %388 = getelementptr inbounds ptr, ptr %386, i64 %387
  %389 = load ptr, ptr %388, align 8, !tbaa !9
  %390 = load i64, ptr %23, align 8, !tbaa !13
  %391 = getelementptr inbounds double, ptr %389, i64 %390
  store double %384, ptr %391, align 8, !tbaa !11
  br label %392

392:                                              ; preds = %381, %377
  br label %393

393:                                              ; preds = %392, %376
  br label %394

394:                                              ; preds = %393
  %395 = load i64, ptr %23, align 8, !tbaa !13
  %396 = add nsw i64 %395, 1
  store i64 %396, ptr %23, align 8, !tbaa !13
  br label %318, !llvm.loop !28

397:                                              ; preds = %318
  br label %398

398:                                              ; preds = %397
  %399 = load i64, ptr %22, align 8, !tbaa !13
  %400 = add nsw i64 %399, 1
  store i64 %400, ptr %22, align 8, !tbaa !13
  br label %312, !llvm.loop !29

401:                                              ; preds = %312
  %402 = load i64, ptr %7, align 8, !tbaa !13
  %403 = load i8, ptr %20, align 1, !tbaa !5, !range !26, !noundef !27
  %404 = trunc i8 %403 to i1
  %405 = load i8, ptr %21, align 1, !tbaa !5, !range !26, !noundef !27
  %406 = trunc i8 %405 to i1
  %407 = load ptr, ptr %4, align 8, !tbaa !9
  %408 = call noundef zeroext i1 @_ZN11alglib_impl11smatrixgevdEPNS_9ae_matrixElbS1_bllPNS_9ae_vectorES1_PNS_8ae_stateE(ptr noundef %14, i64 noundef %402, i1 noundef zeroext %404, ptr noundef %15, i1 noundef zeroext %406, i64 noundef 1, i64 noundef 1, ptr noundef %12, ptr noundef %19, ptr noundef %407)
  br i1 %408, label %410, label %409

409:                                              ; preds = %401
  store i8 1, ptr %32, align 1, !tbaa !5
  br label %685

410:                                              ; preds = %401
  store double 0.000000e+00, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %23, align 8, !tbaa !13
  br label %411

411:                                              ; preds = %477, %410
  %412 = load i64, ptr %23, align 8, !tbaa !13
  %413 = load i64, ptr %7, align 8, !tbaa !13
  %414 = sub nsw i64 %413, 1
  %415 = icmp sle i64 %412, %414
  br i1 %415, label %416, label %480

416:                                              ; preds = %411
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %417

417:                                              ; preds = %473, %416
  %418 = load i64, ptr %22, align 8, !tbaa !13
  %419 = load i64, ptr %7, align 8, !tbaa !13
  %420 = sub nsw i64 %419, 1
  %421 = icmp sle i64 %418, %420
  br i1 %421, label %422, label %476

422:                                              ; preds = %417
  %423 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %424 = load ptr, ptr %423, align 8, !tbaa !15
  %425 = load i64, ptr %22, align 8, !tbaa !13
  %426 = getelementptr inbounds ptr, ptr %424, i64 %425
  %427 = load ptr, ptr %426, align 8, !tbaa !9
  %428 = getelementptr inbounds double, ptr %427, i64 0
  %429 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %430 = load ptr, ptr %429, align 8, !tbaa !15
  %431 = getelementptr inbounds ptr, ptr %430, i64 0
  %432 = load ptr, ptr %431, align 8, !tbaa !9
  %433 = load i64, ptr %23, align 8, !tbaa !13
  %434 = getelementptr inbounds double, ptr %432, i64 %433
  %435 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 2
  %436 = load i64, ptr %435, align 8, !tbaa !21
  %437 = load i64, ptr %7, align 8, !tbaa !13
  %438 = sub nsw i64 %437, 1
  %439 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %438)
  %440 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %428, i64 noundef 1, ptr noundef %434, i64 noundef %436, i64 noundef %439)
  store double %440, ptr %26, align 8, !tbaa !11
  %441 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %442 = load ptr, ptr %441, align 8, !tbaa !15
  %443 = load i64, ptr %22, align 8, !tbaa !13
  %444 = getelementptr inbounds ptr, ptr %442, i64 %443
  %445 = load ptr, ptr %444, align 8, !tbaa !9
  %446 = getelementptr inbounds double, ptr %445, i64 0
  %447 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %448 = load ptr, ptr %447, align 8, !tbaa !15
  %449 = getelementptr inbounds ptr, ptr %448, i64 0
  %450 = load ptr, ptr %449, align 8, !tbaa !9
  %451 = load i64, ptr %23, align 8, !tbaa !13
  %452 = getelementptr inbounds double, ptr %450, i64 %451
  %453 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 2
  %454 = load i64, ptr %453, align 8, !tbaa !21
  %455 = load i64, ptr %7, align 8, !tbaa !13
  %456 = sub nsw i64 %455, 1
  %457 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %456)
  %458 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %446, i64 noundef 1, ptr noundef %452, i64 noundef %454, i64 noundef %457)
  store double %458, ptr %27, align 8, !tbaa !11
  %459 = load double, ptr %28, align 8, !tbaa !11
  %460 = load double, ptr %26, align 8, !tbaa !11
  %461 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %462 = load ptr, ptr %461, align 8, !tbaa !15
  %463 = load i64, ptr %23, align 8, !tbaa !13
  %464 = getelementptr inbounds double, ptr %462, i64 %463
  %465 = load double, ptr %464, align 8, !tbaa !11
  %466 = load double, ptr %27, align 8, !tbaa !11
  %467 = fneg double %465
  %468 = call double @llvm.fmuladd.f64(double %467, double %466, double %460)
  %469 = load ptr, ptr %4, align 8, !tbaa !9
  %470 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %468, ptr noundef %469)
  %471 = load ptr, ptr %4, align 8, !tbaa !9
  %472 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %459, double noundef %470, ptr noundef %471)
  store double %472, ptr %28, align 8, !tbaa !11
  br label %473

473:                                              ; preds = %422
  %474 = load i64, ptr %22, align 8, !tbaa !13
  %475 = add nsw i64 %474, 1
  store i64 %475, ptr %22, align 8, !tbaa !13
  br label %417, !llvm.loop !30

476:                                              ; preds = %417
  br label %477

477:                                              ; preds = %476
  %478 = load i64, ptr %23, align 8, !tbaa !13
  %479 = add nsw i64 %478, 1
  store i64 %479, ptr %23, align 8, !tbaa !13
  br label %411, !llvm.loop !31

480:                                              ; preds = %411
  %481 = load double, ptr %28, align 8, !tbaa !11
  %482 = load double, ptr %29, align 8, !tbaa !11
  %483 = load ptr, ptr %4, align 8, !tbaa !9
  %484 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %481, double noundef %482, ptr noundef %483)
  store double %484, ptr %29, align 8, !tbaa !11
  %485 = load i64, ptr %7, align 8, !tbaa !13
  %486 = load i8, ptr %20, align 1, !tbaa !5, !range !26, !noundef !27
  %487 = trunc i8 %486 to i1
  %488 = load i8, ptr %21, align 1, !tbaa !5, !range !26, !noundef !27
  %489 = trunc i8 %488 to i1
  %490 = load ptr, ptr %4, align 8, !tbaa !9
  %491 = call noundef zeroext i1 @_ZN11alglib_impl11smatrixgevdEPNS_9ae_matrixElbS1_bllPNS_9ae_vectorES1_PNS_8ae_stateE(ptr noundef %14, i64 noundef %485, i1 noundef zeroext %487, ptr noundef %15, i1 noundef zeroext %489, i64 noundef 1, i64 noundef 2, ptr noundef %12, ptr noundef %19, ptr noundef %490)
  br i1 %491, label %493, label %492

492:                                              ; preds = %480
  store i8 1, ptr %32, align 1, !tbaa !5
  br label %685

493:                                              ; preds = %480
  store double 0.000000e+00, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %23, align 8, !tbaa !13
  br label %494

494:                                              ; preds = %577, %493
  %495 = load i64, ptr %23, align 8, !tbaa !13
  %496 = load i64, ptr %7, align 8, !tbaa !13
  %497 = sub nsw i64 %496, 1
  %498 = icmp sle i64 %495, %497
  br i1 %498, label %499, label %580

499:                                              ; preds = %494
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %500

500:                                              ; preds = %529, %499
  %501 = load i64, ptr %22, align 8, !tbaa !13
  %502 = load i64, ptr %7, align 8, !tbaa !13
  %503 = sub nsw i64 %502, 1
  %504 = icmp sle i64 %501, %503
  br i1 %504, label %505, label %532

505:                                              ; preds = %500
  %506 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %507 = load ptr, ptr %506, align 8, !tbaa !15
  %508 = load i64, ptr %22, align 8, !tbaa !13
  %509 = getelementptr inbounds ptr, ptr %507, i64 %508
  %510 = load ptr, ptr %509, align 8, !tbaa !9
  %511 = getelementptr inbounds double, ptr %510, i64 0
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %513 = load ptr, ptr %512, align 8, !tbaa !15
  %514 = getelementptr inbounds ptr, ptr %513, i64 0
  %515 = load ptr, ptr %514, align 8, !tbaa !9
  %516 = load i64, ptr %23, align 8, !tbaa !13
  %517 = getelementptr inbounds double, ptr %515, i64 %516
  %518 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 2
  %519 = load i64, ptr %518, align 8, !tbaa !21
  %520 = load i64, ptr %7, align 8, !tbaa !13
  %521 = sub nsw i64 %520, 1
  %522 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %521)
  %523 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %511, i64 noundef 1, ptr noundef %517, i64 noundef %519, i64 noundef %522)
  store double %523, ptr %26, align 8, !tbaa !11
  %524 = load double, ptr %26, align 8, !tbaa !11
  %525 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %526 = load ptr, ptr %525, align 8, !tbaa !15
  %527 = load i64, ptr %22, align 8, !tbaa !13
  %528 = getelementptr inbounds double, ptr %526, i64 %527
  store double %524, ptr %528, align 8, !tbaa !11
  br label %529

529:                                              ; preds = %505
  %530 = load i64, ptr %22, align 8, !tbaa !13
  %531 = add nsw i64 %530, 1
  store i64 %531, ptr %22, align 8, !tbaa !13
  br label %500, !llvm.loop !32

532:                                              ; preds = %500
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %533

533:                                              ; preds = %573, %532
  %534 = load i64, ptr %22, align 8, !tbaa !13
  %535 = load i64, ptr %7, align 8, !tbaa !13
  %536 = sub nsw i64 %535, 1
  %537 = icmp sle i64 %534, %536
  br i1 %537, label %538, label %576

538:                                              ; preds = %533
  %539 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %540 = load ptr, ptr %539, align 8, !tbaa !15
  %541 = load i64, ptr %22, align 8, !tbaa !13
  %542 = getelementptr inbounds ptr, ptr %540, i64 %541
  %543 = load ptr, ptr %542, align 8, !tbaa !9
  %544 = getelementptr inbounds double, ptr %543, i64 0
  %545 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %546 = load ptr, ptr %545, align 8, !tbaa !15
  %547 = getelementptr inbounds double, ptr %546, i64 0
  %548 = load i64, ptr %7, align 8, !tbaa !13
  %549 = sub nsw i64 %548, 1
  %550 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %549)
  %551 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %544, i64 noundef 1, ptr noundef %547, i64 noundef 1, i64 noundef %550)
  store double %551, ptr %27, align 8, !tbaa !11
  %552 = load double, ptr %28, align 8, !tbaa !11
  %553 = load double, ptr %27, align 8, !tbaa !11
  %554 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %555 = load ptr, ptr %554, align 8, !tbaa !15
  %556 = load i64, ptr %23, align 8, !tbaa !13
  %557 = getelementptr inbounds double, ptr %555, i64 %556
  %558 = load double, ptr %557, align 8, !tbaa !11
  %559 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %560 = load ptr, ptr %559, align 8, !tbaa !15
  %561 = load i64, ptr %22, align 8, !tbaa !13
  %562 = getelementptr inbounds ptr, ptr %560, i64 %561
  %563 = load ptr, ptr %562, align 8, !tbaa !9
  %564 = load i64, ptr %23, align 8, !tbaa !13
  %565 = getelementptr inbounds double, ptr %563, i64 %564
  %566 = load double, ptr %565, align 8, !tbaa !11
  %567 = fneg double %558
  %568 = call double @llvm.fmuladd.f64(double %567, double %566, double %553)
  %569 = load ptr, ptr %4, align 8, !tbaa !9
  %570 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %568, ptr noundef %569)
  %571 = load ptr, ptr %4, align 8, !tbaa !9
  %572 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %552, double noundef %570, ptr noundef %571)
  store double %572, ptr %28, align 8, !tbaa !11
  br label %573

573:                                              ; preds = %538
  %574 = load i64, ptr %22, align 8, !tbaa !13
  %575 = add nsw i64 %574, 1
  store i64 %575, ptr %22, align 8, !tbaa !13
  br label %533, !llvm.loop !33

576:                                              ; preds = %533
  br label %577

577:                                              ; preds = %576
  %578 = load i64, ptr %23, align 8, !tbaa !13
  %579 = add nsw i64 %578, 1
  store i64 %579, ptr %23, align 8, !tbaa !13
  br label %494, !llvm.loop !34

580:                                              ; preds = %494
  %581 = load double, ptr %28, align 8, !tbaa !11
  %582 = load double, ptr %29, align 8, !tbaa !11
  %583 = load ptr, ptr %4, align 8, !tbaa !9
  %584 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %581, double noundef %582, ptr noundef %583)
  store double %584, ptr %29, align 8, !tbaa !11
  %585 = load i64, ptr %7, align 8, !tbaa !13
  %586 = load i8, ptr %20, align 1, !tbaa !5, !range !26, !noundef !27
  %587 = trunc i8 %586 to i1
  %588 = load i8, ptr %21, align 1, !tbaa !5, !range !26, !noundef !27
  %589 = trunc i8 %588 to i1
  %590 = load ptr, ptr %4, align 8, !tbaa !9
  %591 = call noundef zeroext i1 @_ZN11alglib_impl11smatrixgevdEPNS_9ae_matrixElbS1_bllPNS_9ae_vectorES1_PNS_8ae_stateE(ptr noundef %14, i64 noundef %585, i1 noundef zeroext %587, ptr noundef %15, i1 noundef zeroext %589, i64 noundef 1, i64 noundef 3, ptr noundef %12, ptr noundef %19, ptr noundef %590)
  br i1 %591, label %593, label %592

592:                                              ; preds = %580
  store i8 1, ptr %32, align 1, !tbaa !5
  br label %685

593:                                              ; preds = %580
  store double 0.000000e+00, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %23, align 8, !tbaa !13
  br label %594

594:                                              ; preds = %677, %593
  %595 = load i64, ptr %23, align 8, !tbaa !13
  %596 = load i64, ptr %7, align 8, !tbaa !13
  %597 = sub nsw i64 %596, 1
  %598 = icmp sle i64 %595, %597
  br i1 %598, label %599, label %680

599:                                              ; preds = %594
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %600

600:                                              ; preds = %629, %599
  %601 = load i64, ptr %22, align 8, !tbaa !13
  %602 = load i64, ptr %7, align 8, !tbaa !13
  %603 = sub nsw i64 %602, 1
  %604 = icmp sle i64 %601, %603
  br i1 %604, label %605, label %632

605:                                              ; preds = %600
  %606 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %607 = load ptr, ptr %606, align 8, !tbaa !15
  %608 = load i64, ptr %22, align 8, !tbaa !13
  %609 = getelementptr inbounds ptr, ptr %607, i64 %608
  %610 = load ptr, ptr %609, align 8, !tbaa !9
  %611 = getelementptr inbounds double, ptr %610, i64 0
  %612 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %613 = load ptr, ptr %612, align 8, !tbaa !15
  %614 = getelementptr inbounds ptr, ptr %613, i64 0
  %615 = load ptr, ptr %614, align 8, !tbaa !9
  %616 = load i64, ptr %23, align 8, !tbaa !13
  %617 = getelementptr inbounds double, ptr %615, i64 %616
  %618 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 2
  %619 = load i64, ptr %618, align 8, !tbaa !21
  %620 = load i64, ptr %7, align 8, !tbaa !13
  %621 = sub nsw i64 %620, 1
  %622 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %621)
  %623 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %611, i64 noundef 1, ptr noundef %617, i64 noundef %619, i64 noundef %622)
  store double %623, ptr %26, align 8, !tbaa !11
  %624 = load double, ptr %26, align 8, !tbaa !11
  %625 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %626 = load ptr, ptr %625, align 8, !tbaa !15
  %627 = load i64, ptr %22, align 8, !tbaa !13
  %628 = getelementptr inbounds double, ptr %626, i64 %627
  store double %624, ptr %628, align 8, !tbaa !11
  br label %629

629:                                              ; preds = %605
  %630 = load i64, ptr %22, align 8, !tbaa !13
  %631 = add nsw i64 %630, 1
  store i64 %631, ptr %22, align 8, !tbaa !13
  br label %600, !llvm.loop !35

632:                                              ; preds = %600
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %633

633:                                              ; preds = %673, %632
  %634 = load i64, ptr %22, align 8, !tbaa !13
  %635 = load i64, ptr %7, align 8, !tbaa !13
  %636 = sub nsw i64 %635, 1
  %637 = icmp sle i64 %634, %636
  br i1 %637, label %638, label %676

638:                                              ; preds = %633
  %639 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %640 = load ptr, ptr %639, align 8, !tbaa !15
  %641 = load i64, ptr %22, align 8, !tbaa !13
  %642 = getelementptr inbounds ptr, ptr %640, i64 %641
  %643 = load ptr, ptr %642, align 8, !tbaa !9
  %644 = getelementptr inbounds double, ptr %643, i64 0
  %645 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %646 = load ptr, ptr %645, align 8, !tbaa !15
  %647 = getelementptr inbounds double, ptr %646, i64 0
  %648 = load i64, ptr %7, align 8, !tbaa !13
  %649 = sub nsw i64 %648, 1
  %650 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %649)
  %651 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %644, i64 noundef 1, ptr noundef %647, i64 noundef 1, i64 noundef %650)
  store double %651, ptr %27, align 8, !tbaa !11
  %652 = load double, ptr %28, align 8, !tbaa !11
  %653 = load double, ptr %27, align 8, !tbaa !11
  %654 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %655 = load ptr, ptr %654, align 8, !tbaa !15
  %656 = load i64, ptr %23, align 8, !tbaa !13
  %657 = getelementptr inbounds double, ptr %655, i64 %656
  %658 = load double, ptr %657, align 8, !tbaa !11
  %659 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %660 = load ptr, ptr %659, align 8, !tbaa !15
  %661 = load i64, ptr %22, align 8, !tbaa !13
  %662 = getelementptr inbounds ptr, ptr %660, i64 %661
  %663 = load ptr, ptr %662, align 8, !tbaa !9
  %664 = load i64, ptr %23, align 8, !tbaa !13
  %665 = getelementptr inbounds double, ptr %663, i64 %664
  %666 = load double, ptr %665, align 8, !tbaa !11
  %667 = fneg double %658
  %668 = call double @llvm.fmuladd.f64(double %667, double %666, double %653)
  %669 = load ptr, ptr %4, align 8, !tbaa !9
  %670 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %668, ptr noundef %669)
  %671 = load ptr, ptr %4, align 8, !tbaa !9
  %672 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %652, double noundef %670, ptr noundef %671)
  store double %672, ptr %28, align 8, !tbaa !11
  br label %673

673:                                              ; preds = %638
  %674 = load i64, ptr %22, align 8, !tbaa !13
  %675 = add nsw i64 %674, 1
  store i64 %675, ptr %22, align 8, !tbaa !13
  br label %633, !llvm.loop !36

676:                                              ; preds = %633
  br label %677

677:                                              ; preds = %676
  %678 = load i64, ptr %23, align 8, !tbaa !13
  %679 = add nsw i64 %678, 1
  store i64 %679, ptr %23, align 8, !tbaa !13
  br label %594, !llvm.loop !37

680:                                              ; preds = %594
  %681 = load double, ptr %28, align 8, !tbaa !11
  %682 = load double, ptr %29, align 8, !tbaa !11
  %683 = load ptr, ptr %4, align 8, !tbaa !9
  %684 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %681, double noundef %682, ptr noundef %683)
  store double %684, ptr %29, align 8, !tbaa !11
  br label %685

685:                                              ; preds = %680, %592, %492, %409
  %686 = load i64, ptr %11, align 8, !tbaa !13
  %687 = add nsw i64 %686, 1
  store i64 %687, ptr %11, align 8, !tbaa !13
  br label %59, !llvm.loop !38

688:                                              ; preds = %59
  br label %689

689:                                              ; preds = %688
  %690 = load i64, ptr %10, align 8, !tbaa !13
  %691 = add nsw i64 %690, 1
  store i64 %691, ptr %10, align 8, !tbaa !13
  br label %55, !llvm.loop !39

692:                                              ; preds = %55
  br label %693

693:                                              ; preds = %692
  %694 = load i64, ptr %6, align 8, !tbaa !13
  %695 = add nsw i64 %694, 1
  store i64 %695, ptr %6, align 8, !tbaa !13
  br label %50, !llvm.loop !40

696:                                              ; preds = %50
  br label %697

697:                                              ; preds = %696
  %698 = load i64, ptr %7, align 8, !tbaa !13
  %699 = add nsw i64 %698, 1
  store i64 %699, ptr %7, align 8, !tbaa !13
  br label %45, !llvm.loop !41

700:                                              ; preds = %45
  %701 = load double, ptr %29, align 8, !tbaa !11
  %702 = load double, ptr %30, align 8, !tbaa !11
  %703 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %701, double noundef %702)
  br i1 %703, label %710, label %704

704:                                              ; preds = %700
  %705 = load i8, ptr %32, align 1, !tbaa !5, !range !26, !noundef !27
  %706 = trunc i8 %705 to i1
  br i1 %706, label %710, label %707

707:                                              ; preds = %704
  %708 = load i8, ptr %33, align 1, !tbaa !5, !range !26, !noundef !27
  %709 = trunc i8 %708 to i1
  br label %710

710:                                              ; preds = %707, %704, %700
  %711 = phi i1 [ true, %704 ], [ true, %700 ], [ %709, %707 ]
  %712 = zext i1 %711 to i8
  store i8 %712, ptr %31, align 1, !tbaa !5
  %713 = load i8, ptr %3, align 1, !tbaa !5, !range !26, !noundef !27
  %714 = trunc i8 %713 to i1
  br i1 %714, label %745, label %715

715:                                              ; preds = %710
  %716 = call i32 (ptr, ...) @printf(ptr noundef @.str.723)
  %717 = load double, ptr %29, align 8, !tbaa !11
  %718 = call i32 (ptr, ...) @printf(ptr noundef @.str.724, double noundef %717)
  %719 = call i32 (ptr, ...) @printf(ptr noundef @.str.725)
  %720 = load i8, ptr %33, align 1, !tbaa !5, !range !26, !noundef !27
  %721 = trunc i8 %720 to i1
  br i1 %721, label %724, label %722

722:                                              ; preds = %715
  %723 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %726

724:                                              ; preds = %715
  %725 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %726

726:                                              ; preds = %724, %722
  %727 = call i32 (ptr, ...) @printf(ptr noundef @.str.300)
  %728 = load i8, ptr %32, align 1, !tbaa !5, !range !26, !noundef !27
  %729 = trunc i8 %728 to i1
  br i1 %729, label %732, label %730

730:                                              ; preds = %726
  %731 = call i32 (ptr, ...) @printf(ptr noundef @.str.301)
  br label %734

732:                                              ; preds = %726
  %733 = call i32 (ptr, ...) @printf(ptr noundef @.str.302)
  br label %734

734:                                              ; preds = %732, %730
  %735 = load double, ptr %30, align 8, !tbaa !11
  %736 = call i32 (ptr, ...) @printf(ptr noundef @.str.196, double noundef %735)
  %737 = load i8, ptr %31, align 1, !tbaa !5, !range !26, !noundef !27
  %738 = trunc i8 %737 to i1
  br i1 %738, label %739, label %741

739:                                              ; preds = %734
  %740 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %743

741:                                              ; preds = %734
  %742 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %743

743:                                              ; preds = %741, %739
  %744 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %745

745:                                              ; preds = %743, %710
  %746 = load i8, ptr %31, align 1, !tbaa !5, !range !26, !noundef !27
  %747 = trunc i8 %746 to i1
  %748 = xor i1 %747, true
  %749 = zext i1 %748 to i8
  store i8 %749, ptr %34, align 1, !tbaa !5
  %750 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %750)
  %751 = load i8, ptr %34, align 1, !tbaa !5, !range !26, !noundef !27
  %752 = trunc i8 %751 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 1, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 64, 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 %752
}

declare noundef zeroext i1 @_ZN11alglib_impl11smatrixgevdEPNS_9ae_matrixElbS1_bllPNS_9ae_vectorES1_PNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext, i64 noundef, i64 noundef, 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 nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = !{!22, !14, i64 16}
!22 = !{!"_ZTSN11alglib_impl9ae_matrixE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !6, i64 32, !23, i64 40, !7, i64 72}
!23 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!24 = distinct !{!24, !17}
!25 = distinct !{!25, !17}
!26 = !{i8 0, i8 2}
!27 = !{}
!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 = distinct !{!40, !17}
!41 = distinct !{!41, !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_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { 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 }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.723 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.724 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.725 = 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

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

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) 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

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 #1

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

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

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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z11testspdgevdbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca %"struct.alglib_impl::ae_vector", align 8
  %5 = alloca %"struct.alglib_impl::ae_vector", align 8
  %6 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %7 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %8 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %9 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %10 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %11 = alloca %"struct.alglib_impl::ae_matrix", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %11) #6
  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(64) %4, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %5, i8 0, i64 64, 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(80) %7, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %8, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %9, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %10, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %11, i8 0, i64 80, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %4, 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 %5, 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_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %7, 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 %8, 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 %9, 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 %10, 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 %11, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  %12 = getelementptr inbounds i8, ptr %6, i64 72
  %13 = getelementptr inbounds i8, ptr %8, i64 72
  %14 = getelementptr inbounds i8, ptr %10, i64 72
  %15 = getelementptr inbounds i8, ptr %10, i64 16
  %16 = getelementptr inbounds i8, ptr %7, i64 72
  %17 = getelementptr inbounds i8, ptr %9, i64 72
  %18 = getelementptr inbounds i8, ptr %11, i64 72
  %19 = getelementptr inbounds i8, ptr %11, i64 16
  %20 = getelementptr inbounds i8, ptr %4, i64 56
  %21 = getelementptr inbounds i8, ptr %5, i64 56
  br label %.preheader284

.preheader284:                                    ; preds = %2, %301
  %.0225332 = phi i64 [ 1, %2 ], [ %302, %301 ]
  %.0226331 = phi i8 [ 0, %2 ], [ %.4, %301 ]
  %.0229330 = phi double [ 0.000000e+00, %2 ], [ %.4233, %301 ]
  %22 = add nsw i64 %.0225332, -1
  br label %.preheader283

.preheader283:                                    ; preds = %.preheader284, %299
  %.0329 = phi i64 [ 1, %.preheader284 ], [ %300, %299 ]
  %.1328 = phi i8 [ %.0226331, %.preheader284 ], [ %.4, %299 ]
  %.1230327 = phi double [ %.0229330, %.preheader284 ], [ %.4233, %299 ]
  br label %.preheader282

.preheader282:                                    ; preds = %.preheader283, %298
  %.2326 = phi i8 [ %.1328, %.preheader283 ], [ %.4, %298 ]
  %23 = phi i1 [ true, %.preheader283 ], [ false, %298 ]
  %.2231324 = phi double [ %.1230327, %.preheader283 ], [ %.4233, %298 ]
  br label %24

24:                                               ; preds = %.preheader282, %296
  %.3323 = phi i8 [ %.2326, %.preheader282 ], [ %.4, %296 ]
  %.0228322 = phi i64 [ 0, %.preheader282 ], [ %297, %296 ]
  %.3232321 = phi double [ %.2231324, %.preheader282 ], [ %.4233, %296 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.0225332, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %.0225332, i64 noundef %.0225332, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %.0225332, i64 noundef %.0225332, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0225332, i64 noundef %.0225332, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %.0225332, i64 noundef %.0225332, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %.0225332, i64 noundef %.0225332, ptr noundef %1)
  br label %.preheader275

.preheader275:                                    ; preds = %24, %59
  %.0239286 = phi i64 [ 0, %24 ], [ %60, %59 ]
  br label %25

25:                                               ; preds = %.preheader275, %25
  %.0245285 = phi i64 [ 0, %.preheader275 ], [ %58, %25 ]
  %26 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %27 = call double @llvm.fmuladd.f64(double %26, double 2.000000e+00, double -1.000000e+00)
  %28 = load ptr, ptr %12, align 8, !tbaa !5
  %29 = getelementptr inbounds ptr, ptr %28, i64 %.0239286
  %30 = load ptr, ptr %29, align 8, !tbaa !8
  %31 = getelementptr inbounds double, ptr %30, i64 %.0245285
  store double %27, ptr %31, align 8, !tbaa !10
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  %33 = getelementptr inbounds ptr, ptr %32, i64 %.0239286
  %34 = load ptr, ptr %33, align 8, !tbaa !8
  %35 = getelementptr inbounds double, ptr %34, i64 %.0245285
  %36 = load double, ptr %35, align 8, !tbaa !10
  %37 = getelementptr inbounds ptr, ptr %32, i64 %.0245285
  %38 = load ptr, ptr %37, align 8, !tbaa !8
  %39 = getelementptr inbounds double, ptr %38, i64 %.0239286
  store double %36, ptr %39, align 8, !tbaa !10
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = getelementptr inbounds ptr, ptr %40, i64 %.0239286
  %42 = load ptr, ptr %41, align 8, !tbaa !8
  %43 = getelementptr inbounds double, ptr %42, i64 %.0245285
  %44 = load double, ptr %43, align 8, !tbaa !10
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  %46 = getelementptr inbounds ptr, ptr %45, i64 %.0239286
  %47 = load ptr, ptr %46, align 8, !tbaa !8
  %48 = getelementptr inbounds double, ptr %47, i64 %.0245285
  store double %44, ptr %48, align 8, !tbaa !10
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = getelementptr inbounds ptr, ptr %49, i64 %.0239286
  %51 = load ptr, ptr %50, align 8, !tbaa !8
  %52 = getelementptr inbounds double, ptr %51, i64 %.0245285
  %53 = load double, ptr %52, align 8, !tbaa !10
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = getelementptr inbounds ptr, ptr %54, i64 %.0245285
  %56 = load ptr, ptr %55, align 8, !tbaa !8
  %57 = getelementptr inbounds double, ptr %56, i64 %.0239286
  store double %53, ptr %57, align 8, !tbaa !10
  %58 = add nuw nsw i64 %.0245285, 1
  %exitcond.not = icmp eq i64 %58, %.0225332
  br i1 %exitcond.not, label %59, label %25, !llvm.loop !12

59:                                               ; preds = %25
  %60 = add nuw nsw i64 %.0239286, 1
  %exitcond338.not = icmp eq i64 %60, %.0225332
  br i1 %exitcond338.not, label %.preheader281, label %.preheader275, !llvm.loop !14

.preheader281:                                    ; preds = %59, %._crit_edge
  %.1240289 = phi i64 [ %61, %._crit_edge ], [ 0, %59 ]
  %61 = add nuw nsw i64 %.1240289, 1
  %.not.not267287 = icmp ult i64 %61, %.0225332
  br i1 %.not.not267287, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader281, %.lr.ph
  %.1246288 = phi i64 [ %75, %.lr.ph ], [ %61, %.preheader281 ]
  %62 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  %64 = getelementptr inbounds ptr, ptr %63, i64 %.1240289
  %65 = load ptr, ptr %64, align 8, !tbaa !8
  %66 = getelementptr inbounds double, ptr %65, i64 %.1246288
  store double %62, ptr %66, align 8, !tbaa !10
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = getelementptr inbounds ptr, ptr %67, i64 %.1240289
  %69 = load ptr, ptr %68, align 8, !tbaa !8
  %70 = getelementptr inbounds double, ptr %69, i64 %.1246288
  %71 = load double, ptr %70, align 8, !tbaa !10
  %72 = getelementptr inbounds ptr, ptr %67, i64 %.1246288
  %73 = load ptr, ptr %72, align 8, !tbaa !8
  %74 = getelementptr inbounds double, ptr %73, i64 %.1240289
  store double %71, ptr %74, align 8, !tbaa !10
  %75 = add nuw nsw i64 %.1246288, 1
  %.not.not267 = icmp ult i64 %75, %.0225332
  br i1 %.not.not267, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph, %.preheader281
  %76 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %77 = fadd double %76, 1.500000e+00
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = getelementptr inbounds ptr, ptr %78, i64 %.1240289
  %80 = load ptr, ptr %79, align 8, !tbaa !8
  %81 = getelementptr inbounds double, ptr %80, i64 %.1240289
  store double %77, ptr %81, align 8, !tbaa !10
  %exitcond339.not = icmp eq i64 %61, %.0225332
  br i1 %exitcond339.not, label %.preheader274, label %.preheader281, !llvm.loop !16

.preheader279:                                    ; preds = %170
  %82 = icmp eq i64 %.0228322, 0
  br i1 %23, label %.preheader279.split.us, label %.preheader279.split

.preheader279.split.us:                           ; preds = %.preheader279
  br i1 %82, label %.preheader273.us.us, label %.preheader273.us

.preheader273.us.us:                              ; preds = %.preheader279.split.us, %.split.us.split.us.us.us
  %.3242296.us.us = phi i64 [ %100, %.split.us.split.us.us.us ], [ 0, %.preheader279.split.us ]
  br label %83

83:                                               ; preds = %98, %.preheader273.us.us
  %.3248292.us.us.us.us = phi i64 [ 0, %.preheader273.us.us ], [ %99, %98 ]
  %84 = icmp ult i64 %.3248292.us.us.us.us, %.3242296.us.us
  br i1 %84, label %85, label %98

85:                                               ; preds = %83
  %86 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %87 = call double @llvm.fmuladd.f64(double %86, double 2.000000e+00, double -1.000000e+00)
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = getelementptr inbounds ptr, ptr %88, i64 %.3242296.us.us
  %90 = load ptr, ptr %89, align 8, !tbaa !8
  %91 = getelementptr inbounds double, ptr %90, i64 %.3248292.us.us.us.us
  store double %87, ptr %91, align 8, !tbaa !10
  %92 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %93 = call double @llvm.fmuladd.f64(double %92, double 2.000000e+00, double -1.000000e+00)
  %94 = load ptr, ptr %16, align 8, !tbaa !5
  %95 = getelementptr inbounds ptr, ptr %94, i64 %.3242296.us.us
  %96 = load ptr, ptr %95, align 8, !tbaa !8
  %97 = getelementptr inbounds double, ptr %96, i64 %.3248292.us.us.us.us
  store double %93, ptr %97, align 8, !tbaa !10
  br label %98

98:                                               ; preds = %83, %85
  %99 = add nuw nsw i64 %.3248292.us.us.us.us, 1
  %exitcond348.not = icmp eq i64 %99, %.0225332
  br i1 %exitcond348.not, label %.split.us.split.us.us.us, label %83, !llvm.loop !17

.split.us.split.us.us.us:                         ; preds = %98
  %100 = add nuw nsw i64 %.3242296.us.us, 1
  %exitcond349.not = icmp eq i64 %100, %.0225332
  br i1 %exitcond349.not, label %.split303.us, label %.preheader273.us.us, !llvm.loop !18

.preheader273.us:                                 ; preds = %.preheader279.split.us, %.split.us.split.us300
  %.3242296.us = phi i64 [ %121, %.split.us.split.us300 ], [ 0, %.preheader279.split.us ]
  br label %101

101:                                              ; preds = %.preheader273.us, %119
  %.3248292.us.us298 = phi i64 [ 0, %.preheader273.us ], [ %120, %119 ]
  %102 = icmp ult i64 %.3248292.us.us298, %.3242296.us
  br i1 %102, label %103, label %110

103:                                              ; preds = %101
  %104 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %105 = call double @llvm.fmuladd.f64(double %104, double 2.000000e+00, double -1.000000e+00)
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = getelementptr inbounds ptr, ptr %106, i64 %.3242296.us
  %108 = load ptr, ptr %107, align 8, !tbaa !8
  %109 = getelementptr inbounds double, ptr %108, i64 %.3248292.us.us298
  store double %105, ptr %109, align 8, !tbaa !10
  br label %110

110:                                              ; preds = %103, %101
  %111 = icmp ult i64 %.3242296.us, %.3248292.us.us298
  br i1 %111, label %112, label %119

112:                                              ; preds = %110
  %113 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %114 = call double @llvm.fmuladd.f64(double %113, double 2.000000e+00, double -1.000000e+00)
  %115 = load ptr, ptr %16, align 8, !tbaa !5
  %116 = getelementptr inbounds ptr, ptr %115, i64 %.3242296.us
  %117 = load ptr, ptr %116, align 8, !tbaa !8
  %118 = getelementptr inbounds double, ptr %117, i64 %.3248292.us.us298
  store double %114, ptr %118, align 8, !tbaa !10
  br label %119

119:                                              ; preds = %112, %110
  %120 = add nuw nsw i64 %.3248292.us.us298, 1
  %exitcond346.not = icmp eq i64 %120, %.0225332
  br i1 %exitcond346.not, label %.split.us.split.us300, label %101, !llvm.loop !17

.split.us.split.us300:                            ; preds = %119
  %121 = add nuw nsw i64 %.3242296.us, 1
  %exitcond347.not = icmp eq i64 %121, %.0225332
  br i1 %exitcond347.not, label %.split303.us, label %.preheader273.us, !llvm.loop !18

.preheader279.split:                              ; preds = %.preheader279
  br i1 %82, label %.preheader273.us304, label %.preheader273

.preheader273.us304:                              ; preds = %.preheader279.split, %.split.split.us.us
  %.3242296.us305 = phi i64 [ %142, %.split.split.us.us ], [ 0, %.preheader279.split ]
  br label %122

122:                                              ; preds = %140, %.preheader273.us304
  %.3248292.us293.us = phi i64 [ 0, %.preheader273.us304 ], [ %141, %140 ]
  %123 = icmp ult i64 %.3242296.us305, %.3248292.us293.us
  br i1 %123, label %124, label %131

124:                                              ; preds = %122
  %125 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %126 = call double @llvm.fmuladd.f64(double %125, double 2.000000e+00, double -1.000000e+00)
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = getelementptr inbounds ptr, ptr %127, i64 %.3242296.us305
  %129 = load ptr, ptr %128, align 8, !tbaa !8
  %130 = getelementptr inbounds double, ptr %129, i64 %.3248292.us293.us
  store double %126, ptr %130, align 8, !tbaa !10
  br label %131

131:                                              ; preds = %124, %122
  %132 = icmp ult i64 %.3248292.us293.us, %.3242296.us305
  br i1 %132, label %133, label %140

133:                                              ; preds = %131
  %134 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %135 = call double @llvm.fmuladd.f64(double %134, double 2.000000e+00, double -1.000000e+00)
  %136 = load ptr, ptr %16, align 8, !tbaa !5
  %137 = getelementptr inbounds ptr, ptr %136, i64 %.3242296.us305
  %138 = load ptr, ptr %137, align 8, !tbaa !8
  %139 = getelementptr inbounds double, ptr %138, i64 %.3248292.us293.us
  store double %135, ptr %139, align 8, !tbaa !10
  br label %140

140:                                              ; preds = %133, %131
  %141 = add nuw nsw i64 %.3248292.us293.us, 1
  %exitcond344.not = icmp eq i64 %141, %.0225332
  br i1 %exitcond344.not, label %.split.split.us.us, label %122, !llvm.loop !17

.split.split.us.us:                               ; preds = %140
  %142 = add nuw nsw i64 %.3242296.us305, 1
  %exitcond345.not = icmp eq i64 %142, %.0225332
  br i1 %exitcond345.not, label %.split303.us, label %.preheader273.us304, !llvm.loop !18

.preheader274:                                    ; preds = %._crit_edge, %170
  %.2241291 = phi i64 [ %171, %170 ], [ 0, %._crit_edge ]
  br label %143

143:                                              ; preds = %.preheader274, %143
  %.2247290 = phi i64 [ 0, %.preheader274 ], [ %169, %143 ]
  %144 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %.2241291, i64 noundef %.2247290, ptr noundef %1)
  %145 = load ptr, ptr %14, align 8, !tbaa !5
  %146 = getelementptr inbounds ptr, ptr %145, i64 %.2241291
  %147 = load ptr, ptr %146, align 8, !tbaa !8
  %148 = load ptr, ptr %145, align 8, !tbaa !8
  %149 = getelementptr inbounds double, ptr %148, i64 %.2247290
  %150 = load i64, ptr %15, align 8, !tbaa !19
  %151 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %144)
  %152 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %147, i64 noundef 1, ptr noundef %149, i64 noundef %150, i64 noundef %151)
  %153 = load ptr, ptr %16, align 8, !tbaa !5
  %154 = getelementptr inbounds ptr, ptr %153, i64 %.2241291
  %155 = load ptr, ptr %154, align 8, !tbaa !8
  %156 = getelementptr inbounds double, ptr %155, i64 %.2247290
  store double %152, ptr %156, align 8, !tbaa !10
  %157 = load ptr, ptr %16, align 8, !tbaa !5
  %158 = getelementptr inbounds ptr, ptr %157, i64 %.2247290
  %159 = load ptr, ptr %158, align 8, !tbaa !8
  %160 = getelementptr inbounds double, ptr %159, i64 %.2241291
  store double %152, ptr %160, align 8, !tbaa !10
  %161 = load ptr, ptr %17, align 8, !tbaa !5
  %162 = getelementptr inbounds ptr, ptr %161, i64 %.2241291
  %163 = load ptr, ptr %162, align 8, !tbaa !8
  %164 = getelementptr inbounds double, ptr %163, i64 %.2247290
  store double %152, ptr %164, align 8, !tbaa !10
  %165 = load ptr, ptr %17, align 8, !tbaa !5
  %166 = getelementptr inbounds ptr, ptr %165, i64 %.2247290
  %167 = load ptr, ptr %166, align 8, !tbaa !8
  %168 = getelementptr inbounds double, ptr %167, i64 %.2241291
  store double %152, ptr %168, align 8, !tbaa !10
  %169 = add nuw nsw i64 %.2247290, 1
  %exitcond340.not = icmp eq i64 %169, %.0225332
  br i1 %exitcond340.not, label %170, label %143, !llvm.loop !24

170:                                              ; preds = %143
  %171 = add nuw nsw i64 %.2241291, 1
  %exitcond341.not = icmp eq i64 %171, %.0225332
  br i1 %exitcond341.not, label %.preheader279, label %.preheader274, !llvm.loop !25

.preheader273:                                    ; preds = %.preheader279.split, %.split.split
  %.3242296 = phi i64 [ %189, %.split.split ], [ 0, %.preheader279.split ]
  br label %172

172:                                              ; preds = %.preheader273, %187
  %.3248292 = phi i64 [ 0, %.preheader273 ], [ %188, %187 ]
  %173 = icmp ult i64 %.3242296, %.3248292
  br i1 %173, label %174, label %187

174:                                              ; preds = %172
  %175 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %176 = call double @llvm.fmuladd.f64(double %175, double 2.000000e+00, double -1.000000e+00)
  %177 = load ptr, ptr %12, align 8, !tbaa !5
  %178 = getelementptr inbounds ptr, ptr %177, i64 %.3242296
  %179 = load ptr, ptr %178, align 8, !tbaa !8
  %180 = getelementptr inbounds double, ptr %179, i64 %.3248292
  store double %176, ptr %180, align 8, !tbaa !10
  %181 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %182 = call double @llvm.fmuladd.f64(double %181, double 2.000000e+00, double -1.000000e+00)
  %183 = load ptr, ptr %16, align 8, !tbaa !5
  %184 = getelementptr inbounds ptr, ptr %183, i64 %.3242296
  %185 = load ptr, ptr %184, align 8, !tbaa !8
  %186 = getelementptr inbounds double, ptr %185, i64 %.3248292
  store double %182, ptr %186, align 8, !tbaa !10
  br label %187

187:                                              ; preds = %172, %174
  %188 = add nuw nsw i64 %.3248292, 1
  %exitcond342.not = icmp eq i64 %188, %.0225332
  br i1 %exitcond342.not, label %.split.split, label %172, !llvm.loop !17

.split.split:                                     ; preds = %187
  %189 = add nuw nsw i64 %.3242296, 1
  %exitcond343.not = icmp eq i64 %189, %.0225332
  br i1 %exitcond343.not, label %.split303.us, label %.preheader273, !llvm.loop !18

.split303.us:                                     ; preds = %.split.split, %.split.split.us.us, %.split.us.split.us300, %.split.us.split.us.us.us
  %190 = call noundef zeroext i1 @_ZN11alglib_impl11smatrixgevdEPNS_9ae_matrixElbS1_bllPNS_9ae_vectorES1_PNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %.0225332, i1 noundef zeroext %23, ptr noundef nonnull %7, i1 noundef zeroext %82, i64 noundef 1, i64 noundef 1, ptr noundef nonnull %4, ptr noundef nonnull %11, ptr noundef %1)
  br i1 %190, label %.preheader272, label %296

.preheader272:                                    ; preds = %.split303.us, %218
  %.0234310 = phi double [ %216, %218 ], [ 0.000000e+00, %.split303.us ]
  %.4249309 = phi i64 [ %219, %218 ], [ 0, %.split303.us ]
  br label %191

191:                                              ; preds = %.preheader272, %191
  %.1235308 = phi double [ %.0234310, %.preheader272 ], [ %216, %191 ]
  %.4243307 = phi i64 [ 0, %.preheader272 ], [ %217, %191 ]
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  %193 = getelementptr inbounds ptr, ptr %192, i64 %.4243307
  %194 = load ptr, ptr %193, align 8, !tbaa !8
  %195 = load ptr, ptr %18, align 8, !tbaa !5
  %196 = load ptr, ptr %195, align 8, !tbaa !8
  %197 = getelementptr inbounds double, ptr %196, i64 %.4249309
  %198 = load i64, ptr %19, align 8, !tbaa !19
  %199 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %22)
  %200 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %194, i64 noundef 1, ptr noundef %197, i64 noundef %198, i64 noundef %199)
  %201 = load ptr, ptr %17, align 8, !tbaa !5
  %202 = getelementptr inbounds ptr, ptr %201, i64 %.4243307
  %203 = load ptr, ptr %202, align 8, !tbaa !8
  %204 = load ptr, ptr %18, align 8, !tbaa !5
  %205 = load ptr, ptr %204, align 8, !tbaa !8
  %206 = getelementptr inbounds double, ptr %205, i64 %.4249309
  %207 = load i64, ptr %19, align 8, !tbaa !19
  %208 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %22)
  %209 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %203, i64 noundef 1, ptr noundef %206, i64 noundef %207, i64 noundef %208)
  %210 = load ptr, ptr %20, align 8, !tbaa !5
  %211 = getelementptr inbounds double, ptr %210, i64 %.4249309
  %212 = load double, ptr %211, align 8, !tbaa !10
  %213 = fneg double %212
  %214 = call double @llvm.fmuladd.f64(double %213, double %209, double %200)
  %215 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %214, ptr noundef %1)
  %216 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.1235308, double noundef %215, ptr noundef %1)
  %217 = add nuw nsw i64 %.4243307, 1
  %exitcond350.not = icmp eq i64 %217, %.0225332
  br i1 %exitcond350.not, label %218, label %191, !llvm.loop !26

218:                                              ; preds = %191
  %219 = add nuw nsw i64 %.4249309, 1
  %exitcond351.not = icmp eq i64 %219, %.0225332
  br i1 %exitcond351.not, label %220, label %.preheader272, !llvm.loop !27

220:                                              ; preds = %218
  %221 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %216, double noundef %.3232321, ptr noundef %1)
  %222 = call noundef zeroext i1 @_ZN11alglib_impl11smatrixgevdEPNS_9ae_matrixElbS1_bllPNS_9ae_vectorES1_PNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %.0225332, i1 noundef zeroext %23, ptr noundef nonnull %7, i1 noundef zeroext %82, i64 noundef 1, i64 noundef 2, ptr noundef nonnull %4, ptr noundef nonnull %11, ptr noundef %1)
  br i1 %222, label %.preheader271, label %296

.preheader271:                                    ; preds = %220, %255
  %.2236315 = phi double [ %253, %255 ], [ 0.000000e+00, %220 ]
  %.5250314 = phi i64 [ %256, %255 ], [ 0, %220 ]
  br label %223

223:                                              ; preds = %.preheader271, %223
  %.5244311 = phi i64 [ 0, %.preheader271 ], [ %235, %223 ]
  %224 = load ptr, ptr %17, align 8, !tbaa !5
  %225 = getelementptr inbounds ptr, ptr %224, i64 %.5244311
  %226 = load ptr, ptr %225, align 8, !tbaa !8
  %227 = load ptr, ptr %18, align 8, !tbaa !5
  %228 = load ptr, ptr %227, align 8, !tbaa !8
  %229 = getelementptr inbounds double, ptr %228, i64 %.5250314
  %230 = load i64, ptr %19, align 8, !tbaa !19
  %231 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %22)
  %232 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %226, i64 noundef 1, ptr noundef %229, i64 noundef %230, i64 noundef %231)
  %233 = load ptr, ptr %21, align 8, !tbaa !5
  %234 = getelementptr inbounds double, ptr %233, i64 %.5244311
  store double %232, ptr %234, align 8, !tbaa !10
  %235 = add nuw nsw i64 %.5244311, 1
  %exitcond352.not = icmp eq i64 %235, %.0225332
  br i1 %exitcond352.not, label %.preheader270, label %223, !llvm.loop !28

.preheader270:                                    ; preds = %223, %.preheader270
  %.3237313 = phi double [ %253, %.preheader270 ], [ %.2236315, %223 ]
  %.6312 = phi i64 [ %254, %.preheader270 ], [ 0, %223 ]
  %236 = load ptr, ptr %13, align 8, !tbaa !5
  %237 = getelementptr inbounds ptr, ptr %236, i64 %.6312
  %238 = load ptr, ptr %237, align 8, !tbaa !8
  %239 = load ptr, ptr %21, align 8, !tbaa !5
  %240 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %22)
  %241 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %238, i64 noundef 1, ptr noundef %239, i64 noundef 1, i64 noundef %240)
  %242 = load ptr, ptr %20, align 8, !tbaa !5
  %243 = getelementptr inbounds double, ptr %242, i64 %.5250314
  %244 = load double, ptr %243, align 8, !tbaa !10
  %245 = load ptr, ptr %18, align 8, !tbaa !5
  %246 = getelementptr inbounds ptr, ptr %245, i64 %.6312
  %247 = load ptr, ptr %246, align 8, !tbaa !8
  %248 = getelementptr inbounds double, ptr %247, i64 %.5250314
  %249 = load double, ptr %248, align 8, !tbaa !10
  %250 = fneg double %244
  %251 = call double @llvm.fmuladd.f64(double %250, double %249, double %241)
  %252 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %251, ptr noundef %1)
  %253 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.3237313, double noundef %252, ptr noundef %1)
  %254 = add nuw nsw i64 %.6312, 1
  %exitcond353.not = icmp eq i64 %254, %.0225332
  br i1 %exitcond353.not, label %255, label %.preheader270, !llvm.loop !29

255:                                              ; preds = %.preheader270
  %256 = add nuw nsw i64 %.5250314, 1
  %exitcond354.not = icmp eq i64 %256, %.0225332
  br i1 %exitcond354.not, label %257, label %.preheader271, !llvm.loop !30

257:                                              ; preds = %255
  %258 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %253, double noundef %221, ptr noundef %1)
  %259 = call noundef zeroext i1 @_ZN11alglib_impl11smatrixgevdEPNS_9ae_matrixElbS1_bllPNS_9ae_vectorES1_PNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %.0225332, i1 noundef zeroext %23, ptr noundef nonnull %7, i1 noundef zeroext %82, i64 noundef 1, i64 noundef 3, ptr noundef nonnull %4, ptr noundef nonnull %11, ptr noundef %1)
  br i1 %259, label %.preheader269, label %296

.preheader269:                                    ; preds = %257, %292
  %.4238320 = phi double [ %290, %292 ], [ 0.000000e+00, %257 ]
  %.6251319 = phi i64 [ %293, %292 ], [ 0, %257 ]
  br label %260

260:                                              ; preds = %.preheader269, %260
  %.7316 = phi i64 [ 0, %.preheader269 ], [ %272, %260 ]
  %261 = load ptr, ptr %13, align 8, !tbaa !5
  %262 = getelementptr inbounds ptr, ptr %261, i64 %.7316
  %263 = load ptr, ptr %262, align 8, !tbaa !8
  %264 = load ptr, ptr %18, align 8, !tbaa !5
  %265 = load ptr, ptr %264, align 8, !tbaa !8
  %266 = getelementptr inbounds double, ptr %265, i64 %.6251319
  %267 = load i64, ptr %19, align 8, !tbaa !19
  %268 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %22)
  %269 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %263, i64 noundef 1, ptr noundef %266, i64 noundef %267, i64 noundef %268)
  %270 = load ptr, ptr %21, align 8, !tbaa !5
  %271 = getelementptr inbounds double, ptr %270, i64 %.7316
  store double %269, ptr %271, align 8, !tbaa !10
  %272 = add nuw nsw i64 %.7316, 1
  %exitcond355.not = icmp eq i64 %272, %.0225332
  br i1 %exitcond355.not, label %.preheader, label %260, !llvm.loop !31

.preheader:                                       ; preds = %260, %.preheader
  %.5318 = phi double [ %290, %.preheader ], [ %.4238320, %260 ]
  %.8317 = phi i64 [ %291, %.preheader ], [ 0, %260 ]
  %273 = load ptr, ptr %17, align 8, !tbaa !5
  %274 = getelementptr inbounds ptr, ptr %273, i64 %.8317
  %275 = load ptr, ptr %274, align 8, !tbaa !8
  %276 = load ptr, ptr %21, align 8, !tbaa !5
  %277 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %22)
  %278 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %275, i64 noundef 1, ptr noundef %276, i64 noundef 1, i64 noundef %277)
  %279 = load ptr, ptr %20, align 8, !tbaa !5
  %280 = getelementptr inbounds double, ptr %279, i64 %.6251319
  %281 = load double, ptr %280, align 8, !tbaa !10
  %282 = load ptr, ptr %18, align 8, !tbaa !5
  %283 = getelementptr inbounds ptr, ptr %282, i64 %.8317
  %284 = load ptr, ptr %283, align 8, !tbaa !8
  %285 = getelementptr inbounds double, ptr %284, i64 %.6251319
  %286 = load double, ptr %285, align 8, !tbaa !10
  %287 = fneg double %281
  %288 = call double @llvm.fmuladd.f64(double %287, double %286, double %278)
  %289 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %288, ptr noundef %1)
  %290 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.5318, double noundef %289, ptr noundef %1)
  %291 = add nuw nsw i64 %.8317, 1
  %exitcond356.not = icmp eq i64 %291, %.0225332
  br i1 %exitcond356.not, label %292, label %.preheader, !llvm.loop !32

292:                                              ; preds = %.preheader
  %293 = add nuw nsw i64 %.6251319, 1
  %exitcond357.not = icmp eq i64 %293, %.0225332
  br i1 %exitcond357.not, label %294, label %.preheader269, !llvm.loop !33

294:                                              ; preds = %292
  %295 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %290, double noundef %258, ptr noundef %1)
  br label %296

296:                                              ; preds = %257, %220, %.split303.us, %294
  %.4233 = phi double [ %295, %294 ], [ %.3232321, %.split303.us ], [ %221, %220 ], [ %258, %257 ]
  %.4 = phi i8 [ %.3323, %294 ], [ 1, %.split303.us ], [ 1, %220 ], [ 1, %257 ]
  %297 = add nuw nsw i64 %.0228322, 1
  %exitcond358.not = icmp eq i64 %297, 2
  br i1 %exitcond358.not, label %298, label %24, !llvm.loop !34

298:                                              ; preds = %296
  br i1 %23, label %.preheader282, label %299, !llvm.loop !35

299:                                              ; preds = %298
  %300 = add nuw nsw i64 %.0329, 1
  %exitcond359.not = icmp eq i64 %300, 6
  br i1 %exitcond359.not, label %301, label %.preheader283, !llvm.loop !36

301:                                              ; preds = %299
  %302 = add nuw nsw i64 %.0225332, 1
  %exitcond360.not = icmp eq i64 %302, 21
  br i1 %exitcond360.not, label %303, label %.preheader284, !llvm.loop !37

303:                                              ; preds = %301
  %304 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.4233, double noundef 0x3D95FD7FE1796496)
  %305 = trunc nuw i8 %.4 to i1
  %spec.select = select i1 %304, i1 true, i1 %305
  br i1 %0, label %316, label %306

306:                                              ; preds = %303
  %307 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.723)
  %308 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.724, double noundef %.4233)
  %309 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.725)
  %310 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %311 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.300)
  %.str.302..str.301 = select i1 %305, ptr @.str.302, ptr @.str.301
  %312 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.302..str.301)
  %313 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.196, double noundef 0x3D95FD7FE1796496)
  %.str.2.sink = select i1 %spec.select, ptr @.str.1, ptr @.str.2
  %314 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink)
  %315 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %316

316:                                              ; preds = %306, %303
  %317 = xor i1 %spec.select, true
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret i1 %317
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"double", !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 = !{!20, !21, i64 16}
!20 = !{!"_ZTSN11alglib_impl9ae_matrixE", !21, i64 0, !21, i64 8, !21, i64 16, !21, i64 24, !22, i64 32, !23, i64 40, !6, i64 72}
!21 = !{!"long", !6, i64 0}
!22 = !{!"bool", !6, i64 0}
!23 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!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, !13}
!32 = distinct !{!32, !13}
!33 = distinct !{!33, !13}
!34 = distinct !{!34, !13}
!35 = distinct !{!35, !13}
!36 = distinct !{!36, !13}
!37 = distinct !{!37, !13}


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