// File: /workspace/github_cpp_makefile_star2_O1/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::cadastrarFuncionario()
void Petfera::cadastrarFuncionario()
{
	short escolha;
	string escolha_str;

	cout << "\nOpcao Escolhida: Cadastrar funcionario\n"
			 << endl;
	cout << "Escolha abaixo o tipo de funcionario para cadastro: \n"
			 << endl;
	cout << " 1 - Funcionario Tratador" << endl;
	cout << " 2 - Funcionario Veterinario" << endl;
	cout << " 3 - Voltar para o menu" << endl;

	cin >> escolha_str;
	stringstream ss;
	ss << escolha_str;
	ss >> escolha;

	switch (escolha)
	{
	case 1:
		cout << "Vamos cadastrar um Funcionario Tratador" << endl;
		cadastrarTratador();
		break;
	case 2:
		cout << "Vamos cadastrar um Funcionario Tratador" << endl;
		cadastrarVeterinario();
		break;
	case 3:

		inicio();

		break;
	default:

		cout << "\033[1;33m"
				 << "Nao temos essa Opcao, Escolha de 1-3"
				 << "\033[0m"
				 << "\n";
		cadastrarFuncionario();

		break;
	}

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdi, %rbx
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movq 0x2988a(%rip), %r14     # 0x3afd0
leaq 0x1d2c1(%rip), %rsi     # 0x2ea0e
movl $0x28, %edx
movq %r14, %rdi
callq 0x4210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq 0x29858(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x29844(%rip), %r14     # 0x3afd0
leaq 0x1d2a4(%rip), %rsi     # 0x2ea37
movl $0x35, %edx
movq %r14, %rdi
callq 0x4210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq 0x29812(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x297fe(%rip), %r14     # 0x3afd0
leaq 0x1d294(%rip), %rsi     # 0x2ea6d
movl $0x19, %edx
movq %r14, %rdi
callq 0x4210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq 0x297cc(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x297b8(%rip), %r14     # 0x3afd0
leaq 0x1d268(%rip), %rsi     # 0x2ea87
movl $0x1c, %edx
movq %r14, %rdi
callq 0x4210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq 0x29786(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x29772(%rip), %r14     # 0x3afd0
leaq 0x1d23f(%rip), %rsi     # 0x2eaa4
movl $0x17, %edx
movq %r14, %rdi
callq 0x4210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq 0x29740(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x2973c(%rip), %rdi     # 0x3afe0
leaq -0x40(%rbp), %rsi
callq 0x4220
leaq -0x1c8(%rbp), %rdi
callq 0x4130
leaq -0x1b8(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
callq 0x4210
leaq -0x1c8(%rbp), %rdi
leaq -0x1a(%rbp), %rsi
callq 0x4050
movzwl -0x1a(%rbp), %eax
cmpl $0x1, %eax
je 0x11954
cmpl $0x2, %eax
je 0x11901
cmpl $0x3, %eax
jne 0x119a4
movq %rbx, %rdi
callq 0x10be2
jmp 0x11a0c
movq 0x296c8(%rip), %r14     # 0x3afd0
leaq 0x1d1ad(%rip), %rsi     # 0x2eabc
movl $0x27, %edx
movq %r14, %rdi
callq 0x4210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq 0x29696(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq %rbx, %rdi
callq 0x1c27e
jmp 0x11a0c
movq 0x29675(%rip), %r14     # 0x3afd0
leaq 0x1d15a(%rip), %rsi     # 0x2eabc
movl $0x27, %edx
movq %r14, %rdi
callq 0x4210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq 0x29643(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq %rbx, %rdi
callq 0x1bee2
jmp 0x11a0c
movq 0x29625(%rip), %rdi     # 0x3afd0
leaq 0x1c36e(%rip), %rsi     # 0x2dd20
movl $0x7, %edx
callq 0x4210
movq 0x2960d(%rip), %rdi     # 0x3afd0
leaq 0x1d11a(%rip), %rsi     # 0x2eae4
movl $0x24, %edx
callq 0x4210
movq 0x295f5(%rip), %rdi     # 0x3afd0
leaq 0x1c36c(%rip), %rsi     # 0x2dd4e
movl $0x4, %edx
callq 0x4210
movq 0x295dd(%rip), %rdi     # 0x3afd0
leaq 0x1c037(%rip), %rsi     # 0x2da31
movl $0x1, %edx
callq 0x4210
movq %rbx, %rdi
callq 0x11718
movq 0x29595(%rip), %rsi     # 0x3afa8
leaq -0x1c8(%rbp), %rdi
callq 0x4150
leaq -0x148(%rbp), %rdi
callq 0x40a0
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x11a40
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x41d0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11a74
movq %rax, %rbx
movq 0x2954e(%rip), %rsi     # 0x3afa8
leaq -0x1c8(%rbp), %rdi
callq 0x4150
leaq -0x148(%rbp), %rdi
callq 0x40a0
jmp 0x11a77
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x11a8c
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x41d0
movq %rbx, %rdi
callq 0x42f0