// File: /workspace/github_c_makefile_star2_O2/nilyang[P]redis-tdd-annotation/src/rdb.c
// Function: rdbLoadObject
robj *rdbLoadObject(int rdbtype, rio *rdb) {
    robj *o, *ele, *dec;
    size_t len;
    unsigned int i;

    // 载入字符串对象
    if (rdbtype == REDIS_RDB_TYPE_STRING) {
        /* Read string value */
        if ((o = rdbLoadEncodedStringObject(rdb)) == NULL) return NULL;
        o = tryObjectEncoding(o);

    // 载入列表对象
    } else if (rdbtype == REDIS_RDB_TYPE_LIST) {

        /* Read list value 
         *
         * 读入列表的节点数
         */
        if ((len = rdbLoadLen(rdb,NULL)) == REDIS_RDB_LENERR) return NULL;

        /* Use a real list when there are too many entries 
         *
         * 根据节点数，创建对象的编码
         */
        if (len > server.list_max_ziplist_entries) {
            o = createListObject();
        } else {
            o = createZiplistObject();
        }

        /* Load every single element of the list 
         *
         * 载入所有列表项
         */
        while(len--) {

            // 载入字符串对象
            if ((ele = rdbLoadEncodedStringObject(rdb)) == NULL) return NULL;

            /* If we are using a ziplist and the value is too big, convert
             * the object to a real list. 
             *
             * 根据字符串对象，
             * 检查是否需要将列表从 ZIPLIST 编码转换为 LINKEDLIST 编码
             */
            if (o->encoding == REDIS_ENCODING_ZIPLIST &&
                sdsEncodedObject(ele) &&
                sdslen(ele->ptr) > server.list_max_ziplist_value)
                    listTypeConvert(o,REDIS_ENCODING_LINKEDLIST);

            // ZIPLIST
            if (o->encoding == REDIS_ENCODING_ZIPLIST) {
                dec = getDecodedObject(ele);

                // 将字符串值推入 ZIPLIST 末尾来重建列表
                o->ptr = ziplistPush(o->ptr,dec->ptr,sdslen(dec->ptr),REDIS_TAIL);

                decrRefCount(dec);
                decrRefCount(ele);
            } else {
                // 将新列表项推入到链表的末尾
                ele = tryObjectEncoding(ele);
                listAddNodeTail(o->ptr,ele);
            }
        }

    // 载入集合对象
    } else if (rdbtype == REDIS_RDB_TYPE_SET) {

        /* Read list/set value 
         *
         * 载入列表元素的数量
         */
        if ((len = rdbLoadLen(rdb,NULL)) == REDIS_RDB_LENERR) return NULL;

        /* Use a regular set when there are too many entries. 
         *
         * 根据数量，选择 INTSET 编码还是 HT 编码*/
        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);

            // 将元素添加到 INTSET 集合，并在有需要的时候，转换编码为 HT
            if (o->encoding == REDIS_ENCODING_INTSET) {
                /* Fetch integer value from element */
                if (isObjectRepresentableAsLongLong(ele,&llval) == REDIS_OK) {
                    o->ptr = intsetAdd(o->ptr,llval,NULL);
                } else {
                    setTypeConvert(o,REDIS_ENCODING_HT);
                    dictExpand(o->ptr,len);
                }
            }

            /* This will also be called when the set was just converted
             * to a regular hash table encoded set 
             *
             * 将元素添加到 HT 编码的集合
             */
            if (o->encoding == REDIS_ENCODING_HT) {
                dictAdd((dict*)o->ptr,ele,NULL);
            } else {
                decrRefCount(ele);
            }
        }

    // 载入有序集合对象
    } else if (rdbtype == REDIS_RDB_TYPE_ZSET) {
        /* Read list/set value */
        size_t zsetlen;
        size_t maxelelen = 0;
        zset *zs;

        // 载入有序集合的元素数量
        if ((zsetlen = rdbLoadLen(rdb,NULL)) == REDIS_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. 
         *
         * 如果有序集合符合条件的话，将它转换为 ZIPLIST 编码
         * 节约空间
         */
        if (zsetLength(o) <= server.zset_max_ziplist_entries &&
            maxelelen <= server.zset_max_ziplist_value)
                zsetConvert(o,REDIS_ENCODING_ZIPLIST);

    // 载入哈希表对象
    } else if (rdbtype == REDIS_RDB_TYPE_HASH) {
        size_t len;
        int ret;

        // 载入哈希表节点数量
        len = rdbLoadLen(rdb, NULL);
        if (len == REDIS_RDB_LENERR) return NULL;

        // 创建哈希表
        o = createHashObject();

        /* Too many entries? Use a hash table.
         * 根据节点数量，选择使用 ZIPLIST 编码还是 HT 编码
         */
        if (len > server.hash_max_ziplist_entries)
            hashTypeConvert(o, REDIS_ENCODING_HT);

        /* Load every field and value into the ziplist 
         *
         * 载入所有域和值，并将它们推入到 ZIPLIST 中
         */
        while (o->encoding == REDIS_ENCODING_ZIPLIST && len > 0) {
            robj *field, *value;

            len--;

            /* Load raw strings */
            // 载入域（一个字符串）
            field = rdbLoadStringObject(rdb);
            if (field == NULL) return NULL;
            // 载入值（一个字符串）
            redisAssert(sdsEncodedObject(field));
            value = rdbLoadStringObject(rdb);
            if (value == NULL) return NULL;
            redisAssert(sdsEncodedObject(value));

            /* Add pair to ziplist 
             *
             * 将域和值推入到 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 
             *
             * 如果元素过多，那么将编码转换为 HT 
             */
            if (sdslen(field->ptr) > server.hash_max_ziplist_value ||
                sdslen(value->ptr) > server.hash_max_ziplist_value)
            {
                decrRefCount(field);
                decrRefCount(value);
                hashTypeConvert(o, REDIS_ENCODING_HT);
                break;
            }
            decrRefCount(field);
            decrRefCount(value);
        }

        /* Load remaining fields and values into the hash table 
         *
         * 载入域值对到哈希表
         */
        while (o->encoding == REDIS_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);
            redisAssert(ret == REDIS_OK);
        }

        /* All pairs should be read by now */
        redisAssert(len == 0);

    } else if (rdbtype == REDIS_RDB_TYPE_HASH_ZIPMAP  ||
               rdbtype == REDIS_RDB_TYPE_LIST_ZIPLIST ||
               rdbtype == REDIS_RDB_TYPE_SET_INTSET   ||
               rdbtype == REDIS_RDB_TYPE_ZSET_ZIPLIST ||
               rdbtype == REDIS_RDB_TYPE_HASH_ZIPLIST)
    {
        // 载入字符串对象
        robj *aux = rdbLoadStringObject(rdb);

        if (aux == NULL) return NULL;

        o = createObject(REDIS_STRING,NULL); /* string is just placeholder */
        o->ptr = zmalloc(sdslen(aux->ptr));
        memcpy(o->ptr,aux->ptr,sdslen(aux->ptr));
        decrRefCount(aux);

        /* 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) {

            // ZIPMAP 编码的哈希表
            case REDIS_RDB_TYPE_HASH_ZIPMAP:
                /* Convert to ziplist encoded hash. This must be deprecated
                 * when loading dumps created by Redis 2.4 gets deprecated. */
                {
                    // 创建 ZIPLIST
                    unsigned char *zl = ziplistNew();
                    unsigned char *zi = zipmapRewind(o->ptr);
                    unsigned char *fstr, *vstr;
                    unsigned int flen, vlen;
                    unsigned int maxlen = 0;

                    // 从 2.6 开始， HASH 不再使用 ZIPMAP 来进行编码
                    // 所以遇到 ZIPMAP 编码的值时，要将它转换为 ZIPLIST

                    // 从字符串中取出 ZIPMAP 的域和值，然后推入到 ZIPLIST 中
                    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 = REDIS_HASH;
                    o->encoding = REDIS_ENCODING_ZIPLIST;

                    // 是否需要从 ZIPLIST 编码转换为 HT 编码
                    if (hashTypeLength(o) > server.hash_max_ziplist_entries ||
                        maxlen > server.hash_max_ziplist_value)
                    {
                        hashTypeConvert(o, REDIS_ENCODING_HT);
                    }
                }
                break;

            // ZIPLIST 编码的列表
            case REDIS_RDB_TYPE_LIST_ZIPLIST:

                o->type = REDIS_LIST;
                o->encoding = REDIS_ENCODING_ZIPLIST;

                // 检查是否需要转换编码
                if (ziplistLen(o->ptr) > server.list_max_ziplist_entries)
                    listTypeConvert(o,REDIS_ENCODING_LINKEDLIST);
                break;

            // INTSET 编码的集合
            case REDIS_RDB_TYPE_SET_INTSET:

                o->type = REDIS_SET;
                o->encoding = REDIS_ENCODING_INTSET;

                // 检查是否需要转换编码
                if (intsetLen(o->ptr) > server.set_max_intset_entries)
                    setTypeConvert(o,REDIS_ENCODING_HT);
                break;

            // ZIPLIST 编码的有序集合
            case REDIS_RDB_TYPE_ZSET_ZIPLIST:

                o->type = REDIS_ZSET;
                o->encoding = REDIS_ENCODING_ZIPLIST;

                // 检查是否需要转换编码
                if (zsetLength(o) > server.zset_max_ziplist_entries)
                    zsetConvert(o,REDIS_ENCODING_SKIPLIST);
                break;

            // ZIPLIST 编码的 HASH
            case REDIS_RDB_TYPE_HASH_ZIPLIST:

                o->type = REDIS_HASH;
                o->encoding = REDIS_ENCODING_ZIPLIST;

                // 检查是否需要转换编码
                if (hashTypeLength(o) > server.hash_max_ziplist_entries)
                    hashTypeConvert(o, REDIS_ENCODING_HT);
                break;

            default:
                redisPanic("Unknown encoding");
                break;
        }

    } else {
        redisPanic("Unknown object type");
    }

    return o;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movl %edi, %r15d
cmpl $0x4, %edi
ja 0x354c0
movl %r15d, %eax
leaq 0x59784(%rip), %rcx     # 0x8e9d8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rdi
callq 0x346d6
testq %rax, %rax
je 0x357b3
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2ef4c
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq 0x34096
cmpl $-0x1, %eax
je 0x357b5
movl %eax, %ebp
callq 0x2ec6d
movq %rax, %rbx
leaq 0x91cfe(%rip), %rax     # 0xc6fa8
cmpq %rbp, 0x758(%rax)
jae 0x352be
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x3f011
pushq $0x1
popq %r13
movl (%rbx), %eax
movl $0xf0, %ecx
andl %ecx, %eax
cmpl $0x50, %eax
jne 0x3572e
testq %rbp, %rbp
je 0x3572e
movq %r14, %rdi
callq 0x346cf
testq %rax, %rax
je 0x357b3
movq %rax, %r15
movl (%rax), %eax
shrl $0x4, %eax
testb $0x7, %al
jne 0x3590b
movq %r14, %rdi
callq 0x346cf
testq %rax, %rax
je 0x357b3
movq %rax, %r12
movl (%rax), %eax
shrl $0x4, %eax
testb $0x7, %al
jne 0x35920
movq 0x8(%rbx), %rdi
movq 0x8(%r15), %rsi
movl -0x8(%rsi), %edx
movl %r13d, %ecx
callq 0x2a889
movq %rax, 0x8(%rbx)
movq 0x8(%r12), %rsi
movl -0x8(%rsi), %edx
movq %rax, %rdi
movl %r13d, %ecx
callq 0x2a889
movq %rax, 0x8(%rbx)
movq 0x8(%r15), %rax
movslq -0x8(%rax), %rcx
leaq 0x91c4c(%rip), %rax     # 0xc6fa8
movq 0x760(%rax), %rax
cmpq %rcx, %rax
jb 0x35710
movq 0x8(%r12), %rcx
movslq -0x8(%rcx), %rcx
cmpq %rcx, %rax
jb 0x35710
movq %r15, %rdi
callq 0x2ee1f
movq %r12, %rdi
callq 0x2ee1f
decq %rbp
jmp 0x352c2
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq 0x34096
cmpl $-0x1, %eax
je 0x357b5
movl %eax, %ebp
movl %eax, %r15d
leaq 0x91bf1(%rip), %rax     # 0xc6fa8
cmpq %r15, 0x778(%rax)
jae 0x355a9
callq 0x2ec26
movq %rax, %rbx
cmpl $0x5, %ebp
jb 0x355b1
movq 0x8(%rbx), %rdi
movq %r15, %rsi
callq 0x21751
jmp 0x355b1
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq 0x34096
cmpl $-0x1, %eax
je 0x357b5
movl %eax, %ebp
callq 0x2ec8c
movq %rax, %rbx
movq 0x8(%rax), %r15
xorl %r13d, %r13d
subq $0x1, %rbp
jb 0x357c7
movq %r14, %rdi
callq 0x346d6
testq %rax, %rax
je 0x357b3
movq %rax, %rdi
callq 0x2ef4c
movq %rax, %r12
movq %r14, %rdi
movq %rsp, %rsi
callq 0x34766
cmpl $-0x1, %eax
je 0x357b3
movl (%r12), %eax
shrl $0x4, %eax
testb $0x7, %al
jne 0x35461
movq 0x8(%r12), %rax
movslq -0x8(%rax), %rax
cmpq %rax, %r13
cmovbeq %rax, %r13
movq 0x8(%r15), %rdi
movsd (%rsp), %xmm0
movq %r12, %rsi
callq 0x3a577
movq (%r15), %rdi
leaq 0x8(%rax), %rdx
movq %r12, %rsi
callq 0x21956
movq %r12, %rdi
callq 0x2eacc
jmp 0x3540c
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq 0x34096
cmpl $-0x1, %eax
je 0x357b5
movl %eax, %ebp
leaq 0x91aff(%rip), %rax     # 0xc6fa8
cmpq %rbp, 0x768(%rax)
jae 0x3564b
callq 0x2ebd5
jmp 0x35650
addl $-0x9, %r15d
cmpl $0x4, %r15d
ja 0x35940
movq %r14, %rdi
callq 0x346cf
testq %rax, %rax
je 0x357b3
movq %rax, %r14
xorl %r13d, %r13d
xorl %edi, %edi
xorl %esi, %esi
callq 0x2e9b4
movq %rax, %rbx
movq 0x8(%r14), %rax
movslq -0x8(%rax), %rdi
callq 0x2828d
movq %rax, 0x8(%rbx)
movq 0x8(%r14), %rsi
movslq -0x8(%rsi), %rdx
movq %rax, %rdi
callq 0x1fbd0
movq %r14, %rdi
callq 0x2ee1f
leaq 0x594cb(%rip), %rax     # 0x8e9ec
movslq (%rax,%r15,4), %rcx
addq %rax, %rcx
jmpq *%rcx
callq 0x2a868
movq %rax, %r15
movq 0x8(%rbx), %rdi
callq 0x2942b
movq %rax, %r12
leaq 0x8(%rsp), %rbp
pushq $0x1
popq %r14
movq %r12, %rdi
movq %rsp, %rsi
leaq 0xc(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rbp, %r8
callq 0x29430
testq %rax, %rax
je 0x358c3
movq %rax, %r12
movl 0xc(%rsp), %edx
cmpl %r13d, %edx
cmoval %edx, %r13d
movl 0x8(%rsp), %eax
cmpl %r13d, %eax
cmoval %eax, %r13d
movq (%rsp), %rsi
movq %r15, %rdi
movl %r14d, %ecx
callq 0x2a889
movq 0x10(%rsp), %rsi
movl 0x8(%rsp), %edx
movq %rax, %rdi
movl %r14d, %ecx
callq 0x2a889
movq %rax, %r15
jmp 0x35547
callq 0x2ec4e
movq %rax, %rbx
movl $0xf0, %r12d
subl $0x1, %ebp
jb 0x357b5
movq %r14, %rdi
callq 0x346d6
testq %rax, %rax
je 0x357b3
movq %rax, %rdi
callq 0x2ef4c
movq %rax, %r13
movl (%rbx), %eax
andl %r12d, %eax
cmpl $0x60, %eax
jne 0x35621
movq %r13, %rdi
movq %rsp, %rsi
callq 0x2eeea
testl %eax, %eax
je 0x3560e
movq %rbx, %rdi
pushq $0x2
popq %rsi
callq 0x38d95
movq 0x8(%rbx), %rdi
movq %r15, %rsi
callq 0x21751
jmp 0x35621
movq 0x8(%rbx), %rdi
movq (%rsp), %rsi
xorl %edx, %edx
callq 0x4b2a6
movq %rax, 0x8(%rbx)
movl (%rbx), %eax
andl %r12d, %eax
cmpl $0x20, %eax
jne 0x3563e
movq 0x8(%rbx), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x21956
jmp 0x355b7
movq %r13, %rdi
callq 0x2ee1f
jmp 0x355b7
callq 0x2ec07
movq %rax, %rbx
pushq $0x1
popq %r15
subq $0x1, %rbp
jb 0x357b5
movq %r14, %rdi
callq 0x346d6
testq %rax, %rax
je 0x357b3
movq %rax, %r12
movl (%rbx), %eax
movl %eax, %ecx
andl $0xf0, %ecx
cmpl $0x50, %ecx
jne 0x356b6
movl (%r12), %ecx
shrl $0x4, %ecx
testb $0x7, %cl
jne 0x356b6
movq 0x8(%r12), %rcx
movslq -0x8(%rcx), %rcx
leaq 0x91908(%rip), %rdx     # 0xc6fa8
cmpq %rcx, 0x770(%rdx)
jae 0x356b6
movq %rbx, %rdi
pushq $0x4
popq %rsi
callq 0x36d6a
movl (%rbx), %eax
andl $0xf0, %eax
cmpl $0x50, %eax
jne 0x356f7
movq %r12, %rdi
callq 0x2f087
movq %rax, %r13
movq 0x8(%rbx), %rdi
movq 0x8(%rax), %rsi
movl -0x8(%rsi), %edx
movl %r15d, %ecx
callq 0x2a889
movq %rax, 0x8(%rbx)
movq %r13, %rdi
callq 0x2ee1f
movq %r12, %rdi
callq 0x2ee1f
jmp 0x35657
movq %r12, %rdi
callq 0x2ef4c
movq 0x8(%rbx), %rdi
movq %rax, %rsi
callq 0x1fe4c
jmp 0x35657
movq %r15, %rdi
callq 0x2ee1f
movq %r12, %rdi
callq 0x2ee1f
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x3f011
decq %rbp
movq %rbp, %r13
movl (%rbx), %ecx
movl $0xf0, %eax
andl %eax, %ecx
addq $-0x1, %r13
setb %al
cmpl $0x20, %ecx
jne 0x357f1
testb %al, %al
je 0x357f1
movq %r14, %rdi
callq 0x346d6
testq %rax, %rax
je 0x357b3
movq %rax, %r15
movq %r14, %rdi
callq 0x346d6
testq %rax, %rax
je 0x357b3
movq %rax, %r12
movq %r15, %rdi
callq 0x2ef4c
movq %rax, %r15
movq %r12, %rdi
callq 0x2ef4c
movq 0x8(%rbx), %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x21956
movq %r13, %rbp
testl %eax, %eax
je 0x35731
leaq 0x594aa(%rip), %rdi     # 0x8ec4c
leaq 0x592b3(%rip), %rsi     # 0x8ea5c
movl $0x58d, %edx            # imm = 0x58D
jmp 0x35933
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0x3bc1e
movl %eax, %ecx
leaq 0x917d0(%rip), %rax     # 0xc6fa8
cmpq %rcx, 0x780(%rax)
jb 0x357b5
cmpq 0x788(%rax), %r13
ja 0x357b5
pushq $0x5
jmp 0x35883
testq %rbp, %rbp
je 0x357b5
leaq 0x5945f(%rip), %rdi     # 0x8ec5c
leaq 0x59258(%rip), %rsi     # 0x8ea5c
movl $0x591, %edx            # imm = 0x591
jmp 0x35933
movb $0x54, (%rbx)
movq %rbx, %rdi
callq 0x3f488
leaq 0x91788(%rip), %rcx     # 0xc6fa8
cmpq 0x758(%rcx), %rax
jbe 0x357b5
jmp 0x358fb
movb $0x62, (%rbx)
movq 0x8(%rbx), %rdi
callq 0x4b620
movl %eax, %eax
leaq 0x91765(%rip), %rcx     # 0xc6fa8
cmpq %rax, 0x778(%rcx)
jae 0x357b5
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x38d95
jmp 0x357b5
movb $0x53, (%rbx)
movq %rbx, %rdi
callq 0x3bc1e
movl %eax, %eax
leaq 0x91734(%rip), %rcx     # 0xc6fa8
cmpq %rax, 0x780(%rcx)
jae 0x357b5
pushq $0x7
popq %rsi
movq %rbx, %rdi
callq 0x3bc66
jmp 0x357b5
movb $0x51, (%rbx)
movq 0x8(%rbx), %rdi
callq 0x2b465
movl %eax, %eax
leaq 0x91702(%rip), %rcx     # 0xc6fa8
cmpq %rax, 0x768(%rcx)
jae 0x357b5
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x36d6a
jmp 0x357b5
movq 0x8(%rbx), %rdi
callq 0x283cd
movq %r15, 0x8(%rbx)
movb $0x54, (%rbx)
movq %rbx, %rdi
callq 0x3f488
leaq 0x916c6(%rip), %rcx     # 0xc6fa8
cmpq 0x758(%rcx), %rax
ja 0x358fb
movl %r13d, %eax
cmpq %rax, 0x760(%rcx)
jae 0x357b5
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x3f011
jmp 0x357b5
leaq 0x5930a(%rip), %rdi     # 0x8ec1c
leaq 0x59143(%rip), %rsi     # 0x8ea5c
movl $0x556, %edx            # imm = 0x556
jmp 0x35933
leaq 0x5930d(%rip), %rdi     # 0x8ec34
leaq 0x5912e(%rip), %rsi     # 0x8ea5c
movl $0x559, %edx            # imm = 0x559
callq 0x4906b
pushq $0x1
popq %rdi
callq 0x1f3b0
leaq 0x57ac0(%rip), %rdi     # 0x8d407
leaq 0x5910e(%rip), %rsi     # 0x8ea5c
movl $0x60a, %edx            # imm = 0x60A
callq 0x490e8
jmp 0x35938