// File: yasz24[P]eau2/src/network/../serialize/../utils/distributedArray.h
// Function: DoubleDistributedArray::DoubleDistributedArray(char*, KVStore*)
DoubleDistributedArray(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 DoubleArray(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 0x11b9b(%rip), %rcx     # 0x3ab80
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 0x2901b
movq -0x130(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0x140(%rbp)
jmp 0x29038
movq -0x140(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x148(%rbp)
jmp 0x29051
movq -0x148(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq 0x35e9(%rip), %rdi      # 0x2c650
callq 0x12db0
movq %rax, -0x150(%rbp)
jmp 0x29075
movq -0x150(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x158(%rbp)
jmp 0x2908e
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 0x290b7
xorl %eax, %eax
movl %eax, %esi
leaq -0x58(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x164(%rbp)
jmp 0x290d1
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 0x356e(%rip), %rdi      # 0x2c670
callq 0x12db0
movq %rax, -0x170(%rbp)
jmp 0x29110
movq -0x170(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x178(%rbp)
jmp 0x29129
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 0x29155
xorl %eax, %eax
movl %eax, %esi
leaq -0x80(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x184(%rbp)
jmp 0x2916f
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 0x34c4(%rip), %rdi      # 0x2c667
callq 0x12db0
movq %rax, -0x190(%rbp)
jmp 0x291b1
movq -0x190(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x198(%rbp)
jmp 0x291ca
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 0x291f9
xorl %eax, %eax
movl %eax, %esi
leaq -0xa8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1a4(%rbp)
jmp 0x29216
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 0x33fe(%rip), %rdi      # 0x2c64b
callq 0x12db0
movq %rax, -0x1b0(%rbp)
jmp 0x2925b
movq -0x1b0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1b8(%rbp)
jmp 0x29274
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 0x292a3
xorl %eax, %eax
movl %eax, %esi
leaq -0xd0(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1c4(%rbp)
jmp 0x292c0
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 0x3299(%rip), %rdi      # 0x2c590
callq 0x12db0
movq %rax, -0x1d0(%rbp)
jmp 0x29305
movq -0x1d0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1d8(%rbp)
jmp 0x2931e
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 0x2934d
xorl %eax, %eax
movl %eax, %esi
leaq -0xf8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1e4(%rbp)
jmp 0x2936a
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 0x32ba(%rip), %rdi      # 0x2c65b
callq 0x12db0
movq %rax, -0x1f0(%rbp)
jmp 0x293af
movq -0x1f0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1f8(%rbp)
jmp 0x293c8
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 0x293f7
xorl %eax, %eax
movl %eax, %esi
leaq -0x120(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x204(%rbp)
jmp 0x29414
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 0x29453
movq -0x38(%rbp), %rsi
leaq 0x321e(%rip), %rdi      # 0x2c67c
callq 0x12db0
movq %rax, -0x218(%rbp)
jmp 0x2946c
movq -0x218(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x220(%rbp)
jmp 0x29485
movq -0x220(%rbp), %rsi
movq -0x210(%rbp), %rdi
callq 0x23c70
jmp 0x2949a
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 0x294c7
movq -0x38(%rbp), %rsi
leaq 0x31b0(%rip), %rdi      # 0x2c682
callq 0x12db0
movq %rax, -0x230(%rbp)
jmp 0x294e0
movq -0x230(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x238(%rbp)
jmp 0x294f9
movq -0x238(%rbp), %rsi
movq -0x228(%rbp), %rdi
callq 0x119f0
jmp 0x2950e
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 0x296a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2955d
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 0x296a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2958e
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 0x296a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x295c5
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 0x296a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x295fc
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 0x296a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29633
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 0x296a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29667
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 0x296a7
movq -0x210(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8260
jmp 0x296a7
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)