// File: /workspace/github_cpp_makefile_star2_O2/tonymuu[P]distributed-kv-store/Message.cpp
// Function: Message::toString[abi:cxx11]()
string Message::toString(){
	string message = to_string(transID) + delimiter + fromAddr.getAddress() + delimiter + to_string(type) + delimiter;
	switch(type){
		case CREATE:
		case UPDATE:
			message += key + delimiter + value + delimiter + to_string(replica);
			break;
		case READ:
		case DELETE:
			message += key;
			break;
		case REPLY:
			if (success)
				message += "1";
			else
				message += "0";
			break;
		case READREPLY:
			message += value;
			break;
	}
	return message;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x50(%rsi), %esi
leaq 0x88(%rsp), %r12
movq %r12, %rdi
callq 0x9731
leaq 0x58(%r14), %r15
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x11605
leaq 0x48(%r14), %rsi
leaq 0xc8(%rsp), %rdi
callq 0x9666
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0x9916
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
movq %r15, %rdx
callq 0x11605
movl (%r14), %esi
leaq 0xa8(%rsp), %rdi
callq 0x9731
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x9916
leaq 0x68(%rsp), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x11605
leaq 0x68(%rsp), %rdi
callq 0x3120
leaq 0xa8(%rsp), %rdi
callq 0x3120
leaq 0x48(%rsp), %rdi
callq 0x3120
leaq 0x28(%rsp), %rdi
callq 0x3120
leaq 0xc8(%rsp), %rdi
callq 0x3120
leaq 0x8(%rsp), %rdi
callq 0x3120
leaq 0x88(%rsp), %rdi
callq 0x3120
movl (%r14), %eax
cmpq $0x5, %rax
ja 0x1242c
leaq 0x194d(%rip), %rcx      # 0x13c98
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x8(%r14), %rsi
leaq 0x8(%rsp), %rdi
movq %r15, %rdx
callq 0x11624
leaq 0x28(%r14), %rdx
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11605
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
movq %r15, %rdx
callq 0x11605
movl 0x4(%r14), %esi
leaq 0x88(%rsp), %rdi
callq 0x9731
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x9916
leaq 0x68(%rsp), %rsi
movq %rbx, %rdi
callq 0x3500
leaq 0x68(%rsp), %rdi
callq 0x3120
leaq 0x88(%rsp), %rdi
callq 0x3120
leaq 0x48(%rsp), %rdi
callq 0x3120
leaq 0x28(%rsp), %rdi
callq 0x3120
leaq 0x8(%rsp), %rdi
callq 0x3120
jmp 0x1242c
pushq $0x8
jmp 0x123fc
pushq $0x28
popq %rax
addq %rax, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3500
jmp 0x1242c
leaq 0x189c(%rip), %rax      # 0x13cb0
leaq 0x1897(%rip), %rsi      # 0x13cb2
cmpb $0x0, 0x54(%r14)
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x34c0
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0x3120
jmp 0x12450
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x3120
jmp 0x12462
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x3120
jmp 0x12471
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x3120
jmp 0x12480
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x3120
jmp 0x12491
jmp 0x1248e
movq %rax, %r14
movq %rbx, %rdi
jmp 0x124f7
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0x3120
jmp 0x124a8
movq %rax, %r14
leaq 0xa8(%rsp), %rdi
callq 0x3120
jmp 0x124ba
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x3120
jmp 0x124c9
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x3120
jmp 0x124d8
movq %rax, %r14
leaq 0xc8(%rsp), %rdi
callq 0x3120
leaq 0x8(%rsp), %rdi
callq 0x3120
leaq 0x88(%rsp), %rdi
callq 0x3120
movq %r14, %rdi
callq 0x3490
movq %rax, %r14
jmp 0x124e5
movq %rax, %r14
jmp 0x124ef