// File: /workspace/github_cpp_makefile_star2_O3/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 0xc8c4
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x5a4e
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x5a4e
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 0x15c3a
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x120b2
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x120c9
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 0x5a4e
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x10cfa
movl %eax, %r12d
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x1210e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x68(%rbx), %r15
movl 0x50(%r14), %ebp
testb %r12b, %r12b
je 0x12167
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x5a4e
leaq 0x48(%r14), %rsi
leaq 0x80(%rsp), %r8
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %ecx
callq 0xc23e
movq 0x80(%rsp), %rdi
movb $0x1, %bpl
movb $0x1, %al
jmp 0x121b3
leaq 0xb0(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0x5a4e
leaq 0x48(%r14), %rsi
leaq 0xa0(%rsp), %r8
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %ecx
callq 0xc5ea
movq 0xa0(%rsp), %rdi
xorl %ebp, %ebp
movl $0x0, %eax
cmpq %r12, %rdi
je 0x121c6
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 0xc8c4
leaq 0x138(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x15d5a
leaq 0x14(%rsp), %rsi
leaq 0x138(%rsp), %rdx
movq %rbx, %rdi
callq 0xfbc4
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12229
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x170(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1224a
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x150(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1226b
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x128(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1228c
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x122ad
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x122ce
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 0x1237f
movq 0xb0(%rsp), %rsi
jmp 0x1233a
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x1237f
movq 0x90(%rsp), %rsi
jmp 0x1233a
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
callq 0x1263c
jmp 0x1237f
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x1237f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x1237f
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x12363
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x12363
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x1238c
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x1238c
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x1263c
movq %rbx, %rdi
callq 0x34b0