; LLVM IR from ERGO-Code/HiGHS :: src/mip/HighsDomain.ll (ZN11HighsDomain17backtrackToGlobalEv)

; 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.HighsDomain::Reason" = type { i32, i32 }
%struct.HighsDomainChange = type { double, i32, i32 }
%class.HighsDomain = type { %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.18", %"class.std::vector.23", %"class.std::vector.28", %"class.std::vector.28", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.33", %"class.std::vector", %"class.std::vector.3", %"struct.HighsDomain::ObjectivePropagation", ptr, %"class.std::deque", %"class.std::deque.51", i8, %"struct.HighsDomain::Reason", i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %class.HighsHashTable, i8, %"class.std::vector.33", %"class.std::vector.33" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.HighsDomain::ObjectivePropagation" = type { ptr, ptr, ptr, %class.HighsCDouble, i32, double, i8, %"class.std::vector.38", %"class.std::vector.8", %"class.std::vector.33", %"class.std::vector.43" }
%class.HighsCDouble = type { double, double }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl" }
%"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl" = type { %"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl_data" }
%"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::deque.51" = type { %"class.std::_Deque_base.52" }
%"class.std::_Deque_base.52" = type { %"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl" }
%"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl" = type { %"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl_data" }
%"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.56", %"struct.std::_Deque_iterator.56" }
%"struct.std::_Deque_iterator.56" = type { ptr, ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.HighsHashTable = type { %"class.std::unique_ptr", %"class.std::unique_ptr.59", i64, i64, i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.58" }
%"struct.std::_Head_base.58" = type { ptr }
%"class.std::unique_ptr.59" = type { %"struct.std::__uniq_ptr_data.60" }
%"struct.std::__uniq_ptr_data.60" = type { %"class.std::__uniq_ptr_impl.61" }
%"class.std::__uniq_ptr_impl.61" = type { %"class.std::tuple.62" }
%"class.std::tuple.62" = type { %"struct.std::_Tuple_impl.63" }
%"struct.std::_Tuple_impl.63" = type { %"struct.std::_Head_base.66" }
%"struct.std::_Head_base.66" = type { ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.358" = type <{ double, i32, [4 x i8] }>
%class.HighsMipSolver = type { ptr, ptr, ptr, ptr, i32, %"class.std::vector.33", double, double, double, double, double, double, double, i64, i64, double, ptr, %"class.std::vector.67", i8, i32, i32, ptr, ptr, ptr, ptr, %"class.std::unique_ptr.72", %class.HighsMipAnalysis, %class.HighsTimer }
%"class.std::vector.67" = type { %"struct.std::_Vector_base.68" }
%"struct.std::_Vector_base.68" = type { %"struct.std::_Vector_base<HighsObjectiveSolution, std::allocator<HighsObjectiveSolution>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsObjectiveSolution, std::allocator<HighsObjectiveSolution>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsObjectiveSolution, std::allocator<HighsObjectiveSolution>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsObjectiveSolution, std::allocator<HighsObjectiveSolution>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.72" = type { %"struct.std::__uniq_ptr_data.73" }
%"struct.std::__uniq_ptr_data.73" = type { %"class.std::__uniq_ptr_impl.74" }
%"class.std::__uniq_ptr_impl.74" = type { %"class.std::tuple.75" }
%"class.std::tuple.75" = type { %"struct.std::_Tuple_impl.76" }
%"struct.std::_Tuple_impl.76" = type { %"struct.std::_Head_base.79" }
%"struct.std::_Head_base.79" = type { ptr }
%class.HighsMipAnalysis = type { ptr, %"class.std::__cxx11::basic_string", %struct.HighsTimerClock, i8, %"class.std::vector.33", %"class.std::vector.33" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.HighsTimerClock = type { ptr, %"class.std::vector.3" }
%class.HighsTimer = type <{ ptr, double, i32, [4 x i8], %"class.std::vector.3", %"class.std::vector.33", %"class.std::vector.33", %"class.std::vector.80", i32, i32, i32, [4 x i8] }>
%"class.std::vector.80" = type { %"struct.std::_Vector_base.81" }
%"struct.std::_Vector_base.81" = 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 }

@.str.52 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [15 x i8], align 1
@__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv = external hidden unnamed_addr constant [38 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [42 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local i64 @_ZN11HighsDomain6Reason11unspecifiedEv() #1 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; 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 ptr @_ZNKSt10unique_ptrI18HighsMipSolverDataSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11HighsDomain16markPropagateCutENS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824), i64) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11HighsDomain13doChangeBoundERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11HighsDomain17backtrackToGlobalEv(ptr noundef nonnull align 8 dereferenceable(824) %0) #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i8, align 1
  %5 = alloca %"struct.HighsDomain::Reason", align 4
  %6 = alloca %"struct.HighsDomain::Reason", align 4
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.HighsDomainChange, align 8
  %10 = alloca %"struct.HighsDomain::Reason", align 4
  %11 = alloca %"struct.HighsDomain::Reason", align 4
  %12 = alloca %"struct.HighsDomain::Reason", align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.HighsDomain::Reason", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %16 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %17 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %18 = call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  %19 = trunc i64 %18 to i32
  %20 = sub nsw i32 %19, 1
  store i32 %20, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  %21 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 17
  %22 = load i8, ptr %21, align 8, !tbaa !11, !range !82, !noundef !83
  %23 = trunc i8 %22 to i1
  %24 = zext i1 %23 to i8
  store i8 %24, ptr %4, align 1, !tbaa !84
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %25 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !85
  %26 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 17
  %27 = load i8, ptr %26, align 8, !tbaa !11, !range !82, !noundef !83
  %28 = trunc i8 %27 to i1
  br i1 %28, label %29, label %56

29:                                               ; preds = %1
  %30 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 19
  %31 = load i32, ptr %30, align 4, !tbaa !86
  %32 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %33 = call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %34 = trunc i64 %33 to i32
  %35 = icmp eq i32 %31, %34
  br i1 %35, label %36, label %56

36:                                               ; preds = %29
  %37 = load i8, ptr %4, align 1, !tbaa !84, !range !82, !noundef !83
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %40

39:                                               ; preds = %36
  br label %42

40:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.82, ptr noundef @.str.52, i32 noundef 2181, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #6
  unreachable

41:                                               ; No predecessors!
  br label %42

42:                                               ; preds = %41, %39
  %43 = load i32, ptr %3, align 4, !tbaa !9
  %44 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %45 = call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  %46 = trunc i64 %45 to i32
  %47 = sub nsw i32 %46, 1
  %48 = icmp eq i32 %43, %47
  br i1 %48, label %49, label %50

49:                                               ; preds = %42
  br label %52

50:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.83, ptr noundef @.str.52, i32 noundef 2182, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #6
  unreachable

51:                                               ; No predecessors!
  br label %52

52:                                               ; preds = %51, %49
  %53 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 17
  store i8 0, ptr %53, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %54 = call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %54, ptr %6, align 4
  %55 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !85
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %56

56:                                               ; preds = %52, %29, %1
  br label %57

57:                                               ; preds = %206, %56
  %58 = load i32, ptr %3, align 4, !tbaa !9
  %59 = icmp sge i32 %58, 0
  br i1 %59, label %60, label %209

60:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %61 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 5
  %62 = load i32, ptr %3, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %63) #5
  %65 = getelementptr inbounds %"struct.std::pair.358", ptr %64, i32 0, i32 0
  %66 = load double, ptr %65, align 8, !tbaa !87
  store double %66, ptr %7, align 8, !tbaa !89
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %67 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 5
  %68 = load i32, ptr %3, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #5
  %71 = getelementptr inbounds %"struct.std::pair.358", ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 8, !tbaa !90
  store i32 %72, ptr %8, align 4, !tbaa !9
  %73 = load i32, ptr %8, align 4, !tbaa !9
  %74 = load i32, ptr %3, align 4, !tbaa !9
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %60
  br label %79

77:                                               ; preds = %60
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.52, i32 noundef 2190, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #6
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  %80 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 14
  %81 = load ptr, ptr %80, align 8, !tbaa !91
  %82 = getelementptr inbounds %class.HighsMipSolver, ptr %81, i32 0, i32 25
  %83 = call noundef ptr @_ZNKSt10unique_ptrI18HighsMipSolverDataSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %82) #5
  %84 = getelementptr inbounds i8, ptr %83, i64 26800
  %85 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %86 = load i32, ptr %3, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #5
  call void @_ZNK13HighsDebugSol18boundChangeRemovedERK11HighsDomainRK17HighsDomainChange(ptr noundef nonnull align 1 dereferenceable(1) %84, ptr noundef nonnull align 8 dereferenceable(824) %16, ptr noundef nonnull align 8 dereferenceable(16) %88)
  %89 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %90 = load i32, ptr %3, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %91) #5
  %93 = getelementptr inbounds %struct.HighsDomainChange, ptr %92, i32 0, i32 2
  %94 = load i32, ptr %93, align 4, !tbaa !92
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %96, label %123

96:                                               ; preds = %79
  %97 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 20
  %98 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %99 = load i32, ptr %3, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %100) #5
  %102 = getelementptr inbounds %struct.HighsDomainChange, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 8, !tbaa !95
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %104) #5
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = load i32, ptr %3, align 4, !tbaa !9
  %108 = icmp eq i32 %106, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %96
  br label %112

110:                                              ; preds = %96
  call void @__assert_fail(ptr noundef @.str.85, ptr noundef @.str.52, i32 noundef 2196, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #6
  unreachable

111:                                              ; No predecessors!
  br label %112

112:                                              ; preds = %111, %109
  %113 = load i32, ptr %8, align 4, !tbaa !9
  %114 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 20
  %115 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %116 = load i32, ptr %3, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef %117) #5
  %119 = getelementptr inbounds %struct.HighsDomainChange, ptr %118, i32 0, i32 1
  %120 = load i32, ptr %119, align 8, !tbaa !95
  %121 = sext i32 %120 to i64
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %121) #5
  store i32 %113, ptr %122, align 4, !tbaa !9
  br label %150

123:                                              ; preds = %79
  %124 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 21
  %125 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %126 = load i32, ptr %3, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %127) #5
  %129 = getelementptr inbounds %struct.HighsDomainChange, ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 8, !tbaa !95
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %131) #5
  %133 = load i32, ptr %132, align 4, !tbaa !9
  %134 = load i32, ptr %3, align 4, !tbaa !9
  %135 = icmp eq i32 %133, %134
  br i1 %135, label %136, label %137

136:                                              ; preds = %123
  br label %139

137:                                              ; preds = %123
  call void @__assert_fail(ptr noundef @.str.86, ptr noundef @.str.52, i32 noundef 2199, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #6
  unreachable

138:                                              ; No predecessors!
  br label %139

139:                                              ; preds = %138, %136
  %140 = load i32, ptr %8, align 4, !tbaa !9
  %141 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 21
  %142 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %143 = load i32, ptr %3, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %144) #5
  %146 = getelementptr inbounds %struct.HighsDomainChange, ptr %145, i32 0, i32 1
  %147 = load i32, ptr %146, align 8, !tbaa !95
  %148 = sext i32 %147 to i64
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %148) #5
  store i32 %140, ptr %149, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %139, %112
  %151 = load double, ptr %7, align 8, !tbaa !89
  %152 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %153 = load i32, ptr %3, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %154) #5
  %156 = getelementptr inbounds %struct.HighsDomainChange, ptr %155, i32 0, i32 0
  %157 = load double, ptr %156, align 8, !tbaa !96
  %158 = fcmp une double %151, %157
  br i1 %158, label %159, label %177

159:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %160 = getelementptr inbounds %struct.HighsDomainChange, ptr %9, i32 0, i32 0
  %161 = load double, ptr %7, align 8, !tbaa !89
  store double %161, ptr %160, align 8, !tbaa !96
  %162 = getelementptr inbounds %struct.HighsDomainChange, ptr %9, i32 0, i32 1
  %163 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %164 = load i32, ptr %3, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %165) #5
  %167 = getelementptr inbounds %struct.HighsDomainChange, ptr %166, i32 0, i32 1
  %168 = load i32, ptr %167, align 8, !tbaa !95
  store i32 %168, ptr %162, align 8, !tbaa !95
  %169 = getelementptr inbounds %struct.HighsDomainChange, ptr %9, i32 0, i32 2
  %170 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %171 = load i32, ptr %3, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %170, i64 noundef %172) #5
  %174 = getelementptr inbounds %struct.HighsDomainChange, ptr %173, i32 0, i32 2
  %175 = load i32, ptr %174, align 4, !tbaa !92
  store i32 %175, ptr %169, align 4, !tbaa !92
  %176 = call noundef double @_ZN11HighsDomain13doChangeBoundERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %16, ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  br label %177

177:                                              ; preds = %159, %150
  %178 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 17
  %179 = load i8, ptr %178, align 8, !tbaa !11, !range !82, !noundef !83
  %180 = trunc i8 %179 to i1
  br i1 %180, label %181, label %206

181:                                              ; preds = %177
  %182 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 19
  %183 = load i32, ptr %182, align 4, !tbaa !86
  %184 = load i32, ptr %3, align 4, !tbaa !9
  %185 = icmp eq i32 %183, %184
  br i1 %185, label %186, label %206

186:                                              ; preds = %181
  %187 = load i8, ptr %4, align 1, !tbaa !84, !range !82, !noundef !83
  %188 = trunc i8 %187 to i1
  br i1 %188, label %189, label %190

189:                                              ; preds = %186
  br label %192

190:                                              ; preds = %186
  call void @__assert_fail(ptr noundef @.str.82, ptr noundef @.str.52, i32 noundef 2210, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #6
  unreachable

191:                                              ; No predecessors!
  br label %192

192:                                              ; preds = %191, %189
  %193 = load i32, ptr %3, align 4, !tbaa !9
  %194 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  %195 = call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %194) #5
  %196 = trunc i64 %195 to i32
  %197 = sub nsw i32 %196, 1
  %198 = icmp eq i32 %193, %197
  br i1 %198, label %199, label %200

199:                                              ; preds = %192
  br label %202

200:                                              ; preds = %192
  call void @__assert_fail(ptr noundef @.str.83, ptr noundef @.str.52, i32 noundef 2211, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #6
  unreachable

201:                                              ; No predecessors!
  br label %202

202:                                              ; preds = %201, %199
  %203 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 17
  store i8 0, ptr %203, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %204 = call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %204, ptr %10, align 4
  %205 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %205, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !85
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %206

206:                                              ; preds = %202, %181, %177
  %207 = load i32, ptr %3, align 4, !tbaa !9
  %208 = add nsw i32 %207, -1
  store i32 %208, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %57, !llvm.loop !97

209:                                              ; preds = %57
  %210 = load i8, ptr %4, align 1, !tbaa !84, !range !82, !noundef !83
  %211 = trunc i8 %210 to i1
  br i1 %211, label %212, label %217

212:                                              ; preds = %209
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !85
  %213 = load i64, ptr %11, align 4
  call void @_ZN11HighsDomain16markPropagateCutENS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %16, i64 %213)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %214 = call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %214, ptr %12, align 4
  %215 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %215, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !85
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %216 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 17
  store i8 0, ptr %216, align 8, !tbaa !11
  br label %217

217:                                              ; preds = %212, %209
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %218 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 4
  %219 = call noundef i64 @_ZNKSt6vectorIN11HighsDomain6ReasonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %218) #5
  %220 = trunc i64 %219 to i32
  store i32 %220, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %221 = load i32, ptr %3, align 4, !tbaa !9
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %14, align 4, !tbaa !9
  br label %223

223:                                              ; preds = %234, %217
  %224 = load i32, ptr %14, align 4, !tbaa !9
  %225 = load i32, ptr %13, align 4, !tbaa !9
  %226 = icmp slt i32 %224, %225
  br i1 %226, label %228, label %227

227:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %237

228:                                              ; preds = %223
  %229 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 4
  %230 = load i32, ptr %14, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN11HighsDomain6ReasonESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %229, i64 noundef %231) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %232, i64 8, i1 false), !tbaa.struct !85
  %233 = load i64, ptr %15, align 4
  call void @_ZN11HighsDomain16markPropagateCutENS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %16, i64 %233)
  br label %234

234:                                              ; preds = %228
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %14, align 4, !tbaa !9
  br label %223, !llvm.loop !99

237:                                              ; preds = %227
  %238 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 3
  call void @_ZNSt6vectorI17HighsDomainChangeSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %238) #5
  %239 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 5
  call void @_ZNSt6vectorISt4pairIdiESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %239) #5
  %240 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 4
  call void @_ZNSt6vectorIN11HighsDomain6ReasonESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %240) #5
  %241 = getelementptr inbounds %class.HighsDomain, ptr %16, i32 0, i32 22
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %241) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

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

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

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

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

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { 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, !48, i64 640}
!12 = !{!"_ZTS11HighsDomain", !13, i64 0, !17, i64 24, !21, i64 48, !25, i64 72, !29, i64 96, !33, i64 120, !37, i64 144, !37, i64 168, !17, i64 192, !17, i64 216, !41, i64 240, !13, i64 264, !17, i64 288, !45, i64 312, !6, i64 472, !57, i64 480, !63, i64 560, !48, i64 640, !68, i64 644, !10, i64 652, !17, i64 656, !17, i64 680, !17, i64 704, !69, i64 728, !48, i64 768, !41, i64 776, !41, i64 800}
!13 = !{!"_ZTSSt6vectorIhSaIhEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorI17HighsDomainChangeSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseI17HighsDomainChangeSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorIN11HighsDomain6ReasonESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain6ReasonESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain6ReasonESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain6ReasonESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorISt4pairIdiESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseISt4pairIdiESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorI12HighsCDoubleSaIS0_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseI12HighsCDoubleSaIS0_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorIdSaIdEE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSN11HighsDomain20ObjectivePropagationE", !6, i64 0, !6, i64 8, !6, i64 16, !46, i64 24, !10, i64 40, !47, i64 48, !48, i64 56, !49, i64 64, !21, i64 88, !41, i64 112, !53, i64 136}
!46 = !{!"_ZTS12HighsCDouble", !47, i64 0, !47, i64 8}
!47 = !{!"double", !7, i64 0}
!48 = !{!"bool", !7, i64 0}
!49 = !{!"_ZTSSt6vectorIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!"_ZTSSt6vectorIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTSSt5dequeIN11HighsDomain18CutpoolPropagationESaIS1_EE", !58, i64 0}
!58 = !{!"_ZTSSt11_Deque_baseIN11HighsDomain18CutpoolPropagationESaIS1_EE", !59, i64 0}
!59 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain18CutpoolPropagationESaIS1_EE11_Deque_implE", !60, i64 0}
!60 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain18CutpoolPropagationESaIS1_EE16_Deque_impl_dataE", !6, i64 0, !61, i64 8, !62, i64 16, !62, i64 48}
!61 = !{!"long", !7, i64 0}
!62 = !{!"_ZTSSt15_Deque_iteratorIN11HighsDomain18CutpoolPropagationERS1_PS1_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!63 = !{!"_ZTSSt5dequeIN11HighsDomain23ConflictPoolPropagationESaIS1_EE", !64, i64 0}
!64 = !{!"_ZTSSt11_Deque_baseIN11HighsDomain23ConflictPoolPropagationESaIS1_EE", !65, i64 0}
!65 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain23ConflictPoolPropagationESaIS1_EE11_Deque_implE", !66, i64 0}
!66 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain23ConflictPoolPropagationESaIS1_EE16_Deque_impl_dataE", !6, i64 0, !61, i64 8, !67, i64 16, !67, i64 48}
!67 = !{!"_ZTSSt15_Deque_iteratorIN11HighsDomain23ConflictPoolPropagationERS1_PS1_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!68 = !{!"_ZTSN11HighsDomain6ReasonE", !10, i64 0, !10, i64 4}
!69 = !{!"_ZTS14HighsHashTableIivE", !70, i64 0, !76, i64 8, !61, i64 16, !61, i64 24, !61, i64 32}
!70 = !{!"_ZTSSt10unique_ptrI19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEE", !71, i64 0}
!71 = !{!"_ZTSSt15__uniq_ptr_dataI19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterELb1ELb1EE", !72, i64 0}
!72 = !{!"_ZTSSt15__uniq_ptr_implI19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEE", !73, i64 0}
!73 = !{!"_ZTSSt5tupleIJP19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEEE", !74, i64 0}
!74 = !{!"_ZTSSt11_Tuple_implILm0EJP19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEEE", !75, i64 0}
!75 = !{!"_ZTSSt10_Head_baseILm0EP19HighsHashTableEntryIivELb0EE", !6, i64 0}
!76 = !{!"_ZTSSt10unique_ptrIA_hSt14default_deleteIS0_EE", !77, i64 0}
!77 = !{!"_ZTSSt15__uniq_ptr_dataIhSt14default_deleteIA_hELb1ELb1EE", !78, i64 0}
!78 = !{!"_ZTSSt15__uniq_ptr_implIhSt14default_deleteIA_hEE", !79, i64 0}
!79 = !{!"_ZTSSt5tupleIJPhSt14default_deleteIA_hEEE", !80, i64 0}
!80 = !{!"_ZTSSt11_Tuple_implILm0EJPhSt14default_deleteIA_hEEE", !81, i64 0}
!81 = !{!"_ZTSSt10_Head_baseILm0EPhLb0EE", !6, i64 0}
!82 = !{i8 0, i8 2}
!83 = !{}
!84 = !{!48, !48, i64 0}
!85 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!86 = !{!12, !10, i64 652}
!87 = !{!88, !47, i64 0}
!88 = !{!"_ZTSSt4pairIdiE", !47, i64 0, !10, i64 8}
!89 = !{!47, !47, i64 0}
!90 = !{!88, !10, i64 8}
!91 = !{!12, !6, i64 472}
!92 = !{!93, !94, i64 12}
!93 = !{!"_ZTS17HighsDomainChange", !47, i64 0, !10, i64 8, !94, i64 12}
!94 = !{!"_ZTS14HighsBoundType", !7, i64 0}
!95 = !{!93, !10, i64 8}
!96 = !{!93, !47, i64 0}
!97 = distinct !{!97, !98}
!98 = !{!"llvm.loop.mustprogress"}
!99 = distinct !{!99, !98}


; 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.HighsDomainChange = type { double, i32, i32 }

@.str.52 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [15 x i8], align 1
@__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv = external hidden unnamed_addr constant [38 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [42 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 i64 @_ZN11HighsDomain6Reason11unspecifiedEv() 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 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 ptr @_ZNKSt10unique_ptrI18HighsMipSolverDataSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11HighsDomain16markPropagateCutENS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824), i64) local_unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11HighsDomain17backtrackToGlobalEv(ptr noundef nonnull align 8 dereferenceable(824) %0) local_unnamed_addr #3 align 2 {
  %2 = alloca %struct.HighsDomainChange, align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 72
  %4 = tail call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %5 = trunc i64 %4 to i32
  %6 = getelementptr inbounds i8, ptr %0, i64 640
  %7 = load i8, ptr %6, align 8, !tbaa !5, !range !80, !noundef !81
  %8 = trunc nuw i8 %7 to i1
  %9 = getelementptr inbounds i8, ptr %0, i64 644
  %.sroa.012.0.copyload = load i64, ptr %9, align 4
  br i1 %8, label %10, label %23

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 652
  %12 = load i32, ptr %11, align 4, !tbaa !82
  %13 = tail call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %14 = trunc i64 %13 to i32
  %15 = icmp eq i32 %12, %14
  br i1 %15, label %16, label %23

16:                                               ; preds = %10
  %17 = tail call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %18 = trunc i64 %17 to i32
  %19 = icmp eq i32 %5, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.83, ptr noundef nonnull @.str.52, i32 noundef 2182, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #5
  unreachable

21:                                               ; preds = %16
  store i8 0, ptr %6, align 8, !tbaa !5
  %22 = tail call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %22, ptr %9, align 4
  br label %23

23:                                               ; preds = %21, %10, %1
  %24 = icmp sgt i32 %5, 0
  br i1 %24, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %23
  %25 = getelementptr inbounds i8, ptr %0, i64 120
  %26 = getelementptr inbounds i8, ptr %0, i64 472
  %27 = getelementptr inbounds i8, ptr %0, i64 680
  %28 = getelementptr inbounds i8, ptr %0, i64 656
  %29 = getelementptr inbounds i8, ptr %2, i64 8
  %30 = getelementptr inbounds i8, ptr %2, i64 12
  %31 = getelementptr inbounds i8, ptr %0, i64 652
  %32 = and i64 %4, 2147483647
  br label %33

33:                                               ; preds = %.lr.ph, %100
  %indvars.iv = phi i64 [ %32, %.lr.ph ], [ %indvars.iv.next, %100 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %34 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv.next) #4
  %35 = load double, ptr %34, align 8, !tbaa !83
  %36 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv.next) #4
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = load i32, ptr %37, align 8, !tbaa !85
  %39 = sext i32 %38 to i64
  %40 = icmp sgt i64 %indvars.iv.next, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %33
  call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.52, i32 noundef 2190, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #5
  unreachable

42:                                               ; preds = %33
  %43 = load ptr, ptr %26, align 8, !tbaa !86
  %44 = getelementptr inbounds i8, ptr %43, i64 224
  %45 = call noundef ptr @_ZNKSt10unique_ptrI18HighsMipSolverDataSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #4
  %46 = getelementptr inbounds i8, ptr %45, i64 26800
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next) #4
  call void @_ZNK13HighsDebugSol18boundChangeRemovedERK11HighsDomainRK17HighsDomainChange(ptr noundef nonnull align 1 dereferenceable(1) %46, ptr noundef nonnull align 8 dereferenceable(824) %0, ptr noundef nonnull align 8 dereferenceable(16) %47)
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next) #4
  %49 = getelementptr inbounds i8, ptr %48, i64 12
  %50 = load i32, ptr %49, align 4, !tbaa !87
  %51 = icmp eq i32 %50, 0
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next) #4
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  %54 = load i32, ptr %53, align 8, !tbaa !90
  %55 = sext i32 %54 to i64
  br i1 %51, label %56, label %62

56:                                               ; preds = %42
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %55) #4
  %58 = load i32, ptr %57, align 4, !tbaa !91
  %59 = zext i32 %58 to i64
  %60 = icmp eq i64 %indvars.iv.next, %59
  br i1 %60, label %68, label %61

61:                                               ; preds = %56
  call void @__assert_fail(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.52, i32 noundef 2196, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #5
  unreachable

62:                                               ; preds = %42
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %55) #4
  %64 = load i32, ptr %63, align 4, !tbaa !91
  %65 = zext i32 %64 to i64
  %66 = icmp eq i64 %indvars.iv.next, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %62
  call void @__assert_fail(ptr noundef nonnull @.str.86, ptr noundef nonnull @.str.52, i32 noundef 2199, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #5
  unreachable

68:                                               ; preds = %62, %56
  %.sink64 = phi ptr [ %28, %56 ], [ %27, %62 ]
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next) #4
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = load i32, ptr %70, align 8, !tbaa !90
  %72 = sext i32 %71 to i64
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.sink64, i64 noundef %72) #4
  store i32 %38, ptr %73, align 4, !tbaa !91
  %74 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next) #4
  %75 = load double, ptr %74, align 8, !tbaa !92
  %76 = fcmp une double %35, %75
  br i1 %76, label %77, label %85

77:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  store double %35, ptr %2, align 8, !tbaa !92
  %78 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next) #4
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load i32, ptr %79, align 8, !tbaa !90
  store i32 %80, ptr %29, align 8, !tbaa !90
  %81 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next) #4
  %82 = getelementptr inbounds i8, ptr %81, i64 12
  %83 = load i32, ptr %82, align 4, !tbaa !87
  store i32 %83, ptr %30, align 4, !tbaa !87
  %84 = call noundef double @_ZN11HighsDomain13doChangeBoundERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %0, ptr noundef nonnull align 8 dereferenceable(16) %2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  br label %85

85:                                               ; preds = %77, %68
  %86 = load i8, ptr %6, align 8, !tbaa !5, !range !80, !noundef !81
  %87 = trunc nuw i8 %86 to i1
  %88 = load i32, ptr %31, align 4
  %89 = zext i32 %88 to i64
  %90 = icmp eq i64 %indvars.iv.next, %89
  %or.cond = select i1 %87, i1 %90, i1 false
  br i1 %or.cond, label %91, label %100

91:                                               ; preds = %85
  br i1 %8, label %93, label %92

92:                                               ; preds = %91
  call void @__assert_fail(ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.52, i32 noundef 2210, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #5
  unreachable

93:                                               ; preds = %91
  %94 = call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %95 = and i64 %94, 4294967295
  %96 = icmp eq i64 %indvars.iv, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  call void @__assert_fail(ptr noundef nonnull @.str.83, ptr noundef nonnull @.str.52, i32 noundef 2211, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain17backtrackToGlobalEv) #5
  unreachable

98:                                               ; preds = %93
  store i8 0, ptr %6, align 8, !tbaa !5
  %99 = call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %99, ptr %9, align 4
  br label %100

100:                                              ; preds = %98, %85
  %101 = icmp ugt i64 %indvars.iv, 1
  br i1 %101, label %33, label %._crit_edge, !llvm.loop !93

._crit_edge:                                      ; preds = %100, %23
  %.0.in.lcssa = phi i32 [ %5, %23 ], [ 0, %100 ]
  br i1 %8, label %102, label %104

102:                                              ; preds = %._crit_edge
  call void @_ZN11HighsDomain16markPropagateCutENS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %0, i64 %.sroa.012.0.copyload)
  %103 = call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %103, ptr %9, align 4
  store i8 0, ptr %6, align 8, !tbaa !5
  br label %104

104:                                              ; preds = %102, %._crit_edge
  %105 = getelementptr inbounds i8, ptr %0, i64 96
  %106 = call noundef i64 @_ZNKSt6vectorIN11HighsDomain6ReasonESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #4
  %107 = trunc i64 %106 to i32
  %108 = icmp slt i32 %.0.in.lcssa, %107
  br i1 %108, label %.lr.ph53.preheader, label %._crit_edge54

.lr.ph53.preheader:                               ; preds = %104
  %109 = sext i32 %.0.in.lcssa to i64
  br label %.lr.ph53

._crit_edge54:                                    ; preds = %.lr.ph53, %104
  call void @_ZNSt6vectorI17HighsDomainChangeSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %110 = getelementptr inbounds i8, ptr %0, i64 120
  call void @_ZNSt6vectorISt4pairIdiESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #4
  call void @_ZNSt6vectorIN11HighsDomain6ReasonESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #4
  %111 = getelementptr inbounds i8, ptr %0, i64 704
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #4
  ret void

.lr.ph53:                                         ; preds = %.lr.ph53.preheader, %.lr.ph53
  %indvars.iv61 = phi i64 [ %109, %.lr.ph53.preheader ], [ %indvars.iv.next62, %.lr.ph53 ]
  %112 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN11HighsDomain6ReasonESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %indvars.iv61) #4
  %.sroa.0.0.copyload = load i64, ptr %112, align 4
  call void @_ZN11HighsDomain16markPropagateCutENS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %0, i64 %.sroa.0.0.copyload)
  %indvars.iv.next62 = add nsw i64 %indvars.iv61, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next62 to i32
  %exitcond.not = icmp eq i32 %lftr.wideiv, %107
  br i1 %exitcond.not, label %._crit_edge54, label %.lr.ph53, !llvm.loop !95
}

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

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

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

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

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

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 = { nounwind }
attributes #5 = { 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, !46, i64 640}
!6 = !{!"_ZTS11HighsDomain", !7, i64 0, !14, i64 24, !18, i64 48, !22, i64 72, !26, i64 96, !30, i64 120, !34, i64 144, !34, i64 168, !14, i64 192, !14, i64 216, !38, i64 240, !7, i64 264, !14, i64 288, !42, i64 312, !11, i64 472, !55, i64 480, !61, i64 560, !46, i64 640, !66, i64 644, !45, i64 652, !14, i64 656, !14, i64 680, !14, i64 704, !67, i64 728, !46, i64 768, !38, i64 776, !38, i64 800}
!7 = !{!"_ZTSSt6vectorIhSaIhEE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSSt6vectorIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!"_ZTSSt6vectorI17HighsDomainChangeSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseI17HighsDomainChangeSaIS0_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!26 = !{!"_ZTSSt6vectorIN11HighsDomain6ReasonESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain6ReasonESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain6ReasonESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain6ReasonESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!30 = !{!"_ZTSSt6vectorISt4pairIdiESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseISt4pairIdiESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!34 = !{!"_ZTSSt6vectorI12HighsCDoubleSaIS0_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseI12HighsCDoubleSaIS0_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!38 = !{!"_ZTSSt6vectorIdSaIdEE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!42 = !{!"_ZTSN11HighsDomain20ObjectivePropagationE", !11, i64 0, !11, i64 8, !11, i64 16, !43, i64 24, !45, i64 40, !44, i64 48, !46, i64 56, !47, i64 64, !18, i64 88, !38, i64 112, !51, i64 136}
!43 = !{!"_ZTS12HighsCDouble", !44, i64 0, !44, i64 8}
!44 = !{!"double", !12, i64 0}
!45 = !{!"int", !12, i64 0}
!46 = !{!"bool", !12, i64 0}
!47 = !{!"_ZTSSt6vectorIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation21ObjectiveContributionESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!51 = !{!"_ZTSSt6vectorIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain20ObjectivePropagation19PartitionCliqueDataESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!55 = !{!"_ZTSSt5dequeIN11HighsDomain18CutpoolPropagationESaIS1_EE", !56, i64 0}
!56 = !{!"_ZTSSt11_Deque_baseIN11HighsDomain18CutpoolPropagationESaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain18CutpoolPropagationESaIS1_EE11_Deque_implE", !58, i64 0}
!58 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain18CutpoolPropagationESaIS1_EE16_Deque_impl_dataE", !11, i64 0, !59, i64 8, !60, i64 16, !60, i64 48}
!59 = !{!"long", !12, i64 0}
!60 = !{!"_ZTSSt15_Deque_iteratorIN11HighsDomain18CutpoolPropagationERS1_PS1_E", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!61 = !{!"_ZTSSt5dequeIN11HighsDomain23ConflictPoolPropagationESaIS1_EE", !62, i64 0}
!62 = !{!"_ZTSSt11_Deque_baseIN11HighsDomain23ConflictPoolPropagationESaIS1_EE", !63, i64 0}
!63 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain23ConflictPoolPropagationESaIS1_EE11_Deque_implE", !64, i64 0}
!64 = !{!"_ZTSNSt11_Deque_baseIN11HighsDomain23ConflictPoolPropagationESaIS1_EE16_Deque_impl_dataE", !11, i64 0, !59, i64 8, !65, i64 16, !65, i64 48}
!65 = !{!"_ZTSSt15_Deque_iteratorIN11HighsDomain23ConflictPoolPropagationERS1_PS1_E", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!66 = !{!"_ZTSN11HighsDomain6ReasonE", !45, i64 0, !45, i64 4}
!67 = !{!"_ZTS14HighsHashTableIivE", !68, i64 0, !74, i64 8, !59, i64 16, !59, i64 24, !59, i64 32}
!68 = !{!"_ZTSSt10unique_ptrI19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEE", !69, i64 0}
!69 = !{!"_ZTSSt15__uniq_ptr_dataI19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterELb1ELb1EE", !70, i64 0}
!70 = !{!"_ZTSSt15__uniq_ptr_implI19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEE", !71, i64 0}
!71 = !{!"_ZTSSt5tupleIJP19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEEE", !72, i64 0}
!72 = !{!"_ZTSSt11_Tuple_implILm0EJP19HighsHashTableEntryIivEN14HighsHashTableIivE12OpNewDeleterEEE", !73, i64 0}
!73 = !{!"_ZTSSt10_Head_baseILm0EP19HighsHashTableEntryIivELb0EE", !11, i64 0}
!74 = !{!"_ZTSSt10unique_ptrIA_hSt14default_deleteIS0_EE", !75, i64 0}
!75 = !{!"_ZTSSt15__uniq_ptr_dataIhSt14default_deleteIA_hELb1ELb1EE", !76, i64 0}
!76 = !{!"_ZTSSt15__uniq_ptr_implIhSt14default_deleteIA_hEE", !77, i64 0}
!77 = !{!"_ZTSSt5tupleIJPhSt14default_deleteIA_hEEE", !78, i64 0}
!78 = !{!"_ZTSSt11_Tuple_implILm0EJPhSt14default_deleteIA_hEEE", !79, i64 0}
!79 = !{!"_ZTSSt10_Head_baseILm0EPhLb0EE", !11, i64 0}
!80 = !{i8 0, i8 2}
!81 = !{}
!82 = !{!6, !45, i64 652}
!83 = !{!84, !44, i64 0}
!84 = !{!"_ZTSSt4pairIdiE", !44, i64 0, !45, i64 8}
!85 = !{!84, !45, i64 8}
!86 = !{!6, !11, i64 472}
!87 = !{!88, !89, i64 12}
!88 = !{!"_ZTS17HighsDomainChange", !44, i64 0, !45, i64 8, !89, i64 12}
!89 = !{!"_ZTS14HighsBoundType", !12, i64 0}
!90 = !{!88, !45, i64 8}
!91 = !{!45, !45, i64 0}
!92 = !{!88, !44, i64 0}
!93 = distinct !{!93, !94}
!94 = !{!"llvm.loop.mustprogress"}
!95 = distinct !{!95, !94}


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