// File: 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
movq %rsp, %rbp
subq $0x290, %rsp            # imm = 0x290
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x200(%rbp)
movq %rdi, %rax
movq %rax, -0x220(%rbp)
callq 0xac80
movq -0x200(%rbp), %rdi
addq $0x10, %rdi
movq %rdi, -0x218(%rbp)
callq 0x6480
movq -0x200(%rbp), %rdi
addq $0x30, %rdi
movq %rdi, -0x210(%rbp)
callq 0x6480
movq -0x200(%rbp), %rdi
addq $0x50, %rdi
movq %rdi, -0x208(%rbp)
callq 0x6480
movq -0x200(%rbp), %rdi
addq $0x70, %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x2c8d0
jmp 0x6efb
movq -0x220(%rbp), %rax
addq $0xa0, %rax
movq %rax, -0x228(%rbp)
leaq -0x148(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movb $0x41, -0x151(%rbp)
leaq 0x3b24b(%rip), %rsi     # 0x42176
leaq -0x151(%rbp), %rdx
callq 0xacb0
jmp 0x6f39
leaq -0x120(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movb $0x46, -0x152(%rbp)
leaq 0x39143(%rip), %rsi     # 0x40098
leaq -0x152(%rbp), %rdx
callq 0xacb0
jmp 0x6f63
leaq -0xf8(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movb $0x4d, -0x153(%rbp)
leaq 0x3911d(%rip), %rsi     # 0x4009c
leaq -0x153(%rbp), %rdx
callq 0xacb0
jmp 0x6f8d
leaq -0xd0(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movb $0x52, -0x154(%rbp)
leaq 0x390f7(%rip), %rsi     # 0x400a0
leaq -0x154(%rbp), %rdx
callq 0xacb0
jmp 0x6fb7
leaq -0xa8(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movb $0x45, -0x155(%rbp)
leaq 0x3b6f0(%rip), %rsi     # 0x426c3
leaq -0x155(%rbp), %rdx
callq 0xad30
jmp 0x6fe1
leaq -0x80(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movb $0x44, -0x156(%rbp)
leaq 0x3ac2d(%rip), %rsi     # 0x41c27
leaq -0x156(%rbp), %rdx
callq 0xad30
jmp 0x7008
leaq -0x58(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movb $0x4e, -0x157(%rbp)
leaq 0x3b69d(%rip), %rsi     # 0x426be
leaq -0x157(%rbp), %rdx
callq 0xad30
jmp 0x702f
leaq -0x148(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x7, -0x28(%rbp)
leaq -0x15a(%rbp), %rdi
movq %rdi, -0x230(%rbp)
callq 0xadd0
movq -0x230(%rbp), %rcx
movq -0x228(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq %rsp, %rax
movq %rcx, (%rax)
xorl %eax, %eax
movl %eax, %ecx
leaq -0x158(%rbp), %r8
leaq -0x159(%rbp), %r9
callq 0xadf0
jmp 0x708a
leaq -0x15a(%rbp), %rdi
callq 0xae50
leaq -0x148(%rbp), %rax
movq %rax, -0x240(%rbp)
addq $0x118, %rax            # imm = 0x118
movq %rax, -0x238(%rbp)
movq -0x238(%rbp), %rdi
addq $-0x28, %rdi
movq %rdi, -0x248(%rbp)
callq 0xadb0
movq -0x240(%rbp), %rcx
movq -0x248(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x238(%rbp)
jne 0x70b1
movq -0x220(%rbp), %rdi
addq $0x50, %rdi
leaq 0x38fc3(%rip), %rsi     # 0x400b7
callq 0x6470
jmp 0x70fb
movq -0x220(%rbp), %rsi
addq $0x50, %rsi
leaq -0x188(%rbp), %rdi
movl $0x2, %edx
callq 0xaea0
jmp 0x7119
leaq -0x188(%rbp), %rdi
callq 0xae70
movb %al, -0x249(%rbp)
jmp 0x712d
movb -0x249(%rbp), %al
xorb $-0x1, %al
movb %al, -0x24a(%rbp)
leaq -0x188(%rbp), %rdi
callq 0xaf80
movb -0x24a(%rbp), %al
testb $0x1, %al
jne 0x7156
jmp 0x72e5
movq 0x5be6b(%rip), %rdi     # 0x62fc8
leaq 0x38f40(%rip), %rsi     # 0x400a4
callq 0x6310
movq %rax, -0x258(%rbp)
jmp 0x7172
movq -0x258(%rbp), %rdi
movq 0x5be20(%rip), %rsi     # 0x62fa0
callq 0x6360
jmp 0x7187
movq -0x220(%rbp), %rsi
addq $0x50, %rsi
leaq -0x1b0(%rbp), %rdi
movl $0x2, %edx
callq 0xaea0
jmp 0x71a5
leaq -0x1b0(%rbp), %rdi
callq 0x6190
jmp 0x71b3
leaq -0x1b0(%rbp), %rdi
callq 0xaf80
jmp 0x72e5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x7393
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
movq -0x150(%rbp), %rax
leaq -0x148(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x260(%rbp)
je 0x722c
movq -0x260(%rbp), %rdi
addq $-0x28, %rdi
movq %rdi, -0x268(%rbp)
callq 0xadb0
movq -0x268(%rbp), %rax
leaq -0x148(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x260(%rbp)
jne 0x71fb
jmp 0x7387
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x15a(%rbp), %rdi
callq 0xae50
leaq -0x148(%rbp), %rax
movq %rax, -0x278(%rbp)
addq $0x118, %rax            # imm = 0x118
movq %rax, -0x270(%rbp)
movq -0x270(%rbp), %rdi
addq $-0x28, %rdi
movq %rdi, -0x280(%rbp)
callq 0xadb0
movq -0x278(%rbp), %rcx
movq -0x280(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x270(%rbp)
jne 0x7264
jmp 0x7387
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x737b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x188(%rbp), %rdi
callq 0xaf80
jmp 0x737b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x1b0(%rbp), %rdi
callq 0xaf80
jmp 0x737b
movq -0x220(%rbp), %rsi
addq $0x50, %rsi
leaq 0x38dc7(%rip), %rdx     # 0x400be
leaq -0x1d0(%rbp), %rdi
callq 0xafb0
jmp 0x7305
movq -0x220(%rbp), %rdi
addq $0x10, %rdi
leaq -0x1d0(%rbp), %rsi
movq %rsi, -0x288(%rbp)
callq 0x6400
movq -0x288(%rbp), %rdi
callq 0x6678
movq -0x220(%rbp), %rsi
addq $0x50, %rsi
leaq 0x38d8e(%rip), %rdx     # 0x400cf
leaq -0x1f0(%rbp), %rdi
callq 0xafb0
jmp 0x734f
movq -0x220(%rbp), %rdi
addq $0x30, %rdi
leaq -0x1f0(%rbp), %rsi
callq 0x6400
leaq -0x1f0(%rbp), %rdi
callq 0x6678
addq $0x290, %rsp            # imm = 0x290
popq %rbp
retq
movq -0x228(%rbp), %rdi
callq 0xb030
movq -0x1f8(%rbp), %rdi
callq 0xb050
movq -0x208(%rbp), %rdi
callq 0x6678
movq -0x210(%rbp), %rdi
callq 0x6678
movq -0x218(%rbp), %rdi
callq 0x6678
movq -0x200(%rbp), %rdi
callq 0xb070
movq -0x18(%rbp), %rdi
callq 0x6590
nopl (%rax)