; LLVM IR from ERGO-Code/HiGHS :: src/util/HFactor.ll (ZNK7HFactor6btranLER11HVectorBaseIdEdP15HighsTimerClock)

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

%class.FactorTimer = type { i8 }
%class.HVectorBase = type { i32, i32, %"class.std::vector", %"class.std::vector.10", double, %"class.std::vector.15", %"class.std::vector", ptr, i8, i32, %"class.std::vector", %"class.std::vector.10" }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.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.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HFactor = type { double, double, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %struct.RefactorInfo, i32, i32, i32, i32, i32, i32, i32, double, i8, ptr, ptr, ptr, ptr, double, double, i32, double, %"class.std::unique_ptr", %struct.HighsLogOptions, i8, i8, i32, i32, ptr, i32, %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.15", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %class.HVectorBase }
%struct.RefactorInfo = type { i8, %"class.std::vector", %"class.std::vector", %"class.std::vector.3", double }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.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.9" }
%"struct.std::_Head_base.9" = type { ptr }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7HFactor6btranLER11HVectorBaseIdEdP15HighsTimerClock(ptr noundef nonnull align 8 dereferenceable(1912) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, double noundef %2, ptr noundef %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.FactorTimer, align 1
  %10 = alloca double, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store double %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 26, ptr noundef %28)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %class.HVectorBase, ptr %29, i32 0, i32 1
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = sitofp i32 %31 to double
  %33 = fmul double 1.000000e+00, %32
  %34 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 14
  %35 = load double, ptr %34, align 8, !tbaa !27
  %36 = fmul double %33, %35
  store double %36, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %class.HVectorBase, ptr %37, i32 0, i32 1
  %39 = load i32, ptr %38, align 4, !tbaa !11
  %40 = icmp slt i32 %39, 0
  br i1 %40, label %47, label %41

41:                                               ; preds = %4
  %42 = load double, ptr %10, align 8, !tbaa !9
  %43 = fcmp ogt double %42, 5.000000e-02
  br i1 %43, label %47, label %44

44:                                               ; preds = %41
  %45 = load double, ptr %7, align 8, !tbaa !9
  %46 = fcmp ogt double %45, 1.000000e-01
  br label %47

47:                                               ; preds = %44, %41, %4
  %48 = phi i1 [ true, %41 ], [ true, %4 ], [ %46, %44 ]
  %49 = zext i1 %48 to i8
  store i8 %49, ptr %11, align 1, !tbaa !43
  %50 = load i8, ptr %11, align 1, !tbaa !43, !range !44, !noundef !45
  %51 = trunc i8 %50 to i1
  br i1 %51, label %52, label %152

52:                                               ; preds = %47
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 28, ptr noundef %53)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %class.HVectorBase, ptr %54, i32 0, i32 2
  %56 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  store ptr %56, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %class.HVectorBase, ptr %57, i32 0, i32 3
  %59 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  store ptr %59, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %60 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 66
  %61 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  store ptr %61, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %62 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 67
  %63 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #5
  store ptr %63, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %64 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 68
  %65 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #5
  store ptr %65, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %66 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 11
  %67 = load i32, ptr %66, align 8, !tbaa !47
  %68 = sub nsw i32 %67, 1
  store i32 %68, ptr %18, align 4, !tbaa !46
  br label %69

69:                                               ; preds = %144, %52
  %70 = load i32, ptr %18, align 4, !tbaa !46
  %71 = icmp sge i32 %70, 0
  br i1 %71, label %73, label %72

72:                                               ; preds = %69
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %147

73:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %74 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 62
  %75 = load i32, ptr %18, align 4, !tbaa !46
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %76) #5
  %78 = load i32, ptr %77, align 4, !tbaa !46
  store i32 %78, ptr %20, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = load i32, ptr %20, align 4, !tbaa !46
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds double, ptr %79, i64 %81
  %83 = load double, ptr %82, align 8, !tbaa !9
  store double %83, ptr %21, align 8, !tbaa !9
  %84 = load double, ptr %21, align 8, !tbaa !9
  %85 = call double @llvm.fabs.f64(double %84)
  %86 = fcmp ogt double %85, 0x3D06849B86A12B9B
  br i1 %86, label %87, label %138

87:                                               ; preds = %73
  %88 = load i32, ptr %20, align 4, !tbaa !46
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = load i32, ptr %17, align 4, !tbaa !46
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %17, align 4, !tbaa !46
  %92 = sext i32 %90 to i64
  %93 = getelementptr inbounds i32, ptr %89, i64 %92
  store i32 %88, ptr %93, align 4, !tbaa !46
  %94 = load double, ptr %21, align 8, !tbaa !9
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load i32, ptr %20, align 4, !tbaa !46
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  store double %94, ptr %98, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load i32, ptr %18, align 4, !tbaa !46
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds i32, ptr %99, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !46
  store i32 %103, ptr %22, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %104 = load ptr, ptr %14, align 8, !tbaa !5
  %105 = load i32, ptr %18, align 4, !tbaa !46
  %106 = add nsw i32 %105, 1
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i32, ptr %104, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !46
  store i32 %109, ptr %23, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %110 = load i32, ptr %22, align 4, !tbaa !46
  store i32 %110, ptr %24, align 4, !tbaa !46
  br label %111

111:                                              ; preds = %134, %87
  %112 = load i32, ptr %24, align 4, !tbaa !46
  %113 = load i32, ptr %23, align 4, !tbaa !46
  %114 = icmp slt i32 %112, %113
  br i1 %114, label %116, label %115

115:                                              ; preds = %111
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %137

116:                                              ; preds = %111
  %117 = load double, ptr %21, align 8, !tbaa !9
  %118 = load ptr, ptr %16, align 8, !tbaa !5
  %119 = load i32, ptr %24, align 4, !tbaa !46
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds double, ptr %118, i64 %120
  %122 = load double, ptr %121, align 8, !tbaa !9
  %123 = load ptr, ptr %13, align 8, !tbaa !5
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = load i32, ptr %24, align 4, !tbaa !46
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds i32, ptr %124, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !46
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %123, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = fneg double %117
  %133 = call double @llvm.fmuladd.f64(double %132, double %122, double %131)
  store double %133, ptr %130, align 8, !tbaa !9
  br label %134

134:                                              ; preds = %116
  %135 = load i32, ptr %24, align 4, !tbaa !46
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %24, align 4, !tbaa !46
  br label %111, !llvm.loop !48

137:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %143

138:                                              ; preds = %73
  %139 = load ptr, ptr %13, align 8, !tbaa !5
  %140 = load i32, ptr %20, align 4, !tbaa !46
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds double, ptr %139, i64 %141
  store double 0.000000e+00, ptr %142, align 8, !tbaa !9
  br label %143

143:                                              ; preds = %138, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %144

144:                                              ; preds = %143
  %145 = load i32, ptr %18, align 4, !tbaa !46
  %146 = add nsw i32 %145, -1
  store i32 %146, ptr %18, align 4, !tbaa !46
  br label %69, !llvm.loop !50

147:                                              ; preds = %72
  %148 = load i32, ptr %17, align 4, !tbaa !46
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %class.HVectorBase, ptr %149, i32 0, i32 1
  store i32 %148, ptr %150, align 4, !tbaa !11
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 28, ptr noundef %151)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %174

152:                                              ; preds = %47
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 29, ptr noundef %153)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %154 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 67
  %155 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #5
  store ptr %155, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %156 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 68
  %157 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #5
  store ptr %157, ptr %26, align 8, !tbaa !5
  %158 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 11
  %159 = load i32, ptr %158, align 8, !tbaa !47
  %160 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 61
  %161 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %160) #5
  %162 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 62
  %163 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %162) #5
  %164 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 66
  %165 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %164) #5
  %166 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 66
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef 1) #5
  %168 = load ptr, ptr %25, align 8, !tbaa !5
  %169 = getelementptr inbounds i32, ptr %168, i64 0
  %170 = load ptr, ptr %26, align 8, !tbaa !5
  %171 = getelementptr inbounds double, ptr %170, i64 0
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef %159, ptr noundef %161, ptr noundef %163, ptr noundef null, ptr noundef %165, ptr noundef %167, ptr noundef %169, ptr noundef %171, ptr noundef %172)
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 29, ptr noundef %173)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %174

174:                                              ; preds = %152, %147
  %175 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 29
  %176 = load i32, ptr %175, align 8, !tbaa !51
  %177 = icmp eq i32 %176, 4
  br i1 %177, label %178, label %184

178:                                              ; preds = %174
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 30, ptr noundef %179)
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNK7HFactor8btranAPFER11HVectorBaseIdE(ptr noundef nonnull align 8 dereferenceable(1912) %27, ptr noundef nonnull align 8 dereferenceable(176) %180)
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11HVectorBaseIdE5tightEv(ptr noundef nonnull align 8 dereferenceable(176) %181)
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11HVectorBaseIdE4packEv(ptr noundef nonnull align 8 dereferenceable(176) %182)
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 30, ptr noundef %183)
  br label %184

184:                                              ; preds = %178, %174
  %185 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 26, ptr noundef %185)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  ret void
}

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

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

declare void @_ZN11HVectorBaseIdE5tightEv(ptr noundef nonnull align 8 dereferenceable(176)) #4

declare void @_ZN11HVectorBaseIdE4packEv(ptr noundef nonnull align 8 dereferenceable(176)) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7HFactor8btranAPFER11HVectorBaseIdE(ptr noundef nonnull align 8 dereferenceable(1912), ptr noundef nonnull align 8 dereferenceable(176)) #2 align 2

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

!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 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"_ZTS11HVectorBaseIdE", !13, i64 0, !13, i64 4, !14, i64 8, !18, i64 32, !10, i64 56, !22, i64 64, !14, i64 88, !6, i64 112, !26, i64 120, !13, i64 124, !14, i64 128, !18, i64 152}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIcSaIcEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"bool", !7, i64 0}
!27 = !{!28, !10, i64 216}
!28 = !{!"_ZTS7HFactor", !10, i64 0, !10, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !14, i64 72, !29, i64 96, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !10, i64 216, !26, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !10, i64 264, !10, i64 272, !13, i64 280, !10, i64 288, !34, i64 296, !40, i64 304, !26, i64 400, !26, i64 401, !13, i64 404, !13, i64 408, !6, i64 416, !13, i64 424, !14, i64 432, !18, i64 456, !14, i64 480, !14, i64 504, !14, i64 528, !18, i64 552, !14, i64 576, !14, i64 600, !14, i64 624, !14, i64 648, !14, i64 672, !14, i64 696, !14, i64 720, !18, i64 744, !18, i64 768, !14, i64 792, !14, i64 816, !14, i64 840, !14, i64 864, !14, i64 888, !14, i64 912, !22, i64 936, !18, i64 960, !14, i64 984, !14, i64 1008, !14, i64 1032, !14, i64 1056, !14, i64 1080, !14, i64 1104, !14, i64 1128, !14, i64 1152, !14, i64 1176, !14, i64 1200, !18, i64 1224, !14, i64 1248, !14, i64 1272, !18, i64 1296, !14, i64 1320, !14, i64 1344, !18, i64 1368, !13, i64 1392, !13, i64 1396, !14, i64 1400, !14, i64 1424, !14, i64 1448, !18, i64 1472, !14, i64 1496, !14, i64 1520, !14, i64 1544, !14, i64 1568, !18, i64 1592, !18, i64 1616, !14, i64 1640, !14, i64 1664, !14, i64 1688, !18, i64 1712, !12, i64 1736}
!29 = !{!"_ZTS12RefactorInfo", !26, i64 0, !14, i64 8, !14, i64 32, !30, i64 56, !10, i64 80}
!30 = !{!"_ZTSSt6vectorIaSaIaEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt10unique_ptrIN7HFactor7LogDataESt14default_deleteIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt15__uniq_ptr_dataIN7HFactor7LogDataESt14default_deleteIS1_ELb1ELb1EE", !36, i64 0}
!36 = !{!"_ZTSSt15__uniq_ptr_implIN7HFactor7LogDataESt14default_deleteIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt5tupleIJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !38, i64 0}
!38 = !{!"_ZTSSt11_Tuple_implILm0EJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !39, i64 0}
!39 = !{!"_ZTSSt10_Head_baseILm0EPN7HFactor7LogDataELb0EE", !6, i64 0}
!40 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !41, i64 48, !6, i64 80, !26, i64 88}
!41 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !42, i64 0, !6, i64 24}
!42 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!43 = !{!26, !26, i64 0}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!13, !13, i64 0}
!47 = !{!28, !13, i64 200}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = distinct !{!50, !49}
!51 = !{!28, !13, i64 408}


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

%class.FactorTimer = type { i8 }

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7HFactor6btranLER11HVectorBaseIdEdP15HighsTimerClock(ptr noundef nonnull align 8 dereferenceable(1912) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, double noundef %2, ptr noundef %3) local_unnamed_addr #2 align 2 {
  %5 = alloca %class.FactorTimer, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 26, ptr noundef %3)
  %6 = getelementptr inbounds i8, ptr %1, i64 4
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = sitofp i32 %7 to double
  %9 = getelementptr inbounds i8, ptr %0, i64 216
  %10 = load double, ptr %9, align 8, !tbaa !25
  %11 = fmul double %10, %8
  %12 = icmp slt i32 %7, 0
  %13 = fcmp ogt double %11, 5.000000e-02
  %or.cond = select i1 %12, i1 true, i1 %13
  %14 = fcmp ogt double %2, 1.000000e-01
  %spec.select = or i1 %14, %or.cond
  br i1 %spec.select, label %15, label %79

15:                                               ; preds = %4
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 28, ptr noundef %3)
  %16 = getelementptr inbounds i8, ptr %1, i64 8
  %17 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  %18 = getelementptr inbounds i8, ptr %1, i64 32
  %19 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %20 = getelementptr inbounds i8, ptr %0, i64 1248
  %21 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %22 = getelementptr inbounds i8, ptr %0, i64 1272
  %23 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %24 = getelementptr inbounds i8, ptr %0, i64 1296
  %25 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  %26 = getelementptr inbounds i8, ptr %0, i64 200
  %27 = load i32, ptr %26, align 8, !tbaa !41
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %.lr.ph59, label %._crit_edge

.lr.ph59:                                         ; preds = %15
  %29 = getelementptr inbounds i8, ptr %0, i64 1152
  %30 = zext nneg i32 %27 to i64
  br label %31

._crit_edge:                                      ; preds = %.loopexit, %15
  %.0.lcssa = phi i32 [ 0, %15 ], [ %.1, %.loopexit ]
  store i32 %.0.lcssa, ptr %6, align 4, !tbaa !5
  br label %93

31:                                               ; preds = %.lr.ph59, %.loopexit
  %indvars.iv61 = phi i64 [ %30, %.lr.ph59 ], [ %indvars.iv.next62, %.loopexit ]
  %.057 = phi i32 [ 0, %.lr.ph59 ], [ %.1, %.loopexit ]
  %indvars.iv.next62 = add nsw i64 %indvars.iv61, -1
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv.next62) #5
  %33 = load i32, ptr %32, align 4, !tbaa !42
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds double, ptr %19, i64 %34
  %36 = load double, ptr %35, align 8, !tbaa !43
  %37 = call double @llvm.fabs.f64(double %36)
  %38 = fcmp ogt double %37, 0x3D06849B86A12B9B
  br i1 %38, label %39, label %77

39:                                               ; preds = %31
  %40 = add nsw i32 %.057, 1
  %41 = sext i32 %.057 to i64
  %42 = getelementptr inbounds i32, ptr %17, i64 %41
  store i32 %33, ptr %42, align 4, !tbaa !42
  %43 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv.next62
  %44 = load i32, ptr %43, align 4, !tbaa !42
  %45 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv61
  %46 = load i32, ptr %45, align 4, !tbaa !42
  %47 = icmp slt i32 %44, %46
  br i1 %47, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %39
  %48 = fneg double %36
  %49 = sext i32 %44 to i64
  %wide.trip.count = sext i32 %46 to i64
  %50 = sub nsw i64 %wide.trip.count, %49
  %xtraiter = and i64 %50, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph
  %51 = getelementptr inbounds double, ptr %25, i64 %49
  %52 = load double, ptr %51, align 8, !tbaa !43
  %53 = getelementptr inbounds i32, ptr %23, i64 %49
  %54 = load i32, ptr %53, align 4, !tbaa !42
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds double, ptr %19, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !43
  %58 = call double @llvm.fmuladd.f64(double %48, double %52, double %57)
  store double %58, ptr %56, align 8, !tbaa !43
  %indvars.iv.next.prol = add nsw i64 %49, 1
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph
  %indvars.iv.unr = phi i64 [ %49, %.lr.ph ], [ %indvars.iv.next.prol, %.prol.loopexit.unr-lcssa ]
  %59 = add nsw i64 %wide.trip.count, -1
  %60 = icmp eq i64 %59, %49
  br i1 %60, label %.loopexit, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.prol.loopexit, %.lr.ph.new
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph.new ], [ %indvars.iv.unr, %.prol.loopexit ]
  %61 = getelementptr inbounds double, ptr %25, i64 %indvars.iv
  %62 = load double, ptr %61, align 8, !tbaa !43
  %63 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv
  %64 = load i32, ptr %63, align 4, !tbaa !42
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds double, ptr %19, i64 %65
  %67 = load double, ptr %66, align 8, !tbaa !43
  %68 = call double @llvm.fmuladd.f64(double %48, double %62, double %67)
  store double %68, ptr %66, align 8, !tbaa !43
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %69 = getelementptr inbounds double, ptr %25, i64 %indvars.iv.next
  %70 = load double, ptr %69, align 8, !tbaa !43
  %71 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv.next
  %72 = load i32, ptr %71, align 4, !tbaa !42
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds double, ptr %19, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !43
  %76 = call double @llvm.fmuladd.f64(double %48, double %70, double %75)
  store double %76, ptr %74, align 8, !tbaa !43
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.loopexit, label %.lr.ph.new, !llvm.loop !44

77:                                               ; preds = %31
  store double 0.000000e+00, ptr %35, align 8, !tbaa !43
  br label %.loopexit

.loopexit:                                        ; preds = %.prol.loopexit, %.lr.ph.new, %39, %77
  %.1 = phi i32 [ %.057, %77 ], [ %40, %39 ], [ %40, %.lr.ph.new ], [ %40, %.prol.loopexit ]
  %78 = icmp sgt i64 %indvars.iv61, 1
  br i1 %78, label %31, label %._crit_edge, !llvm.loop !46

79:                                               ; preds = %4
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 29, ptr noundef %3)
  %80 = getelementptr inbounds i8, ptr %0, i64 1272
  %81 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #5
  %82 = getelementptr inbounds i8, ptr %0, i64 1296
  %83 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #5
  %84 = getelementptr inbounds i8, ptr %0, i64 200
  %85 = load i32, ptr %84, align 8, !tbaa !41
  %86 = getelementptr inbounds i8, ptr %0, i64 1128
  %87 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #5
  %88 = getelementptr inbounds i8, ptr %0, i64 1152
  %89 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %88) #5
  %90 = getelementptr inbounds i8, ptr %0, i64 1248
  %91 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #5
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef 1) #5
  call void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef %85, ptr noundef %87, ptr noundef %89, ptr noundef null, ptr noundef %91, ptr noundef nonnull %92, ptr noundef %81, ptr noundef %83, ptr noundef nonnull %1)
  br label %93

93:                                               ; preds = %79, %._crit_edge
  %.sink = phi i32 [ 29, %79 ], [ 28, %._crit_edge ]
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %.sink, ptr noundef %3)
  %94 = getelementptr inbounds i8, ptr %0, i64 408
  %95 = load i32, ptr %94, align 8, !tbaa !47
  %96 = icmp eq i32 %95, 4
  br i1 %96, label %97, label %98

97:                                               ; preds = %93
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 30, ptr noundef %3)
  call void @_ZNK7HFactor8btranAPFER11HVectorBaseIdE(ptr noundef nonnull align 8 dereferenceable(1912) %0, ptr noundef nonnull align 8 dereferenceable(176) %1)
  call void @_ZN11HVectorBaseIdE5tightEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  call void @_ZN11HVectorBaseIdE4packEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 30, ptr noundef %3)
  br label %98

98:                                               ; preds = %97, %93
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 26, ptr noundef %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  ret void
}

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

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

declare void @_ZN11HVectorBaseIdE5tightEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #4

declare void @_ZN11HVectorBaseIdE4packEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7HFactor8btranAPFER11HVectorBaseIdE(ptr noundef nonnull align 8 dereferenceable(1912), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #2 align 2

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

!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, !7, i64 4}
!6 = !{!"_ZTS11HVectorBaseIdE", !7, i64 0, !7, i64 4, !10, i64 8, !15, i64 32, !19, i64 56, !20, i64 64, !10, i64 88, !14, i64 112, !24, i64 120, !7, i64 124, !10, i64 128, !15, i64 152}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIiSaIiEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"double", !8, i64 0}
!20 = !{!"_ZTSSt6vectorIcSaIcEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = !{!"bool", !8, i64 0}
!25 = !{!26, !19, i64 216}
!26 = !{!"_ZTS7HFactor", !19, i64 0, !19, i64 8, !7, i64 16, !10, i64 24, !10, i64 48, !10, i64 72, !27, i64 96, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !19, i64 216, !24, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !19, i64 264, !19, i64 272, !7, i64 280, !19, i64 288, !32, i64 296, !38, i64 304, !24, i64 400, !24, i64 401, !7, i64 404, !7, i64 408, !14, i64 416, !7, i64 424, !10, i64 432, !15, i64 456, !10, i64 480, !10, i64 504, !10, i64 528, !15, i64 552, !10, i64 576, !10, i64 600, !10, i64 624, !10, i64 648, !10, i64 672, !10, i64 696, !10, i64 720, !15, i64 744, !15, i64 768, !10, i64 792, !10, i64 816, !10, i64 840, !10, i64 864, !10, i64 888, !10, i64 912, !20, i64 936, !15, i64 960, !10, i64 984, !10, i64 1008, !10, i64 1032, !10, i64 1056, !10, i64 1080, !10, i64 1104, !10, i64 1128, !10, i64 1152, !10, i64 1176, !10, i64 1200, !15, i64 1224, !10, i64 1248, !10, i64 1272, !15, i64 1296, !10, i64 1320, !10, i64 1344, !15, i64 1368, !7, i64 1392, !7, i64 1396, !10, i64 1400, !10, i64 1424, !10, i64 1448, !15, i64 1472, !10, i64 1496, !10, i64 1520, !10, i64 1544, !10, i64 1568, !15, i64 1592, !15, i64 1616, !10, i64 1640, !10, i64 1664, !10, i64 1688, !15, i64 1712, !6, i64 1736}
!27 = !{!"_ZTS12RefactorInfo", !24, i64 0, !10, i64 8, !10, i64 32, !28, i64 56, !19, i64 80}
!28 = !{!"_ZTSSt6vectorIaSaIaEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!32 = !{!"_ZTSSt10unique_ptrIN7HFactor7LogDataESt14default_deleteIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt15__uniq_ptr_dataIN7HFactor7LogDataESt14default_deleteIS1_ELb1ELb1EE", !34, i64 0}
!34 = !{!"_ZTSSt15__uniq_ptr_implIN7HFactor7LogDataESt14default_deleteIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt5tupleIJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !36, i64 0}
!36 = !{!"_ZTSSt11_Tuple_implILm0EJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !37, i64 0}
!37 = !{!"_ZTSSt10_Head_baseILm0EPN7HFactor7LogDataELb0EE", !14, i64 0}
!38 = !{!"_ZTS15HighsLogOptions", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !39, i64 48, !14, i64 80, !24, i64 88}
!39 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !40, i64 0, !14, i64 24}
!40 = !{!"_ZTSSt14_Function_base", !8, i64 0, !14, i64 16}
!41 = !{!26, !7, i64 200}
!42 = !{!7, !7, i64 0}
!43 = !{!19, !19, i64 0}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = distinct !{!46, !45}
!47 = !{!26, !7, i64 408}


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