// File: yasz24[P]eau2/src/network/../serialize/../utils/distributedArray.h
// Function: IntDistributedArray::IntDistributedArray(char*, KVStore*)
IntDistributedArray(char* serialized, KVStore* kv) {
        //std::cout << serialized <<"\n";
        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 IntArray(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 0x12eab(%rip), %rcx     # 0x3b070
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 0x281fb
movq -0x130(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0x140(%rbp)
jmp 0x28218
movq -0x140(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x148(%rbp)
jmp 0x28231
movq -0x148(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq 0x4409(%rip), %rdi      # 0x2c650
callq 0x12db0
movq %rax, -0x150(%rbp)
jmp 0x28255
movq -0x150(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x158(%rbp)
jmp 0x2826e
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 0x28297
xorl %eax, %eax
movl %eax, %esi
leaq -0x58(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x164(%rbp)
jmp 0x282b1
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 0x438e(%rip), %rdi      # 0x2c670
callq 0x12db0
movq %rax, -0x170(%rbp)
jmp 0x282f0
movq -0x170(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x178(%rbp)
jmp 0x28309
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 0x28335
xorl %eax, %eax
movl %eax, %esi
leaq -0x80(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x184(%rbp)
jmp 0x2834f
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 0x42e4(%rip), %rdi      # 0x2c667
callq 0x12db0
movq %rax, -0x190(%rbp)
jmp 0x28391
movq -0x190(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x198(%rbp)
jmp 0x283aa
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 0x283d9
xorl %eax, %eax
movl %eax, %esi
leaq -0xa8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1a4(%rbp)
jmp 0x283f6
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 0x421e(%rip), %rdi      # 0x2c64b
callq 0x12db0
movq %rax, -0x1b0(%rbp)
jmp 0x2843b
movq -0x1b0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1b8(%rbp)
jmp 0x28454
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 0x28483
xorl %eax, %eax
movl %eax, %esi
leaq -0xd0(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1c4(%rbp)
jmp 0x284a0
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 0x40b9(%rip), %rdi      # 0x2c590
callq 0x12db0
movq %rax, -0x1d0(%rbp)
jmp 0x284e5
movq -0x1d0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1d8(%rbp)
jmp 0x284fe
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 0x2852d
xorl %eax, %eax
movl %eax, %esi
leaq -0xf8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1e4(%rbp)
jmp 0x2854a
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 0x40da(%rip), %rdi      # 0x2c65b
callq 0x12db0
movq %rax, -0x1f0(%rbp)
jmp 0x2858f
movq -0x1f0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1f8(%rbp)
jmp 0x285a8
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 0x285d7
xorl %eax, %eax
movl %eax, %esi
leaq -0x120(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x204(%rbp)
jmp 0x285f4
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 0x28633
movq -0x38(%rbp), %rsi
leaq 0x403e(%rip), %rdi      # 0x2c67c
callq 0x12db0
movq %rax, -0x218(%rbp)
jmp 0x2864c
movq -0x218(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x220(%rbp)
jmp 0x28665
movq -0x220(%rbp), %rsi
movq -0x210(%rbp), %rdi
callq 0x23c70
jmp 0x2867a
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 0x286a7
movq -0x38(%rbp), %rsi
leaq 0x3fd0(%rip), %rdi      # 0x2c682
callq 0x12db0
movq %rax, -0x230(%rbp)
jmp 0x286c0
movq -0x230(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x238(%rbp)
jmp 0x286d9
movq -0x238(%rbp), %rsi
movq -0x228(%rbp), %rdi
callq 0x15d70
jmp 0x286ee
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 0x28887
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2873d
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 0x28887
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2876e
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 0x28887
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x287a5
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 0x28887
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x287dc
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 0x28887
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x28813
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 0x28887
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x28847
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 0x28887
movq -0x210(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8260
jmp 0x28887
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)