// File: /workspace/github_cpp_makefile_star2_O1/Kyle-Alvares[P]SQA1/session.cpp
// Function: Session::disableAccount()
void Session::disableAccount() {
    cout << endl << "========DISABLE ACCOUNT=======" << endl;
    if(!user.isAdmin()) { 
        cerr << "Error: privileged transaction!" << endl; 
    } else {
        string accountName = askAccountName(user, -1);
        user.disableAccount(accountName);
        transactions.push_back("07" + username + "00000000");
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, %rbx
movq 0x644a(%rip), %r14      # 0xdfc8
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2180
movq %rax, %r14
leaq 0x2a0a(%rip), %rsi      # 0xa5b9
movl $0x1e, %edx
movq %rax, %rdi
callq 0x2270
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2180
movq %rbx, %rdi
callq 0x3e2c
testb %al, %al
je 0x7d43
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2ff6
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x8fe3
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7c39
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7c5a
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7c7b
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7c9c
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x80(%rsp), %rdi
callq 0x32e6
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x3450
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x4a1c
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x7ced
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0xa8(%rbx), %rdx
leaq 0x28dd(%rip), %rsi      # 0xa5d8
leaq 0x60(%rsp), %rdi
callq 0x85a5
leaq 0x2882(%rip), %rsi      # 0xa58e
leaq 0x60(%rsp), %rdi
callq 0x23d0
addq $0xc8, %rbx
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7d8f
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x7d96
movq 0x62a6(%rip), %rbx      # 0xdff0
leaq 0x27fe(%rip), %rsi      # 0xa54f
movl $0x1e, %edx
movq %rbx, %rdi
callq 0x2270
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r14
jmp 0x2180
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rsp, %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
callq 0x89f8
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x7dce
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7de9
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7e04
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2230
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x7e2d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x7e2d
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7e63
movq 0x70(%rsp), %rsi
jmp 0x7e56
jmp 0x7e60
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x7e63
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x7e63
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7e90
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x7e90
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x3138
movq %rbx, %rdi
callq 0x23b0