// File: /workspace/github_cpp_makefile_star2_O3/yasz24[P]eau2/src/network/../serialize/../network/network.h
// Function: Message::Message(char*)
Message(char* s) {
        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());
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r14
movq $0x0, 0x8(%rdi)
leaq 0x11891(%rip), %rax     # 0x28cb0
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc82c
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
leaq 0x5e39(%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, %rbx
movl (%rax), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%rbx)
leaq -0x58(%rbp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x17697
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x176a3
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x176a3
testl %ecx, %ecx
jne 0x174b3
movl -0x30(%rbp), %ecx
movl %ecx, (%rbx)
movl %eax, 0x10(%r14)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x174c9
callq 0x7200
leaq 0x5dac(%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 (%rbx), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%rbx)
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x176af
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x176bb
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x176bb
testl %ecx, %ecx
jne 0x17548
movl -0x30(%rbp), %ecx
movl %ecx, (%rbx)
movq %rax, 0x18(%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1755e
callq 0x7200
leaq 0x5d1f(%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 (%rbx), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%rbx)
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x176c7
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x176d3
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x176d3
testl %ecx, %ecx
jne 0x175dd
movl -0x30(%rbp), %ecx
movl %ecx, (%rbx)
movq %rax, 0x20(%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x175f3
callq 0x7200
leaq 0x5fc8(%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), %r15
movl (%rbx), %r13d
movl $0x0, (%rbx)
leaq -0x58(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r12)
je 0x176df
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x176eb
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x176eb
testl %ecx, %ecx
jne 0x17672
movl %r13d, (%rbx)
movq %rax, 0x28(%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x17688
callq 0x7200
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5a61(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x5a55(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x5a49(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x5a3d(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x5a31(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x5a25(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x5a19(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x5a0d(%rip), %rdi      # 0x1d0ff
callq 0x7310
jmp 0x1774c
jmp 0x1774c
jmp 0x1774c
jmp 0x1774c
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x1771f
movl %r13d, (%rbx)
jmp 0x1771f
jmp 0x1774c
jmp 0x17712
jmp 0x1774c
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x1771f
movl -0x30(%rbp), %eax
movl %eax, (%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x17740
jmp 0x1774c
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x17738
movl -0x30(%rbp), %eax
movl %eax, (%rbx)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1774f
callq 0x7200
jmp 0x1774f
movq %rax, %r14
movq %r14, %rdi
callq 0x73b0
nop