// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/../serialize/../network/network.h
// Function: Register::Register(char*)
Register(char* s) {
        char* payload = JSONHelper::getPayloadValue(s)->c_str();
        //std::cout << "payload: " << payload << "\n";
        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());
        port_ = std::stoi(JSONHelper::getValueFromKey("port", payload)->c_str());
        client = JSONHelper::getValueFromKey("client", s)->c_str();
        //std::cout << "here\n";
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq $0x0, 0x8(%rdi)
leaq 0xee8c(%rip), %rax      # 0x28388
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc9f0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq 0x3d5f(%rip), %rdi      # 0x1d276
movq %rax, -0x58(%rbp)
movq %rax, %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rbx, -0x68(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x50(%rbp), %r13
callq 0x7040
movq %rax, %rbx
movl (%rax), %r12d
movl $0x0, (%rax)
leaq -0x60(%rbp), %r15
movq %r13, %rdi
movq %r15, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r13, (%r15)
je 0x1982a
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x19836
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x19836
testl %ecx, %ecx
jne 0x19590
movl %r12d, (%rbx)
movl %eax, 0x10(%r14)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x195a6
callq 0x7200
leaq 0x3ccf(%rip), %rdi      # 0x1d27c
movq -0x58(%rbp), %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), %r15
movl (%rbx), %r12d
movl $0x0, (%rbx)
leaq -0x60(%rbp), %r13
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r13)
je 0x19842
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x1984e
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x1984e
testl %ecx, %ecx
jne 0x19626
movl %r12d, (%rbx)
cltq
movq %rax, 0x18(%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1963e
callq 0x7200
leaq 0x3c3f(%rip), %rdi      # 0x1d284
movq -0x58(%rbp), %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), %r15
movl (%rbx), %r12d
movl $0x0, (%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r13)
je 0x1985a
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x19866
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x19866
testl %ecx, %ecx
jne 0x196ba
movl %r12d, (%rbx)
cltq
movq %rax, 0x20(%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x196d2
callq 0x7200
leaq 0x3ee9(%rip), %rdi      # 0x1d5c2
movq -0x58(%rbp), %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), %r15
movl (%rbx), %r12d
movl $0x0, (%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r13)
je 0x19872
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x1987e
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x1987e
testl %ecx, %ecx
jne 0x1974e
movl %r12d, (%rbx)
cltq
movq %rax, 0x28(%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x19766
callq 0x7200
leaq 0x3bd2(%rip), %rdi      # 0x1d33f
movq -0x58(%rbp), %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), %r15
movl (%rbx), %r13d
movl $0x0, (%rbx)
leaq -0x60(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r12)
je 0x1988a
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x19896
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x19896
testl %ecx, %ecx
jne 0x197e6
movl %r13d, (%rbx)
cltq
movq %rax, 0x38(%r14)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x197fe
callq 0x7200
leaq 0x3b3f(%rip), %rdi      # 0x1d344
movq -0x68(%rbp), %rsi
callq 0xcb92
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, 0x30(%r14)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x38ce(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x38c2(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x38b6(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x38aa(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x389e(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x3892(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x3886(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x387a(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x386e(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x3862(%rip), %rdi      # 0x1d0ff
callq 0x7310
jmp 0x198f9
jmp 0x198f9
jmp 0x198f9
jmp 0x198f9
jmp 0x198f9
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x198ce
movl %r13d, (%rbx)
jmp 0x198ce
jmp 0x198f9
jmp 0x198c3
jmp 0x198f9
jmp 0x198c3
jmp 0x198f9
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x198ce
movl %r12d, (%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x198ed
jmp 0x198f9
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x198e5
movl %r12d, (%rbx)
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x198fc
callq 0x7200
jmp 0x198fc
movq %rax, %r14
movq %r14, %rdi
callq 0x73b0