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

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

@.str.208 = external hidden unnamed_addr constant [36 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12) #2 {
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca double, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i8, align 1
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i32, align 4
  store i64 %0, ptr %14, align 8, !tbaa !5
  store i64 %1, ptr %15, align 8, !tbaa !5
  store double %2, ptr %16, align 8, !tbaa !9
  store ptr %3, ptr %17, align 8, !tbaa !11
  store i64 %4, ptr %18, align 8, !tbaa !5
  store i64 %5, ptr %19, align 8, !tbaa !5
  store i64 %6, ptr %20, align 8, !tbaa !5
  store double %7, ptr %21, align 8, !tbaa !9
  store ptr %8, ptr %22, align 8, !tbaa !11
  store i64 %9, ptr %23, align 8, !tbaa !5
  store i64 %10, ptr %24, align 8, !tbaa !5
  %33 = zext i1 %11 to i8
  store i8 %33, ptr %25, align 1, !tbaa !13
  store ptr %12, ptr %26, align 8, !tbaa !11
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %34 = load ptr, ptr %26, align 8, !tbaa !11
  %35 = call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %34)
  store i64 %35, ptr %29, align 8, !tbaa !5
  %36 = load ptr, ptr %26, align 8, !tbaa !11
  %37 = call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %36)
  store i64 %37, ptr %30, align 8, !tbaa !5
  %38 = load i64, ptr %30, align 8, !tbaa !5
  store i64 %38, ptr %31, align 8, !tbaa !5
  %39 = load i64, ptr %14, align 8, !tbaa !5
  %40 = load i64, ptr %15, align 8, !tbaa !5
  %41 = load ptr, ptr %26, align 8, !tbaa !11
  %42 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %39, i64 noundef %40, ptr noundef %41)
  %43 = load i64, ptr %30, align 8, !tbaa !5
  %44 = icmp sle i64 %42, %43
  br i1 %44, label %45, label %47

45:                                               ; preds = %13
  %46 = load i64, ptr %29, align 8, !tbaa !5
  store i64 %46, ptr %31, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %45, %13
  %48 = load i64, ptr %31, align 8, !tbaa !5
  %49 = icmp sge i64 %48, 1
  %50 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %49, ptr noundef @.str.208, ptr noundef %50)
  %51 = load i64, ptr %14, align 8, !tbaa !5
  %52 = load i64, ptr %30, align 8, !tbaa !5
  %53 = mul nsw i64 2, %52
  %54 = icmp sge i64 %51, %53
  br i1 %54, label %55, label %87

55:                                               ; preds = %47
  %56 = load i64, ptr %15, align 8, !tbaa !5
  %57 = sitofp i64 %56 to double
  %58 = load i64, ptr %14, align 8, !tbaa !5
  %59 = sitofp i64 %58 to double
  %60 = load i64, ptr %14, align 8, !tbaa !5
  %61 = sitofp i64 %60 to double
  %62 = load ptr, ptr %26, align 8, !tbaa !11
  %63 = call noundef double @_ZN11alglib_impl5rmul3EdddPNS_8ae_stateE(double noundef %57, double noundef %59, double noundef %61, ptr noundef %62)
  %64 = fmul double 2.000000e+00, %63
  %65 = fdiv double %64, 2.000000e+00
  %66 = load ptr, ptr %26, align 8, !tbaa !11
  %67 = call noundef double @_ZN11alglib_impl18smpactivationlevelEPNS_8ae_stateE(ptr noundef %66)
  %68 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %65, double noundef %67)
  br i1 %68, label %69, label %87

69:                                               ; preds = %55
  %70 = load i64, ptr %14, align 8, !tbaa !5
  %71 = load i64, ptr %15, align 8, !tbaa !5
  %72 = load double, ptr %16, align 8, !tbaa !9
  %73 = load ptr, ptr %17, align 8, !tbaa !11
  %74 = load i64, ptr %18, align 8, !tbaa !5
  %75 = load i64, ptr %19, align 8, !tbaa !5
  %76 = load i64, ptr %20, align 8, !tbaa !5
  %77 = load double, ptr %21, align 8, !tbaa !9
  %78 = load ptr, ptr %22, align 8, !tbaa !11
  %79 = load i64, ptr %23, align 8, !tbaa !5
  %80 = load i64, ptr %24, align 8, !tbaa !5
  %81 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %82 = trunc i8 %81 to i1
  %83 = load ptr, ptr %26, align 8, !tbaa !11
  %84 = call noundef zeroext i1 @_ZN11alglib_impl21_trypexec_rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %70, i64 noundef %71, double noundef %72, ptr noundef %73, i64 noundef %74, i64 noundef %75, i64 noundef %76, double noundef %77, ptr noundef %78, i64 noundef %79, i64 noundef %80, i1 noundef zeroext %82, ptr noundef %83)
  br i1 %84, label %85, label %86

85:                                               ; preds = %69
  store i32 1, ptr %32, align 4
  br label %450

86:                                               ; preds = %69
  br label %87

87:                                               ; preds = %86, %55, %47
  %88 = load i64, ptr %14, align 8, !tbaa !5
  %89 = load i64, ptr %15, align 8, !tbaa !5
  %90 = load ptr, ptr %26, align 8, !tbaa !11
  %91 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %88, i64 noundef %89, ptr noundef %90)
  %92 = load i64, ptr %30, align 8, !tbaa !5
  %93 = icmp sle i64 %91, %92
  br i1 %93, label %94, label %112

94:                                               ; preds = %87
  %95 = load i64, ptr %14, align 8, !tbaa !5
  %96 = load i64, ptr %15, align 8, !tbaa !5
  %97 = load double, ptr %16, align 8, !tbaa !9
  %98 = load ptr, ptr %17, align 8, !tbaa !11
  %99 = load i64, ptr %18, align 8, !tbaa !5
  %100 = load i64, ptr %19, align 8, !tbaa !5
  %101 = load i64, ptr %20, align 8, !tbaa !5
  %102 = load double, ptr %21, align 8, !tbaa !9
  %103 = load ptr, ptr %22, align 8, !tbaa !11
  %104 = load i64, ptr %23, align 8, !tbaa !5
  %105 = load i64, ptr %24, align 8, !tbaa !5
  %106 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %107 = trunc i8 %106 to i1
  %108 = load ptr, ptr %26, align 8, !tbaa !11
  %109 = call noundef zeroext i1 @_ZN11alglib_impl14rmatrixsyrkmklElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %95, i64 noundef %96, double noundef %97, ptr noundef %98, i64 noundef %99, i64 noundef %100, i64 noundef %101, double noundef %102, ptr noundef %103, i64 noundef %104, i64 noundef %105, i1 noundef zeroext %107, ptr noundef %108)
  br i1 %109, label %110, label %111

110:                                              ; preds = %94
  store i32 1, ptr %32, align 4
  br label %450

111:                                              ; preds = %94
  br label %112

112:                                              ; preds = %111, %87
  %113 = load i64, ptr %14, align 8, !tbaa !5
  %114 = load i64, ptr %15, align 8, !tbaa !5
  %115 = load ptr, ptr %26, align 8, !tbaa !11
  %116 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %113, i64 noundef %114, ptr noundef %115)
  %117 = load i64, ptr %29, align 8, !tbaa !5
  %118 = icmp sle i64 %116, %117
  br i1 %118, label %119, label %134

119:                                              ; preds = %112
  %120 = load i64, ptr %14, align 8, !tbaa !5
  %121 = load i64, ptr %15, align 8, !tbaa !5
  %122 = load double, ptr %16, align 8, !tbaa !9
  %123 = load ptr, ptr %17, align 8, !tbaa !11
  %124 = load i64, ptr %18, align 8, !tbaa !5
  %125 = load i64, ptr %19, align 8, !tbaa !5
  %126 = load i64, ptr %20, align 8, !tbaa !5
  %127 = load double, ptr %21, align 8, !tbaa !9
  %128 = load ptr, ptr %22, align 8, !tbaa !11
  %129 = load i64, ptr %23, align 8, !tbaa !5
  %130 = load i64, ptr %24, align 8, !tbaa !5
  %131 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %132 = trunc i8 %131 to i1
  %133 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_implL18ablas_rmatrixsyrk2ElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %120, i64 noundef %121, double noundef %122, ptr noundef %123, i64 noundef %124, i64 noundef %125, i64 noundef %126, double noundef %127, ptr noundef %128, i64 noundef %129, i64 noundef %130, i1 noundef zeroext %132, ptr noundef %133)
  store i32 1, ptr %32, align 4
  br label %450

134:                                              ; preds = %112
  %135 = load i64, ptr %15, align 8, !tbaa !5
  %136 = load i64, ptr %14, align 8, !tbaa !5
  %137 = icmp sge i64 %135, %136
  br i1 %137, label %138, label %205

138:                                              ; preds = %134
  %139 = load i64, ptr %15, align 8, !tbaa !5
  %140 = load i64, ptr %31, align 8, !tbaa !5
  %141 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %139, i64 noundef %140, ptr noundef %27, ptr noundef %28, ptr noundef %141)
  %142 = load i64, ptr %20, align 8, !tbaa !5
  %143 = icmp eq i64 %142, 0
  br i1 %143, label %144, label %174

144:                                              ; preds = %138
  %145 = load i64, ptr %14, align 8, !tbaa !5
  %146 = load i64, ptr %27, align 8, !tbaa !5
  %147 = load double, ptr %16, align 8, !tbaa !9
  %148 = load ptr, ptr %17, align 8, !tbaa !11
  %149 = load i64, ptr %18, align 8, !tbaa !5
  %150 = load i64, ptr %19, align 8, !tbaa !5
  %151 = load i64, ptr %20, align 8, !tbaa !5
  %152 = load double, ptr %21, align 8, !tbaa !9
  %153 = load ptr, ptr %22, align 8, !tbaa !11
  %154 = load i64, ptr %23, align 8, !tbaa !5
  %155 = load i64, ptr %24, align 8, !tbaa !5
  %156 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %157 = trunc i8 %156 to i1
  %158 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %145, i64 noundef %146, double noundef %147, ptr noundef %148, i64 noundef %149, i64 noundef %150, i64 noundef %151, double noundef %152, ptr noundef %153, i64 noundef %154, i64 noundef %155, i1 noundef zeroext %157, ptr noundef %158)
  %159 = load i64, ptr %14, align 8, !tbaa !5
  %160 = load i64, ptr %28, align 8, !tbaa !5
  %161 = load double, ptr %16, align 8, !tbaa !9
  %162 = load ptr, ptr %17, align 8, !tbaa !11
  %163 = load i64, ptr %18, align 8, !tbaa !5
  %164 = load i64, ptr %19, align 8, !tbaa !5
  %165 = load i64, ptr %27, align 8, !tbaa !5
  %166 = add nsw i64 %164, %165
  %167 = load i64, ptr %20, align 8, !tbaa !5
  %168 = load ptr, ptr %22, align 8, !tbaa !11
  %169 = load i64, ptr %23, align 8, !tbaa !5
  %170 = load i64, ptr %24, align 8, !tbaa !5
  %171 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %172 = trunc i8 %171 to i1
  %173 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %159, i64 noundef %160, double noundef %161, ptr noundef %162, i64 noundef %163, i64 noundef %166, i64 noundef %167, double noundef 1.000000e+00, ptr noundef %168, i64 noundef %169, i64 noundef %170, i1 noundef zeroext %172, ptr noundef %173)
  br label %204

174:                                              ; preds = %138
  %175 = load i64, ptr %14, align 8, !tbaa !5
  %176 = load i64, ptr %27, align 8, !tbaa !5
  %177 = load double, ptr %16, align 8, !tbaa !9
  %178 = load ptr, ptr %17, align 8, !tbaa !11
  %179 = load i64, ptr %18, align 8, !tbaa !5
  %180 = load i64, ptr %19, align 8, !tbaa !5
  %181 = load i64, ptr %20, align 8, !tbaa !5
  %182 = load double, ptr %21, align 8, !tbaa !9
  %183 = load ptr, ptr %22, align 8, !tbaa !11
  %184 = load i64, ptr %23, align 8, !tbaa !5
  %185 = load i64, ptr %24, align 8, !tbaa !5
  %186 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %187 = trunc i8 %186 to i1
  %188 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %175, i64 noundef %176, double noundef %177, ptr noundef %178, i64 noundef %179, i64 noundef %180, i64 noundef %181, double noundef %182, ptr noundef %183, i64 noundef %184, i64 noundef %185, i1 noundef zeroext %187, ptr noundef %188)
  %189 = load i64, ptr %14, align 8, !tbaa !5
  %190 = load i64, ptr %28, align 8, !tbaa !5
  %191 = load double, ptr %16, align 8, !tbaa !9
  %192 = load ptr, ptr %17, align 8, !tbaa !11
  %193 = load i64, ptr %18, align 8, !tbaa !5
  %194 = load i64, ptr %27, align 8, !tbaa !5
  %195 = add nsw i64 %193, %194
  %196 = load i64, ptr %19, align 8, !tbaa !5
  %197 = load i64, ptr %20, align 8, !tbaa !5
  %198 = load ptr, ptr %22, align 8, !tbaa !11
  %199 = load i64, ptr %23, align 8, !tbaa !5
  %200 = load i64, ptr %24, align 8, !tbaa !5
  %201 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %202 = trunc i8 %201 to i1
  %203 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %189, i64 noundef %190, double noundef %191, ptr noundef %192, i64 noundef %195, i64 noundef %196, i64 noundef %197, double noundef 1.000000e+00, ptr noundef %198, i64 noundef %199, i64 noundef %200, i1 noundef zeroext %202, ptr noundef %203)
  br label %204

204:                                              ; preds = %174, %144
  br label %449

205:                                              ; preds = %134
  %206 = load i64, ptr %14, align 8, !tbaa !5
  %207 = load i64, ptr %31, align 8, !tbaa !5
  %208 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %206, i64 noundef %207, ptr noundef %27, ptr noundef %28, ptr noundef %208)
  %209 = load i64, ptr %20, align 8, !tbaa !5
  %210 = icmp eq i64 %209, 0
  br i1 %210, label %211, label %268

211:                                              ; preds = %205
  %212 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %213 = trunc i8 %212 to i1
  br i1 %213, label %214, label %268

214:                                              ; preds = %211
  %215 = load i64, ptr %27, align 8, !tbaa !5
  %216 = load i64, ptr %15, align 8, !tbaa !5
  %217 = load double, ptr %16, align 8, !tbaa !9
  %218 = load ptr, ptr %17, align 8, !tbaa !11
  %219 = load i64, ptr %18, align 8, !tbaa !5
  %220 = load i64, ptr %19, align 8, !tbaa !5
  %221 = load i64, ptr %20, align 8, !tbaa !5
  %222 = load double, ptr %21, align 8, !tbaa !9
  %223 = load ptr, ptr %22, align 8, !tbaa !11
  %224 = load i64, ptr %23, align 8, !tbaa !5
  %225 = load i64, ptr %24, align 8, !tbaa !5
  %226 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %227 = trunc i8 %226 to i1
  %228 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %215, i64 noundef %216, double noundef %217, ptr noundef %218, i64 noundef %219, i64 noundef %220, i64 noundef %221, double noundef %222, ptr noundef %223, i64 noundef %224, i64 noundef %225, i1 noundef zeroext %227, ptr noundef %228)
  %229 = load i64, ptr %28, align 8, !tbaa !5
  %230 = load i64, ptr %15, align 8, !tbaa !5
  %231 = load double, ptr %16, align 8, !tbaa !9
  %232 = load ptr, ptr %17, align 8, !tbaa !11
  %233 = load i64, ptr %18, align 8, !tbaa !5
  %234 = load i64, ptr %27, align 8, !tbaa !5
  %235 = add nsw i64 %233, %234
  %236 = load i64, ptr %19, align 8, !tbaa !5
  %237 = load i64, ptr %20, align 8, !tbaa !5
  %238 = load double, ptr %21, align 8, !tbaa !9
  %239 = load ptr, ptr %22, align 8, !tbaa !11
  %240 = load i64, ptr %23, align 8, !tbaa !5
  %241 = load i64, ptr %27, align 8, !tbaa !5
  %242 = add nsw i64 %240, %241
  %243 = load i64, ptr %24, align 8, !tbaa !5
  %244 = load i64, ptr %27, align 8, !tbaa !5
  %245 = add nsw i64 %243, %244
  %246 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %247 = trunc i8 %246 to i1
  %248 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %229, i64 noundef %230, double noundef %231, ptr noundef %232, i64 noundef %235, i64 noundef %236, i64 noundef %237, double noundef %238, ptr noundef %239, i64 noundef %242, i64 noundef %245, i1 noundef zeroext %247, ptr noundef %248)
  %249 = load i64, ptr %27, align 8, !tbaa !5
  %250 = load i64, ptr %28, align 8, !tbaa !5
  %251 = load i64, ptr %15, align 8, !tbaa !5
  %252 = load double, ptr %16, align 8, !tbaa !9
  %253 = load ptr, ptr %17, align 8, !tbaa !11
  %254 = load i64, ptr %18, align 8, !tbaa !5
  %255 = load i64, ptr %19, align 8, !tbaa !5
  %256 = load ptr, ptr %17, align 8, !tbaa !11
  %257 = load i64, ptr %18, align 8, !tbaa !5
  %258 = load i64, ptr %27, align 8, !tbaa !5
  %259 = add nsw i64 %257, %258
  %260 = load i64, ptr %19, align 8, !tbaa !5
  %261 = load double, ptr %21, align 8, !tbaa !9
  %262 = load ptr, ptr %22, align 8, !tbaa !11
  %263 = load i64, ptr %23, align 8, !tbaa !5
  %264 = load i64, ptr %24, align 8, !tbaa !5
  %265 = load i64, ptr %27, align 8, !tbaa !5
  %266 = add nsw i64 %264, %265
  %267 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %249, i64 noundef %250, i64 noundef %251, double noundef %252, ptr noundef %253, i64 noundef %254, i64 noundef %255, i64 noundef 0, ptr noundef %256, i64 noundef %259, i64 noundef %260, i64 noundef 1, double noundef %261, ptr noundef %262, i64 noundef %263, i64 noundef %266, ptr noundef %267)
  br label %268

268:                                              ; preds = %214, %211, %205
  %269 = load i64, ptr %20, align 8, !tbaa !5
  %270 = icmp eq i64 %269, 0
  br i1 %270, label %271, label %328

271:                                              ; preds = %268
  %272 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %273 = trunc i8 %272 to i1
  br i1 %273, label %328, label %274

274:                                              ; preds = %271
  %275 = load i64, ptr %27, align 8, !tbaa !5
  %276 = load i64, ptr %15, align 8, !tbaa !5
  %277 = load double, ptr %16, align 8, !tbaa !9
  %278 = load ptr, ptr %17, align 8, !tbaa !11
  %279 = load i64, ptr %18, align 8, !tbaa !5
  %280 = load i64, ptr %19, align 8, !tbaa !5
  %281 = load i64, ptr %20, align 8, !tbaa !5
  %282 = load double, ptr %21, align 8, !tbaa !9
  %283 = load ptr, ptr %22, align 8, !tbaa !11
  %284 = load i64, ptr %23, align 8, !tbaa !5
  %285 = load i64, ptr %24, align 8, !tbaa !5
  %286 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %287 = trunc i8 %286 to i1
  %288 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %275, i64 noundef %276, double noundef %277, ptr noundef %278, i64 noundef %279, i64 noundef %280, i64 noundef %281, double noundef %282, ptr noundef %283, i64 noundef %284, i64 noundef %285, i1 noundef zeroext %287, ptr noundef %288)
  %289 = load i64, ptr %28, align 8, !tbaa !5
  %290 = load i64, ptr %15, align 8, !tbaa !5
  %291 = load double, ptr %16, align 8, !tbaa !9
  %292 = load ptr, ptr %17, align 8, !tbaa !11
  %293 = load i64, ptr %18, align 8, !tbaa !5
  %294 = load i64, ptr %27, align 8, !tbaa !5
  %295 = add nsw i64 %293, %294
  %296 = load i64, ptr %19, align 8, !tbaa !5
  %297 = load i64, ptr %20, align 8, !tbaa !5
  %298 = load double, ptr %21, align 8, !tbaa !9
  %299 = load ptr, ptr %22, align 8, !tbaa !11
  %300 = load i64, ptr %23, align 8, !tbaa !5
  %301 = load i64, ptr %27, align 8, !tbaa !5
  %302 = add nsw i64 %300, %301
  %303 = load i64, ptr %24, align 8, !tbaa !5
  %304 = load i64, ptr %27, align 8, !tbaa !5
  %305 = add nsw i64 %303, %304
  %306 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %307 = trunc i8 %306 to i1
  %308 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %289, i64 noundef %290, double noundef %291, ptr noundef %292, i64 noundef %295, i64 noundef %296, i64 noundef %297, double noundef %298, ptr noundef %299, i64 noundef %302, i64 noundef %305, i1 noundef zeroext %307, ptr noundef %308)
  %309 = load i64, ptr %28, align 8, !tbaa !5
  %310 = load i64, ptr %27, align 8, !tbaa !5
  %311 = load i64, ptr %15, align 8, !tbaa !5
  %312 = load double, ptr %16, align 8, !tbaa !9
  %313 = load ptr, ptr %17, align 8, !tbaa !11
  %314 = load i64, ptr %18, align 8, !tbaa !5
  %315 = load i64, ptr %27, align 8, !tbaa !5
  %316 = add nsw i64 %314, %315
  %317 = load i64, ptr %19, align 8, !tbaa !5
  %318 = load ptr, ptr %17, align 8, !tbaa !11
  %319 = load i64, ptr %18, align 8, !tbaa !5
  %320 = load i64, ptr %19, align 8, !tbaa !5
  %321 = load double, ptr %21, align 8, !tbaa !9
  %322 = load ptr, ptr %22, align 8, !tbaa !11
  %323 = load i64, ptr %23, align 8, !tbaa !5
  %324 = load i64, ptr %27, align 8, !tbaa !5
  %325 = add nsw i64 %323, %324
  %326 = load i64, ptr %24, align 8, !tbaa !5
  %327 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %309, i64 noundef %310, i64 noundef %311, double noundef %312, ptr noundef %313, i64 noundef %316, i64 noundef %317, i64 noundef 0, ptr noundef %318, i64 noundef %319, i64 noundef %320, i64 noundef 1, double noundef %321, ptr noundef %322, i64 noundef %325, i64 noundef %326, ptr noundef %327)
  br label %328

328:                                              ; preds = %274, %271, %268
  %329 = load i64, ptr %20, align 8, !tbaa !5
  %330 = icmp ne i64 %329, 0
  br i1 %330, label %331, label %388

331:                                              ; preds = %328
  %332 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %333 = trunc i8 %332 to i1
  br i1 %333, label %334, label %388

334:                                              ; preds = %331
  %335 = load i64, ptr %27, align 8, !tbaa !5
  %336 = load i64, ptr %15, align 8, !tbaa !5
  %337 = load double, ptr %16, align 8, !tbaa !9
  %338 = load ptr, ptr %17, align 8, !tbaa !11
  %339 = load i64, ptr %18, align 8, !tbaa !5
  %340 = load i64, ptr %19, align 8, !tbaa !5
  %341 = load i64, ptr %20, align 8, !tbaa !5
  %342 = load double, ptr %21, align 8, !tbaa !9
  %343 = load ptr, ptr %22, align 8, !tbaa !11
  %344 = load i64, ptr %23, align 8, !tbaa !5
  %345 = load i64, ptr %24, align 8, !tbaa !5
  %346 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %347 = trunc i8 %346 to i1
  %348 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %335, i64 noundef %336, double noundef %337, ptr noundef %338, i64 noundef %339, i64 noundef %340, i64 noundef %341, double noundef %342, ptr noundef %343, i64 noundef %344, i64 noundef %345, i1 noundef zeroext %347, ptr noundef %348)
  %349 = load i64, ptr %28, align 8, !tbaa !5
  %350 = load i64, ptr %15, align 8, !tbaa !5
  %351 = load double, ptr %16, align 8, !tbaa !9
  %352 = load ptr, ptr %17, align 8, !tbaa !11
  %353 = load i64, ptr %18, align 8, !tbaa !5
  %354 = load i64, ptr %19, align 8, !tbaa !5
  %355 = load i64, ptr %27, align 8, !tbaa !5
  %356 = add nsw i64 %354, %355
  %357 = load i64, ptr %20, align 8, !tbaa !5
  %358 = load double, ptr %21, align 8, !tbaa !9
  %359 = load ptr, ptr %22, align 8, !tbaa !11
  %360 = load i64, ptr %23, align 8, !tbaa !5
  %361 = load i64, ptr %27, align 8, !tbaa !5
  %362 = add nsw i64 %360, %361
  %363 = load i64, ptr %24, align 8, !tbaa !5
  %364 = load i64, ptr %27, align 8, !tbaa !5
  %365 = add nsw i64 %363, %364
  %366 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %367 = trunc i8 %366 to i1
  %368 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %349, i64 noundef %350, double noundef %351, ptr noundef %352, i64 noundef %353, i64 noundef %356, i64 noundef %357, double noundef %358, ptr noundef %359, i64 noundef %362, i64 noundef %365, i1 noundef zeroext %367, ptr noundef %368)
  %369 = load i64, ptr %27, align 8, !tbaa !5
  %370 = load i64, ptr %28, align 8, !tbaa !5
  %371 = load i64, ptr %15, align 8, !tbaa !5
  %372 = load double, ptr %16, align 8, !tbaa !9
  %373 = load ptr, ptr %17, align 8, !tbaa !11
  %374 = load i64, ptr %18, align 8, !tbaa !5
  %375 = load i64, ptr %19, align 8, !tbaa !5
  %376 = load ptr, ptr %17, align 8, !tbaa !11
  %377 = load i64, ptr %18, align 8, !tbaa !5
  %378 = load i64, ptr %19, align 8, !tbaa !5
  %379 = load i64, ptr %27, align 8, !tbaa !5
  %380 = add nsw i64 %378, %379
  %381 = load double, ptr %21, align 8, !tbaa !9
  %382 = load ptr, ptr %22, align 8, !tbaa !11
  %383 = load i64, ptr %23, align 8, !tbaa !5
  %384 = load i64, ptr %24, align 8, !tbaa !5
  %385 = load i64, ptr %27, align 8, !tbaa !5
  %386 = add nsw i64 %384, %385
  %387 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %369, i64 noundef %370, i64 noundef %371, double noundef %372, ptr noundef %373, i64 noundef %374, i64 noundef %375, i64 noundef 1, ptr noundef %376, i64 noundef %377, i64 noundef %380, i64 noundef 0, double noundef %381, ptr noundef %382, i64 noundef %383, i64 noundef %386, ptr noundef %387)
  br label %388

388:                                              ; preds = %334, %331, %328
  %389 = load i64, ptr %20, align 8, !tbaa !5
  %390 = icmp ne i64 %389, 0
  br i1 %390, label %391, label %448

391:                                              ; preds = %388
  %392 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %393 = trunc i8 %392 to i1
  br i1 %393, label %448, label %394

394:                                              ; preds = %391
  %395 = load i64, ptr %27, align 8, !tbaa !5
  %396 = load i64, ptr %15, align 8, !tbaa !5
  %397 = load double, ptr %16, align 8, !tbaa !9
  %398 = load ptr, ptr %17, align 8, !tbaa !11
  %399 = load i64, ptr %18, align 8, !tbaa !5
  %400 = load i64, ptr %19, align 8, !tbaa !5
  %401 = load i64, ptr %20, align 8, !tbaa !5
  %402 = load double, ptr %21, align 8, !tbaa !9
  %403 = load ptr, ptr %22, align 8, !tbaa !11
  %404 = load i64, ptr %23, align 8, !tbaa !5
  %405 = load i64, ptr %24, align 8, !tbaa !5
  %406 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %407 = trunc i8 %406 to i1
  %408 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %395, i64 noundef %396, double noundef %397, ptr noundef %398, i64 noundef %399, i64 noundef %400, i64 noundef %401, double noundef %402, ptr noundef %403, i64 noundef %404, i64 noundef %405, i1 noundef zeroext %407, ptr noundef %408)
  %409 = load i64, ptr %28, align 8, !tbaa !5
  %410 = load i64, ptr %15, align 8, !tbaa !5
  %411 = load double, ptr %16, align 8, !tbaa !9
  %412 = load ptr, ptr %17, align 8, !tbaa !11
  %413 = load i64, ptr %18, align 8, !tbaa !5
  %414 = load i64, ptr %19, align 8, !tbaa !5
  %415 = load i64, ptr %27, align 8, !tbaa !5
  %416 = add nsw i64 %414, %415
  %417 = load i64, ptr %20, align 8, !tbaa !5
  %418 = load double, ptr %21, align 8, !tbaa !9
  %419 = load ptr, ptr %22, align 8, !tbaa !11
  %420 = load i64, ptr %23, align 8, !tbaa !5
  %421 = load i64, ptr %27, align 8, !tbaa !5
  %422 = add nsw i64 %420, %421
  %423 = load i64, ptr %24, align 8, !tbaa !5
  %424 = load i64, ptr %27, align 8, !tbaa !5
  %425 = add nsw i64 %423, %424
  %426 = load i8, ptr %25, align 1, !tbaa !13, !range !15, !noundef !16
  %427 = trunc i8 %426 to i1
  %428 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %409, i64 noundef %410, double noundef %411, ptr noundef %412, i64 noundef %413, i64 noundef %416, i64 noundef %417, double noundef %418, ptr noundef %419, i64 noundef %422, i64 noundef %425, i1 noundef zeroext %427, ptr noundef %428)
  %429 = load i64, ptr %28, align 8, !tbaa !5
  %430 = load i64, ptr %27, align 8, !tbaa !5
  %431 = load i64, ptr %15, align 8, !tbaa !5
  %432 = load double, ptr %16, align 8, !tbaa !9
  %433 = load ptr, ptr %17, align 8, !tbaa !11
  %434 = load i64, ptr %18, align 8, !tbaa !5
  %435 = load i64, ptr %19, align 8, !tbaa !5
  %436 = load i64, ptr %27, align 8, !tbaa !5
  %437 = add nsw i64 %435, %436
  %438 = load ptr, ptr %17, align 8, !tbaa !11
  %439 = load i64, ptr %18, align 8, !tbaa !5
  %440 = load i64, ptr %19, align 8, !tbaa !5
  %441 = load double, ptr %21, align 8, !tbaa !9
  %442 = load ptr, ptr %22, align 8, !tbaa !11
  %443 = load i64, ptr %23, align 8, !tbaa !5
  %444 = load i64, ptr %27, align 8, !tbaa !5
  %445 = add nsw i64 %443, %444
  %446 = load i64, ptr %24, align 8, !tbaa !5
  %447 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %429, i64 noundef %430, i64 noundef %431, double noundef %432, ptr noundef %433, i64 noundef %434, i64 noundef %437, i64 noundef 1, ptr noundef %438, i64 noundef %439, i64 noundef %440, i64 noundef 0, double noundef %441, ptr noundef %442, i64 noundef %445, i64 noundef %446, ptr noundef %447)
  br label %448

448:                                              ; preds = %394, %391, %388
  br label %449

449:                                              ; preds = %448, %204
  store i32 0, ptr %32, align 4
  br label %450

450:                                              ; preds = %449, %119, %110, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  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
  %451 = load i32, ptr %32, align 4
  switch i32 %451, label %453 [
    i32 0, label %452
    i32 1, label %452
  ]

452:                                              ; preds = %450, %450
  ret void

453:                                              ; preds = %450
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local 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

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

declare noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef) #1

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

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

declare noundef double @_ZN11alglib_impl18smpactivationlevelEPNS_8ae_stateE(ptr noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl21_trypexec_rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef) #3

declare noundef zeroext i1 @_ZN11alglib_impl14rmatrixsyrkmklElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL18ablas_rmatrixsyrk2ElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind 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 #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 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}


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

@.str.208 = external hidden unnamed_addr constant [36 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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12) local_unnamed_addr #2 {
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  %16 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %12)
  %17 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %12)
  %18 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %12)
  %.not = icmp sgt i64 %18, %17
  %spec.select = select i1 %.not, i64 %17, i64 %16
  %19 = icmp sgt i64 %spec.select, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %19, ptr noundef nonnull @.str.208, ptr noundef %12)
  %20 = shl nsw i64 %17, 1
  %.not285 = icmp sgt i64 %20, %0
  br i1 %.not285, label %31, label %21

21:                                               ; preds = %13
  %22 = sitofp i64 %1 to double
  %23 = sitofp i64 %0 to double
  %24 = tail call noundef double @_ZN11alglib_impl5rmul3EdddPNS_8ae_stateE(double noundef %22, double noundef %23, double noundef %23, ptr noundef %12)
  %25 = fmul double %24, 2.000000e+00
  %26 = fmul double %25, 5.000000e-01
  %27 = tail call noundef double @_ZN11alglib_impl18smpactivationlevelEPNS_8ae_stateE(ptr noundef %12)
  %28 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %26, double noundef %27)
  br i1 %28, label %29, label %31

29:                                               ; preds = %21
  %30 = tail call noundef zeroext i1 @_ZN11alglib_impl21_trypexec_rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12)
  br i1 %30, label %97, label %31

31:                                               ; preds = %29, %21, %13
  %32 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %12)
  %.not286 = icmp sgt i64 %32, %17
  br i1 %.not286, label %35, label %33

33:                                               ; preds = %31
  %34 = tail call noundef zeroext i1 @_ZN11alglib_impl14rmatrixsyrkmklElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12)
  br i1 %34, label %97, label %35

35:                                               ; preds = %33, %31
  %36 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %12)
  %.not287 = icmp sgt i64 %36, %16
  br i1 %.not287, label %38, label %37

37:                                               ; preds = %35
  tail call void @_ZN11alglib_implL18ablas_rmatrixsyrk2ElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12)
  br label %97

38:                                               ; preds = %35
  %.not288 = icmp slt i64 %1, %0
  %39 = icmp eq i64 %6, 0
  br i1 %.not288, label %50, label %40

40:                                               ; preds = %38
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %1, i64 noundef %spec.select, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %12)
  %41 = load i64, ptr %14, align 8, !tbaa !5
  br i1 %39, label %42, label %46

42:                                               ; preds = %40
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %41, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef 0, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12)
  %43 = load i64, ptr %15, align 8, !tbaa !5
  %44 = load i64, ptr %14, align 8, !tbaa !5
  %45 = add nsw i64 %44, %5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %43, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %45, i64 noundef 0, double noundef 1.000000e+00, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12)
  br label %97

46:                                               ; preds = %40
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %41, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12)
  %47 = load i64, ptr %15, align 8, !tbaa !5
  %48 = load i64, ptr %14, align 8, !tbaa !5
  %49 = add nsw i64 %48, %4
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %0, i64 noundef %47, double noundef %2, ptr noundef %3, i64 noundef %49, i64 noundef %5, i64 noundef %6, double noundef 1.000000e+00, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext %11, ptr noundef %12)
  br label %97

50:                                               ; preds = %38
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %0, i64 noundef %spec.select, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %12)
  %.not290 = xor i1 %39, true
  %.not291 = xor i1 %11, true
  %brmerge = or i1 %.not290, %.not291
  br i1 %brmerge, label %62, label %51

51:                                               ; preds = %50
  %52 = load i64, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %52, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef 0, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext true, ptr noundef %12)
  %53 = load i64, ptr %15, align 8, !tbaa !5
  %54 = load i64, ptr %14, align 8, !tbaa !5
  %55 = add nsw i64 %54, %4
  %56 = add nsw i64 %54, %9
  %57 = add nsw i64 %54, %10
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %53, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %55, i64 noundef %5, i64 noundef 0, double noundef %7, ptr noundef %8, i64 noundef %56, i64 noundef %57, i1 noundef zeroext true, ptr noundef %12)
  %58 = load i64, ptr %14, align 8, !tbaa !5
  %59 = load i64, ptr %15, align 8, !tbaa !5
  %60 = add nsw i64 %58, %4
  %61 = add nsw i64 %58, %10
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %58, i64 noundef %59, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef 0, ptr noundef %3, i64 noundef %60, i64 noundef %5, i64 noundef 1, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %61, ptr noundef %12)
  br label %62

62:                                               ; preds = %50, %51
  %brmerge293 = or i1 %.not290, %11
  br i1 %brmerge293, label %73, label %.thread298

.thread298:                                       ; preds = %62
  %63 = load i64, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %63, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef 0, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext false, ptr noundef %12)
  %64 = load i64, ptr %15, align 8, !tbaa !5
  %65 = load i64, ptr %14, align 8, !tbaa !5
  %66 = add nsw i64 %65, %4
  %67 = add nsw i64 %65, %9
  %68 = add nsw i64 %65, %10
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %64, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %66, i64 noundef %5, i64 noundef 0, double noundef %7, ptr noundef %8, i64 noundef %67, i64 noundef %68, i1 noundef zeroext false, ptr noundef %12)
  %69 = load i64, ptr %15, align 8, !tbaa !5
  %70 = load i64, ptr %14, align 8, !tbaa !5
  %71 = add nsw i64 %70, %4
  %72 = add nsw i64 %70, %9
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %69, i64 noundef %70, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %71, i64 noundef %5, i64 noundef 0, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef 1, double noundef %7, ptr noundef %8, i64 noundef %72, i64 noundef %10, ptr noundef %12)
  br label %97

73:                                               ; preds = %62
  %brmerge295 = or i1 %39, %.not291
  br i1 %brmerge295, label %85, label %74

74:                                               ; preds = %73
  %75 = load i64, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %75, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext true, ptr noundef %12)
  %76 = load i64, ptr %15, align 8, !tbaa !5
  %77 = load i64, ptr %14, align 8, !tbaa !5
  %78 = add nsw i64 %77, %5
  %79 = add nsw i64 %77, %9
  %80 = add nsw i64 %77, %10
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %76, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %78, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %79, i64 noundef %80, i1 noundef zeroext true, ptr noundef %12)
  %81 = load i64, ptr %14, align 8, !tbaa !5
  %82 = load i64, ptr %15, align 8, !tbaa !5
  %83 = add nsw i64 %81, %5
  %84 = add nsw i64 %81, %10
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %81, i64 noundef %82, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef 1, ptr noundef %3, i64 noundef %4, i64 noundef %83, i64 noundef 0, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %84, ptr noundef %12)
  br label %85

85:                                               ; preds = %73, %74
  %brmerge296 = or i1 %39, %11
  br i1 %brmerge296, label %97, label %86

86:                                               ; preds = %85
  %87 = load i64, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %87, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i1 noundef zeroext false, ptr noundef %12)
  %88 = load i64, ptr %15, align 8, !tbaa !5
  %89 = load i64, ptr %14, align 8, !tbaa !5
  %90 = add nsw i64 %89, %5
  %91 = add nsw i64 %89, %9
  %92 = add nsw i64 %89, %10
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %88, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %90, i64 noundef %6, double noundef %7, ptr noundef %8, i64 noundef %91, i64 noundef %92, i1 noundef zeroext false, ptr noundef %12)
  %93 = load i64, ptr %15, align 8, !tbaa !5
  %94 = load i64, ptr %14, align 8, !tbaa !5
  %95 = add nsw i64 %94, %5
  %96 = add nsw i64 %94, %9
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %93, i64 noundef %94, i64 noundef %1, double noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %95, i64 noundef 1, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef 0, double noundef %7, ptr noundef %8, i64 noundef %96, i64 noundef %10, ptr noundef %12)
  br label %97

97:                                               ; preds = %.thread298, %46, %42, %86, %85, %33, %29, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local 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

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

declare noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl21_trypexec_rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL18ablas_rmatrixsyrk2ElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { mustprogress nounwind 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 #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"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass