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

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

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

; 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

43:                                               ; preds = %8
  %44 = load i64, ptr %12, align 8, !tbaa !9
  %45 = icmp slt i64 %44, 1
  br i1 %45, label %46, label %49

46:                                               ; preds = %43, %8
  %47 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 -1, ptr %47, align 8, !tbaa !9
  %48 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %48)
  store i32 1, ptr %30, align 4
  br label %392

49:                                               ; preds = %43
  %50 = load i64, ptr %11, align 8, !tbaa !9
  %51 = sub nsw i64 %50, 1
  %52 = add nsw i64 %51, 1
  %53 = load i64, ptr %12, align 8, !tbaa !9
  %54 = add nsw i64 %53, 1
  %55 = add nsw i64 %54, 1
  %56 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %18, i64 noundef %52, i64 noundef %55, ptr noundef %56)
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %103, %49
  %58 = load i64, ptr %22, align 8, !tbaa !9
  %59 = load i64, ptr %11, align 8, !tbaa !9
  %60 = sub nsw i64 %59, 1
  %61 = icmp sle i64 %58, %60
  br i1 %61, label %62, label %106

62:                                               ; preds = %57
  %63 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  %65 = load i64, ptr %22, align 8, !tbaa !9
  %66 = getelementptr inbounds ptr, ptr %64, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = getelementptr inbounds double, ptr %67, i64 0
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %69, i32 0, i32 6
  %71 = load ptr, ptr %70, align 8, !tbaa !11
  %72 = load i64, ptr %22, align 8, !tbaa !9
  %73 = getelementptr inbounds ptr, ptr %71, i64 %72
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = getelementptr inbounds double, ptr %74, i64 0
  %76 = load i64, ptr %12, align 8, !tbaa !9
  %77 = sub nsw i64 %76, 1
  %78 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %77)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %68, i64 noundef 1, ptr noundef %75, i64 noundef 1, i64 noundef %78)
  %79 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %80 = load ptr, ptr %79, align 8, !tbaa !11
  %81 = load i64, ptr %22, align 8, !tbaa !9
  %82 = getelementptr inbounds ptr, ptr %80, i64 %81
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = load i64, ptr %12, align 8, !tbaa !9
  %85 = getelementptr inbounds double, ptr %83, i64 %84
  store double 1.000000e+00, ptr %85, align 8, !tbaa !12
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %86, i32 0, i32 6
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  %89 = load i64, ptr %22, align 8, !tbaa !9
  %90 = getelementptr inbounds ptr, ptr %88, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = load i64, ptr %12, align 8, !tbaa !9
  %93 = getelementptr inbounds double, ptr %91, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !12
  %95 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %96 = load ptr, ptr %95, align 8, !tbaa !11
  %97 = load i64, ptr %22, align 8, !tbaa !9
  %98 = getelementptr inbounds ptr, ptr %96, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  %100 = load i64, ptr %12, align 8, !tbaa !9
  %101 = add nsw i64 %100, 1
  %102 = getelementptr inbounds double, ptr %99, i64 %101
  store double %94, ptr %102, align 8, !tbaa !12
  br label %103

103:                                              ; preds = %62
  %104 = load i64, ptr %22, align 8, !tbaa !9
  %105 = add nsw i64 %104, 1
  store i64 %105, ptr %22, align 8, !tbaa !9
  br label %57, !llvm.loop !14

106:                                              ; preds = %57
  %107 = load i64, ptr %11, align 8, !tbaa !9
  %108 = sub nsw i64 %107, 1
  %109 = add nsw i64 %108, 1
  %110 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %19, i64 noundef %109, ptr noundef %110)
  %111 = load i64, ptr %12, align 8, !tbaa !9
  %112 = sub nsw i64 %111, 1
  %113 = add nsw i64 %112, 1
  %114 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %20, i64 noundef %113, ptr noundef %114)
  %115 = load i64, ptr %12, align 8, !tbaa !9
  %116 = sub nsw i64 %115, 1
  %117 = add nsw i64 %116, 1
  %118 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %117, ptr noundef %118)
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %119

119:                                              ; preds = %204, %106
  %120 = load i64, ptr %23, align 8, !tbaa !9
  %121 = load i64, ptr %12, align 8, !tbaa !9
  %122 = sub nsw i64 %121, 1
  %123 = icmp sle i64 %120, %122
  br i1 %123, label %124, label %207

124:                                              ; preds = %119
  %125 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %19, i32 0, i32 4
  %126 = load ptr, ptr %125, align 8, !tbaa !11
  %127 = getelementptr inbounds double, ptr %126, i64 0
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %128, i32 0, i32 6
  %130 = load ptr, ptr %129, align 8, !tbaa !11
  %131 = getelementptr inbounds ptr, ptr %130, i64 0
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  %133 = load i64, ptr %23, align 8, !tbaa !9
  %134 = getelementptr inbounds double, ptr %132, i64 %133
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %135, i32 0, i32 2
  %137 = load i64, ptr %136, align 8, !tbaa !16
  %138 = load i64, ptr %11, align 8, !tbaa !9
  %139 = sub nsw i64 %138, 1
  %140 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %139)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %127, i64 noundef 1, ptr noundef %134, i64 noundef %137, i64 noundef %140)
  %141 = load i64, ptr %11, align 8, !tbaa !9
  %142 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl13samplemomentsEPNS_9ae_vectorElPdS2_S2_S2_PNS_8ae_stateE(ptr noundef %19, i64 noundef %141, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %142)
  %143 = load double, ptr %26, align 8, !tbaa !12
  %144 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %145 = load ptr, ptr %144, align 8, !tbaa !11
  %146 = load i64, ptr %23, align 8, !tbaa !9
  %147 = getelementptr inbounds double, ptr %145, i64 %146
  store double %143, ptr %147, align 8, !tbaa !12
  %148 = load double, ptr %27, align 8, !tbaa !12
  %149 = load ptr, ptr %16, align 8, !tbaa !5
  %150 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %148, ptr noundef %149)
  %151 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %152 = load ptr, ptr %151, align 8, !tbaa !11
  %153 = load i64, ptr %23, align 8, !tbaa !9
  %154 = getelementptr inbounds double, ptr %152, i64 %153
  store double %150, ptr %154, align 8, !tbaa !12
  %155 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %156 = load ptr, ptr %155, align 8, !tbaa !11
  %157 = load i64, ptr %23, align 8, !tbaa !9
  %158 = getelementptr inbounds double, ptr %156, i64 %157
  %159 = load double, ptr %158, align 8, !tbaa !12
  %160 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %159, double noundef 0.000000e+00)
  br i1 %160, label %161, label %166

161:                                              ; preds = %124
  %162 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %163 = load ptr, ptr %162, align 8, !tbaa !11
  %164 = load i64, ptr %23, align 8, !tbaa !9
  %165 = getelementptr inbounds double, ptr %163, i64 %164
  store double 1.000000e+00, ptr %165, align 8, !tbaa !12
  br label %166

166:                                              ; preds = %161, %124
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %167

167:                                              ; preds = %200, %166
  %168 = load i64, ptr %22, align 8, !tbaa !9
  %169 = load i64, ptr %11, align 8, !tbaa !9
  %170 = sub nsw i64 %169, 1
  %171 = icmp sle i64 %168, %170
  br i1 %171, label %172, label %203

172:                                              ; preds = %167
  %173 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %174 = load ptr, ptr %173, align 8, !tbaa !11
  %175 = load i64, ptr %22, align 8, !tbaa !9
  %176 = getelementptr inbounds ptr, ptr %174, i64 %175
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = load i64, ptr %23, align 8, !tbaa !9
  %179 = getelementptr inbounds double, ptr %177, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !12
  %181 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %182 = load ptr, ptr %181, align 8, !tbaa !11
  %183 = load i64, ptr %23, align 8, !tbaa !9
  %184 = getelementptr inbounds double, ptr %182, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !12
  %186 = fsub double %180, %185
  %187 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %188 = load ptr, ptr %187, align 8, !tbaa !11
  %189 = load i64, ptr %23, align 8, !tbaa !9
  %190 = getelementptr inbounds double, ptr %188, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !12
  %192 = fdiv double %186, %191
  %193 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %194 = load ptr, ptr %193, align 8, !tbaa !11
  %195 = load i64, ptr %22, align 8, !tbaa !9
  %196 = getelementptr inbounds ptr, ptr %194, i64 %195
  %197 = load ptr, ptr %196, align 8, !tbaa !5
  %198 = load i64, ptr %23, align 8, !tbaa !9
  %199 = getelementptr inbounds double, ptr %197, i64 %198
  store double %192, ptr %199, align 8, !tbaa !12
  br label %200

200:                                              ; preds = %172
  %201 = load i64, ptr %22, align 8, !tbaa !9
  %202 = add nsw i64 %201, 1
  store i64 %202, ptr %22, align 8, !tbaa !9
  br label %167, !llvm.loop !20

203:                                              ; preds = %167
  br label %204

204:                                              ; preds = %203
  %205 = load i64, ptr %23, align 8, !tbaa !9
  %206 = add nsw i64 %205, 1
  store i64 %206, ptr %23, align 8, !tbaa !9
  br label %119, !llvm.loop !21

207:                                              ; preds = %119
  %208 = load ptr, ptr %10, align 8, !tbaa !5
  %209 = load i64, ptr %11, align 8, !tbaa !9
  %210 = load i64, ptr %12, align 8, !tbaa !9
  %211 = add nsw i64 %210, 1
  %212 = load ptr, ptr %13, align 8, !tbaa !5
  %213 = load ptr, ptr %14, align 8, !tbaa !5
  %214 = load ptr, ptr %15, align 8, !tbaa !5
  %215 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_implL17linreg_lrinternalEPNS_9ae_matrixEPNS_9ae_vectorEllPlPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef %18, ptr noundef %208, i64 noundef %209, i64 noundef %211, ptr noundef %212, ptr noundef %213, ptr noundef %214, ptr noundef %215)
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = load i64, ptr %216, align 8, !tbaa !9
  %218 = icmp slt i64 %217, 0
  br i1 %218, label %219, label %221

219:                                              ; preds = %207
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %220)
  store i32 1, ptr %30, align 4
  br label %392

221:                                              ; preds = %207
  %222 = load ptr, ptr %14, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.alglib_impl::linearmodel", ptr %222, i32 0, i32 0
  %224 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %223, i32 0, i32 4
  %225 = load ptr, ptr %224, align 8, !tbaa !11
  %226 = getelementptr inbounds double, ptr %225, i64 3
  %227 = load double, ptr %226, align 8, !tbaa !12
  %228 = load ptr, ptr %16, align 8, !tbaa !5
  %229 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %227, ptr noundef %228)
  store i64 %229, ptr %25, align 8, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %230

230:                                              ; preds = %387, %221
  %231 = load i64, ptr %23, align 8, !tbaa !9
  %232 = load i64, ptr %12, align 8, !tbaa !9
  %233 = sub nsw i64 %232, 1
  %234 = icmp sle i64 %231, %233
  br i1 %234, label %235, label %390

235:                                              ; preds = %230
  %236 = load ptr, ptr %14, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.alglib_impl::linearmodel", ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %237, i32 0, i32 4
  %239 = load ptr, ptr %238, align 8, !tbaa !11
  %240 = load i64, ptr %25, align 8, !tbaa !9
  %241 = load i64, ptr %12, align 8, !tbaa !9
  %242 = add nsw i64 %240, %241
  %243 = getelementptr inbounds double, ptr %239, i64 %242
  %244 = load double, ptr %243, align 8, !tbaa !12
  %245 = load ptr, ptr %14, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.alglib_impl::linearmodel", ptr %245, i32 0, i32 0
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %246, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !11
  %249 = load i64, ptr %25, align 8, !tbaa !9
  %250 = load i64, ptr %23, align 8, !tbaa !9
  %251 = add nsw i64 %249, %250
  %252 = getelementptr inbounds double, ptr %248, i64 %251
  %253 = load double, ptr %252, align 8, !tbaa !12
  %254 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %255 = load ptr, ptr %254, align 8, !tbaa !11
  %256 = load i64, ptr %23, align 8, !tbaa !9
  %257 = getelementptr inbounds double, ptr %255, i64 %256
  %258 = load double, ptr %257, align 8, !tbaa !12
  %259 = fmul double %253, %258
  %260 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %261 = load ptr, ptr %260, align 8, !tbaa !11
  %262 = load i64, ptr %23, align 8, !tbaa !9
  %263 = getelementptr inbounds double, ptr %261, i64 %262
  %264 = load double, ptr %263, align 8, !tbaa !12
  %265 = fdiv double %259, %264
  %266 = fsub double %244, %265
  %267 = load ptr, ptr %14, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.alglib_impl::linearmodel", ptr %267, i32 0, i32 0
  %269 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %268, i32 0, i32 4
  %270 = load ptr, ptr %269, align 8, !tbaa !11
  %271 = load i64, ptr %25, align 8, !tbaa !9
  %272 = load i64, ptr %12, align 8, !tbaa !9
  %273 = add nsw i64 %271, %272
  %274 = getelementptr inbounds double, ptr %270, i64 %273
  store double %266, ptr %274, align 8, !tbaa !12
  %275 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %276 = load ptr, ptr %275, align 8, !tbaa !11
  %277 = load i64, ptr %23, align 8, !tbaa !9
  %278 = getelementptr inbounds double, ptr %276, i64 %277
  %279 = load double, ptr %278, align 8, !tbaa !12
  %280 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %281 = load ptr, ptr %280, align 8, !tbaa !11
  %282 = load i64, ptr %23, align 8, !tbaa !9
  %283 = getelementptr inbounds double, ptr %281, i64 %282
  %284 = load double, ptr %283, align 8, !tbaa !12
  %285 = fdiv double %279, %284
  store double %285, ptr %24, align 8, !tbaa !12
  %286 = load ptr, ptr %15, align 8, !tbaa !5
  %287 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %286, i32 0, i32 0
  %288 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %287, i32 0, i32 6
  %289 = load ptr, ptr %288, align 8, !tbaa !11
  %290 = load i64, ptr %12, align 8, !tbaa !9
  %291 = getelementptr inbounds ptr, ptr %289, i64 %290
  %292 = load ptr, ptr %291, align 8, !tbaa !5
  %293 = getelementptr inbounds double, ptr %292, i64 0
  %294 = load ptr, ptr %15, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %294, i32 0, i32 0
  %296 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %295, i32 0, i32 6
  %297 = load ptr, ptr %296, align 8, !tbaa !11
  %298 = load i64, ptr %23, align 8, !tbaa !9
  %299 = getelementptr inbounds ptr, ptr %297, i64 %298
  %300 = load ptr, ptr %299, align 8, !tbaa !5
  %301 = getelementptr inbounds double, ptr %300, i64 0
  %302 = load i64, ptr %12, align 8, !tbaa !9
  %303 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %302)
  %304 = load double, ptr %24, align 8, !tbaa !12
  call void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef %293, i64 noundef 1, ptr noundef %301, i64 noundef 1, i64 noundef %303, double noundef %304)
  %305 = load ptr, ptr %15, align 8, !tbaa !5
  %306 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %305, i32 0, i32 0
  %307 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %306, i32 0, i32 6
  %308 = load ptr, ptr %307, align 8, !tbaa !11
  %309 = getelementptr inbounds ptr, ptr %308, i64 0
  %310 = load ptr, ptr %309, align 8, !tbaa !5
  %311 = load i64, ptr %12, align 8, !tbaa !9
  %312 = getelementptr inbounds double, ptr %310, i64 %311
  %313 = load ptr, ptr %15, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %313, i32 0, i32 0
  %315 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %314, i32 0, i32 2
  %316 = load i64, ptr %315, align 8, !tbaa !22
  %317 = load ptr, ptr %15, align 8, !tbaa !5
  %318 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %317, i32 0, i32 0
  %319 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %318, i32 0, i32 6
  %320 = load ptr, ptr %319, align 8, !tbaa !11
  %321 = getelementptr inbounds ptr, ptr %320, i64 0
  %322 = load ptr, ptr %321, align 8, !tbaa !5
  %323 = load i64, ptr %23, align 8, !tbaa !9
  %324 = getelementptr inbounds double, ptr %322, i64 %323
  %325 = load ptr, ptr %15, align 8, !tbaa !5
  %326 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %325, i32 0, i32 0
  %327 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %326, i32 0, i32 2
  %328 = load i64, ptr %327, align 8, !tbaa !22
  %329 = load i64, ptr %12, align 8, !tbaa !9
  %330 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %329)
  %331 = load double, ptr %24, align 8, !tbaa !12
  call void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef %312, i64 noundef %316, ptr noundef %324, i64 noundef %328, i64 noundef %330, double noundef %331)
  %332 = load ptr, ptr %14, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.alglib_impl::linearmodel", ptr %332, i32 0, i32 0
  %334 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %333, i32 0, i32 4
  %335 = load ptr, ptr %334, align 8, !tbaa !11
  %336 = load i64, ptr %25, align 8, !tbaa !9
  %337 = load i64, ptr %23, align 8, !tbaa !9
  %338 = add nsw i64 %336, %337
  %339 = getelementptr inbounds double, ptr %335, i64 %338
  %340 = load double, ptr %339, align 8, !tbaa !12
  %341 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %342 = load ptr, ptr %341, align 8, !tbaa !11
  %343 = load i64, ptr %23, align 8, !tbaa !9
  %344 = getelementptr inbounds double, ptr %342, i64 %343
  %345 = load double, ptr %344, align 8, !tbaa !12
  %346 = fdiv double %340, %345
  %347 = load ptr, ptr %14, align 8, !tbaa !5
  %348 = getelementptr inbounds %"struct.alglib_impl::linearmodel", ptr %347, i32 0, i32 0
  %349 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %348, i32 0, i32 4
  %350 = load ptr, ptr %349, align 8, !tbaa !11
  %351 = load i64, ptr %25, align 8, !tbaa !9
  %352 = load i64, ptr %23, align 8, !tbaa !9
  %353 = add nsw i64 %351, %352
  %354 = getelementptr inbounds double, ptr %350, i64 %353
  store double %346, ptr %354, align 8, !tbaa !12
  %355 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %356 = load ptr, ptr %355, align 8, !tbaa !11
  %357 = load i64, ptr %23, align 8, !tbaa !9
  %358 = getelementptr inbounds double, ptr %356, i64 %357
  %359 = load double, ptr %358, align 8, !tbaa !12
  %360 = fdiv double 1.000000e+00, %359
  store double %360, ptr %24, align 8, !tbaa !12
  %361 = load ptr, ptr %15, align 8, !tbaa !5
  %362 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %361, i32 0, i32 0
  %363 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %362, i32 0, i32 6
  %364 = load ptr, ptr %363, align 8, !tbaa !11
  %365 = load i64, ptr %23, align 8, !tbaa !9
  %366 = getelementptr inbounds ptr, ptr %364, i64 %365
  %367 = load ptr, ptr %366, align 8, !tbaa !5
  %368 = getelementptr inbounds double, ptr %367, i64 0
  %369 = load i64, ptr %12, align 8, !tbaa !9
  %370 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %369)
  %371 = load double, ptr %24, align 8, !tbaa !12
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %368, i64 noundef 1, i64 noundef %370, double noundef %371)
  %372 = load ptr, ptr %15, align 8, !tbaa !5
  %373 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %372, i32 0, i32 0
  %374 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %373, i32 0, i32 6
  %375 = load ptr, ptr %374, align 8, !tbaa !11
  %376 = getelementptr inbounds ptr, ptr %375, i64 0
  %377 = load ptr, ptr %376, align 8, !tbaa !5
  %378 = load i64, ptr %23, align 8, !tbaa !9
  %379 = getelementptr inbounds double, ptr %377, i64 %378
  %380 = load ptr, ptr %15, align 8, !tbaa !5
  %381 = getelementptr inbounds %"struct.alglib_impl::lrreport", ptr %380, i32 0, i32 0
  %382 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %381, i32 0, i32 2
  %383 = load i64, ptr %382, align 8, !tbaa !22
  %384 = load i64, ptr %12, align 8, !tbaa !9
  %385 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %384)
  %386 = load double, ptr %24, align 8, !tbaa !12
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %379, i64 noundef %383, i64 noundef %385, double noundef %386)
  br label %387

387:                                              ; preds = %235
  %388 = load i64, ptr %23, align 8, !tbaa !9
  %389 = add nsw i64 %388, 1
  store i64 %389, ptr %23, align 8, !tbaa !9
  br label %230, !llvm.loop !25

390:                                              ; preds = %230
  %391 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %391)
  store i32 0, ptr %30, align 4
  br label %392

392:                                              ; preds = %390, %219, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #4
  %393 = load i32, ptr %30, align 4
  switch i32 %393, label %395 [
    i32 0, label %394
    i32 1, label %394
  ]

394:                                              ; preds = %392, %392
  ret void

395:                                              ; preds = %392
  unreachable
}

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #3

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

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

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

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

declare void @_ZN11alglib_impl13samplemomentsEPNS_9ae_vectorElPdS2_S2_S2_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

declare noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef, ptr noundef) #3

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

declare void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef, i64 noundef, i64 noundef, double noundef) #3

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

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

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

declare void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !10, i64 16}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !18, i64 32, !19, i64 40, !7, i64 72}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = !{!23, !10, i64 16}
!23 = !{!"_ZTSN11alglib_impl8lrreportE", !17, i64 0, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !10, i64 128, !24, i64 136}
!24 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !18, i64 16, !19, i64 24, !7, i64 56}
!25 = distinct !{!25, !15}


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

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

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl8lrbuildsEPNS_9ae_matrixEPNS_9ae_vectorEllPlPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #2 {
  %9 = alloca %"struct.alglib_impl::ae_frame", 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 double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %7, ptr noundef nonnull %9)
  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)
  store i64 0, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_linearmodel_clearEPv(ptr noundef %5)
  call void @_ZN11alglib_impl15_lrreport_clearEPv(ptr noundef %6)
  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 %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %7, 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 %7, 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 %7, i1 noundef zeroext true)
  %18 = add nsw i64 %3, 1
  %19 = icmp sge i64 %18, %2
  %20 = icmp slt i64 %3, 1
  %or.cond = or i1 %20, %19
  br i1 %or.cond, label %21, label %22

21:                                               ; preds = %8
  store i64 -1, ptr %4, align 8, !tbaa !5
  br label %._crit_edge144

22:                                               ; preds = %8
  %23 = add nsw i64 %2, -1
  %24 = add nuw nsw i64 %3, 2
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %2, i64 noundef %24, ptr noundef %7)
  %.not.not128 = icmp sgt i64 %2, 0
  br i1 %.not.not128, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %22
  %25 = getelementptr inbounds i8, ptr %10, i64 72
  %26 = getelementptr inbounds i8, ptr %0, i64 72
  %27 = add nsw i64 %3, -1
  br label %28

28:                                               ; preds = %.lr.ph, %28
  %.0129 = phi i64 [ 0, %.lr.ph ], [ %49, %28 ]
  %29 = load ptr, ptr %25, align 8, !tbaa !9
  %30 = getelementptr inbounds ptr, ptr %29, i64 %.0129
  %31 = load ptr, ptr %30, align 8, !tbaa !10
  %32 = load ptr, ptr %26, align 8, !tbaa !9
  %33 = getelementptr inbounds ptr, ptr %32, i64 %.0129
  %34 = load ptr, ptr %33, align 8, !tbaa !10
  %35 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %27)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %31, i64 noundef 1, ptr noundef %34, i64 noundef 1, i64 noundef %35)
  %36 = load ptr, ptr %25, align 8, !tbaa !9
  %37 = getelementptr inbounds ptr, ptr %36, i64 %.0129
  %38 = load ptr, ptr %37, align 8, !tbaa !10
  %39 = getelementptr inbounds double, ptr %38, i64 %3
  store double 1.000000e+00, ptr %39, align 8, !tbaa !12
  %40 = load ptr, ptr %26, align 8, !tbaa !9
  %41 = getelementptr inbounds ptr, ptr %40, i64 %.0129
  %42 = load ptr, ptr %41, align 8, !tbaa !10
  %43 = getelementptr inbounds double, ptr %42, i64 %3
  %44 = load double, ptr %43, align 8, !tbaa !12
  %45 = load ptr, ptr %25, align 8, !tbaa !9
  %46 = getelementptr inbounds ptr, ptr %45, i64 %.0129
  %47 = load ptr, ptr %46, align 8, !tbaa !10
  %48 = getelementptr inbounds double, ptr %47, i64 %18
  store double %44, ptr %48, align 8, !tbaa !12
  %49 = add nuw nsw i64 %.0129, 1
  %exitcond.not = icmp eq i64 %49, %2
  br i1 %exitcond.not, label %._crit_edge, label %28, !llvm.loop !14

._crit_edge:                                      ; preds = %28, %22
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %2, ptr noundef %7)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %3, ptr noundef %7)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %3, ptr noundef %7)
  %.not.not125135 = icmp sgt i64 %3, 0
  br i1 %.not.not125135, label %.lr.ph138, label %._crit_edge139

.lr.ph138:                                        ; preds = %._crit_edge
  %50 = getelementptr inbounds i8, ptr %11, i64 56
  %51 = getelementptr inbounds i8, ptr %0, i64 72
  %52 = getelementptr inbounds i8, ptr %0, i64 16
  %53 = getelementptr inbounds i8, ptr %12, i64 56
  %54 = getelementptr inbounds i8, ptr %13, i64 56
  %55 = getelementptr inbounds i8, ptr %10, i64 72
  br i1 %.not.not128, label %.lr.ph138.split.us.preheader, label %.lr.ph138.split

.lr.ph138.split.us.preheader:                     ; preds = %.lr.ph138
  %xtraiter = and i64 %2, 1
  %56 = icmp eq i64 %2, 1
  %unroll_iter = and i64 %2, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph138.split.us

.lr.ph138.split.us:                               ; preds = %.lr.ph138.split.us.preheader, %._crit_edge134.us
  %.0118136.us = phi i64 [ %118, %._crit_edge134.us ], [ 0, %.lr.ph138.split.us.preheader ]
  %57 = load ptr, ptr %50, align 8, !tbaa !9
  %58 = load ptr, ptr %51, align 8, !tbaa !9
  %59 = load ptr, ptr %58, align 8, !tbaa !10
  %60 = getelementptr inbounds double, ptr %59, i64 %.0118136.us
  %61 = load i64, ptr %52, align 8, !tbaa !16
  %62 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %23)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %57, i64 noundef 1, ptr noundef %60, i64 noundef %61, i64 noundef %62)
  call void @_ZN11alglib_impl13samplemomentsEPNS_9ae_vectorElPdS2_S2_S2_PNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %2, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef %7)
  %63 = load double, ptr %14, align 8, !tbaa !12
  %64 = load ptr, ptr %53, align 8, !tbaa !9
  %65 = getelementptr inbounds double, ptr %64, i64 %.0118136.us
  store double %63, ptr %65, align 8, !tbaa !12
  %66 = load double, ptr %15, align 8, !tbaa !12
  %67 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %66, ptr noundef %7)
  %68 = load ptr, ptr %54, align 8, !tbaa !9
  %69 = getelementptr inbounds double, ptr %68, i64 %.0118136.us
  store double %67, ptr %69, align 8, !tbaa !12
  %70 = load ptr, ptr %54, align 8, !tbaa !9
  %71 = getelementptr inbounds double, ptr %70, i64 %.0118136.us
  %72 = load double, ptr %71, align 8, !tbaa !12
  %73 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %72, double noundef 0.000000e+00)
  br i1 %73, label %74, label %.lr.ph133.us.preheader

74:                                               ; preds = %.lr.ph138.split.us
  %75 = load ptr, ptr %54, align 8, !tbaa !9
  %76 = getelementptr inbounds double, ptr %75, i64 %.0118136.us
  store double 1.000000e+00, ptr %76, align 8, !tbaa !12
  br label %.lr.ph133.us.preheader

.lr.ph133.us.preheader:                           ; preds = %74, %.lr.ph138.split.us
  br i1 %56, label %._crit_edge134.us.unr-lcssa, label %.lr.ph133.us

.lr.ph133.us:                                     ; preds = %.lr.ph133.us.preheader, %.lr.ph133.us
  %.1131.us = phi i64 [ %104, %.lr.ph133.us ], [ 0, %.lr.ph133.us.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph133.us ], [ 0, %.lr.ph133.us.preheader ]
  %77 = load ptr, ptr %55, align 8, !tbaa !9
  %78 = getelementptr inbounds ptr, ptr %77, i64 %.1131.us
  %79 = load ptr, ptr %78, align 8, !tbaa !10
  %80 = getelementptr inbounds double, ptr %79, i64 %.0118136.us
  %81 = load double, ptr %80, align 8, !tbaa !12
  %82 = load ptr, ptr %53, align 8, !tbaa !9
  %83 = getelementptr inbounds double, ptr %82, i64 %.0118136.us
  %84 = load double, ptr %83, align 8, !tbaa !12
  %85 = fsub double %81, %84
  %86 = load ptr, ptr %54, align 8, !tbaa !9
  %87 = getelementptr inbounds double, ptr %86, i64 %.0118136.us
  %88 = load double, ptr %87, align 8, !tbaa !12
  %89 = fdiv double %85, %88
  store double %89, ptr %80, align 8, !tbaa !12
  %90 = or disjoint i64 %.1131.us, 1
  %91 = load ptr, ptr %55, align 8, !tbaa !9
  %92 = getelementptr inbounds ptr, ptr %91, i64 %90
  %93 = load ptr, ptr %92, align 8, !tbaa !10
  %94 = getelementptr inbounds double, ptr %93, i64 %.0118136.us
  %95 = load double, ptr %94, align 8, !tbaa !12
  %96 = load ptr, ptr %53, align 8, !tbaa !9
  %97 = getelementptr inbounds double, ptr %96, i64 %.0118136.us
  %98 = load double, ptr %97, align 8, !tbaa !12
  %99 = fsub double %95, %98
  %100 = load ptr, ptr %54, align 8, !tbaa !9
  %101 = getelementptr inbounds double, ptr %100, i64 %.0118136.us
  %102 = load double, ptr %101, align 8, !tbaa !12
  %103 = fdiv double %99, %102
  store double %103, ptr %94, align 8, !tbaa !12
  %104 = add nuw nsw i64 %.1131.us, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge134.us.unr-lcssa, label %.lr.ph133.us, !llvm.loop !20

._crit_edge134.us.unr-lcssa:                      ; preds = %.lr.ph133.us, %.lr.ph133.us.preheader
  %.1131.us.unr = phi i64 [ 0, %.lr.ph133.us.preheader ], [ %104, %.lr.ph133.us ]
  br i1 %lcmp.mod.not, label %._crit_edge134.us, label %.lr.ph133.us.epil

.lr.ph133.us.epil:                                ; preds = %._crit_edge134.us.unr-lcssa
  %105 = load ptr, ptr %55, align 8, !tbaa !9
  %106 = getelementptr inbounds ptr, ptr %105, i64 %.1131.us.unr
  %107 = load ptr, ptr %106, align 8, !tbaa !10
  %108 = getelementptr inbounds double, ptr %107, i64 %.0118136.us
  %109 = load double, ptr %108, align 8, !tbaa !12
  %110 = load ptr, ptr %53, align 8, !tbaa !9
  %111 = getelementptr inbounds double, ptr %110, i64 %.0118136.us
  %112 = load double, ptr %111, align 8, !tbaa !12
  %113 = fsub double %109, %112
  %114 = load ptr, ptr %54, align 8, !tbaa !9
  %115 = getelementptr inbounds double, ptr %114, i64 %.0118136.us
  %116 = load double, ptr %115, align 8, !tbaa !12
  %117 = fdiv double %113, %116
  store double %117, ptr %108, align 8, !tbaa !12
  br label %._crit_edge134.us

._crit_edge134.us:                                ; preds = %._crit_edge134.us.unr-lcssa, %.lr.ph133.us.epil
  %118 = add nuw nsw i64 %.0118136.us, 1
  %exitcond148.not = icmp eq i64 %118, %3
  br i1 %exitcond148.not, label %._crit_edge139, label %.lr.ph138.split.us, !llvm.loop !21

.lr.ph138.split:                                  ; preds = %.lr.ph138, %139
  %.0118136 = phi i64 [ %140, %139 ], [ 0, %.lr.ph138 ]
  %119 = load ptr, ptr %50, align 8, !tbaa !9
  %120 = load ptr, ptr %51, align 8, !tbaa !9
  %121 = load ptr, ptr %120, align 8, !tbaa !10
  %122 = getelementptr inbounds double, ptr %121, i64 %.0118136
  %123 = load i64, ptr %52, align 8, !tbaa !16
  %124 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %23)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %119, i64 noundef 1, ptr noundef %122, i64 noundef %123, i64 noundef %124)
  call void @_ZN11alglib_impl13samplemomentsEPNS_9ae_vectorElPdS2_S2_S2_PNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %2, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef %7)
  %125 = load double, ptr %14, align 8, !tbaa !12
  %126 = load ptr, ptr %53, align 8, !tbaa !9
  %127 = getelementptr inbounds double, ptr %126, i64 %.0118136
  store double %125, ptr %127, align 8, !tbaa !12
  %128 = load double, ptr %15, align 8, !tbaa !12
  %129 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %128, ptr noundef %7)
  %130 = load ptr, ptr %54, align 8, !tbaa !9
  %131 = getelementptr inbounds double, ptr %130, i64 %.0118136
  store double %129, ptr %131, align 8, !tbaa !12
  %132 = load ptr, ptr %54, align 8, !tbaa !9
  %133 = getelementptr inbounds double, ptr %132, i64 %.0118136
  %134 = load double, ptr %133, align 8, !tbaa !12
  %135 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %134, double noundef 0.000000e+00)
  br i1 %135, label %136, label %139

136:                                              ; preds = %.lr.ph138.split
  %137 = load ptr, ptr %54, align 8, !tbaa !9
  %138 = getelementptr inbounds double, ptr %137, i64 %.0118136
  store double 1.000000e+00, ptr %138, align 8, !tbaa !12
  br label %139

139:                                              ; preds = %136, %.lr.ph138.split
  %140 = add nuw nsw i64 %.0118136, 1
  %exitcond146.not = icmp eq i64 %140, %3
  br i1 %exitcond146.not, label %._crit_edge139, label %.lr.ph138.split, !llvm.loop !21

._crit_edge139:                                   ; preds = %139, %._crit_edge134.us, %._crit_edge
  call void @_ZN11alglib_implL17linreg_lrinternalEPNS_9ae_matrixEPNS_9ae_vectorEllPlPNS_11linearmodelEPNS_8lrreportEPNS_8ae_stateE(ptr noundef nonnull %10, ptr noundef %1, i64 noundef %2, i64 noundef %18, ptr noundef nonnull %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
  %141 = load i64, ptr %4, align 8, !tbaa !5
  %142 = icmp slt i64 %141, 0
  br i1 %142, label %._crit_edge144, label %143

143:                                              ; preds = %._crit_edge139
  %144 = getelementptr inbounds i8, ptr %5, i64 56
  %145 = load ptr, ptr %144, align 8, !tbaa !9
  %146 = getelementptr inbounds i8, ptr %145, i64 24
  %147 = load double, ptr %146, align 8, !tbaa !12
  %148 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %147, ptr noundef %7)
  br i1 %.not.not125135, label %.lr.ph143, label %._crit_edge144

.lr.ph143:                                        ; preds = %143
  %149 = getelementptr inbounds i8, ptr %12, i64 56
  %150 = getelementptr inbounds i8, ptr %13, i64 56
  %151 = getelementptr inbounds i8, ptr %6, i64 72
  %152 = getelementptr inbounds i8, ptr %6, i64 16
  br label %153

153:                                              ; preds = %.lr.ph143, %153
  %.1119141 = phi i64 [ 0, %.lr.ph143 ], [ %209, %153 ]
  %154 = load ptr, ptr %144, align 8, !tbaa !9
  %155 = getelementptr double, ptr %154, i64 %148
  %156 = getelementptr double, ptr %155, i64 %3
  %157 = load double, ptr %156, align 8, !tbaa !12
  %158 = add nsw i64 %.1119141, %148
  %159 = getelementptr inbounds double, ptr %154, i64 %158
  %160 = load double, ptr %159, align 8, !tbaa !12
  %161 = load ptr, ptr %149, align 8, !tbaa !9
  %162 = getelementptr inbounds double, ptr %161, i64 %.1119141
  %163 = load double, ptr %162, align 8, !tbaa !12
  %164 = fmul double %160, %163
  %165 = load ptr, ptr %150, align 8, !tbaa !9
  %166 = getelementptr inbounds double, ptr %165, i64 %.1119141
  %167 = load double, ptr %166, align 8, !tbaa !12
  %168 = fdiv double %164, %167
  %169 = fsub double %157, %168
  store double %169, ptr %156, align 8, !tbaa !12
  %170 = load ptr, ptr %149, align 8, !tbaa !9
  %171 = getelementptr inbounds double, ptr %170, i64 %.1119141
  %172 = load double, ptr %171, align 8, !tbaa !12
  %173 = load ptr, ptr %150, align 8, !tbaa !9
  %174 = getelementptr inbounds double, ptr %173, i64 %.1119141
  %175 = load double, ptr %174, align 8, !tbaa !12
  %176 = fdiv double %172, %175
  %177 = load ptr, ptr %151, align 8, !tbaa !9
  %178 = getelementptr inbounds ptr, ptr %177, i64 %3
  %179 = load ptr, ptr %178, align 8, !tbaa !10
  %180 = getelementptr inbounds ptr, ptr %177, i64 %.1119141
  %181 = load ptr, ptr %180, align 8, !tbaa !10
  %182 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %3)
  call void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef %179, i64 noundef 1, ptr noundef %181, i64 noundef 1, i64 noundef %182, double noundef %176)
  %183 = load ptr, ptr %151, align 8, !tbaa !9
  %184 = load ptr, ptr %183, align 8, !tbaa !10
  %185 = getelementptr inbounds double, ptr %184, i64 %3
  %186 = load i64, ptr %152, align 8, !tbaa !22
  %187 = getelementptr inbounds double, ptr %184, i64 %.1119141
  %188 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %3)
  call void @_ZN11alglib_impl9ae_v_subdEPdlPKdlld(ptr noundef nonnull %185, i64 noundef %186, ptr noundef %187, i64 noundef %186, i64 noundef %188, double noundef %176)
  %189 = load ptr, ptr %144, align 8, !tbaa !9
  %190 = getelementptr inbounds double, ptr %189, i64 %158
  %191 = load double, ptr %190, align 8, !tbaa !12
  %192 = load ptr, ptr %150, align 8, !tbaa !9
  %193 = getelementptr inbounds double, ptr %192, i64 %.1119141
  %194 = load double, ptr %193, align 8, !tbaa !12
  %195 = fdiv double %191, %194
  store double %195, ptr %190, align 8, !tbaa !12
  %196 = load ptr, ptr %150, align 8, !tbaa !9
  %197 = getelementptr inbounds double, ptr %196, i64 %.1119141
  %198 = load double, ptr %197, align 8, !tbaa !12
  %199 = fdiv double 1.000000e+00, %198
  %200 = load ptr, ptr %151, align 8, !tbaa !9
  %201 = getelementptr inbounds ptr, ptr %200, i64 %.1119141
  %202 = load ptr, ptr %201, align 8, !tbaa !10
  %203 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %3)
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %202, i64 noundef 1, i64 noundef %203, double noundef %199)
  %204 = load ptr, ptr %151, align 8, !tbaa !9
  %205 = load ptr, ptr %204, align 8, !tbaa !10
  %206 = getelementptr inbounds double, ptr %205, i64 %.1119141
  %207 = load i64, ptr %152, align 8, !tbaa !22
  %208 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %3)
  call void @_ZN11alglib_impl9ae_v_muldEPdlld(ptr noundef %206, i64 noundef %207, i64 noundef %208, double noundef %199)
  %209 = add nuw nsw i64 %.1119141, 1
  %exitcond149.not = icmp eq i64 %209, %3
  br i1 %exitcond149.not, label %._crit_edge144, label %153, !llvm.loop !25

._crit_edge144:                                   ; preds = %153, %143, %._crit_edge139, %21
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  ret void
}

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !6, i64 16}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !18, i64 32, !19, i64 40, !7, i64 72}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = !{!23, !6, i64 16}
!23 = !{!"_ZTSN11alglib_impl8lrreportE", !17, i64 0, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !6, i64 128, !24, i64 136}
!24 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !18, i64 16, !19, i64 24, !7, i64 56}
!25 = distinct !{!25, !15}


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