// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/../serialize/../utils/distributedArray.h
// Function: FloatDistributedArray::FloatDistributedArray(char*, KVStore*)
FloatDistributedArray(char* serialized, KVStore* kv) {
        Deserializable* ds = new Deserializable();
        char* payload = JSONHelper::getPayloadValue(serialized)->c_str();
        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->kv_ = new KVStore(JSONHelper::getValueFromKey("kv_", payload)->c_str());
        this->chunkArray_ = new FloatArray(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 0xe346(%rip), %rax      # 0x24898
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 0x2047(%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 0x2022(%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 0x1fd4(%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 0x1f73(%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 0x1e73(%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 0x1ef9(%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 0x1eca(%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 0x1e9a(%rip), %rdi      # 0x185fd
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x112cc
movq %r14, 0x18(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x167a4
jmp 0x167be
jmp 0x167a4
jmp 0x167be
jmp 0x167a4
jmp 0x167be
jmp 0x167a4
jmp 0x167be
jmp 0x167a4
jmp 0x167be
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x7120
jmp 0x167d6
jmp 0x167be
jmp 0x167be
jmp 0x167be
jmp 0x167be
jmp 0x167be
jmp 0x167be
movq %rax, %rbx
jmp 0x167d6
movq %rax, %rbx
movq %r14, %rdi
jmp 0x167d1
movq %rax, %rbx
movq %r12, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390