// File: /workspace/github_cpp_makefile_star2_O1/tonymuu[P]distributed-kv-store/MP2Node.cpp
// Function: MP2Node::handleDeleteMessage(Message)
void MP2Node::handleDeleteMessage(Message msg) {
    Message reply(msg.transID, memberNode->addr, REPLY, msg.key, msg.value, msg.replica);
    if (!deletekey(msg.key)) {
        log->logDeleteFail(&msg.fromAddr, false, msg.transID, msg.key);
        reply.success = false;
    } else {
        log->logDeleteSuccess(&msg.fromAddr, false, msg.transID, msg.key);
        reply.success = true;
    }
    sendMessage(msg.fromAddr, reply);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rsi, %r14
movq %rdi, %rbx
movl 0x50(%rsi), %ebp
movq 0x50(%rdi), %rsi
addq $0x8, %rsi
leaq 0x1a(%rsp), %rdi
callq 0xc9a8
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x5a48
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x5a48
movl 0x4(%r14), %eax
movl %eax, (%rsp)
leaq 0xc0(%rsp), %rdi
leaq 0x1a(%rsp), %rdx
leaq 0x60(%rsp), %r8
leaq 0x40(%rsp), %r9
movl %ebp, %esi
movl $0x4, %ecx
callq 0x15f36
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x123c4
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x123db
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x5a48
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x1100c
movl %eax, %r12d
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x12420
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x68(%rbx), %r15
movl 0x50(%r14), %ebp
testb %r12b, %r12b
je 0x12479
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x5a48
leaq 0x48(%r14), %rsi
leaq 0x80(%rsp), %r8
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %ecx
callq 0xc322
movq 0x80(%rsp), %rdi
movb $0x1, %bpl
movb $0x1, %al
jmp 0x124c5
leaq 0xb0(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0x5a48
leaq 0x48(%r14), %rsi
leaq 0xa0(%rsp), %r8
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %ecx
callq 0xc6ce
movq 0xa0(%rsp), %rdi
xorl %ebp, %ebp
movl $0x0, %eax
cmpq %r12, %rdi
je 0x124d8
movq (%r12), %rsi
incq %rsi
callq 0x32c0
movl %ebp, %eax
movb %al, 0x114(%rsp)
addq $0x48, %r14
leaq 0x14(%rsp), %rdi
movq %r14, %rsi
callq 0xc9a8
leaq 0x138(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x16056
leaq 0x14(%rsp), %rsi
leaq 0x138(%rsp), %rdx
movq %rbx, %rdi
callq 0xfec8
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1253b
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x170(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1255c
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x150(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1257d
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x128(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1259e
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x125bf
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x125e0
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x32c0
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x12691
movq 0xb0(%rsp), %rsi
jmp 0x1264c
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x12691
movq 0x90(%rsp), %rsi
jmp 0x1264c
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
callq 0x1293c
jmp 0x12691
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x12691
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x12691
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x12675
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x12675
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x1269e
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x1269e
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x1293c
movq %rbx, %rdi
callq 0x34b0