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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.OptionRecord = type <{ ptr, i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%class.OptionRecordBool = type <{ %class.OptionRecord.base, [7 x i8], ptr, i8, [7 x i8] }>
%class.OptionRecord.base = type <{ ptr, i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8 }>
%class.OptionRecordInt = type <{ %class.OptionRecord.base, [7 x i8], ptr, i32, i32, i32, [4 x i8] }>
%class.OptionRecordDouble = type { %class.OptionRecord.base, ptr, double, double, double }
%class.OptionRecordString = type { %class.OptionRecord.base, ptr, %"class.std::__cxx11::basic_string" }

@.str.66 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [30 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z12checkOptionsRK15HighsLogOptionsRKSt6vectorIP12OptionRecordSaIS4_EE(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  store i8 0, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = call noundef i64 @_ZNKSt6vectorIP12OptionRecordSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %34 = trunc i64 %33 to i32
  store i32 %34, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !11
  br label %35

35:                                               ; preds = %381, %2
  %36 = load i32, ptr %8, align 4, !tbaa !11
  %37 = load i32, ptr %7, align 4, !tbaa !11
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %385

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load i32, ptr %8, align 4, !tbaa !11
  %43 = sext i32 %42 to i64
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %43) #5
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.OptionRecord, ptr %45, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %46)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = load i32, ptr %8, align 4, !tbaa !11
  %49 = sext i32 %48 to i64
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %49) #5
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  %52 = getelementptr inbounds %class.OptionRecord, ptr %51, i32 0, i32 1
  %53 = load i32, ptr %52, align 8, !tbaa !13
  store i32 %53, ptr %11, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %54

54:                                               ; preds = %89, %40
  %55 = load i32, ptr %12, align 4, !tbaa !11
  %56 = load i32, ptr %7, align 4, !tbaa !11
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %93

59:                                               ; preds = %54
  %60 = load i32, ptr %12, align 4, !tbaa !11
  %61 = load i32, ptr %8, align 4, !tbaa !11
  %62 = icmp eq i32 %60, %61
  br i1 %62, label %63, label %64

63:                                               ; preds = %59
  br label %89

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = load i32, ptr %12, align 4, !tbaa !11
  %67 = sext i32 %66 to i64
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67) #5
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = getelementptr inbounds %class.OptionRecord, ptr %69, i32 0, i32 3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %71 unwind label %80

71:                                               ; preds = %64
  %72 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br i1 %72, label %73, label %88

73:                                               ; preds = %71
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = load i32, ptr %8, align 4, !tbaa !11
  %76 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  %77 = load i32, ptr %12, align 4, !tbaa !11
  %78 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %74, i32 noundef 5, ptr noundef @.str.66, i32 noundef %75, ptr noundef %76, i32 noundef %77, ptr noundef %78)
          to label %79 unwind label %84

79:                                               ; preds = %73
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %88

80:                                               ; preds = %64
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %14, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %15, align 4
  br label %92

84:                                               ; preds = %73
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %14, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %92

88:                                               ; preds = %79, %71
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  br label %89

89:                                               ; preds = %88, %63
  %90 = load i32, ptr %12, align 4, !tbaa !11
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %12, align 4, !tbaa !11
  br label %54, !llvm.loop !20

92:                                               ; preds = %84, %80
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %384

93:                                               ; preds = %58
  %94 = load i32, ptr %11, align 4, !tbaa !19
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %96, label %158

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = load i32, ptr %8, align 4, !tbaa !11
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %99) #5
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds %class.OptionRecordBool, ptr %101, i64 0
  store ptr %102, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = getelementptr inbounds %class.OptionRecordBool, ptr %103, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !22
  store ptr %105, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %106

106:                                              ; preds = %154, %96
  %107 = load i32, ptr %18, align 4, !tbaa !11
  %108 = load i32, ptr %7, align 4, !tbaa !11
  %109 = icmp slt i32 %107, %108
  br i1 %109, label %111, label %110

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

111:                                              ; preds = %106
  %112 = load i32, ptr %18, align 4, !tbaa !11
  %113 = load i32, ptr %8, align 4, !tbaa !11
  %114 = icmp eq i32 %112, %113
  br i1 %114, label %115, label %116

115:                                              ; preds = %111
  br label %154

116:                                              ; preds = %111
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = load i32, ptr %18, align 4, !tbaa !11
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #5
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = getelementptr inbounds %class.OptionRecord, ptr %121, i32 0, i32 1
  %123 = load i32, ptr %122, align 8, !tbaa !13
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %125, label %153

125:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = load i32, ptr %18, align 4, !tbaa !11
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #5
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  %131 = getelementptr inbounds %class.OptionRecordBool, ptr %130, i64 0
  store ptr %131, ptr %19, align 8, !tbaa !5
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  %133 = getelementptr inbounds %class.OptionRecordBool, ptr %132, i32 0, i32 2
  %134 = load ptr, ptr %133, align 8, !tbaa !22
  %135 = load ptr, ptr %17, align 8, !tbaa !5
  %136 = icmp eq ptr %134, %135
  br i1 %136, label %137, label %152

137:                                              ; preds = %125
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = load i32, ptr %8, align 4, !tbaa !11
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = getelementptr inbounds %class.OptionRecord, ptr %140, i32 0, i32 3
  %142 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %141) #5
  %143 = load i32, ptr %18, align 4, !tbaa !11
  %144 = load ptr, ptr %19, align 8, !tbaa !5
  %145 = getelementptr inbounds %class.OptionRecord, ptr %144, i32 0, i32 3
  %146 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %145) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %138, i32 noundef 5, ptr noundef @.str.67, i32 noundef %139, ptr noundef %142, i32 noundef %143, ptr noundef %146)
          to label %147 unwind label %148

147:                                              ; preds = %137
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %152

148:                                              ; preds = %137
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %14, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %384

152:                                              ; preds = %147, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %153

153:                                              ; preds = %152, %116
  br label %154

154:                                              ; preds = %153, %115
  %155 = load i32, ptr %18, align 4, !tbaa !11
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %18, align 4, !tbaa !11
  br label %106, !llvm.loop !24

157:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %380

158:                                              ; preds = %93
  %159 = load i32, ptr %11, align 4, !tbaa !19
  %160 = icmp eq i32 %159, 1
  br i1 %160, label %161, label %235

161:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = load i32, ptr %8, align 4, !tbaa !11
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef %164) #5
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = getelementptr inbounds %class.OptionRecordInt, ptr %166, i64 0
  store ptr %167, ptr %20, align 8, !tbaa !5
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = load ptr, ptr %20, align 8, !tbaa !5
  %170 = invoke noundef i32 @_Z11checkOptionRK15HighsLogOptionsRK15OptionRecordInt(ptr noundef nonnull align 8 dereferenceable(89) %168, ptr noundef nonnull align 8 dereferenceable(108) %169)
          to label %171 unwind label %174

171:                                              ; preds = %161
  %172 = icmp ne i32 %170, 0
  br i1 %172, label %173, label %178

173:                                              ; preds = %171
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %178

174:                                              ; preds = %161
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %14, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %15, align 4
  br label %234

178:                                              ; preds = %173, %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %179 = load ptr, ptr %20, align 8, !tbaa !5
  %180 = getelementptr inbounds %class.OptionRecordInt, ptr %179, i32 0, i32 2
  %181 = load ptr, ptr %180, align 8, !tbaa !25
  store ptr %181, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !11
  br label %182

182:                                              ; preds = %230, %178
  %183 = load i32, ptr %22, align 4, !tbaa !11
  %184 = load i32, ptr %7, align 4, !tbaa !11
  %185 = icmp slt i32 %183, %184
  br i1 %185, label %187, label %186

186:                                              ; preds = %182
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %233

187:                                              ; preds = %182
  %188 = load i32, ptr %22, align 4, !tbaa !11
  %189 = load i32, ptr %8, align 4, !tbaa !11
  %190 = icmp eq i32 %188, %189
  br i1 %190, label %191, label %192

191:                                              ; preds = %187
  br label %230

192:                                              ; preds = %187
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = load i32, ptr %22, align 4, !tbaa !11
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %195) #5
  %197 = load ptr, ptr %196, align 8, !tbaa !5
  %198 = getelementptr inbounds %class.OptionRecord, ptr %197, i32 0, i32 1
  %199 = load i32, ptr %198, align 8, !tbaa !13
  %200 = icmp eq i32 %199, 1
  br i1 %200, label %201, label %229

201:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = load i32, ptr %22, align 4, !tbaa !11
  %204 = sext i32 %203 to i64
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %202, i64 noundef %204) #5
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = getelementptr inbounds %class.OptionRecordInt, ptr %206, i64 0
  store ptr %207, ptr %23, align 8, !tbaa !5
  %208 = load ptr, ptr %23, align 8, !tbaa !5
  %209 = getelementptr inbounds %class.OptionRecordInt, ptr %208, i32 0, i32 2
  %210 = load ptr, ptr %209, align 8, !tbaa !25
  %211 = load ptr, ptr %21, align 8, !tbaa !5
  %212 = icmp eq ptr %210, %211
  br i1 %212, label %213, label %228

213:                                              ; preds = %201
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = load i32, ptr %8, align 4, !tbaa !11
  %216 = load ptr, ptr %20, align 8, !tbaa !5
  %217 = getelementptr inbounds %class.OptionRecord, ptr %216, i32 0, i32 3
  %218 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %217) #5
  %219 = load i32, ptr %22, align 4, !tbaa !11
  %220 = load ptr, ptr %23, align 8, !tbaa !5
  %221 = getelementptr inbounds %class.OptionRecord, ptr %220, i32 0, i32 3
  %222 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %221) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %214, i32 noundef 5, ptr noundef @.str.67, i32 noundef %215, ptr noundef %218, i32 noundef %219, ptr noundef %222)
          to label %223 unwind label %224

223:                                              ; preds = %213
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %228

224:                                              ; preds = %213
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %14, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %234

228:                                              ; preds = %223, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %229

229:                                              ; preds = %228, %192
  br label %230

230:                                              ; preds = %229, %191
  %231 = load i32, ptr %22, align 4, !tbaa !11
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %22, align 4, !tbaa !11
  br label %182, !llvm.loop !27

233:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %379

234:                                              ; preds = %224, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %384

235:                                              ; preds = %158
  %236 = load i32, ptr %11, align 4, !tbaa !19
  %237 = icmp eq i32 %236, 2
  br i1 %237, label %238, label %312

238:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = load i32, ptr %8, align 4, !tbaa !11
  %241 = sext i32 %240 to i64
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef %241) #5
  %243 = load ptr, ptr %242, align 8, !tbaa !5
  %244 = getelementptr inbounds %class.OptionRecordDouble, ptr %243, i64 0
  store ptr %244, ptr %24, align 8, !tbaa !5
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = load ptr, ptr %24, align 8, !tbaa !5
  %247 = invoke noundef i32 @_Z11checkOptionRK15HighsLogOptionsRK18OptionRecordDouble(ptr noundef nonnull align 8 dereferenceable(89) %245, ptr noundef nonnull align 8 dereferenceable(120) %246)
          to label %248 unwind label %251

248:                                              ; preds = %238
  %249 = icmp ne i32 %247, 0
  br i1 %249, label %250, label %255

250:                                              ; preds = %248
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %255

251:                                              ; preds = %238
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %14, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %15, align 4
  br label %311

255:                                              ; preds = %250, %248
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %256 = load ptr, ptr %24, align 8, !tbaa !5
  %257 = getelementptr inbounds %class.OptionRecordDouble, ptr %256, i32 0, i32 1
  %258 = load ptr, ptr %257, align 8, !tbaa !28
  store ptr %258, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %259

259:                                              ; preds = %307, %255
  %260 = load i32, ptr %26, align 4, !tbaa !11
  %261 = load i32, ptr %7, align 4, !tbaa !11
  %262 = icmp slt i32 %260, %261
  br i1 %262, label %264, label %263

263:                                              ; preds = %259
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %310

264:                                              ; preds = %259
  %265 = load i32, ptr %26, align 4, !tbaa !11
  %266 = load i32, ptr %8, align 4, !tbaa !11
  %267 = icmp eq i32 %265, %266
  br i1 %267, label %268, label %269

268:                                              ; preds = %264
  br label %307

269:                                              ; preds = %264
  %270 = load ptr, ptr %5, align 8, !tbaa !5
  %271 = load i32, ptr %26, align 4, !tbaa !11
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %270, i64 noundef %272) #5
  %274 = load ptr, ptr %273, align 8, !tbaa !5
  %275 = getelementptr inbounds %class.OptionRecord, ptr %274, i32 0, i32 1
  %276 = load i32, ptr %275, align 8, !tbaa !13
  %277 = icmp eq i32 %276, 2
  br i1 %277, label %278, label %306

278:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %279 = load ptr, ptr %5, align 8, !tbaa !5
  %280 = load i32, ptr %26, align 4, !tbaa !11
  %281 = sext i32 %280 to i64
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %279, i64 noundef %281) #5
  %283 = load ptr, ptr %282, align 8, !tbaa !5
  %284 = getelementptr inbounds %class.OptionRecordDouble, ptr %283, i64 0
  store ptr %284, ptr %27, align 8, !tbaa !5
  %285 = load ptr, ptr %27, align 8, !tbaa !5
  %286 = getelementptr inbounds %class.OptionRecordDouble, ptr %285, i32 0, i32 1
  %287 = load ptr, ptr %286, align 8, !tbaa !28
  %288 = load ptr, ptr %25, align 8, !tbaa !5
  %289 = icmp eq ptr %287, %288
  br i1 %289, label %290, label %305

290:                                              ; preds = %278
  %291 = load ptr, ptr %4, align 8, !tbaa !5
  %292 = load i32, ptr %8, align 4, !tbaa !11
  %293 = load ptr, ptr %24, align 8, !tbaa !5
  %294 = getelementptr inbounds %class.OptionRecord, ptr %293, i32 0, i32 3
  %295 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %294) #5
  %296 = load i32, ptr %26, align 4, !tbaa !11
  %297 = load ptr, ptr %27, align 8, !tbaa !5
  %298 = getelementptr inbounds %class.OptionRecord, ptr %297, i32 0, i32 3
  %299 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %298) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %291, i32 noundef 5, ptr noundef @.str.67, i32 noundef %292, ptr noundef %295, i32 noundef %296, ptr noundef %299)
          to label %300 unwind label %301

300:                                              ; preds = %290
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %305

301:                                              ; preds = %290
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %14, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %311

305:                                              ; preds = %300, %278
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %306

306:                                              ; preds = %305, %269
  br label %307

307:                                              ; preds = %306, %268
  %308 = load i32, ptr %26, align 4, !tbaa !11
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %26, align 4, !tbaa !11
  br label %259, !llvm.loop !31

310:                                              ; preds = %263
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %378

311:                                              ; preds = %301, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %384

312:                                              ; preds = %235
  %313 = load i32, ptr %11, align 4, !tbaa !19
  %314 = icmp eq i32 %313, 3
  br i1 %314, label %315, label %377

315:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %316 = load ptr, ptr %5, align 8, !tbaa !5
  %317 = load i32, ptr %8, align 4, !tbaa !11
  %318 = sext i32 %317 to i64
  %319 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %316, i64 noundef %318) #5
  %320 = load ptr, ptr %319, align 8, !tbaa !5
  %321 = getelementptr inbounds %class.OptionRecordString, ptr %320, i64 0
  store ptr %321, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %322 = load ptr, ptr %28, align 8, !tbaa !5
  %323 = getelementptr inbounds %class.OptionRecordString, ptr %322, i32 0, i32 1
  %324 = load ptr, ptr %323, align 8, !tbaa !32
  store ptr %324, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !11
  br label %325

325:                                              ; preds = %373, %315
  %326 = load i32, ptr %30, align 4, !tbaa !11
  %327 = load i32, ptr %7, align 4, !tbaa !11
  %328 = icmp slt i32 %326, %327
  br i1 %328, label %330, label %329

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

330:                                              ; preds = %325
  %331 = load i32, ptr %30, align 4, !tbaa !11
  %332 = load i32, ptr %8, align 4, !tbaa !11
  %333 = icmp eq i32 %331, %332
  br i1 %333, label %334, label %335

334:                                              ; preds = %330
  br label %373

335:                                              ; preds = %330
  %336 = load ptr, ptr %5, align 8, !tbaa !5
  %337 = load i32, ptr %30, align 4, !tbaa !11
  %338 = sext i32 %337 to i64
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %336, i64 noundef %338) #5
  %340 = load ptr, ptr %339, align 8, !tbaa !5
  %341 = getelementptr inbounds %class.OptionRecord, ptr %340, i32 0, i32 1
  %342 = load i32, ptr %341, align 8, !tbaa !13
  %343 = icmp eq i32 %342, 3
  br i1 %343, label %344, label %372

344:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %345 = load ptr, ptr %5, align 8, !tbaa !5
  %346 = load i32, ptr %30, align 4, !tbaa !11
  %347 = sext i32 %346 to i64
  %348 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %345, i64 noundef %347) #5
  %349 = load ptr, ptr %348, align 8, !tbaa !5
  %350 = getelementptr inbounds %class.OptionRecordString, ptr %349, i64 0
  store ptr %350, ptr %31, align 8, !tbaa !5
  %351 = load ptr, ptr %31, align 8, !tbaa !5
  %352 = getelementptr inbounds %class.OptionRecordString, ptr %351, i32 0, i32 1
  %353 = load ptr, ptr %352, align 8, !tbaa !32
  %354 = load ptr, ptr %29, align 8, !tbaa !5
  %355 = icmp eq ptr %353, %354
  br i1 %355, label %356, label %371

356:                                              ; preds = %344
  %357 = load ptr, ptr %4, align 8, !tbaa !5
  %358 = load i32, ptr %8, align 4, !tbaa !11
  %359 = load ptr, ptr %28, align 8, !tbaa !5
  %360 = getelementptr inbounds %class.OptionRecord, ptr %359, i32 0, i32 3
  %361 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %360) #5
  %362 = load i32, ptr %30, align 4, !tbaa !11
  %363 = load ptr, ptr %31, align 8, !tbaa !5
  %364 = getelementptr inbounds %class.OptionRecord, ptr %363, i32 0, i32 3
  %365 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %364) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %357, i32 noundef 5, ptr noundef @.str.67, i32 noundef %358, ptr noundef %361, i32 noundef %362, ptr noundef %365)
          to label %366 unwind label %367

366:                                              ; preds = %356
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %371

367:                                              ; preds = %356
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %14, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %384

371:                                              ; preds = %366, %344
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %372

372:                                              ; preds = %371, %335
  br label %373

373:                                              ; preds = %372, %334
  %374 = load i32, ptr %30, align 4, !tbaa !11
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %30, align 4, !tbaa !11
  br label %325, !llvm.loop !34

376:                                              ; preds = %329
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %377

377:                                              ; preds = %376, %312
  br label %378

378:                                              ; preds = %377, %310
  br label %379

379:                                              ; preds = %378, %233
  br label %380

380:                                              ; preds = %379, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  br label %381

381:                                              ; preds = %380
  %382 = load i32, ptr %8, align 4, !tbaa !11
  %383 = add nsw i32 %382, 1
  store i32 %383, ptr %8, align 4, !tbaa !11
  br label %35, !llvm.loop !35

384:                                              ; preds = %367, %311, %234, %148, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  br label %393

385:                                              ; preds = %39
  %386 = load i8, ptr %6, align 1, !tbaa !9, !range !36, !noundef !37
  %387 = trunc i8 %386 to i1
  br i1 %387, label %388, label %389

388:                                              ; preds = %385
  store i32 2, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %391

389:                                              ; preds = %385
  %390 = load ptr, ptr %4, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %390, i32 noundef 1, ptr noundef @.str.68)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %391

391:                                              ; preds = %389, %388
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  %392 = load i32, ptr %3, align 4
  ret i32 %392

393:                                              ; preds = %384
  %394 = load ptr, ptr %14, align 8
  %395 = load i32, ptr %15, align 4
  %396 = insertvalue { ptr, i32 } poison, ptr %394, 0
  %397 = insertvalue { ptr, i32 } %396, i32 %395, 1
  resume { ptr, i32 } %397
}

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"_ZTS12OptionRecord", !15, i64 8, !16, i64 16, !16, i64 48, !10, i64 80}
!15 = !{!"_ZTS15HighsOptionType", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!15, !15, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !6, i64 88}
!23 = !{!"_ZTS16OptionRecordBool", !14, i64 0, !6, i64 88, !10, i64 96}
!24 = distinct !{!24, !21}
!25 = !{!26, !6, i64 88}
!26 = !{!"_ZTS15OptionRecordInt", !14, i64 0, !6, i64 88, !12, i64 96, !12, i64 100, !12, i64 104}
!27 = distinct !{!27, !21}
!28 = !{!29, !6, i64 88}
!29 = !{!"_ZTS18OptionRecordDouble", !14, i64 0, !6, i64 88, !30, i64 96, !30, i64 104, !30, i64 112}
!30 = !{!"double", !7, i64 0}
!31 = distinct !{!31, !21}
!32 = !{!33, !6, i64 88}
!33 = !{!"_ZTS18OptionRecordString", !14, i64 0, !6, i64 88, !16, i64 96}
!34 = distinct !{!34, !21}
!35 = distinct !{!35, !21}
!36 = !{i8 0, i8 2}
!37 = !{}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.66 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [30 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_Z12checkOptionsRK15HighsLogOptionsRKSt6vectorIP12OptionRecordSaIS4_EE(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = tail call noundef i64 @_ZNKSt6vectorIP12OptionRecordSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %6 = trunc i64 %5 to i32
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph175, label %.critedge

.lr.ph175:                                        ; preds = %2
  %wide.trip.count199 = and i64 %5, 2147483647
  br label %.lr.ph.preheader

._crit_edge176:                                   ; preds = %.loopexit
  br i1 %.18, label %155, label %.critedge

.lr.ph.preheader:                                 ; preds = %.loopexit, %.lr.ph175
  %indvars.iv197 = phi i64 [ 0, %.lr.ph175 ], [ %indvars.iv.next198, %.loopexit ]
  %.0107173 = phi i1 [ false, %.lr.ph175 ], [ %.18, %.loopexit ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  %8 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv197) #5
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %10)
  %11 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv197) #5
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 8
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = trunc nuw nsw i64 %indvars.iv197 to i32
  br label %.lr.ph

._crit_edge:                                      ; preds = %32
  switch i32 %14, label %.loopexit [
    i32 0, label %.lr.ph169
    i32 1, label %62
    i32 2, label %94
    i32 3, label %.lr.ph154
  ]

.lr.ph:                                           ; preds = %.lr.ph.preheader, %32
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %32 ]
  %.1150 = phi i1 [ %.0107173, %.lr.ph.preheader ], [ %.3, %32 ]
  %16 = icmp eq i64 %indvars.iv, %indvars.iv197
  br i1 %16, label %32, label %17

17:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #5
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %21 unwind label %27

21:                                               ; preds = %17
  %22 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br i1 %22, label %23, label %31

23:                                               ; preds = %21
  %24 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  %25 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  %26 = trunc nuw nsw i64 %indvars.iv to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.66, i32 noundef %15, ptr noundef %24, i32 noundef %26, ptr noundef %25)
          to label %31 unwind label %29

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

29:                                               ; preds = %23
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %33

31:                                               ; preds = %23, %21
  %.2 = phi i1 [ %.1150, %21 ], [ true, %23 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %32

32:                                               ; preds = %.lr.ph, %31
  %.3 = phi i1 [ %.1150, %.lr.ph ], [ %.2, %31 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count199
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

33:                                               ; preds = %29, %27
  %.pn127 = phi { ptr, i32 } [ %30, %29 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %154

.lr.ph169:                                        ; preds = %._crit_edge
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv197) #5
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 88
  %37 = load ptr, ptr %36, align 8, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %35, i64 16
  %39 = trunc nuw nsw i64 %indvars.iv197 to i32
  br label %40

40:                                               ; preds = %.lr.ph169, %61
  %indvars.iv193 = phi i64 [ 0, %.lr.ph169 ], [ %indvars.iv.next194, %61 ]
  %.4167 = phi i1 [ %.3, %.lr.ph169 ], [ %.6, %61 ]
  %41 = icmp eq i64 %indvars.iv193, %indvars.iv197
  br i1 %41, label %61, label %42

42:                                               ; preds = %40
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv193) #5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = load i32, ptr %45, align 8, !tbaa !9
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %61

48:                                               ; preds = %42
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv193) #5
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 88
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  %53 = icmp eq ptr %52, %37
  br i1 %53, label %54, label %61

54:                                               ; preds = %48
  %55 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %38) #5
  %56 = getelementptr inbounds i8, ptr %50, i64 16
  %57 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %56) #5
  %58 = trunc nuw nsw i64 %indvars.iv193 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.67, i32 noundef %39, ptr noundef %55, i32 noundef %58, ptr noundef %57)
          to label %61 unwind label %59

59:                                               ; preds = %54
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %154

61:                                               ; preds = %48, %54, %42, %40
  %.6 = phi i1 [ %.4167, %40 ], [ %.4167, %42 ], [ %.4167, %48 ], [ true, %54 ]
  %indvars.iv.next194 = add nuw nsw i64 %indvars.iv193, 1
  %exitcond196.not = icmp eq i64 %indvars.iv.next194, %wide.trip.count199
  br i1 %exitcond196.not, label %.loopexit, label %40, !llvm.loop !20

62:                                               ; preds = %._crit_edge
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv197) #5
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  %65 = invoke noundef i32 @_Z11checkOptionRK15HighsLogOptionsRK15OptionRecordInt(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef nonnull align 8 dereferenceable(108) %64)
          to label %.lr.ph164 unwind label %70

.lr.ph164:                                        ; preds = %62
  %66 = getelementptr inbounds i8, ptr %64, i64 88
  %67 = load ptr, ptr %66, align 8, !tbaa !21
  %.not124 = icmp ne i32 %65, 0
  %spec.select = select i1 %.not124, i1 true, i1 %.3
  %68 = getelementptr inbounds i8, ptr %64, i64 16
  %69 = trunc nuw nsw i64 %indvars.iv197 to i32
  br label %72

70:                                               ; preds = %62
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %154

72:                                               ; preds = %.lr.ph164, %93
  %indvars.iv189 = phi i64 [ 0, %.lr.ph164 ], [ %indvars.iv.next190, %93 ]
  %.8162 = phi i1 [ %spec.select, %.lr.ph164 ], [ %.10, %93 ]
  %73 = icmp eq i64 %indvars.iv189, %indvars.iv197
  br i1 %73, label %93, label %74

74:                                               ; preds = %72
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv189) #5
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  %78 = load i32, ptr %77, align 8, !tbaa !9
  %79 = icmp eq i32 %78, 1
  br i1 %79, label %80, label %93

80:                                               ; preds = %74
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv189) #5
  %82 = load ptr, ptr %81, align 8, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %82, i64 88
  %84 = load ptr, ptr %83, align 8, !tbaa !21
  %85 = icmp eq ptr %84, %67
  br i1 %85, label %86, label %93

86:                                               ; preds = %80
  %87 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %68) #5
  %88 = getelementptr inbounds i8, ptr %82, i64 16
  %89 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %88) #5
  %90 = trunc nuw nsw i64 %indvars.iv189 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.67, i32 noundef %69, ptr noundef %87, i32 noundef %90, ptr noundef %89)
          to label %93 unwind label %91

91:                                               ; preds = %86
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %154

93:                                               ; preds = %80, %86, %74, %72
  %.10 = phi i1 [ %.8162, %72 ], [ %.8162, %74 ], [ %.8162, %80 ], [ true, %86 ]
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %exitcond192.not = icmp eq i64 %indvars.iv.next190, %wide.trip.count199
  br i1 %exitcond192.not, label %.loopexit, label %72, !llvm.loop !24

94:                                               ; preds = %._crit_edge
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv197) #5
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = invoke noundef i32 @_Z11checkOptionRK15HighsLogOptionsRK18OptionRecordDouble(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef nonnull align 8 dereferenceable(120) %96)
          to label %.lr.ph159 unwind label %102

.lr.ph159:                                        ; preds = %94
  %98 = getelementptr inbounds i8, ptr %96, i64 88
  %99 = load ptr, ptr %98, align 8, !tbaa !25
  %.not = icmp ne i32 %97, 0
  %spec.select130 = select i1 %.not, i1 true, i1 %.3
  %100 = getelementptr inbounds i8, ptr %96, i64 16
  %101 = trunc nuw nsw i64 %indvars.iv197 to i32
  br label %104

102:                                              ; preds = %94
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %154

104:                                              ; preds = %.lr.ph159, %125
  %indvars.iv185 = phi i64 [ 0, %.lr.ph159 ], [ %indvars.iv.next186, %125 ]
  %.12157 = phi i1 [ %spec.select130, %.lr.ph159 ], [ %.14, %125 ]
  %105 = icmp eq i64 %indvars.iv185, %indvars.iv197
  br i1 %105, label %125, label %106

106:                                              ; preds = %104
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv185) #5
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 8
  %110 = load i32, ptr %109, align 8, !tbaa !9
  %111 = icmp eq i32 %110, 2
  br i1 %111, label %112, label %125

112:                                              ; preds = %106
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv185) #5
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %114, i64 88
  %116 = load ptr, ptr %115, align 8, !tbaa !25
  %117 = icmp eq ptr %116, %99
  br i1 %117, label %118, label %125

118:                                              ; preds = %112
  %119 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %100) #5
  %120 = getelementptr inbounds i8, ptr %114, i64 16
  %121 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %120) #5
  %122 = trunc nuw nsw i64 %indvars.iv185 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.67, i32 noundef %101, ptr noundef %119, i32 noundef %122, ptr noundef %121)
          to label %125 unwind label %123

123:                                              ; preds = %118
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %154

125:                                              ; preds = %112, %118, %106, %104
  %.14 = phi i1 [ %.12157, %104 ], [ %.12157, %106 ], [ %.12157, %112 ], [ true, %118 ]
  %indvars.iv.next186 = add nuw nsw i64 %indvars.iv185, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next186, %wide.trip.count199
  br i1 %exitcond188.not, label %.loopexit, label %104, !llvm.loop !28

.lr.ph154:                                        ; preds = %._crit_edge
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv197) #5
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %127, i64 88
  %129 = load ptr, ptr %128, align 8, !tbaa !29
  %130 = getelementptr inbounds i8, ptr %127, i64 16
  %131 = trunc nuw nsw i64 %indvars.iv197 to i32
  br label %132

132:                                              ; preds = %.lr.ph154, %153
  %indvars.iv181 = phi i64 [ 0, %.lr.ph154 ], [ %indvars.iv.next182, %153 ]
  %.15151 = phi i1 [ %.3, %.lr.ph154 ], [ %.17, %153 ]
  %133 = icmp eq i64 %indvars.iv181, %indvars.iv197
  br i1 %133, label %153, label %134

134:                                              ; preds = %132
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv181) #5
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  %137 = getelementptr inbounds i8, ptr %136, i64 8
  %138 = load i32, ptr %137, align 8, !tbaa !9
  %139 = icmp eq i32 %138, 3
  br i1 %139, label %140, label %153

140:                                              ; preds = %134
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12OptionRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv181) #5
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 88
  %144 = load ptr, ptr %143, align 8, !tbaa !29
  %145 = icmp eq ptr %144, %129
  br i1 %145, label %146, label %153

146:                                              ; preds = %140
  %147 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %130) #5
  %148 = getelementptr inbounds i8, ptr %142, i64 16
  %149 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %148) #5
  %150 = trunc nuw nsw i64 %indvars.iv181 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.67, i32 noundef %131, ptr noundef %147, i32 noundef %150, ptr noundef %149)
          to label %153 unwind label %151

151:                                              ; preds = %146
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %154

153:                                              ; preds = %140, %146, %134, %132
  %.17 = phi i1 [ %.15151, %132 ], [ %.15151, %134 ], [ %.15151, %140 ], [ true, %146 ]
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  %exitcond184.not = icmp eq i64 %indvars.iv.next182, %wide.trip.count199
  br i1 %exitcond184.not, label %.loopexit, label %132, !llvm.loop !31

.loopexit:                                        ; preds = %153, %125, %93, %61, %._crit_edge
  %.18 = phi i1 [ %.3, %._crit_edge ], [ %.6, %61 ], [ %.10, %93 ], [ %.14, %125 ], [ %.17, %153 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  %indvars.iv.next198 = add nuw nsw i64 %indvars.iv197, 1
  %exitcond200.not = icmp eq i64 %indvars.iv.next198, %wide.trip.count199
  br i1 %exitcond200.not, label %._crit_edge176, label %.lr.ph.preheader, !llvm.loop !32

154:                                              ; preds = %102, %123, %70, %91, %151, %59, %33
  %.pn127.pn = phi { ptr, i32 } [ %.pn127, %33 ], [ %60, %59 ], [ %152, %151 ], [ %92, %91 ], [ %71, %70 ], [ %124, %123 ], [ %103, %102 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn127.pn

.critedge:                                        ; preds = %2, %._crit_edge176
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.68)
  br label %155

155:                                              ; preds = %._crit_edge176, %.critedge
  %.0 = phi i32 [ 0, %.critedge ], [ 2, %._crit_edge176 ]
  ret i32 %.0
}

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"_ZTS12OptionRecord", !11, i64 8, !12, i64 16, !12, i64 48, !15, i64 80}
!11 = !{!"_ZTS15HighsOptionType", !7, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !14, i64 8, !7, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !6, i64 88}
!19 = !{!"_ZTS16OptionRecordBool", !10, i64 0, !6, i64 88, !15, i64 96}
!20 = distinct !{!20, !17}
!21 = !{!22, !6, i64 88}
!22 = !{!"_ZTS15OptionRecordInt", !10, i64 0, !6, i64 88, !23, i64 96, !23, i64 100, !23, i64 104}
!23 = !{!"int", !7, i64 0}
!24 = distinct !{!24, !17}
!25 = !{!26, !6, i64 88}
!26 = !{!"_ZTS18OptionRecordDouble", !10, i64 0, !6, i64 88, !27, i64 96, !27, i64 104, !27, i64 112}
!27 = !{!"double", !7, i64 0}
!28 = distinct !{!28, !17}
!29 = !{!30, !6, i64 88}
!30 = !{!"_ZTS18OptionRecordString", !10, i64 0, !6, i64 88, !12, i64 96}
!31 = distinct !{!31, !17}
!32 = distinct !{!32, !17}


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