// File: /workspace/github_cpp_makefile_star2_O2/brashi[P]PetFera/src/./banco_dados.cpp
// Function: BancoDados::excluirArquivos()
void BancoDados::excluirArquivos() {
    if(fs::remove(funcArq))
        cout << "Arquivo de funcionarios foi removido." << endl;
    else
        cout << "Houve um erro ao tentar remover o arquivo de funcionarios." << endl;

    if(fs::remove(animalArq))
        cout << "Arquivo de animais foi removido." << endl;
    else
        cout << "Houve um erro ao tentar remover o arquivo de animais." << endl;

    for(auto& an : petshop->getAnimais())
        petshop->excluirAnimal(an);

    for(auto& vet : petshop->getVeterinarios())
        petshop->excluirVeterinario(vet);

    for(auto& trt : petshop->getTratadores())
        petshop->excluirTratador(trt);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rsi
movq %rsp, %r14
pushq $0x2
popq %rdx
movq %r14, %rdi
callq 0x7cce
movq %r14, %rdi
callq 0x5220
movl %eax, %ebp
movq %rsp, %rdi
callq 0x7d36
leaq 0xf879(%rip), %rax      # 0x172e2
leaq 0xf898(%rip), %rsi      # 0x17308
testb %bpl, %bpl
cmovneq %rax, %rsi
movq 0x1e54a(%rip), %rdi     # 0x25fc8
callq 0x5270
movq %rax, %rdi
callq 0x5160
leaq 0x30(%rbx), %rsi
movq %rsp, %r14
pushq $0x2
popq %rdx
movq %r14, %rdi
callq 0x7cce
movq %r14, %rdi
callq 0x5220
movl %eax, %ebp
movq %rsp, %rdi
callq 0x7d36
leaq 0xf88d(%rip), %rax      # 0x17343
leaq 0xf8a7(%rip), %rsi      # 0x17364
testb %bpl, %bpl
cmovneq %rax, %rsi
movq 0x1e4fd(%rip), %rdi     # 0x25fc8
callq 0x5270
movq %rax, %rdi
callq 0x5160
movq (%rbx), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0xe904
movq (%r14), %r15
movq 0x8(%r14), %r12
leaq 0x48(%rsp), %r13
leaq 0x78(%rsp), %rbp
cmpq %r12, %r15
je 0x7b35
movq (%rbx), %r14
movq %r13, %rdi
movq %r15, %rsi
callq 0x84e2
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0xde72
leaq 0x80(%rsp), %rdi
callq 0x8466
leaq 0x50(%rsp), %rdi
callq 0x8466
addq $0x10, %r15
jmp 0x7af7
movq %rsp, %rdi
callq 0x801e
movq (%rbx), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0xe8e4
movq (%r14), %r15
movq 0x8(%r14), %r12
leaq 0x38(%rsp), %r13
leaq 0x68(%rsp), %rbp
cmpq %r12, %r15
je 0x7b97
movq (%rbx), %r14
movq %r13, %rdi
movq %r15, %rsi
callq 0x85b8
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0xe26e
leaq 0x70(%rsp), %rdi
callq 0x8466
leaq 0x40(%rsp), %rdi
callq 0x8466
addq $0x10, %r15
jmp 0x7b5c
movq %rsp, %rdi
callq 0x7d84
movq (%rbx), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0xe8f2
movq (%r14), %r15
movq 0x8(%r14), %r12
leaq 0x28(%rsp), %r13
leaq 0x58(%rsp), %rbp
cmpq %r12, %r15
je 0x7bf9
movq (%rbx), %r14
movq %r13, %rdi
movq %r15, %rsi
callq 0x85cc
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0xe666
leaq 0x60(%rsp), %rdi
callq 0x8466
leaq 0x30(%rsp), %rdi
callq 0x8466
addq $0x10, %r15
jmp 0x7bbe
movq %rsp, %rdi
callq 0x7da6
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7c15
movq %rax, %rbx
movq %rsp, %rdi
callq 0x7d36
jmp 0x7c65
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x8466
movq %rsp, %rdi
callq 0x7da6
jmp 0x7c65
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x8466
movq %rsp, %rdi
callq 0x7d84
jmp 0x7c65
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x8466
movq %rsp, %rdi
callq 0x801e
movq %rbx, %rdi
callq 0x5430
nop