; LLVM IR from ERGO-Code/HiGHS :: src/util (HighsMatrixUtils)

; 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.HighsHashTable = type { %"class.std::unique_ptr", %"class.std::unique_ptr.10", i64, i64, i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }

@.str.51 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__._Z12assessMatrixRK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibRSt6vectorIiSaIiEESB_SB_RS8_IdSaIdEEdd = external hidden unnamed_addr constant [219 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [92 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 uwtable
define dso_local noundef i32 @_Z12assessMatrixRK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibRSt6vectorIiSaIiEESB_SB_RS8_IdSaIdEEdd(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef %9, double noundef %10) #1 personality ptr @__gxx_personality_v0 {
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca i8, align 1
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca i32, align 4
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca %class.HighsHashTable, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i8, align 1
  %50 = alloca ptr, align 8
  %51 = alloca i32, align 4
  %52 = alloca double, align 8
  %53 = alloca i8, align 1
  %54 = alloca i8, align 1
  %55 = alloca i32, align 4
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store i32 %2, ptr %15, align 4, !tbaa !9
  store i32 %3, ptr %16, align 4, !tbaa !9
  %56 = zext i1 %4 to i8
  store i8 %56, ptr %17, align 1, !tbaa !11
  store ptr %5, ptr %18, align 8, !tbaa !5
  store ptr %6, ptr %19, align 8, !tbaa !5
  store ptr %7, ptr %20, align 8, !tbaa !5
  store ptr %8, ptr %21, align 8, !tbaa !5
  store double %9, ptr %22, align 8, !tbaa !13
  store double %10, ptr %23, align 8, !tbaa !13
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  %58 = load i32, ptr %16, align 4, !tbaa !9
  %59 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %60 = trunc i8 %59 to i1
  %61 = load ptr, ptr %18, align 8, !tbaa !5
  %62 = load ptr, ptr %19, align 8, !tbaa !5
  %63 = load ptr, ptr %20, align 8, !tbaa !5
  %64 = load ptr, ptr %21, align 8, !tbaa !5
  %65 = call noundef i32 @_Z22assessMatrixDimensionsRK15HighsLogOptionsibRKSt6vectorIiSaIiEES6_S6_RKS2_IdSaIdEE(ptr noundef nonnull align 8 dereferenceable(89) %57, i32 noundef %58, i1 noundef zeroext %60, ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 8 dereferenceable(24) %64)
  %66 = icmp eq i32 %65, -1
  br i1 %66, label %67, label %68

67:                                               ; preds = %11
  store i32 -1, ptr %12, align 4
  br label %442

68:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  store i8 0, ptr %24, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  store i8 0, ptr %25, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %69 = load ptr, ptr %18, align 8, !tbaa !5
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %71) #6
  %73 = load i32, ptr %72, align 4, !tbaa !9
  store i32 %73, ptr %26, align 4, !tbaa !9
  %74 = load ptr, ptr %18, align 8, !tbaa !5
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef 0) #6
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %84

78:                                               ; preds = %68
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %81 = load ptr, ptr %18, align 8, !tbaa !5
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef 0) #6
  %83 = load i32, ptr %82, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %79, i32 noundef 5, ptr noundef @.str.51, ptr noundef %80, i32 noundef %83)
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %441

84:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %85 = load ptr, ptr %18, align 8, !tbaa !5
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef 0) #6
  %87 = load i32, ptr %86, align 4, !tbaa !9
  store i32 %87, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %88 = load ptr, ptr %18, align 8, !tbaa !5
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef 0) #6
  %90 = load i32, ptr %89, align 4, !tbaa !9
  store i32 %90, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store i32 0, ptr %30, align 4, !tbaa !9
  %91 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %97

93:                                               ; preds = %84
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef 0) #6
  %96 = load i32, ptr %95, align 4, !tbaa !9
  store i32 %96, ptr %30, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %93, %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %151, %97
  %99 = load i32, ptr %31, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 2, ptr %27, align 4
  br label %154

103:                                              ; preds = %98
  %104 = load ptr, ptr %18, align 8, !tbaa !5
  %105 = load i32, ptr %31, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %106) #6
  %108 = load i32, ptr %107, align 4, !tbaa !9
  store i32 %108, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #6
  %109 = load i32, ptr %29, align 4, !tbaa !9
  %110 = load i32, ptr %28, align 4, !tbaa !9
  %111 = icmp slt i32 %109, %110
  %112 = zext i1 %111 to i8
  store i8 %112, ptr %32, align 1, !tbaa !11
  %113 = load i8, ptr %32, align 1, !tbaa !11, !range !15, !noundef !16
  %114 = trunc i8 %113 to i1
  br i1 %114, label %115, label %121

115:                                              ; preds = %103
  %116 = load ptr, ptr %13, align 8, !tbaa !5
  %117 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %118 = load i32, ptr %31, align 4, !tbaa !9
  %119 = load i32, ptr %29, align 4, !tbaa !9
  %120 = load i32, ptr %28, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %116, i32 noundef 5, ptr noundef @.str.52, ptr noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef %120)
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %148

121:                                              ; preds = %103
  %122 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %146

124:                                              ; preds = %121
  %125 = load ptr, ptr %19, align 8, !tbaa !5
  %126 = load i32, ptr %31, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %127) #6
  %129 = load i32, ptr %128, align 4, !tbaa !9
  store i32 %129, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #6
  %130 = load i32, ptr %30, align 4, !tbaa !9
  %131 = load i32, ptr %29, align 4, !tbaa !9
  %132 = icmp slt i32 %130, %131
  %133 = zext i1 %132 to i8
  store i8 %133, ptr %33, align 1, !tbaa !11
  %134 = load i8, ptr %33, align 1, !tbaa !11, !range !15, !noundef !16
  %135 = trunc i8 %134 to i1
  br i1 %135, label %136, label %142

136:                                              ; preds = %124
  %137 = load ptr, ptr %13, align 8, !tbaa !5
  %138 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %139 = load i32, ptr %31, align 4, !tbaa !9
  %140 = load i32, ptr %30, align 4, !tbaa !9
  %141 = load i32, ptr %29, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %137, i32 noundef 5, ptr noundef @.str.53, ptr noundef %138, i32 noundef %139, i32 noundef %140, i32 noundef %141)
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %143

142:                                              ; preds = %124
  store i32 0, ptr %27, align 4
  br label %143

143:                                              ; preds = %142, %136
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  %144 = load i32, ptr %27, align 4
  switch i32 %144, label %148 [
    i32 0, label %145
  ]

145:                                              ; preds = %143
  br label %146

146:                                              ; preds = %145, %121
  %147 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %147, ptr %28, align 4, !tbaa !9
  store i32 0, ptr %27, align 4
  br label %148

148:                                              ; preds = %146, %143, %115
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  %149 = load i32, ptr %27, align 4
  switch i32 %149, label %154 [
    i32 0, label %150
  ]

150:                                              ; preds = %148
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr %31, align 4, !tbaa !9
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %31, align 4, !tbaa !9
  br label %98, !llvm.loop !17

154:                                              ; preds = %148, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  %155 = load i32, ptr %27, align 4
  switch i32 %155, label %440 [
    i32 2, label %156
  ]

156:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  %157 = load i32, ptr %29, align 4, !tbaa !9
  %158 = load i32, ptr %26, align 4, !tbaa !9
  %159 = icmp sgt i32 %157, %158
  %160 = zext i1 %159 to i8
  store i8 %160, ptr %34, align 1, !tbaa !11
  %161 = load i8, ptr %34, align 1, !tbaa !11, !range !15, !noundef !16
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %169

163:                                              ; preds = %156
  %164 = load ptr, ptr %13, align 8, !tbaa !5
  %165 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %29, align 4, !tbaa !9
  %168 = load i32, ptr %26, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %164, i32 noundef 5, ptr noundef @.str.54, ptr noundef %165, i32 noundef %166, i32 noundef %167, i32 noundef %168)
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %439

169:                                              ; preds = %156
  %170 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %171 = trunc i8 %170 to i1
  br i1 %171, label %172, label %189

172:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #6
  %173 = load i32, ptr %30, align 4, !tbaa !9
  %174 = load i32, ptr %26, align 4, !tbaa !9
  %175 = icmp sgt i32 %173, %174
  %176 = zext i1 %175 to i8
  store i8 %176, ptr %35, align 1, !tbaa !11
  %177 = load i8, ptr %35, align 1, !tbaa !11, !range !15, !noundef !16
  %178 = trunc i8 %177 to i1
  br i1 %178, label %179, label %185

179:                                              ; preds = %172
  %180 = load ptr, ptr %13, align 8, !tbaa !5
  %181 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = load i32, ptr %30, align 4, !tbaa !9
  %184 = load i32, ptr %26, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %180, i32 noundef 5, ptr noundef @.str.55, ptr noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184)
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %186

185:                                              ; preds = %172
  store i32 0, ptr %27, align 4
  br label %186

186:                                              ; preds = %185, %179
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  %187 = load i32, ptr %27, align 4
  switch i32 %187, label %439 [
    i32 0, label %188
  ]

188:                                              ; preds = %186
  br label %189

189:                                              ; preds = %188, %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  store i32 0, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  store double 0.000000e+00, ptr %38, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  store double 0x7FF0000000000000, ptr %39, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  store i32 0, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  store double 0.000000e+00, ptr %41, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  store double 0x7FF0000000000000, ptr %42, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #6
  call void @_ZN14HighsHashTableIivEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43)
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  store i32 0, ptr %44, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %364, %189
  %191 = load i32, ptr %44, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = icmp slt i32 %191, %192
  br i1 %193, label %195, label %194

194:                                              ; preds = %190
  store i32 5, ptr %27, align 4
  br label %372

195:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  %196 = load ptr, ptr %18, align 8, !tbaa !5
  %197 = load i32, ptr %44, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %198) #6
  %200 = load i32, ptr %199, align 4, !tbaa !9
  store i32 %200, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %201 = load ptr, ptr %18, align 8, !tbaa !5
  %202 = load i32, ptr %44, align 4, !tbaa !9
  %203 = add nsw i32 %202, 1
  %204 = sext i32 %203 to i64
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %201, i64 noundef %204) #6
  %206 = load i32, ptr %205, align 4, !tbaa !9
  store i32 %206, ptr %46, align 4, !tbaa !9
  %207 = load i32, ptr %36, align 4, !tbaa !9
  %208 = load ptr, ptr %18, align 8, !tbaa !5
  %209 = load i32, ptr %44, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %208, i64 noundef %210) #6
  store i32 %207, ptr %211, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  %212 = load i32, ptr %45, align 4, !tbaa !9
  store i32 %212, ptr %47, align 4, !tbaa !9
  br label %213

213:                                              ; preds = %353, %195
  %214 = load i32, ptr %47, align 4, !tbaa !9
  %215 = load i32, ptr %46, align 4, !tbaa !9
  %216 = icmp slt i32 %214, %215
  br i1 %216, label %218, label %217

217:                                              ; preds = %213
  store i32 8, ptr %27, align 4
  br label %357

218:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  %219 = load ptr, ptr %20, align 8, !tbaa !5
  %220 = load i32, ptr %47, align 4, !tbaa !9
  %221 = sext i32 %220 to i64
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %219, i64 noundef %221) #6
  %223 = load i32, ptr %222, align 4, !tbaa !9
  store i32 %223, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #6
  %224 = load i32, ptr %48, align 4, !tbaa !9
  %225 = icmp sge i32 %224, 0
  %226 = zext i1 %225 to i8
  store i8 %226, ptr %49, align 1, !tbaa !11
  %227 = load i8, ptr %49, align 1, !tbaa !11, !range !15, !noundef !16
  %228 = trunc i8 %227 to i1
  br i1 %228, label %240, label %229

229:                                              ; preds = %218
  %230 = load ptr, ptr %13, align 8, !tbaa !5
  %231 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %232 = load i32, ptr %44, align 4, !tbaa !9
  %233 = load i32, ptr %47, align 4, !tbaa !9
  %234 = load i32, ptr %48, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %230, i32 noundef 5, ptr noundef @.str.56, ptr noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %234)
          to label %235 unwind label %236

235:                                              ; preds = %229
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %350

236:                                              ; preds = %262, %255, %247, %229
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %50, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %51, align 4
  br label %356

240:                                              ; preds = %218
  %241 = load i32, ptr %48, align 4, !tbaa !9
  %242 = load i32, ptr %15, align 4, !tbaa !9
  %243 = icmp slt i32 %241, %242
  %244 = zext i1 %243 to i8
  store i8 %244, ptr %49, align 1, !tbaa !11
  %245 = load i8, ptr %49, align 1, !tbaa !11, !range !15, !noundef !16
  %246 = trunc i8 %245 to i1
  br i1 %246, label %255, label %247

247:                                              ; preds = %240
  %248 = load ptr, ptr %13, align 8, !tbaa !5
  %249 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %250 = load i32, ptr %44, align 4, !tbaa !9
  %251 = load i32, ptr %47, align 4, !tbaa !9
  %252 = load i32, ptr %48, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %248, i32 noundef 5, ptr noundef @.str.57, ptr noundef %249, i32 noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253)
          to label %254 unwind label %236

254:                                              ; preds = %247
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %350

255:                                              ; preds = %240
  %256 = invoke noundef ptr @_ZN14HighsHashTableIivE4findERKi(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %257 unwind label %236

257:                                              ; preds = %255
  %258 = icmp eq ptr %256, null
  %259 = zext i1 %258 to i8
  store i8 %259, ptr %49, align 1, !tbaa !11
  %260 = load i8, ptr %49, align 1, !tbaa !11, !range !15, !noundef !16
  %261 = trunc i8 %260 to i1
  br i1 %261, label %269, label %262

262:                                              ; preds = %257
  %263 = load ptr, ptr %13, align 8, !tbaa !5
  %264 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %265 = load i32, ptr %44, align 4, !tbaa !9
  %266 = load i32, ptr %47, align 4, !tbaa !9
  %267 = load i32, ptr %48, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %263, i32 noundef 5, ptr noundef @.str.58, ptr noundef %264, i32 noundef %265, i32 noundef %266, i32 noundef %267)
          to label %268 unwind label %236

268:                                              ; preds = %262
  store i32 -1, ptr %12, align 4
  store i32 1, ptr %27, align 4
  br label %350

269:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #6
  %270 = load ptr, ptr %21, align 8, !tbaa !5
  %271 = load i32, ptr %47, align 4, !tbaa !9
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %270, i64 noundef %272) #6
  %274 = load double, ptr %273, align 8, !tbaa !13
  %275 = call double @llvm.fabs.f64(double %274)
  store double %275, ptr %52, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #6
  %276 = load double, ptr %52, align 8, !tbaa !13
  %277 = load double, ptr %23, align 8, !tbaa !13
  %278 = fcmp oge double %276, %277
  %279 = zext i1 %278 to i8
  store i8 %279, ptr %53, align 1, !tbaa !11
  %280 = load i8, ptr %53, align 1, !tbaa !11, !range !15, !noundef !16
  %281 = trunc i8 %280 to i1
  br i1 %281, label %282, label %297

282:                                              ; preds = %269
  %283 = load double, ptr %41, align 8, !tbaa !13
  %284 = load double, ptr %52, align 8, !tbaa !13
  %285 = fcmp olt double %283, %284
  br i1 %285, label %286, label %288

286:                                              ; preds = %282
  %287 = load double, ptr %52, align 8, !tbaa !13
  store double %287, ptr %41, align 8, !tbaa !13
  br label %288

288:                                              ; preds = %286, %282
  %289 = load double, ptr %42, align 8, !tbaa !13
  %290 = load double, ptr %52, align 8, !tbaa !13
  %291 = fcmp ogt double %289, %290
  br i1 %291, label %292, label %294

292:                                              ; preds = %288
  %293 = load double, ptr %52, align 8, !tbaa !13
  store double %293, ptr %42, align 8, !tbaa !13
  br label %294

294:                                              ; preds = %292, %288
  %295 = load i32, ptr %40, align 4, !tbaa !9
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %40, align 4, !tbaa !9
  br label %297

297:                                              ; preds = %294, %269
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #6
  %298 = load double, ptr %52, align 8, !tbaa !13
  %299 = load double, ptr %22, align 8, !tbaa !13
  %300 = fcmp ogt double %298, %299
  %301 = zext i1 %300 to i8
  store i8 %301, ptr %54, align 1, !tbaa !11
  %302 = load i8, ptr %54, align 1, !tbaa !11, !range !15, !noundef !16
  %303 = trunc i8 %302 to i1
  br i1 %303, label %319, label %304

304:                                              ; preds = %297
  %305 = load double, ptr %38, align 8, !tbaa !13
  %306 = load double, ptr %52, align 8, !tbaa !13
  %307 = fcmp olt double %305, %306
  br i1 %307, label %308, label %310

308:                                              ; preds = %304
  %309 = load double, ptr %52, align 8, !tbaa !13
  store double %309, ptr %38, align 8, !tbaa !13
  br label %310

310:                                              ; preds = %308, %304
  %311 = load double, ptr %39, align 8, !tbaa !13
  %312 = load double, ptr %52, align 8, !tbaa !13
  %313 = fcmp ogt double %311, %312
  br i1 %313, label %314, label %316

314:                                              ; preds = %310
  %315 = load double, ptr %52, align 8, !tbaa !13
  store double %315, ptr %39, align 8, !tbaa !13
  br label %316

316:                                              ; preds = %314, %310
  %317 = load i32, ptr %37, align 4, !tbaa !9
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %37, align 4, !tbaa !9
  br label %319

319:                                              ; preds = %316, %297
  %320 = load i8, ptr %54, align 1, !tbaa !11, !range !15, !noundef !16
  %321 = trunc i8 %320 to i1
  br i1 %321, label %322, label %349

322:                                              ; preds = %319
  %323 = invoke noundef zeroext i1 @_ZN14HighsHashTableIivE6insertIJRiEEEbDpOT_(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %324 unwind label %345

324:                                              ; preds = %322
  %325 = load ptr, ptr %20, align 8, !tbaa !5
  %326 = load i32, ptr %47, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %325, i64 noundef %327) #6
  %329 = load i32, ptr %328, align 4, !tbaa !9
  %330 = load ptr, ptr %20, align 8, !tbaa !5
  %331 = load i32, ptr %36, align 4, !tbaa !9
  %332 = sext i32 %331 to i64
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %330, i64 noundef %332) #6
  store i32 %329, ptr %333, align 4, !tbaa !9
  %334 = load ptr, ptr %21, align 8, !tbaa !5
  %335 = load i32, ptr %47, align 4, !tbaa !9
  %336 = sext i32 %335 to i64
  %337 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %334, i64 noundef %336) #6
  %338 = load double, ptr %337, align 8, !tbaa !13
  %339 = load ptr, ptr %21, align 8, !tbaa !5
  %340 = load i32, ptr %36, align 4, !tbaa !9
  %341 = sext i32 %340 to i64
  %342 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %339, i64 noundef %341) #6
  store double %338, ptr %342, align 8, !tbaa !13
  %343 = load i32, ptr %36, align 4, !tbaa !9
  %344 = add nsw i32 %343, 1
  store i32 %344, ptr %36, align 4, !tbaa !9
  br label %349

345:                                              ; preds = %322
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %50, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %51, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  br label %356

349:                                              ; preds = %324, %319
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  store i32 0, ptr %27, align 4
  br label %350

350:                                              ; preds = %349, %268, %254, %235
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  %351 = load i32, ptr %27, align 4
  switch i32 %351, label %357 [
    i32 0, label %352
  ]

352:                                              ; preds = %350
  br label %353

353:                                              ; preds = %352
  %354 = load i32, ptr %47, align 4, !tbaa !9
  %355 = add nsw i32 %354, 1
  store i32 %355, ptr %47, align 4, !tbaa !9
  br label %213, !llvm.loop !19

356:                                              ; preds = %345, %236
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  br label %371

357:                                              ; preds = %350, %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  %358 = load i32, ptr %27, align 4
  switch i32 %358, label %361 [
    i32 8, label %359
  ]

359:                                              ; preds = %357
  invoke void @_ZN14HighsHashTableIivE5clearEv(ptr noundef nonnull align 8 dereferenceable(40) %43)
          to label %360 unwind label %367

360:                                              ; preds = %359
  store i32 0, ptr %27, align 4
  br label %361

361:                                              ; preds = %360, %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  %362 = load i32, ptr %27, align 4
  switch i32 %362, label %372 [
    i32 0, label %363
  ]

363:                                              ; preds = %361
  br label %364

364:                                              ; preds = %363
  %365 = load i32, ptr %44, align 4, !tbaa !9
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %44, align 4, !tbaa !9
  br label %190, !llvm.loop !20

367:                                              ; preds = %359
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %50, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %51, align 4
  br label %371

371:                                              ; preds = %367, %356
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %438

372:                                              ; preds = %361, %194
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  %373 = load i32, ptr %27, align 4
  switch i32 %373, label %437 [
    i32 5, label %374
  ]

374:                                              ; preds = %372
  %375 = load i32, ptr %40, align 4, !tbaa !9
  %376 = icmp ne i32 %375, 0
  br i1 %376, label %377, label %389

377:                                              ; preds = %374
  %378 = load ptr, ptr %13, align 8, !tbaa !5
  %379 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %380 = load i32, ptr %40, align 4, !tbaa !9
  %381 = load double, ptr %42, align 8, !tbaa !13
  %382 = load double, ptr %41, align 8, !tbaa !13
  %383 = load double, ptr %23, align 8, !tbaa !13
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %378, i32 noundef 5, ptr noundef @.str.59, ptr noundef %379, i32 noundef %380, double noundef %381, double noundef %382, double noundef %383)
          to label %384 unwind label %385

384:                                              ; preds = %377
  store i8 1, ptr %24, align 1, !tbaa !11
  br label %389

385:                                              ; preds = %412, %395, %377
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %50, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %51, align 4
  br label %438

389:                                              ; preds = %384, %374
  %390 = load i32, ptr %37, align 4, !tbaa !9
  %391 = icmp ne i32 %390, 0
  br i1 %391, label %392, label %421

392:                                              ; preds = %389
  %393 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %394 = trunc i8 %393 to i1
  br i1 %394, label %395, label %409

395:                                              ; preds = %392
  %396 = load ptr, ptr %13, align 8, !tbaa !5
  %397 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %398 = load i32, ptr %37, align 4, !tbaa !9
  %399 = load double, ptr %39, align 8, !tbaa !13
  %400 = load double, ptr %38, align 8, !tbaa !13
  %401 = load double, ptr %22, align 8, !tbaa !13
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %396, i32 noundef 5, ptr noundef @.str.60, ptr noundef %397, i32 noundef %398, double noundef %399, double noundef %400, double noundef %401)
          to label %402 unwind label %385

402:                                              ; preds = %395
  store i8 1, ptr %24, align 1, !tbaa !11
  %403 = load i32, ptr %37, align 4, !tbaa !9
  %404 = icmp eq i32 %403, 0
  br i1 %404, label %405, label %406

405:                                              ; preds = %402
  br label %408

406:                                              ; preds = %402
  call void @__assert_fail(ptr noundef @.str.61, ptr noundef @.str.62, i32 noundef 232, ptr noundef @__PRETTY_FUNCTION__._Z12assessMatrixRK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibRSt6vectorIiSaIiEESB_SB_RS8_IdSaIdEEdd) #7
  unreachable

407:                                              ; No predecessors!
  br label %408

408:                                              ; preds = %407, %405
  br label %409

409:                                              ; preds = %408, %392
  %410 = load double, ptr %38, align 8, !tbaa !13
  %411 = fcmp ogt double %410, 0.000000e+00
  br i1 %411, label %412, label %420

412:                                              ; preds = %409
  %413 = load ptr, ptr %13, align 8, !tbaa !5
  %414 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %415 = load i32, ptr %37, align 4, !tbaa !9
  %416 = load double, ptr %39, align 8, !tbaa !13
  %417 = load double, ptr %38, align 8, !tbaa !13
  %418 = load double, ptr %22, align 8, !tbaa !13
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %413, i32 noundef 4, ptr noundef @.str.63, ptr noundef %414, i32 noundef %415, double noundef %416, double noundef %417, double noundef %418)
          to label %419 unwind label %385

419:                                              ; preds = %412
  store i8 1, ptr %25, align 1, !tbaa !11
  br label %420

420:                                              ; preds = %419, %409
  br label %421

421:                                              ; preds = %420, %389
  %422 = load i32, ptr %36, align 4, !tbaa !9
  %423 = load ptr, ptr %18, align 8, !tbaa !5
  %424 = load i32, ptr %16, align 4, !tbaa !9
  %425 = sext i32 %424 to i64
  %426 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %423, i64 noundef %425) #6
  store i32 %422, ptr %426, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  store i32 0, ptr %55, align 4, !tbaa !21
  %427 = load i8, ptr %24, align 1, !tbaa !11, !range !15, !noundef !16
  %428 = trunc i8 %427 to i1
  br i1 %428, label %429, label %430

429:                                              ; preds = %421
  store i32 -1, ptr %55, align 4, !tbaa !21
  br label %435

430:                                              ; preds = %421
  %431 = load i8, ptr %25, align 1, !tbaa !11, !range !15, !noundef !16
  %432 = trunc i8 %431 to i1
  br i1 %432, label %433, label %434

433:                                              ; preds = %430
  store i32 1, ptr %55, align 4, !tbaa !21
  br label %434

434:                                              ; preds = %433, %430
  br label %435

435:                                              ; preds = %434, %429
  %436 = load i32, ptr %55, align 4, !tbaa !21
  store i32 %436, ptr %12, align 4
  store i32 1, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  br label %437

437:                                              ; preds = %435, %372
  call void @_ZN14HighsHashTableIivED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %439

438:                                              ; preds = %385, %371
  call void @_ZN14HighsHashTableIivED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %444

439:                                              ; preds = %437, %186, %163
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  br label %440

440:                                              ; preds = %439, %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %441

441:                                              ; preds = %440, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %442

442:                                              ; preds = %441, %67
  %443 = load i32, ptr %12, align 4
  ret i32 %443

444:                                              ; preds = %438
  %445 = load ptr, ptr %50, align 8
  %446 = load i32, ptr %51, align 4
  %447 = insertvalue { ptr, i32 } poison, ptr %445, 0
  %448 = insertvalue { ptr, i32 } %447, i32 %446, 1
  resume { ptr, i32 } %448
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z22assessMatrixDimensionsRK15HighsLogOptionsibRKSt6vectorIiSaIiEES6_S6_RKS2_IdSaIdEE(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN14HighsHashTableIivE4findERKi(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4)) #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) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14HighsHashTableIivE6insertIJRiEEEbDpOT_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS11HighsStatus", !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.HighsHashTable = type { %"class.std::unique_ptr", %"class.std::unique_ptr.10", i64, i64, i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }

@.str.51 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__._Z12assessMatrixRK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibRSt6vectorIiSaIiEESB_SB_RS8_IdSaIdEEdd = external hidden unnamed_addr constant [219 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [92 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 uwtable
define dso_local noundef i32 @_Z12assessMatrixRK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibRSt6vectorIiSaIiEESB_SB_RS8_IdSaIdEEdd(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef %9, double noundef %10) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %12 = alloca %class.HighsHashTable, align 8
  %13 = alloca i32, align 4
  %14 = tail call noundef i32 @_Z22assessMatrixDimensionsRK15HighsLogOptionsibRKSt6vectorIiSaIiEES6_S6_RKS2_IdSaIdEE(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef %3, i1 noundef zeroext %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
  %15 = icmp eq i32 %14, -1
  br i1 %15, label %.critedge.thread267, label %16

16:                                               ; preds = %11
  %17 = sext i32 %3 to i64
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %17) #7
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %26, label %22

22:                                               ; preds = %16
  %23 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  %24 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %25 = load i32, ptr %24, align 4, !tbaa !5
  tail call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.51, ptr noundef %23, i32 noundef %25)
  br label %.critedge.thread267

26:                                               ; preds = %16
  %27 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %30 = load i32, ptr %29, align 4, !tbaa !5
  br i1 %4, label %31, label %.thread

31:                                               ; preds = %26
  %32 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #7
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %.not246405 = icmp sgt i32 %3, 0
  br i1 %.not246405, label %.lr.ph.split.us.preheader, label %.critedge

.thread:                                          ; preds = %26
  %.not246405522 = icmp sgt i32 %3, 0
  br i1 %.not246405522, label %.lr.ph.split.preheader, label %.critedge

.lr.ph.split.preheader:                           ; preds = %.thread
  %wide.trip.count = zext nneg i32 %3 to i64
  br label %.lr.ph.split

.lr.ph.split.us.preheader:                        ; preds = %31
  %wide.trip.count510 = zext nneg i32 %3 to i64
  br label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph.split.us.preheader, %40
  %indvars.iv507 = phi i64 [ 0, %.lr.ph.split.us.preheader ], [ %indvars.iv.next508, %40 ]
  %.0179408.us = phi i32 [ %28, %.lr.ph.split.us.preheader ], [ %35, %40 ]
  %34 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv507) #7
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = icmp slt i32 %35, %.0179408.us
  br i1 %36, label %.split.us, label %37

37:                                               ; preds = %.lr.ph.split.us
  %38 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv507) #7
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %.not245.us = icmp slt i32 %39, %35
  br i1 %.not245.us, label %.split413.us, label %40

40:                                               ; preds = %37
  %indvars.iv.next508 = add nuw nsw i64 %indvars.iv507, 1
  %exitcond511.not = icmp eq i64 %indvars.iv.next508, %wide.trip.count510
  br i1 %exitcond511.not, label %.critedge, label %.lr.ph.split.us, !llvm.loop !9

.lr.ph.split:                                     ; preds = %.lr.ph.split.preheader, %45
  %indvars.iv = phi i64 [ 0, %.lr.ph.split.preheader ], [ %indvars.iv.next, %45 ]
  %.0179408 = phi i32 [ %28, %.lr.ph.split.preheader ], [ %42, %45 ]
  %41 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #7
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = icmp slt i32 %42, %.0179408
  br i1 %43, label %.split.us, label %45

.split.us:                                        ; preds = %.lr.ph.split, %.lr.ph.split.us
  %.us-phi = phi i32 [ %35, %.lr.ph.split.us ], [ %42, %.lr.ph.split ]
  %.us-phi410.in = phi i64 [ %indvars.iv507, %.lr.ph.split.us ], [ %indvars.iv, %.lr.ph.split ]
  %.us-phi411 = phi i32 [ %.0179408.us, %.lr.ph.split.us ], [ %.0179408, %.lr.ph.split ]
  %.us-phi410 = trunc i64 %.us-phi410.in to i32
  %44 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  tail call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.52, ptr noundef %44, i32 noundef %.us-phi410, i32 noundef %.us-phi, i32 noundef %.us-phi411)
  br label %.critedge.thread267

45:                                               ; preds = %.lr.ph.split
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge, label %.lr.ph.split, !llvm.loop !9

.split413.us:                                     ; preds = %37
  %46 = trunc nuw nsw i64 %indvars.iv507 to i32
  %47 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  tail call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.53, ptr noundef %47, i32 noundef %46, i32 noundef %39, i32 noundef %35)
  br label %.critedge.thread267

.critedge:                                        ; preds = %45, %40, %.thread, %31
  %.1231.lcssa = phi i32 [ %33, %31 ], [ 0, %.thread ], [ %39, %40 ], [ 0, %45 ]
  %.0228.lcssa = phi i32 [ %30, %31 ], [ %30, %.thread ], [ %35, %40 ], [ %42, %45 ]
  %48 = icmp sgt i32 %.0228.lcssa, %19
  br i1 %48, label %49, label %51

49:                                               ; preds = %.critedge
  %50 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  tail call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.54, ptr noundef %50, i32 noundef %3, i32 noundef %.0228.lcssa, i32 noundef %19)
  br label %.critedge.thread267

51:                                               ; preds = %.critedge
  %.not247 = icmp sgt i32 %.1231.lcssa, %19
  %or.cond = select i1 %4, i1 %.not247, i1 false
  br i1 %or.cond, label %52, label %.critedge258

52:                                               ; preds = %51
  %53 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  tail call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.55, ptr noundef %53, i32 noundef %3, i32 noundef %.1231.lcssa, i32 noundef %19)
  br label %.critedge.thread267

.critedge258:                                     ; preds = %51
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #7
  call void @_ZN14HighsHashTableIivEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12)
  %smax = call i32 @llvm.smax.i32(i32 %3, i32 0)
  %wide.trip.count519 = zext nneg i32 %smax to i64
  br label %54

54:                                               ; preds = %._crit_edge, %.critedge258
  %indvars.iv516 = phi i64 [ %indvars.iv.next517, %._crit_edge ], [ 0, %.critedge258 ]
  %.0222 = phi i32 [ %.1223.lcssa, %._crit_edge ], [ 0, %.critedge258 ]
  %.0216 = phi i32 [ %.1217.lcssa, %._crit_edge ], [ 0, %.critedge258 ]
  %.0209 = phi double [ %.1210.lcssa, %._crit_edge ], [ 0.000000e+00, %.critedge258 ]
  %.0202 = phi double [ %.1203.lcssa, %._crit_edge ], [ 0x7FF0000000000000, %.critedge258 ]
  %.0196 = phi i32 [ %.1197.lcssa, %._crit_edge ], [ 0, %.critedge258 ]
  %.0189 = phi double [ %.1190.lcssa, %._crit_edge ], [ 0.000000e+00, %.critedge258 ]
  %.0182 = phi double [ %.1183.lcssa, %._crit_edge ], [ 0x7FF0000000000000, %.critedge258 ]
  %exitcond520.not = icmp eq i64 %indvars.iv516, %wide.trip.count519
  br i1 %exitcond520.not, label %.critedge260.thread, label %55

55:                                               ; preds = %54
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv516) #7
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %indvars.iv.next517 = add nuw nsw i64 %indvars.iv516, 1
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv.next517) #7
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv516) #7
  store i32 %.0222, ptr %60, align 4, !tbaa !5
  %.not249.not419 = icmp slt i32 %57, %59
  br i1 %.not249.not419, label %.lr.ph428.preheader, label %._crit_edge

.lr.ph428.preheader:                              ; preds = %55
  %61 = sext i32 %57 to i64
  br label %.lr.ph428

.lr.ph428:                                        ; preds = %.lr.ph428.preheader, %109
  %indvars.iv512 = phi i64 [ %61, %.lr.ph428.preheader ], [ %indvars.iv.next513, %109 ]
  %.1183426 = phi double [ %.0182, %.lr.ph428.preheader ], [ %.3185, %109 ]
  %.1190425 = phi double [ %.0189, %.lr.ph428.preheader ], [ %.3192, %109 ]
  %.1197424 = phi i32 [ %.0196, %.lr.ph428.preheader ], [ %.2198, %109 ]
  %.1203423 = phi double [ %.0202, %.lr.ph428.preheader ], [ %.4206, %109 ]
  %.1210422 = phi double [ %.0209, %.lr.ph428.preheader ], [ %.4213, %109 ]
  %.1217421 = phi i32 [ %.0216, %.lr.ph428.preheader ], [ %.3219, %109 ]
  %.1223420 = phi i32 [ %.0222, %.lr.ph428.preheader ], [ %.3225, %109 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv512) #7
  %63 = load i32, ptr %62, align 4, !tbaa !5
  store i32 %63, ptr %13, align 4, !tbaa !5
  %64 = icmp sgt i32 %63, -1
  br i1 %64, label %70, label %.invoke

.invoke:                                          ; preds = %.lr.ph428, %79
  %65 = phi ptr [ @.str.58, %79 ], [ @.str.56, %.lr.ph428 ]
  %66 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  %67 = load i32, ptr %13, align 4, !tbaa !5
  %68 = trunc i64 %indvars.iv512 to i32
  %69 = trunc i64 %indvars.iv516 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull %65, ptr noundef %66, i32 noundef %69, i32 noundef %68, i32 noundef %67)
          to label %.critedge260 unwind label %.loopexit.split-lp

.loopexit:                                        ; preds = %77
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %110

.loopexit.split-lp:                               ; preds = %.invoke, %72
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %110

70:                                               ; preds = %.lr.ph428
  %71 = icmp slt i32 %63, %2
  br i1 %71, label %77, label %72

72:                                               ; preds = %70
  %73 = trunc nuw nsw i64 %indvars.iv516 to i32
  %74 = trunc nsw i64 %indvars.iv512 to i32
  %75 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  %76 = load i32, ptr %13, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.57, ptr noundef %75, i32 noundef %73, i32 noundef %74, i32 noundef %76, i32 noundef %2)
          to label %.critedge260 unwind label %.loopexit.split-lp

77:                                               ; preds = %70
  %78 = invoke noundef ptr @_ZN14HighsHashTableIivE4findERKi(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %79 unwind label %.loopexit

79:                                               ; preds = %77
  %80 = icmp eq ptr %78, null
  br i1 %80, label %81, label %.invoke

81:                                               ; preds = %79
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv512) #7
  %83 = load double, ptr %82, align 8, !tbaa !11
  %84 = call double @llvm.fabs.f64(double %83)
  %85 = fcmp ult double %84, %10
  br i1 %85, label %90, label %86

86:                                               ; preds = %81
  %87 = fcmp olt double %.1190425, %84
  %.2191 = select i1 %87, double %84, double %.1190425
  %88 = fcmp ogt double %.1183426, %84
  %.2184 = select i1 %88, double %84, double %.1183426
  %89 = add nsw i32 %.1197424, 1
  br label %90

90:                                               ; preds = %86, %81
  %.2198 = phi i32 [ %89, %86 ], [ %.1197424, %81 ]
  %.3192 = phi double [ %.2191, %86 ], [ %.1190425, %81 ]
  %.3185 = phi double [ %.2184, %86 ], [ %.1183426, %81 ]
  %91 = fcmp ogt double %84, %9
  br i1 %91, label %96, label %92

92:                                               ; preds = %90
  %93 = fcmp olt double %.1210422, %84
  %.2211 = select i1 %93, double %84, double %.1210422
  %94 = fcmp ogt double %.1203423, %84
  %.2204 = select i1 %94, double %84, double %.1203423
  %95 = add nsw i32 %.1217421, 1
  br label %109

96:                                               ; preds = %90
  %97 = invoke noundef zeroext i1 @_ZN14HighsHashTableIivE6insertIJRiEEEbDpOT_(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %98 unwind label %107

98:                                               ; preds = %96
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv512) #7
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = sext i32 %.1223420 to i64
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %101) #7
  store i32 %100, ptr %102, align 4, !tbaa !5
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv512) #7
  %104 = load double, ptr %103, align 8, !tbaa !11
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %101) #7
  store double %104, ptr %105, align 8, !tbaa !11
  %106 = add nsw i32 %.1223420, 1
  br label %109

107:                                              ; preds = %96
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %110

109:                                              ; preds = %98, %92
  %.3225 = phi i32 [ %106, %98 ], [ %.1223420, %92 ]
  %.3219 = phi i32 [ %.1217421, %98 ], [ %95, %92 ]
  %.4213 = phi double [ %.1210422, %98 ], [ %.2211, %92 ]
  %.4206 = phi double [ %.1203423, %98 ], [ %.2204, %92 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  %indvars.iv.next513 = add nsw i64 %indvars.iv512, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next513 to i32
  %exitcond515.not = icmp eq i32 %59, %lftr.wideiv
  br i1 %exitcond515.not, label %._crit_edge, label %.lr.ph428, !llvm.loop !13

110:                                              ; preds = %.loopexit, %.loopexit.split-lp, %107
  %.pn = phi { ptr, i32 } [ %108, %107 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  br label %129

._crit_edge:                                      ; preds = %109, %55
  %.1223.lcssa = phi i32 [ %.0222, %55 ], [ %.3225, %109 ]
  %.1217.lcssa = phi i32 [ %.0216, %55 ], [ %.3219, %109 ]
  %.1210.lcssa = phi double [ %.0209, %55 ], [ %.4213, %109 ]
  %.1203.lcssa = phi double [ %.0202, %55 ], [ %.4206, %109 ]
  %.1197.lcssa = phi i32 [ %.0196, %55 ], [ %.2198, %109 ]
  %.1190.lcssa = phi double [ %.0189, %55 ], [ %.3192, %109 ]
  %.1183.lcssa = phi double [ %.0182, %55 ], [ %.3185, %109 ]
  invoke void @_ZN14HighsHashTableIivE5clearEv(ptr noundef nonnull align 8 dereferenceable(40) %12)
          to label %54 unwind label %111, !llvm.loop !14

111:                                              ; preds = %._crit_edge
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %129

.critedge260:                                     ; preds = %.invoke, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  br label %128

.critedge260.thread:                              ; preds = %54
  %.not253.not = icmp eq i32 %.0196, 0
  br i1 %.not253.not, label %117, label %113

113:                                              ; preds = %.critedge260.thread
  %114 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.59, ptr noundef %114, i32 noundef %.0196, double noundef %.0182, double noundef %.0189, double noundef %10)
          to label %117 unwind label %115

115:                                              ; preds = %124, %119, %113
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %129

117:                                              ; preds = %113, %.critedge260.thread
  %.not254 = icmp eq i32 %.0216, 0
  br i1 %.not254, label %126, label %118

118:                                              ; preds = %117
  br i1 %4, label %119, label %122

119:                                              ; preds = %118
  %120 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.60, ptr noundef %120, i32 noundef %.0216, double noundef %.0202, double noundef %.0209, double noundef %9)
          to label %121 unwind label %115

121:                                              ; preds = %119
  call void @__assert_fail(ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.62, i32 noundef 232, ptr noundef nonnull @__PRETTY_FUNCTION__._Z12assessMatrixRK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibRSt6vectorIiSaIiEESB_SB_RS8_IdSaIdEEdd) #8
  unreachable

122:                                              ; preds = %118
  %123 = fcmp ogt double %.0209, 0.000000e+00
  br i1 %123, label %124, label %126

124:                                              ; preds = %122
  %125 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 4, ptr noundef nonnull @.str.63, ptr noundef %125, i32 noundef %.0216, double noundef %.0202, double noundef %.0209, double noundef %9)
          to label %126 unwind label %115

126:                                              ; preds = %124, %122, %117
  %.0163 = phi i32 [ 0, %122 ], [ 0, %117 ], [ 1, %124 ]
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %17) #7
  store i32 %.0222, ptr %127, align 4, !tbaa !5
  %spec.select = select i1 %.not253.not, i32 %.0163, i32 -1
  br label %128

128:                                              ; preds = %.critedge260, %126
  %.12 = phi i32 [ -1, %.critedge260 ], [ %spec.select, %126 ]
  call void @_ZN14HighsHashTableIivED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #7
  br label %.critedge.thread267

129:                                              ; preds = %110, %111, %115
  %.pn255 = phi { ptr, i32 } [ %116, %115 ], [ %112, %111 ], [ %.pn, %110 ]
  call void @_ZN14HighsHashTableIivED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #7
  resume { ptr, i32 } %.pn255

.critedge.thread267:                              ; preds = %.split413.us, %.split.us, %52, %22, %49, %128, %11
  %.16 = phi i32 [ -1, %11 ], [ -1, %22 ], [ -1, %49 ], [ %.12, %128 ], [ -1, %52 ], [ -1, %.split.us ], [ -1, %.split413.us ]
  ret i32 %.16
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z22assessMatrixDimensionsRK15HighsLogOptionsibRKSt6vectorIiSaIiEES6_S6_RKS2_IdSaIdEE(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

declare void @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, ptr 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 #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN14HighsHashTableIivE4findERKi(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4)) 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 #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14HighsHashTableIivE6insertIJRiEEEbDpOT_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass