// File: /workspace/github_cpp_makefile_star2_O3/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, %r12
movq %rdi, %r14
movq $0x0, 0x8(%rdi)
leaq 0xe380(%rip), %rax      # 0x273c0
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc82c
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq 0x421b(%rip), %rdi      # 0x1d276
movq %rax, -0x60(%rbp)
movq %rax, %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x58(%rbp), %r13
callq 0x7040
movq %rax, %rbx
movl (%rax), %eax
movl %eax, -0x38(%rbp)
movl $0x0, (%rbx)
leaq -0x68(%rbp), %r15
movq %r13, %rdi
movq %r15, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r13, (%r15)
je 0x19371
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x1937d
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x1937d
testl %ecx, %ecx
jne 0x190d4
movl -0x38(%rbp), %ecx
movl %ecx, (%rbx)
movl %eax, 0x10(%r14)
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x190ea
callq 0x7200
leaq 0x418b(%rip), %rdi      # 0x1d27c
movq -0x60(%rbp), %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x58(%rbp), %r15
movl (%rbx), %eax
movl %eax, -0x38(%rbp)
movl $0x0, (%rbx)
leaq -0x68(%rbp), %r13
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r13)
je 0x19389
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x19395
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x19395
testl %ecx, %ecx
jne 0x1916e
movl -0x38(%rbp), %ecx
movl %ecx, (%rbx)
movq %rax, 0x18(%r14)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x19184
callq 0x7200
leaq 0x40f9(%rip), %rdi      # 0x1d284
movq -0x60(%rbp), %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r12, -0x38(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x58(%rbp), %r15
movl (%rbx), %r12d
movl $0x0, (%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r13)
je 0x193a1
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x193ad
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x193ad
testl %ecx, %ecx
jne 0x19204
movl %r12d, (%rbx)
movq %rax, 0x20(%r14)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x1921a
callq 0x7200
leaq 0x43a1(%rip), %rdi      # 0x1d5c2
movq -0x60(%rbp), %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x58(%rbp), %r15
movl (%rbx), %r12d
movl $0x0, (%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r13)
je 0x193b9
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x193c5
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x193c5
testl %ecx, %ecx
jne 0x19296
movl %r12d, (%rbx)
movq %rax, 0x28(%r14)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x192ac
callq 0x7200
leaq 0x408c(%rip), %rdi      # 0x1d33f
movq -0x60(%rbp), %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x58(%rbp), %r15
movl (%rbx), %r13d
movl $0x0, (%rbx)
leaq -0x68(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r15, (%r12)
je 0x193d1
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
movq -0x38(%rbp), %r15
jb 0x193dd
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x193dd
testl %ecx, %ecx
jne 0x19330
movl %r13d, (%rbx)
movq %rax, 0x38(%r14)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x19346
callq 0x7200
leaq 0x3ff7(%rip), %rdi      # 0x1d344
movq %r15, %rsi
callq 0xc9a6
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 0x3d87(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x3d7b(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x3d6f(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x3d63(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x3d57(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x3d4b(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x3d3f(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x3d33(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x3d27(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x3d1b(%rip), %rdi      # 0x1d0ff
callq 0x7310
jmp 0x1944f
jmp 0x1944f
jmp 0x1944f
jmp 0x1944f
jmp 0x1944f
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x19422
movl %r13d, (%rbx)
jmp 0x19422
jmp 0x1944f
jmp 0x19406
jmp 0x1944f
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x19422
movl %r12d, (%rbx)
jmp 0x19422
jmp 0x1944f
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x19422
movl -0x38(%rbp), %eax
movl %eax, (%rbx)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
jmp 0x19443
jmp 0x1944f
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x1943b
movl -0x38(%rbp), %eax
movl %eax, (%rbx)
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19452
callq 0x7200
jmp 0x19452
movq %rax, %r14
movq %r14, %rdi
callq 0x73b0