; LLVM IR from Dimandragon/non-parametric-dsp :: 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_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }

@.str.331 = external hidden unnamed_addr constant [31 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

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

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

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

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

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

54:                                               ; preds = %8
  %55 = load i64, ptr %12, align 8, !tbaa !9
  %56 = icmp sle i64 %55, 3
  br label %57

57:                                               ; preds = %54, %8
  %58 = phi i1 [ false, %8 ], [ %56, %54 ]
  %59 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %58, ptr noundef @.str.331, ptr noundef %59)
  %60 = load i64, ptr %12, align 8, !tbaa !9
  %61 = icmp eq i64 %60, 0
  br i1 %61, label %62, label %75

62:                                               ; preds = %57
  %63 = load i64, ptr %11, align 8, !tbaa !9
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl17rmatrixhessenbergEPNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %19, i64 noundef %63, ptr noundef %28, ptr noundef %64)
  %65 = load i64, ptr %11, align 8, !tbaa !9
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl33rmatrixinternalschurdecompositionEPNS_9ae_matrixElllPNS_9ae_vectorES3_S1_PlPNS_8ae_stateE(ptr noundef %19, i64 noundef %65, i64 noundef 0, i64 noundef 0, ptr noundef %66, ptr noundef %67, ptr noundef %25, ptr noundef %30, ptr noundef %68)
  %69 = load i64, ptr %30, align 8, !tbaa !9
  %70 = icmp eq i64 %69, 0
  %71 = zext i1 %70 to i8
  store i8 %71, ptr %33, align 1, !tbaa !11
  %72 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %72)
  %73 = load i8, ptr %33, align 1, !tbaa !11, !range !13, !noundef !14
  %74 = trunc i8 %73 to i1
  store i1 %74, ptr %9, align 1
  store i32 1, ptr %34, align 4
  br label %179

75:                                               ; preds = %57
  %76 = load i64, ptr %11, align 8, !tbaa !9
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl17rmatrixhessenbergEPNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %19, i64 noundef %76, ptr noundef %28, ptr noundef %77)
  %78 = load i64, ptr %11, align 8, !tbaa !9
  %79 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl24rmatrixhessenbergunpackqEPKNS_9ae_matrixElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(ptr noundef %19, i64 noundef %78, ptr noundef %28, ptr noundef %24, ptr noundef %79)
  %80 = load i64, ptr %11, align 8, !tbaa !9
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl33rmatrixinternalschurdecompositionEPNS_9ae_matrixElllPNS_9ae_vectorES3_S1_PlPNS_8ae_stateE(ptr noundef %19, i64 noundef %80, i64 noundef 1, i64 noundef 1, ptr noundef %81, ptr noundef %82, ptr noundef %24, ptr noundef %30, ptr noundef %83)
  %84 = load i64, ptr %30, align 8, !tbaa !9
  %85 = icmp eq i64 %84, 0
  %86 = zext i1 %85 to i8
  store i8 %86, ptr %33, align 1, !tbaa !11
  %87 = load i8, ptr %33, align 1, !tbaa !11, !range !13, !noundef !14
  %88 = trunc i8 %87 to i1
  br i1 %88, label %93, label %89

89:                                               ; preds = %75
  %90 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %90)
  %91 = load i8, ptr %33, align 1, !tbaa !11, !range !13, !noundef !14
  %92 = trunc i8 %91 to i1
  store i1 %92, ptr %9, align 1
  store i32 1, ptr %34, align 4
  br label %179

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

96:                                               ; preds = %93
  %97 = load i64, ptr %12, align 8, !tbaa !9
  %98 = icmp eq i64 %97, 3
  br i1 %98, label %99, label %130

99:                                               ; preds = %96, %93
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  %101 = load i64, ptr %11, align 8, !tbaa !9
  %102 = load i64, ptr %11, align 8, !tbaa !9
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %100, i64 noundef %101, i64 noundef %102, ptr noundef %103)
  store i64 0, ptr %29, align 8, !tbaa !9
  br label %104

104:                                              ; preds = %126, %99
  %105 = load i64, ptr %29, align 8, !tbaa !9
  %106 = load i64, ptr %11, align 8, !tbaa !9
  %107 = sub nsw i64 %106, 1
  %108 = icmp sle i64 %105, %107
  br i1 %108, label %109, label %129

109:                                              ; preds = %104
  %110 = load ptr, ptr %16, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %110, i32 0, i32 6
  %112 = load ptr, ptr %111, align 8, !tbaa !15
  %113 = load i64, ptr %29, align 8, !tbaa !9
  %114 = getelementptr inbounds ptr, ptr %112, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = getelementptr inbounds double, ptr %115, i64 0
  %117 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %118 = load ptr, ptr %117, align 8, !tbaa !15
  %119 = load i64, ptr %29, align 8, !tbaa !9
  %120 = getelementptr inbounds ptr, ptr %118, i64 %119
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = getelementptr inbounds double, ptr %121, i64 0
  %123 = load i64, ptr %11, align 8, !tbaa !9
  %124 = sub nsw i64 %123, 1
  %125 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %124)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %116, i64 noundef 1, ptr noundef %122, i64 noundef 1, i64 noundef %125)
  br label %126

126:                                              ; preds = %109
  %127 = load i64, ptr %29, align 8, !tbaa !9
  %128 = add nsw i64 %127, 1
  store i64 %128, ptr %29, align 8, !tbaa !9
  br label %104, !llvm.loop !16

129:                                              ; preds = %104
  br label %130

130:                                              ; preds = %129, %96
  %131 = load i64, ptr %12, align 8, !tbaa !9
  %132 = icmp eq i64 %131, 2
  br i1 %132, label %136, label %133

133:                                              ; preds = %130
  %134 = load i64, ptr %12, align 8, !tbaa !9
  %135 = icmp eq i64 %134, 3
  br i1 %135, label %136, label %167

136:                                              ; preds = %133, %130
  %137 = load ptr, ptr %15, align 8, !tbaa !5
  %138 = load i64, ptr %11, align 8, !tbaa !9
  %139 = load i64, ptr %11, align 8, !tbaa !9
  %140 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %137, i64 noundef %138, i64 noundef %139, ptr noundef %140)
  store i64 0, ptr %29, align 8, !tbaa !9
  br label %141

141:                                              ; preds = %163, %136
  %142 = load i64, ptr %29, align 8, !tbaa !9
  %143 = load i64, ptr %11, align 8, !tbaa !9
  %144 = sub nsw i64 %143, 1
  %145 = icmp sle i64 %142, %144
  br i1 %145, label %146, label %166

146:                                              ; preds = %141
  %147 = load ptr, ptr %15, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %147, i32 0, i32 6
  %149 = load ptr, ptr %148, align 8, !tbaa !15
  %150 = load i64, ptr %29, align 8, !tbaa !9
  %151 = getelementptr inbounds ptr, ptr %149, i64 %150
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = getelementptr inbounds double, ptr %152, i64 0
  %154 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 6
  %155 = load ptr, ptr %154, align 8, !tbaa !15
  %156 = load i64, ptr %29, align 8, !tbaa !9
  %157 = getelementptr inbounds ptr, ptr %155, i64 %156
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  %159 = getelementptr inbounds double, ptr %158, i64 0
  %160 = load i64, ptr %11, align 8, !tbaa !9
  %161 = sub nsw i64 %160, 1
  %162 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %161)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %153, i64 noundef 1, ptr noundef %159, i64 noundef 1, i64 noundef %162)
  br label %163

163:                                              ; preds = %146
  %164 = load i64, ptr %29, align 8, !tbaa !9
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr %29, align 8, !tbaa !9
  br label %141, !llvm.loop !18

166:                                              ; preds = %141
  br label %167

167:                                              ; preds = %166, %133
  %168 = load i64, ptr %11, align 8, !tbaa !9
  %169 = load i64, ptr %12, align 8, !tbaa !9
  %170 = load ptr, ptr %15, align 8, !tbaa !5
  %171 = load ptr, ptr %16, align 8, !tbaa !5
  %172 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_implL24evd_rmatrixinternaltrevcEPKNS_9ae_matrixElllPKNS_9ae_vectorEPS0_S6_PlS7_PNS_8ae_stateE(ptr noundef %19, i64 noundef %168, i64 noundef %169, i64 noundef 1, ptr noundef %31, ptr noundef %170, ptr noundef %171, ptr noundef %32, ptr noundef %30, ptr noundef %172)
  %173 = load i64, ptr %30, align 8, !tbaa !9
  %174 = icmp eq i64 %173, 0
  %175 = zext i1 %174 to i8
  store i8 %175, ptr %33, align 1, !tbaa !11
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %176)
  %177 = load i8, ptr %33, align 1, !tbaa !11, !range !13, !noundef !14
  %178 = trunc i8 %177 to i1
  store i1 %178, ptr %9, align 1
  store i32 1, ptr %34, align 4
  br label %179

179:                                              ; preds = %167, %89, %62
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 80, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #4
  %180 = load i1, ptr %9, align 1
  ret i1 %180
}

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

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

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

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) #3

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #3

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

declare void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef) #3

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

declare void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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

@.str.331 = external hidden unnamed_addr constant [31 x i8], align 1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl10rmatrixevdEPKNS_9ae_matrixEllPNS_9ae_vectorES4_PS0_S5_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #1 {
  %9 = alloca %"struct.alglib_impl::ae_frame", align 8
  %10 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %11 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %12 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %13 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %14 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %15 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %16 = alloca %"struct.alglib_impl::ae_matrix", 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 i64, align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 80, 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 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #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(80) %10, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %11, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %12, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %13, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %14, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %15, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %16, i8 0, i64 80, 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(64) %21, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %10, ptr noundef %0, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %3)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %4)
  call void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef %5)
  call void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef %6)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %11, 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 %12, 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 %13, 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 %14, 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 %15, 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 %16, i64 noundef 0, 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 %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_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %21, i64 noundef 0, i64 noundef 1, ptr noundef %7, i1 noundef zeroext true)
  %23 = icmp ult i64 %2, 4
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %23, ptr noundef nonnull @.str.331, ptr noundef %7)
  %24 = icmp eq i64 %2, 0
  call void @_ZN11alglib_impl17rmatrixhessenbergEPNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %1, ptr noundef nonnull %19, ptr noundef %7)
  br i1 %24, label %25, label %28

25:                                               ; preds = %8
  call void @_ZN11alglib_impl33rmatrixinternalschurdecompositionEPNS_9ae_matrixElllPNS_9ae_vectorES3_S1_PlPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %1, i64 noundef 0, i64 noundef 0, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %16, ptr noundef nonnull %20, ptr noundef %7)
  %26 = load i64, ptr %20, align 8, !tbaa !5
  %27 = icmp eq i64 %26, 0
  br label %62

28:                                               ; preds = %8
  call void @_ZN11alglib_impl24rmatrixhessenbergunpackqEPKNS_9ae_matrixElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %1, ptr noundef nonnull %19, ptr noundef nonnull %15, ptr noundef %7)
  call void @_ZN11alglib_impl33rmatrixinternalschurdecompositionEPNS_9ae_matrixElllPNS_9ae_vectorES3_S1_PlPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %1, i64 noundef 1, i64 noundef 1, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %15, ptr noundef nonnull %20, ptr noundef %7)
  %29 = load i64, ptr %20, align 8, !tbaa !5
  %30 = icmp eq i64 %29, 0
  br i1 %30, label %31, label %62

31:                                               ; preds = %28
  %32 = and i64 %2, -3
  %or.cond = icmp eq i64 %32, 1
  br i1 %or.cond, label %33, label %.loopexit82

33:                                               ; preds = %31
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %6, i64 noundef %1, i64 noundef %1, ptr noundef %7)
  %.not.not83 = icmp sgt i64 %1, 0
  br i1 %.not.not83, label %.lr.ph, label %.loopexit82

.lr.ph:                                           ; preds = %33
  %34 = add nsw i64 %1, -1
  %35 = getelementptr inbounds i8, ptr %6, i64 72
  %36 = getelementptr inbounds i8, ptr %15, i64 72
  br label %37

37:                                               ; preds = %.lr.ph, %37
  %.084 = phi i64 [ 0, %.lr.ph ], [ %45, %37 ]
  %38 = load ptr, ptr %35, align 8, !tbaa !9
  %39 = getelementptr inbounds ptr, ptr %38, i64 %.084
  %40 = load ptr, ptr %39, align 8, !tbaa !10
  %41 = load ptr, ptr %36, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i64 %.084
  %43 = load ptr, ptr %42, align 8, !tbaa !10
  %44 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %34)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %40, i64 noundef 1, ptr noundef %43, i64 noundef 1, i64 noundef %44)
  %45 = add nuw nsw i64 %.084, 1
  %exitcond.not = icmp eq i64 %45, %1
  br i1 %exitcond.not, label %.loopexit82, label %37, !llvm.loop !12

.loopexit82:                                      ; preds = %37, %33, %31
  %46 = and i64 %2, -2
  %or.cond3 = icmp eq i64 %46, 2
  br i1 %or.cond3, label %47, label %.loopexit

47:                                               ; preds = %.loopexit82
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %1, i64 noundef %1, ptr noundef %7)
  %.not.not8185 = icmp sgt i64 %1, 0
  br i1 %.not.not8185, label %.lr.ph87, label %.loopexit

.lr.ph87:                                         ; preds = %47
  %48 = add nsw i64 %1, -1
  %49 = getelementptr inbounds i8, ptr %5, i64 72
  %50 = getelementptr inbounds i8, ptr %15, i64 72
  br label %51

51:                                               ; preds = %.lr.ph87, %51
  %.186 = phi i64 [ 0, %.lr.ph87 ], [ %59, %51 ]
  %52 = load ptr, ptr %49, align 8, !tbaa !9
  %53 = getelementptr inbounds ptr, ptr %52, i64 %.186
  %54 = load ptr, ptr %53, align 8, !tbaa !10
  %55 = load ptr, ptr %50, align 8, !tbaa !9
  %56 = getelementptr inbounds ptr, ptr %55, i64 %.186
  %57 = load ptr, ptr %56, align 8, !tbaa !10
  %58 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %48)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %54, i64 noundef 1, ptr noundef %57, i64 noundef 1, i64 noundef %58)
  %59 = add nuw nsw i64 %.186, 1
  %exitcond88.not = icmp eq i64 %59, %1
  br i1 %exitcond88.not, label %.loopexit, label %51, !llvm.loop !14

.loopexit:                                        ; preds = %51, %47, %.loopexit82
  call void @_ZN11alglib_implL24evd_rmatrixinternaltrevcEPKNS_9ae_matrixElllPKNS_9ae_vectorEPS0_S6_PlS7_PNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %1, i64 noundef %2, i64 noundef 1, ptr noundef nonnull %21, ptr noundef %5, ptr noundef %6, ptr noundef nonnull %22, ptr noundef nonnull %20, ptr noundef %7)
  %60 = load i64, ptr %20, align 8, !tbaa !5
  %61 = icmp eq i64 %60, 0
  br label %62

62:                                               ; preds = %28, %.loopexit, %25
  %.076 = phi i1 [ %27, %25 ], [ %61, %.loopexit ], [ false, %28 ]
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 80, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  ret i1 %.076
}

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

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

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

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) local_unnamed_addr #3

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

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 #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

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

declare void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef) local_unnamed_addr #3

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

declare void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass