; 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.206 = external hidden unnamed_addr constant [43 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_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11) #2 {
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i32, align 4
  store i64 %0, ptr %13, align 8, !tbaa !5
  store i64 %1, ptr %14, align 8, !tbaa !5
  store ptr %2, ptr %15, align 8, !tbaa !9
  store i64 %3, ptr %16, align 8, !tbaa !5
  store i64 %4, ptr %17, align 8, !tbaa !5
  %31 = zext i1 %5 to i8
  store i8 %31, ptr %18, align 1, !tbaa !11
  %32 = zext i1 %6 to i8
  store i8 %32, ptr %19, align 1, !tbaa !11
  store i64 %7, ptr %20, align 8, !tbaa !5
  store ptr %8, ptr %21, align 8, !tbaa !9
  store i64 %9, ptr %22, align 8, !tbaa !5
  store i64 %10, ptr %23, align 8, !tbaa !5
  store ptr %11, ptr %24, align 8, !tbaa !9
  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
  %33 = load ptr, ptr %24, align 8, !tbaa !9
  %34 = call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %33)
  store i64 %34, ptr %27, align 8, !tbaa !5
  %35 = load ptr, ptr %24, align 8, !tbaa !9
  %36 = call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %35)
  store i64 %36, ptr %28, align 8, !tbaa !5
  %37 = load i64, ptr %28, align 8, !tbaa !5
  store i64 %37, ptr %29, align 8, !tbaa !5
  %38 = load i64, ptr %13, align 8, !tbaa !5
  %39 = load i64, ptr %14, align 8, !tbaa !5
  %40 = load ptr, ptr %24, align 8, !tbaa !9
  %41 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %38, i64 noundef %39, ptr noundef %40)
  %42 = load i64, ptr %28, align 8, !tbaa !5
  %43 = icmp sle i64 %41, %42
  br i1 %43, label %44, label %46

44:                                               ; preds = %12
  %45 = load i64, ptr %27, align 8, !tbaa !5
  store i64 %45, ptr %29, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %44, %12
  %47 = load i64, ptr %29, align 8, !tbaa !5
  %48 = icmp sge i64 %47, 1
  %49 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %48, ptr noundef @.str.206, ptr noundef %49)
  %50 = load i64, ptr %14, align 8, !tbaa !5
  %51 = load i64, ptr %28, align 8, !tbaa !5
  %52 = mul nsw i64 2, %51
  %53 = icmp sge i64 %50, %52
  br i1 %53, label %54, label %84

54:                                               ; preds = %46
  %55 = load i64, ptr %14, align 8, !tbaa !5
  %56 = sitofp i64 %55 to double
  %57 = load i64, ptr %13, align 8, !tbaa !5
  %58 = sitofp i64 %57 to double
  %59 = load i64, ptr %13, align 8, !tbaa !5
  %60 = sitofp i64 %59 to double
  %61 = load ptr, ptr %24, align 8, !tbaa !9
  %62 = call noundef double @_ZN11alglib_impl5rmul3EdddPNS_8ae_stateE(double noundef %56, double noundef %58, double noundef %60, ptr noundef %61)
  %63 = load ptr, ptr %24, align 8, !tbaa !9
  %64 = call noundef double @_ZN11alglib_impl18smpactivationlevelEPNS_8ae_stateE(ptr noundef %63)
  %65 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %62, double noundef %64)
  br i1 %65, label %66, label %84

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

82:                                               ; preds = %66
  store i32 1, ptr %30, align 4
  br label %447

83:                                               ; preds = %66
  br label %84

84:                                               ; preds = %83, %54, %46
  %85 = load i64, ptr %14, align 8, !tbaa !5
  %86 = load i64, ptr %28, align 8, !tbaa !5
  %87 = mul nsw i64 2, %86
  %88 = icmp sge i64 %85, %87
  br i1 %88, label %89, label %123

89:                                               ; preds = %84
  %90 = load i64, ptr %14, align 8, !tbaa !5
  %91 = load i64, ptr %29, align 8, !tbaa !5
  %92 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %90, i64 noundef %91, ptr noundef %25, ptr noundef %26, ptr noundef %92)
  %93 = load i64, ptr %13, align 8, !tbaa !5
  %94 = load i64, ptr %26, align 8, !tbaa !5
  %95 = load ptr, ptr %15, align 8, !tbaa !9
  %96 = load i64, ptr %16, align 8, !tbaa !5
  %97 = load i64, ptr %17, align 8, !tbaa !5
  %98 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %99 = trunc i8 %98 to i1
  %100 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %101 = trunc i8 %100 to i1
  %102 = load i64, ptr %20, align 8, !tbaa !5
  %103 = load ptr, ptr %21, align 8, !tbaa !9
  %104 = load i64, ptr %22, align 8, !tbaa !5
  %105 = load i64, ptr %23, align 8, !tbaa !5
  %106 = load i64, ptr %25, align 8, !tbaa !5
  %107 = add nsw i64 %105, %106
  %108 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %93, i64 noundef %94, ptr noundef %95, i64 noundef %96, i64 noundef %97, i1 noundef zeroext %99, i1 noundef zeroext %101, i64 noundef %102, ptr noundef %103, i64 noundef %104, i64 noundef %107, ptr noundef %108)
  %109 = load i64, ptr %13, align 8, !tbaa !5
  %110 = load i64, ptr %25, align 8, !tbaa !5
  %111 = load ptr, ptr %15, align 8, !tbaa !9
  %112 = load i64, ptr %16, align 8, !tbaa !5
  %113 = load i64, ptr %17, align 8, !tbaa !5
  %114 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %115 = trunc i8 %114 to i1
  %116 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %117 = trunc i8 %116 to i1
  %118 = load i64, ptr %20, align 8, !tbaa !5
  %119 = load ptr, ptr %21, align 8, !tbaa !9
  %120 = load i64, ptr %22, align 8, !tbaa !5
  %121 = load i64, ptr %23, align 8, !tbaa !5
  %122 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %109, i64 noundef %110, ptr noundef %111, i64 noundef %112, i64 noundef %113, i1 noundef zeroext %115, i1 noundef zeroext %117, i64 noundef %118, ptr noundef %119, i64 noundef %120, i64 noundef %121, ptr noundef %122)
  store i32 1, ptr %30, align 4
  br label %447

123:                                              ; preds = %84
  %124 = load i64, ptr %13, align 8, !tbaa !5
  %125 = load i64, ptr %14, align 8, !tbaa !5
  %126 = load ptr, ptr %24, align 8, !tbaa !9
  %127 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %124, i64 noundef %125, ptr noundef %126)
  %128 = load i64, ptr %28, align 8, !tbaa !5
  %129 = icmp sle i64 %127, %128
  br i1 %129, label %130, label %148

130:                                              ; preds = %123
  %131 = load i64, ptr %13, align 8, !tbaa !5
  %132 = load i64, ptr %14, align 8, !tbaa !5
  %133 = load ptr, ptr %15, align 8, !tbaa !9
  %134 = load i64, ptr %16, align 8, !tbaa !5
  %135 = load i64, ptr %17, align 8, !tbaa !5
  %136 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %137 = trunc i8 %136 to i1
  %138 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %139 = trunc i8 %138 to i1
  %140 = load i64, ptr %20, align 8, !tbaa !5
  %141 = load ptr, ptr %21, align 8, !tbaa !9
  %142 = load i64, ptr %22, align 8, !tbaa !5
  %143 = load i64, ptr %23, align 8, !tbaa !5
  %144 = load ptr, ptr %24, align 8, !tbaa !9
  %145 = call noundef zeroext i1 @_ZN11alglib_impl18rmatrixlefttrsmmklEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %131, i64 noundef %132, ptr noundef %133, i64 noundef %134, i64 noundef %135, i1 noundef zeroext %137, i1 noundef zeroext %139, i64 noundef %140, ptr noundef %141, i64 noundef %142, i64 noundef %143, ptr noundef %144)
  br i1 %145, label %146, label %147

146:                                              ; preds = %130
  store i32 1, ptr %30, align 4
  br label %447

147:                                              ; preds = %130
  br label %148

148:                                              ; preds = %147, %123
  %149 = load i64, ptr %13, align 8, !tbaa !5
  %150 = load i64, ptr %14, align 8, !tbaa !5
  %151 = load ptr, ptr %24, align 8, !tbaa !9
  %152 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %149, i64 noundef %150, ptr noundef %151)
  %153 = load i64, ptr %27, align 8, !tbaa !5
  %154 = icmp sle i64 %152, %153
  br i1 %154, label %155, label %170

155:                                              ; preds = %148
  %156 = load i64, ptr %13, align 8, !tbaa !5
  %157 = load i64, ptr %14, align 8, !tbaa !5
  %158 = load ptr, ptr %15, align 8, !tbaa !9
  %159 = load i64, ptr %16, align 8, !tbaa !5
  %160 = load i64, ptr %17, align 8, !tbaa !5
  %161 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %162 = trunc i8 %161 to i1
  %163 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %164 = trunc i8 %163 to i1
  %165 = load i64, ptr %20, align 8, !tbaa !5
  %166 = load ptr, ptr %21, align 8, !tbaa !9
  %167 = load i64, ptr %22, align 8, !tbaa !5
  %168 = load i64, ptr %23, align 8, !tbaa !5
  %169 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_implL22ablas_rmatrixlefttrsm2EllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %156, i64 noundef %157, ptr noundef %158, i64 noundef %159, i64 noundef %160, i1 noundef zeroext %162, i1 noundef zeroext %164, i64 noundef %165, ptr noundef %166, i64 noundef %167, i64 noundef %168, ptr noundef %169)
  store i32 1, ptr %30, align 4
  br label %447

170:                                              ; preds = %148
  %171 = load i64, ptr %14, align 8, !tbaa !5
  %172 = load i64, ptr %13, align 8, !tbaa !5
  %173 = icmp sge i64 %171, %172
  br i1 %173, label %174, label %208

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

208:                                              ; preds = %170
  %209 = load i64, ptr %13, align 8, !tbaa !5
  %210 = load i64, ptr %29, align 8, !tbaa !5
  %211 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %209, i64 noundef %210, ptr noundef %25, ptr noundef %26, ptr noundef %211)
  %212 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %213 = trunc i8 %212 to i1
  br i1 %213, label %214, label %269

214:                                              ; preds = %208
  %215 = load i64, ptr %20, align 8, !tbaa !5
  %216 = icmp eq i64 %215, 0
  br i1 %216, label %217, label %269

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

269:                                              ; preds = %217, %214, %208
  %270 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %271 = trunc i8 %270 to i1
  br i1 %271, label %272, label %328

272:                                              ; preds = %269
  %273 = load i64, ptr %20, align 8, !tbaa !5
  %274 = icmp ne i64 %273, 0
  br i1 %274, label %275, label %328

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

328:                                              ; preds = %275, %272, %269
  %329 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %330 = trunc i8 %329 to i1
  br i1 %330, label %386, label %331

331:                                              ; preds = %328
  %332 = load i64, ptr %20, align 8, !tbaa !5
  %333 = icmp eq i64 %332, 0
  br i1 %333, label %334, label %386

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

386:                                              ; preds = %334, %331, %328
  %387 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %388 = trunc i8 %387 to i1
  br i1 %388, label %445, label %389

389:                                              ; preds = %386
  %390 = load i64, ptr %20, align 8, !tbaa !5
  %391 = icmp ne i64 %390, 0
  br i1 %391, label %392, label %445

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

445:                                              ; preds = %392, %389, %386
  br label %446

446:                                              ; preds = %445, %174
  store i32 0, ptr %30, align 4
  br label %447

447:                                              ; preds = %446, %155, %146, %89, %82
  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
  %448 = load i32, ptr %30, align 4
  switch i32 %448, label %450 [
    i32 0, label %449
    i32 1, label %449
  ]

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

450:                                              ; preds = %447
  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_impl25_trypexec_rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, i1 noundef zeroext, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL22ablas_rmatrixlefttrsm2EllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, i1 noundef zeroext, i64 noundef, ptr noundef, i64 noundef, i64 noundef, 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


; 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.206 = external hidden unnamed_addr constant [43 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_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11) local_unnamed_addr #2 {
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %15 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %11)
  %16 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %11)
  %17 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %11)
  %.not276 = icmp sgt i64 %17, %16
  %spec.select = select i1 %.not276, i64 %16, i64 %15
  %18 = icmp sgt i64 %spec.select, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %18, ptr noundef nonnull @.str.206, ptr noundef %11)
  %19 = shl nsw i64 %16, 1
  %.not277 = icmp sgt i64 %19, %1
  br i1 %.not277, label %.critedge, label %20

20:                                               ; preds = %12
  %21 = sitofp i64 %1 to double
  %22 = sitofp i64 %0 to double
  %23 = tail call noundef double @_ZN11alglib_impl5rmul3EdddPNS_8ae_stateE(double noundef %21, double noundef %22, double noundef %22, ptr noundef %11)
  %24 = tail call noundef double @_ZN11alglib_impl18smpactivationlevelEPNS_8ae_stateE(ptr noundef %11)
  %25 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %23, double noundef %24)
  br i1 %25, label %26, label %28

26:                                               ; preds = %20
  %27 = tail call noundef zeroext i1 @_ZN11alglib_impl25_trypexec_rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  br i1 %27, label %94, label %28

28:                                               ; preds = %20, %26
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %1, i64 noundef %spec.select, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %11)
  %29 = load i64, ptr %14, align 8, !tbaa !5
  %30 = load i64, ptr %13, align 8, !tbaa !5
  %31 = add nsw i64 %30, %10
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %29, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %31, ptr noundef %11)
  %32 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %32, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  br label %94

.critedge:                                        ; preds = %12
  %33 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %11)
  %.not278 = icmp sgt i64 %33, %16
  br i1 %.not278, label %36, label %34

34:                                               ; preds = %.critedge
  %35 = tail call noundef zeroext i1 @_ZN11alglib_impl18rmatrixlefttrsmmklEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  br i1 %35, label %94, label %36

36:                                               ; preds = %34, %.critedge
  %37 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %11)
  %.not279 = icmp sgt i64 %37, %15
  br i1 %.not279, label %39, label %38

38:                                               ; preds = %36
  tail call void @_ZN11alglib_implL22ablas_rmatrixlefttrsm2EllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  br label %94

39:                                               ; preds = %36
  %.not280 = icmp slt i64 %1, %0
  br i1 %.not280, label %45, label %40

40:                                               ; preds = %39
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %1, i64 noundef %spec.select, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %11)
  %41 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %41, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  %42 = load i64, ptr %14, align 8, !tbaa !5
  %43 = load i64, ptr %13, align 8, !tbaa !5
  %44 = add nsw i64 %43, %10
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %42, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %44, ptr noundef %11)
  br label %94

45:                                               ; preds = %39
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %0, i64 noundef %spec.select, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %11)
  %46 = icmp eq i64 %7, 0
  %or.cond = and i1 %46, %5
  br i1 %or.cond, label %.thread, label %57

.thread:                                          ; preds = %45
  %47 = load i64, ptr %14, align 8, !tbaa !5
  %48 = load i64, ptr %13, align 8, !tbaa !5
  %49 = add nsw i64 %48, %3
  %50 = add nsw i64 %48, %4
  %51 = add nsw i64 %48, %9
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %47, i64 noundef %1, ptr noundef %2, i64 noundef %49, i64 noundef %50, i1 noundef zeroext true, i1 noundef zeroext %6, i64 noundef 0, ptr noundef %8, i64 noundef %51, i64 noundef %10, ptr noundef %11)
  %52 = load i64, ptr %13, align 8, !tbaa !5
  %53 = load i64, ptr %14, align 8, !tbaa !5
  %54 = add nsw i64 %52, %4
  %55 = add nsw i64 %52, %9
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %52, i64 noundef %1, i64 noundef %53, double noundef -1.000000e+00, ptr noundef %2, i64 noundef %3, i64 noundef %54, i64 noundef 0, ptr noundef %8, i64 noundef %55, i64 noundef %10, i64 noundef 0, double noundef 1.000000e+00, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  %56 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %56, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext true, i1 noundef zeroext %6, i64 noundef 0, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  br label %69

57:                                               ; preds = %45
  %58 = icmp ne i64 %7, 0
  %or.cond3 = and i1 %58, %5
  br i1 %or.cond3, label %.thread286, label %69

.thread286:                                       ; preds = %57
  %59 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %59, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext true, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  %60 = load i64, ptr %14, align 8, !tbaa !5
  %61 = load i64, ptr %13, align 8, !tbaa !5
  %62 = add nsw i64 %61, %4
  %63 = add nsw i64 %61, %9
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %60, i64 noundef %1, i64 noundef %61, double noundef -1.000000e+00, ptr noundef %2, i64 noundef %3, i64 noundef %62, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef 0, double noundef 1.000000e+00, ptr noundef %8, i64 noundef %63, i64 noundef %10, ptr noundef %11)
  %64 = load i64, ptr %14, align 8, !tbaa !5
  %65 = load i64, ptr %13, align 8, !tbaa !5
  %66 = add nsw i64 %65, %3
  %67 = add nsw i64 %65, %4
  %68 = add nsw i64 %65, %9
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %64, i64 noundef %1, ptr noundef %2, i64 noundef %66, i64 noundef %67, i1 noundef zeroext true, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %68, i64 noundef %10, ptr noundef %11)
  br label %94

69:                                               ; preds = %.thread, %57
  %70 = phi i1 [ false, %.thread ], [ %58, %57 ]
  %.not = xor i1 %5, true
  %or.cond5 = and i1 %46, %.not
  br i1 %or.cond5, label %71, label %82

71:                                               ; preds = %69
  %72 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %72, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef 0, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  %73 = load i64, ptr %14, align 8, !tbaa !5
  %74 = load i64, ptr %13, align 8, !tbaa !5
  %75 = add nsw i64 %74, %3
  %76 = add nsw i64 %74, %9
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %73, i64 noundef %1, i64 noundef %74, double noundef -1.000000e+00, ptr noundef %2, i64 noundef %75, i64 noundef %4, i64 noundef 0, ptr noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef 0, double noundef 1.000000e+00, ptr noundef %8, i64 noundef %76, i64 noundef %10, ptr noundef %11)
  %77 = load i64, ptr %14, align 8, !tbaa !5
  %78 = load i64, ptr %13, align 8, !tbaa !5
  %79 = add nsw i64 %78, %3
  %80 = add nsw i64 %78, %4
  %81 = add nsw i64 %78, %9
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %77, i64 noundef %1, ptr noundef %2, i64 noundef %79, i64 noundef %80, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef 0, ptr noundef %8, i64 noundef %81, i64 noundef %10, ptr noundef %11)
  br label %82

82:                                               ; preds = %71, %69
  %.not285 = phi i1 [ true, %71 ], [ %.not, %69 ]
  %or.cond8 = and i1 %.not285, %70
  br i1 %or.cond8, label %83, label %94

83:                                               ; preds = %82
  %84 = load i64, ptr %14, align 8, !tbaa !5
  %85 = load i64, ptr %13, align 8, !tbaa !5
  %86 = add nsw i64 %85, %3
  %87 = add nsw i64 %85, %4
  %88 = add nsw i64 %85, %9
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %84, i64 noundef %1, ptr noundef %2, i64 noundef %86, i64 noundef %87, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %88, i64 noundef %10, ptr noundef %11)
  %89 = load i64, ptr %13, align 8, !tbaa !5
  %90 = load i64, ptr %14, align 8, !tbaa !5
  %91 = add nsw i64 %89, %3
  %92 = add nsw i64 %89, %9
  call void @_ZN11alglib_impl11rmatrixgemmEllldPNS_9ae_matrixElllS1_llldS1_llPNS_8ae_stateE(i64 noundef %89, i64 noundef %1, i64 noundef %90, double noundef -1.000000e+00, ptr noundef %2, i64 noundef %91, i64 noundef %4, i64 noundef %7, ptr noundef %8, i64 noundef %92, i64 noundef %10, i64 noundef 0, double noundef 1.000000e+00, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  %93 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %93, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  br label %94

94:                                               ; preds = %.thread286, %40, %83, %82, %34, %26, %38, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #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_impl25_trypexec_rmatrixlefttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, i1 noundef zeroext, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL22ablas_rmatrixlefttrsm2EllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, i1 noundef zeroext, i64 noundef, ptr noundef, i64 noundef, i64 noundef, 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: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass