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

; 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.HEkkPrimal = type { ptr, ptr, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector.3", i32, i32, %"class.std::vector.8", i32, %class.HSet, i8, i8, i8, i32, i32, %"class.std::vector.8", %"class.std::vector.3", %class.HSet, double, double, i32, i8, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HighsRandom, double, double, double, i32, i32, double, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.HSet = type { i32, %"class.std::vector.8", i8, i8, i8, i8, ptr, i32, %"class.std::vector.8" }
%class.HVectorBase = type { i32, i32, %"class.std::vector.8", %"class.std::vector.3", double, %"class.std::vector.13", %"class.std::vector.8", ptr, i8, i32, %"class.std::vector.8", %"class.std::vector.3" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.HighsRandom = type { i64 }
%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.8", %"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.8", %"class.std::vector.8", double, double, double, i32, i32, i8, i32, i8, i8, i8, i8, double, %"class.std::vector.71", %"class.std::vector.3", %struct.HighsSimplexStats }
%class.HighsSimplexAnalysis = type { ptr, %"class.std::vector.15", %"class.std::vector.15", 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.20", %"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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.26" }
%"struct.std::_Head_base.26" = 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.8", 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.27", %"class.std::vector.27", %"class.std::vector.32", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = 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.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = 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.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.32", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"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.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"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.8", %"class.std::vector.42", %"class.std::vector.42", i64, i32, i32, %"class.std::__cxx11::basic_string" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.47", %"class.std::unique_ptr.55", i64, i64, i64 }
%"class.std::unique_ptr.47" = type { %"struct.std::__uniq_ptr_data.48" }
%"struct.std::__uniq_ptr_data.48" = type { %"class.std::__uniq_ptr_impl.49" }
%"class.std::__uniq_ptr_impl.49" = type { %"class.std::tuple.50" }
%"class.std::tuple.50" = type { %"struct.std::_Tuple_impl.51" }
%"struct.std::_Tuple_impl.51" = type { %"struct.std::_Head_base.54" }
%"struct.std::_Head_base.54" = type { ptr }
%"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.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3" }
%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.8", %"class.std::vector.8", %"class.std::vector.8", %struct.RefactorInfo, i32, i32, i32, i32, i32, i32, i32, double, i8, ptr, ptr, ptr, ptr, double, double, i32, double, %"class.std::unique_ptr.63", %struct.HighsLogOptions, i8, i8, i32, i32, ptr, i32, %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", i32, i32, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %class.HVectorBase }
%struct.RefactorInfo = type { i8, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.42", double }
%"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 }
%struct.ProductFormUpdate = type { i8, i32, i32, %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3" }
%struct.SimplexIterate = type { i8, %struct.SimplexBasis, %struct.InvertibleRepresentation, %"class.std::vector.3" }
%struct.InvertibleRepresentation = type { %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.3" }
%struct.HotStart = type { i8, %struct.RefactorInfo, %"class.std::vector.42" }
%struct.HighsRayRecord = type { i32, i32, %"class.std::vector.3" }
%"class.std::vector.71" = type { %"struct.std::_Vector_base.72" }
%"struct.std::_Vector_base.72" = 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.53 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN10HEkkPrimal12chooseColumnEb = external hidden unnamed_addr constant [42 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [98 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

declare void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) #2

declare void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) #2

; 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) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HEkkPrimal12chooseColumnEb(ptr noundef nonnull align 8 dereferenceable(1616) %0, i1 noundef zeroext %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca i32, align 4
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %24 = zext i1 %1 to i8
  store i8 %24, ptr %4, align 1, !tbaa !9
  %25 = load ptr, ptr %3, align 8
  %26 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %27 = trunc i8 %26 to i1
  br i1 %27, label %28, label %33

28:                                               ; preds = %2
  %29 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 33
  %30 = load i8, ptr %29, align 2, !tbaa !13, !range !11, !noundef !12
  %31 = trunc i8 %30 to i1
  %32 = xor i1 %31, true
  br label %33

33:                                               ; preds = %28, %2
  %34 = phi i1 [ true, %2 ], [ %32, %28 ]
  br i1 %34, label %35, label %36

35:                                               ; preds = %33
  br label %38

36:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.104, ptr noundef @.str.53, i32 noundef 976, ptr noundef @__PRETTY_FUNCTION__._ZN10HEkkPrimal12chooseColumnEb) #6
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %39 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !38
  %41 = getelementptr inbounds %class.HEkk, ptr %40, i32 0, i32 10
  %42 = getelementptr inbounds %struct.SimplexBasis, ptr %41, i32 0, i32 2
  store ptr %42, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %43 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !38
  %45 = getelementptr inbounds %class.HEkk, ptr %44, i32 0, i32 8
  %46 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %45, i32 0, i32 1
  store ptr %46, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store double 0.000000e+00, ptr %7, align 8, !tbaa !39
  %47 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 11
  store i32 -1, ptr %47, align 4, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  %48 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %49 = trunc i8 %48 to i1
  %50 = zext i1 %49 to i8
  store i8 %50, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %51 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 30
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4HSet5countEv(ptr noundef nonnull align 8 dereferenceable(80) %51)
  store ptr %52, ptr %9, align 8, !tbaa !5
  %53 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %204

55:                                               ; preds = %38
  %56 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 32
  %57 = load i8, ptr %56, align 1, !tbaa !41, !range !11, !noundef !12
  %58 = trunc i8 %57 to i1
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void @_ZN10HEkkPrimal17hyperChooseColumnEv(ptr noundef nonnull align 8 dereferenceable(1616) %25)
  br label %60

60:                                               ; preds = %59, %55
  %61 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 32
  %62 = load i8, ptr %61, align 1, !tbaa !41, !range !11, !noundef !12
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %203

64:                                               ; preds = %60
  %65 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !42
  call void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576) %66, i32 noundef 42, i32 noundef 0)
  %67 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 35
  store i32 0, ptr %67, align 8, !tbaa !43
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load i32, ptr %68, align 4, !tbaa !44
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %118

71:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %72 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 30
  %73 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4HSet5entryEv(ptr noundef nonnull align 8 dereferenceable(80) %72)
  store ptr %73, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !44
  br label %74

74:                                               ; preds = %114, %71
  %75 = load i32, ptr %11, align 4, !tbaa !44
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = load i32, ptr %76, align 4, !tbaa !44
  %78 = icmp slt i32 %75, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %117

80:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = load i32, ptr %11, align 4, !tbaa !44
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %83) #7
  %85 = load i32, ptr %84, align 4, !tbaa !44
  store i32 %85, ptr %12, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = load i32, ptr %12, align 4, !tbaa !44
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #7
  %90 = load double, ptr %89, align 8, !tbaa !39
  %91 = call double @llvm.fabs.f64(double %90)
  store double %91, ptr %13, align 8, !tbaa !39
  %92 = load double, ptr %13, align 8, !tbaa !39
  %93 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 8
  %94 = load double, ptr %93, align 8, !tbaa !45
  %95 = fcmp ogt double %92, %94
  br i1 %95, label %96, label %113

96:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %97 = load double, ptr %13, align 8, !tbaa !39
  %98 = load double, ptr %13, align 8, !tbaa !39
  %99 = fmul double %97, %98
  %100 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 25
  %101 = load i32, ptr %12, align 4, !tbaa !44
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %102) #7
  %104 = load double, ptr %103, align 8, !tbaa !39
  %105 = fdiv double %99, %104
  store double %105, ptr %14, align 8, !tbaa !39
  %106 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 35
  %107 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 34
  %108 = load i32, ptr %107, align 4, !tbaa !46
  %109 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 37
  %110 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 36
  %111 = load double, ptr %14, align 8, !tbaa !39
  %112 = load i32, ptr %12, align 4, !tbaa !44
  call void @_Z19addToDecreasingHeapRiiRSt6vectorIdSaIdEERS0_IiSaIiEEdi(ptr noundef nonnull align 4 dereferenceable(4) %106, i32 noundef %108, ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef nonnull align 8 dereferenceable(24) %110, double noundef %111, i32 noundef %112)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %113

113:                                              ; preds = %96, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %11, align 4, !tbaa !44
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %11, align 4, !tbaa !44
  br label %74, !llvm.loop !47

117:                                              ; preds = %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %118

118:                                              ; preds = %117, %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !44
  br label %119

119:                                              ; preds = %162, %118
  %120 = load i32, ptr %15, align 4, !tbaa !44
  %121 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 4
  %122 = load i32, ptr %121, align 8, !tbaa !49
  %123 = icmp slt i32 %120, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %165

125:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = load i32, ptr %15, align 4, !tbaa !44
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #7
  %130 = load i8, ptr %129, align 1, !tbaa !50
  %131 = sext i8 %130 to i32
  %132 = sub nsw i32 0, %131
  %133 = sitofp i32 %132 to double
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = load i32, ptr %15, align 4, !tbaa !44
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %136) #7
  %138 = load double, ptr %137, align 8, !tbaa !39
  %139 = fmul double %133, %138
  store double %139, ptr %16, align 8, !tbaa !39
  %140 = load double, ptr %16, align 8, !tbaa !39
  %141 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 8
  %142 = load double, ptr %141, align 8, !tbaa !45
  %143 = fcmp ogt double %140, %142
  br i1 %143, label %144, label %161

144:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %145 = load double, ptr %16, align 8, !tbaa !39
  %146 = load double, ptr %16, align 8, !tbaa !39
  %147 = fmul double %145, %146
  %148 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 25
  %149 = load i32, ptr %15, align 4, !tbaa !44
  %150 = sext i32 %149 to i64
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %148, i64 noundef %150) #7
  %152 = load double, ptr %151, align 8, !tbaa !39
  %153 = fdiv double %147, %152
  store double %153, ptr %17, align 8, !tbaa !39
  %154 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 35
  %155 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 34
  %156 = load i32, ptr %155, align 4, !tbaa !46
  %157 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 37
  %158 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 36
  %159 = load double, ptr %17, align 8, !tbaa !39
  %160 = load i32, ptr %15, align 4, !tbaa !44
  call void @_Z19addToDecreasingHeapRiiRSt6vectorIdSaIdEERS0_IiSaIiEEdi(ptr noundef nonnull align 4 dereferenceable(4) %154, i32 noundef %156, ptr noundef nonnull align 8 dereferenceable(24) %157, ptr noundef nonnull align 8 dereferenceable(24) %158, double noundef %159, i32 noundef %160)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %161

161:                                              ; preds = %144, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %162

162:                                              ; preds = %161
  %163 = load i32, ptr %15, align 4, !tbaa !44
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %15, align 4, !tbaa !44
  br label %119, !llvm.loop !51

165:                                              ; preds = %124
  %166 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 35
  %167 = load i32, ptr %166, align 8, !tbaa !43
  %168 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 37
  %169 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 36
  call void @_Z18sortDecreasingHeapiRSt6vectorIdSaIdEERS_IiSaIiEE(i32 noundef %167, ptr noundef nonnull align 8 dereferenceable(24) %168, ptr noundef nonnull align 8 dereferenceable(24) %169)
  %170 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 32
  store i8 0, ptr %170, align 1, !tbaa !41
  %171 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 1
  %172 = load ptr, ptr %171, align 8, !tbaa !42
  call void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576) %172, i32 noundef 42, i32 noundef 0)
  %173 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 35
  %174 = load i32, ptr %173, align 8, !tbaa !43
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %202

176:                                              ; preds = %165
  %177 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 36
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %177, i64 noundef 1) #7
  %179 = load i32, ptr %178, align 4, !tbaa !44
  %180 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 11
  store i32 %179, ptr %180, align 4, !tbaa !40
  %181 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 37
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef 1) #7
  %183 = load double, ptr %182, align 8, !tbaa !39
  store double %183, ptr %7, align 8, !tbaa !39
  %184 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 37
  %185 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 35
  %186 = load i32, ptr %185, align 8, !tbaa !43
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %187) #7
  %189 = load double, ptr %188, align 8, !tbaa !39
  %190 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 39
  store double %189, ptr %190, align 8, !tbaa !52
  %191 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 42
  %192 = load i8, ptr %191, align 4, !tbaa !53, !range !11, !noundef !12
  %193 = trunc i8 %192 to i1
  br i1 %193, label %194, label %201

194:                                              ; preds = %176
  %195 = load double, ptr %7, align 8, !tbaa !39
  %196 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 11
  %197 = load i32, ptr %196, align 4, !tbaa !40
  %198 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 39
  %199 = load double, ptr %198, align 8, !tbaa !52
  %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.105, double noundef %195, i32 noundef %197, double noundef %199)
  br label %201

201:                                              ; preds = %194, %176
  br label %202

202:                                              ; preds = %201, %165
  br label %203

203:                                              ; preds = %202, %60
  br label %321

204:                                              ; preds = %38
  %205 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 1
  %206 = load ptr, ptr %205, align 8, !tbaa !42
  call void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576) %206, i32 noundef 41, i32 noundef 0)
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = load i32, ptr %207, align 4, !tbaa !44
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %264

210:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %211 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 30
  %212 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4HSet5entryEv(ptr noundef nonnull align 8 dereferenceable(80) %211)
  store ptr %212, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !44
  br label %213

213:                                              ; preds = %260, %210
  %214 = load i32, ptr %19, align 4, !tbaa !44
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = load i32, ptr %215, align 4, !tbaa !44
  %217 = icmp slt i32 %214, %216
  br i1 %217, label %219, label %218

218:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %263

219:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %220 = load ptr, ptr %18, align 8, !tbaa !5
  %221 = load i32, ptr %19, align 4, !tbaa !44
  %222 = sext i32 %221 to i64
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %220, i64 noundef %222) #7
  %224 = load i32, ptr %223, align 4, !tbaa !44
  store i32 %224, ptr %20, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = load i32, ptr %20, align 4, !tbaa !44
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %225, i64 noundef %227) #7
  %229 = load double, ptr %228, align 8, !tbaa !39
  %230 = call double @llvm.fabs.f64(double %229)
  store double %230, ptr %21, align 8, !tbaa !39
  %231 = load double, ptr %21, align 8, !tbaa !39
  %232 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 8
  %233 = load double, ptr %232, align 8, !tbaa !45
  %234 = fcmp ogt double %231, %233
  br i1 %234, label %235, label %259

235:                                              ; preds = %219
  %236 = load double, ptr %21, align 8, !tbaa !39
  %237 = load double, ptr %21, align 8, !tbaa !39
  %238 = fmul double %236, %237
  %239 = load double, ptr %7, align 8, !tbaa !39
  %240 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 25
  %241 = load i32, ptr %20, align 4, !tbaa !44
  %242 = sext i32 %241 to i64
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %240, i64 noundef %242) #7
  %244 = load double, ptr %243, align 8, !tbaa !39
  %245 = fmul double %239, %244
  %246 = fcmp ogt double %238, %245
  br i1 %246, label %247, label %259

247:                                              ; preds = %235
  %248 = load i32, ptr %20, align 4, !tbaa !44
  %249 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 11
  store i32 %248, ptr %249, align 4, !tbaa !40
  %250 = load double, ptr %21, align 8, !tbaa !39
  %251 = load double, ptr %21, align 8, !tbaa !39
  %252 = fmul double %250, %251
  %253 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 25
  %254 = load i32, ptr %20, align 4, !tbaa !44
  %255 = sext i32 %254 to i64
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %253, i64 noundef %255) #7
  %257 = load double, ptr %256, align 8, !tbaa !39
  %258 = fdiv double %252, %257
  store double %258, ptr %7, align 8, !tbaa !39
  br label %259

259:                                              ; preds = %247, %235, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %260

260:                                              ; preds = %259
  %261 = load i32, ptr %19, align 4, !tbaa !44
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %19, align 4, !tbaa !44
  br label %213, !llvm.loop !54

263:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %264

264:                                              ; preds = %263, %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !44
  br label %265

265:                                              ; preds = %315, %264
  %266 = load i32, ptr %22, align 4, !tbaa !44
  %267 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 4
  %268 = load i32, ptr %267, align 8, !tbaa !49
  %269 = icmp slt i32 %266, %268
  br i1 %269, label %271, label %270

270:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %318

271:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load i32, ptr %22, align 4, !tbaa !44
  %274 = sext i32 %273 to i64
  %275 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef %274) #7
  %276 = load i8, ptr %275, align 1, !tbaa !50
  %277 = sext i8 %276 to i32
  %278 = sub nsw i32 0, %277
  %279 = sitofp i32 %278 to double
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = load i32, ptr %22, align 4, !tbaa !44
  %282 = sext i32 %281 to i64
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %280, i64 noundef %282) #7
  %284 = load double, ptr %283, align 8, !tbaa !39
  %285 = fmul double %279, %284
  store double %285, ptr %23, align 8, !tbaa !39
  %286 = load double, ptr %23, align 8, !tbaa !39
  %287 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 8
  %288 = load double, ptr %287, align 8, !tbaa !45
  %289 = fcmp ogt double %286, %288
  br i1 %289, label %290, label %314

290:                                              ; preds = %271
  %291 = load double, ptr %23, align 8, !tbaa !39
  %292 = load double, ptr %23, align 8, !tbaa !39
  %293 = fmul double %291, %292
  %294 = load double, ptr %7, align 8, !tbaa !39
  %295 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 25
  %296 = load i32, ptr %22, align 4, !tbaa !44
  %297 = sext i32 %296 to i64
  %298 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef %297) #7
  %299 = load double, ptr %298, align 8, !tbaa !39
  %300 = fmul double %294, %299
  %301 = fcmp ogt double %293, %300
  br i1 %301, label %302, label %314

302:                                              ; preds = %290
  %303 = load i32, ptr %22, align 4, !tbaa !44
  %304 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 11
  store i32 %303, ptr %304, align 4, !tbaa !40
  %305 = load double, ptr %23, align 8, !tbaa !39
  %306 = load double, ptr %23, align 8, !tbaa !39
  %307 = fmul double %305, %306
  %308 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 25
  %309 = load i32, ptr %22, align 4, !tbaa !44
  %310 = sext i32 %309 to i64
  %311 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %308, i64 noundef %310) #7
  %312 = load double, ptr %311, align 8, !tbaa !39
  %313 = fdiv double %307, %312
  store double %313, ptr %7, align 8, !tbaa !39
  br label %314

314:                                              ; preds = %302, %290, %271
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %315

315:                                              ; preds = %314
  %316 = load i32, ptr %22, align 4, !tbaa !44
  %317 = add nsw i32 %316, 1
  store i32 %317, ptr %22, align 4, !tbaa !44
  br label %265, !llvm.loop !55

318:                                              ; preds = %270
  %319 = getelementptr inbounds %class.HEkkPrimal, ptr %25, i32 0, i32 1
  %320 = load ptr, ptr %319, align 8, !tbaa !42
  call void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576) %320, i32 noundef 41, i32 noundef 0)
  br label %321

321:                                              ; preds = %318, %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  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
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4HSet5countEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10HEkkPrimal17hyperChooseColumnEv(ptr noundef nonnull align 8 dereferenceable(1616)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4HSet5entryEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

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

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

declare void @_Z19addToDecreasingHeapRiiRSt6vectorIdSaIdEERS0_IiSaIiEEdi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, i32 noundef) #2

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

declare void @_Z18sortDecreasingHeapiRSt6vectorIdSaIdEERS_IiSaIiEE(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !10, i64 338}
!14 = !{!"_ZTS10HEkkPrimal", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !16, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80, !15, i64 84, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !17, i64 128, !15, i64 136, !18, i64 144, !18, i64 168, !22, i64 192, !15, i64 216, !15, i64 220, !26, i64 224, !15, i64 248, !30, i64 256, !10, i64 336, !10, i64 337, !10, i64 338, !15, i64 340, !15, i64 344, !26, i64 352, !22, i64 376, !30, i64 400, !17, i64 480, !17, i64 488, !15, i64 496, !10, i64 500, !31, i64 504, !31, i64 680, !31, i64 856, !31, i64 1032, !31, i64 1208, !31, i64 1384, !36, i64 1560, !17, i64 1568, !17, i64 1576, !17, i64 1584, !15, i64 1592, !15, i64 1596, !17, i64 1600, !15, i64 1608, !15, i64 1612}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS14EdgeWeightMode", !7, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTSSt6vectorISt4pairIdiESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt4pairIdiESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorIiSaIiEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTS4HSet", !15, i64 0, !26, i64 8, !10, i64 32, !10, i64 33, !10, i64 34, !10, i64 35, !6, i64 40, !15, i64 48, !26, i64 56}
!31 = !{!"_ZTS11HVectorBaseIdE", !15, i64 0, !15, i64 4, !26, i64 8, !22, i64 32, !17, i64 56, !32, i64 64, !26, i64 88, !6, i64 112, !10, i64 120, !15, i64 124, !26, i64 128, !22, i64 152}
!32 = !{!"_ZTSSt6vectorIcSaIcEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTS11HighsRandom", !37, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = !{!14, !6, i64 0}
!39 = !{!17, !17, i64 0}
!40 = !{!14, !15, i64 68}
!41 = !{!14, !10, i64 337}
!42 = !{!14, !6, i64 8}
!43 = !{!14, !15, i64 344}
!44 = !{!15, !15, i64 0}
!45 = !{!14, !17, i64 48}
!46 = !{!14, !15, i64 340}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!14, !15, i64 24}
!50 = !{!7, !7, i64 0}
!51 = distinct !{!51, !48}
!52 = !{!14, !17, i64 480}
!53 = !{!14, !10, i64 500}
!54 = distinct !{!54, !48}
!55 = distinct !{!55, !48}


; 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.53 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN10HEkkPrimal12chooseColumnEb = external hidden unnamed_addr constant [42 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [98 x i8], align 1

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

declare void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) local_unnamed_addr #2

; 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 #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HEkkPrimal12chooseColumnEb(ptr noundef nonnull align 8 dereferenceable(1616) %0, i1 noundef zeroext %1) local_unnamed_addr #4 align 2 {
  br i1 %1, label %3, label %106

3:                                                ; preds = %2
  %4 = getelementptr inbounds i8, ptr %0, i64 338
  %5 = load i8, ptr %4, align 2, !tbaa !5, !range !34, !noundef !35
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %7, label %8

7:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.104, ptr noundef nonnull @.str.53, i32 noundef 976, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10HEkkPrimal12chooseColumnEb) #6
  unreachable

8:                                                ; preds = %3
  %9 = load ptr, ptr %0, align 8, !tbaa !36
  %10 = getelementptr inbounds i8, ptr %9, i64 10664
  %11 = getelementptr inbounds i8, ptr %9, i64 9592
  %12 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 -1, ptr %12, align 4, !tbaa !37
  %13 = getelementptr inbounds i8, ptr %0, i64 256
  %14 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4HSet5countEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  %15 = getelementptr inbounds i8, ptr %0, i64 337
  %16 = load i8, ptr %15, align 1, !tbaa !38, !range !34, !noundef !35
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %19, label %18

18:                                               ; preds = %8
  tail call void @_ZN10HEkkPrimal17hyperChooseColumnEv(ptr noundef nonnull align 8 dereferenceable(1616) %0)
  %.pre = load i8, ptr %15, align 1, !tbaa !38, !range !34
  br label %19

19:                                               ; preds = %18, %8
  %20 = phi i8 [ %.pre, %18 ], [ %16, %8 ]
  %21 = trunc nuw i8 %20 to i1
  br i1 %21, label %22, label %177

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %0, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !39
  tail call void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576) %24, i32 noundef 42, i32 noundef 0)
  %25 = getelementptr inbounds i8, ptr %0, i64 344
  store i32 0, ptr %25, align 8, !tbaa !40
  %26 = load i32, ptr %14, align 4, !tbaa !41
  %.not72 = icmp eq i32 %26, 0
  br i1 %.not72, label %.loopexit, label %27

27:                                               ; preds = %22
  %28 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4HSet5entryEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  %29 = load i32, ptr %14, align 4, !tbaa !41
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph82, label %.loopexit

.lr.ph82:                                         ; preds = %27
  %31 = getelementptr inbounds i8, ptr %0, i64 48
  %32 = getelementptr inbounds i8, ptr %0, i64 192
  %33 = getelementptr inbounds i8, ptr %0, i64 340
  %34 = getelementptr inbounds i8, ptr %0, i64 376
  %35 = getelementptr inbounds i8, ptr %0, i64 352
  br label %36

36:                                               ; preds = %.lr.ph82, %51
  %indvars.iv91 = phi i64 [ 0, %.lr.ph82 ], [ %indvars.iv.next92, %51 ]
  %37 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %indvars.iv91) #7
  %38 = load i32, ptr %37, align 4, !tbaa !41
  %39 = sext i32 %38 to i64
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %39) #7
  %41 = load double, ptr %40, align 8, !tbaa !42
  %42 = tail call double @llvm.fabs.f64(double %41)
  %43 = load double, ptr %31, align 8, !tbaa !43
  %44 = fcmp ogt double %42, %43
  br i1 %44, label %45, label %51

45:                                               ; preds = %36
  %46 = fmul double %41, %41
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %39) #7
  %48 = load double, ptr %47, align 8, !tbaa !42
  %49 = fdiv double %46, %48
  %50 = load i32, ptr %33, align 4, !tbaa !44
  tail call void @_Z19addToDecreasingHeapRiiRSt6vectorIdSaIdEERS0_IiSaIiEEdi(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef %50, ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %35, double noundef %49, i32 noundef %38)
  br label %51

51:                                               ; preds = %45, %36
  %indvars.iv.next92 = add nuw nsw i64 %indvars.iv91, 1
  %52 = load i32, ptr %14, align 4, !tbaa !41
  %53 = sext i32 %52 to i64
  %54 = icmp slt i64 %indvars.iv.next92, %53
  br i1 %54, label %36, label %.loopexit, !llvm.loop !45

.loopexit:                                        ; preds = %51, %27, %22
  %55 = getelementptr inbounds i8, ptr %0, i64 24
  %56 = load i32, ptr %55, align 8, !tbaa !47
  %57 = icmp sgt i32 %56, 0
  br i1 %57, label %.lr.ph85, label %._crit_edge86

.lr.ph85:                                         ; preds = %.loopexit
  %58 = getelementptr inbounds i8, ptr %0, i64 48
  %59 = getelementptr inbounds i8, ptr %0, i64 192
  %60 = getelementptr inbounds i8, ptr %0, i64 340
  %61 = getelementptr inbounds i8, ptr %0, i64 376
  %62 = getelementptr inbounds i8, ptr %0, i64 352
  br label %68

._crit_edge86:                                    ; preds = %86, %.loopexit
  %63 = load i32, ptr %25, align 8, !tbaa !40
  %64 = getelementptr inbounds i8, ptr %0, i64 376
  %65 = getelementptr inbounds i8, ptr %0, i64 352
  tail call void @_Z18sortDecreasingHeapiRSt6vectorIdSaIdEERS_IiSaIiEE(i32 noundef %63, ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 8 dereferenceable(24) %65)
  store i8 0, ptr %15, align 1, !tbaa !38
  %66 = load ptr, ptr %23, align 8, !tbaa !39
  tail call void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576) %66, i32 noundef 42, i32 noundef 0)
  %67 = load i32, ptr %25, align 8, !tbaa !40
  %.not73 = icmp eq i32 %67, 0
  br i1 %.not73, label %177, label %90

68:                                               ; preds = %.lr.ph85, %86
  %indvars.iv94 = phi i64 [ 0, %.lr.ph85 ], [ %indvars.iv.next95, %86 ]
  %69 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv94) #7
  %70 = load i8, ptr %69, align 1, !tbaa !48
  %71 = sext i8 %70 to i32
  %72 = sub nsw i32 0, %71
  %73 = sitofp i32 %72 to double
  %74 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv94) #7
  %75 = load double, ptr %74, align 8, !tbaa !42
  %76 = fmul double %75, %73
  %77 = load double, ptr %58, align 8, !tbaa !43
  %78 = fcmp ogt double %76, %77
  br i1 %78, label %79, label %86

79:                                               ; preds = %68
  %80 = fmul double %76, %76
  %81 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %indvars.iv94) #7
  %82 = load double, ptr %81, align 8, !tbaa !42
  %83 = fdiv double %80, %82
  %84 = load i32, ptr %60, align 4, !tbaa !44
  %85 = trunc nuw nsw i64 %indvars.iv94 to i32
  tail call void @_Z19addToDecreasingHeapRiiRSt6vectorIdSaIdEERS0_IiSaIiEEdi(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef %84, ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 8 dereferenceable(24) %62, double noundef %83, i32 noundef %85)
  br label %86

86:                                               ; preds = %79, %68
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %87 = load i32, ptr %55, align 8, !tbaa !47
  %88 = sext i32 %87 to i64
  %89 = icmp slt i64 %indvars.iv.next95, %88
  br i1 %89, label %68, label %._crit_edge86, !llvm.loop !49

90:                                               ; preds = %._crit_edge86
  %91 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef 1) #7
  %92 = load i32, ptr %91, align 4, !tbaa !41
  store i32 %92, ptr %12, align 4, !tbaa !37
  %93 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef 1) #7
  %94 = load double, ptr %93, align 8, !tbaa !42
  %95 = load i32, ptr %25, align 8, !tbaa !40
  %96 = sext i32 %95 to i64
  %97 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %96) #7
  %98 = load double, ptr %97, align 8, !tbaa !42
  %99 = getelementptr inbounds i8, ptr %0, i64 480
  store double %98, ptr %99, align 8, !tbaa !50
  %100 = getelementptr inbounds i8, ptr %0, i64 500
  %101 = load i8, ptr %100, align 4, !tbaa !51, !range !34, !noundef !35
  %102 = trunc nuw i8 %101 to i1
  br i1 %102, label %103, label %177

103:                                              ; preds = %90
  %104 = load i32, ptr %12, align 4, !tbaa !37
  %105 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.105, double noundef %94, i32 noundef %104, double noundef %98)
  br label %177

106:                                              ; preds = %2
  %107 = load ptr, ptr %0, align 8, !tbaa !36
  %108 = getelementptr inbounds i8, ptr %107, i64 10664
  %109 = getelementptr inbounds i8, ptr %107, i64 9592
  %110 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 -1, ptr %110, align 4, !tbaa !37
  %111 = getelementptr inbounds i8, ptr %0, i64 256
  %112 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4HSet5countEv(ptr noundef nonnull align 8 dereferenceable(80) %111)
  %113 = getelementptr inbounds i8, ptr %0, i64 8
  %114 = load ptr, ptr %113, align 8, !tbaa !39
  tail call void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576) %114, i32 noundef 41, i32 noundef 0)
  %115 = load i32, ptr %112, align 4, !tbaa !41
  %.not = icmp eq i32 %115, 0
  br i1 %.not, label %.loopexit74, label %116

116:                                              ; preds = %106
  %117 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4HSet5entryEv(ptr noundef nonnull align 8 dereferenceable(80) %111)
  %118 = load i32, ptr %112, align 4, !tbaa !41
  %119 = icmp sgt i32 %118, 0
  br i1 %119, label %.lr.ph, label %.loopexit74

.lr.ph:                                           ; preds = %116
  %120 = getelementptr inbounds i8, ptr %0, i64 48
  %121 = getelementptr inbounds i8, ptr %0, i64 192
  br label %122

122:                                              ; preds = %.lr.ph, %141
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %141 ]
  %.076 = phi double [ 0.000000e+00, %.lr.ph ], [ %.1, %141 ]
  %123 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %indvars.iv) #7
  %124 = load i32, ptr %123, align 4, !tbaa !41
  %125 = sext i32 %124 to i64
  %126 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %125) #7
  %127 = load double, ptr %126, align 8, !tbaa !42
  %128 = tail call double @llvm.fabs.f64(double %127)
  %129 = load double, ptr %120, align 8, !tbaa !43
  %130 = fcmp ogt double %128, %129
  br i1 %130, label %131, label %141

131:                                              ; preds = %122
  %132 = fmul double %127, %127
  %133 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %125) #7
  %134 = load double, ptr %133, align 8, !tbaa !42
  %135 = fmul double %.076, %134
  %136 = fcmp ogt double %132, %135
  br i1 %136, label %137, label %141

137:                                              ; preds = %131
  store i32 %124, ptr %110, align 4, !tbaa !37
  %138 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %125) #7
  %139 = load double, ptr %138, align 8, !tbaa !42
  %140 = fdiv double %132, %139
  br label %141

141:                                              ; preds = %137, %131, %122
  %.1 = phi double [ %140, %137 ], [ %.076, %131 ], [ %.076, %122 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %142 = load i32, ptr %112, align 4, !tbaa !41
  %143 = sext i32 %142 to i64
  %144 = icmp slt i64 %indvars.iv.next, %143
  br i1 %144, label %122, label %.loopexit74, !llvm.loop !52

.loopexit74:                                      ; preds = %141, %116, %106
  %.2 = phi double [ 0.000000e+00, %106 ], [ 0.000000e+00, %116 ], [ %.1, %141 ]
  %145 = getelementptr inbounds i8, ptr %0, i64 24
  %146 = load i32, ptr %145, align 8, !tbaa !47
  %147 = icmp sgt i32 %146, 0
  br i1 %147, label %.lr.ph79, label %._crit_edge

.lr.ph79:                                         ; preds = %.loopexit74
  %148 = getelementptr inbounds i8, ptr %0, i64 48
  %149 = getelementptr inbounds i8, ptr %0, i64 192
  br label %151

._crit_edge:                                      ; preds = %173, %.loopexit74
  %150 = load ptr, ptr %113, align 8, !tbaa !39
  tail call void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576) %150, i32 noundef 41, i32 noundef 0)
  br label %177

151:                                              ; preds = %.lr.ph79, %173
  %indvars.iv88 = phi i64 [ 0, %.lr.ph79 ], [ %indvars.iv.next89, %173 ]
  %.378 = phi double [ %.2, %.lr.ph79 ], [ %.4, %173 ]
  %152 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %indvars.iv88) #7
  %153 = load i8, ptr %152, align 1, !tbaa !48
  %154 = sext i8 %153 to i32
  %155 = sub nsw i32 0, %154
  %156 = sitofp i32 %155 to double
  %157 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %indvars.iv88) #7
  %158 = load double, ptr %157, align 8, !tbaa !42
  %159 = fmul double %158, %156
  %160 = load double, ptr %148, align 8, !tbaa !43
  %161 = fcmp ogt double %159, %160
  br i1 %161, label %162, label %173

162:                                              ; preds = %151
  %163 = fmul double %159, %159
  %164 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %indvars.iv88) #7
  %165 = load double, ptr %164, align 8, !tbaa !42
  %166 = fmul double %.378, %165
  %167 = fcmp ogt double %163, %166
  br i1 %167, label %168, label %173

168:                                              ; preds = %162
  %169 = trunc nuw nsw i64 %indvars.iv88 to i32
  store i32 %169, ptr %110, align 4, !tbaa !37
  %170 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %indvars.iv88) #7
  %171 = load double, ptr %170, align 8, !tbaa !42
  %172 = fdiv double %163, %171
  br label %173

173:                                              ; preds = %168, %162, %151
  %.4 = phi double [ %172, %168 ], [ %.378, %162 ], [ %.378, %151 ]
  %indvars.iv.next89 = add nuw nsw i64 %indvars.iv88, 1
  %174 = load i32, ptr %145, align 8, !tbaa !47
  %175 = sext i32 %174 to i64
  %176 = icmp slt i64 %indvars.iv.next89, %175
  br i1 %176, label %151, label %._crit_edge, !llvm.loop !53

177:                                              ; preds = %19, %90, %103, %._crit_edge86, %._crit_edge
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4HSet5countEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10HEkkPrimal17hyperChooseColumnEv(ptr noundef nonnull align 8 dereferenceable(1616)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4HSet5entryEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

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

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

declare void @_Z19addToDecreasingHeapRiiRSt6vectorIdSaIdEERS0_IiSaIiEEdi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, i32 noundef) local_unnamed_addr #2

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

declare void @_Z18sortDecreasingHeapiRSt6vectorIdSaIdEERS_IiSaIiEE(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

attributes #0 = { 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 #1 = { nofree 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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, !26, i64 338}
!6 = !{!"_ZTS10HEkkPrimal", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !11, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !10, i64 136, !13, i64 144, !13, i64 168, !17, i64 192, !10, i64 216, !10, i64 220, !21, i64 224, !10, i64 248, !25, i64 256, !26, i64 336, !26, i64 337, !26, i64 338, !10, i64 340, !10, i64 344, !21, i64 352, !17, i64 376, !25, i64 400, !12, i64 480, !12, i64 488, !10, i64 496, !26, i64 500, !27, i64 504, !27, i64 680, !27, i64 856, !27, i64 1032, !27, i64 1208, !27, i64 1384, !32, i64 1560, !12, i64 1568, !12, i64 1576, !12, i64 1584, !10, i64 1592, !10, i64 1596, !12, i64 1600, !10, i64 1608, !10, i64 1612}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS14EdgeWeightMode", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTSSt6vectorISt4pairIdiESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseISt4pairIdiESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!"_ZTSSt6vectorIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!25 = !{!"_ZTS4HSet", !10, i64 0, !21, i64 8, !26, i64 32, !26, i64 33, !26, i64 34, !26, i64 35, !7, i64 40, !10, i64 48, !21, i64 56}
!26 = !{!"bool", !8, i64 0}
!27 = !{!"_ZTS11HVectorBaseIdE", !10, i64 0, !10, i64 4, !21, i64 8, !17, i64 32, !12, i64 56, !28, i64 64, !21, i64 88, !7, i64 112, !26, i64 120, !10, i64 124, !21, i64 128, !17, i64 152}
!28 = !{!"_ZTSSt6vectorIcSaIcEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!32 = !{!"_ZTS11HighsRandom", !33, i64 0}
!33 = !{!"long", !8, i64 0}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!6, !7, i64 0}
!37 = !{!6, !10, i64 68}
!38 = !{!6, !26, i64 337}
!39 = !{!6, !7, i64 8}
!40 = !{!6, !10, i64 344}
!41 = !{!10, !10, i64 0}
!42 = !{!12, !12, i64 0}
!43 = !{!6, !12, i64 48}
!44 = !{!6, !10, i64 340}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = !{!6, !10, i64 24}
!48 = !{!8, !8, i64 0}
!49 = distinct !{!49, !46}
!50 = !{!6, !12, i64 480}
!51 = !{!6, !26, i64 500}
!52 = distinct !{!52, !46}
!53 = distinct !{!53, !46}


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