// File: /workspace/github_cpp_makefile_star2_O1/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 $0x2d8, %rsp            # imm = 0x2D8
movq %rdi, %rbx
leaq -0x70(%rbp), %rdi
movq %rbx, %rsi
callq 0x1380e
leaq -0x60(%rbp), %rdi
movq %rbx, %rsi
callq 0x13694
leaq -0x1c8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a6a7(%rip), %rsi     # 0x2e072
leaq 0x1a6c8(%rip), %rdx     # 0x2e09a
leaq -0x1d8(%rbp), %rdi
callq 0x1e03c
leaq -0x298(%rbp), %rdi
leaq -0x1d8(%rbp), %rdx
callq 0x14260
movq -0x1d8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13a0c
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1a8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a67d(%rip), %rsi     # 0x2e09b
leaq 0x1a69b(%rip), %rdx     # 0x2e0c0
leaq -0x1b8(%rbp), %rdi
callq 0x1e03c
leaq -0x278(%rbp), %rdi
leaq -0x1b8(%rbp), %rdx
callq 0x14260
movq -0x1b8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13a5f
movq -0x1a8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x188(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1a650(%rip), %rsi     # 0x2e0c1
leaq 0x1a66d(%rip), %rdx     # 0x2e0e5
leaq -0x198(%rbp), %rdi
callq 0x1e03c
leaq -0x198(%rbp), %rsi
callq 0x142ce
movl %eax, %r14d
movq -0x198(%rbp), %rdi
cmpq %r15, %rdi
je 0x13aae
movq -0x188(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x30(%rbp)
leaq -0x168(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a622(%rip), %rsi     # 0x2e0e6
leaq 0x1a643(%rip), %rdx     # 0x2e10e
leaq -0x178(%rbp), %rdi
callq 0x1e03c
leaq -0x258(%rbp), %rdi
leaq -0x178(%rbp), %rdx
callq 0x14260
movq -0x178(%rbp), %rdi
cmpq %r14, %rdi
je 0x13b05
movq -0x168(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x148(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a5f8(%rip), %rsi     # 0x2e10f
leaq 0x1a612(%rip), %rdx     # 0x2e130
leaq -0x158(%rbp), %rdi
callq 0x1e03c
leaq -0x238(%rbp), %rdi
leaq -0x158(%rbp), %rdx
callq 0x14260
movq -0x158(%rbp), %rdi
cmpq %r14, %rdi
je 0x13b58
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x128(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a5c7(%rip), %rsi     # 0x2e131
leaq 0x1a5e7(%rip), %rdx     # 0x2e158
leaq -0x138(%rbp), %rdi
callq 0x1e03c
leaq -0x218(%rbp), %rdi
leaq -0x138(%rbp), %rdx
callq 0x14260
movq -0x138(%rbp), %rdi
cmpq %r14, %rdi
je 0x13bab
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x108(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1a59c(%rip), %rsi     # 0x2e159
leaq 0x1a5d7(%rip), %rdx     # 0x2e19b
leaq -0x118(%rbp), %rdi
callq 0x1e03c
leaq -0x118(%rbp), %rsi
callq 0x14432
movl %eax, %r14d
movq -0x118(%rbp), %rdi
cmpq %r15, %rdi
je 0x13bfa
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r14b, -0x29(%rbp)
leaq -0xe8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a58c(%rip), %rsi     # 0x2e19c
leaq 0x1a5b8(%rip), %rdx     # 0x2e1cf
leaq -0xf8(%rbp), %rdi
callq 0x1e03c
leaq -0x1f8(%rbp), %rdi
leaq -0xf8(%rbp), %rdx
callq 0x14260
movq -0xf8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13c51
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0xc8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a56d(%rip), %rsi     # 0x2e1d0
leaq 0x1a586(%rip), %rdx     # 0x2e1f0
leaq -0xd8(%rbp), %rdi
callq 0x1e03c
leaq -0x2f8(%rbp), %r12
leaq -0xd8(%rbp), %rdx
movq %r12, %rdi
callq 0x14260
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13ca7
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0xa8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1a538(%rip), %rsi     # 0x2e1f1
leaq 0x1a555(%rip), %rdx     # 0x2e215
leaq -0xb8(%rbp), %rdi
callq 0x1e03c
leaq -0x2d8(%rbp), %r13
leaq -0xb8(%rbp), %rdx
movq %r13, %rdi
callq 0x14260
movq -0xb8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13cfd
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x88(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1a507(%rip), %rsi     # 0x2e216
leaq 0x1a51e(%rip), %rdx     # 0x2e234
leaq -0x98(%rbp), %rdi
callq 0x1e03c
leaq -0x2b8(%rbp), %r14
leaq -0x98(%rbp), %rdx
movq %r14, %rdi
callq 0x14260
movq -0x98(%rbp), %rdi
cmpq %r15, %rdi
je 0x13d53
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x41d0
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x4, %rax
leaq -0x300(%rbp), %rcx
movq %rax, (%rcx)
leaq -0x74(%rbp), %rax
movl $0x1, (%rax)
leaq -0x48(%rbp), %rdi
movq $0x0, -0x8(%rdi)
subq $0x8, %rsp
leaq 0x19bba(%rip), %r10     # 0x2d943
leaq -0x29(%rbp), %r11
leaq -0x30(%rbp), %r15
leaq -0x50(%rbp), %rsi
leaq -0x2a(%rbp), %rdx
leaq -0x298(%rbp), %r8
leaq -0x278(%rbp), %r9
pushq %r10
pushq %r14
pushq %r12
pushq %r13
leaq -0x1f8(%rbp), %r10
pushq %r10
pushq %r11
leaq -0x218(%rbp), %r10
pushq %r10
leaq -0x238(%rbp), %r10
pushq %r10
leaq -0x258(%rbp), %r10
pushq %r10
leaq -0x70(%rbp), %r10
pushq %r10
leaq -0x60(%rbp), %r10
pushq %r10
pushq %rax
pushq %r15
callq 0x23532
addq $0x70, %rsp
movq -0x50(%rbp), %rax
movq -0x48(%rbp), %r14
movq %rax, -0x40(%rbp)
movq %r14, -0x38(%rbp)
testq %r14, %r14
je 0x13e19
movq 0x271bf(%rip), %rax     # 0x3afc8
cmpb $0x0, (%rax)
je 0x13e14
incl 0x8(%r14)
jmp 0x13e19
lock
incl 0x8(%r14)
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x10b0a
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x13e33
callq 0x4eac
incl 0x18(%rbx)
testq %r14, %r14
je 0x13e43
movq %r14, %rdi
callq 0x4eac
leaq -0x2a8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13e62
movq -0x2a8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2c8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13e81
movq -0x2c8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2e8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13ea0
movq -0x2e8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1e8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13ebf
movq -0x1e8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x208(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13ede
movq -0x208(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x228(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13efd
movq -0x228(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x248(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13f1c
movq -0x248(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x268(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13f3b
movq -0x268(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x288(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13f5a
movq -0x288(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x13f68
callq 0x4eac
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x13f76
callq 0x4eac
addq $0x2d8, %rsp            # imm = 0x2D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x13f99
callq 0x4eac
testq %r14, %r14
je 0x13fab
movq %r14, %rdi
callq 0x4eac
jmp 0x13fab
movq %rax, %rbx
leaq -0x2a8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13fe7
movq -0x2a8(%rbp), %rsi
jmp 0x13fda
movq %rax, %rbx
movq -0x98(%rbp), %rdi
cmpq %r15, %rdi
je 0x13fe7
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x13fe7
movq %rax, %rbx
leaq -0x2c8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14023
movq -0x2c8(%rbp), %rsi
jmp 0x14016
movq %rax, %rbx
movq -0xb8(%rbp), %rdi
cmpq %r14, %rdi
je 0x14023
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x14023
movq %rax, %rbx
leaq -0x2e8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1405f
movq -0x2e8(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x1405f
movq %rax, %rbx
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x1405f
movq -0xc8(%rbp), %rsi
jmp 0x1403a
movq %rax, %rbx
leaq -0x1e8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x140b5
movq -0x1e8(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x140b5
movq %rax, %rbx
movq -0xf8(%rbp), %rdi
cmpq %r14, %rdi
je 0x140b5
movq -0xe8(%rbp), %rsi
jmp 0x14076
jmp 0x140b2
movq %rax, %rbx
movq -0x118(%rbp), %rdi
cmpq %r15, %rdi
je 0x140b5
movq -0x108(%rbp), %rsi
jmp 0x14076
movq %rax, %rbx
leaq -0x208(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x140d4
movq -0x208(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x228(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x140f3
movq -0x228(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x248(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14112
movq -0x248(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x268(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14131
movq -0x268(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x288(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14150
movq -0x288(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x1415e
callq 0x4eac
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x1416c
callq 0x4eac
movq %rbx, %rdi
callq 0x42f0
movq %rax, %rbx
movq -0x138(%rbp), %rdi
cmpq %r14, %rdi
je 0x140d4
movq -0x128(%rbp), %rsi
jmp 0x140cc
movq %rax, %rbx
jmp 0x140d4
movq %rax, %rbx
movq -0x158(%rbp), %rdi
cmpq %r14, %rdi
je 0x140f3
movq -0x148(%rbp), %rsi
jmp 0x140eb
movq %rax, %rbx
jmp 0x140f3
movq %rax, %rbx
movq -0x178(%rbp), %rdi
cmpq %r14, %rdi
je 0x14112
movq -0x168(%rbp), %rsi
jmp 0x1410a
jmp 0x14202
movq %rax, %rbx
movq -0x198(%rbp), %rdi
cmpq %r15, %rdi
je 0x14112
movq -0x188(%rbp), %rsi
jmp 0x1410a
movq %rax, %rbx
jmp 0x14112
movq %rax, %rbx
movq -0x1b8(%rbp), %rdi
cmpq %r14, %rdi
je 0x14131
movq -0x1a8(%rbp), %rsi
jmp 0x14129
movq %rax, %rbx
jmp 0x14131
movq %rax, %rbx
movq -0x1d8(%rbp), %rdi
cmpq %r14, %rdi
je 0x14150
movq -0x1c8(%rbp), %rsi
jmp 0x14148
movq %rax, %rbx
jmp 0x14150
movq %rax, %rbx
jmp 0x1415e