// File: negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::_setupConsumers()
void MasterState::_setupConsumers() {
	for (int i = 0; i < 500; i++) {
		string firstName = this->_names->getFirstName();
		string lastName = this->_names->getLastName();

		int money = rand() % 100000;

		Person *p = new Person(firstName, lastName, money);

		for (vector<Platform *>::iterator it = this->_allPlatforms->begin(); it != this->_allPlatforms->end(); ++it) {
			p->setPlatformSkill(*it, rand() % 100);
		}

		for (vector<Language *>::iterator it2 = this->_allLanguages->begin(); it2 != this->_allLanguages->end(); ++it2) {
			p->setLanguageSkill(*it2, rand() % 100);
		}

		this->_allConsumers->push_back(p);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xe8(%rbp)
movl $0x0, -0xc(%rbp)
cmpl $0x1f4, -0xc(%rbp)      # imm = 0x1F4
jge 0x12c8a
movq -0xe8(%rbp), %rax
movq 0x28(%rax), %rdi
callq 0x6510
movq %rax, -0xf8(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x35e0
movq -0xf8(%rbp), %rsi
movq -0xf0(%rbp), %rdx
leaq -0x30(%rbp), %rdi
callq 0x8730
jmp 0x1291e
leaq -0x31(%rbp), %rdi
callq 0x3400
movq -0xe8(%rbp), %rax
movq 0x28(%rax), %rdi
callq 0x6560
movq %rax, -0x100(%rbp)
jmp 0x12940
leaq -0x69(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x35e0
movq -0x100(%rbp), %rsi
movq -0x108(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x8730
jmp 0x12969
leaq -0x69(%rbp), %rdi
callq 0x3400
callq 0x30e0
movslq %eax, %rcx
imulq $0x14f8b589, %rcx, %rcx # imm = 0x14F8B589
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x2d, %rcx
addl %edx, %ecx
imull $0x186a0, %ecx, %ecx    # imm = 0x186A0
subl %ecx, %eax
movl %eax, -0x70(%rbp)
movl $0x80, %edi
callq 0x3370
movq %rax, -0x110(%rbp)
jmp 0x129ac
movb $0x1, -0xb9(%rbp)
leaq -0x98(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x3190
jmp 0x129c5
leaq -0xb8(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x3190
jmp 0x129d7
movq -0x110(%rbp), %rdi
movl -0x70(%rbp), %ecx
leaq -0x98(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x100f0
jmp 0x129f6
movb $0x0, -0xb9(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x3210
leaq -0x98(%rbp), %rdi
callq 0x3210
movq -0x110(%rbp), %rcx
movq -0xe8(%rbp), %rax
movq %rcx, -0x78(%rbp)
movq 0x30(%rax), %rdi
callq 0x13d10
movq %rax, -0xc8(%rbp)
movq -0xe8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x13d80
movq %rax, -0xd0(%rbp)
leaq -0xc8(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x13d40
testb $0x1, %al
jne 0x12a6a
jmp 0x12b8d
movq -0x78(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x13db0
movq (%rax), %rax
movq %rax, -0x118(%rbp)
callq 0x30e0
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
movl %eax, %edx
movslq %edx, %rax
imulq $0x51eb851f, %rax, %rax # imm = 0x51EB851F
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x25, %rax
addl %ecx, %eax
imull $0x64, %eax, %eax
subl %eax, %edx
callq 0x10e90
jmp 0x12ac3
jmp 0x12ac5
leaq -0xc8(%rbp), %rdi
callq 0x13dd0
jmp 0x12a37
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x31(%rbp), %rdi
callq 0x3400
jmp 0x12c93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x12c7f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x69(%rbp), %rdi
callq 0x3400
jmp 0x12c7f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x12c76
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x12b6c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x12b60
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x3210
leaq -0x98(%rbp), %rdi
callq 0x3210
testb $0x1, -0xb9(%rbp)
jne 0x12b77
jmp 0x12b88
movq -0x110(%rbp), %rdi
movl $0x80, %esi
callq 0x3390
jmp 0x12c76
movq -0xe8(%rbp), %rax
movq 0x38(%rax), %rdi
callq 0x13df0
movq %rax, -0xd8(%rbp)
movq -0xe8(%rbp), %rax
movq 0x38(%rax), %rdi
callq 0x13e60
movq %rax, -0xe0(%rbp)
leaq -0xd8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x13e20
testb $0x1, %al
jne 0x12bd4
jmp 0x12c40
movq -0x78(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x13e90
movq (%rax), %rax
movq %rax, -0x128(%rbp)
callq 0x30e0
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
movl %eax, %edx
movslq %edx, %rax
imulq $0x51eb851f, %rax, %rax # imm = 0x51EB851F
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x25, %rax
addl %ecx, %eax
imull $0x64, %eax, %eax
subl %eax, %edx
callq 0x10ed0
jmp 0x12c2d
jmp 0x12c2f
leaq -0xd8(%rbp), %rdi
callq 0x13eb0
jmp 0x12ba4
movq -0xe8(%rbp), %rax
movq 0x18(%rax), %rdi
leaq -0x78(%rbp), %rsi
callq 0x13ed0
jmp 0x12c56
leaq -0x68(%rbp), %rdi
callq 0x3210
leaq -0x30(%rbp), %rdi
callq 0x3210
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x128d1
leaq -0x68(%rbp), %rdi
callq 0x3210
leaq -0x30(%rbp), %rdi
callq 0x3210
jmp 0x12c93
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x35d0
nopl (%rax)