// File: /workspace/github_cpp_makefile_star2_O3/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::cadastrarMamiferoDomestico()
void Petfera::cadastrarMamiferoDomestico()
{
	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 nome_animal = leString("Digite um nome para o animal \n");

	std::shared_ptr<Animal> criado = std::make_shared<MamiferoDomestico>(this->animalStore.size(), especie, nome, genero, Mamiferos, veterinario, tratador, tipo_temperatura, tipo_pele, tipo_fecundacao, troca_pele, material_eliminidado, tem_dentes, pelagem, tipo_gestacao, nome_animal, "Ninguem");

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x308, %rsp            # imm = 0x308
movq %rdi, %rbx
leaq -0xe0(%rbp), %rdi
movq %rbx, %rsi
callq 0x13898
leaq -0xd0(%rbp), %rdi
movq %rbx, %rsi
callq 0x1371c
leaq -0x238(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x14f21(%rip), %rsi     # 0x2e072
leaq 0x14f42(%rip), %rdx     # 0x2e09a
leaq -0x248(%rbp), %rdi
callq 0x1e0e2
leaq -0x308(%rbp), %rdi
leaq -0x248(%rbp), %rdx
callq 0x142ec
movq -0x248(%rbp), %rdi
cmpq %r14, %rdi
je 0x19192
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x218(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x14ef7(%rip), %rsi     # 0x2e09b
leaq 0x14f15(%rip), %rdx     # 0x2e0c0
leaq -0x228(%rbp), %rdi
callq 0x1e0e2
leaq -0x2e8(%rbp), %rdi
leaq -0x228(%rbp), %rdx
callq 0x142ec
movq -0x228(%rbp), %rdi
cmpq %r14, %rdi
je 0x191e5
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1f8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x14eca(%rip), %rsi     # 0x2e0c1
leaq 0x14ee7(%rip), %rdx     # 0x2e0e5
leaq -0x208(%rbp), %rdi
callq 0x1e0e2
leaq -0x208(%rbp), %rsi
callq 0x1435a
movl %eax, %r14d
movq -0x208(%rbp), %rdi
cmpq %r15, %rdi
je 0x19234
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x38(%rbp)
leaq -0x1d8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x14e9c(%rip), %rsi     # 0x2e0e6
leaq 0x14ebd(%rip), %rdx     # 0x2e10e
leaq -0x1e8(%rbp), %rdi
callq 0x1e0e2
leaq -0x2c8(%rbp), %rdi
leaq -0x1e8(%rbp), %rdx
callq 0x142ec
movq -0x1e8(%rbp), %rdi
cmpq %r14, %rdi
je 0x1928b
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1b8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x14e72(%rip), %rsi     # 0x2e10f
leaq 0x14e8c(%rip), %rdx     # 0x2e130
leaq -0x1c8(%rbp), %rdi
callq 0x1e0e2
leaq -0x2a8(%rbp), %rdi
leaq -0x1c8(%rbp), %rdx
callq 0x142ec
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0x192de
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x198(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x14e41(%rip), %rsi     # 0x2e131
leaq 0x14e61(%rip), %rdx     # 0x2e158
leaq -0x1a8(%rbp), %rdi
callq 0x1e0e2
leaq -0x288(%rbp), %rdi
leaq -0x1a8(%rbp), %rdx
callq 0x142ec
movq -0x1a8(%rbp), %rdi
cmpq %r15, %rdi
je 0x19331
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x178(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x14e58(%rip), %rsi     # 0x2e19c
leaq 0x14e84(%rip), %rdx     # 0x2e1cf
leaq -0x188(%rbp), %rdi
callq 0x1e0e2
leaq -0x268(%rbp), %rdi
leaq -0x188(%rbp), %rdx
callq 0x142ec
movq -0x188(%rbp), %rdi
cmpq %r12, %rdi
je 0x19385
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x158(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x14f93(%rip), %rsi     # 0x2e32b
leaq 0x14fb0(%rip), %rdx     # 0x2e34f
leaq -0x168(%rbp), %rdi
callq 0x1e0e2
leaq -0x328(%rbp), %rdi
leaq -0x168(%rbp), %rdx
callq 0x142ec
movq -0x168(%rbp), %rdi
cmpq %r12, %rdi
je 0x193d9
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x138(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x14e4a(%rip), %rsi     # 0x2e235
leaq 0x14e8a(%rip), %rdx     # 0x2e27c
leaq -0x148(%rbp), %rdi
callq 0x1e0e2
leaq -0x148(%rbp), %rsi
callq 0x144be
movl %eax, %r12d
movq -0x148(%rbp), %rdi
cmpq %r13, %rdi
je 0x19428
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r12b, -0x2a(%rbp)
leaq -0x118(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x14f8f(%rip), %rsi     # 0x2e3cd
leaq 0x14fcf(%rip), %rdx     # 0x2e414
leaq -0x128(%rbp), %rdi
callq 0x1e0e2
leaq -0x128(%rbp), %rsi
callq 0x144be
movl %eax, %r12d
movq -0x128(%rbp), %rdi
cmpq %r13, %rdi
je 0x1947b
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r12b, -0x29(%rbp)
leaq -0xb0(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x14f83(%rip), %rsi     # 0x2e415
leaq 0x14fe5(%rip), %rdx     # 0x2e47e
leaq -0xc0(%rbp), %rdi
callq 0x1e0e2
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq 0x21b16(%rip), %rdi     # 0x3afd0
callq 0x4210
movq 0x21b1a(%rip), %rdi     # 0x3afe0
leaq -0x68(%rbp), %rsi
callq 0x4110
movl -0x68(%rbp), %r13d
decl %r13d
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x194f1
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r13d, -0x34(%rbp)
leaq -0x90(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x14f77(%rip), %rsi     # 0x2e47f
leaq 0x14fc0(%rip), %rdx     # 0x2e4cf
leaq -0xa0(%rbp), %rdi
callq 0x1e0e2
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
movq 0x21aa0(%rip), %rdi     # 0x3afd0
callq 0x4210
movq 0x21aa4(%rip), %rdi     # 0x3afe0
leaq -0x68(%rbp), %rsi
callq 0x4110
movl -0x68(%rbp), %r13d
decl %r13d
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
je 0x19567
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r13d, -0x30(%rbp)
leaq -0xf8(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x14c99(%rip), %rsi     # 0x2e216
leaq 0x14cb0(%rip), %rdx     # 0x2e234
leaq -0x108(%rbp), %rdi
callq 0x1e0e2
leaq -0x68(%rbp), %r12
leaq -0x108(%rbp), %rdx
movq %r12, %rdi
callq 0x142ec
movq -0x108(%rbp), %rdi
cmpq %r13, %rdi
je 0x195be
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x41d0
movq 0x8(%rbx), %rax
movq %rbx, -0x70(%rbp)
subq (%rbx), %rax
sarq $0x4, %rax
leaq -0x330(%rbp), %rcx
movq %rax, (%rcx)
leaq -0xe4(%rbp), %rax
movl $0x0, (%rax)
leaq -0x78(%rbp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x1434c(%rip), %r10     # 0x2d943
leaq -0x30(%rbp), %r11
leaq -0x34(%rbp), %r13
leaq -0x29(%rbp), %r14
leaq -0x2a(%rbp), %r15
leaq -0x38(%rbp), %rbx
leaq -0x80(%rbp), %rsi
leaq -0x2b(%rbp), %rdx
leaq -0x308(%rbp), %r8
leaq -0x2e8(%rbp), %r9
pushq %r10
pushq %r12
pushq %r11
pushq %r13
pushq %r14
leaq -0x268(%rbp), %r10
pushq %r10
pushq %r15
leaq -0x288(%rbp), %r10
pushq %r10
leaq -0x2a8(%rbp), %r10
pushq %r10
leaq -0x2c8(%rbp), %r10
pushq %r10
leaq -0xe0(%rbp), %r10
pushq %r10
leaq -0xd0(%rbp), %r10
pushq %r10
pushq %rax
pushq %rbx
callq 0x269d4
addq $0x70, %rsp
movq -0x80(%rbp), %r15
movq -0x78(%rbp), %r14
movq 0x21953(%rip), %rdi     # 0x3afd0
leaq 0x14d0f(%rip), %rsi     # 0x2e393
movl $0xf, %edx
callq 0x4210
movq 0x2193b(%rip), %rdi     # 0x3afd0
leaq 0x14395(%rip), %rsi     # 0x2da31
movl $0x1, %edx
callq 0x4210
movq %r15, -0x48(%rbp)
movq %r14, -0x40(%rbp)
testq %r14, %r14
movq -0x70(%rbp), %rdi
je 0x196ce
movq 0x2190a(%rip), %rax     # 0x3afc8
cmpb $0x0, (%rax)
je 0x196c9
incl 0x8(%r14)
jmp 0x196ce
lock
incl 0x8(%r14)
leaq -0x48(%rbp), %rsi
callq 0x10b76
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x196e5
callq 0x4eac
testq %r14, %r14
je 0x196f2
movq %r14, %rdi
callq 0x4eac
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1970b
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x318(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1972a
movq -0x318(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x258(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19749
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x278(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19768
movq -0x278(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x298(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19787
movq -0x298(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2b8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x197a6
movq -0x2b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2d8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x197c5
movq -0x2d8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2f8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x197e4
movq -0x2f8(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0xc8(%rbp), %rdi
testq %rdi, %rdi
je 0x197f5
callq 0x4eac
movq -0xd8(%rbp), %rdi
testq %rdi, %rdi
je 0x19806
callq 0x4eac
addq $0x308, %rsp            # imm = 0x308
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x199e4
callq 0x4eac
jmp 0x199e4
movq %rax, %rbx
jmp 0x199f1
movq %rax, %rbx
movq -0x108(%rbp), %rdi
cmpq %r13, %rdi
je 0x19a3a
movq -0xf8(%rbp), %rsi
jmp 0x19a32
jmp 0x1989f
jmp 0x1989f
jmp 0x1989f
movq %rax, %rbx
movq -0x128(%rbp), %rdi
cmpq %r13, %rdi
je 0x19a3a
movq -0x118(%rbp), %rsi
jmp 0x19a32
jmp 0x1989f
movq %rax, %rbx
movq -0x148(%rbp), %rdi
cmpq %r13, %rdi
je 0x19a3a
movq -0x138(%rbp), %rsi
jmp 0x19a32
movq %rax, %rbx
jmp 0x19a3a
movq %rax, %rbx
movq -0x168(%rbp), %rdi
cmpq %r12, %rdi
je 0x19a59
movq -0x158(%rbp), %rsi
jmp 0x19a51
movq %rax, %rbx
jmp 0x19a59
movq %rax, %rbx
movq -0x188(%rbp), %rdi
cmpq %r12, %rdi
je 0x19a78
movq -0x178(%rbp), %rsi
jmp 0x19a70
movq %rax, %rbx
jmp 0x19a78
movq %rax, %rbx
movq -0x1a8(%rbp), %rdi
cmpq %r15, %rdi
je 0x19a97
movq -0x198(%rbp), %rsi
jmp 0x19a8f
movq %rax, %rbx
jmp 0x19a97
movq %rax, %rbx
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0x19ab6
movq -0x1b8(%rbp), %rsi
jmp 0x19aae
movq %rax, %rbx
jmp 0x19ab6
movq %rax, %rbx
movq -0x1e8(%rbp), %rdi
cmpq %r14, %rdi
je 0x19ad5
movq -0x1d8(%rbp), %rsi
jmp 0x19acd
jmp 0x19983
movq %rax, %rbx
movq -0x208(%rbp), %rdi
cmpq %r15, %rdi
je 0x19ad5
movq -0x1f8(%rbp), %rsi
jmp 0x19acd
movq %rax, %rbx
jmp 0x19ad5
movq %rax, %rbx
movq -0x228(%rbp), %rdi
cmpq %r14, %rdi
je 0x19af4
movq -0x218(%rbp), %rsi
jmp 0x19aec
movq %rax, %rbx
jmp 0x19af4
movq %rax, %rbx
movq -0x248(%rbp), %rdi
cmpq %r14, %rdi
je 0x19b13
movq -0x238(%rbp), %rsi
jmp 0x19b0b
movq %rax, %rbx
jmp 0x19b13
movq %rax, %rbx
jmp 0x19b24
movq %rax, %rbx
testq %r14, %r14
je 0x199f1
movq %r14, %rdi
callq 0x4eac
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19a3a
movq -0x58(%rbp), %rsi
jmp 0x19a32
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
je 0x19a3a
movq -0x90(%rbp), %rsi
jmp 0x19a32
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x19a3a
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x318(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19a59
movq -0x318(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x258(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19a78
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x278(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19a97
movq -0x278(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x298(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19ab6
movq -0x298(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2b8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19ad5
movq -0x2b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2d8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19af4
movq -0x2d8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2f8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19b13
movq -0x2f8(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0xc8(%rbp), %rdi
testq %rdi, %rdi
je 0x19b24
callq 0x4eac
movq -0xd8(%rbp), %rdi
testq %rdi, %rdi
je 0x19b35
callq 0x4eac
movq %rbx, %rdi
callq 0x42f0
nop