// File: /workspace/github_cpp_makefile_star2_O3/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 -0x78(%rbp), %rdi
movq %r12, %rsi
callq 0x13898
leaq -0x68(%rbp), %rdi
movq %r12, %rsi
callq 0x1371c
leaq -0x210(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17dab(%rip), %rsi     # 0x2e072
leaq 0x17dcc(%rip), %rdx     # 0x2e09a
leaq -0x220(%rbp), %rdi
callq 0x1e0e2
leaq -0x320(%rbp), %rdi
leaq -0x220(%rbp), %rdx
callq 0x142ec
movq -0x220(%rbp), %rdi
cmpq %r14, %rdi
je 0x16308
movq -0x210(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1f0(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17d81(%rip), %rsi     # 0x2e09b
leaq 0x17d9f(%rip), %rdx     # 0x2e0c0
leaq -0x200(%rbp), %rdi
callq 0x1e0e2
leaq -0x300(%rbp), %rdi
leaq -0x200(%rbp), %rdx
callq 0x142ec
movq -0x200(%rbp), %rdi
cmpq %r14, %rdi
je 0x1635b
movq -0x1f0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1d0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x17d54(%rip), %rsi     # 0x2e0c1
leaq 0x17d71(%rip), %rdx     # 0x2e0e5
leaq -0x1e0(%rbp), %rdi
callq 0x1e0e2
leaq -0x1e0(%rbp), %rsi
callq 0x1435a
movl %eax, %r14d
movq -0x1e0(%rbp), %rdi
cmpq %r15, %rdi
je 0x163aa
movq -0x1d0(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x38(%rbp)
leaq -0x1b0(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17d26(%rip), %rsi     # 0x2e0e6
leaq 0x17d47(%rip), %rdx     # 0x2e10e
leaq -0x1c0(%rbp), %rdi
callq 0x1e0e2
leaq -0x2e0(%rbp), %rdi
leaq -0x1c0(%rbp), %rdx
callq 0x142ec
movq -0x1c0(%rbp), %rdi
cmpq %r14, %rdi
je 0x16401
movq -0x1b0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x190(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17cfc(%rip), %rsi     # 0x2e10f
leaq 0x17d16(%rip), %rdx     # 0x2e130
leaq -0x1a0(%rbp), %rdi
callq 0x1e0e2
leaq -0x2c0(%rbp), %rdi
leaq -0x1a0(%rbp), %rdx
callq 0x142ec
movq -0x1a0(%rbp), %rdi
cmpq %r14, %rdi
je 0x16454
movq -0x190(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x170(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17ccb(%rip), %rsi     # 0x2e131
leaq 0x17ceb(%rip), %rdx     # 0x2e158
leaq -0x180(%rbp), %rdi
callq 0x1e0e2
leaq -0x2a0(%rbp), %rdi
leaq -0x180(%rbp), %rdx
callq 0x142ec
movq -0x180(%rbp), %rdi
cmpq %r14, %rdi
je 0x164a7
movq -0x170(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x150(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17ce3(%rip), %rsi     # 0x2e19c
leaq 0x17d0f(%rip), %rdx     # 0x2e1cf
leaq -0x160(%rbp), %rdi
callq 0x1e0e2
leaq -0x280(%rbp), %rdi
leaq -0x160(%rbp), %rdx
callq 0x142ec
movq -0x160(%rbp), %rdi
cmpq %r14, %rdi
je 0x164fa
movq -0x150(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x130(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17e1f(%rip), %rsi     # 0x2e32b
leaq 0x17e3c(%rip), %rdx     # 0x2e34f
leaq -0x140(%rbp), %rdi
callq 0x1e0e2
leaq -0x260(%rbp), %rdi
leaq -0x140(%rbp), %rdx
callq 0x142ec
movq -0x140(%rbp), %rdi
cmpq %r14, %rdi
je 0x1654d
movq -0x130(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x110(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x17cd6(%rip), %rsi     # 0x2e235
leaq 0x17d16(%rip), %rdx     # 0x2e27c
leaq -0x120(%rbp), %rdi
callq 0x1e0e2
leaq -0x120(%rbp), %rsi
callq 0x144be
movl %eax, %r14d
movq -0x120(%rbp), %rdi
cmpq %r13, %rdi
je 0x1659c
movq -0x110(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r14b, -0x2c(%rbp)
leaq -0xf0(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x17d9e(%rip), %rsi     # 0x2e350
leaq 0x17dd9(%rip), %rdx     # 0x2e392
leaq -0x100(%rbp), %rdi
callq 0x1e0e2
leaq -0x100(%rbp), %rsi
callq 0x144be
movl %eax, %r14d
movq -0x100(%rbp), %rdi
cmpq %r13, %rdi
je 0x165ef
movq -0xf0(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r14b, -0x2b(%rbp)
leaq -0xd0(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x17c78(%rip), %rsi     # 0x2e27d
leaq 0x17c9d(%rip), %rdx     # 0x2e2a9
leaq -0xe0(%rbp), %rdi
callq 0x1e0e2
leaq -0x240(%rbp), %rdi
leaq -0xe0(%rbp), %rdx
callq 0x142ec
movq -0xe0(%rbp), %rdi
cmpq %r14, %rdi
je 0x16646
movq -0xd0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0xb0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x17c52(%rip), %rsi     # 0x2e2aa
leaq 0x17ca0(%rip), %rdx     # 0x2e2ff
leaq -0xc0(%rbp), %rdi
callq 0x1e0e2
leaq -0xc0(%rbp), %rsi
callq 0x144be
movl %eax, %r14d
movq -0xc0(%rbp), %rdi
cmpq %r15, %rdi
je 0x16695
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r14b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movl $0x1, -0x34(%rbp)
leaq -0x90(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x17c4a(%rip), %rsi     # 0x2e300
leaq 0x17c6d(%rip), %rdx     # 0x2e32a
leaq -0xa0(%rbp), %rdi
callq 0x1e0e2
leaq -0x340(%rbp), %r14
leaq -0xa0(%rbp), %rdx
movq %r14, %rdi
callq 0x142ec
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x166fa
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x41d0
movq 0x8(%r12), %rax
movq %r12, %rbx
subq (%r12), %rax
sarq $0x4, %rax
leaq -0x348(%rbp), %rcx
movq %rax, (%rcx)
leaq -0x7c(%rbp), %rax
movl $0x2, (%rax)
leaq -0x50(%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 -0x58(%rbp), %rsi
leaq -0x2d(%rbp), %rdx
leaq -0x320(%rbp), %r8
leaq -0x300(%rbp), %r9
pushq %r14
pushq %r10
pushq %r11
pushq %r15
leaq -0x240(%rbp), %r10
pushq %r10
pushq %r12
leaq -0x260(%rbp), %r10
pushq %r10
leaq -0x280(%rbp), %r10
pushq %r10
pushq %r13
leaq -0x2a0(%rbp), %r10
pushq %r10
leaq -0x2c0(%rbp), %r10
pushq %r10
leaq -0x2e0(%rbp), %r10
pushq %r10
leaq -0x78(%rbp), %r10
pushq %r10
leaq -0x68(%rbp), %r10
pushq %r10
pushq %rax
leaq -0x38(%rbp), %rax
pushq %rax
callq 0x24e1e
addq $0x80, %rsp
movq -0x58(%rbp), %rax
movq -0x50(%rbp), %r14
movq %rax, -0x48(%rbp)
movq %r14, -0x40(%rbp)
testq %r14, %r14
je 0x167e0
movq 0x247f8(%rip), %rax     # 0x3afc8
cmpb $0x0, (%rax)
je 0x167db
incl 0x8(%r14)
jmp 0x167e0
lock
incl 0x8(%r14)
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x10b76
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x167fa
callq 0x4eac
incl 0x18(%rbx)
testq %r14, %r14
je 0x1680a
movq %r14, %rdi
callq 0x4eac
leaq -0x330(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16829
movq -0x330(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x230(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16848
movq -0x230(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x250(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16867
movq -0x250(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x270(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16886
movq -0x270(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x290(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x168a5
movq -0x290(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2b0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x168c4
movq -0x2b0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2d0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x168e3
movq -0x2d0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2f0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16902
movq -0x2f0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x310(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16921
movq -0x310(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x1692f
callq 0x4eac
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x1693d
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 0x16960
callq 0x4eac
testq %r14, %r14
je 0x16972
movq %r14, %rdi
callq 0x4eac
jmp 0x16972
movq %rax, %rbx
leaq -0x330(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x169c8
movq -0x330(%rbp), %rsi
jmp 0x169bb
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x169c8
movq -0x90(%rbp), %rsi
jmp 0x169bb
jmp 0x169c5
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
cmpq %r15, %rdi
je 0x169c8
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x169c8
movq %rax, %rbx
leaq -0x230(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a38
movq -0x230(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x16a38
movq %rax, %rbx
movq -0xe0(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a38
movq -0xd0(%rbp), %rsi
jmp 0x169df
jmp 0x16a35
movq %rax, %rbx
movq -0x100(%rbp), %rdi
cmpq %r13, %rdi
je 0x16a38
movq -0xf0(%rbp), %rsi
jmp 0x169df
jmp 0x16a35
movq %rax, %rbx
movq -0x120(%rbp), %rdi
cmpq %r13, %rdi
je 0x16a38
movq -0x110(%rbp), %rsi
jmp 0x169df
movq %rax, %rbx
leaq -0x250(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a57
movq -0x250(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x270(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a76
movq -0x270(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x290(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16a95
movq -0x290(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2b0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16ab4
movq -0x2b0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2d0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16ad3
movq -0x2d0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2f0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16af2
movq -0x2f0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x310(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16b11
movq -0x310(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x16b1f
callq 0x4eac
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x16b2d
callq 0x4eac
movq %rbx, %rdi
callq 0x42f0
movq %rax, %rbx
movq -0x140(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a57
movq -0x130(%rbp), %rsi
jmp 0x16a4f
movq %rax, %rbx
jmp 0x16a57
movq %rax, %rbx
movq -0x160(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a76
movq -0x150(%rbp), %rsi
jmp 0x16a6e
movq %rax, %rbx
jmp 0x16a76
movq %rax, %rbx
movq -0x180(%rbp), %rdi
cmpq %r14, %rdi
je 0x16a95
movq -0x170(%rbp), %rsi
jmp 0x16a8d
movq %rax, %rbx
jmp 0x16a95
movq %rax, %rbx
movq -0x1a0(%rbp), %rdi
cmpq %r14, %rdi
je 0x16ab4
movq -0x190(%rbp), %rsi
jmp 0x16aac
movq %rax, %rbx
jmp 0x16ab4
movq %rax, %rbx
movq -0x1c0(%rbp), %rdi
cmpq %r14, %rdi
je 0x16ad3
movq -0x1b0(%rbp), %rsi
jmp 0x16acb
jmp 0x16c11
movq %rax, %rbx
movq -0x1e0(%rbp), %rdi
cmpq %r15, %rdi
je 0x16ad3
movq -0x1d0(%rbp), %rsi
jmp 0x16acb
movq %rax, %rbx
jmp 0x16ad3
movq %rax, %rbx
movq -0x200(%rbp), %rdi
cmpq %r14, %rdi
je 0x16af2
movq -0x1f0(%rbp), %rsi
jmp 0x16aea
movq %rax, %rbx
jmp 0x16af2
movq %rax, %rbx
movq -0x220(%rbp), %rdi
cmpq %r14, %rdi
je 0x16b11
movq -0x210(%rbp), %rsi
jmp 0x16b09
movq %rax, %rbx
jmp 0x16b11
movq %rax, %rbx
jmp 0x16b1f
nop