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

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

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

@.str.417 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.418 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.419 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.420 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.421 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.422 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.423 = external hidden unnamed_addr constant [17 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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl26clusterizergetdistancesbufEPNS_9apbuffersEPNS_9ae_matrixElllS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #3 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !9
  store i64 %3, ptr %11, align 8, !tbaa !9
  store i64 %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %21 = load i64, ptr %11, align 8, !tbaa !9
  %22 = icmp sge i64 %21, 1
  %23 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef @.str.417, ptr noundef %23)
  %24 = load i64, ptr %10, align 8, !tbaa !9
  %25 = icmp sge i64 %24, 0
  %26 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %25, ptr noundef @.str.418, ptr noundef %26)
  %27 = load i64, ptr %12, align 8, !tbaa !9
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %53, label %29

29:                                               ; preds = %7
  %30 = load i64, ptr %12, align 8, !tbaa !9
  %31 = icmp eq i64 %30, 1
  br i1 %31, label %53, label %32

32:                                               ; preds = %29
  %33 = load i64, ptr %12, align 8, !tbaa !9
  %34 = icmp eq i64 %33, 2
  br i1 %34, label %53, label %35

35:                                               ; preds = %32
  %36 = load i64, ptr %12, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 10
  br i1 %37, label %53, label %38

38:                                               ; preds = %35
  %39 = load i64, ptr %12, align 8, !tbaa !9
  %40 = icmp eq i64 %39, 11
  br i1 %40, label %53, label %41

41:                                               ; preds = %38
  %42 = load i64, ptr %12, align 8, !tbaa !9
  %43 = icmp eq i64 %42, 12
  br i1 %43, label %53, label %44

44:                                               ; preds = %41
  %45 = load i64, ptr %12, align 8, !tbaa !9
  %46 = icmp eq i64 %45, 13
  br i1 %46, label %53, label %47

47:                                               ; preds = %44
  %48 = load i64, ptr %12, align 8, !tbaa !9
  %49 = icmp eq i64 %48, 20
  br i1 %49, label %53, label %50

50:                                               ; preds = %47
  %51 = load i64, ptr %12, align 8, !tbaa !9
  %52 = icmp eq i64 %51, 21
  br label %53

53:                                               ; preds = %50, %47, %44, %41, %38, %35, %32, %29, %7
  %54 = phi i1 [ true, %47 ], [ true, %44 ], [ true, %41 ], [ true, %38 ], [ true, %35 ], [ true, %32 ], [ true, %29 ], [ true, %7 ], [ %52, %50 ]
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %54, ptr noundef @.str.419, ptr noundef %55)
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %56, i32 0, i32 0
  %58 = load i64, ptr %57, align 8, !tbaa !11
  %59 = load i64, ptr %10, align 8, !tbaa !9
  %60 = icmp sge i64 %58, %59
  %61 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %60, ptr noundef @.str.420, ptr noundef %61)
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %62, i32 0, i32 1
  %64 = load i64, ptr %63, align 8, !tbaa !15
  %65 = load i64, ptr %11, align 8, !tbaa !9
  %66 = icmp sge i64 %64, %65
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %66, ptr noundef @.str.421, ptr noundef %67)
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load i64, ptr %10, align 8, !tbaa !9
  %70 = load i64, ptr %11, align 8, !tbaa !9
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %68, i64 noundef %69, i64 noundef %70, ptr noundef %71)
  %73 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %72, ptr noundef @.str.422, ptr noundef %73)
  %74 = load i64, ptr %10, align 8, !tbaa !9
  %75 = icmp eq i64 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %53
  store i32 1, ptr %20, align 4
  br label %815

77:                                               ; preds = %53
  %78 = load i64, ptr %10, align 8, !tbaa !9
  %79 = icmp eq i64 %78, 1
  br i1 %79, label %80, label %89

80:                                               ; preds = %77
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %81, i64 noundef 1, i64 noundef 1, ptr noundef %82)
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %83, i32 0, i32 6
  %85 = load ptr, ptr %84, align 8, !tbaa !16
  %86 = getelementptr inbounds ptr, ptr %85, i64 0
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %87, i64 0
  store double 0.000000e+00, ptr %88, align 8, !tbaa !17
  store i32 1, ptr %20, align 4
  br label %815

89:                                               ; preds = %77
  %90 = load i64, ptr %12, align 8, !tbaa !9
  %91 = icmp eq i64 %90, 0
  br i1 %91, label %95, label %92

92:                                               ; preds = %89
  %93 = load i64, ptr %12, align 8, !tbaa !9
  %94 = icmp eq i64 %93, 1
  br i1 %94, label %95, label %110

95:                                               ; preds = %92, %89
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = load i64, ptr %10, align 8, !tbaa !9
  %98 = load i64, ptr %10, align 8, !tbaa !9
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %96, i64 noundef %97, i64 noundef %98, ptr noundef %99)
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = load i64, ptr %11, align 8, !tbaa !9
  %102 = load i64, ptr %12, align 8, !tbaa !9
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = load i64, ptr %10, align 8, !tbaa !9
  %105 = load i64, ptr %10, align 8, !tbaa !9
  %106 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_implL36clustering_evaluatedistancematrixrecEPNS_9ae_matrixEllS1_llllPNS_8ae_stateE(ptr noundef %100, i64 noundef %101, i64 noundef %102, ptr noundef %103, i64 noundef 0, i64 noundef %104, i64 noundef 0, i64 noundef %105, ptr noundef %106)
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = load i64, ptr %10, align 8, !tbaa !9
  %109 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %107, i64 noundef %108, i1 noundef zeroext true, ptr noundef %109)
  store i32 1, ptr %20, align 4
  br label %815

110:                                              ; preds = %92
  %111 = load i64, ptr %12, align 8, !tbaa !9
  %112 = icmp eq i64 %111, 2
  br i1 %112, label %113, label %322

113:                                              ; preds = %110
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = load i64, ptr %10, align 8, !tbaa !9
  %116 = load i64, ptr %10, align 8, !tbaa !9
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %114, i64 noundef %115, i64 noundef %116, ptr noundef %117)
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %118, i32 0, i32 9
  %120 = load i64, ptr %10, align 8, !tbaa !9
  %121 = load i64, ptr %11, align 8, !tbaa !9
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %119, i64 noundef %120, i64 noundef %121, ptr noundef %122)
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %123, i32 0, i32 6
  %125 = load i64, ptr %11, align 8, !tbaa !9
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %124, i64 noundef %125, ptr noundef %126)
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %127, i32 0, i32 5
  %129 = load i64, ptr %10, align 8, !tbaa !9
  %130 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %128, i64 noundef %129, ptr noundef %130)
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %131

131:                                              ; preds = %143, %113
  %132 = load i64, ptr %16, align 8, !tbaa !9
  %133 = load i64, ptr %11, align 8, !tbaa !9
  %134 = sub nsw i64 %133, 1
  %135 = icmp sle i64 %132, %134
  br i1 %135, label %136, label %146

136:                                              ; preds = %131
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %137, i32 0, i32 6
  %139 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %138, i32 0, i32 4
  %140 = load ptr, ptr %139, align 8, !tbaa !16
  %141 = load i64, ptr %16, align 8, !tbaa !9
  %142 = getelementptr inbounds double, ptr %140, i64 %141
  store double 0.000000e+00, ptr %142, align 8, !tbaa !17
  br label %143

143:                                              ; preds = %136
  %144 = load i64, ptr %16, align 8, !tbaa !9
  %145 = add nsw i64 %144, 1
  store i64 %145, ptr %16, align 8, !tbaa !9
  br label %131, !llvm.loop !19

146:                                              ; preds = %131
  %147 = load i64, ptr %10, align 8, !tbaa !9
  %148 = sitofp i64 %147 to double
  %149 = fdiv double 1.000000e+00, %148
  store double %149, ptr %17, align 8, !tbaa !17
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %150

150:                                              ; preds = %172, %146
  %151 = load i64, ptr %15, align 8, !tbaa !9
  %152 = load i64, ptr %10, align 8, !tbaa !9
  %153 = sub nsw i64 %152, 1
  %154 = icmp sle i64 %151, %153
  br i1 %154, label %155, label %175

155:                                              ; preds = %150
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %156, i32 0, i32 6
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %157, i32 0, i32 4
  %159 = load ptr, ptr %158, align 8, !tbaa !16
  %160 = getelementptr inbounds double, ptr %159, i64 0
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %161, i32 0, i32 6
  %163 = load ptr, ptr %162, align 8, !tbaa !16
  %164 = load i64, ptr %15, align 8, !tbaa !9
  %165 = getelementptr inbounds ptr, ptr %163, i64 %164
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = getelementptr inbounds double, ptr %166, i64 0
  %168 = load i64, ptr %11, align 8, !tbaa !9
  %169 = sub nsw i64 %168, 1
  %170 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %169)
  %171 = load double, ptr %17, align 8, !tbaa !17
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %160, i64 noundef 1, ptr noundef %167, i64 noundef 1, i64 noundef %170, double noundef %171)
  br label %172

172:                                              ; preds = %155
  %173 = load i64, ptr %15, align 8, !tbaa !9
  %174 = add nsw i64 %173, 1
  store i64 %174, ptr %15, align 8, !tbaa !9
  br label %150, !llvm.loop !21

175:                                              ; preds = %150
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %176

176:                                              ; preds = %216, %175
  %177 = load i64, ptr %15, align 8, !tbaa !9
  %178 = load i64, ptr %10, align 8, !tbaa !9
  %179 = sub nsw i64 %178, 1
  %180 = icmp sle i64 %177, %179
  br i1 %180, label %181, label %219

181:                                              ; preds = %176
  %182 = load ptr, ptr %8, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %182, i32 0, i32 9
  %184 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %183, i32 0, i32 6
  %185 = load ptr, ptr %184, align 8, !tbaa !16
  %186 = load i64, ptr %15, align 8, !tbaa !9
  %187 = getelementptr inbounds ptr, ptr %185, i64 %186
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds double, ptr %188, i64 0
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %190, i32 0, i32 6
  %192 = load ptr, ptr %191, align 8, !tbaa !16
  %193 = load i64, ptr %15, align 8, !tbaa !9
  %194 = getelementptr inbounds ptr, ptr %192, i64 %193
  %195 = load ptr, ptr %194, align 8, !tbaa !5
  %196 = getelementptr inbounds double, ptr %195, i64 0
  %197 = load i64, ptr %11, align 8, !tbaa !9
  %198 = sub nsw i64 %197, 1
  %199 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %198)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %189, i64 noundef 1, ptr noundef %196, i64 noundef 1, i64 noundef %199)
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %200, i32 0, i32 9
  %202 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %201, i32 0, i32 6
  %203 = load ptr, ptr %202, align 8, !tbaa !16
  %204 = load i64, ptr %15, align 8, !tbaa !9
  %205 = getelementptr inbounds ptr, ptr %203, i64 %204
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = getelementptr inbounds double, ptr %206, i64 0
  %208 = load ptr, ptr %8, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %208, i32 0, i32 6
  %210 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %209, i32 0, i32 4
  %211 = load ptr, ptr %210, align 8, !tbaa !16
  %212 = getelementptr inbounds double, ptr %211, i64 0
  %213 = load i64, ptr %11, align 8, !tbaa !9
  %214 = sub nsw i64 %213, 1
  %215 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %214)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %207, i64 noundef 1, ptr noundef %212, i64 noundef 1, i64 noundef %215)
  br label %216

216:                                              ; preds = %181
  %217 = load i64, ptr %15, align 8, !tbaa !9
  %218 = add nsw i64 %217, 1
  store i64 %218, ptr %15, align 8, !tbaa !9
  br label %176, !llvm.loop !22

219:                                              ; preds = %176
  %220 = load i64, ptr %10, align 8, !tbaa !9
  %221 = load i64, ptr %11, align 8, !tbaa !9
  %222 = load ptr, ptr %8, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %222, i32 0, i32 9
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %220, i64 noundef %221, double noundef 1.000000e+00, ptr noundef %223, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %224, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %225)
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %226

226:                                              ; preds = %247, %219
  %227 = load i64, ptr %15, align 8, !tbaa !9
  %228 = load i64, ptr %10, align 8, !tbaa !9
  %229 = sub nsw i64 %228, 1
  %230 = icmp sle i64 %227, %229
  br i1 %230, label %231, label %250

231:                                              ; preds = %226
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %232, i32 0, i32 6
  %234 = load ptr, ptr %233, align 8, !tbaa !16
  %235 = load i64, ptr %15, align 8, !tbaa !9
  %236 = getelementptr inbounds ptr, ptr %234, i64 %235
  %237 = load ptr, ptr %236, align 8, !tbaa !5
  %238 = load i64, ptr %15, align 8, !tbaa !9
  %239 = getelementptr inbounds double, ptr %237, i64 %238
  %240 = load double, ptr %239, align 8, !tbaa !17
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %241, i32 0, i32 5
  %243 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %242, i32 0, i32 4
  %244 = load ptr, ptr %243, align 8, !tbaa !16
  %245 = load i64, ptr %15, align 8, !tbaa !9
  %246 = getelementptr inbounds double, ptr %244, i64 %245
  store double %240, ptr %246, align 8, !tbaa !17
  br label %247

247:                                              ; preds = %231
  %248 = load i64, ptr %15, align 8, !tbaa !9
  %249 = add nsw i64 %248, 1
  store i64 %249, ptr %15, align 8, !tbaa !9
  br label %226, !llvm.loop !23

250:                                              ; preds = %226
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %251

251:                                              ; preds = %315, %250
  %252 = load i64, ptr %15, align 8, !tbaa !9
  %253 = load i64, ptr %10, align 8, !tbaa !9
  %254 = sub nsw i64 %253, 1
  %255 = icmp sle i64 %252, %254
  br i1 %255, label %256, label %318

256:                                              ; preds = %251
  %257 = load ptr, ptr %13, align 8, !tbaa !5
  %258 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %257, i32 0, i32 6
  %259 = load ptr, ptr %258, align 8, !tbaa !16
  %260 = load i64, ptr %15, align 8, !tbaa !9
  %261 = getelementptr inbounds ptr, ptr %259, i64 %260
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  %263 = load i64, ptr %15, align 8, !tbaa !9
  %264 = getelementptr inbounds double, ptr %262, i64 %263
  store double 0.000000e+00, ptr %264, align 8, !tbaa !17
  %265 = load i64, ptr %15, align 8, !tbaa !9
  %266 = add nsw i64 %265, 1
  store i64 %266, ptr %16, align 8, !tbaa !9
  br label %267

267:                                              ; preds = %311, %256
  %268 = load i64, ptr %16, align 8, !tbaa !9
  %269 = load i64, ptr %10, align 8, !tbaa !9
  %270 = sub nsw i64 %269, 1
  %271 = icmp sle i64 %268, %270
  br i1 %271, label %272, label %314

272:                                              ; preds = %267
  %273 = load ptr, ptr %8, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %273, i32 0, i32 5
  %275 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %274, i32 0, i32 4
  %276 = load ptr, ptr %275, align 8, !tbaa !16
  %277 = load i64, ptr %15, align 8, !tbaa !9
  %278 = getelementptr inbounds double, ptr %276, i64 %277
  %279 = load double, ptr %278, align 8, !tbaa !17
  %280 = load ptr, ptr %8, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %280, i32 0, i32 5
  %282 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %281, i32 0, i32 4
  %283 = load ptr, ptr %282, align 8, !tbaa !16
  %284 = load i64, ptr %16, align 8, !tbaa !9
  %285 = getelementptr inbounds double, ptr %283, i64 %284
  %286 = load double, ptr %285, align 8, !tbaa !17
  %287 = fadd double %279, %286
  %288 = load ptr, ptr %13, align 8, !tbaa !5
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %288, i32 0, i32 6
  %290 = load ptr, ptr %289, align 8, !tbaa !16
  %291 = load i64, ptr %15, align 8, !tbaa !9
  %292 = getelementptr inbounds ptr, ptr %290, i64 %291
  %293 = load ptr, ptr %292, align 8, !tbaa !5
  %294 = load i64, ptr %16, align 8, !tbaa !9
  %295 = getelementptr inbounds double, ptr %293, i64 %294
  %296 = load double, ptr %295, align 8, !tbaa !17
  %297 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %296, double %287)
  %298 = load ptr, ptr %14, align 8, !tbaa !5
  %299 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %297, double noundef 0.000000e+00, ptr noundef %298)
  %300 = load ptr, ptr %14, align 8, !tbaa !5
  %301 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %299, ptr noundef %300)
  store double %301, ptr %17, align 8, !tbaa !17
  %302 = load double, ptr %17, align 8, !tbaa !17
  %303 = load ptr, ptr %13, align 8, !tbaa !5
  %304 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %303, i32 0, i32 6
  %305 = load ptr, ptr %304, align 8, !tbaa !16
  %306 = load i64, ptr %15, align 8, !tbaa !9
  %307 = getelementptr inbounds ptr, ptr %305, i64 %306
  %308 = load ptr, ptr %307, align 8, !tbaa !5
  %309 = load i64, ptr %16, align 8, !tbaa !9
  %310 = getelementptr inbounds double, ptr %308, i64 %309
  store double %302, ptr %310, align 8, !tbaa !17
  br label %311

311:                                              ; preds = %272
  %312 = load i64, ptr %16, align 8, !tbaa !9
  %313 = add nsw i64 %312, 1
  store i64 %313, ptr %16, align 8, !tbaa !9
  br label %267, !llvm.loop !24

314:                                              ; preds = %267
  br label %315

315:                                              ; preds = %314
  %316 = load i64, ptr %15, align 8, !tbaa !9
  %317 = add nsw i64 %316, 1
  store i64 %317, ptr %15, align 8, !tbaa !9
  br label %251, !llvm.loop !25

318:                                              ; preds = %251
  %319 = load ptr, ptr %13, align 8, !tbaa !5
  %320 = load i64, ptr %10, align 8, !tbaa !9
  %321 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %319, i64 noundef %320, i1 noundef zeroext true, ptr noundef %321)
  store i32 1, ptr %20, align 4
  br label %815

322:                                              ; preds = %110
  %323 = load i64, ptr %12, align 8, !tbaa !9
  %324 = icmp eq i64 %323, 10
  br i1 %324, label %328, label %325

325:                                              ; preds = %322
  %326 = load i64, ptr %12, align 8, !tbaa !9
  %327 = icmp eq i64 %326, 11
  br i1 %327, label %328, label %521

328:                                              ; preds = %325, %322
  %329 = load ptr, ptr %13, align 8, !tbaa !5
  %330 = load i64, ptr %10, align 8, !tbaa !9
  %331 = load i64, ptr %10, align 8, !tbaa !9
  %332 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %329, i64 noundef %330, i64 noundef %331, ptr noundef %332)
  %333 = load ptr, ptr %8, align 8, !tbaa !5
  %334 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %333, i32 0, i32 5
  %335 = load i64, ptr %10, align 8, !tbaa !9
  %336 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %334, i64 noundef %335, ptr noundef %336)
  %337 = load ptr, ptr %8, align 8, !tbaa !5
  %338 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %337, i32 0, i32 9
  %339 = load i64, ptr %10, align 8, !tbaa !9
  %340 = load i64, ptr %11, align 8, !tbaa !9
  %341 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %338, i64 noundef %339, i64 noundef %340, ptr noundef %341)
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %342

342:                                              ; preds = %403, %328
  %343 = load i64, ptr %15, align 8, !tbaa !9
  %344 = load i64, ptr %10, align 8, !tbaa !9
  %345 = sub nsw i64 %344, 1
  %346 = icmp sle i64 %343, %345
  br i1 %346, label %347, label %406

347:                                              ; preds = %342
  store double 0.000000e+00, ptr %17, align 8, !tbaa !17
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %348

348:                                              ; preds = %365, %347
  %349 = load i64, ptr %16, align 8, !tbaa !9
  %350 = load i64, ptr %11, align 8, !tbaa !9
  %351 = sub nsw i64 %350, 1
  %352 = icmp sle i64 %349, %351
  br i1 %352, label %353, label %368

353:                                              ; preds = %348
  %354 = load double, ptr %17, align 8, !tbaa !17
  %355 = load ptr, ptr %9, align 8, !tbaa !5
  %356 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %355, i32 0, i32 6
  %357 = load ptr, ptr %356, align 8, !tbaa !16
  %358 = load i64, ptr %15, align 8, !tbaa !9
  %359 = getelementptr inbounds ptr, ptr %357, i64 %358
  %360 = load ptr, ptr %359, align 8, !tbaa !5
  %361 = load i64, ptr %16, align 8, !tbaa !9
  %362 = getelementptr inbounds double, ptr %360, i64 %361
  %363 = load double, ptr %362, align 8, !tbaa !17
  %364 = fadd double %354, %363
  store double %364, ptr %17, align 8, !tbaa !17
  br label %365

365:                                              ; preds = %353
  %366 = load i64, ptr %16, align 8, !tbaa !9
  %367 = add nsw i64 %366, 1
  store i64 %367, ptr %16, align 8, !tbaa !9
  br label %348, !llvm.loop !26

368:                                              ; preds = %348
  %369 = load double, ptr %17, align 8, !tbaa !17
  %370 = load i64, ptr %11, align 8, !tbaa !9
  %371 = sitofp i64 %370 to double
  %372 = fdiv double %369, %371
  store double %372, ptr %17, align 8, !tbaa !17
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %373

373:                                              ; preds = %399, %368
  %374 = load i64, ptr %16, align 8, !tbaa !9
  %375 = load i64, ptr %11, align 8, !tbaa !9
  %376 = sub nsw i64 %375, 1
  %377 = icmp sle i64 %374, %376
  br i1 %377, label %378, label %402

378:                                              ; preds = %373
  %379 = load ptr, ptr %9, align 8, !tbaa !5
  %380 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %379, i32 0, i32 6
  %381 = load ptr, ptr %380, align 8, !tbaa !16
  %382 = load i64, ptr %15, align 8, !tbaa !9
  %383 = getelementptr inbounds ptr, ptr %381, i64 %382
  %384 = load ptr, ptr %383, align 8, !tbaa !5
  %385 = load i64, ptr %16, align 8, !tbaa !9
  %386 = getelementptr inbounds double, ptr %384, i64 %385
  %387 = load double, ptr %386, align 8, !tbaa !17
  %388 = load double, ptr %17, align 8, !tbaa !17
  %389 = fsub double %387, %388
  %390 = load ptr, ptr %8, align 8, !tbaa !5
  %391 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %390, i32 0, i32 9
  %392 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %391, i32 0, i32 6
  %393 = load ptr, ptr %392, align 8, !tbaa !16
  %394 = load i64, ptr %15, align 8, !tbaa !9
  %395 = getelementptr inbounds ptr, ptr %393, i64 %394
  %396 = load ptr, ptr %395, align 8, !tbaa !5
  %397 = load i64, ptr %16, align 8, !tbaa !9
  %398 = getelementptr inbounds double, ptr %396, i64 %397
  store double %389, ptr %398, align 8, !tbaa !17
  br label %399

399:                                              ; preds = %378
  %400 = load i64, ptr %16, align 8, !tbaa !9
  %401 = add nsw i64 %400, 1
  store i64 %401, ptr %16, align 8, !tbaa !9
  br label %373, !llvm.loop !27

402:                                              ; preds = %373
  br label %403

403:                                              ; preds = %402
  %404 = load i64, ptr %15, align 8, !tbaa !9
  %405 = add nsw i64 %404, 1
  store i64 %405, ptr %15, align 8, !tbaa !9
  br label %342, !llvm.loop !28

406:                                              ; preds = %342
  %407 = load i64, ptr %10, align 8, !tbaa !9
  %408 = load i64, ptr %11, align 8, !tbaa !9
  %409 = load ptr, ptr %8, align 8, !tbaa !5
  %410 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %409, i32 0, i32 9
  %411 = load ptr, ptr %13, align 8, !tbaa !5
  %412 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %407, i64 noundef %408, double noundef 1.000000e+00, ptr noundef %410, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %411, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %412)
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %413

413:                                              ; preds = %434, %406
  %414 = load i64, ptr %15, align 8, !tbaa !9
  %415 = load i64, ptr %10, align 8, !tbaa !9
  %416 = sub nsw i64 %415, 1
  %417 = icmp sle i64 %414, %416
  br i1 %417, label %418, label %437

418:                                              ; preds = %413
  %419 = load ptr, ptr %13, align 8, !tbaa !5
  %420 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %419, i32 0, i32 6
  %421 = load ptr, ptr %420, align 8, !tbaa !16
  %422 = load i64, ptr %15, align 8, !tbaa !9
  %423 = getelementptr inbounds ptr, ptr %421, i64 %422
  %424 = load ptr, ptr %423, align 8, !tbaa !5
  %425 = load i64, ptr %15, align 8, !tbaa !9
  %426 = getelementptr inbounds double, ptr %424, i64 %425
  %427 = load double, ptr %426, align 8, !tbaa !17
  %428 = load ptr, ptr %8, align 8, !tbaa !5
  %429 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %428, i32 0, i32 5
  %430 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %429, i32 0, i32 4
  %431 = load ptr, ptr %430, align 8, !tbaa !16
  %432 = load i64, ptr %15, align 8, !tbaa !9
  %433 = getelementptr inbounds double, ptr %431, i64 %432
  store double %427, ptr %433, align 8, !tbaa !17
  br label %434

434:                                              ; preds = %418
  %435 = load i64, ptr %15, align 8, !tbaa !9
  %436 = add nsw i64 %435, 1
  store i64 %436, ptr %15, align 8, !tbaa !9
  br label %413, !llvm.loop !29

437:                                              ; preds = %413
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %438

438:                                              ; preds = %514, %437
  %439 = load i64, ptr %15, align 8, !tbaa !9
  %440 = load i64, ptr %10, align 8, !tbaa !9
  %441 = sub nsw i64 %440, 1
  %442 = icmp sle i64 %439, %441
  br i1 %442, label %443, label %517

443:                                              ; preds = %438
  %444 = load ptr, ptr %13, align 8, !tbaa !5
  %445 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %444, i32 0, i32 6
  %446 = load ptr, ptr %445, align 8, !tbaa !16
  %447 = load i64, ptr %15, align 8, !tbaa !9
  %448 = getelementptr inbounds ptr, ptr %446, i64 %447
  %449 = load ptr, ptr %448, align 8, !tbaa !5
  %450 = load i64, ptr %15, align 8, !tbaa !9
  %451 = getelementptr inbounds double, ptr %449, i64 %450
  store double 0.000000e+00, ptr %451, align 8, !tbaa !17
  %452 = load i64, ptr %15, align 8, !tbaa !9
  %453 = add nsw i64 %452, 1
  store i64 %453, ptr %16, align 8, !tbaa !9
  br label %454

454:                                              ; preds = %510, %443
  %455 = load i64, ptr %16, align 8, !tbaa !9
  %456 = load i64, ptr %10, align 8, !tbaa !9
  %457 = sub nsw i64 %456, 1
  %458 = icmp sle i64 %455, %457
  br i1 %458, label %459, label %513

459:                                              ; preds = %454
  %460 = load ptr, ptr %13, align 8, !tbaa !5
  %461 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %460, i32 0, i32 6
  %462 = load ptr, ptr %461, align 8, !tbaa !16
  %463 = load i64, ptr %15, align 8, !tbaa !9
  %464 = getelementptr inbounds ptr, ptr %462, i64 %463
  %465 = load ptr, ptr %464, align 8, !tbaa !5
  %466 = load i64, ptr %16, align 8, !tbaa !9
  %467 = getelementptr inbounds double, ptr %465, i64 %466
  %468 = load double, ptr %467, align 8, !tbaa !17
  %469 = load ptr, ptr %8, align 8, !tbaa !5
  %470 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %469, i32 0, i32 5
  %471 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %470, i32 0, i32 4
  %472 = load ptr, ptr %471, align 8, !tbaa !16
  %473 = load i64, ptr %15, align 8, !tbaa !9
  %474 = getelementptr inbounds double, ptr %472, i64 %473
  %475 = load double, ptr %474, align 8, !tbaa !17
  %476 = load ptr, ptr %8, align 8, !tbaa !5
  %477 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %476, i32 0, i32 5
  %478 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %477, i32 0, i32 4
  %479 = load ptr, ptr %478, align 8, !tbaa !16
  %480 = load i64, ptr %16, align 8, !tbaa !9
  %481 = getelementptr inbounds double, ptr %479, i64 %480
  %482 = load double, ptr %481, align 8, !tbaa !17
  %483 = fmul double %475, %482
  %484 = load ptr, ptr %14, align 8, !tbaa !5
  %485 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %483, ptr noundef %484)
  %486 = fdiv double %468, %485
  store double %486, ptr %17, align 8, !tbaa !17
  %487 = load i64, ptr %12, align 8, !tbaa !9
  %488 = icmp eq i64 %487, 10
  br i1 %488, label %489, label %492

489:                                              ; preds = %459
  %490 = load double, ptr %17, align 8, !tbaa !17
  %491 = fsub double 1.000000e+00, %490
  store double %491, ptr %17, align 8, !tbaa !17
  br label %497

492:                                              ; preds = %459
  %493 = load double, ptr %17, align 8, !tbaa !17
  %494 = load ptr, ptr %14, align 8, !tbaa !5
  %495 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %493, ptr noundef %494)
  %496 = fsub double 1.000000e+00, %495
  store double %496, ptr %17, align 8, !tbaa !17
  br label %497

497:                                              ; preds = %492, %489
  %498 = load double, ptr %17, align 8, !tbaa !17
  %499 = load ptr, ptr %14, align 8, !tbaa !5
  %500 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %498, double noundef 0.000000e+00, ptr noundef %499)
  store double %500, ptr %17, align 8, !tbaa !17
  %501 = load double, ptr %17, align 8, !tbaa !17
  %502 = load ptr, ptr %13, align 8, !tbaa !5
  %503 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %502, i32 0, i32 6
  %504 = load ptr, ptr %503, align 8, !tbaa !16
  %505 = load i64, ptr %15, align 8, !tbaa !9
  %506 = getelementptr inbounds ptr, ptr %504, i64 %505
  %507 = load ptr, ptr %506, align 8, !tbaa !5
  %508 = load i64, ptr %16, align 8, !tbaa !9
  %509 = getelementptr inbounds double, ptr %507, i64 %508
  store double %501, ptr %509, align 8, !tbaa !17
  br label %510

510:                                              ; preds = %497
  %511 = load i64, ptr %16, align 8, !tbaa !9
  %512 = add nsw i64 %511, 1
  store i64 %512, ptr %16, align 8, !tbaa !9
  br label %454, !llvm.loop !30

513:                                              ; preds = %454
  br label %514

514:                                              ; preds = %513
  %515 = load i64, ptr %15, align 8, !tbaa !9
  %516 = add nsw i64 %515, 1
  store i64 %516, ptr %15, align 8, !tbaa !9
  br label %438, !llvm.loop !31

517:                                              ; preds = %438
  %518 = load ptr, ptr %13, align 8, !tbaa !5
  %519 = load i64, ptr %10, align 8, !tbaa !9
  %520 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %518, i64 noundef %519, i1 noundef zeroext true, ptr noundef %520)
  store i32 1, ptr %20, align 4
  br label %815

521:                                              ; preds = %325
  %522 = load i64, ptr %12, align 8, !tbaa !9
  %523 = icmp eq i64 %522, 12
  br i1 %523, label %527, label %524

524:                                              ; preds = %521
  %525 = load i64, ptr %12, align 8, !tbaa !9
  %526 = icmp eq i64 %525, 13
  br i1 %526, label %527, label %646

527:                                              ; preds = %524, %521
  %528 = load ptr, ptr %13, align 8, !tbaa !5
  %529 = load i64, ptr %10, align 8, !tbaa !9
  %530 = load i64, ptr %10, align 8, !tbaa !9
  %531 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %528, i64 noundef %529, i64 noundef %530, ptr noundef %531)
  %532 = load ptr, ptr %8, align 8, !tbaa !5
  %533 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %532, i32 0, i32 5
  %534 = load i64, ptr %10, align 8, !tbaa !9
  %535 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %533, i64 noundef %534, ptr noundef %535)
  %536 = load i64, ptr %10, align 8, !tbaa !9
  %537 = load i64, ptr %11, align 8, !tbaa !9
  %538 = load ptr, ptr %9, align 8, !tbaa !5
  %539 = load ptr, ptr %13, align 8, !tbaa !5
  %540 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %536, i64 noundef %537, double noundef 1.000000e+00, ptr noundef %538, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %539, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %540)
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %541

541:                                              ; preds = %562, %527
  %542 = load i64, ptr %15, align 8, !tbaa !9
  %543 = load i64, ptr %10, align 8, !tbaa !9
  %544 = sub nsw i64 %543, 1
  %545 = icmp sle i64 %542, %544
  br i1 %545, label %546, label %565

546:                                              ; preds = %541
  %547 = load ptr, ptr %13, align 8, !tbaa !5
  %548 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %547, i32 0, i32 6
  %549 = load ptr, ptr %548, align 8, !tbaa !16
  %550 = load i64, ptr %15, align 8, !tbaa !9
  %551 = getelementptr inbounds ptr, ptr %549, i64 %550
  %552 = load ptr, ptr %551, align 8, !tbaa !5
  %553 = load i64, ptr %15, align 8, !tbaa !9
  %554 = getelementptr inbounds double, ptr %552, i64 %553
  %555 = load double, ptr %554, align 8, !tbaa !17
  %556 = load ptr, ptr %8, align 8, !tbaa !5
  %557 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %556, i32 0, i32 5
  %558 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %557, i32 0, i32 4
  %559 = load ptr, ptr %558, align 8, !tbaa !16
  %560 = load i64, ptr %15, align 8, !tbaa !9
  %561 = getelementptr inbounds double, ptr %559, i64 %560
  store double %555, ptr %561, align 8, !tbaa !17
  br label %562

562:                                              ; preds = %546
  %563 = load i64, ptr %15, align 8, !tbaa !9
  %564 = add nsw i64 %563, 1
  store i64 %564, ptr %15, align 8, !tbaa !9
  br label %541, !llvm.loop !32

565:                                              ; preds = %541
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %566

566:                                              ; preds = %639, %565
  %567 = load i64, ptr %15, align 8, !tbaa !9
  %568 = load i64, ptr %10, align 8, !tbaa !9
  %569 = sub nsw i64 %568, 1
  %570 = icmp sle i64 %567, %569
  br i1 %570, label %571, label %642

571:                                              ; preds = %566
  %572 = load ptr, ptr %13, align 8, !tbaa !5
  %573 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %572, i32 0, i32 6
  %574 = load ptr, ptr %573, align 8, !tbaa !16
  %575 = load i64, ptr %15, align 8, !tbaa !9
  %576 = getelementptr inbounds ptr, ptr %574, i64 %575
  %577 = load ptr, ptr %576, align 8, !tbaa !5
  %578 = load i64, ptr %15, align 8, !tbaa !9
  %579 = getelementptr inbounds double, ptr %577, i64 %578
  store double 0.000000e+00, ptr %579, align 8, !tbaa !17
  %580 = load i64, ptr %15, align 8, !tbaa !9
  %581 = add nsw i64 %580, 1
  store i64 %581, ptr %16, align 8, !tbaa !9
  br label %582

582:                                              ; preds = %635, %571
  %583 = load i64, ptr %16, align 8, !tbaa !9
  %584 = load i64, ptr %10, align 8, !tbaa !9
  %585 = sub nsw i64 %584, 1
  %586 = icmp sle i64 %583, %585
  br i1 %586, label %587, label %638

587:                                              ; preds = %582
  %588 = load ptr, ptr %13, align 8, !tbaa !5
  %589 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %588, i32 0, i32 6
  %590 = load ptr, ptr %589, align 8, !tbaa !16
  %591 = load i64, ptr %15, align 8, !tbaa !9
  %592 = getelementptr inbounds ptr, ptr %590, i64 %591
  %593 = load ptr, ptr %592, align 8, !tbaa !5
  %594 = load i64, ptr %16, align 8, !tbaa !9
  %595 = getelementptr inbounds double, ptr %593, i64 %594
  %596 = load double, ptr %595, align 8, !tbaa !17
  %597 = load ptr, ptr %8, align 8, !tbaa !5
  %598 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %597, i32 0, i32 5
  %599 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %598, i32 0, i32 4
  %600 = load ptr, ptr %599, align 8, !tbaa !16
  %601 = load i64, ptr %15, align 8, !tbaa !9
  %602 = getelementptr inbounds double, ptr %600, i64 %601
  %603 = load double, ptr %602, align 8, !tbaa !17
  %604 = load ptr, ptr %8, align 8, !tbaa !5
  %605 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %604, i32 0, i32 5
  %606 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %605, i32 0, i32 4
  %607 = load ptr, ptr %606, align 8, !tbaa !16
  %608 = load i64, ptr %16, align 8, !tbaa !9
  %609 = getelementptr inbounds double, ptr %607, i64 %608
  %610 = load double, ptr %609, align 8, !tbaa !17
  %611 = fmul double %603, %610
  %612 = load ptr, ptr %14, align 8, !tbaa !5
  %613 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %611, ptr noundef %612)
  %614 = fdiv double %596, %613
  store double %614, ptr %17, align 8, !tbaa !17
  %615 = load i64, ptr %12, align 8, !tbaa !9
  %616 = icmp eq i64 %615, 13
  br i1 %616, label %617, label %621

617:                                              ; preds = %587
  %618 = load double, ptr %17, align 8, !tbaa !17
  %619 = load ptr, ptr %14, align 8, !tbaa !5
  %620 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %618, ptr noundef %619)
  store double %620, ptr %17, align 8, !tbaa !17
  br label %621

621:                                              ; preds = %617, %587
  %622 = load double, ptr %17, align 8, !tbaa !17
  %623 = load ptr, ptr %14, align 8, !tbaa !5
  %624 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %622, double noundef 1.000000e+00, ptr noundef %623)
  store double %624, ptr %17, align 8, !tbaa !17
  %625 = load double, ptr %17, align 8, !tbaa !17
  %626 = fsub double 1.000000e+00, %625
  %627 = load ptr, ptr %13, align 8, !tbaa !5
  %628 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %627, i32 0, i32 6
  %629 = load ptr, ptr %628, align 8, !tbaa !16
  %630 = load i64, ptr %15, align 8, !tbaa !9
  %631 = getelementptr inbounds ptr, ptr %629, i64 %630
  %632 = load ptr, ptr %631, align 8, !tbaa !5
  %633 = load i64, ptr %16, align 8, !tbaa !9
  %634 = getelementptr inbounds double, ptr %632, i64 %633
  store double %626, ptr %634, align 8, !tbaa !17
  br label %635

635:                                              ; preds = %621
  %636 = load i64, ptr %16, align 8, !tbaa !9
  %637 = add nsw i64 %636, 1
  store i64 %637, ptr %16, align 8, !tbaa !9
  br label %582, !llvm.loop !33

638:                                              ; preds = %582
  br label %639

639:                                              ; preds = %638
  %640 = load i64, ptr %15, align 8, !tbaa !9
  %641 = add nsw i64 %640, 1
  store i64 %641, ptr %15, align 8, !tbaa !9
  br label %566, !llvm.loop !34

642:                                              ; preds = %566
  %643 = load ptr, ptr %13, align 8, !tbaa !5
  %644 = load i64, ptr %10, align 8, !tbaa !9
  %645 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %643, i64 noundef %644, i1 noundef zeroext true, ptr noundef %645)
  store i32 1, ptr %20, align 4
  br label %815

646:                                              ; preds = %524
  %647 = load i64, ptr %12, align 8, !tbaa !9
  %648 = icmp eq i64 %647, 20
  br i1 %648, label %652, label %649

649:                                              ; preds = %646
  %650 = load i64, ptr %12, align 8, !tbaa !9
  %651 = icmp eq i64 %650, 21
  br i1 %651, label %652, label %813

652:                                              ; preds = %649, %646
  %653 = load ptr, ptr %13, align 8, !tbaa !5
  %654 = load i64, ptr %10, align 8, !tbaa !9
  %655 = load i64, ptr %10, align 8, !tbaa !9
  %656 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %653, i64 noundef %654, i64 noundef %655, ptr noundef %656)
  %657 = load ptr, ptr %8, align 8, !tbaa !5
  %658 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %657, i32 0, i32 5
  %659 = load i64, ptr %10, align 8, !tbaa !9
  %660 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %658, i64 noundef %659, ptr noundef %660)
  %661 = load ptr, ptr %8, align 8, !tbaa !5
  %662 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %661, i32 0, i32 9
  %663 = load i64, ptr %10, align 8, !tbaa !9
  %664 = load i64, ptr %11, align 8, !tbaa !9
  %665 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %662, i64 noundef %663, i64 noundef %664, ptr noundef %665)
  %666 = load i64, ptr %10, align 8, !tbaa !9
  %667 = load i64, ptr %11, align 8, !tbaa !9
  %668 = load ptr, ptr %9, align 8, !tbaa !5
  %669 = load ptr, ptr %8, align 8, !tbaa !5
  %670 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %669, i32 0, i32 9
  %671 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixcopyEllPNS_9ae_matrixEllS1_llPNS_8ae_stateE(i64 noundef %666, i64 noundef %667, ptr noundef %668, i64 noundef 0, i64 noundef 0, ptr noundef %670, i64 noundef 0, i64 noundef 0, ptr noundef %671)
  %672 = load ptr, ptr %8, align 8, !tbaa !5
  %673 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %672, i32 0, i32 9
  %674 = load i64, ptr %10, align 8, !tbaa !9
  %675 = load i64, ptr %11, align 8, !tbaa !9
  %676 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl16rankdatacenteredEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %673, i64 noundef %674, i64 noundef %675, ptr noundef %676)
  %677 = load i64, ptr %10, align 8, !tbaa !9
  %678 = load i64, ptr %11, align 8, !tbaa !9
  %679 = load ptr, ptr %8, align 8, !tbaa !5
  %680 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %679, i32 0, i32 9
  %681 = load ptr, ptr %13, align 8, !tbaa !5
  %682 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %677, i64 noundef %678, double noundef 1.000000e+00, ptr noundef %680, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %681, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %682)
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %683

683:                                              ; preds = %726, %652
  %684 = load i64, ptr %15, align 8, !tbaa !9
  %685 = load i64, ptr %10, align 8, !tbaa !9
  %686 = sub nsw i64 %685, 1
  %687 = icmp sle i64 %684, %686
  br i1 %687, label %688, label %729

688:                                              ; preds = %683
  %689 = load ptr, ptr %13, align 8, !tbaa !5
  %690 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %689, i32 0, i32 6
  %691 = load ptr, ptr %690, align 8, !tbaa !16
  %692 = load i64, ptr %15, align 8, !tbaa !9
  %693 = getelementptr inbounds ptr, ptr %691, i64 %692
  %694 = load ptr, ptr %693, align 8, !tbaa !5
  %695 = load i64, ptr %15, align 8, !tbaa !9
  %696 = getelementptr inbounds double, ptr %694, i64 %695
  %697 = load double, ptr %696, align 8, !tbaa !17
  %698 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %697, double noundef 0.000000e+00)
  br i1 %698, label %699, label %718

699:                                              ; preds = %688
  %700 = load ptr, ptr %13, align 8, !tbaa !5
  %701 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %700, i32 0, i32 6
  %702 = load ptr, ptr %701, align 8, !tbaa !16
  %703 = load i64, ptr %15, align 8, !tbaa !9
  %704 = getelementptr inbounds ptr, ptr %702, i64 %703
  %705 = load ptr, ptr %704, align 8, !tbaa !5
  %706 = load i64, ptr %15, align 8, !tbaa !9
  %707 = getelementptr inbounds double, ptr %705, i64 %706
  %708 = load double, ptr %707, align 8, !tbaa !17
  %709 = load ptr, ptr %14, align 8, !tbaa !5
  %710 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %708, ptr noundef %709)
  %711 = fdiv double 1.000000e+00, %710
  %712 = load ptr, ptr %8, align 8, !tbaa !5
  %713 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %712, i32 0, i32 5
  %714 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %713, i32 0, i32 4
  %715 = load ptr, ptr %714, align 8, !tbaa !16
  %716 = load i64, ptr %15, align 8, !tbaa !9
  %717 = getelementptr inbounds double, ptr %715, i64 %716
  store double %711, ptr %717, align 8, !tbaa !17
  br label %725

718:                                              ; preds = %688
  %719 = load ptr, ptr %8, align 8, !tbaa !5
  %720 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %719, i32 0, i32 5
  %721 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %720, i32 0, i32 4
  %722 = load ptr, ptr %721, align 8, !tbaa !16
  %723 = load i64, ptr %15, align 8, !tbaa !9
  %724 = getelementptr inbounds double, ptr %722, i64 %723
  store double 0.000000e+00, ptr %724, align 8, !tbaa !17
  br label %725

725:                                              ; preds = %718, %699
  br label %726

726:                                              ; preds = %725
  %727 = load i64, ptr %15, align 8, !tbaa !9
  %728 = add nsw i64 %727, 1
  store i64 %728, ptr %15, align 8, !tbaa !9
  br label %683, !llvm.loop !35

729:                                              ; preds = %683
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %730

730:                                              ; preds = %806, %729
  %731 = load i64, ptr %15, align 8, !tbaa !9
  %732 = load i64, ptr %10, align 8, !tbaa !9
  %733 = sub nsw i64 %732, 1
  %734 = icmp sle i64 %731, %733
  br i1 %734, label %735, label %809

735:                                              ; preds = %730
  %736 = load ptr, ptr %8, align 8, !tbaa !5
  %737 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %736, i32 0, i32 5
  %738 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %737, i32 0, i32 4
  %739 = load ptr, ptr %738, align 8, !tbaa !16
  %740 = load i64, ptr %15, align 8, !tbaa !9
  %741 = getelementptr inbounds double, ptr %739, i64 %740
  %742 = load double, ptr %741, align 8, !tbaa !17
  store double %742, ptr %17, align 8, !tbaa !17
  %743 = load ptr, ptr %13, align 8, !tbaa !5
  %744 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %743, i32 0, i32 6
  %745 = load ptr, ptr %744, align 8, !tbaa !16
  %746 = load i64, ptr %15, align 8, !tbaa !9
  %747 = getelementptr inbounds ptr, ptr %745, i64 %746
  %748 = load ptr, ptr %747, align 8, !tbaa !5
  %749 = load i64, ptr %15, align 8, !tbaa !9
  %750 = getelementptr inbounds double, ptr %748, i64 %749
  store double 0.000000e+00, ptr %750, align 8, !tbaa !17
  %751 = load i64, ptr %15, align 8, !tbaa !9
  %752 = add nsw i64 %751, 1
  store i64 %752, ptr %16, align 8, !tbaa !9
  br label %753

753:                                              ; preds = %802, %735
  %754 = load i64, ptr %16, align 8, !tbaa !9
  %755 = load i64, ptr %10, align 8, !tbaa !9
  %756 = sub nsw i64 %755, 1
  %757 = icmp sle i64 %754, %756
  br i1 %757, label %758, label %805

758:                                              ; preds = %753
  %759 = load ptr, ptr %13, align 8, !tbaa !5
  %760 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %759, i32 0, i32 6
  %761 = load ptr, ptr %760, align 8, !tbaa !16
  %762 = load i64, ptr %15, align 8, !tbaa !9
  %763 = getelementptr inbounds ptr, ptr %761, i64 %762
  %764 = load ptr, ptr %763, align 8, !tbaa !5
  %765 = load i64, ptr %16, align 8, !tbaa !9
  %766 = getelementptr inbounds double, ptr %764, i64 %765
  %767 = load double, ptr %766, align 8, !tbaa !17
  %768 = load double, ptr %17, align 8, !tbaa !17
  %769 = fmul double %767, %768
  %770 = load ptr, ptr %8, align 8, !tbaa !5
  %771 = getelementptr inbounds %"struct.alglib_impl::apbuffers", ptr %770, i32 0, i32 5
  %772 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %771, i32 0, i32 4
  %773 = load ptr, ptr %772, align 8, !tbaa !16
  %774 = load i64, ptr %16, align 8, !tbaa !9
  %775 = getelementptr inbounds double, ptr %773, i64 %774
  %776 = load double, ptr %775, align 8, !tbaa !17
  %777 = fmul double %769, %776
  store double %777, ptr %18, align 8, !tbaa !17
  %778 = load i64, ptr %12, align 8, !tbaa !9
  %779 = icmp eq i64 %778, 20
  br i1 %779, label %780, label %783

780:                                              ; preds = %758
  %781 = load double, ptr %18, align 8, !tbaa !17
  %782 = fsub double 1.000000e+00, %781
  store double %782, ptr %19, align 8, !tbaa !17
  br label %788

783:                                              ; preds = %758
  %784 = load double, ptr %18, align 8, !tbaa !17
  %785 = load ptr, ptr %14, align 8, !tbaa !5
  %786 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %784, ptr noundef %785)
  %787 = fsub double 1.000000e+00, %786
  store double %787, ptr %19, align 8, !tbaa !17
  br label %788

788:                                              ; preds = %783, %780
  %789 = load double, ptr %19, align 8, !tbaa !17
  %790 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %789, double noundef 0.000000e+00)
  br i1 %790, label %791, label %792

791:                                              ; preds = %788
  store double 0.000000e+00, ptr %19, align 8, !tbaa !17
  br label %792

792:                                              ; preds = %791, %788
  %793 = load double, ptr %19, align 8, !tbaa !17
  %794 = load ptr, ptr %13, align 8, !tbaa !5
  %795 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %794, i32 0, i32 6
  %796 = load ptr, ptr %795, align 8, !tbaa !16
  %797 = load i64, ptr %15, align 8, !tbaa !9
  %798 = getelementptr inbounds ptr, ptr %796, i64 %797
  %799 = load ptr, ptr %798, align 8, !tbaa !5
  %800 = load i64, ptr %16, align 8, !tbaa !9
  %801 = getelementptr inbounds double, ptr %799, i64 %800
  store double %793, ptr %801, align 8, !tbaa !17
  br label %802

802:                                              ; preds = %792
  %803 = load i64, ptr %16, align 8, !tbaa !9
  %804 = add nsw i64 %803, 1
  store i64 %804, ptr %16, align 8, !tbaa !9
  br label %753, !llvm.loop !36

805:                                              ; preds = %753
  br label %806

806:                                              ; preds = %805
  %807 = load i64, ptr %15, align 8, !tbaa !9
  %808 = add nsw i64 %807, 1
  store i64 %808, ptr %15, align 8, !tbaa !9
  br label %730, !llvm.loop !37

809:                                              ; preds = %730
  %810 = load ptr, ptr %13, align 8, !tbaa !5
  %811 = load i64, ptr %10, align 8, !tbaa !9
  %812 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %810, i64 noundef %811, i1 noundef zeroext true, ptr noundef %812)
  store i32 1, ptr %20, align 4
  br label %815

813:                                              ; preds = %649
  %814 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.423, ptr noundef %814)
  store i32 0, ptr %20, align 4
  br label %815

815:                                              ; preds = %813, %809, %642, %517, %318, %95, %80, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  %816 = load i32, ptr %20, align 4
  switch i32 %816, label %818 [
    i32 0, label %817
    i32 1, label %817
  ]

817:                                              ; preds = %815, %815
  ret void

818:                                              ; preds = %815
  unreachable
}

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

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

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

declare void @_ZN11alglib_impl16rankdatacenteredEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { nounwind }

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

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


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

@.str.417 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.418 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.419 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.420 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.421 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.422 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.423 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

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

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

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

declare void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) local_unnamed_addr #0

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #0

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

declare noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #0

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

declare void @_ZN11alglib_impl11rmatrixcopyEllPNS_9ae_matrixEllS1_llPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl26clusterizergetdistancesbufEPNS_9apbuffersEPNS_9ae_matrixElllS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #2 {
switch.edge:
  %7 = icmp sgt i64 %3, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %7, ptr noundef nonnull @.str.417, ptr noundef %6)
  %8 = icmp sgt i64 %2, -1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %8, ptr noundef nonnull @.str.418, ptr noundef %6)
  %9 = icmp eq i64 %4, 2
  %10 = icmp eq i64 %4, 10
  %11 = icmp eq i64 %4, 13
  %12 = icmp eq i64 %4, 20
  %13 = icmp ult i64 %4, 22
  %switch.cast = trunc i64 %4 to i22
  %switch.downshift = lshr i22 -1033209, %switch.cast
  %switch.masked = trunc i22 %switch.downshift to i1
  %14 = select i1 %13, i1 %switch.masked, i1 false
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %14, ptr noundef nonnull @.str.419, ptr noundef %6)
  %15 = load i64, ptr %1, align 8, !tbaa !5
  %16 = icmp sge i64 %15, %2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %16, ptr noundef nonnull @.str.420, ptr noundef %6)
  %17 = getelementptr inbounds i8, ptr %1, i64 8
  %18 = load i64, ptr %17, align 8, !tbaa !13
  %19 = icmp sge i64 %18, %3
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %19, ptr noundef nonnull @.str.421, ptr noundef %6)
  %20 = tail call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %1, i64 noundef %2, i64 noundef %3, ptr noundef %6)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %20, ptr noundef nonnull @.str.422, ptr noundef %6)
  switch i64 %2, label %25 [
    i64 0, label %437
    i64 1, label %21
  ]

21:                                               ; preds = %switch.edge
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef 1, i64 noundef 1, ptr noundef %6)
  %22 = getelementptr inbounds i8, ptr %5, i64 72
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = load ptr, ptr %23, align 8, !tbaa !15
  store double 0.000000e+00, ptr %24, align 8, !tbaa !16
  br label %437

25:                                               ; preds = %switch.edge
  %or.cond = icmp ult i64 %4, 2
  br i1 %or.cond, label %26, label %27

26:                                               ; preds = %25
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i64 noundef %2, ptr noundef %6)
  tail call void @_ZN11alglib_implL36clustering_evaluatedistancematrixrecEPNS_9ae_matrixEllS1_llllPNS_8ae_stateE(ptr noundef nonnull %1, i64 noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef 0, i64 noundef %2, i64 noundef 0, i64 noundef %2, ptr noundef %6)
  tail call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i1 noundef zeroext true, ptr noundef %6)
  br label %437

27:                                               ; preds = %25
  br i1 %9, label %28, label %133

28:                                               ; preds = %27
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i64 noundef %2, ptr noundef %6)
  %29 = getelementptr inbounds i8, ptr %0, i64 576
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef %2, i64 noundef %3, ptr noundef %6)
  %30 = getelementptr inbounds i8, ptr %0, i64 384
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %30, i64 noundef %3, ptr noundef %6)
  %31 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %31, i64 noundef %2, ptr noundef %6)
  br i1 %7, label %.lr.ph444, label %._crit_edge445

.lr.ph444:                                        ; preds = %28
  %32 = getelementptr inbounds i8, ptr %0, i64 440
  %xtraiter512 = and i64 %3, 3
  %33 = icmp ult i64 %3, 4
  br i1 %33, label %._crit_edge445.loopexit.unr-lcssa, label %.lr.ph444.new

.lr.ph444.new:                                    ; preds = %.lr.ph444
  %unroll_iter515 = and i64 %3, 9223372036854775804
  br label %34

34:                                               ; preds = %34, %.lr.ph444.new
  %.0354442 = phi i64 [ 0, %.lr.ph444.new ], [ %46, %34 ]
  %niter516 = phi i64 [ 0, %.lr.ph444.new ], [ %niter516.next.3, %34 ]
  %35 = load ptr, ptr %32, align 8, !tbaa !14
  %36 = getelementptr inbounds double, ptr %35, i64 %.0354442
  store double 0.000000e+00, ptr %36, align 8, !tbaa !16
  %37 = or disjoint i64 %.0354442, 1
  %38 = load ptr, ptr %32, align 8, !tbaa !14
  %39 = getelementptr inbounds double, ptr %38, i64 %37
  store double 0.000000e+00, ptr %39, align 8, !tbaa !16
  %40 = or disjoint i64 %.0354442, 2
  %41 = load ptr, ptr %32, align 8, !tbaa !14
  %42 = getelementptr inbounds double, ptr %41, i64 %40
  store double 0.000000e+00, ptr %42, align 8, !tbaa !16
  %43 = or disjoint i64 %.0354442, 3
  %44 = load ptr, ptr %32, align 8, !tbaa !14
  %45 = getelementptr inbounds double, ptr %44, i64 %43
  store double 0.000000e+00, ptr %45, align 8, !tbaa !16
  %46 = add nuw nsw i64 %.0354442, 4
  %niter516.next.3 = add i64 %niter516, 4
  %niter516.ncmp.3 = icmp eq i64 %niter516.next.3, %unroll_iter515
  br i1 %niter516.ncmp.3, label %._crit_edge445.loopexit.unr-lcssa, label %34, !llvm.loop !18

._crit_edge445.loopexit.unr-lcssa:                ; preds = %34, %.lr.ph444
  %.0354442.unr = phi i64 [ 0, %.lr.ph444 ], [ %46, %34 ]
  %lcmp.mod514.not = icmp eq i64 %xtraiter512, 0
  br i1 %lcmp.mod514.not, label %._crit_edge445, label %.epil.preheader511

.epil.preheader511:                               ; preds = %._crit_edge445.loopexit.unr-lcssa, %.epil.preheader511
  %.0354442.epil = phi i64 [ %49, %.epil.preheader511 ], [ %.0354442.unr, %._crit_edge445.loopexit.unr-lcssa ]
  %epil.iter513 = phi i64 [ %epil.iter513.next, %.epil.preheader511 ], [ 0, %._crit_edge445.loopexit.unr-lcssa ]
  %47 = load ptr, ptr %32, align 8, !tbaa !14
  %48 = getelementptr inbounds double, ptr %47, i64 %.0354442.epil
  store double 0.000000e+00, ptr %48, align 8, !tbaa !16
  %49 = add nuw nsw i64 %.0354442.epil, 1
  %epil.iter513.next = add i64 %epil.iter513, 1
  %epil.iter513.cmp.not = icmp eq i64 %epil.iter513.next, %xtraiter512
  br i1 %epil.iter513.cmp.not, label %._crit_edge445, label %.epil.preheader511, !llvm.loop !20

._crit_edge445:                                   ; preds = %._crit_edge445.loopexit.unr-lcssa, %.epil.preheader511, %28
  %50 = add nsw i64 %3, -1
  %51 = sitofp i64 %2 to double
  %52 = fdiv double 1.000000e+00, %51
  %.not.not383446 = icmp sgt i64 %2, 0
  br i1 %.not.not383446, label %.lr.ph449, label %._crit_edge453.thread

.lr.ph449:                                        ; preds = %._crit_edge445
  %53 = getelementptr inbounds i8, ptr %0, i64 440
  %54 = getelementptr inbounds i8, ptr %1, i64 72
  br label %58

.preheader388:                                    ; preds = %58
  br i1 %.not.not383446, label %.lr.ph452, label %._crit_edge453.thread

.lr.ph452:                                        ; preds = %.preheader388
  %55 = getelementptr inbounds i8, ptr %0, i64 648
  %56 = getelementptr inbounds i8, ptr %1, i64 72
  %57 = getelementptr inbounds i8, ptr %0, i64 440
  br label %65

58:                                               ; preds = %.lr.ph449, %58
  %.0349447 = phi i64 [ 0, %.lr.ph449 ], [ %64, %58 ]
  %59 = load ptr, ptr %53, align 8, !tbaa !14
  %60 = load ptr, ptr %54, align 8, !tbaa !14
  %61 = getelementptr inbounds ptr, ptr %60, i64 %.0349447
  %62 = load ptr, ptr %61, align 8, !tbaa !15
  %63 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %50)
  tail call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %59, i64 noundef 1, ptr noundef %62, i64 noundef 1, i64 noundef %63, double noundef %52)
  %64 = add nuw nsw i64 %.0349447, 1
  %exitcond478.not = icmp eq i64 %64, %2
  br i1 %exitcond478.not, label %.preheader388, label %58, !llvm.loop !22

65:                                               ; preds = %.lr.ph452, %65
  %.1350451 = phi i64 [ 0, %.lr.ph452 ], [ %78, %65 ]
  %66 = load ptr, ptr %55, align 8, !tbaa !14
  %67 = getelementptr inbounds ptr, ptr %66, i64 %.1350451
  %68 = load ptr, ptr %67, align 8, !tbaa !15
  %69 = load ptr, ptr %56, align 8, !tbaa !14
  %70 = getelementptr inbounds ptr, ptr %69, i64 %.1350451
  %71 = load ptr, ptr %70, align 8, !tbaa !15
  %72 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %50)
  tail call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %68, i64 noundef 1, ptr noundef %71, i64 noundef 1, i64 noundef %72)
  %73 = load ptr, ptr %55, align 8, !tbaa !14
  %74 = getelementptr inbounds ptr, ptr %73, i64 %.1350451
  %75 = load ptr, ptr %74, align 8, !tbaa !15
  %76 = load ptr, ptr %57, align 8, !tbaa !14
  %77 = tail call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %50)
  tail call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %75, i64 noundef 1, ptr noundef %76, i64 noundef 1, i64 noundef %77)
  %78 = add nuw nsw i64 %.1350451, 1
  %exitcond479.not = icmp eq i64 %78, %2
  br i1 %exitcond479.not, label %._crit_edge453, label %65, !llvm.loop !23

._crit_edge453.thread:                            ; preds = %.preheader388, %._crit_edge445
  tail call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %2, i64 noundef %3, double noundef 1.000000e+00, ptr noundef nonnull %29, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %6)
  br label %._crit_edge465

._crit_edge453:                                   ; preds = %65
  tail call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %2, i64 noundef %3, double noundef 1.000000e+00, ptr noundef nonnull %29, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %6)
  br i1 %.not.not383446, label %.lr.ph457, label %._crit_edge465

.lr.ph457:                                        ; preds = %._crit_edge453
  %79 = getelementptr inbounds i8, ptr %5, i64 72
  %80 = getelementptr inbounds i8, ptr %0, i64 376
  %xtraiter518 = and i64 %2, 1
  %81 = icmp eq i64 %2, 1
  br i1 %81, label %.preheader.unr-lcssa, label %.lr.ph457.new

.lr.ph457.new:                                    ; preds = %.lr.ph457
  %unroll_iter521 = and i64 %2, 9223372036854775806
  br label %91

.preheader.unr-lcssa:                             ; preds = %91, %.lr.ph457
  %.2455.unr = phi i64 [ 0, %.lr.ph457 ], [ %107, %91 ]
  %lcmp.mod520.not = icmp eq i64 %xtraiter518, 0
  br i1 %lcmp.mod520.not, label %.preheader, label %.preheader.epilog-lcssa

.preheader.epilog-lcssa:                          ; preds = %.preheader.unr-lcssa
  %82 = load ptr, ptr %79, align 8, !tbaa !14
  %83 = getelementptr inbounds ptr, ptr %82, i64 %.2455.unr
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  %85 = getelementptr inbounds double, ptr %84, i64 %.2455.unr
  %86 = load double, ptr %85, align 8, !tbaa !16
  %87 = load ptr, ptr %80, align 8, !tbaa !14
  %88 = getelementptr inbounds double, ptr %87, i64 %.2455.unr
  store double %86, ptr %88, align 8, !tbaa !16
  br label %.preheader

.preheader:                                       ; preds = %.preheader.unr-lcssa, %.preheader.epilog-lcssa
  br i1 %.not.not383446, label %.lr.ph464, label %._crit_edge465

.lr.ph464:                                        ; preds = %.preheader
  %89 = getelementptr inbounds i8, ptr %5, i64 72
  %90 = getelementptr inbounds i8, ptr %0, i64 376
  br label %108

91:                                               ; preds = %91, %.lr.ph457.new
  %.2455 = phi i64 [ 0, %.lr.ph457.new ], [ %107, %91 ]
  %niter522 = phi i64 [ 0, %.lr.ph457.new ], [ %niter522.next.1, %91 ]
  %92 = load ptr, ptr %79, align 8, !tbaa !14
  %93 = getelementptr inbounds ptr, ptr %92, i64 %.2455
  %94 = load ptr, ptr %93, align 8, !tbaa !15
  %95 = getelementptr inbounds double, ptr %94, i64 %.2455
  %96 = load double, ptr %95, align 8, !tbaa !16
  %97 = load ptr, ptr %80, align 8, !tbaa !14
  %98 = getelementptr inbounds double, ptr %97, i64 %.2455
  store double %96, ptr %98, align 8, !tbaa !16
  %99 = or disjoint i64 %.2455, 1
  %100 = load ptr, ptr %79, align 8, !tbaa !14
  %101 = getelementptr inbounds ptr, ptr %100, i64 %99
  %102 = load ptr, ptr %101, align 8, !tbaa !15
  %103 = getelementptr inbounds double, ptr %102, i64 %99
  %104 = load double, ptr %103, align 8, !tbaa !16
  %105 = load ptr, ptr %80, align 8, !tbaa !14
  %106 = getelementptr inbounds double, ptr %105, i64 %99
  store double %104, ptr %106, align 8, !tbaa !16
  %107 = add nuw nsw i64 %.2455, 2
  %niter522.next.1 = add i64 %niter522, 2
  %niter522.ncmp.1 = icmp eq i64 %niter522.next.1, %unroll_iter521
  br i1 %niter522.ncmp.1, label %.preheader.unr-lcssa, label %91, !llvm.loop !24

.loopexit:                                        ; preds = %.lr.ph461, %108
  %exitcond481.not = icmp eq i64 %113, %2
  br i1 %exitcond481.not, label %._crit_edge465, label %108, !llvm.loop !25

108:                                              ; preds = %.lr.ph464, %.loopexit
  %.3463 = phi i64 [ 0, %.lr.ph464 ], [ %113, %.loopexit ]
  %109 = load ptr, ptr %89, align 8, !tbaa !14
  %110 = getelementptr inbounds ptr, ptr %109, i64 %.3463
  %111 = load ptr, ptr %110, align 8, !tbaa !15
  %112 = getelementptr inbounds double, ptr %111, i64 %.3463
  store double 0.000000e+00, ptr %112, align 8, !tbaa !16
  %113 = add nuw nsw i64 %.3463, 1
  %.not.not387458 = icmp slt i64 %113, %2
  br i1 %.not.not387458, label %.lr.ph461, label %.loopexit

.lr.ph461:                                        ; preds = %108, %.lr.ph461
  %.1355459 = phi i64 [ %132, %.lr.ph461 ], [ %113, %108 ]
  %114 = load ptr, ptr %90, align 8, !tbaa !14
  %115 = getelementptr inbounds double, ptr %114, i64 %.3463
  %116 = load double, ptr %115, align 8, !tbaa !16
  %117 = getelementptr inbounds double, ptr %114, i64 %.1355459
  %118 = load double, ptr %117, align 8, !tbaa !16
  %119 = fadd double %116, %118
  %120 = load ptr, ptr %89, align 8, !tbaa !14
  %121 = getelementptr inbounds ptr, ptr %120, i64 %.3463
  %122 = load ptr, ptr %121, align 8, !tbaa !15
  %123 = getelementptr inbounds double, ptr %122, i64 %.1355459
  %124 = load double, ptr %123, align 8, !tbaa !16
  %125 = tail call double @llvm.fmuladd.f64(double %124, double -2.000000e+00, double %119)
  %126 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %125, double noundef 0.000000e+00, ptr noundef %6)
  %127 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %126, ptr noundef %6)
  %128 = load ptr, ptr %89, align 8, !tbaa !14
  %129 = getelementptr inbounds ptr, ptr %128, i64 %.3463
  %130 = load ptr, ptr %129, align 8, !tbaa !15
  %131 = getelementptr inbounds double, ptr %130, i64 %.1355459
  store double %127, ptr %131, align 8, !tbaa !16
  %132 = add nuw nsw i64 %.1355459, 1
  %.not.not387 = icmp slt i64 %132, %2
  br i1 %.not.not387, label %.lr.ph461, label %.loopexit, !llvm.loop !26

._crit_edge465:                                   ; preds = %.loopexit, %._crit_edge453, %._crit_edge453.thread, %.preheader
  tail call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i1 noundef zeroext true, ptr noundef %6)
  br label %437

133:                                              ; preds = %27
  %134 = and i64 %4, -2
  switch i64 %134, label %436 [
    i64 10, label %135
    i64 12, label %290
    i64 20, label %368
  ]

135:                                              ; preds = %133
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i64 noundef %2, ptr noundef %6)
  %136 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %136, i64 noundef %2, ptr noundef %6)
  %137 = getelementptr inbounds i8, ptr %0, i64 576
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %137, i64 noundef %2, i64 noundef %3, ptr noundef %6)
  %.not.not375426 = icmp sgt i64 %2, 0
  br i1 %.not.not375426, label %.preheader391.lr.ph, label %._crit_edge428.thread

._crit_edge428.thread:                            ; preds = %135
  tail call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %2, i64 noundef %3, double noundef 1.000000e+00, ptr noundef nonnull %137, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %6)
  br label %._crit_edge440

.preheader391.lr.ph:                              ; preds = %135
  %138 = getelementptr inbounds i8, ptr %1, i64 72
  %139 = sitofp i64 %3 to double
  %140 = getelementptr inbounds i8, ptr %0, i64 648
  %xtraiter495 = and i64 %3, 7
  %141 = icmp ult i64 %3, 8
  %unroll_iter498 = and i64 %3, 9223372036854775800
  %lcmp.mod496.not = icmp eq i64 %xtraiter495, 0
  %xtraiter500 = and i64 %3, 1
  %142 = icmp eq i64 %3, 1
  %unroll_iter503 = and i64 %3, 9223372036854775806
  %lcmp.mod502.not = icmp eq i64 %xtraiter500, 0
  br label %.preheader391

.preheader391:                                    ; preds = %.preheader391.lr.ph, %._crit_edge425
  %.4427 = phi i64 [ 0, %.preheader391.lr.ph ], [ %215, %._crit_edge425 ]
  br i1 %7, label %.lr.ph419, label %._crit_edge425

.lr.ph419:                                        ; preds = %.preheader391
  %143 = load ptr, ptr %138, align 8, !tbaa !14
  %144 = getelementptr inbounds ptr, ptr %143, i64 %.4427
  %145 = load ptr, ptr %144, align 8, !tbaa !15
  br i1 %141, label %._crit_edge420.unr-lcssa, label %.lr.ph419.new

.lr.ph419.new:                                    ; preds = %.lr.ph419, %.lr.ph419.new
  %.0351418 = phi double [ %176, %.lr.ph419.new ], [ 0.000000e+00, %.lr.ph419 ]
  %.2356417 = phi i64 [ %177, %.lr.ph419.new ], [ 0, %.lr.ph419 ]
  %niter499 = phi i64 [ %niter499.next.7, %.lr.ph419.new ], [ 0, %.lr.ph419 ]
  %146 = getelementptr inbounds double, ptr %145, i64 %.2356417
  %147 = load double, ptr %146, align 8, !tbaa !16
  %148 = fadd double %.0351418, %147
  %149 = or disjoint i64 %.2356417, 1
  %150 = getelementptr inbounds double, ptr %145, i64 %149
  %151 = load double, ptr %150, align 8, !tbaa !16
  %152 = fadd double %148, %151
  %153 = or disjoint i64 %.2356417, 2
  %154 = getelementptr inbounds double, ptr %145, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !16
  %156 = fadd double %152, %155
  %157 = or disjoint i64 %.2356417, 3
  %158 = getelementptr inbounds double, ptr %145, i64 %157
  %159 = load double, ptr %158, align 8, !tbaa !16
  %160 = fadd double %156, %159
  %161 = or disjoint i64 %.2356417, 4
  %162 = getelementptr inbounds double, ptr %145, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !16
  %164 = fadd double %160, %163
  %165 = or disjoint i64 %.2356417, 5
  %166 = getelementptr inbounds double, ptr %145, i64 %165
  %167 = load double, ptr %166, align 8, !tbaa !16
  %168 = fadd double %164, %167
  %169 = or disjoint i64 %.2356417, 6
  %170 = getelementptr inbounds double, ptr %145, i64 %169
  %171 = load double, ptr %170, align 8, !tbaa !16
  %172 = fadd double %168, %171
  %173 = or disjoint i64 %.2356417, 7
  %174 = getelementptr inbounds double, ptr %145, i64 %173
  %175 = load double, ptr %174, align 8, !tbaa !16
  %176 = fadd double %172, %175
  %177 = add nuw nsw i64 %.2356417, 8
  %niter499.next.7 = add i64 %niter499, 8
  %niter499.ncmp.7 = icmp eq i64 %niter499.next.7, %unroll_iter498
  br i1 %niter499.ncmp.7, label %._crit_edge420.unr-lcssa, label %.lr.ph419.new, !llvm.loop !27

._crit_edge420.unr-lcssa:                         ; preds = %.lr.ph419.new, %.lr.ph419
  %.lcssa.ph = phi double [ poison, %.lr.ph419 ], [ %176, %.lr.ph419.new ]
  %.0351418.unr = phi double [ 0.000000e+00, %.lr.ph419 ], [ %176, %.lr.ph419.new ]
  %.2356417.unr = phi i64 [ 0, %.lr.ph419 ], [ %177, %.lr.ph419.new ]
  br i1 %lcmp.mod496.not, label %._crit_edge420, label %.epil.preheader494

.epil.preheader494:                               ; preds = %._crit_edge420.unr-lcssa, %.epil.preheader494
  %.0351418.epil = phi double [ %180, %.epil.preheader494 ], [ %.0351418.unr, %._crit_edge420.unr-lcssa ]
  %.2356417.epil = phi i64 [ %181, %.epil.preheader494 ], [ %.2356417.unr, %._crit_edge420.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader494 ], [ 0, %._crit_edge420.unr-lcssa ]
  %178 = getelementptr inbounds double, ptr %145, i64 %.2356417.epil
  %179 = load double, ptr %178, align 8, !tbaa !16
  %180 = fadd double %.0351418.epil, %179
  %181 = add nuw nsw i64 %.2356417.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter495
  br i1 %epil.iter.cmp.not, label %._crit_edge420, label %.epil.preheader494, !llvm.loop !28

._crit_edge420:                                   ; preds = %.epil.preheader494, %._crit_edge420.unr-lcssa
  %.lcssa = phi double [ %.lcssa.ph, %._crit_edge420.unr-lcssa ], [ %180, %.epil.preheader494 ]
  %182 = fdiv double %.lcssa, %139
  br i1 %7, label %.lr.ph424.preheader, label %._crit_edge425

.lr.ph424.preheader:                              ; preds = %._crit_edge420
  br i1 %142, label %._crit_edge425.loopexit.unr-lcssa, label %.lr.ph424

.lr.ph424:                                        ; preds = %.lr.ph424.preheader, %.lr.ph424
  %.3357422 = phi i64 [ %204, %.lr.ph424 ], [ 0, %.lr.ph424.preheader ]
  %niter504 = phi i64 [ %niter504.next.1, %.lr.ph424 ], [ 0, %.lr.ph424.preheader ]
  %183 = load ptr, ptr %138, align 8, !tbaa !14
  %184 = getelementptr inbounds ptr, ptr %183, i64 %.4427
  %185 = load ptr, ptr %184, align 8, !tbaa !15
  %186 = getelementptr inbounds double, ptr %185, i64 %.3357422
  %187 = load double, ptr %186, align 8, !tbaa !16
  %188 = fsub double %187, %182
  %189 = load ptr, ptr %140, align 8, !tbaa !14
  %190 = getelementptr inbounds ptr, ptr %189, i64 %.4427
  %191 = load ptr, ptr %190, align 8, !tbaa !15
  %192 = getelementptr inbounds double, ptr %191, i64 %.3357422
  store double %188, ptr %192, align 8, !tbaa !16
  %193 = or disjoint i64 %.3357422, 1
  %194 = load ptr, ptr %138, align 8, !tbaa !14
  %195 = getelementptr inbounds ptr, ptr %194, i64 %.4427
  %196 = load ptr, ptr %195, align 8, !tbaa !15
  %197 = getelementptr inbounds double, ptr %196, i64 %193
  %198 = load double, ptr %197, align 8, !tbaa !16
  %199 = fsub double %198, %182
  %200 = load ptr, ptr %140, align 8, !tbaa !14
  %201 = getelementptr inbounds ptr, ptr %200, i64 %.4427
  %202 = load ptr, ptr %201, align 8, !tbaa !15
  %203 = getelementptr inbounds double, ptr %202, i64 %193
  store double %199, ptr %203, align 8, !tbaa !16
  %204 = add nuw nsw i64 %.3357422, 2
  %niter504.next.1 = add i64 %niter504, 2
  %niter504.ncmp.1 = icmp eq i64 %niter504.next.1, %unroll_iter503
  br i1 %niter504.ncmp.1, label %._crit_edge425.loopexit.unr-lcssa, label %.lr.ph424, !llvm.loop !29

._crit_edge425.loopexit.unr-lcssa:                ; preds = %.lr.ph424, %.lr.ph424.preheader
  %.3357422.unr = phi i64 [ 0, %.lr.ph424.preheader ], [ %204, %.lr.ph424 ]
  br i1 %lcmp.mod502.not, label %._crit_edge425, label %.lr.ph424.epil

.lr.ph424.epil:                                   ; preds = %._crit_edge425.loopexit.unr-lcssa
  %205 = load ptr, ptr %138, align 8, !tbaa !14
  %206 = getelementptr inbounds ptr, ptr %205, i64 %.4427
  %207 = load ptr, ptr %206, align 8, !tbaa !15
  %208 = getelementptr inbounds double, ptr %207, i64 %.3357422.unr
  %209 = load double, ptr %208, align 8, !tbaa !16
  %210 = fsub double %209, %182
  %211 = load ptr, ptr %140, align 8, !tbaa !14
  %212 = getelementptr inbounds ptr, ptr %211, i64 %.4427
  %213 = load ptr, ptr %212, align 8, !tbaa !15
  %214 = getelementptr inbounds double, ptr %213, i64 %.3357422.unr
  store double %210, ptr %214, align 8, !tbaa !16
  br label %._crit_edge425

._crit_edge425:                                   ; preds = %.lr.ph424.epil, %._crit_edge425.loopexit.unr-lcssa, %.preheader391, %._crit_edge420
  %215 = add nuw nsw i64 %.4427, 1
  %exitcond474.not = icmp eq i64 %215, %2
  br i1 %exitcond474.not, label %._crit_edge428, label %.preheader391, !llvm.loop !30

._crit_edge428:                                   ; preds = %._crit_edge425
  tail call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %2, i64 noundef %3, double noundef 1.000000e+00, ptr noundef nonnull %137, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %6)
  br i1 %.not.not375426, label %.lr.ph432, label %._crit_edge440

.lr.ph432:                                        ; preds = %._crit_edge428
  %216 = getelementptr inbounds i8, ptr %5, i64 72
  %217 = getelementptr inbounds i8, ptr %0, i64 376
  %xtraiter506 = and i64 %2, 1
  %218 = icmp eq i64 %2, 1
  br i1 %218, label %.preheader390.unr-lcssa, label %.lr.ph432.new

.lr.ph432.new:                                    ; preds = %.lr.ph432
  %unroll_iter509 = and i64 %2, 9223372036854775806
  br label %228

.preheader390.unr-lcssa:                          ; preds = %228, %.lr.ph432
  %.5430.unr = phi i64 [ 0, %.lr.ph432 ], [ %244, %228 ]
  %lcmp.mod508.not = icmp eq i64 %xtraiter506, 0
  br i1 %lcmp.mod508.not, label %.preheader390, label %.preheader390.epilog-lcssa

.preheader390.epilog-lcssa:                       ; preds = %.preheader390.unr-lcssa
  %219 = load ptr, ptr %216, align 8, !tbaa !14
  %220 = getelementptr inbounds ptr, ptr %219, i64 %.5430.unr
  %221 = load ptr, ptr %220, align 8, !tbaa !15
  %222 = getelementptr inbounds double, ptr %221, i64 %.5430.unr
  %223 = load double, ptr %222, align 8, !tbaa !16
  %224 = load ptr, ptr %217, align 8, !tbaa !14
  %225 = getelementptr inbounds double, ptr %224, i64 %.5430.unr
  store double %223, ptr %225, align 8, !tbaa !16
  br label %.preheader390

.preheader390:                                    ; preds = %.preheader390.unr-lcssa, %.preheader390.epilog-lcssa
  br i1 %.not.not375426, label %.lr.ph439, label %._crit_edge440

.lr.ph439:                                        ; preds = %.preheader390
  %226 = getelementptr inbounds i8, ptr %5, i64 72
  %227 = getelementptr inbounds i8, ptr %0, i64 376
  br label %245

228:                                              ; preds = %228, %.lr.ph432.new
  %.5430 = phi i64 [ 0, %.lr.ph432.new ], [ %244, %228 ]
  %niter510 = phi i64 [ 0, %.lr.ph432.new ], [ %niter510.next.1, %228 ]
  %229 = load ptr, ptr %216, align 8, !tbaa !14
  %230 = getelementptr inbounds ptr, ptr %229, i64 %.5430
  %231 = load ptr, ptr %230, align 8, !tbaa !15
  %232 = getelementptr inbounds double, ptr %231, i64 %.5430
  %233 = load double, ptr %232, align 8, !tbaa !16
  %234 = load ptr, ptr %217, align 8, !tbaa !14
  %235 = getelementptr inbounds double, ptr %234, i64 %.5430
  store double %233, ptr %235, align 8, !tbaa !16
  %236 = or disjoint i64 %.5430, 1
  %237 = load ptr, ptr %216, align 8, !tbaa !14
  %238 = getelementptr inbounds ptr, ptr %237, i64 %236
  %239 = load ptr, ptr %238, align 8, !tbaa !15
  %240 = getelementptr inbounds double, ptr %239, i64 %236
  %241 = load double, ptr %240, align 8, !tbaa !16
  %242 = load ptr, ptr %217, align 8, !tbaa !14
  %243 = getelementptr inbounds double, ptr %242, i64 %236
  store double %241, ptr %243, align 8, !tbaa !16
  %244 = add nuw nsw i64 %.5430, 2
  %niter510.next.1 = add i64 %niter510, 2
  %niter510.ncmp.1 = icmp eq i64 %niter510.next.1, %unroll_iter509
  br i1 %niter510.ncmp.1, label %.preheader390.unr-lcssa, label %228, !llvm.loop !31

.loopexit389:                                     ; preds = %.lr.ph436.split, %.lr.ph436.split.us, %245
  %exitcond476.not = icmp eq i64 %250, %2
  br i1 %exitcond476.not, label %._crit_edge440, label %245, !llvm.loop !32

245:                                              ; preds = %.lr.ph439, %.loopexit389
  %.6438 = phi i64 [ 0, %.lr.ph439 ], [ %250, %.loopexit389 ]
  %246 = load ptr, ptr %226, align 8, !tbaa !14
  %247 = getelementptr inbounds ptr, ptr %246, i64 %.6438
  %248 = load ptr, ptr %247, align 8, !tbaa !15
  %249 = getelementptr inbounds double, ptr %248, i64 %.6438
  store double 0.000000e+00, ptr %249, align 8, !tbaa !16
  %250 = add nuw nsw i64 %.6438, 1
  %.not.not378433 = icmp slt i64 %250, %2
  br i1 %.not.not378433, label %.lr.ph436, label %.loopexit389

.lr.ph436:                                        ; preds = %245
  br i1 %10, label %.lr.ph436.split.us, label %.lr.ph436.split

.lr.ph436.split.us:                               ; preds = %.lr.ph436, %.lr.ph436.split.us
  %.4358434.us = phi i64 [ %269, %.lr.ph436.split.us ], [ %250, %.lr.ph436 ]
  %251 = load ptr, ptr %226, align 8, !tbaa !14
  %252 = getelementptr inbounds ptr, ptr %251, i64 %.6438
  %253 = load ptr, ptr %252, align 8, !tbaa !15
  %254 = getelementptr inbounds double, ptr %253, i64 %.4358434.us
  %255 = load double, ptr %254, align 8, !tbaa !16
  %256 = load ptr, ptr %227, align 8, !tbaa !14
  %257 = getelementptr inbounds double, ptr %256, i64 %.6438
  %258 = load double, ptr %257, align 8, !tbaa !16
  %259 = getelementptr inbounds double, ptr %256, i64 %.4358434.us
  %260 = load double, ptr %259, align 8, !tbaa !16
  %261 = fmul double %258, %260
  %262 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %261, ptr noundef %6)
  %263 = fdiv double %255, %262
  %.1352.us = fsub double 1.000000e+00, %263
  %264 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.1352.us, double noundef 0.000000e+00, ptr noundef %6)
  %265 = load ptr, ptr %226, align 8, !tbaa !14
  %266 = getelementptr inbounds ptr, ptr %265, i64 %.6438
  %267 = load ptr, ptr %266, align 8, !tbaa !15
  %268 = getelementptr inbounds double, ptr %267, i64 %.4358434.us
  store double %264, ptr %268, align 8, !tbaa !16
  %269 = add nuw nsw i64 %.4358434.us, 1
  %.not.not378.us = icmp slt i64 %269, %2
  br i1 %.not.not378.us, label %.lr.ph436.split.us, label %.loopexit389, !llvm.loop !33

.lr.ph436.split:                                  ; preds = %.lr.ph436, %.lr.ph436.split
  %.4358434 = phi i64 [ %289, %.lr.ph436.split ], [ %250, %.lr.ph436 ]
  %270 = load ptr, ptr %226, align 8, !tbaa !14
  %271 = getelementptr inbounds ptr, ptr %270, i64 %.6438
  %272 = load ptr, ptr %271, align 8, !tbaa !15
  %273 = getelementptr inbounds double, ptr %272, i64 %.4358434
  %274 = load double, ptr %273, align 8, !tbaa !16
  %275 = load ptr, ptr %227, align 8, !tbaa !14
  %276 = getelementptr inbounds double, ptr %275, i64 %.6438
  %277 = load double, ptr %276, align 8, !tbaa !16
  %278 = getelementptr inbounds double, ptr %275, i64 %.4358434
  %279 = load double, ptr %278, align 8, !tbaa !16
  %280 = fmul double %277, %279
  %281 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %280, ptr noundef %6)
  %282 = fdiv double %274, %281
  %283 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %282, ptr noundef %6)
  %.1352 = fsub double 1.000000e+00, %283
  %284 = tail call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.1352, double noundef 0.000000e+00, ptr noundef %6)
  %285 = load ptr, ptr %226, align 8, !tbaa !14
  %286 = getelementptr inbounds ptr, ptr %285, i64 %.6438
  %287 = load ptr, ptr %286, align 8, !tbaa !15
  %288 = getelementptr inbounds double, ptr %287, i64 %.4358434
  store double %284, ptr %288, align 8, !tbaa !16
  %289 = add nuw nsw i64 %.4358434, 1
  %.not.not378 = icmp slt i64 %289, %2
  br i1 %.not.not378, label %.lr.ph436.split, label %.loopexit389, !llvm.loop !33

._crit_edge440:                                   ; preds = %.loopexit389, %._crit_edge428, %._crit_edge428.thread, %.preheader390
  tail call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i1 noundef zeroext true, ptr noundef %6)
  br label %437

290:                                              ; preds = %133
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i64 noundef %2, ptr noundef %6)
  %291 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %291, i64 noundef %2, ptr noundef %6)
  tail call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %2, i64 noundef %3, double noundef 1.000000e+00, ptr noundef nonnull %1, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %6)
  %.not.not372404 = icmp sgt i64 %2, 0
  br i1 %.not.not372404, label %.lr.ph407, label %._crit_edge415

.lr.ph407:                                        ; preds = %290
  %292 = getelementptr inbounds i8, ptr %5, i64 72
  %293 = getelementptr inbounds i8, ptr %0, i64 376
  %xtraiter = and i64 %2, 1
  %294 = icmp eq i64 %2, 1
  br i1 %294, label %.preheader393.unr-lcssa, label %.lr.ph407.new

.lr.ph407.new:                                    ; preds = %.lr.ph407
  %unroll_iter = and i64 %2, 9223372036854775806
  br label %304

.preheader393.unr-lcssa:                          ; preds = %304, %.lr.ph407
  %.7405.unr = phi i64 [ 0, %.lr.ph407 ], [ %320, %304 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader393, label %.preheader393.epilog-lcssa

.preheader393.epilog-lcssa:                       ; preds = %.preheader393.unr-lcssa
  %295 = load ptr, ptr %292, align 8, !tbaa !14
  %296 = getelementptr inbounds ptr, ptr %295, i64 %.7405.unr
  %297 = load ptr, ptr %296, align 8, !tbaa !15
  %298 = getelementptr inbounds double, ptr %297, i64 %.7405.unr
  %299 = load double, ptr %298, align 8, !tbaa !16
  %300 = load ptr, ptr %293, align 8, !tbaa !14
  %301 = getelementptr inbounds double, ptr %300, i64 %.7405.unr
  store double %299, ptr %301, align 8, !tbaa !16
  br label %.preheader393

.preheader393:                                    ; preds = %.preheader393.unr-lcssa, %.preheader393.epilog-lcssa
  br i1 %.not.not372404, label %.lr.ph414, label %._crit_edge415

.lr.ph414:                                        ; preds = %.preheader393
  %302 = getelementptr inbounds i8, ptr %5, i64 72
  %303 = getelementptr inbounds i8, ptr %0, i64 376
  br label %321

304:                                              ; preds = %304, %.lr.ph407.new
  %.7405 = phi i64 [ 0, %.lr.ph407.new ], [ %320, %304 ]
  %niter = phi i64 [ 0, %.lr.ph407.new ], [ %niter.next.1, %304 ]
  %305 = load ptr, ptr %292, align 8, !tbaa !14
  %306 = getelementptr inbounds ptr, ptr %305, i64 %.7405
  %307 = load ptr, ptr %306, align 8, !tbaa !15
  %308 = getelementptr inbounds double, ptr %307, i64 %.7405
  %309 = load double, ptr %308, align 8, !tbaa !16
  %310 = load ptr, ptr %293, align 8, !tbaa !14
  %311 = getelementptr inbounds double, ptr %310, i64 %.7405
  store double %309, ptr %311, align 8, !tbaa !16
  %312 = or disjoint i64 %.7405, 1
  %313 = load ptr, ptr %292, align 8, !tbaa !14
  %314 = getelementptr inbounds ptr, ptr %313, i64 %312
  %315 = load ptr, ptr %314, align 8, !tbaa !15
  %316 = getelementptr inbounds double, ptr %315, i64 %312
  %317 = load double, ptr %316, align 8, !tbaa !16
  %318 = load ptr, ptr %293, align 8, !tbaa !14
  %319 = getelementptr inbounds double, ptr %318, i64 %312
  store double %317, ptr %319, align 8, !tbaa !16
  %320 = add nuw nsw i64 %.7405, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader393.unr-lcssa, label %304, !llvm.loop !34

.loopexit392:                                     ; preds = %.lr.ph411.split, %.lr.ph411.split.us, %321
  %exitcond471.not = icmp eq i64 %326, %2
  br i1 %exitcond471.not, label %._crit_edge415, label %321, !llvm.loop !35

321:                                              ; preds = %.lr.ph414, %.loopexit392
  %.8413 = phi i64 [ 0, %.lr.ph414 ], [ %326, %.loopexit392 ]
  %322 = load ptr, ptr %302, align 8, !tbaa !14
  %323 = getelementptr inbounds ptr, ptr %322, i64 %.8413
  %324 = load ptr, ptr %323, align 8, !tbaa !15
  %325 = getelementptr inbounds double, ptr %324, i64 %.8413
  store double 0.000000e+00, ptr %325, align 8, !tbaa !16
  %326 = add nuw nsw i64 %.8413, 1
  %.not.not374408 = icmp slt i64 %326, %2
  br i1 %.not.not374408, label %.lr.ph411, label %.loopexit392

.lr.ph411:                                        ; preds = %321
  br i1 %11, label %.lr.ph411.split.us, label %.lr.ph411.split

.lr.ph411.split.us:                               ; preds = %.lr.ph411, %.lr.ph411.split.us
  %.5359409.us = phi i64 [ %347, %.lr.ph411.split.us ], [ %326, %.lr.ph411 ]
  %327 = load ptr, ptr %302, align 8, !tbaa !14
  %328 = getelementptr inbounds ptr, ptr %327, i64 %.8413
  %329 = load ptr, ptr %328, align 8, !tbaa !15
  %330 = getelementptr inbounds double, ptr %329, i64 %.5359409.us
  %331 = load double, ptr %330, align 8, !tbaa !16
  %332 = load ptr, ptr %303, align 8, !tbaa !14
  %333 = getelementptr inbounds double, ptr %332, i64 %.8413
  %334 = load double, ptr %333, align 8, !tbaa !16
  %335 = getelementptr inbounds double, ptr %332, i64 %.5359409.us
  %336 = load double, ptr %335, align 8, !tbaa !16
  %337 = fmul double %334, %336
  %338 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %337, ptr noundef %6)
  %339 = fdiv double %331, %338
  %340 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %339, ptr noundef %6)
  %341 = tail call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %340, double noundef 1.000000e+00, ptr noundef %6)
  %342 = fsub double 1.000000e+00, %341
  %343 = load ptr, ptr %302, align 8, !tbaa !14
  %344 = getelementptr inbounds ptr, ptr %343, i64 %.8413
  %345 = load ptr, ptr %344, align 8, !tbaa !15
  %346 = getelementptr inbounds double, ptr %345, i64 %.5359409.us
  store double %342, ptr %346, align 8, !tbaa !16
  %347 = add nuw nsw i64 %.5359409.us, 1
  %.not.not374.us = icmp slt i64 %347, %2
  br i1 %.not.not374.us, label %.lr.ph411.split.us, label %.loopexit392, !llvm.loop !36

.lr.ph411.split:                                  ; preds = %.lr.ph411, %.lr.ph411.split
  %.5359409 = phi i64 [ %367, %.lr.ph411.split ], [ %326, %.lr.ph411 ]
  %348 = load ptr, ptr %302, align 8, !tbaa !14
  %349 = getelementptr inbounds ptr, ptr %348, i64 %.8413
  %350 = load ptr, ptr %349, align 8, !tbaa !15
  %351 = getelementptr inbounds double, ptr %350, i64 %.5359409
  %352 = load double, ptr %351, align 8, !tbaa !16
  %353 = load ptr, ptr %303, align 8, !tbaa !14
  %354 = getelementptr inbounds double, ptr %353, i64 %.8413
  %355 = load double, ptr %354, align 8, !tbaa !16
  %356 = getelementptr inbounds double, ptr %353, i64 %.5359409
  %357 = load double, ptr %356, align 8, !tbaa !16
  %358 = fmul double %355, %357
  %359 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %358, ptr noundef %6)
  %360 = fdiv double %352, %359
  %361 = tail call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %360, double noundef 1.000000e+00, ptr noundef %6)
  %362 = fsub double 1.000000e+00, %361
  %363 = load ptr, ptr %302, align 8, !tbaa !14
  %364 = getelementptr inbounds ptr, ptr %363, i64 %.8413
  %365 = load ptr, ptr %364, align 8, !tbaa !15
  %366 = getelementptr inbounds double, ptr %365, i64 %.5359409
  store double %362, ptr %366, align 8, !tbaa !16
  %367 = add nuw nsw i64 %.5359409, 1
  %.not.not374 = icmp slt i64 %367, %2
  br i1 %.not.not374, label %.lr.ph411.split, label %.loopexit392, !llvm.loop !36

._crit_edge415:                                   ; preds = %.loopexit392, %290, %.preheader393
  tail call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i1 noundef zeroext true, ptr noundef %6)
  br label %437

368:                                              ; preds = %133
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i64 noundef %2, ptr noundef %6)
  %369 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %369, i64 noundef %2, ptr noundef %6)
  %370 = getelementptr inbounds i8, ptr %0, i64 576
  tail call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %370, i64 noundef %2, i64 noundef %3, ptr noundef %6)
  tail call void @_ZN11alglib_impl11rmatrixcopyEllPNS_9ae_matrixEllS1_llPNS_8ae_stateE(i64 noundef %2, i64 noundef %3, ptr noundef nonnull %1, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %370, i64 noundef 0, i64 noundef 0, ptr noundef %6)
  tail call void @_ZN11alglib_impl16rankdatacenteredEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %370, i64 noundef %2, i64 noundef %3, ptr noundef %6)
  tail call void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef %2, i64 noundef %3, double noundef 1.000000e+00, ptr noundef nonnull %370, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, i1 noundef zeroext true, ptr noundef %6)
  %.not.not396 = icmp sgt i64 %2, 0
  br i1 %.not.not396, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %368
  %371 = getelementptr inbounds i8, ptr %5, i64 72
  %372 = getelementptr inbounds i8, ptr %0, i64 376
  br label %375

.preheader395:                                    ; preds = %390
  br i1 %.not.not396, label %.lr.ph403, label %._crit_edge

.lr.ph403:                                        ; preds = %.preheader395
  %373 = getelementptr inbounds i8, ptr %0, i64 376
  %374 = getelementptr inbounds i8, ptr %5, i64 72
  br label %394

375:                                              ; preds = %.lr.ph, %390
  %.9397 = phi i64 [ 0, %.lr.ph ], [ %393, %390 ]
  %376 = load ptr, ptr %371, align 8, !tbaa !14
  %377 = getelementptr inbounds ptr, ptr %376, i64 %.9397
  %378 = load ptr, ptr %377, align 8, !tbaa !15
  %379 = getelementptr inbounds double, ptr %378, i64 %.9397
  %380 = load double, ptr %379, align 8, !tbaa !16
  %381 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %380, double noundef 0.000000e+00)
  br i1 %381, label %382, label %390

382:                                              ; preds = %375
  %383 = load ptr, ptr %371, align 8, !tbaa !14
  %384 = getelementptr inbounds ptr, ptr %383, i64 %.9397
  %385 = load ptr, ptr %384, align 8, !tbaa !15
  %386 = getelementptr inbounds double, ptr %385, i64 %.9397
  %387 = load double, ptr %386, align 8, !tbaa !16
  %388 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %387, ptr noundef %6)
  %389 = fdiv double 1.000000e+00, %388
  br label %390

390:                                              ; preds = %375, %382
  %.sink = phi double [ %389, %382 ], [ 0.000000e+00, %375 ]
  %391 = load ptr, ptr %372, align 8, !tbaa !14
  %392 = getelementptr inbounds double, ptr %391, i64 %.9397
  store double %.sink, ptr %392, align 8, !tbaa !16
  %393 = add nuw nsw i64 %.9397, 1
  %exitcond.not = icmp eq i64 %393, %2
  br i1 %exitcond.not, label %.preheader395, label %375, !llvm.loop !37

.loopexit394:                                     ; preds = %.lr.ph400.split, %.lr.ph400.split.us, %394
  %exitcond469.not = icmp eq i64 %402, %2
  br i1 %exitcond469.not, label %._crit_edge, label %394, !llvm.loop !38

394:                                              ; preds = %.lr.ph403, %.loopexit394
  %.10402 = phi i64 [ 0, %.lr.ph403 ], [ %402, %.loopexit394 ]
  %395 = load ptr, ptr %373, align 8, !tbaa !14
  %396 = getelementptr inbounds double, ptr %395, i64 %.10402
  %397 = load double, ptr %396, align 8, !tbaa !16
  %398 = load ptr, ptr %374, align 8, !tbaa !14
  %399 = getelementptr inbounds ptr, ptr %398, i64 %.10402
  %400 = load ptr, ptr %399, align 8, !tbaa !15
  %401 = getelementptr inbounds double, ptr %400, i64 %.10402
  store double 0.000000e+00, ptr %401, align 8, !tbaa !16
  %402 = add nuw nsw i64 %.10402, 1
  %.not.not371398 = icmp slt i64 %402, %2
  br i1 %.not.not371398, label %.lr.ph400, label %.loopexit394

.lr.ph400:                                        ; preds = %394
  br i1 %12, label %.lr.ph400.split.us, label %.lr.ph400.split

.lr.ph400.split.us:                               ; preds = %.lr.ph400, %.lr.ph400.split.us
  %.6360399.us = phi i64 [ %418, %.lr.ph400.split.us ], [ %402, %.lr.ph400 ]
  %403 = load ptr, ptr %374, align 8, !tbaa !14
  %404 = getelementptr inbounds ptr, ptr %403, i64 %.10402
  %405 = load ptr, ptr %404, align 8, !tbaa !15
  %406 = getelementptr inbounds double, ptr %405, i64 %.6360399.us
  %407 = load double, ptr %406, align 8, !tbaa !16
  %408 = fmul double %397, %407
  %409 = load ptr, ptr %373, align 8, !tbaa !14
  %410 = getelementptr inbounds double, ptr %409, i64 %.6360399.us
  %411 = load double, ptr %410, align 8, !tbaa !16
  %412 = fmul double %408, %411
  %.0.us = fsub double 1.000000e+00, %412
  %413 = tail call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %.0.us, double noundef 0.000000e+00)
  %.1.us = select i1 %413, double 0.000000e+00, double %.0.us
  %414 = load ptr, ptr %374, align 8, !tbaa !14
  %415 = getelementptr inbounds ptr, ptr %414, i64 %.10402
  %416 = load ptr, ptr %415, align 8, !tbaa !15
  %417 = getelementptr inbounds double, ptr %416, i64 %.6360399.us
  store double %.1.us, ptr %417, align 8, !tbaa !16
  %418 = add nuw nsw i64 %.6360399.us, 1
  %.not.not371.us = icmp slt i64 %418, %2
  br i1 %.not.not371.us, label %.lr.ph400.split.us, label %.loopexit394, !llvm.loop !39

.lr.ph400.split:                                  ; preds = %.lr.ph400, %.lr.ph400.split
  %.6360399 = phi i64 [ %435, %.lr.ph400.split ], [ %402, %.lr.ph400 ]
  %419 = load ptr, ptr %374, align 8, !tbaa !14
  %420 = getelementptr inbounds ptr, ptr %419, i64 %.10402
  %421 = load ptr, ptr %420, align 8, !tbaa !15
  %422 = getelementptr inbounds double, ptr %421, i64 %.6360399
  %423 = load double, ptr %422, align 8, !tbaa !16
  %424 = fmul double %397, %423
  %425 = load ptr, ptr %373, align 8, !tbaa !14
  %426 = getelementptr inbounds double, ptr %425, i64 %.6360399
  %427 = load double, ptr %426, align 8, !tbaa !16
  %428 = fmul double %424, %427
  %429 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %428, ptr noundef %6)
  %.0 = fsub double 1.000000e+00, %429
  %430 = tail call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %.0, double noundef 0.000000e+00)
  %.1 = select i1 %430, double 0.000000e+00, double %.0
  %431 = load ptr, ptr %374, align 8, !tbaa !14
  %432 = getelementptr inbounds ptr, ptr %431, i64 %.10402
  %433 = load ptr, ptr %432, align 8, !tbaa !15
  %434 = getelementptr inbounds double, ptr %433, i64 %.6360399
  store double %.1, ptr %434, align 8, !tbaa !16
  %435 = add nuw nsw i64 %.6360399, 1
  %.not.not371 = icmp slt i64 %435, %2
  br i1 %.not.not371, label %.lr.ph400.split, label %.loopexit394, !llvm.loop !39

._crit_edge:                                      ; preds = %.loopexit394, %368, %.preheader395
  tail call void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %5, i64 noundef %2, i1 noundef zeroext true, ptr noundef %6)
  br label %437

436:                                              ; preds = %133
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.423, ptr noundef %6)
  br label %437

437:                                              ; preds = %switch.edge, %436, %._crit_edge, %._crit_edge415, %._crit_edge440, %._crit_edge465, %26, %21
  ret void
}

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

declare void @_ZN11alglib_impl26rmatrixenforcesymmetricityEPNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl11rmatrixsyrkElldPNS_9ae_matrixEllldS1_llbPNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl16rankdatacenteredEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

attributes #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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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" }

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

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


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