// File: /workspace/github_cpp_makefile_star2_O3/VitorCorreaSilva[P]sistemaControle/source/empresa.cpp
// Function: Empresa::consultarJogador(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Empresa::consultarJogador(string nome){
	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].getNome() == nome){
				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
movq %rsi, -0x78(%rbp)
movq 0x28(%rdi), %rax
movq %rdi, -0x70(%rbp)
subq 0x20(%rdi), %rax
sarq $0x3, %rax
movabsq $-0x71c71c71c71c71c7, %rcx # imm = 0x8E38E38E38E38E39
imulq %rax, %rcx
movq %rcx, -0x50(%rbp)
testl %ecx, %ecx
jle 0x32d1
movq -0x50(%rbp), %rax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq %rax, -0x50(%rbp)
xorl %eax, %eax
leaq -0x68(%rbp), %rbx
movq 0x8063(%rip), %r13      # 0xafd8
movq %rax, -0x80(%rbp)
leaq (%rax,%rax,8), %rcx
shlq $0x3, %rcx
movq -0x70(%rbp), %rax
movq 0x20(%rax), %rsi
movq %rcx, -0x88(%rbp)
addq %rcx, %rsi
movq %rbx, %rdi
callq 0x7098
movq -0x60(%rbp), %r14
subq -0x68(%rbp), %r14
sarq $0x3, %r14
movabsq $0x4ec4ec4ec4ec4ec5, %rax # imm = 0x4EC4EC4EC4EC4EC5
imulq %rax, %r14
testl %r14d, %r14d
jle 0x32b4
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
xorl %r12d, %r12d
movq -0x68(%rbp), %rsi
addq %r12, %rsi
leaq -0x48(%rbp), %rdi
callq 0x40d8
movq -0x40(%rbp), %rdx
movq -0x78(%rbp), %rax
cmpq 0x8(%rax), %rdx
jne 0x3005
movq -0x48(%rbp), %r15
testq %rdx, %rdx
je 0x300d
movq -0x78(%rbp), %rax
movq (%rax), %rsi
movq %r15, %rdi
callq 0x2140
testl %eax, %eax
sete %bl
jmp 0x300f
movq -0x48(%rbp), %r15
xorl %ebx, %ebx
jmp 0x300f
movb $0x1, %bl
leaq -0x38(%rbp), %rax
cmpq %rax, %r15
je 0x3027
movq -0x38(%rbp), %rsi
incq %rsi
movq %r15, %rdi
callq 0x2130
testb %bl, %bl
je 0x32a7
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)
movl $0x6, %edx
movq %r13, %rdi
leaq 0x507f(%rip), %rsi      # 0x80d9
callq 0x2160
movq -0x70(%rbp), %rax
movq 0x20(%rax), %rsi
addq -0x88(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x7060
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r13, %rdi
callq 0x2160
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20a0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x30ca
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
movl $0x6, %edx
movq %r13, %rdi
leaq 0x5041(%rip), %rsi      # 0x811a
callq 0x2160
movq -0x68(%rbp), %rsi
addq %r12, %rsi
leaq -0x48(%rbp), %rdi
callq 0x40d8
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r13, %rdi
callq 0x2160
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20a0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x3141
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
movl $0x7, %edx
movq %r13, %rdi
leaq 0x4f90(%rip), %rsi      # 0x80e0
callq 0x2160
movq -0x68(%rbp), %r15
addq %r12, %r15
movq %r15, %rdi
callq 0x410e
movq %r15, %rdi
movq %rax, %rsi
callq 0x43a4
movq %r13, %rdi
movl %eax, %esi
callq 0x21c0
movq %rax, %r15
movl $0x5, %edx
movq %rax, %rdi
leaq 0x4f5d(%rip), %rsi      # 0x80e8
callq 0x2160
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20a0
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x2, 0x8(%r13,%rax)
movl $0xf, %edx
movq %r13, %rdi
leaq 0x4f17(%rip), %rsi      # 0x80ee
callq 0x2160
movq -0x68(%rbp), %rdi
addq %r12, %rdi
callq 0x4154
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x21a0
movq %rax, %r15
movl $0x3, %edx
movq %rax, %rdi
leaq 0x4ef8(%rip), %rsi      # 0x80fe
callq 0x2160
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20a0
movl $0x11, %edx
movq %r13, %rdi
leaq 0x4ec1(%rip), %rsi      # 0x8102
callq 0x2160
movq -0x68(%rbp), %r15
addq %r12, %r15
movq %r15, %rdi
callq 0x4154
movq %r15, %rdi
callq 0x41e0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x21a0
movq %rax, %r15
movl $0x3, %edx
movq %rax, %rdi
leaq 0x4e83(%rip), %rsi      # 0x80fe
callq 0x2160
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20a0
addq $0x68, %r12
decq %r14
jne 0x2fc8
leaq -0x68(%rbp), %rbx
movq %rbx, %rdi
callq 0x38a8
movq -0x80(%rbp), %rax
incq %rax
cmpq -0x50(%rbp), %rax
jne 0x2f75
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3306
jmp 0x3306
jmp 0x3306
jmp 0x32e8
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x3309
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x3309
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x38a8
movq %rbx, %rdi
callq 0x21d0