; LLVM IR from ERGO-Code/HiGHS :: src/interfaces (highs_c_api)

; 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.HighsRanging = type { i8, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord }
%struct.HighsRangingRecord = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.13", %"class.std::vector.13" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5Highs9getNumColEv(ptr noundef nonnull align 8 dereferenceable(20928)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5Highs9getNumRowEv(ptr noundef nonnull align 8 dereferenceable(20928)) #1 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) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @Highs_getRanging(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24) #3 personality ptr @__gxx_personality_v0 {
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca %struct.HighsRanging, align 8
  %53 = alloca i32, align 4
  %54 = alloca ptr, align 8
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  store ptr %0, ptr %27, align 8, !tbaa !5
  store ptr %1, ptr %28, align 8, !tbaa !5
  store ptr %2, ptr %29, align 8, !tbaa !5
  store ptr %3, ptr %30, align 8, !tbaa !5
  store ptr %4, ptr %31, align 8, !tbaa !5
  store ptr %5, ptr %32, align 8, !tbaa !5
  store ptr %6, ptr %33, align 8, !tbaa !5
  store ptr %7, ptr %34, align 8, !tbaa !5
  store ptr %8, ptr %35, align 8, !tbaa !5
  store ptr %9, ptr %36, align 8, !tbaa !5
  store ptr %10, ptr %37, align 8, !tbaa !5
  store ptr %11, ptr %38, align 8, !tbaa !5
  store ptr %12, ptr %39, align 8, !tbaa !5
  store ptr %13, ptr %40, align 8, !tbaa !5
  store ptr %14, ptr %41, align 8, !tbaa !5
  store ptr %15, ptr %42, align 8, !tbaa !5
  store ptr %16, ptr %43, align 8, !tbaa !5
  store ptr %17, ptr %44, align 8, !tbaa !5
  store ptr %18, ptr %45, align 8, !tbaa !5
  store ptr %19, ptr %46, align 8, !tbaa !5
  store ptr %20, ptr %47, align 8, !tbaa !5
  store ptr %21, ptr %48, align 8, !tbaa !5
  store ptr %22, ptr %49, align 8, !tbaa !5
  store ptr %23, ptr %50, align 8, !tbaa !5
  store ptr %24, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 584, ptr %52) #6
  call void @_ZN12HighsRangingC2Ev(ptr noundef nonnull align 8 dereferenceable(584) %52) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %59 = load ptr, ptr %27, align 8, !tbaa !5
  %60 = invoke noundef i32 @_ZN5Highs10getRangingER12HighsRanging(ptr noundef nonnull align 8 dereferenceable(20928) %59, ptr noundef nonnull align 8 dereferenceable(584) %52)
          to label %61 unwind label %66

61:                                               ; preds = %25
  store i32 %60, ptr %53, align 4, !tbaa !9
  %62 = load i32, ptr %53, align 4, !tbaa !9
  %63 = icmp eq i32 %62, -1
  br i1 %63, label %64, label %70

64:                                               ; preds = %61
  %65 = load i32, ptr %53, align 4, !tbaa !9
  store i32 %65, ptr %26, align 4
  store i32 1, ptr %56, align 4
  br label %351

66:                                               ; preds = %25
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %54, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %55, align 4
  br label %353

70:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  %71 = load ptr, ptr %27, align 8, !tbaa !5
  %72 = invoke noundef i32 @_ZNK5Highs9getNumColEv(ptr noundef nonnull align 8 dereferenceable(20928) %71)
          to label %73 unwind label %87

73:                                               ; preds = %70
  store i32 %72, ptr %57, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  %74 = load ptr, ptr %27, align 8, !tbaa !5
  %75 = invoke noundef i32 @_ZNK5Highs9getNumRowEv(ptr noundef nonnull align 8 dereferenceable(20928) %74)
          to label %76 unwind label %91

76:                                               ; preds = %73
  store i32 %75, ptr %58, align 4, !tbaa !9
  %77 = load ptr, ptr %28, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %95

79:                                               ; preds = %76
  %80 = load ptr, ptr %28, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 1
  %82 = getelementptr inbounds %struct.HighsRangingRecord, ptr %81, i32 0, i32 0
  %83 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #6
  %84 = load i32, ptr %57, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = mul i64 %85, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %80, ptr align 8 %83, i64 %86, i1 false)
  br label %95

87:                                               ; preds = %70
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %54, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %55, align 4
  br label %350

91:                                               ; preds = %73
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %54, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %55, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  br label %350

95:                                               ; preds = %79, %76
  %96 = load ptr, ptr %29, align 8, !tbaa !5
  %97 = icmp ne ptr %96, null
  br i1 %97, label %98, label %106

98:                                               ; preds = %95
  %99 = load ptr, ptr %29, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 1
  %101 = getelementptr inbounds %struct.HighsRangingRecord, ptr %100, i32 0, i32 1
  %102 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #6
  %103 = load i32, ptr %57, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = mul i64 %104, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %99, ptr align 8 %102, i64 %105, i1 false)
  br label %106

106:                                              ; preds = %98, %95
  %107 = load ptr, ptr %30, align 8, !tbaa !5
  %108 = icmp ne ptr %107, null
  br i1 %108, label %109, label %117

109:                                              ; preds = %106
  %110 = load ptr, ptr %30, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 1
  %112 = getelementptr inbounds %struct.HighsRangingRecord, ptr %111, i32 0, i32 2
  %113 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  %114 = load i32, ptr %57, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = mul i64 %115, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %110, ptr align 4 %113, i64 %116, i1 false)
  br label %117

117:                                              ; preds = %109, %106
  %118 = load ptr, ptr %31, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %120, label %128

120:                                              ; preds = %117
  %121 = load ptr, ptr %31, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 1
  %123 = getelementptr inbounds %struct.HighsRangingRecord, ptr %122, i32 0, i32 3
  %124 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #6
  %125 = load i32, ptr %57, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = mul i64 %126, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %121, ptr align 4 %124, i64 %127, i1 false)
  br label %128

128:                                              ; preds = %120, %117
  %129 = load ptr, ptr %32, align 8, !tbaa !5
  %130 = icmp ne ptr %129, null
  br i1 %130, label %131, label %139

131:                                              ; preds = %128
  %132 = load ptr, ptr %32, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 2
  %134 = getelementptr inbounds %struct.HighsRangingRecord, ptr %133, i32 0, i32 0
  %135 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #6
  %136 = load i32, ptr %57, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  %138 = mul i64 %137, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %132, ptr align 8 %135, i64 %138, i1 false)
  br label %139

139:                                              ; preds = %131, %128
  %140 = load ptr, ptr %33, align 8, !tbaa !5
  %141 = icmp ne ptr %140, null
  br i1 %141, label %142, label %150

142:                                              ; preds = %139
  %143 = load ptr, ptr %33, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 2
  %145 = getelementptr inbounds %struct.HighsRangingRecord, ptr %144, i32 0, i32 1
  %146 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %145) #6
  %147 = load i32, ptr %57, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = mul i64 %148, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %143, ptr align 8 %146, i64 %149, i1 false)
  br label %150

150:                                              ; preds = %142, %139
  %151 = load ptr, ptr %34, align 8, !tbaa !5
  %152 = icmp ne ptr %151, null
  br i1 %152, label %153, label %161

153:                                              ; preds = %150
  %154 = load ptr, ptr %34, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 2
  %156 = getelementptr inbounds %struct.HighsRangingRecord, ptr %155, i32 0, i32 2
  %157 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #6
  %158 = load i32, ptr %57, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = mul i64 %159, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %154, ptr align 4 %157, i64 %160, i1 false)
  br label %161

161:                                              ; preds = %153, %150
  %162 = load ptr, ptr %35, align 8, !tbaa !5
  %163 = icmp ne ptr %162, null
  br i1 %163, label %164, label %172

164:                                              ; preds = %161
  %165 = load ptr, ptr %35, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 2
  %167 = getelementptr inbounds %struct.HighsRangingRecord, ptr %166, i32 0, i32 3
  %168 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %167) #6
  %169 = load i32, ptr %57, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = mul i64 %170, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %165, ptr align 4 %168, i64 %171, i1 false)
  br label %172

172:                                              ; preds = %164, %161
  %173 = load ptr, ptr %36, align 8, !tbaa !5
  %174 = icmp ne ptr %173, null
  br i1 %174, label %175, label %183

175:                                              ; preds = %172
  %176 = load ptr, ptr %36, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 3
  %178 = getelementptr inbounds %struct.HighsRangingRecord, ptr %177, i32 0, i32 0
  %179 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %178) #6
  %180 = load i32, ptr %57, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = mul i64 %181, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %176, ptr align 8 %179, i64 %182, i1 false)
  br label %183

183:                                              ; preds = %175, %172
  %184 = load ptr, ptr %37, align 8, !tbaa !5
  %185 = icmp ne ptr %184, null
  br i1 %185, label %186, label %194

186:                                              ; preds = %183
  %187 = load ptr, ptr %37, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 3
  %189 = getelementptr inbounds %struct.HighsRangingRecord, ptr %188, i32 0, i32 1
  %190 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #6
  %191 = load i32, ptr %57, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = mul i64 %192, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %187, ptr align 8 %190, i64 %193, i1 false)
  br label %194

194:                                              ; preds = %186, %183
  %195 = load ptr, ptr %38, align 8, !tbaa !5
  %196 = icmp ne ptr %195, null
  br i1 %196, label %197, label %205

197:                                              ; preds = %194
  %198 = load ptr, ptr %38, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 3
  %200 = getelementptr inbounds %struct.HighsRangingRecord, ptr %199, i32 0, i32 2
  %201 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %200) #6
  %202 = load i32, ptr %57, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = mul i64 %203, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %198, ptr align 4 %201, i64 %204, i1 false)
  br label %205

205:                                              ; preds = %197, %194
  %206 = load ptr, ptr %39, align 8, !tbaa !5
  %207 = icmp ne ptr %206, null
  br i1 %207, label %208, label %216

208:                                              ; preds = %205
  %209 = load ptr, ptr %39, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 3
  %211 = getelementptr inbounds %struct.HighsRangingRecord, ptr %210, i32 0, i32 3
  %212 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %211) #6
  %213 = load i32, ptr %57, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = mul i64 %214, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %209, ptr align 4 %212, i64 %215, i1 false)
  br label %216

216:                                              ; preds = %208, %205
  %217 = load ptr, ptr %40, align 8, !tbaa !5
  %218 = icmp ne ptr %217, null
  br i1 %218, label %219, label %227

219:                                              ; preds = %216
  %220 = load ptr, ptr %40, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 4
  %222 = getelementptr inbounds %struct.HighsRangingRecord, ptr %221, i32 0, i32 0
  %223 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %222) #6
  %224 = load i32, ptr %57, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = mul i64 %225, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %220, ptr align 8 %223, i64 %226, i1 false)
  br label %227

227:                                              ; preds = %219, %216
  %228 = load ptr, ptr %41, align 8, !tbaa !5
  %229 = icmp ne ptr %228, null
  br i1 %229, label %230, label %238

230:                                              ; preds = %227
  %231 = load ptr, ptr %41, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 4
  %233 = getelementptr inbounds %struct.HighsRangingRecord, ptr %232, i32 0, i32 1
  %234 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %233) #6
  %235 = load i32, ptr %57, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = mul i64 %236, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %231, ptr align 8 %234, i64 %237, i1 false)
  br label %238

238:                                              ; preds = %230, %227
  %239 = load ptr, ptr %42, align 8, !tbaa !5
  %240 = icmp ne ptr %239, null
  br i1 %240, label %241, label %249

241:                                              ; preds = %238
  %242 = load ptr, ptr %42, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 4
  %244 = getelementptr inbounds %struct.HighsRangingRecord, ptr %243, i32 0, i32 2
  %245 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %244) #6
  %246 = load i32, ptr %57, align 4, !tbaa !9
  %247 = sext i32 %246 to i64
  %248 = mul i64 %247, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %242, ptr align 4 %245, i64 %248, i1 false)
  br label %249

249:                                              ; preds = %241, %238
  %250 = load ptr, ptr %43, align 8, !tbaa !5
  %251 = icmp ne ptr %250, null
  br i1 %251, label %252, label %260

252:                                              ; preds = %249
  %253 = load ptr, ptr %43, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 4
  %255 = getelementptr inbounds %struct.HighsRangingRecord, ptr %254, i32 0, i32 3
  %256 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %255) #6
  %257 = load i32, ptr %57, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = mul i64 %258, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %253, ptr align 4 %256, i64 %259, i1 false)
  br label %260

260:                                              ; preds = %252, %249
  %261 = load ptr, ptr %44, align 8, !tbaa !5
  %262 = icmp ne ptr %261, null
  br i1 %262, label %263, label %271

263:                                              ; preds = %260
  %264 = load ptr, ptr %44, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 5
  %266 = getelementptr inbounds %struct.HighsRangingRecord, ptr %265, i32 0, i32 0
  %267 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %266) #6
  %268 = load i32, ptr %58, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  %270 = mul i64 %269, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %264, ptr align 8 %267, i64 %270, i1 false)
  br label %271

271:                                              ; preds = %263, %260
  %272 = load ptr, ptr %45, align 8, !tbaa !5
  %273 = icmp ne ptr %272, null
  br i1 %273, label %274, label %282

274:                                              ; preds = %271
  %275 = load ptr, ptr %45, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 5
  %277 = getelementptr inbounds %struct.HighsRangingRecord, ptr %276, i32 0, i32 1
  %278 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %277) #6
  %279 = load i32, ptr %58, align 4, !tbaa !9
  %280 = sext i32 %279 to i64
  %281 = mul i64 %280, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %275, ptr align 8 %278, i64 %281, i1 false)
  br label %282

282:                                              ; preds = %274, %271
  %283 = load ptr, ptr %46, align 8, !tbaa !5
  %284 = icmp ne ptr %283, null
  br i1 %284, label %285, label %293

285:                                              ; preds = %282
  %286 = load ptr, ptr %46, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 5
  %288 = getelementptr inbounds %struct.HighsRangingRecord, ptr %287, i32 0, i32 2
  %289 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %288) #6
  %290 = load i32, ptr %58, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = mul i64 %291, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %286, ptr align 4 %289, i64 %292, i1 false)
  br label %293

293:                                              ; preds = %285, %282
  %294 = load ptr, ptr %47, align 8, !tbaa !5
  %295 = icmp ne ptr %294, null
  br i1 %295, label %296, label %304

296:                                              ; preds = %293
  %297 = load ptr, ptr %47, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 5
  %299 = getelementptr inbounds %struct.HighsRangingRecord, ptr %298, i32 0, i32 3
  %300 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %299) #6
  %301 = load i32, ptr %58, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = mul i64 %302, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %297, ptr align 4 %300, i64 %303, i1 false)
  br label %304

304:                                              ; preds = %296, %293
  %305 = load ptr, ptr %48, align 8, !tbaa !5
  %306 = icmp ne ptr %305, null
  br i1 %306, label %307, label %315

307:                                              ; preds = %304
  %308 = load ptr, ptr %48, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 6
  %310 = getelementptr inbounds %struct.HighsRangingRecord, ptr %309, i32 0, i32 0
  %311 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %310) #6
  %312 = load i32, ptr %58, align 4, !tbaa !9
  %313 = sext i32 %312 to i64
  %314 = mul i64 %313, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %308, ptr align 8 %311, i64 %314, i1 false)
  br label %315

315:                                              ; preds = %307, %304
  %316 = load ptr, ptr %49, align 8, !tbaa !5
  %317 = icmp ne ptr %316, null
  br i1 %317, label %318, label %326

318:                                              ; preds = %315
  %319 = load ptr, ptr %49, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 6
  %321 = getelementptr inbounds %struct.HighsRangingRecord, ptr %320, i32 0, i32 1
  %322 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %321) #6
  %323 = load i32, ptr %58, align 4, !tbaa !9
  %324 = sext i32 %323 to i64
  %325 = mul i64 %324, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %319, ptr align 8 %322, i64 %325, i1 false)
  br label %326

326:                                              ; preds = %318, %315
  %327 = load ptr, ptr %50, align 8, !tbaa !5
  %328 = icmp ne ptr %327, null
  br i1 %328, label %329, label %337

329:                                              ; preds = %326
  %330 = load ptr, ptr %50, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 6
  %332 = getelementptr inbounds %struct.HighsRangingRecord, ptr %331, i32 0, i32 2
  %333 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %332) #6
  %334 = load i32, ptr %58, align 4, !tbaa !9
  %335 = sext i32 %334 to i64
  %336 = mul i64 %335, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %330, ptr align 4 %333, i64 %336, i1 false)
  br label %337

337:                                              ; preds = %329, %326
  %338 = load ptr, ptr %51, align 8, !tbaa !5
  %339 = icmp ne ptr %338, null
  br i1 %339, label %340, label %348

340:                                              ; preds = %337
  %341 = load ptr, ptr %51, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.HighsRanging, ptr %52, i32 0, i32 6
  %343 = getelementptr inbounds %struct.HighsRangingRecord, ptr %342, i32 0, i32 3
  %344 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %343) #6
  %345 = load i32, ptr %58, align 4, !tbaa !9
  %346 = sext i32 %345 to i64
  %347 = mul i64 %346, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %341, ptr align 4 %344, i64 %347, i1 false)
  br label %348

348:                                              ; preds = %340, %337
  %349 = load i32, ptr %53, align 4, !tbaa !9
  store i32 %349, ptr %26, align 4
  store i32 1, ptr %56, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  br label %351

350:                                              ; preds = %91, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  br label %353

351:                                              ; preds = %348, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @_ZN12HighsRangingD2Ev(ptr noundef nonnull align 8 dereferenceable(584) %52) #6
  call void @llvm.lifetime.end.p0(i64 584, ptr %52) #6
  %352 = load i32, ptr %26, align 4
  ret i32 %352

353:                                              ; preds = %350, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @_ZN12HighsRangingD2Ev(ptr noundef nonnull align 8 dereferenceable(584) %52) #6
  call void @llvm.lifetime.end.p0(i64 584, ptr %52) #6
  br label %354

354:                                              ; preds = %353
  %355 = load ptr, ptr %54, align 8
  %356 = load i32, ptr %55, align 4
  %357 = insertvalue { ptr, i32 } poison, ptr %355, 0
  %358 = insertvalue { ptr, i32 } %357, i32 %356, 1
  resume { ptr, i32 } %358
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsRangingC2Ev(ptr noundef nonnull align 8 dereferenceable(584)) unnamed_addr #4 align 2

declare noundef i32 @_ZN5Highs10getRangingER12HighsRanging(ptr noundef nonnull align 8 dereferenceable(20928), ptr noundef nonnull align 8 dereferenceable(584)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsRangingD2Ev(ptr noundef nonnull align 8 dereferenceable(584)) unnamed_addr #4 align 2

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


; 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.HighsRanging = type { i8, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord, %struct.HighsRangingRecord }
%struct.HighsRangingRecord = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.13", %"class.std::vector.13" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5Highs9getNumColEv(ptr noundef nonnull align 8 dereferenceable(20928)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5Highs9getNumRowEv(ptr noundef nonnull align 8 dereferenceable(20928)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress 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) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @Highs_getRanging(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4, ptr noundef writeonly %5, ptr noundef writeonly %6, ptr noundef writeonly %7, ptr noundef writeonly %8, ptr noundef writeonly %9, ptr noundef writeonly %10, ptr noundef writeonly %11, ptr noundef writeonly %12, ptr noundef writeonly %13, ptr noundef writeonly %14, ptr noundef writeonly %15, ptr noundef writeonly %16, ptr noundef writeonly %17, ptr noundef writeonly %18, ptr noundef writeonly %19, ptr noundef writeonly %20, ptr noundef writeonly %21, ptr noundef writeonly %22, ptr noundef writeonly %23, ptr noundef writeonly %24) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %26 = alloca %struct.HighsRanging, align 8
  call void @llvm.lifetime.start.p0(i64 584, ptr nonnull %26) #6
  call void @_ZN12HighsRangingC2Ev(ptr noundef nonnull align 8 dereferenceable(584) %26) #6
  %27 = invoke noundef i32 @_ZN5Highs10getRangingER12HighsRanging(ptr noundef nonnull align 8 dereferenceable(20928) %0, ptr noundef nonnull align 8 dereferenceable(584) %26)
          to label %28 unwind label %30

28:                                               ; preds = %25
  %29 = icmp eq i32 %27, -1
  br i1 %29, label %178, label %32

30:                                               ; preds = %25
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12HighsRangingD2Ev(ptr noundef nonnull align 8 dereferenceable(584) %26) #6
  call void @llvm.lifetime.end.p0(i64 584, ptr nonnull %26) #6
  resume { ptr, i32 } %31

32:                                               ; preds = %28
  %33 = call noundef i32 @_ZNK5Highs9getNumColEv(ptr noundef nonnull align 8 dereferenceable(20928) %0)
  %34 = call noundef i32 @_ZNK5Highs9getNumRowEv(ptr noundef nonnull align 8 dereferenceable(20928) %0)
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %40, label %35

35:                                               ; preds = %32
  %36 = getelementptr inbounds i8, ptr %26, i64 8
  %37 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %38 = sext i32 %33 to i64
  %39 = shl nsw i64 %38, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %1, ptr align 8 %37, i64 %39, i1 false)
  br label %40

40:                                               ; preds = %35, %32
  %.not103 = icmp eq ptr %2, null
  br i1 %.not103, label %46, label %41

41:                                               ; preds = %40
  %42 = getelementptr inbounds i8, ptr %26, i64 32
  %43 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  %44 = sext i32 %33 to i64
  %45 = shl nsw i64 %44, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %2, ptr align 8 %43, i64 %45, i1 false)
  br label %46

46:                                               ; preds = %41, %40
  %.not104 = icmp eq ptr %3, null
  br i1 %.not104, label %52, label %47

47:                                               ; preds = %46
  %48 = getelementptr inbounds i8, ptr %26, i64 56
  %49 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #6
  %50 = sext i32 %33 to i64
  %51 = shl nsw i64 %50, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %3, ptr align 4 %49, i64 %51, i1 false)
  br label %52

52:                                               ; preds = %47, %46
  %.not105 = icmp eq ptr %4, null
  br i1 %.not105, label %58, label %53

53:                                               ; preds = %52
  %54 = getelementptr inbounds i8, ptr %26, i64 80
  %55 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  %56 = sext i32 %33 to i64
  %57 = shl nsw i64 %56, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %4, ptr align 4 %55, i64 %57, i1 false)
  br label %58

58:                                               ; preds = %53, %52
  %.not106 = icmp eq ptr %5, null
  br i1 %.not106, label %64, label %59

59:                                               ; preds = %58
  %60 = getelementptr inbounds i8, ptr %26, i64 104
  %61 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #6
  %62 = sext i32 %33 to i64
  %63 = shl nsw i64 %62, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %5, ptr align 8 %61, i64 %63, i1 false)
  br label %64

64:                                               ; preds = %59, %58
  %.not107 = icmp eq ptr %6, null
  br i1 %.not107, label %70, label %65

65:                                               ; preds = %64
  %66 = getelementptr inbounds i8, ptr %26, i64 128
  %67 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %68 = sext i32 %33 to i64
  %69 = shl nsw i64 %68, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %6, ptr align 8 %67, i64 %69, i1 false)
  br label %70

70:                                               ; preds = %65, %64
  %.not108 = icmp eq ptr %7, null
  br i1 %.not108, label %76, label %71

71:                                               ; preds = %70
  %72 = getelementptr inbounds i8, ptr %26, i64 152
  %73 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  %74 = sext i32 %33 to i64
  %75 = shl nsw i64 %74, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %7, ptr align 4 %73, i64 %75, i1 false)
  br label %76

76:                                               ; preds = %71, %70
  %.not109 = icmp eq ptr %8, null
  br i1 %.not109, label %82, label %77

77:                                               ; preds = %76
  %78 = getelementptr inbounds i8, ptr %26, i64 176
  %79 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %80 = sext i32 %33 to i64
  %81 = shl nsw i64 %80, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %8, ptr align 4 %79, i64 %81, i1 false)
  br label %82

82:                                               ; preds = %77, %76
  %.not110 = icmp eq ptr %9, null
  br i1 %.not110, label %88, label %83

83:                                               ; preds = %82
  %84 = getelementptr inbounds i8, ptr %26, i64 200
  %85 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #6
  %86 = sext i32 %33 to i64
  %87 = shl nsw i64 %86, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %9, ptr align 8 %85, i64 %87, i1 false)
  br label %88

88:                                               ; preds = %83, %82
  %.not111 = icmp eq ptr %10, null
  br i1 %.not111, label %94, label %89

89:                                               ; preds = %88
  %90 = getelementptr inbounds i8, ptr %26, i64 224
  %91 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #6
  %92 = sext i32 %33 to i64
  %93 = shl nsw i64 %92, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %10, ptr align 8 %91, i64 %93, i1 false)
  br label %94

94:                                               ; preds = %89, %88
  %.not112 = icmp eq ptr %11, null
  br i1 %.not112, label %100, label %95

95:                                               ; preds = %94
  %96 = getelementptr inbounds i8, ptr %26, i64 248
  %97 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #6
  %98 = sext i32 %33 to i64
  %99 = shl nsw i64 %98, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %11, ptr align 4 %97, i64 %99, i1 false)
  br label %100

100:                                              ; preds = %95, %94
  %.not113 = icmp eq ptr %12, null
  br i1 %.not113, label %106, label %101

101:                                              ; preds = %100
  %102 = getelementptr inbounds i8, ptr %26, i64 272
  %103 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #6
  %104 = sext i32 %33 to i64
  %105 = shl nsw i64 %104, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %12, ptr align 4 %103, i64 %105, i1 false)
  br label %106

106:                                              ; preds = %101, %100
  %.not114 = icmp eq ptr %13, null
  br i1 %.not114, label %112, label %107

107:                                              ; preds = %106
  %108 = getelementptr inbounds i8, ptr %26, i64 296
  %109 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #6
  %110 = sext i32 %33 to i64
  %111 = shl nsw i64 %110, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %13, ptr align 8 %109, i64 %111, i1 false)
  br label %112

112:                                              ; preds = %107, %106
  %.not115 = icmp eq ptr %14, null
  br i1 %.not115, label %118, label %113

113:                                              ; preds = %112
  %114 = getelementptr inbounds i8, ptr %26, i64 320
  %115 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #6
  %116 = sext i32 %33 to i64
  %117 = shl nsw i64 %116, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %14, ptr align 8 %115, i64 %117, i1 false)
  br label %118

118:                                              ; preds = %113, %112
  %.not116 = icmp eq ptr %15, null
  br i1 %.not116, label %124, label %119

119:                                              ; preds = %118
  %120 = getelementptr inbounds i8, ptr %26, i64 344
  %121 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #6
  %122 = sext i32 %33 to i64
  %123 = shl nsw i64 %122, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %15, ptr align 4 %121, i64 %123, i1 false)
  br label %124

124:                                              ; preds = %119, %118
  %.not117 = icmp eq ptr %16, null
  br i1 %.not117, label %130, label %125

125:                                              ; preds = %124
  %126 = getelementptr inbounds i8, ptr %26, i64 368
  %127 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #6
  %128 = sext i32 %33 to i64
  %129 = shl nsw i64 %128, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %16, ptr align 4 %127, i64 %129, i1 false)
  br label %130

130:                                              ; preds = %125, %124
  %.not118 = icmp eq ptr %17, null
  br i1 %.not118, label %136, label %131

131:                                              ; preds = %130
  %132 = getelementptr inbounds i8, ptr %26, i64 392
  %133 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #6
  %134 = sext i32 %34 to i64
  %135 = shl nsw i64 %134, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %17, ptr align 8 %133, i64 %135, i1 false)
  br label %136

136:                                              ; preds = %131, %130
  %.not119 = icmp eq ptr %18, null
  br i1 %.not119, label %142, label %137

137:                                              ; preds = %136
  %138 = getelementptr inbounds i8, ptr %26, i64 416
  %139 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #6
  %140 = sext i32 %34 to i64
  %141 = shl nsw i64 %140, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %18, ptr align 8 %139, i64 %141, i1 false)
  br label %142

142:                                              ; preds = %137, %136
  %.not120 = icmp eq ptr %19, null
  br i1 %.not120, label %148, label %143

143:                                              ; preds = %142
  %144 = getelementptr inbounds i8, ptr %26, i64 440
  %145 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %144) #6
  %146 = sext i32 %34 to i64
  %147 = shl nsw i64 %146, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %19, ptr align 4 %145, i64 %147, i1 false)
  br label %148

148:                                              ; preds = %143, %142
  %.not121 = icmp eq ptr %20, null
  br i1 %.not121, label %154, label %149

149:                                              ; preds = %148
  %150 = getelementptr inbounds i8, ptr %26, i64 464
  %151 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %150) #6
  %152 = sext i32 %34 to i64
  %153 = shl nsw i64 %152, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %20, ptr align 4 %151, i64 %153, i1 false)
  br label %154

154:                                              ; preds = %149, %148
  %.not122 = icmp eq ptr %21, null
  br i1 %.not122, label %160, label %155

155:                                              ; preds = %154
  %156 = getelementptr inbounds i8, ptr %26, i64 488
  %157 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #6
  %158 = sext i32 %34 to i64
  %159 = shl nsw i64 %158, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %21, ptr align 8 %157, i64 %159, i1 false)
  br label %160

160:                                              ; preds = %155, %154
  %.not123 = icmp eq ptr %22, null
  br i1 %.not123, label %166, label %161

161:                                              ; preds = %160
  %162 = getelementptr inbounds i8, ptr %26, i64 512
  %163 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %162) #6
  %164 = sext i32 %34 to i64
  %165 = shl nsw i64 %164, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %22, ptr align 8 %163, i64 %165, i1 false)
  br label %166

166:                                              ; preds = %161, %160
  %.not124 = icmp eq ptr %23, null
  br i1 %.not124, label %172, label %167

167:                                              ; preds = %166
  %168 = getelementptr inbounds i8, ptr %26, i64 536
  %169 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %168) #6
  %170 = sext i32 %34 to i64
  %171 = shl nsw i64 %170, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %23, ptr align 4 %169, i64 %171, i1 false)
  br label %172

172:                                              ; preds = %167, %166
  %.not125 = icmp eq ptr %24, null
  br i1 %.not125, label %178, label %173

173:                                              ; preds = %172
  %174 = getelementptr inbounds i8, ptr %26, i64 560
  %175 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #6
  %176 = sext i32 %34 to i64
  %177 = shl nsw i64 %176, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %24, ptr align 4 %175, i64 %177, i1 false)
  br label %178

178:                                              ; preds = %172, %173, %28
  call void @_ZN12HighsRangingD2Ev(ptr noundef nonnull align 8 dereferenceable(584) %26) #6
  call void @llvm.lifetime.end.p0(i64 584, ptr nonnull %26) #6
  ret i32 %27
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsRangingC2Ev(ptr noundef nonnull align 8 dereferenceable(584)) unnamed_addr #4 align 2

declare noundef i32 @_ZN5Highs10getRangingER12HighsRanging(ptr noundef nonnull align 8 dereferenceable(20928), ptr noundef nonnull align 8 dereferenceable(584)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsRangingD2Ev(ptr noundef nonnull align 8 dereferenceable(584)) unnamed_addr #4 align 2

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass