// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x28, %rsp
movq %rdi, %rbx
andq $0x0, 0x8(%rdi)
movq %rsi, %r14
leaq 0xd741(%rip), %rax      # 0x23398
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc014
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
leaq 0x2601(%rip), %rdi      # 0x18276
movq %rax, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
movl %eax, 0x10(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x25c5(%rip), %rdi      # 0x1827c
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x18(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x2588(%rip), %rdi      # 0x18284
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x20(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x2886(%rip), %rdi      # 0x185c7
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x28(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x25be(%rip), %rdi      # 0x18344
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x38(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x257e(%rip), %rdi      # 0x18349
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, 0x30(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x15dfb
jmp 0x15e13
jmp 0x15dfb
jmp 0x15e13
jmp 0x15dfb
jmp 0x15e13
jmp 0x15dfb
jmp 0x15e13
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x7120
jmp 0x15e16
jmp 0x15e13
jmp 0x15e13
jmp 0x15e13
jmp 0x15e13
jmp 0x15e13
movq %rax, %rbx
movq %rbx, %rdi
callq 0x7390