// File: yasz24[P]eau2/src/network/../serialize/../dataframe/../store/../utils/array.h
// Function: Array::Array(char*, KVStore*)
Array(char* serialized, KVStore* kv) {
        Deserializable* ds = new Deserializable();
        char* payload = JSONHelper::getPayloadValue(serialized)->c_str();
        arraySize_ = std::stoi(JSONHelper::getValueFromKey("arraySize_", payload)->c_str());
        int len = std::stoi(JSONHelper::getValueFromKey("listLength_", payload)->c_str());
        this->listLength_ = len;

        char* vals = JSONHelper::getValueFromKey("objs_", payload)->c_str();
        Array* temp = new Array(len);
        for(int i = 0; i < len; i++) {
            char* serial = JSONHelper::getArrayValueAt(vals, i)->c_str();
            //std::cout<<serial<<"\n";
            Object* o = ds->deserialize(serial, kv);
            temp->pushBack(o);
        }
        //delete temp;
        this->objs_ = temp->objs_;
        delete ds;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x9780
movq -0xc0(%rbp), %rax
leaq 0x12883(%rip), %rcx     # 0x3a668
movq %rcx, (%rax)
movl $0x1, %edi
callq 0x8290
movq %rax, -0xb8(%rbp)
jmp 0x27dfb
movq -0xb8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0xc8(%rbp)
jmp 0x27e18
movq -0xc8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0xd0(%rbp)
jmp 0x27e31
movq -0xd0(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq 0x45a7(%rip), %rdi      # 0x2c3ee
callq 0x12db0
movq %rax, -0xd8(%rbp)
jmp 0x27e55
movq -0xd8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0xe0(%rbp)
jmp 0x27e6e
leaq -0x59(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x8410
movq -0xe0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
leaq -0x58(%rbp), %rdi
callq 0x8310
jmp 0x27e97
xorl %eax, %eax
movl %eax, %esi
leaq -0x58(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0xec(%rbp)
jmp 0x27eb1
movq -0xc0(%rbp), %rax
movl -0xec(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x20(%rax)
leaq -0x58(%rbp), %rdi
callq 0x8190
leaq -0x59(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x460e(%rip), %rdi      # 0x2c4f0
callq 0x12db0
movq %rax, -0xf8(%rbp)
jmp 0x27ef0
movq -0xf8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x100(%rbp)
jmp 0x27f09
leaq -0x81(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x8410
movq -0x100(%rbp), %rsi
movq -0x108(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0x8310
jmp 0x27f35
xorl %eax, %eax
movl %eax, %esi
leaq -0x80(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x10c(%rbp)
jmp 0x27f4f
leaq -0x80(%rbp), %rdi
callq 0x8190
leaq -0x81(%rbp), %rdi
callq 0x82d0
movl -0x10c(%rbp), %ecx
movq -0xc0(%rbp), %rax
movl %ecx, -0x60(%rbp)
movslq -0x60(%rbp), %rcx
movq %rcx, 0x18(%rax)
movq -0x38(%rbp), %rsi
leaq 0x4472(%rip), %rdi      # 0x2c3f9
callq 0x12db0
movq %rax, -0x118(%rbp)
jmp 0x27f95
movq -0x118(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x120(%rbp)
jmp 0x27fae
movq -0x120(%rbp), %rax
movq %rax, -0x90(%rbp)
movl $0x28, %edi
callq 0x8290
movq %rax, -0x128(%rbp)
jmp 0x27fcf
movq -0x128(%rbp), %rdi
movslq -0x60(%rbp), %rsi
callq 0xe200
jmp 0x27fe1
movq -0x128(%rbp), %rax
movq %rax, -0x98(%rbp)
movl $0x0, -0x9c(%rbp)
movl -0x9c(%rbp), %eax
cmpl -0x60(%rbp), %eax
jge 0x28131
movq -0x90(%rbp), %rdi
movl -0x9c(%rbp), %esi
callq 0x13440
movq %rax, -0x130(%rbp)
jmp 0x28023
movq -0x130(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x138(%rbp)
jmp 0x2803c
movq -0x138(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x20(%rbp), %rdi
movq -0xa8(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x21400
movq %rax, -0x140(%rbp)
jmp 0x28067
movq -0x140(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x98(%rbp), %rdi
movq -0xb0(%rbp), %rsi
movq (%rdi), %rax
movq 0x58(%rax), %rax
callq *%rax
jmp 0x2808e
jmp 0x28090
movl -0x9c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c(%rbp)
jmp 0x27ff9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2816d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x280d8
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 0x2816d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x28109
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 0x2816d
movq -0x128(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8260
jmp 0x2816d
movq -0xc0(%rbp), %rax
movq -0x98(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x148(%rbp)
cmpq $0x0, %rax
je 0x28164
movq -0x148(%rbp), %rdi
callq 0x8260
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
movq -0xc0(%rbp), %rdi
callq 0x9830
movq -0x28(%rbp), %rdi
callq 0x8400
nopw %cs:(%rax,%rax)
nopl (%rax)