; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (statistics)

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

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

@.str.49 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl5covm2EPNS_9ae_matrixES1_lllS1_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #1 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.alglib_impl::ae_frame", align 8
  %16 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %17 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca double, align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca %"struct.alglib_impl::ae_vector", align 8
  %26 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !9
  store i64 %3, ptr %11, align 8, !tbaa !9
  store i64 %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #4
  %27 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %27, ptr noundef %15)
  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 %21, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 64, i1 false)
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef %16, ptr noundef %28, ptr noundef %29, i1 noundef zeroext true)
  store ptr %16, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef %17, ptr noundef %30, ptr noundef %31, i1 noundef zeroext true)
  store ptr %17, ptr %9, align 8, !tbaa !5
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef %32)
  %33 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %21, i64 noundef 0, i64 noundef 3, ptr noundef %33, i1 noundef zeroext true)
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %22, i64 noundef 0, i64 noundef 3, ptr noundef %34, i1 noundef zeroext true)
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %23, i64 noundef 0, i64 noundef 3, ptr noundef %35, i1 noundef zeroext true)
  %36 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %24, i64 noundef 0, i64 noundef 1, ptr noundef %36, i1 noundef zeroext true)
  %37 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %25, i64 noundef 0, i64 noundef 1, ptr noundef %37, i1 noundef zeroext true)
  %38 = load i64, ptr %10, align 8, !tbaa !9
  %39 = icmp sge i64 %38, 0
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef @.str.49, ptr noundef %40)
  %41 = load i64, ptr %11, align 8, !tbaa !9
  %42 = icmp sge i64 %41, 1
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %42, ptr noundef @.str.50, ptr noundef %43)
  %44 = load i64, ptr %12, align 8, !tbaa !9
  %45 = icmp sge i64 %44, 1
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %45, ptr noundef @.str.51, ptr noundef %46)
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %47, i32 0, i32 0
  %49 = load i64, ptr %48, align 8, !tbaa !11
  %50 = load i64, ptr %10, align 8, !tbaa !9
  %51 = icmp sge i64 %49, %50
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %51, ptr noundef @.str.52, ptr noundef %52)
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %53, i32 0, i32 1
  %55 = load i64, ptr %54, align 8, !tbaa !15
  %56 = load i64, ptr %11, align 8, !tbaa !9
  %57 = icmp sge i64 %55, %56
  br i1 %57, label %61, label %58

58:                                               ; preds = %7
  %59 = load i64, ptr %10, align 8, !tbaa !9
  %60 = icmp eq i64 %59, 0
  br label %61

61:                                               ; preds = %58, %7
  %62 = phi i1 [ true, %7 ], [ %60, %58 ]
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %62, ptr noundef @.str.53, ptr noundef %63)
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = load i64, ptr %10, align 8, !tbaa !9
  %66 = load i64, ptr %11, align 8, !tbaa !9
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %64, i64 noundef %65, i64 noundef %66, ptr noundef %67)
  %69 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %68, ptr noundef @.str.54, ptr noundef %69)
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %70, i32 0, i32 0
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = load i64, ptr %10, align 8, !tbaa !9
  %74 = icmp sge i64 %72, %73
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %74, ptr noundef @.str.55, ptr noundef %75)
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %76, i32 0, i32 1
  %78 = load i64, ptr %77, align 8, !tbaa !15
  %79 = load i64, ptr %12, align 8, !tbaa !9
  %80 = icmp sge i64 %78, %79
  br i1 %80, label %84, label %81

81:                                               ; preds = %61
  %82 = load i64, ptr %10, align 8, !tbaa !9
  %83 = icmp eq i64 %82, 0
  br label %84

84:                                               ; preds = %81, %61
  %85 = phi i1 [ true, %61 ], [ %83, %81 ]
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %85, ptr noundef @.str.56, ptr noundef %86)
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = load i64, ptr %10, align 8, !tbaa !9
  %89 = load i64, ptr %12, align 8, !tbaa !9
  %90 = load ptr, ptr %14, align 8, !tbaa !5
  %91 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %87, i64 noundef %88, i64 noundef %89, ptr noundef %90)
  %92 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %91, ptr noundef @.str.54, ptr noundef %92)
  %93 = load i64, ptr %10, align 8, !tbaa !9
  %94 = icmp sle i64 %93, 1
  br i1 %94, label %95, label %129

95:                                               ; preds = %84
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = load i64, ptr %11, align 8, !tbaa !9
  %98 = load i64, ptr %12, align 8, !tbaa !9
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %96, i64 noundef %97, i64 noundef %98, ptr noundef %99)
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %100

100:                                              ; preds = %124, %95
  %101 = load i64, ptr %18, align 8, !tbaa !9
  %102 = load i64, ptr %11, align 8, !tbaa !9
  %103 = sub nsw i64 %102, 1
  %104 = icmp sle i64 %101, %103
  br i1 %104, label %105, label %127

105:                                              ; preds = %100
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %106

106:                                              ; preds = %120, %105
  %107 = load i64, ptr %19, align 8, !tbaa !9
  %108 = load i64, ptr %12, align 8, !tbaa !9
  %109 = sub nsw i64 %108, 1
  %110 = icmp sle i64 %107, %109
  br i1 %110, label %111, label %123

111:                                              ; preds = %106
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %112, i32 0, i32 6
  %114 = load ptr, ptr %113, align 8, !tbaa !16
  %115 = load i64, ptr %18, align 8, !tbaa !9
  %116 = getelementptr inbounds ptr, ptr %114, i64 %115
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  %118 = load i64, ptr %19, align 8, !tbaa !9
  %119 = getelementptr inbounds double, ptr %117, i64 %118
  store double 0.000000e+00, ptr %119, align 8, !tbaa !17
  br label %120

120:                                              ; preds = %111
  %121 = load i64, ptr %19, align 8, !tbaa !9
  %122 = add nsw i64 %121, 1
  store i64 %122, ptr %19, align 8, !tbaa !9
  br label %106, !llvm.loop !19

123:                                              ; preds = %106
  br label %124

124:                                              ; preds = %123
  %125 = load i64, ptr %18, align 8, !tbaa !9
  %126 = add nsw i64 %125, 1
  store i64 %126, ptr %18, align 8, !tbaa !9
  br label %100, !llvm.loop !21

127:                                              ; preds = %100
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %128)
  store i32 1, ptr %26, align 4
  br label %449

129:                                              ; preds = %84
  %130 = load i64, ptr %11, align 8, !tbaa !9
  %131 = load i64, ptr %12, align 8, !tbaa !9
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  %133 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %130, i64 noundef %131, ptr noundef %132)
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %133, ptr noundef %134)
  %135 = load i64, ptr %11, align 8, !tbaa !9
  %136 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %135, ptr noundef %136)
  %137 = load i64, ptr %12, align 8, !tbaa !9
  %138 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %23, i64 noundef %137, ptr noundef %138)
  %139 = load i64, ptr %11, align 8, !tbaa !9
  %140 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef %139, ptr noundef %140)
  %141 = load i64, ptr %12, align 8, !tbaa !9
  %142 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %25, i64 noundef %141, ptr noundef %142)
  %143 = load ptr, ptr %13, align 8, !tbaa !5
  %144 = load i64, ptr %11, align 8, !tbaa !9
  %145 = load i64, ptr %12, align 8, !tbaa !9
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %143, i64 noundef %144, i64 noundef %145, ptr noundef %146)
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %147

147:                                              ; preds = %161, %129
  %148 = load i64, ptr %18, align 8, !tbaa !9
  %149 = load i64, ptr %11, align 8, !tbaa !9
  %150 = sub nsw i64 %149, 1
  %151 = icmp sle i64 %148, %150
  br i1 %151, label %152, label %164

152:                                              ; preds = %147
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %154 = load ptr, ptr %153, align 8, !tbaa !16
  %155 = load i64, ptr %18, align 8, !tbaa !9
  %156 = getelementptr inbounds double, ptr %154, i64 %155
  store double 0.000000e+00, ptr %156, align 8, !tbaa !17
  %157 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %158 = load ptr, ptr %157, align 8, !tbaa !16
  %159 = load i64, ptr %18, align 8, !tbaa !9
  %160 = getelementptr inbounds i8, ptr %158, i64 %159
  store i8 1, ptr %160, align 1, !tbaa !22
  br label %161

161:                                              ; preds = %152
  %162 = load i64, ptr %18, align 8, !tbaa !9
  %163 = add nsw i64 %162, 1
  store i64 %163, ptr %18, align 8, !tbaa !9
  br label %147, !llvm.loop !23

164:                                              ; preds = %147
  %165 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !16
  %167 = getelementptr inbounds double, ptr %166, i64 0
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %168, i32 0, i32 6
  %170 = load ptr, ptr %169, align 8, !tbaa !16
  %171 = getelementptr inbounds ptr, ptr %170, i64 0
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  %173 = getelementptr inbounds double, ptr %172, i64 0
  %174 = load i64, ptr %11, align 8, !tbaa !9
  %175 = sub nsw i64 %174, 1
  %176 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %175)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %167, i64 noundef 1, ptr noundef %173, i64 noundef 1, i64 noundef %176)
  %177 = load i64, ptr %10, align 8, !tbaa !9
  %178 = sitofp i64 %177 to double
  %179 = fdiv double 1.000000e+00, %178
  store double %179, ptr %20, align 8, !tbaa !17
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %180

180:                                              ; preds = %239, %164
  %181 = load i64, ptr %18, align 8, !tbaa !9
  %182 = load i64, ptr %10, align 8, !tbaa !9
  %183 = sub nsw i64 %182, 1
  %184 = icmp sle i64 %181, %183
  br i1 %184, label %185, label %242

185:                                              ; preds = %180
  %186 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %187 = load ptr, ptr %186, align 8, !tbaa !16
  %188 = getelementptr inbounds double, ptr %187, i64 0
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %189, i32 0, i32 6
  %191 = load ptr, ptr %190, align 8, !tbaa !16
  %192 = load i64, ptr %18, align 8, !tbaa !9
  %193 = getelementptr inbounds ptr, ptr %191, i64 %192
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = getelementptr inbounds double, ptr %194, i64 0
  %196 = load i64, ptr %11, align 8, !tbaa !9
  %197 = sub nsw i64 %196, 1
  %198 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %197)
  %199 = load double, ptr %20, align 8, !tbaa !17
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %188, i64 noundef 1, ptr noundef %195, i64 noundef 1, i64 noundef %198, double noundef %199)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %200

200:                                              ; preds = %235, %185
  %201 = load i64, ptr %19, align 8, !tbaa !9
  %202 = load i64, ptr %11, align 8, !tbaa !9
  %203 = sub nsw i64 %202, 1
  %204 = icmp sle i64 %201, %203
  br i1 %204, label %205, label %238

205:                                              ; preds = %200
  %206 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %207 = load ptr, ptr %206, align 8, !tbaa !16
  %208 = load i64, ptr %19, align 8, !tbaa !9
  %209 = getelementptr inbounds i8, ptr %207, i64 %208
  %210 = load i8, ptr %209, align 1, !tbaa !22, !range !24, !noundef !25
  %211 = trunc i8 %210 to i1
  br i1 %211, label %212, label %228

212:                                              ; preds = %205
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %213, i32 0, i32 6
  %215 = load ptr, ptr %214, align 8, !tbaa !16
  %216 = load i64, ptr %18, align 8, !tbaa !9
  %217 = getelementptr inbounds ptr, ptr %215, i64 %216
  %218 = load ptr, ptr %217, align 8, !tbaa !5
  %219 = load i64, ptr %19, align 8, !tbaa !9
  %220 = getelementptr inbounds double, ptr %218, i64 %219
  %221 = load double, ptr %220, align 8, !tbaa !17
  %222 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %223 = load ptr, ptr %222, align 8, !tbaa !16
  %224 = load i64, ptr %19, align 8, !tbaa !9
  %225 = getelementptr inbounds double, ptr %223, i64 %224
  %226 = load double, ptr %225, align 8, !tbaa !17
  %227 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %221, double noundef %226)
  br label %228

228:                                              ; preds = %212, %205
  %229 = phi i1 [ false, %205 ], [ %227, %212 ]
  %230 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %231 = load ptr, ptr %230, align 8, !tbaa !16
  %232 = load i64, ptr %19, align 8, !tbaa !9
  %233 = getelementptr inbounds i8, ptr %231, i64 %232
  %234 = zext i1 %229 to i8
  store i8 %234, ptr %233, align 1, !tbaa !22
  br label %235

235:                                              ; preds = %228
  %236 = load i64, ptr %19, align 8, !tbaa !9
  %237 = add nsw i64 %236, 1
  store i64 %237, ptr %19, align 8, !tbaa !9
  br label %200, !llvm.loop !26

238:                                              ; preds = %200
  br label %239

239:                                              ; preds = %238
  %240 = load i64, ptr %18, align 8, !tbaa !9
  %241 = add nsw i64 %240, 1
  store i64 %241, ptr %18, align 8, !tbaa !9
  br label %180, !llvm.loop !27

242:                                              ; preds = %180
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %243

243:                                              ; preds = %288, %242
  %244 = load i64, ptr %18, align 8, !tbaa !9
  %245 = load i64, ptr %10, align 8, !tbaa !9
  %246 = sub nsw i64 %245, 1
  %247 = icmp sle i64 %244, %246
  br i1 %247, label %248, label %291

248:                                              ; preds = %243
  %249 = load ptr, ptr %8, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %249, i32 0, i32 6
  %251 = load ptr, ptr %250, align 8, !tbaa !16
  %252 = load i64, ptr %18, align 8, !tbaa !9
  %253 = getelementptr inbounds ptr, ptr %251, i64 %252
  %254 = load ptr, ptr %253, align 8, !tbaa !5
  %255 = getelementptr inbounds double, ptr %254, i64 0
  %256 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !16
  %258 = getelementptr inbounds double, ptr %257, i64 0
  %259 = load i64, ptr %11, align 8, !tbaa !9
  %260 = sub nsw i64 %259, 1
  %261 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %260)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %255, i64 noundef 1, ptr noundef %258, i64 noundef 1, i64 noundef %261)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %262

262:                                              ; preds = %284, %248
  %263 = load i64, ptr %19, align 8, !tbaa !9
  %264 = load i64, ptr %11, align 8, !tbaa !9
  %265 = sub nsw i64 %264, 1
  %266 = icmp sle i64 %263, %265
  br i1 %266, label %267, label %287

267:                                              ; preds = %262
  %268 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %269 = load ptr, ptr %268, align 8, !tbaa !16
  %270 = load i64, ptr %19, align 8, !tbaa !9
  %271 = getelementptr inbounds i8, ptr %269, i64 %270
  %272 = load i8, ptr %271, align 1, !tbaa !22, !range !24, !noundef !25
  %273 = trunc i8 %272 to i1
  br i1 %273, label %274, label %283

274:                                              ; preds = %267
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  %276 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %275, i32 0, i32 6
  %277 = load ptr, ptr %276, align 8, !tbaa !16
  %278 = load i64, ptr %18, align 8, !tbaa !9
  %279 = getelementptr inbounds ptr, ptr %277, i64 %278
  %280 = load ptr, ptr %279, align 8, !tbaa !5
  %281 = load i64, ptr %19, align 8, !tbaa !9
  %282 = getelementptr inbounds double, ptr %280, i64 %281
  store double 0.000000e+00, ptr %282, align 8, !tbaa !17
  br label %283

283:                                              ; preds = %274, %267
  br label %284

284:                                              ; preds = %283
  %285 = load i64, ptr %19, align 8, !tbaa !9
  %286 = add nsw i64 %285, 1
  store i64 %286, ptr %19, align 8, !tbaa !9
  br label %262, !llvm.loop !28

287:                                              ; preds = %262
  br label %288

288:                                              ; preds = %287
  %289 = load i64, ptr %18, align 8, !tbaa !9
  %290 = add nsw i64 %289, 1
  store i64 %290, ptr %18, align 8, !tbaa !9
  br label %243, !llvm.loop !29

291:                                              ; preds = %243
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %292

292:                                              ; preds = %306, %291
  %293 = load i64, ptr %18, align 8, !tbaa !9
  %294 = load i64, ptr %12, align 8, !tbaa !9
  %295 = sub nsw i64 %294, 1
  %296 = icmp sle i64 %293, %295
  br i1 %296, label %297, label %309

297:                                              ; preds = %292
  %298 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %299 = load ptr, ptr %298, align 8, !tbaa !16
  %300 = load i64, ptr %18, align 8, !tbaa !9
  %301 = getelementptr inbounds double, ptr %299, i64 %300
  store double 0.000000e+00, ptr %301, align 8, !tbaa !17
  %302 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %303 = load ptr, ptr %302, align 8, !tbaa !16
  %304 = load i64, ptr %18, align 8, !tbaa !9
  %305 = getelementptr inbounds i8, ptr %303, i64 %304
  store i8 1, ptr %305, align 1, !tbaa !22
  br label %306

306:                                              ; preds = %297
  %307 = load i64, ptr %18, align 8, !tbaa !9
  %308 = add nsw i64 %307, 1
  store i64 %308, ptr %18, align 8, !tbaa !9
  br label %292, !llvm.loop !30

309:                                              ; preds = %292
  %310 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %311 = load ptr, ptr %310, align 8, !tbaa !16
  %312 = getelementptr inbounds double, ptr %311, i64 0
  %313 = load ptr, ptr %9, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %313, i32 0, i32 6
  %315 = load ptr, ptr %314, align 8, !tbaa !16
  %316 = getelementptr inbounds ptr, ptr %315, i64 0
  %317 = load ptr, ptr %316, align 8, !tbaa !5
  %318 = getelementptr inbounds double, ptr %317, i64 0
  %319 = load i64, ptr %12, align 8, !tbaa !9
  %320 = sub nsw i64 %319, 1
  %321 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %320)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %312, i64 noundef 1, ptr noundef %318, i64 noundef 1, i64 noundef %321)
  %322 = load i64, ptr %10, align 8, !tbaa !9
  %323 = sitofp i64 %322 to double
  %324 = fdiv double 1.000000e+00, %323
  store double %324, ptr %20, align 8, !tbaa !17
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %325

325:                                              ; preds = %384, %309
  %326 = load i64, ptr %18, align 8, !tbaa !9
  %327 = load i64, ptr %10, align 8, !tbaa !9
  %328 = sub nsw i64 %327, 1
  %329 = icmp sle i64 %326, %328
  br i1 %329, label %330, label %387

330:                                              ; preds = %325
  %331 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %332 = load ptr, ptr %331, align 8, !tbaa !16
  %333 = getelementptr inbounds double, ptr %332, i64 0
  %334 = load ptr, ptr %9, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %334, i32 0, i32 6
  %336 = load ptr, ptr %335, align 8, !tbaa !16
  %337 = load i64, ptr %18, align 8, !tbaa !9
  %338 = getelementptr inbounds ptr, ptr %336, i64 %337
  %339 = load ptr, ptr %338, align 8, !tbaa !5
  %340 = getelementptr inbounds double, ptr %339, i64 0
  %341 = load i64, ptr %12, align 8, !tbaa !9
  %342 = sub nsw i64 %341, 1
  %343 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %342)
  %344 = load double, ptr %20, align 8, !tbaa !17
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %333, i64 noundef 1, ptr noundef %340, i64 noundef 1, i64 noundef %343, double noundef %344)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %345

345:                                              ; preds = %380, %330
  %346 = load i64, ptr %19, align 8, !tbaa !9
  %347 = load i64, ptr %12, align 8, !tbaa !9
  %348 = sub nsw i64 %347, 1
  %349 = icmp sle i64 %346, %348
  br i1 %349, label %350, label %383

350:                                              ; preds = %345
  %351 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %352 = load ptr, ptr %351, align 8, !tbaa !16
  %353 = load i64, ptr %19, align 8, !tbaa !9
  %354 = getelementptr inbounds i8, ptr %352, i64 %353
  %355 = load i8, ptr %354, align 1, !tbaa !22, !range !24, !noundef !25
  %356 = trunc i8 %355 to i1
  br i1 %356, label %357, label %373

357:                                              ; preds = %350
  %358 = load ptr, ptr %9, align 8, !tbaa !5
  %359 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %358, i32 0, i32 6
  %360 = load ptr, ptr %359, align 8, !tbaa !16
  %361 = load i64, ptr %18, align 8, !tbaa !9
  %362 = getelementptr inbounds ptr, ptr %360, i64 %361
  %363 = load ptr, ptr %362, align 8, !tbaa !5
  %364 = load i64, ptr %19, align 8, !tbaa !9
  %365 = getelementptr inbounds double, ptr %363, i64 %364
  %366 = load double, ptr %365, align 8, !tbaa !17
  %367 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %368 = load ptr, ptr %367, align 8, !tbaa !16
  %369 = load i64, ptr %19, align 8, !tbaa !9
  %370 = getelementptr inbounds double, ptr %368, i64 %369
  %371 = load double, ptr %370, align 8, !tbaa !17
  %372 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %366, double noundef %371)
  br label %373

373:                                              ; preds = %357, %350
  %374 = phi i1 [ false, %350 ], [ %372, %357 ]
  %375 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %376 = load ptr, ptr %375, align 8, !tbaa !16
  %377 = load i64, ptr %19, align 8, !tbaa !9
  %378 = getelementptr inbounds i8, ptr %376, i64 %377
  %379 = zext i1 %374 to i8
  store i8 %379, ptr %378, align 1, !tbaa !22
  br label %380

380:                                              ; preds = %373
  %381 = load i64, ptr %19, align 8, !tbaa !9
  %382 = add nsw i64 %381, 1
  store i64 %382, ptr %19, align 8, !tbaa !9
  br label %345, !llvm.loop !31

383:                                              ; preds = %345
  br label %384

384:                                              ; preds = %383
  %385 = load i64, ptr %18, align 8, !tbaa !9
  %386 = add nsw i64 %385, 1
  store i64 %386, ptr %18, align 8, !tbaa !9
  br label %325, !llvm.loop !32

387:                                              ; preds = %325
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %388

388:                                              ; preds = %433, %387
  %389 = load i64, ptr %18, align 8, !tbaa !9
  %390 = load i64, ptr %10, align 8, !tbaa !9
  %391 = sub nsw i64 %390, 1
  %392 = icmp sle i64 %389, %391
  br i1 %392, label %393, label %436

393:                                              ; preds = %388
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %394, i32 0, i32 6
  %396 = load ptr, ptr %395, align 8, !tbaa !16
  %397 = load i64, ptr %18, align 8, !tbaa !9
  %398 = getelementptr inbounds ptr, ptr %396, i64 %397
  %399 = load ptr, ptr %398, align 8, !tbaa !5
  %400 = getelementptr inbounds double, ptr %399, i64 0
  %401 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %402 = load ptr, ptr %401, align 8, !tbaa !16
  %403 = getelementptr inbounds double, ptr %402, i64 0
  %404 = load i64, ptr %12, align 8, !tbaa !9
  %405 = sub nsw i64 %404, 1
  %406 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %405)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %400, i64 noundef 1, ptr noundef %403, i64 noundef 1, i64 noundef %406)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %407

407:                                              ; preds = %429, %393
  %408 = load i64, ptr %19, align 8, !tbaa !9
  %409 = load i64, ptr %12, align 8, !tbaa !9
  %410 = sub nsw i64 %409, 1
  %411 = icmp sle i64 %408, %410
  br i1 %411, label %412, label %432

412:                                              ; preds = %407
  %413 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %414 = load ptr, ptr %413, align 8, !tbaa !16
  %415 = load i64, ptr %19, align 8, !tbaa !9
  %416 = getelementptr inbounds i8, ptr %414, i64 %415
  %417 = load i8, ptr %416, align 1, !tbaa !22, !range !24, !noundef !25
  %418 = trunc i8 %417 to i1
  br i1 %418, label %419, label %428

419:                                              ; preds = %412
  %420 = load ptr, ptr %9, align 8, !tbaa !5
  %421 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %420, i32 0, i32 6
  %422 = load ptr, ptr %421, align 8, !tbaa !16
  %423 = load i64, ptr %18, align 8, !tbaa !9
  %424 = getelementptr inbounds ptr, ptr %422, i64 %423
  %425 = load ptr, ptr %424, align 8, !tbaa !5
  %426 = load i64, ptr %19, align 8, !tbaa !9
  %427 = getelementptr inbounds double, ptr %425, i64 %426
  store double 0.000000e+00, ptr %427, align 8, !tbaa !17
  br label %428

428:                                              ; preds = %419, %412
  br label %429

429:                                              ; preds = %428
  %430 = load i64, ptr %19, align 8, !tbaa !9
  %431 = add nsw i64 %430, 1
  store i64 %431, ptr %19, align 8, !tbaa !9
  br label %407, !llvm.loop !33

432:                                              ; preds = %407
  br label %433

433:                                              ; preds = %432
  %434 = load i64, ptr %18, align 8, !tbaa !9
  %435 = add nsw i64 %434, 1
  store i64 %435, ptr %18, align 8, !tbaa !9
  br label %388, !llvm.loop !34

436:                                              ; preds = %388
  %437 = load i64, ptr %11, align 8, !tbaa !9
  %438 = load i64, ptr %12, align 8, !tbaa !9
  %439 = load i64, ptr %10, align 8, !tbaa !9
  %440 = load i64, ptr %10, align 8, !tbaa !9
  %441 = sub nsw i64 %440, 1
  %442 = sitofp i64 %441 to double
  %443 = fdiv double 1.000000e+00, %442
  %444 = load ptr, ptr %8, align 8, !tbaa !5
  %445 = load ptr, ptr %9, align 8, !tbaa !5
  %446 = load ptr, ptr %13, align 8, !tbaa !5
  %447 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %437, i64 noundef %438, i64 noundef %439, double noundef %443, ptr noundef %444, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %445, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %446, i64 noundef 0, i64 noundef 0, ptr noundef %447)
  %448 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %448)
  store i32 0, ptr %26, align 4
  br label %449

449:                                              ; preds = %436, %127
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  %450 = load i32, ptr %26, align 4
  switch i32 %450, label %452 [
    i32 0, label %451
    i32 1, label %451
  ]

451:                                              ; preds = %449, %449
  ret void

452:                                              ; preds = %449
  unreachable
}

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

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

declare void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

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

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

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

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

declare void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) #2

declare void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #2

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !14, i64 40, !7, i64 72}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!12, !10, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!13, !13, i64 0}
!23 = distinct !{!23, !20}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}
!33 = distinct !{!33, !20}
!34 = distinct !{!34, !20}


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

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

@.str.49 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl5covm2EPNS_9ae_matrixES1_lllS1_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #1 {
  %8 = alloca %"struct.alglib_impl::ae_frame", 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_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %6, ptr noundef nonnull %8)
  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(64) %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef nonnull %9, ptr noundef %0, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef nonnull %10, ptr noundef %1, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef %5)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 1, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 1, ptr noundef %6, i1 noundef zeroext true)
  %16 = icmp sgt i64 %2, -1
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %16, ptr noundef nonnull @.str.49, ptr noundef %6)
  %17 = icmp sgt i64 %3, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %17, ptr noundef nonnull @.str.50, ptr noundef %6)
  %18 = icmp sgt i64 %4, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %18, ptr noundef nonnull @.str.51, ptr noundef %6)
  %19 = load i64, ptr %9, align 8, !tbaa !5
  %20 = icmp sge i64 %19, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %20, ptr noundef nonnull @.str.52, ptr noundef %6)
  %21 = getelementptr inbounds i8, ptr %9, i64 8
  %22 = load i64, ptr %21, align 8, !tbaa !13
  %23 = icmp sge i64 %22, %3
  %24 = icmp eq i64 %2, 0
  %25 = or i1 %24, %23
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %25, ptr noundef nonnull @.str.53, ptr noundef %6)
  %26 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %2, i64 noundef %3, ptr noundef %6)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef nonnull @.str.54, ptr noundef %6)
  %27 = load i64, ptr %10, align 8, !tbaa !5
  %28 = icmp sge i64 %27, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %28, ptr noundef nonnull @.str.55, ptr noundef %6)
  %29 = getelementptr inbounds i8, ptr %10, i64 8
  %30 = load i64, ptr %29, align 8, !tbaa !13
  %31 = icmp sge i64 %30, %4
  %32 = or i1 %24, %31
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %32, ptr noundef nonnull @.str.56, ptr noundef %6)
  %33 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %2, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %33, ptr noundef nonnull @.str.54, ptr noundef %6)
  %34 = icmp slt i64 %2, 2
  br i1 %34, label %35, label %64

35:                                               ; preds = %7
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %3, i64 noundef %4, ptr noundef %6)
  br i1 %17, label %.preheader.lr.ph, label %._crit_edge226

.preheader.lr.ph:                                 ; preds = %35
  %36 = getelementptr inbounds i8, ptr %5, i64 72
  br i1 %18, label %.preheader.us.preheader, label %._crit_edge226

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %xtraiter265 = and i64 %4, 3
  %37 = icmp ult i64 %4, 4
  %unroll_iter267 = and i64 %4, 9223372036854775804
  %lcmp.mod266.not = icmp eq i64 %xtraiter265, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge223.us
  %.0154225.us = phi i64 [ %63, %._crit_edge223.us ], [ 0, %.preheader.us.preheader ]
  br i1 %37, label %._crit_edge223.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.0221.us = phi i64 [ %57, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter268 = phi i64 [ %niter268.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %38 = load ptr, ptr %36, align 8, !tbaa !14
  %39 = getelementptr inbounds ptr, ptr %38, i64 %.0154225.us
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = getelementptr inbounds double, ptr %40, i64 %.0221.us
  store double 0.000000e+00, ptr %41, align 8, !tbaa !16
  %42 = or disjoint i64 %.0221.us, 1
  %43 = load ptr, ptr %36, align 8, !tbaa !14
  %44 = getelementptr inbounds ptr, ptr %43, i64 %.0154225.us
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = getelementptr inbounds double, ptr %45, i64 %42
  store double 0.000000e+00, ptr %46, align 8, !tbaa !16
  %47 = or disjoint i64 %.0221.us, 2
  %48 = load ptr, ptr %36, align 8, !tbaa !14
  %49 = getelementptr inbounds ptr, ptr %48, i64 %.0154225.us
  %50 = load ptr, ptr %49, align 8, !tbaa !15
  %51 = getelementptr inbounds double, ptr %50, i64 %47
  store double 0.000000e+00, ptr %51, align 8, !tbaa !16
  %52 = or disjoint i64 %.0221.us, 3
  %53 = load ptr, ptr %36, align 8, !tbaa !14
  %54 = getelementptr inbounds ptr, ptr %53, i64 %.0154225.us
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  %56 = getelementptr inbounds double, ptr %55, i64 %52
  store double 0.000000e+00, ptr %56, align 8, !tbaa !16
  %57 = add nuw nsw i64 %.0221.us, 4
  %niter268.next.3 = add i64 %niter268, 4
  %niter268.ncmp.3 = icmp eq i64 %niter268.next.3, %unroll_iter267
  br i1 %niter268.ncmp.3, label %._crit_edge223.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !18

._crit_edge223.us.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.0221.us.unr = phi i64 [ 0, %.preheader.us ], [ %57, %.preheader.us.new ]
  br i1 %lcmp.mod266.not, label %._crit_edge223.us, label %.epil.preheader264

.epil.preheader264:                               ; preds = %._crit_edge223.us.unr-lcssa, %.epil.preheader264
  %.0221.us.epil = phi i64 [ %62, %.epil.preheader264 ], [ %.0221.us.unr, %._crit_edge223.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader264 ], [ 0, %._crit_edge223.us.unr-lcssa ]
  %58 = load ptr, ptr %36, align 8, !tbaa !14
  %59 = getelementptr inbounds ptr, ptr %58, i64 %.0154225.us
  %60 = load ptr, ptr %59, align 8, !tbaa !15
  %61 = getelementptr inbounds double, ptr %60, i64 %.0221.us.epil
  store double 0.000000e+00, ptr %61, align 8, !tbaa !16
  %62 = add nuw nsw i64 %.0221.us.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter265
  br i1 %epil.iter.cmp.not, label %._crit_edge223.us, label %.epil.preheader264, !llvm.loop !20

._crit_edge223.us:                                ; preds = %.epil.preheader264, %._crit_edge223.us.unr-lcssa
  %63 = add nuw nsw i64 %.0154225.us, 1
  %exitcond244.not = icmp eq i64 %63, %3
  br i1 %exitcond244.not, label %._crit_edge226, label %.preheader.us, !llvm.loop !22

64:                                               ; preds = %7
  %65 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %3, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %65, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %3, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %3, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %3, i64 noundef %4, ptr noundef %6)
  br i1 %17, label %.lr.ph, label %.lr.ph189

.lr.ph:                                           ; preds = %64
  %66 = getelementptr inbounds i8, ptr %11, i64 56
  %67 = getelementptr inbounds i8, ptr %14, i64 56
  %xtraiter = and i64 %3, 1
  %68 = icmp eq i64 %3, 1
  br i1 %68, label %.lr.ph189.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %3, 9223372036854775806
  br label %69

69:                                               ; preds = %69, %.lr.ph.new
  %.1155180 = phi i64 [ 0, %.lr.ph.new ], [ %79, %69 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %69 ]
  %70 = load ptr, ptr %66, align 8, !tbaa !14
  %71 = getelementptr inbounds double, ptr %70, i64 %.1155180
  store double 0.000000e+00, ptr %71, align 8, !tbaa !16
  %72 = load ptr, ptr %67, align 8, !tbaa !14
  %73 = getelementptr inbounds i8, ptr %72, i64 %.1155180
  store i8 1, ptr %73, align 1, !tbaa !23
  %74 = or disjoint i64 %.1155180, 1
  %75 = load ptr, ptr %66, align 8, !tbaa !14
  %76 = getelementptr inbounds double, ptr %75, i64 %74
  store double 0.000000e+00, ptr %76, align 8, !tbaa !16
  %77 = load ptr, ptr %67, align 8, !tbaa !14
  %78 = getelementptr inbounds i8, ptr %77, i64 %74
  store i8 1, ptr %78, align 1, !tbaa !23
  %79 = add nuw nsw i64 %.1155180, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.lr.ph189.loopexit.unr-lcssa, label %69, !llvm.loop !24

.lr.ph189.loopexit.unr-lcssa:                     ; preds = %69, %.lr.ph
  %.1155180.unr = phi i64 [ 0, %.lr.ph ], [ %79, %69 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph189, label %.lr.ph189.loopexit.epilog-lcssa

.lr.ph189.loopexit.epilog-lcssa:                  ; preds = %.lr.ph189.loopexit.unr-lcssa
  %80 = load ptr, ptr %66, align 8, !tbaa !14
  %81 = getelementptr inbounds double, ptr %80, i64 %.1155180.unr
  store double 0.000000e+00, ptr %81, align 8, !tbaa !16
  %82 = load ptr, ptr %67, align 8, !tbaa !14
  %83 = getelementptr inbounds i8, ptr %82, i64 %.1155180.unr
  store i8 1, ptr %83, align 1, !tbaa !23
  br label %.lr.ph189

.lr.ph189:                                        ; preds = %.lr.ph189.loopexit.epilog-lcssa, %.lr.ph189.loopexit.unr-lcssa, %64
  %84 = add nsw i64 %3, -1
  %85 = getelementptr inbounds i8, ptr %12, i64 56
  %86 = load ptr, ptr %85, align 8, !tbaa !14
  %87 = getelementptr inbounds i8, ptr %9, i64 72
  %88 = load ptr, ptr %87, align 8, !tbaa !14
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  %90 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %86, i64 noundef 1, ptr noundef %89, i64 noundef 1, i64 noundef %90)
  %91 = uitofp nneg i64 %2 to double
  %92 = fdiv double 1.000000e+00, %91
  %93 = getelementptr inbounds i8, ptr %11, i64 56
  %94 = getelementptr inbounds i8, ptr %14, i64 56
  %smax = call i64 @llvm.smax.i64(i64 %2, i64 1)
  br label %.backedge

.lr.ph197:                                        ; preds = %._crit_edge185
  %95 = add nsw i64 %2, -1
  %96 = getelementptr inbounds i8, ptr %11, i64 56
  %97 = getelementptr inbounds i8, ptr %14, i64 56
  br i1 %17, label %.lr.ph193.us.preheader, label %.lr.ph197.split.preheader

.lr.ph197.split.preheader:                        ; preds = %.lr.ph197.thread, %.lr.ph197
  %98 = phi ptr [ %166, %.lr.ph197.thread ], [ %96, %.lr.ph197 ]
  %99 = phi i64 [ %165, %.lr.ph197.thread ], [ %95, %.lr.ph197 ]
  %smax231 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  br label %.lr.ph197.split

.lr.ph193.us.preheader:                           ; preds = %.lr.ph197
  %smax234 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  %xtraiter251 = and i64 %3, 1
  %100 = icmp eq i64 %3, 1
  %unroll_iter253 = and i64 %3, 9223372036854775806
  %lcmp.mod252.not = icmp eq i64 %xtraiter251, 0
  br label %.lr.ph193.us

.lr.ph193.us:                                     ; preds = %.lr.ph193.us.preheader, %._crit_edge194.us
  %.3157196.us = phi i64 [ %137, %._crit_edge194.us ], [ 0, %.lr.ph193.us.preheader ]
  %101 = load ptr, ptr %87, align 8, !tbaa !14
  %102 = getelementptr inbounds ptr, ptr %101, i64 %.3157196.us
  %103 = load ptr, ptr %102, align 8, !tbaa !15
  %104 = load ptr, ptr %96, align 8, !tbaa !14
  %105 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %103, i64 noundef 1, ptr noundef %104, i64 noundef 1, i64 noundef %105)
  br i1 %100, label %._crit_edge194.us.unr-lcssa, label %.lr.ph193.us.new

.lr.ph193.us.new:                                 ; preds = %.lr.ph193.us, %126
  %.2191.us = phi i64 [ %127, %126 ], [ 0, %.lr.ph193.us ]
  %niter254 = phi i64 [ %niter254.next.1, %126 ], [ 0, %.lr.ph193.us ]
  %106 = load ptr, ptr %97, align 8, !tbaa !14
  %107 = getelementptr inbounds i8, ptr %106, i64 %.2191.us
  %108 = load i8, ptr %107, align 1, !tbaa !23, !range !25, !noundef !26
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %110, label %115

110:                                              ; preds = %.lr.ph193.us.new
  %111 = load ptr, ptr %87, align 8, !tbaa !14
  %112 = getelementptr inbounds ptr, ptr %111, i64 %.3157196.us
  %113 = load ptr, ptr %112, align 8, !tbaa !15
  %114 = getelementptr inbounds double, ptr %113, i64 %.2191.us
  store double 0.000000e+00, ptr %114, align 8, !tbaa !16
  br label %115

115:                                              ; preds = %110, %.lr.ph193.us.new
  %116 = or disjoint i64 %.2191.us, 1
  %117 = load ptr, ptr %97, align 8, !tbaa !14
  %118 = getelementptr inbounds i8, ptr %117, i64 %116
  %119 = load i8, ptr %118, align 1, !tbaa !23, !range !25, !noundef !26
  %120 = trunc nuw i8 %119 to i1
  br i1 %120, label %121, label %126

121:                                              ; preds = %115
  %122 = load ptr, ptr %87, align 8, !tbaa !14
  %123 = getelementptr inbounds ptr, ptr %122, i64 %.3157196.us
  %124 = load ptr, ptr %123, align 8, !tbaa !15
  %125 = getelementptr inbounds double, ptr %124, i64 %116
  store double 0.000000e+00, ptr %125, align 8, !tbaa !16
  br label %126

126:                                              ; preds = %121, %115
  %127 = add nuw nsw i64 %.2191.us, 2
  %niter254.next.1 = add i64 %niter254, 2
  %niter254.ncmp.1 = icmp eq i64 %niter254.next.1, %unroll_iter253
  br i1 %niter254.ncmp.1, label %._crit_edge194.us.unr-lcssa, label %.lr.ph193.us.new, !llvm.loop !27

._crit_edge194.us.unr-lcssa:                      ; preds = %126, %.lr.ph193.us
  %.2191.us.unr = phi i64 [ 0, %.lr.ph193.us ], [ %127, %126 ]
  br i1 %lcmp.mod252.not, label %._crit_edge194.us, label %.epil.preheader250

.epil.preheader250:                               ; preds = %._crit_edge194.us.unr-lcssa
  %128 = load ptr, ptr %97, align 8, !tbaa !14
  %129 = getelementptr inbounds i8, ptr %128, i64 %.2191.us.unr
  %130 = load i8, ptr %129, align 1, !tbaa !23, !range !25, !noundef !26
  %131 = trunc nuw i8 %130 to i1
  br i1 %131, label %132, label %._crit_edge194.us

132:                                              ; preds = %.epil.preheader250
  %133 = load ptr, ptr %87, align 8, !tbaa !14
  %134 = getelementptr inbounds ptr, ptr %133, i64 %.3157196.us
  %135 = load ptr, ptr %134, align 8, !tbaa !15
  %136 = getelementptr inbounds double, ptr %135, i64 %.2191.us.unr
  store double 0.000000e+00, ptr %136, align 8, !tbaa !16
  br label %._crit_edge194.us

._crit_edge194.us:                                ; preds = %.epil.preheader250, %132, %._crit_edge194.us.unr-lcssa
  %137 = add nuw nsw i64 %.3157196.us, 1
  %exitcond235.not = icmp eq i64 %137, %smax234
  br i1 %exitcond235.not, label %.preheader175, label %.lr.ph193.us, !llvm.loop !28

.backedge:                                        ; preds = %.backedge.backedge, %.lr.ph189
  %.2156187 = phi i64 [ 0, %.lr.ph189 ], [ %.2156187.be, %.backedge.backedge ]
  %138 = load ptr, ptr %93, align 8, !tbaa !14
  %139 = load ptr, ptr %87, align 8, !tbaa !14
  %140 = getelementptr inbounds ptr, ptr %139, i64 %.2156187
  %141 = load ptr, ptr %140, align 8, !tbaa !15
  %142 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %138, i64 noundef 1, ptr noundef %141, i64 noundef 1, i64 noundef %142, double noundef %92)
  br i1 %17, label %.lr.ph184, label %._crit_edge185.thread

.lr.ph184:                                        ; preds = %.backedge, %157
  %.1182 = phi i64 [ %162, %157 ], [ 0, %.backedge ]
  %143 = load ptr, ptr %94, align 8, !tbaa !14
  %144 = getelementptr inbounds i8, ptr %143, i64 %.1182
  %145 = load i8, ptr %144, align 1, !tbaa !23, !range !25, !noundef !26
  %146 = trunc nuw i8 %145 to i1
  br i1 %146, label %147, label %157

147:                                              ; preds = %.lr.ph184
  %148 = load ptr, ptr %87, align 8, !tbaa !14
  %149 = getelementptr inbounds ptr, ptr %148, i64 %.2156187
  %150 = load ptr, ptr %149, align 8, !tbaa !15
  %151 = getelementptr inbounds double, ptr %150, i64 %.1182
  %152 = load double, ptr %151, align 8, !tbaa !16
  %153 = load ptr, ptr %85, align 8, !tbaa !14
  %154 = getelementptr inbounds double, ptr %153, i64 %.1182
  %155 = load double, ptr %154, align 8, !tbaa !16
  %156 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %152, double noundef %155)
  %.pre = load ptr, ptr %94, align 8, !tbaa !14
  br label %157

157:                                              ; preds = %147, %.lr.ph184
  %158 = phi ptr [ %143, %.lr.ph184 ], [ %.pre, %147 ]
  %159 = phi i1 [ false, %.lr.ph184 ], [ %156, %147 ]
  %160 = getelementptr inbounds i8, ptr %158, i64 %.1182
  %161 = zext i1 %159 to i8
  store i8 %161, ptr %160, align 1, !tbaa !23
  %162 = add nuw nsw i64 %.1182, 1
  %exitcond229.not = icmp eq i64 %162, %3
  br i1 %exitcond229.not, label %._crit_edge185, label %.lr.ph184, !llvm.loop !29

._crit_edge185:                                   ; preds = %157
  %163 = add nuw nsw i64 %.2156187, 1
  %exitcond230.not = icmp eq i64 %163, %smax
  br i1 %exitcond230.not, label %.lr.ph197, label %.backedge.backedge

.backedge.backedge:                               ; preds = %._crit_edge185, %._crit_edge185.thread
  %.2156187.be = phi i64 [ %163, %._crit_edge185 ], [ %164, %._crit_edge185.thread ]
  br label %.backedge, !llvm.loop !30

._crit_edge185.thread:                            ; preds = %.backedge
  %164 = add nuw nsw i64 %.2156187, 1
  %exitcond230.not246 = icmp eq i64 %164, %smax
  br i1 %exitcond230.not246, label %.lr.ph197.thread, label %.backedge.backedge

.lr.ph197.thread:                                 ; preds = %._crit_edge185.thread
  %165 = add nsw i64 %2, -1
  %166 = getelementptr inbounds i8, ptr %11, i64 56
  br label %.lr.ph197.split.preheader

.preheader175:                                    ; preds = %.lr.ph197.split, %._crit_edge194.us
  %167 = phi i64 [ %95, %._crit_edge194.us ], [ %99, %.lr.ph197.split ]
  br i1 %18, label %.lr.ph200, label %.lr.ph210

.lr.ph200:                                        ; preds = %.preheader175
  %168 = getelementptr inbounds i8, ptr %11, i64 56
  %169 = getelementptr inbounds i8, ptr %15, i64 56
  %xtraiter256 = and i64 %4, 1
  %170 = icmp eq i64 %4, 1
  br i1 %170, label %.lr.ph210.loopexit.unr-lcssa, label %.lr.ph200.new

.lr.ph200.new:                                    ; preds = %.lr.ph200
  %unroll_iter258 = and i64 %4, 9223372036854775806
  br label %177

.lr.ph197.split:                                  ; preds = %.lr.ph197.split.preheader, %.lr.ph197.split
  %.3157196 = phi i64 [ %176, %.lr.ph197.split ], [ 0, %.lr.ph197.split.preheader ]
  %171 = load ptr, ptr %87, align 8, !tbaa !14
  %172 = getelementptr inbounds ptr, ptr %171, i64 %.3157196
  %173 = load ptr, ptr %172, align 8, !tbaa !15
  %174 = load ptr, ptr %98, align 8, !tbaa !14
  %175 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %173, i64 noundef 1, ptr noundef %174, i64 noundef 1, i64 noundef %175)
  %176 = add nuw nsw i64 %.3157196, 1
  %exitcond232.not = icmp eq i64 %176, %smax231
  br i1 %exitcond232.not, label %.preheader175, label %.lr.ph197.split, !llvm.loop !28

177:                                              ; preds = %177, %.lr.ph200.new
  %.4158199 = phi i64 [ 0, %.lr.ph200.new ], [ %187, %177 ]
  %niter259 = phi i64 [ 0, %.lr.ph200.new ], [ %niter259.next.1, %177 ]
  %178 = load ptr, ptr %168, align 8, !tbaa !14
  %179 = getelementptr inbounds double, ptr %178, i64 %.4158199
  store double 0.000000e+00, ptr %179, align 8, !tbaa !16
  %180 = load ptr, ptr %169, align 8, !tbaa !14
  %181 = getelementptr inbounds i8, ptr %180, i64 %.4158199
  store i8 1, ptr %181, align 1, !tbaa !23
  %182 = or disjoint i64 %.4158199, 1
  %183 = load ptr, ptr %168, align 8, !tbaa !14
  %184 = getelementptr inbounds double, ptr %183, i64 %182
  store double 0.000000e+00, ptr %184, align 8, !tbaa !16
  %185 = load ptr, ptr %169, align 8, !tbaa !14
  %186 = getelementptr inbounds i8, ptr %185, i64 %182
  store i8 1, ptr %186, align 1, !tbaa !23
  %187 = add nuw nsw i64 %.4158199, 2
  %niter259.next.1 = add i64 %niter259, 2
  %niter259.ncmp.1 = icmp eq i64 %niter259.next.1, %unroll_iter258
  br i1 %niter259.ncmp.1, label %.lr.ph210.loopexit.unr-lcssa, label %177, !llvm.loop !31

.lr.ph210.loopexit.unr-lcssa:                     ; preds = %177, %.lr.ph200
  %.4158199.unr = phi i64 [ 0, %.lr.ph200 ], [ %187, %177 ]
  %lcmp.mod257.not = icmp eq i64 %xtraiter256, 0
  br i1 %lcmp.mod257.not, label %.lr.ph210, label %.lr.ph210.loopexit.epilog-lcssa

.lr.ph210.loopexit.epilog-lcssa:                  ; preds = %.lr.ph210.loopexit.unr-lcssa
  %188 = load ptr, ptr %168, align 8, !tbaa !14
  %189 = getelementptr inbounds double, ptr %188, i64 %.4158199.unr
  store double 0.000000e+00, ptr %189, align 8, !tbaa !16
  %190 = load ptr, ptr %169, align 8, !tbaa !14
  %191 = getelementptr inbounds i8, ptr %190, i64 %.4158199.unr
  store i8 1, ptr %191, align 1, !tbaa !23
  br label %.lr.ph210

.lr.ph210:                                        ; preds = %.lr.ph210.loopexit.epilog-lcssa, %.lr.ph210.loopexit.unr-lcssa, %.preheader175
  %192 = add nsw i64 %4, -1
  %193 = getelementptr inbounds i8, ptr %13, i64 56
  %194 = load ptr, ptr %193, align 8, !tbaa !14
  %195 = getelementptr inbounds i8, ptr %10, i64 72
  %196 = load ptr, ptr %195, align 8, !tbaa !14
  %197 = load ptr, ptr %196, align 8, !tbaa !15
  %198 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %192)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %194, i64 noundef 1, ptr noundef %197, i64 noundef 1, i64 noundef %198)
  %199 = getelementptr inbounds i8, ptr %11, i64 56
  %200 = getelementptr inbounds i8, ptr %15, i64 56
  %smax238 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  br label %204

.lr.ph218:                                        ; preds = %._crit_edge206
  %201 = getelementptr inbounds i8, ptr %11, i64 56
  %202 = getelementptr inbounds i8, ptr %15, i64 56
  %smax241 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  %xtraiter260 = and i64 %4, 1
  %203 = icmp eq i64 %4, 1
  %unroll_iter262 = and i64 %4, 9223372036854775806
  %lcmp.mod261.not = icmp eq i64 %xtraiter260, 0
  br label %231

204:                                              ; preds = %.lr.ph210, %._crit_edge206
  %.5208 = phi i64 [ 0, %.lr.ph210 ], [ %230, %._crit_edge206 ]
  %205 = load ptr, ptr %199, align 8, !tbaa !14
  %206 = load ptr, ptr %195, align 8, !tbaa !14
  %207 = getelementptr inbounds ptr, ptr %206, i64 %.5208
  %208 = load ptr, ptr %207, align 8, !tbaa !15
  %209 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %192)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %205, i64 noundef 1, ptr noundef %208, i64 noundef 1, i64 noundef %209, double noundef %92)
  br i1 %18, label %.lr.ph205, label %._crit_edge206

.lr.ph205:                                        ; preds = %204, %224
  %.3203 = phi i64 [ %229, %224 ], [ 0, %204 ]
  %210 = load ptr, ptr %200, align 8, !tbaa !14
  %211 = getelementptr inbounds i8, ptr %210, i64 %.3203
  %212 = load i8, ptr %211, align 1, !tbaa !23, !range !25, !noundef !26
  %213 = trunc nuw i8 %212 to i1
  br i1 %213, label %214, label %224

214:                                              ; preds = %.lr.ph205
  %215 = load ptr, ptr %195, align 8, !tbaa !14
  %216 = getelementptr inbounds ptr, ptr %215, i64 %.5208
  %217 = load ptr, ptr %216, align 8, !tbaa !15
  %218 = getelementptr inbounds double, ptr %217, i64 %.3203
  %219 = load double, ptr %218, align 8, !tbaa !16
  %220 = load ptr, ptr %193, align 8, !tbaa !14
  %221 = getelementptr inbounds double, ptr %220, i64 %.3203
  %222 = load double, ptr %221, align 8, !tbaa !16
  %223 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %219, double noundef %222)
  %.pre245 = load ptr, ptr %200, align 8, !tbaa !14
  br label %224

224:                                              ; preds = %214, %.lr.ph205
  %225 = phi ptr [ %210, %.lr.ph205 ], [ %.pre245, %214 ]
  %226 = phi i1 [ false, %.lr.ph205 ], [ %223, %214 ]
  %227 = getelementptr inbounds i8, ptr %225, i64 %.3203
  %228 = zext i1 %226 to i8
  store i8 %228, ptr %227, align 1, !tbaa !23
  %229 = add nuw nsw i64 %.3203, 1
  %exitcond237.not = icmp eq i64 %229, %4
  br i1 %exitcond237.not, label %._crit_edge206, label %.lr.ph205, !llvm.loop !32

._crit_edge206:                                   ; preds = %224, %204
  %230 = add nuw nsw i64 %.5208, 1
  %exitcond239.not = icmp eq i64 %230, %smax238
  br i1 %exitcond239.not, label %.lr.ph218, label %204, !llvm.loop !33

231:                                              ; preds = %.lr.ph218, %._crit_edge215
  %.6217 = phi i64 [ 0, %.lr.ph218 ], [ %267, %._crit_edge215 ]
  %232 = load ptr, ptr %195, align 8, !tbaa !14
  %233 = getelementptr inbounds ptr, ptr %232, i64 %.6217
  %234 = load ptr, ptr %233, align 8, !tbaa !15
  %235 = load ptr, ptr %201, align 8, !tbaa !14
  %236 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %192)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %234, i64 noundef 1, ptr noundef %235, i64 noundef 1, i64 noundef %236)
  br i1 %18, label %.lr.ph214.preheader, label %._crit_edge215

.lr.ph214.preheader:                              ; preds = %231
  br i1 %203, label %._crit_edge215.loopexit.unr-lcssa, label %.lr.ph214

.lr.ph214:                                        ; preds = %.lr.ph214.preheader, %256
  %.4212 = phi i64 [ %257, %256 ], [ 0, %.lr.ph214.preheader ]
  %niter263 = phi i64 [ %niter263.next.1, %256 ], [ 0, %.lr.ph214.preheader ]
  %237 = load ptr, ptr %202, align 8, !tbaa !14
  %238 = getelementptr inbounds i8, ptr %237, i64 %.4212
  %239 = load i8, ptr %238, align 1, !tbaa !23, !range !25, !noundef !26
  %240 = trunc nuw i8 %239 to i1
  br i1 %240, label %241, label %.lr.ph214.1

241:                                              ; preds = %.lr.ph214
  %242 = load ptr, ptr %195, align 8, !tbaa !14
  %243 = getelementptr inbounds ptr, ptr %242, i64 %.6217
  %244 = load ptr, ptr %243, align 8, !tbaa !15
  %245 = getelementptr inbounds double, ptr %244, i64 %.4212
  store double 0.000000e+00, ptr %245, align 8, !tbaa !16
  br label %.lr.ph214.1

.lr.ph214.1:                                      ; preds = %.lr.ph214, %241
  %246 = or disjoint i64 %.4212, 1
  %247 = load ptr, ptr %202, align 8, !tbaa !14
  %248 = getelementptr inbounds i8, ptr %247, i64 %246
  %249 = load i8, ptr %248, align 1, !tbaa !23, !range !25, !noundef !26
  %250 = trunc nuw i8 %249 to i1
  br i1 %250, label %251, label %256

251:                                              ; preds = %.lr.ph214.1
  %252 = load ptr, ptr %195, align 8, !tbaa !14
  %253 = getelementptr inbounds ptr, ptr %252, i64 %.6217
  %254 = load ptr, ptr %253, align 8, !tbaa !15
  %255 = getelementptr inbounds double, ptr %254, i64 %246
  store double 0.000000e+00, ptr %255, align 8, !tbaa !16
  br label %256

256:                                              ; preds = %251, %.lr.ph214.1
  %257 = add nuw nsw i64 %.4212, 2
  %niter263.next.1 = add i64 %niter263, 2
  %niter263.ncmp.1 = icmp eq i64 %niter263.next.1, %unroll_iter262
  br i1 %niter263.ncmp.1, label %._crit_edge215.loopexit.unr-lcssa, label %.lr.ph214, !llvm.loop !34

._crit_edge215.loopexit.unr-lcssa:                ; preds = %256, %.lr.ph214.preheader
  %.4212.unr = phi i64 [ 0, %.lr.ph214.preheader ], [ %257, %256 ]
  br i1 %lcmp.mod261.not, label %._crit_edge215, label %.lr.ph214.epil

.lr.ph214.epil:                                   ; preds = %._crit_edge215.loopexit.unr-lcssa
  %258 = load ptr, ptr %202, align 8, !tbaa !14
  %259 = getelementptr inbounds i8, ptr %258, i64 %.4212.unr
  %260 = load i8, ptr %259, align 1, !tbaa !23, !range !25, !noundef !26
  %261 = trunc nuw i8 %260 to i1
  br i1 %261, label %262, label %._crit_edge215

262:                                              ; preds = %.lr.ph214.epil
  %263 = load ptr, ptr %195, align 8, !tbaa !14
  %264 = getelementptr inbounds ptr, ptr %263, i64 %.6217
  %265 = load ptr, ptr %264, align 8, !tbaa !15
  %266 = getelementptr inbounds double, ptr %265, i64 %.4212.unr
  store double 0.000000e+00, ptr %266, align 8, !tbaa !16
  br label %._crit_edge215

._crit_edge215:                                   ; preds = %._crit_edge215.loopexit.unr-lcssa, %262, %.lr.ph214.epil, %231
  %267 = add nuw nsw i64 %.6217, 1
  %exitcond242.not = icmp eq i64 %267, %smax241
  br i1 %exitcond242.not, label %._crit_edge219, label %231, !llvm.loop !35

._crit_edge219:                                   ; preds = %._crit_edge215
  %268 = uitofp nneg i64 %167 to double
  %269 = fdiv double 1.000000e+00, %268
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %3, i64 noundef %4, i64 noundef %2, double noundef %269, ptr noundef nonnull %9, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef nonnull %10, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, ptr noundef %6)
  br label %._crit_edge226

._crit_edge226:                                   ; preds = %._crit_edge223.us, %35, %.preheader.lr.ph, %._crit_edge219
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %6)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  ret void
}

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

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

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

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

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

declare void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

declare void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.unroll.disable"}
!22 = distinct !{!22, !19}
!23 = !{!10, !10, i64 0}
!24 = distinct !{!24, !19}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}
!33 = distinct !{!33, !19}
!34 = distinct !{!34, !19}
!35 = distinct !{!35, !19}


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