// File: /workspace/github_cpp_makefile_star2_O1/nataly-enne[P]pet-fera/pet_fera_consulta_p_func.cpp
// Function: consulta_p_tratador(std::map<int, TRATADOR, std::less<int>, std::allocator<std::pair<int const, TRATADOR>>>&, std::map<int, ANFIBIO_NATIVO, std::less<int>, std::allocator<std::pair<int const, ANFIBIO_NATIVO>>>&, std::map<int, ANFIBIO_EXOTICO, std::less<int>, std::allocator<std::pair<int const, ANFIBIO_EXOTICO>>>&, std::map<int, MAMIFERO_NATIVO, std::less<int>, std::allocator<std::pair<int const, MAMIFERO_NATIVO>>>&, std::map<int, MAMIFERO_EXOTICO, std::less<int>, std::allocator<std::pair<int const, MAMIFERO_EXOTICO>>>&, std::map<int, REPTIL_NATIVO, std::less<int>, std::allocator<std::pair<int const, REPTIL_NATIVO>>>&, std::map<int, REPTIL_EXOTICO, std::less<int>, std::allocator<std::pair<int const, REPTIL_EXOTICO>>>&, std::map<int, AVE_NATIVO, std::less<int>, std::allocator<std::pair<int const, AVE_NATIVO>>>&, std::map<int, AVE_EXOTICO, std::less<int>, std::allocator<std::pair<int const, AVE_EXOTICO>>>&)
void consulta_p_tratador(map <int, TRATADOR> &tratadores, map <int, ANFIBIO_NATIVO> &anfibios_nat, map <int, ANFIBIO_EXOTICO> &anfibios_ex, map <int, MAMIFERO_NATIVO> &mamiferos_nat, map <int, MAMIFERO_EXOTICO> &mamiferos_ex, map <int, REPTIL_NATIVO> &repteis_nat, map <int, REPTIL_EXOTICO> &repteis_ex, map <int, AVE_NATIVO> &aves_nat, map <int, AVE_EXOTICO> &aves_ex){	int count = 0;
	string nome;
	char tipo = 't', sucesso = 'n';
	int cont = 0;

	do{
		cout << "Digite o nome do tratador:" << endl;
		if(!cont){
			cin.ignore();
			cont++;
		}
		getline(cin, nome);
		if(!verifica_nome(nome, sucesso)){
			cout << "ERRO: só pode ser inserido letra ou espaço!" << endl << endl;
		}
		else{
			sucesso = 's';
		}
	}while(sucesso == 'n');

	for(auto it = tratadores.begin(); it != tratadores.end();it++){
		if(it->second.getNome() == nome){
			count ++;
		}
	}
	if(count == 0){
		cout << "\nTratador não cadastrado!" << endl << endl;
	}
	else{
		cout << "\nTratador cadastrado!" << endl << endl;
		cout << "***" << "Animais atendidos pelo Tratador " << nome << "***" << endl;
		imprime_animais(tipo,nome, anfibios_nat, anfibios_ex, mamiferos_nat, mamiferos_ex, repteis_nat, repteis_ex, aves_nat, aves_ex);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, -0x78(%rbp)
movq %r8, -0x70(%rbp)
movq %rcx, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq %rsi, -0x58(%rbp)
movq %rdi, -0x80(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x29(%rbp), %rax
movq %rax, %rbx
movb $0x6e, (%rax)
movb $0x1, %r14b
movq 0x122e1(%rip), %r15     # 0x47fd0
movq 0x122ea(%rip), %r13     # 0x47fe0
leaq -0x50(%rbp), %r12
movl $0x1a, %edx
movq %r15, %rdi
leaq 0x58ae(%rip), %rsi      # 0x3b5b7
callq 0x3250
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3130
testb $0x1, %r14b
je 0x35d43
movq %r13, %rdi
callq 0x33a0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x33c0
movq %r12, %rdi
movq %rbx, %rsi
callq 0x3832d
testb %al, %al
je 0x35d7b
movb $0x73, -0x29(%rbp)
jmp 0x35de0
movl $0x2d, %edx
movq %r15, %rdi
leaq 0x4a08(%rip), %rsi      # 0x3a792
callq 0x3250
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3130
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3130
xorl %r14d, %r14d
cmpb $0x6e, -0x29(%rbp)
je 0x35cfa
movq -0x80(%rbp), %rbx
movq 0x18(%rbx), %r14
addq $0x8, %rbx
cmpq %rbx, %r14
je 0x35fd9
movq %rbx, %r13
xorl %r12d, %r12d
leaq -0xc0(%rbp), %r15
leaq 0x28(%r14), %rsi
movq %r15, %rdi
callq 0xf220
movq -0xb8(%rbp), %rdx
xorl %ebx, %ebx
cmpq -0x48(%rbp), %rdx
jne 0x35e4d
testq %rdx, %rdx
je 0x35e48
movq -0x50(%rbp), %rsi
movq -0xc0(%rbp), %rdi
callq 0x3230
xorl %ebx, %ebx
testl %eax, %eax
sete %bl
jmp 0x35e4d
movl $0x1, %ebx
movq -0xc0(%rbp), %rdi
leaq -0xb0(%rbp), %rax
cmpq %rax, %rdi
je 0x35e65
callq 0x31d0
addl %ebx, %r12d
movq %r14, %rdi
callq 0x3140
movq %rax, %r14
cmpq %r13, %rax
jne 0x35e0f
testl %r12d, %r12d
je 0x35fd9
movq 0x12148(%rip), %rbx     # 0x47fd0
leaq 0x575e(%rip), %rsi      # 0x3b5ed
movl $0x15, %edx
movq %rbx, %rdi
callq 0x3250
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq 0x12116(%rip), %rdi     # 0x47fd0
callq 0x3030
movq %rax, %rdi
callq 0x3130
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3130
movq 0x120d8(%rip), %rdi     # 0x47fd0
leaq 0x5704(%rip), %rsi      # 0x3b603
movl $0x3, %edx
callq 0x3250
movq 0x120c0(%rip), %rdi     # 0x47fd0
leaq 0x56f0(%rip), %rsi      # 0x3b607
movl $0x20, %edx
callq 0x3250
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq 0x120a0(%rip), %rdi     # 0x47fd0
callq 0x3250
movq %rax, %rbx
leaq 0x56c4(%rip), %rsi      # 0x3b603
movl $0x3, %edx
movq %rax, %rdi
callq 0x3250
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3130
leaq -0x90(%rbp), %r14
movq %r14, -0x10(%r14)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0xa0(%rbp), %rdi
callq 0x4574
leaq -0xa0(%rbp), %rsi
movl $0x74, %edi
movq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rcx
movq -0x68(%rbp), %r8
movq -0x70(%rbp), %r9
pushq 0x20(%rbp)
pushq 0x18(%rbp)
pushq 0x10(%rbp)
pushq -0x78(%rbp)
callq 0x364ac
addq $0x20, %rsp
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x36049
callq 0x31d0
jmp 0x36049
movq 0x11ff0(%rip), %rbx     # 0x47fd0
leaq 0x55eb(%rip), %rsi      # 0x3b5d2
movl $0x1a, %edx
movq %rbx, %rdi
callq 0x3250
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq 0x11fbe(%rip), %rdi     # 0x47fd0
callq 0x3030
movq %rax, %rdi
callq 0x3130
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3130
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3605b
callq 0x31d0
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x3608a
callq 0x31d0
jmp 0x3608a
jmp 0x36087
jmp 0x36087
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3609c
callq 0x31d0
movq %rbx, %rdi
callq 0x3380