// File: yasz24[P]eau2/src/network/../serialize/../utils/distributedArray.h
// Function: StringDistributedArray::StringDistributedArray(char*, KVStore*)
StringDistributedArray(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 StringArray(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 0x114d3(%rip), %rcx     # 0x3b2d8
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 0x29e3b
movq -0x130(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0x140(%rbp)
jmp 0x29e58
movq -0x140(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x148(%rbp)
jmp 0x29e71
movq -0x148(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq 0x27c9(%rip), %rdi      # 0x2c650
callq 0x12db0
movq %rax, -0x150(%rbp)
jmp 0x29e95
movq -0x150(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x158(%rbp)
jmp 0x29eae
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 0x29ed7
xorl %eax, %eax
movl %eax, %esi
leaq -0x58(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x164(%rbp)
jmp 0x29ef1
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 0x274e(%rip), %rdi      # 0x2c670
callq 0x12db0
movq %rax, -0x170(%rbp)
jmp 0x29f30
movq -0x170(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x178(%rbp)
jmp 0x29f49
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 0x29f75
xorl %eax, %eax
movl %eax, %esi
leaq -0x80(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x184(%rbp)
jmp 0x29f8f
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 0x26a4(%rip), %rdi      # 0x2c667
callq 0x12db0
movq %rax, -0x190(%rbp)
jmp 0x29fd1
movq -0x190(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x198(%rbp)
jmp 0x29fea
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 0x2a019
xorl %eax, %eax
movl %eax, %esi
leaq -0xa8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1a4(%rbp)
jmp 0x2a036
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 0x25de(%rip), %rdi      # 0x2c64b
callq 0x12db0
movq %rax, -0x1b0(%rbp)
jmp 0x2a07b
movq -0x1b0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1b8(%rbp)
jmp 0x2a094
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 0x2a0c3
xorl %eax, %eax
movl %eax, %esi
leaq -0xd0(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1c4(%rbp)
jmp 0x2a0e0
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 0x2479(%rip), %rdi      # 0x2c590
callq 0x12db0
movq %rax, -0x1d0(%rbp)
jmp 0x2a125
movq -0x1d0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1d8(%rbp)
jmp 0x2a13e
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 0x2a16d
xorl %eax, %eax
movl %eax, %esi
leaq -0xf8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1e4(%rbp)
jmp 0x2a18a
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 0x249a(%rip), %rdi      # 0x2c65b
callq 0x12db0
movq %rax, -0x1f0(%rbp)
jmp 0x2a1cf
movq -0x1f0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1f8(%rbp)
jmp 0x2a1e8
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 0x2a217
xorl %eax, %eax
movl %eax, %esi
leaq -0x120(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x204(%rbp)
jmp 0x2a234
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 0x2a273
movq -0x38(%rbp), %rsi
leaq 0x23fe(%rip), %rdi      # 0x2c67c
callq 0x12db0
movq %rax, -0x218(%rbp)
jmp 0x2a28c
movq -0x218(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x220(%rbp)
jmp 0x2a2a5
movq -0x220(%rbp), %rsi
movq -0x210(%rbp), %rdi
callq 0x23c70
jmp 0x2a2ba
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 0x2a2e7
movq -0x38(%rbp), %rsi
leaq 0x2390(%rip), %rdi      # 0x2c682
callq 0x12db0
movq %rax, -0x230(%rbp)
jmp 0x2a300
movq -0x230(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x238(%rbp)
jmp 0x2a319
movq -0x238(%rbp), %rsi
movq -0x228(%rbp), %rdi
callq 0x17f50
jmp 0x2a32e
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 0x2a4c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2a37d
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 0x2a4c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2a3ae
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 0x2a4c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2a3e5
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 0x2a4c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2a41c
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 0x2a4c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2a453
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 0x2a4c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2a487
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 0x2a4c7
movq -0x210(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8260
jmp 0x2a4c7
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)