// File: /workspace/github_cpp_makefile_star2_O3/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
movb $0x6e, (%rax)
movb $0x1, %bl
movq 0x12401(%rip), %r15     # 0x47fd0
movq 0x1240a(%rip), %r13     # 0x47fe0
leaq -0x50(%rbp), %r12
movl $0x1a, %edx
movq %r15, %rdi
leaq 0x59ce(%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, %bl
je 0x35c22
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
leaq -0x29(%rbp), %rsi
callq 0x3821c
testb %al, %al
jne 0x35cc8
movl $0x2d, %edx
movq %r15, %rdi
leaq 0x4b2e(%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 %ebx, %ebx
cmpb $0x6e, -0x29(%rbp)
je 0x35bda
jmp 0x35ccc
movb $0x73, -0x29(%rbp)
movq -0x80(%rbp), %rax
movq 0x18(%rax), %r14
addq $0x8, %rax
cmpq %rax, %r14
je 0x35ebd
movq %rax, %r15
xorl %r13d, %r13d
leaq 0x28(%r14), %rsi
leaq -0xc0(%rbp), %rdi
callq 0xf224
movq -0xb8(%rbp), %rdx
cmpq -0x48(%rbp), %rdx
jne 0x35d25
movq -0xc0(%rbp), %r12
testq %rdx, %rdx
je 0x35d30
movq -0x50(%rbp), %rsi
movq %r12, %rdi
callq 0x3230
xorl %ebx, %ebx
testl %eax, %eax
sete %bl
jmp 0x35d35
xorl %ebx, %ebx
movq -0xc0(%rbp), %r12
jmp 0x35d35
movl $0x1, %ebx
leaq -0xb0(%rbp), %rax
cmpq %rax, %r12
je 0x35d49
movq %r12, %rdi
callq 0x31d0
addl %ebx, %r13d
movq %r14, %rdi
callq 0x3140
movq %rax, %r14
cmpq %r15, %rax
jne 0x35ce7
testl %r13d, %r13d
je 0x35ebd
movq 0x12264(%rip), %rbx     # 0x47fd0
leaq 0x587a(%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 0x12232(%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 0x121f4(%rip), %rdi     # 0x47fd0
leaq 0x5820(%rip), %rsi      # 0x3b603
movl $0x3, %edx
callq 0x3250
movq 0x121dc(%rip), %rdi     # 0x47fd0
leaq 0x580c(%rip), %rsi      # 0x3b607
movl $0x20, %edx
callq 0x3250
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq 0x121bc(%rip), %rdi     # 0x47fd0
callq 0x3250
movq %rax, %rbx
leaq 0x57e0(%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 0x36390
addq $0x20, %rsp
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x35f2d
callq 0x31d0
jmp 0x35f2d
movq 0x1210c(%rip), %rbx     # 0x47fd0
leaq 0x5707(%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 0x120da(%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 0x35f3f
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 0x35f6e
callq 0x31d0
jmp 0x35f6e
jmp 0x35f6b
jmp 0x35f6b
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x35f80
callq 0x31d0
movq %rbx, %rdi
callq 0x3380