// File: /workspace/github_cpp_makefile_star2_O2/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::cadastrarAveExotica()
void Petfera::cadastrarAveExotica()
{
	std::shared_ptr<Funcionario> tratador = pegarTratador();
	std::shared_ptr<Funcionario> veterinario = pegarVeterinario();
	string especie = leString("Digite o nome cientifico para o animal \n");
	string nome = leString("Digite o nome popular para o animal \n");
	t_genero genero = leGenero("Digite F para femea e M para macho \n");
	string tipo_temperatura = leString("Digite o tipo de temperatura do animal \n");
	string tipo_pele = leString("Digite o tipo de pele do animal \n");
	string tipo_fecundacao = leString("Digite o tipo de fecundacao do animal \n");
	string material_eliminidado = leString("Digite o tipo de material eliminidado pelo animal \n");
	string envergadura = leString("Digite a envergadura do animal \n");
	string tamanhoDoBico = leString("Digite o tamanho do bico do animal \n");
	bool troca_pele = leBool("Digite S se o animal troca de pele ou N se o animal nao troca de pele \n");
	string aquatico_terrestre = leString("Digite se o animal e aquatico ou terrestre \n");
	bool registro_ibama = leBool("Digite S se o animal possui registro no ibama e N se o animal nao registro no Ibama \n");
	bool territorio_brasileiro = false;
	enExtincao extincao = nao_ameacado;
	string pais_origem = leString("Digite qual o pais que ele foi encontrado ");

	std::shared_ptr<Animal> criado = std::make_shared<AveExotica>(this->animalStore.size(), especie, nome, genero, Aves, veterinario, tratador, tipo_temperatura, tipo_pele, tipo_fecundacao, troca_pele, material_eliminidado, tamanhoDoBico, envergadura, aquatico_terrestre, registro_ibama, territorio_brasileiro, extincao, pais_origem);

	if (adicionarAnimal(criado))
	{
		this->animais_cadastrados++;
	}
	else
	{
		cout << "Erro no cadastro, tente novamente " << endl;
		cadastrarAveExotica();
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x358, %rsp            # imm = 0x358
movq %rdi, %rbx
leaq -0xa0(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0xcc18
leaq -0x48(%rbp), %rdi
movq %rbx, %rsi
callq 0xcae0
leaq 0x12a98(%rip), %rsi     # 0x20052
leaq -0x358(%rbp), %rdi
leaq -0x1a0(%rbp), %rdx
callq 0x40b0
leaq -0x378(%rbp), %rdi
leaq -0x358(%rbp), %rdx
callq 0xd2de
leaq -0x358(%rbp), %rdi
callq 0x40e0
leaq 0x12a88(%rip), %rsi     # 0x2007b
leaq -0x338(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0x40b0
leaq -0x1a0(%rbp), %rdi
leaq -0x338(%rbp), %rdx
callq 0xd2de
leaq -0x338(%rbp), %rdi
callq 0x40e0
leaq 0x12a75(%rip), %rsi     # 0x200a1
leaq -0x318(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0x40b0
leaq -0x318(%rbp), %rsi
callq 0xd332
movl %eax, %r14d
leaq -0x318(%rbp), %rdi
callq 0x40e0
movl %r14d, -0x34(%rbp)
leaq 0x12a61(%rip), %rsi     # 0x200c6
leaq -0x2f8(%rbp), %rdi
leaq -0x180(%rbp), %rdx
callq 0x40b0
leaq -0x90(%rbp), %rdi
leaq -0x2f8(%rbp), %rdx
callq 0xd2de
leaq -0x2f8(%rbp), %rdi
callq 0x40e0
leaq 0x12a51(%rip), %rsi     # 0x200ef
leaq -0x2d8(%rbp), %rdi
leaq -0x160(%rbp), %rdx
callq 0x40b0
leaq -0x180(%rbp), %rdi
leaq -0x2d8(%rbp), %rdx
callq 0xd2de
leaq -0x2d8(%rbp), %rdi
callq 0x40e0
leaq 0x12a3a(%rip), %rsi     # 0x20111
leaq -0x2b8(%rbp), %rdi
leaq -0x140(%rbp), %rdx
callq 0x40b0
leaq -0x160(%rbp), %rdi
leaq -0x2b8(%rbp), %rdx
callq 0xd2de
leaq -0x2b8(%rbp), %rdi
callq 0x40e0
leaq 0x12a6c(%rip), %rsi     # 0x2017c
leaq -0x298(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x40b0
leaq -0x140(%rbp), %rdi
leaq -0x298(%rbp), %rdx
callq 0xd2de
leaq -0x298(%rbp), %rdi
callq 0x40e0
leaq 0x12a67(%rip), %rsi     # 0x201b0
leaq -0x278(%rbp), %rdi
leaq -0x100(%rbp), %rdx
callq 0x40b0
leaq -0x120(%rbp), %rdi
leaq -0x278(%rbp), %rdx
callq 0xd2de
leaq -0x278(%rbp), %rdi
callq 0x40e0
leaq 0x12a4f(%rip), %rsi     # 0x201d1
leaq -0x258(%rbp), %rdi
leaq -0xe0(%rbp), %rdx
callq 0x40b0
leaq -0x100(%rbp), %rdi
leaq -0x258(%rbp), %rdx
callq 0xd2de
leaq -0x258(%rbp), %rdi
callq 0x40e0
leaq 0x12a5a(%rip), %rsi     # 0x20215
leaq -0x238(%rbp), %rdi
leaq -0xe0(%rbp), %rdx
callq 0x40b0
leaq -0x238(%rbp), %rsi
callq 0xd44e
movl %eax, %r14d
leaq -0x238(%rbp), %rdi
callq 0x40e0
movb %r14b, -0x2b(%rbp)
leaq 0x12a69(%rip), %rsi     # 0x2025d
leaq -0x218(%rbp), %rdi
leaq -0xc0(%rbp), %rdx
callq 0x40b0
leaq -0xe0(%rbp), %r14
leaq -0x218(%rbp), %rdx
movq %r14, %rdi
callq 0xd2de
leaq -0x218(%rbp), %rdi
callq 0x40e0
leaq 0x12a5a(%rip), %rsi     # 0x2028a
leaq -0x1f8(%rbp), %rdi
leaq -0xc0(%rbp), %rdx
callq 0x40b0
leaq -0x1f8(%rbp), %rsi
callq 0xd44e
movl %eax, %r15d
leaq -0x1f8(%rbp), %rdi
callq 0x40e0
movb %r15b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movl $0x1, -0x30(%rbp)
leaq 0x12a6c(%rip), %rsi     # 0x202e0
leaq -0x1d8(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x40b0
leaq -0xc0(%rbp), %r15
leaq -0x1d8(%rbp), %rdx
movq %r15, %rdi
callq 0xd2de
leaq -0x1d8(%rbp), %rdi
callq 0x40e0
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x4, %rax
leaq -0x1a8(%rbp), %rsi
movq %rax, (%rsi)
leaq -0x4c(%rbp), %r9
movl $0x1, (%r9)
leaq -0x30(%rbp), %rax
leaq -0x29(%rbp), %r10
leaq -0x2a(%rbp), %r11
leaq -0x2b(%rbp), %r12
leaq -0x1b8(%rbp), %rdi
leaq -0x378(%rbp), %rdx
leaq -0x1a0(%rbp), %rcx
leaq -0x34(%rbp), %r8
pushq %r15
pushq %rax
pushq %r10
pushq %r11
pushq %r14
leaq -0x120(%rbp), %rax
pushq %rax
leaq -0x100(%rbp), %rax
pushq %rax
leaq -0x140(%rbp), %rax
pushq %rax
pushq %r12
leaq -0x160(%rbp), %rax
pushq %rax
leaq -0x180(%rbp), %rax
pushq %rax
leaq -0x90(%rbp), %rax
pushq %rax
pushq %r13
leaq -0x48(%rbp), %rax
pushq %rax
callq 0x139d0
addq $0x70, %rsp
leaq -0x1b0(%rbp), %rdi
movups -0x8(%rdi), %xmm0
leaq -0x68(%rbp), %r14
movups %xmm0, -0x8(%r14)
xorps %xmm0, %xmm0
movups %xmm0, -0x8(%rdi)
callq 0x4c0e
leaq -0x60(%rbp), %r15
leaq -0x70(%rbp), %rsi
movq %r15, %rdi
callq 0x14260
movq %rbx, %rdi
movq %r15, %rsi
callq 0xad08
leaq -0x58(%rbp), %rdi
callq 0x4c0e
incl 0x18(%rbx)
movq %r14, %rdi
callq 0x4c0e
leaq -0xc0(%rbp), %rdi
callq 0x40e0
leaq -0xe0(%rbp), %rdi
callq 0x40e0
leaq -0x100(%rbp), %rdi
callq 0x40e0
leaq -0x120(%rbp), %rdi
callq 0x40e0
leaq -0x140(%rbp), %rdi
callq 0x40e0
leaq -0x160(%rbp), %rdi
callq 0x40e0
leaq -0x180(%rbp), %rdi
callq 0x40e0
leaq -0x90(%rbp), %rdi
callq 0x40e0
leaq -0x1a0(%rbp), %rdi
callq 0x40e0
leaq -0x378(%rbp), %rdi
callq 0x40e0
leaq -0x40(%rbp), %rdi
callq 0x4c0e
leaq -0x98(%rbp), %rdi
callq 0x4c0e
addq $0x358, %rsp            # imm = 0x358
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x4c0e
movq %r14, %rdi
callq 0x4c0e
jmp 0xda41
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
jmp 0xda62
movq %rax, %rbx
leaq -0x1d8(%rbp), %rdi
jmp 0xda62
jmp 0xda69
movq %rax, %rbx
leaq -0x1f8(%rbp), %rdi
callq 0x40e0
jmp 0xda6c
movq %rax, %rbx
leaq -0xe0(%rbp), %rdi
callq 0x40e0
jmp 0xda97
movq %rax, %rbx
leaq -0x218(%rbp), %rdi
jmp 0xda73
jmp 0xda94
movq %rax, %rbx
leaq -0x238(%rbp), %rdi
jmp 0xda73
movq %rax, %rbx
leaq -0x100(%rbp), %rdi
callq 0x40e0
leaq -0x120(%rbp), %rdi
callq 0x40e0
leaq -0x140(%rbp), %rdi
callq 0x40e0
leaq -0x160(%rbp), %rdi
callq 0x40e0
leaq -0x180(%rbp), %rdi
callq 0x40e0
leaq -0x90(%rbp), %rdi
callq 0x40e0
leaq -0x1a0(%rbp), %rdi
callq 0x40e0
leaq -0x378(%rbp), %rdi
callq 0x40e0
leaq -0x40(%rbp), %rdi
callq 0x4c0e
leaq -0x98(%rbp), %rdi
callq 0x4c0e
movq %rbx, %rdi
callq 0x42c0
movq %rax, %rbx
leaq -0x258(%rbp), %rdi
jmp 0xda9e
movq %rax, %rbx
jmp 0xdaa3
movq %rax, %rbx
leaq -0x278(%rbp), %rdi
jmp 0xdaaa
movq %rax, %rbx
jmp 0xdaaf
movq %rax, %rbx
leaq -0x298(%rbp), %rdi
jmp 0xdab6
movq %rax, %rbx
jmp 0xdabb
movq %rax, %rbx
leaq -0x2b8(%rbp), %rdi
jmp 0xdac2
movq %rax, %rbx
jmp 0xdac7
movq %rax, %rbx
leaq -0x2d8(%rbp), %rdi
jmp 0xdace
movq %rax, %rbx
jmp 0xdad3
movq %rax, %rbx
leaq -0x2f8(%rbp), %rdi
jmp 0xdada
jmp 0xdba7
movq %rax, %rbx
leaq -0x318(%rbp), %rdi
jmp 0xdada
movq %rax, %rbx
jmp 0xdadf
movq %rax, %rbx
leaq -0x338(%rbp), %rdi
jmp 0xdae6
movq %rax, %rbx
jmp 0xdaeb
movq %rax, %rbx
leaq -0x358(%rbp), %rdi
jmp 0xdaf2
movq %rax, %rbx
jmp 0xdaf7
movq %rax, %rbx
jmp 0xdb00
nop