; LLVM IR from ERGO-Code/HiGHS :: src/simplex/HEkkDualMulti.ll (ZN8HEkkDual17minorUpdatePrimalEv)

; 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"

%class.HEkkDual = type { i32, i32, i8, i8, ptr, i32, i32, i32, double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i8, double, double, double, double, double, i8, i32, i32, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HEkkDualRow, i32, %class.HEkkDualRHS, i32, i32, i32, i32, double, double, double, double, double, double, double, i8, i32, i32, [9 x i32], [8 x %class.HighsSparseMatrix], [8 x %class.HighsSparseMatrix], [8 x %class.HVectorBase], %"class.std::vector.18", i32, i32, i32, i32, i32, i32, [8 x %"struct.HEkkDual::MChoice"], [8 x %"struct.HEkkDual::MFinish"] }
%class.HVectorBase = type { i32, i32, %"class.std::vector", %"class.std::vector.3", double, %"class.std::vector.8", %"class.std::vector", ptr, i8, i32, %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HEkkDualRow = type { ptr, i32, ptr, ptr, ptr, ptr, ptr, %"class.std::set", i32, %"class.std::vector", %"class.std::vector.3", double, double, double, double, i32, i32, %"class.std::vector.13", %"class.std::vector", i32, %"class.std::vector.13", %"class.std::vector.13", %"class.std::vector", ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::pair<int, double>, std::allocator<std::pair<int, double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, double>, std::allocator<std::pair<int, double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, double>, std::allocator<std::pair<int, double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, double>, std::allocator<std::pair<int, double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HEkkDualRHS = type { ptr, double, i32, %"class.std::vector.8", %"class.std::vector", %"class.std::vector.3", i32, i32, i32, i32, i32, %"class.std::vector", ptr }
%class.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<HEkkDualRow, std::allocator<HEkkDualRow>>::_Vector_impl" }
%"struct.std::_Vector_base<HEkkDualRow, std::allocator<HEkkDualRow>>::_Vector_impl" = type { %"struct.std::_Vector_base<HEkkDualRow, std::allocator<HEkkDualRow>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HEkkDualRow, std::allocator<HEkkDualRow>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HEkkDual::MChoice" = type { i32, double, double, double, double, double, double, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase }
%"struct.HEkkDual::MFinish" = type { i8, double, %"class.std::vector", i32, i32, i32, double, double, double, double, double, ptr, ptr, ptr }
%class.HEkk = type { ptr, ptr, ptr, %class.HighsSimplexAnalysis, %class.HighsLp, %"class.std::__cxx11::basic_string", %struct.HighsSimplexStatus, [3 x i8], %struct.HighsSimplexInfo, i32, %struct.SimplexBasis, %class.HighsHashTable, %class.HighsRandom, %"class.std::vector.3", %"class.std::vector.3", i8, %class.HighsSparseMatrix, %class.HighsSparseMatrix, %class.HSimplexNla, %struct.HotStart, double, double, double, i32, i32, i32, i32, i8, i8, i32, i32, i32, %"class.std::vector", %"class.std::vector.3", %struct.HighsRayRecord, %struct.HighsRayRecord, i32, i32, i32, double, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", double, double, double, i32, i32, i8, i32, i8, i8, i8, i8, double, %"class.std::vector.79", %"class.std::vector.3", %struct.HighsSimplexStats }
%class.HighsSimplexAnalysis = type { ptr, %"class.std::vector.23", %"class.std::vector.23", ptr, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %struct.HighsLogOptions, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, double, double, i32, double, double, i32, double, double, double, double, double, double, double, double, double, double, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, double, double, i32, double, double, i32, i32, double, double, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.28", %"class.std::unique_ptr", i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, i32, i32, double, double, double, i8, double, double, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, i32, i32, [10 x %"struct.HighsSimplexAnalysis::AnIterOpRec"], i32, i32, [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], [12 x i32], [3 x i32], [4 x i8], %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl" }
%"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl" = type { %"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.34" }
%"struct.std::_Head_base.34" = type { ptr }
%"struct.HighsSimplexAnalysis::AnIterOpRec" = type { double, double, i32, i32, i32, i32, double, i32, %"class.std::__cxx11::basic_string", %struct.HighsValueDistribution }
%"struct.HighsSimplexAnalysis::AnIterTraceRec" = type { double, double, [10 x double], double, i32, i32, i32 }
%struct.HighsValueDistribution = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, i32, [4 x i8], double, double, %"class.std::vector.3", %"class.std::vector", i32, [4 x i8] }>
%class.HighsLp = type { i32, i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.35", %"class.std::vector.35", %"class.std::vector.40", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsNameHash = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.HighsScale = type { i32, i8, i32, i32, double, %"class.std::vector.3", %"class.std::vector.3" }
%struct.HighsLpMods = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.40", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.HighsSimplexStatus = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%struct.HighsSimplexInfo = type <{ %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", i32, i32, i8, i8, [6 x i8], %struct.SimplexBasis, i32, i32, i32, [4 x i8], %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", i32, i32, i32, i32, double, double, double, double, i32, i32, double, double, double, double, double, double, double, double, double, double, i8, [7 x i8], double, double, i32, [4 x i8], double, double, double, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, [4 x i8], double, double, i32, [4 x i8], double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, i32, [4 x i8] }>
%struct.SimplexBasis = type { %"class.std::vector", %"class.std::vector.50", %"class.std::vector.50", i64, i32, i32, %"class.std::__cxx11::basic_string" }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsHashTable = type { %"class.std::unique_ptr.55", %"class.std::unique_ptr.63", i64, i64, i64 }
%"class.std::unique_ptr.55" = type { %"struct.std::__uniq_ptr_data.56" }
%"struct.std::__uniq_ptr_data.56" = type { %"class.std::__uniq_ptr_impl.57" }
%"class.std::__uniq_ptr_impl.57" = type { %"class.std::tuple.58" }
%"class.std::tuple.58" = type { %"struct.std::_Tuple_impl.59" }
%"struct.std::_Tuple_impl.59" = type { %"struct.std::_Head_base.62" }
%"struct.std::_Head_base.62" = type { ptr }
%"class.std::unique_ptr.63" = type { %"struct.std::__uniq_ptr_data.64" }
%"struct.std::__uniq_ptr_data.64" = type { %"class.std::__uniq_ptr_impl.65" }
%"class.std::__uniq_ptr_impl.65" = type { %"class.std::tuple.66" }
%"class.std::tuple.66" = type { %"struct.std::_Tuple_impl.67" }
%"struct.std::_Tuple_impl.67" = type { %"struct.std::_Head_base.70" }
%"struct.std::_Head_base.70" = type { ptr }
%class.HighsRandom = type { i64 }
%class.HSimplexNla = type { ptr, ptr, ptr, ptr, ptr, ptr, %class.HFactor, i8, double, %struct.ProductFormUpdate, %struct.SimplexIterate }
%class.HFactor = type { double, double, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %struct.RefactorInfo, i32, i32, i32, i32, i32, i32, i32, double, i8, ptr, ptr, ptr, ptr, double, double, i32, double, %"class.std::unique_ptr.71", %struct.HighsLogOptions, i8, i8, i32, i32, ptr, i32, %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %class.HVectorBase }
%struct.RefactorInfo = type { i8, %"class.std::vector", %"class.std::vector", %"class.std::vector.50", double }
%"class.std::unique_ptr.71" = type { %"struct.std::__uniq_ptr_data.72" }
%"struct.std::__uniq_ptr_data.72" = type { %"class.std::__uniq_ptr_impl.73" }
%"class.std::__uniq_ptr_impl.73" = type { %"class.std::tuple.74" }
%"class.std::tuple.74" = type { %"struct.std::_Tuple_impl.75" }
%"struct.std::_Tuple_impl.75" = type { %"struct.std::_Head_base.78" }
%"struct.std::_Head_base.78" = type { ptr }
%struct.ProductFormUpdate = type { i8, i32, i32, %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3" }
%struct.SimplexIterate = type { i8, %struct.SimplexBasis, %struct.InvertibleRepresentation, %"class.std::vector.3" }
%struct.InvertibleRepresentation = type { %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector.3" }
%struct.HotStart = type { i8, %struct.RefactorInfo, %"class.std::vector.50" }
%struct.HighsRayRecord = type { i32, i32, %"class.std::vector.3" }
%"class.std::vector.79" = type { %"struct.std::_Vector_base.80" }
%"struct.std::_Vector_base.80" = type { %"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsSimplexStats = type { i8, i32, i32, i32, i32, double, double, double, double }

@.str.52 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__._ZN8HEkkDual17minorUpdatePrimalEv = external hidden unnamed_addr constant [35 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [42 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8HEkkDual17minorUpdatePrimalEv(ptr noundef nonnull align 8 dereferenceable(10968) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %23 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %24 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 66
  %25 = load i32, ptr %24, align 8, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %23, i64 0, i64 %26
  store ptr %27, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %28 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 71
  %29 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 67
  %30 = load i32, ptr %29, align 4, !tbaa !48
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [8 x %"struct.HEkkDual::MFinish"], ptr %28, i64 0, i64 %31
  store ptr %32, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %33, i32 0, i32 1
  %35 = load double, ptr %34, align 8, !tbaa !49
  store double %35, ptr %5, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %36, i32 0, i32 2
  %38 = load double, ptr %37, align 8, !tbaa !52
  store double %38, ptr %6, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %39, i32 0, i32 3
  %41 = load double, ptr %40, align 8, !tbaa !53
  store double %41, ptr %7, align 8, !tbaa !51
  %42 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 49
  %43 = load double, ptr %42, align 8, !tbaa !54
  %44 = fcmp olt double %43, 0.000000e+00
  br i1 %44, label %45, label %56

45:                                               ; preds = %1
  %46 = load double, ptr %5, align 8, !tbaa !51
  %47 = load double, ptr %6, align 8, !tbaa !51
  %48 = fsub double %46, %47
  %49 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 53
  %50 = load double, ptr %49, align 8, !tbaa !55
  %51 = fdiv double %48, %50
  %52 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 51
  store double %51, ptr %52, align 8, !tbaa !56
  %53 = load double, ptr %6, align 8, !tbaa !51
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.HEkkDual::MFinish", ptr %54, i32 0, i32 8
  store double %53, ptr %55, align 8, !tbaa !57
  br label %56

56:                                               ; preds = %45, %1
  %57 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 49
  %58 = load double, ptr %57, align 8, !tbaa !54
  %59 = fcmp ogt double %58, 0.000000e+00
  br i1 %59, label %60, label %71

60:                                               ; preds = %56
  %61 = load double, ptr %5, align 8, !tbaa !51
  %62 = load double, ptr %7, align 8, !tbaa !51
  %63 = fsub double %61, %62
  %64 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 53
  %65 = load double, ptr %64, align 8, !tbaa !55
  %66 = fdiv double %63, %65
  %67 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 51
  store double %66, ptr %67, align 8, !tbaa !56
  %68 = load double, ptr %7, align 8, !tbaa !51
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.HEkkDual::MFinish", ptr %69, i32 0, i32 8
  store double %68, ptr %70, align 8, !tbaa !57
  br label %71

71:                                               ; preds = %60, %56
  %72 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 51
  %73 = load double, ptr %72, align 8, !tbaa !56
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.HEkkDual::MFinish", ptr %74, i32 0, i32 7
  store double %73, ptr %75, align 8, !tbaa !59
  %76 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 25
  %77 = load i32, ptr %76, align 4, !tbaa !60
  %78 = icmp eq i32 %77, 1
  br i1 %78, label %79, label %130

79:                                               ; preds = %71
  %80 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 2
  %81 = load i8, ptr %80, align 8, !tbaa !61, !range !62, !noundef !63
  %82 = trunc i8 %81 to i1
  br i1 %82, label %130, label %83

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %84 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 4
  %85 = load ptr, ptr %84, align 8, !tbaa !64
  %86 = getelementptr inbounds %class.HEkk, ptr %85, i32 0, i32 13
  store ptr %86, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 45
  %88 = load i32, ptr %87, align 8, !tbaa !65
  %89 = icmp sge i32 %88, 0
  br i1 %89, label %90, label %91

90:                                               ; preds = %83
  br label %93

91:                                               ; preds = %83
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.53, i32 noundef 392, ptr noundef @__PRETTY_FUNCTION__._ZN8HEkkDual17minorUpdatePrimalEv) #8
  unreachable

92:                                               ; No predecessors!
  br label %93

93:                                               ; preds = %92, %90
  %94 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 45
  %95 = load i32, ptr %94, align 8, !tbaa !65
  %96 = icmp slt i32 %95, 0
  br i1 %96, label %97, label %101

97:                                               ; preds = %93
  %98 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 45
  %99 = load i32, ptr %98, align 8, !tbaa !65
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.54, i32 noundef %99)
  br label %101

101:                                              ; preds = %97, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 45
  %104 = load i32, ptr %103, align 8, !tbaa !65
  %105 = sext i32 %104 to i64
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %105) #7
  %107 = load double, ptr %106, align 8, !tbaa !51
  store double %107, ptr %9, align 8, !tbaa !51
  %108 = load double, ptr %9, align 8, !tbaa !51
  %109 = call noundef zeroext i1 @_ZN8HEkkDual17newDevexFrameworkEd(ptr noundef nonnull align 8 dereferenceable(10968) %22, double noundef %108)
  %110 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 2
  %111 = zext i1 %109 to i8
  store i8 %111, ptr %110, align 8, !tbaa !61
  %112 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 2
  %113 = load i8, ptr %112, align 8, !tbaa !61, !range !62, !noundef !63
  %114 = trunc i8 %113 to i1
  %115 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 3
  %116 = zext i1 %114 to i8
  store i8 %116, ptr %115, align 1, !tbaa !66
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %117 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 55
  %118 = load double, ptr %117, align 8, !tbaa !67
  %119 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 53
  %120 = load double, ptr %119, align 8, !tbaa !55
  %121 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 53
  %122 = load double, ptr %121, align 8, !tbaa !55
  %123 = fmul double %120, %122
  %124 = fdiv double %118, %123
  store double %124, ptr %10, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store double 1.000000e+00, ptr %11, align 8, !tbaa !51
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %126 = load double, ptr %125, align 8, !tbaa !51
  store double %126, ptr %10, align 8, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  %127 = load double, ptr %10, align 8, !tbaa !51
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.HEkkDual::MFinish", ptr %128, i32 0, i32 10
  store double %127, ptr %129, align 8, !tbaa !68
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %130

130:                                              ; preds = %101, %79, %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !69
  br label %131

131:                                              ; preds = %244, %130
  %132 = load i32, ptr %12, align 4, !tbaa !69
  %133 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 64
  %134 = load i32, ptr %133, align 8, !tbaa !70
  %135 = icmp slt i32 %132, %134
  br i1 %135, label %137, label %136

136:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %247

137:                                              ; preds = %131
  %138 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %139 = load i32, ptr %12, align 4, !tbaa !69
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %138, i64 0, i64 %140
  %142 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %141, i32 0, i32 0
  %143 = load i32, ptr %142, align 8, !tbaa !71
  %144 = icmp sge i32 %143, 0
  br i1 %144, label %145, label %243

145:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %146 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %147 = load i32, ptr %12, align 4, !tbaa !69
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %146, i64 0, i64 %148
  %150 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %149, i32 0, i32 7
  store ptr %150, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %151 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 9
  %152 = load ptr, ptr %151, align 8, !tbaa !72
  %153 = load ptr, ptr %13, align 8, !tbaa !5
  %154 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 48
  %155 = load i32, ptr %154, align 4, !tbaa !73
  %156 = call noundef double @_ZNK17HighsSparseMatrix10computeDotERK11HVectorBaseIdEi(ptr noundef nonnull align 8 dereferenceable(112) %152, ptr noundef nonnull align 8 dereferenceable(176) %153, i32 noundef %155)
  store double %156, ptr %14, align 8, !tbaa !51
  %157 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 51
  %158 = load double, ptr %157, align 8, !tbaa !56
  %159 = load double, ptr %14, align 8, !tbaa !51
  %160 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %161 = load i32, ptr %12, align 4, !tbaa !69
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %160, i64 0, i64 %162
  %164 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %163, i32 0, i32 1
  %165 = load double, ptr %164, align 8, !tbaa !49
  %166 = fneg double %158
  %167 = call double @llvm.fmuladd.f64(double %166, double %159, double %165)
  store double %167, ptr %164, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %168 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %169 = load i32, ptr %12, align 4, !tbaa !69
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %168, i64 0, i64 %170
  %172 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %171, i32 0, i32 1
  %173 = load double, ptr %172, align 8, !tbaa !49
  store double %173, ptr %15, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %174 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %175 = load i32, ptr %12, align 4, !tbaa !69
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %174, i64 0, i64 %176
  %178 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %177, i32 0, i32 2
  %179 = load double, ptr %178, align 8, !tbaa !52
  store double %179, ptr %16, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %180 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %181 = load i32, ptr %12, align 4, !tbaa !69
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %180, i64 0, i64 %182
  %184 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %183, i32 0, i32 3
  %185 = load double, ptr %184, align 8, !tbaa !53
  store double %185, ptr %17, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !51
  %186 = load double, ptr %15, align 8, !tbaa !51
  %187 = load double, ptr %16, align 8, !tbaa !51
  %188 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 27
  %189 = load double, ptr %188, align 8, !tbaa !74
  %190 = fsub double %187, %189
  %191 = fcmp olt double %186, %190
  br i1 %191, label %192, label %196

192:                                              ; preds = %145
  %193 = load double, ptr %15, align 8, !tbaa !51
  %194 = load double, ptr %16, align 8, !tbaa !51
  %195 = fsub double %193, %194
  store double %195, ptr %18, align 8, !tbaa !51
  br label %196

196:                                              ; preds = %192, %145
  %197 = load double, ptr %15, align 8, !tbaa !51
  %198 = load double, ptr %17, align 8, !tbaa !51
  %199 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 27
  %200 = load double, ptr %199, align 8, !tbaa !74
  %201 = fadd double %198, %200
  %202 = fcmp ogt double %197, %201
  br i1 %202, label %203, label %207

203:                                              ; preds = %196
  %204 = load double, ptr %15, align 8, !tbaa !51
  %205 = load double, ptr %17, align 8, !tbaa !51
  %206 = fsub double %204, %205
  store double %206, ptr %18, align 8, !tbaa !51
  br label %207

207:                                              ; preds = %203, %196
  %208 = load double, ptr %18, align 8, !tbaa !51
  %209 = load double, ptr %18, align 8, !tbaa !51
  %210 = fmul double %209, %208
  store double %210, ptr %18, align 8, !tbaa !51
  %211 = load double, ptr %18, align 8, !tbaa !51
  %212 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %213 = load i32, ptr %12, align 4, !tbaa !69
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %212, i64 0, i64 %214
  %216 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %215, i32 0, i32 4
  store double %211, ptr %216, align 8, !tbaa !75
  %217 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 25
  %218 = load i32, ptr %217, align 4, !tbaa !60
  %219 = icmp eq i32 %218, 1
  br i1 %219, label %220, label %242

220:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %221 = load ptr, ptr %4, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.HEkkDual::MFinish", ptr %221, i32 0, i32 10
  %223 = load double, ptr %222, align 8, !tbaa !68
  store double %223, ptr %19, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %224 = load double, ptr %14, align 8, !tbaa !51
  store double %224, ptr %20, align 8, !tbaa !51
  %225 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %226 = load i32, ptr %12, align 4, !tbaa !69
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %225, i64 0, i64 %227
  %229 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %228, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %230 = load double, ptr %19, align 8, !tbaa !51
  %231 = load double, ptr %20, align 8, !tbaa !51
  %232 = fmul double %230, %231
  %233 = load double, ptr %20, align 8, !tbaa !51
  %234 = fmul double %232, %233
  store double %234, ptr %21, align 8, !tbaa !51
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %236 = load double, ptr %235, align 8, !tbaa !51
  %237 = getelementptr inbounds %class.HEkkDual, ptr %22, i32 0, i32 70
  %238 = load i32, ptr %12, align 4, !tbaa !69
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %237, i64 0, i64 %239
  %241 = getelementptr inbounds %"struct.HEkkDual::MChoice", ptr %240, i32 0, i32 5
  store double %236, ptr %241, align 8, !tbaa !76
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %242

242:                                              ; preds = %220, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %243

243:                                              ; preds = %242, %137
  br label %244

244:                                              ; preds = %243
  %245 = load i32, ptr %12, align 4, !tbaa !69
  %246 = add nsw i32 %245, 1
  store i32 %246, ptr %12, align 4, !tbaa !69
  br label %131, !llvm.loop !77

247:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK17HighsSparseMatrix10computeDotERK11HVectorBaseIdEi(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) #2 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

declare i32 @printf(ptr noundef, ...) #5

declare noundef zeroext i1 @_ZN8HEkkDual17newDevexFrameworkEd(ptr noundef nonnull align 8 dereferenceable(10968), double noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn nounwind "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 = { "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 #6 = { inlinehint 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 #7 = { nounwind }
attributes #8 = { noreturn 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, !12, i64 5320}
!10 = !{!"_ZTS8HEkkDual", !11, i64 0, !12, i64 4, !13, i64 8, !13, i64 9, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !14, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !15, i64 172, !13, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !13, i64 224, !12, i64 228, !12, i64 232, !16, i64 240, !16, i64 416, !16, i64 592, !16, i64 768, !16, i64 944, !16, i64 1120, !16, i64 1296, !29, i64 1472, !12, i64 1808, !43, i64 1816, !12, i64 1968, !12, i64 1972, !12, i64 1976, !12, i64 1980, !14, i64 1984, !14, i64 1992, !14, i64 2000, !14, i64 2008, !14, i64 2016, !14, i64 2024, !14, i64 2032, !13, i64 2040, !12, i64 2044, !12, i64 2048, !7, i64 2052, !7, i64 2088, !7, i64 2984, !7, i64 3880, !44, i64 5288, !12, i64 5312, !12, i64 5316, !12, i64 5320, !12, i64 5324, !12, i64 5328, !12, i64 5332, !7, i64 5336, !7, i64 10008}
!11 = !{!"_ZTS16SimplexAlgorithm", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTS14EdgeWeightMode", !7, i64 0}
!16 = !{!"_ZTS11HVectorBaseIdE", !12, i64 0, !12, i64 4, !17, i64 8, !21, i64 32, !14, i64 56, !25, i64 64, !17, i64 88, !6, i64 112, !13, i64 120, !12, i64 124, !17, i64 128, !21, i64 152}
!17 = !{!"_ZTSSt6vectorIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIdSaIdEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIcSaIcEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTS11HEkkDualRow", !6, i64 0, !12, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !30, i64 56, !12, i64 104, !17, i64 112, !21, i64 136, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !12, i64 192, !12, i64 196, !39, i64 200, !17, i64 224, !12, i64 248, !39, i64 256, !39, i64 280, !17, i64 304, !6, i64 328}
!30 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !33, i64 0, !35, i64 8}
!33 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !34, i64 0}
!34 = !{!"_ZTSSt4lessIiE"}
!35 = !{!"_ZTSSt15_Rb_tree_header", !36, i64 0, !38, i64 32}
!36 = !{!"_ZTSSt18_Rb_tree_node_base", !37, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!37 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!38 = !{!"long", !7, i64 0}
!39 = !{!"_ZTSSt6vectorISt4pairIidESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseISt4pairIidESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairIidESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairIidESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTS11HEkkDualRHS", !6, i64 0, !14, i64 8, !12, i64 16, !25, i64 24, !17, i64 48, !21, i64 72, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !17, i64 120, !6, i64 144}
!44 = !{!"_ZTSSt6vectorI11HEkkDualRowSaIS0_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseI11HEkkDualRowSaIS0_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseI11HEkkDualRowSaIS0_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseI11HEkkDualRowSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!10, !12, i64 5324}
!49 = !{!50, !14, i64 8}
!50 = !{!"_ZTSN8HEkkDual7MChoiceE", !12, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !16, i64 56, !16, i64 232, !16, i64 408}
!51 = !{!14, !14, i64 0}
!52 = !{!50, !14, i64 16}
!53 = !{!50, !14, i64 24}
!54 = !{!10, !14, i64 1984}
!55 = !{!10, !14, i64 2016}
!56 = !{!10, !14, i64 2000}
!57 = !{!58, !14, i64 72}
!58 = !{!"_ZTSN8HEkkDual7MFinishE", !7, i64 0, !14, i64 8, !17, i64 16, !12, i64 40, !12, i64 44, !12, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !6, i64 96, !6, i64 104, !6, i64 112}
!59 = !{!58, !14, i64 64}
!60 = !{!10, !15, i64 172}
!61 = !{!10, !13, i64 8}
!62 = !{i8 0, i8 2}
!63 = !{}
!64 = !{!10, !6, i64 16}
!65 = !{!10, !12, i64 1968}
!66 = !{!10, !13, i64 9}
!67 = !{!10, !14, i64 2032}
!68 = !{!58, !14, i64 88}
!69 = !{!12, !12, i64 0}
!70 = !{!10, !12, i64 5312}
!71 = !{!50, !12, i64 0}
!72 = !{!10, !6, i64 48}
!73 = !{!10, !12, i64 1980}
!74 = !{!10, !14, i64 184}
!75 = !{!50, !14, i64 32}
!76 = !{!50, !14, i64 40}
!77 = distinct !{!77, !78}
!78 = !{!"llvm.loop.mustprogress"}


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

%"struct.HEkkDual::MChoice" = type { i32, double, double, double, double, double, double, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase }
%class.HVectorBase = type { i32, i32, %"class.std::vector", %"class.std::vector.3", double, %"class.std::vector.8", %"class.std::vector", ptr, i8, i32, %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HEkkDual::MFinish" = type { i8, double, %"class.std::vector", i32, i32, i32, double, double, double, double, double, ptr, ptr, ptr }

@.str.52 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__._ZN8HEkkDual17minorUpdatePrimalEv = external hidden unnamed_addr constant [35 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8HEkkDual17minorUpdatePrimalEv(ptr noundef nonnull align 8 dereferenceable(10968) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 5336
  %6 = getelementptr inbounds i8, ptr %0, i64 5320
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = sext i32 %7 to i64
  %9 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %5, i64 0, i64 %8
  %10 = getelementptr inbounds i8, ptr %0, i64 10008
  %11 = getelementptr inbounds i8, ptr %0, i64 5324
  %12 = load i32, ptr %11, align 4, !tbaa !47
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [8 x %"struct.HEkkDual::MFinish"], ptr %10, i64 0, i64 %13
  %15 = getelementptr inbounds i8, ptr %9, i64 8
  %16 = load double, ptr %15, align 8, !tbaa !48
  %17 = getelementptr inbounds i8, ptr %9, i64 24
  %18 = load double, ptr %17, align 8, !tbaa !50
  %19 = getelementptr inbounds i8, ptr %0, i64 1984
  %20 = load double, ptr %19, align 8, !tbaa !51
  %21 = fcmp olt double %20, 0.000000e+00
  br i1 %21, label %22, label %31

22:                                               ; preds = %1
  %23 = getelementptr inbounds i8, ptr %9, i64 16
  %24 = load double, ptr %23, align 8, !tbaa !52
  %25 = fsub double %16, %24
  %26 = getelementptr inbounds i8, ptr %0, i64 2016
  %27 = load double, ptr %26, align 8, !tbaa !53
  %28 = fdiv double %25, %27
  %29 = getelementptr inbounds i8, ptr %0, i64 2000
  store double %28, ptr %29, align 8, !tbaa !54
  %30 = getelementptr inbounds i8, ptr %14, i64 72
  store double %24, ptr %30, align 8, !tbaa !55
  br label %31

31:                                               ; preds = %22, %1
  %32 = fcmp ogt double %20, 0.000000e+00
  br i1 %32, label %33, label %._crit_edge50

._crit_edge50:                                    ; preds = %31
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 2000
  %.pre = load double, ptr %.phi.trans.insert, align 8, !tbaa !54
  br label %40

33:                                               ; preds = %31
  %34 = fsub double %16, %18
  %35 = getelementptr inbounds i8, ptr %0, i64 2016
  %36 = load double, ptr %35, align 8, !tbaa !53
  %37 = fdiv double %34, %36
  %38 = getelementptr inbounds i8, ptr %0, i64 2000
  store double %37, ptr %38, align 8, !tbaa !54
  %39 = getelementptr inbounds i8, ptr %14, i64 72
  store double %18, ptr %39, align 8, !tbaa !55
  br label %40

40:                                               ; preds = %._crit_edge50, %33
  %41 = phi double [ %.pre, %._crit_edge50 ], [ %37, %33 ]
  %42 = getelementptr inbounds i8, ptr %0, i64 2000
  %43 = getelementptr inbounds i8, ptr %14, i64 64
  store double %41, ptr %43, align 8, !tbaa !57
  %44 = getelementptr inbounds i8, ptr %0, i64 172
  %45 = load i32, ptr %44, align 4, !tbaa !58
  %46 = icmp eq i32 %45, 1
  br i1 %46, label %47, label %75

47:                                               ; preds = %40
  %48 = getelementptr inbounds i8, ptr %0, i64 8
  %49 = load i8, ptr %48, align 8, !tbaa !59, !range !60, !noundef !61
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %75, label %51

51:                                               ; preds = %47
  %52 = getelementptr inbounds i8, ptr %0, i64 1968
  %53 = load i32, ptr %52, align 8, !tbaa !62
  %54 = icmp sgt i32 %53, -1
  br i1 %54, label %56, label %55

55:                                               ; preds = %51
  tail call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.53, i32 noundef 392, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8HEkkDual17minorUpdatePrimalEv) #7
  unreachable

56:                                               ; preds = %51
  %57 = getelementptr inbounds i8, ptr %0, i64 16
  %58 = load ptr, ptr %57, align 8, !tbaa !63
  %59 = getelementptr inbounds i8, ptr %58, i64 10784
  %60 = zext nneg i32 %53 to i64
  %61 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %60) #8
  %62 = load double, ptr %61, align 8, !tbaa !64
  %63 = tail call noundef zeroext i1 @_ZN8HEkkDual17newDevexFrameworkEd(ptr noundef nonnull align 8 dereferenceable(10968) %0, double noundef %62)
  %64 = zext i1 %63 to i8
  store i8 %64, ptr %48, align 8, !tbaa !59
  %65 = getelementptr inbounds i8, ptr %0, i64 9
  store i8 %64, ptr %65, align 1, !tbaa !65
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  %66 = getelementptr inbounds i8, ptr %0, i64 2032
  %67 = load double, ptr %66, align 8, !tbaa !66
  %68 = getelementptr inbounds i8, ptr %0, i64 2016
  %69 = load double, ptr %68, align 8, !tbaa !53
  %70 = fmul double %69, %69
  %71 = fdiv double %67, %70
  store double %71, ptr %2, align 8, !tbaa !64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store double 1.000000e+00, ptr %3, align 8, !tbaa !64
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %73 = load double, ptr %72, align 8, !tbaa !64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  %74 = getelementptr inbounds i8, ptr %14, i64 88
  store double %73, ptr %74, align 8, !tbaa !67
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  br label %75

75:                                               ; preds = %56, %47, %40
  %76 = getelementptr inbounds i8, ptr %0, i64 5312
  %77 = load i32, ptr %76, align 8, !tbaa !68
  %78 = icmp sgt i32 %77, 0
  br i1 %78, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %75
  %79 = getelementptr inbounds i8, ptr %0, i64 48
  %80 = getelementptr inbounds i8, ptr %0, i64 1980
  %81 = getelementptr inbounds i8, ptr %0, i64 184
  %82 = getelementptr inbounds i8, ptr %14, i64 88
  br label %83

._crit_edge:                                      ; preds = %119, %75
  ret void

83:                                               ; preds = %.lr.ph, %119
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %119 ]
  %84 = getelementptr inbounds [8 x %"struct.HEkkDual::MChoice"], ptr %5, i64 0, i64 %indvars.iv
  %85 = load i32, ptr %84, align 8, !tbaa !69
  %86 = icmp sgt i32 %85, -1
  br i1 %86, label %87, label %119

87:                                               ; preds = %83
  %88 = getelementptr inbounds i8, ptr %84, i64 56
  %89 = load ptr, ptr %79, align 8, !tbaa !70
  %90 = load i32, ptr %80, align 4, !tbaa !71
  %91 = call noundef double @_ZNK17HighsSparseMatrix10computeDotERK11HVectorBaseIdEi(ptr noundef nonnull align 8 dereferenceable(112) %89, ptr noundef nonnull align 8 dereferenceable(176) %88, i32 noundef %90)
  %92 = load double, ptr %42, align 8, !tbaa !54
  %93 = getelementptr inbounds i8, ptr %84, i64 8
  %94 = load double, ptr %93, align 8, !tbaa !48
  %95 = fneg double %92
  %96 = call double @llvm.fmuladd.f64(double %95, double %91, double %94)
  store double %96, ptr %93, align 8, !tbaa !48
  %97 = getelementptr inbounds i8, ptr %84, i64 16
  %98 = load double, ptr %97, align 8, !tbaa !52
  %99 = getelementptr inbounds i8, ptr %84, i64 24
  %100 = load double, ptr %99, align 8, !tbaa !50
  %101 = load double, ptr %81, align 8, !tbaa !72
  %102 = fsub double %98, %101
  %103 = fcmp olt double %96, %102
  %104 = fsub double %96, %98
  %.044 = select i1 %103, double %104, double 0.000000e+00
  %105 = fadd double %100, %101
  %106 = fcmp ogt double %96, %105
  %107 = fsub double %96, %100
  %.1 = select i1 %106, double %107, double %.044
  %108 = fmul double %.1, %.1
  %109 = getelementptr inbounds i8, ptr %84, i64 32
  store double %108, ptr %109, align 8, !tbaa !73
  %110 = load i32, ptr %44, align 4, !tbaa !58
  %111 = icmp eq i32 %110, 1
  br i1 %111, label %112, label %119

112:                                              ; preds = %87
  %113 = load double, ptr %82, align 8, !tbaa !67
  %114 = getelementptr inbounds i8, ptr %84, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %115 = fmul double %91, %113
  %116 = fmul double %91, %115
  store double %116, ptr %4, align 8, !tbaa !64
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %118 = load double, ptr %117, align 8, !tbaa !64
  store double %118, ptr %114, align 8, !tbaa !74
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %119

119:                                              ; preds = %87, %112, %83
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %120 = load i32, ptr %76, align 8, !tbaa !68
  %121 = sext i32 %120 to i64
  %122 = icmp slt i64 %indvars.iv.next, %121
  br i1 %122, label %83, label %._crit_edge, !llvm.loop !75
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK17HighsSparseMatrix10computeDotERK11HVectorBaseIdEi(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN8HEkkDual17newDevexFrameworkEd(ptr noundef nonnull align 8 dereferenceable(10968), double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn nounwind "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 = { "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 #6 = { inlinehint 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 #7 = { noreturn nounwind }
attributes #8 = { 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, !10, i64 5320}
!6 = !{!"_ZTS8HEkkDual", !7, i64 0, !10, i64 4, !11, i64 8, !11, i64 9, !12, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !11, i64 168, !14, i64 172, !11, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !11, i64 224, !10, i64 228, !10, i64 232, !15, i64 240, !15, i64 416, !15, i64 592, !15, i64 768, !15, i64 944, !15, i64 1120, !15, i64 1296, !28, i64 1472, !10, i64 1808, !42, i64 1816, !10, i64 1968, !10, i64 1972, !10, i64 1976, !10, i64 1980, !13, i64 1984, !13, i64 1992, !13, i64 2000, !13, i64 2008, !13, i64 2016, !13, i64 2024, !13, i64 2032, !11, i64 2040, !10, i64 2044, !10, i64 2048, !8, i64 2052, !8, i64 2088, !8, i64 2984, !8, i64 3880, !43, i64 5288, !10, i64 5312, !10, i64 5316, !10, i64 5320, !10, i64 5324, !10, i64 5328, !10, i64 5332, !8, i64 5336, !8, i64 10008}
!7 = !{!"_ZTS16SimplexAlgorithm", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!"_ZTS14EdgeWeightMode", !8, i64 0}
!15 = !{!"_ZTS11HVectorBaseIdE", !10, i64 0, !10, i64 4, !16, i64 8, !20, i64 32, !13, i64 56, !24, i64 64, !16, i64 88, !12, i64 112, !11, i64 120, !10, i64 124, !16, i64 128, !20, i64 152}
!16 = !{!"_ZTSSt6vectorIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!20 = !{!"_ZTSSt6vectorIdSaIdEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!24 = !{!"_ZTSSt6vectorIcSaIcEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!28 = !{!"_ZTS11HEkkDualRow", !12, i64 0, !10, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !29, i64 56, !10, i64 104, !16, i64 112, !20, i64 136, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !10, i64 192, !10, i64 196, !38, i64 200, !16, i64 224, !10, i64 248, !38, i64 256, !38, i64 280, !16, i64 304, !12, i64 328}
!29 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !32, i64 0, !34, i64 8}
!32 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !33, i64 0}
!33 = !{!"_ZTSSt4lessIiE"}
!34 = !{!"_ZTSSt15_Rb_tree_header", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSSt18_Rb_tree_node_base", !36, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!36 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!37 = !{!"long", !8, i64 0}
!38 = !{!"_ZTSSt6vectorISt4pairIidESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseISt4pairIidESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt4pairIidESaIS1_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairIidESaIS1_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!42 = !{!"_ZTS11HEkkDualRHS", !12, i64 0, !13, i64 8, !10, i64 16, !24, i64 24, !16, i64 48, !20, i64 72, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !16, i64 120, !12, i64 144}
!43 = !{!"_ZTSSt6vectorI11HEkkDualRowSaIS0_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseI11HEkkDualRowSaIS0_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseI11HEkkDualRowSaIS0_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseI11HEkkDualRowSaIS0_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!47 = !{!6, !10, i64 5324}
!48 = !{!49, !13, i64 8}
!49 = !{!"_ZTSN8HEkkDual7MChoiceE", !10, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !15, i64 232, !15, i64 408}
!50 = !{!49, !13, i64 24}
!51 = !{!6, !13, i64 1984}
!52 = !{!49, !13, i64 16}
!53 = !{!6, !13, i64 2016}
!54 = !{!6, !13, i64 2000}
!55 = !{!56, !13, i64 72}
!56 = !{!"_ZTSN8HEkkDual7MFinishE", !8, i64 0, !13, i64 8, !16, i64 16, !10, i64 40, !10, i64 44, !10, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !12, i64 96, !12, i64 104, !12, i64 112}
!57 = !{!56, !13, i64 64}
!58 = !{!6, !14, i64 172}
!59 = !{!6, !11, i64 8}
!60 = !{i8 0, i8 2}
!61 = !{}
!62 = !{!6, !10, i64 1968}
!63 = !{!6, !12, i64 16}
!64 = !{!13, !13, i64 0}
!65 = !{!6, !11, i64 9}
!66 = !{!6, !13, i64 2032}
!67 = !{!56, !13, i64 88}
!68 = !{!6, !10, i64 5312}
!69 = !{!49, !10, i64 0}
!70 = !{!6, !12, i64 48}
!71 = !{!6, !10, i64 1980}
!72 = !{!6, !13, i64 184}
!73 = !{!49, !13, i64 32}
!74 = !{!49, !13, i64 40}
!75 = distinct !{!75, !76}
!76 = !{!"llvm.loop.mustprogress"}


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