// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/../serialize/../utils/distributedArray.h
// Function: StringDistributedArray::StringDistributedArray(char*, KVStore*)
StringDistributedArray(char* serialized, KVStore* kv) {
        Deserializable* ds = new Deserializable();
        char* payload = JSONHelper::getPayloadValue(serialized)->c_str();
        //std::cout<<payload<<"\n";
        this->chunkSize_ = std::stoi(JSONHelper::getValueFromKey("chunkSize_", payload)->c_str());
        this->totalNodes_ = std::stoi(JSONHelper::getValueFromKey("totalNodes_", payload)->c_str());
        this->curNode_ = std::stoi(JSONHelper::getValueFromKey("curNode_", payload)->c_str());
        this->uid_ = std::stoi(JSONHelper::getValueFromKey("uid_", payload)->c_str());
        this->itemCount_ = std::stoi(JSONHelper::getValueFromKey("itemCount_", payload)->c_str());
        this->chunkCount_ = std::stoi(JSONHelper::getValueFromKey("chunkCount_", payload)->c_str());
        this->keys_ = new Array(JSONHelper::getValueFromKey("keys_", payload)->c_str());
        this->kv_ = kv;
        this->chunkArray_ = new StringArray(JSONHelper::getValueFromKey("chunkArray_", payload)->c_str());
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
andq $0x0, 0x8(%rdi)
movq %rdx, %r14
movq %rsi, %rdi
leaq 0xd52e(%rip), %rax      # 0x24290
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movq $0x32, 0x30(%rbx)
movq $0x400, 0x48(%rbx)      # imm = 0x400
callq 0xc014
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
leaq 0x1837(%rip), %rdi      # 0x185cb
movq %rax, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x48(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
leaq 0x1812(%rip), %rdi      # 0x185eb
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x68(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
leaq 0x17c4(%rip), %rdi      # 0x185e2
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x60(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
leaq 0x1763(%rip), %rdi      # 0x185c6
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x40(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
leaq 0x1663(%rip), %rdi      # 0x1850b
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x58(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
leaq 0x16e9(%rip), %rdi      # 0x185d6
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x50(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r12
leaq 0x16ba(%rip), %rdi      # 0x185f7
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r12, %rdi
movq %rax, %rsi
callq 0x1476a
movq %r12, 0x38(%rbx)
movq %r14, 0x10(%rbx)
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r14
leaq 0x168a(%rip), %rdi      # 0x185fd
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r14, %rdi
movq %rax, %rsi
callq 0xed42
movq %r14, 0x18(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x16fb4
jmp 0x16fce
jmp 0x16fb4
jmp 0x16fce
jmp 0x16fb4
jmp 0x16fce
jmp 0x16fb4
jmp 0x16fce
jmp 0x16fb4
jmp 0x16fce
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x7120
jmp 0x16fe6
jmp 0x16fce
jmp 0x16fce
jmp 0x16fce
jmp 0x16fce
jmp 0x16fce
jmp 0x16fce
movq %rax, %rbx
jmp 0x16fe6
movq %rax, %rbx
movq %r14, %rdi
jmp 0x16fe1
movq %rax, %rbx
movq %r12, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390