// File: /workspace/github_c_makefile_star2_O0/gplessis[P]dotdeb-redis/src/rdb.c
// Function: rdbLoadObject
robj *rdbLoadObject(int rdbtype, rio *rdb) {
    robj *o = NULL, *ele, *dec;
    size_t len;
    unsigned int i;

    if (rdbtype == RDB_TYPE_STRING) {
        /* Read string value */
        if ((o = rdbLoadEncodedStringObject(rdb)) == NULL) return NULL;
        o = tryObjectEncoding(o);
    } else if (rdbtype == RDB_TYPE_LIST) {
        /* Read list value */
        if ((len = rdbLoadLen(rdb,NULL)) == RDB_LENERR) return NULL;

        o = createQuicklistObject();
        quicklistSetOptions(o->ptr, server.list_max_ziplist_size,
                            server.list_compress_depth);

        /* Load every single element of the list */
        while(len--) {
            if ((ele = rdbLoadEncodedStringObject(rdb)) == NULL) return NULL;
            dec = getDecodedObject(ele);
            size_t len = sdslen(dec->ptr);
            quicklistPushTail(o->ptr, dec->ptr, len);
            decrRefCount(dec);
            decrRefCount(ele);
        }
    } else if (rdbtype == RDB_TYPE_SET) {
        /* Read list/set value */
        if ((len = rdbLoadLen(rdb,NULL)) == RDB_LENERR) return NULL;

        /* Use a regular set when there are too many entries. */
        if (len > server.set_max_intset_entries) {
            o = createSetObject();
            /* It's faster to expand the dict to the right size asap in order
             * to avoid rehashing */
            if (len > DICT_HT_INITIAL_SIZE)
                dictExpand(o->ptr,len);
        } else {
            o = createIntsetObject();
        }

        /* Load every single element of the list/set */
        for (i = 0; i < len; i++) {
            long long llval;
            if ((ele = rdbLoadEncodedStringObject(rdb)) == NULL) return NULL;
            ele = tryObjectEncoding(ele);

            if (o->encoding == OBJ_ENCODING_INTSET) {
                /* Fetch integer value from element */
                if (isObjectRepresentableAsLongLong(ele,&llval) == C_OK) {
                    o->ptr = intsetAdd(o->ptr,llval,NULL);
                } else {
                    setTypeConvert(o,OBJ_ENCODING_HT);
                    dictExpand(o->ptr,len);
                }
            }

            /* This will also be called when the set was just converted
             * to a regular hash table encoded set */
            if (o->encoding == OBJ_ENCODING_HT) {
                dictAdd((dict*)o->ptr,ele,NULL);
            } else {
                decrRefCount(ele);
            }
        }
    } else if (rdbtype == RDB_TYPE_ZSET) {
        /* Read list/set value */
        size_t zsetlen;
        size_t maxelelen = 0;
        zset *zs;

        if ((zsetlen = rdbLoadLen(rdb,NULL)) == RDB_LENERR) return NULL;
        o = createZsetObject();
        zs = o->ptr;

        /* Load every single element of the list/set */
        while(zsetlen--) {
            robj *ele;
            double score;
            zskiplistNode *znode;

            if ((ele = rdbLoadEncodedStringObject(rdb)) == NULL) return NULL;
            ele = tryObjectEncoding(ele);
            if (rdbLoadDoubleValue(rdb,&score) == -1) return NULL;

            /* Don't care about integer-encoded strings. */
            if (sdsEncodedObject(ele) && sdslen(ele->ptr) > maxelelen)
                maxelelen = sdslen(ele->ptr);

            znode = zslInsert(zs->zsl,score,ele);
            dictAdd(zs->dict,ele,&znode->score);
            incrRefCount(ele); /* added to skiplist */
        }

        /* Convert *after* loading, since sorted sets are not stored ordered. */
        if (zsetLength(o) <= server.zset_max_ziplist_entries &&
            maxelelen <= server.zset_max_ziplist_value)
                zsetConvert(o,OBJ_ENCODING_ZIPLIST);
    } else if (rdbtype == RDB_TYPE_HASH) {
        size_t len;
        int ret;

        len = rdbLoadLen(rdb, NULL);
        if (len == RDB_LENERR) return NULL;

        o = createHashObject();

        /* Too many entries? Use a hash table. */
        if (len > server.hash_max_ziplist_entries)
            hashTypeConvert(o, OBJ_ENCODING_HT);

        /* Load every field and value into the ziplist */
        while (o->encoding == OBJ_ENCODING_ZIPLIST && len > 0) {
            robj *field, *value;

            len--;
            /* Load raw strings */
            field = rdbLoadStringObject(rdb);
            if (field == NULL) return NULL;
            serverAssert(sdsEncodedObject(field));
            value = rdbLoadStringObject(rdb);
            if (value == NULL) return NULL;
            serverAssert(sdsEncodedObject(value));

            /* Add pair to ziplist */
            o->ptr = ziplistPush(o->ptr, field->ptr, sdslen(field->ptr), ZIPLIST_TAIL);
            o->ptr = ziplistPush(o->ptr, value->ptr, sdslen(value->ptr), ZIPLIST_TAIL);
            /* Convert to hash table if size threshold is exceeded */
            if (sdslen(field->ptr) > server.hash_max_ziplist_value ||
                sdslen(value->ptr) > server.hash_max_ziplist_value)
            {
                decrRefCount(field);
                decrRefCount(value);
                hashTypeConvert(o, OBJ_ENCODING_HT);
                break;
            }
            decrRefCount(field);
            decrRefCount(value);
        }

        /* Load remaining fields and values into the hash table */
        while (o->encoding == OBJ_ENCODING_HT && len > 0) {
            robj *field, *value;

            len--;
            /* Load encoded strings */
            field = rdbLoadEncodedStringObject(rdb);
            if (field == NULL) return NULL;
            value = rdbLoadEncodedStringObject(rdb);
            if (value == NULL) return NULL;

            field = tryObjectEncoding(field);
            value = tryObjectEncoding(value);

            /* Add pair to hash table */
            ret = dictAdd((dict*)o->ptr, field, value);
            if (ret == DICT_ERR) {
                rdbExitReportCorruptRDB("Duplicate keys detected");
            }
        }

        /* All pairs should be read by now */
        serverAssert(len == 0);
    } else if (rdbtype == RDB_TYPE_LIST_QUICKLIST) {
        if ((len = rdbLoadLen(rdb,NULL)) == RDB_LENERR) return NULL;
        o = createQuicklistObject();
        quicklistSetOptions(o->ptr, server.list_max_ziplist_size,
                            server.list_compress_depth);

        while (len--) {
            unsigned char *zl = rdbGenericLoadStringObject(rdb,RDB_LOAD_PLAIN);
            if (zl == NULL) return NULL;
            quicklistAppendZiplist(o->ptr, zl);
        }
    } else if (rdbtype == RDB_TYPE_HASH_ZIPMAP  ||
               rdbtype == RDB_TYPE_LIST_ZIPLIST ||
               rdbtype == RDB_TYPE_SET_INTSET   ||
               rdbtype == RDB_TYPE_ZSET_ZIPLIST ||
               rdbtype == RDB_TYPE_HASH_ZIPLIST)
    {
        unsigned char *encoded = rdbGenericLoadStringObject(rdb,RDB_LOAD_PLAIN);
        if (encoded == NULL) return NULL;
        o = createObject(OBJ_STRING,encoded); /* Obj type fixed below. */

        /* Fix the object encoding, and make sure to convert the encoded
         * data type into the base type if accordingly to the current
         * configuration there are too many elements in the encoded data
         * type. Note that we only check the length and not max element
         * size as this is an O(N) scan. Eventually everything will get
         * converted. */
        switch(rdbtype) {
            case RDB_TYPE_HASH_ZIPMAP:
                /* Convert to ziplist encoded hash. This must be deprecated
                 * when loading dumps created by Redis 2.4 gets deprecated. */
                {
                    unsigned char *zl = ziplistNew();
                    unsigned char *zi = zipmapRewind(o->ptr);
                    unsigned char *fstr, *vstr;
                    unsigned int flen, vlen;
                    unsigned int maxlen = 0;

                    while ((zi = zipmapNext(zi, &fstr, &flen, &vstr, &vlen)) != NULL) {
                        if (flen > maxlen) maxlen = flen;
                        if (vlen > maxlen) maxlen = vlen;
                        zl = ziplistPush(zl, fstr, flen, ZIPLIST_TAIL);
                        zl = ziplistPush(zl, vstr, vlen, ZIPLIST_TAIL);
                    }

                    zfree(o->ptr);
                    o->ptr = zl;
                    o->type = OBJ_HASH;
                    o->encoding = OBJ_ENCODING_ZIPLIST;

                    if (hashTypeLength(o) > server.hash_max_ziplist_entries ||
                        maxlen > server.hash_max_ziplist_value)
                    {
                        hashTypeConvert(o, OBJ_ENCODING_HT);
                    }
                }
                break;
            case RDB_TYPE_LIST_ZIPLIST:
                o->type = OBJ_LIST;
                o->encoding = OBJ_ENCODING_ZIPLIST;
                listTypeConvert(o,OBJ_ENCODING_QUICKLIST);
                break;
            case RDB_TYPE_SET_INTSET:
                o->type = OBJ_SET;
                o->encoding = OBJ_ENCODING_INTSET;
                if (intsetLen(o->ptr) > server.set_max_intset_entries)
                    setTypeConvert(o,OBJ_ENCODING_HT);
                break;
            case RDB_TYPE_ZSET_ZIPLIST:
                o->type = OBJ_ZSET;
                o->encoding = OBJ_ENCODING_ZIPLIST;
                if (zsetLength(o) > server.zset_max_ziplist_entries)
                    zsetConvert(o,OBJ_ENCODING_SKIPLIST);
                break;
            case RDB_TYPE_HASH_ZIPLIST:
                o->type = OBJ_HASH;
                o->encoding = OBJ_ENCODING_ZIPLIST;
                if (hashTypeLength(o) > server.hash_max_ziplist_entries)
                    hashTypeConvert(o, OBJ_ENCODING_HT);
                break;
            default:
                rdbExitReportCorruptRDB("Unknown RDB encoding type %d",rdbtype);
                break;
        }
    } else {
        rdbExitReportCorruptRDB("Unknown RDB encoding type %d",rdbtype);
    }
    return o;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movl %edi, -0xc(%rbp)
movq %rsi, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0x55682
movq -0x18(%rbp), %rdi
callq 0x53c00
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
jne 0x55670
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x20(%rbp), %rdi
callq 0x491b0
movq %rax, -0x20(%rbp)
jmp 0x5624e
cmpl $0x1, -0xc(%rbp)
jne 0x5576b
movq -0x18(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x52f10
movl %eax, %eax
movq %rax, -0x38(%rbp)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
jne 0x556b6
movq $0x0, -0x8(%rbp)
jmp 0x56256
callq 0x48b30
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x122b0a(%rip), %rax    # 0x1781d8
movl 0x970(%rax), %esi
leaq 0x122afd(%rip), %rax    # 0x1781d8
movl 0x974(%rax), %edx
callq 0x277c0
movq -0x38(%rbp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, -0x38(%rbp)
cmpq $0x0, %rax
je 0x55766
movq -0x18(%rbp), %rdi
callq 0x53c00
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
jne 0x5571b
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x28(%rbp), %rdi
callq 0x494f0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x539e0
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x48(%rbp), %rdx
callq 0x28260
movq -0x30(%rbp), %rdi
callq 0x48f70
movq -0x28(%rbp), %rdi
callq 0x48f70
jmp 0x556e6
jmp 0x5624c
cmpl $0x2, -0xc(%rbp)
jne 0x558cc
movq -0x18(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x52f10
movl %eax, %eax
movq %rax, -0x38(%rbp)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
jne 0x5579f
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x38(%rbp), %rax
leaq 0x122a2e(%rip), %rcx    # 0x1781d8
cmpq 0x950(%rcx), %rax
jbe 0x557d6
callq 0x48bc0
movq %rax, -0x20(%rbp)
cmpq $0x4, -0x38(%rbp)
jbe 0x557d4
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x38(%rbp), %rsi
callq 0x2d440
jmp 0x557df
callq 0x48c10
movq %rax, -0x20(%rbp)
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpq -0x38(%rbp), %rax
jae 0x558c7
movq -0x18(%rbp), %rdi
callq 0x53c00
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
jne 0x55813
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x28(%rbp), %rdi
callq 0x491b0
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x6, %eax
jne 0x55886
movq -0x28(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x490f0
cmpl $0x0, %eax
jne 0x55865
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x50(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x7b2f0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
jmp 0x55884
movq -0x20(%rbp), %rdi
movl $0x2, %esi
callq 0x5b8d0
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x38(%rbp), %rsi
callq 0x2d440
jmp 0x55886
movq -0x20(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x2, %eax
jne 0x558ae
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x28(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x2d8c0
jmp 0x558b7
movq -0x28(%rbp), %rdi
callq 0x48f70
jmp 0x558b9
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x557e6
jmp 0x5624a
cmpl $0x3, -0xc(%rbp)
jne 0x55a4a
movq $0x0, -0x60(%rbp)
movq -0x18(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x52f10
movl %eax, %eax
movq %rax, -0x58(%rbp)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
jne 0x55908
movq $0x0, -0x8(%rbp)
jmp 0x56256
callq 0x48c90
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x58(%rbp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, -0x58(%rbp)
cmpq $0x0, %rax
je 0x55a08
movq -0x18(%rbp), %rdi
callq 0x53c00
movq %rax, -0x70(%rbp)
cmpq $0x0, %rax
jne 0x55956
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x70(%rbp), %rdi
callq 0x491b0
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x53d20
cmpl $-0x1, %eax
jne 0x55982
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x70(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x0, %eax
je 0x559a4
movq -0x70(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x559c8
movq -0x70(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x539e0
cmpq -0x60(%rbp), %rax
jbe 0x559c8
movq -0x70(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x539e0
movq %rax, -0x60(%rbp)
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
movsd -0x78(%rbp), %xmm0
movq -0x70(%rbp), %rsi
callq 0x5e160
movq %rax, -0x80(%rbp)
movq -0x68(%rbp), %rax
movq (%rax), %rdi
movq -0x70(%rbp), %rsi
movq -0x80(%rbp), %rdx
addq $0x8, %rdx
callq 0x2d8c0
movq -0x70(%rbp), %rdi
callq 0x487b0
jmp 0x5591d
movq -0x20(%rbp), %rdi
callq 0x61060
movl %eax, %eax
leaq 0x1227be(%rip), %rcx    # 0x1781d8
cmpq 0x958(%rcx), %rax
ja 0x55a45
movq -0x60(%rbp), %rax
leaq 0x1227aa(%rip), %rcx    # 0x1781d8
cmpq 0x960(%rcx), %rax
ja 0x55a45
movq -0x20(%rbp), %rdi
movl $0x5, %esi
callq 0x610f0
jmp 0x56248
cmpl $0x4, -0xc(%rbp)
jne 0x55e4d
movq -0x18(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x52f10
movl %eax, %eax
movq %rax, -0x88(%rbp)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpq %rax, -0x88(%rbp)
jne 0x55a85
movq $0x0, -0x8(%rbp)
jmp 0x56256
callq 0x48c50
movq %rax, -0x20(%rbp)
movq -0x88(%rbp), %rax
leaq 0x12273c(%rip), %rcx    # 0x1781d8
cmpq 0x940(%rcx), %rax
jbe 0x55ab3
movq -0x20(%rbp), %rdi
movl $0x2, %esi
callq 0x663b0
jmp 0x55ab5
movq -0x20(%rbp), %rax
movl (%rax), %ecx
shrl $0x4, %ecx
andl $0xf, %ecx
xorl %eax, %eax
cmpl $0x5, %ecx
movb %al, -0xed(%rbp)
jne 0x55adf
cmpq $0x0, -0x88(%rbp)
seta %al
movb %al, -0xed(%rbp)
movb -0xed(%rbp), %al
testb $0x1, %al
jne 0x55aee
jmp 0x55d17
movq -0x88(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rdi
callq 0x53be0
movq %rax, -0x98(%rbp)
cmpq $0x0, -0x98(%rbp)
jne 0x55b27
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x98(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x0, %eax
je 0x55b4f
movq -0x98(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x55b51
jmp 0x55b73
leaq 0xe7875(%rip), %rdi     # 0x13d3cd
leaq 0xe7642(%rip), %rsi     # 0x13d1a1
movl $0x446, %edx            # imm = 0x446
callq 0x76ce0
movl $0x1, %edi
callq 0x263c0
movq -0x18(%rbp), %rdi
callq 0x53be0
movq %rax, -0xa0(%rbp)
cmpq $0x0, -0xa0(%rbp)
jne 0x55b9a
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0xa0(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x0, %eax
je 0x55bc2
movq -0xa0(%rbp), %rax
movl (%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x55bc4
jmp 0x55be6
leaq 0xe781a(%rip), %rdi     # 0x13d3e5
leaq 0xe75cf(%rip), %rsi     # 0x13d1a1
movl $0x449, %edx            # imm = 0x449
callq 0x76ce0
movl $0x1, %edi
callq 0x263c0
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x110(%rbp)
movq -0x98(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x108(%rbp)
movq -0x98(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x539e0
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
movl %eax, %edx
movl $0x1, %ecx
callq 0x410b0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x100(%rbp)
movq -0xa0(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xf8(%rbp)
movq -0xa0(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x539e0
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
movl %eax, %edx
movl $0x1, %ecx
callq 0x410b0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x98(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x539e0
leaq 0x12252f(%rip), %rcx    # 0x1781d8
cmpq 0x948(%rcx), %rax
ja 0x55cd2
movq -0xa0(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x539e0
leaq 0x12250f(%rip), %rcx    # 0x1781d8
cmpq 0x948(%rcx), %rax
jbe 0x55cfa
movq -0x98(%rbp), %rdi
callq 0x48f70
movq -0xa0(%rbp), %rdi
callq 0x48f70
movq -0x20(%rbp), %rdi
movl $0x2, %esi
callq 0x663b0
jmp 0x55d17
movq -0x98(%rbp), %rdi
callq 0x48f70
movq -0xa0(%rbp), %rdi
callq 0x48f70
jmp 0x55ab5
jmp 0x55d19
movq -0x20(%rbp), %rax
movl (%rax), %ecx
shrl $0x4, %ecx
andl $0xf, %ecx
xorl %eax, %eax
cmpl $0x2, %ecx
movb %al, -0x111(%rbp)
jne 0x55d43
cmpq $0x0, -0x88(%rbp)
seta %al
movb %al, -0x111(%rbp)
movb -0x111(%rbp), %al
testb $0x1, %al
jne 0x55d52
jmp 0x55e1a
movq -0x88(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rdi
callq 0x53c00
movq %rax, -0xa8(%rbp)
cmpq $0x0, -0xa8(%rbp)
jne 0x55d8b
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x18(%rbp), %rdi
callq 0x53c00
movq %rax, -0xb0(%rbp)
cmpq $0x0, -0xb0(%rbp)
jne 0x55db2
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0xa8(%rbp), %rdi
callq 0x491b0
movq %rax, -0xa8(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x491b0
movq %rax, -0xb0(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0xa8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
callq 0x2d8c0
movl %eax, -0x8c(%rbp)
cmpl $0x1, -0x8c(%rbp)
jne 0x55e15
movl $0x46c, %edi            # imm = 0x46C
leaq 0xe75ef(%rip), %rsi     # 0x13d3fd
movb $0x0, %al
callq 0x52a50
jmp 0x55d19
cmpq $0x0, -0x88(%rbp)
jne 0x55e26
jmp 0x55e48
leaq 0xe75e8(%rip), %rdi     # 0x13d415
leaq 0xe736d(%rip), %rsi     # 0x13d1a1
movl $0x471, %edx            # imm = 0x471
callq 0x76ce0
movl $0x1, %edi
callq 0x263c0
jmp 0x56246
cmpl $0xe, -0xc(%rbp)
jne 0x55f0d
movq -0x18(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x52f10
movl %eax, %eax
movq %rax, -0x38(%rbp)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
jne 0x55e81
movq $0x0, -0x8(%rbp)
jmp 0x56256
callq 0x48b30
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x12233f(%rip), %rax    # 0x1781d8
movl 0x970(%rax), %esi
leaq 0x122332(%rip), %rax    # 0x1781d8
movl 0x974(%rax), %edx
callq 0x277c0
movq -0x38(%rbp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, -0x38(%rbp)
cmpq $0x0, %rax
je 0x55f08
movq -0x18(%rbp), %rdi
movl $0x2, %esi
callq 0x53a70
movq %rax, -0xb8(%rbp)
cmpq $0x0, -0xb8(%rbp)
jne 0x55ef2
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0xb8(%rbp), %rsi
callq 0x283c0
jmp 0x55eb1
jmp 0x56244
cmpl $0x9, -0xc(%rbp)
je 0x55f2f
cmpl $0xa, -0xc(%rbp)
je 0x55f2f
cmpl $0xb, -0xc(%rbp)
je 0x55f2f
cmpl $0xc, -0xc(%rbp)
je 0x55f2f
cmpl $0xd, -0xc(%rbp)
jne 0x5622c
movq -0x18(%rbp), %rdi
movl $0x2, %esi
callq 0x53a70
movq %rax, -0xc0(%rbp)
cmpq $0x0, -0xc0(%rbp)
jne 0x55f5b
movq $0x0, -0x8(%rbp)
jmp 0x56256
movq -0xc0(%rbp), %rsi
xorl %edi, %edi
callq 0x48480
movq %rax, -0x20(%rbp)
movl -0xc(%rbp), %eax
addl $-0x9, %eax
movl %eax, %ecx
movq %rcx, -0x120(%rbp)
subl $0x4, %eax
ja 0x56214
movq -0x120(%rbp), %rax
leaq 0xe713d(%rip), %rcx     # 0x13d0d0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
callq 0x40630
movq %rax, -0xc8(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x3d7e0
movq %rax, -0xd0(%rbp)
movl $0x0, -0xec(%rbp)
movq -0xd0(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
leaq -0xe4(%rbp), %rdx
leaq -0xe0(%rbp), %rcx
leaq -0xe8(%rbp), %r8
callq 0x3d800
movq %rax, -0xd0(%rbp)
cmpq $0x0, %rax
je 0x56082
movl -0xe4(%rbp), %eax
cmpl -0xec(%rbp), %eax
jbe 0x56019
movl -0xe4(%rbp), %eax
movl %eax, -0xec(%rbp)
movl -0xe8(%rbp), %eax
cmpl -0xec(%rbp), %eax
jbe 0x56033
movl -0xe8(%rbp), %eax
movl %eax, -0xec(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xd8(%rbp), %rsi
movl -0xe4(%rbp), %edx
movl $0x1, %ecx
callq 0x410b0
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movl -0xe8(%rbp), %edx
movl $0x1, %ecx
callq 0x410b0
movq %rax, -0xc8(%rbp)
jmp 0x55fc6
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x3afa0
movq -0xc8(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x4, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $0xffffff0f, %ecx       # imm = 0xFFFFFF0F
orl $0x50, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rdi
callq 0x66c10
leaq 0x12210b(%rip), %rcx    # 0x1781d8
cmpq 0x940(%rcx), %rax
ja 0x560ec
movl -0xec(%rbp), %eax
leaq 0x1220f5(%rip), %rcx    # 0x1781d8
cmpq 0x948(%rcx), %rax
jbe 0x560fa
movq -0x20(%rbp), %rdi
movl $0x2, %esi
callq 0x663b0
jmp 0x5622a
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x1, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $0xffffff0f, %ecx       # imm = 0xFFFFFF0F
orl $0x50, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rdi
movl $0x9, %esi
callq 0x595e0
jmp 0x5622a
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x2, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $0xffffff0f, %ecx       # imm = 0xFFFFFF0F
orl $0x60, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x7ba20
movl %eax, %eax
leaq 0x122072(%rip), %rcx    # 0x1781d8
cmpq 0x950(%rcx), %rax
jbe 0x5617d
movq -0x20(%rbp), %rdi
movl $0x2, %esi
callq 0x5b8d0
jmp 0x5622a
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x3, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $0xffffff0f, %ecx       # imm = 0xFFFFFF0F
orl $0x50, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rdi
callq 0x61060
movl %eax, %eax
leaq 0x122025(%rip), %rcx    # 0x1781d8
cmpq 0x958(%rcx), %rax
jbe 0x561ca
movq -0x20(%rbp), %rdi
movl $0x7, %esi
callq 0x610f0
jmp 0x5622a
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x4, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
andl $0xffffff0f, %ecx       # imm = 0xFFFFFF0F
orl $0x50, %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rdi
callq 0x66c10
leaq 0x121fdd(%rip), %rcx    # 0x1781d8
cmpq 0x940(%rcx), %rax
jbe 0x56212
movq -0x20(%rbp), %rdi
movl $0x2, %esi
callq 0x663b0
jmp 0x5622a
movl -0xc(%rbp), %edx
movl $0x4c3, %edi            # imm = 0x4C3
leaq 0xe71fb(%rip), %rsi     # 0x13d41e
movb $0x0, %al
callq 0x52a50
jmp 0x56242
movl -0xc(%rbp), %edx
movl $0x4c7, %edi            # imm = 0x4C7
leaq 0xe71e3(%rip), %rsi     # 0x13d41e
movb $0x0, %al
callq 0x52a50
jmp 0x56244
jmp 0x56246
jmp 0x56248
jmp 0x5624a
jmp 0x5624c
jmp 0x5624e
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw %cs:(%rax,%rax)