// File: /workspace/github_cpp_makefile_star2_O3/estwings57[P]CasHMC/sources/CommandQueue.cpp
// Function: CasHMC::CommandQueue::PrintState()
void CommandQueue::PrintState()
{
	for(int b=0; b<NUM_BANKS; b++) {
		if(ACCESSQUE(b).size()>0) {
			classID.str( string() );	classID.clear();
			classID << b;
			STATEN(ALI(17)<<(header + (QUE_PER_BANK ? ("-"+classID.str()+")") : (")"))));
			if(atomicLock[b]) {
				STATEN(" QueL");
			}
			else {
				STATEN(" Que ");
			}
			for(int i=0; i<MAX_CMD_QUE; i++) {
				if(i>0 && i%8==0) {
					STATEN(endl<<"                      ");
				}
				if(i < ACCESSQUE(b).size()) {
					STATEN(*ACCESSQUE(b)[i]);
				}
				else if(i == MAX_CMD_QUE-1) {
					STATEN("[ - ]");
				}
				else {
					STATEN("[ - ]...");
					break;
				}
			}
			STATEN(endl);
		}
		if(!QUE_PER_BANK)	break;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
leaq 0x24b1c(%rip), %rax     # 0x3b580
cmpl $0x0, (%rax)
jle 0x16efe
movq %rdi, %rbx
leaq 0x40(%rdi), %rax
movq %rax, 0x80(%rsp)
leaq 0x20(%rsp), %r14
leaq 0x58(%rdi), %rax
movq %rax, 0x50(%rsp)
leaq 0x50(%rdi), %rax
movq %rax, 0x78(%rsp)
leaq 0x24af6(%rip), %rax     # 0x3b590
movb (%rax), %al
xorl %r12d, %r12d
leaq 0x249e4(%rip), %r15     # 0x3b48a
movq 0x24523(%rip), %rbp     # 0x3afd0
leaq 0x24a14(%rip), %r13     # 0x3b4c8
movq 0x238(%rbx), %rcx
testb $0x1, %al
movl $0x0, %eax
cmovneq %r12, %rax
leaq (%rax,%rax,2), %rax
movq 0x8(%rcx,%rax,8), %rdx
cmpq (%rcx,%rax,8), %rdx
je 0x16edb
movq %r14, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x4400
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x16b12
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x80(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
xorl %esi, %esi
callq 0x44e0
movq 0x78(%rsp), %rdi
movl %r12d, %esi
callq 0x4500
cmpb $0x1, (%r15)
jne 0x16d76
movq (%rbp), %rax
movq -0x18(%rax), %rcx
movq $0x11, 0x10(%rbp,%rcx)
movq -0x18(%rax), %rax
leaq (%rax,%rbp), %r14
cmpb $0x0, 0xe1(%rbp,%rax)
jne 0x16b7a
movq %r14, %rdi
movl $0x20, %esi
callq 0x42d0
movb $0x1, 0xe1(%r14)
movb $0x20, 0xe0(%r14)
leaq 0x24a07(%rip), %rax     # 0x3b590
movb (%rax), %al
movb %al, 0xf(%rsp)
cmpb $0x1, %al
jne 0x16be9
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq 0x50(%rsp), %rsi
callq 0x4450
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x19ddb(%rip), %rcx     # 0x30997
callq 0x4320
leaq 0x68(%rsp), %rsi
movq %rsi, 0x58(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16c10
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x16c16
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x30(%rsp), %r14
movq %r14, %rdi
leaq 0x1c8df(%rip), %rsi     # 0x334e1
leaq 0x1c8d9(%rip), %rdx     # 0x334e2
callq 0x17994
jmp 0x16c8a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x30(%rsp), %r14
movq 0x8(%rax), %rdx
movq %rdx, 0x60(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x58(%rsp), %rdi
leaq 0x1c8a2(%rip), %rsi     # 0x334e1
callq 0x4580
leaq 0x40(%rsp), %rsi
movq %rsi, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16c6c
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x16c72
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rbx), %rcx
movq 0x28(%rbx), %r8
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x20(%rsp), %rsi
movq %rsi, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16cc6
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x16ccc
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x4340
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x16d12
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x16d2e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4300
cmpb $0x0, 0xf(%rsp)
leaq 0x68(%rsp), %rax
je 0x16d76
movq 0x58(%rsp), %rdi
cmpq %rax, %rdi
je 0x16d51
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x16d76
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4300
cmpb $0x1, (%r15)
jne 0x16db0
movq 0x1e0(%rbx), %rax
movl %r12d, %ecx
shrl $0x6, %ecx
movq (%rax,%rcx,8), %rax
btq %r12, %rax
leaq 0x1ad33(%rip), %rsi     # 0x31acb
leaq 0x1ad32(%rip), %rax     # 0x31ad1
cmovaeq %rax, %rsi
movl $0x5, %edx
movq %rbp, %rdi
callq 0x4340
cmpl $0x0, (%r13)
jle 0x16ea8
xorl %r14d, %r14d
testq %r14, %r14
sete %al
testb $0x7, %r14b
setne %cl
orb %al, %cl
jne 0x16e11
cmpb $0x1, (%r15)
jne 0x16e11
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x42d0
movsbl %al, %esi
movq %rbp, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41f0
movl $0x16, %edx
movq %rax, %rdi
leaq 0x1accb(%rip), %rsi     # 0x31ad7
callq 0x4340
movq 0x238(%rbx), %rcx
leaq 0x24771(%rip), %rax     # 0x3b590
cmpb $0x0, (%rax)
movl $0x0, %eax
cmovneq %r12, %rax
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r14, %rcx
jbe 0x16e58
cmpb $0x1, (%r15)
jne 0x16e7e
movq (%rax,%r14,8), %rsi
movq %rbp, %rdi
callq 0x1c32a
jmp 0x16e7e
movl (%r13), %ecx
decl %ecx
movb (%r15), %al
cmpq %rcx, %r14
jne 0x16e90
testb %al, %al
je 0x16e7e
movl $0x5, %edx
movq %rbp, %rdi
leaq 0x1ac75(%rip), %rsi     # 0x31aee
callq 0x4340
incq %r14
movslq (%r13), %rax
cmpq %rax, %r14
jl 0x16dbe
jmp 0x16ea8
testb %al, %al
je 0x16ea8
movl $0x8, %edx
movq %rbp, %rdi
leaq 0x1ac51(%rip), %rsi     # 0x31af4
callq 0x4340
cmpb $0x1, (%r15)
leaq 0x20(%rsp), %r14
jne 0x16edb
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x42d0
movsbl %al, %esi
movq %rbp, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41f0
leaq 0x246ae(%rip), %rax     # 0x3b590
movb (%rax), %al
testb %al, %al
je 0x16efe
incq %r12
leaq 0x2468e(%rip), %rcx     # 0x3b580
movslq (%rcx), %rcx
cmpq %rcx, %r12
jl 0x16ab4
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x16f69
movq %rax, %rbx
jmp 0x16f85
movq %rax, %rbx
jmp 0x16fbe
movq %rax, %rbx
jmp 0x16f46
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x16f46
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x16f62
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4300
cmpb $0x0, 0xf(%rsp)
je 0x16fbe
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x16f85
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x16fbe
movq 0x98(%rsp), %rsi
jmp 0x16fb6
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x16fbe
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x4540