; LLVM IR from ERGO-Code/HiGHS :: src/lp_data (HighsSolutionDebug)

; 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.HighsInfo = type { ptr, %struct.HighsInfoStruct, %"class.std::vector.33" }
%struct.HighsInfoStruct = type { i8, i64, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, i32, double, double, i32, double, double, double, double, double }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl" }
%"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl" = type { %"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsPrimalDualErrors = type { i32, i32, double, double, i32, double, double, i32, double, i32, double, %struct.HighsError, %struct.HighsError, %struct.HighsError, %struct.HighsError }
%struct.HighsError = type { double, i32, double, i32 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.HighsOptionsStruct = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i8, i8, i32, i32, double, i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, double, double, double, double, double, double, double, double, double, double, double, i8, i8, i8, i8, i32, double, i8, i8, %"class.std::__cxx11::basic_string", double, i32, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, i8, i8, %"class.std::__cxx11::basic_string", i8, i32, %struct.HighsLogOptions }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%struct.HighsSolution = type { i8, i8, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%class.HighsHessian = type { i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector.3" }
%"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.HighsLp = type { i32, i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.13", %"class.std::vector.13", %"class.std::vector.18", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%class.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsNameHash = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.HighsScale = type { i32, i8, i32, i32, double, %"class.std::vector.3", %"class.std::vector.3" }
%struct.HighsLpMods = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.18", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }

@.str.53 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [70 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18debugHighsSolutionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK12HighsOptionsRK7HighsLpRK12HighsHessianRK13HighsSolutionRK10HighsBasis16HighsModelStatusRK9HighsInfob(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(1020) %1, ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(104) %4, ptr noundef nonnull align 8 dereferenceable(96) %5, i32 noundef %6, ptr noundef nonnull align 8 dereferenceable(184) %7, i1 noundef zeroext %8) #2 personality ptr @__gxx_personality_v0 {
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %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 ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %class.HighsInfo, align 8
  %23 = alloca double, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca %struct.HighsPrimalDualErrors, align 8
  %27 = alloca i8, align 1
  %28 = alloca %"class.std::vector.3", align 8
  %29 = alloca double, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i8, align 1
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store ptr %5, ptr %16, align 8, !tbaa !5
  store i32 %6, ptr %17, align 4, !tbaa !9
  store ptr %7, ptr %18, align 8, !tbaa !5
  %38 = zext i1 %8 to i8
  store i8 %38, ptr %19, align 1, !tbaa !11
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %39, i32 0, i32 24
  %41 = load i32, ptr %40, align 4, !tbaa !13
  %42 = icmp slt i32 %41, 1
  br i1 %42, label %43, label %44

43:                                               ; preds = %9
  store i32 -1, ptr %10, align 4
  br label %233

44:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 184, ptr %22) #4
  call void @_ZN9HighsInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(184) %22)
  %45 = load i8, ptr %19, align 1, !tbaa !11, !range !23, !noundef !24
  %46 = trunc i8 %45 to i1
  br i1 %46, label %47, label %72

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store double 0.000000e+00, ptr %23, align 8, !tbaa !25
  %48 = load ptr, ptr %15, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.HighsSolution, ptr %48, i32 0, i32 0
  %50 = load i8, ptr %49, align 8, !tbaa !26, !range !23, !noundef !24
  %51 = trunc i8 %50 to i1
  br i1 %51, label %52, label %68

52:                                               ; preds = %47
  %53 = load ptr, ptr %13, align 8, !tbaa !5
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.HighsSolution, ptr %54, i32 0, i32 2
  %56 = invoke noundef double @_ZNK7HighsLp14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(920) %53, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %57 unwind label %64

57:                                               ; preds = %52
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = load ptr, ptr %15, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.HighsSolution, ptr %59, i32 0, i32 2
  %61 = invoke noundef double @_ZNK12HighsHessian14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(80) %58, ptr noundef nonnull align 8 dereferenceable(24) %60)
          to label %62 unwind label %64

62:                                               ; preds = %57
  %63 = fadd double %56, %61
  store double %63, ptr %23, align 8, !tbaa !25
  br label %68

64:                                               ; preds = %57, %52
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %24, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %232

68:                                               ; preds = %62, %47
  %69 = load double, ptr %23, align 8, !tbaa !25
  %70 = getelementptr inbounds i8, ptr %22, i64 8
  %71 = getelementptr inbounds %struct.HighsInfoStruct, ptr %70, i32 0, i32 10
  store double %69, ptr %71, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %72

72:                                               ; preds = %68, %44
  call void @llvm.lifetime.start.p0(i64 208, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #4
  store i8 1, ptr %27, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #4
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  %73 = load ptr, ptr %14, align 8, !tbaa !5
  %74 = getelementptr inbounds %class.HighsHessian, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !34
  %76 = icmp sgt i32 %75, 0
  br i1 %76, label %77, label %86

77:                                               ; preds = %72
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = load ptr, ptr %15, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.HighsSolution, ptr %79, i32 0, i32 2
  invoke void @_ZNK12HighsHessian7productERKSt6vectorIdSaIdEERS2_(ptr noundef nonnull align 8 dereferenceable(80) %78, ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %81 unwind label %82

81:                                               ; preds = %77
  br label %96

82:                                               ; preds = %119, %77
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %24, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %25, align 4
  br label %231

86:                                               ; preds = %72
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = getelementptr inbounds %class.HighsLp, ptr %87, i32 0, i32 0
  %89 = load i32, ptr %88, align 8, !tbaa !41
  %90 = sext i32 %89 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  store double 0.000000e+00, ptr %29, align 8, !tbaa !25
  invoke void @_ZNSt6vectorIdSaIdEE6assignEmRKd(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %90, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %91 unwind label %92

91:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %96

92:                                               ; preds = %86
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %24, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %231

96:                                               ; preds = %91, %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  store i32 0, ptr %30, align 4, !tbaa !62
  br label %97

97:                                               ; preds = %116, %96
  %98 = load i32, ptr %30, align 4, !tbaa !62
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = getelementptr inbounds %class.HighsLp, ptr %99, i32 0, i32 0
  %101 = load i32, ptr %100, align 8, !tbaa !41
  %102 = icmp slt i32 %98, %101
  br i1 %102, label %104, label %103

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

104:                                              ; preds = %97
  %105 = load ptr, ptr %13, align 8, !tbaa !5
  %106 = getelementptr inbounds %class.HighsLp, ptr %105, i32 0, i32 2
  %107 = load i32, ptr %30, align 4, !tbaa !62
  %108 = sext i32 %107 to i64
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %108) #4
  %110 = load double, ptr %109, align 8, !tbaa !25
  %111 = load i32, ptr %30, align 4, !tbaa !62
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %112) #4
  %114 = load double, ptr %113, align 8, !tbaa !25
  %115 = fadd double %114, %110
  store double %115, ptr %113, align 8, !tbaa !25
  br label %116

116:                                              ; preds = %104
  %117 = load i32, ptr %30, align 4, !tbaa !62
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %30, align 4, !tbaa !62
  br label %97, !llvm.loop !63

119:                                              ; preds = %103
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = load ptr, ptr %15, align 8, !tbaa !5
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_Z14getKktFailuresRK12HighsOptionsRK7HighsLpRKSt6vectorIdSaIdEERK13HighsSolutionRK10HighsBasisR9HighsInfoR21HighsPrimalDualErrorsb(ptr noundef nonnull align 8 dereferenceable(1020) %120, ptr noundef nonnull align 8 dereferenceable(920) %121, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(104) %122, ptr noundef nonnull align 8 dereferenceable(96) %123, ptr noundef nonnull align 8 dereferenceable(184) %22, ptr noundef nonnull align 8 dereferenceable(208) %26, i1 noundef zeroext true)
          to label %124 unwind label %82

124:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %125 = getelementptr inbounds i8, ptr %22, i64 8
  %126 = getelementptr inbounds %struct.HighsInfoStruct, ptr %125, i32 0, i32 14
  store ptr %126, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %127 = getelementptr inbounds i8, ptr %22, i64 8
  %128 = getelementptr inbounds %struct.HighsInfoStruct, ptr %127, i32 0, i32 17
  store ptr %128, ptr %32, align 8, !tbaa !5
  %129 = load i8, ptr %19, align 1, !tbaa !11, !range !23, !noundef !24
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %146

131:                                              ; preds = %124
  %132 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %132, ptr %21, align 4, !tbaa !9
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = load ptr, ptr %18, align 8, !tbaa !5
  %135 = invoke noundef i32 @_Z21debugCompareHighsInfoRK12HighsOptionsRK9HighsInfoS4_(ptr noundef nonnull align 8 dereferenceable(1020) %133, ptr noundef nonnull align 8 dereferenceable(184) %134, ptr noundef nonnull align 8 dereferenceable(184) %22)
          to label %136 unwind label %141

136:                                              ; preds = %131
  store i32 %135, ptr %20, align 4, !tbaa !65
  %137 = load i32, ptr %20, align 4, !tbaa !65
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %145

139:                                              ; preds = %136
  %140 = load i32, ptr %20, align 4, !tbaa !65
  store i32 %140, ptr %10, align 4
  store i32 1, ptr %33, align 4
  br label %229

141:                                              ; preds = %220, %215, %131
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %24, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %25, align 4
  br label %230

145:                                              ; preds = %136
  br label %156

146:                                              ; preds = %124
  %147 = load ptr, ptr %31, align 8, !tbaa !5
  %148 = load i32, ptr %147, align 4, !tbaa !62
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %150, label %155

150:                                              ; preds = %146
  %151 = load ptr, ptr %32, align 8, !tbaa !5
  %152 = load i32, ptr %151, align 4, !tbaa !62
  %153 = icmp eq i32 %152, 0
  br i1 %153, label %154, label %155

154:                                              ; preds = %150
  store i32 7, ptr %21, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %154, %150, %146
  br label %156

156:                                              ; preds = %155, %145
  %157 = load i8, ptr %19, align 1, !tbaa !11, !range !23, !noundef !24
  %158 = trunc i8 %157 to i1
  br i1 %158, label %159, label %215

159:                                              ; preds = %156
  %160 = load i32, ptr %17, align 4, !tbaa !9
  %161 = icmp eq i32 %160, 7
  br i1 %161, label %162, label %215

162:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #4
  store i8 0, ptr %34, align 1, !tbaa !11
  %163 = load ptr, ptr %31, align 8, !tbaa !5
  %164 = load i32, ptr %163, align 4, !tbaa !62
  %165 = icmp sgt i32 %164, 0
  br i1 %165, label %166, label %184

166:                                              ; preds = %162
  store i8 1, ptr %34, align 1, !tbaa !11
  %167 = load ptr, ptr %12, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %167, i32 0, i32 130
  %169 = load ptr, ptr %31, align 8, !tbaa !5
  %170 = load i32, ptr %169, align 4, !tbaa !62
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #4
  %171 = load i32, ptr %17, align 4, !tbaa !9
  invoke void @_Z23utilModelStatusToStringB5cxx1116HighsModelStatus(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %35, i32 noundef %171)
          to label %172 unwind label %175

172:                                              ; preds = %166
  %173 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #4
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %168, i32 noundef 5, ptr noundef @.str.53, i32 noundef %170, ptr noundef %173)
          to label %174 unwind label %179

174:                                              ; preds = %172
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #4
  br label %184

175:                                              ; preds = %166
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %24, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %25, align 4
  br label %183

179:                                              ; preds = %172
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %24, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #4
  br label %183

183:                                              ; preds = %179, %175
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #4
  br label %214

184:                                              ; preds = %174, %162
  %185 = load ptr, ptr %32, align 8, !tbaa !5
  %186 = load i32, ptr %185, align 4, !tbaa !62
  %187 = icmp sgt i32 %186, 0
  br i1 %187, label %188, label %206

188:                                              ; preds = %184
  store i8 1, ptr %34, align 1, !tbaa !11
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %189, i32 0, i32 130
  %191 = load ptr, ptr %32, align 8, !tbaa !5
  %192 = load i32, ptr %191, align 4, !tbaa !62
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #4
  %193 = load i32, ptr %17, align 4, !tbaa !9
  invoke void @_Z23utilModelStatusToStringB5cxx1116HighsModelStatus(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36, i32 noundef %193)
          to label %194 unwind label %197

194:                                              ; preds = %188
  %195 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %36) #4
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %190, i32 noundef 5, ptr noundef @.str.54, i32 noundef %192, ptr noundef %195)
          to label %196 unwind label %201

196:                                              ; preds = %194
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #4
  br label %206

197:                                              ; preds = %188
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %24, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %25, align 4
  br label %205

201:                                              ; preds = %194
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %24, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #4
  br label %205

205:                                              ; preds = %201, %197
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #4
  br label %214

206:                                              ; preds = %196, %184
  %207 = load i8, ptr %34, align 1, !tbaa !11, !range !23, !noundef !24
  %208 = trunc i8 %207 to i1
  br i1 %208, label %209, label %210

209:                                              ; preds = %206
  store i32 6, ptr %10, align 4
  store i32 1, ptr %33, align 4
  br label %211

210:                                              ; preds = %206
  store i32 0, ptr %33, align 4
  br label %211

211:                                              ; preds = %210, %209
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #4
  %212 = load i32, ptr %33, align 4
  switch i32 %212, label %229 [
    i32 0, label %213
  ]

213:                                              ; preds = %211
  br label %215

214:                                              ; preds = %205, %183
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #4
  br label %230

215:                                              ; preds = %213, %159, %156
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %216 unwind label %141

216:                                              ; preds = %215
  %217 = load ptr, ptr %12, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %217, i32 0, i32 130
  %219 = load i32, ptr %21, align 4, !tbaa !9
  invoke void @_Z24debugReportHighsSolutionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK15HighsLogOptionsRK9HighsInfo16HighsModelStatus(ptr noundef %37, ptr noundef nonnull align 8 dereferenceable(89) %218, ptr noundef nonnull align 8 dereferenceable(184) %22, i32 noundef %219)
          to label %220 unwind label %225

220:                                              ; preds = %216
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #4
  %221 = load ptr, ptr %12, align 8, !tbaa !5
  %222 = invoke noundef i32 @_Z28debugAnalysePrimalDualErrorsRK12HighsOptionsR21HighsPrimalDualErrors(ptr noundef nonnull align 8 dereferenceable(1020) %221, ptr noundef nonnull align 8 dereferenceable(208) %26)
          to label %223 unwind label %141

223:                                              ; preds = %220
  store i32 %222, ptr %20, align 4, !tbaa !65
  %224 = load i32, ptr %20, align 4, !tbaa !65
  store i32 %224, ptr %10, align 4
  store i32 1, ptr %33, align 4
  br label %229

225:                                              ; preds = %216
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %24, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #4
  br label %230

229:                                              ; preds = %223, %211, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr %26) #4
  call void @_ZN9HighsInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %22) #4
  call void @llvm.lifetime.end.p0(i64 184, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %233

230:                                              ; preds = %225, %214, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  br label %231

231:                                              ; preds = %230, %92, %82
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr %26) #4
  br label %232

232:                                              ; preds = %231, %64
  call void @_ZN9HighsInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %22) #4
  call void @llvm.lifetime.end.p0(i64 184, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %235

233:                                              ; preds = %229, %43
  %234 = load i32, ptr %10, align 4
  ret i32 %234

235:                                              ; preds = %232
  %236 = load ptr, ptr %24, align 8
  %237 = load i32, ptr %25, align 4
  %238 = insertvalue { ptr, i32 } poison, ptr %236, 0
  %239 = insertvalue { ptr, i32 } %238, i32 %237, 1
  resume { ptr, i32 } %239
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9HighsInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #2 align 2

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

declare noundef double @_ZNK7HighsLp14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef double @_ZNK12HighsHessian14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

declare void @_ZNK12HighsHessian7productERKSt6vectorIdSaIdEERS2_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

declare void @_Z14getKktFailuresRK12HighsOptionsRK7HighsLpRKSt6vectorIdSaIdEERK13HighsSolutionRK10HighsBasisR9HighsInfoR21HighsPrimalDualErrorsb(ptr noundef nonnull align 8 dereferenceable(1020), ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(208), i1 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z21debugCompareHighsInfoRK12HighsOptionsRK9HighsInfoS4_(ptr noundef nonnull align 8 dereferenceable(1020), ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(184)) #2

declare void @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, ptr noundef, ...) #3

declare void @_Z23utilModelStatusToStringB5cxx1116HighsModelStatus(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24debugReportHighsSolutionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK15HighsLogOptionsRK9HighsInfo16HighsModelStatus(ptr noundef, ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(184), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z28debugAnalysePrimalDualErrorsRK12HighsOptionsR21HighsPrimalDualErrors(ptr noundef nonnull align 8 dereferenceable(1020), ptr noundef nonnull align 8 dereferenceable(208)) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !10, i64 0}
!10 = !{!"_ZTS16HighsModelStatus", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !19, i64 348}
!14 = !{!"_ZTS18HighsOptionsStruct", !15, i64 8, !15, i64 40, !15, i64 72, !15, i64 104, !18, i64 136, !15, i64 144, !15, i64 176, !19, i64 208, !15, i64 216, !18, i64 248, !18, i64 256, !18, i64 264, !18, i64 272, !18, i64 280, !18, i64 288, !18, i64 296, !18, i64 304, !18, i64 312, !18, i64 320, !18, i64 328, !19, i64 336, !19, i64 340, !19, i64 344, !19, i64 348, !19, i64 352, !19, i64 356, !19, i64 360, !19, i64 364, !19, i64 368, !19, i64 372, !19, i64 376, !19, i64 380, !19, i64 384, !19, i64 388, !15, i64 392, !12, i64 424, !12, i64 425, !12, i64 426, !19, i64 428, !19, i64 432, !15, i64 440, !12, i64 472, !12, i64 473, !12, i64 474, !19, i64 476, !12, i64 480, !12, i64 481, !19, i64 484, !19, i64 488, !18, i64 496, !19, i64 504, !19, i64 508, !19, i64 512, !12, i64 516, !19, i64 520, !12, i64 524, !12, i64 525, !12, i64 526, !12, i64 527, !12, i64 528, !12, i64 529, !12, i64 530, !19, i64 532, !19, i64 536, !19, i64 540, !19, i64 544, !19, i64 548, !19, i64 552, !19, i64 556, !19, i64 560, !19, i64 564, !19, i64 568, !19, i64 572, !19, i64 576, !19, i64 580, !19, i64 584, !19, i64 588, !12, i64 592, !12, i64 593, !12, i64 594, !12, i64 595, !18, i64 600, !18, i64 608, !18, i64 616, !18, i64 624, !18, i64 632, !18, i64 640, !18, i64 648, !18, i64 656, !18, i64 664, !18, i64 672, !18, i64 680, !12, i64 688, !12, i64 689, !12, i64 690, !12, i64 691, !19, i64 692, !18, i64 696, !12, i64 704, !12, i64 705, !15, i64 712, !18, i64 744, !19, i64 752, !19, i64 756, !12, i64 760, !12, i64 761, !12, i64 762, !12, i64 763, !19, i64 764, !19, i64 768, !19, i64 772, !19, i64 776, !19, i64 780, !19, i64 784, !19, i64 788, !19, i64 792, !19, i64 796, !19, i64 800, !19, i64 804, !18, i64 808, !18, i64 816, !18, i64 824, !18, i64 832, !18, i64 840, !12, i64 848, !12, i64 849, !15, i64 856, !12, i64 888, !19, i64 892, !20, i64 896}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !21, i64 48, !6, i64 80, !12, i64 88}
!21 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !22, i64 0, !6, i64 24}
!22 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!18, !18, i64 0}
!26 = !{!27, !12, i64 0}
!27 = !{!"_ZTS13HighsSolution", !12, i64 0, !12, i64 1, !28, i64 8, !28, i64 32, !28, i64 56, !28, i64 80}
!28 = !{!"_ZTSSt6vectorIdSaIdEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!33, !18, i64 48}
!33 = !{!"_ZTS15HighsInfoStruct", !12, i64 0, !17, i64 8, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !19, i64 80, !18, i64 88, !18, i64 96, !19, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !18, i64 136, !18, i64 144}
!34 = !{!35, !19, i64 0}
!35 = !{!"_ZTS12HighsHessian", !19, i64 0, !36, i64 4, !37, i64 8, !37, i64 32, !28, i64 56}
!36 = !{!"_ZTS13HessianFormat", !7, i64 0}
!37 = !{!"_ZTSSt6vectorIiSaIiEE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!42, !19, i64 0}
!42 = !{!"_ZTS7HighsLp", !19, i64 0, !19, i64 4, !28, i64 8, !28, i64 32, !28, i64 56, !28, i64 80, !28, i64 104, !43, i64 128, !45, i64 240, !18, i64 248, !15, i64 256, !15, i64 288, !19, i64 320, !19, i64 324, !46, i64 328, !46, i64 352, !50, i64 376, !54, i64 400, !54, i64 456, !19, i64 512, !19, i64 516, !60, i64 520, !12, i64 592, !12, i64 593, !19, i64 596, !12, i64 600, !61, i64 608}
!43 = !{!"_ZTS17HighsSparseMatrix", !44, i64 0, !19, i64 4, !19, i64 8, !37, i64 16, !37, i64 40, !37, i64 64, !28, i64 88}
!44 = !{!"_ZTS12MatrixFormat", !7, i64 0}
!45 = !{!"_ZTS8ObjSense", !7, i64 0}
!46 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSSt6vectorI12HighsVarTypeSaIS0_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseI12HighsVarTypeSaIS0_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTS13HighsNameHash", !55, i64 0}
!55 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !56, i64 0}
!56 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !57, i64 16, !17, i64 24, !58, i64 32, !6, i64 48}
!57 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!58 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !59, i64 0, !17, i64 8}
!59 = !{!"float", !7, i64 0}
!60 = !{!"_ZTS10HighsScale", !19, i64 0, !12, i64 4, !19, i64 8, !19, i64 12, !18, i64 16, !28, i64 24, !28, i64 48}
!61 = !{!"_ZTS11HighsLpMods", !37, i64 0, !37, i64 24, !28, i64 48, !28, i64 72, !50, i64 96, !37, i64 120, !28, i64 144, !37, i64 168, !28, i64 192, !37, i64 216, !28, i64 240, !28, i64 264, !28, i64 288}
!62 = !{!19, !19, i64 0}
!63 = distinct !{!63, !64}
!64 = !{!"llvm.loop.mustprogress"}
!65 = !{!66, !66, i64 0}
!66 = !{!"_ZTS16HighsDebugStatus", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.HighsInfo = type { ptr, %struct.HighsInfoStruct, %"class.std::vector.33" }
%struct.HighsInfoStruct = type { i8, i64, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, i32, double, double, i32, double, double, double, double, double }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl" }
%"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl" = type { %"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<InfoRecord *, std::allocator<InfoRecord *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsPrimalDualErrors = type { i32, i32, double, double, i32, double, double, i32, double, i32, double, %struct.HighsError, %struct.HighsError, %struct.HighsError, %struct.HighsError }
%struct.HighsError = type { double, i32, double, i32 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.53 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [70 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18debugHighsSolutionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK12HighsOptionsRK7HighsLpRK12HighsHessianRK13HighsSolutionRK10HighsBasis16HighsModelStatusRK9HighsInfob(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(1020) %1, ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(104) %4, ptr noundef nonnull align 8 dereferenceable(96) %5, i32 noundef %6, ptr noundef nonnull align 8 dereferenceable(184) %7, i1 noundef zeroext %8) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %class.HighsInfo, align 8
  %11 = alloca %struct.HighsPrimalDualErrors, align 8
  %12 = alloca %"class.std::vector.3", align 8
  %13 = alloca double, align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = getelementptr inbounds i8, ptr %1, i64 348
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 1
  br i1 %19, label %111, label %20

20:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %10) #4
  call void @_ZN9HighsInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(184) %10)
  br i1 %8, label %21, label %35

21:                                               ; preds = %20
  %22 = load i8, ptr %4, align 8, !tbaa !19, !range !25, !noundef !26
  %23 = trunc nuw i8 %22 to i1
  br i1 %23, label %24, label %33

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %4, i64 8
  %26 = invoke noundef double @_ZNK7HighsLp14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %27 unwind label %31

27:                                               ; preds = %24
  %28 = invoke noundef double @_ZNK12HighsHessian14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %29 unwind label %31

29:                                               ; preds = %27
  %30 = fadd double %26, %28
  br label %33

31:                                               ; preds = %27, %24
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %110

33:                                               ; preds = %29, %21
  %.063 = phi double [ %30, %29 ], [ 0.000000e+00, %21 ]
  %34 = getelementptr inbounds i8, ptr %10, i64 56
  store double %.063, ptr %34, align 8, !tbaa !27
  br label %35

35:                                               ; preds = %33, %20
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %36 = load i32, ptr %3, align 8, !tbaa !29
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %38, label %42

38:                                               ; preds = %35
  %39 = getelementptr inbounds i8, ptr %4, i64 8
  invoke void @_ZNK12HighsHessian7productERKSt6vectorIdSaIdEERS2_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %48 unwind label %40

40:                                               ; preds = %._crit_edge, %38
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %109

42:                                               ; preds = %35
  %43 = load i32, ptr %2, align 8, !tbaa !36
  %44 = sext i32 %43 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  store double 0.000000e+00, ptr %13, align 8, !tbaa !57
  invoke void @_ZNSt6vectorIdSaIdEE6assignEmRKd(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %44, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %45 unwind label %46

45:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  br label %48

46:                                               ; preds = %42
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  br label %109

48:                                               ; preds = %38, %45
  %49 = load i32, ptr %2, align 8, !tbaa !36
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %48
  %51 = getelementptr inbounds i8, ptr %2, i64 8
  br label %52

._crit_edge:                                      ; preds = %52, %48
  invoke void @_Z14getKktFailuresRK12HighsOptionsRK7HighsLpRKSt6vectorIdSaIdEERK13HighsSolutionRK10HighsBasisR9HighsInfoR21HighsPrimalDualErrorsb(ptr noundef nonnull align 8 dereferenceable(1020) %1, ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(104) %4, ptr noundef nonnull align 8 dereferenceable(96) %5, ptr noundef nonnull align 8 dereferenceable(184) %10, ptr noundef nonnull align 8 dereferenceable(208) %11, i1 noundef zeroext true)
          to label %61 unwind label %40

52:                                               ; preds = %.lr.ph, %52
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %52 ]
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %indvars.iv) #4
  %54 = load double, ptr %53, align 8, !tbaa !57
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #4
  %56 = load double, ptr %55, align 8, !tbaa !57
  %57 = fadd double %54, %56
  store double %57, ptr %55, align 8, !tbaa !57
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %58 = load i32, ptr %2, align 8, !tbaa !36
  %59 = sext i32 %58 to i64
  %60 = icmp slt i64 %indvars.iv.next, %59
  br i1 %60, label %52, label %._crit_edge, !llvm.loop !58

61:                                               ; preds = %._crit_edge
  %62 = getelementptr inbounds i8, ptr %10, i64 88
  %63 = getelementptr inbounds i8, ptr %10, i64 112
  br i1 %8, label %64, label %.thread

64:                                               ; preds = %61
  %65 = invoke noundef i32 @_Z21debugCompareHighsInfoRK12HighsOptionsRK9HighsInfoS4_(ptr noundef nonnull align 8 dereferenceable(1020) %1, ptr noundef nonnull align 8 dereferenceable(184) %7, ptr noundef nonnull align 8 dereferenceable(184) %10)
          to label %66 unwind label %67

66:                                               ; preds = %64
  %.not = icmp eq i32 %65, 0
  br i1 %.not, label %73, label %108

67:                                               ; preds = %104, %.thread82, %64
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %109

.thread:                                          ; preds = %61
  %69 = load i32, ptr %62, align 8, !tbaa !60
  %70 = icmp eq i32 %69, 0
  %71 = load i32, ptr %63, align 8
  %72 = icmp eq i32 %71, 0
  %or.cond77 = select i1 %70, i1 %72, i1 false
  %spec.select = select i1 %or.cond77, i32 7, i32 0
  br label %.thread82

73:                                               ; preds = %66
  %74 = icmp eq i32 %6, 7
  br i1 %74, label %75, label %.thread82

75:                                               ; preds = %73
  %76 = load i32, ptr %62, align 8, !tbaa !60
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %78, label %.thread81

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #4
  invoke void @_Z23utilModelStatusToStringB5cxx1116HighsModelStatus(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, i32 noundef 7)
          to label %79 unwind label %82

79:                                               ; preds = %78
  %80 = getelementptr inbounds i8, ptr %1, i64 896
  %81 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %80, i32 noundef 5, ptr noundef nonnull @.str.53, i32 noundef %76, ptr noundef %81)
          to label %87 unwind label %84

82:                                               ; preds = %78
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %79
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  br label %86

86:                                               ; preds = %84, %82
  %.pn = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #4
  br label %109

87:                                               ; preds = %79
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #4
  %88 = load i32, ptr %63, align 8, !tbaa !60
  %89 = icmp sgt i32 %88, 0
  br i1 %89, label %92, label %108

.thread81:                                        ; preds = %75
  %90 = load i32, ptr %63, align 8, !tbaa !60
  %91 = icmp sgt i32 %90, 0
  br i1 %91, label %92, label %.thread82

92:                                               ; preds = %.thread81, %87
  %93 = phi i32 [ %90, %.thread81 ], [ %88, %87 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #4
  invoke void @_Z23utilModelStatusToStringB5cxx1116HighsModelStatus(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, i32 noundef 7)
          to label %94 unwind label %97

94:                                               ; preds = %92
  %95 = getelementptr inbounds i8, ptr %1, i64 896
  %96 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %95, i32 noundef 5, ptr noundef nonnull @.str.54, i32 noundef %93, ptr noundef %96)
          to label %.critedge unwind label %99

.critedge:                                        ; preds = %94
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #4
  br label %108

97:                                               ; preds = %92
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %94
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  br label %101

101:                                              ; preds = %99, %97
  %.pn69 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #4
  br label %109

.thread82:                                        ; preds = %.thread81, %.thread, %73
  %.05380 = phi i32 [ %spec.select, %.thread ], [ %6, %73 ], [ 7, %.thread81 ]
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %102 unwind label %67

102:                                              ; preds = %.thread82
  %103 = getelementptr inbounds i8, ptr %1, i64 896
  invoke void @_Z24debugReportHighsSolutionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK15HighsLogOptionsRK9HighsInfo16HighsModelStatus(ptr noundef nonnull %16, ptr noundef nonnull align 8 dereferenceable(89) %103, ptr noundef nonnull align 8 dereferenceable(184) %10, i32 noundef %.05380)
          to label %104 unwind label %106

104:                                              ; preds = %102
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  %105 = invoke noundef i32 @_Z28debugAnalysePrimalDualErrorsRK12HighsOptionsR21HighsPrimalDualErrors(ptr noundef nonnull align 8 dereferenceable(1020) %1, ptr noundef nonnull align 8 dereferenceable(208) %11)
          to label %108 unwind label %67

106:                                              ; preds = %102
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  br label %109

108:                                              ; preds = %87, %.critedge, %104, %66
  %.151 = phi i32 [ %65, %66 ], [ %105, %104 ], [ 6, %.critedge ], [ 6, %87 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %11) #4
  call void @_ZN9HighsInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %10) #4
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %10) #4
  br label %111

109:                                              ; preds = %67, %106, %101, %86, %46, %40
  %.pn72.pn = phi { ptr, i32 } [ %41, %40 ], [ %47, %46 ], [ %68, %67 ], [ %107, %106 ], [ %.pn69, %101 ], [ %.pn, %86 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %11) #4
  br label %110

110:                                              ; preds = %109, %31
  %.pn72.pn.pn = phi { ptr, i32 } [ %.pn72.pn, %109 ], [ %32, %31 ]
  call void @_ZN9HighsInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %10) #4
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %10) #4
  resume { ptr, i32 } %.pn72.pn.pn

111:                                              ; preds = %9, %108
  %.2 = phi i32 [ %.151, %108 ], [ -1, %9 ]
  ret i32 %.2
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9HighsInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #2 align 2

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

declare noundef double @_ZNK7HighsLp14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef double @_ZNK12HighsHessian14objectiveValueERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

declare void @_ZNK12HighsHessian7productERKSt6vectorIdSaIdEERS2_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

declare void @_Z14getKktFailuresRK12HighsOptionsRK7HighsLpRKSt6vectorIdSaIdEERK13HighsSolutionRK10HighsBasisR9HighsInfoR21HighsPrimalDualErrorsb(ptr noundef nonnull align 8 dereferenceable(1020), ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(208), i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z21debugCompareHighsInfoRK12HighsOptionsRK9HighsInfoS4_(ptr noundef nonnull align 8 dereferenceable(1020), ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #2

declare void @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, ptr noundef, ...) local_unnamed_addr #3

declare void @_Z23utilModelStatusToStringB5cxx1116HighsModelStatus(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24debugReportHighsSolutionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK15HighsLogOptionsRK9HighsInfo16HighsModelStatus(ptr noundef, ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(184), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z28debugAnalysePrimalDualErrorsRK12HighsOptionsR21HighsPrimalDualErrors(ptr noundef nonnull align 8 dereferenceable(1020), ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !14, i64 348}
!6 = !{!"_ZTS18HighsOptionsStruct", !7, i64 8, !7, i64 40, !7, i64 72, !7, i64 104, !13, i64 136, !7, i64 144, !7, i64 176, !14, i64 208, !7, i64 216, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !14, i64 336, !14, i64 340, !14, i64 344, !14, i64 348, !14, i64 352, !14, i64 356, !14, i64 360, !14, i64 364, !14, i64 368, !14, i64 372, !14, i64 376, !14, i64 380, !14, i64 384, !14, i64 388, !7, i64 392, !15, i64 424, !15, i64 425, !15, i64 426, !14, i64 428, !14, i64 432, !7, i64 440, !15, i64 472, !15, i64 473, !15, i64 474, !14, i64 476, !15, i64 480, !15, i64 481, !14, i64 484, !14, i64 488, !13, i64 496, !14, i64 504, !14, i64 508, !14, i64 512, !15, i64 516, !14, i64 520, !15, i64 524, !15, i64 525, !15, i64 526, !15, i64 527, !15, i64 528, !15, i64 529, !15, i64 530, !14, i64 532, !14, i64 536, !14, i64 540, !14, i64 544, !14, i64 548, !14, i64 552, !14, i64 556, !14, i64 560, !14, i64 564, !14, i64 568, !14, i64 572, !14, i64 576, !14, i64 580, !14, i64 584, !14, i64 588, !15, i64 592, !15, i64 593, !15, i64 594, !15, i64 595, !13, i64 600, !13, i64 608, !13, i64 616, !13, i64 624, !13, i64 632, !13, i64 640, !13, i64 648, !13, i64 656, !13, i64 664, !13, i64 672, !13, i64 680, !15, i64 688, !15, i64 689, !15, i64 690, !15, i64 691, !14, i64 692, !13, i64 696, !15, i64 704, !15, i64 705, !7, i64 712, !13, i64 744, !14, i64 752, !14, i64 756, !15, i64 760, !15, i64 761, !15, i64 762, !15, i64 763, !14, i64 764, !14, i64 768, !14, i64 772, !14, i64 776, !14, i64 780, !14, i64 784, !14, i64 788, !14, i64 792, !14, i64 796, !14, i64 800, !14, i64 804, !13, i64 808, !13, i64 816, !13, i64 824, !13, i64 832, !13, i64 840, !15, i64 848, !15, i64 849, !7, i64 856, !15, i64 888, !14, i64 892, !16, i64 896}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"double", !10, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!"bool", !10, i64 0}
!16 = !{!"_ZTS15HighsLogOptions", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !17, i64 48, !9, i64 80, !15, i64 88}
!17 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !18, i64 0, !9, i64 24}
!18 = !{!"_ZTSSt14_Function_base", !10, i64 0, !9, i64 16}
!19 = !{!20, !15, i64 0}
!20 = !{!"_ZTS13HighsSolution", !15, i64 0, !15, i64 1, !21, i64 8, !21, i64 32, !21, i64 56, !21, i64 80}
!21 = !{!"_ZTSSt6vectorIdSaIdEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !13, i64 48}
!28 = !{!"_ZTS15HighsInfoStruct", !15, i64 0, !12, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !14, i64 80, !13, i64 88, !13, i64 96, !14, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144}
!29 = !{!30, !14, i64 0}
!30 = !{!"_ZTS12HighsHessian", !14, i64 0, !31, i64 4, !32, i64 8, !32, i64 32, !21, i64 56}
!31 = !{!"_ZTS13HessianFormat", !10, i64 0}
!32 = !{!"_ZTSSt6vectorIiSaIiEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!36 = !{!37, !14, i64 0}
!37 = !{!"_ZTS7HighsLp", !14, i64 0, !14, i64 4, !21, i64 8, !21, i64 32, !21, i64 56, !21, i64 80, !21, i64 104, !38, i64 128, !40, i64 240, !13, i64 248, !7, i64 256, !7, i64 288, !14, i64 320, !14, i64 324, !41, i64 328, !41, i64 352, !45, i64 376, !49, i64 400, !49, i64 456, !14, i64 512, !14, i64 516, !55, i64 520, !15, i64 592, !15, i64 593, !14, i64 596, !15, i64 600, !56, i64 608}
!38 = !{!"_ZTS17HighsSparseMatrix", !39, i64 0, !14, i64 4, !14, i64 8, !32, i64 16, !32, i64 40, !32, i64 64, !21, i64 88}
!39 = !{!"_ZTS12MatrixFormat", !10, i64 0}
!40 = !{!"_ZTS8ObjSense", !10, i64 0}
!41 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!45 = !{!"_ZTSSt6vectorI12HighsVarTypeSaIS0_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseI12HighsVarTypeSaIS0_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!49 = !{!"_ZTS13HighsNameHash", !50, i64 0}
!50 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !51, i64 0}
!51 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !9, i64 0, !12, i64 8, !52, i64 16, !12, i64 24, !53, i64 32, !9, i64 48}
!52 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !9, i64 0}
!53 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !54, i64 0, !12, i64 8}
!54 = !{!"float", !10, i64 0}
!55 = !{!"_ZTS10HighsScale", !14, i64 0, !15, i64 4, !14, i64 8, !14, i64 12, !13, i64 16, !21, i64 24, !21, i64 48}
!56 = !{!"_ZTS11HighsLpMods", !32, i64 0, !32, i64 24, !21, i64 48, !21, i64 72, !45, i64 96, !32, i64 120, !21, i64 144, !32, i64 168, !21, i64 192, !32, i64 216, !21, i64 240, !21, i64 264, !21, i64 288}
!57 = !{!13, !13, i64 0}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}
!60 = !{!14, !14, i64 0}


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