// File: /workspace/github_cpp_makefile_star2_O1/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 $0x58, %rsp
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 0x32c4
movq %rsi, %rbx
movq -0x50(%rbp), %rax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq %rax, -0x50(%rbp)
xorl %eax, %eax
leaq -0x68(%rbp), %r14
movq 0x8060(%rip), %r13      # 0xafd8
movq %rax, -0x78(%rbp)
leaq (%rax,%rax,8), %rcx
shlq $0x3, %rcx
movq -0x70(%rbp), %rax
movq 0x20(%rax), %rsi
movq %rcx, -0x80(%rbp)
addq %rcx, %rsi
movq %r14, %rdi
callq 0x7084
movq -0x60(%rbp), %r14
subq -0x68(%rbp), %r14
sarq $0x3, %r14
movabsq $0x4ec4ec4ec4ec4ec5, %rax # imm = 0x4EC4EC4EC4EC4EC5
imulq %rax, %r14
testl %r14d, %r14d
jle 0x32a7
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
xorl %r12d, %r12d
movq -0x68(%rbp), %rsi
addq %r12, %rsi
leaq -0x48(%rbp), %rdi
callq 0x40c8
movq -0x40(%rbp), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x2ffb
testq %rdx, %rdx
je 0x3000
movq (%rbx), %rsi
movq -0x48(%rbp), %rdi
callq 0x2140
testl %eax, %eax
sete %r15b
jmp 0x3003
xorl %r15d, %r15d
jmp 0x3003
movb $0x1, %r15b
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x301c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
testb %r15b, %r15b
je 0x329a
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 0x5089(%rip), %rsi      # 0x80d9
callq 0x2160
movq -0x70(%rbp), %rax
movq 0x20(%rax), %rsi
addq -0x80(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x704c
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 0x30bd
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
movl $0x6, %edx
movq %r13, %rdi
leaq 0x504e(%rip), %rsi      # 0x811a
callq 0x2160
movq -0x68(%rbp), %rsi
addq %r12, %rsi
leaq -0x48(%rbp), %rdi
callq 0x40c8
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 0x3134
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
movl $0x7, %edx
movq %r13, %rdi
leaq 0x4f9d(%rip), %rsi      # 0x80e0
callq 0x2160
movq -0x68(%rbp), %r15
addq %r12, %r15
movq %r15, %rdi
callq 0x40fe
movq %r15, %rdi
movq %rax, %rsi
callq 0x4394
movq %r13, %rdi
movl %eax, %esi
callq 0x21c0
movq %rax, %r15
movl $0x5, %edx
movq %rax, %rdi
leaq 0x4f6a(%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 0x4f24(%rip), %rsi      # 0x80ee
callq 0x2160
movq -0x68(%rbp), %rdi
addq %r12, %rdi
callq 0x4144
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x21a0
movq %rax, %r15
movl $0x3, %edx
movq %rax, %rdi
leaq 0x4f05(%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 0x4ece(%rip), %rsi      # 0x8102
callq 0x2160
movq -0x68(%rbp), %r15
addq %r12, %r15
movq %r15, %rdi
callq 0x4144
movq %r15, %rdi
callq 0x41d0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x21a0
movq %rax, %r15
movl $0x3, %edx
movq %rax, %rdi
leaq 0x4e90(%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), %r14
movq %r14, %rdi
callq 0x389c
movq -0x78(%rbp), %rax
incq %rax
cmpq -0x50(%rbp), %rax
jne 0x2f78
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x32f9
jmp 0x32f9
jmp 0x32f9
jmp 0x32db
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x32fc
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x32fc
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x389c
movq %rbx, %rdi
callq 0x21d0
nop