; LLVM IR from ERGO-Code/HiGHS :: src/presolve (HPresolve)

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

%struct.HighsTripletListSlice = type { %class.HighsMatrixSlice.base.391, [4 x i8] }
%class.HighsMatrixSlice.base.391 = type <{ ptr, ptr, ptr, i32 }>
%"struct.std::_Bit_reference" = type { ptr, i64 }
%class.anon.496 = type { ptr, ptr, ptr }
%class.HighsCDouble = type { double, double }
%"class.presolve::HPresolve" = type { ptr, ptr, ptr, ptr, double, %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.25", %"class.std::vector.25", %class.HighsLinearSumBounds, %class.HighsLinearSumBounds, %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.35", %"class.std::unordered_map", %"class.std::set", %"class.std::vector.48", i8, i64, %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.53", i64, i32, i32, i32, i32, i32, i32, i8, i32, %class.HPresolveAnalysis }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsLinearSumBounds = type { %"class.std::vector.30", %"class.std::vector.30", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.30", %"class.std::vector.30", %"class.std::vector.5", %"class.std::vector.5", ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, 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.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HPresolveAnalysis = type { ptr, ptr, ptr, ptr, ptr, i32, i32, %"class.std::vector.58", i8, i8, i32, i32, i32, %struct.HighsPresolveLog }
%"class.std::vector.58" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%struct.HighsPresolveLog = type { %"class.std::vector.62" }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsLp = type { i32, i32, %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.67", %"class.std::vector.67", %"class.std::vector.72", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%class.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20" }
%"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] }
%"class.std::vector.67" = type { %"struct.std::_Vector_base.68" }
%"struct.std::_Vector_base.68" = 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.72" = type { %"struct.std::_Vector_base.73" }
%"struct.std::_Vector_base.73" = 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.77" }
%"class.std::unordered_map.77" = type { %"class.std::_Hashtable.78" }
%"class.std::_Hashtable.78" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%struct.HighsScale = type { i32, i8, i32, i32, double, %"class.std::vector.20", %"class.std::vector.20" }
%struct.HighsLpMods = type { %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.72", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20" }
%struct.HighsOptionsStruct = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i8, i8, i32, i32, double, i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, double, double, double, double, double, double, double, double, double, double, double, i8, i8, i8, i8, i32, double, i8, i8, %"class.std::__cxx11::basic_string", double, i32, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, i8, i8, %"class.std::__cxx11::basic_string", i8, i32, %struct.HighsLogOptions }
%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 } }

@.str.55 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE = external hidden unnamed_addr constant [114 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [49 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 nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorI12HighsVarTypeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8presolve9HPresolve15getColumnVectorEi(ptr dead_on_unwind noalias writable sret(%struct.HighsTripletListSlice) align 8, ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef) #3 align 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) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve14changeColLowerEid(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef, double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve14changeColUpperEid(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef, double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8presolve9HPresolve19removeRowSingletonsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720), ptr noundef nonnull align 8 dereferenceable(224)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve9removeRowEi(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8presolve9HPresolve11checkLimitsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720), ptr noundef nonnull align 8 dereferenceable(224)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16), double noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8presolve9HPresolve14markColDeletedEi(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve10substituteEiidd(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef, i32 noundef, double noundef, double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE(ptr noundef nonnull align 8 dereferenceable(1720) %0, ptr noundef nonnull align 8 dereferenceable(224) %1, i32 noundef %2, i32 noundef %3) #3 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::_Bit_reference", align 8
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %class.anon.496, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca %class.HighsCDouble, align 8
  %30 = alloca %class.HighsCDouble, align 8
  %31 = alloca %class.HighsCDouble, align 8
  %32 = alloca %class.HighsCDouble, align 8
  %33 = alloca %class.HighsCDouble, align 8
  %34 = alloca %class.HighsCDouble, align 8
  %35 = alloca %class.HighsCDouble, align 8
  %36 = alloca %class.HighsCDouble, align 8
  %37 = alloca %class.HighsCDouble, align 8
  %38 = alloca %class.HighsCDouble, align 8
  %39 = alloca %class.HighsCDouble, align 8
  %40 = alloca %class.HighsCDouble, align 8
  %41 = alloca i8, align 1
  %42 = alloca i8, align 1
  %43 = alloca %struct.HighsTripletListSlice, align 8
  %44 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !11
  %45 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %46 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 58
  %47 = getelementptr inbounds %class.HPresolveAnalysis, ptr %46, i32 0, i32 7
  %48 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %47, i64 noundef 9)
  %49 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %50 = extractvalue { ptr, i64 } %48, 0
  store ptr %50, ptr %49, align 8
  %51 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %52 = extractvalue { ptr, i64 } %48, 1
  store i64 %52, ptr %51, align 8
  %53 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br i1 %53, label %54, label %55

54:                                               ; preds = %4
  br label %57

55:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.55, i32 noundef 2824, ptr noundef @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

56:                                               ; No predecessors!
  br label %57

57:                                               ; preds = %56, %54
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  %58 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 58
  %59 = getelementptr inbounds %class.HPresolveAnalysis, ptr %58, i32 0, i32 9
  %60 = load i8, ptr %59, align 1, !tbaa !13, !range !77, !noundef !78
  %61 = trunc i8 %60 to i1
  %62 = zext i1 %61 to i8
  store i8 %62, ptr %11, align 1, !tbaa !79
  %63 = load i8, ptr %11, align 1, !tbaa !79, !range !77, !noundef !78
  %64 = trunc i8 %63 to i1
  br i1 %64, label %65, label %67

65:                                               ; preds = %57
  %66 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 58
  call void @_ZN17HPresolveAnalysis20startPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128) %66, i32 noundef 9)
  br label %67

67:                                               ; preds = %65, %57
  %68 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 46
  %69 = load i32, ptr %8, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %70) #7
  %72 = load i8, ptr %71, align 1, !tbaa !80
  %73 = icmp ne i8 %72, 0
  %74 = xor i1 %73, true
  br i1 %74, label %75, label %76

75:                                               ; preds = %67
  br label %78

76:                                               ; preds = %67
  call void @__assert_fail(ptr noundef @.str.79, ptr noundef @.str.55, i32 noundef 2828, ptr noundef @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

77:                                               ; No predecessors!
  br label %78

78:                                               ; preds = %77, %75
  %79 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 14
  %80 = load i32, ptr %8, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %81) #7
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = icmp eq i32 %83, 2
  br i1 %84, label %85, label %86

85:                                               ; preds = %78
  br label %88

86:                                               ; preds = %78
  call void @__assert_fail(ptr noundef @.str.102, ptr noundef @.str.55, i32 noundef 2829, ptr noundef @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

87:                                               ; No predecessors!
  br label %88

88:                                               ; preds = %87, %85
  %89 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !81
  %91 = getelementptr inbounds %class.HighsLp, ptr %90, i32 0, i32 5
  %92 = load i32, ptr %8, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %93) #7
  %95 = load double, ptr %94, align 8, !tbaa !82
  %96 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !81
  %98 = getelementptr inbounds %class.HighsLp, ptr %97, i32 0, i32 6
  %99 = load i32, ptr %8, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %100) #7
  %102 = load double, ptr %101, align 8, !tbaa !82
  %103 = fcmp oeq double %95, %102
  br i1 %103, label %104, label %105

104:                                              ; preds = %88
  br label %107

105:                                              ; preds = %88
  call void @__assert_fail(ptr noundef @.str.103, ptr noundef @.str.55, i32 noundef 2830, ptr noundef @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

106:                                              ; No predecessors!
  br label %107

107:                                              ; preds = %106, %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %108 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 11
  %109 = load i32, ptr %8, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %110) #7
  %112 = load i32, ptr %111, align 4, !tbaa !9
  store i32 %112, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %113 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 13
  %114 = load i32, ptr %12, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %115) #7
  %117 = load i32, ptr %116, align 4, !tbaa !9
  %118 = icmp ne i32 %117, -1
  br i1 %118, label %119, label %125

119:                                              ; preds = %107
  %120 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 13
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %122) #7
  %124 = load i32, ptr %123, align 4, !tbaa !9
  br label %131

125:                                              ; preds = %107
  %126 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 12
  %127 = load i32, ptr %12, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #7
  %130 = load i32, ptr %129, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %125, %119
  %132 = phi i32 [ %124, %119 ], [ %130, %125 ]
  store i32 %132, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  %133 = getelementptr inbounds %class.anon.496, ptr %14, i32 0, i32 0
  store ptr %45, ptr %133, align 8, !tbaa !83
  %134 = getelementptr inbounds %class.anon.496, ptr %14, i32 0, i32 1
  store ptr %12, ptr %134, align 8, !tbaa !5
  %135 = getelementptr inbounds %class.anon.496, ptr %14, i32 0, i32 2
  store ptr %13, ptr %135, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %136 = call noundef zeroext i1 @"_ZZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %14)
  br i1 %136, label %137, label %158

137:                                              ; preds = %131
  %138 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 7
  %139 = load i32, ptr %12, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %140) #7
  %142 = load i32, ptr %141, align 4, !tbaa !9
  store i32 %142, ptr %15, align 4, !tbaa !9
  %143 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 7
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #7
  %147 = load i32, ptr %146, align 4, !tbaa !9
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 5
  %149 = load i32, ptr %12, align 4, !tbaa !9
  %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 !82
  store double %152, ptr %17, align 8, !tbaa !82
  %153 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 5
  %154 = load i32, ptr %13, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %155) #7
  %157 = load double, ptr %156, align 8, !tbaa !82
  store double %157, ptr %18, align 8, !tbaa !82
  br label %179

158:                                              ; preds = %131
  %159 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 7
  %160 = load i32, ptr %13, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %161) #7
  %163 = load i32, ptr %162, align 4, !tbaa !9
  store i32 %163, ptr %15, align 4, !tbaa !9
  %164 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 7
  %165 = load i32, ptr %12, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %164, i64 noundef %166) #7
  %168 = load i32, ptr %167, align 4, !tbaa !9
  store i32 %168, ptr %16, align 4, !tbaa !9
  %169 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 5
  %170 = load i32, ptr %13, align 4, !tbaa !9
  %171 = sext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %171) #7
  %173 = load double, ptr %172, align 8, !tbaa !82
  store double %173, ptr %17, align 8, !tbaa !82
  %174 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 5
  %175 = load i32, ptr %12, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %176) #7
  %178 = load double, ptr %177, align 8, !tbaa !82
  store double %178, ptr %18, align 8, !tbaa !82
  br label %179

179:                                              ; preds = %158, %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %180 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %181 = load ptr, ptr %180, align 8, !tbaa !81
  %182 = getelementptr inbounds %class.HighsLp, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %8, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %184) #7
  %186 = load double, ptr %185, align 8, !tbaa !82
  store double %186, ptr %19, align 8, !tbaa !82
  %187 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8, !tbaa !81
  %189 = getelementptr inbounds %class.HighsLp, ptr %188, i32 0, i32 16
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorI12HighsVarTypeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %191) #7
  %193 = load i8, ptr %192, align 1, !tbaa !85
  %194 = icmp eq i8 %193, 1
  br i1 %194, label %195, label %243

195:                                              ; preds = %179
  %196 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %197 = load ptr, ptr %196, align 8, !tbaa !81
  %198 = getelementptr inbounds %class.HighsLp, ptr %197, i32 0, i32 16
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorI12HighsVarTypeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %198, i64 noundef %200) #7
  %202 = load i8, ptr %201, align 1, !tbaa !85
  %203 = icmp eq i8 %202, 1
  br i1 %203, label %204, label %243

204:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %205 = load double, ptr %18, align 8, !tbaa !82
  %206 = load double, ptr %17, align 8, !tbaa !82
  %207 = fdiv double %205, %206
  %208 = call double @llvm.round.f64(double %207)
  %209 = load double, ptr %17, align 8, !tbaa !82
  %210 = fmul double %208, %209
  store double %210, ptr %20, align 8, !tbaa !82
  %211 = load double, ptr %20, align 8, !tbaa !82
  %212 = load double, ptr %18, align 8, !tbaa !82
  %213 = fsub double %211, %212
  %214 = call double @llvm.fabs.f64(double %213)
  %215 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 1
  %216 = load ptr, ptr %215, align 8, !tbaa !87
  %217 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %216, i32 0, i32 12
  %218 = load double, ptr %217, align 8, !tbaa !88
  %219 = fcmp ogt double %214, %218
  br i1 %219, label %220, label %221

220:                                              ; preds = %204
  store i32 0, ptr %5, align 4
  store i32 1, ptr %21, align 4
  br label %240

221:                                              ; preds = %204
  %222 = load double, ptr %20, align 8, !tbaa !82
  store double %222, ptr %18, align 8, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %223 = load double, ptr %19, align 8, !tbaa !82
  %224 = load double, ptr %17, align 8, !tbaa !82
  %225 = fdiv double %223, %224
  %226 = call double @llvm.round.f64(double %225)
  %227 = load double, ptr %17, align 8, !tbaa !82
  %228 = fmul double %226, %227
  store double %228, ptr %22, align 8, !tbaa !82
  %229 = load double, ptr %19, align 8, !tbaa !82
  %230 = load double, ptr %22, align 8, !tbaa !82
  %231 = fsub double %229, %230
  %232 = call double @llvm.fabs.f64(double %231)
  %233 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 4
  %234 = load double, ptr %233, align 8, !tbaa !95
  %235 = fcmp ogt double %232, %234
  br i1 %235, label %236, label %237

236:                                              ; preds = %221
  store i32 1, ptr %5, align 4
  store i32 1, ptr %21, align 4
  br label %239

237:                                              ; preds = %221
  %238 = load double, ptr %22, align 8, !tbaa !82
  store double %238, ptr %19, align 8, !tbaa !82
  store i32 0, ptr %21, align 4
  br label %239

239:                                              ; preds = %237, %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %240

240:                                              ; preds = %239, %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  %241 = load i32, ptr %21, align 4
  switch i32 %241, label %455 [
    i32 0, label %242
  ]

242:                                              ; preds = %240
  br label %243

243:                                              ; preds = %242, %195, %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %244 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %245 = load ptr, ptr %244, align 8, !tbaa !81
  %246 = getelementptr inbounds %class.HighsLp, ptr %245, i32 0, i32 3
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = sext i32 %247 to i64
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %246, i64 noundef %248) #7
  %250 = load double, ptr %249, align 8, !tbaa !82
  store double %250, ptr %23, align 8, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %251 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %252 = load ptr, ptr %251, align 8, !tbaa !81
  %253 = getelementptr inbounds %class.HighsLp, ptr %252, i32 0, i32 4
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %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 !82
  store double %257, ptr %24, align 8, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %258 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %259 = load ptr, ptr %258, align 8, !tbaa !81
  %260 = getelementptr inbounds %class.HighsLp, ptr %259, i32 0, i32 3
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = sext i32 %261 to i64
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %260, i64 noundef %262) #7
  %264 = load double, ptr %263, align 8, !tbaa !82
  store double %264, ptr %25, align 8, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %265 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !81
  %267 = getelementptr inbounds %class.HighsLp, ptr %266, i32 0, i32 4
  %268 = load i32, ptr %15, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  %270 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %267, i64 noundef %269) #7
  %271 = load double, ptr %270, align 8, !tbaa !82
  store double %271, ptr %26, align 8, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %272 = load double, ptr %17, align 8, !tbaa !82
  %273 = call noundef zeroext i1 @_ZSt7signbitd(double noundef %272)
  %274 = zext i1 %273 to i32
  %275 = load double, ptr %18, align 8, !tbaa !82
  %276 = call noundef zeroext i1 @_ZSt7signbitd(double noundef %275)
  %277 = zext i1 %276 to i32
  %278 = icmp ne i32 %274, %277
  br i1 %278, label %279, label %324

279:                                              ; preds = %243
  %280 = load double, ptr %25, align 8, !tbaa !82
  %281 = fcmp oeq double %280, 0xFFF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  br i1 %281, label %282, label %283

282:                                              ; preds = %279
  br label %300

283:                                              ; preds = %279
  %284 = load double, ptr %19, align 8, !tbaa !82
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %31, double noundef %284)
  %285 = load double, ptr %17, align 8, !tbaa !82
  %286 = load double, ptr %25, align 8, !tbaa !82
  %287 = fmul double %285, %286
  %288 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %31, double noundef %287)
  %289 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %290 = extractvalue { double, double } %288, 0
  store double %290, ptr %289, align 8
  %291 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %292 = extractvalue { double, double } %288, 1
  store double %292, ptr %291, align 8
  %293 = load double, ptr %18, align 8, !tbaa !82
  %294 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %30, double noundef %293)
  %295 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %296 = extractvalue { double, double } %294, 0
  store double %296, ptr %295, align 8
  %297 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %298 = extractvalue { double, double } %294, 1
  store double %298, ptr %297, align 8
  %299 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  br label %300

300:                                              ; preds = %283, %282
  %301 = phi double [ 0xFFF0000000000000, %282 ], [ %299, %283 ]
  store double %301, ptr %27, align 8, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  %302 = load double, ptr %26, align 8, !tbaa !82
  %303 = fcmp oeq double %302, 0x7FF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  br i1 %303, label %304, label %305

304:                                              ; preds = %300
  br label %322

305:                                              ; preds = %300
  %306 = load double, ptr %19, align 8, !tbaa !82
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %34, double noundef %306)
  %307 = load double, ptr %17, align 8, !tbaa !82
  %308 = load double, ptr %26, align 8, !tbaa !82
  %309 = fmul double %307, %308
  %310 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %34, double noundef %309)
  %311 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %312 = extractvalue { double, double } %310, 0
  store double %312, ptr %311, align 8
  %313 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %314 = extractvalue { double, double } %310, 1
  store double %314, ptr %313, align 8
  %315 = load double, ptr %18, align 8, !tbaa !82
  %316 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %33, double noundef %315)
  %317 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %318 = extractvalue { double, double } %316, 0
  store double %318, ptr %317, align 8
  %319 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %320 = extractvalue { double, double } %316, 1
  store double %320, ptr %319, align 8
  %321 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %32)
  br label %322

322:                                              ; preds = %305, %304
  %323 = phi double [ 0x7FF0000000000000, %304 ], [ %321, %305 ]
  store double %323, ptr %28, align 8, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  br label %369

324:                                              ; preds = %243
  %325 = load double, ptr %26, align 8, !tbaa !82
  %326 = fcmp oeq double %325, 0x7FF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #7
  br i1 %326, label %327, label %328

327:                                              ; preds = %324
  br label %345

328:                                              ; preds = %324
  %329 = load double, ptr %19, align 8, !tbaa !82
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %37, double noundef %329)
  %330 = load double, ptr %17, align 8, !tbaa !82
  %331 = load double, ptr %26, align 8, !tbaa !82
  %332 = fmul double %330, %331
  %333 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %37, double noundef %332)
  %334 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %335 = extractvalue { double, double } %333, 0
  store double %335, ptr %334, align 8
  %336 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %337 = extractvalue { double, double } %333, 1
  store double %337, ptr %336, align 8
  %338 = load double, ptr %18, align 8, !tbaa !82
  %339 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %36, double noundef %338)
  %340 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %341 = extractvalue { double, double } %339, 0
  store double %341, ptr %340, align 8
  %342 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %343 = extractvalue { double, double } %339, 1
  store double %343, ptr %342, align 8
  %344 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  br label %345

345:                                              ; preds = %328, %327
  %346 = phi double [ 0xFFF0000000000000, %327 ], [ %344, %328 ]
  store double %346, ptr %27, align 8, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  %347 = load double, ptr %25, align 8, !tbaa !82
  %348 = fcmp oeq double %347, 0xFFF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #7
  br i1 %348, label %349, label %350

349:                                              ; preds = %345
  br label %367

350:                                              ; preds = %345
  %351 = load double, ptr %19, align 8, !tbaa !82
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %40, double noundef %351)
  %352 = load double, ptr %17, align 8, !tbaa !82
  %353 = load double, ptr %25, align 8, !tbaa !82
  %354 = fmul double %352, %353
  %355 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %40, double noundef %354)
  %356 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %357 = extractvalue { double, double } %355, 0
  store double %357, ptr %356, align 8
  %358 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %359 = extractvalue { double, double } %355, 1
  store double %359, ptr %358, align 8
  %360 = load double, ptr %18, align 8, !tbaa !82
  %361 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %39, double noundef %360)
  %362 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %363 = extractvalue { double, double } %361, 0
  store double %363, ptr %362, align 8
  %364 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %365 = extractvalue { double, double } %361, 1
  store double %365, ptr %364, align 8
  %366 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  br label %367

367:                                              ; preds = %350, %349
  %368 = phi double [ 0x7FF0000000000000, %349 ], [ %366, %350 ]
  store double %368, ptr %28, align 8, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  br label %369

369:                                              ; preds = %367, %322
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #7
  %370 = load double, ptr %27, align 8, !tbaa !82
  %371 = load double, ptr %23, align 8, !tbaa !82
  %372 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 4
  %373 = load double, ptr %372, align 8, !tbaa !95
  %374 = fadd double %371, %373
  %375 = fcmp ogt double %370, %374
  %376 = zext i1 %375 to i8
  store i8 %376, ptr %41, align 1, !tbaa !79
  %377 = load i8, ptr %41, align 1, !tbaa !79, !range !77, !noundef !78
  %378 = trunc i8 %377 to i1
  br i1 %378, label %379, label %382

379:                                              ; preds = %369
  %380 = load i32, ptr %16, align 4, !tbaa !9
  %381 = load double, ptr %27, align 8, !tbaa !82
  call void @_ZN8presolve9HPresolve14changeColLowerEid(ptr noundef nonnull align 8 dereferenceable(1720) %45, i32 noundef %380, double noundef %381)
  br label %382

382:                                              ; preds = %379, %369
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #7
  %383 = load double, ptr %28, align 8, !tbaa !82
  %384 = load double, ptr %24, align 8, !tbaa !82
  %385 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 4
  %386 = load double, ptr %385, align 8, !tbaa !95
  %387 = fsub double %384, %386
  %388 = fcmp olt double %383, %387
  %389 = zext i1 %388 to i8
  store i8 %389, ptr %42, align 1, !tbaa !79
  %390 = load i8, ptr %42, align 1, !tbaa !79, !range !77, !noundef !78
  %391 = trunc i8 %390 to i1
  br i1 %391, label %392, label %395

392:                                              ; preds = %382
  %393 = load i32, ptr %16, align 4, !tbaa !9
  %394 = load double, ptr %28, align 8, !tbaa !82
  call void @_ZN8presolve9HPresolve14changeColUpperEid(ptr noundef nonnull align 8 dereferenceable(1720) %45, i32 noundef %393, double noundef %394)
  br label %395

395:                                              ; preds = %392, %382
  %396 = load ptr, ptr %7, align 8, !tbaa !5
  %397 = load i32, ptr %8, align 4, !tbaa !9
  %398 = load i32, ptr %15, align 4, !tbaa !9
  %399 = load i32, ptr %16, align 4, !tbaa !9
  %400 = load double, ptr %17, align 8, !tbaa !82
  %401 = load double, ptr %18, align 8, !tbaa !82
  %402 = load double, ptr %19, align 8, !tbaa !82
  %403 = load double, ptr %25, align 8, !tbaa !82
  %404 = load double, ptr %26, align 8, !tbaa !82
  %405 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 0
  %406 = load ptr, ptr %405, align 8, !tbaa !81
  %407 = getelementptr inbounds %class.HighsLp, ptr %406, i32 0, i32 2
  %408 = load i32, ptr %15, align 4, !tbaa !9
  %409 = sext i32 %408 to i64
  %410 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %407, i64 noundef %409) #7
  %411 = load double, ptr %410, align 8, !tbaa !82
  %412 = load i8, ptr %41, align 1, !tbaa !79, !range !77, !noundef !78
  %413 = trunc i8 %412 to i1
  %414 = load i8, ptr %42, align 1, !tbaa !79, !range !77, !noundef !78
  %415 = trunc i8 %414 to i1
  %416 = load i32, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #7
  %417 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZNK8presolve9HPresolve15getColumnVectorEi(ptr dead_on_unwind writable sret(%struct.HighsTripletListSlice) align 8 %43, ptr noundef nonnull align 8 dereferenceable(1720) %45, i32 noundef %417)
  call void @_ZN8presolve19HighsPostsolveStack17doubletonEquationI21HighsTripletListSliceEEviiiddddddbbNS0_7RowTypeERK16HighsMatrixSliceIT_E(ptr noundef nonnull align 8 dereferenceable(224) %396, i32 noundef %397, i32 noundef %398, i32 noundef %399, double noundef %400, double noundef %401, double noundef %402, double noundef %403, double noundef %404, double noundef %411, i1 noundef zeroext %413, i1 noundef zeroext %415, i32 noundef %416, ptr noundef nonnull align 8 dereferenceable(28) %43)
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #7
  %418 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN8presolve9HPresolve14markColDeletedEi(ptr noundef nonnull align 8 dereferenceable(1720) %45, i32 noundef %418)
  %419 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN8presolve9HPresolve9removeRowEi(ptr noundef nonnull align 8 dereferenceable(1720) %45, i32 noundef %419)
  %420 = load i32, ptr %15, align 4, !tbaa !9
  %421 = load i32, ptr %16, align 4, !tbaa !9
  %422 = load double, ptr %19, align 8, !tbaa !82
  %423 = load double, ptr %17, align 8, !tbaa !82
  %424 = fdiv double %422, %423
  %425 = load double, ptr %18, align 8, !tbaa !82
  %426 = fneg double %425
  %427 = load double, ptr %17, align 8, !tbaa !82
  %428 = fdiv double %426, %427
  call void @_ZN8presolve9HPresolve10substituteEiidd(ptr noundef nonnull align 8 dereferenceable(1720) %45, i32 noundef %420, i32 noundef %421, double noundef %424, double noundef %428)
  %429 = load i8, ptr %11, align 1, !tbaa !79, !range !77, !noundef !78
  %430 = trunc i8 %429 to i1
  %431 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 58
  %432 = getelementptr inbounds %class.HPresolveAnalysis, ptr %431, i32 0, i32 9
  %433 = zext i1 %430 to i8
  store i8 %433, ptr %432, align 1, !tbaa !13
  %434 = load i8, ptr %11, align 1, !tbaa !79, !range !77, !noundef !78
  %435 = trunc i8 %434 to i1
  br i1 %435, label %436, label %438

436:                                              ; preds = %395
  %437 = getelementptr inbounds %"class.presolve::HPresolve", ptr %45, i32 0, i32 58
  call void @_ZN17HPresolveAnalysis19stopPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128) %437, i32 noundef 9)
  br label %438

438:                                              ; preds = %436, %395
  br label %439

439:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  %440 = load ptr, ptr %7, align 8, !tbaa !5
  %441 = call noundef i32 @_ZN8presolve9HPresolve19removeRowSingletonsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720) %45, ptr noundef nonnull align 8 dereferenceable(224) %440)
  store i32 %441, ptr %44, align 4, !tbaa !96
  %442 = load i32, ptr %44, align 4, !tbaa !96
  %443 = icmp ne i32 %442, 0
  br i1 %443, label %444, label %446

444:                                              ; preds = %439
  %445 = load i32, ptr %44, align 4, !tbaa !96
  store i32 %445, ptr %5, align 4
  store i32 1, ptr %21, align 4
  br label %447

446:                                              ; preds = %439
  store i32 0, ptr %21, align 4
  br label %447

447:                                              ; preds = %446, %444
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  %448 = load i32, ptr %21, align 4
  switch i32 %448, label %454 [
    i32 0, label %449
  ]

449:                                              ; preds = %447
  br label %450

450:                                              ; preds = %449
  br label %451

451:                                              ; preds = %450
  %452 = load ptr, ptr %7, align 8, !tbaa !5
  %453 = call noundef i32 @_ZN8presolve9HPresolve11checkLimitsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720) %45, ptr noundef nonnull align 8 dereferenceable(224) %452)
  store i32 %453, ptr %5, align 4
  store i32 1, ptr %21, align 4
  br label %454

454:                                              ; preds = %451, %447
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %455

455:                                              ; preds = %454, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  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 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  %456 = load i32, ptr %5, align 4
  ret i32 %456
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare void @_ZN17HPresolveAnalysis20startPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @"_ZZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt7signbitd(double noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve19HighsPostsolveStack17doubletonEquationI21HighsTripletListSliceEEviiiddddddbbNS0_7RowTypeERK16HighsMatrixSliceIT_E(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 8 dereferenceable(28)) #3 align 2

declare void @_ZN17HPresolveAnalysis19stopPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #5

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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN8presolve19HighsPostsolveStack7RowTypeE", !7, i64 0}
!13 = !{!14, !59, i64 1681}
!14 = !{!"_ZTSN8presolve9HPresolveE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !15, i64 32, !16, i64 40, !20, i64 64, !20, i64 88, !20, i64 112, !20, i64 136, !20, i64 160, !20, i64 184, !20, i64 208, !20, i64 232, !20, i64 256, !20, i64 280, !20, i64 304, !20, i64 328, !20, i64 352, !20, i64 376, !16, i64 400, !16, i64 424, !20, i64 448, !20, i64 472, !16, i64 496, !16, i64 520, !16, i64 544, !16, i64 568, !20, i64 592, !20, i64 616, !24, i64 640, !24, i64 664, !28, i64 688, !28, i64 928, !20, i64 1168, !33, i64 1192, !20, i64 1216, !33, i64 1240, !37, i64 1264, !41, i64 1288, !47, i64 1344, !55, i64 1392, !59, i64 1416, !43, i64 1424, !20, i64 1432, !20, i64 1456, !33, i64 1480, !33, i64 1504, !60, i64 1528, !43, i64 1552, !10, i64 1560, !10, i64 1564, !10, i64 1568, !10, i64 1572, !10, i64 1576, !10, i64 1580, !59, i64 1584, !64, i64 1588, !65, i64 1592}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorISt3setIiSt4lessIiESaIiEESaIS4_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTS20HighsLinearSumBounds", !29, i64 0, !29, i64 24, !20, i64 48, !20, i64 72, !29, i64 96, !29, i64 120, !20, i64 144, !20, i64 168, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232}
!29 = !{!"_ZTSSt6vectorI12HighsCDoubleSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseI12HighsCDoubleSaIS0_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIhSaIhEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt13unordered_mapIi13HighsHashTreeISt4pairIiiEdESt4hashIiESt8equal_toIiESaIS1_IKiS3_EEE", !42, i64 0}
!42 = !{!"_ZTSSt10_HashtableIiSt4pairIKi13HighsHashTreeIS0_IiiEdEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !43, i64 8, !44, i64 16, !43, i64 24, !45, i64 32, !6, i64 48}
!43 = !{!"long", !7, i64 0}
!44 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!45 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !46, i64 0, !43, i64 8}
!46 = !{!"float", !7, i64 0}
!47 = !{!"_ZTSSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSNSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !50, i64 0, !52, i64 8}
!50 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt4pairIiiEEE", !51, i64 0}
!51 = !{!"_ZTSSt4lessISt4pairIiiEE"}
!52 = !{!"_ZTSSt15_Rb_tree_header", !53, i64 0, !43, i64 32}
!53 = !{!"_ZTSSt18_Rb_tree_node_base", !54, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!54 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!55 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !56, i64 0}
!56 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE12_Vector_implE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!59 = !{!"bool", !7, i64 0}
!60 = !{!"_ZTSSt6vectorItSaItEE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseItSaItEE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!64 = !{!"_ZTS19HighsPresolveStatus", !7, i64 0}
!65 = !{!"_ZTS17HPresolveAnalysis", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !66, i64 48, !59, i64 88, !59, i64 89, !10, i64 92, !10, i64 96, !10, i64 100, !72, i64 104}
!66 = !{!"_ZTSSt6vectorIbSaIbEE", !67, i64 0}
!67 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !68, i64 0}
!68 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !69, i64 0}
!69 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !70, i64 0, !70, i64 16, !6, i64 32}
!70 = !{!"_ZTSSt13_Bit_iterator", !71, i64 0}
!71 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !10, i64 8}
!72 = !{!"_ZTS16HighsPresolveLog", !73, i64 0}
!73 = !{!"_ZTSSt6vectorI20HighsPresolveRuleLogSaIS0_EE", !74, i64 0}
!74 = !{!"_ZTSSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE12_Vector_implE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!77 = !{i8 0, i8 2}
!78 = !{}
!79 = !{!59, !59, i64 0}
!80 = !{!7, !7, i64 0}
!81 = !{!14, !6, i64 0}
!82 = !{!15, !15, i64 0}
!83 = !{!84, !6, i64 0}
!84 = !{!"_ZTSZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!85 = !{!86, !86, i64 0}
!86 = !{!"_ZTS12HighsVarType", !7, i64 0}
!87 = !{!14, !6, i64 8}
!88 = !{!89, !15, i64 264}
!89 = !{!"_ZTS18HighsOptionsStruct", !90, i64 8, !90, i64 40, !90, i64 72, !90, i64 104, !15, i64 136, !90, i64 144, !90, i64 176, !10, i64 208, !90, i64 216, !15, i64 248, !15, i64 256, !15, i64 264, !15, i64 272, !15, i64 280, !15, i64 288, !15, i64 296, !15, i64 304, !15, i64 312, !15, i64 320, !15, i64 328, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !90, i64 392, !59, i64 424, !59, i64 425, !59, i64 426, !10, i64 428, !10, i64 432, !90, i64 440, !59, i64 472, !59, i64 473, !59, i64 474, !10, i64 476, !59, i64 480, !59, i64 481, !10, i64 484, !10, i64 488, !15, i64 496, !10, i64 504, !10, i64 508, !10, i64 512, !59, i64 516, !10, i64 520, !59, i64 524, !59, i64 525, !59, i64 526, !59, i64 527, !59, i64 528, !59, i64 529, !59, i64 530, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !59, i64 592, !59, i64 593, !59, i64 594, !59, i64 595, !15, i64 600, !15, i64 608, !15, i64 616, !15, i64 624, !15, i64 632, !15, i64 640, !15, i64 648, !15, i64 656, !15, i64 664, !15, i64 672, !15, i64 680, !59, i64 688, !59, i64 689, !59, i64 690, !59, i64 691, !10, i64 692, !15, i64 696, !59, i64 704, !59, i64 705, !90, i64 712, !15, i64 744, !10, i64 752, !10, i64 756, !59, i64 760, !59, i64 761, !59, i64 762, !59, i64 763, !10, i64 764, !10, i64 768, !10, i64 772, !10, i64 776, !10, i64 780, !10, i64 784, !10, i64 788, !10, i64 792, !10, i64 796, !10, i64 800, !10, i64 804, !15, i64 808, !15, i64 816, !15, i64 824, !15, i64 832, !15, i64 840, !59, i64 848, !59, i64 849, !90, i64 856, !59, i64 888, !10, i64 892, !92, i64 896}
!90 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !91, i64 0, !43, i64 8, !7, i64 16}
!91 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!92 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !93, i64 48, !6, i64 80, !59, i64 88}
!93 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !94, i64 0, !6, i64 24}
!94 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!95 = !{!14, !15, i64 32}
!96 = !{!97, !97, i64 0}
!97 = !{!"_ZTSN8presolve9HPresolve6ResultE", !7, i64 0}


; 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.HighsTripletListSlice = type { %class.HighsMatrixSlice.base.391, [4 x i8] }
%class.HighsMatrixSlice.base.391 = type <{ ptr, ptr, ptr, i32 }>
%"struct.std::_Bit_reference" = type { ptr, i64 }
%class.anon.496 = type { ptr, ptr, ptr }
%class.HighsCDouble = type { double, double }

@.str.55 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE = external hidden unnamed_addr constant [114 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [49 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 nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorI12HighsVarTypeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8presolve9HPresolve15getColumnVectorEi(ptr dead_on_unwind noalias writable sret(%struct.HighsTripletListSlice) align 8, ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef) local_unnamed_addr #3 align 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 #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve14changeColLowerEid(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef, double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve14changeColUpperEid(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef, double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8presolve9HPresolve19removeRowSingletonsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720), ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve9removeRowEi(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8presolve9HPresolve11checkLimitsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720), ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16), double noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8presolve9HPresolve14markColDeletedEi(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve9HPresolve10substituteEiidd(ptr noundef nonnull align 8 dereferenceable(1720), i32 noundef, i32 noundef, double noundef, double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE(ptr noundef nonnull align 8 dereferenceable(1720) %0, ptr noundef nonnull align 8 dereferenceable(224) %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 align 2 {
  %5 = alloca %"struct.std::_Bit_reference", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %class.anon.496, align 8
  %9 = alloca %class.HighsCDouble, align 8
  %10 = alloca %class.HighsCDouble, align 8
  %11 = alloca %class.HighsCDouble, align 8
  %12 = alloca %class.HighsCDouble, align 8
  %13 = alloca %class.HighsCDouble, align 8
  %14 = alloca %class.HighsCDouble, align 8
  %15 = alloca %class.HighsCDouble, align 8
  %16 = alloca %class.HighsCDouble, align 8
  %17 = alloca %class.HighsCDouble, align 8
  %18 = alloca %class.HighsCDouble, align 8
  %19 = alloca %class.HighsCDouble, align 8
  %20 = alloca %class.HighsCDouble, align 8
  %21 = alloca %struct.HighsTripletListSlice, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %22 = getelementptr inbounds i8, ptr %0, i64 1592
  %23 = getelementptr inbounds i8, ptr %0, i64 1640
  %24 = tail call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %23, i64 noundef 9)
  %25 = extractvalue { ptr, i64 } %24, 0
  store ptr %25, ptr %5, align 8
  %26 = getelementptr inbounds i8, ptr %5, i64 8
  %27 = extractvalue { ptr, i64 } %24, 1
  store i64 %27, ptr %26, align 8
  %28 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br i1 %28, label %30, label %29

29:                                               ; preds = %4
  call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.55, i32 noundef 2824, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

30:                                               ; preds = %4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  %31 = getelementptr inbounds i8, ptr %0, i64 1681
  %32 = load i8, ptr %31, align 1, !tbaa !5, !range !73, !noundef !74
  %33 = trunc nuw i8 %32 to i1
  br i1 %33, label %34, label %35

34:                                               ; preds = %30
  call void @_ZN17HPresolveAnalysis20startPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128) %22, i32 noundef 9)
  br label %35

35:                                               ; preds = %34, %30
  %36 = getelementptr inbounds i8, ptr %0, i64 1480
  %37 = sext i32 %2 to i64
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %37) #7
  %39 = load i8, ptr %38, align 1, !tbaa !75
  %.not = icmp eq i8 %39, 0
  br i1 %.not, label %41, label %40

40:                                               ; preds = %35
  call void @__assert_fail(ptr noundef nonnull @.str.79, ptr noundef nonnull @.str.55, i32 noundef 2828, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

41:                                               ; preds = %35
  %42 = getelementptr inbounds i8, ptr %0, i64 256
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %37) #7
  %44 = load i32, ptr %43, align 4, !tbaa !76
  %45 = icmp eq i32 %44, 2
  br i1 %45, label %47, label %46

46:                                               ; preds = %41
  call void @__assert_fail(ptr noundef nonnull @.str.102, ptr noundef nonnull @.str.55, i32 noundef 2829, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

47:                                               ; preds = %41
  %48 = load ptr, ptr %0, align 8, !tbaa !77
  %49 = getelementptr inbounds i8, ptr %48, i64 80
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %37) #7
  %51 = load double, ptr %50, align 8, !tbaa !78
  %52 = load ptr, ptr %0, align 8, !tbaa !77
  %53 = getelementptr inbounds i8, ptr %52, i64 104
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %37) #7
  %55 = load double, ptr %54, align 8, !tbaa !78
  %56 = fcmp oeq double %51, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %47
  call void @__assert_fail(ptr noundef nonnull @.str.103, ptr noundef nonnull @.str.55, i32 noundef 2830, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeE) #8
  unreachable

58:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %59 = getelementptr inbounds i8, ptr %0, i64 184
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %37) #7
  %61 = load i32, ptr %60, align 4, !tbaa !76
  store i32 %61, ptr %6, align 4, !tbaa !76
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %62 = getelementptr inbounds i8, ptr %0, i64 232
  %63 = sext i32 %61 to i64
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %63) #7
  %65 = load i32, ptr %64, align 4, !tbaa !76
  %.not107 = icmp eq i32 %65, -1
  %66 = getelementptr inbounds i8, ptr %0, i64 208
  %.sink = select i1 %.not107, ptr %66, ptr %62
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.sink, i64 noundef %63) #7
  %68 = load i32, ptr %67, align 4, !tbaa !76
  store i32 %68, ptr %7, align 4, !tbaa !76
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  store ptr %0, ptr %8, align 8, !tbaa !79
  %69 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %6, ptr %69, align 8, !tbaa !81
  %70 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %7, ptr %70, align 8, !tbaa !81
  %71 = call noundef zeroext i1 @"_ZZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %72 = getelementptr inbounds i8, ptr %0, i64 88
  %73 = getelementptr inbounds i8, ptr %0, i64 40
  br i1 %71, label %74, label %82

74:                                               ; preds = %58
  %75 = load i32, ptr %6, align 4, !tbaa !76
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %76) #7
  %78 = load i32, ptr %77, align 4, !tbaa !76
  %79 = load i32, ptr %7, align 4, !tbaa !76
  %80 = sext i32 %79 to i64
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %80) #7
  br label %90

82:                                               ; preds = %58
  %83 = load i32, ptr %7, align 4, !tbaa !76
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %84) #7
  %86 = load i32, ptr %85, align 4, !tbaa !76
  %87 = load i32, ptr %6, align 4, !tbaa !76
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %88) #7
  br label %90

90:                                               ; preds = %82, %74
  %.sink119.in = phi ptr [ %7, %82 ], [ %6, %74 ]
  %.sink117.in = phi ptr [ %6, %82 ], [ %7, %74 ]
  %.090.in = phi ptr [ %89, %82 ], [ %81, %74 ]
  %.089 = phi i32 [ %86, %82 ], [ %78, %74 ]
  %.090 = load i32, ptr %.090.in, align 4, !tbaa !76
  %.sink119 = load i32, ptr %.sink119.in, align 4, !tbaa !76
  %91 = sext i32 %.sink119 to i64
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %91) #7
  %.093 = load double, ptr %92, align 8, !tbaa !78
  %.sink117 = load i32, ptr %.sink117.in, align 4, !tbaa !76
  %93 = sext i32 %.sink117 to i64
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %93) #7
  %.094 = load double, ptr %94, align 8, !tbaa !78
  %95 = load ptr, ptr %0, align 8, !tbaa !77
  %96 = getelementptr inbounds i8, ptr %95, i64 104
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %37) #7
  %98 = load double, ptr %97, align 8, !tbaa !78
  %99 = load ptr, ptr %0, align 8, !tbaa !77
  %100 = getelementptr inbounds i8, ptr %99, i64 376
  %101 = sext i32 %.089 to i64
  %102 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorI12HighsVarTypeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %101) #7
  %103 = load i8, ptr %102, align 1, !tbaa !82
  %104 = icmp eq i8 %103, 1
  br i1 %104, label %105, label %._crit_edge

._crit_edge:                                      ; preds = %90
  %.pre114 = sext i32 %.090 to i64
  br label %132

105:                                              ; preds = %90
  %106 = load ptr, ptr %0, align 8, !tbaa !77
  %107 = getelementptr inbounds i8, ptr %106, i64 376
  %108 = sext i32 %.090 to i64
  %109 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorI12HighsVarTypeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %108) #7
  %110 = load i8, ptr %109, align 1, !tbaa !82
  %111 = icmp eq i8 %110, 1
  br i1 %111, label %112, label %132

112:                                              ; preds = %105
  %113 = fdiv double %.094, %.093
  %114 = call double @llvm.round.f64(double %113)
  %115 = fmul double %.093, %114
  %116 = fsub double %115, %.094
  %117 = call double @llvm.fabs.f64(double %116)
  %118 = getelementptr inbounds i8, ptr %0, i64 8
  %119 = load ptr, ptr %118, align 8, !tbaa !84
  %120 = getelementptr inbounds i8, ptr %119, i64 264
  %121 = load double, ptr %120, align 8, !tbaa !85
  %122 = fcmp ogt double %117, %121
  br i1 %122, label %.thread, label %123

123:                                              ; preds = %112
  %124 = fdiv double %98, %.093
  %125 = call double @llvm.round.f64(double %124)
  %126 = fmul double %.093, %125
  %127 = fsub double %98, %126
  %128 = call double @llvm.fabs.f64(double %127)
  %129 = getelementptr inbounds i8, ptr %0, i64 32
  %130 = load double, ptr %129, align 8, !tbaa !92
  %131 = fcmp ule double %128, %130
  br i1 %131, label %132, label %.thread

132:                                              ; preds = %._crit_edge, %123, %105
  %.pre-phi = phi i64 [ %.pre114, %._crit_edge ], [ %108, %123 ], [ %108, %105 ]
  %.299 = phi double [ %98, %._crit_edge ], [ %126, %123 ], [ %98, %105 ]
  %.296 = phi double [ %.094, %._crit_edge ], [ %115, %123 ], [ %.094, %105 ]
  %133 = load ptr, ptr %0, align 8, !tbaa !77
  %134 = getelementptr inbounds i8, ptr %133, i64 32
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %.pre-phi) #7
  %136 = load double, ptr %135, align 8, !tbaa !78
  %137 = load ptr, ptr %0, align 8, !tbaa !77
  %138 = getelementptr inbounds i8, ptr %137, i64 56
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %.pre-phi) #7
  %140 = load double, ptr %139, align 8, !tbaa !78
  %141 = load ptr, ptr %0, align 8, !tbaa !77
  %142 = getelementptr inbounds i8, ptr %141, i64 32
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %101) #7
  %144 = load double, ptr %143, align 8, !tbaa !78
  %145 = load ptr, ptr %0, align 8, !tbaa !77
  %146 = getelementptr inbounds i8, ptr %145, i64 56
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %101) #7
  %148 = load double, ptr %147, align 8, !tbaa !78
  %149 = call noundef zeroext i1 @_ZSt7signbitd(double noundef %.093)
  %150 = call noundef zeroext i1 @_ZSt7signbitd(double noundef %.296)
  %151 = xor i1 %149, %150
  br i1 %151, label %152, label %181

152:                                              ; preds = %132
  %153 = fcmp oeq double %144, 0xFFF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  br i1 %153, label %165, label %154

154:                                              ; preds = %152
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %11, double noundef %.299)
  %155 = fmul double %.093, %144
  %156 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %11, double noundef %155)
  %157 = extractvalue { double, double } %156, 0
  store double %157, ptr %10, align 8
  %158 = getelementptr inbounds i8, ptr %10, i64 8
  %159 = extractvalue { double, double } %156, 1
  store double %159, ptr %158, align 8
  %160 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %10, double noundef %.296)
  %161 = extractvalue { double, double } %160, 0
  store double %161, ptr %9, align 8
  %162 = getelementptr inbounds i8, ptr %9, i64 8
  %163 = extractvalue { double, double } %160, 1
  store double %163, ptr %162, align 8
  %164 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  br label %165

165:                                              ; preds = %152, %154
  %166 = phi double [ %164, %154 ], [ 0xFFF0000000000000, %152 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  %167 = fcmp oeq double %148, 0x7FF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  br i1 %167, label %179, label %168

168:                                              ; preds = %165
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %14, double noundef %.299)
  %169 = fmul double %.093, %148
  %170 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %14, double noundef %169)
  %171 = extractvalue { double, double } %170, 0
  store double %171, ptr %13, align 8
  %172 = getelementptr inbounds i8, ptr %13, i64 8
  %173 = extractvalue { double, double } %170, 1
  store double %173, ptr %172, align 8
  %174 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %13, double noundef %.296)
  %175 = extractvalue { double, double } %174, 0
  store double %175, ptr %12, align 8
  %176 = getelementptr inbounds i8, ptr %12, i64 8
  %177 = extractvalue { double, double } %174, 1
  store double %177, ptr %176, align 8
  %178 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  br label %179

179:                                              ; preds = %165, %168
  %180 = phi double [ %178, %168 ], [ 0x7FF0000000000000, %165 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %210

181:                                              ; preds = %132
  %182 = fcmp oeq double %148, 0x7FF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  br i1 %182, label %194, label %183

183:                                              ; preds = %181
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef %.299)
  %184 = fmul double %.093, %148
  %185 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef %184)
  %186 = extractvalue { double, double } %185, 0
  store double %186, ptr %16, align 8
  %187 = getelementptr inbounds i8, ptr %16, i64 8
  %188 = extractvalue { double, double } %185, 1
  store double %188, ptr %187, align 8
  %189 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %16, double noundef %.296)
  %190 = extractvalue { double, double } %189, 0
  store double %190, ptr %15, align 8
  %191 = getelementptr inbounds i8, ptr %15, i64 8
  %192 = extractvalue { double, double } %189, 1
  store double %192, ptr %191, align 8
  %193 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
  br label %194

194:                                              ; preds = %181, %183
  %195 = phi double [ %193, %183 ], [ 0xFFF0000000000000, %181 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  %196 = fcmp oeq double %144, 0xFFF0000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  br i1 %196, label %208, label %197

197:                                              ; preds = %194
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %20, double noundef %.299)
  %198 = fmul double %.093, %144
  %199 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %20, double noundef %198)
  %200 = extractvalue { double, double } %199, 0
  store double %200, ptr %19, align 8
  %201 = getelementptr inbounds i8, ptr %19, i64 8
  %202 = extractvalue { double, double } %199, 1
  store double %202, ptr %201, align 8
  %203 = call { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16) %19, double noundef %.296)
  %204 = extractvalue { double, double } %203, 0
  store double %204, ptr %18, align 8
  %205 = getelementptr inbounds i8, ptr %18, i64 8
  %206 = extractvalue { double, double } %203, 1
  store double %206, ptr %205, align 8
  %207 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  br label %208

208:                                              ; preds = %194, %197
  %209 = phi double [ %207, %197 ], [ 0x7FF0000000000000, %194 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  br label %210

210:                                              ; preds = %208, %179
  %.092 = phi double [ %166, %179 ], [ %195, %208 ]
  %.091 = phi double [ %180, %179 ], [ %209, %208 ]
  %211 = getelementptr inbounds i8, ptr %0, i64 32
  %212 = load double, ptr %211, align 8, !tbaa !92
  %213 = fadd double %136, %212
  %214 = fcmp ogt double %.092, %213
  br i1 %214, label %215, label %216

215:                                              ; preds = %210
  call void @_ZN8presolve9HPresolve14changeColLowerEid(ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %.090, double noundef %.092)
  %.pre = load double, ptr %211, align 8, !tbaa !92
  br label %216

216:                                              ; preds = %215, %210
  %217 = phi double [ %.pre, %215 ], [ %212, %210 ]
  %218 = fsub double %140, %217
  %219 = fcmp olt double %.091, %218
  br i1 %219, label %220, label %221

220:                                              ; preds = %216
  call void @_ZN8presolve9HPresolve14changeColUpperEid(ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %.090, double noundef %.091)
  br label %221

221:                                              ; preds = %220, %216
  %222 = load ptr, ptr %0, align 8, !tbaa !77
  %223 = getelementptr inbounds i8, ptr %222, i64 8
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef %101) #7
  %225 = load double, ptr %224, align 8, !tbaa !78
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  call void @_ZNK8presolve9HPresolve15getColumnVectorEi(ptr dead_on_unwind nonnull writable sret(%struct.HighsTripletListSlice) align 8 %21, ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %.089)
  call void @_ZN8presolve19HighsPostsolveStack17doubletonEquationI21HighsTripletListSliceEEviiiddddddbbNS0_7RowTypeERK16HighsMatrixSliceIT_E(ptr noundef nonnull align 8 dereferenceable(224) %1, i32 noundef %2, i32 noundef %.089, i32 noundef %.090, double noundef %.093, double noundef %.296, double noundef %.299, double noundef %144, double noundef %148, double noundef %225, i1 noundef zeroext %214, i1 noundef zeroext %219, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(28) %21)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  call void @_ZN8presolve9HPresolve14markColDeletedEi(ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %.089)
  call void @_ZN8presolve9HPresolve9removeRowEi(ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %2)
  %226 = fdiv double %.299, %.093
  %227 = fneg double %.296
  %228 = fdiv double %227, %.093
  call void @_ZN8presolve9HPresolve10substituteEiidd(ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %.089, i32 noundef %.090, double noundef %226, double noundef %228)
  store i8 %32, ptr %31, align 1, !tbaa !5
  br i1 %33, label %229, label %230

229:                                              ; preds = %221
  call void @_ZN17HPresolveAnalysis19stopPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128) %22, i32 noundef 9)
  br label %230

230:                                              ; preds = %221, %229
  %231 = call noundef i32 @_ZN8presolve9HPresolve19removeRowSingletonsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720) %0, ptr noundef nonnull align 8 dereferenceable(224) %1)
  %.not109 = icmp eq i32 %231, 0
  br i1 %.not109, label %232, label %.thread

232:                                              ; preds = %230
  %233 = call noundef i32 @_ZN8presolve9HPresolve11checkLimitsERNS_19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(1720) %0, ptr noundef nonnull align 8 dereferenceable(224) %1)
  br label %.thread

.thread:                                          ; preds = %112, %232, %230, %123
  %.5 = phi i32 [ 1, %123 ], [ %233, %232 ], [ %231, %230 ], [ 0, %112 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  ret i32 %.5
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare void @_ZN17HPresolveAnalysis20startPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @"_ZZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt7signbitd(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK12HighsCDoubledvEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8presolve19HighsPostsolveStack17doubletonEquationI21HighsTripletListSliceEEviiiddddddbbNS0_7RowTypeERK16HighsMatrixSliceIT_E(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #3 align 2

declare void @_ZN17HPresolveAnalysis19stopPresolveRuleLogEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #5

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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !54, i64 1681}
!6 = !{!"_ZTSN8presolve9HPresolveE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !15, i64 64, !15, i64 88, !15, i64 112, !15, i64 136, !15, i64 160, !15, i64 184, !15, i64 208, !15, i64 232, !15, i64 256, !15, i64 280, !15, i64 304, !15, i64 328, !15, i64 352, !15, i64 376, !11, i64 400, !11, i64 424, !15, i64 448, !15, i64 472, !11, i64 496, !11, i64 520, !11, i64 544, !11, i64 568, !15, i64 592, !15, i64 616, !19, i64 640, !19, i64 664, !23, i64 688, !23, i64 928, !15, i64 1168, !28, i64 1192, !15, i64 1216, !28, i64 1240, !32, i64 1264, !36, i64 1288, !42, i64 1344, !50, i64 1392, !54, i64 1416, !38, i64 1424, !15, i64 1432, !15, i64 1456, !28, i64 1480, !28, i64 1504, !55, i64 1528, !38, i64 1552, !59, i64 1560, !59, i64 1564, !59, i64 1568, !59, i64 1572, !59, i64 1576, !59, i64 1580, !54, i64 1584, !60, i64 1588, !61, i64 1592}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIdSaIdEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!15 = !{!"_ZTSSt6vectorIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!"_ZTSSt6vectorISt3setIiSt4lessIiESaIiEESaIS4_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!23 = !{!"_ZTS20HighsLinearSumBounds", !24, i64 0, !24, i64 24, !15, i64 48, !15, i64 72, !24, i64 96, !24, i64 120, !15, i64 144, !15, i64 168, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232}
!24 = !{!"_ZTSSt6vectorI12HighsCDoubleSaIS0_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseI12HighsCDoubleSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!28 = !{!"_ZTSSt6vectorIhSaIhEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!32 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!36 = !{!"_ZTSSt13unordered_mapIi13HighsHashTreeISt4pairIiiEdESt4hashIiESt8equal_toIiESaIS1_IKiS3_EEE", !37, i64 0}
!37 = !{!"_ZTSSt10_HashtableIiSt4pairIKi13HighsHashTreeIS0_IiiEdEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !38, i64 8, !39, i64 16, !38, i64 24, !40, i64 32, !7, i64 48}
!38 = !{!"long", !8, i64 0}
!39 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!40 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !41, i64 0, !38, i64 8}
!41 = !{!"float", !8, i64 0}
!42 = !{!"_ZTSSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSNSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !45, i64 0, !47, i64 8}
!45 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt4pairIiiEEE", !46, i64 0}
!46 = !{!"_ZTSSt4lessISt4pairIiiEE"}
!47 = !{!"_ZTSSt15_Rb_tree_header", !48, i64 0, !38, i64 32}
!48 = !{!"_ZTSSt18_Rb_tree_node_base", !49, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!49 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!50 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!54 = !{!"bool", !8, i64 0}
!55 = !{!"_ZTSSt6vectorItSaItEE", !56, i64 0}
!56 = !{!"_ZTSSt12_Vector_baseItSaItEE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!59 = !{!"int", !8, i64 0}
!60 = !{!"_ZTS19HighsPresolveStatus", !8, i64 0}
!61 = !{!"_ZTS17HPresolveAnalysis", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !59, i64 40, !59, i64 44, !62, i64 48, !54, i64 88, !54, i64 89, !59, i64 92, !59, i64 96, !59, i64 100, !68, i64 104}
!62 = !{!"_ZTSSt6vectorIbSaIbEE", !63, i64 0}
!63 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !64, i64 0}
!64 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !66, i64 0, !66, i64 16, !7, i64 32}
!66 = !{!"_ZTSSt13_Bit_iterator", !67, i64 0}
!67 = !{!"_ZTSSt18_Bit_iterator_base", !7, i64 0, !59, i64 8}
!68 = !{!"_ZTS16HighsPresolveLog", !69, i64 0}
!69 = !{!"_ZTSSt6vectorI20HighsPresolveRuleLogSaIS0_EE", !70, i64 0}
!70 = !{!"_ZTSSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE", !71, i64 0}
!71 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE12_Vector_implE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!73 = !{i8 0, i8 2}
!74 = !{}
!75 = !{!8, !8, i64 0}
!76 = !{!59, !59, i64 0}
!77 = !{!6, !7, i64 0}
!78 = !{!10, !10, i64 0}
!79 = !{!80, !7, i64 0}
!80 = !{!"_ZTSZN8presolve9HPresolve11doubletonEqERNS_19HighsPostsolveStackEiNS1_7RowTypeEE3$_0", !7, i64 0, !7, i64 8, !7, i64 16}
!81 = !{!7, !7, i64 0}
!82 = !{!83, !83, i64 0}
!83 = !{!"_ZTS12HighsVarType", !8, i64 0}
!84 = !{!6, !7, i64 8}
!85 = !{!86, !10, i64 264}
!86 = !{!"_ZTS18HighsOptionsStruct", !87, i64 8, !87, i64 40, !87, i64 72, !87, i64 104, !10, i64 136, !87, i64 144, !87, i64 176, !59, i64 208, !87, i64 216, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !59, i64 336, !59, i64 340, !59, i64 344, !59, i64 348, !59, i64 352, !59, i64 356, !59, i64 360, !59, i64 364, !59, i64 368, !59, i64 372, !59, i64 376, !59, i64 380, !59, i64 384, !59, i64 388, !87, i64 392, !54, i64 424, !54, i64 425, !54, i64 426, !59, i64 428, !59, i64 432, !87, i64 440, !54, i64 472, !54, i64 473, !54, i64 474, !59, i64 476, !54, i64 480, !54, i64 481, !59, i64 484, !59, i64 488, !10, i64 496, !59, i64 504, !59, i64 508, !59, i64 512, !54, i64 516, !59, i64 520, !54, i64 524, !54, i64 525, !54, i64 526, !54, i64 527, !54, i64 528, !54, i64 529, !54, i64 530, !59, i64 532, !59, i64 536, !59, i64 540, !59, i64 544, !59, i64 548, !59, i64 552, !59, i64 556, !59, i64 560, !59, i64 564, !59, i64 568, !59, i64 572, !59, i64 576, !59, i64 580, !59, i64 584, !59, i64 588, !54, i64 592, !54, i64 593, !54, i64 594, !54, i64 595, !10, i64 600, !10, i64 608, !10, i64 616, !10, i64 624, !10, i64 632, !10, i64 640, !10, i64 648, !10, i64 656, !10, i64 664, !10, i64 672, !10, i64 680, !54, i64 688, !54, i64 689, !54, i64 690, !54, i64 691, !59, i64 692, !10, i64 696, !54, i64 704, !54, i64 705, !87, i64 712, !10, i64 744, !59, i64 752, !59, i64 756, !54, i64 760, !54, i64 761, !54, i64 762, !54, i64 763, !59, i64 764, !59, i64 768, !59, i64 772, !59, i64 776, !59, i64 780, !59, i64 784, !59, i64 788, !59, i64 792, !59, i64 796, !59, i64 800, !59, i64 804, !10, i64 808, !10, i64 816, !10, i64 824, !10, i64 832, !10, i64 840, !54, i64 848, !54, i64 849, !87, i64 856, !54, i64 888, !59, i64 892, !89, i64 896}
!87 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !88, i64 0, !38, i64 8, !8, i64 16}
!88 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!89 = !{!"_ZTS15HighsLogOptions", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !90, i64 48, !7, i64 80, !54, i64 88}
!90 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !91, i64 0, !7, i64 24}
!91 = !{!"_ZTSSt14_Function_base", !8, i64 0, !7, i64 16}
!92 = !{!6, !10, i64 32}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass