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

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

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

@.str.374 = external hidden unnamed_addr constant [34 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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) #2

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

50:                                               ; preds = %9
  %51 = load i64, ptr %14, align 8, !tbaa !9
  %52 = icmp sle i64 %51, 2
  br label %53

53:                                               ; preds = %50, %9
  %54 = phi i1 [ false, %9 ], [ %52, %50 ]
  %55 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %54, ptr noundef @.str.374, ptr noundef %55)
  %56 = load double, ptr %16, align 8, !tbaa !11
  %57 = load double, ptr %15, align 8, !tbaa !11
  %58 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %56, double noundef %57)
  br i1 %58, label %59, label %64

59:                                               ; preds = %53
  %60 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %60, align 8, !tbaa !9
  store i8 1, ptr %36, align 1, !tbaa !13
  %61 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %61)
  %62 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %63 = trunc i8 %62 to i1
  store i1 %63, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

64:                                               ; preds = %53
  %65 = load i64, ptr %13, align 8, !tbaa !9
  %66 = icmp sle i64 %65, 0
  br i1 %66, label %67, label %72

67:                                               ; preds = %64
  %68 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %68, align 8, !tbaa !9
  store i8 1, ptr %36, align 1, !tbaa !13
  %69 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %69)
  %70 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %71 = trunc i8 %70 to i1
  store i1 %71, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

72:                                               ; preds = %64
  %73 = load i64, ptr %13, align 8, !tbaa !9
  %74 = add nsw i64 %73, 1
  %75 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef %74, ptr noundef %75)
  %76 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !17
  %78 = getelementptr inbounds double, ptr %77, i64 1
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %79, i32 0, i32 4
  %81 = load ptr, ptr %80, align 8, !tbaa !17
  %82 = getelementptr inbounds double, ptr %81, i64 0
  %83 = load i64, ptr %13, align 8, !tbaa !9
  %84 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %83)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %78, i64 noundef 1, ptr noundef %82, i64 noundef 1, i64 noundef %84)
  %85 = load i64, ptr %13, align 8, !tbaa !9
  %86 = icmp sgt i64 %85, 1
  br i1 %86, label %87, label %102

87:                                               ; preds = %72
  %88 = load i64, ptr %13, align 8, !tbaa !9
  %89 = sub nsw i64 %88, 1
  %90 = add nsw i64 %89, 1
  %91 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %31, i64 noundef %90, ptr noundef %91)
  %92 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %93 = load ptr, ptr %92, align 8, !tbaa !17
  %94 = getelementptr inbounds double, ptr %93, i64 1
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %95, i32 0, i32 4
  %97 = load ptr, ptr %96, align 8, !tbaa !17
  %98 = getelementptr inbounds double, ptr %97, i64 0
  %99 = load i64, ptr %13, align 8, !tbaa !9
  %100 = sub nsw i64 %99, 1
  %101 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %100)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %94, i64 noundef 1, ptr noundef %98, i64 noundef 1, i64 noundef %101)
  br label %102

102:                                              ; preds = %87, %72
  %103 = load i64, ptr %14, align 8, !tbaa !9
  %104 = icmp eq i64 %103, 0
  br i1 %104, label %105, label %145

105:                                              ; preds = %102
  %106 = load i64, ptr %13, align 8, !tbaa !9
  %107 = load double, ptr %15, align 8, !tbaa !11
  %108 = load double, ptr %16, align 8, !tbaa !11
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = load ptr, ptr %19, align 8, !tbaa !5
  %111 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef %30, ptr noundef %31, i64 noundef %106, i64 noundef 2, i64 noundef 1, double noundef %107, double noundef %108, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef %32, ptr noundef %109, ptr noundef %22, ptr noundef %27, ptr noundef %28, ptr noundef %21, ptr noundef %110)
  %112 = zext i1 %111 to i8
  store i8 %112, ptr %36, align 1, !tbaa !13
  %113 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %114 = trunc i8 %113 to i1
  br i1 %114, label %115, label %119

115:                                              ; preds = %105
  %116 = load ptr, ptr %17, align 8, !tbaa !5
  %117 = load i64, ptr %116, align 8, !tbaa !9
  %118 = icmp eq i64 %117, 0
  br i1 %118, label %119, label %124

119:                                              ; preds = %115, %105
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %120, align 8, !tbaa !9
  %121 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %121)
  %122 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %123 = trunc i8 %122 to i1
  store i1 %123, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

124:                                              ; preds = %115
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = load ptr, ptr %17, align 8, !tbaa !5
  %127 = load i64, ptr %126, align 8, !tbaa !9
  %128 = sub nsw i64 %127, 1
  %129 = add nsw i64 %128, 1
  %130 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %125, i64 noundef %129, ptr noundef %130)
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %131, i32 0, i32 4
  %133 = load ptr, ptr %132, align 8, !tbaa !17
  %134 = getelementptr inbounds double, ptr %133, i64 0
  %135 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %136 = load ptr, ptr %135, align 8, !tbaa !17
  %137 = getelementptr inbounds double, ptr %136, i64 1
  %138 = load ptr, ptr %17, align 8, !tbaa !5
  %139 = load i64, ptr %138, align 8, !tbaa !9
  %140 = sub nsw i64 %139, 1
  %141 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %140)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %134, i64 noundef 1, ptr noundef %137, i64 noundef 1, i64 noundef %141)
  %142 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %142)
  %143 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %144 = trunc i8 %143 to i1
  store i1 %144, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

145:                                              ; preds = %102
  %146 = load i64, ptr %14, align 8, !tbaa !9
  %147 = icmp eq i64 %146, 1
  br i1 %147, label %148, label %423

148:                                              ; preds = %145
  %149 = load i64, ptr %13, align 8, !tbaa !9
  %150 = load double, ptr %15, align 8, !tbaa !11
  %151 = load double, ptr %16, align 8, !tbaa !11
  %152 = load ptr, ptr %17, align 8, !tbaa !5
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef %30, ptr noundef %31, i64 noundef %149, i64 noundef 2, i64 noundef 2, double noundef %150, double noundef %151, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef %32, ptr noundef %152, ptr noundef %22, ptr noundef %27, ptr noundef %28, ptr noundef %21, ptr noundef %153)
  %155 = zext i1 %154 to i8
  store i8 %155, ptr %36, align 1, !tbaa !13
  %156 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %157 = trunc i8 %156 to i1
  br i1 %157, label %158, label %162

158:                                              ; preds = %148
  %159 = load ptr, ptr %17, align 8, !tbaa !5
  %160 = load i64, ptr %159, align 8, !tbaa !9
  %161 = icmp eq i64 %160, 0
  br i1 %161, label %162, label %167

162:                                              ; preds = %158, %148
  %163 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %163, align 8, !tbaa !9
  %164 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %164)
  %165 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %166 = trunc i8 %165 to i1
  store i1 %166, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

167:                                              ; preds = %158
  %168 = load i64, ptr %13, align 8, !tbaa !9
  %169 = load ptr, ptr %17, align 8, !tbaa !5
  %170 = load i64, ptr %169, align 8, !tbaa !9
  %171 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %168, ptr noundef %30, ptr noundef %31, i64 noundef %170, ptr noundef %32, ptr noundef %27, ptr noundef %28, ptr noundef %33, ptr noundef %29, ptr noundef %26, ptr noundef %171)
  %172 = load i64, ptr %26, align 8, !tbaa !9
  %173 = icmp ne i64 %172, 0
  br i1 %173, label %174, label %179

174:                                              ; preds = %167
  %175 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %175, align 8, !tbaa !9
  store i8 0, ptr %36, align 1, !tbaa !13
  %176 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %176)
  %177 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %178 = trunc i8 %177 to i1
  store i1 %178, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

179:                                              ; preds = %167
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %180

180:                                              ; preds = %271, %179
  %181 = load i64, ptr %23, align 8, !tbaa !9
  %182 = load ptr, ptr %17, align 8, !tbaa !5
  %183 = load i64, ptr %182, align 8, !tbaa !9
  %184 = icmp sle i64 %181, %183
  br i1 %184, label %185, label %274

185:                                              ; preds = %180
  %186 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %186, ptr %25, align 8, !tbaa !9
  %187 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %187, ptr %24, align 8, !tbaa !9
  br label %188

188:                                              ; preds = %208, %185
  %189 = load i64, ptr %24, align 8, !tbaa !9
  %190 = load ptr, ptr %17, align 8, !tbaa !5
  %191 = load i64, ptr %190, align 8, !tbaa !9
  %192 = icmp sle i64 %189, %191
  br i1 %192, label %193, label %211

193:                                              ; preds = %188
  %194 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %195 = load ptr, ptr %194, align 8, !tbaa !17
  %196 = load i64, ptr %24, align 8, !tbaa !9
  %197 = getelementptr inbounds double, ptr %195, i64 %196
  %198 = load double, ptr %197, align 8, !tbaa !11
  %199 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %200 = load ptr, ptr %199, align 8, !tbaa !17
  %201 = load i64, ptr %25, align 8, !tbaa !9
  %202 = getelementptr inbounds double, ptr %200, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !11
  %204 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %198, double noundef %203)
  br i1 %204, label %205, label %207

205:                                              ; preds = %193
  %206 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %206, ptr %25, align 8, !tbaa !9
  br label %207

207:                                              ; preds = %205, %193
  br label %208

208:                                              ; preds = %207
  %209 = load i64, ptr %24, align 8, !tbaa !9
  %210 = add nsw i64 %209, 1
  store i64 %210, ptr %24, align 8, !tbaa !9
  br label %188, !llvm.loop !18

211:                                              ; preds = %188
  %212 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %213 = load ptr, ptr %212, align 8, !tbaa !17
  %214 = load i64, ptr %23, align 8, !tbaa !9
  %215 = getelementptr inbounds double, ptr %213, i64 %214
  %216 = load double, ptr %215, align 8, !tbaa !11
  store double %216, ptr %35, align 8, !tbaa !11
  %217 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %218 = load ptr, ptr %217, align 8, !tbaa !17
  %219 = load i64, ptr %25, align 8, !tbaa !9
  %220 = getelementptr inbounds double, ptr %218, i64 %219
  %221 = load double, ptr %220, align 8, !tbaa !11
  %222 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %223 = load ptr, ptr %222, align 8, !tbaa !17
  %224 = load i64, ptr %23, align 8, !tbaa !9
  %225 = getelementptr inbounds double, ptr %223, i64 %224
  store double %221, ptr %225, align 8, !tbaa !11
  %226 = load double, ptr %35, align 8, !tbaa !11
  %227 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %228 = load ptr, ptr %227, align 8, !tbaa !17
  %229 = load i64, ptr %25, align 8, !tbaa !9
  %230 = getelementptr inbounds double, ptr %228, i64 %229
  store double %226, ptr %230, align 8, !tbaa !11
  store i64 1, ptr %24, align 8, !tbaa !9
  br label %231

231:                                              ; preds = %267, %211
  %232 = load i64, ptr %24, align 8, !tbaa !9
  %233 = load i64, ptr %13, align 8, !tbaa !9
  %234 = icmp sle i64 %232, %233
  br i1 %234, label %235, label %270

235:                                              ; preds = %231
  %236 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %237 = load ptr, ptr %236, align 8, !tbaa !17
  %238 = load i64, ptr %24, align 8, !tbaa !9
  %239 = getelementptr inbounds ptr, ptr %237, i64 %238
  %240 = load ptr, ptr %239, align 8, !tbaa !5
  %241 = load i64, ptr %23, align 8, !tbaa !9
  %242 = getelementptr inbounds double, ptr %240, i64 %241
  %243 = load double, ptr %242, align 8, !tbaa !11
  store double %243, ptr %35, align 8, !tbaa !11
  %244 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %245 = load ptr, ptr %244, align 8, !tbaa !17
  %246 = load i64, ptr %24, align 8, !tbaa !9
  %247 = getelementptr inbounds ptr, ptr %245, i64 %246
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  %249 = load i64, ptr %25, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %248, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !11
  %252 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %253 = load ptr, ptr %252, align 8, !tbaa !17
  %254 = load i64, ptr %24, align 8, !tbaa !9
  %255 = getelementptr inbounds ptr, ptr %253, i64 %254
  %256 = load ptr, ptr %255, align 8, !tbaa !5
  %257 = load i64, ptr %23, align 8, !tbaa !9
  %258 = getelementptr inbounds double, ptr %256, i64 %257
  store double %251, ptr %258, align 8, !tbaa !11
  %259 = load double, ptr %35, align 8, !tbaa !11
  %260 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %261 = load ptr, ptr %260, align 8, !tbaa !17
  %262 = load i64, ptr %24, align 8, !tbaa !9
  %263 = getelementptr inbounds ptr, ptr %261, i64 %262
  %264 = load ptr, ptr %263, align 8, !tbaa !5
  %265 = load i64, ptr %25, align 8, !tbaa !9
  %266 = getelementptr inbounds double, ptr %264, i64 %265
  store double %259, ptr %266, align 8, !tbaa !11
  br label %267

267:                                              ; preds = %235
  %268 = load i64, ptr %24, align 8, !tbaa !9
  %269 = add nsw i64 %268, 1
  store i64 %269, ptr %24, align 8, !tbaa !9
  br label %231, !llvm.loop !20

270:                                              ; preds = %231
  br label %271

271:                                              ; preds = %270
  %272 = load i64, ptr %23, align 8, !tbaa !9
  %273 = add nsw i64 %272, 1
  store i64 %273, ptr %23, align 8, !tbaa !9
  br label %180, !llvm.loop !21

274:                                              ; preds = %180
  %275 = load ptr, ptr %17, align 8, !tbaa !5
  %276 = load i64, ptr %275, align 8, !tbaa !9
  %277 = add nsw i64 %276, 1
  %278 = load i64, ptr %13, align 8, !tbaa !9
  %279 = add nsw i64 %278, 1
  %280 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %34, i64 noundef %277, i64 noundef %279, ptr noundef %280)
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %281

281:                                              ; preds = %303, %274
  %282 = load i64, ptr %23, align 8, !tbaa !9
  %283 = load ptr, ptr %17, align 8, !tbaa !5
  %284 = load i64, ptr %283, align 8, !tbaa !9
  %285 = icmp sle i64 %282, %284
  br i1 %285, label %286, label %306

286:                                              ; preds = %281
  %287 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %34, i32 0, i32 6
  %288 = load ptr, ptr %287, align 8, !tbaa !17
  %289 = load i64, ptr %23, align 8, !tbaa !9
  %290 = getelementptr inbounds ptr, ptr %288, i64 %289
  %291 = load ptr, ptr %290, align 8, !tbaa !5
  %292 = getelementptr inbounds double, ptr %291, i64 1
  %293 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %294 = load ptr, ptr %293, align 8, !tbaa !17
  %295 = getelementptr inbounds ptr, ptr %294, i64 1
  %296 = load ptr, ptr %295, align 8, !tbaa !5
  %297 = load i64, ptr %23, align 8, !tbaa !9
  %298 = getelementptr inbounds double, ptr %296, i64 %297
  %299 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 2
  %300 = load i64, ptr %299, align 8, !tbaa !22
  %301 = load i64, ptr %13, align 8, !tbaa !9
  %302 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %301)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %292, i64 noundef 1, ptr noundef %298, i64 noundef %300, i64 noundef %302)
  br label %303

303:                                              ; preds = %286
  %304 = load i64, ptr %23, align 8, !tbaa !9
  %305 = add nsw i64 %304, 1
  store i64 %305, ptr %23, align 8, !tbaa !9
  br label %281, !llvm.loop !25

306:                                              ; preds = %281
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %307

307:                                              ; preds = %348, %306
  %308 = load i64, ptr %23, align 8, !tbaa !9
  %309 = load i64, ptr %13, align 8, !tbaa !9
  %310 = icmp sle i64 %308, %309
  br i1 %310, label %311, label %351

311:                                              ; preds = %307
  store i64 1, ptr %24, align 8, !tbaa !9
  br label %312

312:                                              ; preds = %344, %311
  %313 = load i64, ptr %24, align 8, !tbaa !9
  %314 = load ptr, ptr %17, align 8, !tbaa !5
  %315 = load i64, ptr %314, align 8, !tbaa !9
  %316 = icmp sle i64 %313, %315
  br i1 %316, label %317, label %347

317:                                              ; preds = %312
  %318 = load ptr, ptr %18, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %318, i32 0, i32 6
  %320 = load ptr, ptr %319, align 8, !tbaa !17
  %321 = load i64, ptr %23, align 8, !tbaa !9
  %322 = sub nsw i64 %321, 1
  %323 = getelementptr inbounds ptr, ptr %320, i64 %322
  %324 = load ptr, ptr %323, align 8, !tbaa !5
  %325 = getelementptr inbounds double, ptr %324, i64 0
  %326 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %34, i32 0, i32 6
  %327 = load ptr, ptr %326, align 8, !tbaa !17
  %328 = load i64, ptr %24, align 8, !tbaa !9
  %329 = getelementptr inbounds ptr, ptr %327, i64 %328
  %330 = load ptr, ptr %329, align 8, !tbaa !5
  %331 = getelementptr inbounds double, ptr %330, i64 1
  %332 = load i64, ptr %13, align 8, !tbaa !9
  %333 = sub nsw i64 %332, 1
  %334 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %333)
  %335 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %325, i64 noundef 1, ptr noundef %331, i64 noundef 1, i64 noundef %334)
  store double %335, ptr %35, align 8, !tbaa !11
  %336 = load double, ptr %35, align 8, !tbaa !11
  %337 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %338 = load ptr, ptr %337, align 8, !tbaa !17
  %339 = load i64, ptr %23, align 8, !tbaa !9
  %340 = getelementptr inbounds ptr, ptr %338, i64 %339
  %341 = load ptr, ptr %340, align 8, !tbaa !5
  %342 = load i64, ptr %24, align 8, !tbaa !9
  %343 = getelementptr inbounds double, ptr %341, i64 %342
  store double %336, ptr %343, align 8, !tbaa !11
  br label %344

344:                                              ; preds = %317
  %345 = load i64, ptr %24, align 8, !tbaa !9
  %346 = add nsw i64 %345, 1
  store i64 %346, ptr %24, align 8, !tbaa !9
  br label %312, !llvm.loop !26

347:                                              ; preds = %312
  br label %348

348:                                              ; preds = %347
  %349 = load i64, ptr %23, align 8, !tbaa !9
  %350 = add nsw i64 %349, 1
  store i64 %350, ptr %23, align 8, !tbaa !9
  br label %307, !llvm.loop !27

351:                                              ; preds = %307
  %352 = load ptr, ptr %18, align 8, !tbaa !5
  %353 = load i64, ptr %13, align 8, !tbaa !9
  %354 = sub nsw i64 %353, 1
  %355 = add nsw i64 %354, 1
  %356 = load ptr, ptr %17, align 8, !tbaa !5
  %357 = load i64, ptr %356, align 8, !tbaa !9
  %358 = sub nsw i64 %357, 1
  %359 = add nsw i64 %358, 1
  %360 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %352, i64 noundef %355, i64 noundef %359, ptr noundef %360)
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %361

361:                                              ; preds = %389, %351
  %362 = load i64, ptr %23, align 8, !tbaa !9
  %363 = load ptr, ptr %17, align 8, !tbaa !5
  %364 = load i64, ptr %363, align 8, !tbaa !9
  %365 = icmp sle i64 %362, %364
  br i1 %365, label %366, label %392

366:                                              ; preds = %361
  %367 = load ptr, ptr %18, align 8, !tbaa !5
  %368 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %367, i32 0, i32 6
  %369 = load ptr, ptr %368, align 8, !tbaa !17
  %370 = getelementptr inbounds ptr, ptr %369, i64 0
  %371 = load ptr, ptr %370, align 8, !tbaa !5
  %372 = load i64, ptr %23, align 8, !tbaa !9
  %373 = sub nsw i64 %372, 1
  %374 = getelementptr inbounds double, ptr %371, i64 %373
  %375 = load ptr, ptr %18, align 8, !tbaa !5
  %376 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %375, i32 0, i32 2
  %377 = load i64, ptr %376, align 8, !tbaa !22
  %378 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %379 = load ptr, ptr %378, align 8, !tbaa !17
  %380 = getelementptr inbounds ptr, ptr %379, i64 1
  %381 = load ptr, ptr %380, align 8, !tbaa !5
  %382 = load i64, ptr %23, align 8, !tbaa !9
  %383 = getelementptr inbounds double, ptr %381, i64 %382
  %384 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 2
  %385 = load i64, ptr %384, align 8, !tbaa !22
  %386 = load i64, ptr %13, align 8, !tbaa !9
  %387 = sub nsw i64 %386, 1
  %388 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %387)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %374, i64 noundef %377, ptr noundef %383, i64 noundef %385, i64 noundef %388)
  br label %389

389:                                              ; preds = %366
  %390 = load i64, ptr %23, align 8, !tbaa !9
  %391 = add nsw i64 %390, 1
  store i64 %391, ptr %23, align 8, !tbaa !9
  br label %361, !llvm.loop !28

392:                                              ; preds = %361
  %393 = load ptr, ptr %11, align 8, !tbaa !5
  %394 = load ptr, ptr %17, align 8, !tbaa !5
  %395 = load i64, ptr %394, align 8, !tbaa !9
  %396 = sub nsw i64 %395, 1
  %397 = add nsw i64 %396, 1
  %398 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %393, i64 noundef %397, ptr noundef %398)
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %399

399:                                              ; preds = %416, %392
  %400 = load i64, ptr %23, align 8, !tbaa !9
  %401 = load ptr, ptr %17, align 8, !tbaa !5
  %402 = load i64, ptr %401, align 8, !tbaa !9
  %403 = icmp sle i64 %400, %402
  br i1 %403, label %404, label %419

404:                                              ; preds = %399
  %405 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %406 = load ptr, ptr %405, align 8, !tbaa !17
  %407 = load i64, ptr %23, align 8, !tbaa !9
  %408 = getelementptr inbounds double, ptr %406, i64 %407
  %409 = load double, ptr %408, align 8, !tbaa !11
  %410 = load ptr, ptr %11, align 8, !tbaa !5
  %411 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %410, i32 0, i32 4
  %412 = load ptr, ptr %411, align 8, !tbaa !17
  %413 = load i64, ptr %23, align 8, !tbaa !9
  %414 = sub nsw i64 %413, 1
  %415 = getelementptr inbounds double, ptr %412, i64 %414
  store double %409, ptr %415, align 8, !tbaa !11
  br label %416

416:                                              ; preds = %404
  %417 = load i64, ptr %23, align 8, !tbaa !9
  %418 = add nsw i64 %417, 1
  store i64 %418, ptr %23, align 8, !tbaa !9
  br label %399, !llvm.loop !29

419:                                              ; preds = %399
  %420 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %420)
  %421 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %422 = trunc i8 %421 to i1
  store i1 %422, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

423:                                              ; preds = %145
  %424 = load i64, ptr %14, align 8, !tbaa !9
  %425 = icmp eq i64 %424, 2
  br i1 %425, label %426, label %624

426:                                              ; preds = %423
  %427 = load i64, ptr %13, align 8, !tbaa !9
  %428 = load double, ptr %15, align 8, !tbaa !11
  %429 = load double, ptr %16, align 8, !tbaa !11
  %430 = load ptr, ptr %17, align 8, !tbaa !5
  %431 = load ptr, ptr %19, align 8, !tbaa !5
  %432 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef %30, ptr noundef %31, i64 noundef %427, i64 noundef 2, i64 noundef 2, double noundef %428, double noundef %429, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef %32, ptr noundef %430, ptr noundef %22, ptr noundef %27, ptr noundef %28, ptr noundef %21, ptr noundef %431)
  %433 = zext i1 %432 to i8
  store i8 %433, ptr %36, align 1, !tbaa !13
  %434 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %435 = trunc i8 %434 to i1
  br i1 %435, label %436, label %440

436:                                              ; preds = %426
  %437 = load ptr, ptr %17, align 8, !tbaa !5
  %438 = load i64, ptr %437, align 8, !tbaa !9
  %439 = icmp eq i64 %438, 0
  br i1 %439, label %440, label %445

440:                                              ; preds = %436, %426
  %441 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %441, align 8, !tbaa !9
  %442 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %442)
  %443 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %444 = trunc i8 %443 to i1
  store i1 %444, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

445:                                              ; preds = %436
  %446 = load i64, ptr %13, align 8, !tbaa !9
  %447 = load ptr, ptr %17, align 8, !tbaa !5
  %448 = load i64, ptr %447, align 8, !tbaa !9
  %449 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %446, ptr noundef %30, ptr noundef %31, i64 noundef %448, ptr noundef %32, ptr noundef %27, ptr noundef %28, ptr noundef %33, ptr noundef %29, ptr noundef %26, ptr noundef %449)
  %450 = load i64, ptr %26, align 8, !tbaa !9
  %451 = icmp ne i64 %450, 0
  br i1 %451, label %452, label %457

452:                                              ; preds = %445
  %453 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %453, align 8, !tbaa !9
  store i8 0, ptr %36, align 1, !tbaa !13
  %454 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %454)
  %455 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %456 = trunc i8 %455 to i1
  store i1 %456, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

457:                                              ; preds = %445
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %458

458:                                              ; preds = %549, %457
  %459 = load i64, ptr %23, align 8, !tbaa !9
  %460 = load ptr, ptr %17, align 8, !tbaa !5
  %461 = load i64, ptr %460, align 8, !tbaa !9
  %462 = icmp sle i64 %459, %461
  br i1 %462, label %463, label %552

463:                                              ; preds = %458
  %464 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %464, ptr %25, align 8, !tbaa !9
  %465 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %465, ptr %24, align 8, !tbaa !9
  br label %466

466:                                              ; preds = %486, %463
  %467 = load i64, ptr %24, align 8, !tbaa !9
  %468 = load ptr, ptr %17, align 8, !tbaa !5
  %469 = load i64, ptr %468, align 8, !tbaa !9
  %470 = icmp sle i64 %467, %469
  br i1 %470, label %471, label %489

471:                                              ; preds = %466
  %472 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %473 = load ptr, ptr %472, align 8, !tbaa !17
  %474 = load i64, ptr %24, align 8, !tbaa !9
  %475 = getelementptr inbounds double, ptr %473, i64 %474
  %476 = load double, ptr %475, align 8, !tbaa !11
  %477 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %478 = load ptr, ptr %477, align 8, !tbaa !17
  %479 = load i64, ptr %25, align 8, !tbaa !9
  %480 = getelementptr inbounds double, ptr %478, i64 %479
  %481 = load double, ptr %480, align 8, !tbaa !11
  %482 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %476, double noundef %481)
  br i1 %482, label %483, label %485

483:                                              ; preds = %471
  %484 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %484, ptr %25, align 8, !tbaa !9
  br label %485

485:                                              ; preds = %483, %471
  br label %486

486:                                              ; preds = %485
  %487 = load i64, ptr %24, align 8, !tbaa !9
  %488 = add nsw i64 %487, 1
  store i64 %488, ptr %24, align 8, !tbaa !9
  br label %466, !llvm.loop !30

489:                                              ; preds = %466
  %490 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %491 = load ptr, ptr %490, align 8, !tbaa !17
  %492 = load i64, ptr %23, align 8, !tbaa !9
  %493 = getelementptr inbounds double, ptr %491, i64 %492
  %494 = load double, ptr %493, align 8, !tbaa !11
  store double %494, ptr %35, align 8, !tbaa !11
  %495 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %496 = load ptr, ptr %495, align 8, !tbaa !17
  %497 = load i64, ptr %25, align 8, !tbaa !9
  %498 = getelementptr inbounds double, ptr %496, i64 %497
  %499 = load double, ptr %498, align 8, !tbaa !11
  %500 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %501 = load ptr, ptr %500, align 8, !tbaa !17
  %502 = load i64, ptr %23, align 8, !tbaa !9
  %503 = getelementptr inbounds double, ptr %501, i64 %502
  store double %499, ptr %503, align 8, !tbaa !11
  %504 = load double, ptr %35, align 8, !tbaa !11
  %505 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %506 = load ptr, ptr %505, align 8, !tbaa !17
  %507 = load i64, ptr %25, align 8, !tbaa !9
  %508 = getelementptr inbounds double, ptr %506, i64 %507
  store double %504, ptr %508, align 8, !tbaa !11
  store i64 1, ptr %24, align 8, !tbaa !9
  br label %509

509:                                              ; preds = %545, %489
  %510 = load i64, ptr %24, align 8, !tbaa !9
  %511 = load i64, ptr %13, align 8, !tbaa !9
  %512 = icmp sle i64 %510, %511
  br i1 %512, label %513, label %548

513:                                              ; preds = %509
  %514 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %515 = load ptr, ptr %514, align 8, !tbaa !17
  %516 = load i64, ptr %24, align 8, !tbaa !9
  %517 = getelementptr inbounds ptr, ptr %515, i64 %516
  %518 = load ptr, ptr %517, align 8, !tbaa !5
  %519 = load i64, ptr %23, align 8, !tbaa !9
  %520 = getelementptr inbounds double, ptr %518, i64 %519
  %521 = load double, ptr %520, align 8, !tbaa !11
  store double %521, ptr %35, align 8, !tbaa !11
  %522 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %523 = load ptr, ptr %522, align 8, !tbaa !17
  %524 = load i64, ptr %24, align 8, !tbaa !9
  %525 = getelementptr inbounds ptr, ptr %523, i64 %524
  %526 = load ptr, ptr %525, align 8, !tbaa !5
  %527 = load i64, ptr %25, align 8, !tbaa !9
  %528 = getelementptr inbounds double, ptr %526, i64 %527
  %529 = load double, ptr %528, align 8, !tbaa !11
  %530 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %531 = load ptr, ptr %530, align 8, !tbaa !17
  %532 = load i64, ptr %24, align 8, !tbaa !9
  %533 = getelementptr inbounds ptr, ptr %531, i64 %532
  %534 = load ptr, ptr %533, align 8, !tbaa !5
  %535 = load i64, ptr %23, align 8, !tbaa !9
  %536 = getelementptr inbounds double, ptr %534, i64 %535
  store double %529, ptr %536, align 8, !tbaa !11
  %537 = load double, ptr %35, align 8, !tbaa !11
  %538 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %539 = load ptr, ptr %538, align 8, !tbaa !17
  %540 = load i64, ptr %24, align 8, !tbaa !9
  %541 = getelementptr inbounds ptr, ptr %539, i64 %540
  %542 = load ptr, ptr %541, align 8, !tbaa !5
  %543 = load i64, ptr %25, align 8, !tbaa !9
  %544 = getelementptr inbounds double, ptr %542, i64 %543
  store double %537, ptr %544, align 8, !tbaa !11
  br label %545

545:                                              ; preds = %513
  %546 = load i64, ptr %24, align 8, !tbaa !9
  %547 = add nsw i64 %546, 1
  store i64 %547, ptr %24, align 8, !tbaa !9
  br label %509, !llvm.loop !31

548:                                              ; preds = %509
  br label %549

549:                                              ; preds = %548
  %550 = load i64, ptr %23, align 8, !tbaa !9
  %551 = add nsw i64 %550, 1
  store i64 %551, ptr %23, align 8, !tbaa !9
  br label %458, !llvm.loop !32

552:                                              ; preds = %458
  %553 = load ptr, ptr %11, align 8, !tbaa !5
  %554 = load ptr, ptr %17, align 8, !tbaa !5
  %555 = load i64, ptr %554, align 8, !tbaa !9
  %556 = sub nsw i64 %555, 1
  %557 = add nsw i64 %556, 1
  %558 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %553, i64 noundef %557, ptr noundef %558)
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %559

559:                                              ; preds = %576, %552
  %560 = load i64, ptr %23, align 8, !tbaa !9
  %561 = load ptr, ptr %17, align 8, !tbaa !5
  %562 = load i64, ptr %561, align 8, !tbaa !9
  %563 = icmp sle i64 %560, %562
  br i1 %563, label %564, label %579

564:                                              ; preds = %559
  %565 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %566 = load ptr, ptr %565, align 8, !tbaa !17
  %567 = load i64, ptr %23, align 8, !tbaa !9
  %568 = getelementptr inbounds double, ptr %566, i64 %567
  %569 = load double, ptr %568, align 8, !tbaa !11
  %570 = load ptr, ptr %11, align 8, !tbaa !5
  %571 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %570, i32 0, i32 4
  %572 = load ptr, ptr %571, align 8, !tbaa !17
  %573 = load i64, ptr %23, align 8, !tbaa !9
  %574 = sub nsw i64 %573, 1
  %575 = getelementptr inbounds double, ptr %572, i64 %574
  store double %569, ptr %575, align 8, !tbaa !11
  br label %576

576:                                              ; preds = %564
  %577 = load i64, ptr %23, align 8, !tbaa !9
  %578 = add nsw i64 %577, 1
  store i64 %578, ptr %23, align 8, !tbaa !9
  br label %559, !llvm.loop !33

579:                                              ; preds = %559
  %580 = load ptr, ptr %18, align 8, !tbaa !5
  %581 = load i64, ptr %13, align 8, !tbaa !9
  %582 = sub nsw i64 %581, 1
  %583 = add nsw i64 %582, 1
  %584 = load ptr, ptr %17, align 8, !tbaa !5
  %585 = load i64, ptr %584, align 8, !tbaa !9
  %586 = sub nsw i64 %585, 1
  %587 = add nsw i64 %586, 1
  %588 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %580, i64 noundef %583, i64 noundef %587, ptr noundef %588)
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %589

589:                                              ; preds = %617, %579
  %590 = load i64, ptr %23, align 8, !tbaa !9
  %591 = load ptr, ptr %17, align 8, !tbaa !5
  %592 = load i64, ptr %591, align 8, !tbaa !9
  %593 = icmp sle i64 %590, %592
  br i1 %593, label %594, label %620

594:                                              ; preds = %589
  %595 = load ptr, ptr %18, align 8, !tbaa !5
  %596 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %595, i32 0, i32 6
  %597 = load ptr, ptr %596, align 8, !tbaa !17
  %598 = getelementptr inbounds ptr, ptr %597, i64 0
  %599 = load ptr, ptr %598, align 8, !tbaa !5
  %600 = load i64, ptr %23, align 8, !tbaa !9
  %601 = sub nsw i64 %600, 1
  %602 = getelementptr inbounds double, ptr %599, i64 %601
  %603 = load ptr, ptr %18, align 8, !tbaa !5
  %604 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %603, i32 0, i32 2
  %605 = load i64, ptr %604, align 8, !tbaa !22
  %606 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 6
  %607 = load ptr, ptr %606, align 8, !tbaa !17
  %608 = getelementptr inbounds ptr, ptr %607, i64 1
  %609 = load ptr, ptr %608, align 8, !tbaa !5
  %610 = load i64, ptr %23, align 8, !tbaa !9
  %611 = getelementptr inbounds double, ptr %609, i64 %610
  %612 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %33, i32 0, i32 2
  %613 = load i64, ptr %612, align 8, !tbaa !22
  %614 = load i64, ptr %13, align 8, !tbaa !9
  %615 = sub nsw i64 %614, 1
  %616 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %615)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %602, i64 noundef %605, ptr noundef %611, i64 noundef %613, i64 noundef %616)
  br label %617

617:                                              ; preds = %594
  %618 = load i64, ptr %23, align 8, !tbaa !9
  %619 = add nsw i64 %618, 1
  store i64 %619, ptr %23, align 8, !tbaa !9
  br label %589, !llvm.loop !34

620:                                              ; preds = %589
  %621 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %621)
  %622 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %623 = trunc i8 %622 to i1
  store i1 %623, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

624:                                              ; preds = %423
  store i8 0, ptr %36, align 1, !tbaa !13
  %625 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %625)
  %626 = load i8, ptr %36, align 1, !tbaa !13, !range !15, !noundef !16
  %627 = trunc i8 %626 to i1
  store i1 %627, ptr %10, align 1
  store i32 1, ptr %37, align 4
  br label %628

628:                                              ; preds = %624, %620, %452, %440, %419, %174, %162, %124, %119, %67, %59
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #4
  %629 = load i1, ptr %10, align 1
  ret i1 %629
}

declare noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #2

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, i64 noundef, i64 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = !{!23, !10, i64 16}
!23 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !14, i64 32, !24, i64 40, !7, i64 72}
!24 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}
!33 = distinct !{!33, !19}
!34 = distinct !{!34, !19}


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

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

@.str.374 = external hidden unnamed_addr constant [34 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl13smatrixtdevdrEPNS_9ae_vectorES1_llddPlPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #3 {
  %10 = alloca %"struct.alglib_impl::ae_frame", align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %21 = alloca %"struct.alglib_impl::ae_matrix", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %21) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %8, ptr noundef nonnull %10)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %19, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %20, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %21, i8 0, i64 80, i1 false)
  store i64 0, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 2, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 2, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 2, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %17, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %18, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %19, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %20, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %21, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  %22 = icmp ult i64 %3, 3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef nonnull @.str.374, ptr noundef %8)
  %23 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %5, double noundef %4)
  br i1 %23, label %24, label %25

24:                                               ; preds = %9
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge314

25:                                               ; preds = %9
  %26 = icmp slt i64 %2, 1
  br i1 %26, label %27, label %28

27:                                               ; preds = %25
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge314

28:                                               ; preds = %25
  %29 = add nuw nsw i64 %2, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef %29, ptr noundef %8)
  %30 = getelementptr inbounds i8, ptr %17, i64 56
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = getelementptr inbounds i8, ptr %0, i64 56
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %2)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %32, i64 noundef 1, ptr noundef %34, i64 noundef 1, i64 noundef %35)
  %.not = icmp eq i64 %2, 1
  br i1 %.not, label %44, label %36

36:                                               ; preds = %28
  %37 = add nsw i64 %2, -1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %2, ptr noundef %8)
  %38 = getelementptr inbounds i8, ptr %18, i64 56
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = getelementptr inbounds i8, ptr %1, i64 56
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %37)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %40, i64 noundef 1, ptr noundef %42, i64 noundef 1, i64 noundef %43)
  br label %44

44:                                               ; preds = %36, %28
  switch i64 %3, label %._crit_edge314 [
    i64 0, label %45
    i64 1, label %59
    i64 2, label %221
  ]

45:                                               ; preds = %44
  %46 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %18, i64 noundef %2, i64 noundef 2, i64 noundef 1, double noundef %4, double noundef %5, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef nonnull %19, ptr noundef nonnull %6, ptr noundef nonnull %12, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %11, ptr noundef %8)
  br i1 %46, label %47, label %50

47:                                               ; preds = %45
  %48 = load i64, ptr %6, align 8, !tbaa !5
  %49 = icmp eq i64 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %47, %45
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge314

51:                                               ; preds = %47
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %48, ptr noundef %8)
  %52 = load ptr, ptr %33, align 8, !tbaa !9
  %53 = getelementptr inbounds i8, ptr %19, i64 56
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds i8, ptr %54, i64 8
  %56 = load i64, ptr %6, align 8, !tbaa !5
  %57 = add nsw i64 %56, -1
  %58 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %57)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %52, i64 noundef 1, ptr noundef nonnull %55, i64 noundef 1, i64 noundef %58)
  br label %._crit_edge314

59:                                               ; preds = %44
  %60 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %18, i64 noundef %2, i64 noundef 2, i64 noundef 2, double noundef %4, double noundef %5, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef nonnull %19, ptr noundef nonnull %6, ptr noundef nonnull %12, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %11, ptr noundef %8)
  br i1 %60, label %61, label %64

61:                                               ; preds = %59
  %62 = load i64, ptr %6, align 8, !tbaa !5
  %63 = icmp eq i64 %62, 0
  br i1 %63, label %64, label %65

64:                                               ; preds = %61, %59
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge314

65:                                               ; preds = %61
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %2, ptr noundef nonnull %17, ptr noundef nonnull %18, i64 noundef %62, ptr noundef nonnull %19, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %20, ptr noundef nonnull %16, ptr noundef nonnull %13, ptr noundef %8)
  %66 = load i64, ptr %13, align 8, !tbaa !5
  %.not237 = icmp eq i64 %66, 0
  br i1 %.not237, label %.preheader249, label %71

.preheader249:                                    ; preds = %65
  %67 = load i64, ptr %6, align 8, !tbaa !5
  %.not238289 = icmp slt i64 %67, 1
  br i1 %.not238289, label %._crit_edge291, label %.preheader248.lr.ph

.preheader248.lr.ph:                              ; preds = %.preheader249
  %68 = getelementptr inbounds i8, ptr %19, i64 56
  %69 = getelementptr inbounds i8, ptr %20, i64 72
  %xtraiter355 = and i64 %2, 1
  %70 = icmp eq i64 %2, 1
  %unroll_iter358 = and i64 %2, 9223372036854775806
  %lcmp.mod357.not = icmp eq i64 %xtraiter355, 0
  br label %.preheader248

71:                                               ; preds = %65
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge314

.preheader248:                                    ; preds = %.preheader248.lr.ph, %._crit_edge288
  %72 = phi i64 [ %67, %.preheader248.lr.ph ], [ %81, %._crit_edge288 ]
  %.0213290 = phi i64 [ 1, %.preheader248.lr.ph ], [ %124, %._crit_edge288 ]
  %.not244278 = icmp sgt i64 %.0213290, %72
  br i1 %.not244278, label %.lr.ph287.preheader, label %.lr.ph281

.lr.ph281:                                        ; preds = %.preheader248, %.lr.ph281
  %.0280 = phi i64 [ %spec.select, %.lr.ph281 ], [ %.0213290, %.preheader248 ]
  %.0209279 = phi i64 [ %79, %.lr.ph281 ], [ %.0213290, %.preheader248 ]
  %73 = load ptr, ptr %68, align 8, !tbaa !9
  %74 = getelementptr inbounds double, ptr %73, i64 %.0209279
  %75 = load double, ptr %74, align 8, !tbaa !10
  %76 = getelementptr inbounds double, ptr %73, i64 %.0280
  %77 = load double, ptr %76, align 8, !tbaa !10
  %78 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %75, double noundef %77)
  %spec.select = select i1 %78, i64 %.0209279, i64 %.0280
  %79 = add nuw nsw i64 %.0209279, 1
  %80 = load i64, ptr %6, align 8, !tbaa !5
  %.not244.not = icmp slt i64 %.0209279, %80
  br i1 %.not244.not, label %.lr.ph281, label %.lr.ph287.preheader, !llvm.loop !12

.lr.ph287.preheader:                              ; preds = %.lr.ph281, %.preheader248
  %81 = phi i64 [ %72, %.preheader248 ], [ %80, %.lr.ph281 ]
  %.0.lcssa = phi i64 [ %.0213290, %.preheader248 ], [ %spec.select, %.lr.ph281 ]
  %82 = load ptr, ptr %68, align 8, !tbaa !9
  %83 = getelementptr inbounds double, ptr %82, i64 %.0213290
  %84 = load double, ptr %83, align 8, !tbaa !10
  %85 = getelementptr inbounds double, ptr %82, i64 %.0.lcssa
  %86 = load double, ptr %85, align 8, !tbaa !10
  store double %86, ptr %83, align 8, !tbaa !10
  %87 = load ptr, ptr %68, align 8, !tbaa !9
  %88 = getelementptr inbounds double, ptr %87, i64 %.0.lcssa
  store double %84, ptr %88, align 8, !tbaa !10
  br i1 %70, label %._crit_edge288.unr-lcssa, label %.lr.ph287

.lr.ph287:                                        ; preds = %.lr.ph287.preheader, %.lr.ph287
  %.1210285 = phi i64 [ %112, %.lr.ph287 ], [ 1, %.lr.ph287.preheader ]
  %niter359 = phi i64 [ %niter359.next.1, %.lr.ph287 ], [ 0, %.lr.ph287.preheader ]
  %89 = load ptr, ptr %69, align 8, !tbaa !9
  %90 = getelementptr inbounds ptr, ptr %89, i64 %.1210285
  %91 = load ptr, ptr %90, align 8, !tbaa !14
  %92 = getelementptr inbounds double, ptr %91, i64 %.0213290
  %93 = load double, ptr %92, align 8, !tbaa !10
  %94 = getelementptr inbounds double, ptr %91, i64 %.0.lcssa
  %95 = load double, ptr %94, align 8, !tbaa !10
  store double %95, ptr %92, align 8, !tbaa !10
  %96 = load ptr, ptr %69, align 8, !tbaa !9
  %97 = getelementptr inbounds ptr, ptr %96, i64 %.1210285
  %98 = load ptr, ptr %97, align 8, !tbaa !14
  %99 = getelementptr inbounds double, ptr %98, i64 %.0.lcssa
  store double %93, ptr %99, align 8, !tbaa !10
  %100 = add nuw i64 %.1210285, 1
  %101 = load ptr, ptr %69, align 8, !tbaa !9
  %102 = getelementptr inbounds ptr, ptr %101, i64 %100
  %103 = load ptr, ptr %102, align 8, !tbaa !14
  %104 = getelementptr inbounds double, ptr %103, i64 %.0213290
  %105 = load double, ptr %104, align 8, !tbaa !10
  %106 = getelementptr inbounds double, ptr %103, i64 %.0.lcssa
  %107 = load double, ptr %106, align 8, !tbaa !10
  store double %107, ptr %104, align 8, !tbaa !10
  %108 = load ptr, ptr %69, align 8, !tbaa !9
  %109 = getelementptr inbounds ptr, ptr %108, i64 %100
  %110 = load ptr, ptr %109, align 8, !tbaa !14
  %111 = getelementptr inbounds double, ptr %110, i64 %.0.lcssa
  store double %105, ptr %111, align 8, !tbaa !10
  %112 = add nuw i64 %.1210285, 2
  %niter359.next.1 = add i64 %niter359, 2
  %niter359.ncmp.1 = icmp eq i64 %niter359.next.1, %unroll_iter358
  br i1 %niter359.ncmp.1, label %._crit_edge288.unr-lcssa, label %.lr.ph287, !llvm.loop !16

._crit_edge288.unr-lcssa:                         ; preds = %.lr.ph287, %.lr.ph287.preheader
  %.1210285.unr = phi i64 [ 1, %.lr.ph287.preheader ], [ %112, %.lr.ph287 ]
  br i1 %lcmp.mod357.not, label %._crit_edge288, label %.lr.ph287.epil

.lr.ph287.epil:                                   ; preds = %._crit_edge288.unr-lcssa
  %113 = load ptr, ptr %69, align 8, !tbaa !9
  %114 = getelementptr inbounds ptr, ptr %113, i64 %.1210285.unr
  %115 = load ptr, ptr %114, align 8, !tbaa !14
  %116 = getelementptr inbounds double, ptr %115, i64 %.0213290
  %117 = load double, ptr %116, align 8, !tbaa !10
  %118 = getelementptr inbounds double, ptr %115, i64 %.0.lcssa
  %119 = load double, ptr %118, align 8, !tbaa !10
  store double %119, ptr %116, align 8, !tbaa !10
  %120 = load ptr, ptr %69, align 8, !tbaa !9
  %121 = getelementptr inbounds ptr, ptr %120, i64 %.1210285.unr
  %122 = load ptr, ptr %121, align 8, !tbaa !14
  %123 = getelementptr inbounds double, ptr %122, i64 %.0.lcssa
  store double %117, ptr %123, align 8, !tbaa !10
  br label %._crit_edge288

._crit_edge288:                                   ; preds = %._crit_edge288.unr-lcssa, %.lr.ph287.epil
  %124 = add nuw nsw i64 %.0213290, 1
  %.not238.not = icmp slt i64 %.0213290, %81
  br i1 %.not238.not, label %.preheader248, label %._crit_edge291, !llvm.loop !17

._crit_edge291:                                   ; preds = %._crit_edge288, %.preheader249
  %.lcssa252 = phi i64 [ %67, %.preheader249 ], [ %81, %._crit_edge288 ]
  %125 = add nsw i64 %.lcssa252, 1
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %125, i64 noundef %29, ptr noundef %8)
  %126 = load i64, ptr %6, align 8, !tbaa !5
  %.not239293 = icmp slt i64 %126, 1
  br i1 %.not239293, label %.preheader.lr.ph.thread, label %.lr.ph296

.preheader.lr.ph.thread:                          ; preds = %._crit_edge291
  %127 = add nsw i64 %2, -1
  br label %._crit_edge303

.lr.ph296:                                        ; preds = %._crit_edge291
  %128 = getelementptr inbounds i8, ptr %21, i64 72
  %129 = getelementptr inbounds i8, ptr %20, i64 72
  %130 = getelementptr inbounds i8, ptr %20, i64 16
  br label %136

.preheader.lr.ph:                                 ; preds = %136
  %131 = getelementptr inbounds i8, ptr %7, i64 72
  %132 = getelementptr inbounds i8, ptr %21, i64 72
  %133 = add nsw i64 %2, -1
  %134 = getelementptr inbounds i8, ptr %20, i64 72
  %135 = icmp slt i64 %148, 1
  br i1 %135, label %._crit_edge303, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader.lr.ph
  %smax322 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  br label %.preheader

136:                                              ; preds = %.lr.ph296, %136
  %.1214294 = phi i64 [ 1, %.lr.ph296 ], [ %147, %136 ]
  %137 = load ptr, ptr %128, align 8, !tbaa !9
  %138 = getelementptr inbounds ptr, ptr %137, i64 %.1214294
  %139 = load ptr, ptr %138, align 8, !tbaa !14
  %140 = getelementptr inbounds i8, ptr %139, i64 8
  %141 = load ptr, ptr %129, align 8, !tbaa !9
  %142 = getelementptr inbounds i8, ptr %141, i64 8
  %143 = load ptr, ptr %142, align 8, !tbaa !14
  %144 = getelementptr inbounds double, ptr %143, i64 %.1214294
  %145 = load i64, ptr %130, align 8, !tbaa !18
  %146 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %2)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %140, i64 noundef 1, ptr noundef nonnull %144, i64 noundef %145, i64 noundef %146)
  %147 = add nuw nsw i64 %.1214294, 1
  %148 = load i64, ptr %6, align 8, !tbaa !5
  %.not239.not = icmp slt i64 %.1214294, %148
  br i1 %.not239.not, label %136, label %.preheader.lr.ph, !llvm.loop !22

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge300
  %149 = phi i64 [ %166, %._crit_edge300 ], [ %148, %.preheader.preheader ]
  %.2215302 = phi i64 [ %167, %._crit_edge300 ], [ 1, %.preheader.preheader ]
  %.not243297 = icmp slt i64 %149, 1
  br i1 %.not243297, label %._crit_edge300, label %.lr.ph299

.lr.ph299:                                        ; preds = %.preheader, %.lr.ph299
  %.2211298 = phi i64 [ %164, %.lr.ph299 ], [ 1, %.preheader ]
  %150 = load ptr, ptr %131, align 8, !tbaa !9
  %151 = getelementptr ptr, ptr %150, i64 %.2215302
  %152 = getelementptr i8, ptr %151, i64 -8
  %153 = load ptr, ptr %152, align 8, !tbaa !14
  %154 = load ptr, ptr %132, align 8, !tbaa !9
  %155 = getelementptr inbounds ptr, ptr %154, i64 %.2211298
  %156 = load ptr, ptr %155, align 8, !tbaa !14
  %157 = getelementptr inbounds i8, ptr %156, i64 8
  %158 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %133)
  %159 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %153, i64 noundef 1, ptr noundef nonnull %157, i64 noundef 1, i64 noundef %158)
  %160 = load ptr, ptr %134, align 8, !tbaa !9
  %161 = getelementptr inbounds ptr, ptr %160, i64 %.2215302
  %162 = load ptr, ptr %161, align 8, !tbaa !14
  %163 = getelementptr inbounds double, ptr %162, i64 %.2211298
  store double %159, ptr %163, align 8, !tbaa !10
  %164 = add nuw nsw i64 %.2211298, 1
  %165 = load i64, ptr %6, align 8, !tbaa !5
  %.not243.not = icmp slt i64 %.2211298, %165
  br i1 %.not243.not, label %.lr.ph299, label %._crit_edge300, !llvm.loop !23

._crit_edge300:                                   ; preds = %.lr.ph299, %.preheader
  %166 = phi i64 [ %149, %.preheader ], [ %165, %.lr.ph299 ]
  %167 = add nuw i64 %.2215302, 1
  %exitcond323.not = icmp eq i64 %.2215302, %smax322
  br i1 %exitcond323.not, label %._crit_edge303, label %.preheader, !llvm.loop !24

._crit_edge303:                                   ; preds = %._crit_edge300, %.preheader.lr.ph, %.preheader.lr.ph.thread
  %168 = phi i64 [ %127, %.preheader.lr.ph.thread ], [ %133, %.preheader.lr.ph ], [ %133, %._crit_edge300 ]
  %169 = phi i64 [ %126, %.preheader.lr.ph.thread ], [ %148, %.preheader.lr.ph ], [ %166, %._crit_edge300 ]
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %7, i64 noundef %2, i64 noundef %169, ptr noundef %8)
  %170 = load i64, ptr %6, align 8, !tbaa !5
  %.not241304 = icmp slt i64 %170, 1
  br i1 %.not241304, label %._crit_edge308, label %.lr.ph307

.lr.ph307:                                        ; preds = %._crit_edge303
  %171 = getelementptr inbounds i8, ptr %7, i64 72
  %172 = getelementptr inbounds i8, ptr %7, i64 16
  %173 = getelementptr inbounds i8, ptr %20, i64 72
  %174 = getelementptr inbounds i8, ptr %20, i64 16
  br label %175

175:                                              ; preds = %.lr.ph307, %175
  %.3216305 = phi i64 [ 1, %.lr.ph307 ], [ %187, %175 ]
  %176 = load ptr, ptr %171, align 8, !tbaa !9
  %177 = load ptr, ptr %176, align 8, !tbaa !14
  %178 = getelementptr double, ptr %177, i64 %.3216305
  %179 = getelementptr i8, ptr %178, i64 -8
  %180 = load i64, ptr %172, align 8, !tbaa !18
  %181 = load ptr, ptr %173, align 8, !tbaa !9
  %182 = getelementptr inbounds i8, ptr %181, i64 8
  %183 = load ptr, ptr %182, align 8, !tbaa !14
  %184 = getelementptr inbounds double, ptr %183, i64 %.3216305
  %185 = load i64, ptr %174, align 8, !tbaa !18
  %186 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %168)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %179, i64 noundef %180, ptr noundef nonnull %184, i64 noundef %185, i64 noundef %186)
  %187 = add nuw nsw i64 %.3216305, 1
  %188 = load i64, ptr %6, align 8, !tbaa !5
  %.not241.not = icmp slt i64 %.3216305, %188
  br i1 %.not241.not, label %175, label %._crit_edge308, !llvm.loop !26

._crit_edge308:                                   ; preds = %175, %._crit_edge303
  %.lcssa = phi i64 [ %170, %._crit_edge303 ], [ %188, %175 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %0, i64 noundef %.lcssa, ptr noundef %8)
  %189 = load i64, ptr %6, align 8, !tbaa !5
  %.not242310 = icmp slt i64 %189, 1
  br i1 %.not242310, label %._crit_edge314, label %.lr.ph313

.lr.ph313:                                        ; preds = %._crit_edge308
  %190 = getelementptr inbounds i8, ptr %19, i64 56
  %xtraiter361 = and i64 %189, 3
  %191 = icmp ult i64 %189, 4
  br i1 %191, label %._crit_edge314.loopexit.unr-lcssa, label %.lr.ph313.new

.lr.ph313.new:                                    ; preds = %.lr.ph313
  %unroll_iter364 = and i64 %189, 9223372036854775804
  br label %192

192:                                              ; preds = %192, %.lr.ph313.new
  %.4217311 = phi i64 [ 1, %.lr.ph313.new ], [ %220, %192 ]
  %niter365 = phi i64 [ 0, %.lr.ph313.new ], [ %niter365.next.3, %192 ]
  %193 = load ptr, ptr %190, align 8, !tbaa !9
  %194 = getelementptr inbounds double, ptr %193, i64 %.4217311
  %195 = load double, ptr %194, align 8, !tbaa !10
  %196 = load ptr, ptr %33, align 8, !tbaa !9
  %197 = getelementptr double, ptr %196, i64 %.4217311
  %198 = getelementptr i8, ptr %197, i64 -8
  store double %195, ptr %198, align 8, !tbaa !10
  %199 = add nuw nsw i64 %.4217311, 1
  %200 = load ptr, ptr %190, align 8, !tbaa !9
  %201 = getelementptr inbounds double, ptr %200, i64 %199
  %202 = load double, ptr %201, align 8, !tbaa !10
  %203 = load ptr, ptr %33, align 8, !tbaa !9
  %204 = getelementptr double, ptr %203, i64 %199
  %205 = getelementptr i8, ptr %204, i64 -8
  store double %202, ptr %205, align 8, !tbaa !10
  %206 = add nuw nsw i64 %.4217311, 2
  %207 = load ptr, ptr %190, align 8, !tbaa !9
  %208 = getelementptr inbounds double, ptr %207, i64 %206
  %209 = load double, ptr %208, align 8, !tbaa !10
  %210 = load ptr, ptr %33, align 8, !tbaa !9
  %211 = getelementptr double, ptr %210, i64 %206
  %212 = getelementptr i8, ptr %211, i64 -8
  store double %209, ptr %212, align 8, !tbaa !10
  %213 = add nuw i64 %.4217311, 3
  %214 = load ptr, ptr %190, align 8, !tbaa !9
  %215 = getelementptr inbounds double, ptr %214, i64 %213
  %216 = load double, ptr %215, align 8, !tbaa !10
  %217 = load ptr, ptr %33, align 8, !tbaa !9
  %218 = getelementptr double, ptr %217, i64 %213
  %219 = getelementptr i8, ptr %218, i64 -8
  store double %216, ptr %219, align 8, !tbaa !10
  %220 = add nuw i64 %.4217311, 4
  %niter365.next.3 = add i64 %niter365, 4
  %niter365.ncmp.3 = icmp eq i64 %niter365.next.3, %unroll_iter364
  br i1 %niter365.ncmp.3, label %._crit_edge314.loopexit.unr-lcssa, label %192, !llvm.loop !27

221:                                              ; preds = %44
  %222 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef nonnull %18, i64 noundef %2, i64 noundef 2, i64 noundef 2, double noundef %4, double noundef %5, i64 noundef 0, i64 noundef 0, double noundef -1.000000e+00, ptr noundef nonnull %19, ptr noundef nonnull %6, ptr noundef nonnull %12, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %11, ptr noundef %8)
  br i1 %222, label %223, label %226

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

226:                                              ; preds = %223, %221
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge314

227:                                              ; preds = %223
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %2, ptr noundef nonnull %17, ptr noundef nonnull %18, i64 noundef %224, ptr noundef nonnull %19, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %20, ptr noundef nonnull %16, ptr noundef nonnull %13, ptr noundef %8)
  %228 = load i64, ptr %13, align 8, !tbaa !5
  %.not231 = icmp eq i64 %228, 0
  br i1 %.not231, label %.preheader251, label %233

.preheader251:                                    ; preds = %227
  %229 = load i64, ptr %6, align 8, !tbaa !5
  %.not232263 = icmp slt i64 %229, 1
  br i1 %.not232263, label %._crit_edge265, label %.preheader250.lr.ph

.preheader250.lr.ph:                              ; preds = %.preheader251
  %230 = getelementptr inbounds i8, ptr %19, i64 56
  %231 = getelementptr inbounds i8, ptr %20, i64 72
  %xtraiter = and i64 %2, 1
  %232 = icmp eq i64 %2, 1
  %unroll_iter = and i64 %2, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader250

233:                                              ; preds = %227
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge314

.preheader250:                                    ; preds = %.preheader250.lr.ph, %._crit_edge262
  %234 = phi i64 [ %229, %.preheader250.lr.ph ], [ %243, %._crit_edge262 ]
  %.5264 = phi i64 [ 1, %.preheader250.lr.ph ], [ %286, %._crit_edge262 ]
  %.not235255 = icmp sgt i64 %.5264, %234
  br i1 %.not235255, label %.lr.ph261.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader250, %.lr.ph
  %.2257 = phi i64 [ %spec.select246, %.lr.ph ], [ %.5264, %.preheader250 ]
  %.3212256 = phi i64 [ %241, %.lr.ph ], [ %.5264, %.preheader250 ]
  %235 = load ptr, ptr %230, align 8, !tbaa !9
  %236 = getelementptr inbounds double, ptr %235, i64 %.3212256
  %237 = load double, ptr %236, align 8, !tbaa !10
  %238 = getelementptr inbounds double, ptr %235, i64 %.2257
  %239 = load double, ptr %238, align 8, !tbaa !10
  %240 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %237, double noundef %239)
  %spec.select246 = select i1 %240, i64 %.3212256, i64 %.2257
  %241 = add nuw nsw i64 %.3212256, 1
  %242 = load i64, ptr %6, align 8, !tbaa !5
  %.not235.not = icmp slt i64 %.3212256, %242
  br i1 %.not235.not, label %.lr.ph, label %.lr.ph261.preheader, !llvm.loop !28

.lr.ph261.preheader:                              ; preds = %.lr.ph, %.preheader250
  %243 = phi i64 [ %234, %.preheader250 ], [ %242, %.lr.ph ]
  %.2.lcssa = phi i64 [ %.5264, %.preheader250 ], [ %spec.select246, %.lr.ph ]
  %244 = load ptr, ptr %230, align 8, !tbaa !9
  %245 = getelementptr inbounds double, ptr %244, i64 %.5264
  %246 = load double, ptr %245, align 8, !tbaa !10
  %247 = getelementptr inbounds double, ptr %244, i64 %.2.lcssa
  %248 = load double, ptr %247, align 8, !tbaa !10
  store double %248, ptr %245, align 8, !tbaa !10
  %249 = load ptr, ptr %230, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %249, i64 %.2.lcssa
  store double %246, ptr %250, align 8, !tbaa !10
  br i1 %232, label %._crit_edge262.unr-lcssa, label %.lr.ph261

.lr.ph261:                                        ; preds = %.lr.ph261.preheader, %.lr.ph261
  %.4259 = phi i64 [ %274, %.lr.ph261 ], [ 1, %.lr.ph261.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph261 ], [ 0, %.lr.ph261.preheader ]
  %251 = load ptr, ptr %231, align 8, !tbaa !9
  %252 = getelementptr inbounds ptr, ptr %251, i64 %.4259
  %253 = load ptr, ptr %252, align 8, !tbaa !14
  %254 = getelementptr inbounds double, ptr %253, i64 %.5264
  %255 = load double, ptr %254, align 8, !tbaa !10
  %256 = getelementptr inbounds double, ptr %253, i64 %.2.lcssa
  %257 = load double, ptr %256, align 8, !tbaa !10
  store double %257, ptr %254, align 8, !tbaa !10
  %258 = load ptr, ptr %231, align 8, !tbaa !9
  %259 = getelementptr inbounds ptr, ptr %258, i64 %.4259
  %260 = load ptr, ptr %259, align 8, !tbaa !14
  %261 = getelementptr inbounds double, ptr %260, i64 %.2.lcssa
  store double %255, ptr %261, align 8, !tbaa !10
  %262 = add nuw i64 %.4259, 1
  %263 = load ptr, ptr %231, align 8, !tbaa !9
  %264 = getelementptr inbounds ptr, ptr %263, i64 %262
  %265 = load ptr, ptr %264, align 8, !tbaa !14
  %266 = getelementptr inbounds double, ptr %265, i64 %.5264
  %267 = load double, ptr %266, align 8, !tbaa !10
  %268 = getelementptr inbounds double, ptr %265, i64 %.2.lcssa
  %269 = load double, ptr %268, align 8, !tbaa !10
  store double %269, ptr %266, align 8, !tbaa !10
  %270 = load ptr, ptr %231, align 8, !tbaa !9
  %271 = getelementptr inbounds ptr, ptr %270, i64 %262
  %272 = load ptr, ptr %271, align 8, !tbaa !14
  %273 = getelementptr inbounds double, ptr %272, i64 %.2.lcssa
  store double %267, ptr %273, align 8, !tbaa !10
  %274 = add nuw i64 %.4259, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge262.unr-lcssa, label %.lr.ph261, !llvm.loop !29

._crit_edge262.unr-lcssa:                         ; preds = %.lr.ph261, %.lr.ph261.preheader
  %.4259.unr = phi i64 [ 1, %.lr.ph261.preheader ], [ %274, %.lr.ph261 ]
  br i1 %lcmp.mod.not, label %._crit_edge262, label %.lr.ph261.epil

.lr.ph261.epil:                                   ; preds = %._crit_edge262.unr-lcssa
  %275 = load ptr, ptr %231, align 8, !tbaa !9
  %276 = getelementptr inbounds ptr, ptr %275, i64 %.4259.unr
  %277 = load ptr, ptr %276, align 8, !tbaa !14
  %278 = getelementptr inbounds double, ptr %277, i64 %.5264
  %279 = load double, ptr %278, align 8, !tbaa !10
  %280 = getelementptr inbounds double, ptr %277, i64 %.2.lcssa
  %281 = load double, ptr %280, align 8, !tbaa !10
  store double %281, ptr %278, align 8, !tbaa !10
  %282 = load ptr, ptr %231, align 8, !tbaa !9
  %283 = getelementptr inbounds ptr, ptr %282, i64 %.4259.unr
  %284 = load ptr, ptr %283, align 8, !tbaa !14
  %285 = getelementptr inbounds double, ptr %284, i64 %.2.lcssa
  store double %279, ptr %285, align 8, !tbaa !10
  br label %._crit_edge262

._crit_edge262:                                   ; preds = %._crit_edge262.unr-lcssa, %.lr.ph261.epil
  %286 = add nuw nsw i64 %.5264, 1
  %.not232.not = icmp slt i64 %.5264, %243
  br i1 %.not232.not, label %.preheader250, label %._crit_edge265, !llvm.loop !30

._crit_edge265:                                   ; preds = %._crit_edge262, %.preheader251
  %.lcssa254 = phi i64 [ %229, %.preheader251 ], [ %243, %._crit_edge262 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %0, i64 noundef %.lcssa254, ptr noundef %8)
  %287 = load i64, ptr %6, align 8, !tbaa !5
  %.not233267 = icmp slt i64 %287, 1
  br i1 %.not233267, label %._crit_edge271, label %.lr.ph270

.lr.ph270:                                        ; preds = %._crit_edge265
  %288 = getelementptr inbounds i8, ptr %19, i64 56
  %xtraiter351 = and i64 %287, 3
  %289 = icmp ult i64 %287, 4
  br i1 %289, label %._crit_edge271.loopexit.unr-lcssa, label %.lr.ph270.new

.lr.ph270.new:                                    ; preds = %.lr.ph270
  %unroll_iter353 = and i64 %287, 9223372036854775804
  br label %290

290:                                              ; preds = %290, %.lr.ph270.new
  %.6268 = phi i64 [ 1, %.lr.ph270.new ], [ %318, %290 ]
  %niter354 = phi i64 [ 0, %.lr.ph270.new ], [ %niter354.next.3, %290 ]
  %291 = load ptr, ptr %288, align 8, !tbaa !9
  %292 = getelementptr inbounds double, ptr %291, i64 %.6268
  %293 = load double, ptr %292, align 8, !tbaa !10
  %294 = load ptr, ptr %33, align 8, !tbaa !9
  %295 = getelementptr double, ptr %294, i64 %.6268
  %296 = getelementptr i8, ptr %295, i64 -8
  store double %293, ptr %296, align 8, !tbaa !10
  %297 = add nuw nsw i64 %.6268, 1
  %298 = load ptr, ptr %288, align 8, !tbaa !9
  %299 = getelementptr inbounds double, ptr %298, i64 %297
  %300 = load double, ptr %299, align 8, !tbaa !10
  %301 = load ptr, ptr %33, align 8, !tbaa !9
  %302 = getelementptr double, ptr %301, i64 %297
  %303 = getelementptr i8, ptr %302, i64 -8
  store double %300, ptr %303, align 8, !tbaa !10
  %304 = add nuw nsw i64 %.6268, 2
  %305 = load ptr, ptr %288, align 8, !tbaa !9
  %306 = getelementptr inbounds double, ptr %305, i64 %304
  %307 = load double, ptr %306, align 8, !tbaa !10
  %308 = load ptr, ptr %33, align 8, !tbaa !9
  %309 = getelementptr double, ptr %308, i64 %304
  %310 = getelementptr i8, ptr %309, i64 -8
  store double %307, ptr %310, align 8, !tbaa !10
  %311 = add nuw i64 %.6268, 3
  %312 = load ptr, ptr %288, align 8, !tbaa !9
  %313 = getelementptr inbounds double, ptr %312, i64 %311
  %314 = load double, ptr %313, align 8, !tbaa !10
  %315 = load ptr, ptr %33, align 8, !tbaa !9
  %316 = getelementptr double, ptr %315, i64 %311
  %317 = getelementptr i8, ptr %316, i64 -8
  store double %314, ptr %317, align 8, !tbaa !10
  %318 = add nuw i64 %.6268, 4
  %niter354.next.3 = add i64 %niter354, 4
  %niter354.ncmp.3 = icmp eq i64 %niter354.next.3, %unroll_iter353
  br i1 %niter354.ncmp.3, label %._crit_edge271.loopexit.unr-lcssa, label %290, !llvm.loop !31

._crit_edge271.loopexit.unr-lcssa:                ; preds = %290, %.lr.ph270
  %.6268.unr = phi i64 [ 1, %.lr.ph270 ], [ %318, %290 ]
  %lcmp.mod352.not = icmp eq i64 %xtraiter351, 0
  br i1 %lcmp.mod352.not, label %._crit_edge271, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge271.loopexit.unr-lcssa, %.epil.preheader
  %.6268.epil = phi i64 [ %325, %.epil.preheader ], [ %.6268.unr, %._crit_edge271.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge271.loopexit.unr-lcssa ]
  %319 = load ptr, ptr %288, align 8, !tbaa !9
  %320 = getelementptr inbounds double, ptr %319, i64 %.6268.epil
  %321 = load double, ptr %320, align 8, !tbaa !10
  %322 = load ptr, ptr %33, align 8, !tbaa !9
  %323 = getelementptr double, ptr %322, i64 %.6268.epil
  %324 = getelementptr i8, ptr %323, i64 -8
  store double %321, ptr %324, align 8, !tbaa !10
  %325 = add nuw i64 %.6268.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter351
  br i1 %epil.iter.cmp.not, label %._crit_edge271, label %.epil.preheader, !llvm.loop !32

._crit_edge271:                                   ; preds = %._crit_edge271.loopexit.unr-lcssa, %.epil.preheader, %._crit_edge265
  %326 = add nsw i64 %2, -1
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %7, i64 noundef %2, i64 noundef %287, ptr noundef %8)
  %327 = load i64, ptr %6, align 8, !tbaa !5
  %.not234273 = icmp slt i64 %327, 1
  br i1 %.not234273, label %._crit_edge314, label %.lr.ph276

.lr.ph276:                                        ; preds = %._crit_edge271
  %328 = getelementptr inbounds i8, ptr %7, i64 72
  %329 = getelementptr inbounds i8, ptr %7, i64 16
  %330 = getelementptr inbounds i8, ptr %20, i64 72
  %331 = getelementptr inbounds i8, ptr %20, i64 16
  br label %332

332:                                              ; preds = %.lr.ph276, %332
  %.7274 = phi i64 [ 1, %.lr.ph276 ], [ %344, %332 ]
  %333 = load ptr, ptr %328, align 8, !tbaa !9
  %334 = load ptr, ptr %333, align 8, !tbaa !14
  %335 = getelementptr double, ptr %334, i64 %.7274
  %336 = getelementptr i8, ptr %335, i64 -8
  %337 = load i64, ptr %329, align 8, !tbaa !18
  %338 = load ptr, ptr %330, align 8, !tbaa !9
  %339 = getelementptr inbounds i8, ptr %338, i64 8
  %340 = load ptr, ptr %339, align 8, !tbaa !14
  %341 = getelementptr inbounds double, ptr %340, i64 %.7274
  %342 = load i64, ptr %331, align 8, !tbaa !18
  %343 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %326)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %336, i64 noundef %337, ptr noundef nonnull %341, i64 noundef %342, i64 noundef %343)
  %344 = add nuw nsw i64 %.7274, 1
  %345 = load i64, ptr %6, align 8, !tbaa !5
  %.not234.not = icmp slt i64 %.7274, %345
  br i1 %.not234.not, label %332, label %._crit_edge314, !llvm.loop !34

._crit_edge314.loopexit.unr-lcssa:                ; preds = %192, %.lr.ph313
  %.4217311.unr = phi i64 [ 1, %.lr.ph313 ], [ %220, %192 ]
  %lcmp.mod363.not = icmp eq i64 %xtraiter361, 0
  br i1 %lcmp.mod363.not, label %._crit_edge314, label %.epil.preheader360

.epil.preheader360:                               ; preds = %._crit_edge314.loopexit.unr-lcssa, %.epil.preheader360
  %.4217311.epil = phi i64 [ %352, %.epil.preheader360 ], [ %.4217311.unr, %._crit_edge314.loopexit.unr-lcssa ]
  %epil.iter362 = phi i64 [ %epil.iter362.next, %.epil.preheader360 ], [ 0, %._crit_edge314.loopexit.unr-lcssa ]
  %346 = load ptr, ptr %190, align 8, !tbaa !9
  %347 = getelementptr inbounds double, ptr %346, i64 %.4217311.epil
  %348 = load double, ptr %347, align 8, !tbaa !10
  %349 = load ptr, ptr %33, align 8, !tbaa !9
  %350 = getelementptr double, ptr %349, i64 %.4217311.epil
  %351 = getelementptr i8, ptr %350, i64 -8
  store double %348, ptr %351, align 8, !tbaa !10
  %352 = add nuw i64 %.4217311.epil, 1
  %epil.iter362.next = add i64 %epil.iter362, 1
  %epil.iter362.cmp.not = icmp eq i64 %epil.iter362.next, %xtraiter361
  br i1 %epil.iter362.cmp.not, label %._crit_edge314, label %.epil.preheader360, !llvm.loop !35

._crit_edge314:                                   ; preds = %332, %._crit_edge314.loopexit.unr-lcssa, %.epil.preheader360, %44, %._crit_edge271, %._crit_edge308, %233, %226, %71, %64, %51, %50, %27, %24
  %.0218 = phi i1 [ true, %24 ], [ true, %27 ], [ %46, %50 ], [ true, %51 ], [ %60, %64 ], [ false, %71 ], [ %222, %226 ], [ false, %233 ], [ true, %._crit_edge308 ], [ true, %._crit_edge271 ], [ false, %44 ], [ true, %.epil.preheader360 ], [ true, %._crit_edge314.loopexit.unr-lcssa ], [ true, %332 ]
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %8)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  ret i1 %.0218
}

declare noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) local_unnamed_addr #2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #4

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

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

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


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