; LLVM IR from ERGO-Code/HiGHS :: src/presolve/HighsSymmetry.ll (ZNK16StabilizerOrbits13orbitalFixingER11HighsDomain)

; 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.StabilizerOrbits = type { %"class.std::vector", %"class.std::vector", %"class.std::vector", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsDomain = type { %"class.std::vector.8", %"class.std::vector", %"class.std::vector.65", %"class.std::vector.70", %"class.std::vector.75", %"class.std::vector.80", %"class.std::vector.85", %"class.std::vector.85", %"class.std::vector", %"class.std::vector", %"class.std::vector.90", %"class.std::vector.8", %"class.std::vector", %"struct.HighsDomain::ObjectivePropagation", ptr, %"class.std::deque", %"class.std::deque.108", i8, %"struct.HighsDomain::Reason", i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %class.HighsHashTable.114, i8, %"class.std::vector.90", %"class.std::vector.90" }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = 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.70" = type { %"struct.std::_Vector_base.71" }
%"struct.std::_Vector_base.71" = 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.75" = type { %"struct.std::_Vector_base.76" }
%"struct.std::_Vector_base.76" = 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.80" = type { %"struct.std::_Vector_base.81" }
%"struct.std::_Vector_base.81" = 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.85" = type { %"struct.std::_Vector_base.86" }
%"struct.std::_Vector_base.86" = 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.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.95", %"class.std::vector.65", %"class.std::vector.90", %"class.std::vector.100" }
%class.HighsCDouble = type { double, double }
%"class.std::vector.95" = type { %"struct.std::_Vector_base.96" }
%"struct.std::_Vector_base.96" = 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.100" = type { %"struct.std::_Vector_base.101" }
%"struct.std::_Vector_base.101" = 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.108" = type { %"class.std::_Deque_base.109" }
%"class.std::_Deque_base.109" = 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.113", %"struct.std::_Deque_iterator.113" }
%"struct.std::_Deque_iterator.113" = type { ptr, ptr, ptr, ptr }
%class.HighsHashTable.114 = type { %"class.std::unique_ptr.115", %"class.std::unique_ptr.25", i64, i64, i64 }
%"class.std::unique_ptr.115" = type { %"struct.std::__uniq_ptr_data.116" }
%"struct.std::__uniq_ptr_data.116" = type { %"class.std::__uniq_ptr_impl.117" }
%"class.std::__uniq_ptr_impl.117" = type { %"class.std::tuple.118" }
%"class.std::tuple.118" = type { %"struct.std::_Tuple_impl.119" }
%"struct.std::_Tuple_impl.119" = type { %"struct.std::_Head_base.122" }
%"struct.std::_Head_base.122" = type { ptr }
%"class.std::unique_ptr.25" = type { %"struct.std::__uniq_ptr_data.26" }
%"struct.std::__uniq_ptr_data.26" = type { %"class.std::__uniq_ptr_impl.27" }
%"class.std::__uniq_ptr_impl.27" = type { %"class.std::tuple.28" }
%"class.std::tuple.28" = type { %"struct.std::_Tuple_impl.29" }
%"struct.std::_Tuple_impl.29" = type { %"struct.std::_Head_base.32" }
%"struct.std::_Head_base.32" = type { ptr }
%"class.std::vector.90" = type { %"struct.std::_Vector_base.91" }
%"struct.std::_Vector_base.91" = 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK15HighsSymmetries18propagateOrbitopesER11HighsDomain(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(824)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK16StabilizerOrbits13orbitalFixingER11HighsDomain(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(824) %1) #2 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.HighsDomain::Reason", align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.HighsDomain::Reason", align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %19 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %20 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 3
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = call noundef i32 @_ZNK15HighsSymmetries18propagateOrbitopesER11HighsDomain(ptr noundef nonnull align 8 dereferenceable(216) %21, ptr noundef nonnull align 8 dereferenceable(824) %22)
  store i32 %23, ptr %6, align 4, !tbaa !15
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %24)
  br i1 %25, label %29, label %26

26:                                               ; preds = %2
  %27 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 0
  %28 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  br i1 %28, label %29, label %31

29:                                               ; preds = %26, %2
  %30 = load i32, ptr %6, align 4, !tbaa !15
  store i32 %30, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %234

31:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %32 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 1
  %33 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  %34 = sub i64 %33, 1
  %35 = trunc i64 %34 to i32
  store i32 %35, ptr %8, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !15
  br label %36

36:                                               ; preds = %226, %31
  %37 = load i32, ptr %9, align 4, !tbaa !15
  %38 = load i32, ptr %8, align 4, !tbaa !15
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  store i32 2, ptr %7, align 4
  br label %229

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 -1, ptr %10, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %42 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 1
  %43 = load i32, ptr %9, align 4, !tbaa !15
  %44 = sext i32 %43 to i64
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %44) #4
  %46 = load i32, ptr %45, align 4, !tbaa !15
  store i32 %46, ptr %11, align 4, !tbaa !15
  br label %47

47:                                               ; preds = %72, %41
  %48 = load i32, ptr %11, align 4, !tbaa !15
  %49 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 1
  %50 = load i32, ptr %9, align 4, !tbaa !15
  %51 = add nsw i32 %50, 1
  %52 = sext i32 %51 to i64
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %52) #4
  %54 = load i32, ptr %53, align 4, !tbaa !15
  %55 = icmp slt i32 %48, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %47
  store i32 5, ptr %7, align 4
  br label %75

57:                                               ; preds = %47
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 0
  %60 = load i32, ptr %11, align 4, !tbaa !15
  %61 = sext i32 %60 to i64
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %61) #4
  %63 = load i32, ptr %62, align 4, !tbaa !15
  %64 = call noundef zeroext i1 @_ZNK11HighsDomain7isFixedEi(ptr noundef nonnull align 8 dereferenceable(824) %58, i32 noundef %63)
  br i1 %64, label %65, label %71

65:                                               ; preds = %57
  %66 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 0
  %67 = load i32, ptr %11, align 4, !tbaa !15
  %68 = sext i32 %67 to i64
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %68) #4
  %70 = load i32, ptr %69, align 4, !tbaa !15
  store i32 %70, ptr %10, align 4, !tbaa !15
  store i32 5, ptr %7, align 4
  br label %75

71:                                               ; preds = %57
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %11, align 4, !tbaa !15
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %11, align 4, !tbaa !15
  br label %47, !llvm.loop !17

75:                                               ; preds = %65, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %10, align 4, !tbaa !15
  %78 = icmp ne i32 %77, -1
  br i1 %78, label %79, label %222

79:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %80 = load i32, ptr %6, align 4, !tbaa !15
  store i32 %80, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11HighsDomain20getDomainChangeStackEv(ptr noundef nonnull align 8 dereferenceable(824) %81)
  %83 = call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #4
  store i64 %83, ptr %13, align 8, !tbaa !19
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.HighsDomain, ptr %84, i32 0, i32 25
  %86 = load i32, ptr %10, align 4, !tbaa !15
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #4
  %89 = load double, ptr %88, align 8, !tbaa !21
  %90 = fcmp oeq double %89, 1.000000e+00
  br i1 %90, label %91, label %142

91:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %92 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 1
  %93 = load i32, ptr %9, align 4, !tbaa !15
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %94) #4
  %96 = load i32, ptr %95, align 4, !tbaa !15
  store i32 %96, ptr %14, align 4, !tbaa !15
  br label %97

97:                                               ; preds = %136, %91
  %98 = load i32, ptr %14, align 4, !tbaa !15
  %99 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 1
  %100 = load i32, ptr %9, align 4, !tbaa !15
  %101 = add nsw i32 %100, 1
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %102) #4
  %104 = load i32, ptr %103, align 4, !tbaa !15
  %105 = icmp slt i32 %98, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %97
  store i32 8, ptr %7, align 4
  br label %139

107:                                              ; preds = %97
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %class.HighsDomain, ptr %108, i32 0, i32 25
  %110 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 0
  %111 = load i32, ptr %14, align 4, !tbaa !15
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112) #4
  %114 = load i32, ptr %113, align 4, !tbaa !15
  %115 = sext i32 %114 to i64
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %115) #4
  %117 = load double, ptr %116, align 8, !tbaa !21
  %118 = fcmp oeq double %117, 1.000000e+00
  br i1 %118, label %119, label %120

119:                                              ; preds = %107
  br label %136

120:                                              ; preds = %107
  %121 = load i32, ptr %6, align 4, !tbaa !15
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %6, align 4, !tbaa !15
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 0
  %125 = load i32, ptr %14, align 4, !tbaa !15
  %126 = sext i32 %125 to i64
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %126) #4
  %128 = load i32, ptr %127, align 4, !tbaa !15
  %129 = call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %129, ptr %15, align 4
  %130 = load i64, ptr %15, align 4
  call void @_ZN11HighsDomain11changeBoundE14HighsBoundTypeidNS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %123, i32 noundef 0, i32 noundef %128, double noundef 1.000000e+00, i64 %130)
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %131)
  br i1 %132, label %133, label %135

133:                                              ; preds = %120
  %134 = load i32, ptr %6, align 4, !tbaa !15
  store i32 %134, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %139

135:                                              ; preds = %120
  br label %136

136:                                              ; preds = %135, %119
  %137 = load i32, ptr %14, align 4, !tbaa !15
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %14, align 4, !tbaa !15
  br label %97, !llvm.loop !23

139:                                              ; preds = %133, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %140 = load i32, ptr %7, align 4
  switch i32 %140, label %219 [
    i32 8, label %141
  ]

141:                                              ; preds = %139
  br label %193

142:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %143 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 1
  %144 = load i32, ptr %9, align 4, !tbaa !15
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #4
  %147 = load i32, ptr %146, align 4, !tbaa !15
  store i32 %147, ptr %16, align 4, !tbaa !15
  br label %148

148:                                              ; preds = %187, %142
  %149 = load i32, ptr %16, align 4, !tbaa !15
  %150 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 1
  %151 = load i32, ptr %9, align 4, !tbaa !15
  %152 = add nsw i32 %151, 1
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %153) #4
  %155 = load i32, ptr %154, align 4, !tbaa !15
  %156 = icmp slt i32 %149, %155
  br i1 %156, label %158, label %157

157:                                              ; preds = %148
  store i32 11, ptr %7, align 4
  br label %190

158:                                              ; preds = %148
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %class.HighsDomain, ptr %159, i32 0, i32 26
  %161 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 0
  %162 = load i32, ptr %16, align 4, !tbaa !15
  %163 = sext i32 %162 to i64
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %161, i64 noundef %163) #4
  %165 = load i32, ptr %164, align 4, !tbaa !15
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %166) #4
  %168 = load double, ptr %167, align 8, !tbaa !21
  %169 = fcmp oeq double %168, 0.000000e+00
  br i1 %169, label %170, label %171

170:                                              ; preds = %158
  br label %187

171:                                              ; preds = %158
  %172 = load i32, ptr %6, align 4, !tbaa !15
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %6, align 4, !tbaa !15
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.StabilizerOrbits, ptr %19, i32 0, i32 0
  %176 = load i32, ptr %16, align 4, !tbaa !15
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %177) #4
  %179 = load i32, ptr %178, align 4, !tbaa !15
  %180 = call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  store i64 %180, ptr %17, align 4
  %181 = load i64, ptr %17, align 4
  call void @_ZN11HighsDomain11changeBoundE14HighsBoundTypeidNS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %174, i32 noundef 1, i32 noundef %179, double noundef 0.000000e+00, i64 %181)
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %182)
  br i1 %183, label %184, label %186

184:                                              ; preds = %171
  %185 = load i32, ptr %6, align 4, !tbaa !15
  store i32 %185, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %190

186:                                              ; preds = %171
  br label %187

187:                                              ; preds = %186, %170
  %188 = load i32, ptr %16, align 4, !tbaa !15
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %16, align 4, !tbaa !15
  br label %148, !llvm.loop !24

190:                                              ; preds = %184, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  %191 = load i32, ptr %7, align 4
  switch i32 %191, label %219 [
    i32 11, label %192
  ]

192:                                              ; preds = %190
  br label %193

193:                                              ; preds = %192, %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %194 = load i32, ptr %6, align 4, !tbaa !15
  %195 = load i32, ptr %12, align 4, !tbaa !15
  %196 = sub nsw i32 %194, %195
  store i32 %196, ptr %18, align 4, !tbaa !15
  %197 = load i32, ptr %18, align 4, !tbaa !15
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %199, label %217

199:                                              ; preds = %193
  %200 = load ptr, ptr %5, align 8, !tbaa !5
  %201 = call noundef zeroext i1 @_ZN11HighsDomain9propagateEv(ptr noundef nonnull align 8 dereferenceable(824) %200)
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %202)
  br i1 %203, label %204, label %206

204:                                              ; preds = %199
  %205 = load i32, ptr %6, align 4, !tbaa !15
  store i32 %205, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %218

206:                                              ; preds = %199
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11HighsDomain20getDomainChangeStackEv(ptr noundef nonnull align 8 dereferenceable(824) %207)
  %209 = call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %208) #4
  %210 = load i64, ptr %13, align 8, !tbaa !19
  %211 = sub i64 %209, %210
  %212 = trunc i64 %211 to i32
  %213 = load i32, ptr %18, align 4, !tbaa !15
  %214 = icmp sgt i32 %212, %213
  br i1 %214, label %215, label %216

215:                                              ; preds = %206
  store i32 -1, ptr %9, align 4, !tbaa !15
  br label %216

216:                                              ; preds = %215, %206
  br label %217

217:                                              ; preds = %216, %193
  store i32 0, ptr %7, align 4
  br label %218

218:                                              ; preds = %217, %204
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %219

219:                                              ; preds = %218, %190, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %220 = load i32, ptr %7, align 4
  switch i32 %220, label %223 [
    i32 0, label %221
  ]

221:                                              ; preds = %219
  br label %222

222:                                              ; preds = %221, %76
  store i32 0, ptr %7, align 4
  br label %223

223:                                              ; preds = %222, %219
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %224 = load i32, ptr %7, align 4
  switch i32 %224, label %229 [
    i32 0, label %225
  ]

225:                                              ; preds = %223
  br label %226

226:                                              ; preds = %225
  %227 = load i32, ptr %9, align 4, !tbaa !15
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %9, align 4, !tbaa !15
  br label %36, !llvm.loop !25

229:                                              ; preds = %223, %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %230 = load i32, ptr %7, align 4
  switch i32 %230, label %233 [
    i32 2, label %231
  ]

231:                                              ; preds = %229
  %232 = load i32, ptr %6, align 4, !tbaa !15
  store i32 %232, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %233

233:                                              ; preds = %231, %229
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %234

234:                                              ; preds = %233, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %235 = load i32, ptr %3, align 4
  ret i32 %235
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11HighsDomain7isFixedEi(ptr noundef nonnull align 8 dereferenceable(824), i32 noundef) #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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

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

declare noundef zeroext i1 @_ZN11HighsDomain9propagateEv(ptr noundef nonnull align 8 dereferenceable(824)) #3

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

!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, !6, i64 72}
!10 = !{!"_ZTS16StabilizerOrbits", !11, i64 0, !11, i64 24, !11, i64 48, !6, i64 72}
!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", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}


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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK15HighsSymmetries18propagateOrbitopesER11HighsDomain(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(824)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11HighsDomain20getDomainChangeStackEv(ptr noundef nonnull align 8 dereferenceable(824)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK16StabilizerOrbits13orbitalFixingER11HighsDomain(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(824) %1) local_unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 72
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = tail call noundef i32 @_ZNK15HighsSymmetries18propagateOrbitopesER11HighsDomain(ptr noundef nonnull align 8 dereferenceable(216) %4, ptr noundef nonnull align 8 dereferenceable(824) %1)
  %6 = tail call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %1)
  br i1 %6, label %.thread112, label %7

7:                                                ; preds = %2
  %8 = tail call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  br i1 %8, label %.thread112, label %9

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %11 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  %12 = trunc i64 %11 to i32
  %13 = add i32 %12, -1
  %.not92136 = icmp sgt i32 %13, 0
  br i1 %.not92136, label %.lr.ph140, label %.thread112

.lr.ph140:                                        ; preds = %9
  %14 = getelementptr inbounds i8, ptr %1, i64 776
  %15 = getelementptr inbounds i8, ptr %1, i64 800
  br label %16

16:                                               ; preds = %.lr.ph140, %.thread103
  %.061138 = phi i32 [ %5, %.lr.ph140 ], [ %.1071109, %.thread103 ]
  %.080137 = phi i32 [ 0, %.lr.ph140 ], [ %.pre-phi, %.thread103 ]
  %17 = sext i32 %.080137 to i64
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %17) #3
  %19 = load i32, ptr %18, align 4, !tbaa !14
  %20 = add nsw i32 %.080137, 1
  %21 = sext i32 %20 to i64
  %22 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %21) #3
  %23 = load i32, ptr %22, align 4, !tbaa !14
  %24 = icmp slt i32 %19, %23
  br i1 %24, label %.lr.ph.preheader, label %.thread103

.lr.ph.preheader:                                 ; preds = %16
  %25 = sext i32 %19 to i64
  br label %.lr.ph

26:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %27 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %21) #3
  %28 = load i32, ptr %27, align 4, !tbaa !14
  %29 = sext i32 %28 to i64
  %30 = icmp slt i64 %indvars.iv.next, %29
  br i1 %30, label %.lr.ph, label %.thread103, !llvm.loop !16

.lr.ph:                                           ; preds = %.lr.ph.preheader, %26
  %indvars.iv = phi i64 [ %25, %.lr.ph.preheader ], [ %indvars.iv.next, %26 ]
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #3
  %32 = load i32, ptr %31, align 4, !tbaa !14
  %33 = tail call noundef zeroext i1 @_ZNK11HighsDomain7isFixedEi(ptr noundef nonnull align 8 dereferenceable(824) %1, i32 noundef %32)
  br i1 %33, label %34, label %26

34:                                               ; preds = %.lr.ph
  %35 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #3
  %36 = load i32, ptr %35, align 4, !tbaa !14
  %.not = icmp eq i32 %36, -1
  br i1 %.not, label %.thread103, label %37

37:                                               ; preds = %34
  %38 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11HighsDomain20getDomainChangeStackEv(ptr noundef nonnull align 8 dereferenceable(824) %1)
  %39 = tail call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #3
  %40 = sext i32 %36 to i64
  %41 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %40) #3
  %42 = load double, ptr %41, align 8, !tbaa !18
  %43 = fcmp oeq double %42, 1.000000e+00
  %44 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %17) #3
  %45 = load i32, ptr %44, align 4, !tbaa !14
  %46 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %21) #3
  %47 = load i32, ptr %46, align 4, !tbaa !14
  %.not90131 = icmp slt i32 %45, %47
  br i1 %43, label %48, label %66

48:                                               ; preds = %37
  br i1 %.not90131, label %.lr.ph134.preheader, label %.thread103

.lr.ph134.preheader:                              ; preds = %48
  %49 = sext i32 %45 to i64
  br label %.lr.ph134

.lr.ph134:                                        ; preds = %.lr.ph134.preheader, %62
  %indvars.iv154 = phi i64 [ %49, %.lr.ph134.preheader ], [ %indvars.iv.next155, %62 ]
  %.162133 = phi i32 [ %.061138, %.lr.ph134.preheader ], [ %.263, %62 ]
  %50 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv154) #3
  %51 = load i32, ptr %50, align 4, !tbaa !14
  %52 = sext i32 %51 to i64
  %53 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %52) #3
  %54 = load double, ptr %53, align 8, !tbaa !18
  %55 = fcmp oeq double %54, 1.000000e+00
  br i1 %55, label %62, label %56

56:                                               ; preds = %.lr.ph134
  %57 = add nsw i32 %.162133, 1
  %58 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv154) #3
  %59 = load i32, ptr %58, align 4, !tbaa !14
  %60 = tail call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  tail call void @_ZN11HighsDomain11changeBoundE14HighsBoundTypeidNS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %1, i32 noundef 0, i32 noundef %59, double noundef 1.000000e+00, i64 %60)
  %61 = tail call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %1)
  br i1 %61, label %.thread112, label %62

62:                                               ; preds = %56, %.lr.ph134
  %.263 = phi i32 [ %.162133, %.lr.ph134 ], [ %57, %56 ]
  %indvars.iv.next155 = add nsw i64 %indvars.iv154, 1
  %63 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %21) #3
  %64 = load i32, ptr %63, align 4, !tbaa !14
  %65 = sext i32 %64 to i64
  %.not90 = icmp slt i64 %indvars.iv.next155, %65
  br i1 %.not90, label %.lr.ph134, label %.loopexit, !llvm.loop !20

66:                                               ; preds = %37
  br i1 %.not90131, label %.lr.ph130.preheader, label %.thread103

.lr.ph130.preheader:                              ; preds = %66
  %67 = sext i32 %45 to i64
  br label %.lr.ph130

.lr.ph130:                                        ; preds = %.lr.ph130.preheader, %80
  %indvars.iv151 = phi i64 [ %67, %.lr.ph130.preheader ], [ %indvars.iv.next152, %80 ]
  %.465129 = phi i32 [ %.061138, %.lr.ph130.preheader ], [ %.566, %80 ]
  %68 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv151) #3
  %69 = load i32, ptr %68, align 4, !tbaa !14
  %70 = sext i32 %69 to i64
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %70) #3
  %72 = load double, ptr %71, align 8, !tbaa !18
  %73 = fcmp oeq double %72, 0.000000e+00
  br i1 %73, label %80, label %74

74:                                               ; preds = %.lr.ph130
  %75 = add nsw i32 %.465129, 1
  %76 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv151) #3
  %77 = load i32, ptr %76, align 4, !tbaa !14
  %78 = tail call i64 @_ZN11HighsDomain6Reason11unspecifiedEv()
  tail call void @_ZN11HighsDomain11changeBoundE14HighsBoundTypeidNS_6ReasonE(ptr noundef nonnull align 8 dereferenceable(824) %1, i32 noundef 1, i32 noundef %77, double noundef 0.000000e+00, i64 %78)
  %79 = tail call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %1)
  br i1 %79, label %.thread112, label %80

80:                                               ; preds = %74, %.lr.ph130
  %.566 = phi i32 [ %.465129, %.lr.ph130 ], [ %75, %74 ]
  %indvars.iv.next152 = add nsw i64 %indvars.iv151, 1
  %81 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %21) #3
  %82 = load i32, ptr %81, align 4, !tbaa !14
  %83 = sext i32 %82 to i64
  %.not89 = icmp slt i64 %indvars.iv.next152, %83
  br i1 %.not89, label %.lr.ph130, label %.loopexit, !llvm.loop !21

.loopexit:                                        ; preds = %80, %62
  %.768 = phi i32 [ %.263, %62 ], [ %.566, %80 ]
  %84 = sub nsw i32 %.768, %.061138
  %.not91 = icmp eq i32 %.768, %.061138
  br i1 %.not91, label %.thread103, label %85

85:                                               ; preds = %.loopexit
  %86 = tail call noundef zeroext i1 @_ZN11HighsDomain9propagateEv(ptr noundef nonnull align 8 dereferenceable(824) %1)
  %87 = tail call noundef zeroext i1 @_ZNK11HighsDomain10infeasibleEv(ptr noundef nonnull align 8 dereferenceable(824) %1)
  br i1 %87, label %.thread112, label %88

88:                                               ; preds = %85
  %89 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11HighsDomain20getDomainChangeStackEv(ptr noundef nonnull align 8 dereferenceable(824) %1)
  %90 = tail call noundef i64 @_ZNKSt6vectorI17HighsDomainChangeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #3
  %91 = sub i64 %90, %39
  %92 = trunc i64 %91 to i32
  %93 = icmp slt i32 %84, %92
  %94 = add nsw i32 %.080137, 1
  %.pre = select i1 %93, i32 0, i32 %94
  br label %.thread103

.thread103:                                       ; preds = %26, %66, %48, %16, %34, %88, %.loopexit
  %.pre-phi = phi i32 [ %20, %16 ], [ %20, %34 ], [ %.pre, %88 ], [ %20, %.loopexit ], [ %20, %48 ], [ %20, %66 ], [ %20, %26 ]
  %.1071109 = phi i32 [ %.061138, %16 ], [ %.061138, %34 ], [ %.768, %88 ], [ %.061138, %.loopexit ], [ %.061138, %48 ], [ %.061138, %66 ], [ %.061138, %26 ]
  %.not92 = icmp slt i32 %.pre-phi, %13
  br i1 %.not92, label %16, label %.thread112, !llvm.loop !22

.thread112:                                       ; preds = %85, %.thread103, %74, %56, %9, %2, %7
  %.10 = phi i32 [ %5, %7 ], [ %5, %2 ], [ %5, %9 ], [ %57, %56 ], [ %75, %74 ], [ %.768, %85 ], [ %.1071109, %.thread103 ]
  ret i32 %.10
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11HighsDomain7isFixedEi(ptr noundef nonnull align 8 dereferenceable(824), i32 noundef) local_unnamed_addr #0 align 2

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

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

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

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

declare noundef zeroext i1 @_ZN11HighsDomain9propagateEv(ptr noundef nonnull align 8 dereferenceable(824)) local_unnamed_addr #2

attributes #0 = { 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 #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 = { "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 = { 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, !11, i64 72}
!6 = !{!"_ZTS16StabilizerOrbits", !7, i64 0, !7, i64 24, !7, i64 48, !11, i64 72}
!7 = !{!"_ZTSSt6vectorIiSaIiEE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_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 = !{!15, !15, i64 0}
!15 = !{!"int", !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !12, i64 0}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}


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