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

; 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.std::array" = type { [2 x %"struct.std::pair"] }
%"struct.std::pair" = type { i32, i32 }
%"struct.HighsDomain::ConflictPoolPropagation" = type { i32, ptr, ptr, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.142" }
%"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 }
%"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.std::vector.142" = type { %"struct.std::_Vector_base.143" }
%"struct.std::_Vector_base.143" = type { %"struct.std::_Vector_base<HighsDomain::ConflictPoolPropagation::WatchedLiteral, std::allocator<HighsDomain::ConflictPoolPropagation::WatchedLiteral>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::ConflictPoolPropagation::WatchedLiteral, std::allocator<HighsDomain::ConflictPoolPropagation::WatchedLiteral>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::ConflictPoolPropagation::WatchedLiteral, std::allocator<HighsDomain::ConflictPoolPropagation::WatchedLiteral>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::ConflictPoolPropagation::WatchedLiteral, std::allocator<HighsDomain::ConflictPoolPropagation::WatchedLiteral>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HighsDomain::ConflictPoolPropagation::WatchedLiteral" = type { %struct.HighsDomainChange, 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 }
%"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 }
%"struct.HighsDomain::Reason" = type { i32, i32 }
%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 }

; 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 uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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: mustprogress nounwind uwtable
declare dso_local void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 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) #3 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) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11HighsDomain23ConflictPoolPropagation13conflictAddedEi(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::array", align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"struct.std::pair", align 4
  %17 = alloca %"struct.std::pair", align 4
  %18 = alloca %"struct.std::pair", align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %26 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %27 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 2
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17HighsConflictPool17getConflictRangesEv(ptr noundef nonnull align 8 dereferenceable(224) %28)
  %30 = load i32, ptr %4, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %31) #6
  %33 = getelementptr inbounds %"struct.std::pair", ptr %32, i32 0, i32 0
  %34 = load i32, ptr %33, align 4, !tbaa !25
  store i32 %34, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %35 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17HighsConflictPool17getConflictRangesEv(ptr noundef nonnull align 8 dereferenceable(224) %36)
  %38 = load i32, ptr %4, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %39) #6
  %41 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !27
  store i32 %42, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %43 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !11
  %45 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17HighsConflictPool22getConflictEntryVectorEv(ptr noundef nonnull align 8 dereferenceable(224) %44)
  store ptr %45, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 5
  %47 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #6
  %48 = trunc i64 %47 to i32
  %49 = load i32, ptr %4, align 4, !tbaa !9
  %50 = icmp sle i32 %48, %49
  br i1 %50, label %51, label %61

51:                                               ; preds = %2
  %52 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 7
  %53 = load i32, ptr %4, align 4, !tbaa !9
  %54 = mul nsw i32 2, %53
  %55 = add nsw i32 %54, 2
  %56 = sext i32 %55 to i64
  call void @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %56)
  %57 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 5
  %58 = load i32, ptr %4, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  %60 = sext i32 %59 to i64
  call void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %60)
  br label %61

61:                                               ; preds = %51, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %62 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %62, ptr %9, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %100, %61
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = load i32, ptr %6, align 4, !tbaa !9
  %66 = icmp ne i32 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  store i32 2, ptr %10, align 4
  br label %103

68:                                               ; preds = %63
  %69 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 1
  %70 = load ptr, ptr %69, align 8, !tbaa !28
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = load i32, ptr %9, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %73) #6
  %75 = call noundef zeroext i1 @_ZNK11HighsDomain8isActiveERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %70, ptr noundef nonnull align 8 dereferenceable(16) %74)
  br i1 %75, label %76, label %77

76:                                               ; preds = %68
  br label %100

77:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %78 = load i32, ptr %4, align 4, !tbaa !9
  %79 = mul nsw i32 2, %78
  %80 = load i32, ptr %8, align 4, !tbaa !9
  %81 = add nsw i32 %79, %80
  store i32 %81, ptr %11, align 4, !tbaa !9
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = load i32, ptr %9, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %84) #6
  %86 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 7
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #6
  %90 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation::WatchedLiteral", ptr %89, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 8 %85, i64 16, i1 false), !tbaa.struct !29
  %91 = load i32, ptr %11, align 4, !tbaa !9
  call void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144) %26, i32 noundef %91)
  %92 = load i32, ptr %8, align 4, !tbaa !9
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %8, align 4, !tbaa !9
  %94 = icmp eq i32 %93, 2
  br i1 %94, label %95, label %96

95:                                               ; preds = %77
  store i32 2, ptr %10, align 4
  br label %97

96:                                               ; preds = %77
  store i32 0, ptr %10, align 4
  br label %97

97:                                               ; preds = %96, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  %98 = load i32, ptr %10, align 4
  switch i32 %98, label %103 [
    i32 0, label %99
  ]

99:                                               ; preds = %97
  br label %100

100:                                              ; preds = %99, %76
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %9, align 4, !tbaa !9
  br label %63, !llvm.loop !34

103:                                              ; preds = %97, %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %8, align 4, !tbaa !9
  switch i32 %105, label %295 [
    i32 0, label %106
    i32 1, label %224
    i32 2, label %295
  ]

106:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @_ZNSt5arrayISt4pairIiiELm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %107 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %107, ptr %14, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %192, %106
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = load i32, ptr %6, align 4, !tbaa !9
  %111 = icmp ne i32 %109, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %108
  store i32 6, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %195

113:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = load i32, ptr %14, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %116) #6
  %118 = getelementptr inbounds %struct.HighsDomainChange, ptr %117, i32 0, i32 2
  %119 = load i32, ptr %118, align 4, !tbaa !36
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %134

121:                                              ; preds = %113
  %122 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 1
  %123 = load ptr, ptr %122, align 8, !tbaa !28
  %124 = getelementptr inbounds %class.HighsDomain, ptr %123, i32 0, i32 20
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %127) #6
  %129 = getelementptr inbounds %struct.HighsDomainChange, ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 8, !tbaa !38
  %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) #6
  %133 = load i32, ptr %132, align 4, !tbaa !9
  br label %147

134:                                              ; preds = %113
  %135 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !28
  %137 = getelementptr inbounds %class.HighsDomain, ptr %136, i32 0, i32 21
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = load i32, ptr %14, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %140) #6
  %142 = getelementptr inbounds %struct.HighsDomainChange, ptr %141, i32 0, i32 1
  %143 = load i32, ptr %142, align 8, !tbaa !38
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %144) #6
  %146 = load i32, ptr %145, align 4, !tbaa !9
  br label %147

147:                                              ; preds = %134, %121
  %148 = phi i32 [ %133, %121 ], [ %146, %134 ]
  store i32 %148, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %13, align 4, !tbaa !9
  switch i32 %149, label %191 [
    i32 0, label %150
    i32 1, label %154
    i32 2, label %169
  ]

150:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %151 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store i64 %151, ptr %16, align 4
  %152 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 0) #6
  %153 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %152, ptr noundef nonnull align 4 dereferenceable(8) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  store i32 1, ptr %13, align 4, !tbaa !9
  br label %191

154:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %155 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store i64 %155, ptr %17, align 4
  %156 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1) #6
  %157 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %156, ptr noundef nonnull align 4 dereferenceable(8) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  store i32 2, ptr %13, align 4, !tbaa !9
  %158 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 0) #6
  %159 = getelementptr inbounds %"struct.std::pair", ptr %158, i32 0, i32 0
  %160 = load i32, ptr %159, align 4, !tbaa !25
  %161 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1) #6
  %162 = getelementptr inbounds %"struct.std::pair", ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 4, !tbaa !25
  %164 = icmp slt i32 %160, %163
  br i1 %164, label %165, label %168

165:                                              ; preds = %154
  %166 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 0) #6
  %167 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1) #6
  call void @_ZSt4swapIiiENSt9enable_ifIXsr6__and_ISt14__is_swappableIT_ES1_IT0_EEE5valueEvE4typeERSt4pairIS2_S4_ESA_(ptr noundef nonnull align 4 dereferenceable(8) %166, ptr noundef nonnull align 4 dereferenceable(8) %167) #6
  br label %168

168:                                              ; preds = %165, %154
  br label %191

169:                                              ; preds = %147
  %170 = load i32, ptr %15, align 4, !tbaa !9
  %171 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1) #6
  %172 = getelementptr inbounds %"struct.std::pair", ptr %171, i32 0, i32 0
  %173 = load i32, ptr %172, align 4, !tbaa !25
  %174 = icmp sgt i32 %170, %173
  br i1 %174, label %175, label %190

175:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %176 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store i64 %176, ptr %18, align 4
  %177 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1) #6
  %178 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %177, ptr noundef nonnull align 4 dereferenceable(8) %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %179 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 0) #6
  %180 = getelementptr inbounds %"struct.std::pair", ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 4, !tbaa !25
  %182 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1) #6
  %183 = getelementptr inbounds %"struct.std::pair", ptr %182, i32 0, i32 0
  %184 = load i32, ptr %183, align 4, !tbaa !25
  %185 = icmp slt i32 %181, %184
  br i1 %185, label %186, label %189

186:                                              ; preds = %175
  %187 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 0) #6
  %188 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1) #6
  call void @_ZSt4swapIiiENSt9enable_ifIXsr6__and_ISt14__is_swappableIT_ES1_IT0_EEE5valueEvE4typeERSt4pairIS2_S4_ESA_(ptr noundef nonnull align 4 dereferenceable(8) %187, ptr noundef nonnull align 4 dereferenceable(8) %188) #6
  br label %189

189:                                              ; preds = %186, %175
  br label %190

190:                                              ; preds = %189, %169
  br label %191

191:                                              ; preds = %190, %168, %150, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %192

192:                                              ; preds = %191
  %193 = load i32, ptr %14, align 4, !tbaa !9
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %14, align 4, !tbaa !9
  br label %108, !llvm.loop !39

195:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %196

196:                                              ; preds = %220, %195
  %197 = load i32, ptr %19, align 4, !tbaa !9
  %198 = load i32, ptr %13, align 4, !tbaa !9
  %199 = icmp slt i32 %197, %198
  br i1 %199, label %201, label %200

200:                                              ; preds = %196
  store i32 10, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %223

201:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %202 = load i32, ptr %4, align 4, !tbaa !9
  %203 = mul nsw i32 2, %202
  %204 = load i32, ptr %19, align 4, !tbaa !9
  %205 = add nsw i32 %203, %204
  store i32 %205, ptr %20, align 4, !tbaa !9
  %206 = load ptr, ptr %7, align 8, !tbaa !5
  %207 = load i32, ptr %19, align 4, !tbaa !9
  %208 = sext i32 %207 to i64
  %209 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef %208) #6
  %210 = getelementptr inbounds %"struct.std::pair", ptr %209, i32 0, i32 1
  %211 = load i32, ptr %210, align 4, !tbaa !27
  %212 = sext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef %212) #6
  %214 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 7
  %215 = load i32, ptr %20, align 4, !tbaa !9
  %216 = sext i32 %215 to i64
  %217 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %214, i64 noundef %216) #6
  %218 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation::WatchedLiteral", ptr %217, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %218, ptr align 8 %213, i64 16, i1 false), !tbaa.struct !29
  %219 = load i32, ptr %20, align 4, !tbaa !9
  call void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144) %26, i32 noundef %219)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %220

220:                                              ; preds = %201
  %221 = load i32, ptr %19, align 4, !tbaa !9
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %19, align 4, !tbaa !9
  br label %196, !llvm.loop !40

223:                                              ; preds = %200
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  br label %295

224:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 -1, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 -1, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %225 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %225, ptr %23, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %274, %224
  %227 = load i32, ptr %23, align 4, !tbaa !9
  %228 = load i32, ptr %6, align 4, !tbaa !9
  %229 = icmp ne i32 %227, %228
  br i1 %229, label %231, label %230

230:                                              ; preds = %226
  store i32 13, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %277

231:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = load i32, ptr %23, align 4, !tbaa !9
  %234 = sext i32 %233 to i64
  %235 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %232, i64 noundef %234) #6
  %236 = getelementptr inbounds %struct.HighsDomainChange, ptr %235, i32 0, i32 2
  %237 = load i32, ptr %236, align 4, !tbaa !36
  %238 = icmp eq i32 %237, 0
  br i1 %238, label %239, label %252

239:                                              ; preds = %231
  %240 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 1
  %241 = load ptr, ptr %240, align 8, !tbaa !28
  %242 = getelementptr inbounds %class.HighsDomain, ptr %241, i32 0, i32 20
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  %244 = load i32, ptr %23, align 4, !tbaa !9
  %245 = sext i32 %244 to i64
  %246 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %243, i64 noundef %245) #6
  %247 = getelementptr inbounds %struct.HighsDomainChange, ptr %246, i32 0, i32 1
  %248 = load i32, ptr %247, align 8, !tbaa !38
  %249 = sext i32 %248 to i64
  %250 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %249) #6
  %251 = load i32, ptr %250, align 4, !tbaa !9
  br label %265

252:                                              ; preds = %231
  %253 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 1
  %254 = load ptr, ptr %253, align 8, !tbaa !28
  %255 = getelementptr inbounds %class.HighsDomain, ptr %254, i32 0, i32 21
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = load i32, ptr %23, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %256, i64 noundef %258) #6
  %260 = getelementptr inbounds %struct.HighsDomainChange, ptr %259, i32 0, i32 1
  %261 = load i32, ptr %260, align 8, !tbaa !38
  %262 = sext i32 %261 to i64
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %255, i64 noundef %262) #6
  %264 = load i32, ptr %263, align 4, !tbaa !9
  br label %265

265:                                              ; preds = %252, %239
  %266 = phi i32 [ %251, %239 ], [ %264, %252 ]
  store i32 %266, ptr %24, align 4, !tbaa !9
  %267 = load i32, ptr %24, align 4, !tbaa !9
  %268 = load i32, ptr %22, align 4, !tbaa !9
  %269 = icmp sgt i32 %267, %268
  br i1 %269, label %270, label %273

270:                                              ; preds = %265
  %271 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %271, ptr %21, align 4, !tbaa !9
  %272 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %272, ptr %22, align 4, !tbaa !9
  br label %273

273:                                              ; preds = %270, %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %274

274:                                              ; preds = %273
  %275 = load i32, ptr %23, align 4, !tbaa !9
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %23, align 4, !tbaa !9
  br label %226, !llvm.loop !41

277:                                              ; preds = %230
  %278 = load i32, ptr %21, align 4, !tbaa !9
  %279 = icmp ne i32 %278, -1
  br i1 %279, label %280, label %294

280:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %281 = load i32, ptr %4, align 4, !tbaa !9
  %282 = mul nsw i32 2, %281
  %283 = add nsw i32 %282, 1
  store i32 %283, ptr %25, align 4, !tbaa !9
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = load i32, ptr %21, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %284, i64 noundef %286) #6
  %288 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 7
  %289 = load i32, ptr %25, align 4, !tbaa !9
  %290 = sext i32 %289 to i64
  %291 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %288, i64 noundef %290) #6
  %292 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation::WatchedLiteral", ptr %291, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %292, ptr align 8 %287, i64 16, i1 false), !tbaa.struct !29
  %293 = load i32, ptr %25, align 4, !tbaa !9
  call void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144) %26, i32 noundef %293)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %294

294:                                              ; preds = %280, %277
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %295

295:                                              ; preds = %294, %223, %104, %104
  %296 = load i32, ptr %8, align 4, !tbaa !9
  %297 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 5
  %298 = load i32, ptr %4, align 4, !tbaa !9
  %299 = sext i32 %298 to i64
  %300 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %297, i64 noundef %299) #6
  %301 = load i8, ptr %300, align 1, !tbaa !42
  %302 = zext i8 %301 to i32
  %303 = and i32 %302, 4
  %304 = or i32 %296, %303
  %305 = trunc i32 %304 to i8
  %306 = getelementptr inbounds %"struct.HighsDomain::ConflictPoolPropagation", ptr %26, i32 0, i32 5
  %307 = load i32, ptr %4, align 4, !tbaa !9
  %308 = sext i32 %307 to i64
  %309 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %306, i64 noundef %308) #6
  store i8 %305, ptr %309, align 1, !tbaa !42
  %310 = load i32, ptr %4, align 4, !tbaa !9
  call void @_ZN11HighsDomain23ConflictPoolPropagation21markPropagateConflictEi(ptr noundef nonnull align 8 dereferenceable(144) %26, i32 noundef %310)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11HighsDomain8isActiveERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayISt4pairIiiELm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiiENSt9enable_ifIXsr6__and_ISt14__is_swappableIT_ES1_IT0_EEE5valueEvE4typeERSt4pairIS2_S4_ESA_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 = { 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 #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !6, i64 16}
!12 = !{!"_ZTSN11HighsDomain23ConflictPoolPropagationE", !10, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 48, !17, i64 72, !13, i64 96, !21, i64 120}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIhSaIhEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!26, !10, i64 0}
!26 = !{!"_ZTSSt4pairIiiE", !10, i64 0, !10, i64 4}
!27 = !{!26, !10, i64 4}
!28 = !{!12, !6, i64 8}
!29 = !{i64 0, i64 8, !30, i64 8, i64 4, !9, i64 12, i64 4, !32}
!30 = !{!31, !31, i64 0}
!31 = !{!"double", !7, i64 0}
!32 = !{!33, !33, i64 0}
!33 = !{!"_ZTS14HighsBoundType", !7, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!37, !33, i64 12}
!37 = !{!"_ZTS17HighsDomainChange", !31, i64 0, !10, i64 8, !33, i64 12}
!38 = !{!37, !10, i64 8}
!39 = distinct !{!39, !35}
!40 = distinct !{!40, !35}
!41 = distinct !{!41, !35}
!42 = !{!7, !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.std::array" = type { [2 x %"struct.std::pair"] }
%"struct.std::pair" = type { i32, i32 }

; 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 uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress 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: mustprogress nounwind uwtable
declare dso_local void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11HighsDomain23ConflictPoolPropagation13conflictAddedEi(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %"struct.std::array", align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::pair", align 8
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca %"struct.std::pair", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17HighsConflictPool17getConflictRangesEv(ptr noundef nonnull align 8 dereferenceable(224) %10)
  %12 = sext i32 %1 to i64
  %13 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %12) #7
  %14 = load i32, ptr %13, align 4, !tbaa !23
  %15 = load ptr, ptr %9, align 8, !tbaa !5
  %16 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17HighsConflictPool17getConflictRangesEv(ptr noundef nonnull align 8 dereferenceable(224) %15)
  %17 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %12) #7
  %18 = getelementptr inbounds i8, ptr %17, i64 4
  %19 = load i32, ptr %18, align 4, !tbaa !25
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17HighsConflictPool22getConflictEntryVectorEv(ptr noundef nonnull align 8 dereferenceable(224) %20)
  %22 = getelementptr inbounds i8, ptr %0, i64 72
  %23 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %24 = trunc i64 %23 to i32
  %.not = icmp sgt i32 %24, %1
  br i1 %.not, label %32, label %25

25:                                               ; preds = %2
  %26 = getelementptr inbounds i8, ptr %0, i64 120
  %27 = shl nsw i32 %1, 1
  %28 = add nsw i32 %27, 2
  %29 = sext i32 %28 to i64
  tail call void @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %29)
  %30 = add nsw i32 %1, 1
  %31 = sext i32 %30 to i64
  tail call void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %31)
  br label %32

32:                                               ; preds = %25, %2
  %.not7182 = icmp eq i32 %14, %19
  br i1 %.not7182, label %.thread112, label %.lr.ph

.thread112:                                       ; preds = %32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZNSt5arrayISt4pairIiiELm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  br label %._crit_edge97.thread

.lr.ph:                                           ; preds = %32
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  %34 = shl nsw i32 %1, 1
  %35 = getelementptr inbounds i8, ptr %0, i64 120
  %36 = sext i32 %14 to i64
  br label %37

37:                                               ; preds = %.lr.ph, %47
  %indvars.iv = phi i64 [ %36, %.lr.ph ], [ %indvars.iv.next, %47 ]
  %.084 = phi i32 [ 0, %.lr.ph ], [ %.1, %47 ]
  %38 = load ptr, ptr %33, align 8, !tbaa !26
  %39 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv) #7
  %40 = tail call noundef zeroext i1 @_ZNK11HighsDomain8isActiveERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %38, ptr noundef nonnull align 8 dereferenceable(16) %39)
  br i1 %40, label %47, label %41

41:                                               ; preds = %37
  %42 = add nsw i32 %.084, %34
  %43 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv) #7
  %44 = sext i32 %42 to i64
  %45 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %44) #7
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %43, i64 16, i1 false), !tbaa.struct !27
  tail call void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %42)
  %46 = add nsw i32 %.084, 1
  %.not72 = icmp eq i32 %46, 2
  br i1 %.not72, label %.thread, label %47

47:                                               ; preds = %41, %37
  %.1 = phi i32 [ %.084, %37 ], [ %46, %41 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %48 = trunc nsw i64 %indvars.iv.next to i32
  %.not71 = icmp eq i32 %19, %48
  br i1 %.not71, label %._crit_edge, label %37, !llvm.loop !33

._crit_edge:                                      ; preds = %47
  switch i32 %.1, label %.thread [
    i32 0, label %51
    i32 1, label %.preheader
  ]

.preheader:                                       ; preds = %._crit_edge
  br i1 %.not7182, label %.thread, label %.lr.ph89

.lr.ph89:                                         ; preds = %.preheader
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = sext i32 %14 to i64
  br label %116

51:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZNSt5arrayISt4pairIiiELm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 %14, ptr %4, align 4, !tbaa !30
  br i1 %.not7182, label %._crit_edge97.thread, label %.lr.ph96

.lr.ph96:                                         ; preds = %51
  %52 = getelementptr inbounds i8, ptr %0, i64 8
  br label %56

._crit_edge97.thread:                             ; preds = %51, %.thread112
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  br label %._crit_edge102

.lr.ph101:                                        ; preds = %104
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %53 = shl nsw i32 %1, 1
  %54 = getelementptr inbounds i8, ptr %0, i64 120
  %55 = sext i32 %53 to i64
  %wide.trip.count = zext nneg i32 %.168 to i64
  br label %107

56:                                               ; preds = %.lr.ph96, %104
  %.06794 = phi i32 [ 0, %.lr.ph96 ], [ %.168, %104 ]
  %storemerge93 = phi i32 [ %14, %.lr.ph96 ], [ %106, %104 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %57 = sext i32 %storemerge93 to i64
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %57) #7
  %59 = getelementptr inbounds i8, ptr %58, i64 12
  %60 = load i32, ptr %59, align 4, !tbaa !35
  %61 = icmp eq i32 %60, 0
  %62 = load ptr, ptr %52, align 8, !tbaa !26
  %63 = load i32, ptr %4, align 4, !tbaa !30
  %64 = sext i32 %63 to i64
  %65 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %64) #7
  %66 = getelementptr inbounds i8, ptr %65, i64 8
  %67 = load i32, ptr %66, align 8, !tbaa !37
  %68 = sext i32 %67 to i64
  %. = select i1 %61, i64 656, i64 680
  %69 = getelementptr inbounds i8, ptr %62, i64 %.
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %68) #7
  %71 = load i32, ptr %70, align 4, !tbaa !30
  store i32 %71, ptr %5, align 4, !tbaa !30
  switch i32 %.06794, label %default.unreachable110 [
    i32 0, label %72
    i32 1, label %76
    i32 2, label %88
  ]

72:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %73 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store i64 %73, ptr %6, align 8
  %74 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 0) #7
  %75 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %74, ptr noundef nonnull align 4 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %104

76:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %77 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store i64 %77, ptr %7, align 8
  %78 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 1) #7
  %79 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  %80 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 0) #7
  %81 = load i32, ptr %80, align 4, !tbaa !23
  %82 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 1) #7
  %83 = load i32, ptr %82, align 4, !tbaa !23
  %84 = icmp slt i32 %81, %83
  br i1 %84, label %85, label %104

85:                                               ; preds = %76
  %86 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 0) #7
  %87 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 1) #7
  call void @_ZSt4swapIiiENSt9enable_ifIXsr6__and_ISt14__is_swappableIT_ES1_IT0_EEE5valueEvE4typeERSt4pairIS2_S4_ESA_(ptr noundef nonnull align 4 dereferenceable(8) %86, ptr noundef nonnull align 4 dereferenceable(8) %87) #7
  br label %104

88:                                               ; preds = %56
  %89 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 1) #7
  %90 = load i32, ptr %89, align 4, !tbaa !23
  %91 = icmp sgt i32 %71, %90
  br i1 %91, label %92, label %104

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %93 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store i64 %93, ptr %8, align 8
  %94 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 1) #7
  %95 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %94, ptr noundef nonnull align 4 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  %96 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 0) #7
  %97 = load i32, ptr %96, align 4, !tbaa !23
  %98 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 1) #7
  %99 = load i32, ptr %98, align 4, !tbaa !23
  %100 = icmp slt i32 %97, %99
  br i1 %100, label %101, label %104

101:                                              ; preds = %92
  %102 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 0) #7
  %103 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef 1) #7
  call void @_ZSt4swapIiiENSt9enable_ifIXsr6__and_ISt14__is_swappableIT_ES1_IT0_EEE5valueEvE4typeERSt4pairIS2_S4_ESA_(ptr noundef nonnull align 4 dereferenceable(8) %102, ptr noundef nonnull align 4 dereferenceable(8) %103) #7
  br label %104

default.unreachable110:                           ; preds = %56
  unreachable

104:                                              ; preds = %88, %101, %92, %76, %85, %72
  %.168 = phi i32 [ 2, %101 ], [ 2, %92 ], [ 2, %88 ], [ 2, %85 ], [ 2, %76 ], [ 1, %72 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  %105 = load i32, ptr %4, align 4, !tbaa !30
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %4, align 4, !tbaa !30
  %.not75 = icmp eq i32 %106, %19
  br i1 %.not75, label %.lr.ph101, label %56, !llvm.loop !38

._crit_edge102:                                   ; preds = %107, %._crit_edge97.thread
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %.thread

107:                                              ; preds = %.lr.ph101, %107
  %indvars.iv107 = phi i64 [ 0, %.lr.ph101 ], [ %indvars.iv.next108, %107 ]
  %108 = add nuw nsw i64 %indvars.iv107, %55
  %109 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIiiELm2EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %3, i64 noundef %indvars.iv107) #7
  %110 = getelementptr inbounds i8, ptr %109, i64 4
  %111 = load i32, ptr %110, align 4, !tbaa !25
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %112) #7
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %108) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %114, ptr noundef nonnull align 8 dereferenceable(16) %113, i64 16, i1 false), !tbaa.struct !27
  %115 = trunc nsw i64 %108 to i32
  call void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %115)
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next108, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge102, label %107, !llvm.loop !39

._crit_edge90:                                    ; preds = %116
  %.not74 = icmp eq i32 %spec.select, -1
  br i1 %.not74, label %.thread, label %132

116:                                              ; preds = %.lr.ph89, %116
  %indvars.iv104 = phi i64 [ %50, %.lr.ph89 ], [ %indvars.iv.next105, %116 ]
  %.06187 = phi i32 [ -1, %.lr.ph89 ], [ %spec.select77, %116 ]
  %.06386 = phi i32 [ -1, %.lr.ph89 ], [ %spec.select, %116 ]
  %117 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv104) #7
  %118 = getelementptr inbounds i8, ptr %117, i64 12
  %119 = load i32, ptr %118, align 4, !tbaa !35
  %120 = icmp eq i32 %119, 0
  %121 = load ptr, ptr %49, align 8, !tbaa !26
  %122 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv104) #7
  %123 = getelementptr inbounds i8, ptr %122, i64 8
  %124 = load i32, ptr %123, align 8, !tbaa !37
  %125 = sext i32 %124 to i64
  %.118 = select i1 %120, i64 656, i64 680
  %126 = getelementptr inbounds i8, ptr %121, i64 %.118
  %127 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %125) #7
  %128 = load i32, ptr %127, align 4, !tbaa !30
  %129 = icmp sgt i32 %128, %.06187
  %130 = trunc nsw i64 %indvars.iv104 to i32
  %spec.select = select i1 %129, i32 %130, i32 %.06386
  %spec.select77 = tail call i32 @llvm.smax.i32(i32 %128, i32 %.06187)
  %indvars.iv.next105 = add nsw i64 %indvars.iv104, 1
  %131 = trunc nsw i64 %indvars.iv.next105 to i32
  %.not73 = icmp eq i32 %19, %131
  br i1 %.not73, label %._crit_edge90, label %116, !llvm.loop !40

132:                                              ; preds = %._crit_edge90
  %133 = shl nsw i32 %1, 1
  %134 = or disjoint i32 %133, 1
  %135 = sext i32 %spec.select to i64
  %136 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %135) #7
  %137 = getelementptr inbounds i8, ptr %0, i64 120
  %138 = sext i32 %134 to i64
  %139 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %138) #7
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %139, ptr noundef nonnull align 8 dereferenceable(16) %136, i64 16, i1 false), !tbaa.struct !27
  tail call void @_ZN11HighsDomain23ConflictPoolPropagation18linkWatchedLiteralEi(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %134)
  br label %.thread

.thread:                                          ; preds = %41, %.preheader, %._crit_edge90, %132, %._crit_edge102, %._crit_edge
  %.279 = phi i32 [ 1, %._crit_edge90 ], [ 1, %132 ], [ 0, %._crit_edge102 ], [ %.1, %._crit_edge ], [ 1, %.preheader ], [ 2, %41 ]
  %140 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %12) #7
  %141 = load i8, ptr %140, align 1, !tbaa !41
  %142 = and i8 %141, 4
  %143 = trunc i32 %.279 to i8
  %144 = or i8 %142, %143
  %145 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %12) #7
  store i8 %144, ptr %145, align 1, !tbaa !41
  call void @_ZN11HighsDomain23ConflictPoolPropagation21markPropagateConflictEi(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %1)
  ret void
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11HighsDomain8isActiveERK17HighsDomainChange(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 noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayISt4pairIiiELm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiiENSt9enable_ifIXsr6__and_ISt14__is_swappableIT_ES1_IT0_EEE5valueEvE4typeERSt4pairIS2_S4_ESA_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"_ZTSN11HighsDomain23ConflictPoolPropagationE", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 48, !15, i64 72, !11, i64 96, !19, i64 120}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!"_ZTSSt6vectorIhSaIhEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!19 = !{!"_ZTSSt6vectorIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain23ConflictPoolPropagation14WatchedLiteralESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!23 = !{!24, !7, i64 0}
!24 = !{!"_ZTSSt4pairIiiE", !7, i64 0, !7, i64 4}
!25 = !{!24, !7, i64 4}
!26 = !{!6, !10, i64 8}
!27 = !{i64 0, i64 8, !28, i64 8, i64 4, !30, i64 12, i64 4, !31}
!28 = !{!29, !29, i64 0}
!29 = !{!"double", !8, i64 0}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"_ZTS14HighsBoundType", !8, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!36, !32, i64 12}
!36 = !{!"_ZTS17HighsDomainChange", !29, i64 0, !7, i64 8, !32, i64 12}
!37 = !{!36, !7, i64 8}
!38 = distinct !{!38, !34}
!39 = distinct !{!39, !34}
!40 = distinct !{!40, !34}
!41 = !{!8, !8, i64 0}


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