; 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.375 = external hidden unnamed_addr constant [32 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_impl13smatrixtdevdiEPNS_9ae_vectorES1_llllPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7) #3 {
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.alglib_impl::ae_frame", align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, 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 %"struct.alglib_impl::ae_vector", 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_matrix", align 8
  %33 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %34 = alloca double, align 8
  %35 = alloca i8, align 1
  %36 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i64 %2, ptr %12, align 8, !tbaa !9
  store i64 %3, ptr %13, align 8, !tbaa !9
  store i64 %4, ptr %14, align 8, !tbaa !9
  store i64 %5, ptr %15, align 8, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, 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 64, 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 80, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #4
  %37 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %37, ptr noundef %18)
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 64, i1 false)
  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 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %33, i8 0, i64 80, i1 false)
  %38 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %26, i64 noundef 0, i64 noundef 2, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %17, 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 %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %17, 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 %40, i1 noundef zeroext true)
  %41 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %29, i64 noundef 0, i64 noundef 3, ptr noundef %41, i1 noundef zeroext true)
  %42 = load ptr, ptr %17, 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 %42, i1 noundef zeroext true)
  %43 = load ptr, ptr %17, 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 %43, i1 noundef zeroext true)
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %32, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %44, i1 noundef zeroext true)
  %45 = load ptr, ptr %17, 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 %45, i1 noundef zeroext true)
  %46 = load i64, ptr %14, align 8, !tbaa !9
  %47 = icmp sle i64 0, %46
  br i1 %47, label %48, label %56

48:                                               ; preds = %8
  %49 = load i64, ptr %14, align 8, !tbaa !9
  %50 = load i64, ptr %15, align 8, !tbaa !9
  %51 = icmp sle i64 %49, %50
  br i1 %51, label %52, label %56

52:                                               ; preds = %48
  %53 = load i64, ptr %15, align 8, !tbaa !9
  %54 = load i64, ptr %12, align 8, !tbaa !9
  %55 = icmp slt i64 %53, %54
  br label %56

56:                                               ; preds = %52, %48, %8
  %57 = phi i1 [ false, %48 ], [ false, %8 ], [ %55, %52 ]
  %58 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %57, ptr noundef @.str.375, ptr noundef %58)
  %59 = load i64, ptr %12, align 8, !tbaa !9
  %60 = add nsw i64 %59, 1
  %61 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef %60, ptr noundef %61)
  %62 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %63 = load ptr, ptr %62, align 8, !tbaa !11
  %64 = getelementptr inbounds double, ptr %63, i64 1
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !11
  %68 = getelementptr inbounds double, ptr %67, i64 0
  %69 = load i64, ptr %12, align 8, !tbaa !9
  %70 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %69)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %64, i64 noundef 1, ptr noundef %68, i64 noundef 1, i64 noundef %70)
  %71 = load i64, ptr %12, align 8, !tbaa !9
  %72 = icmp sgt i64 %71, 1
  br i1 %72, label %73, label %88

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

88:                                               ; preds = %73, %56
  %89 = load i64, ptr %13, align 8, !tbaa !9
  %90 = icmp eq i64 %89, 0
  br i1 %90, label %91, label %146

91:                                               ; preds = %88
  %92 = load i64, ptr %12, align 8, !tbaa !9
  %93 = load i64, ptr %14, align 8, !tbaa !9
  %94 = add nsw i64 %93, 1
  %95 = load i64, ptr %15, align 8, !tbaa !9
  %96 = add nsw i64 %95, 1
  %97 = load ptr, ptr %17, align 8, !tbaa !5
  %98 = 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 %92, i64 noundef 3, i64 noundef 1, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %94, i64 noundef %96, double noundef -1.000000e+00, ptr noundef %29, ptr noundef %24, ptr noundef %20, ptr noundef %26, ptr noundef %27, ptr noundef %19, ptr noundef %97)
  %99 = zext i1 %98 to i8
  store i8 %99, ptr %35, align 1, !tbaa !12
  %100 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %101 = trunc i8 %100 to i1
  br i1 %101, label %106, label %102

102:                                              ; preds = %91
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %103)
  %104 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %105 = trunc i8 %104 to i1
  store i1 %105, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

106:                                              ; preds = %91
  %107 = load i64, ptr %24, align 8, !tbaa !9
  %108 = load i64, ptr %15, align 8, !tbaa !9
  %109 = load i64, ptr %14, align 8, !tbaa !9
  %110 = sub nsw i64 %108, %109
  %111 = add nsw i64 %110, 1
  %112 = icmp ne i64 %107, %111
  br i1 %112, label %113, label %117

113:                                              ; preds = %106
  store i8 0, ptr %35, align 1, !tbaa !12
  %114 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %114)
  %115 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %116 = trunc i8 %115 to i1
  store i1 %116, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

117:                                              ; preds = %106
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = load i64, ptr %24, align 8, !tbaa !9
  %120 = sub nsw i64 %119, 1
  %121 = add nsw i64 %120, 1
  %122 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %118, i64 noundef %121, ptr noundef %122)
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %123

123:                                              ; preds = %139, %117
  %124 = load i64, ptr %21, align 8, !tbaa !9
  %125 = load i64, ptr %24, align 8, !tbaa !9
  %126 = icmp sle i64 %124, %125
  br i1 %126, label %127, label %142

127:                                              ; preds = %123
  %128 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %129 = load ptr, ptr %128, align 8, !tbaa !11
  %130 = load i64, ptr %21, align 8, !tbaa !9
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !16
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %133, i32 0, i32 4
  %135 = load ptr, ptr %134, align 8, !tbaa !11
  %136 = load i64, ptr %21, align 8, !tbaa !9
  %137 = sub nsw i64 %136, 1
  %138 = getelementptr inbounds double, ptr %135, i64 %137
  store double %132, ptr %138, align 8, !tbaa !16
  br label %139

139:                                              ; preds = %127
  %140 = load i64, ptr %21, align 8, !tbaa !9
  %141 = add nsw i64 %140, 1
  store i64 %141, ptr %21, align 8, !tbaa !9
  br label %123, !llvm.loop !18

142:                                              ; preds = %123
  %143 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %143)
  %144 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %145 = trunc i8 %144 to i1
  store i1 %145, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

146:                                              ; preds = %88
  %147 = load i64, ptr %13, align 8, !tbaa !9
  %148 = icmp eq i64 %147, 1
  br i1 %148, label %149, label %420

149:                                              ; preds = %146
  %150 = load i64, ptr %12, align 8, !tbaa !9
  %151 = load i64, ptr %14, align 8, !tbaa !9
  %152 = add nsw i64 %151, 1
  %153 = load i64, ptr %15, align 8, !tbaa !9
  %154 = add nsw i64 %153, 1
  %155 = load ptr, ptr %17, align 8, !tbaa !5
  %156 = 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 %150, i64 noundef 3, i64 noundef 2, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %152, i64 noundef %154, double noundef -1.000000e+00, ptr noundef %29, ptr noundef %24, ptr noundef %20, ptr noundef %26, ptr noundef %27, ptr noundef %19, ptr noundef %155)
  %157 = zext i1 %156 to i8
  store i8 %157, ptr %35, align 1, !tbaa !12
  %158 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %159 = trunc i8 %158 to i1
  br i1 %159, label %164, label %160

160:                                              ; preds = %149
  %161 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %161)
  %162 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %163 = trunc i8 %162 to i1
  store i1 %163, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

164:                                              ; preds = %149
  %165 = load i64, ptr %24, align 8, !tbaa !9
  %166 = load i64, ptr %15, align 8, !tbaa !9
  %167 = load i64, ptr %14, align 8, !tbaa !9
  %168 = sub nsw i64 %166, %167
  %169 = add nsw i64 %168, 1
  %170 = icmp ne i64 %165, %169
  br i1 %170, label %171, label %175

171:                                              ; preds = %164
  store i8 0, ptr %35, align 1, !tbaa !12
  %172 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %172)
  %173 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %174 = trunc i8 %173 to i1
  store i1 %174, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

175:                                              ; preds = %164
  %176 = load i64, ptr %12, align 8, !tbaa !9
  %177 = load i64, ptr %24, align 8, !tbaa !9
  %178 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %176, ptr noundef %30, ptr noundef %31, i64 noundef %177, ptr noundef %29, ptr noundef %26, ptr noundef %27, ptr noundef %32, ptr noundef %28, ptr noundef %25, ptr noundef %178)
  %179 = load i64, ptr %25, align 8, !tbaa !9
  %180 = icmp ne i64 %179, 0
  br i1 %180, label %181, label %185

181:                                              ; preds = %175
  store i8 0, ptr %35, align 1, !tbaa !12
  %182 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %182)
  %183 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %184 = trunc i8 %183 to i1
  store i1 %184, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

185:                                              ; preds = %175
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %186

186:                                              ; preds = %275, %185
  %187 = load i64, ptr %21, align 8, !tbaa !9
  %188 = load i64, ptr %24, align 8, !tbaa !9
  %189 = icmp sle i64 %187, %188
  br i1 %189, label %190, label %278

190:                                              ; preds = %186
  %191 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %191, ptr %23, align 8, !tbaa !9
  %192 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %192, ptr %22, align 8, !tbaa !9
  br label %193

193:                                              ; preds = %212, %190
  %194 = load i64, ptr %22, align 8, !tbaa !9
  %195 = load i64, ptr %24, align 8, !tbaa !9
  %196 = icmp sle i64 %194, %195
  br i1 %196, label %197, label %215

197:                                              ; preds = %193
  %198 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %199 = load ptr, ptr %198, align 8, !tbaa !11
  %200 = load i64, ptr %22, align 8, !tbaa !9
  %201 = getelementptr inbounds double, ptr %199, i64 %200
  %202 = load double, ptr %201, align 8, !tbaa !16
  %203 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %204 = load ptr, ptr %203, align 8, !tbaa !11
  %205 = load i64, ptr %23, align 8, !tbaa !9
  %206 = getelementptr inbounds double, ptr %204, i64 %205
  %207 = load double, ptr %206, align 8, !tbaa !16
  %208 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %202, double noundef %207)
  br i1 %208, label %209, label %211

209:                                              ; preds = %197
  %210 = load i64, ptr %22, align 8, !tbaa !9
  store i64 %210, ptr %23, align 8, !tbaa !9
  br label %211

211:                                              ; preds = %209, %197
  br label %212

212:                                              ; preds = %211
  %213 = load i64, ptr %22, align 8, !tbaa !9
  %214 = add nsw i64 %213, 1
  store i64 %214, ptr %22, align 8, !tbaa !9
  br label %193, !llvm.loop !20

215:                                              ; preds = %193
  %216 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %217 = load ptr, ptr %216, align 8, !tbaa !11
  %218 = load i64, ptr %21, align 8, !tbaa !9
  %219 = getelementptr inbounds double, ptr %217, i64 %218
  %220 = load double, ptr %219, align 8, !tbaa !16
  store double %220, ptr %34, align 8, !tbaa !16
  %221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %222 = load ptr, ptr %221, align 8, !tbaa !11
  %223 = load i64, ptr %23, align 8, !tbaa !9
  %224 = getelementptr inbounds double, ptr %222, i64 %223
  %225 = load double, ptr %224, align 8, !tbaa !16
  %226 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %227 = load ptr, ptr %226, align 8, !tbaa !11
  %228 = load i64, ptr %21, align 8, !tbaa !9
  %229 = getelementptr inbounds double, ptr %227, i64 %228
  store double %225, ptr %229, align 8, !tbaa !16
  %230 = load double, ptr %34, align 8, !tbaa !16
  %231 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %232 = load ptr, ptr %231, align 8, !tbaa !11
  %233 = load i64, ptr %23, align 8, !tbaa !9
  %234 = getelementptr inbounds double, ptr %232, i64 %233
  store double %230, ptr %234, align 8, !tbaa !16
  store i64 1, ptr %22, align 8, !tbaa !9
  br label %235

235:                                              ; preds = %271, %215
  %236 = load i64, ptr %22, align 8, !tbaa !9
  %237 = load i64, ptr %12, align 8, !tbaa !9
  %238 = icmp sle i64 %236, %237
  br i1 %238, label %239, label %274

239:                                              ; preds = %235
  %240 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %241 = load ptr, ptr %240, align 8, !tbaa !11
  %242 = load i64, ptr %22, align 8, !tbaa !9
  %243 = getelementptr inbounds ptr, ptr %241, i64 %242
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  %245 = load i64, ptr %21, align 8, !tbaa !9
  %246 = getelementptr inbounds double, ptr %244, i64 %245
  %247 = load double, ptr %246, align 8, !tbaa !16
  store double %247, ptr %34, align 8, !tbaa !16
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %249 = load ptr, ptr %248, align 8, !tbaa !11
  %250 = load i64, ptr %22, align 8, !tbaa !9
  %251 = getelementptr inbounds ptr, ptr %249, i64 %250
  %252 = load ptr, ptr %251, align 8, !tbaa !5
  %253 = load i64, ptr %23, align 8, !tbaa !9
  %254 = getelementptr inbounds double, ptr %252, i64 %253
  %255 = load double, ptr %254, align 8, !tbaa !16
  %256 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %257 = load ptr, ptr %256, align 8, !tbaa !11
  %258 = load i64, ptr %22, align 8, !tbaa !9
  %259 = getelementptr inbounds ptr, ptr %257, i64 %258
  %260 = load ptr, ptr %259, align 8, !tbaa !5
  %261 = load i64, ptr %21, align 8, !tbaa !9
  %262 = getelementptr inbounds double, ptr %260, i64 %261
  store double %255, ptr %262, align 8, !tbaa !16
  %263 = load double, ptr %34, align 8, !tbaa !16
  %264 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %265 = load ptr, ptr %264, align 8, !tbaa !11
  %266 = load i64, ptr %22, align 8, !tbaa !9
  %267 = getelementptr inbounds ptr, ptr %265, i64 %266
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  %269 = load i64, ptr %23, align 8, !tbaa !9
  %270 = getelementptr inbounds double, ptr %268, i64 %269
  store double %263, ptr %270, align 8, !tbaa !16
  br label %271

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

274:                                              ; preds = %235
  br label %275

275:                                              ; preds = %274
  %276 = load i64, ptr %21, align 8, !tbaa !9
  %277 = add nsw i64 %276, 1
  store i64 %277, ptr %21, align 8, !tbaa !9
  br label %186, !llvm.loop !22

278:                                              ; preds = %186
  %279 = load i64, ptr %24, align 8, !tbaa !9
  %280 = add nsw i64 %279, 1
  %281 = load i64, ptr %12, align 8, !tbaa !9
  %282 = add nsw i64 %281, 1
  %283 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %33, i64 noundef %280, i64 noundef %282, ptr noundef %283)
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %284

284:                                              ; preds = %305, %278
  %285 = load i64, ptr %21, align 8, !tbaa !9
  %286 = load i64, ptr %24, align 8, !tbaa !9
  %287 = icmp sle i64 %285, %286
  br i1 %287, label %288, label %308

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

305:                                              ; preds = %288
  %306 = load i64, ptr %21, align 8, !tbaa !9
  %307 = add nsw i64 %306, 1
  store i64 %307, ptr %21, align 8, !tbaa !9
  br label %284, !llvm.loop !26

308:                                              ; preds = %284
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %309

309:                                              ; preds = %349, %308
  %310 = load i64, ptr %21, align 8, !tbaa !9
  %311 = load i64, ptr %12, align 8, !tbaa !9
  %312 = icmp sle i64 %310, %311
  br i1 %312, label %313, label %352

313:                                              ; preds = %309
  store i64 1, ptr %22, align 8, !tbaa !9
  br label %314

314:                                              ; preds = %345, %313
  %315 = load i64, ptr %22, align 8, !tbaa !9
  %316 = load i64, ptr %24, align 8, !tbaa !9
  %317 = icmp sle i64 %315, %316
  br i1 %317, label %318, label %348

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

345:                                              ; preds = %318
  %346 = load i64, ptr %22, align 8, !tbaa !9
  %347 = add nsw i64 %346, 1
  store i64 %347, ptr %22, align 8, !tbaa !9
  br label %314, !llvm.loop !27

348:                                              ; preds = %314
  br label %349

349:                                              ; preds = %348
  %350 = load i64, ptr %21, align 8, !tbaa !9
  %351 = add nsw i64 %350, 1
  store i64 %351, ptr %21, align 8, !tbaa !9
  br label %309, !llvm.loop !28

352:                                              ; preds = %309
  %353 = load ptr, ptr %16, align 8, !tbaa !5
  %354 = load i64, ptr %12, align 8, !tbaa !9
  %355 = sub nsw i64 %354, 1
  %356 = add nsw i64 %355, 1
  %357 = load i64, ptr %24, align 8, !tbaa !9
  %358 = sub nsw i64 %357, 1
  %359 = add nsw i64 %358, 1
  %360 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %353, i64 noundef %356, i64 noundef %359, ptr noundef %360)
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %361

361:                                              ; preds = %388, %352
  %362 = load i64, ptr %21, align 8, !tbaa !9
  %363 = load i64, ptr %24, align 8, !tbaa !9
  %364 = icmp sle i64 %362, %363
  br i1 %364, label %365, label %391

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

388:                                              ; preds = %365
  %389 = load i64, ptr %21, align 8, !tbaa !9
  %390 = add nsw i64 %389, 1
  store i64 %390, ptr %21, align 8, !tbaa !9
  br label %361, !llvm.loop !29

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

397:                                              ; preds = %413, %391
  %398 = load i64, ptr %21, align 8, !tbaa !9
  %399 = load i64, ptr %24, align 8, !tbaa !9
  %400 = icmp sle i64 %398, %399
  br i1 %400, label %401, label %416

401:                                              ; preds = %397
  %402 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %403 = load ptr, ptr %402, align 8, !tbaa !11
  %404 = load i64, ptr %21, align 8, !tbaa !9
  %405 = getelementptr inbounds double, ptr %403, i64 %404
  %406 = load double, ptr %405, align 8, !tbaa !16
  %407 = load ptr, ptr %10, align 8, !tbaa !5
  %408 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %407, i32 0, i32 4
  %409 = load ptr, ptr %408, align 8, !tbaa !11
  %410 = load i64, ptr %21, align 8, !tbaa !9
  %411 = sub nsw i64 %410, 1
  %412 = getelementptr inbounds double, ptr %409, i64 %411
  store double %406, ptr %412, align 8, !tbaa !16
  br label %413

413:                                              ; preds = %401
  %414 = load i64, ptr %21, align 8, !tbaa !9
  %415 = add nsw i64 %414, 1
  store i64 %415, ptr %21, align 8, !tbaa !9
  br label %397, !llvm.loop !30

416:                                              ; preds = %397
  %417 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %417)
  %418 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %419 = trunc i8 %418 to i1
  store i1 %419, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

420:                                              ; preds = %146
  %421 = load i64, ptr %13, align 8, !tbaa !9
  %422 = icmp eq i64 %421, 2
  br i1 %422, label %423, label %620

423:                                              ; preds = %420
  %424 = load i64, ptr %12, align 8, !tbaa !9
  %425 = load i64, ptr %14, align 8, !tbaa !9
  %426 = add nsw i64 %425, 1
  %427 = load i64, ptr %15, align 8, !tbaa !9
  %428 = add nsw i64 %427, 1
  %429 = load ptr, ptr %17, align 8, !tbaa !5
  %430 = 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 %424, i64 noundef 3, i64 noundef 2, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %426, i64 noundef %428, double noundef -1.000000e+00, ptr noundef %29, ptr noundef %24, ptr noundef %20, ptr noundef %26, ptr noundef %27, ptr noundef %19, ptr noundef %429)
  %431 = zext i1 %430 to i8
  store i8 %431, ptr %35, align 1, !tbaa !12
  %432 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %433 = trunc i8 %432 to i1
  br i1 %433, label %438, label %434

434:                                              ; preds = %423
  %435 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %435)
  %436 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %437 = trunc i8 %436 to i1
  store i1 %437, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

438:                                              ; preds = %423
  %439 = load i64, ptr %24, align 8, !tbaa !9
  %440 = load i64, ptr %15, align 8, !tbaa !9
  %441 = load i64, ptr %14, align 8, !tbaa !9
  %442 = sub nsw i64 %440, %441
  %443 = add nsw i64 %442, 1
  %444 = icmp ne i64 %439, %443
  br i1 %444, label %445, label %449

445:                                              ; preds = %438
  store i8 0, ptr %35, align 1, !tbaa !12
  %446 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %446)
  %447 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %448 = trunc i8 %447 to i1
  store i1 %448, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

449:                                              ; preds = %438
  %450 = load i64, ptr %12, align 8, !tbaa !9
  %451 = load i64, ptr %24, align 8, !tbaa !9
  %452 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %450, ptr noundef %30, ptr noundef %31, i64 noundef %451, ptr noundef %29, ptr noundef %26, ptr noundef %27, ptr noundef %32, ptr noundef %28, ptr noundef %25, ptr noundef %452)
  %453 = load i64, ptr %25, align 8, !tbaa !9
  %454 = icmp ne i64 %453, 0
  br i1 %454, label %455, label %459

455:                                              ; preds = %449
  store i8 0, ptr %35, align 1, !tbaa !12
  %456 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %456)
  %457 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %458 = trunc i8 %457 to i1
  store i1 %458, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

459:                                              ; preds = %449
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %460

460:                                              ; preds = %549, %459
  %461 = load i64, ptr %21, align 8, !tbaa !9
  %462 = load i64, ptr %24, align 8, !tbaa !9
  %463 = icmp sle i64 %461, %462
  br i1 %463, label %464, label %552

464:                                              ; preds = %460
  %465 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %465, ptr %23, align 8, !tbaa !9
  %466 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %466, ptr %22, align 8, !tbaa !9
  br label %467

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

471:                                              ; preds = %467
  %472 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %473 = load ptr, ptr %472, align 8, !tbaa !11
  %474 = load i64, ptr %22, align 8, !tbaa !9
  %475 = getelementptr inbounds double, ptr %473, i64 %474
  %476 = load double, ptr %475, align 8, !tbaa !16
  %477 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %478 = load ptr, ptr %477, align 8, !tbaa !11
  %479 = load i64, ptr %23, align 8, !tbaa !9
  %480 = getelementptr inbounds double, ptr %478, i64 %479
  %481 = load double, ptr %480, align 8, !tbaa !16
  %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 %22, align 8, !tbaa !9
  store i64 %484, ptr %23, align 8, !tbaa !9
  br label %485

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

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

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

509:                                              ; preds = %545, %489
  %510 = load i64, ptr %22, align 8, !tbaa !9
  %511 = load i64, ptr %12, 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 %32, i32 0, i32 6
  %515 = load ptr, ptr %514, align 8, !tbaa !11
  %516 = load i64, ptr %22, 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 %21, align 8, !tbaa !9
  %520 = getelementptr inbounds double, ptr %518, i64 %519
  %521 = load double, ptr %520, align 8, !tbaa !16
  store double %521, ptr %34, align 8, !tbaa !16
  %522 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %523 = load ptr, ptr %522, align 8, !tbaa !11
  %524 = load i64, ptr %22, 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 %23, align 8, !tbaa !9
  %528 = getelementptr inbounds double, ptr %526, i64 %527
  %529 = load double, ptr %528, align 8, !tbaa !16
  %530 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %531 = load ptr, ptr %530, align 8, !tbaa !11
  %532 = load i64, ptr %22, 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 %21, align 8, !tbaa !9
  %536 = getelementptr inbounds double, ptr %534, i64 %535
  store double %529, ptr %536, align 8, !tbaa !16
  %537 = load double, ptr %34, align 8, !tbaa !16
  %538 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %539 = load ptr, ptr %538, align 8, !tbaa !11
  %540 = load i64, ptr %22, 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 %23, align 8, !tbaa !9
  %544 = getelementptr inbounds double, ptr %542, i64 %543
  store double %537, ptr %544, align 8, !tbaa !16
  br label %545

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

548:                                              ; preds = %509
  br label %549

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

552:                                              ; preds = %460
  %553 = load ptr, ptr %16, align 8, !tbaa !5
  %554 = load i64, ptr %12, align 8, !tbaa !9
  %555 = sub nsw i64 %554, 1
  %556 = add nsw i64 %555, 1
  %557 = load i64, ptr %24, align 8, !tbaa !9
  %558 = sub nsw i64 %557, 1
  %559 = add nsw i64 %558, 1
  %560 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %553, i64 noundef %556, i64 noundef %559, ptr noundef %560)
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %561

561:                                              ; preds = %588, %552
  %562 = load i64, ptr %21, align 8, !tbaa !9
  %563 = load i64, ptr %24, align 8, !tbaa !9
  %564 = icmp sle i64 %562, %563
  br i1 %564, label %565, label %591

565:                                              ; preds = %561
  %566 = load ptr, ptr %16, align 8, !tbaa !5
  %567 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %566, i32 0, i32 6
  %568 = load ptr, ptr %567, align 8, !tbaa !11
  %569 = getelementptr inbounds ptr, ptr %568, i64 0
  %570 = load ptr, ptr %569, align 8, !tbaa !5
  %571 = load i64, ptr %21, align 8, !tbaa !9
  %572 = sub nsw i64 %571, 1
  %573 = getelementptr inbounds double, ptr %570, i64 %572
  %574 = load ptr, ptr %16, align 8, !tbaa !5
  %575 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %574, i32 0, i32 2
  %576 = load i64, ptr %575, align 8, !tbaa !23
  %577 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %578 = load ptr, ptr %577, align 8, !tbaa !11
  %579 = getelementptr inbounds ptr, ptr %578, i64 1
  %580 = load ptr, ptr %579, align 8, !tbaa !5
  %581 = load i64, ptr %21, align 8, !tbaa !9
  %582 = getelementptr inbounds double, ptr %580, i64 %581
  %583 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 2
  %584 = load i64, ptr %583, align 8, !tbaa !23
  %585 = load i64, ptr %12, align 8, !tbaa !9
  %586 = sub nsw i64 %585, 1
  %587 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %586)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %573, i64 noundef %576, ptr noundef %582, i64 noundef %584, i64 noundef %587)
  br label %588

588:                                              ; preds = %565
  %589 = load i64, ptr %21, align 8, !tbaa !9
  %590 = add nsw i64 %589, 1
  store i64 %590, ptr %21, align 8, !tbaa !9
  br label %561, !llvm.loop !34

591:                                              ; preds = %561
  %592 = load ptr, ptr %10, align 8, !tbaa !5
  %593 = load i64, ptr %24, align 8, !tbaa !9
  %594 = sub nsw i64 %593, 1
  %595 = add nsw i64 %594, 1
  %596 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %592, i64 noundef %595, ptr noundef %596)
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %597

597:                                              ; preds = %613, %591
  %598 = load i64, ptr %21, align 8, !tbaa !9
  %599 = load i64, ptr %24, align 8, !tbaa !9
  %600 = icmp sle i64 %598, %599
  br i1 %600, label %601, label %616

601:                                              ; preds = %597
  %602 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %603 = load ptr, ptr %602, align 8, !tbaa !11
  %604 = load i64, ptr %21, align 8, !tbaa !9
  %605 = getelementptr inbounds double, ptr %603, i64 %604
  %606 = load double, ptr %605, align 8, !tbaa !16
  %607 = load ptr, ptr %10, align 8, !tbaa !5
  %608 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %607, i32 0, i32 4
  %609 = load ptr, ptr %608, align 8, !tbaa !11
  %610 = load i64, ptr %21, align 8, !tbaa !9
  %611 = sub nsw i64 %610, 1
  %612 = getelementptr inbounds double, ptr %609, i64 %611
  store double %606, ptr %612, align 8, !tbaa !16
  br label %613

613:                                              ; preds = %601
  %614 = load i64, ptr %21, align 8, !tbaa !9
  %615 = add nsw i64 %614, 1
  store i64 %615, ptr %21, align 8, !tbaa !9
  br label %597, !llvm.loop !35

616:                                              ; preds = %597
  %617 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %617)
  %618 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %619 = trunc i8 %618 to i1
  store i1 %619, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

620:                                              ; preds = %420
  store i8 0, ptr %35, align 1, !tbaa !12
  %621 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %621)
  %622 = load i8, ptr %35, align 1, !tbaa !12, !range !14, !noundef !15
  %623 = trunc i8 %622 to i1
  store i1 %623, ptr %9, align 1
  store i32 1, ptr %36, align 4
  br label %624

624:                                              ; preds = %620, %616, %455, %445, %434, %416, %181, %171, %160, %142, %113, %102
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 80, 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 64, 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 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #4
  %625 = load i1, ptr %9, align 1
  ret i1 %625
}

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_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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = !{!24, !10, i64 16}
!24 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !25, i64 40, !7, i64 72}
!25 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!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}
!35 = distinct !{!35, !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.375 = external hidden unnamed_addr constant [32 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_impl13smatrixtdevdiEPNS_9ae_vectorES1_llllPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #3 {
  %9 = alloca %"struct.alglib_impl::ae_frame", align 8
  %10 = alloca i64, 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 %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %21) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %7, ptr noundef nonnull %9)
  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)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 2, ptr noundef %7, 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 %7, 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 %7, 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 %7, 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 %7, 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 %7, 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 %7, 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 %7, i1 noundef zeroext true)
  %22 = icmp sgt i64 %4, -1
  %.not = icmp sle i64 %4, %5
  %or.cond.not = and i1 %22, %.not
  %23 = icmp slt i64 %5, %2
  %spec.select237 = and i1 %23, %or.cond.not
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select237, ptr noundef nonnull @.str.375, ptr noundef %7)
  %24 = add i64 %2, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %24, ptr noundef %7)
  %25 = getelementptr inbounds i8, ptr %18, i64 56
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  %28 = getelementptr inbounds i8, ptr %0, i64 56
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %2)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %27, i64 noundef 1, ptr noundef %29, i64 noundef 1, i64 noundef %30)
  %31 = icmp sgt i64 %2, 1
  br i1 %31, label %32, label %40

32:                                               ; preds = %8
  %33 = add nsw i64 %2, -1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef %2, ptr noundef %7)
  %34 = getelementptr inbounds i8, ptr %19, i64 56
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = getelementptr inbounds i8, ptr %1, i64 56
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %33)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %36, i64 noundef 1, ptr noundef %38, i64 noundef 1, i64 noundef %39)
  br label %40

40:                                               ; preds = %32, %8
  switch i64 %3, label %._crit_edge311 [
    i64 0, label %41
    i64 1, label %81
    i64 2, label %242
  ]

41:                                               ; preds = %40
  %42 = add nsw i64 %4, 1
  %43 = add i64 %5, 1
  %44 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %2, i64 noundef 3, i64 noundef 1, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %42, i64 noundef %43, double noundef -1.000000e+00, ptr noundef nonnull %17, ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %10, ptr noundef %7)
  br i1 %44, label %45, label %._crit_edge311

45:                                               ; preds = %41
  %46 = load i64, ptr %12, align 8, !tbaa !8
  %47 = sub i64 %43, %4
  %.not234 = icmp eq i64 %46, %47
  br i1 %.not234, label %48, label %._crit_edge311

48:                                               ; preds = %45
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %47, ptr noundef %7)
  %49 = load i64, ptr %12, align 8, !tbaa !8
  %.not235307 = icmp slt i64 %49, 1
  br i1 %.not235307, label %._crit_edge311, label %.lr.ph310

.lr.ph310:                                        ; preds = %48
  %50 = getelementptr inbounds i8, ptr %17, i64 56
  %xtraiter369 = and i64 %49, 3
  %51 = icmp ult i64 %49, 4
  br i1 %51, label %._crit_edge311.loopexit.unr-lcssa, label %.lr.ph310.new

.lr.ph310.new:                                    ; preds = %.lr.ph310
  %unroll_iter372 = and i64 %49, 9223372036854775804
  br label %52

52:                                               ; preds = %52, %.lr.ph310.new
  %.0192308 = phi i64 [ 1, %.lr.ph310.new ], [ %80, %52 ]
  %niter373 = phi i64 [ 0, %.lr.ph310.new ], [ %niter373.next.3, %52 ]
  %53 = load ptr, ptr %50, align 8, !tbaa !5
  %54 = getelementptr inbounds double, ptr %53, i64 %.0192308
  %55 = load double, ptr %54, align 8, !tbaa !10
  %56 = load ptr, ptr %28, align 8, !tbaa !5
  %57 = getelementptr double, ptr %56, i64 %.0192308
  %58 = getelementptr i8, ptr %57, i64 -8
  store double %55, ptr %58, align 8, !tbaa !10
  %59 = add nuw nsw i64 %.0192308, 1
  %60 = load ptr, ptr %50, align 8, !tbaa !5
  %61 = getelementptr inbounds double, ptr %60, i64 %59
  %62 = load double, ptr %61, align 8, !tbaa !10
  %63 = load ptr, ptr %28, align 8, !tbaa !5
  %64 = getelementptr double, ptr %63, i64 %59
  %65 = getelementptr i8, ptr %64, i64 -8
  store double %62, ptr %65, align 8, !tbaa !10
  %66 = add nuw nsw i64 %.0192308, 2
  %67 = load ptr, ptr %50, align 8, !tbaa !5
  %68 = getelementptr inbounds double, ptr %67, i64 %66
  %69 = load double, ptr %68, align 8, !tbaa !10
  %70 = load ptr, ptr %28, align 8, !tbaa !5
  %71 = getelementptr double, ptr %70, i64 %66
  %72 = getelementptr i8, ptr %71, i64 -8
  store double %69, ptr %72, align 8, !tbaa !10
  %73 = add nuw i64 %.0192308, 3
  %74 = load ptr, ptr %50, align 8, !tbaa !5
  %75 = getelementptr inbounds double, ptr %74, i64 %73
  %76 = load double, ptr %75, align 8, !tbaa !10
  %77 = load ptr, ptr %28, align 8, !tbaa !5
  %78 = getelementptr double, ptr %77, i64 %73
  %79 = getelementptr i8, ptr %78, i64 -8
  store double %76, ptr %79, align 8, !tbaa !10
  %80 = add nuw i64 %.0192308, 4
  %niter373.next.3 = add i64 %niter373, 4
  %niter373.ncmp.3 = icmp eq i64 %niter373.next.3, %unroll_iter372
  br i1 %niter373.ncmp.3, label %._crit_edge311.loopexit.unr-lcssa, label %52, !llvm.loop !12

81:                                               ; preds = %40
  %82 = add nsw i64 %4, 1
  %83 = add i64 %5, 1
  %84 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %2, i64 noundef 3, i64 noundef 2, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %82, i64 noundef %83, double noundef -1.000000e+00, ptr noundef nonnull %17, ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %10, ptr noundef %7)
  br i1 %84, label %85, label %._crit_edge311

85:                                               ; preds = %81
  %86 = load i64, ptr %12, align 8, !tbaa !8
  %87 = sub i64 %83, %4
  %.not224 = icmp eq i64 %86, %87
  br i1 %.not224, label %88, label %._crit_edge311

88:                                               ; preds = %85
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %2, ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %86, ptr noundef nonnull %17, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %20, ptr noundef nonnull %16, ptr noundef nonnull %13, ptr noundef %7)
  %89 = load i64, ptr %13, align 8, !tbaa !8
  %.not225 = icmp eq i64 %89, 0
  br i1 %.not225, label %.preheader241, label %._crit_edge311

.preheader241:                                    ; preds = %88
  %90 = load i64, ptr %12, align 8, !tbaa !8
  %.not226281 = icmp slt i64 %90, 1
  br i1 %.not226281, label %._crit_edge283, label %.preheader240.lr.ph

.preheader240.lr.ph:                              ; preds = %.preheader241
  %91 = getelementptr inbounds i8, ptr %17, i64 56
  %.not233276 = icmp slt i64 %2, 1
  %92 = getelementptr inbounds i8, ptr %20, i64 72
  %xtraiter357 = and i64 %2, 1
  %93 = icmp eq i64 %2, 1
  %unroll_iter360 = and i64 %2, 9223372036854775806
  %lcmp.mod359.not = icmp eq i64 %xtraiter357, 0
  br label %.preheader240

.preheader240:                                    ; preds = %.preheader240.lr.ph, %._crit_edge280
  %94 = phi i64 [ %90, %.preheader240.lr.ph ], [ %103, %._crit_edge280 ]
  %.1193282 = phi i64 [ 1, %.preheader240.lr.ph ], [ %146, %._crit_edge280 ]
  %.not232270 = icmp sgt i64 %.1193282, %94
  br i1 %.not232270, label %._crit_edge274, label %.lr.ph273

.lr.ph273:                                        ; preds = %.preheader240, %.lr.ph273
  %.0272 = phi i64 [ %spec.select, %.lr.ph273 ], [ %.1193282, %.preheader240 ]
  %.0188271 = phi i64 [ %101, %.lr.ph273 ], [ %.1193282, %.preheader240 ]
  %95 = load ptr, ptr %91, align 8, !tbaa !5
  %96 = getelementptr inbounds double, ptr %95, i64 %.0188271
  %97 = load double, ptr %96, align 8, !tbaa !10
  %98 = getelementptr inbounds double, ptr %95, i64 %.0272
  %99 = load double, ptr %98, align 8, !tbaa !10
  %100 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %97, double noundef %99)
  %spec.select = select i1 %100, i64 %.0188271, i64 %.0272
  %101 = add nuw nsw i64 %.0188271, 1
  %102 = load i64, ptr %12, align 8, !tbaa !8
  %.not232.not = icmp slt i64 %.0188271, %102
  br i1 %.not232.not, label %.lr.ph273, label %._crit_edge274, !llvm.loop !14

._crit_edge274:                                   ; preds = %.lr.ph273, %.preheader240
  %103 = phi i64 [ %94, %.preheader240 ], [ %102, %.lr.ph273 ]
  %.0.lcssa = phi i64 [ %.1193282, %.preheader240 ], [ %spec.select, %.lr.ph273 ]
  %104 = load ptr, ptr %91, align 8, !tbaa !5
  %105 = getelementptr inbounds double, ptr %104, i64 %.1193282
  %106 = load double, ptr %105, align 8, !tbaa !10
  %107 = getelementptr inbounds double, ptr %104, i64 %.0.lcssa
  %108 = load double, ptr %107, align 8, !tbaa !10
  store double %108, ptr %105, align 8, !tbaa !10
  %109 = load ptr, ptr %91, align 8, !tbaa !5
  %110 = getelementptr inbounds double, ptr %109, i64 %.0.lcssa
  store double %106, ptr %110, align 8, !tbaa !10
  br i1 %.not233276, label %._crit_edge280, label %.lr.ph279.preheader

.lr.ph279.preheader:                              ; preds = %._crit_edge274
  br i1 %93, label %._crit_edge280.loopexit.unr-lcssa, label %.lr.ph279

.lr.ph279:                                        ; preds = %.lr.ph279.preheader, %.lr.ph279
  %.1189277 = phi i64 [ %134, %.lr.ph279 ], [ 1, %.lr.ph279.preheader ]
  %niter361 = phi i64 [ %niter361.next.1, %.lr.ph279 ], [ 0, %.lr.ph279.preheader ]
  %111 = load ptr, ptr %92, align 8, !tbaa !5
  %112 = getelementptr inbounds ptr, ptr %111, i64 %.1189277
  %113 = load ptr, ptr %112, align 8, !tbaa !15
  %114 = getelementptr inbounds double, ptr %113, i64 %.1193282
  %115 = load double, ptr %114, align 8, !tbaa !10
  %116 = getelementptr inbounds double, ptr %113, i64 %.0.lcssa
  %117 = load double, ptr %116, align 8, !tbaa !10
  store double %117, ptr %114, align 8, !tbaa !10
  %118 = load ptr, ptr %92, align 8, !tbaa !5
  %119 = getelementptr inbounds ptr, ptr %118, i64 %.1189277
  %120 = load ptr, ptr %119, align 8, !tbaa !15
  %121 = getelementptr inbounds double, ptr %120, i64 %.0.lcssa
  store double %115, ptr %121, align 8, !tbaa !10
  %122 = add nuw i64 %.1189277, 1
  %123 = load ptr, ptr %92, align 8, !tbaa !5
  %124 = getelementptr inbounds ptr, ptr %123, i64 %122
  %125 = load ptr, ptr %124, align 8, !tbaa !15
  %126 = getelementptr inbounds double, ptr %125, i64 %.1193282
  %127 = load double, ptr %126, align 8, !tbaa !10
  %128 = getelementptr inbounds double, ptr %125, i64 %.0.lcssa
  %129 = load double, ptr %128, align 8, !tbaa !10
  store double %129, ptr %126, align 8, !tbaa !10
  %130 = load ptr, ptr %92, align 8, !tbaa !5
  %131 = getelementptr inbounds ptr, ptr %130, i64 %122
  %132 = load ptr, ptr %131, align 8, !tbaa !15
  %133 = getelementptr inbounds double, ptr %132, i64 %.0.lcssa
  store double %127, ptr %133, align 8, !tbaa !10
  %134 = add nuw i64 %.1189277, 2
  %niter361.next.1 = add i64 %niter361, 2
  %niter361.ncmp.1 = icmp eq i64 %niter361.next.1, %unroll_iter360
  br i1 %niter361.ncmp.1, label %._crit_edge280.loopexit.unr-lcssa, label %.lr.ph279, !llvm.loop !17

._crit_edge280.loopexit.unr-lcssa:                ; preds = %.lr.ph279, %.lr.ph279.preheader
  %.1189277.unr = phi i64 [ 1, %.lr.ph279.preheader ], [ %134, %.lr.ph279 ]
  br i1 %lcmp.mod359.not, label %._crit_edge280, label %.lr.ph279.epil

.lr.ph279.epil:                                   ; preds = %._crit_edge280.loopexit.unr-lcssa
  %135 = load ptr, ptr %92, align 8, !tbaa !5
  %136 = getelementptr inbounds ptr, ptr %135, i64 %.1189277.unr
  %137 = load ptr, ptr %136, align 8, !tbaa !15
  %138 = getelementptr inbounds double, ptr %137, i64 %.1193282
  %139 = load double, ptr %138, align 8, !tbaa !10
  %140 = getelementptr inbounds double, ptr %137, i64 %.0.lcssa
  %141 = load double, ptr %140, align 8, !tbaa !10
  store double %141, ptr %138, align 8, !tbaa !10
  %142 = load ptr, ptr %92, align 8, !tbaa !5
  %143 = getelementptr inbounds ptr, ptr %142, i64 %.1189277.unr
  %144 = load ptr, ptr %143, align 8, !tbaa !15
  %145 = getelementptr inbounds double, ptr %144, i64 %.0.lcssa
  store double %139, ptr %145, align 8, !tbaa !10
  br label %._crit_edge280

._crit_edge280:                                   ; preds = %.lr.ph279.epil, %._crit_edge280.loopexit.unr-lcssa, %._crit_edge274
  %146 = add nuw nsw i64 %.1193282, 1
  %.not226.not = icmp slt i64 %.1193282, %103
  br i1 %.not226.not, label %.preheader240, label %._crit_edge283, !llvm.loop !18

._crit_edge283:                                   ; preds = %._crit_edge280, %.preheader241
  %.lcssa244 = phi i64 [ %90, %.preheader241 ], [ %103, %._crit_edge280 ]
  %147 = add nsw i64 %.lcssa244, 1
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %147, i64 noundef %24, ptr noundef %7)
  %148 = load i64, ptr %12, align 8, !tbaa !8
  %.not227285 = icmp slt i64 %148, 1
  br i1 %.not227285, label %.preheader239, label %.lr.ph288

.lr.ph288:                                        ; preds = %._crit_edge283
  %149 = getelementptr inbounds i8, ptr %21, i64 72
  %150 = getelementptr inbounds i8, ptr %20, i64 72
  %151 = getelementptr inbounds i8, ptr %20, i64 16
  br label %158

.preheader239:                                    ; preds = %158, %._crit_edge283
  %152 = phi i64 [ %148, %._crit_edge283 ], [ %170, %158 ]
  %.not228293 = icmp slt i64 %2, 1
  br i1 %.not228293, label %.preheader239.._crit_edge295_crit_edge, label %.preheader.lr.ph

.preheader239.._crit_edge295_crit_edge:           ; preds = %.preheader239
  %.pre = add nsw i64 %2, -1
  br label %._crit_edge295

.preheader.lr.ph:                                 ; preds = %.preheader239
  %153 = getelementptr inbounds i8, ptr %6, i64 72
  %154 = getelementptr inbounds i8, ptr %21, i64 72
  %155 = add nsw i64 %2, -1
  %156 = getelementptr inbounds i8, ptr %20, i64 72
  %157 = icmp slt i64 %152, 1
  br i1 %157, label %._crit_edge295, label %.preheader

158:                                              ; preds = %.lr.ph288, %158
  %.2194286 = phi i64 [ 1, %.lr.ph288 ], [ %169, %158 ]
  %159 = load ptr, ptr %149, align 8, !tbaa !5
  %160 = getelementptr inbounds ptr, ptr %159, i64 %.2194286
  %161 = load ptr, ptr %160, align 8, !tbaa !15
  %162 = getelementptr inbounds i8, ptr %161, i64 8
  %163 = load ptr, ptr %150, align 8, !tbaa !5
  %164 = getelementptr inbounds i8, ptr %163, i64 8
  %165 = load ptr, ptr %164, align 8, !tbaa !15
  %166 = getelementptr inbounds double, ptr %165, i64 %.2194286
  %167 = load i64, ptr %151, align 8, !tbaa !19
  %168 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %2)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %162, i64 noundef 1, ptr noundef nonnull %166, i64 noundef %167, i64 noundef %168)
  %169 = add nuw nsw i64 %.2194286, 1
  %170 = load i64, ptr %12, align 8, !tbaa !8
  %.not227.not = icmp slt i64 %.2194286, %170
  br i1 %.not227.not, label %158, label %.preheader239, !llvm.loop !23

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge292
  %171 = phi i64 [ %188, %._crit_edge292 ], [ %152, %.preheader.lr.ph ]
  %.3195294 = phi i64 [ %189, %._crit_edge292 ], [ 1, %.preheader.lr.ph ]
  %.not231289 = icmp slt i64 %171, 1
  br i1 %.not231289, label %._crit_edge292, label %.lr.ph291

.lr.ph291:                                        ; preds = %.preheader, %.lr.ph291
  %.2190290 = phi i64 [ %186, %.lr.ph291 ], [ 1, %.preheader ]
  %172 = load ptr, ptr %153, align 8, !tbaa !5
  %173 = getelementptr ptr, ptr %172, i64 %.3195294
  %174 = getelementptr i8, ptr %173, i64 -8
  %175 = load ptr, ptr %174, align 8, !tbaa !15
  %176 = load ptr, ptr %154, align 8, !tbaa !5
  %177 = getelementptr inbounds ptr, ptr %176, i64 %.2190290
  %178 = load ptr, ptr %177, align 8, !tbaa !15
  %179 = getelementptr inbounds i8, ptr %178, i64 8
  %180 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %155)
  %181 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %175, i64 noundef 1, ptr noundef nonnull %179, i64 noundef 1, i64 noundef %180)
  %182 = load ptr, ptr %156, align 8, !tbaa !5
  %183 = getelementptr inbounds ptr, ptr %182, i64 %.3195294
  %184 = load ptr, ptr %183, align 8, !tbaa !15
  %185 = getelementptr inbounds double, ptr %184, i64 %.2190290
  store double %181, ptr %185, align 8, !tbaa !10
  %186 = add nuw nsw i64 %.2190290, 1
  %187 = load i64, ptr %12, align 8, !tbaa !8
  %.not231.not = icmp slt i64 %.2190290, %187
  br i1 %.not231.not, label %.lr.ph291, label %._crit_edge292, !llvm.loop !24

._crit_edge292:                                   ; preds = %.lr.ph291, %.preheader
  %188 = phi i64 [ %171, %.preheader ], [ %187, %.lr.ph291 ]
  %189 = add nuw i64 %.3195294, 1
  %exitcond319.not = icmp eq i64 %.3195294, %2
  br i1 %exitcond319.not, label %._crit_edge295, label %.preheader, !llvm.loop !25

._crit_edge295:                                   ; preds = %._crit_edge292, %.preheader.lr.ph, %.preheader239.._crit_edge295_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.preheader239.._crit_edge295_crit_edge ], [ %155, %.preheader.lr.ph ], [ %155, %._crit_edge292 ]
  %190 = phi i64 [ %152, %.preheader239.._crit_edge295_crit_edge ], [ %152, %.preheader.lr.ph ], [ %188, %._crit_edge292 ]
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %6, i64 noundef %2, i64 noundef %190, ptr noundef %7)
  %191 = load i64, ptr %12, align 8, !tbaa !8
  %.not229296 = icmp slt i64 %191, 1
  br i1 %.not229296, label %._crit_edge300, label %.lr.ph299

.lr.ph299:                                        ; preds = %._crit_edge295
  %192 = getelementptr inbounds i8, ptr %6, i64 72
  %193 = getelementptr inbounds i8, ptr %6, i64 16
  %194 = getelementptr inbounds i8, ptr %20, i64 72
  %195 = getelementptr inbounds i8, ptr %20, i64 16
  br label %196

196:                                              ; preds = %.lr.ph299, %196
  %.4196297 = phi i64 [ 1, %.lr.ph299 ], [ %208, %196 ]
  %197 = load ptr, ptr %192, align 8, !tbaa !5
  %198 = load ptr, ptr %197, align 8, !tbaa !15
  %199 = getelementptr double, ptr %198, i64 %.4196297
  %200 = getelementptr i8, ptr %199, i64 -8
  %201 = load i64, ptr %193, align 8, !tbaa !19
  %202 = load ptr, ptr %194, align 8, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %202, i64 8
  %204 = load ptr, ptr %203, align 8, !tbaa !15
  %205 = getelementptr inbounds double, ptr %204, i64 %.4196297
  %206 = load i64, ptr %195, align 8, !tbaa !19
  %207 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %.pre-phi)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %200, i64 noundef %201, ptr noundef nonnull %205, i64 noundef %206, i64 noundef %207)
  %208 = add nuw nsw i64 %.4196297, 1
  %209 = load i64, ptr %12, align 8, !tbaa !8
  %.not229.not = icmp slt i64 %.4196297, %209
  br i1 %.not229.not, label %196, label %._crit_edge300, !llvm.loop !27

._crit_edge300:                                   ; preds = %196, %._crit_edge295
  %.lcssa = phi i64 [ %191, %._crit_edge295 ], [ %209, %196 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %0, i64 noundef %.lcssa, ptr noundef %7)
  %210 = load i64, ptr %12, align 8, !tbaa !8
  %.not230302 = icmp slt i64 %210, 1
  br i1 %.not230302, label %._crit_edge311, label %.lr.ph305

.lr.ph305:                                        ; preds = %._crit_edge300
  %211 = getelementptr inbounds i8, ptr %17, i64 56
  %xtraiter363 = and i64 %210, 3
  %212 = icmp ult i64 %210, 4
  br i1 %212, label %._crit_edge311.loopexit342.unr-lcssa, label %.lr.ph305.new

.lr.ph305.new:                                    ; preds = %.lr.ph305
  %unroll_iter366 = and i64 %210, 9223372036854775804
  br label %213

213:                                              ; preds = %213, %.lr.ph305.new
  %.5303 = phi i64 [ 1, %.lr.ph305.new ], [ %241, %213 ]
  %niter367 = phi i64 [ 0, %.lr.ph305.new ], [ %niter367.next.3, %213 ]
  %214 = load ptr, ptr %211, align 8, !tbaa !5
  %215 = getelementptr inbounds double, ptr %214, i64 %.5303
  %216 = load double, ptr %215, align 8, !tbaa !10
  %217 = load ptr, ptr %28, align 8, !tbaa !5
  %218 = getelementptr double, ptr %217, i64 %.5303
  %219 = getelementptr i8, ptr %218, i64 -8
  store double %216, ptr %219, align 8, !tbaa !10
  %220 = add nuw nsw i64 %.5303, 1
  %221 = load ptr, ptr %211, align 8, !tbaa !5
  %222 = getelementptr inbounds double, ptr %221, i64 %220
  %223 = load double, ptr %222, align 8, !tbaa !10
  %224 = load ptr, ptr %28, align 8, !tbaa !5
  %225 = getelementptr double, ptr %224, i64 %220
  %226 = getelementptr i8, ptr %225, i64 -8
  store double %223, ptr %226, align 8, !tbaa !10
  %227 = add nuw nsw i64 %.5303, 2
  %228 = load ptr, ptr %211, align 8, !tbaa !5
  %229 = getelementptr inbounds double, ptr %228, i64 %227
  %230 = load double, ptr %229, align 8, !tbaa !10
  %231 = load ptr, ptr %28, align 8, !tbaa !5
  %232 = getelementptr double, ptr %231, i64 %227
  %233 = getelementptr i8, ptr %232, i64 -8
  store double %230, ptr %233, align 8, !tbaa !10
  %234 = add nuw i64 %.5303, 3
  %235 = load ptr, ptr %211, align 8, !tbaa !5
  %236 = getelementptr inbounds double, ptr %235, i64 %234
  %237 = load double, ptr %236, align 8, !tbaa !10
  %238 = load ptr, ptr %28, align 8, !tbaa !5
  %239 = getelementptr double, ptr %238, i64 %234
  %240 = getelementptr i8, ptr %239, i64 -8
  store double %237, ptr %240, align 8, !tbaa !10
  %241 = add nuw i64 %.5303, 4
  %niter367.next.3 = add i64 %niter367, 4
  %niter367.ncmp.3 = icmp eq i64 %niter367.next.3, %unroll_iter366
  br i1 %niter367.ncmp.3, label %._crit_edge311.loopexit342.unr-lcssa, label %213, !llvm.loop !28

242:                                              ; preds = %40
  %243 = add nsw i64 %4, 1
  %244 = add nsw i64 %5, 1
  %245 = call noundef zeroext i1 @_ZN11alglib_implL32evd_internalbisectioneigenvaluesEPNS_9ae_vectorES1_lllddlldS1_PlS2_S1_S1_S2_PNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %2, i64 noundef 3, i64 noundef 2, double noundef 0.000000e+00, double noundef 0.000000e+00, i64 noundef %243, i64 noundef %244, double noundef -1.000000e+00, ptr noundef nonnull %17, ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %10, ptr noundef %7)
  br i1 %245, label %246, label %._crit_edge311

246:                                              ; preds = %242
  %247 = load i64, ptr %12, align 8, !tbaa !8
  %reass.sub = sub i64 %5, %4
  %248 = add i64 %reass.sub, 1
  %.not217 = icmp eq i64 %247, %248
  br i1 %.not217, label %249, label %._crit_edge311

249:                                              ; preds = %246
  call void @_ZN11alglib_implL18evd_internaldsteinElPNS_9ae_vectorES1_lS1_S1_S1_PNS_9ae_matrixES1_PlPNS_8ae_stateE(i64 noundef %2, ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %247, ptr noundef nonnull %17, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %20, ptr noundef nonnull %16, ptr noundef nonnull %13, ptr noundef %7)
  %250 = load i64, ptr %13, align 8, !tbaa !8
  %.not218 = icmp eq i64 %250, 0
  br i1 %.not218, label %.preheader243, label %._crit_edge311

.preheader243:                                    ; preds = %249
  %251 = load i64, ptr %12, align 8, !tbaa !8
  %.not219255 = icmp slt i64 %251, 1
  br i1 %.not219255, label %._crit_edge257, label %.preheader242.lr.ph

.preheader242.lr.ph:                              ; preds = %.preheader243
  %252 = getelementptr inbounds i8, ptr %17, i64 56
  %.not223250 = icmp slt i64 %2, 1
  %253 = getelementptr inbounds i8, ptr %20, i64 72
  %xtraiter = and i64 %2, 1
  %254 = icmp eq i64 %2, 1
  %unroll_iter = and i64 %2, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader242

.preheader242:                                    ; preds = %.preheader242.lr.ph, %._crit_edge254
  %255 = phi i64 [ %251, %.preheader242.lr.ph ], [ %264, %._crit_edge254 ]
  %.6256 = phi i64 [ 1, %.preheader242.lr.ph ], [ %307, %._crit_edge254 ]
  %.not222247 = icmp sgt i64 %.6256, %255
  br i1 %.not222247, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader242, %.lr.ph
  %.2249 = phi i64 [ %spec.select236, %.lr.ph ], [ %.6256, %.preheader242 ]
  %.3191248 = phi i64 [ %262, %.lr.ph ], [ %.6256, %.preheader242 ]
  %256 = load ptr, ptr %252, align 8, !tbaa !5
  %257 = getelementptr inbounds double, ptr %256, i64 %.3191248
  %258 = load double, ptr %257, align 8, !tbaa !10
  %259 = getelementptr inbounds double, ptr %256, i64 %.2249
  %260 = load double, ptr %259, align 8, !tbaa !10
  %261 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %258, double noundef %260)
  %spec.select236 = select i1 %261, i64 %.3191248, i64 %.2249
  %262 = add nuw nsw i64 %.3191248, 1
  %263 = load i64, ptr %12, align 8, !tbaa !8
  %.not222.not = icmp slt i64 %.3191248, %263
  br i1 %.not222.not, label %.lr.ph, label %._crit_edge, !llvm.loop !29

._crit_edge:                                      ; preds = %.lr.ph, %.preheader242
  %264 = phi i64 [ %255, %.preheader242 ], [ %263, %.lr.ph ]
  %.2.lcssa = phi i64 [ %.6256, %.preheader242 ], [ %spec.select236, %.lr.ph ]
  %265 = load ptr, ptr %252, align 8, !tbaa !5
  %266 = getelementptr inbounds double, ptr %265, i64 %.6256
  %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 %252, align 8, !tbaa !5
  %271 = getelementptr inbounds double, ptr %270, i64 %.2.lcssa
  store double %267, ptr %271, align 8, !tbaa !10
  br i1 %.not223250, label %._crit_edge254, label %.lr.ph253.preheader

.lr.ph253.preheader:                              ; preds = %._crit_edge
  br i1 %254, label %._crit_edge254.loopexit.unr-lcssa, label %.lr.ph253

.lr.ph253:                                        ; preds = %.lr.ph253.preheader, %.lr.ph253
  %.4251 = phi i64 [ %295, %.lr.ph253 ], [ 1, %.lr.ph253.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph253 ], [ 0, %.lr.ph253.preheader ]
  %272 = load ptr, ptr %253, align 8, !tbaa !5
  %273 = getelementptr inbounds ptr, ptr %272, i64 %.4251
  %274 = load ptr, ptr %273, align 8, !tbaa !15
  %275 = getelementptr inbounds double, ptr %274, i64 %.6256
  %276 = load double, ptr %275, align 8, !tbaa !10
  %277 = getelementptr inbounds double, ptr %274, i64 %.2.lcssa
  %278 = load double, ptr %277, align 8, !tbaa !10
  store double %278, ptr %275, align 8, !tbaa !10
  %279 = load ptr, ptr %253, align 8, !tbaa !5
  %280 = getelementptr inbounds ptr, ptr %279, i64 %.4251
  %281 = load ptr, ptr %280, align 8, !tbaa !15
  %282 = getelementptr inbounds double, ptr %281, i64 %.2.lcssa
  store double %276, ptr %282, align 8, !tbaa !10
  %283 = add nuw i64 %.4251, 1
  %284 = load ptr, ptr %253, align 8, !tbaa !5
  %285 = getelementptr inbounds ptr, ptr %284, i64 %283
  %286 = load ptr, ptr %285, align 8, !tbaa !15
  %287 = getelementptr inbounds double, ptr %286, i64 %.6256
  %288 = load double, ptr %287, align 8, !tbaa !10
  %289 = getelementptr inbounds double, ptr %286, i64 %.2.lcssa
  %290 = load double, ptr %289, align 8, !tbaa !10
  store double %290, ptr %287, align 8, !tbaa !10
  %291 = load ptr, ptr %253, align 8, !tbaa !5
  %292 = getelementptr inbounds ptr, ptr %291, i64 %283
  %293 = load ptr, ptr %292, align 8, !tbaa !15
  %294 = getelementptr inbounds double, ptr %293, i64 %.2.lcssa
  store double %288, ptr %294, align 8, !tbaa !10
  %295 = add nuw i64 %.4251, 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_edge254.loopexit.unr-lcssa, label %.lr.ph253, !llvm.loop !30

._crit_edge254.loopexit.unr-lcssa:                ; preds = %.lr.ph253, %.lr.ph253.preheader
  %.4251.unr = phi i64 [ 1, %.lr.ph253.preheader ], [ %295, %.lr.ph253 ]
  br i1 %lcmp.mod.not, label %._crit_edge254, label %.lr.ph253.epil

.lr.ph253.epil:                                   ; preds = %._crit_edge254.loopexit.unr-lcssa
  %296 = load ptr, ptr %253, align 8, !tbaa !5
  %297 = getelementptr inbounds ptr, ptr %296, i64 %.4251.unr
  %298 = load ptr, ptr %297, align 8, !tbaa !15
  %299 = getelementptr inbounds double, ptr %298, i64 %.6256
  %300 = load double, ptr %299, align 8, !tbaa !10
  %301 = getelementptr inbounds double, ptr %298, i64 %.2.lcssa
  %302 = load double, ptr %301, align 8, !tbaa !10
  store double %302, ptr %299, align 8, !tbaa !10
  %303 = load ptr, ptr %253, align 8, !tbaa !5
  %304 = getelementptr inbounds ptr, ptr %303, i64 %.4251.unr
  %305 = load ptr, ptr %304, align 8, !tbaa !15
  %306 = getelementptr inbounds double, ptr %305, i64 %.2.lcssa
  store double %300, ptr %306, align 8, !tbaa !10
  br label %._crit_edge254

._crit_edge254:                                   ; preds = %.lr.ph253.epil, %._crit_edge254.loopexit.unr-lcssa, %._crit_edge
  %307 = add nuw nsw i64 %.6256, 1
  %.not219.not = icmp slt i64 %.6256, %264
  br i1 %.not219.not, label %.preheader242, label %._crit_edge257, !llvm.loop !31

._crit_edge257:                                   ; preds = %._crit_edge254, %.preheader243
  %.lcssa246 = phi i64 [ %251, %.preheader243 ], [ %264, %._crit_edge254 ]
  %308 = add nsw i64 %2, -1
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %6, i64 noundef %2, i64 noundef %.lcssa246, ptr noundef %7)
  %309 = load i64, ptr %12, align 8, !tbaa !8
  %.not220259 = icmp slt i64 %309, 1
  br i1 %.not220259, label %._crit_edge263, label %.lr.ph262

.lr.ph262:                                        ; preds = %._crit_edge257
  %310 = getelementptr inbounds i8, ptr %6, i64 72
  %311 = getelementptr inbounds i8, ptr %6, i64 16
  %312 = getelementptr inbounds i8, ptr %20, i64 72
  %313 = getelementptr inbounds i8, ptr %20, i64 16
  br label %314

314:                                              ; preds = %.lr.ph262, %314
  %.7260 = phi i64 [ 1, %.lr.ph262 ], [ %326, %314 ]
  %315 = load ptr, ptr %310, align 8, !tbaa !5
  %316 = load ptr, ptr %315, align 8, !tbaa !15
  %317 = getelementptr double, ptr %316, i64 %.7260
  %318 = getelementptr i8, ptr %317, i64 -8
  %319 = load i64, ptr %311, align 8, !tbaa !19
  %320 = load ptr, ptr %312, align 8, !tbaa !5
  %321 = getelementptr inbounds i8, ptr %320, i64 8
  %322 = load ptr, ptr %321, align 8, !tbaa !15
  %323 = getelementptr inbounds double, ptr %322, i64 %.7260
  %324 = load i64, ptr %313, align 8, !tbaa !19
  %325 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %308)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %318, i64 noundef %319, ptr noundef nonnull %323, i64 noundef %324, i64 noundef %325)
  %326 = add nuw nsw i64 %.7260, 1
  %327 = load i64, ptr %12, align 8, !tbaa !8
  %.not220.not = icmp slt i64 %.7260, %327
  br i1 %.not220.not, label %314, label %._crit_edge263, !llvm.loop !32

._crit_edge263:                                   ; preds = %314, %._crit_edge257
  %.lcssa245 = phi i64 [ %309, %._crit_edge257 ], [ %327, %314 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %0, i64 noundef %.lcssa245, ptr noundef %7)
  %328 = load i64, ptr %12, align 8, !tbaa !8
  %.not221265 = icmp slt i64 %328, 1
  br i1 %.not221265, label %._crit_edge311, label %.lr.ph268

.lr.ph268:                                        ; preds = %._crit_edge263
  %329 = getelementptr inbounds i8, ptr %17, i64 56
  %xtraiter353 = and i64 %328, 3
  %330 = icmp ult i64 %328, 4
  br i1 %330, label %._crit_edge311.loopexit349.unr-lcssa, label %.lr.ph268.new

.lr.ph268.new:                                    ; preds = %.lr.ph268
  %unroll_iter355 = and i64 %328, 9223372036854775804
  br label %331

331:                                              ; preds = %331, %.lr.ph268.new
  %.8266 = phi i64 [ 1, %.lr.ph268.new ], [ %359, %331 ]
  %niter356 = phi i64 [ 0, %.lr.ph268.new ], [ %niter356.next.3, %331 ]
  %332 = load ptr, ptr %329, align 8, !tbaa !5
  %333 = getelementptr inbounds double, ptr %332, i64 %.8266
  %334 = load double, ptr %333, align 8, !tbaa !10
  %335 = load ptr, ptr %28, align 8, !tbaa !5
  %336 = getelementptr double, ptr %335, i64 %.8266
  %337 = getelementptr i8, ptr %336, i64 -8
  store double %334, ptr %337, align 8, !tbaa !10
  %338 = add nuw nsw i64 %.8266, 1
  %339 = load ptr, ptr %329, align 8, !tbaa !5
  %340 = getelementptr inbounds double, ptr %339, i64 %338
  %341 = load double, ptr %340, align 8, !tbaa !10
  %342 = load ptr, ptr %28, align 8, !tbaa !5
  %343 = getelementptr double, ptr %342, i64 %338
  %344 = getelementptr i8, ptr %343, i64 -8
  store double %341, ptr %344, align 8, !tbaa !10
  %345 = add nuw nsw i64 %.8266, 2
  %346 = load ptr, ptr %329, align 8, !tbaa !5
  %347 = getelementptr inbounds double, ptr %346, i64 %345
  %348 = load double, ptr %347, align 8, !tbaa !10
  %349 = load ptr, ptr %28, align 8, !tbaa !5
  %350 = getelementptr double, ptr %349, i64 %345
  %351 = getelementptr i8, ptr %350, i64 -8
  store double %348, ptr %351, align 8, !tbaa !10
  %352 = add nuw i64 %.8266, 3
  %353 = load ptr, ptr %329, align 8, !tbaa !5
  %354 = getelementptr inbounds double, ptr %353, i64 %352
  %355 = load double, ptr %354, align 8, !tbaa !10
  %356 = load ptr, ptr %28, align 8, !tbaa !5
  %357 = getelementptr double, ptr %356, i64 %352
  %358 = getelementptr i8, ptr %357, i64 -8
  store double %355, ptr %358, align 8, !tbaa !10
  %359 = add nuw i64 %.8266, 4
  %niter356.next.3 = add i64 %niter356, 4
  %niter356.ncmp.3 = icmp eq i64 %niter356.next.3, %unroll_iter355
  br i1 %niter356.ncmp.3, label %._crit_edge311.loopexit349.unr-lcssa, label %331, !llvm.loop !33

._crit_edge311.loopexit.unr-lcssa:                ; preds = %52, %.lr.ph310
  %.0192308.unr = phi i64 [ 1, %.lr.ph310 ], [ %80, %52 ]
  %lcmp.mod371.not = icmp eq i64 %xtraiter369, 0
  br i1 %lcmp.mod371.not, label %._crit_edge311, label %.epil.preheader368

.epil.preheader368:                               ; preds = %._crit_edge311.loopexit.unr-lcssa, %.epil.preheader368
  %.0192308.epil = phi i64 [ %366, %.epil.preheader368 ], [ %.0192308.unr, %._crit_edge311.loopexit.unr-lcssa ]
  %epil.iter370 = phi i64 [ %epil.iter370.next, %.epil.preheader368 ], [ 0, %._crit_edge311.loopexit.unr-lcssa ]
  %360 = load ptr, ptr %50, align 8, !tbaa !5
  %361 = getelementptr inbounds double, ptr %360, i64 %.0192308.epil
  %362 = load double, ptr %361, align 8, !tbaa !10
  %363 = load ptr, ptr %28, align 8, !tbaa !5
  %364 = getelementptr double, ptr %363, i64 %.0192308.epil
  %365 = getelementptr i8, ptr %364, i64 -8
  store double %362, ptr %365, align 8, !tbaa !10
  %366 = add nuw i64 %.0192308.epil, 1
  %epil.iter370.next = add i64 %epil.iter370, 1
  %epil.iter370.cmp.not = icmp eq i64 %epil.iter370.next, %xtraiter369
  br i1 %epil.iter370.cmp.not, label %._crit_edge311, label %.epil.preheader368, !llvm.loop !34

._crit_edge311.loopexit342.unr-lcssa:             ; preds = %213, %.lr.ph305
  %.5303.unr = phi i64 [ 1, %.lr.ph305 ], [ %241, %213 ]
  %lcmp.mod365.not = icmp eq i64 %xtraiter363, 0
  br i1 %lcmp.mod365.not, label %._crit_edge311, label %.epil.preheader362

.epil.preheader362:                               ; preds = %._crit_edge311.loopexit342.unr-lcssa, %.epil.preheader362
  %.5303.epil = phi i64 [ %373, %.epil.preheader362 ], [ %.5303.unr, %._crit_edge311.loopexit342.unr-lcssa ]
  %epil.iter364 = phi i64 [ %epil.iter364.next, %.epil.preheader362 ], [ 0, %._crit_edge311.loopexit342.unr-lcssa ]
  %367 = load ptr, ptr %211, align 8, !tbaa !5
  %368 = getelementptr inbounds double, ptr %367, i64 %.5303.epil
  %369 = load double, ptr %368, align 8, !tbaa !10
  %370 = load ptr, ptr %28, align 8, !tbaa !5
  %371 = getelementptr double, ptr %370, i64 %.5303.epil
  %372 = getelementptr i8, ptr %371, i64 -8
  store double %369, ptr %372, align 8, !tbaa !10
  %373 = add nuw i64 %.5303.epil, 1
  %epil.iter364.next = add i64 %epil.iter364, 1
  %epil.iter364.cmp.not = icmp eq i64 %epil.iter364.next, %xtraiter363
  br i1 %epil.iter364.cmp.not, label %._crit_edge311, label %.epil.preheader362, !llvm.loop !36

._crit_edge311.loopexit349.unr-lcssa:             ; preds = %331, %.lr.ph268
  %.8266.unr = phi i64 [ 1, %.lr.ph268 ], [ %359, %331 ]
  %lcmp.mod354.not = icmp eq i64 %xtraiter353, 0
  br i1 %lcmp.mod354.not, label %._crit_edge311, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge311.loopexit349.unr-lcssa, %.epil.preheader
  %.8266.epil = phi i64 [ %380, %.epil.preheader ], [ %.8266.unr, %._crit_edge311.loopexit349.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge311.loopexit349.unr-lcssa ]
  %374 = load ptr, ptr %329, align 8, !tbaa !5
  %375 = getelementptr inbounds double, ptr %374, i64 %.8266.epil
  %376 = load double, ptr %375, align 8, !tbaa !10
  %377 = load ptr, ptr %28, align 8, !tbaa !5
  %378 = getelementptr double, ptr %377, i64 %.8266.epil
  %379 = getelementptr i8, ptr %378, i64 -8
  store double %376, ptr %379, align 8, !tbaa !10
  %380 = add nuw i64 %.8266.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter353
  br i1 %epil.iter.cmp.not, label %._crit_edge311, label %.epil.preheader, !llvm.loop !37

._crit_edge311:                                   ; preds = %._crit_edge311.loopexit349.unr-lcssa, %.epil.preheader, %._crit_edge311.loopexit342.unr-lcssa, %.epil.preheader362, %._crit_edge311.loopexit.unr-lcssa, %.epil.preheader368, %40, %._crit_edge263, %249, %246, %242, %._crit_edge300, %88, %85, %81, %48, %45, %41
  %.0197 = phi i1 [ false, %41 ], [ false, %45 ], [ true, %48 ], [ false, %81 ], [ false, %85 ], [ false, %88 ], [ true, %._crit_edge300 ], [ false, %242 ], [ false, %246 ], [ false, %249 ], [ true, %._crit_edge263 ], [ false, %40 ], [ true, %.epil.preheader368 ], [ true, %._crit_edge311.loopexit.unr-lcssa ], [ true, %.epil.preheader362 ], [ true, %._crit_edge311.loopexit342.unr-lcssa ], [ true, %.epil.preheader ], [ true, %._crit_edge311.loopexit349.unr-lcssa ]
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %7)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  ret i1 %.0197
}

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_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

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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"double", !6, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !6, i64 0}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = !{!20, !9, i64 16}
!20 = !{!"_ZTSN11alglib_impl9ae_matrixE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !21, i64 32, !22, i64 40, !6, i64 72}
!21 = !{!"bool", !6, i64 0}
!22 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}
!25 = distinct !{!25, !13, !26}
!26 = !{!"llvm.loop.unswitch.partial.disable"}
!27 = distinct !{!27, !13}
!28 = distinct !{!28, !13}
!29 = distinct !{!29, !13}
!30 = distinct !{!30, !13}
!31 = distinct !{!31, !13}
!32 = distinct !{!32, !13}
!33 = distinct !{!33, !13}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.unroll.disable"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}


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