// File: /workspace/github_cpp_makefile_star2_O2/s0sasaki[P]ExecutableBlockchain/vm.cpp
// Function: VM::displayState() const
void VM::displayState() const {
    std::cout << std::endl;
    std::cout << "ib="   << std::setw(4) << std::right << ib      << ", " ;
    std::cout << "ip="   << std::setw(4) << std::right << ip      << ", " ;
    std::cout << "rsp="  << std::setw(4) << std::right << rsp     << ", " ;
    std::cout << "psp="  << std::setw(4) << std::right << psp     << ", " ;
    std::cout << "fnum=" << std::setw(4) << std::right << mem[ip] << ", " ;
    displayOp(mem[ip]);
    for(int32_t i = 0; i <= psp; i++) {
        std::cout << data_stack[i] << " ";
    }
    std::cout << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x4948(%rip), %r14      # 0x9fd0
movq %r14, %rdi
callq 0x20e0
leaq 0xd2f(%rip), %rsi       # 0x63c6
movq %r14, %rdi
callq 0x21e0
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
pushq $0x4
popq %r13
movq %r13, 0x10(%rax,%rdx)
movq -0x18(%rcx), %rcx
movl $0xffffff4f, %r12d      # imm = 0xFFFFFF4F
movl 0x18(%rax,%rcx), %edx
andl %r12d, %edx
movl $0x80, %esi
orl %esi, %edx
movl %edx, 0x18(%rax,%rcx)
movl (%rbx), %esi
movq %rax, %rdi
callq 0x22a0
leaq 0xcee(%rip), %r15       # 0x63ca
movq %rax, %rdi
movq %r15, %rsi
callq 0x21e0
leaq 0xcdf(%rip), %rsi       # 0x63cd
movq %r14, %rdi
callq 0x21e0
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movq %r13, 0x10(%rax,%rdx)
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl %r12d, %edx
movl $0x80, %esi
orl %esi, %edx
movl %edx, 0x18(%rax,%rcx)
movl 0x4(%rbx), %esi
movq %rax, %rdi
callq 0x22a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x21e0
leaq 0xc9c(%rip), %rsi       # 0x63d1
movq %r14, %rdi
callq 0x21e0
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movq %r13, 0x10(%rax,%rdx)
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl %r12d, %edx
movl $0x80, %esi
orl %esi, %edx
movl %edx, 0x18(%rax,%rcx)
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x22a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x21e0
leaq 0xc5a(%rip), %rsi       # 0x63d6
movq %r14, %rdi
callq 0x21e0
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movq %r13, 0x10(%rax,%rdx)
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl %r12d, %edx
movl $0x80, %esi
orl %esi, %edx
movl $0x80, %r13d
movl %edx, 0x18(%rax,%rcx)
movl 0xc(%rbx), %esi
movq %rax, %rdi
callq 0x22a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x21e0
leaq 0xc12(%rip), %rsi       # 0x63db
movq %r14, %rdi
callq 0x21e0
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
pushq $0x4
popq %rsi
movq %rsi, 0x10(%rax,%rdx)
movq -0x18(%rcx), %rcx
andl 0x18(%rax,%rcx), %r12d
orl %r13d, %r12d
movl %r12d, 0x18(%rax,%rcx)
movslq 0x4(%rbx), %rcx
movl 0x1020(%rbx,%rcx,4), %esi
movq %rax, %rdi
callq 0x22a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x21e0
movslq 0x4(%rbx), %rax
leaq (%rbx,%rax,4), %rsi
addq $0x1020, %rsi           # imm = 0x1020
callq 0x5638
xorl %r12d, %r12d
leaq 0xaec(%rip), %r15       # 0x6319
movslq 0xc(%rbx), %rax
cmpq %rax, %r12
jg 0x5856
movl 0x4020(%rbx,%r12,4), %esi
movq %r14, %rdi
callq 0x22a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x21e0
incq %r12
jmp 0x582d
movq 0x4773(%rip), %rdi      # 0x9fd0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20e0