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

; 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.1 }
%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.49 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [19 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
define dso_local void @_ZN11alglib_impl5covm2EPKNS_9ae_matrixES2_lllPS0_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #1 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.alglib_impl::ae_frame", align 8
  %16 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %17 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca double, align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca %"struct.alglib_impl::ae_vector", align 8
  %26 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !9
  store i64 %3, ptr %11, align 8, !tbaa !9
  store i64 %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #4
  %27 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %27, ptr noundef %15)
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 64, i1 false)
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %16, ptr noundef %28, ptr noundef %29, i1 noundef zeroext true)
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %17, ptr noundef %30, ptr noundef %31, i1 noundef zeroext true)
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef %32)
  %33 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %21, i64 noundef 0, i64 noundef 3, ptr noundef %33, i1 noundef zeroext true)
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %22, i64 noundef 0, i64 noundef 3, ptr noundef %34, i1 noundef zeroext true)
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %23, i64 noundef 0, i64 noundef 3, ptr noundef %35, i1 noundef zeroext true)
  %36 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %24, i64 noundef 0, i64 noundef 1, ptr noundef %36, i1 noundef zeroext true)
  %37 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %25, i64 noundef 0, i64 noundef 1, ptr noundef %37, i1 noundef zeroext true)
  %38 = load i64, ptr %10, align 8, !tbaa !9
  %39 = icmp sge i64 %38, 0
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef @.str.49, ptr noundef %40)
  %41 = load i64, ptr %11, align 8, !tbaa !9
  %42 = icmp sge i64 %41, 1
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %42, ptr noundef @.str.50, ptr noundef %43)
  %44 = load i64, ptr %12, align 8, !tbaa !9
  %45 = icmp sge i64 %44, 1
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %45, ptr noundef @.str.51, ptr noundef %46)
  %47 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 0
  %48 = load i64, ptr %47, align 8, !tbaa !11
  %49 = load i64, ptr %10, align 8, !tbaa !9
  %50 = icmp sge i64 %48, %49
  %51 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %50, ptr noundef @.str.52, ptr noundef %51)
  %52 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 1
  %53 = load i64, ptr %52, align 8, !tbaa !15
  %54 = load i64, ptr %11, align 8, !tbaa !9
  %55 = icmp sge i64 %53, %54
  br i1 %55, label %59, label %56

56:                                               ; preds = %7
  %57 = load i64, ptr %10, align 8, !tbaa !9
  %58 = icmp eq i64 %57, 0
  br label %59

59:                                               ; preds = %56, %7
  %60 = phi i1 [ true, %7 ], [ %58, %56 ]
  %61 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %60, ptr noundef @.str.53, ptr noundef %61)
  %62 = load i64, ptr %10, align 8, !tbaa !9
  %63 = load i64, ptr %11, align 8, !tbaa !9
  %64 = load ptr, ptr %14, align 8, !tbaa !5
  %65 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %16, i64 noundef %62, i64 noundef %63, ptr noundef %64)
  %66 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %65, ptr noundef @.str.54, ptr noundef %66)
  %67 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 0
  %68 = load i64, ptr %67, align 8, !tbaa !11
  %69 = load i64, ptr %10, align 8, !tbaa !9
  %70 = icmp sge i64 %68, %69
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %70, ptr noundef @.str.55, ptr noundef %71)
  %72 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 1
  %73 = load i64, ptr %72, align 8, !tbaa !15
  %74 = load i64, ptr %12, align 8, !tbaa !9
  %75 = icmp sge i64 %73, %74
  br i1 %75, label %79, label %76

76:                                               ; preds = %59
  %77 = load i64, ptr %10, align 8, !tbaa !9
  %78 = icmp eq i64 %77, 0
  br label %79

79:                                               ; preds = %76, %59
  %80 = phi i1 [ true, %59 ], [ %78, %76 ]
  %81 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %80, ptr noundef @.str.56, ptr noundef %81)
  %82 = load i64, ptr %10, align 8, !tbaa !9
  %83 = load i64, ptr %12, align 8, !tbaa !9
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  %85 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %17, i64 noundef %82, i64 noundef %83, ptr noundef %84)
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %85, ptr noundef @.str.54, ptr noundef %86)
  %87 = load i64, ptr %10, align 8, !tbaa !9
  %88 = icmp sle i64 %87, 1
  br i1 %88, label %89, label %123

89:                                               ; preds = %79
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = load i64, ptr %11, align 8, !tbaa !9
  %92 = load i64, ptr %12, align 8, !tbaa !9
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %90, i64 noundef %91, i64 noundef %92, ptr noundef %93)
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %94

94:                                               ; preds = %118, %89
  %95 = load i64, ptr %18, align 8, !tbaa !9
  %96 = load i64, ptr %11, align 8, !tbaa !9
  %97 = sub nsw i64 %96, 1
  %98 = icmp sle i64 %95, %97
  br i1 %98, label %99, label %121

99:                                               ; preds = %94
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %100

100:                                              ; preds = %114, %99
  %101 = load i64, ptr %19, align 8, !tbaa !9
  %102 = load i64, ptr %12, align 8, !tbaa !9
  %103 = sub nsw i64 %102, 1
  %104 = icmp sle i64 %101, %103
  br i1 %104, label %105, label %117

105:                                              ; preds = %100
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %106, i32 0, i32 6
  %108 = load ptr, ptr %107, align 8, !tbaa !16
  %109 = load i64, ptr %18, align 8, !tbaa !9
  %110 = getelementptr inbounds ptr, ptr %108, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !5
  %112 = load i64, ptr %19, align 8, !tbaa !9
  %113 = getelementptr inbounds double, ptr %111, i64 %112
  store double 0.000000e+00, ptr %113, align 8, !tbaa !17
  br label %114

114:                                              ; preds = %105
  %115 = load i64, ptr %19, align 8, !tbaa !9
  %116 = add nsw i64 %115, 1
  store i64 %116, ptr %19, align 8, !tbaa !9
  br label %100, !llvm.loop !19

117:                                              ; preds = %100
  br label %118

118:                                              ; preds = %117
  %119 = load i64, ptr %18, align 8, !tbaa !9
  %120 = add nsw i64 %119, 1
  store i64 %120, ptr %18, align 8, !tbaa !9
  br label %94, !llvm.loop !21

121:                                              ; preds = %94
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %122)
  store i32 1, ptr %26, align 4
  br label %431

123:                                              ; preds = %79
  %124 = load i64, ptr %11, align 8, !tbaa !9
  %125 = load i64, ptr %12, align 8, !tbaa !9
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  %127 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %124, i64 noundef %125, ptr noundef %126)
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %127, ptr noundef %128)
  %129 = load i64, ptr %11, align 8, !tbaa !9
  %130 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %129, ptr noundef %130)
  %131 = load i64, ptr %12, align 8, !tbaa !9
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %23, i64 noundef %131, ptr noundef %132)
  %133 = load i64, ptr %11, align 8, !tbaa !9
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef %133, ptr noundef %134)
  %135 = load i64, ptr %12, align 8, !tbaa !9
  %136 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %25, i64 noundef %135, ptr noundef %136)
  %137 = load ptr, ptr %13, align 8, !tbaa !5
  %138 = load i64, ptr %11, align 8, !tbaa !9
  %139 = load i64, ptr %12, align 8, !tbaa !9
  %140 = load ptr, ptr %14, 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 %18, align 8, !tbaa !9
  br label %141

141:                                              ; preds = %155, %123
  %142 = load i64, ptr %18, 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 %158

146:                                              ; preds = %141
  %147 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %148 = load ptr, ptr %147, align 8, !tbaa !16
  %149 = load i64, ptr %18, align 8, !tbaa !9
  %150 = getelementptr inbounds double, ptr %148, i64 %149
  store double 0.000000e+00, ptr %150, align 8, !tbaa !17
  %151 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %152 = load ptr, ptr %151, align 8, !tbaa !16
  %153 = load i64, ptr %18, align 8, !tbaa !9
  %154 = getelementptr inbounds i8, ptr %152, i64 %153
  store i8 1, ptr %154, align 1, !tbaa !22
  br label %155

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

158:                                              ; preds = %141
  %159 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !16
  %161 = getelementptr inbounds double, ptr %160, i64 0
  %162 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %163 = load ptr, ptr %162, align 8, !tbaa !16
  %164 = getelementptr inbounds ptr, ptr %163, i64 0
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = getelementptr inbounds double, ptr %165, i64 0
  %167 = load i64, ptr %11, align 8, !tbaa !9
  %168 = sub nsw i64 %167, 1
  %169 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %168)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %161, i64 noundef 1, ptr noundef %166, i64 noundef 1, i64 noundef %169)
  %170 = load i64, ptr %10, align 8, !tbaa !9
  %171 = sitofp i64 %170 to double
  %172 = fdiv double 1.000000e+00, %171
  store double %172, ptr %20, align 8, !tbaa !17
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %173

173:                                              ; preds = %230, %158
  %174 = load i64, ptr %18, align 8, !tbaa !9
  %175 = load i64, ptr %10, align 8, !tbaa !9
  %176 = sub nsw i64 %175, 1
  %177 = icmp sle i64 %174, %176
  br i1 %177, label %178, label %233

178:                                              ; preds = %173
  %179 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %180 = load ptr, ptr %179, align 8, !tbaa !16
  %181 = getelementptr inbounds double, ptr %180, i64 0
  %182 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %183 = load ptr, ptr %182, align 8, !tbaa !16
  %184 = load i64, ptr %18, align 8, !tbaa !9
  %185 = getelementptr inbounds ptr, ptr %183, i64 %184
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i64 0
  %188 = load i64, ptr %11, align 8, !tbaa !9
  %189 = sub nsw i64 %188, 1
  %190 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %189)
  %191 = load double, ptr %20, align 8, !tbaa !17
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %181, i64 noundef 1, ptr noundef %187, i64 noundef 1, i64 noundef %190, double noundef %191)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %192

192:                                              ; preds = %226, %178
  %193 = load i64, ptr %19, align 8, !tbaa !9
  %194 = load i64, ptr %11, align 8, !tbaa !9
  %195 = sub nsw i64 %194, 1
  %196 = icmp sle i64 %193, %195
  br i1 %196, label %197, label %229

197:                                              ; preds = %192
  %198 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %199 = load ptr, ptr %198, align 8, !tbaa !16
  %200 = load i64, ptr %19, align 8, !tbaa !9
  %201 = getelementptr inbounds i8, ptr %199, i64 %200
  %202 = load i8, ptr %201, align 1, !tbaa !22, !range !24, !noundef !25
  %203 = trunc i8 %202 to i1
  br i1 %203, label %204, label %219

204:                                              ; preds = %197
  %205 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %206 = load ptr, ptr %205, align 8, !tbaa !16
  %207 = load i64, ptr %18, align 8, !tbaa !9
  %208 = getelementptr inbounds ptr, ptr %206, i64 %207
  %209 = load ptr, ptr %208, align 8, !tbaa !5
  %210 = load i64, ptr %19, align 8, !tbaa !9
  %211 = getelementptr inbounds double, ptr %209, i64 %210
  %212 = load double, ptr %211, align 8, !tbaa !17
  %213 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %214 = load ptr, ptr %213, align 8, !tbaa !16
  %215 = load i64, ptr %19, align 8, !tbaa !9
  %216 = getelementptr inbounds double, ptr %214, i64 %215
  %217 = load double, ptr %216, align 8, !tbaa !17
  %218 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %212, double noundef %217)
  br label %219

219:                                              ; preds = %204, %197
  %220 = phi i1 [ false, %197 ], [ %218, %204 ]
  %221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %222 = load ptr, ptr %221, align 8, !tbaa !16
  %223 = load i64, ptr %19, align 8, !tbaa !9
  %224 = getelementptr inbounds i8, ptr %222, i64 %223
  %225 = zext i1 %220 to i8
  store i8 %225, ptr %224, align 1, !tbaa !22
  br label %226

226:                                              ; preds = %219
  %227 = load i64, ptr %19, align 8, !tbaa !9
  %228 = add nsw i64 %227, 1
  store i64 %228, ptr %19, align 8, !tbaa !9
  br label %192, !llvm.loop !26

229:                                              ; preds = %192
  br label %230

230:                                              ; preds = %229
  %231 = load i64, ptr %18, align 8, !tbaa !9
  %232 = add nsw i64 %231, 1
  store i64 %232, ptr %18, align 8, !tbaa !9
  br label %173, !llvm.loop !27

233:                                              ; preds = %173
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %234

234:                                              ; preds = %277, %233
  %235 = load i64, ptr %18, align 8, !tbaa !9
  %236 = load i64, ptr %10, align 8, !tbaa !9
  %237 = sub nsw i64 %236, 1
  %238 = icmp sle i64 %235, %237
  br i1 %238, label %239, label %280

239:                                              ; preds = %234
  %240 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %241 = load ptr, ptr %240, align 8, !tbaa !16
  %242 = load i64, ptr %18, align 8, !tbaa !9
  %243 = getelementptr inbounds ptr, ptr %241, i64 %242
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  %245 = getelementptr inbounds double, ptr %244, i64 0
  %246 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %247 = load ptr, ptr %246, align 8, !tbaa !16
  %248 = getelementptr inbounds double, ptr %247, i64 0
  %249 = load i64, ptr %11, align 8, !tbaa !9
  %250 = sub nsw i64 %249, 1
  %251 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %250)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %245, i64 noundef 1, ptr noundef %248, i64 noundef 1, i64 noundef %251)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %252

252:                                              ; preds = %273, %239
  %253 = load i64, ptr %19, align 8, !tbaa !9
  %254 = load i64, ptr %11, align 8, !tbaa !9
  %255 = sub nsw i64 %254, 1
  %256 = icmp sle i64 %253, %255
  br i1 %256, label %257, label %276

257:                                              ; preds = %252
  %258 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %259 = load ptr, ptr %258, align 8, !tbaa !16
  %260 = load i64, ptr %19, align 8, !tbaa !9
  %261 = getelementptr inbounds i8, ptr %259, i64 %260
  %262 = load i8, ptr %261, align 1, !tbaa !22, !range !24, !noundef !25
  %263 = trunc i8 %262 to i1
  br i1 %263, label %264, label %272

264:                                              ; preds = %257
  %265 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %16, i32 0, i32 6
  %266 = load ptr, ptr %265, align 8, !tbaa !16
  %267 = load i64, ptr %18, align 8, !tbaa !9
  %268 = getelementptr inbounds ptr, ptr %266, i64 %267
  %269 = load ptr, ptr %268, align 8, !tbaa !5
  %270 = load i64, ptr %19, align 8, !tbaa !9
  %271 = getelementptr inbounds double, ptr %269, i64 %270
  store double 0.000000e+00, ptr %271, align 8, !tbaa !17
  br label %272

272:                                              ; preds = %264, %257
  br label %273

273:                                              ; preds = %272
  %274 = load i64, ptr %19, align 8, !tbaa !9
  %275 = add nsw i64 %274, 1
  store i64 %275, ptr %19, align 8, !tbaa !9
  br label %252, !llvm.loop !28

276:                                              ; preds = %252
  br label %277

277:                                              ; preds = %276
  %278 = load i64, ptr %18, align 8, !tbaa !9
  %279 = add nsw i64 %278, 1
  store i64 %279, ptr %18, align 8, !tbaa !9
  br label %234, !llvm.loop !29

280:                                              ; preds = %234
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %281

281:                                              ; preds = %295, %280
  %282 = load i64, ptr %18, align 8, !tbaa !9
  %283 = load i64, ptr %12, align 8, !tbaa !9
  %284 = sub nsw i64 %283, 1
  %285 = icmp sle i64 %282, %284
  br i1 %285, label %286, label %298

286:                                              ; preds = %281
  %287 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %288 = load ptr, ptr %287, align 8, !tbaa !16
  %289 = load i64, ptr %18, align 8, !tbaa !9
  %290 = getelementptr inbounds double, ptr %288, i64 %289
  store double 0.000000e+00, ptr %290, align 8, !tbaa !17
  %291 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %292 = load ptr, ptr %291, align 8, !tbaa !16
  %293 = load i64, ptr %18, align 8, !tbaa !9
  %294 = getelementptr inbounds i8, ptr %292, i64 %293
  store i8 1, ptr %294, align 1, !tbaa !22
  br label %295

295:                                              ; preds = %286
  %296 = load i64, ptr %18, align 8, !tbaa !9
  %297 = add nsw i64 %296, 1
  store i64 %297, ptr %18, align 8, !tbaa !9
  br label %281, !llvm.loop !30

298:                                              ; preds = %281
  %299 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %300 = load ptr, ptr %299, align 8, !tbaa !16
  %301 = getelementptr inbounds double, ptr %300, i64 0
  %302 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %303 = load ptr, ptr %302, align 8, !tbaa !16
  %304 = getelementptr inbounds ptr, ptr %303, i64 0
  %305 = load ptr, ptr %304, align 8, !tbaa !5
  %306 = getelementptr inbounds double, ptr %305, i64 0
  %307 = load i64, ptr %12, align 8, !tbaa !9
  %308 = sub nsw i64 %307, 1
  %309 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %308)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %301, i64 noundef 1, ptr noundef %306, i64 noundef 1, i64 noundef %309)
  %310 = load i64, ptr %10, align 8, !tbaa !9
  %311 = sitofp i64 %310 to double
  %312 = fdiv double 1.000000e+00, %311
  store double %312, ptr %20, align 8, !tbaa !17
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %313

313:                                              ; preds = %370, %298
  %314 = load i64, ptr %18, align 8, !tbaa !9
  %315 = load i64, ptr %10, align 8, !tbaa !9
  %316 = sub nsw i64 %315, 1
  %317 = icmp sle i64 %314, %316
  br i1 %317, label %318, label %373

318:                                              ; preds = %313
  %319 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %320 = load ptr, ptr %319, align 8, !tbaa !16
  %321 = getelementptr inbounds double, ptr %320, i64 0
  %322 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %323 = load ptr, ptr %322, align 8, !tbaa !16
  %324 = load i64, ptr %18, align 8, !tbaa !9
  %325 = getelementptr inbounds ptr, ptr %323, i64 %324
  %326 = load ptr, ptr %325, align 8, !tbaa !5
  %327 = getelementptr inbounds double, ptr %326, i64 0
  %328 = load i64, ptr %12, align 8, !tbaa !9
  %329 = sub nsw i64 %328, 1
  %330 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %329)
  %331 = load double, ptr %20, align 8, !tbaa !17
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %321, i64 noundef 1, ptr noundef %327, i64 noundef 1, i64 noundef %330, double noundef %331)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %332

332:                                              ; preds = %366, %318
  %333 = load i64, ptr %19, align 8, !tbaa !9
  %334 = load i64, ptr %12, align 8, !tbaa !9
  %335 = sub nsw i64 %334, 1
  %336 = icmp sle i64 %333, %335
  br i1 %336, label %337, label %369

337:                                              ; preds = %332
  %338 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %339 = load ptr, ptr %338, align 8, !tbaa !16
  %340 = load i64, ptr %19, align 8, !tbaa !9
  %341 = getelementptr inbounds i8, ptr %339, i64 %340
  %342 = load i8, ptr %341, align 1, !tbaa !22, !range !24, !noundef !25
  %343 = trunc i8 %342 to i1
  br i1 %343, label %344, label %359

344:                                              ; preds = %337
  %345 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %346 = load ptr, ptr %345, align 8, !tbaa !16
  %347 = load i64, ptr %18, align 8, !tbaa !9
  %348 = getelementptr inbounds ptr, ptr %346, i64 %347
  %349 = load ptr, ptr %348, align 8, !tbaa !5
  %350 = load i64, ptr %19, align 8, !tbaa !9
  %351 = getelementptr inbounds double, ptr %349, i64 %350
  %352 = load double, ptr %351, align 8, !tbaa !17
  %353 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %354 = load ptr, ptr %353, align 8, !tbaa !16
  %355 = load i64, ptr %19, align 8, !tbaa !9
  %356 = getelementptr inbounds double, ptr %354, i64 %355
  %357 = load double, ptr %356, align 8, !tbaa !17
  %358 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %352, double noundef %357)
  br label %359

359:                                              ; preds = %344, %337
  %360 = phi i1 [ false, %337 ], [ %358, %344 ]
  %361 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %362 = load ptr, ptr %361, align 8, !tbaa !16
  %363 = load i64, ptr %19, align 8, !tbaa !9
  %364 = getelementptr inbounds i8, ptr %362, i64 %363
  %365 = zext i1 %360 to i8
  store i8 %365, ptr %364, align 1, !tbaa !22
  br label %366

366:                                              ; preds = %359
  %367 = load i64, ptr %19, align 8, !tbaa !9
  %368 = add nsw i64 %367, 1
  store i64 %368, ptr %19, align 8, !tbaa !9
  br label %332, !llvm.loop !31

369:                                              ; preds = %332
  br label %370

370:                                              ; preds = %369
  %371 = load i64, ptr %18, align 8, !tbaa !9
  %372 = add nsw i64 %371, 1
  store i64 %372, ptr %18, align 8, !tbaa !9
  br label %313, !llvm.loop !32

373:                                              ; preds = %313
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %374

374:                                              ; preds = %417, %373
  %375 = load i64, ptr %18, align 8, !tbaa !9
  %376 = load i64, ptr %10, align 8, !tbaa !9
  %377 = sub nsw i64 %376, 1
  %378 = icmp sle i64 %375, %377
  br i1 %378, label %379, label %420

379:                                              ; preds = %374
  %380 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %381 = load ptr, ptr %380, align 8, !tbaa !16
  %382 = load i64, ptr %18, align 8, !tbaa !9
  %383 = getelementptr inbounds ptr, ptr %381, i64 %382
  %384 = load ptr, ptr %383, align 8, !tbaa !5
  %385 = getelementptr inbounds double, ptr %384, i64 0
  %386 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %387 = load ptr, ptr %386, align 8, !tbaa !16
  %388 = getelementptr inbounds double, ptr %387, i64 0
  %389 = load i64, ptr %12, align 8, !tbaa !9
  %390 = sub nsw i64 %389, 1
  %391 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %390)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %385, i64 noundef 1, ptr noundef %388, i64 noundef 1, i64 noundef %391)
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %392

392:                                              ; preds = %413, %379
  %393 = load i64, ptr %19, align 8, !tbaa !9
  %394 = load i64, ptr %12, align 8, !tbaa !9
  %395 = sub nsw i64 %394, 1
  %396 = icmp sle i64 %393, %395
  br i1 %396, label %397, label %416

397:                                              ; preds = %392
  %398 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %399 = load ptr, ptr %398, align 8, !tbaa !16
  %400 = load i64, ptr %19, align 8, !tbaa !9
  %401 = getelementptr inbounds i8, ptr %399, i64 %400
  %402 = load i8, ptr %401, align 1, !tbaa !22, !range !24, !noundef !25
  %403 = trunc i8 %402 to i1
  br i1 %403, label %404, label %412

404:                                              ; preds = %397
  %405 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %17, i32 0, i32 6
  %406 = load ptr, ptr %405, align 8, !tbaa !16
  %407 = load i64, ptr %18, align 8, !tbaa !9
  %408 = getelementptr inbounds ptr, ptr %406, i64 %407
  %409 = load ptr, ptr %408, align 8, !tbaa !5
  %410 = load i64, ptr %19, align 8, !tbaa !9
  %411 = getelementptr inbounds double, ptr %409, i64 %410
  store double 0.000000e+00, ptr %411, align 8, !tbaa !17
  br label %412

412:                                              ; preds = %404, %397
  br label %413

413:                                              ; preds = %412
  %414 = load i64, ptr %19, align 8, !tbaa !9
  %415 = add nsw i64 %414, 1
  store i64 %415, ptr %19, align 8, !tbaa !9
  br label %392, !llvm.loop !33

416:                                              ; preds = %392
  br label %417

417:                                              ; preds = %416
  %418 = load i64, ptr %18, align 8, !tbaa !9
  %419 = add nsw i64 %418, 1
  store i64 %419, ptr %18, align 8, !tbaa !9
  br label %374, !llvm.loop !34

420:                                              ; preds = %374
  %421 = load i64, ptr %11, align 8, !tbaa !9
  %422 = load i64, ptr %12, align 8, !tbaa !9
  %423 = load i64, ptr %10, align 8, !tbaa !9
  %424 = load i64, ptr %10, align 8, !tbaa !9
  %425 = sub nsw i64 %424, 1
  %426 = sitofp i64 %425 to double
  %427 = fdiv double 1.000000e+00, %426
  %428 = load ptr, ptr %13, align 8, !tbaa !5
  %429 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %421, i64 noundef %422, i64 noundef %423, double noundef %427, ptr noundef %16, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %17, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %428, i64 noundef 0, i64 noundef 0, ptr noundef %429)
  %430 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %430)
  store i32 0, ptr %26, align 4
  br label %431

431:                                              ; preds = %420, %121
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  %432 = load i32, ptr %26, align 4
  switch i32 %432, label %434 [
    i32 0, label %433
    i32 1, label %433
  ]

433:                                              ; preds = %431, %431
  ret void

434:                                              ; preds = %431
  unreachable
}

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

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

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

declare void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef) #2

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

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

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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #2

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

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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }

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

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


; 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.1 }
%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.49 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [19 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
define dso_local void @_ZN11alglib_impl5covm2EPKNS_9ae_matrixES2_lllPS0_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #1 {
  %8 = alloca %"struct.alglib_impl::ae_frame", align 8
  %9 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %10 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %6, ptr noundef nonnull %8)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %9, i8 0, i64 80, i1 false)
  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(64) %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %9, ptr noundef %0, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %10, ptr noundef %1, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef %5)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 1, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 1, ptr noundef %6, i1 noundef zeroext true)
  %16 = icmp sgt i64 %2, -1
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %16, ptr noundef nonnull @.str.49, ptr noundef %6)
  %17 = icmp sgt i64 %3, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %17, ptr noundef nonnull @.str.50, ptr noundef %6)
  %18 = icmp sgt i64 %4, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %18, ptr noundef nonnull @.str.51, ptr noundef %6)
  %19 = load i64, ptr %9, align 8, !tbaa !5
  %20 = icmp sge i64 %19, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %20, ptr noundef nonnull @.str.52, ptr noundef %6)
  %21 = getelementptr inbounds i8, ptr %9, i64 8
  %22 = load i64, ptr %21, align 8, !tbaa !13
  %23 = icmp sge i64 %22, %3
  %24 = icmp eq i64 %2, 0
  %25 = or i1 %24, %23
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %25, ptr noundef nonnull @.str.53, ptr noundef %6)
  %26 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %2, i64 noundef %3, ptr noundef %6)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef nonnull @.str.54, ptr noundef %6)
  %27 = load i64, ptr %10, align 8, !tbaa !5
  %28 = icmp sge i64 %27, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %28, ptr noundef nonnull @.str.55, ptr noundef %6)
  %29 = getelementptr inbounds i8, ptr %10, i64 8
  %30 = load i64, ptr %29, align 8, !tbaa !13
  %31 = icmp sge i64 %30, %4
  %32 = or i1 %24, %31
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %32, ptr noundef nonnull @.str.56, ptr noundef %6)
  %33 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %2, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %33, ptr noundef nonnull @.str.54, ptr noundef %6)
  %34 = icmp slt i64 %2, 2
  br i1 %34, label %35, label %64

35:                                               ; preds = %7
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %3, i64 noundef %4, ptr noundef %6)
  br i1 %17, label %.preheader.lr.ph, label %._crit_edge208

.preheader.lr.ph:                                 ; preds = %35
  %36 = getelementptr inbounds i8, ptr %5, i64 72
  br i1 %18, label %.preheader.us.preheader, label %._crit_edge208

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %xtraiter247 = and i64 %4, 3
  %37 = icmp ult i64 %4, 4
  %unroll_iter249 = and i64 %4, 9223372036854775804
  %lcmp.mod248.not = icmp eq i64 %xtraiter247, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge205.us
  %.0136207.us = phi i64 [ %63, %._crit_edge205.us ], [ 0, %.preheader.us.preheader ]
  br i1 %37, label %._crit_edge205.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.0203.us = phi i64 [ %57, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter250 = phi i64 [ %niter250.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %38 = load ptr, ptr %36, align 8, !tbaa !14
  %39 = getelementptr inbounds ptr, ptr %38, i64 %.0136207.us
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = getelementptr inbounds double, ptr %40, i64 %.0203.us
  store double 0.000000e+00, ptr %41, align 8, !tbaa !16
  %42 = or disjoint i64 %.0203.us, 1
  %43 = load ptr, ptr %36, align 8, !tbaa !14
  %44 = getelementptr inbounds ptr, ptr %43, i64 %.0136207.us
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = getelementptr inbounds double, ptr %45, i64 %42
  store double 0.000000e+00, ptr %46, align 8, !tbaa !16
  %47 = or disjoint i64 %.0203.us, 2
  %48 = load ptr, ptr %36, align 8, !tbaa !14
  %49 = getelementptr inbounds ptr, ptr %48, i64 %.0136207.us
  %50 = load ptr, ptr %49, align 8, !tbaa !15
  %51 = getelementptr inbounds double, ptr %50, i64 %47
  store double 0.000000e+00, ptr %51, align 8, !tbaa !16
  %52 = or disjoint i64 %.0203.us, 3
  %53 = load ptr, ptr %36, align 8, !tbaa !14
  %54 = getelementptr inbounds ptr, ptr %53, i64 %.0136207.us
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  %56 = getelementptr inbounds double, ptr %55, i64 %52
  store double 0.000000e+00, ptr %56, align 8, !tbaa !16
  %57 = add nuw nsw i64 %.0203.us, 4
  %niter250.next.3 = add i64 %niter250, 4
  %niter250.ncmp.3 = icmp eq i64 %niter250.next.3, %unroll_iter249
  br i1 %niter250.ncmp.3, label %._crit_edge205.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !18

._crit_edge205.us.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.0203.us.unr = phi i64 [ 0, %.preheader.us ], [ %57, %.preheader.us.new ]
  br i1 %lcmp.mod248.not, label %._crit_edge205.us, label %.epil.preheader246

.epil.preheader246:                               ; preds = %._crit_edge205.us.unr-lcssa, %.epil.preheader246
  %.0203.us.epil = phi i64 [ %62, %.epil.preheader246 ], [ %.0203.us.unr, %._crit_edge205.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader246 ], [ 0, %._crit_edge205.us.unr-lcssa ]
  %58 = load ptr, ptr %36, align 8, !tbaa !14
  %59 = getelementptr inbounds ptr, ptr %58, i64 %.0136207.us
  %60 = load ptr, ptr %59, align 8, !tbaa !15
  %61 = getelementptr inbounds double, ptr %60, i64 %.0203.us.epil
  store double 0.000000e+00, ptr %61, align 8, !tbaa !16
  %62 = add nuw nsw i64 %.0203.us.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter247
  br i1 %epil.iter.cmp.not, label %._crit_edge205.us, label %.epil.preheader246, !llvm.loop !20

._crit_edge205.us:                                ; preds = %.epil.preheader246, %._crit_edge205.us.unr-lcssa
  %63 = add nuw nsw i64 %.0136207.us, 1
  %exitcond226.not = icmp eq i64 %63, %3
  br i1 %exitcond226.not, label %._crit_edge208, label %.preheader.us, !llvm.loop !22

64:                                               ; preds = %7
  %65 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %3, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %65, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %3, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %3, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %4, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %3, i64 noundef %4, ptr noundef %6)
  br i1 %17, label %.lr.ph, label %.lr.ph171

.lr.ph:                                           ; preds = %64
  %66 = getelementptr inbounds i8, ptr %11, i64 56
  %67 = getelementptr inbounds i8, ptr %14, i64 56
  %xtraiter = and i64 %3, 1
  %68 = icmp eq i64 %3, 1
  br i1 %68, label %.lr.ph171.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %3, 9223372036854775806
  br label %69

69:                                               ; preds = %69, %.lr.ph.new
  %.1137162 = phi i64 [ 0, %.lr.ph.new ], [ %79, %69 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %69 ]
  %70 = load ptr, ptr %66, align 8, !tbaa !14
  %71 = getelementptr inbounds double, ptr %70, i64 %.1137162
  store double 0.000000e+00, ptr %71, align 8, !tbaa !16
  %72 = load ptr, ptr %67, align 8, !tbaa !14
  %73 = getelementptr inbounds i8, ptr %72, i64 %.1137162
  store i8 1, ptr %73, align 1, !tbaa !23
  %74 = or disjoint i64 %.1137162, 1
  %75 = load ptr, ptr %66, align 8, !tbaa !14
  %76 = getelementptr inbounds double, ptr %75, i64 %74
  store double 0.000000e+00, ptr %76, align 8, !tbaa !16
  %77 = load ptr, ptr %67, align 8, !tbaa !14
  %78 = getelementptr inbounds i8, ptr %77, i64 %74
  store i8 1, ptr %78, align 1, !tbaa !23
  %79 = add nuw nsw i64 %.1137162, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.lr.ph171.loopexit.unr-lcssa, label %69, !llvm.loop !24

.lr.ph171.loopexit.unr-lcssa:                     ; preds = %69, %.lr.ph
  %.1137162.unr = phi i64 [ 0, %.lr.ph ], [ %79, %69 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph171, label %.lr.ph171.loopexit.epilog-lcssa

.lr.ph171.loopexit.epilog-lcssa:                  ; preds = %.lr.ph171.loopexit.unr-lcssa
  %80 = load ptr, ptr %66, align 8, !tbaa !14
  %81 = getelementptr inbounds double, ptr %80, i64 %.1137162.unr
  store double 0.000000e+00, ptr %81, align 8, !tbaa !16
  %82 = load ptr, ptr %67, align 8, !tbaa !14
  %83 = getelementptr inbounds i8, ptr %82, i64 %.1137162.unr
  store i8 1, ptr %83, align 1, !tbaa !23
  br label %.lr.ph171

.lr.ph171:                                        ; preds = %.lr.ph171.loopexit.epilog-lcssa, %.lr.ph171.loopexit.unr-lcssa, %64
  %84 = add nsw i64 %3, -1
  %85 = getelementptr inbounds i8, ptr %12, i64 56
  %86 = load ptr, ptr %85, align 8, !tbaa !14
  %87 = getelementptr inbounds i8, ptr %9, i64 72
  %88 = load ptr, ptr %87, align 8, !tbaa !14
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  %90 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %86, i64 noundef 1, ptr noundef %89, i64 noundef 1, i64 noundef %90)
  %91 = uitofp nneg i64 %2 to double
  %92 = fdiv double 1.000000e+00, %91
  %93 = getelementptr inbounds i8, ptr %11, i64 56
  %94 = getelementptr inbounds i8, ptr %14, i64 56
  %smax = call i64 @llvm.smax.i64(i64 %2, i64 1)
  br label %.backedge

.lr.ph179:                                        ; preds = %._crit_edge167
  %95 = add nsw i64 %2, -1
  %96 = getelementptr inbounds i8, ptr %11, i64 56
  %97 = getelementptr inbounds i8, ptr %14, i64 56
  br i1 %17, label %.lr.ph175.us.preheader, label %.lr.ph179.split.preheader

.lr.ph179.split.preheader:                        ; preds = %.lr.ph179.thread, %.lr.ph179
  %98 = phi ptr [ %166, %.lr.ph179.thread ], [ %96, %.lr.ph179 ]
  %99 = phi i64 [ %165, %.lr.ph179.thread ], [ %95, %.lr.ph179 ]
  %smax213 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  br label %.lr.ph179.split

.lr.ph175.us.preheader:                           ; preds = %.lr.ph179
  %smax216 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  %xtraiter233 = and i64 %3, 1
  %100 = icmp eq i64 %3, 1
  %unroll_iter235 = and i64 %3, 9223372036854775806
  %lcmp.mod234.not = icmp eq i64 %xtraiter233, 0
  br label %.lr.ph175.us

.lr.ph175.us:                                     ; preds = %.lr.ph175.us.preheader, %._crit_edge176.us
  %.3139178.us = phi i64 [ %137, %._crit_edge176.us ], [ 0, %.lr.ph175.us.preheader ]
  %101 = load ptr, ptr %87, align 8, !tbaa !14
  %102 = getelementptr inbounds ptr, ptr %101, i64 %.3139178.us
  %103 = load ptr, ptr %102, align 8, !tbaa !15
  %104 = load ptr, ptr %96, align 8, !tbaa !14
  %105 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %103, i64 noundef 1, ptr noundef %104, i64 noundef 1, i64 noundef %105)
  br i1 %100, label %._crit_edge176.us.unr-lcssa, label %.lr.ph175.us.new

.lr.ph175.us.new:                                 ; preds = %.lr.ph175.us, %126
  %.2173.us = phi i64 [ %127, %126 ], [ 0, %.lr.ph175.us ]
  %niter236 = phi i64 [ %niter236.next.1, %126 ], [ 0, %.lr.ph175.us ]
  %106 = load ptr, ptr %97, align 8, !tbaa !14
  %107 = getelementptr inbounds i8, ptr %106, i64 %.2173.us
  %108 = load i8, ptr %107, align 1, !tbaa !23, !range !25, !noundef !26
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %110, label %115

110:                                              ; preds = %.lr.ph175.us.new
  %111 = load ptr, ptr %87, align 8, !tbaa !14
  %112 = getelementptr inbounds ptr, ptr %111, i64 %.3139178.us
  %113 = load ptr, ptr %112, align 8, !tbaa !15
  %114 = getelementptr inbounds double, ptr %113, i64 %.2173.us
  store double 0.000000e+00, ptr %114, align 8, !tbaa !16
  br label %115

115:                                              ; preds = %110, %.lr.ph175.us.new
  %116 = or disjoint i64 %.2173.us, 1
  %117 = load ptr, ptr %97, align 8, !tbaa !14
  %118 = getelementptr inbounds i8, ptr %117, i64 %116
  %119 = load i8, ptr %118, align 1, !tbaa !23, !range !25, !noundef !26
  %120 = trunc nuw i8 %119 to i1
  br i1 %120, label %121, label %126

121:                                              ; preds = %115
  %122 = load ptr, ptr %87, align 8, !tbaa !14
  %123 = getelementptr inbounds ptr, ptr %122, i64 %.3139178.us
  %124 = load ptr, ptr %123, align 8, !tbaa !15
  %125 = getelementptr inbounds double, ptr %124, i64 %116
  store double 0.000000e+00, ptr %125, align 8, !tbaa !16
  br label %126

126:                                              ; preds = %121, %115
  %127 = add nuw nsw i64 %.2173.us, 2
  %niter236.next.1 = add i64 %niter236, 2
  %niter236.ncmp.1 = icmp eq i64 %niter236.next.1, %unroll_iter235
  br i1 %niter236.ncmp.1, label %._crit_edge176.us.unr-lcssa, label %.lr.ph175.us.new, !llvm.loop !27

._crit_edge176.us.unr-lcssa:                      ; preds = %126, %.lr.ph175.us
  %.2173.us.unr = phi i64 [ 0, %.lr.ph175.us ], [ %127, %126 ]
  br i1 %lcmp.mod234.not, label %._crit_edge176.us, label %.epil.preheader232

.epil.preheader232:                               ; preds = %._crit_edge176.us.unr-lcssa
  %128 = load ptr, ptr %97, align 8, !tbaa !14
  %129 = getelementptr inbounds i8, ptr %128, i64 %.2173.us.unr
  %130 = load i8, ptr %129, align 1, !tbaa !23, !range !25, !noundef !26
  %131 = trunc nuw i8 %130 to i1
  br i1 %131, label %132, label %._crit_edge176.us

132:                                              ; preds = %.epil.preheader232
  %133 = load ptr, ptr %87, align 8, !tbaa !14
  %134 = getelementptr inbounds ptr, ptr %133, i64 %.3139178.us
  %135 = load ptr, ptr %134, align 8, !tbaa !15
  %136 = getelementptr inbounds double, ptr %135, i64 %.2173.us.unr
  store double 0.000000e+00, ptr %136, align 8, !tbaa !16
  br label %._crit_edge176.us

._crit_edge176.us:                                ; preds = %.epil.preheader232, %132, %._crit_edge176.us.unr-lcssa
  %137 = add nuw nsw i64 %.3139178.us, 1
  %exitcond217.not = icmp eq i64 %137, %smax216
  br i1 %exitcond217.not, label %.preheader157, label %.lr.ph175.us, !llvm.loop !28

.backedge:                                        ; preds = %.backedge.backedge, %.lr.ph171
  %.2138169 = phi i64 [ 0, %.lr.ph171 ], [ %.2138169.be, %.backedge.backedge ]
  %138 = load ptr, ptr %93, align 8, !tbaa !14
  %139 = load ptr, ptr %87, align 8, !tbaa !14
  %140 = getelementptr inbounds ptr, ptr %139, i64 %.2138169
  %141 = load ptr, ptr %140, align 8, !tbaa !15
  %142 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %138, i64 noundef 1, ptr noundef %141, i64 noundef 1, i64 noundef %142, double noundef %92)
  br i1 %17, label %.lr.ph166, label %._crit_edge167.thread

.lr.ph166:                                        ; preds = %.backedge, %157
  %.1164 = phi i64 [ %162, %157 ], [ 0, %.backedge ]
  %143 = load ptr, ptr %94, align 8, !tbaa !14
  %144 = getelementptr inbounds i8, ptr %143, i64 %.1164
  %145 = load i8, ptr %144, align 1, !tbaa !23, !range !25, !noundef !26
  %146 = trunc nuw i8 %145 to i1
  br i1 %146, label %147, label %157

147:                                              ; preds = %.lr.ph166
  %148 = load ptr, ptr %87, align 8, !tbaa !14
  %149 = getelementptr inbounds ptr, ptr %148, i64 %.2138169
  %150 = load ptr, ptr %149, align 8, !tbaa !15
  %151 = getelementptr inbounds double, ptr %150, i64 %.1164
  %152 = load double, ptr %151, align 8, !tbaa !16
  %153 = load ptr, ptr %85, align 8, !tbaa !14
  %154 = getelementptr inbounds double, ptr %153, i64 %.1164
  %155 = load double, ptr %154, align 8, !tbaa !16
  %156 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %152, double noundef %155)
  %.pre = load ptr, ptr %94, align 8, !tbaa !14
  br label %157

157:                                              ; preds = %147, %.lr.ph166
  %158 = phi ptr [ %143, %.lr.ph166 ], [ %.pre, %147 ]
  %159 = phi i1 [ false, %.lr.ph166 ], [ %156, %147 ]
  %160 = getelementptr inbounds i8, ptr %158, i64 %.1164
  %161 = zext i1 %159 to i8
  store i8 %161, ptr %160, align 1, !tbaa !23
  %162 = add nuw nsw i64 %.1164, 1
  %exitcond211.not = icmp eq i64 %162, %3
  br i1 %exitcond211.not, label %._crit_edge167, label %.lr.ph166, !llvm.loop !29

._crit_edge167:                                   ; preds = %157
  %163 = add nuw nsw i64 %.2138169, 1
  %exitcond212.not = icmp eq i64 %163, %smax
  br i1 %exitcond212.not, label %.lr.ph179, label %.backedge.backedge

.backedge.backedge:                               ; preds = %._crit_edge167, %._crit_edge167.thread
  %.2138169.be = phi i64 [ %163, %._crit_edge167 ], [ %164, %._crit_edge167.thread ]
  br label %.backedge, !llvm.loop !30

._crit_edge167.thread:                            ; preds = %.backedge
  %164 = add nuw nsw i64 %.2138169, 1
  %exitcond212.not228 = icmp eq i64 %164, %smax
  br i1 %exitcond212.not228, label %.lr.ph179.thread, label %.backedge.backedge

.lr.ph179.thread:                                 ; preds = %._crit_edge167.thread
  %165 = add nsw i64 %2, -1
  %166 = getelementptr inbounds i8, ptr %11, i64 56
  br label %.lr.ph179.split.preheader

.preheader157:                                    ; preds = %.lr.ph179.split, %._crit_edge176.us
  %167 = phi i64 [ %95, %._crit_edge176.us ], [ %99, %.lr.ph179.split ]
  br i1 %18, label %.lr.ph182, label %.lr.ph192

.lr.ph182:                                        ; preds = %.preheader157
  %168 = getelementptr inbounds i8, ptr %11, i64 56
  %169 = getelementptr inbounds i8, ptr %15, i64 56
  %xtraiter238 = and i64 %4, 1
  %170 = icmp eq i64 %4, 1
  br i1 %170, label %.lr.ph192.loopexit.unr-lcssa, label %.lr.ph182.new

.lr.ph182.new:                                    ; preds = %.lr.ph182
  %unroll_iter240 = and i64 %4, 9223372036854775806
  br label %177

.lr.ph179.split:                                  ; preds = %.lr.ph179.split.preheader, %.lr.ph179.split
  %.3139178 = phi i64 [ %176, %.lr.ph179.split ], [ 0, %.lr.ph179.split.preheader ]
  %171 = load ptr, ptr %87, align 8, !tbaa !14
  %172 = getelementptr inbounds ptr, ptr %171, i64 %.3139178
  %173 = load ptr, ptr %172, align 8, !tbaa !15
  %174 = load ptr, ptr %98, align 8, !tbaa !14
  %175 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %84)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %173, i64 noundef 1, ptr noundef %174, i64 noundef 1, i64 noundef %175)
  %176 = add nuw nsw i64 %.3139178, 1
  %exitcond214.not = icmp eq i64 %176, %smax213
  br i1 %exitcond214.not, label %.preheader157, label %.lr.ph179.split, !llvm.loop !28

177:                                              ; preds = %177, %.lr.ph182.new
  %.4140181 = phi i64 [ 0, %.lr.ph182.new ], [ %187, %177 ]
  %niter241 = phi i64 [ 0, %.lr.ph182.new ], [ %niter241.next.1, %177 ]
  %178 = load ptr, ptr %168, align 8, !tbaa !14
  %179 = getelementptr inbounds double, ptr %178, i64 %.4140181
  store double 0.000000e+00, ptr %179, align 8, !tbaa !16
  %180 = load ptr, ptr %169, align 8, !tbaa !14
  %181 = getelementptr inbounds i8, ptr %180, i64 %.4140181
  store i8 1, ptr %181, align 1, !tbaa !23
  %182 = or disjoint i64 %.4140181, 1
  %183 = load ptr, ptr %168, align 8, !tbaa !14
  %184 = getelementptr inbounds double, ptr %183, i64 %182
  store double 0.000000e+00, ptr %184, align 8, !tbaa !16
  %185 = load ptr, ptr %169, align 8, !tbaa !14
  %186 = getelementptr inbounds i8, ptr %185, i64 %182
  store i8 1, ptr %186, align 1, !tbaa !23
  %187 = add nuw nsw i64 %.4140181, 2
  %niter241.next.1 = add i64 %niter241, 2
  %niter241.ncmp.1 = icmp eq i64 %niter241.next.1, %unroll_iter240
  br i1 %niter241.ncmp.1, label %.lr.ph192.loopexit.unr-lcssa, label %177, !llvm.loop !31

.lr.ph192.loopexit.unr-lcssa:                     ; preds = %177, %.lr.ph182
  %.4140181.unr = phi i64 [ 0, %.lr.ph182 ], [ %187, %177 ]
  %lcmp.mod239.not = icmp eq i64 %xtraiter238, 0
  br i1 %lcmp.mod239.not, label %.lr.ph192, label %.lr.ph192.loopexit.epilog-lcssa

.lr.ph192.loopexit.epilog-lcssa:                  ; preds = %.lr.ph192.loopexit.unr-lcssa
  %188 = load ptr, ptr %168, align 8, !tbaa !14
  %189 = getelementptr inbounds double, ptr %188, i64 %.4140181.unr
  store double 0.000000e+00, ptr %189, align 8, !tbaa !16
  %190 = load ptr, ptr %169, align 8, !tbaa !14
  %191 = getelementptr inbounds i8, ptr %190, i64 %.4140181.unr
  store i8 1, ptr %191, align 1, !tbaa !23
  br label %.lr.ph192

.lr.ph192:                                        ; preds = %.lr.ph192.loopexit.epilog-lcssa, %.lr.ph192.loopexit.unr-lcssa, %.preheader157
  %192 = add nsw i64 %4, -1
  %193 = getelementptr inbounds i8, ptr %13, i64 56
  %194 = load ptr, ptr %193, align 8, !tbaa !14
  %195 = getelementptr inbounds i8, ptr %10, i64 72
  %196 = load ptr, ptr %195, align 8, !tbaa !14
  %197 = load ptr, ptr %196, align 8, !tbaa !15
  %198 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %192)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %194, i64 noundef 1, ptr noundef %197, i64 noundef 1, i64 noundef %198)
  %199 = getelementptr inbounds i8, ptr %11, i64 56
  %200 = getelementptr inbounds i8, ptr %15, i64 56
  %smax220 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  br label %204

.lr.ph200:                                        ; preds = %._crit_edge188
  %201 = getelementptr inbounds i8, ptr %11, i64 56
  %202 = getelementptr inbounds i8, ptr %15, i64 56
  %smax223 = call i64 @llvm.smax.i64(i64 %2, i64 1)
  %xtraiter242 = and i64 %4, 1
  %203 = icmp eq i64 %4, 1
  %unroll_iter244 = and i64 %4, 9223372036854775806
  %lcmp.mod243.not = icmp eq i64 %xtraiter242, 0
  br label %231

204:                                              ; preds = %.lr.ph192, %._crit_edge188
  %.5190 = phi i64 [ 0, %.lr.ph192 ], [ %230, %._crit_edge188 ]
  %205 = load ptr, ptr %199, align 8, !tbaa !14
  %206 = load ptr, ptr %195, align 8, !tbaa !14
  %207 = getelementptr inbounds ptr, ptr %206, i64 %.5190
  %208 = load ptr, ptr %207, align 8, !tbaa !15
  %209 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %192)
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %205, i64 noundef 1, ptr noundef %208, i64 noundef 1, i64 noundef %209, double noundef %92)
  br i1 %18, label %.lr.ph187, label %._crit_edge188

.lr.ph187:                                        ; preds = %204, %224
  %.3185 = phi i64 [ %229, %224 ], [ 0, %204 ]
  %210 = load ptr, ptr %200, align 8, !tbaa !14
  %211 = getelementptr inbounds i8, ptr %210, i64 %.3185
  %212 = load i8, ptr %211, align 1, !tbaa !23, !range !25, !noundef !26
  %213 = trunc nuw i8 %212 to i1
  br i1 %213, label %214, label %224

214:                                              ; preds = %.lr.ph187
  %215 = load ptr, ptr %195, align 8, !tbaa !14
  %216 = getelementptr inbounds ptr, ptr %215, i64 %.5190
  %217 = load ptr, ptr %216, align 8, !tbaa !15
  %218 = getelementptr inbounds double, ptr %217, i64 %.3185
  %219 = load double, ptr %218, align 8, !tbaa !16
  %220 = load ptr, ptr %193, align 8, !tbaa !14
  %221 = getelementptr inbounds double, ptr %220, i64 %.3185
  %222 = load double, ptr %221, align 8, !tbaa !16
  %223 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %219, double noundef %222)
  %.pre227 = load ptr, ptr %200, align 8, !tbaa !14
  br label %224

224:                                              ; preds = %214, %.lr.ph187
  %225 = phi ptr [ %210, %.lr.ph187 ], [ %.pre227, %214 ]
  %226 = phi i1 [ false, %.lr.ph187 ], [ %223, %214 ]
  %227 = getelementptr inbounds i8, ptr %225, i64 %.3185
  %228 = zext i1 %226 to i8
  store i8 %228, ptr %227, align 1, !tbaa !23
  %229 = add nuw nsw i64 %.3185, 1
  %exitcond219.not = icmp eq i64 %229, %4
  br i1 %exitcond219.not, label %._crit_edge188, label %.lr.ph187, !llvm.loop !32

._crit_edge188:                                   ; preds = %224, %204
  %230 = add nuw nsw i64 %.5190, 1
  %exitcond221.not = icmp eq i64 %230, %smax220
  br i1 %exitcond221.not, label %.lr.ph200, label %204, !llvm.loop !33

231:                                              ; preds = %.lr.ph200, %._crit_edge197
  %.6199 = phi i64 [ 0, %.lr.ph200 ], [ %267, %._crit_edge197 ]
  %232 = load ptr, ptr %195, align 8, !tbaa !14
  %233 = getelementptr inbounds ptr, ptr %232, i64 %.6199
  %234 = load ptr, ptr %233, align 8, !tbaa !15
  %235 = load ptr, ptr %201, align 8, !tbaa !14
  %236 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %192)
  call void @_ZN11alglib_impl8ae_v_subEPdlPKdll(ptr noundef %234, i64 noundef 1, ptr noundef %235, i64 noundef 1, i64 noundef %236)
  br i1 %18, label %.lr.ph196.preheader, label %._crit_edge197

.lr.ph196.preheader:                              ; preds = %231
  br i1 %203, label %._crit_edge197.loopexit.unr-lcssa, label %.lr.ph196

.lr.ph196:                                        ; preds = %.lr.ph196.preheader, %256
  %.4194 = phi i64 [ %257, %256 ], [ 0, %.lr.ph196.preheader ]
  %niter245 = phi i64 [ %niter245.next.1, %256 ], [ 0, %.lr.ph196.preheader ]
  %237 = load ptr, ptr %202, align 8, !tbaa !14
  %238 = getelementptr inbounds i8, ptr %237, i64 %.4194
  %239 = load i8, ptr %238, align 1, !tbaa !23, !range !25, !noundef !26
  %240 = trunc nuw i8 %239 to i1
  br i1 %240, label %241, label %.lr.ph196.1

241:                                              ; preds = %.lr.ph196
  %242 = load ptr, ptr %195, align 8, !tbaa !14
  %243 = getelementptr inbounds ptr, ptr %242, i64 %.6199
  %244 = load ptr, ptr %243, align 8, !tbaa !15
  %245 = getelementptr inbounds double, ptr %244, i64 %.4194
  store double 0.000000e+00, ptr %245, align 8, !tbaa !16
  br label %.lr.ph196.1

.lr.ph196.1:                                      ; preds = %.lr.ph196, %241
  %246 = or disjoint i64 %.4194, 1
  %247 = load ptr, ptr %202, align 8, !tbaa !14
  %248 = getelementptr inbounds i8, ptr %247, i64 %246
  %249 = load i8, ptr %248, align 1, !tbaa !23, !range !25, !noundef !26
  %250 = trunc nuw i8 %249 to i1
  br i1 %250, label %251, label %256

251:                                              ; preds = %.lr.ph196.1
  %252 = load ptr, ptr %195, align 8, !tbaa !14
  %253 = getelementptr inbounds ptr, ptr %252, i64 %.6199
  %254 = load ptr, ptr %253, align 8, !tbaa !15
  %255 = getelementptr inbounds double, ptr %254, i64 %246
  store double 0.000000e+00, ptr %255, align 8, !tbaa !16
  br label %256

256:                                              ; preds = %251, %.lr.ph196.1
  %257 = add nuw nsw i64 %.4194, 2
  %niter245.next.1 = add i64 %niter245, 2
  %niter245.ncmp.1 = icmp eq i64 %niter245.next.1, %unroll_iter244
  br i1 %niter245.ncmp.1, label %._crit_edge197.loopexit.unr-lcssa, label %.lr.ph196, !llvm.loop !34

._crit_edge197.loopexit.unr-lcssa:                ; preds = %256, %.lr.ph196.preheader
  %.4194.unr = phi i64 [ 0, %.lr.ph196.preheader ], [ %257, %256 ]
  br i1 %lcmp.mod243.not, label %._crit_edge197, label %.lr.ph196.epil

.lr.ph196.epil:                                   ; preds = %._crit_edge197.loopexit.unr-lcssa
  %258 = load ptr, ptr %202, align 8, !tbaa !14
  %259 = getelementptr inbounds i8, ptr %258, i64 %.4194.unr
  %260 = load i8, ptr %259, align 1, !tbaa !23, !range !25, !noundef !26
  %261 = trunc nuw i8 %260 to i1
  br i1 %261, label %262, label %._crit_edge197

262:                                              ; preds = %.lr.ph196.epil
  %263 = load ptr, ptr %195, align 8, !tbaa !14
  %264 = getelementptr inbounds ptr, ptr %263, i64 %.6199
  %265 = load ptr, ptr %264, align 8, !tbaa !15
  %266 = getelementptr inbounds double, ptr %265, i64 %.4194.unr
  store double 0.000000e+00, ptr %266, align 8, !tbaa !16
  br label %._crit_edge197

._crit_edge197:                                   ; preds = %._crit_edge197.loopexit.unr-lcssa, %262, %.lr.ph196.epil, %231
  %267 = add nuw nsw i64 %.6199, 1
  %exitcond224.not = icmp eq i64 %267, %smax223
  br i1 %exitcond224.not, label %._crit_edge201, label %231, !llvm.loop !35

._crit_edge201:                                   ; preds = %._crit_edge197
  %268 = uitofp nneg i64 %167 to double
  %269 = fdiv double 1.000000e+00, %268
  call void @_ZN11alglib_impl11rmatrixgemmEllldPKNS_9ae_matrixElllS2_llldPS0_llPNS_8ae_stateE(i64 noundef %3, i64 noundef %4, i64 noundef %2, double noundef %269, ptr noundef nonnull %9, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef nonnull %10, i64 noundef 0, i64 noundef 0, i64 noundef 0, double noundef 0.000000e+00, ptr noundef %5, i64 noundef 0, i64 noundef 0, ptr noundef %6)
  br label %._crit_edge208

._crit_edge208:                                   ; preds = %._crit_edge205.us, %35, %.preheader.lr.ph, %._crit_edge201
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %6)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  ret void
}

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

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

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

declare void @_ZN11alglib_impl15ae_matrix_clearEPNS_9ae_matrixE(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

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


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