// File: 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
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x138(%rbp)
callq 0x9780
movq -0x138(%rbp), %rax
leaq 0x11eb3(%rip), %rcx     # 0x3b5a8
movq %rcx, (%rax)
movq $0x0, 0x20(%rax)
movq $0x0, 0x28(%rax)
movq $0x32, 0x30(%rax)
movq $0x400, 0x48(%rax)      # imm = 0x400
movl $0x1, %edi
callq 0x8290
movq %rax, -0x130(%rbp)
jmp 0x2972b
movq -0x130(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0x140(%rbp)
jmp 0x29748
movq -0x140(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x148(%rbp)
jmp 0x29761
movq -0x148(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq 0x2ed9(%rip), %rdi      # 0x2c650
callq 0x12db0
movq %rax, -0x150(%rbp)
jmp 0x29785
movq -0x150(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x158(%rbp)
jmp 0x2979e
leaq -0x59(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x8410
movq -0x158(%rbp), %rsi
movq -0x160(%rbp), %rdx
leaq -0x58(%rbp), %rdi
callq 0x8310
jmp 0x297c7
xorl %eax, %eax
movl %eax, %esi
leaq -0x58(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x164(%rbp)
jmp 0x297e1
movq -0x138(%rbp), %rax
movl -0x164(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x48(%rax)
leaq -0x58(%rbp), %rdi
callq 0x8190
leaq -0x59(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x2e5e(%rip), %rdi      # 0x2c670
callq 0x12db0
movq %rax, -0x170(%rbp)
jmp 0x29820
movq -0x170(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x178(%rbp)
jmp 0x29839
leaq -0x81(%rbp), %rdi
movq %rdi, -0x180(%rbp)
callq 0x8410
movq -0x178(%rbp), %rsi
movq -0x180(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0x8310
jmp 0x29865
xorl %eax, %eax
movl %eax, %esi
leaq -0x80(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x184(%rbp)
jmp 0x2987f
movq -0x138(%rbp), %rax
movl -0x184(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x68(%rax)
leaq -0x80(%rbp), %rdi
callq 0x8190
leaq -0x81(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x2db4(%rip), %rdi      # 0x2c667
callq 0x12db0
movq %rax, -0x190(%rbp)
jmp 0x298c1
movq -0x190(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x198(%rbp)
jmp 0x298da
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x1a0(%rbp)
callq 0x8410
movq -0x198(%rbp), %rsi
movq -0x1a0(%rbp), %rdx
leaq -0xa8(%rbp), %rdi
callq 0x8310
jmp 0x29909
xorl %eax, %eax
movl %eax, %esi
leaq -0xa8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1a4(%rbp)
jmp 0x29926
movq -0x138(%rbp), %rax
movl -0x1a4(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x60(%rax)
leaq -0xa8(%rbp), %rdi
callq 0x8190
leaq -0xa9(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x2cee(%rip), %rdi      # 0x2c64b
callq 0x12db0
movq %rax, -0x1b0(%rbp)
jmp 0x2996b
movq -0x1b0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1b8(%rbp)
jmp 0x29984
leaq -0xd1(%rbp), %rdi
movq %rdi, -0x1c0(%rbp)
callq 0x8410
movq -0x1b8(%rbp), %rsi
movq -0x1c0(%rbp), %rdx
leaq -0xd0(%rbp), %rdi
callq 0x8310
jmp 0x299b3
xorl %eax, %eax
movl %eax, %esi
leaq -0xd0(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1c4(%rbp)
jmp 0x299d0
movq -0x138(%rbp), %rax
movl -0x1c4(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x40(%rax)
leaq -0xd0(%rbp), %rdi
callq 0x8190
leaq -0xd1(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x2b89(%rip), %rdi      # 0x2c590
callq 0x12db0
movq %rax, -0x1d0(%rbp)
jmp 0x29a15
movq -0x1d0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1d8(%rbp)
jmp 0x29a2e
leaq -0xf9(%rbp), %rdi
movq %rdi, -0x1e0(%rbp)
callq 0x8410
movq -0x1d8(%rbp), %rsi
movq -0x1e0(%rbp), %rdx
leaq -0xf8(%rbp), %rdi
callq 0x8310
jmp 0x29a5d
xorl %eax, %eax
movl %eax, %esi
leaq -0xf8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1e4(%rbp)
jmp 0x29a7a
movq -0x138(%rbp), %rax
movl -0x1e4(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x58(%rax)
leaq -0xf8(%rbp), %rdi
callq 0x8190
leaq -0xf9(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x2baa(%rip), %rdi      # 0x2c65b
callq 0x12db0
movq %rax, -0x1f0(%rbp)
jmp 0x29abf
movq -0x1f0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1f8(%rbp)
jmp 0x29ad8
leaq -0x121(%rbp), %rdi
movq %rdi, -0x200(%rbp)
callq 0x8410
movq -0x1f8(%rbp), %rsi
movq -0x200(%rbp), %rdx
leaq -0x120(%rbp), %rdi
callq 0x8310
jmp 0x29b07
xorl %eax, %eax
movl %eax, %esi
leaq -0x120(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x204(%rbp)
jmp 0x29b24
movq -0x138(%rbp), %rax
movl -0x204(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x50(%rax)
leaq -0x120(%rbp), %rdi
callq 0x8190
leaq -0x121(%rbp), %rdi
callq 0x82d0
movl $0x28, %edi
callq 0x8290
movq %rax, -0x210(%rbp)
jmp 0x29b63
movq -0x38(%rbp), %rsi
leaq 0x2b0e(%rip), %rdi      # 0x2c67c
callq 0x12db0
movq %rax, -0x218(%rbp)
jmp 0x29b7c
movq -0x218(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x220(%rbp)
jmp 0x29b95
movq -0x220(%rbp), %rsi
movq -0x210(%rbp), %rdi
callq 0x23c70
jmp 0x29baa
movq -0x138(%rbp), %rax
movq -0x210(%rbp), %rcx
movq %rcx, 0x38(%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl $0x28, %edi
callq 0x8290
movq %rax, -0x228(%rbp)
jmp 0x29bd7
movq -0x38(%rbp), %rsi
leaq 0x2aa0(%rip), %rdi      # 0x2c682
callq 0x12db0
movq %rax, -0x230(%rbp)
jmp 0x29bf0
movq -0x230(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x238(%rbp)
jmp 0x29c09
movq -0x238(%rbp), %rsi
movq -0x228(%rbp), %rdi
callq 0x1a710
jmp 0x29c1e
movq -0x138(%rbp), %rax
movq -0x228(%rbp), %rcx
movq %rcx, 0x18(%rax)
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29db7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29c6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x8190
leaq -0x59(%rbp), %rdi
callq 0x82d0
jmp 0x29db7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29c9e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x8190
leaq -0x81(%rbp), %rdi
callq 0x82d0
jmp 0x29db7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29cd5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x8190
leaq -0xa9(%rbp), %rdi
callq 0x82d0
jmp 0x29db7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29d0c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x8190
leaq -0xd1(%rbp), %rdi
callq 0x82d0
jmp 0x29db7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29d43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x8190
leaq -0xf9(%rbp), %rdi
callq 0x82d0
jmp 0x29db7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29d77
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x120(%rbp), %rdi
callq 0x8190
leaq -0x121(%rbp), %rdi
callq 0x82d0
jmp 0x29db7
movq -0x210(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8260
jmp 0x29db7
movq -0x228(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8260
movq -0x138(%rbp), %rdi
callq 0x9830
movq -0x28(%rbp), %rdi
callq 0x8400
nopl (%rax)