; LLVM IR from ERGO-Code/HiGHS :: src/presolve (HighsSymmetry)

; 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"

%"struct.std::pair.134" = type <{ ptr, i32, [4 x i8] }>
%"struct.HighsCliqueTable::CliqueVar" = type { i32 }
%struct.HighsOrbitopeMatrix = type { i32, i32, i32, %class.HighsHashTable.56, %"class.std::vector.128", %"class.std::vector" }
%class.HighsHashTable.56 = type { %"class.std::unique_ptr.57", %"class.std::unique_ptr.25", i64, i64, i64 }
%"class.std::unique_ptr.57" = type { %"struct.std::__uniq_ptr_data.58" }
%"struct.std::__uniq_ptr_data.58" = type { %"class.std::__uniq_ptr_impl.59" }
%"class.std::__uniq_ptr_impl.59" = type { %"class.std::tuple.60" }
%"class.std::tuple.60" = type { %"struct.std::_Tuple_impl.61" }
%"struct.std::_Tuple_impl.61" = type { %"struct.std::_Head_base.64" }
%"struct.std::_Head_base.64" = type { ptr }
%"class.std::unique_ptr.25" = type { %"struct.std::__uniq_ptr_data.26" }
%"struct.std::__uniq_ptr_data.26" = type { %"class.std::__uniq_ptr_impl.27" }
%"class.std::__uniq_ptr_impl.27" = type { %"class.std::tuple.28" }
%"class.std::tuple.28" = type { %"struct.std::_Tuple_impl.29" }
%"struct.std::_Tuple_impl.29" = type { %"struct.std::_Head_base.32" }
%"struct.std::_Head_base.32" = type { ptr }
%"class.std::vector.128" = type { %"struct.std::_Vector_base.129" }
%"struct.std::_Vector_base.129" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19HighsOrbitopeMatrix21determineOrbitopeTypeER16HighsCliqueTable(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(488) %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"struct.std::pair.134", align 8
  %17 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %18 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %19 = alloca { ptr, i32 }, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"struct.std::pair.134", align 8
  %33 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %34 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %35 = alloca { ptr, i32 }, align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %40 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %64, %2
  %42 = load i32, ptr %5, align 4, !tbaa !9
  %43 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = icmp slt i32 %42, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %41
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %67

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

48:                                               ; preds = %60, %47
  %49 = load i32, ptr %7, align 4, !tbaa !9
  %50 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %51 = load i32, ptr %50, align 4, !tbaa !35
  %52 = icmp slt i32 %49, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %48
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %63

54:                                               ; preds = %48
  %55 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 3
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = load i32, ptr %5, align 4, !tbaa !9
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %40, i32 noundef %56, i32 noundef %57)
  %59 = call noundef zeroext i1 @_ZN14HighsHashTableIiiE6insertIJRiS2_EEEbDpOT_(ptr noundef nonnull align 8 dereferenceable(40) %55, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %7)
  br label %60

60:                                               ; preds = %54
  %61 = load i32, ptr %7, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %7, align 4, !tbaa !9
  br label %48, !llvm.loop !36

63:                                               ; preds = %53
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %5, align 4, !tbaa !9
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %5, align 4, !tbaa !9
  br label %41, !llvm.loop !38

67:                                               ; preds = %46
  %68 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %69 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %70 = load i32, ptr %69, align 4, !tbaa !35
  %71 = sext i32 %70 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  store i8 -1, ptr %8, align 1, !tbaa !39
  call void @_ZNSt6vectorIaSaIaEE6assignEmRKa(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %71, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  %72 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  store i32 0, ptr %72, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %228, %67
  %74 = load i32, ptr %9, align 4, !tbaa !9
  %75 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 0
  %76 = load i32, ptr %75, align 8, !tbaa !11
  %77 = icmp slt i32 %74, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %73
  store i32 8, ptr %6, align 4
  br label %231

79:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %40, i32 noundef 0, i32 noundef %80)
  store ptr %81, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %82

82:                                               ; preds = %213, %79
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = icmp slt i32 %83, %84
  br i1 %85, label %87, label %86

86:                                               ; preds = %82
  store i32 11, ptr %6, align 4
  br label %216

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %40, i32 noundef 0, i32 noundef %88)
  store ptr %89, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %198, %87
  %91 = load i32, ptr %13, align 4, !tbaa !9
  %92 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %93 = load i32, ptr %92, align 4, !tbaa !35
  %94 = icmp slt i32 %91, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %90
  store i32 14, ptr %6, align 4
  br label %201

96:                                               ; preds = %90
  %97 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %99) #4
  %101 = load i8, ptr %100, align 1, !tbaa !39
  %102 = sext i8 %101 to i32
  %103 = icmp ne i32 %102, -1
  br i1 %103, label %104, label %105

104:                                              ; preds = %96
  br label %198

105:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = load i32, ptr %13, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i32, ptr %106, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !9
  store i32 %110, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = load i32, ptr %13, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds i32, ptr %111, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %17, i32 noundef %117, i32 noundef 1)
  %118 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 noundef %118, i32 noundef 1)
  %119 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %17, i32 0, i32 0
  %120 = load i32, ptr %119, align 4
  %121 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %18, i32 0, i32 0
  %122 = load i32, ptr %121, align 4
  %123 = call { ptr, i32 } @_ZN16HighsCliqueTable16findCommonCliqueENS_9CliqueVarES0_(ptr noundef nonnull align 8 dereferenceable(488) %116, i32 %120, i32 %122)
  store { ptr, i32 } %123, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %19, i64 12, i1 false)
  %124 = getelementptr inbounds %"struct.std::pair.134", ptr %16, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !41
  %126 = icmp eq ptr %125, null
  br i1 %126, label %127, label %132

127:                                              ; preds = %105
  %128 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %128, i64 noundef %130) #4
  store i8 0, ptr %131, align 1, !tbaa !39
  store i32 16, ptr %6, align 4
  br label %195

132:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %133

133:                                              ; preds = %170, %132
  %134 = load i32, ptr %21, align 4, !tbaa !9
  %135 = getelementptr inbounds %"struct.std::pair.134", ptr %16, i32 0, i32 1
  %136 = load i32, ptr %135, align 8, !tbaa !43
  %137 = icmp slt i32 %134, %136
  br i1 %137, label %139, label %138

138:                                              ; preds = %133
  store i32 17, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %173

139:                                              ; preds = %133
  %140 = getelementptr inbounds %"struct.std::pair.134", ptr %16, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8, !tbaa !41
  %142 = load i32, ptr %21, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %141, i64 %143
  %145 = load i32, ptr %144, align 4
  %146 = lshr i32 %145, 31
  %147 = icmp eq i32 %146, 0
  br i1 %147, label %148, label %149

148:                                              ; preds = %139
  br label %170

149:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %150 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %151 = getelementptr inbounds %"struct.std::pair.134", ptr %16, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8, !tbaa !41
  %153 = load i32, ptr %21, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %152, i64 %154
  %156 = load i32, ptr %155, align 4
  %157 = and i32 %156, 2147483647
  store i32 %157, ptr %23, align 4, !tbaa !9
  %158 = call noundef ptr @_ZN14HighsHashTableIiiE4findERKi(ptr noundef nonnull align 8 dereferenceable(40) %150, ptr noundef nonnull align 4 dereferenceable(4) %23)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  store ptr %158, ptr %22, align 8, !tbaa !5
  %159 = load ptr, ptr %22, align 8, !tbaa !5
  %160 = icmp ne ptr %159, null
  br i1 %160, label %161, label %169

161:                                              ; preds = %149
  %162 = load ptr, ptr %22, align 8, !tbaa !5
  %163 = load i32, ptr %162, align 4, !tbaa !9
  %164 = load i32, ptr %13, align 4, !tbaa !9
  %165 = icmp eq i32 %163, %164
  br i1 %165, label %166, label %169

166:                                              ; preds = %161
  %167 = load i32, ptr %20, align 4, !tbaa !9
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %20, align 4, !tbaa !9
  br label %169

169:                                              ; preds = %166, %161, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %170

170:                                              ; preds = %169, %148
  %171 = load i32, ptr %21, align 4, !tbaa !9
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %21, align 4, !tbaa !9
  br label %133, !llvm.loop !44

173:                                              ; preds = %138
  %174 = load i32, ptr %20, align 4, !tbaa !9
  %175 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 0
  %176 = load i32, ptr %175, align 8, !tbaa !11
  %177 = icmp eq i32 %174, %176
  br i1 %177, label %178, label %193

178:                                              ; preds = %173
  %179 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %180 = load i32, ptr %13, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %181) #4
  store i8 1, ptr %182, align 1, !tbaa !39
  %183 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %184 = load i32, ptr %183, align 8, !tbaa !40
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %183, align 8, !tbaa !40
  %186 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %187 = load i32, ptr %186, align 8, !tbaa !40
  %188 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %189 = load i32, ptr %188, align 4, !tbaa !35
  %190 = icmp eq i32 %187, %189
  br i1 %190, label %191, label %192

191:                                              ; preds = %178
  store i32 14, ptr %6, align 4
  br label %194

192:                                              ; preds = %178
  br label %193

193:                                              ; preds = %192, %173
  store i32 0, ptr %6, align 4
  br label %194

194:                                              ; preds = %193, %191
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %195

195:                                              ; preds = %194, %127
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %196 = load i32, ptr %6, align 4
  switch i32 %196, label %201 [
    i32 0, label %197
    i32 16, label %198
  ]

197:                                              ; preds = %195
  br label %198

198:                                              ; preds = %197, %195, %104
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %13, align 4, !tbaa !9
  br label %90, !llvm.loop !45

201:                                              ; preds = %195, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %202

202:                                              ; preds = %201
  %203 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %204 = load i32, ptr %203, align 8, !tbaa !40
  %205 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %206 = load i32, ptr %205, align 4, !tbaa !35
  %207 = icmp eq i32 %204, %206
  br i1 %207, label %208, label %209

208:                                              ; preds = %202
  store i32 11, ptr %6, align 4
  br label %210

209:                                              ; preds = %202
  store i32 0, ptr %6, align 4
  br label %210

210:                                              ; preds = %209, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %211 = load i32, ptr %6, align 4
  switch i32 %211, label %216 [
    i32 0, label %212
  ]

212:                                              ; preds = %210
  br label %213

213:                                              ; preds = %212
  %214 = load i32, ptr %11, align 4, !tbaa !9
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %11, align 4, !tbaa !9
  br label %82, !llvm.loop !46

216:                                              ; preds = %210, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %217

217:                                              ; preds = %216
  %218 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %219 = load i32, ptr %218, align 8, !tbaa !40
  %220 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %221 = load i32, ptr %220, align 4, !tbaa !35
  %222 = icmp eq i32 %219, %221
  br i1 %222, label %223, label %224

223:                                              ; preds = %217
  store i32 8, ptr %6, align 4
  br label %225

224:                                              ; preds = %217
  store i32 0, ptr %6, align 4
  br label %225

225:                                              ; preds = %224, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %226 = load i32, ptr %6, align 4
  switch i32 %226, label %231 [
    i32 0, label %227
  ]

227:                                              ; preds = %225
  br label %228

228:                                              ; preds = %227
  %229 = load i32, ptr %9, align 4, !tbaa !9
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %9, align 4, !tbaa !9
  br label %73, !llvm.loop !47

231:                                              ; preds = %225, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %232

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

233:                                              ; preds = %252, %232
  %234 = load i32, ptr %24, align 4, !tbaa !9
  %235 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %236 = load i32, ptr %235, align 4, !tbaa !35
  %237 = icmp slt i32 %234, %236
  br i1 %237, label %239, label %238

238:                                              ; preds = %233
  store i32 20, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %255

239:                                              ; preds = %233
  %240 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %241 = load i32, ptr %24, align 4, !tbaa !9
  %242 = sext i32 %241 to i64
  %243 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %240, i64 noundef %242) #4
  %244 = load i8, ptr %243, align 1, !tbaa !39
  %245 = icmp ne i8 %244, 0
  br i1 %245, label %251, label %246

246:                                              ; preds = %239
  %247 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %248 = load i32, ptr %24, align 4, !tbaa !9
  %249 = sext i32 %248 to i64
  %250 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %247, i64 noundef %249) #4
  store i8 -1, ptr %250, align 1, !tbaa !39
  br label %251

251:                                              ; preds = %246, %239
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %24, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %24, align 4, !tbaa !9
  br label %233, !llvm.loop !48

255:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 1, ptr %25, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %411, %255
  %257 = load i32, ptr %25, align 4, !tbaa !9
  %258 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 0
  %259 = load i32, ptr %258, align 8, !tbaa !11
  %260 = icmp slt i32 %257, %259
  br i1 %260, label %262, label %261

261:                                              ; preds = %256
  store i32 23, ptr %6, align 4
  br label %414

262:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %263 = load i32, ptr %25, align 4, !tbaa !9
  %264 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %40, i32 noundef 0, i32 noundef %263)
  store ptr %264, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %265

265:                                              ; preds = %396, %262
  %266 = load i32, ptr %27, align 4, !tbaa !9
  %267 = load i32, ptr %25, align 4, !tbaa !9
  %268 = icmp slt i32 %266, %267
  br i1 %268, label %270, label %269

269:                                              ; preds = %265
  store i32 26, ptr %6, align 4
  br label %399

270:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %271 = load i32, ptr %27, align 4, !tbaa !9
  %272 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %40, i32 noundef 0, i32 noundef %271)
  store ptr %272, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %273

273:                                              ; preds = %381, %270
  %274 = load i32, ptr %29, align 4, !tbaa !9
  %275 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %276 = load i32, ptr %275, align 4, !tbaa !35
  %277 = icmp slt i32 %274, %276
  br i1 %277, label %279, label %278

278:                                              ; preds = %273
  store i32 29, ptr %6, align 4
  br label %384

279:                                              ; preds = %273
  %280 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %281 = load i32, ptr %29, align 4, !tbaa !9
  %282 = sext i32 %281 to i64
  %283 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %280, i64 noundef %282) #4
  %284 = load i8, ptr %283, align 1, !tbaa !39
  %285 = sext i8 %284 to i32
  %286 = icmp ne i32 %285, -1
  br i1 %286, label %287, label %288

287:                                              ; preds = %279
  br label %381

288:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %289 = load ptr, ptr %28, align 8, !tbaa !5
  %290 = load i32, ptr %29, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds i32, ptr %289, i64 %291
  %293 = load i32, ptr %292, align 4, !tbaa !9
  store i32 %293, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  %294 = load ptr, ptr %26, align 8, !tbaa !5
  %295 = load i32, ptr %29, align 4, !tbaa !9
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds i32, ptr %294, i64 %296
  %298 = load i32, ptr %297, align 4, !tbaa !9
  store i32 %298, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #4
  %299 = load ptr, ptr %4, align 8, !tbaa !5
  %300 = load i32, ptr %30, align 4, !tbaa !9
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %33, i32 noundef %300, i32 noundef 0)
  %301 = load i32, ptr %31, align 4, !tbaa !9
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %34, i32 noundef %301, i32 noundef 0)
  %302 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %33, i32 0, i32 0
  %303 = load i32, ptr %302, align 4
  %304 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %34, i32 0, i32 0
  %305 = load i32, ptr %304, align 4
  %306 = call { ptr, i32 } @_ZN16HighsCliqueTable16findCommonCliqueENS_9CliqueVarES0_(ptr noundef nonnull align 8 dereferenceable(488) %299, i32 %303, i32 %305)
  store { ptr, i32 } %306, ptr %35, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %35, i64 12, i1 false)
  %307 = getelementptr inbounds %"struct.std::pair.134", ptr %32, i32 0, i32 0
  %308 = load ptr, ptr %307, align 8, !tbaa !41
  %309 = icmp eq ptr %308, null
  br i1 %309, label %310, label %315

310:                                              ; preds = %288
  %311 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %312 = load i32, ptr %29, align 4, !tbaa !9
  %313 = sext i32 %312 to i64
  %314 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %311, i64 noundef %313) #4
  store i8 0, ptr %314, align 1, !tbaa !39
  store i32 31, ptr %6, align 4
  br label %378

315:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #4
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %316

316:                                              ; preds = %353, %315
  %317 = load i32, ptr %37, align 4, !tbaa !9
  %318 = getelementptr inbounds %"struct.std::pair.134", ptr %32, i32 0, i32 1
  %319 = load i32, ptr %318, align 8, !tbaa !43
  %320 = icmp slt i32 %317, %319
  br i1 %320, label %322, label %321

321:                                              ; preds = %316
  store i32 32, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  br label %356

322:                                              ; preds = %316
  %323 = getelementptr inbounds %"struct.std::pair.134", ptr %32, i32 0, i32 0
  %324 = load ptr, ptr %323, align 8, !tbaa !41
  %325 = load i32, ptr %37, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %324, i64 %326
  %328 = load i32, ptr %327, align 4
  %329 = lshr i32 %328, 31
  %330 = icmp eq i32 %329, 1
  br i1 %330, label %331, label %332

331:                                              ; preds = %322
  br label %353

332:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #4
  %333 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  %334 = getelementptr inbounds %"struct.std::pair.134", ptr %32, i32 0, i32 0
  %335 = load ptr, ptr %334, align 8, !tbaa !41
  %336 = load i32, ptr %37, align 4, !tbaa !9
  %337 = sext i32 %336 to i64
  %338 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %335, i64 %337
  %339 = load i32, ptr %338, align 4
  %340 = and i32 %339, 2147483647
  store i32 %340, ptr %39, align 4, !tbaa !9
  %341 = call noundef ptr @_ZN14HighsHashTableIiiE4findERKi(ptr noundef nonnull align 8 dereferenceable(40) %333, ptr noundef nonnull align 4 dereferenceable(4) %39)
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  store ptr %341, ptr %38, align 8, !tbaa !5
  %342 = load ptr, ptr %38, align 8, !tbaa !5
  %343 = icmp ne ptr %342, null
  br i1 %343, label %344, label %352

344:                                              ; preds = %332
  %345 = load ptr, ptr %38, align 8, !tbaa !5
  %346 = load i32, ptr %345, align 4, !tbaa !9
  %347 = load i32, ptr %29, align 4, !tbaa !9
  %348 = icmp eq i32 %346, %347
  br i1 %348, label %349, label %352

349:                                              ; preds = %344
  %350 = load i32, ptr %36, align 4, !tbaa !9
  %351 = add nsw i32 %350, 1
  store i32 %351, ptr %36, align 4, !tbaa !9
  br label %352

352:                                              ; preds = %349, %344, %332
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #4
  br label %353

353:                                              ; preds = %352, %331
  %354 = load i32, ptr %37, align 4, !tbaa !9
  %355 = add nsw i32 %354, 1
  store i32 %355, ptr %37, align 4, !tbaa !9
  br label %316, !llvm.loop !49

356:                                              ; preds = %321
  %357 = load i32, ptr %36, align 4, !tbaa !9
  %358 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 0
  %359 = load i32, ptr %358, align 8, !tbaa !11
  %360 = icmp eq i32 %357, %359
  br i1 %360, label %361, label %376

361:                                              ; preds = %356
  %362 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 4
  %363 = load i32, ptr %29, align 4, !tbaa !9
  %364 = sext i32 %363 to i64
  %365 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %362, i64 noundef %364) #4
  store i8 2, ptr %365, align 1, !tbaa !39
  %366 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %367 = load i32, ptr %366, align 8, !tbaa !40
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %366, align 8, !tbaa !40
  %369 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %370 = load i32, ptr %369, align 8, !tbaa !40
  %371 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %372 = load i32, ptr %371, align 4, !tbaa !35
  %373 = icmp eq i32 %370, %372
  br i1 %373, label %374, label %375

374:                                              ; preds = %361
  store i32 29, ptr %6, align 4
  br label %377

375:                                              ; preds = %361
  br label %376

376:                                              ; preds = %375, %356
  store i32 0, ptr %6, align 4
  br label %377

377:                                              ; preds = %376, %374
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  br label %378

378:                                              ; preds = %377, %310
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  %379 = load i32, ptr %6, align 4
  switch i32 %379, label %384 [
    i32 0, label %380
    i32 31, label %381
  ]

380:                                              ; preds = %378
  br label %381

381:                                              ; preds = %380, %378, %287
  %382 = load i32, ptr %29, align 4, !tbaa !9
  %383 = add nsw i32 %382, 1
  store i32 %383, ptr %29, align 4, !tbaa !9
  br label %273, !llvm.loop !50

384:                                              ; preds = %378, %278
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  br label %385

385:                                              ; preds = %384
  %386 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %387 = load i32, ptr %386, align 8, !tbaa !40
  %388 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %389 = load i32, ptr %388, align 4, !tbaa !35
  %390 = icmp eq i32 %387, %389
  br i1 %390, label %391, label %392

391:                                              ; preds = %385
  store i32 26, ptr %6, align 4
  br label %393

392:                                              ; preds = %385
  store i32 0, ptr %6, align 4
  br label %393

393:                                              ; preds = %392, %391
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  %394 = load i32, ptr %6, align 4
  switch i32 %394, label %399 [
    i32 0, label %395
  ]

395:                                              ; preds = %393
  br label %396

396:                                              ; preds = %395
  %397 = load i32, ptr %27, align 4, !tbaa !9
  %398 = add nsw i32 %397, 1
  store i32 %398, ptr %27, align 4, !tbaa !9
  br label %265, !llvm.loop !51

399:                                              ; preds = %393, %269
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %400

400:                                              ; preds = %399
  %401 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 2
  %402 = load i32, ptr %401, align 8, !tbaa !40
  %403 = getelementptr inbounds %struct.HighsOrbitopeMatrix, ptr %40, i32 0, i32 1
  %404 = load i32, ptr %403, align 4, !tbaa !35
  %405 = icmp eq i32 %402, %404
  br i1 %405, label %406, label %407

406:                                              ; preds = %400
  store i32 23, ptr %6, align 4
  br label %408

407:                                              ; preds = %400
  store i32 0, ptr %6, align 4
  br label %408

408:                                              ; preds = %407, %406
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  %409 = load i32, ptr %6, align 4
  switch i32 %409, label %414 [
    i32 0, label %410
  ]

410:                                              ; preds = %408
  br label %411

411:                                              ; preds = %410
  %412 = load i32, ptr %25, align 4, !tbaa !9
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %25, align 4, !tbaa !9
  br label %256, !llvm.loop !52

414:                                              ; preds = %408, %261
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  br label %415

415:                                              ; preds = %414
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef, i32 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i32 } @_ZN16HighsCliqueTable16findCommonCliqueENS_9CliqueVarES0_(ptr noundef nonnull align 8 dereferenceable(488), i32, i32) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS19HighsOrbitopeMatrix", !10, i64 0, !10, i64 4, !10, i64 8, !13, i64 16, !27, i64 56, !31, i64 80}
!13 = !{!"_ZTS14HighsHashTableIiiE", !14, i64 0, !20, i64 8, !26, i64 16, !26, i64 24, !26, i64 32}
!14 = !{!"_ZTSSt10unique_ptrI19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEE", !15, i64 0}
!15 = !{!"_ZTSSt15__uniq_ptr_dataI19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterELb1ELb1EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_implI19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEE", !17, i64 0}
!17 = !{!"_ZTSSt5tupleIJP19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEEE", !18, i64 0}
!18 = !{!"_ZTSSt11_Tuple_implILm0EJP19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEEE", !19, i64 0}
!19 = !{!"_ZTSSt10_Head_baseILm0EP19HighsHashTableEntryIiiELb0EE", !6, i64 0}
!20 = !{!"_ZTSSt10unique_ptrIA_hSt14default_deleteIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIhSt14default_deleteIA_hELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIhSt14default_deleteIA_hEE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPhSt14default_deleteIA_hEEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPhSt14default_deleteIA_hEEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPhLb0EE", !6, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIaSaIaEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt6vectorIiSaIiEE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!12, !10, i64 4}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}
!39 = !{!7, !7, i64 0}
!40 = !{!12, !10, i64 8}
!41 = !{!42, !6, i64 0}
!42 = !{!"_ZTSSt4pairIPKN16HighsCliqueTable9CliqueVarEiE", !6, i64 0, !10, i64 8}
!43 = !{!42, !10, i64 8}
!44 = distinct !{!44, !37}
!45 = distinct !{!45, !37}
!46 = distinct !{!46, !37}
!47 = distinct !{!47, !37}
!48 = distinct !{!48, !37}
!49 = distinct !{!49, !37}
!50 = distinct !{!50, !37}
!51 = distinct !{!51, !37}
!52 = distinct !{!52, !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"

%"struct.HighsCliqueTable::CliqueVar" = type { i32 }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19HighsOrbitopeMatrix21determineOrbitopeTypeER16HighsCliqueTable(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(488) %1) local_unnamed_addr #1 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca i8, align 1
  %5 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %6 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %9 = alloca %"struct.HighsCliqueTable::CliqueVar", align 4
  %10 = alloca i32, align 4
  %11 = load i32, ptr %0, align 8, !tbaa !5
  %12 = icmp sgt i32 %11, 0
  %13 = getelementptr inbounds i8, ptr %0, i64 4
  br i1 %12, label %.lr.ph122, label %.._crit_edge123_crit_edge

.._crit_edge123_crit_edge:                        ; preds = %2
  %.pre175 = load i32, ptr %13, align 4, !tbaa !33
  br label %._crit_edge123

.lr.ph122:                                        ; preds = %2
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load i32, ptr %13, align 4, !tbaa !33
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.lr.ph122.split, label %._crit_edge123

._crit_edge123:                                   ; preds = %._crit_edge, %.lr.ph122, %.._crit_edge123_crit_edge
  %17 = phi i32 [ %.pre175, %.._crit_edge123_crit_edge ], [ %15, %.lr.ph122 ], [ %29, %._crit_edge ]
  %18 = getelementptr inbounds i8, ptr %0, i64 56
  %19 = getelementptr inbounds i8, ptr %0, i64 4
  %20 = sext i32 %17 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #3
  store i8 -1, ptr %4, align 1, !tbaa !34
  call void @_ZNSt6vectorIaSaIaEE6assignEmRKa(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %20, ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 0, ptr %21, align 8, !tbaa !35
  %22 = load i32, ptr %0, align 8, !tbaa !5
  %23 = icmp sgt i32 %22, 1
  br i1 %23, label %.lr.ph136, label %._crit_edge123.._crit_edge137_crit_edge

._crit_edge123.._crit_edge137_crit_edge:          ; preds = %._crit_edge123
  %.pre176 = load i32, ptr %19, align 4, !tbaa !33
  br label %._crit_edge137

.lr.ph136:                                        ; preds = %._crit_edge123
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  br label %42

.lr.ph122.split:                                  ; preds = %.lr.ph122, %._crit_edge
  %25 = phi i32 [ %28, %._crit_edge ], [ %11, %.lr.ph122 ]
  %26 = phi i32 [ %29, %._crit_edge ], [ %15, %.lr.ph122 ]
  %.0120 = phi i32 [ %30, %._crit_edge ], [ 0, %.lr.ph122 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  store i32 0, ptr %3, align 4, !tbaa !36
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i32, ptr %0, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.lr.ph122.split
  %28 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %25, %.lr.ph122.split ]
  %29 = phi i32 [ %36, %._crit_edge.loopexit ], [ %26, %.lr.ph122.split ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  %30 = add nuw nsw i32 %.0120, 1
  %31 = icmp slt i32 %30, %28
  br i1 %31, label %.lr.ph122.split, label %._crit_edge123, !llvm.loop !37

.lr.ph:                                           ; preds = %.lr.ph122.split, %.lr.ph
  %storemerge119 = phi i32 [ %35, %.lr.ph ], [ 0, %.lr.ph122.split ]
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef %storemerge119, i32 noundef %.0120)
  %33 = call noundef zeroext i1 @_ZN14HighsHashTableIiiE6insertIJRiS2_EEEbDpOT_(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %34 = load i32, ptr %3, align 4, !tbaa !36
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %3, align 4, !tbaa !36
  %36 = load i32, ptr %13, align 4, !tbaa !33
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !40

38:                                               ; preds = %89
  %39 = add nuw nsw i32 %.089134, 1
  %40 = load i32, ptr %0, align 8, !tbaa !5
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %42, label %._crit_edge137, !llvm.loop !41

42:                                               ; preds = %.lr.ph136, %38
  %.089134 = phi i32 [ 1, %.lr.ph136 ], [ %39, %38 ]
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef 0, i32 noundef %.089134)
  br label %44

44:                                               ; preds = %._crit_edge131, %42
  %.090133 = phi i32 [ 0, %42 ], [ %87, %._crit_edge131 ]
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef 0, i32 noundef %.090133)
  %46 = load i32, ptr %19, align 4, !tbaa !33
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %.lr.ph130, label %._crit_edge131

.lr.ph130:                                        ; preds = %44, %.thread
  %indvars.iv161 = phi i64 [ %indvars.iv.next162, %.thread ], [ 0, %44 ]
  %48 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv161) #3
  %49 = load i8, ptr %48, align 1, !tbaa !34
  %.not = icmp eq i8 %49, -1
  br i1 %.not, label %50, label %.thread

50:                                               ; preds = %.lr.ph130
  %51 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv161
  %52 = load i32, ptr %51, align 4, !tbaa !36
  %53 = getelementptr inbounds i32, ptr %43, i64 %indvars.iv161
  %54 = load i32, ptr %53, align 4, !tbaa !36
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %5, i32 noundef %52, i32 noundef 1)
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %6, i32 noundef %54, i32 noundef 1)
  %55 = load i32, ptr %5, align 4
  %56 = load i32, ptr %6, align 4
  %57 = call { ptr, i32 } @_ZN16HighsCliqueTable16findCommonCliqueENS_9CliqueVarES0_(ptr noundef nonnull align 8 dereferenceable(488) %1, i32 %55, i32 %56)
  %.fca.0.extract44 = extractvalue { ptr, i32 } %57, 0
  %.fca.1.extract45 = extractvalue { ptr, i32 } %57, 1
  %58 = icmp eq ptr %.fca.0.extract44, null
  br i1 %58, label %60, label %.preheader118

.preheader118:                                    ; preds = %50
  %59 = icmp sgt i32 %.fca.1.extract45, 0
  br i1 %59, label %.lr.ph126.preheader, label %._crit_edge127

.lr.ph126.preheader:                              ; preds = %.preheader118
  %wide.trip.count = zext nneg i32 %.fca.1.extract45 to i64
  br label %.lr.ph126

60:                                               ; preds = %50
  %61 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv161) #3
  store i8 0, ptr %61, align 1, !tbaa !34
  br label %.thread

._crit_edge127:                                   ; preds = %75, %.preheader118
  %.092.lcssa = phi i32 [ 0, %.preheader118 ], [ %.294, %75 ]
  %62 = load i32, ptr %0, align 8, !tbaa !5
  %63 = icmp eq i32 %.092.lcssa, %62
  br i1 %63, label %76, label %.thread

.lr.ph126:                                        ; preds = %.lr.ph126.preheader, %75
  %indvars.iv = phi i64 [ 0, %.lr.ph126.preheader ], [ %indvars.iv.next, %75 ]
  %.092125 = phi i32 [ 0, %.lr.ph126.preheader ], [ %.294, %75 ]
  %64 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %.fca.0.extract44, i64 %indvars.iv
  %65 = load i32, ptr %64, align 4
  %66 = icmp sgt i32 %65, -1
  br i1 %66, label %75, label %67

67:                                               ; preds = %.lr.ph126
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  %68 = and i32 %65, 2147483647
  store i32 %68, ptr %7, align 4, !tbaa !36
  %69 = call noundef ptr @_ZN14HighsHashTableIiiE4findERKi(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  %.not103 = icmp eq ptr %69, null
  br i1 %.not103, label %75, label %70

70:                                               ; preds = %67
  %71 = load i32, ptr %69, align 4, !tbaa !36
  %72 = zext i32 %71 to i64
  %73 = icmp eq i64 %indvars.iv161, %72
  %74 = zext i1 %73 to i32
  %spec.select = add nsw i32 %.092125, %74
  br label %75

75:                                               ; preds = %70, %67, %.lr.ph126
  %.294 = phi i32 [ %.092125, %.lr.ph126 ], [ %.092125, %67 ], [ %spec.select, %70 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond160.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond160.not, label %._crit_edge127, label %.lr.ph126, !llvm.loop !42

76:                                               ; preds = %._crit_edge127
  %77 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv161) #3
  store i8 1, ptr %77, align 1, !tbaa !34
  %78 = load i32, ptr %21, align 8, !tbaa !35
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %21, align 8, !tbaa !35
  %80 = load i32, ptr %19, align 4, !tbaa !33
  %81 = icmp eq i32 %79, %80
  br i1 %81, label %._crit_edge131, label %.thread

.thread:                                          ; preds = %._crit_edge127, %76, %60, %.lr.ph130
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %82 = load i32, ptr %19, align 4, !tbaa !33
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %indvars.iv.next162, %83
  br i1 %84, label %.lr.ph130, label %._crit_edge131, !llvm.loop !43

._crit_edge131:                                   ; preds = %.thread, %76, %44
  %85 = phi i32 [ %46, %44 ], [ %82, %.thread ], [ %79, %76 ]
  %86 = load i32, ptr %21, align 8, !tbaa !35
  %.not104 = icmp ne i32 %86, %85
  %87 = add nuw nsw i32 %.090133, 1
  %88 = icmp ult i32 %87, %.089134
  %or.cond = select i1 %.not104, i1 %88, i1 false
  br i1 %or.cond, label %44, label %89, !llvm.loop !44

89:                                               ; preds = %._crit_edge131
  %.not105 = icmp eq i32 %86, %85
  br i1 %.not105, label %._crit_edge137, label %38

._crit_edge137:                                   ; preds = %89, %38, %._crit_edge123.._crit_edge137_crit_edge
  %90 = phi i32 [ %.pre176, %._crit_edge123.._crit_edge137_crit_edge ], [ %85, %38 ], [ %85, %89 ]
  %91 = icmp sgt i32 %90, 0
  br i1 %91, label %.lr.ph141, label %.preheader117

.preheader117:                                    ; preds = %99, %._crit_edge137
  %92 = load i32, ptr %0, align 8, !tbaa !5
  %93 = icmp sgt i32 %92, 1
  br i1 %93, label %.lr.ph154, label %._crit_edge155

.lr.ph154:                                        ; preds = %.preheader117
  %94 = getelementptr inbounds i8, ptr %0, i64 16
  br label %107

.lr.ph141:                                        ; preds = %._crit_edge137, %99
  %indvars.iv164 = phi i64 [ %indvars.iv.next165, %99 ], [ 0, %._crit_edge137 ]
  %95 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv164) #3
  %96 = load i8, ptr %95, align 1, !tbaa !34
  %.not111 = icmp eq i8 %96, 0
  br i1 %.not111, label %97, label %99

97:                                               ; preds = %.lr.ph141
  %98 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv164) #3
  store i8 -1, ptr %98, align 1, !tbaa !34
  br label %99

99:                                               ; preds = %.lr.ph141, %97
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %100 = load i32, ptr %19, align 4, !tbaa !33
  %101 = sext i32 %100 to i64
  %102 = icmp slt i64 %indvars.iv.next165, %101
  br i1 %102, label %.lr.ph141, label %.preheader117, !llvm.loop !45

103:                                              ; preds = %152
  %104 = add nuw nsw i32 %.098153, 1
  %105 = load i32, ptr %0, align 8, !tbaa !5
  %106 = icmp slt i32 %104, %105
  br i1 %106, label %107, label %._crit_edge155, !llvm.loop !46

107:                                              ; preds = %.lr.ph154, %103
  %.098153 = phi i32 [ 1, %.lr.ph154 ], [ %104, %103 ]
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef 0, i32 noundef %.098153)
  br label %109

109:                                              ; preds = %._crit_edge150, %107
  %.099152 = phi i32 [ 0, %107 ], [ %150, %._crit_edge150 ]
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef 0, i32 noundef %.099152)
  %111 = load i32, ptr %19, align 4, !tbaa !33
  %112 = icmp sgt i32 %111, 0
  br i1 %112, label %.lr.ph149, label %._crit_edge150

.lr.ph149:                                        ; preds = %109, %.thread115
  %indvars.iv172 = phi i64 [ %indvars.iv.next173, %.thread115 ], [ 0, %109 ]
  %113 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv172) #3
  %114 = load i8, ptr %113, align 1, !tbaa !34
  %.not106 = icmp eq i8 %114, -1
  br i1 %.not106, label %115, label %.thread115

115:                                              ; preds = %.lr.ph149
  %116 = getelementptr inbounds i32, ptr %110, i64 %indvars.iv172
  %117 = load i32, ptr %116, align 4, !tbaa !36
  %118 = getelementptr inbounds i32, ptr %108, i64 %indvars.iv172
  %119 = load i32, ptr %118, align 4, !tbaa !36
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef %117, i32 noundef 0)
  call void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4) %9, i32 noundef %119, i32 noundef 0)
  %120 = load i32, ptr %8, align 4
  %121 = load i32, ptr %9, align 4
  %122 = call { ptr, i32 } @_ZN16HighsCliqueTable16findCommonCliqueENS_9CliqueVarES0_(ptr noundef nonnull align 8 dereferenceable(488) %1, i32 %120, i32 %121)
  %.fca.0.extract = extractvalue { ptr, i32 } %122, 0
  %.fca.1.extract = extractvalue { ptr, i32 } %122, 1
  %123 = icmp eq ptr %.fca.0.extract, null
  br i1 %123, label %125, label %.preheader

.preheader:                                       ; preds = %115
  %124 = icmp sgt i32 %.fca.1.extract, 0
  br i1 %124, label %.lr.ph144.preheader, label %._crit_edge145

.lr.ph144.preheader:                              ; preds = %.preheader
  %wide.trip.count170 = zext nneg i32 %.fca.1.extract to i64
  br label %.lr.ph144

125:                                              ; preds = %115
  %126 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv172) #3
  store i8 0, ptr %126, align 1, !tbaa !34
  br label %.thread115

._crit_edge145:                                   ; preds = %138, %.preheader
  %.085.lcssa = phi i32 [ 0, %.preheader ], [ %.2, %138 ]
  %127 = load i32, ptr %0, align 8, !tbaa !5
  %128 = icmp eq i32 %.085.lcssa, %127
  br i1 %128, label %139, label %.thread115

.lr.ph144:                                        ; preds = %.lr.ph144.preheader, %138
  %indvars.iv167 = phi i64 [ 0, %.lr.ph144.preheader ], [ %indvars.iv.next168, %138 ]
  %.085142 = phi i32 [ 0, %.lr.ph144.preheader ], [ %.2, %138 ]
  %129 = getelementptr inbounds %"struct.HighsCliqueTable::CliqueVar", ptr %.fca.0.extract, i64 %indvars.iv167
  %130 = load i32, ptr %129, align 4
  %.not107 = icmp sgt i32 %130, -1
  br i1 %.not107, label %131, label %138

131:                                              ; preds = %.lr.ph144
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
  store i32 %130, ptr %10, align 4, !tbaa !36
  %132 = call noundef ptr @_ZN14HighsHashTableIiiE4findERKi(ptr noundef nonnull align 8 dereferenceable(40) %94, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
  %.not108 = icmp eq ptr %132, null
  br i1 %.not108, label %138, label %133

133:                                              ; preds = %131
  %134 = load i32, ptr %132, align 4, !tbaa !36
  %135 = zext i32 %134 to i64
  %136 = icmp eq i64 %indvars.iv172, %135
  %137 = zext i1 %136 to i32
  %spec.select112 = add nsw i32 %.085142, %137
  br label %138

138:                                              ; preds = %133, %131, %.lr.ph144
  %.2 = phi i32 [ %.085142, %.lr.ph144 ], [ %.085142, %131 ], [ %spec.select112, %133 ]
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %exitcond171.not = icmp eq i64 %indvars.iv.next168, %wide.trip.count170
  br i1 %exitcond171.not, label %._crit_edge145, label %.lr.ph144, !llvm.loop !47

139:                                              ; preds = %._crit_edge145
  %140 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIaSaIaEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv172) #3
  store i8 2, ptr %140, align 1, !tbaa !34
  %141 = load i32, ptr %21, align 8, !tbaa !35
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %21, align 8, !tbaa !35
  %143 = load i32, ptr %19, align 4, !tbaa !33
  %144 = icmp eq i32 %142, %143
  br i1 %144, label %._crit_edge150, label %.thread115

.thread115:                                       ; preds = %._crit_edge145, %139, %125, %.lr.ph149
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %145 = load i32, ptr %19, align 4, !tbaa !33
  %146 = sext i32 %145 to i64
  %147 = icmp slt i64 %indvars.iv.next173, %146
  br i1 %147, label %.lr.ph149, label %._crit_edge150, !llvm.loop !48

._crit_edge150:                                   ; preds = %.thread115, %139, %109
  %148 = phi i32 [ %111, %109 ], [ %145, %.thread115 ], [ %142, %139 ]
  %149 = load i32, ptr %21, align 8, !tbaa !35
  %.not109 = icmp ne i32 %149, %148
  %150 = add nuw nsw i32 %.099152, 1
  %151 = icmp ult i32 %150, %.098153
  %or.cond157 = select i1 %.not109, i1 %151, i1 false
  br i1 %or.cond157, label %109, label %152, !llvm.loop !49

152:                                              ; preds = %._crit_edge150
  %.not110 = icmp eq i32 %149, %148
  br i1 %.not110, label %._crit_edge155, label %103

._crit_edge155:                                   ; preds = %152, %103, %.preheader117
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN19HighsOrbitopeMatrix5entryEii(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i32 } @_ZN16HighsCliqueTable16findCommonCliqueENS_9CliqueVarES0_(ptr noundef nonnull align 8 dereferenceable(488), i32, i32) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16HighsCliqueTable9CliqueVarC2Eii(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef) unnamed_addr #2 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !7, i64 0}
!6 = !{!"_ZTS19HighsOrbitopeMatrix", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !25, i64 56, !29, i64 80}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS14HighsHashTableIiiE", !11, i64 0, !18, i64 8, !24, i64 16, !24, i64 24, !24, i64 32}
!11 = !{!"_ZTSSt10unique_ptrI19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEE", !12, i64 0}
!12 = !{!"_ZTSSt15__uniq_ptr_dataI19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterELb1ELb1EE", !13, i64 0}
!13 = !{!"_ZTSSt15__uniq_ptr_implI19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEE", !14, i64 0}
!14 = !{!"_ZTSSt5tupleIJP19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEEE", !15, i64 0}
!15 = !{!"_ZTSSt11_Tuple_implILm0EJP19HighsHashTableEntryIiiEN14HighsHashTableIiiE12OpNewDeleterEEE", !16, i64 0}
!16 = !{!"_ZTSSt10_Head_baseILm0EP19HighsHashTableEntryIiiELb0EE", !17, i64 0}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!"_ZTSSt10unique_ptrIA_hSt14default_deleteIS0_EE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_dataIhSt14default_deleteIA_hELb1ELb1EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_implIhSt14default_deleteIA_hEE", !21, i64 0}
!21 = !{!"_ZTSSt5tupleIJPhSt14default_deleteIA_hEEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Tuple_implILm0EJPhSt14default_deleteIA_hEEE", !23, i64 0}
!23 = !{!"_ZTSSt10_Head_baseILm0EPhLb0EE", !17, i64 0}
!24 = !{!"long", !8, i64 0}
!25 = !{!"_ZTSSt6vectorIaSaIaEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!29 = !{!"_ZTSSt6vectorIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!33 = !{!6, !7, i64 4}
!34 = !{!8, !8, i64 0}
!35 = !{!6, !7, i64 8}
!36 = !{!7, !7, i64 0}
!37 = distinct !{!37, !38, !39}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!"llvm.loop.unswitch.partial.disable"}
!40 = distinct !{!40, !38}
!41 = distinct !{!41, !38}
!42 = distinct !{!42, !38}
!43 = distinct !{!43, !38}
!44 = distinct !{!44, !38}
!45 = distinct !{!45, !38}
!46 = distinct !{!46, !38}
!47 = distinct !{!47, !38}
!48 = distinct !{!48, !38}
!49 = distinct !{!49, !38}


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