// File: /workspace/github_cpp_makefile_star2_O1/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 0x25198(%rip), %rax     # 0x3c580
cmpl $0x0, (%rax)
jle 0x178a0
movq %rdi, %rbx
leaq 0x40(%rdi), %rax
movq %rax, 0x80(%rsp)
leaq 0x20(%rsp), %r14
leaq 0x58(%rdi), %rax
movq %rax, 0x70(%rsp)
leaq 0x50(%rdi), %rax
movq %rax, 0x78(%rsp)
xorl %r12d, %r12d
leaq 0x25069(%rip), %r15     # 0x3c48a
movq 0x24ba8(%rip), %rbp     # 0x3bfd0
leaq 0x25099(%rip), %r13     # 0x3c4c8
leaq 0x2515a(%rip), %rax     # 0x3c590
cmpb $0x0, (%rax)
movq 0x238(%rbx), %rax
movl $0x0, %ecx
cmovneq %r12, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x8(%rax,%rcx,8), %rdx
cmpq (%rax,%rcx,8), %rdx
je 0x1787e
movq %r14, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
movq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x4400
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x17495
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 0x17700
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 0x17504
movq %r14, %rdi
movl $0x20, %esi
callq 0x42d0
movb %al, 0xe0(%r14)
movb $0x1, 0xe1(%r14)
movb $0x20, 0xe0(%r14)
leaq 0x2507d(%rip), %rax     # 0x3c590
movb (%rax), %al
movl %eax, 0xc(%rsp)
cmpb $0x1, %al
jne 0x17573
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq 0x70(%rsp), %rsi
callq 0x4450
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x1a3f1(%rip), %rcx     # 0x31937
callq 0x4320
leaq 0x60(%rsp), %rsi
movq %rsi, 0x50(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1759a
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x175a0
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x30(%rsp), %r14
movq %r14, %rdi
leaq 0x1ced5(%rip), %rsi     # 0x34461
leaq 0x1cecf(%rip), %rdx     # 0x34462
callq 0x18176
jmp 0x17614
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x30(%rsp), %r14
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x50(%rsp), %rdi
leaq 0x1ce98(%rip), %rsi     # 0x34461
callq 0x4580
leaq 0x40(%rsp), %rsi
movq %rsi, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x175f6
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x175fc
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 0x17650
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x17656
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 0x1769c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x176b8
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4300
cmpb $0x0, 0xc(%rsp)
leaq 0x60(%rsp), %rax
je 0x17700
movq 0x50(%rsp), %rdi
cmpq %rax, %rdi
je 0x176db
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x17700
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4300
cmpb $0x1, (%r15)
jne 0x1773b
movq 0x1e0(%rbx), %rax
movq %r12, %rcx
shrq $0x6, %rcx
movq (%rax,%rcx,8), %rax
btq %r12, %rax
leaq 0x1b338(%rip), %rsi     # 0x32a5b
leaq 0x1b337(%rip), %rax     # 0x32a61
cmovaeq %rax, %rsi
movl $0x5, %edx
movq %rbp, %rdi
callq 0x4340
cmpl $0x0, (%r13)
jle 0x1784b
xorl %r14d, %r14d
testq %r14, %r14
sete %al
testb $0x7, %r14b
setne %cl
orb %al, %cl
jne 0x1779c
cmpb $0x1, (%r15)
jne 0x1779c
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 0x1b2d0(%rip), %rsi     # 0x32a67
callq 0x4340
leaq 0x24ded(%rip), %rax     # 0x3c590
movb (%rax), %al
movq 0x238(%rbx), %rcx
testb %al, %al
movl $0x0, %edx
cmovneq %r12, %rdx
leaq (%rdx,%rdx,2), %rdx
movq 0x8(%rcx,%rdx,8), %rsi
subq (%rcx,%rdx,8), %rsi
sarq $0x3, %rsi
cmpq %r14, %rsi
jbe 0x177fb
cmpb $0x1, (%r15)
jne 0x17821
testb %al, %al
movl $0x0, %eax
cmovneq %r12, %rax
movq 0x238(%rbx), %rcx
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rax
movq (%rax,%r14,8), %rsi
movq %rbp, %rdi
callq 0x1caba
jmp 0x17821
movl (%r13), %ecx
decl %ecx
movb (%r15), %al
cmpq %rcx, %r14
jne 0x17833
testb %al, %al
je 0x17821
movl $0x5, %edx
movq %rbp, %rdi
leaq 0x1b262(%rip), %rsi     # 0x32a7e
callq 0x4340
incq %r14
movslq (%r13), %rax
cmpq %rax, %r14
jl 0x17749
jmp 0x1784b
testb %al, %al
je 0x1784b
movl $0x8, %edx
movq %rbp, %rdi
leaq 0x1b23e(%rip), %rsi     # 0x32a84
callq 0x4340
cmpb $0x1, (%r15)
leaq 0x20(%rsp), %r14
jne 0x1787e
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 0x24d0b(%rip), %rax     # 0x3c590
cmpb $0x0, (%rax)
je 0x178a0
incq %r12
leaq 0x24cec(%rip), %rax     # 0x3c580
movslq (%rax), %rax
cmpq %rax, %r12
jl 0x1742f
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movb $0x1, %al
movl %eax, 0xc(%rsp)
jmp 0x17915
movq %rax, %rbx
movb $0x1, %al
movl %eax, 0xc(%rsp)
jmp 0x17938
movq %rax, %rbx
movl $0x0, 0xc(%rsp)
jmp 0x17915
movq %rax, %rbx
jmp 0x178f9
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x178f9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x17915
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4300
cmpb $0x0, 0xc(%rsp)
je 0x17938
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x17938
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x4300
cmpb $0x0, 0xc(%rsp)
je 0x1796d
leaq 0x88(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x4608
jmp 0x1796d
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x1796d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x4540
nop