// File: /workspace/github_cpp_makefile_star2_O3/negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::MasterState()
MasterState::MasterState() {
	this->_playerCompany = new Company("Testing Corp", 100000);
	this->_allCompanies = new list<Company *>();
	this->_allCompanies->push_back(this->_playerCompany);
	this->_allWorkers = new list<Person *>();
	this->_allConsumers = new list<Person *>();
	this->_time = 0;

	this->_commandList = new CommandList(this);

	this->_messages = new vector<char *>();
	this->_names = new NameContainer();

	this->_allMarkets = new vector<Market *>();

	Market *oldPeopleMarket = new Market("Old People");
	oldPeopleMarket->addRequirement("stability", 10);
	this->_allMarkets->push_back(oldPeopleMarket);

	this->_setupPlatforms();
	this->_setupLanguages();
	this->_setupConsumers();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl $0x38, %edi
callq 0x3300
movq %rax, %r14
leaq 0x2b40(%rip), %rsi      # 0xb7f4
movq %rax, %rdi
movl $0x186a0, %edx          # imm = 0x186A0
callq 0x7120
movq %r14, (%rbx)
movl $0x18, %edi
callq 0x3300
movq %rax, %r14
movq %rax, 0x8(%rax)
movq %rax, (%rax)
xorl %r15d, %r15d
movq %r15, 0x10(%rax)
movq %rax, 0x8(%rbx)
movl $0x18, %edi
callq 0x3300
movq (%rbx), %rcx
movq %rcx, 0x10(%rax)
movq %rax, %rdi
movq %r14, %rsi
callq 0x3040
incq 0x10(%r14)
movl $0x18, %edi
callq 0x3300
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq %r15, 0x10(%rax)
movq %rax, 0x10(%rbx)
movl $0x18, %edi
callq 0x3300
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq %r15, 0x10(%rax)
movq %rax, 0x18(%rbx)
movl $0x0, 0x20(%rbx)
movl $0x8, %edi
callq 0x3300
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4e08
movq %r14, 0x50(%rbx)
movl $0x18, %edi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x48(%rbx)
movl $0x10, %edi
callq 0x3300
movq %rax, %r14
movq %rax, %rdi
callq 0x43dc
movq %r14, 0x28(%rbx)
movl $0x18, %edi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x40(%rbx)
movl $0x20, %edi
callq 0x3300
movq %rax, %r14
leaq 0x2a44(%rip), %rsi      # 0xb801
movq %rax, %rdi
callq 0x432c
movq %r14, -0x20(%rbp)
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x2a34(%rip), %rsi      # 0xb80c
leaq 0x2a36(%rip), %rdx      # 0xb815
leaq -0x40(%rbp), %rdi
callq 0x57e8
leaq -0x40(%rbp), %rsi
movq %r14, %rdi
movl $0xa, %edx
callq 0x3e0a
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x8e0e
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3320
movq 0x40(%rbx), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x8e26
movq %r14, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x8e2f
leaq -0x20(%rbp), %rdx
callq 0xa0c2
movq %rbx, %rdi
callq 0x8ea2
movq %rbx, %rdi
callq 0x924e
movq %rbx, %rdi
callq 0x9724
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x8e9a
movq -0x30(%rbp), %rsi
incq %rsi
jmp 0x8e95
movq %rax, %rbx
jmp 0x8e9a
movq %rax, %rbx
movl $0x20, %esi
jmp 0x8e92
movq %rax, %rbx
movl $0x10, %esi
jmp 0x8e92
movq %rax, %rbx
movl $0x8, %esi
jmp 0x8e92
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x3320
movq %rbx, %rdi
callq 0x3500