// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/json.c
// Function: json_sax_parse_value
static int _json_sax_parse_value(json_parse_t *parse_ptr)
{
    char *str = NULL;
    json_string_t *jkey = NULL, *parent = NULL;
    json_value_t *value = &parse_ptr->parser.value;
    json_string_t *tarray = NULL;
    int i = 0;

    memset(value, 0, sizeof(*value));
    parse_ptr->parser.total += JSON_ITEM_NUM_PLUS_DEF;
    if (unlikely((parse_ptr->parser.array = (json_string_t *)json_malloc(sizeof(json_string_t) * parse_ptr->parser.total)) == NULL)) {
        JsonErr("malloc failed!\n");
        return -1;
    }
    memset(parse_ptr->parser.array, 0, sizeof(json_string_t));
    goto next3;

next1:
    if (unlikely(parse_ptr->parser.index >= parse_ptr->parser.total - 1)) {
        parse_ptr->parser.total += JSON_ITEM_NUM_PLUS_DEF;
        if (unlikely((tarray = (json_string_t *)json_malloc(sizeof(json_string_t) * parse_ptr->parser.total)) == NULL)) {
            JsonErr("malloc failed!\n");
            goto err;
        }

        memcpy(tarray, parse_ptr->parser.array, sizeof(json_string_t) * (parse_ptr->parser.index + 1));
        json_free(parse_ptr->parser.array);
        parse_ptr->parser.array = tarray;
    }

    parent = parse_ptr->parser.array + parse_ptr->parser.index;
    ++parse_ptr->parser.index;
    memset(parse_ptr->parser.array + parse_ptr->parser.index, 0, sizeof(json_string_t));
    if (parent->type == JSON_ARRAY)
        goto next3;

next2:
    jkey = parse_ptr->parser.array + parse_ptr->parser.index;
    if (unlikely(_json_parse_key(parse_ptr, jkey) < 0)) {
        goto err;
    }

next3:
    jkey = parse_ptr->parser.array + parse_ptr->parser.index;
    parse_ptr->skip_blank(parse_ptr);
    _get_parse_ptr(parse_ptr, 0, 128, &str);

    switch (*str) {
    case '{':
        jkey->type = JSON_OBJECT;
        value->vcmd = JSON_SAX_START;
        _UPDATE_PARSE_OFFSET(1);
        parse_ptr->ret = parse_ptr->cb(&parse_ptr->parser);
        if (unlikely(parse_ptr->ret == JSON_SAX_PARSE_STOP)) {
            goto end;
        }

        parse_ptr->skip_blank(parse_ptr);
        _get_parse_ptr(parse_ptr, 0, 1, &str);
        if (likely(*str != '}')) {
            goto next1;
        } else {
            jkey->type = JSON_OBJECT;
            value->vcmd = JSON_SAX_FINISH;
            _UPDATE_PARSE_OFFSET(1);
        }
        break;

    case '[':
        jkey->type = JSON_ARRAY;
        value->vcmd = JSON_SAX_START;
        _UPDATE_PARSE_OFFSET(1);
        parse_ptr->ret = parse_ptr->cb(&parse_ptr->parser);
        if (unlikely(parse_ptr->ret == JSON_SAX_PARSE_STOP)) {
            goto end;
        }

        parse_ptr->skip_blank(parse_ptr);
        _get_parse_ptr(parse_ptr, 0, 1, &str);
        if (likely(*str != ']')) {
            goto next1;
        } else {
            jkey->type = JSON_ARRAY;
            value->vcmd = JSON_SAX_FINISH;
            _UPDATE_PARSE_OFFSET(1);
        }
        break;

    default:
        if (_json_parse_single_value(parse_ptr, str, jkey, value) < 0)
            goto err;
        break;
    }

    parse_ptr->ret = parse_ptr->cb(&parse_ptr->parser);
    if (jkey->type == JSON_STRING && value->vstr.alloced) {
        json_free(value->vstr.str);
    }
    memset(value, 0, sizeof(*value));
    if (jkey->alloced) {
        json_free(jkey->str);
    }
    memset(jkey, 0, sizeof(*jkey));
    if (unlikely(parse_ptr->ret == JSON_SAX_PARSE_STOP)) {
        --parse_ptr->parser.index;
        goto end;
    }

next4:
    if (likely(parse_ptr->parser.index > 0)) {
        parse_ptr->skip_blank(parse_ptr);
        _get_parse_ptr(parse_ptr, 0, 1, &str);
        /* parse_ptr->parser.index > 0, parent is definitely not NULL. */
        if (parent->type == JSON_OBJECT) {
            switch (*str) {
            case ',':
                _UPDATE_PARSE_OFFSET(1);
#if !JSON_PARSE_LAST_COMMA
                goto next2;
#else
                parse_ptr->skip_blank(parse_ptr);
                _get_parse_ptr(parse_ptr, 0, 1, &str);
                if (*str != '}')
                    goto next2;
                FALLTHROUGH_ATTR;
#endif
            case '}':
                _UPDATE_PARSE_OFFSET(1);
                --parse_ptr->parser.index;
                jkey = parse_ptr->parser.array + parse_ptr->parser.index;
                value->vcmd = JSON_SAX_FINISH;
                parse_ptr->ret = parse_ptr->cb(&parse_ptr->parser);
                memset(value, 0, sizeof(*value));
                if (jkey->alloced) {
                    json_free(jkey->str);
                }
                memset(jkey, 0, sizeof(*jkey));
                if (unlikely(parse_ptr->ret == JSON_SAX_PARSE_STOP)) {
                    --parse_ptr->parser.index;
                    goto end;
                }

                if (likely(parse_ptr->parser.index > 0)) {
                    parent = parse_ptr->parser.array + parse_ptr->parser.index - 1;
                    goto next4;
                }
                break;
            default:
                JsonPareseErr("invalid object!");
                goto err;
            }
        } else {
            switch (*str) {
            case ',':
                _UPDATE_PARSE_OFFSET(1);
#if !JSON_PARSE_LAST_COMMA
                goto next3;
#else
                parse_ptr->skip_blank(parse_ptr);
                _get_parse_ptr(parse_ptr, 0, 1, &str);
                if (*str != ']')
                    goto next3;
                FALLTHROUGH_ATTR;
#endif
            case ']':
                _UPDATE_PARSE_OFFSET(1);
                --parse_ptr->parser.index;
                jkey = parse_ptr->parser.array + parse_ptr->parser.index;
                value->vcmd = JSON_SAX_FINISH;
                parse_ptr->ret = parse_ptr->cb(&parse_ptr->parser);
                memset(value, 0, sizeof(*value));
                if (jkey->alloced) {
                    json_free(jkey->str);
                }
                memset(jkey, 0, sizeof(*jkey));
                if (unlikely(parse_ptr->ret == JSON_SAX_PARSE_STOP)) {
                    --parse_ptr->parser.index;
                    goto end;
                }

                if (likely(parse_ptr->parser.index > 0)) {
                    parent = parse_ptr->parser.array + parse_ptr->parser.index - 1;
                    goto next4;
                }
                break;
            default:
                JsonPareseErr("invalid array!");
                goto err;
            }
        }
    }

    parse_ptr->parser.index = -1;
end:
    value->vcmd = JSON_SAX_FINISH;
    for (i =parse_ptr->parser.index; i >= 0; --i) {
        parse_ptr->ret = parse_ptr->cb(&parse_ptr->parser);
        if (parse_ptr->parser.array[i].alloced) {
            json_free(parse_ptr->parser.array[i].str);
        }
    }
    json_free(parse_ptr->parser.array);
    memset(&parse_ptr->parser, 0, sizeof(parse_ptr->parser));

    return 0;
err:
    if (parse_ptr->parser.array) {
        for (i = 0; i < parse_ptr->parser.index; ++i) {
            if (parse_ptr->parser.array[i].alloced) {
                json_free(parse_ptr->parser.array[i].str);
            }
        }
        json_free(parse_ptr->parser.array);
    }
    memset(&parse_ptr->parser, 0, sizeof(parse_ptr->parser));
    return -1;
}

// Assembly:
subq $0x98, %rsp
movq %rdi, 0x88(%rsp)
movq $0x0, 0x80(%rsp)
movq $0x0, 0x78(%rsp)
movq $0x0, 0x70(%rsp)
movq 0x88(%rsp), %rax
addq $0x58, %rax
addq $0x10, %rax
movq %rax, 0x68(%rsp)
movq $0x0, 0x60(%rsp)
movl $0x0, 0x5c(%rsp)
movq 0x68(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x88(%rsp), %rax
movl 0x58(%rax), %ecx
addl $0x10, %ecx
movl %ecx, 0x58(%rax)
movq 0x88(%rsp), %rax
movslq 0x58(%rax), %rdi
shlq $0x4, %rdi
callq 0x1160
movq 0x88(%rsp), %rcx
movq %rax, 0x60(%rcx)
cmpq $0x0, %rax
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9a48
jmp 0x9a10
leaq 0x6fdd(%rip), %rdi      # 0x109f4
leaq 0x7527(%rip), %rsi      # 0x10f45
movl $0xea2, %edx            # imm = 0xEA2
movb $0x0, %al
callq 0x10c0
leaq 0x6fd5(%rip), %rdi      # 0x10a06
movb $0x0, %al
callq 0x10c0
movl $0xffffffff, 0x94(%rsp) # imm = 0xFFFFFFFF
jmp 0xa6bf
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
jmp 0x9c1e
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %eax
movq 0x88(%rsp), %rcx
movl 0x58(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
setge %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9b57
movq 0x88(%rsp), %rax
movl 0x58(%rax), %ecx
addl $0x10, %ecx
movl %ecx, 0x58(%rax)
movq 0x88(%rsp), %rax
movslq 0x58(%rax), %rdi
shlq $0x4, %rdi
callq 0x1160
movq %rax, 0x60(%rsp)
cmpq $0x0, %rax
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9b0a
jmp 0x9add
leaq 0x6f10(%rip), %rdi      # 0x109f4
leaq 0x745a(%rip), %rsi      # 0x10f45
movl $0xeac, %edx            # imm = 0xEAC
movb $0x0, %al
callq 0x10c0
leaq 0x6f08(%rip), %rdi      # 0x10a06
movb $0x0, %al
callq 0x10c0
jmp 0xa60e
movq 0x60(%rsp), %rdi
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rsi
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %eax
addl $0x1, %eax
movslq %eax, %rdx
shlq $0x4, %rdx
callq 0x1150
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rdi
callq 0x1030
movq 0x60(%rsp), %rcx
movq 0x88(%rsp), %rax
movq %rcx, 0x60(%rax)
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movq 0x88(%rsp), %rcx
movslq 0x5c(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, 0x70(%rsp)
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x5c(%rax)
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x88(%rsp), %rax
movslq 0x5c(%rax), %rax
shlq $0x4, %rax
addq %rax, %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x70(%rsp), %rax
movl (%rax), %eax
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x9bc8
jmp 0x9c1e
jmp 0x9bca
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movq 0x88(%rsp), %rcx
movslq 0x5c(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, 0x78(%rsp)
movq 0x88(%rsp), %rdi
movq 0x78(%rsp), %rsi
callq 0xba20
cmpl $0x0, %eax
setl %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9c1c
jmp 0xa60e
jmp 0x9c1e
movq 0x88(%rsp), %rcx
movq 0x60(%rcx), %rax
movslq 0x5c(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, 0x78(%rsp)
movq 0x88(%rsp), %rdi
movq 0x40(%rdi), %rax
callq *%rax
movq 0x88(%rsp), %rdi
xorl %esi, %esi
movl $0x80, %edx
leaq 0x80(%rsp), %rcx
callq 0xabb0
movq 0x80(%rsp), %rax
movsbl (%rax), %eax
movl %eax, 0xc(%rsp)
subl $0x5b, %eax
je 0x9d99
jmp 0x9c7e
movl 0xc(%rsp), %eax
subl $0x7b, %eax
jne 0x9ea2
jmp 0x9c8d
movq 0x78(%rsp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x9, %ecx
movl %ecx, (%rax)
movq 0x68(%rsp), %rax
movl $0x0, (%rax)
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq 0x88(%rsp), %rax
movq 0x78(%rax), %rax
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
callq *%rax
movl %eax, %ecx
movq 0x88(%rsp), %rax
movl %ecx, 0x80(%rax)
movq 0x88(%rsp), %rax
cmpl $0x1, 0x80(%rax)
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9d0d
jmp 0xa52e
movq 0x88(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x88(%rsp), %rdi
callq *%rax
movq 0x88(%rsp), %rdi
xorl %esi, %esi
movl $0x1, %edx
leaq 0x80(%rsp), %rcx
callq 0xabb0
movq 0x80(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x7d, %eax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9d66
jmp 0x9a65
movq 0x78(%rsp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x9, %ecx
movl %ecx, (%rax)
movq 0x68(%rsp), %rax
movl $0x1, (%rax)
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
jmp 0x9ecd
movq 0x78(%rsp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x8, %ecx
movl %ecx, (%rax)
movq 0x68(%rsp), %rax
movl $0x0, (%rax)
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq 0x88(%rsp), %rax
movq 0x78(%rax), %rax
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
callq *%rax
movl %eax, %ecx
movq 0x88(%rsp), %rax
movl %ecx, 0x80(%rax)
movq 0x88(%rsp), %rax
cmpl $0x1, 0x80(%rax)
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9e19
jmp 0xa52e
movq 0x88(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x88(%rsp), %rdi
callq *%rax
movq 0x88(%rsp), %rdi
xorl %esi, %esi
movl $0x1, %edx
leaq 0x80(%rsp), %rcx
callq 0xabb0
movq 0x80(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x5d, %eax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9e72
jmp 0x9a65
movq 0x78(%rsp), %rax
movl (%rax), %ecx
andl $-0x10, %ecx
orl $0x8, %ecx
movl %ecx, (%rax)
movq 0x68(%rsp), %rax
movl $0x1, (%rax)
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
jmp 0x9ecd
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq 0x68(%rsp), %rcx
callq 0xbda0
cmpl $0x0, %eax
jge 0x9ecb
jmp 0xa60e
jmp 0x9ecd
movq 0x88(%rsp), %rax
movq 0x78(%rax), %rax
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
callq *%rax
movl %eax, %ecx
movq 0x88(%rsp), %rax
movl %ecx, 0x80(%rax)
movq 0x78(%rsp), %rax
movl (%rax), %eax
andl $0xf, %eax
cmpl $0x7, %eax
jne 0x9f26
movq 0x68(%rsp), %rax
movl (%rax), %eax
shrl $0x5, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x9f26
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x1030
movq 0x68(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x78(%rsp), %rax
movl (%rax), %eax
shrl $0x5, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x9f57
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x1030
movq 0x78(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x88(%rsp), %rax
cmpl $0x1, 0x80(%rax)
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x9fa1
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x5c(%rax)
jmp 0xa52e
jmp 0x9fa3
movq 0x88(%rsp), %rax
cmpl $0x0, 0x5c(%rax)
setg %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa51f
movq 0x88(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x88(%rsp), %rdi
callq *%rax
movq 0x88(%rsp), %rdi
xorl %esi, %esi
movl $0x1, %edx
leaq 0x80(%rsp), %rcx
callq 0xabb0
movq 0x70(%rsp), %rax
movl (%rax), %eax
andl $0xf, %eax
cmpl $0x9, %eax
jne 0xa296
movq 0x80(%rsp), %rax
movsbl (%rax), %eax
movl %eax, 0x8(%rsp)
subl $0x2c, %eax
je 0xa030
jmp 0xa022
movl 0x8(%rsp), %eax
subl $0x7d, %eax
je 0xa08d
jmp 0xa1d8
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq 0x88(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x88(%rsp), %rdi
callq *%rax
movq 0x88(%rsp), %rdi
xorl %esi, %esi
movl $0x1, %edx
leaq 0x80(%rsp), %rcx
callq 0xabb0
movq 0x80(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x7d, %eax
je 0xa08b
jmp 0x9bca
jmp 0xa08d
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x5c(%rax)
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movq 0x88(%rsp), %rcx
movslq 0x5c(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, 0x78(%rsp)
movq 0x68(%rsp), %rax
movl $0x1, (%rax)
movq 0x88(%rsp), %rax
movq 0x78(%rax), %rax
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
callq *%rax
movl %eax, %ecx
movq 0x88(%rsp), %rax
movl %ecx, 0x80(%rax)
movq 0x68(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x78(%rsp), %rax
movl (%rax), %eax
shrl $0x5, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0xa13c
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x1030
movq 0x78(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x88(%rsp), %rax
cmpl $0x1, 0x80(%rax)
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa186
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x5c(%rax)
jmp 0xa52e
movq 0x88(%rsp), %rax
cmpl $0x0, 0x5c(%rax)
setg %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa1d3
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movq 0x88(%rsp), %rcx
movslq 0x5c(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
addq $-0x10, %rax
movq %rax, 0x70(%rsp)
jmp 0x9fa3
jmp 0xa291
jmp 0xa1da
movq 0x88(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0xa257
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x10f0
leaq 0x30(%rsp), %rdi
movq 0x88(%rsp), %rax
movq 0x30(%rax), %rsi
movq 0x88(%rsp), %rax
addq 0x10(%rax), %rsi
movl $0x1f, %edx
callq 0x1050
leaq 0x67cc(%rip), %rdi      # 0x109f4
leaq 0x6d16(%rip), %rsi      # 0x10f45
movl $0xf2b, %edx            # imm = 0xF2B
movb $0x0, %al
callq 0x10c0
leaq 0x30(%rsp), %rdx
leaq 0x6b28(%rip), %rdi      # 0x10d6f
leaq 0x6be4(%rip), %rsi      # 0x10e32
movb $0x0, %al
callq 0x10c0
jmp 0xa28a
jmp 0xa259
leaq 0x6794(%rip), %rdi      # 0x109f4
leaq 0x6cde(%rip), %rsi      # 0x10f45
movl $0xf2b, %edx            # imm = 0xF2B
movb $0x0, %al
callq 0x10c0
leaq 0x69ee(%rip), %rdi      # 0x10c68
leaq 0x6bb1(%rip), %rsi      # 0x10e32
movb $0x0, %al
callq 0x10c0
jmp 0xa28a
jmp 0xa28c
jmp 0xa60e
jmp 0xa51d
movq 0x80(%rsp), %rax
movsbl (%rax), %eax
movl %eax, 0x4(%rsp)
subl $0x2c, %eax
je 0xa2ba
jmp 0xa2ac
movl 0x4(%rsp), %eax
subl $0x5d, %eax
je 0xa317
jmp 0xa462
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq 0x88(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x88(%rsp), %rdi
callq *%rax
movq 0x88(%rsp), %rdi
xorl %esi, %esi
movl $0x1, %edx
leaq 0x80(%rsp), %rcx
callq 0xabb0
movq 0x80(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x5d, %eax
je 0xa315
jmp 0x9c1e
jmp 0xa317
movq 0x88(%rsp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x5c(%rax)
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movq 0x88(%rsp), %rcx
movslq 0x5c(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, 0x78(%rsp)
movq 0x68(%rsp), %rax
movl $0x1, (%rax)
movq 0x88(%rsp), %rax
movq 0x78(%rax), %rax
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
callq *%rax
movl %eax, %ecx
movq 0x88(%rsp), %rax
movl %ecx, 0x80(%rax)
movq 0x68(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x78(%rsp), %rax
movl (%rax), %eax
shrl $0x5, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0xa3c6
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x1030
movq 0x78(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x10f0
movq 0x88(%rsp), %rax
cmpl $0x1, 0x80(%rax)
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa410
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x5c(%rax)
jmp 0xa52e
movq 0x88(%rsp), %rax
cmpl $0x0, 0x5c(%rax)
setg %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa45d
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movq 0x88(%rsp), %rcx
movslq 0x5c(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
addq $-0x10, %rax
movq %rax, 0x70(%rsp)
jmp 0x9fa3
jmp 0xa51b
jmp 0xa464
movq 0x88(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0xa4e1
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x10f0
leaq 0x10(%rsp), %rdi
movq 0x88(%rsp), %rax
movq 0x30(%rax), %rsi
movq 0x88(%rsp), %rax
addq 0x10(%rax), %rsi
movl $0x1f, %edx
callq 0x1050
leaq 0x6542(%rip), %rdi      # 0x109f4
leaq 0x6a8c(%rip), %rsi      # 0x10f45
movl $0xf51, %edx            # imm = 0xF51
movb $0x0, %al
callq 0x10c0
leaq 0x10(%rsp), %rdx
leaq 0x689e(%rip), %rdi      # 0x10d6f
leaq 0x696a(%rip), %rsi      # 0x10e42
movb $0x0, %al
callq 0x10c0
jmp 0xa514
jmp 0xa4e3
leaq 0x650a(%rip), %rdi      # 0x109f4
leaq 0x6a54(%rip), %rsi      # 0x10f45
movl $0xf51, %edx            # imm = 0xF51
movb $0x0, %al
callq 0x10c0
leaq 0x6764(%rip), %rdi      # 0x10c68
leaq 0x6937(%rip), %rsi      # 0x10e42
movb $0x0, %al
callq 0x10c0
jmp 0xa514
jmp 0xa516
jmp 0xa60e
jmp 0xa51d
jmp 0xa51f
movq 0x88(%rsp), %rax
movl $0xffffffff, 0x5c(%rax) # imm = 0xFFFFFFFF
movq 0x68(%rsp), %rax
movl $0x1, (%rax)
movq 0x88(%rsp), %rax
movl 0x5c(%rax), %eax
movl %eax, 0x5c(%rsp)
cmpl $0x0, 0x5c(%rsp)
jl 0xa5d5
movq 0x88(%rsp), %rax
movq 0x78(%rax), %rax
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
callq *%rax
movl %eax, %ecx
movq 0x88(%rsp), %rax
movl %ecx, 0x80(%rax)
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movslq 0x5c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movl (%rax), %eax
shrl $0x5, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0xa5c3
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movslq 0x5c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rdi
callq 0x1030
jmp 0xa5c5
movl 0x5c(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x5c(%rsp)
jmp 0xa548
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rdi
callq 0x1030
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x10f0
movl $0x0, 0x94(%rsp)
jmp 0xa6bf
movq 0x88(%rsp), %rax
cmpq $0x0, 0x60(%rax)
je 0xa69c
movl $0x0, 0x5c(%rsp)
movl 0x5c(%rsp), %eax
movq 0x88(%rsp), %rcx
cmpl 0x5c(%rcx), %eax
jge 0xa68b
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movslq 0x5c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movl (%rax), %eax
shrl $0x5, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0xa67c
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rax
movslq 0x5c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rdi
callq 0x1030
jmp 0xa67e
movl 0x5c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5c(%rsp)
jmp 0xa625
movq 0x88(%rsp), %rax
movq 0x60(%rax), %rdi
callq 0x1030
movq 0x88(%rsp), %rdi
addq $0x58, %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x10f0
movl $0xffffffff, 0x94(%rsp) # imm = 0xFFFFFFFF
movl 0x94(%rsp), %eax
addq $0x98, %rsp
retq
nop