// File: /workspace/github_cpp_makefile_star2_O3/yasz24[P]eau2/src/network/../serialize/../network/network.h
// Function: Reply::Reply(char*)
Reply(char* s) {
        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)->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 %rdi, %rbx
movq $0x0, 0x8(%rdi)
leaq 0x10891(%rip), %rax     # 0x28a98
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc82c
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
leaq 0x5051(%rip), %rdi      # 0x1d276
movq %rax, %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
callq 0x7040
movq %rax, %r14
movl (%rax), %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 0x184e8
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x184f4
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x184f4
testl %ecx, %ecx
jne 0x1829e
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movl %eax, 0x10(%rbx)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x182b3
callq 0x7200
leaq 0x4fc2(%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)
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x18500
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x1850c
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x1850c
testl %ecx, %ecx
jne 0x18336
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movq %rax, 0x18(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1834c
callq 0x7200
leaq 0x4f31(%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 0x18518
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x18524
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x18524
testl %ecx, %ecx
jne 0x183cf
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movq %rax, 0x20(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x183e5
callq 0x7200
leaq 0x51d6(%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 0x18530
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x1853c
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x1853c
testl %ecx, %ecx
jne 0x18468
movl -0x30(%rbp), %ecx
movl %ecx, (%r14)
movq %rax, 0x28(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1847e
callq 0x7200
leaq 0x5b03(%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 0x184b9
movq %r14, %rsi
callq 0x146f0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x38(%rcx)
movq %rax, %r14
movq %r14, 0x30(%rbx)
leaq 0x5ac4(%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 0x4c10(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x4c04(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x4bf8(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x4bec(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x4be0(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x4bd4(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x4bc8(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x4bbc(%rip), %rdi      # 0x1d0ff
callq 0x7310
jmp 0x18596
jmp 0x18596
jmp 0x18596
jmp 0x18596
jmp 0x18558
jmp 0x18596
jmp 0x18558
jmp 0x18596
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x18567
movl -0x30(%rbp), %eax
movl %eax, (%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x1858a
jmp 0x18596
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x18582
movl -0x30(%rbp), %eax
movl %eax, (%r14)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x18599
callq 0x7200
jmp 0x18599
movq %rax, %rbx
movq %rbx, %rdi
callq 0x73b0
nop