// File: brashi[P]PetFera/src/./petshop.cpp
// Function: Petshop::listarVeterinarios()
void Petshop::listarVeterinarios() {
    if(this->veterinarios.size() == 0) {
        cout << "Não há veterinários registrados" << endl;
    } else {
        int index = 0;
        cout << endl << "-=-=-=-=-=-=- Veterinários -=-=-=-=-=-=" << endl;
        cout << right << setfill(' ') << setw(6) << "ID"
        << setfill(' ') << setw(23) << "Nome"
        << setfill(' ') << setw(23) << "E-mail"
        << setfill(' ') << setw(23) << "Telefone"
        << setfill(' ') << setw(23) << "CRMV"
        << endl;
        for(auto& vet : this->veterinarios) {
            cout << setfill(' ') << setw(6) << index << *vet;
            index++;
        }
        cout << endl << "-=-=-=-=-=-=-=-=- Fim -=-=-=-=-=-=-=-=-" << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x21b40
cmpq $0x0, %rax
jne 0x1c869
movq 0x4677f(%rip), %rdi     # 0x62fc8
leaq 0x25424(%rip), %rsi     # 0x41c74
callq 0x6310
movq %rax, %rdi
movq 0x46741(%rip), %rsi     # 0x62fa0
callq 0x6360
jmp 0x1cb56
movl $0x0, -0xc(%rbp)
movq 0x46751(%rip), %rdi     # 0x62fc8
movq 0x46722(%rip), %rsi     # 0x62fa0
callq 0x6360
movq %rax, %rdi
leaq 0x2540a(%rip), %rsi     # 0x41c97
callq 0x6310
movq %rax, %rdi
movq 0x46704(%rip), %rsi     # 0x62fa0
callq 0x6360
movq 0x46720(%rip), %rdi     # 0x62fc8
leaq 0x5b41(%rip), %rsi      # 0x223f0
callq 0x6120
movq %rax, -0xb8(%rbp)
movl $0x20, %edi
callq 0x22420
movq -0xb8(%rbp), %rdi
movb %al, -0xd(%rbp)
movzbl -0xd(%rbp), %esi
callq 0x6520
movq %rax, -0xb0(%rbp)
movl $0x6, %edi
callq 0x22440
movq -0xb0(%rbp), %rdi
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %esi
callq 0x63d0
movq %rax, %rdi
leaq 0x25321(%rip), %rsi     # 0x41c26
callq 0x6310
movq %rax, -0xa8(%rbp)
movl $0x20, %edi
callq 0x22420
movq -0xa8(%rbp), %rdi
movb %al, -0x15(%rbp)
movzbl -0x15(%rbp), %esi
callq 0x6520
movq %rax, -0xa0(%rbp)
movl $0x17, %edi
callq 0x22440
movq -0xa0(%rbp), %rdi
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %esi
callq 0x63d0
movq %rax, %rdi
leaq 0x252ce(%rip), %rsi     # 0x41c29
callq 0x6310
movq %rax, -0x98(%rbp)
movl $0x20, %edi
callq 0x22420
movq -0x98(%rbp), %rdi
movb %al, -0x1d(%rbp)
movzbl -0x1d(%rbp), %esi
callq 0x6520
movq %rax, -0x90(%rbp)
movl $0x17, %edi
callq 0x22440
movq -0x90(%rbp), %rdi
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %esi
callq 0x63d0
movq %rax, %rdi
leaq 0x2527d(%rip), %rsi     # 0x41c2e
callq 0x6310
movq %rax, -0x88(%rbp)
movl $0x20, %edi
callq 0x22420
movq -0x88(%rbp), %rdi
movb %al, -0x25(%rbp)
movzbl -0x25(%rbp), %esi
callq 0x6520
movq %rax, -0x80(%rbp)
movl $0x17, %edi
callq 0x22440
movq -0x80(%rbp), %rdi
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %esi
callq 0x63d0
movq %rax, %rdi
leaq 0x25234(%rip), %rsi     # 0x41c35
callq 0x6310
movq %rax, -0x78(%rbp)
movl $0x20, %edi
callq 0x22420
movq -0x78(%rbp), %rdi
movb %al, -0x2d(%rbp)
movzbl -0x2d(%rbp), %esi
callq 0x6520
movq %rax, -0x70(%rbp)
movl $0x17, %edi
callq 0x22440
movq -0x70(%rbp), %rdi
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %esi
callq 0x63d0
movq %rax, %rdi
leaq 0x24686(%rip), %rsi     # 0x410d1
callq 0x6310
movq %rax, %rdi
movq 0x46546(%rip), %rsi     # 0x62fa0
callq 0x6360
movq -0x68(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0xb0b0
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rdi
callq 0xb0e0
movq %rax, -0x50(%rbp)
leaq -0x48(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xb110
testb $0x1, %al
jne 0x1ca97
jmp 0x1cb25
leaq -0x48(%rbp), %rdi
callq 0xb150
movq %rax, -0x58(%rbp)
movl $0x20, %edi
callq 0x22420
movb %al, -0x59(%rbp)
movq 0x46510(%rip), %rdi     # 0x62fc8
movzbl -0x59(%rbp), %esi
callq 0x6520
movq %rax, -0xc8(%rbp)
movl $0x6, %edi
callq 0x22440
movq -0xc8(%rbp), %rdi
movl %eax, -0x60(%rbp)
movl -0x60(%rbp), %esi
callq 0x63d0
movq %rax, %rdi
movl -0xc(%rbp), %esi
callq 0x6580
movq %rax, -0xc0(%rbp)
movq -0x58(%rbp), %rdi
callq 0x22460
movq -0xc0(%rbp), %rdi
movq %rax, %rsi
callq 0x27e80
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
leaq -0x48(%rbp), %rdi
callq 0xb190
jmp 0x1ca81
movq 0x4649c(%rip), %rdi     # 0x62fc8
movq 0x4646d(%rip), %rsi     # 0x62fa0
callq 0x6360
movq %rax, %rdi
leaq 0x2510a(%rip), %rsi     # 0x41c4c
callq 0x6310
movq %rax, %rdi
movq 0x4644f(%rip), %rsi     # 0x62fa0
callq 0x6360
addq $0xd0, %rsp
popq %rbp
retq
nop