// File: /workspace/github_cpp_makefile_star2_O1/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 %rdi, %rbx
movq $0x0, 0x8(%rdi)
leaq 0x11bdb(%rip), %rax     # 0x28720
movq %rax, (%rdi)
movq %rsi, %rdi
callq 0xc9f0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq 0x6804(%rip), %rdi      # 0x1d364
movq %rax, -0x38(%rbp)
movq %rax, %rsi
callq 0xcb92
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), %r14d
movl $0x0, (%rax)
leaq -0x60(%rbp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r12, (%r13)
je 0x16d4c
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x16d58
movl (%r15), %ecx
cmpl $0x22, %ecx
je 0x16d58
testl %ecx, %ecx
jne 0x16bd7
movl %r14d, (%r15)
cltq
movq %rax, 0x20(%rbx)
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16bef
callq 0x7200
leaq 0x6870(%rip), %rdi      # 0x1d466
movq -0x38(%rbp), %rsi
callq 0xcb92
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), %r14
movq %r13, %rdi
movq %r14, %rsi
movl $0xa, %edx
callq 0x72f0
cmpq %r13, (%r14)
je 0x16d64
movq %rax, %r12
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%r12), %rcx
cmpq %rax, %rcx
jb 0x16d70
movl (%r15), %eax
cmpl $0x22, %eax
je 0x16d70
testl %eax, %eax
jne 0x16c7a
movl -0x30(%rbp), %eax
movl %eax, (%r15)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x16c8c
callq 0x7200
movslq %r12d, %r13
movq %r13, 0x18(%rbx)
leaq 0x66d5(%rip), %rdi      # 0x1d36f
movq -0x38(%rbp), %rsi
callq 0xcb92
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 0x11a55(%rip), %rax     # 0x28720
movq %rax, (%r14)
movq %r13, %rax
shrq $0x3d, %rax
leaq (,%r13,8), %rcx
xorl %edi, %edi
negq %rax
sbbq %rdi, %rdi
orq %rcx, %rdi
callq 0x7030
movq %rax, 0x10(%r14)
movq %r13, 0x20(%r14)
movq $0x0, 0x18(%r14)
testl %r12d, %r12d
jle 0x16d35
xorl %r13d, %r13d
movq %r15, %rdi
movl %r13d, %esi
callq 0xcfc4
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %rsi
callq 0x14b60
movq (%r14), %rcx
movq %r14, %rdi
movq %rax, %rsi
callq *0x58(%rcx)
incl %r13d
cmpl %r13d, %r12d
jne 0x16d05
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x63ac(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x63a0(%rip), %rdi      # 0x1d0ff
callq 0x7310
leaq 0x6394(%rip), %rdi      # 0x1d0ff
callq 0x7140
leaq 0x6388(%rip), %rdi      # 0x1d0ff
callq 0x7310
movq %rax, %rbx
movq %r14, %rdi
jmp 0x16dbc
jmp 0x16dc3
jmp 0x16dc3
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x16d97
movl -0x30(%rbp), %eax
movl %eax, (%r15)
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
jmp 0x16db7
jmp 0x16dc3
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x16daf
movl %r14d, (%r15)
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16dc6
callq 0x7200
jmp 0x16dc6
movq %rax, %rbx
movq %rbx, %rdi
callq 0x73b0