; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src (optimization)

; 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::xbfgshessian" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, double, double, double, double, i64, double, double, %"struct.alglib_impl::ae_matrix", i64, double, double, double, i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::ae_vector", i8, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", double, double, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.298 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [54 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17hessiangetlowrankEPNS_12xbfgshessianEPNS_9ae_vectorEPNS_9ae_matrixES3_PlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl32hessiangetlowrankstabilizedlbfgsEPNS_12xbfgshessianEPNS_9ae_vectorEPNS_9ae_matrixES3_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %16 = load ptr, ptr %11, align 8, !tbaa !5
  store i64 0, ptr %16, align 8, !tbaa !9
  %17 = load ptr, ptr %7, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %17, i32 0, i32 0
  %19 = load i64, ptr %18, align 8, !tbaa !11
  %20 = icmp eq i64 %19, 3
  %21 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %20, ptr noundef @.str.298, ptr noundef %21)
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %22, i32 0, i32 3
  %24 = load i64, ptr %23, align 8, !tbaa !18
  store i64 %24, ptr %14, align 8, !tbaa !9
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %27, i32 0, i32 62
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %29, i32 0, i32 63
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl17hessiangetlowrankEPNS_12xbfgshessianEPNS_9ae_vectorEPNS_9ae_matrixES3_PlPNS_8ae_stateE(ptr noundef %25, ptr noundef %26, ptr noundef %28, ptr noundef %30, ptr noundef %31, ptr noundef %32)
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = icmp eq i64 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %6
  store i32 1, ptr %15, align 4
  br label %369

37:                                               ; preds = %6
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = load i64, ptr %14, align 8, !tbaa !9
  %41 = icmp sgt i64 %39, %40
  br i1 %41, label %42, label %187

42:                                               ; preds = %37
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = load i64, ptr %14, align 8, !tbaa !9
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %46, i32 0, i32 67
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %44, i64 noundef %45, ptr noundef %47, ptr noundef %48)
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = load i64, ptr %49, align 8, !tbaa !9
  %51 = load i64, ptr %14, align 8, !tbaa !9
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %52, i32 0, i32 68
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %50, i64 noundef %51, ptr noundef %53, ptr noundef %54)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %90, %42
  %56 = load i64, ptr %13, align 8, !tbaa !9
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = load i64, ptr %57, align 8, !tbaa !9
  %59 = sub nsw i64 %58, 1
  %60 = icmp sle i64 %56, %59
  br i1 %60, label %61, label %93

61:                                               ; preds = %55
  %62 = load i64, ptr %14, align 8, !tbaa !9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %63, i32 0, i32 62
  %65 = load i64, ptr %13, align 8, !tbaa !9
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %66, i32 0, i32 68
  %68 = load i64, ptr %13, align 8, !tbaa !9
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %62, ptr noundef %64, i64 noundef %65, ptr noundef %67, i64 noundef %68, ptr noundef %69)
  %70 = load i64, ptr %14, align 8, !tbaa !9
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %71, i32 0, i32 62
  %73 = load i64, ptr %13, align 8, !tbaa !9
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %74, i32 0, i32 67
  %76 = load i64, ptr %13, align 8, !tbaa !9
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %70, ptr noundef %72, i64 noundef %73, ptr noundef %75, i64 noundef %76, ptr noundef %77)
  %78 = load i64, ptr %14, align 8, !tbaa !9
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %79, i32 0, i32 63
  %81 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %80, i32 0, i32 4
  %82 = load ptr, ptr %81, align 8, !tbaa !19
  %83 = load i64, ptr %13, align 8, !tbaa !9
  %84 = getelementptr inbounds double, ptr %82, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !20
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %86, i32 0, i32 67
  %88 = load i64, ptr %13, align 8, !tbaa !9
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %78, double noundef %85, ptr noundef %87, i64 noundef %88, ptr noundef %89)
  br label %90

90:                                               ; preds = %61
  %91 = load i64, ptr %13, align 8, !tbaa !9
  %92 = add nsw i64 %91, 1
  store i64 %92, ptr %13, align 8, !tbaa !9
  br label %55, !llvm.loop !21

93:                                               ; preds = %55
  %94 = load i64, ptr %14, align 8, !tbaa !9
  %95 = load i64, ptr %14, align 8, !tbaa !9
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %96, i32 0, i32 66
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %94, i64 noundef %95, ptr noundef %97, ptr noundef %98)
  %99 = load i64, ptr %14, align 8, !tbaa !9
  %100 = load i64, ptr %14, align 8, !tbaa !9
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = load i64, ptr %101, align 8, !tbaa !9
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %103, i32 0, i32 68
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %105, i32 0, i32 67
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %107, i32 0, i32 66
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %99, i64 noundef %100, i64 noundef %102, double noundef 1.000000e+00, ptr noundef %104, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %106, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %108, i64 noundef 0, i64 noundef 0, ptr noundef %109)
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %110, i32 0, i32 66
  %112 = load i64, ptr %14, align 8, !tbaa !9
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %113, i32 0, i32 69
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %115, i32 0, i32 65
  %117 = load ptr, ptr %12, align 8, !tbaa !5
  %118 = call noundef zeroext i1 @_ZN11alglib_impl10smatrixevdEPKNS_9ae_matrixEllbPNS_9ae_vectorEPS0_PNS_8ae_stateE(ptr noundef %111, i64 noundef %112, i64 noundef 1, i1 noundef zeroext false, ptr noundef %114, ptr noundef %116, ptr noundef %117)
  br i1 %118, label %121, label %119

119:                                              ; preds = %93
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.299, ptr noundef %120)
  br label %121

121:                                              ; preds = %119, %93
  %122 = load i64, ptr %14, align 8, !tbaa !9
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  store i64 %122, ptr %123, align 8, !tbaa !9
  %124 = load i64, ptr %14, align 8, !tbaa !9
  %125 = load i64, ptr %14, align 8, !tbaa !9
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %124, i64 noundef %125, ptr noundef %126, ptr noundef %127)
  %128 = load i64, ptr %14, align 8, !tbaa !9
  %129 = load i64, ptr %14, align 8, !tbaa !9
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %130, i32 0, i32 65
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl16rmatrixtransposeEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef %128, i64 noundef %129, ptr noundef %131, i64 noundef 0, i64 noundef 0, ptr noundef %132, i64 noundef 0, i64 noundef 0, ptr noundef %133)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %134

134:                                              ; preds = %155, %121
  %135 = load i64, ptr %13, align 8, !tbaa !9
  %136 = load i64, ptr %14, align 8, !tbaa !9
  %137 = sub nsw i64 %136, 1
  %138 = icmp sle i64 %135, %137
  br i1 %138, label %139, label %158

139:                                              ; preds = %134
  %140 = load i64, ptr %14, align 8, !tbaa !9
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %141, i32 0, i32 69
  %143 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %142, i32 0, i32 4
  %144 = load ptr, ptr %143, align 8, !tbaa !19
  %145 = load i64, ptr %13, align 8, !tbaa !9
  %146 = getelementptr inbounds double, ptr %144, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !20
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %147, ptr noundef %148)
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %149, ptr noundef %150)
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = load i64, ptr %13, align 8, !tbaa !9
  %154 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %140, double noundef %151, ptr noundef %152, i64 noundef %153, ptr noundef %154)
  br label %155

155:                                              ; preds = %139
  %156 = load i64, ptr %13, align 8, !tbaa !9
  %157 = add nsw i64 %156, 1
  store i64 %157, ptr %13, align 8, !tbaa !9
  br label %134, !llvm.loop !23

158:                                              ; preds = %134
  %159 = load i64, ptr %14, align 8, !tbaa !9
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %159, ptr noundef %160, ptr noundef %161)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %162

162:                                              ; preds = %183, %158
  %163 = load i64, ptr %13, align 8, !tbaa !9
  %164 = load i64, ptr %14, align 8, !tbaa !9
  %165 = sub nsw i64 %164, 1
  %166 = icmp sle i64 %163, %165
  br i1 %166, label %167, label %186

167:                                              ; preds = %162
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %168, i32 0, i32 69
  %170 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %169, i32 0, i32 4
  %171 = load ptr, ptr %170, align 8, !tbaa !19
  %172 = load i64, ptr %13, align 8, !tbaa !9
  %173 = getelementptr inbounds double, ptr %171, i64 %172
  %174 = load double, ptr %173, align 8, !tbaa !20
  %175 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %174, double noundef 0.000000e+00)
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = call noundef double @_ZN11alglib_impl6rcase2EbddPNS_8ae_stateE(i1 noundef zeroext %175, double noundef 1.000000e+00, double noundef -1.000000e+00, ptr noundef %176)
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %178, i32 0, i32 4
  %180 = load ptr, ptr %179, align 8, !tbaa !19
  %181 = load i64, ptr %13, align 8, !tbaa !9
  %182 = getelementptr inbounds double, ptr %180, i64 %181
  store double %177, ptr %182, align 8, !tbaa !20
  br label %183

183:                                              ; preds = %167
  %184 = load i64, ptr %13, align 8, !tbaa !9
  %185 = add nsw i64 %184, 1
  store i64 %185, ptr %13, align 8, !tbaa !9
  br label %162, !llvm.loop !24

186:                                              ; preds = %162
  store i32 1, ptr %15, align 4
  br label %369

187:                                              ; preds = %37
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %188, i32 0, i32 62
  %190 = load ptr, ptr %11, align 8, !tbaa !5
  %191 = load i64, ptr %190, align 8, !tbaa !9
  %192 = load i64, ptr %14, align 8, !tbaa !9
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %193, i32 0, i32 70
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl9rmatrixlqEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %189, i64 noundef %191, i64 noundef %192, ptr noundef %194, ptr noundef %195)
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %196, i32 0, i32 62
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = load i64, ptr %198, align 8, !tbaa !9
  %200 = load i64, ptr %14, align 8, !tbaa !9
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %201, i32 0, i32 70
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = load i64, ptr %203, align 8, !tbaa !9
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %205, i32 0, i32 64
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl16rmatrixlqunpackqEPKNS_9ae_matrixEllPKNS_9ae_vectorElPS0_PNS_8ae_stateE(ptr noundef %197, i64 noundef %199, i64 noundef %200, ptr noundef %202, i64 noundef %204, ptr noundef %206, ptr noundef %207)
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = load i64, ptr %208, align 8, !tbaa !9
  %210 = load ptr, ptr %11, align 8, !tbaa !5
  %211 = load i64, ptr %210, align 8, !tbaa !9
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %212, i32 0, i32 67
  %214 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocmElldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %209, i64 noundef %211, double noundef 0.000000e+00, ptr noundef %213, ptr noundef %214)
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = load i64, ptr %215, align 8, !tbaa !9
  %217 = load ptr, ptr %11, align 8, !tbaa !5
  %218 = load i64, ptr %217, align 8, !tbaa !9
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %219, i32 0, i32 68
  %221 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocmElldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %216, i64 noundef %218, double noundef 0.000000e+00, ptr noundef %220, ptr noundef %221)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %222

222:                                              ; preds = %260, %187
  %223 = load i64, ptr %13, align 8, !tbaa !9
  %224 = load ptr, ptr %11, align 8, !tbaa !5
  %225 = load i64, ptr %224, align 8, !tbaa !9
  %226 = sub nsw i64 %225, 1
  %227 = icmp sle i64 %223, %226
  br i1 %227, label %228, label %263

228:                                              ; preds = %222
  %229 = load i64, ptr %13, align 8, !tbaa !9
  %230 = add nsw i64 %229, 1
  %231 = load ptr, ptr %7, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %231, i32 0, i32 62
  %233 = load i64, ptr %13, align 8, !tbaa !9
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %234, i32 0, i32 68
  %236 = load i64, ptr %13, align 8, !tbaa !9
  %237 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %230, ptr noundef %232, i64 noundef %233, ptr noundef %235, i64 noundef %236, ptr noundef %237)
  %238 = load i64, ptr %13, align 8, !tbaa !9
  %239 = add nsw i64 %238, 1
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %240, i32 0, i32 62
  %242 = load i64, ptr %13, align 8, !tbaa !9
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %243, i32 0, i32 67
  %245 = load i64, ptr %13, align 8, !tbaa !9
  %246 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %239, ptr noundef %241, i64 noundef %242, ptr noundef %244, i64 noundef %245, ptr noundef %246)
  %247 = load i64, ptr %13, align 8, !tbaa !9
  %248 = add nsw i64 %247, 1
  %249 = load ptr, ptr %7, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %249, i32 0, i32 63
  %251 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %250, i32 0, i32 4
  %252 = load ptr, ptr %251, align 8, !tbaa !19
  %253 = load i64, ptr %13, align 8, !tbaa !9
  %254 = getelementptr inbounds double, ptr %252, i64 %253
  %255 = load double, ptr %254, align 8, !tbaa !20
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %256, i32 0, i32 67
  %258 = load i64, ptr %13, align 8, !tbaa !9
  %259 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %248, double noundef %255, ptr noundef %257, i64 noundef %258, ptr noundef %259)
  br label %260

260:                                              ; preds = %228
  %261 = load i64, ptr %13, align 8, !tbaa !9
  %262 = add nsw i64 %261, 1
  store i64 %262, ptr %13, align 8, !tbaa !9
  br label %222, !llvm.loop !25

263:                                              ; preds = %222
  %264 = load ptr, ptr %11, align 8, !tbaa !5
  %265 = load i64, ptr %264, align 8, !tbaa !9
  %266 = load ptr, ptr %11, align 8, !tbaa !5
  %267 = load i64, ptr %266, align 8, !tbaa !9
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  %269 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %268, i32 0, i32 66
  %270 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %265, i64 noundef %267, ptr noundef %269, ptr noundef %270)
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = load i64, ptr %271, align 8, !tbaa !9
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = load i64, ptr %273, align 8, !tbaa !9
  %275 = load ptr, ptr %11, align 8, !tbaa !5
  %276 = load i64, ptr %275, align 8, !tbaa !9
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %277, i32 0, i32 68
  %279 = load ptr, ptr %7, align 8, !tbaa !5
  %280 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %279, i32 0, i32 67
  %281 = load ptr, ptr %7, align 8, !tbaa !5
  %282 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %281, i32 0, i32 66
  %283 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %272, i64 noundef %274, i64 noundef %276, double noundef 1.000000e+00, ptr noundef %278, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %280, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %282, i64 noundef 0, i64 noundef 0, ptr noundef %283)
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %284, i32 0, i32 66
  %286 = load ptr, ptr %11, align 8, !tbaa !5
  %287 = load i64, ptr %286, align 8, !tbaa !9
  %288 = load ptr, ptr %7, align 8, !tbaa !5
  %289 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %288, i32 0, i32 69
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %290, i32 0, i32 65
  %292 = load ptr, ptr %12, align 8, !tbaa !5
  %293 = call noundef zeroext i1 @_ZN11alglib_impl10smatrixevdEPKNS_9ae_matrixEllbPNS_9ae_vectorEPS0_PNS_8ae_stateE(ptr noundef %285, i64 noundef %287, i64 noundef 1, i1 noundef zeroext false, ptr noundef %289, ptr noundef %291, ptr noundef %292)
  br i1 %293, label %296, label %294

294:                                              ; preds = %263
  %295 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.299, ptr noundef %295)
  br label %296

296:                                              ; preds = %294, %263
  %297 = load ptr, ptr %11, align 8, !tbaa !5
  %298 = load i64, ptr %297, align 8, !tbaa !9
  %299 = load i64, ptr %14, align 8, !tbaa !9
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %298, i64 noundef %299, ptr noundef %300, ptr noundef %301)
  %302 = load ptr, ptr %11, align 8, !tbaa !5
  %303 = load i64, ptr %302, align 8, !tbaa !9
  %304 = load i64, ptr %14, align 8, !tbaa !9
  %305 = load ptr, ptr %11, align 8, !tbaa !5
  %306 = load i64, ptr %305, align 8, !tbaa !9
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %307, i32 0, i32 65
  %309 = load ptr, ptr %7, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %309, i32 0, i32 64
  %311 = load ptr, ptr %9, align 8, !tbaa !5
  %312 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %303, i64 noundef %304, i64 noundef %306, double noundef 1.000000e+00, ptr noundef %308, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %310, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %311, i64 noundef 0, i64 noundef 0, ptr noundef %312)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %313

313:                                              ; preds = %335, %296
  %314 = load i64, ptr %13, align 8, !tbaa !9
  %315 = load ptr, ptr %11, align 8, !tbaa !5
  %316 = load i64, ptr %315, align 8, !tbaa !9
  %317 = sub nsw i64 %316, 1
  %318 = icmp sle i64 %314, %317
  br i1 %318, label %319, label %338

319:                                              ; preds = %313
  %320 = load i64, ptr %14, align 8, !tbaa !9
  %321 = load ptr, ptr %7, align 8, !tbaa !5
  %322 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %321, i32 0, i32 69
  %323 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %322, i32 0, i32 4
  %324 = load ptr, ptr %323, align 8, !tbaa !19
  %325 = load i64, ptr %13, align 8, !tbaa !9
  %326 = getelementptr inbounds double, ptr %324, i64 %325
  %327 = load double, ptr %326, align 8, !tbaa !20
  %328 = load ptr, ptr %12, align 8, !tbaa !5
  %329 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %327, ptr noundef %328)
  %330 = load ptr, ptr %12, align 8, !tbaa !5
  %331 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %329, ptr noundef %330)
  %332 = load ptr, ptr %9, align 8, !tbaa !5
  %333 = load i64, ptr %13, align 8, !tbaa !9
  %334 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %320, double noundef %331, ptr noundef %332, i64 noundef %333, ptr noundef %334)
  br label %335

335:                                              ; preds = %319
  %336 = load i64, ptr %13, align 8, !tbaa !9
  %337 = add nsw i64 %336, 1
  store i64 %337, ptr %13, align 8, !tbaa !9
  br label %313, !llvm.loop !26

338:                                              ; preds = %313
  %339 = load ptr, ptr %11, align 8, !tbaa !5
  %340 = load i64, ptr %339, align 8, !tbaa !9
  %341 = load ptr, ptr %10, align 8, !tbaa !5
  %342 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %340, ptr noundef %341, ptr noundef %342)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %343

343:                                              ; preds = %365, %338
  %344 = load i64, ptr %13, align 8, !tbaa !9
  %345 = load ptr, ptr %11, align 8, !tbaa !5
  %346 = load i64, ptr %345, align 8, !tbaa !9
  %347 = sub nsw i64 %346, 1
  %348 = icmp sle i64 %344, %347
  br i1 %348, label %349, label %368

349:                                              ; preds = %343
  %350 = load ptr, ptr %7, align 8, !tbaa !5
  %351 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %350, i32 0, i32 69
  %352 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %351, i32 0, i32 4
  %353 = load ptr, ptr %352, align 8, !tbaa !19
  %354 = load i64, ptr %13, align 8, !tbaa !9
  %355 = getelementptr inbounds double, ptr %353, i64 %354
  %356 = load double, ptr %355, align 8, !tbaa !20
  %357 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %356, double noundef 0.000000e+00)
  %358 = load ptr, ptr %12, align 8, !tbaa !5
  %359 = call noundef double @_ZN11alglib_impl6rcase2EbddPNS_8ae_stateE(i1 noundef zeroext %357, double noundef 1.000000e+00, double noundef -1.000000e+00, ptr noundef %358)
  %360 = load ptr, ptr %10, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %360, i32 0, i32 4
  %362 = load ptr, ptr %361, align 8, !tbaa !19
  %363 = load i64, ptr %13, align 8, !tbaa !9
  %364 = getelementptr inbounds double, ptr %362, i64 %363
  store double %359, ptr %364, align 8, !tbaa !20
  br label %365

365:                                              ; preds = %349
  %366 = load i64, ptr %13, align 8, !tbaa !9
  %367 = add nsw i64 %366, 1
  store i64 %367, ptr %13, align 8, !tbaa !9
  br label %343, !llvm.loop !27

368:                                              ; preds = %343
  store i32 0, ptr %15, align 4
  br label %369

369:                                              ; preds = %368, %186, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  %370 = load i32, ptr %15, align 4
  switch i32 %370, label %372 [
    i32 0, label %371
    i32 1, label %371
  ]

371:                                              ; preds = %369, %369
  ret void

372:                                              ; preds = %369
  unreachable
}

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

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

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

declare noundef double @_ZN11alglib_impl6rcase2EbddPNS_8ae_stateE(i1 noundef zeroext, double noundef, double noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN11alglib_impl12xbfgshessianE", !10, i64 0, !13, i64 8, !13, i64 72, !10, i64 136, !10, i64 144, !16, i64 152, !16, i64 160, !16, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !16, i64 200, !10, i64 208, !16, i64 216, !16, i64 224, !17, i64 232, !10, i64 312, !16, i64 320, !16, i64 328, !16, i64 336, !10, i64 344, !16, i64 352, !17, i64 360, !17, i64 440, !17, i64 520, !17, i64 600, !14, i64 680, !10, i64 688, !17, i64 696, !17, i64 776, !14, i64 856, !13, i64 864, !14, i64 928, !10, i64 936, !17, i64 944, !13, i64 1024, !13, i64 1088, !17, i64 1152, !13, i64 1232, !13, i64 1296, !14, i64 1360, !13, i64 1368, !16, i64 1432, !16, i64 1440, !10, i64 1448, !17, i64 1456, !13, i64 1536, !13, i64 1600, !13, i64 1664, !13, i64 1728, !13, i64 1792, !13, i64 1856, !17, i64 1920, !17, i64 2000, !17, i64 2080, !17, i64 2160, !17, i64 2240, !17, i64 2320, !17, i64 2400, !17, i64 2480, !13, i64 2560, !13, i64 2624, !17, i64 2688, !13, i64 2768, !17, i64 2832, !17, i64 2912, !17, i64 2992, !17, i64 3072, !17, i64 3152, !13, i64 3232, !13, i64 3296}
!13 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !14, i64 16, !15, i64 24, !7, i64 56}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !14, i64 32, !15, i64 40, !7, i64 72}
!18 = !{!12, !10, i64 136}
!19 = !{!7, !7, i64 0}
!20 = !{!16, !16, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}
!27 = distinct !{!27, !22}


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

@.str.298 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [54 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17hessiangetlowrankEPNS_12xbfgshessianEPNS_9ae_vectorEPNS_9ae_matrixES3_PlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl32hessiangetlowrankstabilizedlbfgsEPNS_12xbfgshessianEPNS_9ae_vectorEPNS_9ae_matrixES3_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  store i64 0, ptr %4, align 8, !tbaa !5
  %7 = load i64, ptr %0, align 8, !tbaa !9
  %8 = icmp eq i64 %7, 3
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %8, ptr noundef nonnull @.str.298, ptr noundef %5)
  %9 = getelementptr inbounds i8, ptr %0, i64 136
  %10 = load i64, ptr %9, align 8, !tbaa !17
  %11 = getelementptr inbounds i8, ptr %0, i64 2688
  %12 = getelementptr inbounds i8, ptr %0, i64 2768
  tail call void @_ZN11alglib_impl17hessiangetlowrankEPNS_12xbfgshessianEPNS_9ae_vectorEPNS_9ae_matrixES3_PlPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %4, ptr noundef %5)
  %13 = load i64, ptr %4, align 8, !tbaa !5
  %14 = icmp eq i64 %13, 0
  br i1 %14, label %.loopexit, label %15

15:                                               ; preds = %6
  %16 = icmp sgt i64 %13, %10
  br i1 %16, label %17, label %55

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %0, i64 3072
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %13, i64 noundef %10, ptr noundef nonnull %18, ptr noundef %5)
  %19 = load i64, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 3152
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %19, i64 noundef %10, ptr noundef nonnull %20, ptr noundef %5)
  %21 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not188205 = icmp sgt i64 %21, 0
  br i1 %.not.not188205, label %.lr.ph208, label %._crit_edge209

.lr.ph208:                                        ; preds = %17
  %22 = getelementptr inbounds i8, ptr %0, i64 2824
  br label %23

23:                                               ; preds = %.lr.ph208, %23
  %.0206 = phi i64 [ 0, %.lr.ph208 ], [ %27, %23 ]
  tail call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %10, ptr noundef nonnull %11, i64 noundef %.0206, ptr noundef nonnull %20, i64 noundef %.0206, ptr noundef %5)
  tail call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %10, ptr noundef nonnull %11, i64 noundef %.0206, ptr noundef nonnull %18, i64 noundef %.0206, ptr noundef %5)
  %24 = load ptr, ptr %22, align 8, !tbaa !18
  %25 = getelementptr inbounds double, ptr %24, i64 %.0206
  %26 = load double, ptr %25, align 8, !tbaa !19
  tail call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %10, double noundef %26, ptr noundef nonnull %18, i64 noundef %.0206, ptr noundef %5)
  %27 = add nuw nsw i64 %.0206, 1
  %28 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not188 = icmp slt i64 %27, %28
  br i1 %.not.not188, label %23, label %._crit_edge209, !llvm.loop !20

._crit_edge209:                                   ; preds = %23, %17
  %29 = getelementptr inbounds i8, ptr %0, i64 2992
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %10, i64 noundef %10, ptr noundef nonnull %29, ptr noundef %5)
  %30 = load i64, ptr %4, align 8, !tbaa !5
  tail call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %10, i64 noundef %10, i64 noundef %30, double noundef 1.000000e+00, ptr noundef nonnull %20, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef nonnull %18, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef nonnull %29, i64 noundef 0, i64 noundef 0, ptr noundef %5)
  %31 = getelementptr inbounds i8, ptr %0, i64 3232
  %32 = getelementptr inbounds i8, ptr %0, i64 2912
  %33 = tail call noundef zeroext i1 @_ZN11alglib_impl10smatrixevdEPKNS_9ae_matrixEllbPNS_9ae_vectorEPS0_PNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef %10, i64 noundef 1, i1 noundef zeroext false, ptr noundef nonnull %31, ptr noundef nonnull %32, ptr noundef %5)
  br i1 %33, label %35, label %34

34:                                               ; preds = %._crit_edge209
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.299, ptr noundef %5)
  br label %35

35:                                               ; preds = %34, %._crit_edge209
  store i64 %10, ptr %4, align 8, !tbaa !5
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %10, i64 noundef %10, ptr noundef %2, ptr noundef %5)
  tail call void @_ZN11alglib_impl16rmatrixtransposeEllPKNS_9ae_matrixEllPS0_llPNS_8ae_stateE(i64 noundef %10, i64 noundef %10, ptr noundef nonnull %32, i64 noundef 0, i64 noundef 0, ptr noundef %2, i64 noundef 0, i64 noundef 0, ptr noundef %5)
  %.not.not189210 = icmp sgt i64 %10, 0
  br i1 %.not.not189210, label %.lr.ph213, label %._crit_edge214.thread

._crit_edge214.thread:                            ; preds = %35
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %10, ptr noundef %3, ptr noundef %5)
  br label %.loopexit

.lr.ph213:                                        ; preds = %35
  %36 = getelementptr inbounds i8, ptr %0, i64 3288
  br label %37

37:                                               ; preds = %.lr.ph213, %37
  %.1211 = phi i64 [ 0, %.lr.ph213 ], [ %43, %37 ]
  %38 = load ptr, ptr %36, align 8, !tbaa !18
  %39 = getelementptr inbounds double, ptr %38, i64 %.1211
  %40 = load double, ptr %39, align 8, !tbaa !19
  %41 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %40, ptr noundef %5)
  %42 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %41, ptr noundef %5)
  tail call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %10, double noundef %42, ptr noundef %2, i64 noundef %.1211, ptr noundef %5)
  %43 = add nuw nsw i64 %.1211, 1
  %exitcond.not = icmp eq i64 %43, %10
  br i1 %exitcond.not, label %._crit_edge214, label %37, !llvm.loop !22

._crit_edge214:                                   ; preds = %37
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %10, ptr noundef %3, ptr noundef %5)
  br i1 %.not.not189210, label %.lr.ph218, label %.loopexit

.lr.ph218:                                        ; preds = %._crit_edge214
  %44 = getelementptr inbounds i8, ptr %0, i64 3288
  %45 = getelementptr inbounds i8, ptr %3, i64 56
  br label %46

46:                                               ; preds = %.lr.ph218, %46
  %.2216 = phi i64 [ 0, %.lr.ph218 ], [ %54, %46 ]
  %47 = load ptr, ptr %44, align 8, !tbaa !18
  %48 = getelementptr inbounds double, ptr %47, i64 %.2216
  %49 = load double, ptr %48, align 8, !tbaa !19
  %50 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %49, double noundef 0.000000e+00)
  %51 = tail call noundef double @_ZN11alglib_impl6rcase2EbddPNS_8ae_stateE(i1 noundef zeroext %50, double noundef 1.000000e+00, double noundef -1.000000e+00, ptr noundef %5)
  %52 = load ptr, ptr %45, align 8, !tbaa !18
  %53 = getelementptr inbounds double, ptr %52, i64 %.2216
  store double %51, ptr %53, align 8, !tbaa !19
  %54 = add nuw nsw i64 %.2216, 1
  %exitcond222.not = icmp eq i64 %54, %10
  br i1 %exitcond222.not, label %.loopexit, label %46, !llvm.loop !23

55:                                               ; preds = %15
  %56 = getelementptr inbounds i8, ptr %0, i64 3296
  tail call void @_ZN11alglib_impl9rmatrixlqEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %13, i64 noundef %10, ptr noundef nonnull %56, ptr noundef %5)
  %57 = load i64, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %0, i64 2832
  tail call void @_ZN11alglib_impl16rmatrixlqunpackqEPKNS_9ae_matrixEllPKNS_9ae_vectorElPS0_PNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %57, i64 noundef %10, ptr noundef nonnull %56, i64 noundef %57, ptr noundef nonnull %58, ptr noundef %5)
  %59 = load i64, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %0, i64 3072
  tail call void @_ZN11alglib_impl10rsetallocmElldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %59, i64 noundef %59, double noundef 0.000000e+00, ptr noundef nonnull %60, ptr noundef %5)
  %61 = load i64, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %0, i64 3152
  tail call void @_ZN11alglib_impl10rsetallocmElldPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %61, i64 noundef %61, double noundef 0.000000e+00, ptr noundef nonnull %62, ptr noundef %5)
  %63 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not193 = icmp sgt i64 %63, 0
  br i1 %.not.not193, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %55
  %64 = getelementptr inbounds i8, ptr %0, i64 2824
  br label %65

65:                                               ; preds = %.lr.ph, %65
  %.3194 = phi i64 [ 0, %.lr.ph ], [ %66, %65 ]
  %66 = add nuw nsw i64 %.3194, 1
  tail call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %66, ptr noundef nonnull %11, i64 noundef %.3194, ptr noundef nonnull %62, i64 noundef %.3194, ptr noundef %5)
  tail call void @_ZN11alglib_impl7rcopyrrElPKNS_9ae_matrixElPS0_lPNS_8ae_stateE(i64 noundef %66, ptr noundef nonnull %11, i64 noundef %.3194, ptr noundef nonnull %60, i64 noundef %.3194, ptr noundef %5)
  %67 = load ptr, ptr %64, align 8, !tbaa !18
  %68 = getelementptr inbounds double, ptr %67, i64 %.3194
  %69 = load double, ptr %68, align 8, !tbaa !19
  tail call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %66, double noundef %69, ptr noundef nonnull %60, i64 noundef %.3194, ptr noundef %5)
  %70 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not = icmp slt i64 %66, %70
  br i1 %.not.not, label %65, label %._crit_edge, !llvm.loop !24

._crit_edge:                                      ; preds = %65, %55
  %.lcssa192 = phi i64 [ %63, %55 ], [ %70, %65 ]
  %71 = getelementptr inbounds i8, ptr %0, i64 2992
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %.lcssa192, i64 noundef %.lcssa192, ptr noundef nonnull %71, ptr noundef %5)
  %72 = load i64, ptr %4, align 8, !tbaa !5
  tail call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %72, i64 noundef %72, i64 noundef %72, double noundef 1.000000e+00, ptr noundef nonnull %62, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef nonnull %60, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef nonnull %71, i64 noundef 0, i64 noundef 0, ptr noundef %5)
  %73 = load i64, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %0, i64 3232
  %75 = getelementptr inbounds i8, ptr %0, i64 2912
  %76 = tail call noundef zeroext i1 @_ZN11alglib_impl10smatrixevdEPKNS_9ae_matrixEllbPNS_9ae_vectorEPS0_PNS_8ae_stateE(ptr noundef nonnull %71, i64 noundef %73, i64 noundef 1, i1 noundef zeroext false, ptr noundef nonnull %74, ptr noundef nonnull %75, ptr noundef %5)
  br i1 %76, label %78, label %77

77:                                               ; preds = %._crit_edge
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.299, ptr noundef %5)
  br label %78

78:                                               ; preds = %77, %._crit_edge
  %79 = load i64, ptr %4, align 8, !tbaa !5
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %79, i64 noundef %10, ptr noundef %2, ptr noundef %5)
  %80 = load i64, ptr %4, align 8, !tbaa !5
  tail call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %80, i64 noundef %10, i64 noundef %80, double noundef 1.000000e+00, ptr noundef nonnull %75, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef nonnull %58, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %2, i64 noundef 0, i64 noundef 0, ptr noundef %5)
  %81 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not186195 = icmp sgt i64 %81, 0
  br i1 %.not.not186195, label %.lr.ph198, label %._crit_edge199

.lr.ph198:                                        ; preds = %78
  %82 = getelementptr inbounds i8, ptr %0, i64 3288
  br label %83

83:                                               ; preds = %.lr.ph198, %83
  %.4196 = phi i64 [ 0, %.lr.ph198 ], [ %89, %83 ]
  %84 = load ptr, ptr %82, align 8, !tbaa !18
  %85 = getelementptr inbounds double, ptr %84, i64 %.4196
  %86 = load double, ptr %85, align 8, !tbaa !19
  %87 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %86, ptr noundef %5)
  %88 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %87, ptr noundef %5)
  tail call void @_ZN11alglib_impl5rmulrEldPNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %10, double noundef %88, ptr noundef %2, i64 noundef %.4196, ptr noundef %5)
  %89 = add nuw nsw i64 %.4196, 1
  %90 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not186 = icmp slt i64 %89, %90
  br i1 %.not.not186, label %83, label %._crit_edge199, !llvm.loop !25

._crit_edge199:                                   ; preds = %83, %78
  %.lcssa = phi i64 [ %81, %78 ], [ %90, %83 ]
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %.lcssa, ptr noundef %3, ptr noundef %5)
  %91 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not187201 = icmp sgt i64 %91, 0
  br i1 %.not.not187201, label %.lr.ph204, label %.loopexit

.lr.ph204:                                        ; preds = %._crit_edge199
  %92 = getelementptr inbounds i8, ptr %0, i64 3288
  %93 = getelementptr inbounds i8, ptr %3, i64 56
  br label %94

94:                                               ; preds = %.lr.ph204, %94
  %.5202 = phi i64 [ 0, %.lr.ph204 ], [ %102, %94 ]
  %95 = load ptr, ptr %92, align 8, !tbaa !18
  %96 = getelementptr inbounds double, ptr %95, i64 %.5202
  %97 = load double, ptr %96, align 8, !tbaa !19
  %98 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %97, double noundef 0.000000e+00)
  %99 = tail call noundef double @_ZN11alglib_impl6rcase2EbddPNS_8ae_stateE(i1 noundef zeroext %98, double noundef 1.000000e+00, double noundef -1.000000e+00, ptr noundef %5)
  %100 = load ptr, ptr %93, align 8, !tbaa !18
  %101 = getelementptr inbounds double, ptr %100, i64 %.5202
  store double %99, ptr %101, align 8, !tbaa !19
  %102 = add nuw nsw i64 %.5202, 1
  %103 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not187 = icmp slt i64 %102, %103
  br i1 %.not.not187, label %94, label %.loopexit, !llvm.loop !26

.loopexit:                                        ; preds = %94, %46, %._crit_edge214.thread, %._crit_edge199, %._crit_edge214, %6
  ret void
}

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

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

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

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN11alglib_impl12xbfgshessianE", !6, i64 0, !11, i64 8, !11, i64 72, !6, i64 136, !6, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !6, i64 208, !15, i64 216, !15, i64 224, !16, i64 232, !6, i64 312, !15, i64 320, !15, i64 328, !15, i64 336, !6, i64 344, !15, i64 352, !16, i64 360, !16, i64 440, !16, i64 520, !16, i64 600, !12, i64 680, !6, i64 688, !16, i64 696, !16, i64 776, !12, i64 856, !11, i64 864, !12, i64 928, !6, i64 936, !16, i64 944, !11, i64 1024, !11, i64 1088, !16, i64 1152, !11, i64 1232, !11, i64 1296, !12, i64 1360, !11, i64 1368, !15, i64 1432, !15, i64 1440, !6, i64 1448, !16, i64 1456, !11, i64 1536, !11, i64 1600, !11, i64 1664, !11, i64 1728, !11, i64 1792, !11, i64 1856, !16, i64 1920, !16, i64 2000, !16, i64 2080, !16, i64 2160, !16, i64 2240, !16, i64 2320, !16, i64 2400, !16, i64 2480, !11, i64 2560, !11, i64 2624, !16, i64 2688, !11, i64 2768, !16, i64 2832, !16, i64 2912, !16, i64 2992, !16, i64 3072, !16, i64 3152, !11, i64 3232, !11, i64 3296}
!11 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !12, i64 16, !13, i64 24, !7, i64 56}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !13, i64 40, !7, i64 72}
!17 = !{!10, !6, i64 136}
!18 = !{!7, !7, i64 0}
!19 = !{!15, !15, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}


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