// File: sisong[P]ApkDiffPatch/zlib1.3.1/deflate.c
// Function: deflate_slow
local block_state deflate_slow(deflate_state *s, int flush) {
    IPos hash_head;          /* head of hash chain */
    int bflush;              /* set if current block must be flushed */

    /* Process the input block. */
    for (;;) {
        /* Make sure that we always have enough lookahead, except
         * at the end of the input file. We need MAX_MATCH bytes
         * for the next match, plus MIN_MATCH bytes to insert the
         * string following the next match.
         */
        if (s->lookahead < MIN_LOOKAHEAD) {
            fill_window(s);
            if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
                return need_more;
            }
            if (s->lookahead == 0) break; /* flush the current block */
        }

        /* Insert the string window[strstart .. strstart + 2] in the
         * dictionary, and set hash_head to the head of the hash chain:
         */
        hash_head = NIL;
        if (s->lookahead >= MIN_MATCH) {
            INSERT_STRING(s, s->strstart, hash_head);
        }

        /* Find the longest match, discarding those <= prev_length.
         */
        s->prev_length = s->match_length, s->prev_match = s->match_start;
        s->match_length = MIN_MATCH-1;

        if (hash_head != NIL && s->prev_length < s->max_lazy_match &&
            s->strstart - hash_head <= MAX_DIST(s)) {
            /* To simplify the code, we prevent matches with the string
             * of window index 0 (in particular we have to avoid a match
             * of the string with itself at the start of the input file).
             */
            s->match_length = longest_match (s, hash_head);
            /* longest_match() sets match_start */

            if (s->match_length <= 5 && (s->strategy == Z_FILTERED
#if TOO_FAR <= 32767
                || (s->match_length == MIN_MATCH &&
                    s->strstart - s->match_start > TOO_FAR)
#endif
                )) {

                /* If prev_match is also MIN_MATCH, match_start is garbage
                 * but we will ignore the current match anyway.
                 */
                s->match_length = MIN_MATCH-1;
            }
        }
        /* If there was a match at the previous step and the current
         * match is not better, output the previous match:
         */
        if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
            uInt max_insert = s->strstart + s->lookahead - MIN_MATCH;
            /* Do not insert strings in hash table beyond this. */

            check_match(s, s->strstart - 1, s->prev_match, s->prev_length);

            _tr_tally_dist(s, s->strstart - 1 - s->prev_match,
                           s->prev_length - MIN_MATCH, bflush);

            /* Insert in hash table all strings up to the end of the match.
             * strstart - 1 and strstart are already inserted. If there is not
             * enough lookahead, the last two strings are not inserted in
             * the hash table.
             */
            s->lookahead -= s->prev_length - 1;
            s->prev_length -= 2;
            do {
                if (++s->strstart <= max_insert) {
                    INSERT_STRING(s, s->strstart, hash_head);
                }
            } while (--s->prev_length != 0);
            s->match_available = 0;
            s->match_length = MIN_MATCH-1;
            s->strstart++;

            if (bflush) FLUSH_BLOCK(s, 0);

        } else if (s->match_available) {
            /* If there was no match at the previous position, output a
             * single literal. If there was a match but the current match
             * is longer, truncate the previous match to a single literal.
             */
            Tracevv((stderr,"%c", s->window[s->strstart - 1]));
            _tr_tally_lit(s, s->window[s->strstart - 1], bflush);
            if (bflush) {
                FLUSH_BLOCK_ONLY(s, 0);
            }
            s->strstart++;
            s->lookahead--;
            if (s->strm->avail_out == 0) return need_more;
        } else {
            /* There is no previous match to compare with, wait for
             * the next step to decide.
             */
            s->match_available = 1;
            s->strstart++;
            s->lookahead--;
        }
    }
    Assert (flush != Z_NO_FLUSH, "no flush?");
    if (s->match_available) {
        Tracevv((stderr,"%c", s->window[s->strstart - 1]));
        _tr_tally_lit(s, s->window[s->strstart - 1], bflush);
        s->match_available = 0;
    }
    s->insert = s->strstart < MIN_MATCH-1 ? s->strstart : MIN_MATCH-1;
    if (flush == Z_FINISH) {
        FLUSH_BLOCK(s, 1);
        return finish_done;
    }
    if (s->sym_next)
        FLUSH_BLOCK(s, 0);
    return block_done;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x106, 0xb4(%rax)      # imm = 0x106
jae 0x979b1
movq -0x10(%rbp), %rdi
callq 0x93620
movq -0x10(%rbp), %rax
cmpl $0x106, 0xb4(%rax)      # imm = 0x106
jae 0x9799d
cmpl $0x0, -0x14(%rbp)
jne 0x9799d
movl $0x0, -0x4(%rbp)
jmp 0x98368
movq -0x10(%rbp), %rax
cmpl $0x0, 0xb4(%rax)
jne 0x979af
jmp 0x980de
jmp 0x979b1
movl $0x0, -0x18(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x3, 0xb4(%rax)
jb 0x97a70
movq -0x10(%rbp), %rax
movl 0x80(%rax), %eax
movq -0x10(%rbp), %rcx
movl 0x90(%rcx), %ecx
shll %cl, %eax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rdx
movl 0xac(%rdx), %edx
addl $0x2, %edx
movl %edx, %edx
movzbl (%rax,%rdx), %eax
xorl %eax, %ecx
movq -0x10(%rbp), %rax
andl 0x8c(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x80(%rax)
movq -0x10(%rbp), %rax
movq 0x78(%rax), %rax
movq -0x10(%rbp), %rcx
movl 0x80(%rcx), %ecx
movw (%rax,%rcx,2), %ax
movq -0x10(%rbp), %rcx
movq 0x70(%rcx), %rcx
movq -0x10(%rbp), %rdx
movl 0xac(%rdx), %edx
movq -0x10(%rbp), %rsi
andl 0x58(%rsi), %edx
movl %edx, %edx
movw %ax, (%rcx,%rdx,2)
movzwl %ax, %eax
movl %eax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movw %ax, %dx
movq -0x10(%rbp), %rax
movq 0x78(%rax), %rax
movq -0x10(%rbp), %rcx
movl 0x80(%rcx), %ecx
movw %dx, (%rax,%rcx,2)
movq -0x10(%rbp), %rax
movl 0xa0(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xb8(%rax)
movq -0x10(%rbp), %rax
movl 0xb0(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xa4(%rax)
movq -0x10(%rbp), %rax
movl $0x2, 0xa0(%rax)
cmpl $0x0, -0x18(%rbp)
je 0x97b52
movq -0x10(%rbp), %rax
movl 0xb8(%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0xc0(%rcx), %eax
jae 0x97b52
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
subl -0x18(%rbp), %eax
movq -0x10(%rbp), %rcx
movl 0x50(%rcx), %ecx
subl $0x106, %ecx            # imm = 0x106
cmpl %ecx, %eax
ja 0x97b52
movq -0x10(%rbp), %rdi
movl -0x18(%rbp), %esi
callq 0x98380
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xa0(%rax)
movq -0x10(%rbp), %rax
cmpl $0x5, 0xa0(%rax)
ja 0x97b50
movq -0x10(%rbp), %rax
cmpl $0x1, 0xc8(%rax)
je 0x97b42
movq -0x10(%rbp), %rax
cmpl $0x3, 0xa0(%rax)
jne 0x97b50
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movq -0x10(%rbp), %rcx
subl 0xb0(%rcx), %eax
cmpl $0x1000, %eax           # imm = 0x1000
jbe 0x97b50
movq -0x10(%rbp), %rax
movl $0x2, 0xa0(%rax)
jmp 0x97b52
movq -0x10(%rbp), %rax
cmpl $0x3, 0xb8(%rax)
jb 0x97ef6
movq -0x10(%rbp), %rax
movl 0xa0(%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0xb8(%rcx), %eax
ja 0x97ef6
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0xb4(%rcx), %eax
subl $0x3, %eax
movl %eax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movl 0xb8(%rax), %eax
subl $0x3, %eax
movb %al, -0x21(%rbp)
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
subl $0x1, %eax
movq -0x10(%rbp), %rcx
subl 0xa4(%rcx), %eax
movw %ax, -0x24(%rbp)
movw -0x24(%rbp), %ax
movb %al, %dl
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rsi
movl 0x170c(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0x170c(%rsi)
movl %ecx, %ecx
movb %dl, (%rax,%rcx)
movzwl -0x24(%rbp), %eax
sarl $0x8, %eax
movb %al, %dl
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rsi
movl 0x170c(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0x170c(%rsi)
movl %ecx, %ecx
movb %dl, (%rax,%rcx)
movb -0x21(%rbp), %dl
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rsi
movl 0x170c(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0x170c(%rsi)
movl %ecx, %ecx
movb %dl, (%rax,%rcx)
movw -0x24(%rbp), %ax
addw $-0x1, %ax
movw %ax, -0x24(%rbp)
movq -0x10(%rbp), %rax
movzbl -0x21(%rbp), %ecx
movl %ecx, %edx
leaq 0x26680(%rip), %rcx     # 0xbe2e0
movzbl (%rcx,%rdx), %ecx
addl $0x100, %ecx            # imm = 0x100
addl $0x1, %ecx
movslq %ecx, %rcx
movw 0xd4(%rax,%rcx,4), %dx
addw $0x1, %dx
movw %dx, 0xd4(%rax,%rcx,4)
movq -0x10(%rbp), %rax
addq $0x9c8, %rax            # imm = 0x9C8
movq %rax, -0x30(%rbp)
movzwl -0x24(%rbp), %eax
cmpl $0x100, %eax            # imm = 0x100
jge 0x97cb3
movzwl -0x24(%rbp), %eax
movl %eax, %ecx
leaq 0x26436(%rip), %rax     # 0xbe0e0
movzbl (%rax,%rcx), %eax
movl %eax, -0x34(%rbp)
jmp 0x97cd0
movzwl -0x24(%rbp), %eax
sarl $0x7, %eax
addl $0x100, %eax            # imm = 0x100
movslq %eax, %rcx
leaq 0x26417(%rip), %rax     # 0xbe0e0
movzbl (%rax,%rcx), %eax
movl %eax, -0x34(%rbp)
movq -0x30(%rbp), %rax
movl -0x34(%rbp), %ecx
movslq %ecx, %rcx
movw (%rax,%rcx,4), %dx
addw $0x1, %dx
movw %dx, (%rax,%rcx,4)
movq -0x10(%rbp), %rax
movl 0x170c(%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0x1710(%rcx), %eax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl 0xb8(%rax), %edx
subl $0x1, %edx
movq -0x10(%rbp), %rax
movl 0xb4(%rax), %ecx
subl %edx, %ecx
movl %ecx, 0xb4(%rax)
movq -0x10(%rbp), %rax
movl 0xb8(%rax), %ecx
subl $0x2, %ecx
movl %ecx, 0xb8(%rax)
movq -0x10(%rbp), %rcx
movl 0xac(%rcx), %eax
addl $0x1, %eax
movl %eax, 0xac(%rcx)
cmpl -0x20(%rbp), %eax
ja 0x97dfa
movq -0x10(%rbp), %rax
movl 0x80(%rax), %eax
movq -0x10(%rbp), %rcx
movl 0x90(%rcx), %ecx
shll %cl, %eax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rdx
movl 0xac(%rdx), %edx
addl $0x2, %edx
movl %edx, %edx
movzbl (%rax,%rdx), %eax
xorl %eax, %ecx
movq -0x10(%rbp), %rax
andl 0x8c(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x80(%rax)
movq -0x10(%rbp), %rax
movq 0x78(%rax), %rax
movq -0x10(%rbp), %rcx
movl 0x80(%rcx), %ecx
movw (%rax,%rcx,2), %ax
movq -0x10(%rbp), %rcx
movq 0x70(%rcx), %rcx
movq -0x10(%rbp), %rdx
movl 0xac(%rdx), %edx
movq -0x10(%rbp), %rsi
andl 0x58(%rsi), %edx
movl %edx, %edx
movw %ax, (%rcx,%rdx,2)
movzwl %ax, %eax
movl %eax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movw %ax, %dx
movq -0x10(%rbp), %rax
movq 0x78(%rax), %rax
movq -0x10(%rbp), %rcx
movl 0x80(%rcx), %ecx
movw %dx, (%rax,%rcx,2)
jmp 0x97dfc
movq -0x10(%rbp), %rcx
movl 0xb8(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0xb8(%rcx)
cmpl $0x0, %eax
jne 0x97d37
movq -0x10(%rbp), %rax
movl $0x0, 0xa8(%rax)
movq -0x10(%rbp), %rax
movl $0x2, 0xa0(%rax)
movq -0x10(%rbp), %rax
movl 0xac(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0xac(%rax)
cmpl $0x0, -0x1c(%rbp)
je 0x97ef1
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x98(%rax)
jl 0x97e85
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rcx
movl %ecx, %ecx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
jmp 0x97e8d
xorl %eax, %eax
movq %rax, -0x48(%rbp)
jmp 0x97e8d
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %edx
movq -0x10(%rbp), %rax
subq 0x98(%rax), %rdx
xorl %ecx, %ecx
callq 0x9f410
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movq %rcx, 0x98(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x95880
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, 0x20(%rax)
jne 0x97eef
movl $0x0, -0x4(%rbp)
jmp 0x98368
jmp 0x97ef1
jmp 0x980d9
movq -0x10(%rbp), %rax
cmpl $0x0, 0xa8(%rax)
je 0x980a3
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rcx
movl 0xac(%rcx), %ecx
subl $0x1, %ecx
movl %ecx, %ecx
movb (%rax,%rcx), %al
movb %al, -0x25(%rbp)
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rdx
movl 0x170c(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0x170c(%rdx)
movl %ecx, %ecx
movb $0x0, (%rax,%rcx)
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rdx
movl 0x170c(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0x170c(%rdx)
movl %ecx, %ecx
movb $0x0, (%rax,%rcx)
movb -0x25(%rbp), %dl
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rsi
movl 0x170c(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0x170c(%rsi)
movl %ecx, %ecx
movb %dl, (%rax,%rcx)
movq -0x10(%rbp), %rax
movzbl -0x25(%rbp), %ecx
movw 0xd4(%rax,%rcx,4), %dx
addw $0x1, %dx
movw %dx, 0xd4(%rax,%rcx,4)
movq -0x10(%rbp), %rax
movl 0x170c(%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0x1710(%rcx), %eax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
je 0x98062
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x98(%rax)
jl 0x98011
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rcx
movl %ecx, %ecx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
jmp 0x98019
xorl %eax, %eax
movq %rax, -0x58(%rbp)
jmp 0x98019
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %edx
movq -0x10(%rbp), %rax
subq 0x98(%rax), %rdx
xorl %ecx, %ecx
callq 0x9f410
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movq %rcx, 0x98(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x95880
movq -0x10(%rbp), %rax
movl 0xac(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0xac(%rax)
movq -0x10(%rbp), %rax
movl 0xb4(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0xb4(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, 0x20(%rax)
jne 0x980a1
movl $0x0, -0x4(%rbp)
jmp 0x98368
jmp 0x980d7
movq -0x10(%rbp), %rax
movl $0x1, 0xa8(%rax)
movq -0x10(%rbp), %rax
movl 0xac(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0xac(%rax)
movq -0x10(%rbp), %rax
movl 0xb4(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0xb4(%rax)
jmp 0x980d9
jmp 0x97962
movq -0x10(%rbp), %rax
cmpl $0x0, 0xa8(%rax)
je 0x981c9
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rcx
movl 0xac(%rcx), %ecx
subl $0x1, %ecx
movl %ecx, %ecx
movb (%rax,%rcx), %al
movb %al, -0x26(%rbp)
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rdx
movl 0x170c(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0x170c(%rdx)
movl %ecx, %ecx
movb $0x0, (%rax,%rcx)
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rdx
movl 0x170c(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0x170c(%rdx)
movl %ecx, %ecx
movb $0x0, (%rax,%rcx)
movb -0x26(%rbp), %dl
movq -0x10(%rbp), %rax
movq 0x1700(%rax), %rax
movq -0x10(%rbp), %rsi
movl 0x170c(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0x170c(%rsi)
movl %ecx, %ecx
movb %dl, (%rax,%rcx)
movq -0x10(%rbp), %rax
movzbl -0x26(%rbp), %ecx
movw 0xd4(%rax,%rcx,4), %dx
addw $0x1, %dx
movw %dx, 0xd4(%rax,%rcx,4)
movq -0x10(%rbp), %rax
movl 0x170c(%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0x1710(%rcx), %eax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl $0x0, 0xa8(%rax)
movq -0x10(%rbp), %rax
cmpl $0x2, 0xac(%rax)
jae 0x981e5
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, -0x5c(%rbp)
jmp 0x981ef
movl $0x2, %eax
movl %eax, -0x5c(%rbp)
jmp 0x981ef
movl -0x5c(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x172c(%rax)
cmpl $0x4, -0x14(%rbp)
jne 0x982b3
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x98(%rax)
jl 0x9823a
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rcx
movl %ecx, %ecx
addq %rcx, %rax
movq %rax, -0x70(%rbp)
jmp 0x98242
xorl %eax, %eax
movq %rax, -0x70(%rbp)
jmp 0x98242
movq -0x68(%rbp), %rdi
movq -0x70(%rbp), %rsi
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %edx
movq -0x10(%rbp), %rax
subq 0x98(%rax), %rdx
movl $0x1, %ecx
callq 0x9f410
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movq %rcx, 0x98(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x95880
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, 0x20(%rax)
jne 0x982a7
movl $0x2, -0x4(%rbp)
jmp 0x98368
movl $0x3, -0x4(%rbp)
jmp 0x98368
movq -0x10(%rbp), %rax
cmpl $0x0, 0x170c(%rax)
je 0x98361
movq -0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x98(%rax)
jl 0x982f8
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rcx
movl %ecx, %ecx
addq %rcx, %rax
movq %rax, -0x80(%rbp)
jmp 0x98300
xorl %eax, %eax
movq %rax, -0x80(%rbp)
jmp 0x98300
movq -0x78(%rbp), %rdi
movq -0x80(%rbp), %rsi
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %edx
movq -0x10(%rbp), %rax
subq 0x98(%rax), %rdx
xorl %ecx, %ecx
callq 0x9f410
movq -0x10(%rbp), %rax
movl 0xac(%rax), %eax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movq %rcx, 0x98(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x95880
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, 0x20(%rax)
jne 0x9835f
movl $0x0, -0x4(%rbp)
jmp 0x98368
jmp 0x98361
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x80, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)