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

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__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] }
%"class.std::allocator" = type { i8 }

@.str.89 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [22 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

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

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

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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21analyseMatrixSparsityRK15HighsLogOptionsPKciiRKSt6vectorIiSaIiEES8_(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) #2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca double, align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %52 = load i32, ptr %9, align 4, !tbaa !9
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %6
  br label %543

55:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  %56 = load i32, ptr %10, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %57, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %58 unwind label %67

58:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %59 = load i32, ptr %9, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %60)
          to label %61 unwind label %71

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

62:                                               ; preds = %120, %61
  %63 = load i32, ptr %18, align 4, !tbaa !9
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %75, label %66

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

67:                                               ; preds = %55
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %16, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %547

71:                                               ; preds = %58
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %16, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %17, align 4
  br label %547

75:                                               ; preds = %62
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = load i32, ptr %18, align 4, !tbaa !9
  %78 = add nsw i32 %77, 1
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %79) #5
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = load i32, ptr %18, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %84) #5
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = sub nsw i32 %81, %86
  %88 = load i32, ptr %18, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %89) #5
  store i32 %87, ptr %90, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = load i32, ptr %18, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %93) #5
  %95 = load i32, ptr %94, align 4, !tbaa !9
  store i32 %95, ptr %20, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %116, %75
  %97 = load i32, ptr %20, align 4, !tbaa !9
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load i32, ptr %18, align 4, !tbaa !9
  %100 = add nsw i32 %99, 1
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %101) #5
  %103 = load i32, ptr %102, align 4, !tbaa !9
  %104 = icmp slt i32 %97, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %96
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %119

106:                                              ; preds = %96
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = load i32, ptr %20, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %109) #5
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %112) #5
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %113, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %106
  %117 = load i32, ptr %20, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %20, align 4, !tbaa !9
  br label %96, !llvm.loop !11

119:                                              ; preds = %105
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %18, align 4, !tbaa !9
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %18, align 4, !tbaa !9
  br label %62, !llvm.loop !13

123:                                              ; preds = %66
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.89, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %125 unwind label %142

125:                                              ; preds = %123
  %126 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.90, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %127 unwind label %146

127:                                              ; preds = %125
  invoke void @_Z19analyseVectorValuesPK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKSt6vectorIiSaIiEES7_(ptr noundef %124, ptr noundef %21, i32 noundef %126, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef %23)
          to label %128 unwind label %150

128:                                              ; preds = %127
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef @.str.91, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %130 unwind label %156

130:                                              ; preds = %128
  %131 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.90, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %132 unwind label %160

132:                                              ; preds = %130
  invoke void @_Z19analyseVectorValuesPK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKSt6vectorIiSaIiEES7_(ptr noundef %129, ptr noundef %25, i32 noundef %131, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef %27)
          to label %133 unwind label %164

133:                                              ; preds = %132
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 10, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef 11)
          to label %134 unwind label %170

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 11, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %135 unwind label %174

135:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 0, ptr %34, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 11, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %136 unwind label %178

136:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef 1) #5
  store i32 1, ptr %137, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 2, ptr %35, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %192, %136
  %139 = load i32, ptr %35, align 4, !tbaa !9
  %140 = icmp slt i32 %139, 11
  br i1 %140, label %182, label %141

141:                                              ; preds = %138
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %195

142:                                              ; preds = %123
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %16, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %17, align 4
  br label %155

146:                                              ; preds = %125
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %16, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %17, align 4
  br label %154

150:                                              ; preds = %127
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %16, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %154

154:                                              ; preds = %150, %146
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %155

155:                                              ; preds = %154, %142
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  br label %547

156:                                              ; preds = %128
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %16, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %17, align 4
  br label %169

160:                                              ; preds = %130
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %16, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %17, align 4
  br label %168

164:                                              ; preds = %132
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %16, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #5
  br label %168

168:                                              ; preds = %164, %160
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  br label %169

169:                                              ; preds = %168, %156
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  br label %547

170:                                              ; preds = %133
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %16, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %17, align 4
  br label %546

174:                                              ; preds = %134
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %16, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %546

178:                                              ; preds = %135
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %16, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %546

182:                                              ; preds = %138
  %183 = load i32, ptr %35, align 4, !tbaa !9
  %184 = sub nsw i32 %183, 1
  %185 = sext i32 %184 to i64
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %185) #5
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = mul nsw i32 2, %187
  %189 = load i32, ptr %35, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %190) #5
  store i32 %188, ptr %191, align 4, !tbaa !9
  br label %192

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

195:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 0, ptr %38, align 4, !tbaa !9
  br label %196

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

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

201:                                              ; preds = %196
  %202 = load i32, ptr %38, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %203) #5
  %205 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %204, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %206 unwind label %212

206:                                              ; preds = %201
  %207 = load i32, ptr %205, align 4, !tbaa !9
  store i32 %207, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  store i32 10, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  store i32 0, ptr %40, align 4, !tbaa !9
  br label %208

208:                                              ; preds = %230, %206
  %209 = load i32, ptr %40, align 4, !tbaa !9
  %210 = icmp slt i32 %209, 9
  br i1 %210, label %216, label %211

211:                                              ; preds = %208
  store i32 14, ptr %19, align 4
  br label %233

212:                                              ; preds = %201
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %16, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %545

216:                                              ; preds = %208
  %217 = load i32, ptr %38, align 4, !tbaa !9
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %218) #5
  %220 = load i32, ptr %219, align 4, !tbaa !9
  %221 = load i32, ptr %40, align 4, !tbaa !9
  %222 = add nsw i32 %221, 1
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %223) #5
  %225 = load i32, ptr %224, align 4, !tbaa !9
  %226 = icmp slt i32 %220, %225
  br i1 %226, label %227, label %229

227:                                              ; preds = %216
  %228 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %228, ptr %39, align 4, !tbaa !9
  store i32 14, ptr %19, align 4
  br label %233

229:                                              ; preds = %216
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %40, align 4, !tbaa !9
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %40, align 4, !tbaa !9
  br label %208, !llvm.loop !15

233:                                              ; preds = %227, %211
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  br label %234

234:                                              ; preds = %233
  %235 = load i32, ptr %39, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %236) #5
  %238 = load i32, ptr %237, align 4, !tbaa !9
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %237, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %240

240:                                              ; preds = %234
  %241 = load i32, ptr %38, align 4, !tbaa !9
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr %38, align 4, !tbaa !9
  br label %196, !llvm.loop !16

243:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store i32 0, ptr %41, align 4, !tbaa !9
  br label %244

244:                                              ; preds = %288, %243
  %245 = load i32, ptr %41, align 4, !tbaa !9
  %246 = load i32, ptr %10, align 4, !tbaa !9
  %247 = icmp slt i32 %245, %246
  br i1 %247, label %249, label %248

248:                                              ; preds = %244
  store i32 17, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  br label %291

249:                                              ; preds = %244
  %250 = load i32, ptr %41, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %251) #5
  %253 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %252, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %254 unwind label %260

254:                                              ; preds = %249
  %255 = load i32, ptr %253, align 4, !tbaa !9
  store i32 %255, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #5
  store i32 10, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #5
  store i32 0, ptr %43, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %278, %254
  %257 = load i32, ptr %43, align 4, !tbaa !9
  %258 = icmp slt i32 %257, 9
  br i1 %258, label %264, label %259

259:                                              ; preds = %256
  store i32 20, ptr %19, align 4
  br label %281

260:                                              ; preds = %249
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %16, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  br label %545

264:                                              ; preds = %256
  %265 = load i32, ptr %41, align 4, !tbaa !9
  %266 = sext i32 %265 to i64
  %267 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %266) #5
  %268 = load i32, ptr %267, align 4, !tbaa !9
  %269 = load i32, ptr %43, align 4, !tbaa !9
  %270 = add nsw i32 %269, 1
  %271 = sext i32 %270 to i64
  %272 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %271) #5
  %273 = load i32, ptr %272, align 4, !tbaa !9
  %274 = icmp slt i32 %268, %273
  br i1 %274, label %275, label %277

275:                                              ; preds = %264
  %276 = load i32, ptr %43, align 4, !tbaa !9
  store i32 %276, ptr %42, align 4, !tbaa !9
  store i32 20, ptr %19, align 4
  br label %281

277:                                              ; preds = %264
  br label %278

278:                                              ; preds = %277
  %279 = load i32, ptr %43, align 4, !tbaa !9
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %43, align 4, !tbaa !9
  br label %256, !llvm.loop !17

281:                                              ; preds = %275, %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #5
  br label %282

282:                                              ; preds = %281
  %283 = load i32, ptr %42, align 4, !tbaa !9
  %284 = sext i32 %283 to i64
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %284) #5
  %286 = load i32, ptr %285, align 4, !tbaa !9
  %287 = add nsw i32 %286, 1
  store i32 %287, ptr %285, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #5
  br label %288

288:                                              ; preds = %282
  %289 = load i32, ptr %41, align 4, !tbaa !9
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %41, align 4, !tbaa !9
  br label %244, !llvm.loop !18

291:                                              ; preds = %248
  %292 = load ptr, ptr %7, align 8, !tbaa !5
  %293 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %292, i32 noundef 1, ptr noundef @.str.92, ptr noundef %293)
          to label %294 unwind label %299

294:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #5
  store i32 -1, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  store i32 0, ptr %45, align 4, !tbaa !9
  br label %295

295:                                              ; preds = %312, %294
  %296 = load i32, ptr %45, align 4, !tbaa !9
  %297 = icmp slt i32 %296, 11
  br i1 %297, label %303, label %298

298:                                              ; preds = %295
  store i32 23, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  br label %315

299:                                              ; preds = %291
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %16, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %17, align 4
  br label %545

303:                                              ; preds = %295
  %304 = load i32, ptr %45, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %305) #5
  %307 = load i32, ptr %306, align 4, !tbaa !9
  %308 = icmp ne i32 %307, 0
  br i1 %308, label %309, label %311

309:                                              ; preds = %303
  %310 = load i32, ptr %45, align 4, !tbaa !9
  store i32 %310, ptr %44, align 4, !tbaa !9
  br label %311

311:                                              ; preds = %309, %303
  br label %312

312:                                              ; preds = %311
  %313 = load i32, ptr %45, align 4, !tbaa !9
  %314 = add nsw i32 %313, 1
  store i32 %314, ptr %45, align 4, !tbaa !9
  br label %295, !llvm.loop !19

315:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  store i32 10, ptr %46, align 4, !tbaa !9
  %316 = load i32, ptr %46, align 4, !tbaa !9
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %317) #5
  %319 = load i32, ptr %318, align 4, !tbaa !9
  %320 = icmp ne i32 %319, 0
  br i1 %320, label %321, label %323

321:                                              ; preds = %315
  %322 = load i32, ptr %46, align 4, !tbaa !9
  store i32 %322, ptr %44, align 4, !tbaa !9
  br label %323

323:                                              ; preds = %321, %315
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #5
  store i32 0, ptr %49, align 4, !tbaa !9
  br label %324

324:                                              ; preds = %360, %323
  %325 = load i32, ptr %49, align 4, !tbaa !9
  %326 = load i32, ptr %44, align 4, !tbaa !9
  %327 = icmp slt i32 %325, %326
  br i1 %327, label %329, label %328

328:                                              ; preds = %324
  store i32 26, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  br label %367

329:                                              ; preds = %324
  %330 = load i32, ptr %49, align 4, !tbaa !9
  %331 = sext i32 %330 to i64
  %332 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %331) #5
  %333 = load i32, ptr %332, align 4, !tbaa !9
  %334 = mul nsw i32 100, %333
  %335 = sitofp i32 %334 to double
  store double %335, ptr %48, align 8, !tbaa !20
  %336 = load double, ptr %48, align 8, !tbaa !20
  %337 = load i32, ptr %9, align 4, !tbaa !9
  %338 = sitofp i32 %337 to double
  %339 = fdiv double %336, %338
  %340 = fadd double %339, 5.000000e-01
  store double %340, ptr %48, align 8, !tbaa !20
  %341 = load double, ptr %48, align 8, !tbaa !20
  %342 = fptosi double %341 to i32
  store i32 %342, ptr %47, align 4, !tbaa !9
  %343 = load ptr, ptr %7, align 8, !tbaa !5
  %344 = load i32, ptr %49, align 4, !tbaa !9
  %345 = sext i32 %344 to i64
  %346 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %345) #5
  %347 = load i32, ptr %346, align 4, !tbaa !9
  %348 = load i32, ptr %47, align 4, !tbaa !9
  %349 = load i32, ptr %49, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %350) #5
  %352 = load i32, ptr %351, align 4, !tbaa !9
  %353 = load i32, ptr %49, align 4, !tbaa !9
  %354 = add nsw i32 %353, 1
  %355 = sext i32 %354 to i64
  %356 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %355) #5
  %357 = load i32, ptr %356, align 4, !tbaa !9
  %358 = sub nsw i32 %357, 1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %343, i32 noundef 1, ptr noundef @.str.93, i32 noundef %347, i32 noundef %348, i32 noundef %352, i32 noundef %358)
          to label %359 unwind label %363

359:                                              ; preds = %329
  br label %360

360:                                              ; preds = %359
  %361 = load i32, ptr %49, align 4, !tbaa !9
  %362 = add nsw i32 %361, 1
  store i32 %362, ptr %49, align 4, !tbaa !9
  br label %324, !llvm.loop !22

363:                                              ; preds = %329
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %16, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  br label %544

367:                                              ; preds = %328
  %368 = load i32, ptr %44, align 4, !tbaa !9
  store i32 %368, ptr %46, align 4, !tbaa !9
  %369 = load i32, ptr %46, align 4, !tbaa !9
  %370 = sext i32 %369 to i64
  %371 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %370) #5
  %372 = load i32, ptr %371, align 4, !tbaa !9
  %373 = mul nsw i32 100, %372
  %374 = sitofp i32 %373 to double
  store double %374, ptr %48, align 8, !tbaa !20
  %375 = load double, ptr %48, align 8, !tbaa !20
  %376 = load i32, ptr %9, align 4, !tbaa !9
  %377 = sitofp i32 %376 to double
  %378 = fdiv double %375, %377
  %379 = fadd double %378, 5.000000e-01
  store double %379, ptr %48, align 8, !tbaa !20
  %380 = load double, ptr %48, align 8, !tbaa !20
  %381 = fptosi double %380 to i32
  store i32 %381, ptr %47, align 4, !tbaa !9
  %382 = load i32, ptr %46, align 4, !tbaa !9
  %383 = icmp eq i32 %382, 10
  br i1 %383, label %384, label %400

384:                                              ; preds = %367
  %385 = load ptr, ptr %7, align 8, !tbaa !5
  %386 = load i32, ptr %46, align 4, !tbaa !9
  %387 = sext i32 %386 to i64
  %388 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %387) #5
  %389 = load i32, ptr %388, align 4, !tbaa !9
  %390 = load i32, ptr %47, align 4, !tbaa !9
  %391 = load i32, ptr %46, align 4, !tbaa !9
  %392 = sext i32 %391 to i64
  %393 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %392) #5
  %394 = load i32, ptr %393, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %385, i32 noundef 1, ptr noundef @.str.94, i32 noundef %389, i32 noundef %390, i32 noundef %394)
          to label %395 unwind label %396

395:                                              ; preds = %384
  br label %418

396:                                              ; preds = %538, %520, %508, %418, %400, %384
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %16, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %17, align 4
  br label %544

400:                                              ; preds = %367
  %401 = load ptr, ptr %7, align 8, !tbaa !5
  %402 = load i32, ptr %46, align 4, !tbaa !9
  %403 = sext i32 %402 to i64
  %404 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %403) #5
  %405 = load i32, ptr %404, align 4, !tbaa !9
  %406 = load i32, ptr %47, align 4, !tbaa !9
  %407 = load i32, ptr %46, align 4, !tbaa !9
  %408 = sext i32 %407 to i64
  %409 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %408) #5
  %410 = load i32, ptr %409, align 4, !tbaa !9
  %411 = load i32, ptr %46, align 4, !tbaa !9
  %412 = add nsw i32 %411, 1
  %413 = sext i32 %412 to i64
  %414 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %413) #5
  %415 = load i32, ptr %414, align 4, !tbaa !9
  %416 = sub nsw i32 %415, 1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %401, i32 noundef 1, ptr noundef @.str.93, i32 noundef %405, i32 noundef %406, i32 noundef %410, i32 noundef %416)
          to label %417 unwind label %396

417:                                              ; preds = %400
  br label %418

418:                                              ; preds = %417, %395
  %419 = load ptr, ptr %7, align 8, !tbaa !5
  %420 = load i32, ptr %37, align 4, !tbaa !9
  %421 = load i32, ptr %10, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %419, i32 noundef 1, ptr noundef @.str.95, i32 noundef %420, i32 noundef %421)
          to label %422 unwind label %396

422:                                              ; preds = %418
  store i32 -1, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  store i32 0, ptr %50, align 4, !tbaa !9
  br label %423

423:                                              ; preds = %436, %422
  %424 = load i32, ptr %50, align 4, !tbaa !9
  %425 = icmp slt i32 %424, 11
  br i1 %425, label %427, label %426

426:                                              ; preds = %423
  store i32 29, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  br label %439

427:                                              ; preds = %423
  %428 = load i32, ptr %50, align 4, !tbaa !9
  %429 = sext i32 %428 to i64
  %430 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %429) #5
  %431 = load i32, ptr %430, align 4, !tbaa !9
  %432 = icmp ne i32 %431, 0
  br i1 %432, label %433, label %435

433:                                              ; preds = %427
  %434 = load i32, ptr %50, align 4, !tbaa !9
  store i32 %434, ptr %44, align 4, !tbaa !9
  br label %435

435:                                              ; preds = %433, %427
  br label %436

436:                                              ; preds = %435
  %437 = load i32, ptr %50, align 4, !tbaa !9
  %438 = add nsw i32 %437, 1
  store i32 %438, ptr %50, align 4, !tbaa !9
  br label %423, !llvm.loop !23

439:                                              ; preds = %426
  store i32 10, ptr %46, align 4, !tbaa !9
  %440 = load i32, ptr %46, align 4, !tbaa !9
  %441 = sext i32 %440 to i64
  %442 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %441) #5
  %443 = load i32, ptr %442, align 4, !tbaa !9
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %445, label %447

445:                                              ; preds = %439
  %446 = load i32, ptr %46, align 4, !tbaa !9
  store i32 %446, ptr %44, align 4, !tbaa !9
  br label %447

447:                                              ; preds = %445, %439
  store i32 0, ptr %47, align 4, !tbaa !9
  store double 0.000000e+00, ptr %48, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #5
  store i32 0, ptr %51, align 4, !tbaa !9
  br label %448

448:                                              ; preds = %484, %447
  %449 = load i32, ptr %51, align 4, !tbaa !9
  %450 = load i32, ptr %44, align 4, !tbaa !9
  %451 = icmp slt i32 %449, %450
  br i1 %451, label %453, label %452

452:                                              ; preds = %448
  store i32 32, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #5
  br label %491

453:                                              ; preds = %448
  %454 = load i32, ptr %51, align 4, !tbaa !9
  %455 = sext i32 %454 to i64
  %456 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %455) #5
  %457 = load i32, ptr %456, align 4, !tbaa !9
  %458 = mul nsw i32 100, %457
  %459 = sitofp i32 %458 to double
  store double %459, ptr %48, align 8, !tbaa !20
  %460 = load double, ptr %48, align 8, !tbaa !20
  %461 = load i32, ptr %10, align 4, !tbaa !9
  %462 = sitofp i32 %461 to double
  %463 = fdiv double %460, %462
  %464 = fadd double %463, 5.000000e-01
  store double %464, ptr %48, align 8, !tbaa !20
  %465 = load double, ptr %48, align 8, !tbaa !20
  %466 = fptosi double %465 to i32
  store i32 %466, ptr %47, align 4, !tbaa !9
  %467 = load ptr, ptr %7, align 8, !tbaa !5
  %468 = load i32, ptr %51, align 4, !tbaa !9
  %469 = sext i32 %468 to i64
  %470 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %469) #5
  %471 = load i32, ptr %470, align 4, !tbaa !9
  %472 = load i32, ptr %47, align 4, !tbaa !9
  %473 = load i32, ptr %51, align 4, !tbaa !9
  %474 = sext i32 %473 to i64
  %475 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %474) #5
  %476 = load i32, ptr %475, align 4, !tbaa !9
  %477 = load i32, ptr %51, align 4, !tbaa !9
  %478 = add nsw i32 %477, 1
  %479 = sext i32 %478 to i64
  %480 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %479) #5
  %481 = load i32, ptr %480, align 4, !tbaa !9
  %482 = sub nsw i32 %481, 1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %467, i32 noundef 1, ptr noundef @.str.96, i32 noundef %471, i32 noundef %472, i32 noundef %476, i32 noundef %482)
          to label %483 unwind label %487

483:                                              ; preds = %453
  br label %484

484:                                              ; preds = %483
  %485 = load i32, ptr %51, align 4, !tbaa !9
  %486 = add nsw i32 %485, 1
  store i32 %486, ptr %51, align 4, !tbaa !9
  br label %448, !llvm.loop !24

487:                                              ; preds = %453
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %16, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #5
  br label %544

491:                                              ; preds = %452
  %492 = load i32, ptr %44, align 4, !tbaa !9
  store i32 %492, ptr %46, align 4, !tbaa !9
  %493 = load i32, ptr %46, align 4, !tbaa !9
  %494 = sext i32 %493 to i64
  %495 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %494) #5
  %496 = load i32, ptr %495, align 4, !tbaa !9
  %497 = mul nsw i32 100, %496
  %498 = sitofp i32 %497 to double
  store double %498, ptr %48, align 8, !tbaa !20
  %499 = load double, ptr %48, align 8, !tbaa !20
  %500 = load i32, ptr %10, align 4, !tbaa !9
  %501 = sitofp i32 %500 to double
  %502 = fdiv double %499, %501
  %503 = fadd double %502, 5.000000e-01
  store double %503, ptr %48, align 8, !tbaa !20
  %504 = load double, ptr %48, align 8, !tbaa !20
  %505 = fptosi double %504 to i32
  store i32 %505, ptr %47, align 4, !tbaa !9
  %506 = load i32, ptr %46, align 4, !tbaa !9
  %507 = icmp eq i32 %506, 10
  br i1 %507, label %508, label %520

508:                                              ; preds = %491
  %509 = load ptr, ptr %7, align 8, !tbaa !5
  %510 = load i32, ptr %46, align 4, !tbaa !9
  %511 = sext i32 %510 to i64
  %512 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %511) #5
  %513 = load i32, ptr %512, align 4, !tbaa !9
  %514 = load i32, ptr %47, align 4, !tbaa !9
  %515 = load i32, ptr %46, align 4, !tbaa !9
  %516 = sext i32 %515 to i64
  %517 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %516) #5
  %518 = load i32, ptr %517, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %509, i32 noundef 1, ptr noundef @.str.97, i32 noundef %513, i32 noundef %514, i32 noundef %518)
          to label %519 unwind label %396

519:                                              ; preds = %508
  br label %538

520:                                              ; preds = %491
  %521 = load ptr, ptr %7, align 8, !tbaa !5
  %522 = load i32, ptr %46, align 4, !tbaa !9
  %523 = sext i32 %522 to i64
  %524 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %523) #5
  %525 = load i32, ptr %524, align 4, !tbaa !9
  %526 = load i32, ptr %47, align 4, !tbaa !9
  %527 = load i32, ptr %46, align 4, !tbaa !9
  %528 = sext i32 %527 to i64
  %529 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %528) #5
  %530 = load i32, ptr %529, align 4, !tbaa !9
  %531 = load i32, ptr %46, align 4, !tbaa !9
  %532 = add nsw i32 %531, 1
  %533 = sext i32 %532 to i64
  %534 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %533) #5
  %535 = load i32, ptr %534, align 4, !tbaa !9
  %536 = sub nsw i32 %535, 1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %521, i32 noundef 1, ptr noundef @.str.96, i32 noundef %525, i32 noundef %526, i32 noundef %530, i32 noundef %536)
          to label %537 unwind label %396

537:                                              ; preds = %520
  br label %538

538:                                              ; preds = %537, %519
  %539 = load ptr, ptr %7, align 8, !tbaa !5
  %540 = load i32, ptr %36, align 4, !tbaa !9
  %541 = load i32, ptr %9, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %539, i32 noundef 1, ptr noundef @.str.98, i32 noundef %540, i32 noundef %541)
          to label %542 unwind label %396

542:                                              ; preds = %538
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  br label %543

543:                                              ; preds = %542, %54
  ret void

544:                                              ; preds = %487, %396, %363
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #5
  br label %545

545:                                              ; preds = %544, %299, %260, %212
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %546

546:                                              ; preds = %545, %178, %174, %170
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %547

547:                                              ; preds = %546, %169, %155, %71, %67
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  br label %548

548:                                              ; preds = %547
  %549 = load ptr, ptr %16, align 8
  %550 = load i32, ptr %17, align 4
  %551 = insertvalue { ptr, i32 } poison, ptr %549, 0
  %552 = insertvalue { ptr, i32 } %551, i32 %550, 1
  resume { ptr, i32 } %552
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__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] }
%"class.std::allocator" = type { i8 }

@.str.89 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [22 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

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

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

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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21analyseMatrixSparsityRK15HighsLogOptionsPKciiRKSt6vectorIiSaIiEES8_(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = icmp eq i32 %2, 0
  br i1 %25, label %385, label %26

26:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %27 = sext i32 %3 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %27, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %28 unwind label %31

28:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %29 = sext i32 %2 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %29)
          to label %.preheader167 unwind label %33

.preheader167:                                    ; preds = %28
  %30 = icmp sgt i32 %2, 0
  br i1 %30, label %.lr.ph170.preheader, label %._crit_edge

.lr.ph170.preheader:                              ; preds = %.preheader167
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %.lr.ph170

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph170
  %exitcond.not = icmp eq i64 %indvars.iv.next184, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph170, !llvm.loop !9

._crit_edge:                                      ; preds = %.loopexit, %.preheader167
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.89, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %57 unwind label %103

31:                                               ; preds = %26
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  br label %388

33:                                               ; preds = %28
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %388

.lr.ph170:                                        ; preds = %.lr.ph170.preheader, %.loopexit
  %indvars.iv183 = phi i64 [ 0, %.lr.ph170.preheader ], [ %indvars.iv.next184, %.loopexit ]
  %indvars.iv.next184 = add nuw nsw i64 %indvars.iv183, 1
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next184) #6
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv183) #6
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = sub nsw i32 %36, %38
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv183) #6
  store i32 %39, ptr %40, align 4, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv183) #6
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next184) #6
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = icmp slt i32 %42, %44
  br i1 %45, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %.lr.ph170
  %46 = sext i32 %42 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %46, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %49) #6
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %50, align 4, !tbaa !5
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next184) #6
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = icmp slt i64 %indvars.iv.next, %55
  br i1 %56, label %.lr.ph, label %.loopexit, !llvm.loop !11

57:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.90, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %58 unwind label %105

58:                                               ; preds = %57
  invoke void @_Z19analyseVectorValuesPK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKSt6vectorIiSaIiEES7_(ptr noundef nonnull %0, ptr noundef nonnull %10, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull %12)
          to label %59 unwind label %107

59:                                               ; preds = %58
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.91, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %60 unwind label %111

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.90, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %61 unwind label %113

61:                                               ; preds = %60
  invoke void @_Z19analyseVectorValuesPK15HighsLogOptionsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKSt6vectorIiSaIiEES7_(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull %16)
          to label %62 unwind label %115

62:                                               ; preds = %61
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 11)
          to label %63 unwind label %119

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #6
  store i32 0, ptr %21, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 11, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %64 unwind label %121

64:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 11, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %65 unwind label %123

65:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #6
  store i32 1, ptr %66, align 4, !tbaa !5
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #6
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = shl nsw i32 %68, 1
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2) #6
  store i32 %69, ptr %70, align 4, !tbaa !5
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2) #6
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = shl nsw i32 %72, 1
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 3) #6
  store i32 %73, ptr %74, align 4, !tbaa !5
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 3) #6
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = shl nsw i32 %76, 1
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 4) #6
  store i32 %77, ptr %78, align 4, !tbaa !5
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 4) #6
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = shl nsw i32 %80, 1
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 5) #6
  store i32 %81, ptr %82, align 4, !tbaa !5
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 5) #6
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = shl nsw i32 %84, 1
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 6) #6
  store i32 %85, ptr %86, align 4, !tbaa !5
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 6) #6
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = shl nsw i32 %88, 1
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 7) #6
  store i32 %89, ptr %90, align 4, !tbaa !5
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 7) #6
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = shl nsw i32 %92, 1
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 8) #6
  store i32 %93, ptr %94, align 4, !tbaa !5
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 8) #6
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = shl nsw i32 %96, 1
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 9) #6
  store i32 %97, ptr %98, align 4, !tbaa !5
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 9) #6
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = shl nsw i32 %100, 1
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 10) #6
  store i32 %101, ptr %102, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store i32 0, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #6
  store i32 0, ptr %24, align 4, !tbaa !5
  br i1 %30, label %.lr.ph174.preheader, label %.preheader166

.lr.ph174.preheader:                              ; preds = %65
  %wide.trip.count197 = zext nneg i32 %2 to i64
  br label %.lr.ph174

103:                                              ; preds = %._crit_edge
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %110

105:                                              ; preds = %57
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %109

107:                                              ; preds = %58
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %109

109:                                              ; preds = %107, %105
  %.pn = phi { ptr, i32 } [ %108, %107 ], [ %106, %105 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %110

110:                                              ; preds = %109, %103
  %.pn.pn = phi { ptr, i32 } [ %.pn, %109 ], [ %104, %103 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  br label %388

111:                                              ; preds = %59
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %118

113:                                              ; preds = %60
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %117

115:                                              ; preds = %61
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %117

117:                                              ; preds = %115, %113
  %.pn151 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %118

118:                                              ; preds = %117, %111
  %.pn151.pn = phi { ptr, i32 } [ %.pn151, %117 ], [ %112, %111 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %388

119:                                              ; preds = %62
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %387

121:                                              ; preds = %63
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  br label %387

123:                                              ; preds = %64
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  br label %387

.preheader166:                                    ; preds = %182, %65
  %125 = icmp sgt i32 %3, 0
  br i1 %125, label %.lr.ph176.preheader, label %._crit_edge177

.lr.ph176.preheader:                              ; preds = %.preheader166
  %wide.trip.count206 = zext nneg i32 %3 to i64
  br label %.lr.ph176

.lr.ph174:                                        ; preds = %.lr.ph174.preheader, %182
  %indvars.iv194 = phi i64 [ 0, %.lr.ph174.preheader ], [ %indvars.iv.next195, %182 ]
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %126, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %128 = load i32, ptr %127, align 4, !tbaa !5
  store i32 %128, ptr %24, align 4, !tbaa !5
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #6
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = icmp slt i32 %130, %132
  br i1 %133, label %182, label %134, !llvm.loop !12

134:                                              ; preds = %.lr.ph174
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2) #6
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = icmp slt i32 %136, %138
  br i1 %139, label %182, label %140, !llvm.loop !12

140:                                              ; preds = %134
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 3) #6
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = icmp slt i32 %142, %144
  br i1 %145, label %182, label %146, !llvm.loop !12

146:                                              ; preds = %140
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %148 = load i32, ptr %147, align 4, !tbaa !5
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 4) #6
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = icmp slt i32 %148, %150
  br i1 %151, label %182, label %152, !llvm.loop !12

152:                                              ; preds = %146
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 5) #6
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = icmp slt i32 %154, %156
  br i1 %157, label %182, label %158, !llvm.loop !12

158:                                              ; preds = %152
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %160 = load i32, ptr %159, align 4, !tbaa !5
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 6) #6
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %163 = icmp slt i32 %160, %162
  br i1 %163, label %182, label %164, !llvm.loop !12

164:                                              ; preds = %158
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %166 = load i32, ptr %165, align 4, !tbaa !5
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 7) #6
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = icmp slt i32 %166, %168
  br i1 %169, label %182, label %170, !llvm.loop !12

170:                                              ; preds = %164
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %172 = load i32, ptr %171, align 4, !tbaa !5
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 8) #6
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = icmp slt i32 %172, %174
  br i1 %175, label %182, label %176, !llvm.loop !12

176:                                              ; preds = %170
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv194) #6
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 9) #6
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = icmp slt i32 %178, %180
  %spec.select227 = select i1 %181, i64 8, i64 10
  br label %182, !llvm.loop !12

182:                                              ; preds = %176, %170, %164, %158, %152, %146, %140, %134, %.lr.ph174
  %.0128 = phi i64 [ 0, %.lr.ph174 ], [ 1, %134 ], [ 2, %140 ], [ 3, %146 ], [ 4, %152 ], [ 5, %158 ], [ 6, %164 ], [ 7, %170 ], [ %spec.select227, %176 ]
  %183 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %.0128) #6
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %183, align 4, !tbaa !5
  %indvars.iv.next195 = add nuw nsw i64 %indvars.iv194, 1
  %exitcond198.not = icmp eq i64 %indvars.iv.next195, %wide.trip.count197
  br i1 %exitcond198.not, label %.preheader166, label %.lr.ph174, !llvm.loop !13

._crit_edge177:                                   ; preds = %268, %.preheader166
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.92, ptr noundef %1)
          to label %.preheader165.preheader unwind label %272

.preheader165.preheader:                          ; preds = %._crit_edge177
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #6
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %.not161 = icmp eq i32 %187, 0
  %spec.select162 = sext i1 %.not161 to i32
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 1) #6
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %.not161.1 = icmp eq i32 %189, 0
  %spec.select162.1 = select i1 %.not161.1, i32 %spec.select162, i32 1
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 2) #6
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %.not161.2 = icmp eq i32 %191, 0
  %spec.select162.2 = select i1 %.not161.2, i32 %spec.select162.1, i32 2
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 3) #6
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %.not161.3 = icmp eq i32 %193, 0
  %spec.select162.3 = select i1 %.not161.3, i32 %spec.select162.2, i32 3
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 4) #6
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %.not161.4 = icmp eq i32 %195, 0
  %spec.select162.4 = select i1 %.not161.4, i32 %spec.select162.3, i32 4
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 5) #6
  %197 = load i32, ptr %196, align 4, !tbaa !5
  %.not161.5 = icmp eq i32 %197, 0
  %spec.select162.5 = select i1 %.not161.5, i32 %spec.select162.4, i32 5
  %198 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 6) #6
  %199 = load i32, ptr %198, align 4, !tbaa !5
  %.not161.6 = icmp eq i32 %199, 0
  %spec.select162.6 = select i1 %.not161.6, i32 %spec.select162.5, i32 6
  %200 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 7) #6
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %.not161.7 = icmp eq i32 %201, 0
  %spec.select162.7 = select i1 %.not161.7, i32 %spec.select162.6, i32 7
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 8) #6
  %203 = load i32, ptr %202, align 4, !tbaa !5
  %.not161.8 = icmp eq i32 %203, 0
  %spec.select162.8 = select i1 %.not161.8, i32 %spec.select162.7, i32 8
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 9) #6
  %205 = load i32, ptr %204, align 4, !tbaa !5
  %.not161.9 = icmp eq i32 %205, 0
  %spec.select162.9 = select i1 %.not161.9, i32 %spec.select162.8, i32 9
  %206 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 10) #6
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %.not161.10 = icmp eq i32 %207, 0
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 10) #6
  %209 = load i32, ptr %208, align 4, !tbaa !5
  %.not = icmp eq i32 %209, 0
  %210 = select i1 %.not, i1 %.not161.10, i1 false
  %spec.select = select i1 %210, i32 %spec.select162.9, i32 10
  %211 = sitofp i32 %2 to double
  %smax = call i32 @llvm.smax.i32(i32 %spec.select, i32 0)
  %wide.trip.count215 = zext nneg i32 %smax to i64
  br label %274

.lr.ph176:                                        ; preds = %.lr.ph176.preheader, %268
  %indvars.iv203 = phi i64 [ 0, %.lr.ph176.preheader ], [ %indvars.iv.next204, %268 ]
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %212, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %214 = load i32, ptr %213, align 4, !tbaa !5
  store i32 %214, ptr %23, align 4, !tbaa !5
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #6
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = icmp slt i32 %216, %218
  br i1 %219, label %268, label %220, !llvm.loop !14

220:                                              ; preds = %.lr.ph176
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %222 = load i32, ptr %221, align 4, !tbaa !5
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2) #6
  %224 = load i32, ptr %223, align 4, !tbaa !5
  %225 = icmp slt i32 %222, %224
  br i1 %225, label %268, label %226, !llvm.loop !14

226:                                              ; preds = %220
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %228 = load i32, ptr %227, align 4, !tbaa !5
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 3) #6
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %231 = icmp slt i32 %228, %230
  br i1 %231, label %268, label %232, !llvm.loop !14

232:                                              ; preds = %226
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 4) #6
  %236 = load i32, ptr %235, align 4, !tbaa !5
  %237 = icmp slt i32 %234, %236
  br i1 %237, label %268, label %238, !llvm.loop !14

238:                                              ; preds = %232
  %239 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %240 = load i32, ptr %239, align 4, !tbaa !5
  %241 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 5) #6
  %242 = load i32, ptr %241, align 4, !tbaa !5
  %243 = icmp slt i32 %240, %242
  br i1 %243, label %268, label %244, !llvm.loop !14

244:                                              ; preds = %238
  %245 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %246 = load i32, ptr %245, align 4, !tbaa !5
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 6) #6
  %248 = load i32, ptr %247, align 4, !tbaa !5
  %249 = icmp slt i32 %246, %248
  br i1 %249, label %268, label %250, !llvm.loop !14

250:                                              ; preds = %244
  %251 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %252 = load i32, ptr %251, align 4, !tbaa !5
  %253 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 7) #6
  %254 = load i32, ptr %253, align 4, !tbaa !5
  %255 = icmp slt i32 %252, %254
  br i1 %255, label %268, label %256, !llvm.loop !14

256:                                              ; preds = %250
  %257 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 8) #6
  %260 = load i32, ptr %259, align 4, !tbaa !5
  %261 = icmp slt i32 %258, %260
  br i1 %261, label %268, label %262, !llvm.loop !14

262:                                              ; preds = %256
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 9) #6
  %266 = load i32, ptr %265, align 4, !tbaa !5
  %267 = icmp slt i32 %264, %266
  %spec.select228 = select i1 %267, i64 8, i64 10
  br label %268, !llvm.loop !14

268:                                              ; preds = %262, %256, %250, %244, %238, %232, %226, %220, %.lr.ph176
  %.0125 = phi i64 [ 0, %.lr.ph176 ], [ 1, %220 ], [ 2, %226 ], [ 3, %232 ], [ 4, %238 ], [ 5, %244 ], [ 6, %250 ], [ 7, %256 ], [ %spec.select228, %262 ]
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0125) #6
  %270 = load i32, ptr %269, align 4, !tbaa !5
  %271 = add nsw i32 %270, 1
  store i32 %271, ptr %269, align 4, !tbaa !5
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %exitcond207.not = icmp eq i64 %indvars.iv.next204, %wide.trip.count206
  br i1 %exitcond207.not, label %._crit_edge177, label %.lr.ph176, !llvm.loop !15

272:                                              ; preds = %._crit_edge177
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %386

274:                                              ; preds = %289, %.preheader165.preheader
  %indvars.iv212 = phi i64 [ %indvars.iv.next213, %289 ], [ 0, %.preheader165.preheader ]
  %exitcond216.not = icmp eq i64 %indvars.iv212, %wide.trip.count215
  br i1 %exitcond216.not, label %275, label %289

275:                                              ; preds = %274
  %276 = sext i32 %spec.select to i64
  %277 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %276) #6
  %278 = load i32, ptr %277, align 4, !tbaa !5
  %279 = mul nsw i32 %278, 100
  %280 = sitofp i32 %279 to double
  %281 = fdiv double %280, %211
  %282 = fadd double %281, 5.000000e-01
  %283 = fptosi double %282 to i32
  %284 = icmp eq i32 %spec.select, 10
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %276) #6
  %286 = load i32, ptr %285, align 4, !tbaa !5
  %287 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %276) #6
  %288 = load i32, ptr %287, align 4, !tbaa !5
  br i1 %284, label %306, label %309

289:                                              ; preds = %274
  %290 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv212) #6
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = mul nsw i32 %291, 100
  %293 = sitofp i32 %292 to double
  %294 = fdiv double %293, %211
  %295 = fadd double %294, 5.000000e-01
  %296 = fptosi double %295 to i32
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv212) #6
  %298 = load i32, ptr %297, align 4, !tbaa !5
  %299 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv212) #6
  %300 = load i32, ptr %299, align 4, !tbaa !5
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %301 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv.next213) #6
  %302 = load i32, ptr %301, align 4, !tbaa !5
  %303 = add nsw i32 %302, -1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.93, i32 noundef %298, i32 noundef %296, i32 noundef %300, i32 noundef %303)
          to label %274 unwind label %304, !llvm.loop !16

304:                                              ; preds = %289
  %305 = landingpad { ptr, i32 }
          cleanup
  br label %386

306:                                              ; preds = %275
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.94, i32 noundef %286, i32 noundef %283, i32 noundef %288)
          to label %315 unwind label %307

307:                                              ; preds = %382, %376, %375, %315, %309, %306
  %308 = landingpad { ptr, i32 }
          cleanup
  br label %386

309:                                              ; preds = %275
  %310 = add nsw i32 %spec.select, 1
  %311 = zext nneg i32 %310 to i64
  %312 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %311) #6
  %313 = load i32, ptr %312, align 4, !tbaa !5
  %314 = add nsw i32 %313, -1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.93, i32 noundef %286, i32 noundef %283, i32 noundef %288, i32 noundef %314)
          to label %315 unwind label %307

315:                                              ; preds = %309, %306
  %316 = load i32, ptr %24, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.95, i32 noundef %316, i32 noundef %3)
          to label %.preheader.preheader unwind label %307

.preheader.preheader:                             ; preds = %315
  %317 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 0) #6
  %318 = load i32, ptr %317, align 4, !tbaa !5
  %.not155 = icmp eq i32 %318, 0
  %spec.select164 = sext i1 %.not155 to i32
  %319 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 1) #6
  %320 = load i32, ptr %319, align 4, !tbaa !5
  %.not155.1 = icmp eq i32 %320, 0
  %spec.select164.1 = select i1 %.not155.1, i32 %spec.select164, i32 1
  %321 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 2) #6
  %322 = load i32, ptr %321, align 4, !tbaa !5
  %.not155.2 = icmp eq i32 %322, 0
  %spec.select164.2 = select i1 %.not155.2, i32 %spec.select164.1, i32 2
  %323 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 3) #6
  %324 = load i32, ptr %323, align 4, !tbaa !5
  %.not155.3 = icmp eq i32 %324, 0
  %spec.select164.3 = select i1 %.not155.3, i32 %spec.select164.2, i32 3
  %325 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 4) #6
  %326 = load i32, ptr %325, align 4, !tbaa !5
  %.not155.4 = icmp eq i32 %326, 0
  %spec.select164.4 = select i1 %.not155.4, i32 %spec.select164.3, i32 4
  %327 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 5) #6
  %328 = load i32, ptr %327, align 4, !tbaa !5
  %.not155.5 = icmp eq i32 %328, 0
  %spec.select164.5 = select i1 %.not155.5, i32 %spec.select164.4, i32 5
  %329 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 6) #6
  %330 = load i32, ptr %329, align 4, !tbaa !5
  %.not155.6 = icmp eq i32 %330, 0
  %spec.select164.6 = select i1 %.not155.6, i32 %spec.select164.5, i32 6
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 7) #6
  %332 = load i32, ptr %331, align 4, !tbaa !5
  %.not155.7 = icmp eq i32 %332, 0
  %spec.select164.7 = select i1 %.not155.7, i32 %spec.select164.6, i32 7
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 8) #6
  %334 = load i32, ptr %333, align 4, !tbaa !5
  %.not155.8 = icmp eq i32 %334, 0
  %spec.select164.8 = select i1 %.not155.8, i32 %spec.select164.7, i32 8
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 9) #6
  %336 = load i32, ptr %335, align 4, !tbaa !5
  %.not155.9 = icmp eq i32 %336, 0
  %spec.select164.9 = select i1 %.not155.9, i32 %spec.select164.8, i32 9
  %337 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 10) #6
  %338 = load i32, ptr %337, align 4, !tbaa !5
  %.not155.10 = icmp eq i32 %338, 0
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 10) #6
  %340 = load i32, ptr %339, align 4, !tbaa !5
  %.not154 = icmp eq i32 %340, 0
  %341 = select i1 %.not154, i1 %.not155.10, i1 false
  %spec.select163 = select i1 %341, i32 %spec.select164.9, i32 10
  %342 = sitofp i32 %3 to double
  %smax224 = call i32 @llvm.smax.i32(i32 %spec.select163, i32 0)
  %wide.trip.count225 = zext nneg i32 %smax224 to i64
  br label %343

343:                                              ; preds = %358, %.preheader.preheader
  %indvars.iv221 = phi i64 [ %indvars.iv.next222, %358 ], [ 0, %.preheader.preheader ]
  %exitcond226.not = icmp eq i64 %indvars.iv221, %wide.trip.count225
  br i1 %exitcond226.not, label %344, label %358

344:                                              ; preds = %343
  %345 = sext i32 %spec.select163 to i64
  %346 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %345) #6
  %347 = load i32, ptr %346, align 4, !tbaa !5
  %348 = mul nsw i32 %347, 100
  %349 = sitofp i32 %348 to double
  %350 = fdiv double %349, %342
  %351 = fadd double %350, 5.000000e-01
  %352 = fptosi double %351 to i32
  %353 = icmp eq i32 %spec.select163, 10
  %354 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %345) #6
  %355 = load i32, ptr %354, align 4, !tbaa !5
  %356 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %345) #6
  %357 = load i32, ptr %356, align 4, !tbaa !5
  br i1 %353, label %375, label %376

358:                                              ; preds = %343
  %359 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv221) #6
  %360 = load i32, ptr %359, align 4, !tbaa !5
  %361 = mul nsw i32 %360, 100
  %362 = sitofp i32 %361 to double
  %363 = fdiv double %362, %342
  %364 = fadd double %363, 5.000000e-01
  %365 = fptosi double %364 to i32
  %366 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv221) #6
  %367 = load i32, ptr %366, align 4, !tbaa !5
  %368 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv221) #6
  %369 = load i32, ptr %368, align 4, !tbaa !5
  %indvars.iv.next222 = add nuw nsw i64 %indvars.iv221, 1
  %370 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv.next222) #6
  %371 = load i32, ptr %370, align 4, !tbaa !5
  %372 = add nsw i32 %371, -1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.96, i32 noundef %367, i32 noundef %365, i32 noundef %369, i32 noundef %372)
          to label %343 unwind label %373, !llvm.loop !17

373:                                              ; preds = %358
  %374 = landingpad { ptr, i32 }
          cleanup
  br label %386

375:                                              ; preds = %344
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.97, i32 noundef %355, i32 noundef %352, i32 noundef %357)
          to label %382 unwind label %307

376:                                              ; preds = %344
  %377 = add nsw i32 %spec.select163, 1
  %378 = zext nneg i32 %377 to i64
  %379 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %378) #6
  %380 = load i32, ptr %379, align 4, !tbaa !5
  %381 = add nsw i32 %380, -1
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.96, i32 noundef %355, i32 noundef %352, i32 noundef %357, i32 noundef %381)
          to label %382 unwind label %307

382:                                              ; preds = %376, %375
  %383 = load i32, ptr %23, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.98, i32 noundef %383, i32 noundef %2)
          to label %384 unwind label %307

384:                                              ; preds = %382
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %385

385:                                              ; preds = %6, %384
  ret void

386:                                              ; preds = %304, %307, %373, %272
  %.pn156.pn = phi { ptr, i32 } [ %273, %272 ], [ %305, %304 ], [ %374, %373 ], [ %308, %307 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  br label %387

387:                                              ; preds = %386, %123, %121, %119
  %.pn156.pn.pn = phi { ptr, i32 } [ %.pn156.pn, %386 ], [ %124, %123 ], [ %122, %121 ], [ %120, %119 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  br label %388

388:                                              ; preds = %387, %118, %110, %33, %31
  %.pn156.pn.pn.pn = phi { ptr, i32 } [ %.pn156.pn.pn, %387 ], [ %.pn151.pn, %118 ], [ %.pn.pn, %110 ], [ %34, %33 ], [ %32, %31 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn156.pn.pn.pn
}

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

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

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

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

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

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

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


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