// File: /workspace/github_cpp_makefile_star2_O1/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::cadastrarMamiferoExotico()
void Petfera::cadastrarMamiferoExotico()
{
	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 = 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<MamiferoExotico>(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, pais_origem);

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x378, %rsp            # imm = 0x378
movq %rdi, %rbx
leaq -0xe8(%rbp), %rdi
movq %rbx, %rsi
callq 0x1380e
leaq -0xd8(%rbp), %rdi
movq %rbx, %rsi
callq 0x13694
leaq -0x280(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x144ed(%rip), %rsi     # 0x2e072
leaq 0x1450e(%rip), %rdx     # 0x2e09a
leaq -0x290(%rbp), %rdi
callq 0x1e03c
leaq -0x370(%rbp), %rdi
leaq -0x290(%rbp), %rdx
callq 0x14260
movq -0x290(%rbp), %rdi
cmpq %r14, %rdi
je 0x19bc6
movq -0x280(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x260(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x144c3(%rip), %rsi     # 0x2e09b
leaq 0x144e1(%rip), %rdx     # 0x2e0c0
leaq -0x270(%rbp), %rdi
callq 0x1e03c
leaq -0x350(%rbp), %rdi
leaq -0x270(%rbp), %rdx
callq 0x14260
movq -0x270(%rbp), %rdi
cmpq %r14, %rdi
je 0x19c19
movq -0x260(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x240(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x14496(%rip), %rsi     # 0x2e0c1
leaq 0x144b3(%rip), %rdx     # 0x2e0e5
leaq -0x250(%rbp), %rdi
callq 0x1e03c
leaq -0x250(%rbp), %rsi
callq 0x142ce
movl %eax, %r14d
movq -0x250(%rbp), %rdi
cmpq %r15, %rdi
je 0x19c68
movq -0x240(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x40(%rbp)
leaq -0x220(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x14468(%rip), %rsi     # 0x2e0e6
leaq 0x14489(%rip), %rdx     # 0x2e10e
leaq -0x230(%rbp), %rdi
callq 0x1e03c
leaq -0x330(%rbp), %rdi
leaq -0x230(%rbp), %rdx
callq 0x14260
movq -0x230(%rbp), %rdi
cmpq %r14, %rdi
je 0x19cbf
movq -0x220(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x200(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1443e(%rip), %rsi     # 0x2e10f
leaq 0x14458(%rip), %rdx     # 0x2e130
leaq -0x210(%rbp), %rdi
callq 0x1e03c
leaq -0x310(%rbp), %rdi
leaq -0x210(%rbp), %rdx
callq 0x14260
movq -0x210(%rbp), %rdi
cmpq %r14, %rdi
je 0x19d12
movq -0x200(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1e0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1440d(%rip), %rsi     # 0x2e131
leaq 0x1442d(%rip), %rdx     # 0x2e158
leaq -0x1f0(%rbp), %rdi
callq 0x1e03c
leaq -0x2f0(%rbp), %rdi
leaq -0x1f0(%rbp), %rdx
callq 0x14260
movq -0x1f0(%rbp), %rdi
cmpq %r15, %rdi
je 0x19d65
movq -0x1e0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1c0(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x14424(%rip), %rsi     # 0x2e19c
leaq 0x14450(%rip), %rdx     # 0x2e1cf
leaq -0x1d0(%rbp), %rdi
callq 0x1e03c
leaq -0x2d0(%rbp), %rdi
leaq -0x1d0(%rbp), %rdx
callq 0x14260
movq -0x1d0(%rbp), %rdi
cmpq %r12, %rdi
je 0x19db9
movq -0x1c0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1a0(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x1455f(%rip), %rsi     # 0x2e32b
leaq 0x1457c(%rip), %rdx     # 0x2e34f
leaq -0x1b0(%rbp), %rdi
callq 0x1e03c
leaq -0x390(%rbp), %rdi
leaq -0x1b0(%rbp), %rdx
callq 0x14260
movq -0x1b0(%rbp), %rdi
cmpq %r12, %rdi
je 0x19e0d
movq -0x1a0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x180(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x14416(%rip), %rsi     # 0x2e235
leaq 0x14456(%rip), %rdx     # 0x2e27c
leaq -0x190(%rbp), %rdi
callq 0x1e03c
leaq -0x190(%rbp), %rsi
callq 0x14432
movl %eax, %r12d
movq -0x190(%rbp), %rdi
cmpq %r13, %rdi
je 0x19e5c
movq -0x180(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r12b, -0x2c(%rbp)
leaq -0x160(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x1455b(%rip), %rsi     # 0x2e3cd
leaq 0x1459b(%rip), %rdx     # 0x2e414
leaq -0x170(%rbp), %rdi
callq 0x1e03c
leaq -0x170(%rbp), %rsi
callq 0x14432
movl %eax, %r12d
movq -0x170(%rbp), %rdi
cmpq %r13, %rdi
je 0x19eaf
movq -0x160(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r12b, -0x2b(%rbp)
leaq -0xb8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x1454f(%rip), %rsi     # 0x2e415
leaq 0x145b1(%rip), %rdx     # 0x2e47e
leaq -0xc8(%rbp), %rdi
callq 0x1e03c
movq -0xc8(%rbp), %rsi
movq -0xc0(%rbp), %rdx
movq 0x210e2(%rip), %rdi     # 0x3afd0
callq 0x4210
movq 0x210e6(%rip), %rdi     # 0x3afe0
leaq -0x70(%rbp), %rsi
callq 0x4110
movl -0x70(%rbp), %r14d
decl %r14d
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x19f25
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x3c(%rbp)
leaq -0x98(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x14543(%rip), %rsi     # 0x2e47f
leaq 0x1458c(%rip), %rdx     # 0x2e4cf
leaq -0xa8(%rbp), %rdi
callq 0x1e03c
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
movq 0x2106c(%rip), %rdi     # 0x3afd0
callq 0x4210
movq 0x21070(%rip), %rdi     # 0x3afe0
leaq -0x70(%rbp), %rsi
callq 0x4110
movl -0x70(%rbp), %r14d
decl %r14d
movq -0xa8(%rbp), %rdi
cmpq %r12, %rdi
je 0x19f9b
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x38(%rbp)
leaq -0x140(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x142cc(%rip), %rsi     # 0x2e27d
leaq 0x142f1(%rip), %rdx     # 0x2e2a9
leaq -0x150(%rbp), %rdi
callq 0x1e03c
leaq -0x70(%rbp), %rdi
leaq -0x150(%rbp), %rdx
callq 0x14260
movq -0x150(%rbp), %rdi
cmpq %r13, %rdi
je 0x19fef
movq -0x140(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x120(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x142a9(%rip), %rsi     # 0x2e2aa
leaq 0x142f7(%rip), %rdx     # 0x2e2ff
leaq -0x130(%rbp), %rdi
callq 0x1e03c
leaq -0x130(%rbp), %rsi
callq 0x14432
movl %eax, %r13d
movq -0x130(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a03e
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r13b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movl $0x1, -0x34(%rbp)
leaq -0x100(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x14344(%rip), %rsi     # 0x2e3a3
leaq 0x14366(%rip), %rdx     # 0x2e3cc
leaq -0x110(%rbp), %rdi
callq 0x1e03c
leaq -0x2b0(%rbp), %rdi
leaq -0x110(%rbp), %rdx
callq 0x14260
movq -0x110(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a0a0
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x41d0
movq 0x8(%rbx), %rax
movq %rbx, -0x88(%rbp)
subq (%rbx), %rax
sarq $0x4, %rax
leaq -0x398(%rbp), %rcx
movq %rax, (%rcx)
leaq -0xec(%rbp), %rax
movl $0x0, (%rax)
leaq -0x78(%rbp), %rdi
movq $0x0, -0x8(%rdi)
subq $0x8, %rsp
leaq -0x34(%rbp), %r11
leaq -0x29(%rbp), %r14
leaq -0x2a(%rbp), %r15
leaq -0x38(%rbp), %rbx
leaq -0x3c(%rbp), %r12
leaq -0x2b(%rbp), %r10
leaq -0x80(%rbp), %rsi
leaq -0x2d(%rbp), %rdx
leaq -0x370(%rbp), %r8
leaq -0x350(%rbp), %r9
leaq -0x2b0(%rbp), %r13
pushq %r13
pushq %r11
pushq %r14
pushq %r15
leaq -0x70(%rbp), %r11
pushq %r11
pushq %rbx
pushq %r12
pushq %r10
leaq -0x2d0(%rbp), %r10
pushq %r10
leaq -0x2c(%rbp), %r10
pushq %r10
leaq -0x2f0(%rbp), %r10
pushq %r10
leaq -0x310(%rbp), %r10
pushq %r10
leaq -0x330(%rbp), %r10
pushq %r10
leaq -0xe8(%rbp), %r10
pushq %r10
leaq -0xd8(%rbp), %r10
pushq %r10
pushq %rax
leaq -0x40(%rbp), %rax
pushq %rax
callq 0x26f64
addq $0x90, %rsp
movq -0x80(%rbp), %r15
movq -0x78(%rbp), %r14
movq 0x20e52(%rip), %rdi     # 0x3afd0
leaq 0x1420e(%rip), %rsi     # 0x2e393
movl $0xf, %edx
callq 0x4210
movq 0x20e3a(%rip), %rdi     # 0x3afd0
leaq 0x13894(%rip), %rsi     # 0x2da31
movl $0x1, %edx
callq 0x4210
movq %r15, -0x50(%rbp)
movq %r14, -0x48(%rbp)
testq %r14, %r14
movq -0x88(%rbp), %rdi
je 0x1a1d2
movq 0x20e06(%rip), %rax     # 0x3afc8
cmpb $0x0, (%rax)
je 0x1a1cd
incl 0x8(%r14)
jmp 0x1a1d2
lock
incl 0x8(%r14)
leaq -0x50(%rbp), %rsi
callq 0x10b0a
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x1a1e9
callq 0x4eac
testq %r14, %r14
je 0x1a1f6
movq %r14, %rdi
callq 0x4eac
leaq -0x2a0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a215
movq -0x2a0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a22e
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x380(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a24d
movq -0x380(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2c0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a26c
movq -0x2c0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2e0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a28b
movq -0x2e0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x300(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a2aa
movq -0x300(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x320(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a2c9
movq -0x320(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x340(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a2e8
movq -0x340(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x360(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a307
movq -0x360(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x1a318
callq 0x4eac
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x1a329
callq 0x4eac
addq $0x378, %rsp            # imm = 0x378
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x1a54f
callq 0x4eac
jmp 0x1a54f
movq %rax, %rbx
jmp 0x1a55c
movq %rax, %rbx
movq -0x110(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a57b
movq -0x100(%rbp), %rsi
jmp 0x1a573
jmp 0x1a39d
movq %rax, %rbx
movq -0x130(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a57b
movq -0x120(%rbp), %rsi
jmp 0x1a573
movq %rax, %rbx
jmp 0x1a57b
movq %rax, %rbx
movq -0x150(%rbp), %rdi
cmpq %r13, %rdi
je 0x1a5c4
movq -0x140(%rbp), %rsi
jmp 0x1a5bc
jmp 0x1a40a
jmp 0x1a40a
jmp 0x1a40a
movq %rax, %rbx
movq -0x170(%rbp), %rdi
cmpq %r13, %rdi
je 0x1a5c4
movq -0x160(%rbp), %rsi
jmp 0x1a5bc
jmp 0x1a40a
movq %rax, %rbx
movq -0x190(%rbp), %rdi
cmpq %r13, %rdi
je 0x1a5c4
movq -0x180(%rbp), %rsi
jmp 0x1a5bc
movq %rax, %rbx
jmp 0x1a5c4
movq %rax, %rbx
movq -0x1b0(%rbp), %rdi
cmpq %r12, %rdi
je 0x1a5e3
movq -0x1a0(%rbp), %rsi
jmp 0x1a5db
movq %rax, %rbx
jmp 0x1a5e3
movq %rax, %rbx
movq -0x1d0(%rbp), %rdi
cmpq %r12, %rdi
je 0x1a602
movq -0x1c0(%rbp), %rsi
jmp 0x1a5fa
movq %rax, %rbx
jmp 0x1a602
movq %rax, %rbx
movq -0x1f0(%rbp), %rdi
cmpq %r15, %rdi
je 0x1a621
movq -0x1e0(%rbp), %rsi
jmp 0x1a619
movq %rax, %rbx
jmp 0x1a621
movq %rax, %rbx
movq -0x210(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a640
movq -0x200(%rbp), %rsi
jmp 0x1a638
movq %rax, %rbx
jmp 0x1a640
movq %rax, %rbx
movq -0x230(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a65f
movq -0x220(%rbp), %rsi
jmp 0x1a657
jmp 0x1a4ee
movq %rax, %rbx
movq -0x250(%rbp), %rdi
cmpq %r15, %rdi
je 0x1a65f
movq -0x240(%rbp), %rsi
jmp 0x1a657
movq %rax, %rbx
jmp 0x1a65f
movq %rax, %rbx
movq -0x270(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a67e
movq -0x260(%rbp), %rsi
jmp 0x1a676
movq %rax, %rbx
jmp 0x1a67e
movq %rax, %rbx
movq -0x290(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a69d
movq -0x280(%rbp), %rsi
jmp 0x1a695
movq %rax, %rbx
jmp 0x1a69d
movq %rax, %rbx
jmp 0x1a6ae
movq %rax, %rbx
testq %r14, %r14
je 0x1a55c
movq %r14, %rdi
callq 0x4eac
leaq -0x2a0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a57b
movq -0x2a0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a5c4
movq -0x60(%rbp), %rsi
jmp 0x1a5bc
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r12, %rdi
je 0x1a5c4
movq -0x98(%rbp), %rsi
jmp 0x1a5bc
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x1a5c4
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x380(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a5e3
movq -0x380(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2c0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a602
movq -0x2c0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2e0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a621
movq -0x2e0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x300(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a640
movq -0x300(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x320(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a65f
movq -0x320(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x340(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a67e
movq -0x340(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x360(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a69d
movq -0x360(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x1a6ae
callq 0x4eac
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x1a6bf
callq 0x4eac
movq %rbx, %rdi
callq 0x42f0
nop