; LLVM IR from nubot-nudt/simatch :: src/robot_code/world_model/src/iAuction.ll (ZN8iAuction9MainStageEj)

; 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" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%class.iAuction = type { %"class.std::vector", i32, i32, %"class.std::set", %"class.std::set", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::set", %"class.std::vector.18", %"class.std::vector.23", %"class.std::vector.28", %"class.std::vector.8", i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::set<unsigned int>, std::allocator<std::set<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::set<unsigned int>, std::allocator<std::set<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::set<unsigned int>, std::allocator<std::set<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::set<unsigned int>, std::allocator<std::set<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>, std::allocator<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>, std::allocator<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>, std::allocator<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>, std::allocator<std::priority_queue<std::pair<unsigned int, double>, std::vector<std::pair<unsigned int, double>>, less_comp<unsigned int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.33" = type { i32, double }

@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN8iAuction9MainStageEj = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZTIi = external constant 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 nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8iAuction17UpdateLabeledRowsEj(ptr noundef nonnull align 8 dereferenceable(400), i32 noundef) #3 align 2

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

40:                                               ; preds = %247, %2
  %41 = load i32, ptr %5, align 4, !tbaa !9
  %42 = icmp eq i32 %41, -1
  br i1 %42, label %43, label %248

43:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %44 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #5
  store double %44, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %45 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 3
  %46 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %45) #5
  %47 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %10, i32 0, i32 0
  store ptr %46, ptr %47, align 8
  br label %48

48:                                               ; preds = %172, %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %49 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 3
  %50 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %49) #5
  %51 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %11, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  %52 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br i1 %52, label %54, label %53

53:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %175

54:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %55 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 13
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %57 = load i32, ptr %56, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %58) #5
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIjdESt6vectorIS1_SaIS1_EE9less_compIjEE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %59)
  %61 = getelementptr inbounds %"struct.std::pair.33", ptr %60, i32 0, i32 0
  %62 = load i32, ptr %61, align 8, !tbaa !13
  store i32 %62, ptr %12, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %71, %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %64 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 4
  %65 = call ptr @_ZNSt3setIjSt4lessIjESaIjEE4findERKj(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %66 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %13, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %67 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 4
  %68 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %67) #5
  %69 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %14, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  %70 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br i1 %70, label %71, label %85

71:                                               ; preds = %63
  %72 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 13
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %75) #5
  call void @_ZNSt14priority_queueISt4pairIjdESt6vectorIS1_SaIS1_EE9less_compIjEE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %76)
  %77 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 13
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %80) #5
  %82 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIjdESt6vectorIS1_SaIS1_EE9less_compIjEE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %81)
  %83 = getelementptr inbounds %"struct.std::pair.33", ptr %82, i32 0, i32 0
  %84 = load i32, ptr %83, align 8, !tbaa !13
  store i32 %84, ptr %12, align 4, !tbaa !9
  br label %63, !llvm.loop !15

85:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %86 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 4
  %87 = call ptr @_ZNSt3setIjSt4lessIjESaIjEE4findERKj(ptr noundef nonnull align 8 dereferenceable(48) %86, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %88 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %15, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %89 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 4
  %90 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %89) #5
  %91 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %16, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  %92 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br i1 %92, label %93, label %171

93:                                               ; preds = %85
  %94 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 0
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %96 = load i32, ptr %95, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %97) #5
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %100 = load i32, ptr %99, align 4, !tbaa !9
  %101 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %31, i32 noundef %100)
  %102 = zext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %102) #5
  %104 = load double, ptr %103, align 8, !tbaa !11
  %105 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 5
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %31, i32 noundef %107)
  %109 = zext i32 %108 to i64
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %109) #5
  %111 = load double, ptr %110, align 8, !tbaa !11
  %112 = fsub double %104, %111
  %113 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 0
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %116) #5
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #5
  %121 = load double, ptr %120, align 8, !tbaa !11
  %122 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 5
  %123 = load i32, ptr %12, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124) #5
  %126 = load double, ptr %125, align 8, !tbaa !11
  %127 = fsub double %121, %126
  %128 = fsub double %112, %127
  %129 = load double, ptr %9, align 8, !tbaa !11
  %130 = fcmp olt double %128, %129
  br i1 %130, label %131, label %170

131:                                              ; preds = %93
  %132 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 0
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %135) #5
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %138 = load i32, ptr %137, align 4, !tbaa !9
  %139 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %31, i32 noundef %138)
  %140 = zext i32 %139 to i64
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef %140) #5
  %142 = load double, ptr %141, align 8, !tbaa !11
  %143 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 5
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %145 = load i32, ptr %144, align 4, !tbaa !9
  %146 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %31, i32 noundef %145)
  %147 = zext i32 %146 to i64
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %147) #5
  %149 = load double, ptr %148, align 8, !tbaa !11
  %150 = fsub double %142, %149
  %151 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 0
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef %154) #5
  %156 = load i32, ptr %12, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %157) #5
  %159 = load double, ptr %158, align 8, !tbaa !11
  %160 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 5
  %161 = load i32, ptr %12, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %162) #5
  %164 = load double, ptr %163, align 8, !tbaa !11
  %165 = fsub double %159, %164
  %166 = fsub double %150, %165
  store double %166, ptr %9, align 8, !tbaa !11
  %167 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %167, ptr %7, align 4, !tbaa !9
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %169 = load i32, ptr %168, align 4, !tbaa !9
  store i32 %169, ptr %6, align 4, !tbaa !9
  br label %170

170:                                              ; preds = %131, %93
  br label %171

171:                                              ; preds = %170, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %172

172:                                              ; preds = %171
  %173 = call ptr @_ZNSt23_Rb_tree_const_iteratorIjEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #5
  %174 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %17, i32 0, i32 0
  store ptr %173, ptr %174, align 8
  br label %48, !llvm.loop !17

175:                                              ; preds = %53
  %176 = load i32, ptr %7, align 4, !tbaa !9
  %177 = icmp ne i32 %176, -1
  br i1 %177, label %178, label %181

178:                                              ; preds = %175
  %179 = load i32, ptr %6, align 4, !tbaa !9
  %180 = icmp ne i32 %179, -1
  br label %181

181:                                              ; preds = %178, %175
  %182 = phi i1 [ false, %175 ], [ %180, %178 ]
  br i1 %182, label %183, label %184

183:                                              ; preds = %181
  br label %186

184:                                              ; preds = %181
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 147, ptr noundef @__PRETTY_FUNCTION__._ZN8iAuction9MainStageEj) #6
  unreachable

185:                                              ; No predecessors!
  br label %186

186:                                              ; preds = %185, %183
  %187 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 12
  %188 = load i32, ptr %6, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %189) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %191 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %191, ptr %18, align 4, !tbaa !9
  call void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %190, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %192 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 11
  %193 = load i32, ptr %7, align 4, !tbaa !9
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %194) #5
  %196 = load i32, ptr %195, align 4, !tbaa !9
  %197 = icmp eq i32 %196, -1
  br i1 %197, label %198, label %199

198:                                              ; preds = %186
  br label %201

199:                                              ; preds = %186
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 150, ptr noundef @__PRETTY_FUNCTION__._ZN8iAuction9MainStageEj) #6
  unreachable

200:                                              ; No predecessors!
  br label %201

201:                                              ; preds = %200, %198
  %202 = load i32, ptr %6, align 4, !tbaa !9
  %203 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 11
  %204 = load i32, ptr %7, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %205) #5
  store i32 %202, ptr %206, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %207 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 4
  %208 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %207) #5
  %209 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %19, i32 0, i32 0
  store ptr %208, ptr %209, align 8
  br label %210

210:                                              ; preds = %225, %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %211 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 4
  %212 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %211) #5
  %213 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %20, i32 0, i32 0
  store ptr %212, ptr %213, align 8
  %214 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br i1 %214, label %216, label %215

215:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %228

216:                                              ; preds = %210
  %217 = load double, ptr %9, align 8, !tbaa !11
  %218 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 5
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %220 = load i32, ptr %219, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %218, i64 noundef %221) #5
  %223 = load double, ptr %222, align 8, !tbaa !11
  %224 = fadd double %223, %217
  store double %224, ptr %222, align 8, !tbaa !11
  br label %225

225:                                              ; preds = %216
  %226 = call ptr @_ZNSt23_Rb_tree_const_iteratorIjEppEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 0) #5
  %227 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %21, i32 0, i32 0
  store ptr %226, ptr %227, align 8
  br label %210, !llvm.loop !18

228:                                              ; preds = %215
  %229 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 16
  %230 = load i32, ptr %229, align 4, !tbaa !19
  %231 = add i32 %230, 1
  store i32 %231, ptr %229, align 4, !tbaa !19
  %232 = load i32, ptr %7, align 4, !tbaa !9
  %233 = call noundef i32 @_ZN8iAuction14GetNumAsgnRowsEj(ptr noundef nonnull align 8 dereferenceable(400) %31, i32 noundef %232)
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %237, label %235

235:                                              ; preds = %228
  %236 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %236, ptr %5, align 4, !tbaa !9
  br label %247

237:                                              ; preds = %228
  %238 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %239 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %239, ptr %22, align 4, !tbaa !9
  %240 = call { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertEOj(ptr noundef nonnull align 8 dereferenceable(48) %238, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %241 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 0
  %242 = extractvalue { ptr, i8 } %240, 0
  store ptr %242, ptr %241, align 8
  %243 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 1
  %244 = extractvalue { ptr, i8 } %240, 1
  store i8 %244, ptr %243, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  %245 = load i32, ptr %7, align 4, !tbaa !9
  %246 = call noundef i32 @_ZN8iAuction17UpdateLabeledRowsEj(ptr noundef nonnull align 8 dereferenceable(400) %31, i32 noundef %245)
  br label %247

247:                                              ; preds = %237, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %40, !llvm.loop !58

248:                                              ; preds = %40
  %249 = load i32, ptr %5, align 4, !tbaa !9
  %250 = icmp ne i32 %249, -1
  br i1 %250, label %251, label %252

251:                                              ; preds = %248
  br label %254

252:                                              ; preds = %248
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 179, ptr noundef @__PRETTY_FUNCTION__._ZN8iAuction9MainStageEj) #6
  unreachable

253:                                              ; No predecessors!
  br label %254

254:                                              ; preds = %253, %251
  %255 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %256 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %256, ptr %24, align 4, !tbaa !9
  %257 = call { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertEOj(ptr noundef nonnull align 8 dereferenceable(48) %255, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %258 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 0
  %259 = extractvalue { ptr, i8 } %257, 0
  store ptr %259, ptr %258, align 8
  %260 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 1
  %261 = extractvalue { ptr, i8 } %257, 1
  store i8 %261, ptr %260, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 -1, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %262 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %262, ptr %28, align 4, !tbaa !9
  br label %263

263:                                              ; preds = %334, %254
  %264 = load i32, ptr %26, align 4, !tbaa !9
  %265 = load i32, ptr %4, align 4, !tbaa !9
  %266 = icmp ne i32 %264, %265
  br i1 %266, label %267, label %335

267:                                              ; preds = %263
  %268 = load i32, ptr %27, align 4, !tbaa !9
  %269 = add i32 %268, 1
  store i32 %269, ptr %27, align 4, !tbaa !9
  %270 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 2
  %271 = load i32, ptr %270, align 4, !tbaa !59
  %272 = icmp ugt i32 %268, %271
  br i1 %272, label %273, label %275

273:                                              ; preds = %267
  %274 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 -1, ptr %274, align 16, !tbaa !9
  call void @__cxa_throw(ptr %274, ptr @_ZTIi, ptr null) #7
  unreachable

275:                                              ; preds = %267
  %276 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 6
  %277 = load i32, ptr %6, align 4, !tbaa !9
  %278 = sext i32 %277 to i64
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %276, i64 noundef %278) #5
  %280 = load i32, ptr %279, align 4, !tbaa !9
  store i32 %280, ptr %26, align 4, !tbaa !9
  %281 = load i32, ptr %28, align 4, !tbaa !9
  %282 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 6
  %283 = load i32, ptr %6, align 4, !tbaa !9
  %284 = sext i32 %283 to i64
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %282, i64 noundef %284) #5
  store i32 %281, ptr %285, align 4, !tbaa !9
  %286 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 11
  %287 = load i32, ptr %26, align 4, !tbaa !9
  %288 = sext i32 %287 to i64
  %289 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %286, i64 noundef %288) #5
  %290 = load i32, ptr %289, align 4, !tbaa !9
  %291 = icmp ne i32 %290, -1
  br i1 %291, label %292, label %334

292:                                              ; preds = %275
  %293 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 11
  %294 = load i32, ptr %26, align 4, !tbaa !9
  %295 = sext i32 %294 to i64
  %296 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %293, i64 noundef %295) #5
  %297 = load i32, ptr %296, align 4, !tbaa !9
  store i32 %297, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %298

298:                                              ; preds = %329, %292
  %299 = load i32, ptr %29, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 12
  %302 = load i32, ptr %6, align 4, !tbaa !9
  %303 = sext i32 %302 to i64
  %304 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %301, i64 noundef %303) #5
  %305 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %304) #5
  %306 = icmp ult i64 %300, %305
  br i1 %306, label %308, label %307

307:                                              ; preds = %298
  store i32 14, ptr %30, align 4
  br label %332

308:                                              ; preds = %298
  %309 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 12
  %310 = load i32, ptr %6, align 4, !tbaa !9
  %311 = sext i32 %310 to i64
  %312 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %309, i64 noundef %311) #5
  %313 = load i32, ptr %29, align 4, !tbaa !9
  %314 = zext i32 %313 to i64
  %315 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %312, i64 noundef %314) #5
  %316 = load i32, ptr %315, align 4, !tbaa !9
  %317 = load i32, ptr %26, align 4, !tbaa !9
  %318 = icmp eq i32 %316, %317
  br i1 %318, label %319, label %328

319:                                              ; preds = %308
  %320 = getelementptr inbounds %class.iAuction, ptr %31, i32 0, i32 12
  %321 = load i32, ptr %6, align 4, !tbaa !9
  %322 = sext i32 %321 to i64
  %323 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %320, i64 noundef %322) #5
  %324 = load i32, ptr %29, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %323, i64 noundef %325) #5
  %327 = load i32, ptr %326, align 4, !tbaa !9
  store i32 %327, ptr %28, align 4, !tbaa !9
  store i32 14, ptr %30, align 4
  br label %332

328:                                              ; preds = %308
  br label %329

329:                                              ; preds = %328
  %330 = load i32, ptr %29, align 4, !tbaa !9
  %331 = add i32 %330, 1
  store i32 %331, ptr %29, align 4, !tbaa !9
  br label %298, !llvm.loop !60

332:                                              ; preds = %319, %307
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %333

333:                                              ; preds = %332
  br label %334

334:                                              ; preds = %333, %275
  br label %263, !llvm.loop !61

335:                                              ; preds = %263
  call void @_ZN8iAuction23UpdateRecordAllocationsEv(ptr noundef nonnull align 8 dereferenceable(400) %31)
  %336 = load i32, ptr %5, align 4, !tbaa !9
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret i32 %336
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3setIjSt4lessIjESaIjEE4findERKj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertEOj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
attributes #6 = { noreturn nounwind }
attributes #7 = { noreturn }

!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, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSSt4pairIjdE", !10, i64 0, !12, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{!20, !10, i64 396}
!20 = !{!"_ZTS8iAuction", !21, i64 0, !10, i64 24, !10, i64 28, !25, i64 32, !25, i64 80, !34, i64 128, !38, i64 152, !38, i64 176, !38, i64 200, !42, i64 224, !25, i64 248, !46, i64 296, !50, i64 320, !54, i64 344, !38, i64 368, !10, i64 392, !10, i64 396}
!21 = !{!"_ZTSSt6vectorIS_IdSaIdEESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt3setIjSt4lessIjESaIjEE", !26, i64 0}
!26 = !{!"_ZTSSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE", !27, i64 0}
!27 = !{!"_ZTSNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE13_Rb_tree_implIS3_Lb1EEE", !28, i64 0, !30, i64 8}
!28 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !29, i64 0}
!29 = !{!"_ZTSSt4lessIjE"}
!30 = !{!"_ZTSSt15_Rb_tree_header", !31, i64 0, !33, i64 32}
!31 = !{!"_ZTSSt18_Rb_tree_node_base", !32, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!32 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!33 = !{!"long", !7, i64 0}
!34 = !{!"_ZTSSt6vectorIdSaIdEE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSSt6vectorIjSaIjEE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!"_ZTSSt6vectorISt3setIjSt4lessIjESaIjEESaIS4_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseISt3setIjSt4lessIjESaIjEESaIS4_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseISt3setIjSt4lessIjESaIjEESaIS4_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseISt3setIjSt4lessIjESaIjEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!46 = !{!"_ZTSSt6vectorIiSaIiEE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSSt6vectorIS_IjSaIjEESaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseISt6vectorIjSaIjEESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt6vectorIjSaIjEESaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseISt6vectorIjSaIjEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt14priority_queueISt4pairIjdESt6vectorIS2_SaIS2_EE9less_compIjEESaIS8_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt14priority_queueISt4pairIjdESt6vectorIS2_SaIS2_EE9less_compIjEESaIS8_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt14priority_queueISt4pairIjdESt6vectorIS2_SaIS2_EE9less_compIjEESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = distinct !{!58, !16}
!59 = !{!20, !10, i64 28}
!60 = distinct !{!60, !16}
!61 = distinct !{!61, !16}


; 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.std::_Rb_tree_const_iterator" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN8iAuction9MainStageEj = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@_ZTIi = external constant ptr

; 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 nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8iAuction23UpdateRecordAllocationsEv(ptr noundef nonnull align 8 dereferenceable(400)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8iAuction9InitStageEv(ptr noundef nonnull align 8 dereferenceable(400)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8iAuction17UpdateLabeledRowsEj(ptr noundef nonnull align 8 dereferenceable(400), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, -1) i32 @_ZN8iAuction9MainStageEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %1) local_unnamed_addr #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %5 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 %1, ptr %3, align 4, !tbaa !5
  tail call void @_ZN8iAuction9InitStageEv(ptr noundef nonnull align 8 dereferenceable(400) %0)
  %16 = getelementptr inbounds i8, ptr %0, i64 80
  %17 = call { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %18 = load i32, ptr %3, align 4, !tbaa !5
  %19 = call noundef i32 @_ZN8iAuction17UpdateLabeledRowsEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  %21 = getelementptr inbounds i8, ptr %0, i64 344
  %22 = getelementptr inbounds i8, ptr %0, i64 128
  %23 = getelementptr inbounds i8, ptr %0, i64 320
  %24 = getelementptr inbounds i8, ptr %0, i64 296
  %25 = getelementptr inbounds i8, ptr %0, i64 396
  br label %26

26:                                               ; preds = %2, %158
  %.04477 = phi i32 [ -1, %2 ], [ %.145.lcssa, %158 ]
  %.04776 = phi i32 [ -1, %2 ], [ %.148.lcssa, %158 ]
  %27 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %28 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  store ptr %28, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %29 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  store ptr %29, ptr %5, align 8
  %30 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %30, label %.lr.ph69, label %._crit_edge70

._crit_edge70:                                    ; preds = %125, %26
  %.050.lcssa = phi double [ %27, %26 ], [ %.151, %125 ]
  %.148.lcssa = phi i32 [ %.04776, %26 ], [ %.249, %125 ]
  %.145.lcssa = phi i32 [ %.04477, %26 ], [ %.246, %125 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %31 = icmp ne i32 %.148.lcssa, -1
  %32 = icmp ne i32 %.145.lcssa, -1
  %33 = select i1 %31, i1 %32, i1 false
  br i1 %33, label %130, label %129

.lr.ph69:                                         ; preds = %26, %125
  %.14567 = phi i32 [ %.246, %125 ], [ %.04477, %26 ]
  %.14866 = phi i32 [ %.249, %125 ], [ %.04776, %26 ]
  %.05065 = phi double [ %.151, %125 ], [ %27, %26 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = zext i32 %35 to i64
  %37 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %36) #5
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIjdESt6vectorIS1_SaIS1_EE9less_compIjEE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %37)
  %storemerge64 = load i32, ptr %38, align 8, !tbaa !9
  store i32 %storemerge64, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %39 = call ptr @_ZNSt3setIjSt4lessIjESaIjEE4findERKj(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 4 dereferenceable(4) %6)
  store ptr %39, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %40 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  store ptr %40, ptr %8, align 8
  %41 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br i1 %41, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph69, %.lr.ph
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = zext i32 %43 to i64
  %45 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %44) #5
  call void @_ZNSt14priority_queueISt4pairIjdESt6vectorIS1_SaIS1_EE9less_compIjEE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %45)
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = zext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %48) #5
  %50 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIjdESt6vectorIS1_SaIS1_EE9less_compIjEE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %49)
  %storemerge = load i32, ptr %50, align 8, !tbaa !9
  store i32 %storemerge, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %51 = call ptr @_ZNSt3setIjSt4lessIjESaIjEE4findERKj(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 4 dereferenceable(4) %6)
  store ptr %51, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %52 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  store ptr %52, ptr %8, align 8
  %53 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br i1 %53, label %.lr.ph, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph69
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %54 = call ptr @_ZNSt3setIjSt4lessIjESaIjEE4findERKj(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 4 dereferenceable(4) %6)
  store ptr %54, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %55 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  store ptr %55, ptr %10, align 8
  %56 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %56, label %57, label %125

57:                                               ; preds = %._crit_edge
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = zext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %60) #5
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %63)
  %65 = zext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %65) #5
  %67 = load double, ptr %66, align 8, !tbaa !14
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %69)
  %71 = zext i32 %70 to i64
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %71) #5
  %73 = load double, ptr %72, align 8, !tbaa !14
  %74 = fsub double %67, %73
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = zext i32 %76 to i64
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %77) #5
  %79 = load i32, ptr %6, align 4, !tbaa !5
  %80 = zext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %80) #5
  %82 = load double, ptr %81, align 8, !tbaa !14
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = zext i32 %83 to i64
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %84) #5
  %86 = load double, ptr %85, align 8, !tbaa !14
  %87 = fsub double %82, %86
  %88 = fsub double %74, %87
  %89 = fcmp olt double %88, %.05065
  br i1 %89, label %90, label %125

90:                                               ; preds = %57
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = zext i32 %92 to i64
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %93) #5
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %96)
  %98 = zext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %98) #5
  %100 = load double, ptr %99, align 8, !tbaa !14
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = call noundef i32 @_ZN8iAuction14GetAssignedColEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %102)
  %104 = zext i32 %103 to i64
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %104) #5
  %106 = load double, ptr %105, align 8, !tbaa !14
  %107 = fsub double %100, %106
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = zext i32 %109 to i64
  %111 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %110) #5
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %113) #5
  %115 = load double, ptr %114, align 8, !tbaa !14
  %116 = load i32, ptr %6, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %117) #5
  %119 = load double, ptr %118, align 8, !tbaa !14
  %120 = fsub double %115, %119
  %121 = fsub double %107, %120
  %122 = load i32, ptr %6, align 4, !tbaa !5
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %124 = load i32, ptr %123, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %57, %90, %._crit_edge
  %.151 = phi double [ %121, %90 ], [ %.05065, %57 ], [ %.05065, %._crit_edge ]
  %.249 = phi i32 [ %122, %90 ], [ %.14866, %57 ], [ %.14866, %._crit_edge ]
  %.246 = phi i32 [ %124, %90 ], [ %.14567, %57 ], [ %.14567, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  %126 = call ptr @_ZNSt23_Rb_tree_const_iteratorIjEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %127 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  store ptr %127, ptr %5, align 8
  %128 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %128, label %.lr.ph69, label %._crit_edge70, !llvm.loop !15

129:                                              ; preds = %._crit_edge70
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 147, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8iAuction9MainStageEj) #6
  unreachable

130:                                              ; preds = %._crit_edge70
  %131 = sext i32 %.145.lcssa to i64
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %131) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 %.148.lcssa, ptr %11, align 4, !tbaa !5
  call void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %132, ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %133 = sext i32 %.148.lcssa to i64
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %133) #5
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = icmp eq i32 %135, -1
  br i1 %136, label %138, label %137

137:                                              ; preds = %130
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 150, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8iAuction9MainStageEj) #6
  unreachable

138:                                              ; preds = %130
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %133) #5
  store i32 %.145.lcssa, ptr %139, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %140 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  store ptr %140, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %141 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  store ptr %141, ptr %13, align 8
  %142 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br i1 %142, label %.lr.ph74, label %._crit_edge75

._crit_edge75:                                    ; preds = %.lr.ph74, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %143 = load i32, ptr %25, align 4, !tbaa !16
  %144 = add i32 %143, 1
  store i32 %144, ptr %25, align 4, !tbaa !16
  %145 = call noundef i32 @_ZN8iAuction14GetNumAsgnRowsEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %.148.lcssa)
  %.not54 = icmp eq i32 %145, 0
  br i1 %.not54, label %158, label %155

.lr.ph74:                                         ; preds = %138, %.lr.ph74
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = zext i32 %147 to i64
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %148) #5
  %150 = load double, ptr %149, align 8, !tbaa !14
  %151 = fadd double %.050.lcssa, %150
  store double %151, ptr %149, align 8, !tbaa !14
  %152 = call ptr @_ZNSt23_Rb_tree_const_iteratorIjEppEi(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %153 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  store ptr %153, ptr %13, align 8
  %154 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br i1 %154, label %.lr.ph74, label %._crit_edge75, !llvm.loop !56

155:                                              ; preds = %._crit_edge75
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  store i32 %.148.lcssa, ptr %14, align 4, !tbaa !5
  %156 = call { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertEOj(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  %157 = call noundef i32 @_ZN8iAuction17UpdateLabeledRowsEj(ptr noundef nonnull align 8 dereferenceable(400) %0, i32 noundef %.148.lcssa)
  br label %158

158:                                              ; preds = %._crit_edge75, %155
  %.143 = phi i32 [ -1, %155 ], [ %.148.lcssa, %._crit_edge75 ]
  %159 = icmp eq i32 %.143, -1
  br i1 %159, label %26, label %160, !llvm.loop !57

160:                                              ; preds = %158
  %161 = getelementptr inbounds i8, ptr %0, i64 248
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  store i32 %.143, ptr %15, align 4, !tbaa !5
  %162 = call { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertEOj(ptr noundef nonnull align 8 dereferenceable(48) %161, ptr noundef nonnull align 4 dereferenceable(4) %15)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  %163 = load i32, ptr %3, align 4, !tbaa !5
  %.not81 = icmp eq i32 %163, -1
  br i1 %.not81, label %._crit_edge87, label %.lr.ph86

.lr.ph86:                                         ; preds = %160
  %164 = getelementptr inbounds i8, ptr %0, i64 28
  %165 = getelementptr inbounds i8, ptr %0, i64 152
  br label %166

166:                                              ; preds = %.lr.ph86, %.loopexit
  %.03984 = phi i32 [ %.143, %.lr.ph86 ], [ %.2, %.loopexit ]
  %.04083 = phi i32 [ 0, %.lr.ph86 ], [ %167, %.loopexit ]
  %.382 = phi i32 [ %.145.lcssa, %.lr.ph86 ], [ %.4, %.loopexit ]
  %167 = add i32 %.04083, 1
  %168 = load i32, ptr %164, align 4, !tbaa !58
  %169 = icmp ugt i32 %.04083, %168
  br i1 %169, label %170, label %172

170:                                              ; preds = %166
  %171 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 -1, ptr %171, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %171, ptr nonnull @_ZTIi, ptr null) #7
  unreachable

172:                                              ; preds = %166
  %173 = sext i32 %.382 to i64
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %173) #5
  %175 = load i32, ptr %174, align 4, !tbaa !5
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %173) #5
  store i32 %.03984, ptr %176, align 4, !tbaa !5
  %177 = sext i32 %175 to i64
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %177) #5
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %.not53 = icmp eq i32 %179, -1
  br i1 %.not53, label %.loopexit, label %180

180:                                              ; preds = %172
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %177) #5
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %183) #5
  %185 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %184) #5
  %.not88 = icmp eq i64 %185, 0
  br i1 %.not88, label %.loopexit, label %.lr.ph80

186:                                              ; preds = %.lr.ph80
  %187 = add i32 %.078, 1
  %188 = zext i32 %187 to i64
  %189 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %183) #5
  %190 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #5
  %191 = icmp ugt i64 %190, %188
  br i1 %191, label %.lr.ph80, label %.loopexit, !llvm.loop !59

.lr.ph80:                                         ; preds = %180, %186
  %192 = phi i64 [ %188, %186 ], [ 0, %180 ]
  %.078 = phi i32 [ %187, %186 ], [ 0, %180 ]
  %193 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %183) #5
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %192) #5
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = icmp eq i32 %195, %175
  br i1 %196, label %197, label %186

197:                                              ; preds = %.lr.ph80
  %198 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %183) #5
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %198, i64 noundef %192) #5
  %200 = load i32, ptr %199, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %186, %180, %197, %172
  %.4 = phi i32 [ %.382, %172 ], [ %182, %197 ], [ %182, %180 ], [ %182, %186 ]
  %.2 = phi i32 [ %.03984, %172 ], [ %200, %197 ], [ %.03984, %180 ], [ %.03984, %186 ]
  %201 = load i32, ptr %3, align 4, !tbaa !5
  %.not = icmp eq i32 %175, %201
  br i1 %.not, label %._crit_edge87, label %166, !llvm.loop !60

._crit_edge87:                                    ; preds = %.loopexit, %160
  call void @_ZN8iAuction23UpdateRecordAllocationsEv(ptr noundef nonnull align 8 dereferenceable(400) %0)
  ret i32 %.143
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3setIjSt4lessIjESaIjEE4findERKj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIjdESt6vectorIS1_SaIS1_EE9less_compIjEE3popEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertEOj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
attributes #6 = { noreturn nounwind }
attributes #7 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSSt4pairIjdE", !6, i64 0, !11, i64 8}
!11 = !{!"double", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!11, !11, i64 0}
!15 = distinct !{!15, !13}
!16 = !{!17, !6, i64 396}
!17 = !{!"_ZTS8iAuction", !18, i64 0, !6, i64 24, !6, i64 28, !23, i64 32, !23, i64 80, !32, i64 128, !36, i64 152, !36, i64 176, !36, i64 200, !40, i64 224, !23, i64 248, !44, i64 296, !48, i64 320, !52, i64 344, !36, i64 368, !6, i64 392, !6, i64 396}
!18 = !{!"_ZTSSt6vectorIS_IdSaIdEESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!22 = !{!"any pointer", !7, i64 0}
!23 = !{!"_ZTSSt3setIjSt4lessIjESaIjEE", !24, i64 0}
!24 = !{!"_ZTSSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE", !25, i64 0}
!25 = !{!"_ZTSNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE13_Rb_tree_implIS3_Lb1EEE", !26, i64 0, !28, i64 8}
!26 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !27, i64 0}
!27 = !{!"_ZTSSt4lessIjE"}
!28 = !{!"_ZTSSt15_Rb_tree_header", !29, i64 0, !31, i64 32}
!29 = !{!"_ZTSSt18_Rb_tree_node_base", !30, i64 0, !22, i64 8, !22, i64 16, !22, i64 24}
!30 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!31 = !{!"long", !7, i64 0}
!32 = !{!"_ZTSSt6vectorIdSaIdEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!36 = !{!"_ZTSSt6vectorIjSaIjEE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!40 = !{!"_ZTSSt6vectorISt3setIjSt4lessIjESaIjEESaIS4_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseISt3setIjSt4lessIjESaIjEESaIS4_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt3setIjSt4lessIjESaIjEESaIS4_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt3setIjSt4lessIjESaIjEESaIS4_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!44 = !{!"_ZTSSt6vectorIiSaIiEE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!48 = !{!"_ZTSSt6vectorIS_IjSaIjEESaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseISt6vectorIjSaIjEESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseISt6vectorIjSaIjEESaIS2_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseISt6vectorIjSaIjEESaIS2_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!52 = !{!"_ZTSSt6vectorISt14priority_queueISt4pairIjdES_IS2_SaIS2_EE9less_compIjEESaIS7_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseISt14priority_queueISt4pairIjdESt6vectorIS2_SaIS2_EE9less_compIjEESaIS8_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseISt14priority_queueISt4pairIjdESt6vectorIS2_SaIS2_EE9less_compIjEESaIS8_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseISt14priority_queueISt4pairIjdESt6vectorIS2_SaIS2_EE9less_compIjEESaIS8_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!56 = distinct !{!56, !13}
!57 = distinct !{!57, !13}
!58 = !{!17, !6, i64 28}
!59 = distinct !{!59, !13}
!60 = distinct !{!60, !13}


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