// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/../serialize/../utils/distributedArray.h
// Function: BoolDistributedArray::BoolDistributedArray(char*, KVStore*)
BoolDistributedArray(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->kv_ = new KVStore(JSONHelper::getValueFromKey("kv_", payload)->c_str());
        this->chunkArray_ = new BoolArray(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 0xdaae(%rip), %rax      # 0x24560
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 0x1ae7(%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 0x1ac2(%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 0x1a74(%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 0x1a13(%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 0x1913(%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 0x1999(%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 0x196a(%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 0x193a(%rip), %rdi      # 0x185fd
movq %r15, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x102ae
movq %r14, 0x18(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x16d04
jmp 0x16d1e
jmp 0x16d04
jmp 0x16d1e
jmp 0x16d04
jmp 0x16d1e
jmp 0x16d04
jmp 0x16d1e
jmp 0x16d04
jmp 0x16d1e
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x7120
jmp 0x16d36
jmp 0x16d1e
jmp 0x16d1e
jmp 0x16d1e
jmp 0x16d1e
jmp 0x16d1e
jmp 0x16d1e
movq %rax, %rbx
jmp 0x16d36
movq %rax, %rbx
movq %r14, %rdi
jmp 0x16d31
movq %rax, %rbx
movq %r12, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390