// File: /workspace/github_cpp_makefile_star2_O1/estwings57[P]CasHMC/sources/DRAMCommand.cpp
// Function: CasHMC::operator<<(std::ostream&, CasHMC::DRAMCommand const&)
ostream& operator<<(ostream &out, const DRAMCommand &dc)
{
	string header;
	stringstream id;
	id << dc.packetTAG;
	
	switch(dc.commandType) {
		case ACTIVATE:
			header = "[C" + id.str() + "-ACT]";
			break;
		case READ:
			header = "[C" + id.str() + "-READ]";
			break;
		case READ_P:
			header = "[C" + id.str() + "-READ_P]";
			break;
		case WRITE:
			header = "[C" + id.str() + "-WRITE]";
			break;
		case WRITE_P:
			header = "[C" + id.str() + "-WRITE_P]";
			break;
		case PRECHARGE:
			header = "[C" + id.str() + "-PRE]";
			break;
		case REFRESH:
			header = "[C" + id.str() + "-REF]";
			break;
		case READ_DATA:
			header = "[C" + id.str() + "-R_DATA]";
			break;
		case WRITE_DATA:
			header = "[C" + id.str() + "-W_DATA]";
			break;
		case POWERDOWN_ENTRY:
			header = "[C" + id.str() + "-PD_ENT]";
			break;
		case POWERDOWN_EXIT:
			header = "[C" + id.str() + "-PD_EXT]";
			break;
		default:
			ERROR(" (DC) == Error - Trying to print unknown kind of bus packet");
			ERROR("         Type : "<<dc.commandType);
		//	exit(0);
	}
	out<<header;
	return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x88(%rsp), %rdi
callq 0x4200
leaq 0x98(%rsp), %rdi
movl 0x14(%r14), %esi
callq 0x41e0
movl 0x10(%r14), %eax
cmpq $0xa, %rax
ja 0x1cf0d
leaq 0x165bd(%rip), %rcx     # 0x330d8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x165de(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d17b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d182
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x16583(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d077
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d07e
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x16528(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d0ab
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d0b2
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x164cd(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d0df
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d0e6
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x16472(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d113
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d11a
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x16417(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d147
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d14e
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x163bc(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d1af
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d1b6
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x16361(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d1e3
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d1ea
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x16306(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d217
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d21e
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x162ab(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d248
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d24f
leaq 0xa0(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0x16250(%rip), %rcx     # 0x3311b
leaq 0x28(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d279
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1d280
movq 0x1f0dc(%rip), %rdi     # 0x3bff0
leaq 0x14107(%rip), %rsi     # 0x31022
movl $0x8, %edx
callq 0x4340
movq 0x1f0c4(%rip), %rdi     # 0x3bff0
leaq 0x16243(%rip), %rsi     # 0x33176
movl $0x17, %edx
callq 0x4340
movq 0x1f0ac(%rip), %rdi     # 0x3bff0
leaq 0x148ec(%rip), %rsi     # 0x31837
movl $0x1, %edx
callq 0x4340
movq 0x1f094(%rip), %rdi     # 0x3bff0
movl $0x62, %esi
callq 0x4500
movq %rax, %r15
leaq 0x140d1(%rip), %rsi     # 0x31041
movl $0x4, %edx
movq %rax, %rdi
callq 0x4340
leaq 0x1620a(%rip), %rsi     # 0x3318e
movl $0x3b, %edx
movq %r15, %rdi
callq 0x4340
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x42d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41f0
movq 0x1f031(%rip), %rdi     # 0x3bff0
leaq 0x1405c(%rip), %rsi     # 0x31022
movl $0x8, %edx
callq 0x4340
movq 0x1f019(%rip), %rdi     # 0x3bff0
leaq 0x16198(%rip), %rsi     # 0x33176
movl $0x17, %edx
callq 0x4340
movq 0x1f001(%rip), %rdi     # 0x3bff0
leaq 0x14841(%rip), %rsi     # 0x31837
movl $0x1, %edx
callq 0x4340
movq 0x1efe9(%rip), %rdi     # 0x3bff0
movl $0x63, %esi
callq 0x4500
movq %rax, %r15
leaq 0x14026(%rip), %rsi     # 0x31041
movl $0x4, %edx
movq %rax, %rdi
callq 0x4340
leaq 0x14053(%rip), %rsi     # 0x31082
movl $0x10, %edx
movq %r15, %rdi
callq 0x4340
movl 0x10(%r14), %esi
movq %r15, %rdi
callq 0x4500
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41f0
jmp 0x1d347
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1609b(%rip), %rsi     # 0x3313c
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1608f(%rip), %rsi     # 0x33164
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x16022(%rip), %rsi     # 0x3312b
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15ff7(%rip), %rsi     # 0x33134
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15fd5(%rip), %rsi     # 0x33146
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15f79(%rip), %rsi     # 0x3311e
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15f4b(%rip), %rsi     # 0x33124
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15f45(%rip), %rsi     # 0x33152
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15f1a(%rip), %rsi     # 0x3315b
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15efb(%rip), %rsi     # 0x3316d
callq 0x4580
jmp 0x1d2a8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15ea9(%rip), %rsi     # 0x3314c
callq 0x4580
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d2cf
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1d2d7
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
callq 0x4370
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x1d315
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1d32c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4300
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d347
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4300
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq %rbx, %rdi
callq 0x4340
movq 0x1ec38(%rip), %rsi     # 0x3bf98
leaq 0x88(%rsp), %rdi
callq 0x4220
leaq 0x108(%rsp), %rdi
callq 0x4120
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x1d391
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4300
movq %rbx, %rax
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
jmp 0x1d3b9
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1d3ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4300
jmp 0x1d3ec
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
jmp 0x1d3e9
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d427
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4300
jmp 0x1d427
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
jmp 0x1d424
movq %rax, %rbx
jmp 0x1d448
movq %rax, %rbx
movq 0x1eb6a(%rip), %rsi     # 0x3bf98
leaq 0x88(%rsp), %rdi
callq 0x4220
leaq 0x108(%rsp), %rdi
callq 0x4120
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x1d45f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x4540
nop