// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/../serialize/../network/network.h
// Function: Reply::Reply(char*, KVStore*)
Reply(char* s, KVStore* kv) {
        Deserializable* ds = new Deserializable();
        char* payload = JSONHelper::getPayloadValue(s)->c_str();
        kind_ = (enum MsgKind)std::stoi(JSONHelper::getValueFromKey("kind_", payload)->c_str());
        sender_ = std::stoi(JSONHelper::getValueFromKey("sender_", payload)->c_str());
        target_ = std::stoi(JSONHelper::getValueFromKey("target_", payload)->c_str());
        id_ = std::stoi(JSONHelper::getValueFromKey("id_", payload)->c_str());
        char* serialData = JSONHelper::getValueFromKey("msg_", payload)->c_str();
        if(JSONHelper::isObject(serialData)) {
            reply_msg_ = ds->deserialize(serialData, kv)->serialize();
        } else {
            reply_msg_ = serialData;
        }
        reply_msg_ = JSONHelper::getValueFromKey("msg_", payload)->c_str();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r15
movq %rdi, %rbx
movq $0x0, 0x8(%rdi)
leaq 0xd682(%rip), %rax      # 0x29a98
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc9f0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
leaq 0xe42(%rip), %rdi       # 0x1d276
movq %rax, %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r15, -0x60(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x50(%rbp), %r13
callq 0x7040
movq %rax, %r15
movl (%rax), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r15)
leaq -0x58(%rbp), %r12
movq %r13, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r13, (%r12)
je 0x1c709
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x1c715
movl (%r15), %ecx
cmpl $0x22, %ecx
je 0x1c715
testl %ecx, %ecx
jne 0x1c4b1
movl -0x30(%rbp), %ecx
movl %ecx, (%r15)
movl %eax, 0x10(%rbx)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c4c6
callq 0x7200
leaq 0xdaf(%rip), %rdi       # 0x1d27c
movq %r14, %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x50(%rbp), %r12
movl (%r15), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r15)
leaq -0x58(%rbp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x1c721
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x1c72d
movl (%r15), %ecx
cmpl $0x22, %ecx
je 0x1c72d
testl %ecx, %ecx
jne 0x1c54d
movl -0x30(%rbp), %ecx
movl %ecx, (%r15)
cltq
movq %rax, 0x18(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1c565
callq 0x7200
leaq 0xd18(%rip), %rdi       # 0x1d284
movq %r14, %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x50(%rbp), %r12
movl (%r15), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r15)
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x1c739
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x1c745
movl (%r15), %ecx
cmpl $0x22, %ecx
je 0x1c745
testl %ecx, %ecx
jne 0x1c5e8
movl -0x30(%rbp), %ecx
movl %ecx, (%r15)
cltq
movq %rax, 0x20(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1c600
callq 0x7200
leaq 0xfbb(%rip), %rdi       # 0x1d5c2
movq %r14, %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x50(%rbp), %r12
movl (%r15), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r15)
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x1c751
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x1c75d
movl (%r15), %ecx
cmpl $0x22, %ecx
je 0x1c75d
testl %ecx, %ecx
jne 0x1c683
movl -0x30(%rbp), %ecx
movl %ecx, (%r15)
cltq
movq %rax, 0x28(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1c69b
callq 0x7200
leaq 0x18e6(%rip), %rdi      # 0x1df88
movq %r14, %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
movq %rax, %rdi
callq 0xcdac
testb %al, %al
je 0x1c6da
movq %r15, %rsi
movq -0x60(%rbp), %rdx
callq 0x151da
movq (%rax), %rcx
movq %rax, %rdi
callq *0x38(%rcx)
movq %rax, %r15
movq %r15, 0x30(%rbx)
leaq 0x18a3(%rip), %rdi      # 0x1df88
movq %r14, %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, 0x30(%rbx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9ef(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0x9e3(%rip), %rdi       # 0x1d0ff
callq 0x7310
leaq 0x9d7(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0x9cb(%rip), %rdi       # 0x1d0ff
callq 0x7310
leaq 0x9bf(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0x9b3(%rip), %rdi       # 0x1d0ff
callq 0x7310
leaq 0x9a7(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0x99b(%rip), %rdi       # 0x1d0ff
callq 0x7310
jmp 0x1c7b7
jmp 0x1c7b7
jmp 0x1c7b7
jmp 0x1c7b7
jmp 0x1c779
jmp 0x1c7b7
jmp 0x1c779
jmp 0x1c7b7
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x1c788
movl -0x30(%rbp), %eax
movl %eax, (%r15)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x1c7ab
jmp 0x1c7b7
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x1c7a3
movl -0x30(%rbp), %eax
movl %eax, (%r15)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c7ba
callq 0x7200
jmp 0x1c7ba
movq %rax, %rbx
movq %rbx, %rdi
callq 0x73b0