// File: /workspace/github_cpp_makefile_star2_O3/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::cadastrarMamiferoNativo()
void Petfera::cadastrarMamiferoNativo()
{
	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 tem_dentes = leBool("Digite S se o animal possui dentes ou N se o animal nao possui dentes \n");
	pelos pelagem = lePelo("Digite o numero correspondende a pelagem do animal \n1-ausencia de pelos \n2-pelo reduzido \n3-pelo normal \n");
	TipoDeGestacao tipo_gestacao = leGestacao("Digite o numero que indique o tipo de gestacao do animal \n1-Marsupio \n2-Placenta");

	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 = true;
	enExtincao extincao = nao_ameacado;

	std::shared_ptr<Animal> criado = std::make_shared<MamiferoNativo>(this->animalStore.size(), especie, nome, genero, Mamiferos, veterinario, tratador, tipo_temperatura, tipo_pele, tipo_fecundacao, troca_pele, material_eliminidado, tem_dentes, pelagem, tipo_gestacao, aquatico_terrestre, registro_ibama, territorio_brasileiro, extincao);

	cout << "Salvando Animal"
			 << "\n";
	adicionarAnimal(criado);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x338, %rsp            # imm = 0x338
movq %rdi, %rbx
leaq -0xe8(%rbp), %rdi
movq %rbx, %rsi
callq 0x13898
leaq -0xd8(%rbp), %rdi
movq %rbx, %rsi
callq 0x1371c
leaq -0x260(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x138ef(%rip), %rsi     # 0x2e072
leaq 0x13910(%rip), %rdx     # 0x2e09a
leaq -0x270(%rbp), %rdi
callq 0x1e0e2
leaq -0x330(%rbp), %rdi
leaq -0x270(%rbp), %rdx
callq 0x142ec
movq -0x270(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a7c4
movq -0x260(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x240(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x138c5(%rip), %rsi     # 0x2e09b
leaq 0x138e3(%rip), %rdx     # 0x2e0c0
leaq -0x250(%rbp), %rdi
callq 0x1e0e2
leaq -0x310(%rbp), %rdi
leaq -0x250(%rbp), %rdx
callq 0x142ec
movq -0x250(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a817
movq -0x240(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x220(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x13898(%rip), %rsi     # 0x2e0c1
leaq 0x138b5(%rip), %rdx     # 0x2e0e5
leaq -0x230(%rbp), %rdi
callq 0x1e0e2
leaq -0x230(%rbp), %rsi
callq 0x1435a
movl %eax, %r14d
movq -0x230(%rbp), %rdi
cmpq %r15, %rdi
je 0x1a866
movq -0x220(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x3c(%rbp)
leaq -0x200(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1386a(%rip), %rsi     # 0x2e0e6
leaq 0x1388b(%rip), %rdx     # 0x2e10e
leaq -0x210(%rbp), %rdi
callq 0x1e0e2
leaq -0x2f0(%rbp), %rdi
leaq -0x210(%rbp), %rdx
callq 0x142ec
movq -0x210(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a8bd
movq -0x200(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1e0(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x13840(%rip), %rsi     # 0x2e10f
leaq 0x1385a(%rip), %rdx     # 0x2e130
leaq -0x1f0(%rbp), %rdi
callq 0x1e0e2
leaq -0x2d0(%rbp), %rdi
leaq -0x1f0(%rbp), %rdx
callq 0x142ec
movq -0x1f0(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a910
movq -0x1e0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1c0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1380f(%rip), %rsi     # 0x2e131
leaq 0x1382f(%rip), %rdx     # 0x2e158
leaq -0x1d0(%rbp), %rdi
callq 0x1e0e2
leaq -0x2b0(%rbp), %rdi
leaq -0x1d0(%rbp), %rdx
callq 0x142ec
movq -0x1d0(%rbp), %rdi
cmpq %r15, %rdi
je 0x1a963
movq -0x1c0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1a0(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x13826(%rip), %rsi     # 0x2e19c
leaq 0x13852(%rip), %rdx     # 0x2e1cf
leaq -0x1b0(%rbp), %rdi
callq 0x1e0e2
leaq -0x290(%rbp), %rdi
leaq -0x1b0(%rbp), %rdx
callq 0x142ec
movq -0x1b0(%rbp), %rdi
cmpq %r12, %rdi
je 0x1a9b7
movq -0x1a0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x180(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x13961(%rip), %rsi     # 0x2e32b
leaq 0x1397e(%rip), %rdx     # 0x2e34f
leaq -0x190(%rbp), %rdi
callq 0x1e0e2
leaq -0x350(%rbp), %rdi
leaq -0x190(%rbp), %rdx
callq 0x142ec
movq -0x190(%rbp), %rdi
cmpq %r12, %rdi
je 0x1aa0b
movq -0x180(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x160(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x13818(%rip), %rsi     # 0x2e235
leaq 0x13858(%rip), %rdx     # 0x2e27c
leaq -0x170(%rbp), %rdi
callq 0x1e0e2
leaq -0x170(%rbp), %rsi
callq 0x144be
movl %eax, %r12d
movq -0x170(%rbp), %rdi
cmpq %r13, %rdi
je 0x1aa5a
movq -0x160(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r12b, -0x2a(%rbp)
leaq -0x140(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x1395d(%rip), %rsi     # 0x2e3cd
leaq 0x1399d(%rip), %rdx     # 0x2e414
leaq -0x150(%rbp), %rdi
callq 0x1e0e2
leaq -0x150(%rbp), %rsi
callq 0x144be
movl %eax, %r12d
movq -0x150(%rbp), %rdi
cmpq %r13, %rdi
je 0x1aaad
movq -0x140(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r12b, -0x29(%rbp)
leaq -0xb8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x13951(%rip), %rsi     # 0x2e415
leaq 0x139b3(%rip), %rdx     # 0x2e47e
leaq -0xc8(%rbp), %rdi
callq 0x1e0e2
movq -0xc8(%rbp), %rsi
movq -0xc0(%rbp), %rdx
movq 0x204e4(%rip), %rdi     # 0x3afd0
callq 0x4210
movq 0x204e8(%rip), %rdi     # 0x3afe0
leaq -0x70(%rbp), %rsi
callq 0x4110
movl -0x70(%rbp), %r14d
decl %r14d
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x1ab23
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x38(%rbp)
leaq -0x98(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x13945(%rip), %rsi     # 0x2e47f
leaq 0x1398e(%rip), %rdx     # 0x2e4cf
leaq -0xa8(%rbp), %rdi
callq 0x1e0e2
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
movq 0x2046e(%rip), %rdi     # 0x3afd0
callq 0x4210
movq 0x20472(%rip), %rdi     # 0x3afe0
leaq -0x70(%rbp), %rsi
callq 0x4110
movl -0x70(%rbp), %r14d
decl %r14d
movq -0xa8(%rbp), %rdi
cmpq %r12, %rdi
je 0x1ab99
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x34(%rbp)
leaq -0x120(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x136ce(%rip), %rsi     # 0x2e27d
leaq 0x136f3(%rip), %rdx     # 0x2e2a9
leaq -0x130(%rbp), %rdi
callq 0x1e0e2
leaq -0x70(%rbp), %rdi
leaq -0x130(%rbp), %rdx
callq 0x142ec
movq -0x130(%rbp), %rdi
cmpq %r13, %rdi
je 0x1abed
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x100(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x136ab(%rip), %rsi     # 0x2e2aa
leaq 0x136f9(%rip), %rdx     # 0x2e2ff
leaq -0x110(%rbp), %rdi
callq 0x1e0e2
leaq -0x110(%rbp), %rsi
callq 0x144be
movl %eax, %r13d
movq -0x110(%rbp), %rdi
cmpq %r14, %rdi
je 0x1ac3c
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2c(%rbp), %rax
movb %r13b, (%rax)
leaq -0x2b(%rbp), %r11
movb $0x1, (%r11)
leaq -0xf0(%rbp), %r14
movl $0x1, (%r14)
movq 0x8(%rbx), %rdx
movq %rbx, -0x78(%rbp)
subq (%rbx), %rdx
sarq $0x4, %rdx
leaq -0x358(%rbp), %rcx
movq %rdx, (%rcx)
leaq -0xec(%rbp), %r10
movl $0x0, (%r10)
leaq -0x80(%rbp), %rdi
movq $0x0, -0x8(%rdi)
leaq -0x34(%rbp), %r13
leaq -0x38(%rbp), %r15
leaq -0x29(%rbp), %rbx
leaq -0x2a(%rbp), %r12
leaq -0x88(%rbp), %rsi
leaq -0x2d(%rbp), %rdx
leaq -0x330(%rbp), %r8
leaq -0x310(%rbp), %r9
pushq %r14
pushq %r11
pushq %rax
leaq -0x70(%rbp), %rax
pushq %rax
pushq %r13
pushq %r15
pushq %rbx
leaq -0x290(%rbp), %rax
pushq %rax
pushq %r12
leaq -0x2b0(%rbp), %rax
pushq %rax
leaq -0x2d0(%rbp), %rax
pushq %rax
leaq -0x2f0(%rbp), %rax
pushq %rax
leaq -0xe8(%rbp), %rax
pushq %rax
leaq -0xd8(%rbp), %rax
pushq %rax
pushq %r10
leaq -0x3c(%rbp), %rax
pushq %rax
callq 0x27576
addq $0x80, %rsp
movq -0x88(%rbp), %r15
movq -0x80(%rbp), %r14
movq 0x202b5(%rip), %rdi     # 0x3afd0
leaq 0x13671(%rip), %rsi     # 0x2e393
movl $0xf, %edx
callq 0x4210
movq 0x2029d(%rip), %rdi     # 0x3afd0
leaq 0x12cf7(%rip), %rsi     # 0x2da31
movl $0x1, %edx
callq 0x4210
movq %r15, -0x50(%rbp)
movq %r14, -0x48(%rbp)
testq %r14, %r14
movq -0x78(%rbp), %rdi
je 0x1ad6c
movq 0x2026c(%rip), %rax     # 0x3afc8
cmpb $0x0, (%rax)
je 0x1ad67
incl 0x8(%r14)
jmp 0x1ad6c
lock
incl 0x8(%r14)
leaq -0x50(%rbp), %rsi
callq 0x10b76
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x1ad83
callq 0x4eac
testq %r14, %r14
je 0x1ad90
movq %r14, %rdi
callq 0x4eac
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ada9
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x340(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1adc8
movq -0x340(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x280(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ade7
movq -0x280(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2a0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ae06
movq -0x2a0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2c0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ae25
movq -0x2c0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2e0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ae44
movq -0x2e0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x300(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ae63
movq -0x300(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x320(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ae82
movq -0x320(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x1ae93
callq 0x4eac
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x1aea4
callq 0x4eac
addq $0x338, %rsp            # imm = 0x338
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x1b0ab
callq 0x4eac
jmp 0x1b0ab
jmp 0x1aef9
movq %rax, %rbx
movq -0x110(%rbp), %rdi
cmpq %r14, %rdi
je 0x1b0b8
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x41d0
jmp 0x1b0b8
movq %rax, %rbx
jmp 0x1b0b8
movq %rax, %rbx
movq -0x130(%rbp), %rdi
cmpq %r13, %rdi
je 0x1b101
movq -0x120(%rbp), %rsi
jmp 0x1b0f9
jmp 0x1af66
jmp 0x1af66
jmp 0x1af66
movq %rax, %rbx
movq -0x150(%rbp), %rdi
cmpq %r13, %rdi
je 0x1b101
movq -0x140(%rbp), %rsi
jmp 0x1b0f9
jmp 0x1af66
movq %rax, %rbx
movq -0x170(%rbp), %rdi
cmpq %r13, %rdi
je 0x1b101
movq -0x160(%rbp), %rsi
jmp 0x1b0f9
movq %rax, %rbx
jmp 0x1b101
movq %rax, %rbx
movq -0x190(%rbp), %rdi
cmpq %r12, %rdi
je 0x1b120
movq -0x180(%rbp), %rsi
jmp 0x1b118
movq %rax, %rbx
jmp 0x1b120
movq %rax, %rbx
movq -0x1b0(%rbp), %rdi
cmpq %r12, %rdi
je 0x1b13f
movq -0x1a0(%rbp), %rsi
jmp 0x1b137
movq %rax, %rbx
jmp 0x1b13f
movq %rax, %rbx
movq -0x1d0(%rbp), %rdi
cmpq %r15, %rdi
je 0x1b15e
movq -0x1c0(%rbp), %rsi
jmp 0x1b156
movq %rax, %rbx
jmp 0x1b15e
movq %rax, %rbx
movq -0x1f0(%rbp), %rdi
cmpq %r14, %rdi
je 0x1b17d
movq -0x1e0(%rbp), %rsi
jmp 0x1b175
movq %rax, %rbx
jmp 0x1b17d
movq %rax, %rbx
movq -0x210(%rbp), %rdi
cmpq %r14, %rdi
je 0x1b19c
movq -0x200(%rbp), %rsi
jmp 0x1b194
jmp 0x1b04a
movq %rax, %rbx
movq -0x230(%rbp), %rdi
cmpq %r15, %rdi
je 0x1b19c
movq -0x220(%rbp), %rsi
jmp 0x1b194
movq %rax, %rbx
jmp 0x1b19c
movq %rax, %rbx
movq -0x250(%rbp), %rdi
cmpq %r14, %rdi
je 0x1b1bb
movq -0x240(%rbp), %rsi
jmp 0x1b1b3
movq %rax, %rbx
jmp 0x1b1bb
movq %rax, %rbx
movq -0x270(%rbp), %rdi
cmpq %r14, %rdi
je 0x1b1da
movq -0x260(%rbp), %rsi
jmp 0x1b1d2
movq %rax, %rbx
jmp 0x1b1da
movq %rax, %rbx
jmp 0x1b1eb
movq %rax, %rbx
testq %r14, %r14
je 0x1b0b8
movq %r14, %rdi
callq 0x4eac
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b101
movq -0x60(%rbp), %rsi
jmp 0x1b0f9
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r12, %rdi
je 0x1b101
movq -0x98(%rbp), %rsi
jmp 0x1b0f9
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x1b101
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x340(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b120
movq -0x340(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x280(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b13f
movq -0x280(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2a0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b15e
movq -0x2a0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2c0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b17d
movq -0x2c0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2e0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b19c
movq -0x2e0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x300(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b1bb
movq -0x300(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x320(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1b1da
movq -0x320(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x1b1eb
callq 0x4eac
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x1b1fc
callq 0x4eac
movq %rbx, %rdi
callq 0x42f0