// File: /workspace/github_cpp_makefile_star2_O2/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::cadastrarAveDomestico()
void Petfera::cadastrarAveDomestico()
{
	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");
	bool troca_pele = leBool("Digite S para se esse animal troca de pele e N se ele não troca \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");
	string nome_animal = leString("Digite um nome para o animal \n");

	std::shared_ptr<Animal> criado = std::make_shared<AveDomestico>(this->animalStore.size(), especie, nome, genero, Aves, veterinario, tratador, tipo_temperatura, tipo_pele, tipo_fecundacao, troca_pele, material_eliminidado, tamanhoDoBico, envergadura, nome_animal, "Ninguem");

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2e8, %rsp            # imm = 0x2E8
movq %rdi, %rbx
leaq -0x50(%rbp), %rdi
movq %rbx, %rsi
callq 0xcc18
leaq -0x40(%rbp), %rdi
movq %rbx, %rsi
callq 0xcae0
leaq 0x132ca(%rip), %rsi     # 0x20052
leaq -0x2f0(%rbp), %rdi
leaq -0x118(%rbp), %rdx
callq 0x40b0
leaq -0x310(%rbp), %rdi
leaq -0x2f0(%rbp), %rdx
callq 0xd2de
leaq -0x2f0(%rbp), %rdi
callq 0x40e0
leaq 0x132ba(%rip), %rsi     # 0x2007b
leaq -0x2d0(%rbp), %rdi
leaq -0x98(%rbp), %rdx
callq 0x40b0
leaq -0x118(%rbp), %rdi
leaq -0x2d0(%rbp), %rdx
callq 0xd2de
leaq -0x2d0(%rbp), %rdi
callq 0x40e0
leaq 0x132a7(%rip), %rsi     # 0x200a1
leaq -0x2b0(%rbp), %rdi
leaq -0x98(%rbp), %rdx
callq 0x40b0
leaq -0x2b0(%rbp), %rsi
callq 0xd332
movl %eax, %r14d
leaq -0x2b0(%rbp), %rdi
callq 0x40e0
movl %r14d, -0x30(%rbp)
leaq 0x13293(%rip), %rsi     # 0x200c6
leaq -0x290(%rbp), %rdi
leaq -0xf8(%rbp), %rdx
callq 0x40b0
leaq -0x98(%rbp), %rdi
leaq -0x290(%rbp), %rdx
callq 0xd2de
leaq -0x290(%rbp), %rdi
callq 0x40e0
leaq 0x13283(%rip), %rsi     # 0x200ef
leaq -0x270(%rbp), %rdi
leaq -0xd8(%rbp), %rdx
callq 0x40b0
leaq -0xf8(%rbp), %rdi
leaq -0x270(%rbp), %rdx
callq 0xd2de
leaq -0x270(%rbp), %rdi
callq 0x40e0
leaq 0x1326c(%rip), %rsi     # 0x20111
leaq -0x250(%rbp), %rdi
leaq -0xb8(%rbp), %rdx
callq 0x40b0
leaq -0xd8(%rbp), %rdi
leaq -0x250(%rbp), %rdx
callq 0xd2de
leaq -0x250(%rbp), %rdi
callq 0x40e0
leaq 0x1325b(%rip), %rsi     # 0x20139
leaq -0x230(%rbp), %rdi
leaq -0xb8(%rbp), %rdx
callq 0x40b0
leaq -0x230(%rbp), %rsi
callq 0xd44e
movl %eax, %r14d
leaq -0x230(%rbp), %rdi
callq 0x40e0
movb %r14b, -0x29(%rbp)
leaq 0x13265(%rip), %rsi     # 0x2017c
leaq -0x210(%rbp), %rdi
leaq -0x1f0(%rbp), %rdx
callq 0x40b0
leaq -0xb8(%rbp), %r15
leaq -0x210(%rbp), %rdx
movq %r15, %rdi
callq 0xd2de
leaq -0x210(%rbp), %rdi
callq 0x40e0
leaq 0x1325d(%rip), %rsi     # 0x201b0
leaq -0x1d0(%rbp), %rdi
leaq -0x1b0(%rbp), %rdx
callq 0x40b0
leaq -0x1f0(%rbp), %r12
leaq -0x1d0(%rbp), %rdx
movq %r12, %rdi
callq 0xd2de
leaq -0x1d0(%rbp), %rdi
callq 0x40e0
leaq 0x13242(%rip), %rsi     # 0x201d1
leaq -0x190(%rbp), %rdi
leaq -0x170(%rbp), %rdx
callq 0x40b0
leaq -0x1b0(%rbp), %r13
leaq -0x190(%rbp), %rdx
movq %r13, %rdi
callq 0xd2de
leaq -0x190(%rbp), %rdi
callq 0x40e0
leaq 0x1322b(%rip), %rsi     # 0x201f6
leaq -0x150(%rbp), %rdi
leaq -0x78(%rbp), %rdx
callq 0x40b0
leaq -0x170(%rbp), %r14
leaq -0x150(%rbp), %rdx
movq %r14, %rdi
callq 0xd2de
leaq -0x150(%rbp), %rdi
callq 0x40e0
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x4, %rax
leaq -0x120(%rbp), %rsi
movq %rax, (%rsi)
leaq -0x54(%rbp), %r9
movl $0x1, (%r9)
subq $0x8, %rsp
leaq 0x128fb(%rip), %rax     # 0x1f923
leaq -0x29(%rbp), %r10
leaq -0x130(%rbp), %rdi
leaq -0x310(%rbp), %rdx
leaq -0x118(%rbp), %rcx
leaq -0x30(%rbp), %r8
pushq %rax
pushq %r14
pushq %r12
pushq %r13
pushq %r15
pushq %r10
leaq -0xd8(%rbp), %rax
pushq %rax
leaq -0xf8(%rbp), %rax
pushq %rax
leaq -0x98(%rbp), %rax
pushq %rax
leaq -0x50(%rbp), %rax
pushq %rax
leaq -0x40(%rbp), %rax
pushq %rax
callq 0x13968
addq $0x60, %rsp
leaq -0x128(%rbp), %rdi
movups -0x8(%rdi), %xmm0
leaq -0x70(%rbp), %r14
movups %xmm0, -0x8(%r14)
xorps %xmm0, %xmm0
movups %xmm0, -0x8(%rdi)
callq 0x4c0e
leaq -0x68(%rbp), %r15
leaq -0x78(%rbp), %rsi
movq %r15, %rdi
callq 0x14260
movq %rbx, %rdi
movq %r15, %rsi
callq 0xad08
leaq -0x60(%rbp), %rdi
callq 0x4c0e
incl 0x18(%rbx)
movq %r14, %rdi
callq 0x4c0e
leaq -0x170(%rbp), %rdi
callq 0x40e0
leaq -0x1b0(%rbp), %rdi
callq 0x40e0
leaq -0x1f0(%rbp), %rdi
callq 0x40e0
leaq -0xb8(%rbp), %rdi
callq 0x40e0
leaq -0xd8(%rbp), %rdi
callq 0x40e0
leaq -0xf8(%rbp), %rdi
callq 0x40e0
leaq -0x98(%rbp), %rdi
callq 0x40e0
leaq -0x118(%rbp), %rdi
callq 0x40e0
leaq -0x310(%rbp), %rdi
callq 0x40e0
leaq -0x38(%rbp), %rdi
callq 0x4c0e
leaq -0x48(%rbp), %rdi
callq 0x4c0e
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x4c0e
movq %r14, %rdi
callq 0x4c0e
jmp 0xd173
movq %rax, %rbx
leaq -0x170(%rbp), %rdi
jmp 0xd186
movq %rax, %rbx
leaq -0x150(%rbp), %rdi
callq 0x40e0
jmp 0xd190
movq %rax, %rbx
leaq -0x1b0(%rbp), %rdi
jmp 0xd1a3
movq %rax, %rbx
leaq -0x190(%rbp), %rdi
callq 0x40e0
leaq -0x1f0(%rbp), %rdi
callq 0x40e0
leaq -0xb8(%rbp), %rdi
callq 0x40e0
leaq -0xd8(%rbp), %rdi
callq 0x40e0
leaq -0xf8(%rbp), %rdi
callq 0x40e0
leaq -0x98(%rbp), %rdi
callq 0x40e0
leaq -0x118(%rbp), %rdi
callq 0x40e0
leaq -0x310(%rbp), %rdi
callq 0x40e0
leaq -0x38(%rbp), %rdi
callq 0x4c0e
leaq -0x48(%rbp), %rdi
callq 0x4c0e
movq %rbx, %rdi
callq 0x42c0
movq %rax, %rbx
jmp 0xd1a8
movq %rax, %rbx
leaq -0x1d0(%rbp), %rdi
jmp 0xd1af
movq %rax, %rbx
jmp 0xd1b4
movq %rax, %rbx
leaq -0x210(%rbp), %rdi
jmp 0xd1bb
jmp 0xd249
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
jmp 0xd1bb
movq %rax, %rbx
jmp 0xd1c0
movq %rax, %rbx
leaq -0x250(%rbp), %rdi
jmp 0xd1c7
movq %rax, %rbx
jmp 0xd1cc
movq %rax, %rbx
leaq -0x270(%rbp), %rdi
jmp 0xd1d3
movq %rax, %rbx
jmp 0xd1d8
movq %rax, %rbx
leaq -0x290(%rbp), %rdi
jmp 0xd1df
jmp 0xd29f
movq %rax, %rbx
leaq -0x2b0(%rbp), %rdi
jmp 0xd1df
movq %rax, %rbx
jmp 0xd1e4
movq %rax, %rbx
leaq -0x2d0(%rbp), %rdi
jmp 0xd1eb
movq %rax, %rbx
jmp 0xd1f0
movq %rax, %rbx
leaq -0x2f0(%rbp), %rdi
jmp 0xd1f7
movq %rax, %rbx
jmp 0xd1fc
movq %rax, %rbx
jmp 0xd205
nop