// File: /workspace/github_cpp_makefile_star2_O3/brashi[P]PetFera/src/./banco_dados.cpp
// Function: BancoDados::BancoDados(std::shared_ptr<Petshop>)
BancoDados::BancoDados(shared_ptr<Petshop> petshop):
                        petshop(petshop) {
                            diretorio = "dados/";
                            if(!fs::exists(diretorio)) {
                                cout << "Criando diretório dados/" << endl;
                                fs::create_directory(diretorio);
                            }
                            funcArq = diretorio + "funcionarios.csv";
                            animalArq = diretorio + "animais.csv";
                        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rdi, %rbx
movq (%rsi), %rax
movq %rax, (%rdi)
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rdi)
testq %rax, %rax
je 0x5af8
movq 0x254de(%rip), %rcx     # 0x2afc8
cmpb $0x0, (%rcx)
je 0x5af4
incl 0x8(%rax)
jmp 0x5af8
lock
incl 0x8(%rax)
leaq 0x10(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x20(%rbx), %rax
movq %rax, 0x20(%rsp)
movq %rax, 0x10(%rbx)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
movb %al, 0x20(%rbx)
leaq 0x30(%rbx), %rcx
movq %rcx, 0x28(%rsp)
leaq 0x40(%rbx), %rcx
movq %rcx, 0x18(%rsp)
movq %rcx, 0x30(%rbx)
movq %rax, 0x38(%rbx)
movb %al, 0x40(%rbx)
leaq 0x50(%rbx), %r12
leaq 0x60(%rbx), %rcx
movq %rcx, 0x10(%rsp)
movq %rcx, 0x50(%rbx)
movq %rax, 0x58(%rbx)
movb %al, 0x60(%rbx)
leaq 0x70(%rbx), %r14
movq %r14, %rdi
callq 0x191a8
movq %r14, 0x38(%rsp)
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1b440(%rip), %rsi     # 0x20fad
leaq 0x1b43c(%rip), %rdx     # 0x20fb0
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
callq 0x9d84
leaq 0x68(%rsp), %r14
movb $0x41, -0x8(%r14)
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x19485(%rip), %rsi     # 0x1f020
leaq 0x19481(%rip), %rdx     # 0x1f023
movq %r14, %rdi
callq 0x9d84
leaq 0x90(%rsp), %r14
movb $0x46, -0x8(%r14)
leaq 0xa0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1945a(%rip), %rsi     # 0x1f024
leaq 0x19456(%rip), %rdx     # 0x1f027
movq %r14, %rdi
callq 0x9d84
leaq 0xb8(%rsp), %r14
movb $0x4d, -0x8(%r14)
leaq 0xc8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1942f(%rip), %rsi     # 0x1f028
leaq 0x1942b(%rip), %rdx     # 0x1f02b
movq %r14, %rdi
callq 0x9d84
leaq 0xe0(%rsp), %r14
movb $0x52, -0x8(%r14)
leaq 0xf0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1b570(%rip), %rsi     # 0x21198
leaq 0x1b56a(%rip), %rdx     # 0x21199
movq %r14, %rdi
callq 0x9d84
leaq 0x108(%rsp), %r14
movb $0x45, -0x8(%r14)
leaq 0x118(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1ae4d(%rip), %rsi     # 0x20aa4
leaq 0x1ae47(%rip), %rdx     # 0x20aa5
movq %r14, %rdi
callq 0x9d84
leaq 0x130(%rsp), %r14
movb $0x44, -0x8(%r14)
leaq 0x140(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1b50d(%rip), %rsi     # 0x21193
leaq 0x1b507(%rip), %rdx     # 0x21194
movq %r14, %rdi
callq 0x9d84
leaq 0xa0(%rbx), %rbp
leaq 0x158(%rsp), %r14
movb $0x4e, -0x8(%r14)
leaq 0xd(%rsp), %rax
movq %rax, (%rsp)
leaq 0x40(%rsp), %rsi
leaq 0xf(%rsp), %r8
leaq 0xe(%rsp), %r9
movq %rbp, %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0xa058
movq $-0x118, %r14           # imm = 0xFEE8
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x5cea
movq (%r13), %rsi
incq %rsi
callq 0x52b0
addq $-0x28, %r13
addq $0x28, %r14
jne 0x5cd5
movq 0x58(%rbx), %rdx
leaq 0x19340(%rip), %rcx     # 0x1f03f
movl $0x6, %r8d
movq %r12, %rdi
xorl %esi, %esi
callq 0x53f0
leaq 0x40(%rsp), %rdi
movq %r12, %rsi
movl $0x2, %edx
callq 0x9a64
leaq 0x40(%rsp), %rdi
callq 0x5120
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x9ae4
cmpb $-0x1, %r14b
je 0x5d46
movzbl %r14b, %eax
testl %eax, %eax
jne 0x5db2
movq 0x25283(%rip), %r14     # 0x2afd0
leaq 0x192d8(%rip), %rsi     # 0x1f02c
movl $0x19, %edx
movq %r14, %rdi
callq 0x5310
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x5280
movsbl %al, %esi
movq 0x25251(%rip), %rdi     # 0x2afd0
callq 0x5030
movq %rax, %rdi
callq 0x51c0
leaq 0x40(%rsp), %rdi
movq %r12, %rsi
movl $0x2, %edx
callq 0x9a64
leaq 0x40(%rsp), %rdi
callq 0x5140
leaq 0x40(%rsp), %rdi
callq 0x9ae4
leaq 0x40(%rsp), %rdi
movq %r15, (%rdi)
movq 0x50(%rbx), %rsi
movq 0x58(%rbx), %rdx
addq %rsi, %rdx
callq 0x9fc2
leaq 0x19275(%rip), %rsi     # 0x1f046
leaq 0x40(%rsp), %rdi
callq 0x54b0
leaq 0x40(%rsp), %r14
movq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0x5330
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x5e02
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x52b0
leaq 0x40(%rsp), %rdi
movq %r15, (%rdi)
movq 0x50(%rbx), %rsi
movq 0x58(%rbx), %rdx
addq %rsi, %rdx
callq 0x9fc2
leaq 0x19236(%rip), %rsi     # 0x1f057
leaq 0x40(%rsp), %rdi
callq 0x54b0
leaq 0x40(%rsp), %rbx
movq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x5330
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x5e52
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x52b0
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5e8a
jmp 0x5ee7
jmp 0x5e6c
jmp 0x5ee7
movq %rax, %r13
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x5eea
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x52b0
jmp 0x5eea
jmp 0x5ee7
movq %rax, %r13
leaq 0x40(%rsp), %rdi
callq 0x9ae4
jmp 0x5eea
jmp 0x5ee7
movq %rax, %r13
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
callq 0x54e0
jmp 0x5ef2
jmp 0x5eb7
jmp 0x5eb7
jmp 0x5eb7
jmp 0x5eb7
jmp 0x5eb7
movq %rax, %r13
movq -0x28(%r14), %rdi
leaq -0x18(%r14), %rax
cmpq %rdi, %rax
je 0x5ed2
movq (%rax), %rsi
incq %rsi
callq 0x52b0
addq $-0x28, %r14
cmpq %rbp, %r14
jne 0x5eba
jmp 0x5ef2
movq %rax, %r13
jmp 0x5ef2
movq %rax, %r13
jmp 0x5efc
movq %rax, %r13
movq %rbp, %rdi
callq 0x9e1a
movq 0x38(%rsp), %rdi
callq 0x9eb8
movq (%r12), %rdi
cmpq 0x10(%rsp), %rdi
je 0x5f17
movq 0x10(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x52b0
movq 0x28(%rsp), %rax
movq (%rax), %rdi
cmpq 0x18(%rsp), %rdi
je 0x5f36
movq 0x18(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x52b0
movq 0x30(%rsp), %rax
movq (%rax), %rdi
cmpq 0x20(%rsp), %rdi
je 0x5f55
movq 0x20(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x52b0
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x5f63
callq 0x9f52
movq %r13, %rdi
callq 0x5460
nop