; LLVM IR from ERGO-Code/HiGHS :: src/model/HighsHessianUtils.ll (Z16normaliseHessianRK12HighsOptionsR12HighsHessian)

; 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.HighsHessian = type { i32, i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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 }
%struct.HighsOptionsStruct = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i8, i8, i32, i32, double, i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, double, double, double, double, double, double, double, double, double, double, double, i8, i8, i8, i8, i32, double, i8, i8, %"class.std::__cxx11::basic_string", double, i32, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, i8, i8, %"class.std::__cxx11::basic_string", i8, i32, %struct.HighsLogOptions }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

@.str.60 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._Z16normaliseHessianRK12HighsOptionsR12HighsHessian = external hidden unnamed_addr constant [67 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [75 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z16normaliseHessianRK12HighsOptionsR12HighsHessian(ptr noundef nonnull align 8 dereferenceable(1020) %0, ptr noundef nonnull align 8 dereferenceable(80) %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca %class.HighsHessian, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.3", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %class.HighsHessian, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::vector.8", align 8
  %27 = alloca %"class.std::vector.3", align 8
  %28 = alloca double, align 8
  %29 = alloca i8, align 1
  %30 = alloca double, align 8
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %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 double, align 8
  %45 = alloca double, align 8
  %46 = alloca i8, align 1
  %47 = alloca i32, align 4
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca i32, align 4
  %51 = alloca i8, align 1
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %class.HighsHessian, ptr %55, i32 0, i32 1
  %57 = load i32, ptr %56, align 4, !tbaa !9
  %58 = icmp eq i32 %57, 2
  br i1 %58, label %59, label %60

59:                                               ; preds = %2
  br label %62

60:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.74, ptr noundef @.str.60, i32 noundef 329, ptr noundef @__PRETTY_FUNCTION__._Z16normaliseHessianRK12HighsOptionsR12HighsHessian) #8
  unreachable

61:                                               ; No predecessors!
  br label %62

62:                                               ; preds = %61, %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 0, ptr %6, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %class.HighsHessian, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !23
  store i32 %65, ptr %7, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.HighsHessian, ptr %66, i32 0, i32 2
  %68 = load i32, ptr %7, align 4, !tbaa !24
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #9
  %71 = load i32, ptr %70, align 4, !tbaa !24
  store i32 %71, ptr %8, align 4, !tbaa !24
  %72 = load i32, ptr %8, align 4, !tbaa !24
  %73 = icmp sle i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %62
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %585

75:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #9
  store i8 0, ptr %10, align 1, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 80, ptr %11) #9
  call void @_ZN12HighsHessianC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %11)
  %76 = load i32, ptr %7, align 4, !tbaa !24
  %77 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 0
  store i32 %76, ptr %77, align 8, !tbaa !23
  %78 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %79 = load i32, ptr %7, align 4, !tbaa !24
  %80 = add nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %81)
          to label %82 unwind label %99

82:                                               ; preds = %75
  %83 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 3
  %84 = load i32, ptr %8, align 4, !tbaa !24
  %85 = sext i32 %84 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %85)
          to label %86 unwind label %99

86:                                               ; preds = %82
  %87 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 4
  %88 = load i32, ptr %8, align 4, !tbaa !24
  %89 = sext i32 %88 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %89)
          to label %90 unwind label %99

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %91 = load i32, ptr %7, align 4, !tbaa !24
  %92 = sext i32 %91 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !24
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %92, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %93 unwind label %103

93:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !24
  br label %94

94:                                               ; preds = %118, %93
  %95 = load i32, ptr %16, align 4, !tbaa !24
  %96 = load i32, ptr %8, align 4, !tbaa !24
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %107, label %98

98:                                               ; preds = %94
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %121

99:                                               ; preds = %86, %82, %75
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %12, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %13, align 4
  br label %584

103:                                              ; preds = %90
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %12, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %583

107:                                              ; preds = %94
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %class.HighsHessian, ptr %108, i32 0, i32 3
  %110 = load i32, ptr %16, align 4, !tbaa !24
  %111 = sext i32 %110 to i64
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %111) #9
  %113 = load i32, ptr %112, align 4, !tbaa !24
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %114) #9
  %116 = load i32, ptr %115, align 4, !tbaa !24
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %115, align 4, !tbaa !24
  br label %118

118:                                              ; preds = %107
  %119 = load i32, ptr %16, align 4, !tbaa !24
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %16, align 4, !tbaa !24
  br label %94, !llvm.loop !27

121:                                              ; preds = %98
  %122 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef 0) #9
  store i32 0, ptr %123, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  store i32 0, ptr %17, align 4, !tbaa !24
  br label %124

124:                                              ; preds = %145, %121
  %125 = load i32, ptr %17, align 4, !tbaa !24
  %126 = load i32, ptr %7, align 4, !tbaa !24
  %127 = icmp slt i32 %125, %126
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %148

129:                                              ; preds = %124
  %130 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %131 = load i32, ptr %17, align 4, !tbaa !24
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %132) #9
  %134 = load i32, ptr %133, align 4, !tbaa !24
  %135 = load i32, ptr %17, align 4, !tbaa !24
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %136) #9
  %138 = load i32, ptr %137, align 4, !tbaa !24
  %139 = add nsw i32 %134, %138
  %140 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %141 = load i32, ptr %17, align 4, !tbaa !24
  %142 = add nsw i32 %141, 1
  %143 = sext i32 %142 to i64
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef %143) #9
  store i32 %139, ptr %144, align 4, !tbaa !24
  br label %145

145:                                              ; preds = %129
  %146 = load i32, ptr %17, align 4, !tbaa !24
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %17, align 4, !tbaa !24
  br label %124, !llvm.loop !29

148:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  store i32 0, ptr %18, align 4, !tbaa !24
  br label %149

149:                                              ; preds = %209, %148
  %150 = load i32, ptr %18, align 4, !tbaa !24
  %151 = load i32, ptr %7, align 4, !tbaa !24
  %152 = icmp slt i32 %150, %151
  br i1 %152, label %154, label %153

153:                                              ; preds = %149
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %212

154:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %class.HighsHessian, ptr %155, i32 0, i32 2
  %157 = load i32, ptr %18, align 4, !tbaa !24
  %158 = sext i32 %157 to i64
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %156, i64 noundef %158) #9
  %160 = load i32, ptr %159, align 4, !tbaa !24
  store i32 %160, ptr %19, align 4, !tbaa !24
  br label %161

161:                                              ; preds = %205, %154
  %162 = load i32, ptr %19, align 4, !tbaa !24
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = getelementptr inbounds %class.HighsHessian, ptr %163, i32 0, i32 2
  %165 = load i32, ptr %18, align 4, !tbaa !24
  %166 = add nsw i32 %165, 1
  %167 = sext i32 %166 to i64
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %164, i64 noundef %167) #9
  %169 = load i32, ptr %168, align 4, !tbaa !24
  %170 = icmp slt i32 %162, %169
  br i1 %170, label %172, label %171

171:                                              ; preds = %161
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %208

172:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %class.HighsHessian, ptr %173, i32 0, i32 3
  %175 = load i32, ptr %19, align 4, !tbaa !24
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %176) #9
  %178 = load i32, ptr %177, align 4, !tbaa !24
  store i32 %178, ptr %20, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %179 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %180 = load i32, ptr %20, align 4, !tbaa !24
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %181) #9
  %183 = load i32, ptr %182, align 4, !tbaa !24
  store i32 %183, ptr %21, align 4, !tbaa !24
  %184 = load i32, ptr %18, align 4, !tbaa !24
  %185 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 3
  %186 = load i32, ptr %21, align 4, !tbaa !24
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %187) #9
  store i32 %184, ptr %188, align 4, !tbaa !24
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = getelementptr inbounds %class.HighsHessian, ptr %189, i32 0, i32 4
  %191 = load i32, ptr %19, align 4, !tbaa !24
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %192) #9
  %194 = load double, ptr %193, align 8, !tbaa !30
  %195 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 4
  %196 = load i32, ptr %21, align 4, !tbaa !24
  %197 = sext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %195, i64 noundef %197) #9
  store double %194, ptr %198, align 8, !tbaa !30
  %199 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %200 = load i32, ptr %20, align 4, !tbaa !24
  %201 = sext i32 %200 to i64
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #9
  %203 = load i32, ptr %202, align 4, !tbaa !24
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %202, align 4, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %205

205:                                              ; preds = %172
  %206 = load i32, ptr %19, align 4, !tbaa !24
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %19, align 4, !tbaa !24
  br label %161, !llvm.loop !32

208:                                              ; preds = %171
  br label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %18, align 4, !tbaa !24
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %18, align 4, !tbaa !24
  br label %149, !llvm.loop !33

212:                                              ; preds = %153
  %213 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %213, i64 noundef 0) #9
  store i32 0, ptr %214, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 0, ptr %22, align 4, !tbaa !24
  br label %215

215:                                              ; preds = %236, %212
  %216 = load i32, ptr %22, align 4, !tbaa !24
  %217 = load i32, ptr %7, align 4, !tbaa !24
  %218 = icmp slt i32 %216, %217
  br i1 %218, label %220, label %219

219:                                              ; preds = %215
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %239

220:                                              ; preds = %215
  %221 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %222 = load i32, ptr %22, align 4, !tbaa !24
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %221, i64 noundef %223) #9
  %225 = load i32, ptr %224, align 4, !tbaa !24
  %226 = load i32, ptr %22, align 4, !tbaa !24
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %227) #9
  %229 = load i32, ptr %228, align 4, !tbaa !24
  %230 = add nsw i32 %225, %229
  %231 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %232 = load i32, ptr %22, align 4, !tbaa !24
  %233 = add nsw i32 %232, 1
  %234 = sext i32 %233 to i64
  %235 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef %234) #9
  store i32 %230, ptr %235, align 4, !tbaa !24
  br label %236

236:                                              ; preds = %220
  %237 = load i32, ptr %22, align 4, !tbaa !24
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %22, align 4, !tbaa !24
  br label %215, !llvm.loop !34

239:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 80, ptr %23) #9
  invoke void @_ZN12HighsHessianC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %23)
          to label %240 unwind label %271

240:                                              ; preds = %239
  %241 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 1
  store i32 2, ptr %241, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store i32 0, ptr %24, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %242 = load i32, ptr %8, align 4, !tbaa !24
  store i32 %242, ptr %25, align 4, !tbaa !24
  %243 = load i32, ptr %7, align 4, !tbaa !24
  %244 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 0
  store i32 %243, ptr %244, align 8, !tbaa !23
  %245 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 2
  %246 = load i32, ptr %7, align 4, !tbaa !24
  %247 = add nsw i32 %246, 1
  %248 = sext i32 %247 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %245, i64 noundef %248)
          to label %249 unwind label %275

249:                                              ; preds = %240
  %250 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 3
  %251 = load i32, ptr %25, align 4, !tbaa !24
  %252 = sext i32 %251 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %250, i64 noundef %252)
          to label %253 unwind label %275

253:                                              ; preds = %249
  %254 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 4
  %255 = load i32, ptr %25, align 4, !tbaa !24
  %256 = sext i32 %255 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %256)
          to label %257 unwind label %275

257:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %258 = load i32, ptr %7, align 4, !tbaa !24
  %259 = sext i32 %258 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %259)
          to label %260 unwind label %279

260:                                              ; preds = %257
  %261 = load i32, ptr %7, align 4, !tbaa !24
  %262 = sext i32 %261 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  store double 0.000000e+00, ptr %28, align 8, !tbaa !30
  invoke void @_ZNSt6vectorIdSaIdEE6assignEmRKd(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %262, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %263 unwind label %283

263:                                              ; preds = %260
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #9
  store i8 0, ptr %29, align 1, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  store double 0.000000e+00, ptr %30, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  store i32 0, ptr %31, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  store double 0.000000e+00, ptr %32, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  store double 0x7FF0000000000000, ptr %33, align 8, !tbaa !30
  %264 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 2
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %264, i64 noundef 0) #9
  store i32 0, ptr %265, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  store i32 0, ptr %34, align 4, !tbaa !24
  br label %266

266:                                              ; preds = %543, %263
  %267 = load i32, ptr %34, align 4, !tbaa !24
  %268 = load i32, ptr %7, align 4, !tbaa !24
  %269 = icmp slt i32 %267, %268
  br i1 %269, label %287, label %270

270:                                              ; preds = %266
  store i32 17, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %547

271:                                              ; preds = %239
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %12, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %13, align 4
  br label %582

275:                                              ; preds = %253, %249, %240
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %12, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %13, align 4
  br label %581

279:                                              ; preds = %257
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %12, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %13, align 4
  br label %580

283:                                              ; preds = %260
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %12, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %580

287:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  store i32 0, ptr %35, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = getelementptr inbounds %class.HighsHessian, ptr %288, i32 0, i32 2
  %290 = load i32, ptr %34, align 4, !tbaa !24
  %291 = sext i32 %290 to i64
  %292 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %289, i64 noundef %291) #9
  %293 = load i32, ptr %292, align 4, !tbaa !24
  store i32 %293, ptr %36, align 4, !tbaa !24
  br label %294

294:                                              ; preds = %327, %287
  %295 = load i32, ptr %36, align 4, !tbaa !24
  %296 = load ptr, ptr %5, align 8, !tbaa !5
  %297 = getelementptr inbounds %class.HighsHessian, ptr %296, i32 0, i32 2
  %298 = load i32, ptr %34, align 4, !tbaa !24
  %299 = add nsw i32 %298, 1
  %300 = sext i32 %299 to i64
  %301 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %297, i64 noundef %300) #9
  %302 = load i32, ptr %301, align 4, !tbaa !24
  %303 = icmp slt i32 %295, %302
  br i1 %303, label %305, label %304

304:                                              ; preds = %294
  store i32 20, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  br label %330

305:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = getelementptr inbounds %class.HighsHessian, ptr %306, i32 0, i32 3
  %308 = load i32, ptr %36, align 4, !tbaa !24
  %309 = sext i32 %308 to i64
  %310 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %307, i64 noundef %309) #9
  %311 = load i32, ptr %310, align 4, !tbaa !24
  store i32 %311, ptr %37, align 4, !tbaa !24
  %312 = load ptr, ptr %5, align 8, !tbaa !5
  %313 = getelementptr inbounds %class.HighsHessian, ptr %312, i32 0, i32 4
  %314 = load i32, ptr %36, align 4, !tbaa !24
  %315 = sext i32 %314 to i64
  %316 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %313, i64 noundef %315) #9
  %317 = load double, ptr %316, align 8, !tbaa !30
  %318 = load i32, ptr %37, align 4, !tbaa !24
  %319 = sext i32 %318 to i64
  %320 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %319) #9
  store double %317, ptr %320, align 8, !tbaa !30
  %321 = load i32, ptr %37, align 4, !tbaa !24
  %322 = load i32, ptr %35, align 4, !tbaa !24
  %323 = sext i32 %322 to i64
  %324 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %323) #9
  store i32 %321, ptr %324, align 4, !tbaa !24
  %325 = load i32, ptr %35, align 4, !tbaa !24
  %326 = add nsw i32 %325, 1
  store i32 %326, ptr %35, align 4, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  br label %327

327:                                              ; preds = %305
  %328 = load i32, ptr %36, align 4, !tbaa !24
  %329 = add nsw i32 %328, 1
  store i32 %329, ptr %36, align 4, !tbaa !24
  br label %294, !llvm.loop !35

330:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %331 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %332 = load i32, ptr %34, align 4, !tbaa !24
  %333 = sext i32 %332 to i64
  %334 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %331, i64 noundef %333) #9
  %335 = load i32, ptr %334, align 4, !tbaa !24
  store i32 %335, ptr %38, align 4, !tbaa !24
  br label %336

336:                                              ; preds = %384, %330
  %337 = load i32, ptr %38, align 4, !tbaa !24
  %338 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 2
  %339 = load i32, ptr %34, align 4, !tbaa !24
  %340 = add nsw i32 %339, 1
  %341 = sext i32 %340 to i64
  %342 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %338, i64 noundef %341) #9
  %343 = load i32, ptr %342, align 4, !tbaa !24
  %344 = icmp slt i32 %337, %343
  br i1 %344, label %346, label %345

345:                                              ; preds = %336
  store i32 23, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  br label %387

346:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  %347 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 3
  %348 = load i32, ptr %38, align 4, !tbaa !24
  %349 = sext i32 %348 to i64
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %347, i64 noundef %349) #9
  %351 = load i32, ptr %350, align 4, !tbaa !24
  store i32 %351, ptr %39, align 4, !tbaa !24
  %352 = load i32, ptr %39, align 4, !tbaa !24
  %353 = sext i32 %352 to i64
  %354 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %353) #9
  %355 = load double, ptr %354, align 8, !tbaa !30
  %356 = fcmp une double %355, 0.000000e+00
  br i1 %356, label %357, label %368

357:                                              ; preds = %346
  %358 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 4
  %359 = load i32, ptr %38, align 4, !tbaa !24
  %360 = sext i32 %359 to i64
  %361 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %358, i64 noundef %360) #9
  %362 = load double, ptr %361, align 8, !tbaa !30
  %363 = load i32, ptr %39, align 4, !tbaa !24
  %364 = sext i32 %363 to i64
  %365 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %364) #9
  %366 = load double, ptr %365, align 8, !tbaa !30
  %367 = fadd double %366, %362
  store double %367, ptr %365, align 8, !tbaa !30
  br label %383

368:                                              ; preds = %346
  %369 = getelementptr inbounds %class.HighsHessian, ptr %11, i32 0, i32 4
  %370 = load i32, ptr %38, align 4, !tbaa !24
  %371 = sext i32 %370 to i64
  %372 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %369, i64 noundef %371) #9
  %373 = load double, ptr %372, align 8, !tbaa !30
  %374 = load i32, ptr %39, align 4, !tbaa !24
  %375 = sext i32 %374 to i64
  %376 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %375) #9
  store double %373, ptr %376, align 8, !tbaa !30
  %377 = load i32, ptr %39, align 4, !tbaa !24
  %378 = load i32, ptr %35, align 4, !tbaa !24
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %379) #9
  store i32 %377, ptr %380, align 4, !tbaa !24
  %381 = load i32, ptr %35, align 4, !tbaa !24
  %382 = add nsw i32 %381, 1
  store i32 %382, ptr %35, align 4, !tbaa !24
  br label %383

383:                                              ; preds = %368, %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %384

384:                                              ; preds = %383
  %385 = load i32, ptr %38, align 4, !tbaa !24
  %386 = add nsw i32 %385, 1
  store i32 %386, ptr %38, align 4, !tbaa !24
  br label %336, !llvm.loop !36

387:                                              ; preds = %345
  %388 = load i32, ptr %24, align 4, !tbaa !24
  %389 = load i32, ptr %35, align 4, !tbaa !24
  %390 = add nsw i32 %388, %389
  %391 = load i32, ptr %25, align 4, !tbaa !24
  %392 = icmp sgt i32 %390, %391
  br i1 %392, label %393, label %418

393:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %394 = load i32, ptr %24, align 4, !tbaa !24
  %395 = load i32, ptr %35, align 4, !tbaa !24
  %396 = add nsw i32 %394, %395
  store i32 %396, ptr %40, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %397 = load i32, ptr %25, align 4, !tbaa !24
  %398 = mul nsw i32 2, %397
  store i32 %398, ptr %41, align 4, !tbaa !24
  %399 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %400 unwind label %410

400:                                              ; preds = %393
  %401 = load i32, ptr %399, align 4, !tbaa !24
  store i32 %401, ptr %25, align 4, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  %402 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 3
  %403 = load i32, ptr %25, align 4, !tbaa !24
  %404 = sext i32 %403 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %402, i64 noundef %404)
          to label %405 unwind label %414

405:                                              ; preds = %400
  %406 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 4
  %407 = load i32, ptr %25, align 4, !tbaa !24
  %408 = sext i32 %407 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %406, i64 noundef %408)
          to label %409 unwind label %414

409:                                              ; preds = %405
  br label %418

410:                                              ; preds = %393
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %12, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %546

414:                                              ; preds = %405, %400
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %12, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %13, align 4
  br label %546

418:                                              ; preds = %409, %387
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  store i32 0, ptr %42, align 4, !tbaa !24
  br label %419

419:                                              ; preds = %461, %418
  %420 = load i32, ptr %42, align 4, !tbaa !24
  %421 = load i32, ptr %35, align 4, !tbaa !24
  %422 = icmp slt i32 %420, %421
  br i1 %422, label %424, label %423

423:                                              ; preds = %419
  store i32 26, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %464

424:                                              ; preds = %419
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #9
  %425 = load i32, ptr %42, align 4, !tbaa !24
  %426 = sext i32 %425 to i64
  %427 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %426) #9
  %428 = load i32, ptr %427, align 4, !tbaa !24
  store i32 %428, ptr %43, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  %429 = load i32, ptr %43, align 4, !tbaa !24
  %430 = sext i32 %429 to i64
  %431 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %430) #9
  %432 = load double, ptr %431, align 8, !tbaa !30
  %433 = fmul double 5.000000e-01, %432
  store double %433, ptr %44, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %434 = load double, ptr %44, align 8, !tbaa !30
  %435 = call double @llvm.fabs.f64(double %434)
  store double %435, ptr %45, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #9
  %436 = load double, ptr %45, align 8, !tbaa !30
  %437 = fcmp ogt double %436, 0.000000e+00
  %438 = zext i1 %437 to i8
  store i8 %438, ptr %46, align 1, !tbaa !25
  %439 = load i8, ptr %46, align 1, !tbaa !25, !range !37, !noundef !38
  %440 = trunc i8 %439 to i1
  br i1 %440, label %456, label %441

441:                                              ; preds = %424
  store double 0.000000e+00, ptr %44, align 8, !tbaa !30
  %442 = load double, ptr %32, align 8, !tbaa !30
  %443 = load double, ptr %45, align 8, !tbaa !30
  %444 = fcmp olt double %442, %443
  br i1 %444, label %445, label %447

445:                                              ; preds = %441
  %446 = load double, ptr %45, align 8, !tbaa !30
  store double %446, ptr %32, align 8, !tbaa !30
  br label %447

447:                                              ; preds = %445, %441
  %448 = load double, ptr %33, align 8, !tbaa !30
  %449 = load double, ptr %45, align 8, !tbaa !30
  %450 = fcmp ogt double %448, %449
  br i1 %450, label %451, label %453

451:                                              ; preds = %447
  %452 = load double, ptr %45, align 8, !tbaa !30
  store double %452, ptr %33, align 8, !tbaa !30
  br label %453

453:                                              ; preds = %451, %447
  %454 = load i32, ptr %31, align 4, !tbaa !24
  %455 = add nsw i32 %454, 1
  store i32 %455, ptr %31, align 4, !tbaa !24
  br label %456

456:                                              ; preds = %453, %424
  %457 = load double, ptr %44, align 8, !tbaa !30
  %458 = load i32, ptr %43, align 4, !tbaa !24
  %459 = sext i32 %458 to i64
  %460 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %459) #9
  store double %457, ptr %460, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  br label %461

461:                                              ; preds = %456
  %462 = load i32, ptr %42, align 4, !tbaa !24
  %463 = add nsw i32 %462, 1
  store i32 %463, ptr %42, align 4, !tbaa !24
  br label %419, !llvm.loop !39

464:                                              ; preds = %423
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  store i32 10, ptr %47, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #9
  store double 1.000000e-01, ptr %48, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  %465 = load i32, ptr %35, align 4, !tbaa !24
  %466 = sitofp i32 %465 to double
  %467 = fmul double 1.000000e+00, %466
  %468 = load i32, ptr %7, align 4, !tbaa !24
  %469 = sitofp i32 %468 to double
  %470 = fmul double 1.000000e+00, %469
  %471 = fdiv double %467, %470
  store double %471, ptr %49, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #9
  %472 = load i32, ptr %7, align 4, !tbaa !24
  store i32 %472, ptr %50, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #9
  %473 = load i32, ptr %7, align 4, !tbaa !24
  %474 = icmp sgt i32 %473, 10
  br i1 %474, label %475, label %478

475:                                              ; preds = %464
  %476 = load double, ptr %49, align 8, !tbaa !30
  %477 = fcmp olt double %476, 1.000000e-01
  br label %478

478:                                              ; preds = %475, %464
  %479 = phi i1 [ false, %464 ], [ %477, %475 ]
  %480 = zext i1 %479 to i8
  store i8 %480, ptr %51, align 1, !tbaa !25
  %481 = load i8, ptr %51, align 1, !tbaa !25, !range !37, !noundef !38
  %482 = trunc i8 %481 to i1
  br i1 %482, label %483, label %491

483:                                              ; preds = %478
  %484 = load i32, ptr %35, align 4, !tbaa !24
  store i32 %484, ptr %50, align 4, !tbaa !24
  %485 = load i32, ptr %35, align 4, !tbaa !24
  invoke void @_Z11sortSetDataiRSt6vectorIiSaIiEEPK12HighsVarTypePS3_(i32 noundef %485, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef null, ptr noundef null)
          to label %486 unwind label %487

486:                                              ; preds = %483
  br label %493

487:                                              ; preds = %483
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %12, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  br label %546

491:                                              ; preds = %478
  %492 = load i32, ptr %7, align 4, !tbaa !24
  store i32 %492, ptr %50, align 4, !tbaa !24
  br label %493

493:                                              ; preds = %491, %486
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #9
  store i32 0, ptr %52, align 4, !tbaa !24
  br label %494

494:                                              ; preds = %533, %493
  %495 = load i32, ptr %52, align 4, !tbaa !24
  %496 = load i32, ptr %50, align 4, !tbaa !24
  %497 = icmp slt i32 %495, %496
  br i1 %497, label %499, label %498

498:                                              ; preds = %494
  store i32 29, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  br label %536

499:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #9
  %500 = load i8, ptr %51, align 1, !tbaa !25, !range !37, !noundef !38
  %501 = trunc i8 %500 to i1
  br i1 %501, label %502, label %507

502:                                              ; preds = %499
  %503 = load i32, ptr %52, align 4, !tbaa !24
  %504 = sext i32 %503 to i64
  %505 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %504) #9
  %506 = load i32, ptr %505, align 4, !tbaa !24
  store i32 %506, ptr %53, align 4, !tbaa !24
  br label %509

507:                                              ; preds = %499
  %508 = load i32, ptr %52, align 4, !tbaa !24
  store i32 %508, ptr %53, align 4, !tbaa !24
  br label %509

509:                                              ; preds = %507, %502
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #9
  %510 = load i32, ptr %53, align 4, !tbaa !24
  %511 = sext i32 %510 to i64
  %512 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %511) #9
  %513 = load double, ptr %512, align 8, !tbaa !30
  store double %513, ptr %54, align 8, !tbaa !30
  %514 = load double, ptr %54, align 8, !tbaa !30
  %515 = fcmp une double %514, 0.000000e+00
  br i1 %515, label %516, label %532

516:                                              ; preds = %509
  %517 = load i32, ptr %53, align 4, !tbaa !24
  %518 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 3
  %519 = load i32, ptr %24, align 4, !tbaa !24
  %520 = sext i32 %519 to i64
  %521 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %518, i64 noundef %520) #9
  store i32 %517, ptr %521, align 4, !tbaa !24
  %522 = load double, ptr %54, align 8, !tbaa !30
  %523 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 4
  %524 = load i32, ptr %24, align 4, !tbaa !24
  %525 = sext i32 %524 to i64
  %526 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %523, i64 noundef %525) #9
  store double %522, ptr %526, align 8, !tbaa !30
  %527 = load i32, ptr %24, align 4, !tbaa !24
  %528 = add nsw i32 %527, 1
  store i32 %528, ptr %24, align 4, !tbaa !24
  %529 = load i32, ptr %53, align 4, !tbaa !24
  %530 = sext i32 %529 to i64
  %531 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %530) #9
  store double 0.000000e+00, ptr %531, align 8, !tbaa !30
  br label %532

532:                                              ; preds = %516, %509
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  br label %533

533:                                              ; preds = %532
  %534 = load i32, ptr %52, align 4, !tbaa !24
  %535 = add nsw i32 %534, 1
  store i32 %535, ptr %52, align 4, !tbaa !24
  br label %494, !llvm.loop !40

536:                                              ; preds = %498
  %537 = load i32, ptr %24, align 4, !tbaa !24
  %538 = getelementptr inbounds %class.HighsHessian, ptr %23, i32 0, i32 2
  %539 = load i32, ptr %34, align 4, !tbaa !24
  %540 = add nsw i32 %539, 1
  %541 = sext i32 %540 to i64
  %542 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %538, i64 noundef %541) #9
  store i32 %537, ptr %542, align 4, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  br label %543

543:                                              ; preds = %536
  %544 = load i32, ptr %34, align 4, !tbaa !24
  %545 = add nsw i32 %544, 1
  store i32 %545, ptr %34, align 4, !tbaa !24
  br label %266, !llvm.loop !41

546:                                              ; preds = %487, %414, %410
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %579

547:                                              ; preds = %270
  %548 = load i32, ptr %31, align 4, !tbaa !24
  %549 = icmp ne i32 %548, 0
  br i1 %549, label %550, label %561

550:                                              ; preds = %547
  %551 = load ptr, ptr %4, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %551, i32 0, i32 130
  %553 = load i32, ptr %31, align 4, !tbaa !24
  %554 = load double, ptr %33, align 8, !tbaa !30
  %555 = load double, ptr %32, align 8, !tbaa !30
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %552, i32 noundef 4, ptr noundef @.str.75, i32 noundef %553, double noundef %554, double noundef %555, double noundef 0.000000e+00)
          to label %556 unwind label %557

556:                                              ; preds = %550
  store i8 1, ptr %10, align 1, !tbaa !25
  br label %561

557:                                              ; preds = %561, %550
  %558 = landingpad { ptr, i32 }
          cleanup
  %559 = extractvalue { ptr, i32 } %558, 0
  store ptr %559, ptr %12, align 8
  %560 = extractvalue { ptr, i32 } %558, 1
  store i32 %560, ptr %13, align 4
  br label %579

561:                                              ; preds = %556, %547
  %562 = load ptr, ptr %5, align 8, !tbaa !5
  %563 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN12HighsHessianaSERKS_(ptr noundef nonnull align 8 dereferenceable(80) %562, ptr noundef nonnull align 8 dereferenceable(80) %23)
          to label %564 unwind label %557

564:                                              ; preds = %561
  %565 = load ptr, ptr %5, align 8, !tbaa !5
  %566 = getelementptr inbounds %class.HighsHessian, ptr %565, i32 0, i32 1
  %567 = load i32, ptr %566, align 4, !tbaa !9
  %568 = icmp eq i32 %567, 2
  br i1 %568, label %569, label %570

569:                                              ; preds = %564
  br label %572

570:                                              ; preds = %564
  call void @__assert_fail(ptr noundef @.str.74, ptr noundef @.str.60, i32 noundef 476, ptr noundef @__PRETTY_FUNCTION__._Z16normaliseHessianRK12HighsOptionsR12HighsHessian) #8
  unreachable

571:                                              ; No predecessors!
  br label %572

572:                                              ; preds = %571, %569
  %573 = load i8, ptr %10, align 1, !tbaa !25, !range !37, !noundef !38
  %574 = trunc i8 %573 to i1
  br i1 %574, label %575, label %576

575:                                              ; preds = %572
  store i32 1, ptr %6, align 4, !tbaa !21
  br label %577

576:                                              ; preds = %572
  store i32 0, ptr %6, align 4, !tbaa !21
  br label %577

577:                                              ; preds = %576, %575
  %578 = load i32, ptr %6, align 4, !tbaa !21
  store i32 %578, ptr %3, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %23) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  br label %585

579:                                              ; preds = %557, %546
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  br label %580

580:                                              ; preds = %579, %283, %279
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  br label %581

581:                                              ; preds = %580, %275
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %23) #9
  br label %582

582:                                              ; preds = %581, %271
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #9
  br label %583

583:                                              ; preds = %582, %103
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  br label %584

584:                                              ; preds = %583, %99
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %587

585:                                              ; preds = %577, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %586 = load i32, ptr %3, align 4
  ret i32 %586

587:                                              ; preds = %584
  %588 = load ptr, ptr %12, align 8
  %589 = load i32, ptr %13, align 4
  %590 = insertvalue { ptr, i32 } poison, ptr %588, 0
  %591 = insertvalue { ptr, i32 } %590, i32 %589, 1
  resume { ptr, i32 } %591
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

declare void @_Z11sortSetDataiRSt6vectorIiSaIiEEPK12HighsVarTypePS3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN12HighsHessianaSERKS_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) #7 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 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 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { inlinehint 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 #8 = { noreturn nounwind }
attributes #9 = { 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, !12, i64 4}
!10 = !{!"_ZTS12HighsHessian", !11, i64 0, !12, i64 4, !13, i64 8, !13, i64 32, !17, i64 56}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS13HessianFormat", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS11HighsStatus", !7, i64 0}
!23 = !{!10, !11, i64 0}
!24 = !{!11, !11, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = !{!31, !31, i64 0}
!31 = !{!"double", !7, i64 0}
!32 = distinct !{!32, !28}
!33 = distinct !{!33, !28}
!34 = distinct !{!34, !28}
!35 = distinct !{!35, !28}
!36 = distinct !{!36, !28}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = distinct !{!39, !28}
!40 = distinct !{!40, !28}
!41 = distinct !{!41, !28}


; 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.HighsHessian = type { i32, i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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 }

@.str.60 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._Z16normaliseHessianRK12HighsOptionsR12HighsHessian = external hidden unnamed_addr constant [67 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [75 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_Z16normaliseHessianRK12HighsOptionsR12HighsHessian(ptr noundef nonnull align 8 dereferenceable(1020) %0, ptr noundef nonnull align 8 dereferenceable(80) %1) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.HighsHessian, align 8
  %4 = alloca %"class.std::vector.3", align 8
  %5 = alloca i32, align 4
  %6 = alloca %class.HighsHessian, align 8
  %7 = alloca %"class.std::vector.8", align 8
  %8 = alloca %"class.std::vector.3", align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = getelementptr inbounds i8, ptr %1, i64 4
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = icmp eq i32 %13, 2
  br i1 %14, label %16, label %15

15:                                               ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.74, ptr noundef nonnull @.str.60, i32 noundef 329, ptr noundef nonnull @__PRETTY_FUNCTION__._Z16normaliseHessianRK12HighsOptionsR12HighsHessian) #8
  unreachable

16:                                               ; preds = %2
  %17 = load i32, ptr %1, align 8, !tbaa !20
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = sext i32 %17 to i64
  %20 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %19) #9
  %21 = load i32, ptr %20, align 4, !tbaa !21
  %22 = icmp slt i32 %21, 1
  br i1 %22, label %224, label %23

23:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #9
  call void @_ZN12HighsHessianC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3)
  store i32 %17, ptr %3, align 8, !tbaa !20
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = add nsw i32 %17, 1
  %26 = sext i32 %25 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %26)
          to label %27 unwind label %36

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %3, i64 32
  %29 = zext nneg i32 %21 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %29)
          to label %30 unwind label %36

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %3, i64 56
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %29)
          to label %32 unwind label %36

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  store i32 0, ptr %5, align 4, !tbaa !21
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %19, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %.lr.ph unwind label %38

.lr.ph:                                           ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  %33 = getelementptr inbounds i8, ptr %1, i64 32
  br label %40

._crit_edge:                                      ; preds = %40
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #9
  store i32 0, ptr %34, align 4, !tbaa !21
  %35 = icmp sgt i32 %17, 0
  br i1 %35, label %.lr.ph208.preheader, label %._crit_edge214.thread

.lr.ph208.preheader:                              ; preds = %._crit_edge
  %wide.trip.count267 = zext nneg i32 %17 to i64
  br label %.lr.ph208

36:                                               ; preds = %30, %27, %23
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %223

38:                                               ; preds = %32
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  br label %222

40:                                               ; preds = %.lr.ph, %40
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %40 ]
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %indvars.iv) #9
  %42 = load i32, ptr %41, align 4, !tbaa !21
  %43 = sext i32 %42 to i64
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %43) #9
  %45 = load i32, ptr %44, align 4, !tbaa !21
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %44, align 4, !tbaa !21
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %29
  br i1 %exitcond.not, label %._crit_edge, label %40, !llvm.loop !22

.preheader:                                       ; preds = %.lr.ph208
  br i1 %35, label %.lr.ph213, label %._crit_edge214.thread

.lr.ph213:                                        ; preds = %.preheader
  %47 = getelementptr inbounds i8, ptr %1, i64 32
  %48 = getelementptr inbounds i8, ptr %1, i64 56
  %wide.trip.count275 = zext nneg i32 %17 to i64
  br label %57

.lr.ph208:                                        ; preds = %.lr.ph208.preheader, %.lr.ph208
  %indvars.iv264 = phi i64 [ 0, %.lr.ph208.preheader ], [ %indvars.iv.next265, %.lr.ph208 ]
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv264) #9
  %50 = load i32, ptr %49, align 4, !tbaa !21
  %51 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv264) #9
  %52 = load i32, ptr %51, align 4, !tbaa !21
  %53 = add nsw i32 %52, %50
  %indvars.iv.next265 = add nuw nsw i64 %indvars.iv264, 1
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next265) #9
  store i32 %53, ptr %54, align 4, !tbaa !21
  %exitcond268.not = icmp eq i64 %indvars.iv.next265, %wide.trip.count267
  br i1 %exitcond268.not, label %.preheader, label %.lr.ph208, !llvm.loop !24

.loopexit:                                        ; preds = %.lr.ph211, %57
  %exitcond276.not = icmp eq i64 %indvars.iv.next273, %wide.trip.count275
  br i1 %exitcond276.not, label %._crit_edge214, label %57, !llvm.loop !25

._crit_edge214.thread:                            ; preds = %.preheader, %._crit_edge
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #9
  store i32 0, ptr %55, align 4, !tbaa !21
  br label %._crit_edge218

._crit_edge214:                                   ; preds = %.loopexit
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #9
  store i32 0, ptr %56, align 4, !tbaa !21
  br i1 %35, label %.lr.ph217.preheader, label %._crit_edge218

.lr.ph217.preheader:                              ; preds = %._crit_edge214
  %wide.trip.count280 = zext nneg i32 %17 to i64
  br label %.lr.ph217

57:                                               ; preds = %.lr.ph213, %.loopexit
  %indvars.iv272 = phi i64 [ 0, %.lr.ph213 ], [ %indvars.iv.next273, %.loopexit ]
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv272) #9
  %59 = load i32, ptr %58, align 4, !tbaa !21
  %indvars.iv.next273 = add nuw nsw i64 %indvars.iv272, 1
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv.next273) #9
  %61 = load i32, ptr %60, align 4, !tbaa !21
  %62 = icmp slt i32 %59, %61
  br i1 %62, label %.lr.ph211.preheader, label %.loopexit

.lr.ph211.preheader:                              ; preds = %57
  %63 = sext i32 %59 to i64
  %64 = trunc nuw nsw i64 %indvars.iv272 to i32
  br label %.lr.ph211

.lr.ph211:                                        ; preds = %.lr.ph211.preheader, %.lr.ph211
  %indvars.iv269 = phi i64 [ %63, %.lr.ph211.preheader ], [ %indvars.iv.next270, %.lr.ph211 ]
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %indvars.iv269) #9
  %66 = load i32, ptr %65, align 4, !tbaa !21
  %67 = sext i32 %66 to i64
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %67) #9
  %69 = load i32, ptr %68, align 4, !tbaa !21
  %70 = sext i32 %69 to i64
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %70) #9
  store i32 %64, ptr %71, align 4, !tbaa !21
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %indvars.iv269) #9
  %73 = load double, ptr %72, align 8, !tbaa !26
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %70) #9
  store double %73, ptr %74, align 8, !tbaa !26
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %67) #9
  %76 = load i32, ptr %75, align 4, !tbaa !21
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %75, align 4, !tbaa !21
  %indvars.iv.next270 = add nsw i64 %indvars.iv269, 1
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv.next273) #9
  %79 = load i32, ptr %78, align 4, !tbaa !21
  %80 = sext i32 %79 to i64
  %81 = icmp slt i64 %indvars.iv.next270, %80
  br i1 %81, label %.lr.ph211, label %.loopexit, !llvm.loop !28

._crit_edge218:                                   ; preds = %.lr.ph217, %._crit_edge214.thread, %._crit_edge214
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #9
  invoke void @_ZN12HighsHessianC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %88 unwind label %103

.lr.ph217:                                        ; preds = %.lr.ph217.preheader, %.lr.ph217
  %indvars.iv277 = phi i64 [ 0, %.lr.ph217.preheader ], [ %indvars.iv.next278, %.lr.ph217 ]
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv277) #9
  %83 = load i32, ptr %82, align 4, !tbaa !21
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv277) #9
  %85 = load i32, ptr %84, align 4, !tbaa !21
  %86 = add nsw i32 %85, %83
  %indvars.iv.next278 = add nuw nsw i64 %indvars.iv277, 1
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next278) #9
  store i32 %86, ptr %87, align 4, !tbaa !21
  %exitcond281.not = icmp eq i64 %indvars.iv.next278, %wide.trip.count280
  br i1 %exitcond281.not, label %._crit_edge218, label %.lr.ph217, !llvm.loop !29

88:                                               ; preds = %._crit_edge218
  %89 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 2, ptr %89, align 4, !tbaa !5
  store i32 %17, ptr %6, align 8, !tbaa !20
  %90 = getelementptr inbounds i8, ptr %6, i64 8
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %26)
          to label %91 unwind label %105

91:                                               ; preds = %88
  %92 = getelementptr inbounds i8, ptr %6, i64 32
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %29)
          to label %93 unwind label %105

93:                                               ; preds = %91
  %94 = getelementptr inbounds i8, ptr %6, i64 56
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %29)
          to label %95 unwind label %105

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %19)
          to label %96 unwind label %107

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  store double 0.000000e+00, ptr %9, align 8, !tbaa !26
  invoke void @_ZNSt6vectorIdSaIdEE6assignEmRKd(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %19, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %97 unwind label %109

97:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef 0) #9
  store i32 0, ptr %98, align 4, !tbaa !21
  br i1 %35, label %.lr.ph255, label %._crit_edge256.thread

.lr.ph255:                                        ; preds = %97
  %99 = getelementptr inbounds i8, ptr %1, i64 32
  %100 = getelementptr inbounds i8, ptr %1, i64 56
  %101 = uitofp nneg i32 %17 to double
  %102 = icmp ugt i32 %17, 10
  %wide.trip.count305 = zext nneg i32 %17 to i64
  br label %111

._crit_edge256:                                   ; preds = %._crit_edge246
  %.not.not.not = icmp eq i32 %.1177.lcssa, 0
  br i1 %.not.not.not, label %._crit_edge256.thread, label %209

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

105:                                              ; preds = %93, %91, %88
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %220

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

109:                                              ; preds = %96
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %219

111:                                              ; preds = %.lr.ph255, %._crit_edge246
  %indvars.iv302 = phi i64 [ 0, %.lr.ph255 ], [ %indvars.iv.next303, %._crit_edge246 ]
  %.0168252 = phi double [ 0x7FF0000000000000, %.lr.ph255 ], [ %.1169.lcssa, %._crit_edge246 ]
  %.0172251 = phi double [ 0.000000e+00, %.lr.ph255 ], [ %.1173.lcssa, %._crit_edge246 ]
  %.0176250 = phi i32 [ 0, %.lr.ph255 ], [ %.1177.lcssa, %._crit_edge246 ]
  %.0180249 = phi i32 [ 0, %.lr.ph255 ], [ %.1181.lcssa, %._crit_edge246 ]
  %.0183248 = phi i32 [ %21, %.lr.ph255 ], [ %.1184, %._crit_edge246 ]
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv302) #9
  %113 = load i32, ptr %112, align 4, !tbaa !21
  %indvars.iv.next303 = add nuw nsw i64 %indvars.iv302, 1
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv.next303) #9
  %115 = load i32, ptr %114, align 4, !tbaa !21
  %116 = icmp slt i32 %113, %115
  br i1 %116, label %.lr.ph222.preheader, label %._crit_edge223

.lr.ph222.preheader:                              ; preds = %111
  %117 = sext i32 %113 to i64
  br label %.lr.ph222

._crit_edge223.loopexit:                          ; preds = %.lr.ph222
  %118 = trunc nuw i64 %indvars.iv.next285 to i32
  br label %._crit_edge223

._crit_edge223:                                   ; preds = %._crit_edge223.loopexit, %111
  %.0164.lcssa = phi i32 [ 0, %111 ], [ %118, %._crit_edge223.loopexit ]
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv302) #9
  %120 = load i32, ptr %119, align 4, !tbaa !21
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next303) #9
  %122 = load i32, ptr %121, align 4, !tbaa !21
  %123 = icmp slt i32 %120, %122
  br i1 %123, label %.lr.ph229.preheader, label %._crit_edge230

.lr.ph229.preheader:                              ; preds = %._crit_edge223
  %124 = sext i32 %120 to i64
  br label %.lr.ph229

.lr.ph222:                                        ; preds = %.lr.ph222.preheader, %.lr.ph222
  %indvars.iv284 = phi i64 [ 0, %.lr.ph222.preheader ], [ %indvars.iv.next285, %.lr.ph222 ]
  %indvars.iv282 = phi i64 [ %117, %.lr.ph222.preheader ], [ %indvars.iv.next283, %.lr.ph222 ]
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %indvars.iv282) #9
  %126 = load i32, ptr %125, align 4, !tbaa !21
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %indvars.iv282) #9
  %128 = load double, ptr %127, align 8, !tbaa !26
  %129 = sext i32 %126 to i64
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %129) #9
  store double %128, ptr %130, align 8, !tbaa !26
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv284) #9
  store i32 %126, ptr %131, align 4, !tbaa !21
  %indvars.iv.next285 = add nuw nsw i64 %indvars.iv284, 1
  %indvars.iv.next283 = add nsw i64 %indvars.iv282, 1
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv.next303) #9
  %133 = load i32, ptr %132, align 4, !tbaa !21
  %134 = sext i32 %133 to i64
  %135 = icmp slt i64 %indvars.iv.next283, %134
  br i1 %135, label %.lr.ph222, label %._crit_edge223.loopexit, !llvm.loop !30

._crit_edge230:                                   ; preds = %154, %._crit_edge223
  %.1165.lcssa = phi i32 [ %.0164.lcssa, %._crit_edge223 ], [ %.2166, %154 ]
  %136 = add nsw i32 %.1165.lcssa, %.0180249
  %137 = icmp sgt i32 %136, %.0183248
  br i1 %137, label %159, label %167

.lr.ph229:                                        ; preds = %.lr.ph229.preheader, %154
  %indvars.iv289 = phi i64 [ %124, %.lr.ph229.preheader ], [ %indvars.iv.next290, %154 ]
  %.1165226 = phi i32 [ %.0164.lcssa, %.lr.ph229.preheader ], [ %.2166, %154 ]
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %indvars.iv289) #9
  %139 = load i32, ptr %138, align 4, !tbaa !21
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %140) #9
  %142 = load double, ptr %141, align 8, !tbaa !26
  %143 = fcmp une double %142, 0.000000e+00
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %indvars.iv289) #9
  %145 = load double, ptr %144, align 8, !tbaa !26
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %140) #9
  br i1 %143, label %147, label %150

147:                                              ; preds = %.lr.ph229
  %148 = load double, ptr %146, align 8, !tbaa !26
  %149 = fadd double %145, %148
  store double %149, ptr %146, align 8, !tbaa !26
  br label %154

150:                                              ; preds = %.lr.ph229
  store double %145, ptr %146, align 8, !tbaa !26
  %151 = sext i32 %.1165226 to i64
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %151) #9
  store i32 %139, ptr %152, align 4, !tbaa !21
  %153 = add nsw i32 %.1165226, 1
  br label %154

154:                                              ; preds = %150, %147
  %.2166 = phi i32 [ %.1165226, %147 ], [ %153, %150 ]
  %indvars.iv.next290 = add nsw i64 %indvars.iv289, 1
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next303) #9
  %156 = load i32, ptr %155, align 4, !tbaa !21
  %157 = sext i32 %156 to i64
  %158 = icmp slt i64 %indvars.iv.next290, %157
  br i1 %158, label %.lr.ph229, label %._crit_edge230, !llvm.loop !31

159:                                              ; preds = %._crit_edge230
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #9
  store i32 %136, ptr %10, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #9
  %160 = shl nsw i32 %.0183248, 1
  store i32 %160, ptr %11, align 4, !tbaa !21
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %162 = load i32, ptr %161, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  %163 = sext i32 %162 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %163)
          to label %164 unwind label %165

164:                                              ; preds = %159
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %163)
          to label %167 unwind label %165

165:                                              ; preds = %164, %159
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %219

167:                                              ; preds = %164, %._crit_edge230
  %.1184 = phi i32 [ %162, %164 ], [ %.0183248, %._crit_edge230 ]
  %168 = icmp sgt i32 %.1165.lcssa, 0
  br i1 %168, label %.lr.ph237.preheader, label %._crit_edge238

.lr.ph237.preheader:                              ; preds = %167
  %wide.trip.count295 = zext nneg i32 %.1165.lcssa to i64
  br label %.lr.ph237

._crit_edge238:                                   ; preds = %185, %167
  %.1177.lcssa = phi i32 [ %.0176250, %167 ], [ %.2178, %185 ]
  %.1173.lcssa = phi double [ %.0172251, %167 ], [ %.3175, %185 ]
  %.1169.lcssa = phi double [ %.0168252, %167 ], [ %.3171, %185 ]
  %169 = sitofp i32 %.1165.lcssa to double
  %170 = fdiv double %169, %101
  %171 = fcmp olt double %170, 1.000000e-01
  %172 = and i1 %102, %171
  br i1 %172, label %187, label %190

.lr.ph237:                                        ; preds = %.lr.ph237.preheader, %185
  %indvars.iv292 = phi i64 [ 0, %.lr.ph237.preheader ], [ %indvars.iv.next293, %185 ]
  %.1169234 = phi double [ %.0168252, %.lr.ph237.preheader ], [ %.3171, %185 ]
  %.1173233 = phi double [ %.0172251, %.lr.ph237.preheader ], [ %.3175, %185 ]
  %.1177232 = phi i32 [ %.0176250, %.lr.ph237.preheader ], [ %.2178, %185 ]
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv292) #9
  %174 = load i32, ptr %173, align 4, !tbaa !21
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %175) #9
  %177 = load double, ptr %176, align 8, !tbaa !26
  %178 = fmul double %177, 5.000000e-01
  %179 = fcmp ueq double %178, 0.000000e+00
  br i1 %179, label %180, label %185

180:                                              ; preds = %.lr.ph237
  %181 = call double @llvm.fabs.f64(double %178)
  %182 = fcmp olt double %.1173233, %181
  %.2174 = select i1 %182, double %181, double %.1173233
  %183 = fcmp ogt double %.1169234, %181
  %.2170 = select i1 %183, double %181, double %.1169234
  %184 = add nsw i32 %.1177232, 1
  br label %185

185:                                              ; preds = %180, %.lr.ph237
  %.2178 = phi i32 [ %.1177232, %.lr.ph237 ], [ %184, %180 ]
  %.3175 = phi double [ %.1173233, %.lr.ph237 ], [ %.2174, %180 ]
  %.3171 = phi double [ %.1169234, %.lr.ph237 ], [ %.2170, %180 ]
  %.0157 = phi double [ %178, %.lr.ph237 ], [ 0.000000e+00, %180 ]
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %175) #9
  store double %.0157, ptr %186, align 8, !tbaa !26
  %indvars.iv.next293 = add nuw nsw i64 %indvars.iv292, 1
  %exitcond296.not = icmp eq i64 %indvars.iv.next293, %wide.trip.count295
  br i1 %exitcond296.not, label %._crit_edge238, label %.lr.ph237, !llvm.loop !32

187:                                              ; preds = %._crit_edge238
  invoke void @_Z11sortSetDataiRSt6vectorIiSaIiEEPK12HighsVarTypePS3_(i32 noundef %.1165.lcssa, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef null, ptr noundef null)
          to label %190 unwind label %188

188:                                              ; preds = %187
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %219

190:                                              ; preds = %._crit_edge238, %187
  %.0146 = phi i32 [ %.1165.lcssa, %187 ], [ %17, %._crit_edge238 ]
  %191 = icmp sgt i32 %.0146, 0
  br i1 %191, label %.lr.ph245.preheader, label %._crit_edge246

.lr.ph245.preheader:                              ; preds = %190
  %wide.trip.count300 = zext nneg i32 %.0146 to i64
  br label %.lr.ph245

._crit_edge246:                                   ; preds = %208, %190
  %.1181.lcssa = phi i32 [ %.0180249, %190 ], [ %.2182, %208 ]
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %indvars.iv.next303) #9
  store i32 %.1181.lcssa, ptr %192, align 4, !tbaa !21
  %exitcond306.not = icmp eq i64 %indvars.iv.next303, %wide.trip.count305
  br i1 %exitcond306.not, label %._crit_edge256, label %111, !llvm.loop !33

.lr.ph245:                                        ; preds = %.lr.ph245.preheader, %208
  %indvars.iv297 = phi i64 [ 0, %.lr.ph245.preheader ], [ %indvars.iv.next298, %208 ]
  %.1181242 = phi i32 [ %.0180249, %.lr.ph245.preheader ], [ %.2182, %208 ]
  %193 = trunc nuw nsw i64 %indvars.iv297 to i32
  br i1 %172, label %194, label %197

194:                                              ; preds = %.lr.ph245
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv297) #9
  %196 = load i32, ptr %195, align 4, !tbaa !21
  br label %197

197:                                              ; preds = %.lr.ph245, %194
  %.0143 = phi i32 [ %196, %194 ], [ %193, %.lr.ph245 ]
  %198 = sext i32 %.0143 to i64
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %198) #9
  %200 = load double, ptr %199, align 8, !tbaa !26
  %201 = fcmp une double %200, 0.000000e+00
  br i1 %201, label %202, label %208

202:                                              ; preds = %197
  %203 = sext i32 %.1181242 to i64
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %203) #9
  store i32 %.0143, ptr %204, align 4, !tbaa !21
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %203) #9
  store double %200, ptr %205, align 8, !tbaa !26
  %206 = add nsw i32 %.1181242, 1
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %198) #9
  store double 0.000000e+00, ptr %207, align 8, !tbaa !26
  br label %208

208:                                              ; preds = %202, %197
  %.2182 = phi i32 [ %206, %202 ], [ %.1181242, %197 ]
  %indvars.iv.next298 = add nuw nsw i64 %indvars.iv297, 1
  %exitcond301.not = icmp eq i64 %indvars.iv.next298, %wide.trip.count300
  br i1 %exitcond301.not, label %._crit_edge246, label %.lr.ph245, !llvm.loop !34

209:                                              ; preds = %._crit_edge256
  %210 = getelementptr inbounds i8, ptr %0, i64 896
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %210, i32 noundef 4, ptr noundef nonnull @.str.75, i32 noundef %.1177.lcssa, double noundef %.1169.lcssa, double noundef %.1173.lcssa, double noundef 0.000000e+00)
          to label %._crit_edge256.thread unwind label %211

211:                                              ; preds = %._crit_edge256.thread, %209
  %212 = landingpad { ptr, i32 }
          cleanup
  br label %219

._crit_edge256.thread:                            ; preds = %97, %209, %._crit_edge256
  %.not.not311 = phi i32 [ 1, %209 ], [ 0, %._crit_edge256 ], [ 0, %97 ]
  %213 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN12HighsHessianaSERKS_(ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %214 unwind label %211

214:                                              ; preds = %._crit_edge256.thread
  %215 = load i32, ptr %12, align 4, !tbaa !5
  %216 = icmp eq i32 %215, 2
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  call void @__assert_fail(ptr noundef nonnull @.str.74, ptr noundef nonnull @.str.60, i32 noundef 476, ptr noundef nonnull @__PRETTY_FUNCTION__._Z16normaliseHessianRK12HighsOptionsR12HighsHessian) #8
  unreachable

218:                                              ; preds = %214
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #9
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #9
  br label %224

219:                                              ; preds = %211, %188, %165, %109, %107
  %.pn.pn.pn = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ], [ %212, %211 ], [ %189, %188 ], [ %166, %165 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #9
  br label %220

220:                                              ; preds = %219, %105
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %219 ], [ %106, %105 ]
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #9
  br label %221

221:                                              ; preds = %220, %103
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %220 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #9
  br label %222

222:                                              ; preds = %221, %38
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %221 ], [ %39, %38 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  br label %223

223:                                              ; preds = %222, %36
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %222 ], [ %37, %36 ]
  call void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn

224:                                              ; preds = %16, %218
  %.0 = phi i32 [ %.not.not311, %218 ], [ 0, %16 ]
  ret i32 %.0
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

declare void @_Z11sortSetDataiRSt6vectorIiSaIiEEPK12HighsVarTypePS3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN12HighsHessianaSERKS_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #7 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsHessianD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { inlinehint 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 #8 = { noreturn nounwind }
attributes #9 = { 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, !10, i64 4}
!6 = !{!"_ZTS12HighsHessian", !7, i64 0, !10, i64 4, !11, i64 8, !11, i64 32, !16, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS13HessianFormat", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTSSt6vectorIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!20 = !{!6, !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !8, i64 0}
!28 = distinct !{!28, !23}
!29 = distinct !{!29, !23}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}
!32 = distinct !{!32, !23}
!33 = distinct !{!33, !23}
!34 = distinct !{!34, !23}


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