// File: /workspace/github_cpp_makefile_star2_O1/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::cadastrarAnfibioExotico()
void Petfera::cadastrarAnfibioExotico()
{
	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 habitat = leString("Digite o tipo de habitat 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");
	bool possui_ovos = leBool("Digite S se o animal possui ovos e N se o animal nao possui ovos \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<AnfibioExotico>(this->animalStore.size(), especie, nome, genero, Anfibios, veterinario, tratador, tipo_temperatura, tipo_pele, tipo_fecundacao, troca_pele, material_eliminidado, habitat, possui_ovos, aquatico_terrestre, registro_ibama, territorio_brasileiro, extincao, pais_origem);

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x328, %rsp            # imm = 0x328
movq %rdi, %r12
leaq -0x80(%rbp), %rdi
movq %r12, %rsi
callq 0x1380e
leaq -0x70(%rbp), %rdi
movq %r12, %rsi
callq 0x13694
leaq -0x218(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17e33(%rip), %rsi     # 0x2e072
leaq 0x17e54(%rip), %rdx     # 0x2e09a
leaq -0x228(%rbp), %rdi
callq 0x1e03c
leaq -0x328(%rbp), %rdi
leaq -0x228(%rbp), %rdx
callq 0x14260
movq -0x228(%rbp), %rdi
cmpq %r14, %rdi
je 0x16280
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1f8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17e09(%rip), %rsi     # 0x2e09b
leaq 0x17e27(%rip), %rdx     # 0x2e0c0
leaq -0x208(%rbp), %rdi
callq 0x1e03c
leaq -0x308(%rbp), %rdi
leaq -0x208(%rbp), %rdx
callq 0x14260
movq -0x208(%rbp), %rdi
cmpq %r14, %rdi
je 0x162d3
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1d8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x17ddc(%rip), %rsi     # 0x2e0c1
leaq 0x17df9(%rip), %rdx     # 0x2e0e5
leaq -0x1e8(%rbp), %rdi
callq 0x1e03c
leaq -0x1e8(%rbp), %rsi
callq 0x142ce
movl %eax, %r14d
movq -0x1e8(%rbp), %rdi
cmpq %r15, %rdi
je 0x16322
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x38(%rbp)
leaq -0x1b8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17dae(%rip), %rsi     # 0x2e0e6
leaq 0x17dcf(%rip), %rdx     # 0x2e10e
leaq -0x1c8(%rbp), %rdi
callq 0x1e03c
leaq -0x2e8(%rbp), %rdi
leaq -0x1c8(%rbp), %rdx
callq 0x14260
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0x16379
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x198(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17d84(%rip), %rsi     # 0x2e10f
leaq 0x17d9e(%rip), %rdx     # 0x2e130
leaq -0x1a8(%rbp), %rdi
callq 0x1e03c
leaq -0x2c8(%rbp), %rdi
leaq -0x1a8(%rbp), %rdx
callq 0x14260
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0x163cc
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x178(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17d53(%rip), %rsi     # 0x2e131
leaq 0x17d73(%rip), %rdx     # 0x2e158
leaq -0x188(%rbp), %rdi
callq 0x1e03c
leaq -0x2a8(%rbp), %rdi
leaq -0x188(%rbp), %rdx
callq 0x14260
movq -0x188(%rbp), %rdi
cmpq %r14, %rdi
je 0x1641f
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x158(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17d6b(%rip), %rsi     # 0x2e19c
leaq 0x17d97(%rip), %rdx     # 0x2e1cf
leaq -0x168(%rbp), %rdi
callq 0x1e03c
leaq -0x288(%rbp), %rdi
leaq -0x168(%rbp), %rdx
callq 0x14260
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0x16472
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x138(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17ea7(%rip), %rsi     # 0x2e32b
leaq 0x17ec4(%rip), %rdx     # 0x2e34f
leaq -0x148(%rbp), %rdi
callq 0x1e03c
leaq -0x268(%rbp), %rdi
leaq -0x148(%rbp), %rdx
callq 0x14260
movq -0x148(%rbp), %rdi
cmpq %r14, %rdi
je 0x164c5
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x118(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x17d5e(%rip), %rsi     # 0x2e235
leaq 0x17d9e(%rip), %rdx     # 0x2e27c
leaq -0x128(%rbp), %rdi
callq 0x1e03c
leaq -0x128(%rbp), %rsi
callq 0x14432
movl %eax, %r14d
movq -0x128(%rbp), %rdi
cmpq %r13, %rdi
je 0x16514
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r14b, -0x2c(%rbp)
leaq -0xf8(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x17e26(%rip), %rsi     # 0x2e350
leaq 0x17e61(%rip), %rdx     # 0x2e392
leaq -0x108(%rbp), %rdi
callq 0x1e03c
leaq -0x108(%rbp), %rsi
callq 0x14432
movl %eax, %r14d
movq -0x108(%rbp), %rdi
cmpq %r13, %rdi
je 0x16567
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r14b, -0x2b(%rbp)
leaq -0xd8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17d00(%rip), %rsi     # 0x2e27d
leaq 0x17d25(%rip), %rdx     # 0x2e2a9
leaq -0xe8(%rbp), %rdi
callq 0x1e03c
leaq -0x248(%rbp), %rdi
leaq -0xe8(%rbp), %rdx
callq 0x14260
movq -0xe8(%rbp), %rdi
cmpq %r14, %rdi
je 0x165be
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0xb8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x17cda(%rip), %rsi     # 0x2e2aa
leaq 0x17d28(%rip), %rdx     # 0x2e2ff
leaq -0xc8(%rbp), %rdi
callq 0x1e03c
leaq -0xc8(%rbp), %rsi
callq 0x14432
movl %eax, %r14d
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x1660d
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r14b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movl $0x1, -0x34(%rbp)
leaq -0x98(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x17cd2(%rip), %rsi     # 0x2e300
leaq 0x17cf5(%rip), %rdx     # 0x2e32a
leaq -0xa8(%rbp), %rdi
callq 0x1e03c
leaq -0x348(%rbp), %r14
leaq -0xa8(%rbp), %rdx
movq %r14, %rdi
callq 0x14260
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x16672
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x41d0
movq 0x8(%r12), %rax
movq %r12, %rbx
subq (%r12), %rax
sarq $0x4, %rax
leaq -0x350(%rbp), %rcx
movq %rax, (%rcx)
leaq -0x84(%rbp), %rax
movl $0x2, (%rax)
leaq -0x58(%rbp), %rdi
movq $0x0, -0x8(%rdi)
leaq -0x34(%rbp), %r10
leaq -0x29(%rbp), %r11
leaq -0x2a(%rbp), %r15
leaq -0x2b(%rbp), %r12
leaq -0x2c(%rbp), %r13
leaq -0x60(%rbp), %rsi
leaq -0x2d(%rbp), %rdx
leaq -0x328(%rbp), %r8
leaq -0x308(%rbp), %r9
pushq %r14
pushq %r10
pushq %r11
pushq %r15
leaq -0x248(%rbp), %r10
pushq %r10
pushq %r12
leaq -0x268(%rbp), %r10
pushq %r10
leaq -0x288(%rbp), %r10
pushq %r10
pushq %r13
leaq -0x2a8(%rbp), %r10
pushq %r10
leaq -0x2c8(%rbp), %r10
pushq %r10
leaq -0x2e8(%rbp), %r10
pushq %r10
leaq -0x80(%rbp), %r10
pushq %r10
leaq -0x70(%rbp), %r10
pushq %r10
pushq %rax
leaq -0x38(%rbp), %rax
pushq %rax
callq 0x24e00
addq $0x80, %rsp
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %r14
movq %rax, -0x48(%rbp)
movq %r14, -0x40(%rbp)
testq %r14, %r14
je 0x1675b
movq 0x2487d(%rip), %rax     # 0x3afc8
cmpb $0x0, (%rax)
je 0x16756
incl 0x8(%r14)
jmp 0x1675b
lock
incl 0x8(%r14)
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x10b0a
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x16775
callq 0x4eac
incl 0x18(%rbx)
testq %r14, %r14
je 0x16785
movq %r14, %rdi
callq 0x4eac
leaq -0x338(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x167a4
movq -0x338(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x238(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x167c3
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x258(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x167e2
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x278(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16801
movq -0x278(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x298(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16820
movq -0x298(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2b8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1683f
movq -0x2b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2d8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1685e
movq -0x2d8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2f8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1687d
movq -0x2f8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x318(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1689c
movq -0x318(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x168aa
callq 0x4eac
movq -0x78(%rbp), %rdi
testq %rdi, %rdi
je 0x168b8
callq 0x4eac
addq $0x328, %rsp            # imm = 0x328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x168db
callq 0x4eac
testq %r14, %r14
je 0x168ed
movq %r14, %rdi
callq 0x4eac
jmp 0x168ed
movq %rax, %rbx
leaq -0x338(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16943
movq -0x338(%rbp), %rsi
jmp 0x16936
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x16943
movq -0x98(%rbp), %rsi
jmp 0x16936
jmp 0x16940
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x16943
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x16943
movq %rax, %rbx
leaq -0x238(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x169b3
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x169b3
movq %rax, %rbx
movq -0xe8(%rbp), %rdi
cmpq %r14, %rdi
je 0x169b3
movq -0xd8(%rbp), %rsi
jmp 0x1695a
jmp 0x169b0
movq %rax, %rbx
movq -0x108(%rbp), %rdi
cmpq %r13, %rdi
je 0x169b3
movq -0xf8(%rbp), %rsi
jmp 0x1695a
jmp 0x169b0
movq %rax, %rbx
movq -0x128(%rbp), %rdi
cmpq %r13, %rdi
je 0x169b3
movq -0x118(%rbp), %rsi
jmp 0x1695a
movq %rax, %rbx
leaq -0x258(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x169d2
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x278(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x169f1
movq -0x278(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x298(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a10
movq -0x298(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2b8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a2f
movq -0x2b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2d8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a4e
movq -0x2d8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2f8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a6d
movq -0x2f8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x318(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a8c
movq -0x318(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x16a9a
callq 0x4eac
movq -0x78(%rbp), %rdi
testq %rdi, %rdi
je 0x16aa8
callq 0x4eac
movq %rbx, %rdi
callq 0x42f0
movq %rax, %rbx
movq -0x148(%rbp), %rdi
cmpq %r14, %rdi
je 0x169d2
movq -0x138(%rbp), %rsi
jmp 0x169ca
movq %rax, %rbx
jmp 0x169d2
movq %rax, %rbx
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0x169f1
movq -0x158(%rbp), %rsi
jmp 0x169e9
movq %rax, %rbx
jmp 0x169f1
movq %rax, %rbx
movq -0x188(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a10
movq -0x178(%rbp), %rsi
jmp 0x16a08
movq %rax, %rbx
jmp 0x16a10
movq %rax, %rbx
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a2f
movq -0x198(%rbp), %rsi
jmp 0x16a27
movq %rax, %rbx
jmp 0x16a2f
movq %rax, %rbx
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a4e
movq -0x1b8(%rbp), %rsi
jmp 0x16a46
jmp 0x16b8c
movq %rax, %rbx
movq -0x1e8(%rbp), %rdi
cmpq %r15, %rdi
je 0x16a4e
movq -0x1d8(%rbp), %rsi
jmp 0x16a46
movq %rax, %rbx
jmp 0x16a4e
movq %rax, %rbx
movq -0x208(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a6d
movq -0x1f8(%rbp), %rsi
jmp 0x16a65
movq %rax, %rbx
jmp 0x16a6d
movq %rax, %rbx
movq -0x228(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a8c
movq -0x218(%rbp), %rsi
jmp 0x16a84
movq %rax, %rbx
jmp 0x16a8c
movq %rax, %rbx
jmp 0x16a9a