// File: /workspace/github_cpp_makefile_star2_O3/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, %r14
movq %rdi, %rbx
movq $0x0, 0x8(%rdi)
leaq 0xcbc2(%rip), %rax      # 0x28a98
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc82c
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
leaq 0x1382(%rip), %rdi      # 0x1d276
movq %rax, %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r14, -0x60(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x50(%rbp), %r13
callq 0x7040
movq %rax, %r14
movl (%rax), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r14)
leaq -0x58(%rbp), %r12
movq %r13, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r13, (%r12)
je 0x1c1c3
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x1c1cf
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x1c1cf
testl %ecx, %ecx
jne 0x1bf71
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movl %eax, 0x10(%rbx)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bf86
callq 0x7200
leaq 0x12ef(%rip), %rdi      # 0x1d27c
movq %r15, %rsi
callq 0xc9a6
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 (%r14), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r14)
leaq -0x58(%rbp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x1c1db
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x1c1e7
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x1c1e7
testl %ecx, %ecx
jne 0x1c00d
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movq %rax, 0x18(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1c023
callq 0x7200
leaq 0x125a(%rip), %rdi      # 0x1d284
movq %r15, %rsi
callq 0xc9a6
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 (%r14), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r14)
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x1c1f3
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x1c1ff
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x1c1ff
testl %ecx, %ecx
jne 0x1c0a6
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movq %rax, 0x20(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1c0bc
callq 0x7200
leaq 0x14ff(%rip), %rdi      # 0x1d5c2
movq %r15, %rsi
callq 0xc9a6
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 (%r14), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r14)
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x1c20b
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x1c217
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x1c217
testl %ecx, %ecx
jne 0x1c13f
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movq %rax, 0x28(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1c155
callq 0x7200
leaq 0x1e2c(%rip), %rdi      # 0x1df88
movq %r15, %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
movq %rax, %rdi
callq 0xcb5c
testb %al, %al
je 0x1c194
movq %r14, %rsi
movq -0x60(%rbp), %rdx
callq 0x14d6a
movq (%rax), %rcx
movq %rax, %rdi
callq *0x38(%rcx)
movq %rax, %r14
movq %r14, 0x30(%rbx)
leaq 0x1de9(%rip), %rdi      # 0x1df88
movq %r15, %rsi
callq 0xc9a6
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 0xf35(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0xf29(%rip), %rdi       # 0x1d0ff
callq 0x7310
leaq 0xf1d(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0xf11(%rip), %rdi       # 0x1d0ff
callq 0x7310
leaq 0xf05(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0xef9(%rip), %rdi       # 0x1d0ff
callq 0x7310
leaq 0xeed(%rip), %rdi       # 0x1d0ff
callq 0x7140
leaq 0xee1(%rip), %rdi       # 0x1d0ff
callq 0x7310
jmp 0x1c271
jmp 0x1c271
jmp 0x1c271
jmp 0x1c271
jmp 0x1c233
jmp 0x1c271
jmp 0x1c233
jmp 0x1c271
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x1c242
movl -0x30(%rbp), %eax
movl %eax, (%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x1c265
jmp 0x1c271
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x1c25d
movl -0x30(%rbp), %eax
movl %eax, (%r14)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c274
callq 0x7200
jmp 0x1c274
movq %rax, %rbx
movq %rbx, %rdi
callq 0x73b0