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

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

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

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

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

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

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

61:                                               ; preds = %9
  %62 = load i64, ptr %12, align 8, !tbaa !9
  %63 = icmp sle i64 %62, 0
  br i1 %63, label %67, label %64

64:                                               ; preds = %61
  %65 = load double, ptr %14, align 8, !tbaa !11
  %66 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %65, double noundef 0.000000e+00)
  br i1 %66, label %67, label %70

67:                                               ; preds = %64, %61, %9
  %68 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -1, ptr %68, align 8, !tbaa !9
  %69 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %69)
  store i32 1, ptr %43, align 4
  br label %557

70:                                               ; preds = %64
  %71 = load double, ptr %14, align 8, !tbaa !11
  %72 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %71, double noundef 0.000000e+00)
  br i1 %72, label %73, label %74

73:                                               ; preds = %70
  store double 5.000000e-13, ptr %14, align 8, !tbaa !11
  br label %74

74:                                               ; preds = %73, %70
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = load i64, ptr %11, align 8, !tbaa !9
  %77 = load i64, ptr %12, align 8, !tbaa !9
  %78 = load ptr, ptr %18, align 8, !tbaa !5
  %79 = call noundef zeroext i1 @_ZN11alglib_impl10rmatrixsvdEPNS_9ae_matrixElllllPNS_9ae_vectorES1_S1_PNS_8ae_stateE(ptr noundef %75, i64 noundef %76, i64 noundef %77, i64 noundef 1, i64 noundef 2, i64 noundef 2, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %78)
  %80 = xor i1 %79, true
  %81 = zext i1 %80 to i8
  store i8 %81, ptr %37, align 1, !tbaa !13
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !15
  %84 = getelementptr inbounds double, ptr %83, i64 0
  %85 = load double, ptr %84, align 8, !tbaa !11
  %86 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %85, double noundef 0.000000e+00)
  %87 = zext i1 %86 to i8
  store i8 %87, ptr %38, align 1, !tbaa !13
  %88 = load i8, ptr %37, align 1, !tbaa !13, !range !16, !noundef !17
  %89 = trunc i8 %88 to i1
  br i1 %89, label %93, label %90

90:                                               ; preds = %74
  %91 = load i8, ptr %38, align 1, !tbaa !13, !range !16, !noundef !17
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %177

93:                                               ; preds = %90, %74
  %94 = load i8, ptr %37, align 1, !tbaa !13, !range !16, !noundef !17
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %98

96:                                               ; preds = %93
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -4, ptr %97, align 8, !tbaa !9
  br label %100

98:                                               ; preds = %93
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 1, ptr %99, align 8, !tbaa !9
  br label %100

100:                                              ; preds = %98, %96
  %101 = load ptr, ptr %17, align 8, !tbaa !5
  %102 = load i64, ptr %12, align 8, !tbaa !9
  %103 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %101, i64 noundef %102, ptr noundef %103)
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %104

104:                                              ; preds = %115, %100
  %105 = load i64, ptr %31, align 8, !tbaa !9
  %106 = load i64, ptr %12, align 8, !tbaa !9
  %107 = sub nsw i64 %106, 1
  %108 = icmp sle i64 %105, %107
  br i1 %108, label %109, label %118

109:                                              ; preds = %104
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %110, i32 0, i32 4
  %112 = load ptr, ptr %111, align 8, !tbaa !15
  %113 = load i64, ptr %31, align 8, !tbaa !9
  %114 = getelementptr inbounds double, ptr %112, i64 %113
  store double 0.000000e+00, ptr %114, align 8, !tbaa !11
  br label %115

115:                                              ; preds = %109
  %116 = load i64, ptr %31, align 8, !tbaa !9
  %117 = add nsw i64 %116, 1
  store i64 %117, ptr %31, align 8, !tbaa !9
  br label %104, !llvm.loop !18

118:                                              ; preds = %104
  %119 = load i64, ptr %12, align 8, !tbaa !9
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %120, i32 0, i32 2
  store i64 %119, ptr %121, align 8, !tbaa !20
  %122 = load i64, ptr %12, align 8, !tbaa !9
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %123, i32 0, i32 3
  store i64 %122, ptr %124, align 8, !tbaa !24
  %125 = load ptr, ptr %16, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %125, i32 0, i32 1
  %127 = load i64, ptr %12, align 8, !tbaa !9
  %128 = load i64, ptr %12, align 8, !tbaa !9
  %129 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %126, i64 noundef %127, i64 noundef %128, ptr noundef %129)
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %130

130:                                              ; preds = %170, %118
  %131 = load i64, ptr %31, align 8, !tbaa !9
  %132 = load i64, ptr %12, align 8, !tbaa !9
  %133 = sub nsw i64 %132, 1
  %134 = icmp sle i64 %131, %133
  br i1 %134, label %135, label %173

135:                                              ; preds = %130
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %166, %135
  %137 = load i64, ptr %32, align 8, !tbaa !9
  %138 = load i64, ptr %12, align 8, !tbaa !9
  %139 = sub nsw i64 %138, 1
  %140 = icmp sle i64 %137, %139
  br i1 %140, label %141, label %169

141:                                              ; preds = %136
  %142 = load i64, ptr %31, align 8, !tbaa !9
  %143 = load i64, ptr %32, align 8, !tbaa !9
  %144 = icmp eq i64 %142, %143
  br i1 %144, label %145, label %155

145:                                              ; preds = %141
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %146, i32 0, i32 1
  %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 %31, align 8, !tbaa !9
  %151 = getelementptr inbounds ptr, ptr %149, i64 %150
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = load i64, ptr %32, align 8, !tbaa !9
  %154 = getelementptr inbounds double, ptr %152, i64 %153
  store double 1.000000e+00, ptr %154, align 8, !tbaa !11
  br label %165

155:                                              ; preds = %141
  %156 = load ptr, ptr %16, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %156, i32 0, i32 1
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %157, i32 0, i32 6
  %159 = load ptr, ptr %158, align 8, !tbaa !15
  %160 = load i64, ptr %31, align 8, !tbaa !9
  %161 = getelementptr inbounds ptr, ptr %159, i64 %160
  %162 = load ptr, ptr %161, align 8, !tbaa !5
  %163 = load i64, ptr %32, align 8, !tbaa !9
  %164 = getelementptr inbounds double, ptr %162, i64 %163
  store double 0.000000e+00, ptr %164, align 8, !tbaa !11
  br label %165

165:                                              ; preds = %155, %145
  br label %166

166:                                              ; preds = %165
  %167 = load i64, ptr %32, align 8, !tbaa !9
  %168 = add nsw i64 %167, 1
  store i64 %168, ptr %32, align 8, !tbaa !9
  br label %136, !llvm.loop !25

169:                                              ; preds = %136
  br label %170

170:                                              ; preds = %169
  %171 = load i64, ptr %31, align 8, !tbaa !9
  %172 = add nsw i64 %171, 1
  store i64 %172, ptr %31, align 8, !tbaa !9
  br label %130, !llvm.loop !26

173:                                              ; preds = %130
  %174 = load ptr, ptr %16, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %174, i32 0, i32 0
  store double 0.000000e+00, ptr %175, align 8, !tbaa !27
  %176 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %176)
  store i32 1, ptr %43, align 4
  br label %557

177:                                              ; preds = %90
  %178 = load i64, ptr %12, align 8, !tbaa !9
  %179 = load i64, ptr %11, align 8, !tbaa !9
  %180 = load ptr, ptr %18, align 8, !tbaa !5
  %181 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %178, i64 noundef %179, ptr noundef %180)
  store i64 %181, ptr %33, align 8, !tbaa !9
  %182 = load i64, ptr %33, align 8, !tbaa !9
  %183 = load i64, ptr %12, align 8, !tbaa !9
  %184 = icmp eq i64 %182, %183
  br i1 %184, label %185, label %199

185:                                              ; preds = %177
  %186 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %187 = load ptr, ptr %186, align 8, !tbaa !15
  %188 = load i64, ptr %33, align 8, !tbaa !9
  %189 = sub nsw i64 %188, 1
  %190 = getelementptr inbounds double, ptr %187, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !11
  %192 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %193 = load ptr, ptr %192, align 8, !tbaa !15
  %194 = getelementptr inbounds double, ptr %193, i64 0
  %195 = load double, ptr %194, align 8, !tbaa !11
  %196 = fdiv double %191, %195
  %197 = load ptr, ptr %16, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %197, i32 0, i32 0
  store double %196, ptr %198, align 8, !tbaa !27
  br label %202

199:                                              ; preds = %177
  %200 = load ptr, ptr %16, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %200, i32 0, i32 0
  store double 0.000000e+00, ptr %201, align 8, !tbaa !27
  br label %202

202:                                              ; preds = %199, %185
  %203 = load i64, ptr %12, align 8, !tbaa !9
  %204 = load ptr, ptr %16, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %204, i32 0, i32 2
  store i64 %203, ptr %205, align 8, !tbaa !20
  %206 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 1, ptr %206, align 8, !tbaa !9
  %207 = load i64, ptr %33, align 8, !tbaa !9
  %208 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef %207, ptr noundef %208)
  %209 = load i64, ptr %33, align 8, !tbaa !9
  %210 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %25, i64 noundef %209, ptr noundef %210)
  %211 = load ptr, ptr %17, align 8, !tbaa !5
  %212 = load i64, ptr %12, align 8, !tbaa !9
  %213 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %211, i64 noundef %212, ptr noundef %213)
  %214 = load i64, ptr %12, align 8, !tbaa !9
  %215 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %26, i64 noundef %214, ptr noundef %215)
  %216 = load i64, ptr %12, align 8, !tbaa !9
  %217 = add nsw i64 %216, 1
  %218 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %27, i64 noundef %217, ptr noundef %218)
  %219 = load i64, ptr %12, align 8, !tbaa !9
  %220 = add nsw i64 %219, 1
  %221 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %28, i64 noundef %220, ptr noundef %221)
  %222 = load i64, ptr %12, align 8, !tbaa !9
  %223 = add nsw i64 %222, 1
  %224 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %29, i64 noundef %223, ptr noundef %224)
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %225

225:                                              ; preds = %236, %202
  %226 = load i64, ptr %31, align 8, !tbaa !9
  %227 = load i64, ptr %12, align 8, !tbaa !9
  %228 = sub nsw i64 %227, 1
  %229 = icmp sle i64 %226, %228
  br i1 %229, label %230, label %239

230:                                              ; preds = %225
  %231 = load ptr, ptr %17, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %231, i32 0, i32 4
  %233 = load ptr, ptr %232, align 8, !tbaa !15
  %234 = load i64, ptr %31, align 8, !tbaa !9
  %235 = getelementptr inbounds double, ptr %233, i64 %234
  store double 0.000000e+00, ptr %235, align 8, !tbaa !11
  br label %236

236:                                              ; preds = %230
  %237 = load i64, ptr %31, align 8, !tbaa !9
  %238 = add nsw i64 %237, 1
  store i64 %238, ptr %31, align 8, !tbaa !9
  br label %225, !llvm.loop !28

239:                                              ; preds = %225
  %240 = load i64, ptr %33, align 8, !tbaa !9
  store i64 %240, ptr %34, align 8, !tbaa !9
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %241

241:                                              ; preds = %262, %239
  %242 = load i64, ptr %31, align 8, !tbaa !9
  %243 = load i64, ptr %33, align 8, !tbaa !9
  %244 = sub nsw i64 %243, 1
  %245 = icmp sle i64 %242, %244
  br i1 %245, label %246, label %265

246:                                              ; preds = %241
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !15
  %249 = load i64, ptr %31, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %248, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !11
  %252 = load double, ptr %14, align 8, !tbaa !11
  %253 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %254 = load ptr, ptr %253, align 8, !tbaa !15
  %255 = getelementptr inbounds double, ptr %254, i64 0
  %256 = load double, ptr %255, align 8, !tbaa !11
  %257 = fmul double %252, %256
  %258 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %251, double noundef %257)
  br i1 %258, label %259, label %261

259:                                              ; preds = %246
  %260 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %260, ptr %34, align 8, !tbaa !9
  br label %265

261:                                              ; preds = %246
  br label %262

262:                                              ; preds = %261
  %263 = load i64, ptr %31, align 8, !tbaa !9
  %264 = add nsw i64 %263, 1
  store i64 %264, ptr %31, align 8, !tbaa !9
  br label %241, !llvm.loop !29

265:                                              ; preds = %259, %241
  %266 = load i64, ptr %12, align 8, !tbaa !9
  %267 = load i64, ptr %34, align 8, !tbaa !9
  %268 = sub nsw i64 %266, %267
  %269 = load ptr, ptr %16, align 8, !tbaa !5
  %270 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %269, i32 0, i32 3
  store i64 %268, ptr %270, align 8, !tbaa !24
  %271 = load i64, ptr %12, align 8, !tbaa !9
  %272 = load ptr, ptr %16, align 8, !tbaa !5
  %273 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %272, i32 0, i32 0
  %274 = load double, ptr %273, align 8, !tbaa !27
  %275 = load ptr, ptr %18, align 8, !tbaa !5
  %276 = call noundef i64 @_ZN11alglib_implL38directdensesolvers_densesolverrfsmaxv2EldPNS_8ae_stateE(i64 noundef %271, double noundef %274, ptr noundef %275)
  store i64 %276, ptr %40, align 8, !tbaa !9
  store i8 0, ptr %41, align 1, !tbaa !13
  %277 = load i64, ptr %11, align 8, !tbaa !9
  %278 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %23, i64 noundef %277, ptr noundef %278)
  store i64 0, ptr %39, align 8, !tbaa !9
  br label %279

279:                                              ; preds = %504, %265
  %280 = load i64, ptr %39, align 8, !tbaa !9
  %281 = load i64, ptr %40, align 8, !tbaa !9
  %282 = icmp sle i64 %280, %281
  br i1 %282, label %283, label %507

283:                                              ; preds = %279
  %284 = load i8, ptr %41, align 1, !tbaa !13, !range !16, !noundef !17
  %285 = trunc i8 %284 to i1
  br i1 %285, label %286, label %287

286:                                              ; preds = %283
  br label %507

287:                                              ; preds = %283
  %288 = load i64, ptr %39, align 8, !tbaa !9
  %289 = icmp eq i64 %288, 0
  br i1 %289, label %290, label %301

290:                                              ; preds = %287
  %291 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %292 = load ptr, ptr %291, align 8, !tbaa !15
  %293 = getelementptr inbounds double, ptr %292, i64 0
  %294 = load ptr, ptr %13, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %294, i32 0, i32 4
  %296 = load ptr, ptr %295, align 8, !tbaa !15
  %297 = getelementptr inbounds double, ptr %296, i64 0
  %298 = load i64, ptr %11, align 8, !tbaa !9
  %299 = sub nsw i64 %298, 1
  %300 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %299)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %293, i64 noundef 1, ptr noundef %297, i64 noundef 1, i64 noundef %300)
  br label %374

301:                                              ; preds = %287
  store i8 1, ptr %42, align 1, !tbaa !13
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %302

302:                                              ; preds = %366, %301
  %303 = load i64, ptr %31, align 8, !tbaa !9
  %304 = load i64, ptr %11, align 8, !tbaa !9
  %305 = sub nsw i64 %304, 1
  %306 = icmp sle i64 %303, %305
  br i1 %306, label %307, label %369

307:                                              ; preds = %302
  %308 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %309 = load ptr, ptr %308, align 8, !tbaa !15
  %310 = getelementptr inbounds double, ptr %309, i64 0
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  %312 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %311, i32 0, i32 6
  %313 = load ptr, ptr %312, align 8, !tbaa !15
  %314 = load i64, ptr %31, align 8, !tbaa !9
  %315 = getelementptr inbounds ptr, ptr %313, i64 %314
  %316 = load ptr, ptr %315, align 8, !tbaa !5
  %317 = getelementptr inbounds double, ptr %316, i64 0
  %318 = load i64, ptr %12, align 8, !tbaa !9
  %319 = sub nsw i64 %318, 1
  %320 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %319)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %310, i64 noundef 1, ptr noundef %317, i64 noundef 1, i64 noundef %320)
  %321 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %322 = load ptr, ptr %321, align 8, !tbaa !15
  %323 = load i64, ptr %12, align 8, !tbaa !9
  %324 = getelementptr inbounds double, ptr %322, i64 %323
  store double -1.000000e+00, ptr %324, align 8, !tbaa !11
  %325 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %326 = load ptr, ptr %325, align 8, !tbaa !15
  %327 = getelementptr inbounds double, ptr %326, i64 0
  %328 = load ptr, ptr %17, align 8, !tbaa !5
  %329 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %328, i32 0, i32 4
  %330 = load ptr, ptr %329, align 8, !tbaa !15
  %331 = getelementptr inbounds double, ptr %330, i64 0
  %332 = load i64, ptr %12, align 8, !tbaa !9
  %333 = sub nsw i64 %332, 1
  %334 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %333)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %327, i64 noundef 1, ptr noundef %331, i64 noundef 1, i64 noundef %334)
  %335 = load ptr, ptr %13, align 8, !tbaa !5
  %336 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %335, i32 0, i32 4
  %337 = load ptr, ptr %336, align 8, !tbaa !15
  %338 = load i64, ptr %31, align 8, !tbaa !9
  %339 = getelementptr inbounds double, ptr %337, i64 %338
  %340 = load double, ptr %339, align 8, !tbaa !11
  %341 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %342 = load ptr, ptr %341, align 8, !tbaa !15
  %343 = load i64, ptr %12, align 8, !tbaa !9
  %344 = getelementptr inbounds double, ptr %342, i64 %343
  store double %340, ptr %344, align 8, !tbaa !11
  %345 = load i64, ptr %12, align 8, !tbaa !9
  %346 = add nsw i64 %345, 1
  %347 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl4xdotEPNS_9ae_vectorES1_lS1_PdS2_PNS_8ae_stateE(ptr noundef %27, ptr noundef %28, i64 noundef %346, ptr noundef %29, ptr noundef %35, ptr noundef %36, ptr noundef %347)
  %348 = load double, ptr %35, align 8, !tbaa !11
  %349 = fneg double %348
  %350 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %351 = load ptr, ptr %350, align 8, !tbaa !15
  %352 = load i64, ptr %31, align 8, !tbaa !9
  %353 = getelementptr inbounds double, ptr %351, i64 %352
  store double %349, ptr %353, align 8, !tbaa !11
  %354 = load i8, ptr %42, align 1, !tbaa !13, !range !16, !noundef !17
  %355 = trunc i8 %354 to i1
  br i1 %355, label %356, label %363

356:                                              ; preds = %307
  %357 = load double, ptr %35, align 8, !tbaa !11
  %358 = load ptr, ptr %18, align 8, !tbaa !5
  %359 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %357, ptr noundef %358)
  %360 = load double, ptr %36, align 8, !tbaa !11
  %361 = fmul double 4.000000e+00, %360
  %362 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %359, double noundef %361)
  br label %363

363:                                              ; preds = %356, %307
  %364 = phi i1 [ false, %307 ], [ %362, %356 ]
  %365 = zext i1 %364 to i8
  store i8 %365, ptr %42, align 1, !tbaa !13
  br label %366

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

369:                                              ; preds = %302
  %370 = load i8, ptr %42, align 1, !tbaa !13, !range !16, !noundef !17
  %371 = trunc i8 %370 to i1
  br i1 %371, label %372, label %373

372:                                              ; preds = %369
  store i8 1, ptr %41, align 1, !tbaa !13
  br label %373

373:                                              ; preds = %372, %369
  br label %374

374:                                              ; preds = %373, %290
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %375

375:                                              ; preds = %385, %374
  %376 = load i64, ptr %31, align 8, !tbaa !9
  %377 = load i64, ptr %12, align 8, !tbaa !9
  %378 = sub nsw i64 %377, 1
  %379 = icmp sle i64 %376, %378
  br i1 %379, label %380, label %388

380:                                              ; preds = %375
  %381 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %382 = load ptr, ptr %381, align 8, !tbaa !15
  %383 = load i64, ptr %31, align 8, !tbaa !9
  %384 = getelementptr inbounds double, ptr %382, i64 %383
  store double 0.000000e+00, ptr %384, align 8, !tbaa !11
  br label %385

385:                                              ; preds = %380
  %386 = load i64, ptr %31, align 8, !tbaa !9
  %387 = add nsw i64 %386, 1
  store i64 %387, ptr %31, align 8, !tbaa !9
  br label %375, !llvm.loop !31

388:                                              ; preds = %375
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %389

389:                                              ; preds = %399, %388
  %390 = load i64, ptr %31, align 8, !tbaa !9
  %391 = load i64, ptr %33, align 8, !tbaa !9
  %392 = sub nsw i64 %391, 1
  %393 = icmp sle i64 %390, %392
  br i1 %393, label %394, label %402

394:                                              ; preds = %389
  %395 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %396 = load ptr, ptr %395, align 8, !tbaa !15
  %397 = load i64, ptr %31, align 8, !tbaa !9
  %398 = getelementptr inbounds double, ptr %396, i64 %397
  store double 0.000000e+00, ptr %398, align 8, !tbaa !11
  br label %399

399:                                              ; preds = %394
  %400 = load i64, ptr %31, align 8, !tbaa !9
  %401 = add nsw i64 %400, 1
  store i64 %401, ptr %31, align 8, !tbaa !9
  br label %389, !llvm.loop !32

402:                                              ; preds = %389
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %403

403:                                              ; preds = %427, %402
  %404 = load i64, ptr %31, align 8, !tbaa !9
  %405 = load i64, ptr %11, align 8, !tbaa !9
  %406 = sub nsw i64 %405, 1
  %407 = icmp sle i64 %404, %406
  br i1 %407, label %408, label %430

408:                                              ; preds = %403
  %409 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %410 = load ptr, ptr %409, align 8, !tbaa !15
  %411 = load i64, ptr %31, align 8, !tbaa !9
  %412 = getelementptr inbounds double, ptr %410, i64 %411
  %413 = load double, ptr %412, align 8, !tbaa !11
  store double %413, ptr %35, align 8, !tbaa !11
  %414 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %415 = load ptr, ptr %414, align 8, !tbaa !15
  %416 = getelementptr inbounds double, ptr %415, i64 0
  %417 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %21, i32 0, i32 6
  %418 = load ptr, ptr %417, align 8, !tbaa !15
  %419 = load i64, ptr %31, align 8, !tbaa !9
  %420 = getelementptr inbounds ptr, ptr %418, i64 %419
  %421 = load ptr, ptr %420, align 8, !tbaa !5
  %422 = getelementptr inbounds double, ptr %421, i64 0
  %423 = load i64, ptr %33, align 8, !tbaa !9
  %424 = sub nsw i64 %423, 1
  %425 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %424)
  %426 = load double, ptr %35, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %416, i64 noundef 1, ptr noundef %422, i64 noundef 1, i64 noundef %425, double noundef %426)
  br label %427

427:                                              ; preds = %408
  %428 = load i64, ptr %31, align 8, !tbaa !9
  %429 = add nsw i64 %428, 1
  store i64 %429, ptr %31, align 8, !tbaa !9
  br label %403, !llvm.loop !33

430:                                              ; preds = %403
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %431

431:                                              ; preds = %462, %430
  %432 = load i64, ptr %31, align 8, !tbaa !9
  %433 = load i64, ptr %33, align 8, !tbaa !9
  %434 = sub nsw i64 %433, 1
  %435 = icmp sle i64 %432, %434
  br i1 %435, label %436, label %465

436:                                              ; preds = %431
  %437 = load i64, ptr %31, align 8, !tbaa !9
  %438 = load i64, ptr %34, align 8, !tbaa !9
  %439 = icmp slt i64 %437, %438
  br i1 %439, label %440, label %456

440:                                              ; preds = %436
  %441 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %442 = load ptr, ptr %441, align 8, !tbaa !15
  %443 = load i64, ptr %31, align 8, !tbaa !9
  %444 = getelementptr inbounds double, ptr %442, i64 %443
  %445 = load double, ptr %444, align 8, !tbaa !11
  %446 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %447 = load ptr, ptr %446, align 8, !tbaa !15
  %448 = load i64, ptr %31, align 8, !tbaa !9
  %449 = getelementptr inbounds double, ptr %447, i64 %448
  %450 = load double, ptr %449, align 8, !tbaa !11
  %451 = fdiv double %445, %450
  %452 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %453 = load ptr, ptr %452, align 8, !tbaa !15
  %454 = load i64, ptr %31, align 8, !tbaa !9
  %455 = getelementptr inbounds double, ptr %453, i64 %454
  store double %451, ptr %455, align 8, !tbaa !11
  br label %461

456:                                              ; preds = %436
  %457 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %458 = load ptr, ptr %457, align 8, !tbaa !15
  %459 = load i64, ptr %31, align 8, !tbaa !9
  %460 = getelementptr inbounds double, ptr %458, i64 %459
  store double 0.000000e+00, ptr %460, align 8, !tbaa !11
  br label %461

461:                                              ; preds = %456, %440
  br label %462

462:                                              ; preds = %461
  %463 = load i64, ptr %31, align 8, !tbaa !9
  %464 = add nsw i64 %463, 1
  store i64 %464, ptr %31, align 8, !tbaa !9
  br label %431, !llvm.loop !34

465:                                              ; preds = %431
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %466

466:                                              ; preds = %490, %465
  %467 = load i64, ptr %31, align 8, !tbaa !9
  %468 = load i64, ptr %33, align 8, !tbaa !9
  %469 = sub nsw i64 %468, 1
  %470 = icmp sle i64 %467, %469
  br i1 %470, label %471, label %493

471:                                              ; preds = %466
  %472 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %473 = load ptr, ptr %472, align 8, !tbaa !15
  %474 = load i64, ptr %31, align 8, !tbaa !9
  %475 = getelementptr inbounds double, ptr %473, i64 %474
  %476 = load double, ptr %475, align 8, !tbaa !11
  store double %476, ptr %35, align 8, !tbaa !11
  %477 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %478 = load ptr, ptr %477, align 8, !tbaa !15
  %479 = getelementptr inbounds double, ptr %478, i64 0
  %480 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %22, i32 0, i32 6
  %481 = load ptr, ptr %480, align 8, !tbaa !15
  %482 = load i64, ptr %31, align 8, !tbaa !9
  %483 = getelementptr inbounds ptr, ptr %481, i64 %482
  %484 = load ptr, ptr %483, align 8, !tbaa !5
  %485 = getelementptr inbounds double, ptr %484, i64 0
  %486 = load i64, ptr %12, align 8, !tbaa !9
  %487 = sub nsw i64 %486, 1
  %488 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %487)
  %489 = load double, ptr %35, align 8, !tbaa !11
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %479, i64 noundef 1, ptr noundef %485, i64 noundef 1, i64 noundef %488, double noundef %489)
  br label %490

490:                                              ; preds = %471
  %491 = load i64, ptr %31, align 8, !tbaa !9
  %492 = add nsw i64 %491, 1
  store i64 %492, ptr %31, align 8, !tbaa !9
  br label %466, !llvm.loop !35

493:                                              ; preds = %466
  %494 = load ptr, ptr %17, align 8, !tbaa !5
  %495 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %494, i32 0, i32 4
  %496 = load ptr, ptr %495, align 8, !tbaa !15
  %497 = getelementptr inbounds double, ptr %496, i64 0
  %498 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %499 = load ptr, ptr %498, align 8, !tbaa !15
  %500 = getelementptr inbounds double, ptr %499, i64 0
  %501 = load i64, ptr %12, align 8, !tbaa !9
  %502 = sub nsw i64 %501, 1
  %503 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %502)
  call void @_ZN11alglib_impl8ae_v_addEPdlPKdll(ptr noundef %497, i64 noundef 1, ptr noundef %500, i64 noundef 1, i64 noundef %503)
  br label %504

504:                                              ; preds = %493
  %505 = load i64, ptr %39, align 8, !tbaa !9
  %506 = add nsw i64 %505, 1
  store i64 %506, ptr %39, align 8, !tbaa !9
  br label %279, !llvm.loop !36

507:                                              ; preds = %286, %279
  %508 = load ptr, ptr %16, align 8, !tbaa !5
  %509 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %508, i32 0, i32 3
  %510 = load i64, ptr %509, align 8, !tbaa !24
  %511 = icmp sgt i64 %510, 0
  br i1 %511, label %512, label %555

512:                                              ; preds = %507
  %513 = load ptr, ptr %16, align 8, !tbaa !5
  %514 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %513, i32 0, i32 1
  %515 = load i64, ptr %12, align 8, !tbaa !9
  %516 = load ptr, ptr %16, align 8, !tbaa !5
  %517 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %516, i32 0, i32 3
  %518 = load i64, ptr %517, align 8, !tbaa !24
  %519 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %514, i64 noundef %515, i64 noundef %518, ptr noundef %519)
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %520

520:                                              ; preds = %551, %512
  %521 = load i64, ptr %31, align 8, !tbaa !9
  %522 = load ptr, ptr %16, align 8, !tbaa !5
  %523 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %522, i32 0, i32 3
  %524 = load i64, ptr %523, align 8, !tbaa !24
  %525 = sub nsw i64 %524, 1
  %526 = icmp sle i64 %521, %525
  br i1 %526, label %527, label %554

527:                                              ; preds = %520
  %528 = load ptr, ptr %16, align 8, !tbaa !5
  %529 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %528, i32 0, i32 1
  %530 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %529, i32 0, i32 6
  %531 = load ptr, ptr %530, align 8, !tbaa !15
  %532 = getelementptr inbounds ptr, ptr %531, i64 0
  %533 = load ptr, ptr %532, align 8, !tbaa !5
  %534 = load i64, ptr %31, align 8, !tbaa !9
  %535 = getelementptr inbounds double, ptr %533, i64 %534
  %536 = load ptr, ptr %16, align 8, !tbaa !5
  %537 = getelementptr inbounds %"struct.alglib_impl::densesolverlsreport", ptr %536, i32 0, i32 1
  %538 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %537, i32 0, i32 2
  %539 = load i64, ptr %538, align 8, !tbaa !37
  %540 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %22, i32 0, i32 6
  %541 = load ptr, ptr %540, align 8, !tbaa !15
  %542 = load i64, ptr %34, align 8, !tbaa !9
  %543 = load i64, ptr %31, align 8, !tbaa !9
  %544 = add nsw i64 %542, %543
  %545 = getelementptr inbounds ptr, ptr %541, i64 %544
  %546 = load ptr, ptr %545, align 8, !tbaa !5
  %547 = getelementptr inbounds double, ptr %546, i64 0
  %548 = load i64, ptr %12, align 8, !tbaa !9
  %549 = sub nsw i64 %548, 1
  %550 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %549)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %535, i64 noundef %539, ptr noundef %547, i64 noundef 1, i64 noundef %550)
  br label %551

551:                                              ; preds = %527
  %552 = load i64, ptr %31, align 8, !tbaa !9
  %553 = add nsw i64 %552, 1
  store i64 %553, ptr %31, align 8, !tbaa !9
  br label %520, !llvm.loop !38

554:                                              ; preds = %520
  br label %555

555:                                              ; preds = %554, %507
  %556 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %556)
  store i32 0, ptr %43, align 4
  br label %557

557:                                              ; preds = %555, %173, %67
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  %558 = load i32, ptr %43, align 4
  switch i32 %558, label %560 [
    i32 0, label %559
    i32 1, label %559
  ]

559:                                              ; preds = %557, %557
  ret void

560:                                              ; preds = %557
  unreachable
}

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_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_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #3

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

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, 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 noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) #3

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

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

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

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN11alglib_implL38directdensesolvers_densesolverrfsmaxv2EldPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef) #4

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

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

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

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

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

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

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


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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rmatrixsolvelsEPNS_9ae_matrixEllPNS_9ae_vectorEdPlPNS_19densesolverlsreportES3_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr nocapture noundef readonly %3, double noundef %4, ptr nocapture noundef writeonly %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #2 {
  %10 = alloca %"struct.alglib_impl::ae_frame", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", 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_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca %"struct.alglib_impl::ae_vector", align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %8, ptr noundef nonnull %10)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 0, i64 64, 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(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %19, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %20, 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)
  store i64 0, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl26_densesolverlsreport_clearEPv(ptr noundef %6)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %7)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %17, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %18, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %19, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %20, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %21, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  %24 = icmp slt i64 %1, 1
  %25 = icmp slt i64 %2, 1
  %or.cond = or i1 %24, %25
  br i1 %or.cond, label %28, label %26

26:                                               ; preds = %9
  %27 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %4, double noundef 0.000000e+00)
  br i1 %27, label %28, label %29

28:                                               ; preds = %26, %9
  store i64 -1, ptr %5, align 8, !tbaa !5
  br label %.loopexit

29:                                               ; preds = %26
  %30 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %4, double noundef 0.000000e+00)
  %.0180 = select i1 %30, double 5.000000e-13, double %4
  %31 = call noundef zeroext i1 @_ZN11alglib_impl10rmatrixsvdEPNS_9ae_matrixElllllPNS_9ae_vectorES1_S1_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef 1, i64 noundef 2, i64 noundef 2, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef %8)
  %32 = getelementptr inbounds i8, ptr %11, i64 56
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = load double, ptr %33, align 8, !tbaa !10
  %35 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %34, double noundef 0.000000e+00)
  %.not205 = xor i1 %31, true
  %brmerge = or i1 %35, %.not205
  br i1 %brmerge, label %.lr.ph257, label %78

.lr.ph257:                                        ; preds = %29
  %. = select i1 %31, i64 1, i64 -4
  store i64 %., ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %7, i64 noundef %2, ptr noundef %8)
  %36 = getelementptr inbounds i8, ptr %7, i64 56
  %37 = add nsw i64 %2, -1
  %xtraiter297 = and i64 %2, 3
  %38 = icmp ult i64 %37, 3
  br i1 %38, label %.preheader.lr.ph.unr-lcssa, label %.lr.ph257.new

.lr.ph257.new:                                    ; preds = %.lr.ph257
  %unroll_iter300 = and i64 %2, 9223372036854775804
  br label %39

39:                                               ; preds = %39, %.lr.ph257.new
  %.0182255 = phi i64 [ 0, %.lr.ph257.new ], [ %51, %39 ]
  %niter301 = phi i64 [ 0, %.lr.ph257.new ], [ %niter301.next.3, %39 ]
  %40 = load ptr, ptr %36, align 8, !tbaa !9
  %41 = getelementptr inbounds double, ptr %40, i64 %.0182255
  store double 0.000000e+00, ptr %41, align 8, !tbaa !10
  %42 = or disjoint i64 %.0182255, 1
  %43 = load ptr, ptr %36, align 8, !tbaa !9
  %44 = getelementptr inbounds double, ptr %43, i64 %42
  store double 0.000000e+00, ptr %44, align 8, !tbaa !10
  %45 = or disjoint i64 %.0182255, 2
  %46 = load ptr, ptr %36, align 8, !tbaa !9
  %47 = getelementptr inbounds double, ptr %46, i64 %45
  store double 0.000000e+00, ptr %47, align 8, !tbaa !10
  %48 = or disjoint i64 %.0182255, 3
  %49 = load ptr, ptr %36, align 8, !tbaa !9
  %50 = getelementptr inbounds double, ptr %49, i64 %48
  store double 0.000000e+00, ptr %50, align 8, !tbaa !10
  %51 = add nuw nsw i64 %.0182255, 4
  %niter301.next.3 = add i64 %niter301, 4
  %niter301.ncmp.3 = icmp eq i64 %niter301.next.3, %unroll_iter300
  br i1 %niter301.ncmp.3, label %.preheader.lr.ph.unr-lcssa, label %39, !llvm.loop !12

.preheader.lr.ph.unr-lcssa:                       ; preds = %39, %.lr.ph257
  %.0182255.unr = phi i64 [ 0, %.lr.ph257 ], [ %51, %39 ]
  %lcmp.mod299.not = icmp eq i64 %xtraiter297, 0
  br i1 %lcmp.mod299.not, label %.preheader.lr.ph, label %.epil.preheader296

.epil.preheader296:                               ; preds = %.preheader.lr.ph.unr-lcssa, %.epil.preheader296
  %.0182255.epil = phi i64 [ %54, %.epil.preheader296 ], [ %.0182255.unr, %.preheader.lr.ph.unr-lcssa ]
  %epil.iter298 = phi i64 [ %epil.iter298.next, %.epil.preheader296 ], [ 0, %.preheader.lr.ph.unr-lcssa ]
  %52 = load ptr, ptr %36, align 8, !tbaa !9
  %53 = getelementptr inbounds double, ptr %52, i64 %.0182255.epil
  store double 0.000000e+00, ptr %53, align 8, !tbaa !10
  %54 = add nuw nsw i64 %.0182255.epil, 1
  %epil.iter298.next = add i64 %epil.iter298, 1
  %epil.iter298.cmp.not = icmp eq i64 %epil.iter298.next, %xtraiter297
  br i1 %epil.iter298.cmp.not, label %.preheader.lr.ph, label %.epil.preheader296, !llvm.loop !14

.preheader.lr.ph:                                 ; preds = %.epil.preheader296, %.preheader.lr.ph.unr-lcssa
  %55 = getelementptr inbounds i8, ptr %6, i64 88
  store i64 %2, ptr %55, align 8, !tbaa !16
  %56 = getelementptr inbounds i8, ptr %6, i64 96
  store i64 %2, ptr %56, align 8, !tbaa !22
  %57 = getelementptr inbounds i8, ptr %6, i64 8
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %57, i64 noundef %2, i64 noundef %2, ptr noundef %8)
  %58 = getelementptr inbounds i8, ptr %6, i64 80
  %xtraiter303 = and i64 %2, 1
  %59 = icmp eq i64 %37, 0
  %unroll_iter306 = and i64 %2, 9223372036854775806
  %lcmp.mod305.not = icmp eq i64 %xtraiter303, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %._crit_edge262.us, %.preheader.lr.ph
  %.1183264.us = phi i64 [ 0, %.preheader.lr.ph ], [ %77, %._crit_edge262.us ]
  br i1 %59, label %._crit_edge262.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.0184260.us = phi i64 [ %71, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter307 = phi i64 [ %niter307.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %60 = icmp eq i64 %.1183264.us, %.0184260.us
  %61 = load ptr, ptr %58, align 8, !tbaa !9
  %62 = getelementptr inbounds ptr, ptr %61, i64 %.1183264.us
  %63 = load ptr, ptr %62, align 8, !tbaa !23
  %.280 = select i1 %60, double 1.000000e+00, double 0.000000e+00
  %64 = getelementptr inbounds double, ptr %63, i64 %.0184260.us
  store double %.280, ptr %64, align 8, !tbaa !10
  %65 = or disjoint i64 %.0184260.us, 1
  %66 = icmp eq i64 %.1183264.us, %65
  %67 = load ptr, ptr %58, align 8, !tbaa !9
  %68 = getelementptr inbounds ptr, ptr %67, i64 %.1183264.us
  %69 = load ptr, ptr %68, align 8, !tbaa !23
  %.280.1 = select i1 %66, double 1.000000e+00, double 0.000000e+00
  %70 = getelementptr inbounds double, ptr %69, i64 %65
  store double %.280.1, ptr %70, align 8, !tbaa !10
  %71 = add nuw nsw i64 %.0184260.us, 2
  %niter307.next.1 = add i64 %niter307, 2
  %niter307.ncmp.1 = icmp eq i64 %niter307.next.1, %unroll_iter306
  br i1 %niter307.ncmp.1, label %._crit_edge262.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !24

._crit_edge262.us.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.0184260.us.unr = phi i64 [ 0, %.preheader.us ], [ %71, %.preheader.us.new ]
  br i1 %lcmp.mod305.not, label %._crit_edge262.us, label %._crit_edge262.us.epilog-lcssa

._crit_edge262.us.epilog-lcssa:                   ; preds = %._crit_edge262.us.unr-lcssa
  %72 = icmp eq i64 %.1183264.us, %.0184260.us.unr
  %73 = load ptr, ptr %58, align 8, !tbaa !9
  %74 = getelementptr inbounds ptr, ptr %73, i64 %.1183264.us
  %75 = load ptr, ptr %74, align 8, !tbaa !23
  %.280.epil = select i1 %72, double 1.000000e+00, double 0.000000e+00
  %76 = getelementptr inbounds double, ptr %75, i64 %.0184260.us.unr
  store double %.280.epil, ptr %76, align 8, !tbaa !10
  br label %._crit_edge262.us

._crit_edge262.us:                                ; preds = %._crit_edge262.us.unr-lcssa, %._crit_edge262.us.epilog-lcssa
  %77 = add nuw nsw i64 %.1183264.us, 1
  %exitcond275.not = icmp eq i64 %77, %2
  br i1 %exitcond275.not, label %._crit_edge265, label %.preheader.us, !llvm.loop !25

._crit_edge265:                                   ; preds = %._crit_edge262.us
  store double 0.000000e+00, ptr %6, align 8, !tbaa !26
  br label %.loopexit

78:                                               ; preds = %29
  %79 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %2, i64 noundef %1, ptr noundef %8)
  %80 = icmp eq i64 %79, %2
  br i1 %80, label %81, label %.lr.ph

81:                                               ; preds = %78
  %82 = load ptr, ptr %32, align 8, !tbaa !9
  %83 = getelementptr double, ptr %82, i64 %2
  %84 = getelementptr i8, ptr %83, i64 -8
  %85 = load double, ptr %84, align 8, !tbaa !10
  %86 = load double, ptr %82, align 8, !tbaa !10
  %87 = fdiv double %85, %86
  br label %.lr.ph

.lr.ph:                                           ; preds = %81, %78
  %storemerge = phi double [ %87, %81 ], [ 0.000000e+00, %78 ]
  store double %storemerge, ptr %6, align 8, !tbaa !26
  %88 = getelementptr inbounds i8, ptr %6, i64 88
  store i64 %2, ptr %88, align 8, !tbaa !16
  store i64 1, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %79, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %79, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %7, i64 noundef %2, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef %2, ptr noundef %8)
  %89 = add nuw nsw i64 %2, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %89, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef %89, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %20, i64 noundef %89, ptr noundef %8)
  %90 = getelementptr inbounds i8, ptr %7, i64 56
  %91 = add nsw i64 %2, -1
  %xtraiter = and i64 %2, 3
  %92 = icmp ult i64 %91, 3
  br i1 %92, label %.preheader212.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %2, 9223372036854775804
  br label %97

.preheader212.unr-lcssa:                          ; preds = %97, %.lr.ph
  %.2215.unr = phi i64 [ 0, %.lr.ph ], [ %109, %97 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader212, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader212.unr-lcssa, %.epil.preheader
  %.2215.epil = phi i64 [ %95, %.epil.preheader ], [ %.2215.unr, %.preheader212.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader212.unr-lcssa ]
  %93 = load ptr, ptr %90, align 8, !tbaa !9
  %94 = getelementptr inbounds double, ptr %93, i64 %.2215.epil
  store double 0.000000e+00, ptr %94, align 8, !tbaa !10
  %95 = add nuw nsw i64 %.2215.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader212, label %.epil.preheader, !llvm.loop !27

.preheader212:                                    ; preds = %.epil.preheader, %.preheader212.unr-lcssa
  %96 = add nsw i64 %2, -1
  %.not.not193216 = icmp sgt i64 %79, 0
  br i1 %.not.not193216, label %.lr.ph218, label %._crit_edge

97:                                               ; preds = %97, %.lr.ph.new
  %.2215 = phi i64 [ 0, %.lr.ph.new ], [ %109, %97 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %97 ]
  %98 = load ptr, ptr %90, align 8, !tbaa !9
  %99 = getelementptr inbounds double, ptr %98, i64 %.2215
  store double 0.000000e+00, ptr %99, align 8, !tbaa !10
  %100 = or disjoint i64 %.2215, 1
  %101 = load ptr, ptr %90, align 8, !tbaa !9
  %102 = getelementptr inbounds double, ptr %101, i64 %100
  store double 0.000000e+00, ptr %102, align 8, !tbaa !10
  %103 = or disjoint i64 %.2215, 2
  %104 = load ptr, ptr %90, align 8, !tbaa !9
  %105 = getelementptr inbounds double, ptr %104, i64 %103
  store double 0.000000e+00, ptr %105, align 8, !tbaa !10
  %106 = or disjoint i64 %.2215, 3
  %107 = load ptr, ptr %90, align 8, !tbaa !9
  %108 = getelementptr inbounds double, ptr %107, i64 %106
  store double 0.000000e+00, ptr %108, align 8, !tbaa !10
  %109 = add nuw nsw i64 %.2215, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader212.unr-lcssa, label %97, !llvm.loop !28

.lr.ph218:                                        ; preds = %.preheader212, %116
  %.3217 = phi i64 [ %117, %116 ], [ 0, %.preheader212 ]
  %110 = load ptr, ptr %32, align 8, !tbaa !9
  %111 = getelementptr inbounds double, ptr %110, i64 %.3217
  %112 = load double, ptr %111, align 8, !tbaa !10
  %113 = load double, ptr %110, align 8, !tbaa !10
  %114 = fmul double %.0180, %113
  %115 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %112, double noundef %114)
  br i1 %115, label %._crit_edge, label %116

116:                                              ; preds = %.lr.ph218
  %117 = add nuw nsw i64 %.3217, 1
  %exitcond266.not = icmp eq i64 %117, %79
  br i1 %exitcond266.not, label %._crit_edge, label %.lr.ph218, !llvm.loop !29

._crit_edge:                                      ; preds = %116, %.lr.ph218, %.preheader212
  %.0185 = phi i64 [ %79, %.preheader212 ], [ %.3217, %.lr.ph218 ], [ %79, %116 ]
  %118 = add nsw i64 %79, -1
  %119 = sub nsw i64 %2, %.0185
  %120 = getelementptr inbounds i8, ptr %6, i64 96
  store i64 %119, ptr %120, align 8, !tbaa !22
  %121 = load double, ptr %6, align 8, !tbaa !26
  %122 = call noundef i64 @_ZN11alglib_implL38directdensesolvers_densesolverrfsmaxv2EldPNS_8ae_stateE(i64 noundef %2, double noundef %121, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %1, ptr noundef %8)
  %.not244 = icmp slt i64 %122, 0
  br i1 %.not244, label %._crit_edge249, label %.lr.ph248

.lr.ph248:                                        ; preds = %._crit_edge
  %.not194.not221 = icmp sgt i64 %1, 0
  %123 = getelementptr inbounds i8, ptr %18, i64 56
  %124 = getelementptr inbounds i8, ptr %0, i64 72
  %125 = getelementptr inbounds i8, ptr %19, i64 56
  %126 = getelementptr inbounds i8, ptr %7, i64 56
  %127 = getelementptr inbounds i8, ptr %3, i64 56
  %128 = getelementptr inbounds i8, ptr %14, i64 56
  %129 = add nsw i64 %1, -1
  %130 = getelementptr inbounds i8, ptr %17, i64 56
  %131 = getelementptr inbounds i8, ptr %15, i64 56
  %132 = getelementptr inbounds i8, ptr %12, i64 72
  %133 = getelementptr inbounds i8, ptr %16, i64 56
  %134 = getelementptr inbounds i8, ptr %13, i64 72
  %xtraiter281 = and i64 %2, 3
  %135 = icmp ult i64 %91, 3
  %unroll_iter284 = and i64 %2, 9223372036854775804
  %lcmp.mod283.not = icmp eq i64 %xtraiter281, 0
  %xtraiter286 = and i64 %79, 3
  %136 = icmp ult i64 %79, 4
  %unroll_iter289 = and i64 %79, 9223372036854775804
  %lcmp.mod288.not = icmp eq i64 %xtraiter286, 0
  %xtraiter291 = and i64 %79, 1
  %137 = icmp eq i64 %79, 1
  %unroll_iter294 = and i64 %79, 9223372036854775806
  %lcmp.mod293.not = icmp eq i64 %xtraiter291, 0
  br label %138

138:                                              ; preds = %.lr.ph248, %._crit_edge243
  %.0181245 = phi i64 [ 0, %.lr.ph248 ], [ %261, %._crit_edge243 ]
  %139 = icmp eq i64 %.0181245, 0
  br i1 %139, label %140, label %.preheader211

.preheader211:                                    ; preds = %138
  br i1 %.not194.not221, label %.lr.ph224, label %.lr.ph230.preheader

140:                                              ; preds = %138
  %141 = load ptr, ptr %128, align 8, !tbaa !9
  %142 = load ptr, ptr %127, align 8, !tbaa !9
  %143 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %129)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %141, i64 noundef 1, ptr noundef %142, i64 noundef 1, i64 noundef %143)
  br label %.lr.ph230.preheader

.lr.ph224:                                        ; preds = %.preheader211, %169
  %.0223 = phi i1 [ %170, %169 ], [ true, %.preheader211 ]
  %.4222 = phi i64 [ %171, %169 ], [ 0, %.preheader211 ]
  %144 = load ptr, ptr %123, align 8, !tbaa !9
  %145 = load ptr, ptr %124, align 8, !tbaa !9
  %146 = getelementptr inbounds ptr, ptr %145, i64 %.4222
  %147 = load ptr, ptr %146, align 8, !tbaa !23
  %148 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %96)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %144, i64 noundef 1, ptr noundef %147, i64 noundef 1, i64 noundef %148)
  %149 = load ptr, ptr %123, align 8, !tbaa !9
  %150 = getelementptr inbounds double, ptr %149, i64 %2
  store double -1.000000e+00, ptr %150, align 8, !tbaa !10
  %151 = load ptr, ptr %125, align 8, !tbaa !9
  %152 = load ptr, ptr %126, align 8, !tbaa !9
  %153 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %96)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %151, i64 noundef 1, ptr noundef %152, i64 noundef 1, i64 noundef %153)
  %154 = load ptr, ptr %127, align 8, !tbaa !9
  %155 = getelementptr inbounds double, ptr %154, i64 %.4222
  %156 = load double, ptr %155, align 8, !tbaa !10
  %157 = load ptr, ptr %125, align 8, !tbaa !9
  %158 = getelementptr inbounds double, ptr %157, i64 %2
  store double %156, ptr %158, align 8, !tbaa !10
  call void @_ZN11alglib_impl4xdotEPNS_9ae_vectorES1_lS1_PdS2_PNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %89, ptr noundef nonnull %20, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef %8)
  %159 = load double, ptr %22, align 8, !tbaa !10
  %160 = fneg double %159
  %161 = load ptr, ptr %128, align 8, !tbaa !9
  %162 = getelementptr inbounds double, ptr %161, i64 %.4222
  store double %160, ptr %162, align 8, !tbaa !10
  br i1 %.0223, label %163, label %169

163:                                              ; preds = %.lr.ph224
  %164 = load double, ptr %22, align 8, !tbaa !10
  %165 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %164, ptr noundef %8)
  %166 = load double, ptr %23, align 8, !tbaa !10
  %167 = fmul double %166, 4.000000e+00
  %168 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %165, double noundef %167)
  br label %169

169:                                              ; preds = %163, %.lr.ph224
  %170 = phi i1 [ false, %.lr.ph224 ], [ %168, %163 ]
  %171 = add nuw nsw i64 %.4222, 1
  %exitcond267.not = icmp eq i64 %171, %1
  br i1 %exitcond267.not, label %.lr.ph230.preheader, label %.lr.ph224, !llvm.loop !30

.lr.ph230.preheader:                              ; preds = %169, %140, %.preheader211
  %.1 = phi i1 [ false, %140 ], [ true, %.preheader211 ], [ %170, %169 ]
  br i1 %135, label %.preheader210.unr-lcssa, label %.lr.ph230

.preheader210.unr-lcssa:                          ; preds = %.lr.ph230, %.lr.ph230.preheader
  %.5228.unr = phi i64 [ 0, %.lr.ph230.preheader ], [ %186, %.lr.ph230 ]
  br i1 %lcmp.mod283.not, label %.preheader210, label %.lr.ph230.epil

.lr.ph230.epil:                                   ; preds = %.preheader210.unr-lcssa, %.lr.ph230.epil
  %.5228.epil = phi i64 [ %174, %.lr.ph230.epil ], [ %.5228.unr, %.preheader210.unr-lcssa ]
  %epil.iter282 = phi i64 [ %epil.iter282.next, %.lr.ph230.epil ], [ 0, %.preheader210.unr-lcssa ]
  %172 = load ptr, ptr %130, align 8, !tbaa !9
  %173 = getelementptr inbounds double, ptr %172, i64 %.5228.epil
  store double 0.000000e+00, ptr %173, align 8, !tbaa !10
  %174 = add nuw nsw i64 %.5228.epil, 1
  %epil.iter282.next = add i64 %epil.iter282, 1
  %epil.iter282.cmp.not = icmp eq i64 %epil.iter282.next, %xtraiter281
  br i1 %epil.iter282.cmp.not, label %.preheader210, label %.lr.ph230.epil, !llvm.loop !31

.preheader210:                                    ; preds = %.lr.ph230.epil, %.preheader210.unr-lcssa
  br i1 %.not.not193216, label %.lr.ph233.preheader, label %.preheader209

.lr.ph233.preheader:                              ; preds = %.preheader210
  br i1 %136, label %.preheader209.loopexit.unr-lcssa, label %.lr.ph233

.lr.ph230:                                        ; preds = %.lr.ph230.preheader, %.lr.ph230
  %.5228 = phi i64 [ %186, %.lr.ph230 ], [ 0, %.lr.ph230.preheader ]
  %niter285 = phi i64 [ %niter285.next.3, %.lr.ph230 ], [ 0, %.lr.ph230.preheader ]
  %175 = load ptr, ptr %130, align 8, !tbaa !9
  %176 = getelementptr inbounds double, ptr %175, i64 %.5228
  store double 0.000000e+00, ptr %176, align 8, !tbaa !10
  %177 = or disjoint i64 %.5228, 1
  %178 = load ptr, ptr %130, align 8, !tbaa !9
  %179 = getelementptr inbounds double, ptr %178, i64 %177
  store double 0.000000e+00, ptr %179, align 8, !tbaa !10
  %180 = or disjoint i64 %.5228, 2
  %181 = load ptr, ptr %130, align 8, !tbaa !9
  %182 = getelementptr inbounds double, ptr %181, i64 %180
  store double 0.000000e+00, ptr %182, align 8, !tbaa !10
  %183 = or disjoint i64 %.5228, 3
  %184 = load ptr, ptr %130, align 8, !tbaa !9
  %185 = getelementptr inbounds double, ptr %184, i64 %183
  store double 0.000000e+00, ptr %185, align 8, !tbaa !10
  %186 = add nuw nsw i64 %.5228, 4
  %niter285.next.3 = add i64 %niter285, 4
  %niter285.ncmp.3 = icmp eq i64 %niter285.next.3, %unroll_iter284
  br i1 %niter285.ncmp.3, label %.preheader210.unr-lcssa, label %.lr.ph230, !llvm.loop !32

.preheader209.loopexit.unr-lcssa:                 ; preds = %.lr.ph233, %.lr.ph233.preheader
  %.6232.unr = phi i64 [ 0, %.lr.ph233.preheader ], [ %201, %.lr.ph233 ]
  br i1 %lcmp.mod288.not, label %.preheader209, label %.lr.ph233.epil

.lr.ph233.epil:                                   ; preds = %.preheader209.loopexit.unr-lcssa, %.lr.ph233.epil
  %.6232.epil = phi i64 [ %189, %.lr.ph233.epil ], [ %.6232.unr, %.preheader209.loopexit.unr-lcssa ]
  %epil.iter287 = phi i64 [ %epil.iter287.next, %.lr.ph233.epil ], [ 0, %.preheader209.loopexit.unr-lcssa ]
  %187 = load ptr, ptr %131, align 8, !tbaa !9
  %188 = getelementptr inbounds double, ptr %187, i64 %.6232.epil
  store double 0.000000e+00, ptr %188, align 8, !tbaa !10
  %189 = add nuw nsw i64 %.6232.epil, 1
  %epil.iter287.next = add i64 %epil.iter287, 1
  %epil.iter287.cmp.not = icmp eq i64 %epil.iter287.next, %xtraiter286
  br i1 %epil.iter287.cmp.not, label %.preheader209, label %.lr.ph233.epil, !llvm.loop !33

.preheader209:                                    ; preds = %.preheader209.loopexit.unr-lcssa, %.lr.ph233.epil, %.preheader210
  br i1 %.not194.not221, label %.lr.ph236, label %.preheader208

.lr.ph233:                                        ; preds = %.lr.ph233.preheader, %.lr.ph233
  %.6232 = phi i64 [ %201, %.lr.ph233 ], [ 0, %.lr.ph233.preheader ]
  %niter290 = phi i64 [ %niter290.next.3, %.lr.ph233 ], [ 0, %.lr.ph233.preheader ]
  %190 = load ptr, ptr %131, align 8, !tbaa !9
  %191 = getelementptr inbounds double, ptr %190, i64 %.6232
  store double 0.000000e+00, ptr %191, align 8, !tbaa !10
  %192 = or disjoint i64 %.6232, 1
  %193 = load ptr, ptr %131, align 8, !tbaa !9
  %194 = getelementptr inbounds double, ptr %193, i64 %192
  store double 0.000000e+00, ptr %194, align 8, !tbaa !10
  %195 = or disjoint i64 %.6232, 2
  %196 = load ptr, ptr %131, align 8, !tbaa !9
  %197 = getelementptr inbounds double, ptr %196, i64 %195
  store double 0.000000e+00, ptr %197, align 8, !tbaa !10
  %198 = or disjoint i64 %.6232, 3
  %199 = load ptr, ptr %131, align 8, !tbaa !9
  %200 = getelementptr inbounds double, ptr %199, i64 %198
  store double 0.000000e+00, ptr %200, align 8, !tbaa !10
  %201 = add nuw nsw i64 %.6232, 4
  %niter290.next.3 = add i64 %niter290, 4
  %niter290.ncmp.3 = icmp eq i64 %niter290.next.3, %unroll_iter289
  br i1 %niter290.ncmp.3, label %.preheader209.loopexit.unr-lcssa, label %.lr.ph233, !llvm.loop !34

.preheader208:                                    ; preds = %.lr.ph236, %.preheader209
  br i1 %.not.not193216, label %.lr.ph239.preheader, label %._crit_edge243

.lr.ph239.preheader:                              ; preds = %.preheader208
  br i1 %137, label %.preheader207.unr-lcssa, label %.lr.ph239

.lr.ph236:                                        ; preds = %.preheader209, %.lr.ph236
  %.7235 = phi i64 [ %211, %.lr.ph236 ], [ 0, %.preheader209 ]
  %202 = load ptr, ptr %128, align 8, !tbaa !9
  %203 = getelementptr inbounds double, ptr %202, i64 %.7235
  %204 = load double, ptr %203, align 8, !tbaa !10
  store double %204, ptr %22, align 8, !tbaa !10
  %205 = load ptr, ptr %131, align 8, !tbaa !9
  %206 = load ptr, ptr %132, align 8, !tbaa !9
  %207 = getelementptr inbounds ptr, ptr %206, i64 %.7235
  %208 = load ptr, ptr %207, align 8, !tbaa !23
  %209 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %118)
  %210 = load double, ptr %22, align 8, !tbaa !10
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %205, i64 noundef 1, ptr noundef %208, i64 noundef 1, i64 noundef %209, double noundef %210)
  %211 = add nuw nsw i64 %.7235, 1
  %exitcond270.not = icmp eq i64 %211, %1
  br i1 %exitcond270.not, label %.preheader208, label %.lr.ph236, !llvm.loop !35

.preheader207.unr-lcssa:                          ; preds = %244, %.lr.ph239.preheader
  %.8238.unr = phi i64 [ 0, %.lr.ph239.preheader ], [ %247, %244 ]
  br i1 %lcmp.mod293.not, label %.preheader207, label %.lr.ph239.epil

.lr.ph239.epil:                                   ; preds = %.preheader207.unr-lcssa
  %212 = icmp slt i64 %.8238.unr, %.0185
  br i1 %212, label %213, label %.preheader207.epilog-lcssa

213:                                              ; preds = %.lr.ph239.epil
  %214 = load ptr, ptr %131, align 8, !tbaa !9
  %215 = getelementptr inbounds double, ptr %214, i64 %.8238.unr
  %216 = load double, ptr %215, align 8, !tbaa !10
  %217 = load ptr, ptr %32, align 8, !tbaa !9
  %218 = getelementptr inbounds double, ptr %217, i64 %.8238.unr
  %219 = load double, ptr %218, align 8, !tbaa !10
  %220 = fdiv double %216, %219
  br label %.preheader207.epilog-lcssa

.preheader207.epilog-lcssa:                       ; preds = %213, %.lr.ph239.epil
  %.sink277.epil = phi double [ %220, %213 ], [ 0.000000e+00, %.lr.ph239.epil ]
  %221 = load ptr, ptr %133, align 8, !tbaa !9
  %222 = getelementptr inbounds double, ptr %221, i64 %.8238.unr
  store double %.sink277.epil, ptr %222, align 8, !tbaa !10
  br label %.preheader207

.preheader207:                                    ; preds = %.preheader207.unr-lcssa, %.preheader207.epilog-lcssa
  br i1 %.not.not193216, label %.lr.ph242, label %._crit_edge243

.lr.ph239:                                        ; preds = %.lr.ph239.preheader, %244
  %.8238 = phi i64 [ %247, %244 ], [ 0, %.lr.ph239.preheader ]
  %niter295 = phi i64 [ %niter295.next.1, %244 ], [ 0, %.lr.ph239.preheader ]
  %223 = icmp slt i64 %.8238, %.0185
  br i1 %223, label %224, label %.lr.ph239.1

224:                                              ; preds = %.lr.ph239
  %225 = load ptr, ptr %131, align 8, !tbaa !9
  %226 = getelementptr inbounds double, ptr %225, i64 %.8238
  %227 = load double, ptr %226, align 8, !tbaa !10
  %228 = load ptr, ptr %32, align 8, !tbaa !9
  %229 = getelementptr inbounds double, ptr %228, i64 %.8238
  %230 = load double, ptr %229, align 8, !tbaa !10
  %231 = fdiv double %227, %230
  br label %.lr.ph239.1

.lr.ph239.1:                                      ; preds = %.lr.ph239, %224
  %.sink277 = phi double [ %231, %224 ], [ 0.000000e+00, %.lr.ph239 ]
  %232 = load ptr, ptr %133, align 8, !tbaa !9
  %233 = getelementptr inbounds double, ptr %232, i64 %.8238
  store double %.sink277, ptr %233, align 8, !tbaa !10
  %234 = or disjoint i64 %.8238, 1
  %235 = icmp slt i64 %234, %.0185
  br i1 %235, label %236, label %244

236:                                              ; preds = %.lr.ph239.1
  %237 = load ptr, ptr %131, align 8, !tbaa !9
  %238 = getelementptr inbounds double, ptr %237, i64 %234
  %239 = load double, ptr %238, align 8, !tbaa !10
  %240 = load ptr, ptr %32, align 8, !tbaa !9
  %241 = getelementptr inbounds double, ptr %240, i64 %234
  %242 = load double, ptr %241, align 8, !tbaa !10
  %243 = fdiv double %239, %242
  br label %244

244:                                              ; preds = %236, %.lr.ph239.1
  %.sink277.1 = phi double [ %243, %236 ], [ 0.000000e+00, %.lr.ph239.1 ]
  %245 = load ptr, ptr %133, align 8, !tbaa !9
  %246 = getelementptr inbounds double, ptr %245, i64 %234
  store double %.sink277.1, ptr %246, align 8, !tbaa !10
  %247 = add nuw nsw i64 %.8238, 2
  %niter295.next.1 = add i64 %niter295, 2
  %niter295.ncmp.1 = icmp eq i64 %niter295.next.1, %unroll_iter294
  br i1 %niter295.ncmp.1, label %.preheader207.unr-lcssa, label %.lr.ph239, !llvm.loop !36

.lr.ph242:                                        ; preds = %.preheader207, %.lr.ph242
  %.9241 = phi i64 [ %257, %.lr.ph242 ], [ 0, %.preheader207 ]
  %248 = load ptr, ptr %133, align 8, !tbaa !9
  %249 = getelementptr inbounds double, ptr %248, i64 %.9241
  %250 = load double, ptr %249, align 8, !tbaa !10
  store double %250, ptr %22, align 8, !tbaa !10
  %251 = load ptr, ptr %130, align 8, !tbaa !9
  %252 = load ptr, ptr %134, align 8, !tbaa !9
  %253 = getelementptr inbounds ptr, ptr %252, i64 %.9241
  %254 = load ptr, ptr %253, align 8, !tbaa !23
  %255 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %96)
  %256 = load double, ptr %22, align 8, !tbaa !10
  call void @_ZN11alglib_impl9ae_v_adddEPdlPKdlld(ptr noundef %251, i64 noundef 1, ptr noundef %254, i64 noundef 1, i64 noundef %255, double noundef %256)
  %257 = add nuw nsw i64 %.9241, 1
  %exitcond272.not = icmp eq i64 %257, %79
  br i1 %exitcond272.not, label %._crit_edge243, label %.lr.ph242, !llvm.loop !37

._crit_edge243:                                   ; preds = %.lr.ph242, %.preheader208, %.preheader207
  %258 = load ptr, ptr %126, align 8, !tbaa !9
  %259 = load ptr, ptr %130, align 8, !tbaa !9
  %260 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %96)
  call void @_ZN11alglib_impl8ae_v_addEPdlPKdll(ptr noundef %258, i64 noundef 1, ptr noundef %259, i64 noundef 1, i64 noundef %260)
  %261 = add nuw nsw i64 %.0181245, 1
  %.not = icmp sge i64 %.0181245, %122
  %brmerge206 = or i1 %.not, %.1
  br i1 %brmerge206, label %._crit_edge249, label %138, !llvm.loop !38

._crit_edge249:                                   ; preds = %._crit_edge243, %._crit_edge
  %262 = load i64, ptr %120, align 8, !tbaa !22
  %263 = icmp sgt i64 %262, 0
  br i1 %263, label %264, label %.loopexit

264:                                              ; preds = %._crit_edge249
  %265 = getelementptr inbounds i8, ptr %6, i64 8
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %265, i64 noundef %2, i64 noundef %262, ptr noundef %8)
  %266 = load i64, ptr %120, align 8, !tbaa !22
  %.not200.not250 = icmp sgt i64 %266, 0
  br i1 %.not200.not250, label %.lr.ph253, label %.loopexit

.lr.ph253:                                        ; preds = %264
  %267 = getelementptr inbounds i8, ptr %6, i64 80
  %268 = getelementptr inbounds i8, ptr %6, i64 24
  %269 = getelementptr inbounds i8, ptr %13, i64 72
  br label %270

270:                                              ; preds = %.lr.ph253, %270
  %.10251 = phi i64 [ 0, %.lr.ph253 ], [ %280, %270 ]
  %271 = load ptr, ptr %267, align 8, !tbaa !9
  %272 = load ptr, ptr %271, align 8, !tbaa !23
  %273 = getelementptr inbounds double, ptr %272, i64 %.10251
  %274 = load i64, ptr %268, align 8, !tbaa !39
  %275 = load ptr, ptr %269, align 8, !tbaa !9
  %276 = getelementptr ptr, ptr %275, i64 %.0185
  %277 = getelementptr ptr, ptr %276, i64 %.10251
  %278 = load ptr, ptr %277, align 8, !tbaa !23
  %279 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %96)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %273, i64 noundef %274, ptr noundef %278, i64 noundef 1, i64 noundef %279)
  %280 = add nuw nsw i64 %.10251, 1
  %281 = load i64, ptr %120, align 8, !tbaa !22
  %.not200.not = icmp slt i64 %280, %281
  br i1 %.not200.not, label %270, label %.loopexit, !llvm.loop !40

.loopexit:                                        ; preds = %270, %._crit_edge249, %264, %._crit_edge265, %28
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  ret void
}

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_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_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

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

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, 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 noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) local_unnamed_addr #3

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

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

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

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN11alglib_implL38directdensesolvers_densesolverrfsmaxv2EldPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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


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