// File: /workspace/github_cpp_makefile_star2_O3/yasz24[P]eau2/src/network/../serialize/../dataframe/../store/../utils/array.h
// Function: Array::Array(char*)
Array(char* serialized) {
        Deserializable* ds = new Deserializable();
        //std::cout<<serialized<<"\n\n";
        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);
            temp->pushBack(o);
        }
        //delete temp;
        this->objs_ = temp->objs_;
        delete ds;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq $0x0, 0x8(%rdi)
leaq 0x1106e(%rip), %rax     # 0x27720
movq %rdi, -0x38(%rbp)
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc82c
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
leaq 0x6c90(%rip), %rdi      # 0x1d364
movq %rax, %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x58(%rbp), %r12
callq 0x7040
movq %rax, %r15
movl (%rax), %ebx
movl $0x0, (%rax)
leaq -0x60(%rbp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x168bf
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x168cb
movl (%r15), %ecx
cmpl $0x22, %ecx
je 0x168cb
testl %ecx, %ecx
jne 0x16746
movl %ebx, (%r15)
movq -0x38(%rbp), %rcx
movq %rax, 0x20(%rcx)
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16760
callq 0x7200
leaq 0x6cff(%rip), %rdi      # 0x1d466
movq %r14, %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70e0
movq -0x58(%rbp), %r13
movl (%r15), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%r15)
leaq -0x60(%rbp), %rbx
movq %r13, %rdi
movq %rbx, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r13, (%rbx)
je 0x168d7
movq %rax, %r12
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%r12), %rcx
cmpq %rax, %rcx
jb 0x168e3
movl (%r15), %eax
cmpl $0x22, %eax
je 0x168e3
testl %eax, %eax
jne 0x167ea
movl -0x30(%rbp), %eax
movl %eax, (%r15)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x167fc
callq 0x7200
movq -0x38(%rbp), %rax
movq %r12, 0x18(%rax)
leaq 0x6b64(%rip), %rdi      # 0x1d36f
movq %r14, %rsi
callq 0xc9a6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
movl $0x28, %edi
callq 0x7230
movq %rax, %r14
movq $0x0, 0x8(%rax)
leaq 0x10ee5(%rip), %rax     # 0x27720
movq %rax, (%r14)
movq %r12, %rax
shrq $0x3d, %rax
movq %r12, %rcx
shlq $0x3, %rcx
xorl %edi, %edi
negq %rax
sbbq %rdi, %rdi
orq %rcx, %rdi
callq 0x7030
movq %rax, 0x10(%r14)
movq %r12, 0x20(%r14)
movq $0x0, 0x18(%r14)
testl %r12d, %r12d
jle 0x168a8
xorl %r13d, %r13d
movq %r15, %rdi
movl %r13d, %esi
callq 0xcd78
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %rsi
callq 0x146f0
movq (%r14), %rcx
movq %r14, %rdi
movq %rax, %rsi
callq *0x58(%rcx)
incl %r13d
cmpl %r13d, %r12d
jne 0x16874
movq 0x10(%r14), %rax
movq -0x38(%rbp), %rcx
movq %rax, 0x10(%rcx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6839(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x682d(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x6821(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x6815(%rip), %rdi      # 0x1d0ff
callq 0x7310
movq %rax, %r12
movq %r14, %rdi
jmp 0x1692f
jmp 0x16936
jmp 0x16936
movq %rax, %r12
cmpl $0x0, (%r15)
jne 0x1690a
movl -0x30(%rbp), %eax
movl %eax, (%r15)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
jmp 0x1692a
jmp 0x16936
movq %rax, %r12
cmpl $0x0, (%r15)
jne 0x16922
movl %ebx, (%r15)
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16939
callq 0x7200
jmp 0x16939
movq %rax, %r12
movq %r12, %rdi
callq 0x73b0
nop