// File: /workspace/github_cpp_makefile_star2_O3/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
movq %r14, %rdi
movl $0x2, %edx
callq 0x9a64
movq %r14, %rdi
callq 0x5230
movl %eax, %ebp
movq %rsp, %rdi
callq 0x9ae4
movq 0x21861(%rip), %rdi     # 0x2afd0
testb %bpl, %bpl
je 0x9782
leaq 0x15b83(%rip), %rsi     # 0x1f2fe
movl $0x25, %edx
jmp 0x978e
leaq 0x15b9b(%rip), %rsi     # 0x1f324
movl $0x3a, %edx
callq 0x5310
movq 0x21836(%rip), %r14     # 0x2afd0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5280
movsbl %al, %esi
movq %r14, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51c0
leaq 0x30(%rbx), %rsi
movq %rsp, %r15
movq %r15, %rdi
movl $0x2, %edx
callq 0x9a64
movq %r15, %rdi
callq 0x5230
movl %eax, %ebp
movq %rsp, %rdi
callq 0x9ae4
movq 0x217e2(%rip), %rdi     # 0x2afd0
testb %bpl, %bpl
je 0x9801
leaq 0x15b65(%rip), %rsi     # 0x1f35f
movl $0x20, %edx
jmp 0x980d
leaq 0x15b78(%rip), %rsi     # 0x1f380
movl $0x35, %edx
callq 0x5310
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5280
movsbl %al, %esi
movq %r14, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51c0
movq (%rbx), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x13952
movq (%r14), %r12
movq 0x8(%r14), %r13
cmpq %r13, %r12
je 0x98c3
leaq 0x78(%rsp), %r14
leaq 0x48(%rsp), %r15
movq 0x21764(%rip), %rbp     # 0x2afc8
movq (%rbx), %rsi
movq (%r12), %rax
movq %rax, 0x48(%rsp)
movq 0x8(%r12), %rax
movq %rax, 0x50(%rsp)
testq %rax, %rax
je 0x988e
cmpb $0x0, (%rbp)
je 0x988a
incl 0x8(%rax)
jmp 0x988e
lock
incl 0x8(%rax)
movq %r14, %rdi
movq %r15, %rdx
callq 0x124c4
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x98ab
callq 0x9f52
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x98ba
callq 0x9f52
addq $0x10, %r12
cmpq %r13, %r12
jne 0x9864
movq %rsp, %rdi
callq 0x9bb8
movq (%rbx), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x13932
movq (%r14), %r12
movq 0x8(%r14), %r13
cmpq %r13, %r12
je 0x9952
leaq 0x68(%rsp), %r14
leaq 0x38(%rsp), %r15
movq 0x216d2(%rip), %rbp     # 0x2afc8
movq (%rbx), %rsi
movq (%r12), %rax
movq %rax, 0x38(%rsp)
movq 0x8(%r12), %rax
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x9920
cmpb $0x0, (%rbp)
je 0x991c
incl 0x8(%rax)
jmp 0x9920
lock
incl 0x8(%rax)
movq %r14, %rdi
movq %r15, %rdx
callq 0x12c86
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x993a
callq 0x9f52
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x9949
callq 0x9f52
addq $0x10, %r12
cmpq %r13, %r12
jne 0x98f6
movq %rsp, %rdi
callq 0x9b1c
movq (%rbx), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x13940
movq (%r14), %r12
movq 0x8(%r14), %r13
cmpq %r13, %r12
je 0x99e1
leaq 0x58(%rsp), %r14
leaq 0x28(%rsp), %r15
movq 0x21643(%rip), %rbp     # 0x2afc8
movq (%rbx), %rsi
movq (%r12), %rax
movq %rax, 0x28(%rsp)
movq 0x8(%r12), %rax
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x99af
cmpb $0x0, (%rbp)
je 0x99ab
incl 0x8(%rax)
jmp 0x99af
lock
incl 0x8(%rax)
movq %r14, %rdi
movq %r15, %rdx
callq 0x13444
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x99c9
callq 0x9f52
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x99d8
callq 0x9f52
addq $0x10, %r12
cmpq %r13, %r12
jne 0x9985
movq %rsp, %rdi
callq 0x9b6a
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x99fd
movq %rax, %rbx
movq %rsp, %rdi
callq 0x9ae4
jmp 0x9a5c
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x9a1c
callq 0x9f52
movq %rsp, %rdi
callq 0x9b6a
jmp 0x9a5c
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x9a38
callq 0x9f52
movq %rsp, %rdi
callq 0x9b1c
jmp 0x9a5c
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x9a54
callq 0x9f52
movq %rsp, %rdi
callq 0x9bb8
movq %rbx, %rdi
callq 0x5460