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

	std::shared_ptr<Animal> criado = std::make_shared<ReptilDomestico>(this->animalStore.size(), especie, nome, genero, Repteis, veterinario, tratador, tipo_temperatura, tipo_pele, tipo_fecundacao, troca_pele, material_eliminidado, 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 $0x298, %rsp            # imm = 0x298
movq %rdi, %rbx
leaq -0x258(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1380e
leaq -0x60(%rbp), %rdi
movq %rbx, %rsi
callq 0x13694
leaq -0x198(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x16aff(%rip), %rsi     # 0x2e072
leaq 0x16b20(%rip), %rdx     # 0x2e09a
leaq -0x1a8(%rbp), %rdi
callq 0x1e03c
leaq -0x248(%rbp), %rdi
leaq -0x1a8(%rbp), %rdx
callq 0x14260
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0x175b4
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x178(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x16ad5(%rip), %rsi     # 0x2e09b
leaq 0x16af3(%rip), %rdx     # 0x2e0c0
leaq -0x188(%rbp), %rdi
callq 0x1e03c
leaq -0x228(%rbp), %rdi
leaq -0x188(%rbp), %rdx
callq 0x14260
movq -0x188(%rbp), %rdi
cmpq %r14, %rdi
je 0x17607
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x158(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x16aa8(%rip), %rsi     # 0x2e0c1
leaq 0x16ac5(%rip), %rdx     # 0x2e0e5
leaq -0x168(%rbp), %rdi
callq 0x1e03c
leaq -0x168(%rbp), %rsi
callq 0x142ce
movl %eax, %r14d
movq -0x168(%rbp), %rdi
cmpq %r15, %rdi
je 0x17656
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x41d0
movl %r14d, -0x30(%rbp)
leaq -0x138(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x16a7a(%rip), %rsi     # 0x2e0e6
leaq 0x16a9b(%rip), %rdx     # 0x2e10e
leaq -0x148(%rbp), %rdi
callq 0x1e03c
leaq -0x208(%rbp), %rdi
leaq -0x148(%rbp), %rdx
callq 0x14260
movq -0x148(%rbp), %rdi
cmpq %r14, %rdi
je 0x176ad
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x118(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x16a50(%rip), %rsi     # 0x2e10f
leaq 0x16a6a(%rip), %rdx     # 0x2e130
leaq -0x128(%rbp), %rdi
callq 0x1e03c
leaq -0x1e8(%rbp), %rdi
leaq -0x128(%rbp), %rdx
callq 0x14260
movq -0x128(%rbp), %rdi
cmpq %r14, %rdi
je 0x17700
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0xf8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x16a1f(%rip), %rsi     # 0x2e131
leaq 0x16a3f(%rip), %rdx     # 0x2e158
leaq -0x108(%rbp), %rdi
callq 0x1e03c
leaq -0x1c8(%rbp), %rdi
leaq -0x108(%rbp), %rdx
callq 0x14260
movq -0x108(%rbp), %rdi
cmpq %r15, %rdi
je 0x17753
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0xd8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x16a36(%rip), %rsi     # 0x2e19c
leaq 0x16a62(%rip), %rdx     # 0x2e1cf
leaq -0xe8(%rbp), %rdi
callq 0x1e03c
leaq -0x2b8(%rbp), %r15
leaq -0xe8(%rbp), %rdx
movq %r15, %rdi
callq 0x14260
movq -0xe8(%rbp), %rdi
cmpq %r12, %rdi
je 0x177aa
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0xb8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x16b6e(%rip), %rsi     # 0x2e32b
leaq 0x16b8b(%rip), %rdx     # 0x2e34f
leaq -0xc8(%rbp), %rdi
callq 0x1e03c
leaq -0x298(%rbp), %rdi
leaq -0xc8(%rbp), %rdx
callq 0x14260
movq %r13, %r14
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x17801
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x98(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x16a22(%rip), %rsi     # 0x2e235
leaq 0x16a62(%rip), %rdx     # 0x2e27c
leaq -0xa8(%rbp), %rdi
callq 0x1e03c
leaq -0xa8(%rbp), %rsi
callq 0x14432
movl %eax, %r12d
movq -0xa8(%rbp), %rdi
cmpq %r13, %rdi
je 0x17850
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x41d0
movb %r12b, -0x29(%rbp)
leaq -0x78(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x169b3(%rip), %rsi     # 0x2e216
leaq 0x169ca(%rip), %rdx     # 0x2e234
leaq -0x88(%rbp), %rdi
callq 0x1e03c
leaq -0x278(%rbp), %r12
leaq -0x88(%rbp), %rdx
movq %r12, %rdi
callq 0x14260
movq -0x88(%rbp), %rdi
cmpq %r13, %rdi
je 0x178a4
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x41d0
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x4, %rax
leaq -0x2c0(%rbp), %rcx
movq %rax, (%rcx)
leaq -0x64(%rbp), %rax
movl $0x3, (%rax)
leaq -0x48(%rbp), %rdi
movq $0x0, -0x8(%rdi)
subq $0x8, %rsp
leaq 0x16069(%rip), %r10     # 0x2d943
leaq -0x29(%rbp), %r11
leaq -0x30(%rbp), %r13
leaq -0x50(%rbp), %rsi
leaq -0x2a(%rbp), %rdx
leaq -0x248(%rbp), %r8
leaq -0x228(%rbp), %r9
pushq %r10
pushq %r12
pushq %r15
pushq %r11
leaq -0x1c8(%rbp), %r10
pushq %r10
leaq -0x1e8(%rbp), %r10
pushq %r10
leaq -0x208(%rbp), %r10
pushq %r10
pushq %r14
leaq -0x60(%rbp), %r10
pushq %r10
pushq %rax
pushq %r13
callq 0x259c8
addq $0x60, %rsp
movq -0x50(%rbp), %r15
movq -0x48(%rbp), %r14
movq 0x23692(%rip), %rdi     # 0x3afd0
leaq 0x16a4e(%rip), %rsi     # 0x2e393
movl $0xf, %edx
callq 0x4210
movq 0x2367a(%rip), %rdi     # 0x3afd0
leaq 0x160d4(%rip), %rsi     # 0x2da31
movl $0x1, %edx
callq 0x4210
movq %r15, -0x40(%rbp)
movq %r14, -0x38(%rbp)
testq %r14, %r14
je 0x1798b
movq 0x2364d(%rip), %rax     # 0x3afc8
cmpb $0x0, (%rax)
je 0x17986
incl 0x8(%r14)
jmp 0x1798b
lock
incl 0x8(%r14)
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x10b0a
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x179a5
callq 0x4eac
testq %r14, %r14
je 0x179b2
movq %r14, %rdi
callq 0x4eac
leaq -0x268(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x179d1
movq -0x268(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x288(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x179f0
movq -0x288(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2a8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17a0f
movq -0x2a8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1b8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17a2e
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1d8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17a4d
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1f8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17a6c
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x218(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17a8b
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x238(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17aaa
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x17ab8
callq 0x4eac
movq -0x250(%rbp), %rdi
testq %rdi, %rdi
je 0x17ac9
callq 0x4eac
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x17c7f
callq 0x4eac
jmp 0x17c7f
movq %rax, %rbx
jmp 0x17c8c
movq %rax, %rbx
movq -0x88(%rbp), %rdi
cmpq %r13, %rdi
je 0x17cab
movq -0x78(%rbp), %rsi
jmp 0x17ca3
jmp 0x17b3a
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r13, %rdi
je 0x17cab
movq -0x98(%rbp), %rsi
jmp 0x17ca3
movq %rax, %rbx
jmp 0x17cab
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x17cca
movq -0xb8(%rbp), %rsi
jmp 0x17cc2
movq %rax, %rbx
jmp 0x17cca
movq %rax, %rbx
movq -0xe8(%rbp), %rdi
cmpq %r12, %rdi
je 0x17ce9
movq -0xd8(%rbp), %rsi
jmp 0x17ce1
movq %rax, %rbx
jmp 0x17ce9
movq %rax, %rbx
movq -0x108(%rbp), %rdi
cmpq %r15, %rdi
je 0x17d08
movq -0xf8(%rbp), %rsi
jmp 0x17d00
movq %rax, %rbx
jmp 0x17d08
movq %rax, %rbx
movq -0x128(%rbp), %rdi
cmpq %r14, %rdi
je 0x17d27
movq -0x118(%rbp), %rsi
jmp 0x17d1f
movq %rax, %rbx
jmp 0x17d27
movq %rax, %rbx
movq -0x148(%rbp), %rdi
cmpq %r14, %rdi
je 0x17d46
movq -0x138(%rbp), %rsi
jmp 0x17d3e
jmp 0x17c1e
movq %rax, %rbx
movq -0x168(%rbp), %rdi
cmpq %r15, %rdi
je 0x17d46
movq -0x158(%rbp), %rsi
jmp 0x17d3e
movq %rax, %rbx
jmp 0x17d46
movq %rax, %rbx
movq -0x188(%rbp), %rdi
cmpq %r14, %rdi
je 0x17d65
movq -0x178(%rbp), %rsi
jmp 0x17d5d
movq %rax, %rbx
jmp 0x17d65
movq %rax, %rbx
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0x17d84
movq -0x198(%rbp), %rsi
jmp 0x17d7c
movq %rax, %rbx
jmp 0x17d84
movq %rax, %rbx
jmp 0x17d92
movq %rax, %rbx
testq %r14, %r14
je 0x17c8c
movq %r14, %rdi
callq 0x4eac
leaq -0x268(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17cab
movq -0x268(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x288(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17cca
movq -0x288(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x2a8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17ce9
movq -0x2a8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1b8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17d08
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1d8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17d27
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x1f8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17d46
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x218(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17d65
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x238(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17d84
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x17d92
callq 0x4eac
movq -0x250(%rbp), %rdi
testq %rdi, %rdi
je 0x17da3
callq 0x4eac
movq %rbx, %rdi
callq 0x42f0
nop