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

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

%"struct.alglib_impl::qpdenseaulsettings" = type { double, i64, double }
%"struct.alglib_impl::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::qpdenseaulbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::qqpsettings", %"struct.alglib_impl::qqpbuffers", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::convexquadraticmodel", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::qqpsettings" = type { double, double, double, i64, i8, i8, i64, i64, i64, i64 }
%"struct.alglib_impl::qqpbuffers" = type { i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", i8, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sactiveset", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsebuffers", i64, i64, i64, i64 }
%"struct.alglib_impl::sactiveset" = type { i64, i64, %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::ae_vector", i64, i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::snnlssolver", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::snnlssolver" = type { i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sparsebuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::convexquadraticmodel" = type { i64, i64, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i8, i8, i8, i8 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }

@.str.247 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZN11alglib_implL31qpdenseaulsolver_expansionratioE = external hidden global double, align 8
@_ZN11alglib_implL30qpdenseaulsolver_evictionlevelE = external hidden global double, align 8

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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

declare noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #1

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

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

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

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

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

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

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

declare void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef, ptr noundef) #1

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

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

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

declare void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef, ptr noundef) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl11qqpoptimizeEPNS_20convexquadraticmodelEPNS_12sparsematrixEPNS_9ae_matrixElbPNS_9ae_vectorES7_S7_S7_S7_lPNS_11qqpsettingsEPNS_10qqpbuffersES7_PlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl18qpdenseauloptimizeEPNS_20convexquadraticmodelEPNS_12sparsematrixElbPNS_9ae_vectorES5_S5_S5_S5_lPNS_9ae_matrixEllS3_llbPNS_18qpdenseaulsettingsEPNS_17qpdenseaulbuffersES5_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef %10, i64 noundef %11, i64 noundef %12, ptr noundef %13, i64 noundef %14, i64 noundef %15, i1 noundef zeroext %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21) #3 {
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i64, align 8
  %26 = alloca i8, align 1
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i64, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca ptr, align 8
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i8, align 1
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i64, align 8
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = alloca double, align 8
  %52 = alloca i64, align 8
  %53 = alloca i64, align 8
  %54 = alloca i64, align 8
  %55 = alloca i64, align 8
  %56 = alloca i64, align 8
  %57 = alloca double, align 8
  %58 = alloca double, align 8
  %59 = alloca double, align 8
  %60 = alloca double, align 8
  %61 = alloca i64, align 8
  %62 = alloca i64, align 8
  %63 = alloca i64, align 8
  %64 = alloca i64, align 8
  %65 = alloca i64, align 8
  %66 = alloca i64, align 8
  %67 = alloca i64, align 8
  %68 = alloca i8, align 1
  %69 = alloca i8, align 1
  store ptr %0, ptr %23, align 8, !tbaa !5
  store ptr %1, ptr %24, align 8, !tbaa !5
  store i64 %2, ptr %25, align 8, !tbaa !9
  %70 = zext i1 %3 to i8
  store i8 %70, ptr %26, align 1, !tbaa !11
  store ptr %4, ptr %27, align 8, !tbaa !5
  store ptr %5, ptr %28, align 8, !tbaa !5
  store ptr %6, ptr %29, align 8, !tbaa !5
  store ptr %7, ptr %30, align 8, !tbaa !5
  store ptr %8, ptr %31, align 8, !tbaa !5
  store i64 %9, ptr %32, align 8, !tbaa !9
  store ptr %10, ptr %33, align 8, !tbaa !5
  store i64 %11, ptr %34, align 8, !tbaa !9
  store i64 %12, ptr %35, align 8, !tbaa !9
  store ptr %13, ptr %36, align 8, !tbaa !5
  store i64 %14, ptr %37, align 8, !tbaa !9
  store i64 %15, ptr %38, align 8, !tbaa !9
  %71 = zext i1 %16 to i8
  store i8 %71, ptr %39, align 1, !tbaa !11
  store ptr %17, ptr %40, align 8, !tbaa !5
  store ptr %18, ptr %41, align 8, !tbaa !5
  store ptr %19, ptr %42, align 8, !tbaa !5
  store ptr %20, ptr %43, align 8, !tbaa !5
  store ptr %21, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %69) #5
  %72 = load ptr, ptr %43, align 8, !tbaa !5
  store i64 0, ptr %72, align 8, !tbaa !9
  %73 = load i64, ptr %32, align 8, !tbaa !9
  store i64 %73, ptr %53, align 8, !tbaa !9
  %74 = load i64, ptr %35, align 8, !tbaa !9
  %75 = load i64, ptr %38, align 8, !tbaa !9
  %76 = add nsw i64 %74, %75
  store i64 %76, ptr %54, align 8, !tbaa !9
  %77 = load i64, ptr %53, align 8, !tbaa !9
  %78 = load i64, ptr %54, align 8, !tbaa !9
  %79 = add nsw i64 %77, %78
  store i64 %79, ptr %55, align 8, !tbaa !9
  %80 = load i64, ptr %34, align 8, !tbaa !9
  %81 = load i64, ptr %37, align 8, !tbaa !9
  %82 = add nsw i64 %80, %81
  store i64 %82, ptr %63, align 8, !tbaa !9
  %83 = load i64, ptr %35, align 8, !tbaa !9
  %84 = load i64, ptr %38, align 8, !tbaa !9
  %85 = add nsw i64 %83, %84
  store i64 %85, ptr %64, align 8, !tbaa !9
  %86 = load i64, ptr %34, align 8, !tbaa !9
  %87 = load i64, ptr %35, align 8, !tbaa !9
  %88 = add nsw i64 %86, %87
  %89 = load i64, ptr %37, align 8, !tbaa !9
  %90 = add nsw i64 %88, %89
  %91 = load i64, ptr %38, align 8, !tbaa !9
  %92 = add nsw i64 %90, %91
  store i64 %92, ptr %56, align 8, !tbaa !9
  %93 = load ptr, ptr %40, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulsettings", ptr %93, i32 0, i32 2
  %95 = load double, ptr %94, align 8, !tbaa !13
  store double %95, ptr %50, align 8, !tbaa !16
  %96 = load ptr, ptr %40, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulsettings", ptr %96, i32 0, i32 0
  %98 = load double, ptr %97, align 8, !tbaa !17
  store double %98, ptr %51, align 8, !tbaa !16
  store double 3.300000e-01, ptr %60, align 8, !tbaa !16
  store double 1.000000e+12, ptr %57, align 8, !tbaa !16
  %99 = load double, ptr %51, align 8, !tbaa !16
  %100 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %99, double noundef 0.000000e+00)
  br i1 %100, label %101, label %102

101:                                              ; preds = %22
  store double 1.000000e-09, ptr %51, align 8, !tbaa !16
  br label %102

102:                                              ; preds = %101, %22
  %103 = load i64, ptr %37, align 8, !tbaa !9
  %104 = load i64, ptr %38, align 8, !tbaa !9
  %105 = add nsw i64 %103, %104
  %106 = icmp sgt i64 %105, 0
  br i1 %106, label %107, label %128

107:                                              ; preds = %102
  %108 = load ptr, ptr %36, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %108, i32 0, i32 5
  %110 = load i64, ptr %109, align 8, !tbaa !18
  %111 = icmp eq i64 %110, 1
  %112 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %111, ptr noundef @.str.247, ptr noundef %112)
  %113 = load ptr, ptr %36, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %113, i32 0, i32 6
  %115 = load i64, ptr %114, align 8, !tbaa !22
  %116 = load i64, ptr %37, align 8, !tbaa !9
  %117 = load i64, ptr %38, align 8, !tbaa !9
  %118 = add nsw i64 %116, %117
  %119 = icmp eq i64 %115, %118
  %120 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %119, ptr noundef @.str.248, ptr noundef %120)
  %121 = load ptr, ptr %36, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %121, i32 0, i32 7
  %123 = load i64, ptr %122, align 8, !tbaa !23
  %124 = load i64, ptr %53, align 8, !tbaa !9
  %125 = add nsw i64 %124, 1
  %126 = icmp eq i64 %123, %125
  %127 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %126, ptr noundef @.str.248, ptr noundef %127)
  br label %128

128:                                              ; preds = %107, %102
  %129 = load ptr, ptr %41, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %129, i32 0, i32 33
  store i64 0, ptr %130, align 8, !tbaa !24
  %131 = load ptr, ptr %41, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %131, i32 0, i32 34
  store i64 0, ptr %132, align 8, !tbaa !33
  %133 = load ptr, ptr %41, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %133, i32 0, i32 35
  store i64 0, ptr %134, align 8, !tbaa !34
  %135 = load ptr, ptr %41, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %135, i32 0, i32 40
  store i64 0, ptr %136, align 8, !tbaa !35
  %137 = load ptr, ptr %41, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %137, i32 0, i32 36
  store i64 0, ptr %138, align 8, !tbaa !36
  %139 = load ptr, ptr %41, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %139, i32 0, i32 37
  store i64 0, ptr %140, align 8, !tbaa !37
  %141 = load ptr, ptr %41, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %141, i32 0, i32 38
  store i64 0, ptr %142, align 8, !tbaa !38
  %143 = load ptr, ptr %41, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %143, i32 0, i32 39
  store i64 0, ptr %144, align 8, !tbaa !39
  %145 = load ptr, ptr %43, align 8, !tbaa !5
  store i64 0, ptr %145, align 8, !tbaa !9
  %146 = load ptr, ptr %41, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %146, i32 0, i32 0
  %148 = load i64, ptr %56, align 8, !tbaa !9
  %149 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %147, i64 noundef %148, ptr noundef %149)
  %150 = load ptr, ptr %41, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %150, i32 0, i32 18
  %152 = load i64, ptr %56, align 8, !tbaa !9
  %153 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %151, i64 noundef %152, ptr noundef %153)
  %154 = load ptr, ptr %41, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %154, i32 0, i32 10
  %156 = load i64, ptr %55, align 8, !tbaa !9
  %157 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %155, i64 noundef %156, ptr noundef %157)
  %158 = load ptr, ptr %41, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %158, i32 0, i32 11
  %160 = load i64, ptr %55, align 8, !tbaa !9
  %161 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %159, i64 noundef %160, ptr noundef %161)
  %162 = load ptr, ptr %41, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %162, i32 0, i32 15
  %164 = load i64, ptr %55, align 8, !tbaa !9
  %165 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %163, i64 noundef %164, ptr noundef %165)
  %166 = load ptr, ptr %41, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %166, i32 0, i32 12
  %168 = load i64, ptr %55, align 8, !tbaa !9
  %169 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %167, i64 noundef %168, ptr noundef %169)
  %170 = load ptr, ptr %41, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %170, i32 0, i32 13
  %172 = load i64, ptr %55, align 8, !tbaa !9
  %173 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %171, i64 noundef %172, ptr noundef %173)
  %174 = load ptr, ptr %41, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %174, i32 0, i32 14
  %176 = load i64, ptr %55, align 8, !tbaa !9
  %177 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %175, i64 noundef %176, ptr noundef %177)
  %178 = load ptr, ptr %41, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %178, i32 0, i32 19
  %180 = load i64, ptr %55, align 8, !tbaa !9
  %181 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %179, i64 noundef %180, ptr noundef %181)
  %182 = load ptr, ptr %41, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %182, i32 0, i32 31
  %184 = load i64, ptr %64, align 8, !tbaa !9
  %185 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %183, i64 noundef %184, ptr noundef %185)
  %186 = load ptr, ptr %41, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %186, i32 0, i32 32
  %188 = load i64, ptr %64, align 8, !tbaa !9
  %189 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %187, i64 noundef %188, ptr noundef %189)
  %190 = load ptr, ptr %23, align 8, !tbaa !5
  %191 = load ptr, ptr %24, align 8, !tbaa !5
  %192 = load i64, ptr %25, align 8, !tbaa !9
  %193 = load i8, ptr %26, align 1, !tbaa !11, !range !40, !noundef !41
  %194 = trunc i8 %193 to i1
  %195 = load ptr, ptr %27, align 8, !tbaa !5
  %196 = load ptr, ptr %28, align 8, !tbaa !5
  %197 = load ptr, ptr %29, align 8, !tbaa !5
  %198 = load ptr, ptr %30, align 8, !tbaa !5
  %199 = load ptr, ptr %31, align 8, !tbaa !5
  %200 = load i64, ptr %53, align 8, !tbaa !9
  %201 = load ptr, ptr %33, align 8, !tbaa !5
  %202 = load i64, ptr %34, align 8, !tbaa !9
  %203 = load i64, ptr %35, align 8, !tbaa !9
  %204 = load ptr, ptr %36, align 8, !tbaa !5
  %205 = load i64, ptr %37, align 8, !tbaa !9
  %206 = load i64, ptr %38, align 8, !tbaa !9
  %207 = load i8, ptr %39, align 1, !tbaa !11, !range !40, !noundef !41
  %208 = trunc i8 %207 to i1
  %209 = load ptr, ptr %41, align 8, !tbaa !5
  %210 = load ptr, ptr %42, align 8, !tbaa !5
  %211 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_implL42qpdenseaulsolver_scaleshiftoriginalproblemEPNS_20convexquadraticmodelEPNS_12sparsematrixElbPNS_9ae_vectorES5_S5_S5_S5_lPNS_9ae_matrixEllS3_llbPNS_17qpdenseaulbuffersES5_PNS_8ae_stateE(ptr noundef %190, ptr noundef %191, i64 noundef %192, i1 noundef zeroext %194, ptr noundef %195, ptr noundef %196, ptr noundef %197, ptr noundef %198, ptr noundef %199, i64 noundef %200, ptr noundef %201, i64 noundef %202, i64 noundef %203, ptr noundef %204, i64 noundef %205, i64 noundef %206, i1 noundef zeroext %208, ptr noundef %209, ptr noundef %210, ptr noundef %211)
  %212 = load ptr, ptr %41, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %212, i32 0, i32 1
  %214 = load ptr, ptr %41, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %214, i32 0, i32 2
  %216 = load i64, ptr %53, align 8, !tbaa !9
  %217 = load ptr, ptr %41, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %217, i32 0, i32 8
  %219 = load i64, ptr %63, align 8, !tbaa !9
  %220 = load i64, ptr %64, align 8, !tbaa !9
  %221 = load i8, ptr %39, align 1, !tbaa !11, !range !40, !noundef !41
  %222 = trunc i8 %221 to i1
  %223 = load ptr, ptr %41, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %223, i32 0, i32 20
  %225 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_implL39qpdenseaulsolver_normalizequadratictermEPNS_9ae_matrixEPNS_9ae_vectorElS1_llbS1_PNS_8ae_stateE(ptr noundef %213, ptr noundef %215, i64 noundef %216, ptr noundef %218, i64 noundef %219, i64 noundef %220, i1 noundef zeroext %222, ptr noundef %224, ptr noundef %225)
  %226 = load ptr, ptr %41, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %226, i32 0, i32 1
  %228 = load i64, ptr %53, align 8, !tbaa !9
  %229 = load ptr, ptr %41, align 8, !tbaa !5
  %230 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %229, i32 0, i32 8
  %231 = load i64, ptr %63, align 8, !tbaa !9
  %232 = load i64, ptr %64, align 8, !tbaa !9
  %233 = load ptr, ptr %41, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %233, i32 0, i32 19
  %235 = load ptr, ptr %41, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %235, i32 0, i32 20
  %237 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_implL40qpdenseaulsolver_selectinitialworkingsetEPNS_9ae_matrixElS1_llPNS_9ae_vectorES1_PlPbPNS_8ae_stateE(ptr noundef %227, i64 noundef %228, ptr noundef %230, i64 noundef %231, i64 noundef %232, ptr noundef %234, ptr noundef %236, ptr noundef %65, ptr noundef %68, ptr noundef %237)
  %238 = load i64, ptr %63, align 8, !tbaa !9
  %239 = load i64, ptr %65, align 8, !tbaa !9
  %240 = add nsw i64 %238, %239
  store i64 %240, ptr %66, align 8, !tbaa !9
  %241 = load i64, ptr %53, align 8, !tbaa !9
  %242 = load i64, ptr %65, align 8, !tbaa !9
  %243 = add nsw i64 %241, %242
  store i64 %243, ptr %67, align 8, !tbaa !9
  %244 = load i64, ptr %65, align 8, !tbaa !9
  %245 = load ptr, ptr %41, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %245, i32 0, i32 37
  store i64 %244, ptr %246, align 8, !tbaa !37
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %247

247:                                              ; preds = %259, %128
  %248 = load i64, ptr %45, align 8, !tbaa !9
  %249 = load i64, ptr %65, align 8, !tbaa !9
  %250 = sub nsw i64 %249, 1
  %251 = icmp sle i64 %248, %250
  br i1 %251, label %252, label %262

252:                                              ; preds = %247
  %253 = load ptr, ptr %41, align 8, !tbaa !5
  %254 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %253, i32 0, i32 32
  %255 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %254, i32 0, i32 4
  %256 = load ptr, ptr %255, align 8, !tbaa !42
  %257 = load i64, ptr %45, align 8, !tbaa !9
  %258 = getelementptr inbounds i64, ptr %256, i64 %257
  store i64 1, ptr %258, align 8, !tbaa !9
  br label %259

259:                                              ; preds = %252
  %260 = load i64, ptr %45, align 8, !tbaa !9
  %261 = add nsw i64 %260, 1
  store i64 %261, ptr %45, align 8, !tbaa !9
  br label %247, !llvm.loop !43

262:                                              ; preds = %247
  %263 = load i64, ptr %65, align 8, !tbaa !9
  store i64 %263, ptr %45, align 8, !tbaa !9
  br label %264

264:                                              ; preds = %276, %262
  %265 = load i64, ptr %45, align 8, !tbaa !9
  %266 = load i64, ptr %64, align 8, !tbaa !9
  %267 = sub nsw i64 %266, 1
  %268 = icmp sle i64 %265, %267
  br i1 %268, label %269, label %279

269:                                              ; preds = %264
  %270 = load ptr, ptr %41, align 8, !tbaa !5
  %271 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %270, i32 0, i32 32
  %272 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %271, i32 0, i32 4
  %273 = load ptr, ptr %272, align 8, !tbaa !42
  %274 = load i64, ptr %45, align 8, !tbaa !9
  %275 = getelementptr inbounds i64, ptr %273, i64 %274
  store i64 0, ptr %275, align 8, !tbaa !9
  br label %276

276:                                              ; preds = %269
  %277 = load i64, ptr %45, align 8, !tbaa !9
  %278 = add nsw i64 %277, 1
  store i64 %278, ptr %45, align 8, !tbaa !9
  br label %264, !llvm.loop !45

279:                                              ; preds = %264
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %280

280:                                              ; preds = %292, %279
  %281 = load i64, ptr %45, align 8, !tbaa !9
  %282 = load i64, ptr %56, align 8, !tbaa !9
  %283 = sub nsw i64 %282, 1
  %284 = icmp sle i64 %281, %283
  br i1 %284, label %285, label %295

285:                                              ; preds = %280
  %286 = load ptr, ptr %41, align 8, !tbaa !5
  %287 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %286, i32 0, i32 0
  %288 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %287, i32 0, i32 4
  %289 = load ptr, ptr %288, align 8, !tbaa !42
  %290 = load i64, ptr %45, align 8, !tbaa !9
  %291 = getelementptr inbounds double, ptr %289, i64 %290
  store double 0.000000e+00, ptr %291, align 8, !tbaa !16
  br label %292

292:                                              ; preds = %285
  %293 = load i64, ptr %45, align 8, !tbaa !9
  %294 = add nsw i64 %293, 1
  store i64 %294, ptr %45, align 8, !tbaa !9
  br label %280, !llvm.loop !46

295:                                              ; preds = %280
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %296

296:                                              ; preds = %314, %295
  %297 = load i64, ptr %45, align 8, !tbaa !9
  %298 = load i64, ptr %55, align 8, !tbaa !9
  %299 = sub nsw i64 %298, 1
  %300 = icmp sle i64 %297, %299
  br i1 %300, label %301, label %317

301:                                              ; preds = %296
  %302 = load ptr, ptr %41, align 8, !tbaa !5
  %303 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %302, i32 0, i32 14
  %304 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %303, i32 0, i32 4
  %305 = load ptr, ptr %304, align 8, !tbaa !42
  %306 = load i64, ptr %45, align 8, !tbaa !9
  %307 = getelementptr inbounds double, ptr %305, i64 %306
  store double 1.000000e+00, ptr %307, align 8, !tbaa !16
  %308 = load ptr, ptr %41, align 8, !tbaa !5
  %309 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %308, i32 0, i32 15
  %310 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %309, i32 0, i32 4
  %311 = load ptr, ptr %310, align 8, !tbaa !42
  %312 = load i64, ptr %45, align 8, !tbaa !9
  %313 = getelementptr inbounds double, ptr %311, i64 %312
  store double 0.000000e+00, ptr %313, align 8, !tbaa !16
  br label %314

314:                                              ; preds = %301
  %315 = load i64, ptr %45, align 8, !tbaa !9
  %316 = add nsw i64 %315, 1
  store i64 %316, ptr %45, align 8, !tbaa !9
  br label %296, !llvm.loop !47

317:                                              ; preds = %296
  %318 = load ptr, ptr %41, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %318, i32 0, i32 7
  %320 = load i64, ptr %53, align 8, !tbaa !9
  %321 = load i64, ptr %54, align 8, !tbaa !9
  %322 = load ptr, ptr %41, align 8, !tbaa !5
  %323 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %322, i32 0, i32 11
  %324 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_implL39qpdenseaulsolver_generateexinitialpointEPNS_9ae_vectorEllS1_PNS_8ae_stateE(ptr noundef %319, i64 noundef %320, i64 noundef %321, ptr noundef %323, ptr noundef %324)
  store i64 0, ptr %61, align 8, !tbaa !9
  store i64 0, ptr %62, align 8, !tbaa !9
  store double 1.000000e+300, ptr %58, align 8, !tbaa !16
  store i64 0, ptr %52, align 8, !tbaa !9
  br label %325

325:                                              ; preds = %900, %317
  %326 = load i64, ptr %52, align 8, !tbaa !9
  %327 = load ptr, ptr %40, align 8, !tbaa !5
  %328 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulsettings", ptr %327, i32 0, i32 1
  %329 = load i64, ptr %328, align 8, !tbaa !48
  %330 = sub nsw i64 %329, 1
  %331 = icmp sle i64 %326, %330
  br i1 %331, label %332, label %903

332:                                              ; preds = %325
  br label %333

333:                                              ; preds = %708, %332
  %334 = load ptr, ptr %41, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %334, i32 0, i32 9
  %336 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %335, i32 0, i32 0
  %337 = load i64, ptr %336, align 8, !tbaa !49
  %338 = load i64, ptr %67, align 8, !tbaa !9
  %339 = icmp slt i64 %337, %338
  br i1 %339, label %347, label %340

340:                                              ; preds = %333
  %341 = load ptr, ptr %41, align 8, !tbaa !5
  %342 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %341, i32 0, i32 9
  %343 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %342, i32 0, i32 1
  %344 = load i64, ptr %343, align 8, !tbaa !50
  %345 = load i64, ptr %67, align 8, !tbaa !9
  %346 = icmp slt i64 %344, %345
  br i1 %346, label %347, label %358

347:                                              ; preds = %340, %333
  %348 = load i64, ptr %67, align 8, !tbaa !9
  %349 = load i64, ptr %67, align 8, !tbaa !9
  %350 = sdiv i64 %349, 3
  %351 = add nsw i64 %348, %350
  %352 = add nsw i64 %351, 1
  store i64 %352, ptr %45, align 8, !tbaa !9
  %353 = load ptr, ptr %41, align 8, !tbaa !5
  %354 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %353, i32 0, i32 9
  %355 = load i64, ptr %45, align 8, !tbaa !9
  %356 = load i64, ptr %45, align 8, !tbaa !9
  %357 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %354, i64 noundef %355, i64 noundef %356, ptr noundef %357)
  br label %358

358:                                              ; preds = %347, %340
  %359 = load ptr, ptr %41, align 8, !tbaa !5
  %360 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %359, i32 0, i32 17
  %361 = load i64, ptr %67, align 8, !tbaa !9
  %362 = load i64, ptr %45, align 8, !tbaa !9
  %363 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl23qqppreallocategrowdenseEPNS_10qqpbuffersEllPNS_8ae_stateE(ptr noundef %360, i64 noundef %361, i64 noundef %362, ptr noundef %363)
  %364 = load ptr, ptr %41, align 8, !tbaa !5
  %365 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %364, i32 0, i32 1
  %366 = load ptr, ptr %41, align 8, !tbaa !5
  %367 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %366, i32 0, i32 2
  %368 = load i64, ptr %53, align 8, !tbaa !9
  %369 = load ptr, ptr %41, align 8, !tbaa !5
  %370 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %369, i32 0, i32 5
  %371 = load ptr, ptr %41, align 8, !tbaa !5
  %372 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %371, i32 0, i32 3
  %373 = load ptr, ptr %41, align 8, !tbaa !5
  %374 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %373, i32 0, i32 6
  %375 = load ptr, ptr %41, align 8, !tbaa !5
  %376 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %375, i32 0, i32 4
  %377 = load ptr, ptr %41, align 8, !tbaa !5
  %378 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %377, i32 0, i32 8
  %379 = load i64, ptr %63, align 8, !tbaa !9
  %380 = load i64, ptr %65, align 8, !tbaa !9
  %381 = load ptr, ptr %41, align 8, !tbaa !5
  %382 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %381, i32 0, i32 0
  %383 = load double, ptr %50, align 8, !tbaa !16
  %384 = load ptr, ptr %41, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %384, i32 0, i32 9
  %386 = load ptr, ptr %41, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %386, i32 0, i32 10
  %388 = load ptr, ptr %41, align 8, !tbaa !5
  %389 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %388, i32 0, i32 12
  %390 = load ptr, ptr %41, align 8, !tbaa !5
  %391 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %390, i32 0, i32 13
  %392 = load ptr, ptr %41, align 8, !tbaa !5
  %393 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %392, i32 0, i32 20
  %394 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_implL32qpdenseaulsolver_generateexmodelEPNS_9ae_matrixEPNS_9ae_vectorElS3_S3_S3_S3_S1_llS3_dS1_S3_S3_S3_S1_PNS_8ae_stateE(ptr noundef %365, ptr noundef %367, i64 noundef %368, ptr noundef %370, ptr noundef %372, ptr noundef %374, ptr noundef %376, ptr noundef %378, i64 noundef %379, i64 noundef %380, ptr noundef %382, double noundef %383, ptr noundef %385, ptr noundef %387, ptr noundef %389, ptr noundef %391, ptr noundef %393, ptr noundef %394)
  %395 = load i64, ptr %67, align 8, !tbaa !9
  %396 = load ptr, ptr %41, align 8, !tbaa !5
  %397 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %396, i32 0, i32 16
  %398 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl15qqploaddefaultsElPNS_11qqpsettingsEPNS_8ae_stateE(i64 noundef %395, ptr noundef %397, ptr noundef %398)
  %399 = load ptr, ptr %41, align 8, !tbaa !5
  %400 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %399, i32 0, i32 16
  %401 = getelementptr inbounds %"struct.alglib_impl::qqpsettings", ptr %400, i32 0, i32 3
  store i64 50, ptr %401, align 8, !tbaa !51
  %402 = load ptr, ptr %41, align 8, !tbaa !5
  %403 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %402, i32 0, i32 16
  %404 = getelementptr inbounds %"struct.alglib_impl::qqpsettings", ptr %403, i32 0, i32 0
  store double 0.000000e+00, ptr %404, align 8, !tbaa !52
  %405 = load ptr, ptr %41, align 8, !tbaa !5
  %406 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %405, i32 0, i32 16
  %407 = getelementptr inbounds %"struct.alglib_impl::qqpsettings", ptr %406, i32 0, i32 1
  store double 0.000000e+00, ptr %407, align 8, !tbaa !53
  %408 = load double, ptr %51, align 8, !tbaa !16
  %409 = fmul double 1.000000e-02, %408
  %410 = load ptr, ptr %41, align 8, !tbaa !5
  %411 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %410, i32 0, i32 16
  %412 = getelementptr inbounds %"struct.alglib_impl::qqpsettings", ptr %411, i32 0, i32 2
  store double %409, ptr %412, align 8, !tbaa !54
  %413 = load ptr, ptr %41, align 8, !tbaa !5
  %414 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %413, i32 0, i32 16
  %415 = getelementptr inbounds %"struct.alglib_impl::qqpsettings", ptr %414, i32 0, i32 5
  store i8 1, ptr %415, align 1, !tbaa !55
  %416 = load ptr, ptr %41, align 8, !tbaa !5
  %417 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %416, i32 0, i32 24
  %418 = load ptr, ptr %41, align 8, !tbaa !5
  %419 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %418, i32 0, i32 25
  %420 = load ptr, ptr %41, align 8, !tbaa !5
  %421 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %420, i32 0, i32 9
  %422 = load ptr, ptr %41, align 8, !tbaa !5
  %423 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %422, i32 0, i32 10
  %424 = load ptr, ptr %41, align 8, !tbaa !5
  %425 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %424, i32 0, i32 12
  %426 = load ptr, ptr %41, align 8, !tbaa !5
  %427 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %426, i32 0, i32 13
  %428 = load ptr, ptr %41, align 8, !tbaa !5
  %429 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %428, i32 0, i32 14
  %430 = load ptr, ptr %41, align 8, !tbaa !5
  %431 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %430, i32 0, i32 15
  %432 = load i64, ptr %67, align 8, !tbaa !9
  %433 = load ptr, ptr %41, align 8, !tbaa !5
  %434 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %433, i32 0, i32 16
  %435 = load ptr, ptr %41, align 8, !tbaa !5
  %436 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %435, i32 0, i32 17
  %437 = load ptr, ptr %41, align 8, !tbaa !5
  %438 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %437, i32 0, i32 11
  %439 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl11qqpoptimizeEPNS_20convexquadraticmodelEPNS_12sparsematrixEPNS_9ae_matrixElbPNS_9ae_vectorES7_S7_S7_S7_lPNS_11qqpsettingsEPNS_10qqpbuffersES7_PlPNS_8ae_stateE(ptr noundef %417, ptr noundef %419, ptr noundef %421, i64 noundef 2, i1 noundef zeroext true, ptr noundef %423, ptr noundef %425, ptr noundef %427, ptr noundef %429, ptr noundef %431, i64 noundef %432, ptr noundef %434, ptr noundef %436, ptr noundef %438, ptr noundef %47, ptr noundef %439)
  %440 = load ptr, ptr %41, align 8, !tbaa !5
  %441 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %440, i32 0, i32 35
  %442 = load i64, ptr %441, align 8, !tbaa !34
  %443 = load ptr, ptr %41, align 8, !tbaa !5
  %444 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %443, i32 0, i32 17
  %445 = getelementptr inbounds %"struct.alglib_impl::qqpbuffers", ptr %444, i32 0, i32 39
  %446 = load i64, ptr %445, align 8, !tbaa !56
  %447 = add nsw i64 %442, %446
  %448 = load ptr, ptr %41, align 8, !tbaa !5
  %449 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %448, i32 0, i32 35
  store i64 %447, ptr %449, align 8, !tbaa !34
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %450

450:                                              ; preds = %496, %358
  %451 = load i64, ptr %45, align 8, !tbaa !9
  %452 = load i64, ptr %64, align 8, !tbaa !9
  %453 = sub nsw i64 %452, 1
  %454 = icmp sle i64 %451, %453
  br i1 %454, label %455, label %499

455:                                              ; preds = %450
  %456 = load ptr, ptr %41, align 8, !tbaa !5
  %457 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %456, i32 0, i32 8
  %458 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %457, i32 0, i32 6
  %459 = load ptr, ptr %458, align 8, !tbaa !42
  %460 = load i64, ptr %63, align 8, !tbaa !9
  %461 = load i64, ptr %45, align 8, !tbaa !9
  %462 = add nsw i64 %460, %461
  %463 = getelementptr inbounds ptr, ptr %459, i64 %462
  %464 = load ptr, ptr %463, align 8, !tbaa !5
  %465 = getelementptr inbounds double, ptr %464, i64 0
  %466 = load ptr, ptr %41, align 8, !tbaa !5
  %467 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %466, i32 0, i32 11
  %468 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %467, i32 0, i32 4
  %469 = load ptr, ptr %468, align 8, !tbaa !42
  %470 = getelementptr inbounds double, ptr %469, i64 0
  %471 = load i64, ptr %53, align 8, !tbaa !9
  %472 = sub nsw i64 %471, 1
  %473 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %472)
  %474 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %465, i64 noundef 1, ptr noundef %470, i64 noundef 1, i64 noundef %473)
  store double %474, ptr %48, align 8, !tbaa !16
  %475 = load double, ptr %48, align 8, !tbaa !16
  %476 = load ptr, ptr %41, align 8, !tbaa !5
  %477 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %476, i32 0, i32 8
  %478 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %477, i32 0, i32 6
  %479 = load ptr, ptr %478, align 8, !tbaa !42
  %480 = load i64, ptr %63, align 8, !tbaa !9
  %481 = load i64, ptr %45, align 8, !tbaa !9
  %482 = add nsw i64 %480, %481
  %483 = getelementptr inbounds ptr, ptr %479, i64 %482
  %484 = load ptr, ptr %483, align 8, !tbaa !5
  %485 = load i64, ptr %53, align 8, !tbaa !9
  %486 = getelementptr inbounds double, ptr %484, i64 %485
  %487 = load double, ptr %486, align 8, !tbaa !16
  %488 = fsub double %475, %487
  store double %488, ptr %48, align 8, !tbaa !16
  %489 = load double, ptr %48, align 8, !tbaa !16
  %490 = load ptr, ptr %41, align 8, !tbaa !5
  %491 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %490, i32 0, i32 31
  %492 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %491, i32 0, i32 4
  %493 = load ptr, ptr %492, align 8, !tbaa !42
  %494 = load i64, ptr %45, align 8, !tbaa !9
  %495 = getelementptr inbounds double, ptr %493, i64 %494
  store double %489, ptr %495, align 8, !tbaa !16
  br label %496

496:                                              ; preds = %455
  %497 = load i64, ptr %45, align 8, !tbaa !9
  %498 = add nsw i64 %497, 1
  store i64 %498, ptr %45, align 8, !tbaa !9
  br label %450, !llvm.loop !57

499:                                              ; preds = %450
  store i8 0, ptr %69, align 1, !tbaa !11
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %500

500:                                              ; preds = %608, %499
  %501 = load i64, ptr %45, align 8, !tbaa !9
  %502 = sitofp i64 %501 to double
  %503 = load double, ptr @_ZN11alglib_implL31qpdenseaulsolver_expansionratioE, align 8, !tbaa !16
  %504 = load i64, ptr %53, align 8, !tbaa !9
  %505 = sitofp i64 %504 to double
  %506 = call double @llvm.fmuladd.f64(double %503, double %505, double 1.000000e+00)
  %507 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %502, double noundef %506)
  br i1 %507, label %508, label %512

508:                                              ; preds = %500
  %509 = load i64, ptr %65, align 8, !tbaa !9
  %510 = load i64, ptr %64, align 8, !tbaa !9
  %511 = icmp slt i64 %509, %510
  br label %512

512:                                              ; preds = %508, %500
  %513 = phi i1 [ false, %500 ], [ %511, %508 ]
  br i1 %513, label %514, label %609

514:                                              ; preds = %512
  %515 = load i64, ptr %65, align 8, !tbaa !9
  store i64 %515, ptr %47, align 8, !tbaa !9
  %516 = load i64, ptr %65, align 8, !tbaa !9
  store i64 %516, ptr %46, align 8, !tbaa !9
  br label %517

517:                                              ; preds = %541, %514
  %518 = load i64, ptr %46, align 8, !tbaa !9
  %519 = load i64, ptr %64, align 8, !tbaa !9
  %520 = sub nsw i64 %519, 1
  %521 = icmp sle i64 %518, %520
  br i1 %521, label %522, label %544

522:                                              ; preds = %517
  %523 = load ptr, ptr %41, align 8, !tbaa !5
  %524 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %523, i32 0, i32 31
  %525 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %524, i32 0, i32 4
  %526 = load ptr, ptr %525, align 8, !tbaa !42
  %527 = load i64, ptr %46, align 8, !tbaa !9
  %528 = getelementptr inbounds double, ptr %526, i64 %527
  %529 = load double, ptr %528, align 8, !tbaa !16
  %530 = load ptr, ptr %41, align 8, !tbaa !5
  %531 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %530, i32 0, i32 31
  %532 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %531, i32 0, i32 4
  %533 = load ptr, ptr %532, align 8, !tbaa !42
  %534 = load i64, ptr %47, align 8, !tbaa !9
  %535 = getelementptr inbounds double, ptr %533, i64 %534
  %536 = load double, ptr %535, align 8, !tbaa !16
  %537 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %529, double noundef %536)
  br i1 %537, label %538, label %540

538:                                              ; preds = %522
  %539 = load i64, ptr %46, align 8, !tbaa !9
  store i64 %539, ptr %47, align 8, !tbaa !9
  br label %540

540:                                              ; preds = %538, %522
  br label %541

541:                                              ; preds = %540
  %542 = load i64, ptr %46, align 8, !tbaa !9
  %543 = add nsw i64 %542, 1
  store i64 %543, ptr %46, align 8, !tbaa !9
  br label %517, !llvm.loop !58

544:                                              ; preds = %517
  %545 = load ptr, ptr %41, align 8, !tbaa !5
  %546 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %545, i32 0, i32 31
  %547 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %546, i32 0, i32 4
  %548 = load ptr, ptr %547, align 8, !tbaa !42
  %549 = load i64, ptr %47, align 8, !tbaa !9
  %550 = getelementptr inbounds double, ptr %548, i64 %549
  %551 = load double, ptr %550, align 8, !tbaa !16
  %552 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %551, double noundef 0.000000e+00)
  br i1 %552, label %553, label %607

553:                                              ; preds = %544
  %554 = load ptr, ptr %41, align 8, !tbaa !5
  %555 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %554, i32 0, i32 8
  %556 = load i64, ptr %63, align 8, !tbaa !9
  %557 = load i64, ptr %65, align 8, !tbaa !9
  %558 = add nsw i64 %556, %557
  %559 = load i64, ptr %63, align 8, !tbaa !9
  %560 = load i64, ptr %47, align 8, !tbaa !9
  %561 = add nsw i64 %559, %560
  %562 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl8swaprowsEPNS_9ae_matrixElllPNS_8ae_stateE(ptr noundef %555, i64 noundef %558, i64 noundef %561, i64 noundef -1, ptr noundef %562)
  %563 = load ptr, ptr %41, align 8, !tbaa !5
  %564 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %563, i32 0, i32 31
  %565 = load i64, ptr %65, align 8, !tbaa !9
  %566 = load i64, ptr %47, align 8, !tbaa !9
  %567 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %564, i64 noundef %565, i64 noundef %566, ptr noundef %567)
  %568 = load ptr, ptr %41, align 8, !tbaa !5
  %569 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %568, i32 0, i32 32
  %570 = load i64, ptr %65, align 8, !tbaa !9
  %571 = load i64, ptr %47, align 8, !tbaa !9
  %572 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl13swapelementsiEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %569, i64 noundef %570, i64 noundef %571, ptr noundef %572)
  %573 = load ptr, ptr %41, align 8, !tbaa !5
  %574 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %573, i32 0, i32 11
  %575 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %574, i32 0, i32 4
  %576 = load ptr, ptr %575, align 8, !tbaa !42
  %577 = load i64, ptr %53, align 8, !tbaa !9
  %578 = load i64, ptr %65, align 8, !tbaa !9
  %579 = add nsw i64 %577, %578
  %580 = getelementptr inbounds double, ptr %576, i64 %579
  store double 0.000000e+00, ptr %580, align 8, !tbaa !16
  %581 = load ptr, ptr %41, align 8, !tbaa !5
  %582 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %581, i32 0, i32 0
  %583 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %582, i32 0, i32 4
  %584 = load ptr, ptr %583, align 8, !tbaa !42
  %585 = load i64, ptr %63, align 8, !tbaa !9
  %586 = load i64, ptr %65, align 8, !tbaa !9
  %587 = add nsw i64 %585, %586
  %588 = getelementptr inbounds double, ptr %584, i64 %587
  store double 0.000000e+00, ptr %588, align 8, !tbaa !16
  %589 = load ptr, ptr %41, align 8, !tbaa !5
  %590 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %589, i32 0, i32 32
  %591 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %590, i32 0, i32 4
  %592 = load ptr, ptr %591, align 8, !tbaa !42
  %593 = load i64, ptr %65, align 8, !tbaa !9
  %594 = getelementptr inbounds i64, ptr %592, i64 %593
  %595 = load i64, ptr %594, align 8, !tbaa !9
  %596 = add nsw i64 %595, 1
  %597 = load ptr, ptr %41, align 8, !tbaa !5
  %598 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %597, i32 0, i32 32
  %599 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %598, i32 0, i32 4
  %600 = load ptr, ptr %599, align 8, !tbaa !42
  %601 = load i64, ptr %65, align 8, !tbaa !9
  %602 = getelementptr inbounds i64, ptr %600, i64 %601
  store i64 %596, ptr %602, align 8, !tbaa !9
  %603 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %65, ptr noundef %603)
  %604 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %67, ptr noundef %604)
  %605 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %66, ptr noundef %605)
  %606 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %45, ptr noundef %606)
  store i8 1, ptr %69, align 1, !tbaa !11
  br label %608

607:                                              ; preds = %544
  br label %609

608:                                              ; preds = %553
  br label %500, !llvm.loop !59

609:                                              ; preds = %607, %512
  %610 = load i8, ptr %68, align 1, !tbaa !11, !range !40, !noundef !41
  %611 = trunc i8 %610 to i1
  br i1 %611, label %612, label %688

612:                                              ; preds = %609
  %613 = load i64, ptr %65, align 8, !tbaa !9
  %614 = sub nsw i64 %613, 1
  store i64 %614, ptr %47, align 8, !tbaa !9
  br label %615

615:                                              ; preds = %684, %612
  %616 = load i64, ptr %47, align 8, !tbaa !9
  %617 = icmp sge i64 %616, 0
  br i1 %617, label %618, label %687

618:                                              ; preds = %615
  %619 = load ptr, ptr %41, align 8, !tbaa !5
  %620 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %619, i32 0, i32 31
  %621 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %620, i32 0, i32 4
  %622 = load ptr, ptr %621, align 8, !tbaa !42
  %623 = load i64, ptr %47, align 8, !tbaa !9
  %624 = getelementptr inbounds double, ptr %622, i64 %623
  %625 = load double, ptr %624, align 8, !tbaa !16
  %626 = load double, ptr @_ZN11alglib_implL30qpdenseaulsolver_evictionlevelE, align 8, !tbaa !16
  %627 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %625, double noundef %626)
  br i1 %627, label %628, label %683

628:                                              ; preds = %618
  %629 = load ptr, ptr %41, align 8, !tbaa !5
  %630 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %629, i32 0, i32 32
  %631 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %630, i32 0, i32 4
  %632 = load ptr, ptr %631, align 8, !tbaa !42
  %633 = load i64, ptr %47, align 8, !tbaa !9
  %634 = getelementptr inbounds i64, ptr %632, i64 %633
  %635 = load i64, ptr %634, align 8, !tbaa !9
  %636 = icmp sle i64 %635, 1
  br i1 %636, label %637, label %683

637:                                              ; preds = %628
  %638 = load ptr, ptr %41, align 8, !tbaa !5
  %639 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %638, i32 0, i32 8
  %640 = load i64, ptr %63, align 8, !tbaa !9
  %641 = load i64, ptr %65, align 8, !tbaa !9
  %642 = add nsw i64 %640, %641
  %643 = sub nsw i64 %642, 1
  %644 = load i64, ptr %63, align 8, !tbaa !9
  %645 = load i64, ptr %47, align 8, !tbaa !9
  %646 = add nsw i64 %644, %645
  %647 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl8swaprowsEPNS_9ae_matrixElllPNS_8ae_stateE(ptr noundef %639, i64 noundef %643, i64 noundef %646, i64 noundef -1, ptr noundef %647)
  %648 = load ptr, ptr %41, align 8, !tbaa !5
  %649 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %648, i32 0, i32 31
  %650 = load i64, ptr %65, align 8, !tbaa !9
  %651 = sub nsw i64 %650, 1
  %652 = load i64, ptr %47, align 8, !tbaa !9
  %653 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %649, i64 noundef %651, i64 noundef %652, ptr noundef %653)
  %654 = load ptr, ptr %41, align 8, !tbaa !5
  %655 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %654, i32 0, i32 32
  %656 = load i64, ptr %65, align 8, !tbaa !9
  %657 = sub nsw i64 %656, 1
  %658 = load i64, ptr %47, align 8, !tbaa !9
  %659 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl13swapelementsiEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %655, i64 noundef %657, i64 noundef %658, ptr noundef %659)
  %660 = load ptr, ptr %41, align 8, !tbaa !5
  %661 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %660, i32 0, i32 11
  %662 = load i64, ptr %53, align 8, !tbaa !9
  %663 = load i64, ptr %65, align 8, !tbaa !9
  %664 = add nsw i64 %662, %663
  %665 = sub nsw i64 %664, 1
  %666 = load i64, ptr %53, align 8, !tbaa !9
  %667 = load i64, ptr %47, align 8, !tbaa !9
  %668 = add nsw i64 %666, %667
  %669 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %661, i64 noundef %665, i64 noundef %668, ptr noundef %669)
  %670 = load ptr, ptr %41, align 8, !tbaa !5
  %671 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %670, i32 0, i32 0
  %672 = load i64, ptr %63, align 8, !tbaa !9
  %673 = load i64, ptr %65, align 8, !tbaa !9
  %674 = add nsw i64 %672, %673
  %675 = sub nsw i64 %674, 1
  %676 = load i64, ptr %63, align 8, !tbaa !9
  %677 = load i64, ptr %47, align 8, !tbaa !9
  %678 = add nsw i64 %676, %677
  %679 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %671, i64 noundef %675, i64 noundef %678, ptr noundef %679)
  %680 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef %65, ptr noundef %680)
  %681 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef %67, ptr noundef %681)
  %682 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef %66, ptr noundef %682)
  br label %683

683:                                              ; preds = %637, %628, %618
  br label %684

684:                                              ; preds = %683
  %685 = load i64, ptr %47, align 8, !tbaa !9
  %686 = add nsw i64 %685, -1
  store i64 %686, ptr %47, align 8, !tbaa !9
  br label %615, !llvm.loop !60

687:                                              ; preds = %615
  br label %688

688:                                              ; preds = %687, %609
  %689 = load ptr, ptr %41, align 8, !tbaa !5
  %690 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %689, i32 0, i32 38
  %691 = load i64, ptr %690, align 8, !tbaa !38
  %692 = icmp eq i64 %691, 0
  br i1 %692, label %693, label %697

693:                                              ; preds = %688
  %694 = load i64, ptr %65, align 8, !tbaa !9
  %695 = load ptr, ptr %41, align 8, !tbaa !5
  %696 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %695, i32 0, i32 38
  store i64 %694, ptr %696, align 8, !tbaa !38
  br label %697

697:                                              ; preds = %693, %688
  %698 = load i64, ptr %65, align 8, !tbaa !9
  %699 = load ptr, ptr %41, align 8, !tbaa !5
  %700 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %699, i32 0, i32 39
  store i64 %698, ptr %700, align 8, !tbaa !39
  %701 = load i8, ptr %69, align 1, !tbaa !11, !range !40, !noundef !41
  %702 = trunc i8 %701 to i1
  br i1 %702, label %703, label %707

703:                                              ; preds = %697
  %704 = load ptr, ptr %41, align 8, !tbaa !5
  %705 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %704, i32 0, i32 36
  %706 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %705, ptr noundef %706)
  br label %707

707:                                              ; preds = %703, %697
  br label %708

708:                                              ; preds = %707
  %709 = load i8, ptr %69, align 1, !tbaa !11, !range !40, !noundef !41
  %710 = trunc i8 %709 to i1
  br i1 %710, label %333, label %711, !llvm.loop !61

711:                                              ; preds = %708
  %712 = load ptr, ptr %41, align 8, !tbaa !5
  %713 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %712, i32 0, i32 18
  %714 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %713, i32 0, i32 4
  %715 = load ptr, ptr %714, align 8, !tbaa !42
  %716 = getelementptr inbounds double, ptr %715, i64 0
  %717 = load ptr, ptr %41, align 8, !tbaa !5
  %718 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %717, i32 0, i32 0
  %719 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %718, i32 0, i32 4
  %720 = load ptr, ptr %719, align 8, !tbaa !42
  %721 = getelementptr inbounds double, ptr %720, i64 0
  %722 = load i64, ptr %66, align 8, !tbaa !9
  %723 = sub nsw i64 %722, 1
  %724 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %723)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %716, i64 noundef 1, ptr noundef %721, i64 noundef 1, i64 noundef %724)
  %725 = load ptr, ptr %41, align 8, !tbaa !5
  %726 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %725, i32 0, i32 1
  %727 = load ptr, ptr %41, align 8, !tbaa !5
  %728 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %727, i32 0, i32 2
  %729 = load i64, ptr %53, align 8, !tbaa !9
  %730 = load ptr, ptr %41, align 8, !tbaa !5
  %731 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %730, i32 0, i32 5
  %732 = load ptr, ptr %41, align 8, !tbaa !5
  %733 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %732, i32 0, i32 3
  %734 = load ptr, ptr %41, align 8, !tbaa !5
  %735 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %734, i32 0, i32 6
  %736 = load ptr, ptr %41, align 8, !tbaa !5
  %737 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %736, i32 0, i32 4
  %738 = load ptr, ptr %41, align 8, !tbaa !5
  %739 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %738, i32 0, i32 8
  %740 = load i64, ptr %63, align 8, !tbaa !9
  %741 = load i64, ptr %65, align 8, !tbaa !9
  %742 = load ptr, ptr %41, align 8, !tbaa !5
  %743 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %742, i32 0, i32 11
  %744 = load ptr, ptr %41, align 8, !tbaa !5
  %745 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %744, i32 0, i32 18
  %746 = load ptr, ptr %41, align 8, !tbaa !5
  %747 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_implL42qpdenseaulsolver_updatelagrangemultipliersEPNS_9ae_matrixEPNS_9ae_vectorElS3_S3_S3_S3_S1_llS3_S3_PNS_17qpdenseaulbuffersEPNS_8ae_stateE(ptr noundef %726, ptr noundef %728, i64 noundef %729, ptr noundef %731, ptr noundef %733, ptr noundef %735, ptr noundef %737, ptr noundef %739, i64 noundef %740, i64 noundef %741, ptr noundef %743, ptr noundef %745, ptr noundef %746, ptr noundef %747)
  %748 = load double, ptr %58, align 8, !tbaa !16
  store double %748, ptr %59, align 8, !tbaa !16
  store double 0.000000e+00, ptr %58, align 8, !tbaa !16
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %749

749:                                              ; preds = %858, %711
  %750 = load i64, ptr %45, align 8, !tbaa !9
  %751 = load i64, ptr %66, align 8, !tbaa !9
  %752 = sub nsw i64 %751, 1
  %753 = icmp sle i64 %750, %752
  br i1 %753, label %754, label %861

754:                                              ; preds = %749
  store double 0.000000e+00, ptr %48, align 8, !tbaa !16
  store double 0.000000e+00, ptr %49, align 8, !tbaa !16
  store i64 0, ptr %46, align 8, !tbaa !9
  br label %755

755:                                              ; preds = %794, %754
  %756 = load i64, ptr %46, align 8, !tbaa !9
  %757 = load i64, ptr %53, align 8, !tbaa !9
  %758 = sub nsw i64 %757, 1
  %759 = icmp sle i64 %756, %758
  br i1 %759, label %760, label %797

760:                                              ; preds = %755
  %761 = load double, ptr %48, align 8, !tbaa !16
  %762 = load ptr, ptr %41, align 8, !tbaa !5
  %763 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %762, i32 0, i32 8
  %764 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %763, i32 0, i32 6
  %765 = load ptr, ptr %764, align 8, !tbaa !42
  %766 = load i64, ptr %45, align 8, !tbaa !9
  %767 = getelementptr inbounds ptr, ptr %765, i64 %766
  %768 = load ptr, ptr %767, align 8, !tbaa !5
  %769 = load i64, ptr %46, align 8, !tbaa !9
  %770 = getelementptr inbounds double, ptr %768, i64 %769
  %771 = load double, ptr %770, align 8, !tbaa !16
  %772 = load ptr, ptr %41, align 8, !tbaa !5
  %773 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %772, i32 0, i32 11
  %774 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %773, i32 0, i32 4
  %775 = load ptr, ptr %774, align 8, !tbaa !42
  %776 = load i64, ptr %46, align 8, !tbaa !9
  %777 = getelementptr inbounds double, ptr %775, i64 %776
  %778 = load double, ptr %777, align 8, !tbaa !16
  %779 = call double @llvm.fmuladd.f64(double %771, double %778, double %761)
  store double %779, ptr %48, align 8, !tbaa !16
  %780 = load double, ptr %49, align 8, !tbaa !16
  %781 = load ptr, ptr %41, align 8, !tbaa !5
  %782 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %781, i32 0, i32 8
  %783 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %782, i32 0, i32 6
  %784 = load ptr, ptr %783, align 8, !tbaa !42
  %785 = load i64, ptr %45, align 8, !tbaa !9
  %786 = getelementptr inbounds ptr, ptr %784, i64 %785
  %787 = load ptr, ptr %786, align 8, !tbaa !5
  %788 = load i64, ptr %46, align 8, !tbaa !9
  %789 = getelementptr inbounds double, ptr %787, i64 %788
  %790 = load double, ptr %789, align 8, !tbaa !16
  %791 = load ptr, ptr %44, align 8, !tbaa !5
  %792 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %790, ptr noundef %791)
  %793 = fadd double %780, %792
  store double %793, ptr %49, align 8, !tbaa !16
  br label %794

794:                                              ; preds = %760
  %795 = load i64, ptr %46, align 8, !tbaa !9
  %796 = add nsw i64 %795, 1
  store i64 %796, ptr %46, align 8, !tbaa !9
  br label %755, !llvm.loop !62

797:                                              ; preds = %755
  %798 = load i64, ptr %45, align 8, !tbaa !9
  %799 = load i64, ptr %63, align 8, !tbaa !9
  %800 = icmp sge i64 %798, %799
  br i1 %800, label %801, label %819

801:                                              ; preds = %797
  %802 = load double, ptr %48, align 8, !tbaa !16
  %803 = load ptr, ptr %41, align 8, !tbaa !5
  %804 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %803, i32 0, i32 11
  %805 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %804, i32 0, i32 4
  %806 = load ptr, ptr %805, align 8, !tbaa !42
  %807 = load i64, ptr %53, align 8, !tbaa !9
  %808 = load i64, ptr %45, align 8, !tbaa !9
  %809 = load i64, ptr %63, align 8, !tbaa !9
  %810 = sub nsw i64 %808, %809
  %811 = add nsw i64 %807, %810
  %812 = getelementptr inbounds double, ptr %806, i64 %811
  %813 = load double, ptr %812, align 8, !tbaa !16
  %814 = fadd double %802, %813
  store double %814, ptr %48, align 8, !tbaa !16
  %815 = load double, ptr %49, align 8, !tbaa !16
  %816 = load ptr, ptr %44, align 8, !tbaa !5
  %817 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef 1.000000e+00, ptr noundef %816)
  %818 = fadd double %815, %817
  store double %818, ptr %49, align 8, !tbaa !16
  br label %819

819:                                              ; preds = %801, %797
  %820 = load double, ptr %48, align 8, !tbaa !16
  %821 = load ptr, ptr %41, align 8, !tbaa !5
  %822 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %821, i32 0, i32 8
  %823 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %822, i32 0, i32 6
  %824 = load ptr, ptr %823, align 8, !tbaa !42
  %825 = load i64, ptr %45, align 8, !tbaa !9
  %826 = getelementptr inbounds ptr, ptr %824, i64 %825
  %827 = load ptr, ptr %826, align 8, !tbaa !5
  %828 = load i64, ptr %53, align 8, !tbaa !9
  %829 = getelementptr inbounds double, ptr %827, i64 %828
  %830 = load double, ptr %829, align 8, !tbaa !16
  %831 = fsub double %820, %830
  store double %831, ptr %48, align 8, !tbaa !16
  %832 = load double, ptr %49, align 8, !tbaa !16
  %833 = load ptr, ptr %44, align 8, !tbaa !5
  %834 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %832, double noundef 1.000000e+00, ptr noundef %833)
  store double %834, ptr %49, align 8, !tbaa !16
  %835 = load double, ptr %48, align 8, !tbaa !16
  %836 = load double, ptr %49, align 8, !tbaa !16
  %837 = load ptr, ptr %44, align 8, !tbaa !5
  %838 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %836, ptr noundef %837)
  %839 = fdiv double %835, %838
  store double %839, ptr %48, align 8, !tbaa !16
  %840 = load double, ptr %58, align 8, !tbaa !16
  %841 = load double, ptr %48, align 8, !tbaa !16
  %842 = load ptr, ptr %44, align 8, !tbaa !5
  %843 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %841, ptr noundef %842)
  %844 = fadd double %840, %843
  store double %844, ptr %58, align 8, !tbaa !16
  %845 = load ptr, ptr %41, align 8, !tbaa !5
  %846 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %845, i32 0, i32 18
  %847 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %846, i32 0, i32 4
  %848 = load ptr, ptr %847, align 8, !tbaa !42
  %849 = load i64, ptr %45, align 8, !tbaa !9
  %850 = getelementptr inbounds double, ptr %848, i64 %849
  %851 = load double, ptr %850, align 8, !tbaa !16
  %852 = load ptr, ptr %41, align 8, !tbaa !5
  %853 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %852, i32 0, i32 0
  %854 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %853, i32 0, i32 4
  %855 = load ptr, ptr %854, align 8, !tbaa !42
  %856 = load i64, ptr %45, align 8, !tbaa !9
  %857 = getelementptr inbounds double, ptr %855, i64 %856
  store double %851, ptr %857, align 8, !tbaa !16
  br label %858

858:                                              ; preds = %819
  %859 = load i64, ptr %45, align 8, !tbaa !9
  %860 = add nsw i64 %859, 1
  store i64 %860, ptr %45, align 8, !tbaa !9
  br label %749, !llvm.loop !63

861:                                              ; preds = %749
  %862 = load double, ptr %58, align 8, !tbaa !16
  %863 = load ptr, ptr %44, align 8, !tbaa !5
  %864 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %862, ptr noundef %863)
  store double %864, ptr %58, align 8, !tbaa !16
  %865 = load double, ptr %58, align 8, !tbaa !16
  %866 = load double, ptr %51, align 8, !tbaa !16
  %867 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %865, double noundef %866)
  br i1 %867, label %868, label %870

868:                                              ; preds = %861
  %869 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %61, ptr noundef %869)
  br label %871

870:                                              ; preds = %861
  store i64 0, ptr %61, align 8, !tbaa !9
  br label %871

871:                                              ; preds = %870, %868
  %872 = load double, ptr %58, align 8, !tbaa !16
  %873 = load double, ptr %59, align 8, !tbaa !16
  %874 = load double, ptr %60, align 8, !tbaa !16
  %875 = fmul double %873, %874
  %876 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %872, double noundef %875)
  br i1 %876, label %877, label %879

877:                                              ; preds = %871
  %878 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %62, ptr noundef %878)
  br label %880

879:                                              ; preds = %871
  store i64 0, ptr %62, align 8, !tbaa !9
  br label %880

880:                                              ; preds = %879, %877
  %881 = load i64, ptr %61, align 8, !tbaa !9
  %882 = icmp sge i64 %881, 2
  br i1 %882, label %883, label %884

883:                                              ; preds = %880
  br label %903

884:                                              ; preds = %880
  %885 = load i64, ptr %62, align 8, !tbaa !9
  %886 = icmp sge i64 %885, 2
  br i1 %886, label %887, label %893

887:                                              ; preds = %884
  %888 = load double, ptr %50, align 8, !tbaa !16
  %889 = fmul double %888, 1.000000e+01
  %890 = load double, ptr %57, align 8, !tbaa !16
  %891 = load ptr, ptr %44, align 8, !tbaa !5
  %892 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %889, double noundef %890, ptr noundef %891)
  store double %892, ptr %50, align 8, !tbaa !16
  br label %899

893:                                              ; preds = %884
  %894 = load double, ptr %50, align 8, !tbaa !16
  %895 = fmul double %894, 1.410000e+00
  %896 = load double, ptr %57, align 8, !tbaa !16
  %897 = load ptr, ptr %44, align 8, !tbaa !5
  %898 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %895, double noundef %896, ptr noundef %897)
  store double %898, ptr %50, align 8, !tbaa !16
  br label %899

899:                                              ; preds = %893, %887
  br label %900

900:                                              ; preds = %899
  %901 = load i64, ptr %52, align 8, !tbaa !9
  %902 = add nsw i64 %901, 1
  store i64 %902, ptr %52, align 8, !tbaa !9
  br label %325, !llvm.loop !64

903:                                              ; preds = %883, %325
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %904

904:                                              ; preds = %1063, %903
  %905 = load i64, ptr %45, align 8, !tbaa !9
  %906 = load i64, ptr %53, align 8, !tbaa !9
  %907 = sub nsw i64 %906, 1
  %908 = icmp sle i64 %905, %907
  br i1 %908, label %909, label %1066

909:                                              ; preds = %904
  %910 = load ptr, ptr %30, align 8, !tbaa !5
  %911 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %910, i32 0, i32 4
  %912 = load ptr, ptr %911, align 8, !tbaa !42
  %913 = load i64, ptr %45, align 8, !tbaa !9
  %914 = getelementptr inbounds double, ptr %912, i64 %913
  %915 = load double, ptr %914, align 8, !tbaa !16
  %916 = load ptr, ptr %41, align 8, !tbaa !5
  %917 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %916, i32 0, i32 11
  %918 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %917, i32 0, i32 4
  %919 = load ptr, ptr %918, align 8, !tbaa !42
  %920 = load i64, ptr %45, align 8, !tbaa !9
  %921 = getelementptr inbounds double, ptr %919, i64 %920
  %922 = load double, ptr %921, align 8, !tbaa !16
  %923 = load ptr, ptr %31, align 8, !tbaa !5
  %924 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %923, i32 0, i32 4
  %925 = load ptr, ptr %924, align 8, !tbaa !42
  %926 = load i64, ptr %45, align 8, !tbaa !9
  %927 = getelementptr inbounds double, ptr %925, i64 %926
  %928 = load double, ptr %927, align 8, !tbaa !16
  %929 = call double @llvm.fmuladd.f64(double %915, double %922, double %928)
  %930 = load ptr, ptr %42, align 8, !tbaa !5
  %931 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %930, i32 0, i32 4
  %932 = load ptr, ptr %931, align 8, !tbaa !42
  %933 = load i64, ptr %45, align 8, !tbaa !9
  %934 = getelementptr inbounds double, ptr %932, i64 %933
  store double %929, ptr %934, align 8, !tbaa !16
  %935 = load ptr, ptr %41, align 8, !tbaa !5
  %936 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %935, i32 0, i32 3
  %937 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %936, i32 0, i32 4
  %938 = load ptr, ptr %937, align 8, !tbaa !42
  %939 = load i64, ptr %45, align 8, !tbaa !9
  %940 = getelementptr inbounds i8, ptr %938, i64 %939
  %941 = load i8, ptr %940, align 1, !tbaa !11, !range !40, !noundef !41
  %942 = trunc i8 %941 to i1
  br i1 %942, label %943, label %998

943:                                              ; preds = %909
  %944 = load ptr, ptr %42, align 8, !tbaa !5
  %945 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %944, i32 0, i32 4
  %946 = load ptr, ptr %945, align 8, !tbaa !42
  %947 = load i64, ptr %45, align 8, !tbaa !9
  %948 = getelementptr inbounds double, ptr %946, i64 %947
  %949 = load double, ptr %948, align 8, !tbaa !16
  %950 = load ptr, ptr %28, align 8, !tbaa !5
  %951 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %950, i32 0, i32 4
  %952 = load ptr, ptr %951, align 8, !tbaa !42
  %953 = load i64, ptr %45, align 8, !tbaa !9
  %954 = getelementptr inbounds double, ptr %952, i64 %953
  %955 = load double, ptr %954, align 8, !tbaa !16
  %956 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %949, double noundef %955)
  br i1 %956, label %957, label %969

957:                                              ; preds = %943
  %958 = load ptr, ptr %28, align 8, !tbaa !5
  %959 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %958, i32 0, i32 4
  %960 = load ptr, ptr %959, align 8, !tbaa !42
  %961 = load i64, ptr %45, align 8, !tbaa !9
  %962 = getelementptr inbounds double, ptr %960, i64 %961
  %963 = load double, ptr %962, align 8, !tbaa !16
  %964 = load ptr, ptr %42, align 8, !tbaa !5
  %965 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %964, i32 0, i32 4
  %966 = load ptr, ptr %965, align 8, !tbaa !42
  %967 = load i64, ptr %45, align 8, !tbaa !9
  %968 = getelementptr inbounds double, ptr %966, i64 %967
  store double %963, ptr %968, align 8, !tbaa !16
  br label %969

969:                                              ; preds = %957, %943
  %970 = load ptr, ptr %41, align 8, !tbaa !5
  %971 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %970, i32 0, i32 11
  %972 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %971, i32 0, i32 4
  %973 = load ptr, ptr %972, align 8, !tbaa !42
  %974 = load i64, ptr %45, align 8, !tbaa !9
  %975 = getelementptr inbounds double, ptr %973, i64 %974
  %976 = load double, ptr %975, align 8, !tbaa !16
  %977 = load ptr, ptr %41, align 8, !tbaa !5
  %978 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %977, i32 0, i32 5
  %979 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %978, i32 0, i32 4
  %980 = load ptr, ptr %979, align 8, !tbaa !42
  %981 = load i64, ptr %45, align 8, !tbaa !9
  %982 = getelementptr inbounds double, ptr %980, i64 %981
  %983 = load double, ptr %982, align 8, !tbaa !16
  %984 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %976, double noundef %983)
  br i1 %984, label %985, label %997

985:                                              ; preds = %969
  %986 = load ptr, ptr %28, align 8, !tbaa !5
  %987 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %986, i32 0, i32 4
  %988 = load ptr, ptr %987, align 8, !tbaa !42
  %989 = load i64, ptr %45, align 8, !tbaa !9
  %990 = getelementptr inbounds double, ptr %988, i64 %989
  %991 = load double, ptr %990, align 8, !tbaa !16
  %992 = load ptr, ptr %42, align 8, !tbaa !5
  %993 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %992, i32 0, i32 4
  %994 = load ptr, ptr %993, align 8, !tbaa !42
  %995 = load i64, ptr %45, align 8, !tbaa !9
  %996 = getelementptr inbounds double, ptr %994, i64 %995
  store double %991, ptr %996, align 8, !tbaa !16
  br label %997

997:                                              ; preds = %985, %969
  br label %998

998:                                              ; preds = %997, %909
  %999 = load ptr, ptr %41, align 8, !tbaa !5
  %1000 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %999, i32 0, i32 4
  %1001 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1000, i32 0, i32 4
  %1002 = load ptr, ptr %1001, align 8, !tbaa !42
  %1003 = load i64, ptr %45, align 8, !tbaa !9
  %1004 = getelementptr inbounds i8, ptr %1002, i64 %1003
  %1005 = load i8, ptr %1004, align 1, !tbaa !11, !range !40, !noundef !41
  %1006 = trunc i8 %1005 to i1
  br i1 %1006, label %1007, label %1062

1007:                                             ; preds = %998
  %1008 = load ptr, ptr %42, align 8, !tbaa !5
  %1009 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1008, i32 0, i32 4
  %1010 = load ptr, ptr %1009, align 8, !tbaa !42
  %1011 = load i64, ptr %45, align 8, !tbaa !9
  %1012 = getelementptr inbounds double, ptr %1010, i64 %1011
  %1013 = load double, ptr %1012, align 8, !tbaa !16
  %1014 = load ptr, ptr %29, align 8, !tbaa !5
  %1015 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1014, i32 0, i32 4
  %1016 = load ptr, ptr %1015, align 8, !tbaa !42
  %1017 = load i64, ptr %45, align 8, !tbaa !9
  %1018 = getelementptr inbounds double, ptr %1016, i64 %1017
  %1019 = load double, ptr %1018, align 8, !tbaa !16
  %1020 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1013, double noundef %1019)
  br i1 %1020, label %1021, label %1033

1021:                                             ; preds = %1007
  %1022 = load ptr, ptr %29, align 8, !tbaa !5
  %1023 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1022, i32 0, i32 4
  %1024 = load ptr, ptr %1023, align 8, !tbaa !42
  %1025 = load i64, ptr %45, align 8, !tbaa !9
  %1026 = getelementptr inbounds double, ptr %1024, i64 %1025
  %1027 = load double, ptr %1026, align 8, !tbaa !16
  %1028 = load ptr, ptr %42, align 8, !tbaa !5
  %1029 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1028, i32 0, i32 4
  %1030 = load ptr, ptr %1029, align 8, !tbaa !42
  %1031 = load i64, ptr %45, align 8, !tbaa !9
  %1032 = getelementptr inbounds double, ptr %1030, i64 %1031
  store double %1027, ptr %1032, align 8, !tbaa !16
  br label %1033

1033:                                             ; preds = %1021, %1007
  %1034 = load ptr, ptr %41, align 8, !tbaa !5
  %1035 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %1034, i32 0, i32 11
  %1036 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1035, i32 0, i32 4
  %1037 = load ptr, ptr %1036, align 8, !tbaa !42
  %1038 = load i64, ptr %45, align 8, !tbaa !9
  %1039 = getelementptr inbounds double, ptr %1037, i64 %1038
  %1040 = load double, ptr %1039, align 8, !tbaa !16
  %1041 = load ptr, ptr %41, align 8, !tbaa !5
  %1042 = getelementptr inbounds %"struct.alglib_impl::qpdenseaulbuffers", ptr %1041, i32 0, i32 6
  %1043 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1042, i32 0, i32 4
  %1044 = load ptr, ptr %1043, align 8, !tbaa !42
  %1045 = load i64, ptr %45, align 8, !tbaa !9
  %1046 = getelementptr inbounds double, ptr %1044, i64 %1045
  %1047 = load double, ptr %1046, align 8, !tbaa !16
  %1048 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %1040, double noundef %1047)
  br i1 %1048, label %1049, label %1061

1049:                                             ; preds = %1033
  %1050 = load ptr, ptr %29, align 8, !tbaa !5
  %1051 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1050, i32 0, i32 4
  %1052 = load ptr, ptr %1051, align 8, !tbaa !42
  %1053 = load i64, ptr %45, align 8, !tbaa !9
  %1054 = getelementptr inbounds double, ptr %1052, i64 %1053
  %1055 = load double, ptr %1054, align 8, !tbaa !16
  %1056 = load ptr, ptr %42, align 8, !tbaa !5
  %1057 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %1056, i32 0, i32 4
  %1058 = load ptr, ptr %1057, align 8, !tbaa !42
  %1059 = load i64, ptr %45, align 8, !tbaa !9
  %1060 = getelementptr inbounds double, ptr %1058, i64 %1059
  store double %1055, ptr %1060, align 8, !tbaa !16
  br label %1061

1061:                                             ; preds = %1049, %1033
  br label %1062

1062:                                             ; preds = %1061, %998
  br label %1063

1063:                                             ; preds = %1062
  %1064 = load i64, ptr %45, align 8, !tbaa !9
  %1065 = add nsw i64 %1064, 1
  store i64 %1065, ptr %45, align 8, !tbaa !9
  br label %904, !llvm.loop !65

1066:                                             ; preds = %904
  %1067 = load ptr, ptr %43, align 8, !tbaa !5
  store i64 2, ptr %1067, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL42qpdenseaulsolver_scaleshiftoriginalproblemEPNS_20convexquadraticmodelEPNS_12sparsematrixElbPNS_9ae_vectorES5_S5_S5_S5_lPNS_9ae_matrixEllS3_llbPNS_17qpdenseaulbuffersES5_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL39qpdenseaulsolver_normalizequadratictermEPNS_9ae_matrixEPNS_9ae_vectorElS1_llbS1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL32qpdenseaulsolver_generateexmodelEPNS_9ae_matrixEPNS_9ae_vectorElS3_S3_S3_S3_S1_llS3_dS1_S3_S3_S3_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"bool", !7, i64 0}
!13 = !{!14, !15, i64 16}
!14 = !{!"_ZTSN11alglib_impl18qpdenseaulsettingsE", !15, i64 0, !10, i64 8, !15, i64 16}
!15 = !{!"double", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !15, i64 0}
!18 = !{!19, !10, i64 320}
!19 = !{!"_ZTSN11alglib_impl12sparsematrixE", !20, i64 0, !20, i64 64, !20, i64 128, !20, i64 192, !20, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!20 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !12, i64 16, !21, i64 24, !7, i64 56}
!21 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!22 = !{!19, !10, i64 328}
!23 = !{!19, !10, i64 336}
!24 = !{!25, !10, i64 11368}
!25 = !{!"_ZTSN11alglib_impl17qpdenseaulbuffersE", !20, i64 0, !26, i64 64, !20, i64 144, !20, i64 208, !20, i64 272, !20, i64 336, !20, i64 400, !20, i64 464, !26, i64 528, !26, i64 608, !20, i64 688, !20, i64 752, !20, i64 816, !20, i64 880, !20, i64 944, !20, i64 1008, !27, i64 1072, !28, i64 1144, !20, i64 8448, !20, i64 8512, !26, i64 8576, !20, i64 8656, !20, i64 8720, !20, i64 8784, !32, i64 8848, !19, i64 10536, !26, i64 10904, !20, i64 10984, !20, i64 11048, !20, i64 11112, !20, i64 11176, !20, i64 11240, !20, i64 11304, !10, i64 11368, !10, i64 11376, !10, i64 11384, !10, i64 11392, !10, i64 11400, !10, i64 11408, !10, i64 11416, !10, i64 11424}
!26 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !21, i64 40, !7, i64 72}
!27 = !{!"_ZTSN11alglib_impl11qqpsettingsE", !15, i64 0, !15, i64 8, !15, i64 16, !10, i64 24, !12, i64 32, !12, i64 33, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64}
!28 = !{!"_ZTSN11alglib_impl10qqpbuffersE", !10, i64 0, !10, i64 8, !26, i64 16, !19, i64 96, !12, i64 464, !15, i64 472, !15, i64 480, !15, i64 488, !20, i64 496, !20, i64 560, !20, i64 624, !20, i64 688, !20, i64 752, !20, i64 816, !20, i64 880, !20, i64 944, !20, i64 1008, !20, i64 1072, !20, i64 1136, !20, i64 1200, !20, i64 1264, !29, i64 1328, !20, i64 5672, !10, i64 5736, !10, i64 5744, !26, i64 5752, !19, i64 5832, !20, i64 6200, !20, i64 6264, !20, i64 6328, !20, i64 6392, !20, i64 6456, !20, i64 6520, !20, i64 6584, !20, i64 6648, !20, i64 6712, !31, i64 6776, !10, i64 7272, !10, i64 7280, !10, i64 7288, !10, i64 7296}
!29 = !{!"_ZTSN11alglib_impl10sactivesetE", !10, i64 0, !10, i64 8, !20, i64 16, !12, i64 80, !20, i64 88, !20, i64 152, !20, i64 216, !12, i64 280, !26, i64 288, !26, i64 368, !26, i64 448, !10, i64 528, !20, i64 536, !10, i64 600, !10, i64 608, !12, i64 616, !12, i64 617, !20, i64 624, !20, i64 688, !20, i64 752, !20, i64 816, !26, i64 880, !10, i64 960, !10, i64 968, !20, i64 976, !20, i64 1040, !20, i64 1104, !20, i64 1168, !20, i64 1232, !20, i64 1296, !30, i64 1360, !20, i64 3000, !20, i64 3064, !20, i64 3128, !26, i64 3192, !20, i64 3272, !20, i64 3336, !20, i64 3400, !26, i64 3464, !26, i64 3544, !20, i64 3624, !20, i64 3688, !20, i64 3752, !26, i64 3816, !20, i64 3896, !20, i64 3960, !20, i64 4024, !20, i64 4088, !20, i64 4152, !20, i64 4216, !20, i64 4280}
!30 = !{!"_ZTSN11alglib_impl11snnlssolverE", !10, i64 0, !10, i64 8, !10, i64 16, !26, i64 24, !20, i64 104, !20, i64 168, !15, i64 232, !10, i64 240, !20, i64 248, !20, i64 312, !26, i64 376, !26, i64 456, !26, i64 536, !20, i64 616, !20, i64 680, !20, i64 744, !20, i64 808, !20, i64 872, !20, i64 936, !20, i64 1000, !20, i64 1064, !20, i64 1128, !20, i64 1192, !20, i64 1256, !20, i64 1320, !20, i64 1384, !20, i64 1448, !20, i64 1512, !20, i64 1576}
!31 = !{!"_ZTSN11alglib_impl13sparsebuffersE", !20, i64 0, !20, i64 64, !19, i64 128}
!32 = !{!"_ZTSN11alglib_impl20convexquadraticmodelE", !10, i64 0, !10, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !26, i64 40, !26, i64 120, !20, i64 200, !20, i64 264, !20, i64 328, !20, i64 392, !20, i64 456, !26, i64 520, !26, i64 600, !20, i64 680, !20, i64 744, !20, i64 808, !15, i64 872, !15, i64 880, !20, i64 888, !20, i64 952, !10, i64 1016, !10, i64 1024, !26, i64 1032, !26, i64 1112, !26, i64 1192, !20, i64 1272, !20, i64 1336, !15, i64 1400, !20, i64 1408, !20, i64 1472, !20, i64 1536, !26, i64 1600, !12, i64 1680, !12, i64 1681, !12, i64 1682, !12, i64 1683}
!33 = !{!25, !10, i64 11376}
!34 = !{!25, !10, i64 11384}
!35 = !{!25, !10, i64 11424}
!36 = !{!25, !10, i64 11392}
!37 = !{!25, !10, i64 11400}
!38 = !{!25, !10, i64 11408}
!39 = !{!25, !10, i64 11416}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!7, !7, i64 0}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = distinct !{!45, !44}
!46 = distinct !{!46, !44}
!47 = distinct !{!47, !44}
!48 = !{!14, !10, i64 8}
!49 = !{!25, !10, i64 608}
!50 = !{!25, !10, i64 616}
!51 = !{!25, !10, i64 1096}
!52 = !{!25, !15, i64 1072}
!53 = !{!25, !15, i64 1080}
!54 = !{!25, !15, i64 1088}
!55 = !{!25, !12, i64 1105}
!56 = !{!25, !10, i64 8432}
!57 = distinct !{!57, !44}
!58 = distinct !{!58, !44}
!59 = distinct !{!59, !44}
!60 = distinct !{!60, !44}
!61 = distinct !{!61, !44}
!62 = distinct !{!62, !44}
!63 = distinct !{!63, !44}
!64 = distinct !{!64, !44}
!65 = distinct !{!65, !44}


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

@.str.247 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZN11alglib_implL31qpdenseaulsolver_expansionratioE = external hidden local_unnamed_addr global double, align 8
@_ZN11alglib_implL30qpdenseaulsolver_evictionlevelE = external hidden local_unnamed_addr global double, align 8

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

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

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

declare void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

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

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

declare noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #1

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

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

declare noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #1

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

declare void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl8swaprowsEPNS_9ae_matrixElllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl11qqpoptimizeEPNS_20convexquadraticmodelEPNS_12sparsematrixEPNS_9ae_matrixElbPNS_9ae_vectorES7_S7_S7_S7_lPNS_11qqpsettingsEPNS_10qqpbuffersES7_PlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl18qpdenseauloptimizeEPNS_20convexquadraticmodelEPNS_12sparsematrixElbPNS_9ae_vectorES5_S5_S5_S5_lPNS_9ae_matrixEllS3_llbPNS_18qpdenseaulsettingsEPNS_17qpdenseaulbuffersES5_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef %10, i64 noundef %11, i64 noundef %12, ptr noundef %13, i64 noundef %14, i64 noundef %15, i1 noundef zeroext %16, ptr nocapture noundef readonly %17, ptr noundef %18, ptr noundef %19, ptr nocapture noundef writeonly %20, ptr noundef %21) local_unnamed_addr #3 {
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #6
  store i64 0, ptr %20, align 8, !tbaa !5
  %31 = add i64 %15, %12
  %32 = add i64 %31, %9
  %33 = add i64 %14, %11
  %34 = add i64 %33, %12
  %35 = add i64 %34, %15
  %36 = getelementptr inbounds i8, ptr %17, i64 16
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = load double, ptr %17, align 8, !tbaa !12
  %39 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %38, double noundef 0.000000e+00)
  %.0334 = select i1 %39, double 1.000000e-09, double %38
  %40 = add nsw i64 %15, %14
  %41 = icmp sgt i64 %40, 0
  br i1 %41, label %42, label %53

42:                                               ; preds = %22
  %43 = getelementptr inbounds i8, ptr %13, i64 320
  %44 = load i64, ptr %43, align 8, !tbaa !13
  %45 = icmp eq i64 %44, 1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %45, ptr noundef nonnull @.str.247, ptr noundef %21)
  %46 = getelementptr inbounds i8, ptr %13, i64 328
  %47 = load i64, ptr %46, align 8, !tbaa !19
  %48 = icmp eq i64 %47, %40
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %48, ptr noundef nonnull @.str.248, ptr noundef %21)
  %49 = getelementptr inbounds i8, ptr %13, i64 336
  %50 = load i64, ptr %49, align 8, !tbaa !20
  %51 = add nsw i64 %9, 1
  %52 = icmp eq i64 %50, %51
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %52, ptr noundef nonnull @.str.248, ptr noundef %21)
  br label %53

53:                                               ; preds = %42, %22
  %54 = getelementptr inbounds i8, ptr %18, i64 11368
  %55 = getelementptr inbounds i8, ptr %18, i64 11384
  %56 = getelementptr inbounds i8, ptr %18, i64 11392
  %57 = getelementptr inbounds i8, ptr %18, i64 11400
  %58 = getelementptr inbounds i8, ptr %18, i64 11408
  %59 = getelementptr inbounds i8, ptr %18, i64 11416
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %54, i8 0, i64 64, i1 false)
  store i64 0, ptr %20, align 8, !tbaa !5
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef %35, ptr noundef %21)
  %60 = getelementptr inbounds i8, ptr %18, i64 8448
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %60, i64 noundef %35, ptr noundef %21)
  %61 = getelementptr inbounds i8, ptr %18, i64 688
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %61, i64 noundef %32, ptr noundef %21)
  %62 = getelementptr inbounds i8, ptr %18, i64 752
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %62, i64 noundef %32, ptr noundef %21)
  %63 = getelementptr inbounds i8, ptr %18, i64 1008
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %63, i64 noundef %32, ptr noundef %21)
  %64 = getelementptr inbounds i8, ptr %18, i64 816
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %64, i64 noundef %32, ptr noundef %21)
  %65 = getelementptr inbounds i8, ptr %18, i64 880
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %65, i64 noundef %32, ptr noundef %21)
  %66 = getelementptr inbounds i8, ptr %18, i64 944
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %66, i64 noundef %32, ptr noundef %21)
  %67 = getelementptr inbounds i8, ptr %18, i64 8512
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %67, i64 noundef %32, ptr noundef %21)
  %68 = getelementptr inbounds i8, ptr %18, i64 11240
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %68, i64 noundef %31, ptr noundef %21)
  %69 = getelementptr inbounds i8, ptr %18, i64 11304
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %69, i64 noundef %31, ptr noundef %21)
  tail call void @_ZN11alglib_implL42qpdenseaulsolver_scaleshiftoriginalproblemEPNS_20convexquadraticmodelEPNS_12sparsematrixElbPNS_9ae_vectorES5_S5_S5_S5_lPNS_9ae_matrixEllS3_llbPNS_17qpdenseaulbuffersES5_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef %10, i64 noundef %11, i64 noundef %12, ptr noundef %13, i64 noundef %14, i64 noundef %15, i1 noundef zeroext %16, ptr noundef %18, ptr noundef %19, ptr noundef %21)
  %70 = getelementptr inbounds i8, ptr %18, i64 64
  %71 = getelementptr inbounds i8, ptr %18, i64 144
  %72 = getelementptr inbounds i8, ptr %18, i64 528
  %73 = getelementptr inbounds i8, ptr %18, i64 8576
  tail call void @_ZN11alglib_implL39qpdenseaulsolver_normalizequadratictermEPNS_9ae_matrixEPNS_9ae_vectorElS1_llbS1_PNS_8ae_stateE(ptr noundef nonnull %70, ptr noundef nonnull %71, i64 noundef %9, ptr noundef nonnull %72, i64 noundef %33, i64 noundef %31, i1 noundef zeroext %16, ptr noundef nonnull %73, ptr noundef %21)
  call void @_ZN11alglib_implL40qpdenseaulsolver_selectinitialworkingsetEPNS_9ae_matrixElS1_llPNS_9ae_vectorES1_PlPbPNS_8ae_stateE(ptr noundef nonnull %70, i64 noundef %9, ptr noundef nonnull %72, i64 noundef %33, i64 noundef %31, ptr noundef nonnull %67, ptr noundef nonnull %73, ptr noundef nonnull %27, ptr noundef nonnull %30, ptr noundef %21)
  %74 = load i64, ptr %27, align 8, !tbaa !5
  %75 = add nsw i64 %74, %33
  store i64 %75, ptr %28, align 8, !tbaa !5
  %76 = add nsw i64 %74, %9
  store i64 %76, ptr %29, align 8, !tbaa !5
  store i64 %74, ptr %57, align 8, !tbaa !21
  store i64 0, ptr %23, align 8, !tbaa !5
  %.not.not374 = icmp sgt i64 %74, 0
  br i1 %.not.not374, label %.lr.ph, label %.preheader369

.lr.ph:                                           ; preds = %53
  %77 = getelementptr inbounds i8, ptr %18, i64 11360
  br label %79

.preheader369:                                    ; preds = %79, %53
  %.lcssa373 = phi i64 [ %74, %53 ], [ %84, %79 ]
  store i64 %.lcssa373, ptr %23, align 8, !tbaa !5
  %.not.not350376 = icmp slt i64 %.lcssa373, %31
  br i1 %.not.not350376, label %.lr.ph378, label %.preheader368

.lr.ph378:                                        ; preds = %.preheader369
  %78 = getelementptr inbounds i8, ptr %18, i64 11360
  br label %91

79:                                               ; preds = %.lr.ph, %79
  %storemerge375 = phi i64 [ 0, %.lr.ph ], [ %83, %79 ]
  %80 = load ptr, ptr %77, align 8, !tbaa !30
  %81 = getelementptr inbounds i64, ptr %80, i64 %storemerge375
  store i64 1, ptr %81, align 8, !tbaa !5
  %82 = load i64, ptr %23, align 8, !tbaa !5
  %83 = add nsw i64 %82, 1
  store i64 %83, ptr %23, align 8, !tbaa !5
  %84 = load i64, ptr %27, align 8, !tbaa !5
  %.not.not = icmp slt i64 %83, %84
  br i1 %.not.not, label %79, label %.preheader369, !llvm.loop !31

.preheader368:                                    ; preds = %91, %.preheader369
  %.not.not352379 = icmp sgt i64 %35, 0
  br i1 %.not.not352379, label %.lr.ph381, label %.preheader367

.lr.ph381:                                        ; preds = %.preheader368
  %85 = getelementptr inbounds i8, ptr %18, i64 56
  %86 = add i64 %15, %14
  %87 = add i64 %86, %12
  %88 = add i64 %87, %11
  %89 = add i64 %88, -1
  %xtraiter = and i64 %35, 3
  %90 = icmp ult i64 %89, 3
  br i1 %90, label %.preheader367.loopexit.unr-lcssa, label %.lr.ph381.new

.lr.ph381.new:                                    ; preds = %.lr.ph381
  %unroll_iter = and i64 %35, 9223372036854775804
  br label %104

91:                                               ; preds = %.lr.ph378, %91
  %storemerge349377 = phi i64 [ %.lcssa373, %.lr.ph378 ], [ %95, %91 ]
  %92 = load ptr, ptr %78, align 8, !tbaa !30
  %93 = getelementptr inbounds i64, ptr %92, i64 %storemerge349377
  store i64 0, ptr %93, align 8, !tbaa !5
  %94 = load i64, ptr %23, align 8, !tbaa !5
  %95 = add nsw i64 %94, 1
  store i64 %95, ptr %23, align 8, !tbaa !5
  %.not.not350 = icmp slt i64 %95, %31
  br i1 %.not.not350, label %91, label %.preheader368, !llvm.loop !33

.preheader367.loopexit.unr-lcssa:                 ; preds = %104, %.lr.ph381
  %storemerge351380.unr = phi i64 [ 0, %.lr.ph381 ], [ %116, %104 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader367, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader367.loopexit.unr-lcssa, %.epil.preheader
  %storemerge351380.epil = phi i64 [ %98, %.epil.preheader ], [ %storemerge351380.unr, %.preheader367.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader367.loopexit.unr-lcssa ]
  %96 = load ptr, ptr %85, align 8, !tbaa !30
  %97 = getelementptr inbounds double, ptr %96, i64 %storemerge351380.epil
  store double 0.000000e+00, ptr %97, align 8, !tbaa !34
  %98 = add nuw nsw i64 %storemerge351380.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 %.preheader367, label %.epil.preheader, !llvm.loop !35

.preheader367:                                    ; preds = %.preheader367.loopexit.unr-lcssa, %.epil.preheader, %.preheader368
  %.not.not354383 = icmp sgt i64 %32, 0
  br i1 %.not.not354383, label %.lr.ph385, label %._crit_edge

.lr.ph385:                                        ; preds = %.preheader367
  %99 = getelementptr inbounds i8, ptr %18, i64 1000
  %100 = getelementptr inbounds i8, ptr %18, i64 1064
  %101 = add i64 %15, %12
  %102 = add i64 %101, %9
  %xtraiter458 = and i64 %32, 1
  %103 = icmp eq i64 %102, 1
  br i1 %103, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph385.new

.lr.ph385.new:                                    ; preds = %.lr.ph385
  %unroll_iter461 = and i64 %32, 9223372036854775806
  br label %117

104:                                              ; preds = %104, %.lr.ph381.new
  %storemerge351380 = phi i64 [ 0, %.lr.ph381.new ], [ %116, %104 ]
  %niter = phi i64 [ 0, %.lr.ph381.new ], [ %niter.next.3, %104 ]
  %105 = load ptr, ptr %85, align 8, !tbaa !30
  %106 = getelementptr inbounds double, ptr %105, i64 %storemerge351380
  store double 0.000000e+00, ptr %106, align 8, !tbaa !34
  %107 = or disjoint i64 %storemerge351380, 1
  %108 = load ptr, ptr %85, align 8, !tbaa !30
  %109 = getelementptr inbounds double, ptr %108, i64 %107
  store double 0.000000e+00, ptr %109, align 8, !tbaa !34
  %110 = or disjoint i64 %storemerge351380, 2
  %111 = load ptr, ptr %85, align 8, !tbaa !30
  %112 = getelementptr inbounds double, ptr %111, i64 %110
  store double 0.000000e+00, ptr %112, align 8, !tbaa !34
  %113 = or disjoint i64 %storemerge351380, 3
  %114 = load ptr, ptr %85, align 8, !tbaa !30
  %115 = getelementptr inbounds double, ptr %114, i64 %113
  store double 0.000000e+00, ptr %115, align 8, !tbaa !34
  %116 = add nuw nsw i64 %storemerge351380, 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 %.preheader367.loopexit.unr-lcssa, label %104, !llvm.loop !37

117:                                              ; preds = %117, %.lr.ph385.new
  %storemerge353384 = phi i64 [ 0, %.lr.ph385.new ], [ %127, %117 ]
  %niter462 = phi i64 [ 0, %.lr.ph385.new ], [ %niter462.next.1, %117 ]
  %118 = load ptr, ptr %99, align 8, !tbaa !30
  %119 = getelementptr inbounds double, ptr %118, i64 %storemerge353384
  store double 1.000000e+00, ptr %119, align 8, !tbaa !34
  %120 = load ptr, ptr %100, align 8, !tbaa !30
  %121 = getelementptr inbounds double, ptr %120, i64 %storemerge353384
  store double 0.000000e+00, ptr %121, align 8, !tbaa !34
  %122 = or disjoint i64 %storemerge353384, 1
  %123 = load ptr, ptr %99, align 8, !tbaa !30
  %124 = getelementptr inbounds double, ptr %123, i64 %122
  store double 1.000000e+00, ptr %124, align 8, !tbaa !34
  %125 = load ptr, ptr %100, align 8, !tbaa !30
  %126 = getelementptr inbounds double, ptr %125, i64 %122
  store double 0.000000e+00, ptr %126, align 8, !tbaa !34
  %127 = add nuw nsw i64 %storemerge353384, 2
  %niter462.next.1 = add i64 %niter462, 2
  %niter462.ncmp.1 = icmp eq i64 %niter462.next.1, %unroll_iter461
  br i1 %niter462.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %117, !llvm.loop !38

._crit_edge.loopexit.unr-lcssa:                   ; preds = %117, %.lr.ph385
  %storemerge353384.unr = phi i64 [ 0, %.lr.ph385 ], [ %127, %117 ]
  %lcmp.mod460.not = icmp eq i64 %xtraiter458, 0
  br i1 %lcmp.mod460.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %128 = load ptr, ptr %99, align 8, !tbaa !30
  %129 = getelementptr inbounds double, ptr %128, i64 %storemerge353384.unr
  store double 1.000000e+00, ptr %129, align 8, !tbaa !34
  %130 = load ptr, ptr %100, align 8, !tbaa !30
  %131 = getelementptr inbounds double, ptr %130, i64 %storemerge353384.unr
  store double 0.000000e+00, ptr %131, align 8, !tbaa !34
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %.preheader367
  %storemerge353.lcssa = phi i64 [ 0, %.preheader367 ], [ %32, %._crit_edge.loopexit.unr-lcssa ], [ %32, %._crit_edge.loopexit.epilog-lcssa ]
  store i64 %storemerge353.lcssa, ptr %23, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %18, i64 464
  call void @_ZN11alglib_implL39qpdenseaulsolver_generateexinitialpointEPNS_9ae_vectorEllS1_PNS_8ae_stateE(ptr noundef nonnull %132, i64 noundef %9, i64 noundef %31, ptr noundef nonnull %62, ptr noundef %21)
  store i64 0, ptr %25, align 8, !tbaa !5
  store i64 0, ptr %26, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %17, i64 8
  %134 = load i64, ptr %133, align 8, !tbaa !39
  %.not.not355416 = icmp sgt i64 %134, 0
  br i1 %.not.not355416, label %.preheader366.lr.ph, label %._crit_edge420

.preheader366.lr.ph:                              ; preds = %._crit_edge
  %135 = getelementptr inbounds i8, ptr %18, i64 608
  %136 = getelementptr inbounds i8, ptr %18, i64 616
  %137 = getelementptr inbounds i8, ptr %18, i64 1144
  %138 = getelementptr inbounds i8, ptr %18, i64 336
  %139 = getelementptr inbounds i8, ptr %18, i64 208
  %140 = getelementptr inbounds i8, ptr %18, i64 400
  %141 = getelementptr inbounds i8, ptr %18, i64 272
  %142 = getelementptr inbounds i8, ptr %18, i64 1072
  %143 = getelementptr inbounds i8, ptr %18, i64 1096
  %144 = fmul double %.0334, 1.000000e-02
  %145 = getelementptr inbounds i8, ptr %18, i64 1088
  %146 = getelementptr inbounds i8, ptr %18, i64 1105
  %147 = getelementptr inbounds i8, ptr %18, i64 8848
  %148 = getelementptr inbounds i8, ptr %18, i64 10536
  %149 = getelementptr inbounds i8, ptr %18, i64 8432
  %.not.not357387 = icmp sgt i64 %31, 0
  %150 = getelementptr inbounds i8, ptr %18, i64 600
  %151 = getelementptr inbounds i8, ptr %18, i64 808
  %152 = add i64 %9, -1
  %153 = getelementptr inbounds i8, ptr %18, i64 11296
  %154 = sitofp i64 %9 to double
  %155 = getelementptr inbounds i8, ptr %18, i64 56
  %156 = getelementptr inbounds i8, ptr %18, i64 11360
  %157 = add i64 %33, -1
  %158 = getelementptr inbounds i8, ptr %18, i64 8504
  %.not.not364404 = icmp sgt i64 %9, 0
  br label %.preheader366

.preheader366:                                    ; preds = %.preheader366.lr.ph, %350
  %.0330419 = phi double [ %37, %.preheader366.lr.ph ], [ %354, %350 ]
  %.0332418 = phi double [ 1.000000e+300, %.preheader366.lr.ph ], [ %338, %350 ]
  %.0335417 = phi i64 [ 0, %.preheader366.lr.ph ], [ %355, %350 ]
  br label %159

159:                                              ; preds = %.preheader366, %285
  %160 = load i64, ptr %135, align 8, !tbaa !40
  %161 = load i64, ptr %29, align 8, !tbaa !5
  %162 = icmp slt i64 %160, %161
  br i1 %162, label %166, label %163

163:                                              ; preds = %159
  %164 = load i64, ptr %136, align 8, !tbaa !41
  %165 = icmp slt i64 %164, %161
  br i1 %165, label %166, label %170

166:                                              ; preds = %163, %159
  %167 = sdiv i64 %161, 3
  %168 = add i64 %161, 1
  %169 = add i64 %168, %167
  store i64 %169, ptr %23, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %135, i64 noundef %169, i64 noundef %169, ptr noundef %21)
  %.pre = load i64, ptr %29, align 8, !tbaa !5
  br label %170

170:                                              ; preds = %166, %163
  %171 = phi i64 [ %.pre, %166 ], [ %161, %163 ]
  %172 = load i64, ptr %23, align 8, !tbaa !5
  call void @_ZN11alglib_impl23qqppreallocategrowdenseEPNS_10qqpbuffersEllPNS_8ae_stateE(ptr noundef nonnull %137, i64 noundef %171, i64 noundef %172, ptr noundef %21)
  %173 = load i64, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_implL32qpdenseaulsolver_generateexmodelEPNS_9ae_matrixEPNS_9ae_vectorElS3_S3_S3_S3_S1_llS3_dS1_S3_S3_S3_S1_PNS_8ae_stateE(ptr noundef nonnull %70, ptr noundef nonnull %71, i64 noundef %9, ptr noundef nonnull %138, ptr noundef nonnull %139, ptr noundef nonnull %140, ptr noundef nonnull %141, ptr noundef nonnull %72, i64 noundef %33, i64 noundef %173, ptr noundef nonnull %18, double noundef %.0330419, ptr noundef nonnull %135, ptr noundef nonnull %61, ptr noundef nonnull %64, ptr noundef nonnull %65, ptr noundef nonnull %73, ptr noundef %21)
  %174 = load i64, ptr %29, align 8, !tbaa !5
  call void @_ZN11alglib_impl15qqploaddefaultsElPNS_11qqpsettingsEPNS_8ae_stateE(i64 noundef %174, ptr noundef nonnull %142, ptr noundef %21)
  store i64 50, ptr %143, align 8, !tbaa !42
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %142, i8 0, i64 16, i1 false)
  store double %144, ptr %145, align 8, !tbaa !43
  store i8 1, ptr %146, align 1, !tbaa !44
  %175 = load i64, ptr %29, align 8, !tbaa !5
  call void @_ZN11alglib_impl11qqpoptimizeEPNS_20convexquadraticmodelEPNS_12sparsematrixEPNS_9ae_matrixElbPNS_9ae_vectorES7_S7_S7_S7_lPNS_11qqpsettingsEPNS_10qqpbuffersES7_PlPNS_8ae_stateE(ptr noundef nonnull %147, ptr noundef nonnull %148, ptr noundef nonnull %135, i64 noundef 2, i1 noundef zeroext true, ptr noundef nonnull %61, ptr noundef nonnull %64, ptr noundef nonnull %65, ptr noundef nonnull %66, ptr noundef nonnull %63, i64 noundef %175, ptr noundef nonnull %142, ptr noundef nonnull %137, ptr noundef nonnull %62, ptr noundef nonnull %24, ptr noundef %21)
  %176 = load i64, ptr %55, align 8, !tbaa !45
  %177 = load i64, ptr %149, align 8, !tbaa !46
  %178 = add nsw i64 %177, %176
  store i64 %178, ptr %55, align 8, !tbaa !45
  store i64 0, ptr %23, align 8, !tbaa !5
  br i1 %.not.not357387, label %.lr.ph390, label %._crit_edge391

.lr.ph390:                                        ; preds = %170, %.lr.ph390
  %storemerge356388 = phi i64 [ %196, %.lr.ph390 ], [ 0, %170 ]
  %179 = load ptr, ptr %150, align 8, !tbaa !30
  %180 = getelementptr ptr, ptr %179, i64 %33
  %181 = getelementptr ptr, ptr %180, i64 %storemerge356388
  %182 = load ptr, ptr %181, align 8, !tbaa !47
  %183 = load ptr, ptr %151, align 8, !tbaa !30
  %184 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %152)
  %185 = call noundef double @_ZN11alglib_impl15ae_v_dotproductEPKdlS1_ll(ptr noundef %182, i64 noundef 1, ptr noundef %183, i64 noundef 1, i64 noundef %184)
  %186 = load ptr, ptr %150, align 8, !tbaa !30
  %187 = load i64, ptr %23, align 8, !tbaa !5
  %188 = getelementptr ptr, ptr %186, i64 %33
  %189 = getelementptr ptr, ptr %188, i64 %187
  %190 = load ptr, ptr %189, align 8, !tbaa !47
  %191 = getelementptr inbounds double, ptr %190, i64 %9
  %192 = load double, ptr %191, align 8, !tbaa !34
  %193 = fsub double %185, %192
  %194 = load ptr, ptr %153, align 8, !tbaa !30
  %195 = getelementptr inbounds double, ptr %194, i64 %187
  store double %193, ptr %195, align 8, !tbaa !34
  %196 = add nsw i64 %187, 1
  store i64 %196, ptr %23, align 8, !tbaa !5
  %.not.not357 = icmp slt i64 %196, %31
  br i1 %.not.not357, label %.lr.ph390, label %._crit_edge391, !llvm.loop !48

._crit_edge391:                                   ; preds = %.lr.ph390, %170
  store i64 0, ptr %23, align 8, !tbaa !5
  %197 = load double, ptr @_ZN11alglib_implL31qpdenseaulsolver_expansionratioE, align 8, !tbaa !34
  %198 = call double @llvm.fmuladd.f64(double %197, double %154, double 1.000000e+00)
  %199 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef 0.000000e+00, double noundef %198)
  %200 = load i64, ptr %27, align 8
  %201 = icmp slt i64 %200, %31
  %202 = select i1 %199, i1 %201, i1 false
  br i1 %202, label %.lr.ph395, label %._crit_edge396

.lr.ph395:                                        ; preds = %._crit_edge391, %221
  %203 = phi i64 [ %245, %221 ], [ %200, %._crit_edge391 ]
  %.0393 = phi i1 [ true, %221 ], [ false, %._crit_edge391 ]
  store i64 %203, ptr %24, align 8, !tbaa !5
  br label %204

204:                                              ; preds = %.lr.ph395, %213
  %.0325392 = phi i64 [ %203, %.lr.ph395 ], [ %214, %213 ]
  %205 = load ptr, ptr %153, align 8, !tbaa !30
  %206 = getelementptr inbounds double, ptr %205, i64 %.0325392
  %207 = load double, ptr %206, align 8, !tbaa !34
  %208 = load i64, ptr %24, align 8, !tbaa !5
  %209 = getelementptr inbounds double, ptr %205, i64 %208
  %210 = load double, ptr %209, align 8, !tbaa !34
  %211 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %207, double noundef %210)
  br i1 %211, label %212, label %213

212:                                              ; preds = %204
  store i64 %.0325392, ptr %24, align 8, !tbaa !5
  br label %213

213:                                              ; preds = %204, %212
  %214 = add nsw i64 %.0325392, 1
  %.not.not358 = icmp slt i64 %214, %31
  br i1 %.not.not358, label %204, label %215, !llvm.loop !49

215:                                              ; preds = %213
  %216 = load ptr, ptr %153, align 8, !tbaa !30
  %217 = load i64, ptr %24, align 8, !tbaa !5
  %218 = getelementptr inbounds double, ptr %216, i64 %217
  %219 = load double, ptr %218, align 8, !tbaa !34
  %220 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %219, double noundef 0.000000e+00)
  %.pre436.pre443.pre.pre = load i64, ptr %27, align 8, !tbaa !5
  br i1 %220, label %221, label %._crit_edge396

221:                                              ; preds = %215
  %222 = add nsw i64 %.pre436.pre443.pre.pre, %33
  %223 = load i64, ptr %24, align 8, !tbaa !5
  %224 = add nsw i64 %223, %33
  call void @_ZN11alglib_impl8swaprowsEPNS_9ae_matrixElllPNS_8ae_stateE(ptr noundef nonnull %72, i64 noundef %222, i64 noundef %224, i64 noundef -1, ptr noundef %21)
  %225 = load i64, ptr %27, align 8, !tbaa !5
  %226 = load i64, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %68, i64 noundef %225, i64 noundef %226, ptr noundef %21)
  %227 = load i64, ptr %27, align 8, !tbaa !5
  %228 = load i64, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl13swapelementsiEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %69, i64 noundef %227, i64 noundef %228, ptr noundef %21)
  %229 = load ptr, ptr %151, align 8, !tbaa !30
  %230 = load i64, ptr %27, align 8, !tbaa !5
  %231 = getelementptr double, ptr %229, i64 %230
  %232 = getelementptr double, ptr %231, i64 %9
  store double 0.000000e+00, ptr %232, align 8, !tbaa !34
  %233 = load ptr, ptr %155, align 8, !tbaa !30
  %234 = getelementptr double, ptr %233, i64 %33
  %235 = getelementptr double, ptr %234, i64 %230
  store double 0.000000e+00, ptr %235, align 8, !tbaa !34
  %236 = load ptr, ptr %156, align 8, !tbaa !30
  %237 = getelementptr inbounds i64, ptr %236, i64 %230
  %238 = load i64, ptr %237, align 8, !tbaa !5
  %239 = add nsw i64 %238, 1
  store i64 %239, ptr %237, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %27, ptr noundef %21)
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %29, ptr noundef %21)
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %28, ptr noundef %21)
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %23, ptr noundef %21)
  %240 = load i64, ptr %23, align 8, !tbaa !5
  %241 = sitofp i64 %240 to double
  %242 = load double, ptr @_ZN11alglib_implL31qpdenseaulsolver_expansionratioE, align 8, !tbaa !34
  %243 = call double @llvm.fmuladd.f64(double %242, double %154, double 1.000000e+00)
  %244 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %241, double noundef %243)
  %245 = load i64, ptr %27, align 8
  %246 = icmp slt i64 %245, %31
  %247 = select i1 %244, i1 %246, i1 false
  br i1 %247, label %.lr.ph395, label %._crit_edge396, !llvm.loop !50

._crit_edge396:                                   ; preds = %221, %215, %._crit_edge391
  %.pre436.pre443 = phi i64 [ %200, %._crit_edge391 ], [ %.pre436.pre443.pre.pre, %215 ], [ %245, %221 ]
  %.0.lcssa = phi i1 [ false, %._crit_edge391 ], [ %.0393, %215 ], [ true, %221 ]
  %248 = load i8, ptr %30, align 1, !tbaa !51, !range !52, !noundef !53
  %249 = trunc nuw i8 %248 to i1
  br i1 %249, label %.preheader365, label %.loopexit

.preheader365:                                    ; preds = %._crit_edge396
  %storemerge359401 = add nsw i64 %.pre436.pre443, -1
  store i64 %storemerge359401, ptr %24, align 8, !tbaa !5
  %250 = icmp sgt i64 %.pre436.pre443, 0
  br i1 %250, label %.lr.ph403, label %.loopexit

.lr.ph403:                                        ; preds = %.preheader365, %279
  %storemerge359402 = phi i64 [ %storemerge359, %279 ], [ %storemerge359401, %.preheader365 ]
  %251 = load ptr, ptr %153, align 8, !tbaa !30
  %252 = getelementptr inbounds double, ptr %251, i64 %storemerge359402
  %253 = load double, ptr %252, align 8, !tbaa !34
  %254 = load double, ptr @_ZN11alglib_implL30qpdenseaulsolver_evictionlevelE, align 8, !tbaa !34
  %255 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %253, double noundef %254)
  %storemerge359.in.pre434 = load i64, ptr %24, align 8, !tbaa !5
  br i1 %255, label %256, label %279

256:                                              ; preds = %.lr.ph403
  %257 = load ptr, ptr %156, align 8, !tbaa !30
  %258 = getelementptr inbounds i64, ptr %257, i64 %storemerge359.in.pre434
  %259 = load i64, ptr %258, align 8, !tbaa !5
  %260 = icmp slt i64 %259, 2
  br i1 %260, label %261, label %279

261:                                              ; preds = %256
  %262 = load i64, ptr %27, align 8, !tbaa !5
  %263 = add i64 %157, %262
  %264 = add nsw i64 %storemerge359.in.pre434, %33
  call void @_ZN11alglib_impl8swaprowsEPNS_9ae_matrixElllPNS_8ae_stateE(ptr noundef nonnull %72, i64 noundef %263, i64 noundef %264, i64 noundef -1, ptr noundef %21)
  %265 = load i64, ptr %27, align 8, !tbaa !5
  %266 = add nsw i64 %265, -1
  %267 = load i64, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %68, i64 noundef %266, i64 noundef %267, ptr noundef %21)
  %268 = load i64, ptr %27, align 8, !tbaa !5
  %269 = add nsw i64 %268, -1
  %270 = load i64, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl13swapelementsiEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %69, i64 noundef %269, i64 noundef %270, ptr noundef %21)
  %271 = load i64, ptr %27, align 8, !tbaa !5
  %272 = add i64 %152, %271
  %273 = load i64, ptr %24, align 8, !tbaa !5
  %274 = add nsw i64 %273, %9
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %62, i64 noundef %272, i64 noundef %274, ptr noundef %21)
  %275 = load i64, ptr %27, align 8, !tbaa !5
  %276 = add i64 %157, %275
  %277 = load i64, ptr %24, align 8, !tbaa !5
  %278 = add nsw i64 %277, %33
  call void @_ZN11alglib_impl12swapelementsEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %276, i64 noundef %278, ptr noundef %21)
  call void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef nonnull %27, ptr noundef %21)
  call void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef nonnull %29, ptr noundef %21)
  call void @_ZN11alglib_impl3decEPlPNS_8ae_stateE(ptr noundef nonnull %28, ptr noundef %21)
  %storemerge359.in.pre = load i64, ptr %24, align 8, !tbaa !5
  br label %279

279:                                              ; preds = %.lr.ph403, %256, %261
  %storemerge359.in = phi i64 [ %storemerge359.in.pre434, %.lr.ph403 ], [ %storemerge359.in.pre434, %256 ], [ %storemerge359.in.pre, %261 ]
  %storemerge359 = add nsw i64 %storemerge359.in, -1
  store i64 %storemerge359, ptr %24, align 8, !tbaa !5
  %280 = icmp sgt i64 %storemerge359.in, 0
  br i1 %280, label %.lr.ph403, label %.loopexit.loopexit, !llvm.loop !54

.loopexit.loopexit:                               ; preds = %279
  %.pre436.pre = load i64, ptr %27, align 8, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.preheader365, %._crit_edge396
  %.pre436 = phi i64 [ %.pre436.pre, %.loopexit.loopexit ], [ %.pre436.pre443, %.preheader365 ], [ %.pre436.pre443, %._crit_edge396 ]
  %281 = load i64, ptr %58, align 8, !tbaa !55
  %282 = icmp eq i64 %281, 0
  br i1 %282, label %283, label %284

283:                                              ; preds = %.loopexit
  store i64 %.pre436, ptr %58, align 8, !tbaa !55
  br label %284

284:                                              ; preds = %283, %.loopexit
  store i64 %.pre436, ptr %59, align 8, !tbaa !56
  br i1 %.0.lcssa, label %285, label %.critedge

285:                                              ; preds = %284
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %56, ptr noundef %21)
  br label %159, !llvm.loop !57

.critedge:                                        ; preds = %284
  %286 = load ptr, ptr %158, align 8, !tbaa !30
  %287 = load ptr, ptr %155, align 8, !tbaa !30
  %288 = load i64, ptr %28, align 8, !tbaa !5
  %289 = add nsw i64 %288, -1
  %290 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %289)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %286, i64 noundef 1, ptr noundef %287, i64 noundef 1, i64 noundef %290)
  %291 = load i64, ptr %27, align 8, !tbaa !5
  call void @_ZN11alglib_implL42qpdenseaulsolver_updatelagrangemultipliersEPNS_9ae_matrixEPNS_9ae_vectorElS3_S3_S3_S3_S1_llS3_S3_PNS_17qpdenseaulbuffersEPNS_8ae_stateE(ptr noundef nonnull %70, ptr noundef nonnull %71, i64 noundef %9, ptr noundef nonnull %138, ptr noundef nonnull %139, ptr noundef nonnull %140, ptr noundef nonnull %141, ptr noundef nonnull %72, i64 noundef %33, i64 noundef %291, ptr noundef nonnull %62, ptr noundef nonnull %60, ptr noundef nonnull %18, ptr noundef %21)
  store i64 0, ptr %23, align 8, !tbaa !5
  %292 = load i64, ptr %28, align 8, !tbaa !5
  %.not.not361412 = icmp sgt i64 %292, 0
  br i1 %.not.not361412, label %.preheader, label %._crit_edge414

.preheader:                                       ; preds = %.critedge, %317
  %293 = phi i64 [ %336, %317 ], [ 0, %.critedge ]
  %.1333413 = phi double [ %329, %317 ], [ 0.000000e+00, %.critedge ]
  br i1 %.not.not364404, label %.lr.ph408, label %._crit_edge409

.lr.ph408:                                        ; preds = %.preheader, %.lr.ph408
  %.1407 = phi i64 [ %306, %.lr.ph408 ], [ 0, %.preheader ]
  %.0326406 = phi double [ %303, %.lr.ph408 ], [ 0.000000e+00, %.preheader ]
  %.0328405 = phi double [ %305, %.lr.ph408 ], [ 0.000000e+00, %.preheader ]
  %294 = load ptr, ptr %150, align 8, !tbaa !30
  %295 = load i64, ptr %23, align 8, !tbaa !5
  %296 = getelementptr inbounds ptr, ptr %294, i64 %295
  %297 = load ptr, ptr %296, align 8, !tbaa !47
  %298 = getelementptr inbounds double, ptr %297, i64 %.1407
  %299 = load double, ptr %298, align 8, !tbaa !34
  %300 = load ptr, ptr %151, align 8, !tbaa !30
  %301 = getelementptr inbounds double, ptr %300, i64 %.1407
  %302 = load double, ptr %301, align 8, !tbaa !34
  %303 = call double @llvm.fmuladd.f64(double %299, double %302, double %.0326406)
  %304 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %299, ptr noundef %21)
  %305 = fadd double %.0328405, %304
  %306 = add nuw nsw i64 %.1407, 1
  %exitcond433.not = icmp eq i64 %306, %9
  br i1 %exitcond433.not, label %._crit_edge409.loopexit, label %.lr.ph408, !llvm.loop !58

._crit_edge409.loopexit:                          ; preds = %.lr.ph408
  %.pre437 = load i64, ptr %23, align 8, !tbaa !5
  br label %._crit_edge409

._crit_edge409:                                   ; preds = %._crit_edge409.loopexit, %.preheader
  %307 = phi i64 [ %293, %.preheader ], [ %.pre437, %._crit_edge409.loopexit ]
  %.0328.lcssa = phi double [ 0.000000e+00, %.preheader ], [ %305, %._crit_edge409.loopexit ]
  %.0326.lcssa = phi double [ 0.000000e+00, %.preheader ], [ %303, %._crit_edge409.loopexit ]
  %.not = icmp slt i64 %307, %33
  br i1 %.not, label %317, label %308

308:                                              ; preds = %._crit_edge409
  %309 = load ptr, ptr %151, align 8, !tbaa !30
  %310 = sub nsw i64 %307, %33
  %311 = getelementptr double, ptr %309, i64 %310
  %312 = getelementptr double, ptr %311, i64 %9
  %313 = load double, ptr %312, align 8, !tbaa !34
  %314 = fadd double %.0326.lcssa, %313
  %315 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef 1.000000e+00, ptr noundef %21)
  %316 = fadd double %.0328.lcssa, %315
  %.pre438 = load i64, ptr %23, align 8, !tbaa !5
  br label %317

317:                                              ; preds = %308, %._crit_edge409
  %318 = phi i64 [ %.pre438, %308 ], [ %307, %._crit_edge409 ]
  %.1329 = phi double [ %316, %308 ], [ %.0328.lcssa, %._crit_edge409 ]
  %.1327 = phi double [ %314, %308 ], [ %.0326.lcssa, %._crit_edge409 ]
  %319 = load ptr, ptr %150, align 8, !tbaa !30
  %320 = getelementptr inbounds ptr, ptr %319, i64 %318
  %321 = load ptr, ptr %320, align 8, !tbaa !47
  %322 = getelementptr inbounds double, ptr %321, i64 %9
  %323 = load double, ptr %322, align 8, !tbaa !34
  %324 = fsub double %.1327, %323
  %325 = call noundef double @_ZN11alglib_impl8coalesceEddPNS_8ae_stateE(double noundef %.1329, double noundef 1.000000e+00, ptr noundef %21)
  %326 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %325, ptr noundef %21)
  %327 = fdiv double %324, %326
  %328 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %327, ptr noundef %21)
  %329 = fadd double %.1333413, %328
  %330 = load ptr, ptr %158, align 8, !tbaa !30
  %331 = load i64, ptr %23, align 8, !tbaa !5
  %332 = getelementptr inbounds double, ptr %330, i64 %331
  %333 = load double, ptr %332, align 8, !tbaa !34
  %334 = load ptr, ptr %155, align 8, !tbaa !30
  %335 = getelementptr inbounds double, ptr %334, i64 %331
  store double %333, ptr %335, align 8, !tbaa !34
  %336 = add nsw i64 %331, 1
  store i64 %336, ptr %23, align 8, !tbaa !5
  %337 = load i64, ptr %28, align 8, !tbaa !5
  %.not.not361 = icmp slt i64 %336, %337
  br i1 %.not.not361, label %.preheader, label %._crit_edge414, !llvm.loop !59

._crit_edge414:                                   ; preds = %317, %.critedge
  %.1333.lcssa = phi double [ 0.000000e+00, %.critedge ], [ %329, %317 ]
  %338 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %.1333.lcssa, ptr noundef %21)
  %339 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %338, double noundef %.0334)
  br i1 %339, label %340, label %341

340:                                              ; preds = %._crit_edge414
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %25, ptr noundef %21)
  br label %342

341:                                              ; preds = %._crit_edge414
  store i64 0, ptr %25, align 8, !tbaa !5
  br label %342

342:                                              ; preds = %341, %340
  %343 = fmul double %.0332418, 3.300000e-01
  %344 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %338, double noundef %343)
  br i1 %344, label %345, label %346

345:                                              ; preds = %342
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %26, ptr noundef %21)
  br label %347

346:                                              ; preds = %342
  store i64 0, ptr %26, align 8, !tbaa !5
  br label %347

347:                                              ; preds = %346, %345
  %348 = load i64, ptr %25, align 8, !tbaa !5
  %349 = icmp sgt i64 %348, 1
  br i1 %349, label %._crit_edge420, label %350

350:                                              ; preds = %347
  %351 = load i64, ptr %26, align 8, !tbaa !5
  %352 = icmp sgt i64 %351, 1
  %. = select i1 %352, double 1.000000e+01, double 1.410000e+00
  %353 = fmul double %.0330419, %.
  %354 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %353, double noundef 1.000000e+12, ptr noundef %21)
  %355 = add nuw nsw i64 %.0335417, 1
  %356 = load i64, ptr %133, align 8, !tbaa !39
  %.not.not355 = icmp slt i64 %355, %356
  br i1 %.not.not355, label %.preheader366, label %._crit_edge420, !llvm.loop !60

._crit_edge420:                                   ; preds = %350, %347, %._crit_edge
  store i64 0, ptr %23, align 8, !tbaa !5
  %.not.not363422 = icmp sgt i64 %9, 0
  br i1 %.not.not363422, label %.lr.ph425, label %._crit_edge426

.lr.ph425:                                        ; preds = %._crit_edge420
  %357 = getelementptr inbounds i8, ptr %7, i64 56
  %358 = getelementptr inbounds i8, ptr %18, i64 808
  %359 = getelementptr inbounds i8, ptr %8, i64 56
  %360 = getelementptr inbounds i8, ptr %19, i64 56
  %361 = getelementptr inbounds i8, ptr %18, i64 264
  %362 = getelementptr inbounds i8, ptr %5, i64 56
  %363 = getelementptr inbounds i8, ptr %18, i64 392
  %364 = getelementptr inbounds i8, ptr %18, i64 328
  %365 = getelementptr inbounds i8, ptr %6, i64 56
  %366 = getelementptr inbounds i8, ptr %18, i64 456
  br label %367

367:                                              ; preds = %.lr.ph425, %446
  %storemerge362423 = phi i64 [ 0, %.lr.ph425 ], [ %448, %446 ]
  %368 = load ptr, ptr %357, align 8, !tbaa !30
  %369 = getelementptr inbounds double, ptr %368, i64 %storemerge362423
  %370 = load double, ptr %369, align 8, !tbaa !34
  %371 = load ptr, ptr %358, align 8, !tbaa !30
  %372 = getelementptr inbounds double, ptr %371, i64 %storemerge362423
  %373 = load double, ptr %372, align 8, !tbaa !34
  %374 = load ptr, ptr %359, align 8, !tbaa !30
  %375 = getelementptr inbounds double, ptr %374, i64 %storemerge362423
  %376 = load double, ptr %375, align 8, !tbaa !34
  %377 = call double @llvm.fmuladd.f64(double %370, double %373, double %376)
  %378 = load ptr, ptr %360, align 8, !tbaa !30
  %379 = getelementptr inbounds double, ptr %378, i64 %storemerge362423
  store double %377, ptr %379, align 8, !tbaa !34
  %380 = load ptr, ptr %361, align 8, !tbaa !30
  %381 = getelementptr inbounds i8, ptr %380, i64 %storemerge362423
  %382 = load i8, ptr %381, align 1, !tbaa !51, !range !52, !noundef !53
  %383 = trunc nuw i8 %382 to i1
  br i1 %383, label %384, label %412

384:                                              ; preds = %367
  %385 = load ptr, ptr %360, align 8, !tbaa !30
  %386 = getelementptr inbounds double, ptr %385, i64 %storemerge362423
  %387 = load double, ptr %386, align 8, !tbaa !34
  %388 = load ptr, ptr %362, align 8, !tbaa !30
  %389 = getelementptr inbounds double, ptr %388, i64 %storemerge362423
  %390 = load double, ptr %389, align 8, !tbaa !34
  %391 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %387, double noundef %390)
  %.pre439 = load i64, ptr %23, align 8, !tbaa !5
  br i1 %391, label %392, label %398

392:                                              ; preds = %384
  %393 = load ptr, ptr %362, align 8, !tbaa !30
  %394 = getelementptr inbounds double, ptr %393, i64 %.pre439
  %395 = load double, ptr %394, align 8, !tbaa !34
  %396 = load ptr, ptr %360, align 8, !tbaa !30
  %397 = getelementptr inbounds double, ptr %396, i64 %.pre439
  store double %395, ptr %397, align 8, !tbaa !34
  br label %398

398:                                              ; preds = %392, %384
  %399 = load ptr, ptr %358, align 8, !tbaa !30
  %400 = getelementptr inbounds double, ptr %399, i64 %.pre439
  %401 = load double, ptr %400, align 8, !tbaa !34
  %402 = load ptr, ptr %363, align 8, !tbaa !30
  %403 = getelementptr inbounds double, ptr %402, i64 %.pre439
  %404 = load double, ptr %403, align 8, !tbaa !34
  %405 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %401, double noundef %404)
  %.pre440 = load i64, ptr %23, align 8, !tbaa !5
  br i1 %405, label %406, label %412

406:                                              ; preds = %398
  %407 = load ptr, ptr %362, align 8, !tbaa !30
  %408 = getelementptr inbounds double, ptr %407, i64 %.pre440
  %409 = load double, ptr %408, align 8, !tbaa !34
  %410 = load ptr, ptr %360, align 8, !tbaa !30
  %411 = getelementptr inbounds double, ptr %410, i64 %.pre440
  store double %409, ptr %411, align 8, !tbaa !34
  br label %412

412:                                              ; preds = %398, %406, %367
  %413 = phi i64 [ %.pre440, %398 ], [ %.pre440, %406 ], [ %storemerge362423, %367 ]
  %414 = load ptr, ptr %364, align 8, !tbaa !30
  %415 = getelementptr inbounds i8, ptr %414, i64 %413
  %416 = load i8, ptr %415, align 1, !tbaa !51, !range !52, !noundef !53
  %417 = trunc nuw i8 %416 to i1
  br i1 %417, label %418, label %446

418:                                              ; preds = %412
  %419 = load ptr, ptr %360, align 8, !tbaa !30
  %420 = getelementptr inbounds double, ptr %419, i64 %413
  %421 = load double, ptr %420, align 8, !tbaa !34
  %422 = load ptr, ptr %365, align 8, !tbaa !30
  %423 = getelementptr inbounds double, ptr %422, i64 %413
  %424 = load double, ptr %423, align 8, !tbaa !34
  %425 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %421, double noundef %424)
  %.pre441 = load i64, ptr %23, align 8, !tbaa !5
  br i1 %425, label %426, label %432

426:                                              ; preds = %418
  %427 = load ptr, ptr %365, align 8, !tbaa !30
  %428 = getelementptr inbounds double, ptr %427, i64 %.pre441
  %429 = load double, ptr %428, align 8, !tbaa !34
  %430 = load ptr, ptr %360, align 8, !tbaa !30
  %431 = getelementptr inbounds double, ptr %430, i64 %.pre441
  store double %429, ptr %431, align 8, !tbaa !34
  br label %432

432:                                              ; preds = %426, %418
  %433 = load ptr, ptr %358, align 8, !tbaa !30
  %434 = getelementptr inbounds double, ptr %433, i64 %.pre441
  %435 = load double, ptr %434, align 8, !tbaa !34
  %436 = load ptr, ptr %366, align 8, !tbaa !30
  %437 = getelementptr inbounds double, ptr %436, i64 %.pre441
  %438 = load double, ptr %437, align 8, !tbaa !34
  %439 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %435, double noundef %438)
  %.pre442 = load i64, ptr %23, align 8, !tbaa !5
  br i1 %439, label %440, label %446

440:                                              ; preds = %432
  %441 = load ptr, ptr %365, align 8, !tbaa !30
  %442 = getelementptr inbounds double, ptr %441, i64 %.pre442
  %443 = load double, ptr %442, align 8, !tbaa !34
  %444 = load ptr, ptr %360, align 8, !tbaa !30
  %445 = getelementptr inbounds double, ptr %444, i64 %.pre442
  store double %443, ptr %445, align 8, !tbaa !34
  br label %446

446:                                              ; preds = %412, %440, %432
  %447 = phi i64 [ %413, %412 ], [ %.pre442, %440 ], [ %.pre442, %432 ]
  %448 = add nsw i64 %447, 1
  store i64 %448, ptr %23, align 8, !tbaa !5
  %.not.not363 = icmp slt i64 %448, %9
  br i1 %.not.not363, label %367, label %._crit_edge426, !llvm.loop !61

._crit_edge426:                                   ; preds = %446, %._crit_edge420
  store i64 2, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL42qpdenseaulsolver_scaleshiftoriginalproblemEPNS_20convexquadraticmodelEPNS_12sparsematrixElbPNS_9ae_vectorES5_S5_S5_S5_lPNS_9ae_matrixEllS3_llbPNS_17qpdenseaulbuffersES5_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL39qpdenseaulsolver_normalizequadratictermEPNS_9ae_matrixEPNS_9ae_vectorElS1_llbS1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL32qpdenseaulsolver_generateexmodelEPNS_9ae_matrixEPNS_9ae_vectorElS3_S3_S3_S3_S1_llS3_dS1_S3_S3_S3_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl13swapelementsiEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 = !{!10, !11, i64 16}
!10 = !{!"_ZTSN11alglib_impl18qpdenseaulsettingsE", !11, i64 0, !6, i64 8, !11, i64 16}
!11 = !{!"double", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !6, i64 320}
!14 = !{!"_ZTSN11alglib_impl12sparsematrixE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !16, i64 16, !17, i64 24, !7, i64 56}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!14, !6, i64 328}
!20 = !{!14, !6, i64 336}
!21 = !{!22, !6, i64 11400}
!22 = !{!"_ZTSN11alglib_impl17qpdenseaulbuffersE", !15, i64 0, !23, i64 64, !15, i64 144, !15, i64 208, !15, i64 272, !15, i64 336, !15, i64 400, !15, i64 464, !23, i64 528, !23, i64 608, !15, i64 688, !15, i64 752, !15, i64 816, !15, i64 880, !15, i64 944, !15, i64 1008, !24, i64 1072, !25, i64 1144, !15, i64 8448, !15, i64 8512, !23, i64 8576, !15, i64 8656, !15, i64 8720, !15, i64 8784, !29, i64 8848, !14, i64 10536, !23, i64 10904, !15, i64 10984, !15, i64 11048, !15, i64 11112, !15, i64 11176, !15, i64 11240, !15, i64 11304, !6, i64 11368, !6, i64 11376, !6, i64 11384, !6, i64 11392, !6, i64 11400, !6, i64 11408, !6, i64 11416, !6, i64 11424}
!23 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !16, i64 32, !17, i64 40, !7, i64 72}
!24 = !{!"_ZTSN11alglib_impl11qqpsettingsE", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !16, i64 32, !16, i64 33, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!25 = !{!"_ZTSN11alglib_impl10qqpbuffersE", !6, i64 0, !6, i64 8, !23, i64 16, !14, i64 96, !16, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !15, i64 496, !15, i64 560, !15, i64 624, !15, i64 688, !15, i64 752, !15, i64 816, !15, i64 880, !15, i64 944, !15, i64 1008, !15, i64 1072, !15, i64 1136, !15, i64 1200, !15, i64 1264, !26, i64 1328, !15, i64 5672, !6, i64 5736, !6, i64 5744, !23, i64 5752, !14, i64 5832, !15, i64 6200, !15, i64 6264, !15, i64 6328, !15, i64 6392, !15, i64 6456, !15, i64 6520, !15, i64 6584, !15, i64 6648, !15, i64 6712, !28, i64 6776, !6, i64 7272, !6, i64 7280, !6, i64 7288, !6, i64 7296}
!26 = !{!"_ZTSN11alglib_impl10sactivesetE", !6, i64 0, !6, i64 8, !15, i64 16, !16, i64 80, !15, i64 88, !15, i64 152, !15, i64 216, !16, i64 280, !23, i64 288, !23, i64 368, !23, i64 448, !6, i64 528, !15, i64 536, !6, i64 600, !6, i64 608, !16, i64 616, !16, i64 617, !15, i64 624, !15, i64 688, !15, i64 752, !15, i64 816, !23, i64 880, !6, i64 960, !6, i64 968, !15, i64 976, !15, i64 1040, !15, i64 1104, !15, i64 1168, !15, i64 1232, !15, i64 1296, !27, i64 1360, !15, i64 3000, !15, i64 3064, !15, i64 3128, !23, i64 3192, !15, i64 3272, !15, i64 3336, !15, i64 3400, !23, i64 3464, !23, i64 3544, !15, i64 3624, !15, i64 3688, !15, i64 3752, !23, i64 3816, !15, i64 3896, !15, i64 3960, !15, i64 4024, !15, i64 4088, !15, i64 4152, !15, i64 4216, !15, i64 4280}
!27 = !{!"_ZTSN11alglib_impl11snnlssolverE", !6, i64 0, !6, i64 8, !6, i64 16, !23, i64 24, !15, i64 104, !15, i64 168, !11, i64 232, !6, i64 240, !15, i64 248, !15, i64 312, !23, i64 376, !23, i64 456, !23, i64 536, !15, i64 616, !15, i64 680, !15, i64 744, !15, i64 808, !15, i64 872, !15, i64 936, !15, i64 1000, !15, i64 1064, !15, i64 1128, !15, i64 1192, !15, i64 1256, !15, i64 1320, !15, i64 1384, !15, i64 1448, !15, i64 1512, !15, i64 1576}
!28 = !{!"_ZTSN11alglib_impl13sparsebuffersE", !15, i64 0, !15, i64 64, !14, i64 128}
!29 = !{!"_ZTSN11alglib_impl20convexquadraticmodelE", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !23, i64 40, !23, i64 120, !15, i64 200, !15, i64 264, !15, i64 328, !15, i64 392, !15, i64 456, !23, i64 520, !23, i64 600, !15, i64 680, !15, i64 744, !15, i64 808, !11, i64 872, !11, i64 880, !15, i64 888, !15, i64 952, !6, i64 1016, !6, i64 1024, !23, i64 1032, !23, i64 1112, !23, i64 1192, !15, i64 1272, !15, i64 1336, !11, i64 1400, !15, i64 1408, !15, i64 1472, !15, i64 1536, !23, i64 1600, !16, i64 1680, !16, i64 1681, !16, i64 1682, !16, i64 1683}
!30 = !{!7, !7, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = !{!11, !11, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.unroll.disable"}
!37 = distinct !{!37, !32}
!38 = distinct !{!38, !32}
!39 = !{!10, !6, i64 8}
!40 = !{!22, !6, i64 608}
!41 = !{!22, !6, i64 616}
!42 = !{!22, !6, i64 1096}
!43 = !{!22, !11, i64 1088}
!44 = !{!22, !16, i64 1105}
!45 = !{!22, !6, i64 11384}
!46 = !{!22, !6, i64 8432}
!47 = !{!18, !18, i64 0}
!48 = distinct !{!48, !32}
!49 = distinct !{!49, !32}
!50 = distinct !{!50, !32}
!51 = !{!16, !16, i64 0}
!52 = !{i8 0, i8 2}
!53 = !{}
!54 = distinct !{!54, !32}
!55 = !{!22, !6, i64 11408}
!56 = !{!22, !6, i64 11416}
!57 = distinct !{!57, !32}
!58 = distinct !{!58, !32}
!59 = distinct !{!59, !32}
!60 = distinct !{!60, !32}
!61 = distinct !{!61, !32}


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