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

%"struct.alglib_impl::ae_complex" = type { double, double }

@.str.203 = external hidden unnamed_addr constant [41 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_impl16cmatrixrighttrsmEllPNS_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
  %31 = alloca %"struct.alglib_impl::ae_complex", align 8
  %32 = alloca %"struct.alglib_impl::ae_complex", align 8
  %33 = alloca %"struct.alglib_impl::ae_complex", align 8
  %34 = alloca %"struct.alglib_impl::ae_complex", align 8
  %35 = alloca %"struct.alglib_impl::ae_complex", align 8
  %36 = alloca %"struct.alglib_impl::ae_complex", align 8
  %37 = alloca %"struct.alglib_impl::ae_complex", align 8
  %38 = alloca %"struct.alglib_impl::ae_complex", align 8
  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
  %39 = zext i1 %5 to i8
  store i8 %39, ptr %18, align 1, !tbaa !11
  %40 = zext i1 %6 to i8
  store i8 %40, 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
  %41 = load ptr, ptr %24, align 8, !tbaa !9
  %42 = call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %41)
  %43 = sdiv i64 %42, 2
  store i64 %43, ptr %27, align 8, !tbaa !5
  %44 = load ptr, ptr %24, align 8, !tbaa !9
  %45 = call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %44)
  store i64 %45, ptr %28, align 8, !tbaa !5
  %46 = load i64, ptr %28, align 8, !tbaa !5
  store i64 %46, ptr %29, align 8, !tbaa !5
  %47 = load i64, ptr %13, align 8, !tbaa !5
  %48 = load i64, ptr %14, align 8, !tbaa !5
  %49 = load ptr, ptr %24, align 8, !tbaa !9
  %50 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %47, i64 noundef %48, ptr noundef %49)
  %51 = load i64, ptr %28, align 8, !tbaa !5
  %52 = icmp sle i64 %50, %51
  br i1 %52, label %53, label %55

53:                                               ; preds = %12
  %54 = load i64, ptr %27, align 8, !tbaa !5
  store i64 %54, ptr %29, align 8, !tbaa !5
  br label %55

55:                                               ; preds = %53, %12
  %56 = load i64, ptr %29, align 8, !tbaa !5
  %57 = icmp sge i64 %56, 1
  %58 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %57, ptr noundef @.str.203, ptr noundef %58)
  %59 = load i64, ptr %13, align 8, !tbaa !5
  %60 = load i64, ptr %28, align 8, !tbaa !5
  %61 = mul nsw i64 2, %60
  %62 = icmp sge i64 %59, %61
  br i1 %62, label %63, label %94

63:                                               ; preds = %55
  %64 = load i64, ptr %13, align 8, !tbaa !5
  %65 = sitofp i64 %64 to double
  %66 = load i64, ptr %14, align 8, !tbaa !5
  %67 = sitofp i64 %66 to double
  %68 = load i64, ptr %14, align 8, !tbaa !5
  %69 = sitofp i64 %68 to double
  %70 = load ptr, ptr %24, align 8, !tbaa !9
  %71 = call noundef double @_ZN11alglib_impl5rmul3EdddPNS_8ae_stateE(double noundef %65, double noundef %67, double noundef %69, ptr noundef %70)
  %72 = fmul double 4.000000e+00, %71
  %73 = load ptr, ptr %24, align 8, !tbaa !9
  %74 = call noundef double @_ZN11alglib_impl18smpactivationlevelEPNS_8ae_stateE(ptr noundef %73)
  %75 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %72, double noundef %74)
  br i1 %75, label %76, label %94

76:                                               ; preds = %63
  %77 = load i64, ptr %13, align 8, !tbaa !5
  %78 = load i64, ptr %14, align 8, !tbaa !5
  %79 = load ptr, ptr %15, align 8, !tbaa !9
  %80 = load i64, ptr %16, align 8, !tbaa !5
  %81 = load i64, ptr %17, align 8, !tbaa !5
  %82 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %83 = trunc i8 %82 to i1
  %84 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %85 = trunc i8 %84 to i1
  %86 = load i64, ptr %20, align 8, !tbaa !5
  %87 = load ptr, ptr %21, align 8, !tbaa !9
  %88 = load i64, ptr %22, align 8, !tbaa !5
  %89 = load i64, ptr %23, align 8, !tbaa !5
  %90 = load ptr, ptr %24, align 8, !tbaa !9
  %91 = call noundef zeroext i1 @_ZN11alglib_impl26_trypexec_cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %77, i64 noundef %78, ptr noundef %79, i64 noundef %80, i64 noundef %81, i1 noundef zeroext %83, i1 noundef zeroext %85, i64 noundef %86, ptr noundef %87, i64 noundef %88, i64 noundef %89, ptr noundef %90)
  br i1 %91, label %92, label %93

92:                                               ; preds = %76
  store i32 1, ptr %30, align 4
  br label %529

93:                                               ; preds = %76
  br label %94

94:                                               ; preds = %93, %63, %55
  %95 = load i64, ptr %13, align 8, !tbaa !5
  %96 = load i64, ptr %28, align 8, !tbaa !5
  %97 = mul nsw i64 2, %96
  %98 = icmp sge i64 %95, %97
  br i1 %98, label %99, label %133

99:                                               ; preds = %94
  %100 = load i64, ptr %13, align 8, !tbaa !5
  %101 = load i64, ptr %28, align 8, !tbaa !5
  %102 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %100, i64 noundef %101, ptr noundef %25, ptr noundef %26, ptr noundef %102)
  %103 = load i64, ptr %25, align 8, !tbaa !5
  %104 = load i64, ptr %14, align 8, !tbaa !5
  %105 = load ptr, ptr %15, align 8, !tbaa !9
  %106 = load i64, ptr %16, align 8, !tbaa !5
  %107 = load i64, ptr %17, align 8, !tbaa !5
  %108 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %109 = trunc i8 %108 to i1
  %110 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %111 = trunc i8 %110 to i1
  %112 = load i64, ptr %20, align 8, !tbaa !5
  %113 = load ptr, ptr %21, align 8, !tbaa !9
  %114 = load i64, ptr %22, align 8, !tbaa !5
  %115 = load i64, ptr %23, align 8, !tbaa !5
  %116 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %103, i64 noundef %104, ptr noundef %105, i64 noundef %106, i64 noundef %107, i1 noundef zeroext %109, i1 noundef zeroext %111, i64 noundef %112, ptr noundef %113, i64 noundef %114, i64 noundef %115, ptr noundef %116)
  %117 = load i64, ptr %26, align 8, !tbaa !5
  %118 = load i64, ptr %14, align 8, !tbaa !5
  %119 = load ptr, ptr %15, align 8, !tbaa !9
  %120 = load i64, ptr %16, align 8, !tbaa !5
  %121 = load i64, ptr %17, align 8, !tbaa !5
  %122 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %123 = trunc i8 %122 to i1
  %124 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %125 = trunc i8 %124 to i1
  %126 = load i64, ptr %20, align 8, !tbaa !5
  %127 = load ptr, ptr %21, align 8, !tbaa !9
  %128 = load i64, ptr %22, align 8, !tbaa !5
  %129 = load i64, ptr %25, align 8, !tbaa !5
  %130 = add nsw i64 %128, %129
  %131 = load i64, ptr %23, align 8, !tbaa !5
  %132 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %117, i64 noundef %118, ptr noundef %119, i64 noundef %120, i64 noundef %121, i1 noundef zeroext %123, i1 noundef zeroext %125, i64 noundef %126, ptr noundef %127, i64 noundef %130, i64 noundef %131, ptr noundef %132)
  store i32 1, ptr %30, align 4
  br label %529

133:                                              ; preds = %94
  %134 = load i64, ptr %13, align 8, !tbaa !5
  %135 = load i64, ptr %14, align 8, !tbaa !5
  %136 = load ptr, ptr %24, align 8, !tbaa !9
  %137 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %134, i64 noundef %135, ptr noundef %136)
  %138 = load i64, ptr %28, align 8, !tbaa !5
  %139 = icmp sle i64 %137, %138
  br i1 %139, label %140, label %158

140:                                              ; preds = %133
  %141 = load i64, ptr %13, align 8, !tbaa !5
  %142 = load i64, ptr %14, align 8, !tbaa !5
  %143 = load ptr, ptr %15, align 8, !tbaa !9
  %144 = load i64, ptr %16, align 8, !tbaa !5
  %145 = load i64, ptr %17, align 8, !tbaa !5
  %146 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %147 = trunc i8 %146 to i1
  %148 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %149 = trunc i8 %148 to i1
  %150 = load i64, ptr %20, align 8, !tbaa !5
  %151 = load ptr, ptr %21, align 8, !tbaa !9
  %152 = load i64, ptr %22, align 8, !tbaa !5
  %153 = load i64, ptr %23, align 8, !tbaa !5
  %154 = load ptr, ptr %24, align 8, !tbaa !9
  %155 = call noundef zeroext i1 @_ZN11alglib_impl19cmatrixrighttrsmmklEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %141, i64 noundef %142, ptr noundef %143, i64 noundef %144, i64 noundef %145, i1 noundef zeroext %147, i1 noundef zeroext %149, i64 noundef %150, ptr noundef %151, i64 noundef %152, i64 noundef %153, ptr noundef %154)
  br i1 %155, label %156, label %157

156:                                              ; preds = %140
  store i32 1, ptr %30, align 4
  br label %529

157:                                              ; preds = %140
  br label %158

158:                                              ; preds = %157, %133
  %159 = load i64, ptr %13, align 8, !tbaa !5
  %160 = load i64, ptr %14, align 8, !tbaa !5
  %161 = load ptr, ptr %24, align 8, !tbaa !9
  %162 = call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %159, i64 noundef %160, ptr noundef %161)
  %163 = load i64, ptr %27, align 8, !tbaa !5
  %164 = icmp sle i64 %162, %163
  br i1 %164, label %165, label %180

165:                                              ; preds = %158
  %166 = load i64, ptr %13, align 8, !tbaa !5
  %167 = load i64, ptr %14, align 8, !tbaa !5
  %168 = load ptr, ptr %15, align 8, !tbaa !9
  %169 = load i64, ptr %16, align 8, !tbaa !5
  %170 = load i64, ptr %17, align 8, !tbaa !5
  %171 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %172 = trunc i8 %171 to i1
  %173 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %174 = trunc i8 %173 to i1
  %175 = load i64, ptr %20, align 8, !tbaa !5
  %176 = load ptr, ptr %21, align 8, !tbaa !9
  %177 = load i64, ptr %22, align 8, !tbaa !5
  %178 = load i64, ptr %23, align 8, !tbaa !5
  %179 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_implL23ablas_cmatrixrighttrsm2EllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %166, i64 noundef %167, ptr noundef %168, i64 noundef %169, i64 noundef %170, i1 noundef zeroext %172, i1 noundef zeroext %174, i64 noundef %175, ptr noundef %176, i64 noundef %177, i64 noundef %178, ptr noundef %179)
  store i32 1, ptr %30, align 4
  br label %529

180:                                              ; preds = %158
  %181 = load i64, ptr %13, align 8, !tbaa !5
  %182 = load i64, ptr %14, align 8, !tbaa !5
  %183 = icmp sge i64 %181, %182
  br i1 %183, label %184, label %218

184:                                              ; preds = %180
  %185 = load i64, ptr %13, align 8, !tbaa !5
  %186 = load i64, ptr %29, align 8, !tbaa !5
  %187 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %185, i64 noundef %186, ptr noundef %25, ptr noundef %26, ptr noundef %187)
  %188 = load i64, ptr %25, align 8, !tbaa !5
  %189 = load i64, ptr %14, align 8, !tbaa !5
  %190 = load ptr, ptr %15, align 8, !tbaa !9
  %191 = load i64, ptr %16, align 8, !tbaa !5
  %192 = load i64, ptr %17, align 8, !tbaa !5
  %193 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %194 = trunc i8 %193 to i1
  %195 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %196 = trunc i8 %195 to i1
  %197 = load i64, ptr %20, align 8, !tbaa !5
  %198 = load ptr, ptr %21, align 8, !tbaa !9
  %199 = load i64, ptr %22, align 8, !tbaa !5
  %200 = load i64, ptr %23, align 8, !tbaa !5
  %201 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %188, i64 noundef %189, ptr noundef %190, i64 noundef %191, i64 noundef %192, i1 noundef zeroext %194, i1 noundef zeroext %196, i64 noundef %197, ptr noundef %198, i64 noundef %199, i64 noundef %200, ptr noundef %201)
  %202 = load i64, ptr %26, align 8, !tbaa !5
  %203 = load i64, ptr %14, align 8, !tbaa !5
  %204 = load ptr, ptr %15, align 8, !tbaa !9
  %205 = load i64, ptr %16, align 8, !tbaa !5
  %206 = load i64, ptr %17, align 8, !tbaa !5
  %207 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %208 = trunc i8 %207 to i1
  %209 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %210 = trunc i8 %209 to i1
  %211 = load i64, ptr %20, align 8, !tbaa !5
  %212 = load ptr, ptr %21, align 8, !tbaa !9
  %213 = load i64, ptr %22, align 8, !tbaa !5
  %214 = load i64, ptr %25, align 8, !tbaa !5
  %215 = add nsw i64 %213, %214
  %216 = load i64, ptr %23, align 8, !tbaa !5
  %217 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %202, i64 noundef %203, ptr noundef %204, i64 noundef %205, i64 noundef %206, i1 noundef zeroext %208, i1 noundef zeroext %210, i64 noundef %211, ptr noundef %212, i64 noundef %215, i64 noundef %216, ptr noundef %217)
  br label %528

218:                                              ; preds = %180
  %219 = load i64, ptr %14, align 8, !tbaa !5
  %220 = load i64, ptr %29, align 8, !tbaa !5
  %221 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %219, i64 noundef %220, ptr noundef %25, ptr noundef %26, ptr noundef %221)
  %222 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %223 = trunc i8 %222 to i1
  br i1 %223, label %224, label %297

224:                                              ; preds = %218
  %225 = load i64, ptr %20, align 8, !tbaa !5
  %226 = icmp eq i64 %225, 0
  br i1 %226, label %227, label %297

227:                                              ; preds = %224
  %228 = load i64, ptr %13, align 8, !tbaa !5
  %229 = load i64, ptr %25, align 8, !tbaa !5
  %230 = load ptr, ptr %15, align 8, !tbaa !9
  %231 = load i64, ptr %16, align 8, !tbaa !5
  %232 = load i64, ptr %17, align 8, !tbaa !5
  %233 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %234 = trunc i8 %233 to i1
  %235 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %236 = trunc i8 %235 to i1
  %237 = load i64, ptr %20, align 8, !tbaa !5
  %238 = load ptr, ptr %21, align 8, !tbaa !9
  %239 = load i64, ptr %22, align 8, !tbaa !5
  %240 = load i64, ptr %23, align 8, !tbaa !5
  %241 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %228, i64 noundef %229, ptr noundef %230, i64 noundef %231, i64 noundef %232, i1 noundef zeroext %234, i1 noundef zeroext %236, i64 noundef %237, ptr noundef %238, i64 noundef %239, i64 noundef %240, ptr noundef %241)
  %242 = load i64, ptr %13, align 8, !tbaa !5
  %243 = load i64, ptr %26, align 8, !tbaa !5
  %244 = load i64, ptr %25, align 8, !tbaa !5
  %245 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %246 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %247 = extractvalue { double, double } %245, 0
  store double %247, ptr %246, align 8
  %248 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %249 = extractvalue { double, double } %245, 1
  store double %249, ptr %248, align 8
  %250 = load ptr, ptr %21, align 8, !tbaa !9
  %251 = load i64, ptr %22, align 8, !tbaa !5
  %252 = load i64, ptr %23, align 8, !tbaa !5
  %253 = load ptr, ptr %15, align 8, !tbaa !9
  %254 = load i64, ptr %16, align 8, !tbaa !5
  %255 = load i64, ptr %17, align 8, !tbaa !5
  %256 = load i64, ptr %25, align 8, !tbaa !5
  %257 = add nsw i64 %255, %256
  %258 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %259 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %260 = extractvalue { double, double } %258, 0
  store double %260, ptr %259, align 8
  %261 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %262 = extractvalue { double, double } %258, 1
  store double %262, ptr %261, align 8
  %263 = load ptr, ptr %21, align 8, !tbaa !9
  %264 = load i64, ptr %22, align 8, !tbaa !5
  %265 = load i64, ptr %23, align 8, !tbaa !5
  %266 = load i64, ptr %25, align 8, !tbaa !5
  %267 = add nsw i64 %265, %266
  %268 = load ptr, ptr %24, align 8, !tbaa !9
  %269 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %270 = load double, ptr %269, align 8
  %271 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %272 = load double, ptr %271, align 8
  %273 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %274 = load double, ptr %273, align 8
  %275 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %276 = load double, ptr %275, align 8
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %242, i64 noundef %243, i64 noundef %244, double %270, double %272, ptr noundef %250, i64 noundef %251, i64 noundef %252, i64 noundef 0, ptr noundef %253, i64 noundef %254, i64 noundef %257, i64 noundef 0, double %274, double %276, ptr noundef %263, i64 noundef %264, i64 noundef %267, ptr noundef %268)
  %277 = load i64, ptr %13, align 8, !tbaa !5
  %278 = load i64, ptr %26, align 8, !tbaa !5
  %279 = load ptr, ptr %15, align 8, !tbaa !9
  %280 = load i64, ptr %16, align 8, !tbaa !5
  %281 = load i64, ptr %25, align 8, !tbaa !5
  %282 = add nsw i64 %280, %281
  %283 = load i64, ptr %17, align 8, !tbaa !5
  %284 = load i64, ptr %25, align 8, !tbaa !5
  %285 = add nsw i64 %283, %284
  %286 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %287 = trunc i8 %286 to i1
  %288 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %289 = trunc i8 %288 to i1
  %290 = load i64, ptr %20, align 8, !tbaa !5
  %291 = load ptr, ptr %21, align 8, !tbaa !9
  %292 = load i64, ptr %22, align 8, !tbaa !5
  %293 = load i64, ptr %23, align 8, !tbaa !5
  %294 = load i64, ptr %25, align 8, !tbaa !5
  %295 = add nsw i64 %293, %294
  %296 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %277, i64 noundef %278, ptr noundef %279, i64 noundef %282, i64 noundef %285, i1 noundef zeroext %287, i1 noundef zeroext %289, i64 noundef %290, ptr noundef %291, i64 noundef %292, i64 noundef %295, ptr noundef %296)
  br label %297

297:                                              ; preds = %227, %224, %218
  %298 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %299 = trunc i8 %298 to i1
  br i1 %299, label %300, label %374

300:                                              ; preds = %297
  %301 = load i64, ptr %20, align 8, !tbaa !5
  %302 = icmp ne i64 %301, 0
  br i1 %302, label %303, label %374

303:                                              ; preds = %300
  %304 = load i64, ptr %13, align 8, !tbaa !5
  %305 = load i64, ptr %26, align 8, !tbaa !5
  %306 = load ptr, ptr %15, align 8, !tbaa !9
  %307 = load i64, ptr %16, align 8, !tbaa !5
  %308 = load i64, ptr %25, align 8, !tbaa !5
  %309 = add nsw i64 %307, %308
  %310 = load i64, ptr %17, align 8, !tbaa !5
  %311 = load i64, ptr %25, align 8, !tbaa !5
  %312 = add nsw i64 %310, %311
  %313 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %314 = trunc i8 %313 to i1
  %315 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %316 = trunc i8 %315 to i1
  %317 = load i64, ptr %20, align 8, !tbaa !5
  %318 = load ptr, ptr %21, align 8, !tbaa !9
  %319 = load i64, ptr %22, align 8, !tbaa !5
  %320 = load i64, ptr %23, align 8, !tbaa !5
  %321 = load i64, ptr %25, align 8, !tbaa !5
  %322 = add nsw i64 %320, %321
  %323 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %304, i64 noundef %305, ptr noundef %306, i64 noundef %309, i64 noundef %312, i1 noundef zeroext %314, i1 noundef zeroext %316, i64 noundef %317, ptr noundef %318, i64 noundef %319, i64 noundef %322, ptr noundef %323)
  %324 = load i64, ptr %13, align 8, !tbaa !5
  %325 = load i64, ptr %25, align 8, !tbaa !5
  %326 = load i64, ptr %26, align 8, !tbaa !5
  %327 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %328 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %329 = extractvalue { double, double } %327, 0
  store double %329, ptr %328, align 8
  %330 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %331 = extractvalue { double, double } %327, 1
  store double %331, ptr %330, align 8
  %332 = load ptr, ptr %21, align 8, !tbaa !9
  %333 = load i64, ptr %22, align 8, !tbaa !5
  %334 = load i64, ptr %23, align 8, !tbaa !5
  %335 = load i64, ptr %25, align 8, !tbaa !5
  %336 = add nsw i64 %334, %335
  %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 i64, ptr %25, align 8, !tbaa !5
  %341 = add nsw i64 %339, %340
  %342 = load i64, ptr %20, align 8, !tbaa !5
  %343 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %344 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %345 = extractvalue { double, double } %343, 0
  store double %345, ptr %344, align 8
  %346 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %347 = extractvalue { double, double } %343, 1
  store double %347, ptr %346, align 8
  %348 = load ptr, ptr %21, align 8, !tbaa !9
  %349 = load i64, ptr %22, align 8, !tbaa !5
  %350 = load i64, ptr %23, align 8, !tbaa !5
  %351 = load ptr, ptr %24, align 8, !tbaa !9
  %352 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %353 = load double, ptr %352, align 8
  %354 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %355 = load double, ptr %354, align 8
  %356 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %357 = load double, ptr %356, align 8
  %358 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %359 = load double, ptr %358, align 8
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %324, i64 noundef %325, i64 noundef %326, double %353, double %355, ptr noundef %332, i64 noundef %333, i64 noundef %336, i64 noundef 0, ptr noundef %337, i64 noundef %338, i64 noundef %341, i64 noundef %342, double %357, double %359, ptr noundef %348, i64 noundef %349, i64 noundef %350, ptr noundef %351)
  %360 = load i64, ptr %13, align 8, !tbaa !5
  %361 = load i64, ptr %25, align 8, !tbaa !5
  %362 = load ptr, ptr %15, align 8, !tbaa !9
  %363 = load i64, ptr %16, align 8, !tbaa !5
  %364 = load i64, ptr %17, align 8, !tbaa !5
  %365 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %366 = trunc i8 %365 to i1
  %367 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %368 = trunc i8 %367 to i1
  %369 = load i64, ptr %20, align 8, !tbaa !5
  %370 = load ptr, ptr %21, align 8, !tbaa !9
  %371 = load i64, ptr %22, align 8, !tbaa !5
  %372 = load i64, ptr %23, align 8, !tbaa !5
  %373 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %360, i64 noundef %361, ptr noundef %362, i64 noundef %363, i64 noundef %364, i1 noundef zeroext %366, i1 noundef zeroext %368, i64 noundef %369, ptr noundef %370, i64 noundef %371, i64 noundef %372, ptr noundef %373)
  br label %374

374:                                              ; preds = %303, %300, %297
  %375 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %376 = trunc i8 %375 to i1
  br i1 %376, label %450, label %377

377:                                              ; preds = %374
  %378 = load i64, ptr %20, align 8, !tbaa !5
  %379 = icmp eq i64 %378, 0
  br i1 %379, label %380, label %450

380:                                              ; preds = %377
  %381 = load i64, ptr %13, align 8, !tbaa !5
  %382 = load i64, ptr %26, align 8, !tbaa !5
  %383 = load ptr, ptr %15, align 8, !tbaa !9
  %384 = load i64, ptr %16, align 8, !tbaa !5
  %385 = load i64, ptr %25, align 8, !tbaa !5
  %386 = add nsw i64 %384, %385
  %387 = load i64, ptr %17, align 8, !tbaa !5
  %388 = load i64, ptr %25, align 8, !tbaa !5
  %389 = add nsw i64 %387, %388
  %390 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %391 = trunc i8 %390 to i1
  %392 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %393 = trunc i8 %392 to i1
  %394 = load i64, ptr %20, align 8, !tbaa !5
  %395 = load ptr, ptr %21, align 8, !tbaa !9
  %396 = load i64, ptr %22, align 8, !tbaa !5
  %397 = load i64, ptr %23, align 8, !tbaa !5
  %398 = load i64, ptr %25, align 8, !tbaa !5
  %399 = add nsw i64 %397, %398
  %400 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %381, i64 noundef %382, ptr noundef %383, i64 noundef %386, i64 noundef %389, i1 noundef zeroext %391, i1 noundef zeroext %393, i64 noundef %394, ptr noundef %395, i64 noundef %396, i64 noundef %399, ptr noundef %400)
  %401 = load i64, ptr %13, align 8, !tbaa !5
  %402 = load i64, ptr %25, align 8, !tbaa !5
  %403 = load i64, ptr %26, align 8, !tbaa !5
  %404 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %405 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %406 = extractvalue { double, double } %404, 0
  store double %406, ptr %405, align 8
  %407 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %408 = extractvalue { double, double } %404, 1
  store double %408, ptr %407, align 8
  %409 = load ptr, ptr %21, align 8, !tbaa !9
  %410 = load i64, ptr %22, align 8, !tbaa !5
  %411 = load i64, ptr %23, align 8, !tbaa !5
  %412 = load i64, ptr %25, align 8, !tbaa !5
  %413 = add nsw i64 %411, %412
  %414 = load ptr, ptr %15, align 8, !tbaa !9
  %415 = load i64, ptr %16, align 8, !tbaa !5
  %416 = load i64, ptr %25, align 8, !tbaa !5
  %417 = add nsw i64 %415, %416
  %418 = load i64, ptr %17, align 8, !tbaa !5
  %419 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %420 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %421 = extractvalue { double, double } %419, 0
  store double %421, ptr %420, align 8
  %422 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %423 = extractvalue { double, double } %419, 1
  store double %423, ptr %422, align 8
  %424 = load ptr, ptr %21, align 8, !tbaa !9
  %425 = load i64, ptr %22, align 8, !tbaa !5
  %426 = load i64, ptr %23, align 8, !tbaa !5
  %427 = load ptr, ptr %24, align 8, !tbaa !9
  %428 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %429 = load double, ptr %428, align 8
  %430 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %431 = load double, ptr %430, align 8
  %432 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %433 = load double, ptr %432, align 8
  %434 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %435 = load double, ptr %434, align 8
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %401, i64 noundef %402, i64 noundef %403, double %429, double %431, ptr noundef %409, i64 noundef %410, i64 noundef %413, i64 noundef 0, ptr noundef %414, i64 noundef %417, i64 noundef %418, i64 noundef 0, double %433, double %435, ptr noundef %424, i64 noundef %425, i64 noundef %426, ptr noundef %427)
  %436 = load i64, ptr %13, align 8, !tbaa !5
  %437 = load i64, ptr %25, align 8, !tbaa !5
  %438 = load ptr, ptr %15, align 8, !tbaa !9
  %439 = load i64, ptr %16, align 8, !tbaa !5
  %440 = load i64, ptr %17, align 8, !tbaa !5
  %441 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %442 = trunc i8 %441 to i1
  %443 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %444 = trunc i8 %443 to i1
  %445 = load i64, ptr %20, align 8, !tbaa !5
  %446 = load ptr, ptr %21, align 8, !tbaa !9
  %447 = load i64, ptr %22, align 8, !tbaa !5
  %448 = load i64, ptr %23, align 8, !tbaa !5
  %449 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %436, i64 noundef %437, ptr noundef %438, i64 noundef %439, i64 noundef %440, i1 noundef zeroext %442, i1 noundef zeroext %444, i64 noundef %445, ptr noundef %446, i64 noundef %447, i64 noundef %448, ptr noundef %449)
  br label %450

450:                                              ; preds = %380, %377, %374
  %451 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %452 = trunc i8 %451 to i1
  br i1 %452, label %527, label %453

453:                                              ; preds = %450
  %454 = load i64, ptr %20, align 8, !tbaa !5
  %455 = icmp ne i64 %454, 0
  br i1 %455, label %456, label %527

456:                                              ; preds = %453
  %457 = load i64, ptr %13, align 8, !tbaa !5
  %458 = load i64, ptr %25, align 8, !tbaa !5
  %459 = load ptr, ptr %15, align 8, !tbaa !9
  %460 = load i64, ptr %16, align 8, !tbaa !5
  %461 = load i64, ptr %17, align 8, !tbaa !5
  %462 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %463 = trunc i8 %462 to i1
  %464 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %465 = trunc i8 %464 to i1
  %466 = load i64, ptr %20, align 8, !tbaa !5
  %467 = load ptr, ptr %21, align 8, !tbaa !9
  %468 = load i64, ptr %22, align 8, !tbaa !5
  %469 = load i64, ptr %23, align 8, !tbaa !5
  %470 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %457, i64 noundef %458, ptr noundef %459, i64 noundef %460, i64 noundef %461, i1 noundef zeroext %463, i1 noundef zeroext %465, i64 noundef %466, ptr noundef %467, i64 noundef %468, i64 noundef %469, ptr noundef %470)
  %471 = load i64, ptr %13, align 8, !tbaa !5
  %472 = load i64, ptr %26, align 8, !tbaa !5
  %473 = load i64, ptr %25, align 8, !tbaa !5
  %474 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %475 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %476 = extractvalue { double, double } %474, 0
  store double %476, ptr %475, align 8
  %477 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %478 = extractvalue { double, double } %474, 1
  store double %478, ptr %477, align 8
  %479 = load ptr, ptr %21, align 8, !tbaa !9
  %480 = load i64, ptr %22, align 8, !tbaa !5
  %481 = load i64, ptr %23, align 8, !tbaa !5
  %482 = load ptr, ptr %15, align 8, !tbaa !9
  %483 = load i64, ptr %16, align 8, !tbaa !5
  %484 = load i64, ptr %25, align 8, !tbaa !5
  %485 = add nsw i64 %483, %484
  %486 = load i64, ptr %17, align 8, !tbaa !5
  %487 = load i64, ptr %20, align 8, !tbaa !5
  %488 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %489 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %490 = extractvalue { double, double } %488, 0
  store double %490, ptr %489, align 8
  %491 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %492 = extractvalue { double, double } %488, 1
  store double %492, ptr %491, align 8
  %493 = load ptr, ptr %21, align 8, !tbaa !9
  %494 = load i64, ptr %22, align 8, !tbaa !5
  %495 = load i64, ptr %23, align 8, !tbaa !5
  %496 = load i64, ptr %25, align 8, !tbaa !5
  %497 = add nsw i64 %495, %496
  %498 = load ptr, ptr %24, align 8, !tbaa !9
  %499 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %500 = load double, ptr %499, align 8
  %501 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %502 = load double, ptr %501, align 8
  %503 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %504 = load double, ptr %503, align 8
  %505 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %506 = load double, ptr %505, align 8
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %471, i64 noundef %472, i64 noundef %473, double %500, double %502, ptr noundef %479, i64 noundef %480, i64 noundef %481, i64 noundef 0, ptr noundef %482, i64 noundef %485, i64 noundef %486, i64 noundef %487, double %504, double %506, ptr noundef %493, i64 noundef %494, i64 noundef %497, ptr noundef %498)
  %507 = load i64, ptr %13, align 8, !tbaa !5
  %508 = load i64, ptr %26, align 8, !tbaa !5
  %509 = load ptr, ptr %15, align 8, !tbaa !9
  %510 = load i64, ptr %16, align 8, !tbaa !5
  %511 = load i64, ptr %25, align 8, !tbaa !5
  %512 = add nsw i64 %510, %511
  %513 = load i64, ptr %17, align 8, !tbaa !5
  %514 = load i64, ptr %25, align 8, !tbaa !5
  %515 = add nsw i64 %513, %514
  %516 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %517 = trunc i8 %516 to i1
  %518 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %519 = trunc i8 %518 to i1
  %520 = load i64, ptr %20, align 8, !tbaa !5
  %521 = load ptr, ptr %21, align 8, !tbaa !9
  %522 = load i64, ptr %22, align 8, !tbaa !5
  %523 = load i64, ptr %23, align 8, !tbaa !5
  %524 = load i64, ptr %25, align 8, !tbaa !5
  %525 = add nsw i64 %523, %524
  %526 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %507, i64 noundef %508, ptr noundef %509, i64 noundef %512, i64 noundef %515, i1 noundef zeroext %517, i1 noundef zeroext %519, i64 noundef %520, ptr noundef %521, i64 noundef %522, i64 noundef %525, ptr noundef %526)
  br label %527

527:                                              ; preds = %456, %453, %450
  br label %528

528:                                              ; preds = %527, %184
  store i32 0, ptr %30, align 4
  br label %529

529:                                              ; preds = %528, %165, %156, %99, %92
  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
  %530 = load i32, ptr %30, align 4
  switch i32 %530, label %532 [
    i32 0, label %531
    i32 1, label %531
  ]

531:                                              ; preds = %529, %529
  ret void

532:                                              ; preds = %529
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, double, double, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double, double, 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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl26_trypexec_cmatrixrighttrsmEllPNS_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 void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl19cmatrixrighttrsmmklEllPNS_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_implL23ablas_cmatrixrighttrsm2EllPNS_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

declare { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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.203 = external hidden unnamed_addr constant [41 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_impl16cmatrixrighttrsmEllPNS_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 = sdiv i64 %15, 2
  %17 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %11)
  %18 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %11)
  %.not290 = icmp sgt i64 %18, %17
  %spec.select = select i1 %.not290, 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.203, ptr noundef %11)
  %20 = shl nsw i64 %17, 1
  %.not291 = icmp sgt i64 %20, %0
  br i1 %.not291, label %.critedge, label %21

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

28:                                               ; preds = %21
  %29 = tail call noundef zeroext i1 @_ZN11alglib_impl26_trypexec_cmatrixrighttrsmEllPNS_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 %29, label %126, label %30

30:                                               ; preds = %21, %28
  call void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef %0, i64 noundef %17, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %11)
  %31 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %31, 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)
  %32 = load i64, ptr %14, align 8, !tbaa !5
  %33 = load i64, ptr %13, align 8, !tbaa !5
  %34 = add nsw i64 %33, %9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %32, 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 %34, i64 noundef %10, ptr noundef %11)
  br label %126

.critedge:                                        ; preds = %12
  %35 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %11)
  %.not292 = icmp sgt i64 %35, %17
  br i1 %.not292, label %38, label %36

36:                                               ; preds = %.critedge
  %37 = tail call noundef zeroext i1 @_ZN11alglib_impl19cmatrixrighttrsmmklEllPNS_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 %37, label %126, label %38

38:                                               ; preds = %36, %.critedge
  %39 = tail call noundef i64 @_ZN11alglib_impl5imax2EllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %11)
  %.not293 = icmp sgt i64 %39, %16
  br i1 %.not293, label %41, label %40

40:                                               ; preds = %38
  tail call void @_ZN11alglib_implL23ablas_cmatrixrighttrsm2EllPNS_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 %126

41:                                               ; preds = %38
  %.not294 = icmp slt i64 %0, %1
  br i1 %.not294, label %47, label %42

42:                                               ; preds = %41
  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)
  %43 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %43, 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)
  %44 = load i64, ptr %14, align 8, !tbaa !5
  %45 = load i64, ptr %13, align 8, !tbaa !5
  %46 = add nsw i64 %45, %9
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %44, 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 %46, i64 noundef %10, ptr noundef %11)
  br label %126

47:                                               ; preds = %41
  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)
  %48 = icmp eq i64 %7, 0
  %or.cond = and i1 %48, %5
  br i1 %or.cond, label %.thread, label %67

.thread:                                          ; preds = %47
  %49 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %49, 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)
  %50 = load i64, ptr %14, align 8, !tbaa !5
  %51 = load i64, ptr %13, align 8, !tbaa !5
  %52 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %53 = extractvalue { double, double } %52, 0
  %54 = extractvalue { double, double } %52, 1
  %55 = load i64, ptr %13, align 8, !tbaa !5
  %56 = add nsw i64 %55, %4
  %57 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %58 = extractvalue { double, double } %57, 0
  %59 = extractvalue { double, double } %57, 1
  %60 = load i64, ptr %13, align 8, !tbaa !5
  %61 = add nsw i64 %60, %10
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %50, i64 noundef %51, double %53, double %54, ptr noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef 0, ptr noundef %2, i64 noundef %3, i64 noundef %56, i64 noundef 0, double %58, double %59, ptr noundef %8, i64 noundef %9, i64 noundef %61, ptr noundef %11)
  %62 = load i64, ptr %14, align 8, !tbaa !5
  %63 = load i64, ptr %13, align 8, !tbaa !5
  %64 = add nsw i64 %63, %3
  %65 = add nsw i64 %63, %4
  %66 = add nsw i64 %63, %10
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %62, ptr noundef %2, i64 noundef %64, i64 noundef %65, i1 noundef zeroext true, i1 noundef zeroext %6, i64 noundef 0, ptr noundef %8, i64 noundef %9, i64 noundef %66, ptr noundef %11)
  br label %86

67:                                               ; preds = %47
  %68 = icmp ne i64 %7, 0
  %or.cond3 = and i1 %68, %5
  br i1 %or.cond3, label %.thread300, label %86

.thread300:                                       ; preds = %67
  %69 = load i64, ptr %14, align 8, !tbaa !5
  %70 = load i64, ptr %13, align 8, !tbaa !5
  %71 = add nsw i64 %70, %3
  %72 = add nsw i64 %70, %4
  %73 = add nsw i64 %70, %10
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %69, ptr noundef %2, i64 noundef %71, i64 noundef %72, i1 noundef zeroext true, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %73, ptr noundef %11)
  %74 = load i64, ptr %13, align 8, !tbaa !5
  %75 = load i64, ptr %14, align 8, !tbaa !5
  %76 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %77 = extractvalue { double, double } %76, 0
  %78 = extractvalue { double, double } %76, 1
  %79 = load i64, ptr %13, align 8, !tbaa !5
  %80 = add nsw i64 %79, %10
  %81 = add nsw i64 %79, %4
  %82 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %83 = extractvalue { double, double } %82, 0
  %84 = extractvalue { double, double } %82, 1
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %74, i64 noundef %75, double %77, double %78, ptr noundef %8, i64 noundef %9, i64 noundef %80, i64 noundef 0, ptr noundef %2, i64 noundef %3, i64 noundef %81, i64 noundef %7, double %83, double %84, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  %85 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %85, 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)
  br label %126

86:                                               ; preds = %.thread, %67
  %87 = phi i1 [ false, %.thread ], [ %68, %67 ]
  %.not = xor i1 %5, true
  %or.cond5 = and i1 %48, %.not
  br i1 %or.cond5, label %88, label %106

88:                                               ; preds = %86
  %89 = load i64, ptr %14, align 8, !tbaa !5
  %90 = load i64, ptr %13, align 8, !tbaa !5
  %91 = add nsw i64 %90, %3
  %92 = add nsw i64 %90, %4
  %93 = add nsw i64 %90, %10
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %89, ptr noundef %2, i64 noundef %91, i64 noundef %92, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef 0, ptr noundef %8, i64 noundef %9, i64 noundef %93, ptr noundef %11)
  %94 = load i64, ptr %13, align 8, !tbaa !5
  %95 = load i64, ptr %14, align 8, !tbaa !5
  %96 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %97 = extractvalue { double, double } %96, 0
  %98 = extractvalue { double, double } %96, 1
  %99 = load i64, ptr %13, align 8, !tbaa !5
  %100 = add nsw i64 %99, %10
  %101 = add nsw i64 %99, %3
  %102 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %103 = extractvalue { double, double } %102, 0
  %104 = extractvalue { double, double } %102, 1
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %94, i64 noundef %95, double %97, double %98, ptr noundef %8, i64 noundef %9, i64 noundef %100, i64 noundef 0, ptr noundef %2, i64 noundef %101, i64 noundef %4, i64 noundef 0, double %103, double %104, ptr noundef %8, i64 noundef %9, i64 noundef %10, ptr noundef %11)
  %105 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %105, 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)
  br label %106

106:                                              ; preds = %88, %86
  %.not299 = phi i1 [ true, %88 ], [ %.not, %86 ]
  %or.cond8 = and i1 %.not299, %87
  br i1 %or.cond8, label %107, label %126

107:                                              ; preds = %106
  %108 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %108, 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)
  %109 = load i64, ptr %14, align 8, !tbaa !5
  %110 = load i64, ptr %13, align 8, !tbaa !5
  %111 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef -1.000000e+00)
  %112 = extractvalue { double, double } %111, 0
  %113 = extractvalue { double, double } %111, 1
  %114 = load i64, ptr %13, align 8, !tbaa !5
  %115 = add nsw i64 %114, %3
  %116 = call { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef 1.000000e+00)
  %117 = extractvalue { double, double } %116, 0
  %118 = extractvalue { double, double } %116, 1
  %119 = load i64, ptr %13, align 8, !tbaa !5
  %120 = add nsw i64 %119, %10
  call void @_ZN11alglib_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %109, i64 noundef %110, double %112, double %113, ptr noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef 0, ptr noundef %2, i64 noundef %115, i64 noundef %4, i64 noundef %7, double %117, double %118, ptr noundef %8, i64 noundef %9, i64 noundef %120, ptr noundef %11)
  %121 = load i64, ptr %14, align 8, !tbaa !5
  %122 = load i64, ptr %13, align 8, !tbaa !5
  %123 = add nsw i64 %122, %3
  %124 = add nsw i64 %122, %4
  %125 = add nsw i64 %122, %10
  call void @_ZN11alglib_impl16cmatrixrighttrsmEllPNS_9ae_matrixEllbblS1_llPNS_8ae_stateE(i64 noundef %0, i64 noundef %121, ptr noundef %2, i64 noundef %123, i64 noundef %124, i1 noundef zeroext %5, i1 noundef zeroext %6, i64 noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %125, ptr noundef %11)
  br label %126

126:                                              ; preds = %.thread300, %42, %107, %106, %36, %28, %40, %30
  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_impl11cmatrixgemmElllNS_10ae_complexEPNS_9ae_matrixElllS2_lllS0_S2_llPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, double, double, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double, double, 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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl26_trypexec_cmatrixrighttrsmEllPNS_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 void @_ZN11alglib_impl10tiledsplitEllPlS0_PNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN11alglib_impl19cmatrixrighttrsmmklEllPNS_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_implL23ablas_cmatrixrighttrsm2EllPNS_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

declare { double, double } @_ZN11alglib_impl17ae_complex_from_dEd(double noundef) local_unnamed_addr #1

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