// File: yasz24[P]eau2/src/network/../serialize/../dataframe/../store/../utils/queue.h
// Function: Queue::Queue(char*)
Queue(char* serialized) {
    this->head_ = nullptr;
    this->tail_ = nullptr;
    this->size_ = 0;
    Deserializable* ds = new Deserializable();
    char* payload = JSONHelper::getPayloadValue(serialized)->c_str();
    size_t queueLen = std::stoi(JSONHelper::getValueFromKey("size_", payload)->c_str());
    char* vals = JSONHelper::getValueFromKey("queueObjs_", payload)->c_str();
    for(int i = 0; i < queueLen; i++) {
        char* serial = JSONHelper::getArrayValueAt(vals, i)->c_str();
        Object* o = ds->deserialize(serial);
        add(o);
    }
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x9780
movq -0x90(%rbp), %rax
leaq 0x16417(%rip), %rcx     # 0x3a828
movq %rcx, (%rax)
movq $0x0, 0x10(%rax)
movq $0x0, 0x18(%rax)
movq $0x0, 0x20(%rax)
movl $0x1, %edi
callq 0x8290
movq %rax, -0x88(%rbp)
jmp 0x2443f
movq -0x88(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0x98(%rbp)
jmp 0x2445c
movq -0x98(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0xa0(%rbp)
jmp 0x24475
movq -0xa0(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rsi
leaq 0x7fbe(%rip), %rdi      # 0x2c449
callq 0x12db0
movq %rax, -0xa8(%rbp)
jmp 0x24499
movq -0xa8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0xb0(%rbp)
jmp 0x244b2
leaq -0x59(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0x8410
movq -0xb0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
leaq -0x58(%rbp), %rdi
callq 0x8310
jmp 0x244db
xorl %eax, %eax
movl %eax, %esi
leaq -0x58(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0xbc(%rbp)
jmp 0x244f5
movl -0xbc(%rbp), %eax
cltq
movq %rax, -0xd0(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x8190
leaq -0x59(%rbp), %rdi
callq 0x82d0
movq -0xd0(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rsi
leaq 0x7f23(%rip), %rdi      # 0x2c44f
callq 0x12db0
movq %rax, -0xc8(%rbp)
jmp 0x2453a
movq -0xc8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0xd8(%rbp)
jmp 0x24553
movq -0xd8(%rbp), %rax
movq %rax, -0x68(%rbp)
movl $0x0, -0x6c(%rbp)
movslq -0x6c(%rbp), %rax
cmpq -0x38(%rbp), %rax
jae 0x2462b
movq -0x68(%rbp), %rdi
movl -0x6c(%rbp), %esi
callq 0x13440
movq %rax, -0xe0(%rbp)
jmp 0x24588
movq -0xe0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0xe8(%rbp)
jmp 0x245a1
movq -0xe8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x20680
movq %rax, -0xf0(%rbp)
jmp 0x245c2
movq -0x90(%rbp), %rdi
movq -0xf0(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rsi
callq 0xf670
jmp 0x245df
jmp 0x245e1
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x24565
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x24634
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x24620
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x8190
leaq -0x59(%rbp), %rdi
callq 0x82d0
jmp 0x24634
addq $0xf0, %rsp
popq %rbp
retq
movq -0x90(%rbp), %rdi
callq 0x9830
movq -0x20(%rbp), %rdi
callq 0x8400
nopl (%rax)