// File: /workspace/github_cpp_makefile_star2_O2/VitorCorreaSilva[P]sistemaControle/source/empresa.cpp
// Function: Empresa::consultarJogador(int)
void Empresa::consultarJogador(int id){
	int numTimes = times.size();
	for (int i = 0; i < numTimes; ++i)
	{
		vector<Jogador> jogadores = times[i].getJogadores();
		int numJogadores = jogadores.size();
		for (int j = 0; j < numJogadores; ++j)
		{
			if(jogadores[j].getId() == id){
				cout << fixed;
				cout << "Time: " << times[i].getNome() << endl;
				cout << "Nome: " << jogadores[j].getNome() << endl;
				cout << "Idade: " << jogadores[j].calcularIdade(jogadores[j].getDataNascimento()) << " anos" << endl;
				cout.precision(2);
				cout << "Salario Bruto: " << jogadores[j].getSalarioBruto() << " R$" << endl;
				cout << "Salario Liquido: " << jogadores[j].calcularSalarioLiquido(jogadores[j].getSalarioBruto()) << " R$" << endl;
			}
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %esi, -0x2c(%rbp)
movq 0x28(%rdi), %rax
movq %rdi, -0x50(%rbp)
subq 0x20(%rdi), %rax
pushq $0x48
popq %rcx
cqto
idivq %rcx
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
movq %rax, -0x58(%rbp)
leaq -0x48(%rbp), %rbx
movq 0x6788(%rip), %r13      # 0x8fd8
leaq -0x90(%rbp), %r15
xorl %eax, %eax
cmpq -0x58(%rbp), %rax
je 0x2a62
movq %rax, -0x60(%rbp)
imulq $0x48, %rax, %rcx
movq -0x50(%rbp), %rax
movq 0x20(%rax), %rsi
movq %rcx, -0x68(%rbp)
addq %rcx, %rsi
movq %rbx, %rdi
callq 0x5158
movq -0x40(%rbp), %rax
subq -0x48(%rbp), %rax
cqto
pushq $0x68
popq %rcx
idivq %rcx
testl %eax, %eax
movl $0x0, %ecx
cmovlel %ecx, %eax
imulq $0x68, %rax, %rax
movq %rax, -0x70(%rbp)
xorl %ebx, %ebx
cmpq %rbx, -0x70(%rbp)
je 0x2a4a
movq -0x48(%rbp), %rdi
addq %rbx, %rdi
callq 0x38c2
cmpl -0x2c(%rbp), %eax
jne 0x2a41
movq (%r13), %rax
movq -0x18(%rax), %rax
movl 0x18(%r13,%rax), %ecx
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
andl %edx, %ecx
orl $0x4, %ecx
movl %ecx, 0x18(%r13,%rax)
movq %r13, %rdi
leaq 0x37ee(%rip), %rsi      # 0x60d9
callq 0x2140
movq %rax, %r14
movq -0x50(%rbp), %rax
movq 0x20(%rax), %rsi
addq -0x68(%rbp), %rsi
movq %r15, %rdi
callq 0x5132
movq %r14, %rdi
movq %r15, %rsi
callq 0x2120
movq %rax, %rdi
callq 0x2090
movq %r15, %rdi
callq 0x2080
movq %r13, %rdi
leaq 0x37ee(%rip), %rsi      # 0x611a
callq 0x2140
movq %rax, %r14
movq -0x48(%rbp), %rsi
addq %rbx, %rsi
movq %r15, %rdi
callq 0x38a6
movq %r14, %rdi
movq %r15, %rsi
callq 0x2120
movq %rax, %rdi
callq 0x2090
movq %r15, %rdi
callq 0x2080
movq %r13, %rdi
leaq 0x3778(%rip), %rsi      # 0x60e0
callq 0x2140
movq %rax, %r14
movq -0x48(%rbp), %r12
addq %rbx, %r12
movq %r12, %rdi
callq 0x38ca
movq %r12, %rdi
movq %rax, %rsi
callq 0x3b02
movq %r14, %rdi
movl %eax, %esi
callq 0x21f0
movq %rax, %rdi
leaq 0x374a(%rip), %rsi      # 0x60e8
callq 0x2140
movq %rax, %rdi
callq 0x2090
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x2, 0x8(%r13,%rax)
movq %r13, %rdi
leaq 0x3728(%rip), %rsi      # 0x60ee
callq 0x2140
movq %rax, %r14
movq -0x48(%rbp), %rdi
addq %rbx, %rdi
callq 0x38fe
movq %r14, %rdi
callq 0x20e0
movq %rax, %rdi
leaq 0x3712(%rip), %rsi      # 0x60fe
callq 0x2140
movq %rax, %rdi
callq 0x2090
movq %r13, %rdi
leaq 0x36ff(%rip), %rsi      # 0x6102
callq 0x2140
movq %rax, %r14
movq -0x48(%rbp), %r12
addq %rbx, %r12
movq %r12, %rdi
callq 0x38fe
movq %r12, %rdi
callq 0x398a
movq %r14, %rdi
callq 0x20e0
movq %rax, %rdi
leaq 0x36ca(%rip), %rsi      # 0x60fe
callq 0x2140
movq %rax, %rdi
callq 0x2090
addq $0x68, %rbx
jmp 0x28a6
leaq -0x48(%rbp), %rbx
movq %rbx, %rdi
callq 0x311c
movq -0x60(%rbp), %rax
incq %rax
jmp 0x2859
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2a88
jmp 0x2a88
jmp 0x2a77
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x2080
jmp 0x2a8b
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x311c
movq %rbx, %rdi
callq 0x2200