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

; 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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }

@.str.57 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z27debugReportRankDeficientASMiRK15HighsLogOptionsiRKSt6vectorIiSaIiEES6_S6_RKS2_IdSaIdEES6_iS6_S6_(i32 noundef %0, ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10) #3 personality ptr @__gxx_personality_v0 {
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.std::vector.3", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.std::allocator.5", align 1
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %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
  store i32 %0, ptr %12, align 4, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !9
  store i32 %2, ptr %14, align 4, !tbaa !5
  store ptr %3, ptr %15, align 8, !tbaa !9
  store ptr %4, ptr %16, align 8, !tbaa !9
  store ptr %5, ptr %17, align 8, !tbaa !9
  store ptr %6, ptr %18, align 8, !tbaa !9
  store ptr %7, ptr %19, align 8, !tbaa !9
  store i32 %8, ptr %20, align 4, !tbaa !5
  store ptr %9, ptr %21, align 8, !tbaa !9
  store ptr %10, ptr %22, align 8, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !5
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %11
  br label %279

44:                                               ; preds = %11
  %45 = load i32, ptr %20, align 4, !tbaa !5
  %46 = icmp sgt i32 %45, 10
  br i1 %46, label %47, label %48

47:                                               ; preds = %44
  br label %279

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #4
  %49 = load i32, ptr %20, align 4, !tbaa !5
  %50 = load i32, ptr %20, align 4, !tbaa !5
  %51 = mul nsw i32 %49, %50
  %52 = sext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #4
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %52, ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %53 unwind label %59

53:                                               ; preds = %48
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %160, %53
  %55 = load i32, ptr %28, align 4, !tbaa !5
  %56 = load i32, ptr %20, align 4, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %63, label %58

58:                                               ; preds = %54
  store i32 2, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %163

59:                                               ; preds = %48
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %26, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %27, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  br label %281

63:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %64 = load ptr, ptr %21, align 8, !tbaa !9
  %65 = load i32, ptr %28, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %66) #4
  %68 = load i32, ptr %67, align 4, !tbaa !5
  store i32 %68, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  %69 = load ptr, ptr %15, align 8, !tbaa !9
  %70 = load i32, ptr %30, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %71) #4
  %73 = load i32, ptr %72, align 4, !tbaa !5
  store i32 %73, ptr %31, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  %74 = load i32, ptr %31, align 4, !tbaa !5
  %75 = load ptr, ptr %16, align 8, !tbaa !9
  %76 = load i32, ptr %30, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %77) #4
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = add nsw i32 %74, %79
  store i32 %80, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #4
  %81 = load i32, ptr %31, align 4, !tbaa !5
  store i32 %81, ptr %33, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %156, %63
  %83 = load i32, ptr %33, align 4, !tbaa !5
  %84 = load i32, ptr %32, align 4, !tbaa !5
  %85 = icmp slt i32 %83, %84
  br i1 %85, label %87, label %86

86:                                               ; preds = %82
  store i32 5, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  br label %159

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #4
  %88 = load ptr, ptr %17, align 8, !tbaa !9
  %89 = load i32, ptr %33, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %90) #4
  %92 = load i32, ptr %91, align 4, !tbaa !5
  store i32 %92, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #4
  %93 = load ptr, ptr %19, align 8, !tbaa !9
  %94 = load i32, ptr %34, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %95) #4
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = sub nsw i32 0, %97
  %99 = sub nsw i32 %98, 1
  store i32 %99, ptr %35, align 4, !tbaa !5
  %100 = load i32, ptr %35, align 4, !tbaa !5
  %101 = icmp slt i32 %100, 0
  br i1 %101, label %106, label %102

102:                                              ; preds = %87
  %103 = load i32, ptr %35, align 4, !tbaa !5
  %104 = load i32, ptr %20, align 4, !tbaa !5
  %105 = icmp sge i32 %103, %104
  br i1 %105, label %106, label %116

106:                                              ; preds = %102, %87
  %107 = load ptr, ptr %13, align 8, !tbaa !9
  %108 = load i32, ptr %35, align 4, !tbaa !5
  %109 = load i32, ptr %35, align 4, !tbaa !5
  %110 = load i32, ptr %20, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %107, i32 noundef 4, ptr noundef @.str.63, i32 noundef %108, i32 noundef %109, i32 noundef %110)
          to label %111 unwind label %112

111:                                              ; preds = %106
  br label %155

112:                                              ; preds = %133, %124, %106
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %26, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %280

116:                                              ; preds = %102
  %117 = load ptr, ptr %22, align 8, !tbaa !9
  %118 = load i32, ptr %35, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #4
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = load i32, ptr %34, align 4, !tbaa !5
  %123 = icmp ne i32 %121, %122
  br i1 %123, label %124, label %133

124:                                              ; preds = %116
  %125 = load ptr, ptr %13, align 8, !tbaa !9
  %126 = load ptr, ptr %22, align 8, !tbaa !9
  %127 = load i32, ptr %35, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #4
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = load i32, ptr %34, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %125, i32 noundef 4, ptr noundef @.str.64, i32 noundef %130, i32 noundef %131)
          to label %132 unwind label %112

132:                                              ; preds = %124
  br label %133

133:                                              ; preds = %132, %116
  %134 = load ptr, ptr %13, align 8, !tbaa !9
  %135 = load i32, ptr %35, align 4, !tbaa !5
  %136 = load i32, ptr %28, align 4, !tbaa !5
  %137 = load ptr, ptr %18, align 8, !tbaa !9
  %138 = load i32, ptr %33, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %139) #4
  %141 = load double, ptr %140, align 8, !tbaa !11
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %134, i32 noundef 4, ptr noundef @.str.65, i32 noundef %135, i32 noundef %136, double noundef %141)
          to label %142 unwind label %112

142:                                              ; preds = %133
  %143 = load ptr, ptr %18, align 8, !tbaa !9
  %144 = load i32, ptr %33, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #4
  %147 = load double, ptr %146, align 8, !tbaa !11
  %148 = load i32, ptr %35, align 4, !tbaa !5
  %149 = load i32, ptr %28, align 4, !tbaa !5
  %150 = load i32, ptr %20, align 4, !tbaa !5
  %151 = mul nsw i32 %149, %150
  %152 = add nsw i32 %148, %151
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %153) #4
  store double %147, ptr %154, align 8, !tbaa !11
  br label %155

155:                                              ; preds = %142, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %33, align 4, !tbaa !5
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %33, align 4, !tbaa !5
  br label %82, !llvm.loop !13

159:                                              ; preds = %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %28, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %28, align 4, !tbaa !5
  br label %54, !llvm.loop !15

163:                                              ; preds = %58
  %164 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %164, i32 noundef 4, ptr noundef @.str.66)
          to label %165 unwind label %171

165:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  store i32 0, ptr %36, align 4, !tbaa !5
  br label %166

166:                                              ; preds = %179, %165
  %167 = load i32, ptr %36, align 4, !tbaa !5
  %168 = load i32, ptr %20, align 4, !tbaa !5
  %169 = icmp slt i32 %167, %168
  br i1 %169, label %175, label %170

170:                                              ; preds = %166
  store i32 8, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  br label %186

171:                                              ; preds = %227, %209, %186, %163
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %26, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %27, align 4
  br label %280

175:                                              ; preds = %166
  %176 = load ptr, ptr %13, align 8, !tbaa !9
  %177 = load i32, ptr %36, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %176, i32 noundef 4, ptr noundef @.str.67, i32 noundef %177)
          to label %178 unwind label %182

178:                                              ; preds = %175
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %36, align 4, !tbaa !5
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %36, align 4, !tbaa !5
  br label %166, !llvm.loop !16

182:                                              ; preds = %175
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %26, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  br label %280

186:                                              ; preds = %170
  %187 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %187, i32 noundef 4, ptr noundef @.str.68)
          to label %188 unwind label %171

188:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #4
  store i32 0, ptr %37, align 4, !tbaa !5
  br label %189

189:                                              ; preds = %202, %188
  %190 = load i32, ptr %37, align 4, !tbaa !5
  %191 = load i32, ptr %20, align 4, !tbaa !5
  %192 = icmp slt i32 %190, %191
  br i1 %192, label %194, label %193

193:                                              ; preds = %189
  store i32 11, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  br label %209

194:                                              ; preds = %189
  %195 = load ptr, ptr %13, align 8, !tbaa !9
  %196 = load ptr, ptr %21, align 8, !tbaa !9
  %197 = load i32, ptr %37, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %198) #4
  %200 = load i32, ptr %199, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %195, i32 noundef 4, ptr noundef @.str.67, i32 noundef %200)
          to label %201 unwind label %205

201:                                              ; preds = %194
  br label %202

202:                                              ; preds = %201
  %203 = load i32, ptr %37, align 4, !tbaa !5
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %37, align 4, !tbaa !5
  br label %189, !llvm.loop !17

205:                                              ; preds = %194
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %26, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  br label %280

209:                                              ; preds = %193
  %210 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %210, i32 noundef 4, ptr noundef @.str.68)
          to label %211 unwind label %171

211:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #4
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %212

212:                                              ; preds = %220, %211
  %213 = load i32, ptr %38, align 4, !tbaa !5
  %214 = load i32, ptr %20, align 4, !tbaa !5
  %215 = icmp slt i32 %213, %214
  br i1 %215, label %217, label %216

216:                                              ; preds = %212
  store i32 14, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  br label %227

217:                                              ; preds = %212
  %218 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %218, i32 noundef 4, ptr noundef @.str.69)
          to label %219 unwind label %223

219:                                              ; preds = %217
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %38, align 4, !tbaa !5
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %38, align 4, !tbaa !5
  br label %212, !llvm.loop !18

223:                                              ; preds = %217
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %26, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  br label %280

227:                                              ; preds = %216
  %228 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %228, i32 noundef 4, ptr noundef @.str.57)
          to label %229 unwind label %171

229:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %230

230:                                              ; preds = %274, %229
  %231 = load i32, ptr %39, align 4, !tbaa !5
  %232 = load i32, ptr %20, align 4, !tbaa !5
  %233 = icmp slt i32 %231, %232
  br i1 %233, label %235, label %234

234:                                              ; preds = %230
  store i32 17, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  br label %278

235:                                              ; preds = %230
  %236 = load ptr, ptr %13, align 8, !tbaa !9
  %237 = load i32, ptr %39, align 4, !tbaa !5
  %238 = load ptr, ptr %22, align 8, !tbaa !9
  %239 = load i32, ptr %39, align 4, !tbaa !5
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240) #4
  %242 = load i32, ptr %241, align 4, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %236, i32 noundef 4, ptr noundef @.str.70, i32 noundef %237, i32 noundef %242)
          to label %243 unwind label %249

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

244:                                              ; preds = %264, %243
  %245 = load i32, ptr %40, align 4, !tbaa !5
  %246 = load i32, ptr %20, align 4, !tbaa !5
  %247 = icmp slt i32 %245, %246
  br i1 %247, label %253, label %248

248:                                              ; preds = %244
  store i32 20, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #4
  br label %271

249:                                              ; preds = %271, %235
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %26, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %27, align 4
  br label %277

253:                                              ; preds = %244
  %254 = load ptr, ptr %13, align 8, !tbaa !9
  %255 = load i32, ptr %39, align 4, !tbaa !5
  %256 = load i32, ptr %40, align 4, !tbaa !5
  %257 = load i32, ptr %20, align 4, !tbaa !5
  %258 = mul nsw i32 %256, %257
  %259 = add nsw i32 %255, %258
  %260 = sext i32 %259 to i64
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %260) #4
  %262 = load double, ptr %261, align 8, !tbaa !11
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %254, i32 noundef 4, ptr noundef @.str.71, double noundef %262)
          to label %263 unwind label %267

263:                                              ; preds = %253
  br label %264

264:                                              ; preds = %263
  %265 = load i32, ptr %40, align 4, !tbaa !5
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %40, align 4, !tbaa !5
  br label %244, !llvm.loop !19

267:                                              ; preds = %253
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %26, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #4
  br label %277

271:                                              ; preds = %248
  %272 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %272, i32 noundef 4, ptr noundef @.str.57)
          to label %273 unwind label %249

273:                                              ; preds = %271
  br label %274

274:                                              ; preds = %273
  %275 = load i32, ptr %39, align 4, !tbaa !5
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %39, align 4, !tbaa !5
  br label %230, !llvm.loop !20

277:                                              ; preds = %267, %249
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  br label %280

278:                                              ; preds = %234
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  br label %279

279:                                              ; preds = %278, %47, %43
  ret void

280:                                              ; preds = %277, %223, %205, %182, %171, %112
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  br label %281

281:                                              ; preds = %280, %59
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  br label %282

282:                                              ; preds = %281
  %283 = load ptr, ptr %26, align 8
  %284 = load i32, ptr %27, align 4
  %285 = insertvalue { ptr, i32 } poison, ptr %283, 0
  %286 = insertvalue { ptr, i32 } %285, i32 %284, 1
  resume { ptr, i32 } %286
}

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

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

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

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

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

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

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

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

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


; 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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }

@.str.57 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z27debugReportRankDeficientASMiRK15HighsLogOptionsiRKSt6vectorIiSaIiEES6_S6_RKS2_IdSaIdEES6_iS6_S6_(i32 noundef %0, ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %12 = alloca %"class.std::vector.3", align 8
  %13 = alloca double, align 8
  %14 = alloca %"class.std::allocator.5", align 1
  %15 = icmp eq i32 %0, 0
  %16 = icmp sgt i32 %8, 10
  %or.cond = or i1 %15, %16
  br i1 %or.cond, label %93, label %17

17:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  %18 = mul nsw i32 %8, %8
  %19 = zext nneg i32 %18 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  store double 0.000000e+00, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #4
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %19, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %20 unwind label %23

20:                                               ; preds = %17
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  %21 = icmp sgt i32 %8, 0
  br i1 %21, label %.lr.ph108.preheader, label %._crit_edge109

.lr.ph108.preheader:                              ; preds = %20
  %22 = zext nneg i32 %8 to i64
  br label %.lr.ph108

._crit_edge109:                                   ; preds = %._crit_edge, %20
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.66)
          to label %.preheader104 unwind label %66

.preheader104:                                    ; preds = %._crit_edge109
  br i1 %21, label %.lr.ph111, label %._crit_edge112

23:                                               ; preds = %17
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  br label %95

.lr.ph108:                                        ; preds = %.lr.ph108.preheader, %._crit_edge
  %indvars.iv129 = phi i64 [ 0, %.lr.ph108.preheader ], [ %indvars.iv.next130, %._crit_edge ]
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv129) #4
  %26 = load i32, ptr %25, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %27) #4
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %27) #4
  %31 = load i32, ptr %30, align 4, !tbaa !9
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph108
  %33 = add nsw i32 %31, %29
  %34 = mul nuw nsw i64 %indvars.iv129, %22
  %35 = sext i32 %29 to i64
  %36 = sext i32 %33 to i64
  %37 = trunc nuw nsw i64 %indvars.iv129 to i32
  br label %38

._crit_edge:                                      ; preds = %64, %.lr.ph108
  %indvars.iv.next130 = add nuw nsw i64 %indvars.iv129, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next130, %22
  br i1 %exitcond.not, label %._crit_edge109, label %.lr.ph108, !llvm.loop !11

38:                                               ; preds = %.lr.ph, %64
  %indvars.iv = phi i64 [ %35, %.lr.ph ], [ %indvars.iv.next, %64 ]
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #4
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %41) #4
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = xor i32 %43, -1
  %45 = icmp slt i32 %43, 0
  %.not = icmp slt i32 %44, %8
  %or.cond100 = and i1 %45, %.not
  br i1 %or.cond100, label %49, label %46

46:                                               ; preds = %38
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.63, i32 noundef %44, i32 noundef %44, i32 noundef %8)
          to label %64 unwind label %47

47:                                               ; preds = %56, %53, %46
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %94

49:                                               ; preds = %38
  %50 = zext nneg i32 %44 to i64
  %51 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %50) #4
  %52 = load i32, ptr %51, align 4, !tbaa !9
  %.not96 = icmp eq i32 %52, %40
  br i1 %.not96, label %56, label %53

53:                                               ; preds = %49
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %50) #4
  %55 = load i32, ptr %54, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.64, i32 noundef %55, i32 noundef %40)
          to label %56 unwind label %47

56:                                               ; preds = %53, %49
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #4
  %58 = load double, ptr %57, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.65, i32 noundef %44, i32 noundef %37, double noundef %58)
          to label %59 unwind label %47

59:                                               ; preds = %56
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #4
  %61 = load double, ptr %60, align 8, !tbaa !5
  %62 = add nuw nsw i64 %34, %50
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %62) #4
  store double %61, ptr %63, align 8, !tbaa !5
  br label %64

64:                                               ; preds = %46, %59
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %65 = icmp slt i64 %indvars.iv.next, %36
  br i1 %65, label %38, label %._crit_edge, !llvm.loop !13

._crit_edge112:                                   ; preds = %68, %.preheader104
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.68)
          to label %.preheader103 unwind label %66

.preheader103:                                    ; preds = %._crit_edge112
  br i1 %21, label %.lr.ph114.preheader, label %._crit_edge115

.lr.ph114.preheader:                              ; preds = %.preheader103
  %wide.trip.count136 = zext nneg i32 %8 to i64
  br label %.lr.ph114

66:                                               ; preds = %._crit_edge118, %._crit_edge115, %._crit_edge112, %._crit_edge109
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %94

.lr.ph111:                                        ; preds = %.preheader104, %68
  %.085110 = phi i32 [ %69, %68 ], [ 0, %.preheader104 ]
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.67, i32 noundef %.085110)
          to label %68 unwind label %70

68:                                               ; preds = %.lr.ph111
  %69 = add nuw nsw i32 %.085110, 1
  %exitcond132.not = icmp eq i32 %69, %8
  br i1 %exitcond132.not, label %._crit_edge112, label %.lr.ph111, !llvm.loop !14

70:                                               ; preds = %.lr.ph111
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %94

._crit_edge115:                                   ; preds = %74, %.preheader103
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.68)
          to label %.preheader102 unwind label %66

.preheader102:                                    ; preds = %._crit_edge115
  br i1 %21, label %.lr.ph117, label %._crit_edge118

.lr.ph114:                                        ; preds = %.lr.ph114.preheader, %74
  %indvars.iv133 = phi i64 [ 0, %.lr.ph114.preheader ], [ %indvars.iv.next134, %74 ]
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv133) #4
  %73 = load i32, ptr %72, align 4, !tbaa !9
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.67, i32 noundef %73)
          to label %74 unwind label %75

74:                                               ; preds = %.lr.ph114
  %indvars.iv.next134 = add nuw nsw i64 %indvars.iv133, 1
  %exitcond137.not = icmp eq i64 %indvars.iv.next134, %wide.trip.count136
  br i1 %exitcond137.not, label %._crit_edge115, label %.lr.ph114, !llvm.loop !15

75:                                               ; preds = %.lr.ph114
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %94

._crit_edge118:                                   ; preds = %89, %.preheader102
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.57)
          to label %.preheader101 unwind label %66

.preheader101:                                    ; preds = %._crit_edge118
  br i1 %21, label %.lr.ph123.split.us.preheader, label %._crit_edge124

.lr.ph123.split.us.preheader:                     ; preds = %.preheader101
  %77 = zext nneg i32 %8 to i64
  br label %.lr.ph123.split.us

.lr.ph123.split.us:                               ; preds = %.lr.ph123.split.us.preheader, %81
  %indvars.iv144 = phi i64 [ 0, %.lr.ph123.split.us.preheader ], [ %indvars.iv.next145, %81 ]
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv144) #4
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = trunc nuw nsw i64 %indvars.iv144 to i32
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.70, i32 noundef %80, i32 noundef %79)
          to label %.preheader.us unwind label %.split.us

81:                                               ; preds = %._crit_edge121.us
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %exitcond148.not = icmp eq i64 %indvars.iv.next145, %77
  br i1 %exitcond148.not, label %._crit_edge124, label %.lr.ph123.split.us, !llvm.loop !16

.preheader.us:                                    ; preds = %.lr.ph123.split.us, %86
  %indvars.iv139 = phi i64 [ %indvars.iv.next140, %86 ], [ 0, %.lr.ph123.split.us ]
  %82 = mul nuw nsw i64 %indvars.iv139, %77
  %83 = add nuw nsw i64 %82, %indvars.iv144
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %83) #4
  %85 = load double, ptr %84, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.71, double noundef %85)
          to label %86 unwind label %.split126.us

86:                                               ; preds = %.preheader.us
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %exitcond143.not = icmp eq i64 %indvars.iv.next140, %77
  br i1 %exitcond143.not, label %._crit_edge121.us, label %.preheader.us, !llvm.loop !17

._crit_edge121.us:                                ; preds = %86
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.57)
          to label %81 unwind label %.split.us

.split.us:                                        ; preds = %._crit_edge121.us, %.lr.ph123.split.us
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %94

.split126.us:                                     ; preds = %.preheader.us
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %94

.lr.ph117:                                        ; preds = %.preheader102, %89
  %.083116 = phi i32 [ %90, %89 ], [ 0, %.preheader102 ]
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %1, i32 noundef 4, ptr noundef nonnull @.str.69)
          to label %89 unwind label %91

89:                                               ; preds = %.lr.ph117
  %90 = add nuw nsw i32 %.083116, 1
  %exitcond138.not = icmp eq i32 %90, %8
  br i1 %exitcond138.not, label %._crit_edge118, label %.lr.ph117, !llvm.loop !18

91:                                               ; preds = %.lr.ph117
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %94

._crit_edge124:                                   ; preds = %81, %.preheader101
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  br label %93

93:                                               ; preds = %11, %._crit_edge124
  ret void

94:                                               ; preds = %.split.us, %.split126.us, %91, %75, %70, %66, %47
  %.pn97 = phi { ptr, i32 } [ %48, %47 ], [ %71, %70 ], [ %76, %75 ], [ %92, %91 ], [ %67, %66 ], [ %88, %.split126.us ], [ %87, %.split.us ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %95

95:                                               ; preds = %94, %23
  %.pn97.pn = phi { ptr, i32 } [ %.pn97, %94 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  resume { ptr, i32 } %.pn97.pn
}

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !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}


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