// File: /workspace/github_cpp_makefile_star2_O3/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 0x2981e(%rip), %r14     # 0x3afd0
leaq 0x1d255(%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 0x297ec(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x297d8(%rip), %r14     # 0x3afd0
leaq 0x1d238(%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 0x297a6(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x29792(%rip), %r14     # 0x3afd0
leaq 0x1d228(%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 0x29760(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x2974c(%rip), %r14     # 0x3afd0
leaq 0x1d1fc(%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 0x2971a(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x29706(%rip), %r14     # 0x3afd0
leaq 0x1d1d3(%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 0x296d4(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq 0x296d0(%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 0x119c0
cmpl $0x2, %eax
je 0x1196d
cmpl $0x3, %eax
jne 0x11a10
movq %rbx, %rdi
callq 0x10c4e
jmp 0x11a78
movq 0x2965c(%rip), %r14     # 0x3afd0
leaq 0x1d141(%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 0x2962a(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq %rbx, %rdi
callq 0x1c2e8
jmp 0x11a78
movq 0x29609(%rip), %r14     # 0x3afd0
leaq 0x1d0ee(%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 0x295d7(%rip), %rdi     # 0x3afd0
callq 0x4030
movq %rax, %rdi
callq 0x4120
movq %rbx, %rdi
callq 0x1bf56
jmp 0x11a78
movq 0x295b9(%rip), %rdi     # 0x3afd0
leaq 0x1c302(%rip), %rsi     # 0x2dd20
movl $0x7, %edx
callq 0x4210
movq 0x295a1(%rip), %rdi     # 0x3afd0
leaq 0x1d0ae(%rip), %rsi     # 0x2eae4
movl $0x24, %edx
callq 0x4210
movq 0x29589(%rip), %rdi     # 0x3afd0
leaq 0x1c300(%rip), %rsi     # 0x2dd4e
movl $0x4, %edx
callq 0x4210
movq 0x29571(%rip), %rdi     # 0x3afd0
leaq 0x1bfcb(%rip), %rsi     # 0x2da31
movl $0x1, %edx
callq 0x4210
movq %rbx, %rdi
callq 0x11784
movq 0x29529(%rip), %rsi     # 0x3afa8
leaq -0x1c8(%rbp), %rdi
callq 0x4150
leaq -0x148(%rbp), %rdi
callq 0x40a0
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x11aac
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x41d0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11ae0
movq %rax, %rbx
movq 0x294e2(%rip), %rsi     # 0x3afa8
leaq -0x1c8(%rbp), %rdi
callq 0x4150
leaq -0x148(%rbp), %rdi
callq 0x40a0
jmp 0x11ae3
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x11af8
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x41d0
movq %rbx, %rdi
callq 0x42f0