// File: /workspace/github_c_makefile_star2_O3/lecram[P]congif/term.c
// Function: parse
void
parse(Term *term, uint8_t byte)
{
    int es;

    /* Bad suffix for a unicode sequence, dump it and interpret this byte normally. */
    if (term->state == S_UNI && (byte < 0x80 || byte >= 0xC0)) {
        addchar(term, 0xFFFD);
        RESET_STATE(term);
    }
    if (byte != 0x1B && byte < 0x20 && !(term->mode & M_DISPCTRL)) {
        ctrlchar(term, byte);
    } else {
        switch (term->state) {
        case S_ANY:
            switch (byte) {
            case 0x1B:
                term->state = S_ESC;
                break;
            case 0x9B:
                term->state = S_CSI;
                break;
            default:
                switch (CHARSET(term)) {
                case CS_BMP:
                    if (byte < 0x80) {
                        /* single-byte UTF-8, i.e. ASCII */
                        addchar(term, byte);
                    } else if (byte >= 0xC0) {
                        term->unilen = CHARLEN(byte);
                        PARCAT(term, byte);
                        term->state = S_UNI;
                    } else
                        addchar(term, 0xFFFD);
                    break;
                case CS_ISO:
                    addchar(term, byte);
                    break;
                case CS_VTG:
                    addchar(term, cs_vtg[byte]);
                    break;
                case CS_437:
                    addchar(term, cs_437[byte]);
                    break;
                }
            }
            break;
        case S_OSCESC: case S_STRESC:
            if (byte == '\\') {
                /* do_osc_etc() */
                if (term->state == S_OSCESC)
                    logfmt("NYI: Operating System Sequence\n");
            }
            RESET_STATE(term);
            term->state = S_ESC;
            /*FALLTHROUGH*/
        case S_ESC:
            es = 1;
            if (!term->parlen) {
                if (byte == 0x5B) {
                    term->state = S_CSI;
                    es = 0;
                } else if (byte == 0x5D) {
                    term->state = S_OSC;
                    es = 0;
                } else if (byte == 'P' || /* DCS */
                           byte == '_' || /* APC */
                           byte == '^' || /* PM */
                           byte == 'X'    /* SOS */
                        ) {
                    term->state = S_STR; /* A string to eat */
                    es = 0;
                }
            }
            if (es) {
                if (byte >= 0x20 && byte < 0x30) {
                    PARCAT(term, byte);
                } else {
                    escseq(term, byte);
                    RESET_STATE(term);
                }
            }
            break;
        case S_CSI:
            if (byte < 0x40 || byte >= 0x7F) {
                PARCAT(term, byte);
            } else {
                ctrlseq(term, byte);
                RESET_STATE(term);
            }
            break;
        case S_OSC: case S_STR:
            /* TODO: set/reset palette entries */
            /* Currently this just eats the string */
            if (byte == 0x1B) {
                if (term->state == S_OSC)
                    term->state = S_OSCESC;
                else
                    term->state = S_STRESC;
            } else if (byte == 13 || byte == 10)
                RESET_STATE(term);   /* CR or LF assume something broke */
            else if (byte == 7) {
                /* do_osc_etc() */
                if (term->state == S_OSC)
                    logfmt("NYI: Operating System Sequence\n");
                RESET_STATE(term);
            } else {
                if (term->parlen < MAX_PARTIAL-3)
                    PARCAT(term, byte);
                else
                    term->state = S_STR;

                if (term->partial[0] == 'P' && term->parlen == 8) {
                    if (do_linux_osc(term))
                        RESET_STATE(term);
                } else if (term->partial[0] == 'R' && term->parlen == 1) {
                    if (do_linux_osc(term))
                        RESET_STATE(term);
                }
            }
            break;
        case S_UNI:
            PARCAT(term, byte);
            if (term->parlen == term->unilen) {
                addchar(term, char_code(term));
                RESET_STATE(term);
            }
            break;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %esi, %r14d
movq %rdi, %rbx
movl 0x60(%rdi), %eax
cmpl $0x7, %eax
setne %cl
cmpb $-0x40, %r14b
setl %dl
orb %cl, %dl
jne 0x18a6
movq %rbx, %rdi
movl $0xfffd, %esi           # imm = 0xFFFD
callq 0x27cc
movq $0x0, 0x60(%rbx)
xorl %eax, %eax
cmpb $0x1b, %r14b
sete %cl
cmpb $0x20, %r14b
setae %dl
orb %cl, %dl
jne 0x190b
movzwl 0x18(%rbx), %ecx
testb $0x1, %cl
jne 0x190b
movzbl %r14b, %eax
addl $-0x8, %eax
cmpl $0x7, %eax
ja 0x1c10
leaq 0x3a84(%rip), %rdx      # 0x535c
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x18ee
decl %eax
movl %eax, 0xc(%rbx)
movl 0x8(%rbx), %eax
cmpl 0x14(%rbx), %eax
jne 0x1bc2
movq %rbx, %rdi
callq 0x2a56
movzwl 0x18(%rbx), %ecx
jmp 0x1bc7
cmpl $0x7, %eax
ja 0x1c10
movl %eax, %ecx
leaq 0x3703(%rip), %rdx      # 0x5020
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movzbl %r14b, %ecx
cmpl $0xc, %ecx
jg 0x1a59
cmpl $0x7, %ecx
je 0x1bf5
cmpl $0xa, %ecx
je 0x1c08
jmp 0x1bd5
cmpb $0x5c, %r14b
setne %cl
cmpl $0x4, %eax
setne %al
orb %cl, %al
jne 0x1969
leaq 0x3eb6(%rip), %rdi      # 0x5818
xorl %eax, %eax
callq 0x28a4
movq $0x1, 0x60(%rbx)
movzbl %r14b, %ecx
leal -0x58(%rcx), %eax
cmpl $0x7, %eax
ja 0x1a8c
leaq 0x3940(%rip), %rcx      # 0x52c8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x5, 0x60(%rbx)
jmp 0x1c10
leal -0x7f(%r14), %eax
cmpb $-0x40, %al
ja 0x1b29
movslq 0x64(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x64(%rbx)
jmp 0x1aab
movslq 0x64(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x64(%rbx)
movb %r14b, 0x6c(%rbx,%rax)
movl 0x64(%rbx), %eax
cmpl 0x68(%rbx), %eax
jne 0x1c10
movb $0x8, %cl
subb %al, %cl
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
shll %cl, %edx
movzbl 0x6c(%rbx), %ecx
notl %edx
andl %ecx, %edx
cmpl $0x2, %eax
jl 0x1a08
decq %rax
xorl %ecx, %ecx
movzwl %dx, %esi
shll $0x6, %esi
movzbl 0x6d(%rbx,%rcx), %edx
andl $0x3f, %edx
orl %esi, %edx
incq %rcx
cmpq %rcx, %rax
jne 0x19f0
movzwl %dx, %esi
movq %rbx, %rdi
callq 0x27cc
jmp 0x1c08
cmpb $-0x65, %r14b
je 0x1a80
movzbl %r14b, %esi
cmpl $0x1b, %esi
jne 0x1c85
movl $0x1, 0x60(%rbx)
jmp 0x1c10
movl 0x64(%rbx), %r15d
testl %r15d, %r15d
je 0x1971
movl %r14d, %eax
andb $-0x10, %al
cmpb $0x20, %al
je 0x1aa1
movzbl %r14b, %r15d
movb 0x6c(%rbx), %al
movl %eax, %r14d
jmp 0x1ab5
cmpl $0xd, %ecx
je 0x1c08
cmpl $0x1b, %ecx
jne 0x1bd5
cmpl $0x3, %eax
jne 0x1d1f
movl $0x4, 0x60(%rbx)
jmp 0x1c10
movl $0x2, 0x60(%rbx)
jmp 0x1c10
cmpl $0x50, %ecx
je 0x1991
movl %r14d, %eax
andb $-0x10, %al
xorl %r15d, %r15d
cmpb $0x20, %al
jne 0x1ab5
leal 0x1(%r15), %eax
movl %eax, 0x64(%rbx)
movslq %r15d, %rax
movb %r14b, 0x6c(%rbx,%rax)
jmp 0x1c10
movzbl %r14b, %esi
cmpl $0x43, %esi
jg 0x1cb8
leal -0x23(%rsi), %eax
cmpl $0x6, %eax
jbe 0x1d2b
leal -0x37(%rsi), %eax
cmpl $0x7, %eax
ja 0x1f8c
leaq 0x3823(%rip), %rcx      # 0x5304
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x4(%rbx), %eax
movl 0xc(%rbx), %ecx
cmpl %eax, %ecx
jl 0x1afb
decl %eax
movl %eax, 0xc(%rbx)
movl %eax, %ecx
movl 0x8(%rbx), %eax
movl %eax, 0x44(%rbx)
movl %ecx, 0x48(%rbx)
movzwl 0x18(%rbx), %eax
andl $0x40, %eax
movl %eax, 0x4c(%rbx)
movzwl 0x1a(%rbx), %eax
movw %ax, 0x50(%rbx)
movq 0x30(%rbx), %rax
movq %rax, 0x54(%rbx)
movl 0x38(%rbx), %eax
movl %eax, 0x5c(%rbx)
jmp 0x1c08
movl 0x8(%rbx), %esi
movl 0xc(%rbx), %edx
movq %rbx, %rdi
callq 0x2adf
testl %eax, %eax
je 0x1c08
leaq 0x6c(%rbx), %rdi
movslq 0x64(%rbx), %rax
movb $0x0, 0x6c(%rbx,%rax)
leaq 0x6d(%rbx), %rax
xorl %r15d, %r15d
cmpb $0x3f, 0x6c(%rbx)
sete %r15b
cmoveq %rax, %rdi
cmpb $0x0, 0x6c(%rbx,%r15)
je 0x1da6
leaq 0x10(%rsp), %rbp
xorl %r13d, %r13d
leaq 0x8(%rsp), %r12
movq %r12, %rsi
movl $0xa, %edx
callq 0x1140
movl %eax, (%rbp)
movq 0x8(%rsp), %rdi
cmpb $0x0, (%rdi)
je 0x1b9a
incq %rdi
movq %rdi, 0x8(%rsp)
cmpq $0xf, %r13
je 0x1dba
addq $0x4, %rbp
incq %r13
cmpb $0x0, (%rdi)
jne 0x1b78
cmpb $0x3b, -0x1(%rdi)
jne 0x1dc0
incl %r13d
jmp 0x1db1
incl %eax
movl %eax, 0x8(%rbx)
testb $0x4, %cl
je 0x1c10
movl $0x0, 0xc(%rbx)
jmp 0x1c10
movslq 0x64(%rbx), %rax
cmpq $0xfc, %rax
jg 0x1cfa
leal 0x1(%rax), %ecx
movl %ecx, 0x64(%rbx)
movb %r14b, 0x6c(%rbx,%rax)
jmp 0x1d01
cmpl $0x3, %eax
jne 0x1c08
leaq 0x3c17(%rip), %rdi      # 0x5818
xorl %eax, %eax
callq 0x28a4
movq $0x0, 0x60(%rbx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x3, 0x60(%rbx)
jmp 0x1c10
movl $0x0, 0x38(%rbx)
jmp 0x1c10
movl 0x4(%rbx), %ecx
movl 0xc(%rbx), %edx
leal -0x1(%rcx), %eax
cmpl %ecx, %edx
cmovll %edx, %eax
setge %cl
testl %eax, %eax
setne %dl
orb %cl, %dl
je 0x1c10
xorl %ecx, %ecx
subl $0x1, %eax
cmovbl %ecx, %eax
jmp 0x1c77
movl 0x4(%rbx), %eax
movl 0xc(%rbx), %ecx
movl %ecx, %edx
andl $-0x8, %edx
addl $0x8, %edx
movl %edx, 0xc(%rbx)
cmpl $-0x8, %ecx
setge %cl
cmpl %eax, %edx
setl %dl
testb %dl, %cl
jne 0x1c10
decl %eax
movl %eax, 0xc(%rbx)
jmp 0x1c10
movl $0x1, 0x38(%rbx)
jmp 0x1c10
movslq 0x38(%rbx), %rax
movl 0x30(%rbx,%rax,4), %eax
cmpq $0x3, %rax
ja 0x1c10
leaq 0x36ae(%rip), %rcx      # 0x534c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testb %r14b, %r14b
js 0x1f98
movq %rbx, %rdi
jmp 0x1e43
leal -0x44(%rsi), %eax
cmpl $0x9, %eax
ja 0x1e0d
leaq 0x3659(%rip), %rcx      # 0x5324
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x1ce1
decl %eax
movl %eax, 0xc(%rbx)
movl 0x8(%rbx), %eax
cmpl 0x14(%rbx), %eax
jne 0x1f26
movq %rbx, %rdi
callq 0x2a56
jmp 0x1c08
movl $0x5, 0x60(%rbx)
movzbl 0x6c(%rbx), %eax
cmpl $0x52, %eax
je 0x1d87
cmpl $0x50, %eax
jne 0x1c10
cmpl $0x8, 0x64(%rbx)
jne 0x1c10
jmp 0x1d91
movl $0x6, 0x60(%rbx)
jmp 0x1c10
leaq 0x35b6(%rip), %rcx      # 0x52e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x38, %r15d
jne 0x2079
movl (%rbx), %edx
testl %edx, %edx
jle 0x1c08
movl 0x4(%rbx), %ecx
xorl %eax, %eax
testl %ecx, %ecx
jle 0x1d77
xorl %edx, %edx
movq 0x20(%rbx), %rcx
movq (%rcx,%rax,8), %rcx
movl $0x70000045, (%rcx,%rdx,4) # imm = 0x70000045
incq %rdx
movslq 0x4(%rbx), %rcx
cmpq %rcx, %rdx
jl 0x1d5a
movl (%rbx), %edx
incq %rax
movslq %edx, %rsi
cmpq %rsi, %rax
jl 0x1d54
jmp 0x1c08
cmpl $0x1, 0x64(%rbx)
jne 0x1c10
movq %rbx, %rdi
callq 0x294a
testl %eax, %eax
jne 0x1c08
jmp 0x1c10
movl $0x1, %r13d
leaq 0x10(%rsp), %rbp
movl $0x0, (%rbp)
jmp 0x1dc0
movl $0x10, %r13d
movl 0x10(%rsp), %eax
cmpl $0x2, %eax
movl $0x1, %r12d
cmovael %eax, %r12d
movzbl %r14b, %esi
leal -0x40(%rsi), %ecx
cmpl $0x35, %ecx
ja 0x240e
leaq 0x3258(%rip), %rdx      # 0x5040
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x1dfe
decl %eax
movl %eax, 0xc(%rbx)
movl (%rbx), %eax
addl 0x8(%rbx), %r12d
movl %r12d, 0x8(%rbx)
jmp 0x24c1
cmpl $0x5a, %esi
je 0x1c08
cmpl $0x63, %esi
jne 0x1f8c
movq %rbx, %rdi
callq 0x1762
jmp 0x1c08
leaq 0x356d(%rip), %rax      # 0x53a0
jmp 0x1e3c
leaq 0x3764(%rip), %rax      # 0x55a0
movzwl (%rax,%rsi,2), %esi
movq %rbx, %rdi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x27cc
cmpl $0x4a, %r15d
jg 0x2059
cmpl $0x30, %r15d
je 0x2614
cmpl $0x42, %r15d
je 0x262e
jmp 0x1c08
leaq 0x39fa(%rip), %rdi      # 0x587a
xorl %eax, %eax
callq 0x28a4
cmpl $0x47, %r15d
je 0x1ea1
cmpl $0x40, %r15d
je 0x25ed
cmpl $0x38, %r15d
jne 0x1c08
andb $-0x11, 0x19(%rbx)
cmpl $0x1, 0x30(%rbx)
jne 0x1eb2
movl $0x0, 0x30(%rbx)
cmpl $0x1, 0x34(%rbx)
jne 0x1c08
movl $0x0, 0x34(%rbx)
jmp 0x1c08
movl 0x8(%rbx), %eax
cmpl 0x10(%rbx), %eax
jne 0x24d2
movq %rbx, %rdi
callq 0x2b1c
jmp 0x1c08
cmpl $0x4a, %r15d
jg 0x2085
cmpl $0x30, %r15d
je 0x263f
cmpl $0x42, %r15d
je 0x2659
jmp 0x1c08
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x1f11
decl %eax
movl %eax, 0xc(%rbx)
movl 0x8(%rbx), %eax
cmpl 0x14(%rbx), %eax
jne 0x1f26
movq %rbx, %rdi
callq 0x2a56
jmp 0x26de
incl %eax
jmp 0x24d4
leaq 0x392b(%rip), %rdi      # 0x585f
jmp 0x1c01
leaq 0x39aa(%rip), %rdi      # 0x58ea
jmp 0x1c01
movq 0x44(%rbx), %rax
movq %rax, 0x8(%rbx)
xorl %eax, %eax
cmpl $0x0, 0x4c(%rbx)
setne %al
movl 0x18(%rbx), %ecx
andl $-0x41, %ecx
shll $0x6, %eax
orl %ecx, %eax
movw %ax, 0x18(%rbx)
movzwl 0x50(%rbx), %eax
movw %ax, 0x1a(%rbx)
movq 0x54(%rbx), %rax
movq %rax, 0x30(%rbx)
movl 0x5c(%rbx), %eax
movl %eax, 0x38(%rbx)
jmp 0x1c08
leaq 0x3981(%rip), %rdi      # 0x5908
jmp 0x1c01
leaq 0x3993(%rip), %rdi      # 0x5926
jmp 0x2415
cmpb $-0x40, %r14b
jb 0x20a5
cmpb $-0x10, %r14b
movl $0x4, %eax
sbbl $0x0, %eax
cmpb $-0x20, %r14b
movl $0x2, %ecx
cmovael %eax, %ecx
movl %ecx, 0x68(%rbx)
movslq 0x64(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x64(%rbx)
movb %r14b, 0x6c(%rbx,%rax)
movl $0x7, 0x60(%rbx)
jmp 0x1c10
leal -0x1(%r12), %eax
movl %eax, 0xc(%rbx)
testl %r12d, %r12d
setle %cl
movl 0x4(%rbx), %eax
cmpl %eax, %r12d
setg %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x1c08
jmp 0x26bb
movl 0x4(%rbx), %eax
movl 0xc(%rbx), %ecx
leal -0x1(%rax), %edx
cmpl %eax, %ecx
cmovgel %edx, %ecx
addl %r12d, %ecx
cmpl %eax, %ecx
movl %edx, %eax
cmovll %ecx, %eax
testl %ecx, %ecx
cmovsl %edx, %eax
jmp 0x26bd
cmpl $0x1, %r13d
je 0x266a
cmpl $0x2, %r13d
jne 0x2687
cmpl $0x2, %eax
movl $0x1, %ecx
cmovll %ecx, %eax
decl %eax
movl %eax, 0x8(%rbx)
movl 0x14(%rsp), %edx
cmpl $0x2, %edx
cmovgel %edx, %ecx
decl %ecx
movl %ecx, 0xc(%rbx)
jmp 0x2693
cmpl $0x4b, %r15d
je 0x2620
cmpl $0x55, %r15d
jne 0x1c08
movl $0x3, 0x34(%rbx)
jmp 0x1c08
leaq 0x382a(%rip), %rdi      # 0x58aa
jmp 0x1c01
cmpl $0x4b, %r15d
je 0x264b
cmpl $0x55, %r15d
jne 0x1c08
movl $0x3, 0x30(%rbx)
jmp 0x1c08
movq %rbx, %rdi
movl $0xfffd, %esi           # imm = 0xFFFD
jmp 0x1e43
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x20bf
decl %eax
movl %eax, 0xc(%rbx)
movl 0x8(%rbx), %eax
movl 0x10(%rbx), %ebp
cmpl %ebp, %eax
jl 0x1c08
cmpl 0x14(%rbx), %eax
jg 0x1c08
movl %eax, 0x10(%rbx)
testl %r12d, %r12d
jle 0x253c
movq %rbx, %rdi
callq 0x2a56
decl %r12d
jne 0x20e2
jmp 0x253c
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x2101
decl %eax
movl %eax, 0xc(%rbx)
decl %r12d
movl %r12d, 0x8(%rbx)
jmp 0x1c08
testl %r13d, %r13d
jle 0x1c08
leaq 0x38ce(%rip), %r14      # 0x59eb
leaq 0x2ff4(%rip), %r15      # 0x5118
xorl %ebp, %ebp
movl %ebp, %ecx
movl 0x10(%rsp,%rcx,4), %esi
cmpq $0x6b, %rsi
ja 0x2299
movslq (%r15,%rsi,4), %rax
addq %r15, %rax
jmpq *%rax
movb 0x1b(%rbx), %al
andb $0xf, %al
shlb $0x4, %sil
orb %al, %sil
addb $0x20, %sil
jmp 0x216b
movb 0x1b(%rbx), %al
andb $-0x10, %al
leal -0x28(%rsi), %ecx
jmp 0x2179
movb 0x1b(%rbx), %al
andb $0xf, %al
shlb $0x4, %sil
orb %al, %sil
addb $-0x20, %sil
movb %sil, 0x1b(%rbx)
jmp 0x217e
movb 0x1b(%rbx), %al
andb $-0x10, %al
leal -0x5c(%rsi), %ecx
orb %al, %cl
movb %cl, 0x1b(%rbx)
movl %ebp, %eax
incl %eax
movl %eax, %ebp
cmpl %r13d, %eax
jl 0x2126
jmp 0x1c08
orb $0x8, 0x1a(%rbx)
jmp 0x217e
movslq 0x38(%rbx), %rax
movl $0x3, 0x30(%rbx,%rax,4)
orb $0x1, 0x18(%rbx)
jmp 0x217e
andb $-0x10, 0x1b(%rbx)
jmp 0x217e
movslq %ebp, %rax
movl 0x14(%rsp,%rax,4), %edx
cmpl $0x2, %edx
je 0x22a8
movl %r13d, %eax
cmpl $0x5, %edx
jne 0x2180
addl $0x2, %ebp
movl 0x18(%rsp,%rcx,4), %edi
callq 0x2cf7
jmp 0x22bc
andb $-0x4, 0x1a(%rbx)
jmp 0x217e
orb $0x10, 0x1a(%rbx)
jmp 0x217e
orb $0x20, 0x1a(%rbx)
jmp 0x217e
movzwl 0x18(%rbx), %eax
movl %eax, %ecx
shrl $0xc, %ecx
andl $0x1, %ecx
movl $0x0, 0x38(%rbx)
movl %ecx, 0x30(%rbx)
andl $-0x2, %eax
movw %ax, 0x18(%rbx)
jmp 0x217e
orb $0x1, 0x1a(%rbx)
jmp 0x217e
orb $0x40, 0x1a(%rbx)
jmp 0x217e
movw $0x7000, 0x1a(%rbx)     # imm = 0x7000
jmp 0x217e
andb $-0x9, 0x1a(%rbx)
jmp 0x217e
andb $-0x11, 0x1a(%rbx)
jmp 0x217e
orb $0x4, 0x1a(%rbx)
jmp 0x217e
orb $0x2, 0x1a(%rbx)
jmp 0x217e
andb $-0x21, 0x1a(%rbx)
jmp 0x217e
andb $-0x5, 0x1a(%rbx)
jmp 0x217e
movb 0x1b(%rbx), %al
andb $0xf, %al
orb $0x70, %al
movb %al, 0x1b(%rbx)
jmp 0x217e
movslq %ebp, %rax
movl 0x14(%rsp,%rax,4), %edx
cmpl $0x2, %edx
je 0x22c9
movl %r13d, %eax
cmpl $0x5, %edx
jne 0x2180
movb 0x1b(%rbx), %r12b
andb $-0x10, %r12b
addl $0x2, %ebp
movl 0x18(%rsp,%rcx,4), %edi
callq 0x2cf7
jmp 0x22e5
movq %r14, %rdi
xorl %eax, %eax
callq 0x28a4
jmp 0x217e
movl 0x18(%rsp,%rax,4), %edi
movl 0x1c(%rsp,%rax,4), %esi
addl $0x4, %ebp
movl 0x20(%rsp,%rcx,4), %edx
callq 0x2deb
movb 0x1b(%rbx), %cl
andb $0xf, %cl
shlb $0x4, %al
orb %cl, %al
jmp 0x22e8
movb 0x1b(%rbx), %r12b
andb $-0x10, %r12b
movl 0x18(%rsp,%rax,4), %edi
movl 0x1c(%rsp,%rax,4), %esi
addl $0x4, %ebp
movl 0x20(%rsp,%rcx,4), %edx
callq 0x2deb
orb %r12b, %al
movb %al, 0x1b(%rbx)
jmp 0x217e
movl 0x8(%rbx), %eax
subl %r12d, %eax
movl %eax, 0x8(%rbx)
movl $0x0, 0xc(%rbx)
jns 0x2467
jmp 0x246f
testl %r13d, %r13d
jle 0x1c08
movl %r13d, %r14d
xorl %r12d, %r12d
movl 0x10(%rsp,%r12,4), %edx
movq %rbx, %rdi
movl %r15d, %esi
movl $0x1, %ecx
callq 0x2ba1
incq %r12
cmpq %r12, %r14
jne 0x231a
jmp 0x1c08
movq 0x8(%rbx), %rax
movq %rax, 0x3c(%rbx)
jmp 0x1c08
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x2356
decl %eax
movl %eax, 0xc(%rbx)
leaq 0x35df(%rip), %rdi      # 0x593c
jmp 0x1c01
leaq 0x35f2(%rip), %rdi      # 0x595b
jmp 0x1c01
movl 0x4(%rbx), %ecx
movl 0xc(%rbx), %edx
movslq %ecx, %rax
cmpl %eax, %edx
jl 0x2381
leal -0x1(%rcx), %edx
movl %edx, 0xc(%rbx)
movq 0x20(%rbx), %rsi
movslq 0x8(%rbx), %rdi
movq (%rsi,%rdi,8), %rsi
movzwl -0x2(%rsi,%rax,4), %eax
movl %ecx, %edi
subl %r12d, %edi
cmpl %edi, %edx
jge 0x23ce
movslq %edx, %rdx
movslq %r12d, %rsi
shlq $0x2, %rsi
movq 0x20(%rbx), %rcx
movslq 0x8(%rbx), %rdi
movq (%rcx,%rdi,8), %rcx
leaq (%rcx,%rdx,4), %rdi
movl (%rsi,%rdi), %edi
movl %edi, (%rcx,%rdx,4)
incq %rdx
movl 0x4(%rbx), %ecx
movl %ecx, %edi
subl %r12d, %edi
movslq %edi, %r8
cmpq %r8, %rdx
jl 0x23a5
cmpl %ecx, %edi
jge 0x1c08
movslq %edi, %rcx
movq 0x20(%rbx), %rdx
movslq 0x8(%rbx), %rsi
movq (%rdx,%rsi,8), %rdx
movw $0x20, (%rdx,%rcx,4)
movw %ax, 0x2(%rdx,%rcx,4)
incq %rcx
movslq 0x4(%rbx), %rdx
cmpq %rdx, %rcx
jl 0x23d9
jmp 0x1c08
movq 0x3c(%rbx), %rax
movq %rax, 0x8(%rbx)
jmp 0x1c08
leaq 0x3586(%rip), %rdi      # 0x599b
xorl %eax, %eax
callq 0x28a4
jmp 0x1c08
testl %r13d, %r13d
jle 0x1c08
movl %r13d, %r14d
xorl %r12d, %r12d
movl 0x10(%rsp,%r12,4), %edx
movq %rbx, %rdi
movl %r15d, %esi
xorl %ecx, %ecx
callq 0x2ba1
incq %r12
cmpq %r12, %r14
jne 0x2430
jmp 0x1c08
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x245c
decl %eax
movl %eax, 0xc(%rbx)
movl 0x8(%rbx), %eax
subl %r12d, %eax
movl %eax, 0x8(%rbx)
js 0x246f
cmpl (%rbx), %eax
jl 0x1c08
movl $0x0, 0x8(%rbx)
jmp 0x1c08
movl 0x4(%rbx), %esi
movl 0xc(%rbx), %r8d
leal -0x1(%rsi), %ecx
cmpl %esi, %r8d
jl 0x2490
movl %ecx, 0xc(%rbx)
movl %ecx, %r8d
xorl %edi, %edi
cmpq $0x1, %rax
je 0x26ea
movl (%rbx), %edx
decl %edx
testl %eax, %eax
jne 0x26f0
movl 0x8(%rbx), %edi
jmp 0x26f3
movl (%rbx), %eax
addl 0x8(%rbx), %r12d
movl %r12d, 0x8(%rbx)
movl $0x0, 0xc(%rbx)
setns %cl
cmpl %eax, %r12d
setl %dl
testb %dl, %cl
jne 0x1c08
decl %eax
movl %eax, 0x8(%rbx)
jmp 0x1c08
movl 0x4(%rbx), %eax
movl 0xc(%rbx), %ecx
leal -0x1(%rax), %edx
cmpl %eax, %ecx
cmovll %ecx, %edx
subl %r12d, %edx
xorl %ecx, %ecx
cmpl %eax, %edx
movl $0x0, %eax
cmovll %edx, %eax
testl %edx, %edx
cmovsl %ecx, %eax
jmp 0x26bd
movl 0x4(%rbx), %eax
cmpl %eax, 0xc(%rbx)
jl 0x2510
decl %eax
movl %eax, 0xc(%rbx)
movl 0x8(%rbx), %eax
movl 0x10(%rbx), %ebp
cmpl %ebp, %eax
jl 0x1c08
cmpl 0x14(%rbx), %eax
jg 0x1c08
movl %eax, 0x10(%rbx)
testl %r12d, %r12d
jle 0x253c
movq %rbx, %rdi
callq 0x2b1c
decl %r12d
jne 0x252f
movl %ebp, 0x10(%rbx)
jmp 0x1c08
movl 0x4(%rbx), %esi
movl 0xc(%rbx), %edx
leal -0x1(%rsi), %ecx
cmpl %esi, %edx
jl 0x2556
movl %ecx, 0xc(%rbx)
movl %ecx, %edx
cmpq $0x1, %rax
je 0x2792
testl %eax, %eax
je 0x2796
jmp 0x2794
movl 0x4(%rbx), %ecx
cmpl %ecx, 0xc(%rbx)
jl 0x257a
decl %ecx
movl %ecx, 0xc(%rbx)
testl %r12d, %r12d
jle 0x1c08
cmpq $0x1, %rax
adcq $0x0, %rax
xorl %ecx, %ecx
movq 0x20(%rbx), %rdx
movslq 0x8(%rbx), %rsi
movq (%rdx,%rsi,8), %rdx
movslq 0xc(%rbx), %rsi
addq %rcx, %rsi
movzwl 0x1a(%rbx), %edi
movw $0x20, (%rdx,%rsi,4)
movw %di, 0x2(%rdx,%rsi,4)
incq %rcx
cmpl %ecx, %eax
jne 0x258d
jmp 0x1c08
cmpl $0x2, %r13d
jne 0x26c5
cmpl $0x2, %eax
movl $0x1, %ecx
cmovll %ecx, %eax
decl %eax
movl 0x14(%rsp), %edx
cmpl $0x2, %edx
cmovgel %edx, %ecx
jmp 0x26c9
leaq 0x3392(%rip), %rdi      # 0x597a
jmp 0x1c01
orb $0x10, 0x19(%rbx)
cmpl $0x0, 0x30(%rbx)
jne 0x25fe
movl $0x1, 0x30(%rbx)
cmpl $0x0, 0x34(%rbx)
jne 0x1c08
movl $0x1, 0x34(%rbx)
jmp 0x1c08
movl $0x2, 0x34(%rbx)
jmp 0x1c08
leaq 0x32a8(%rip), %rdi      # 0x58cf
xorl %eax, %eax
callq 0x28a4
movl 0x18(%rbx), %eax
shrl $0xc, %eax
andl $0x1, %eax
movl %eax, 0x34(%rbx)
jmp 0x1c08
movl $0x2, 0x30(%rbx)
jmp 0x1c08
leaq 0x327d(%rip), %rdi      # 0x58cf
xorl %eax, %eax
callq 0x28a4
movl 0x18(%rbx), %eax
shrl $0xc, %eax
andl $0x1, %eax
movl %eax, 0x30(%rbx)
jmp 0x1c08
cmpl $0x2, %eax
movl $0x1, %edx
cmovgel %eax, %edx
decl %edx
movl %edx, 0x8(%rbx)
movl $0x0, 0xc(%rbx)
xorl %ecx, %ecx
movl %edx, %eax
jmp 0x2693
movq $0x0, 0x8(%rbx)
xorl %ecx, %ecx
xorl %eax, %eax
testb $0x40, 0x18(%rbx)
jne 0x269d
movl (%rbx), %edx
jmp 0x26a7
addl 0x10(%rbx), %eax
movl %eax, 0x8(%rbx)
movl (%rbx), %edx
js 0x26ab
cmpl %edx, %eax
jl 0x26b0
decl %edx
movl %edx, 0x8(%rbx)
movl 0x4(%rbx), %eax
cmpl %eax, %ecx
jl 0x1c08
decl %eax
movl %eax, 0xc(%rbx)
jmp 0x1c08
movl (%rbx), %ecx
xorl %eax, %eax
decl %ecx
movl %eax, 0x10(%rbx)
movl %ecx, 0x14(%rbx)
movzwl 0x18(%rbx), %ecx
andl $0x40, %ecx
cmovnel %eax, %ecx
movl %ecx, 0x8(%rbx)
movl $0x0, 0xc(%rbx)
jmp 0x1c08
movl 0x8(%rbx), %edx
movl %r8d, %ecx
xorl %r8d, %r8d
cmpl %esi, %r8d
jge 0x2724
movslq %edi, %rax
movslq %r8d, %r8
movq 0x20(%rbx), %rsi
movq (%rsi,%rax,8), %rsi
movzwl 0x1a(%rbx), %r9d
movw $0x20, (%rsi,%r8,4)
movw %r9w, 0x2(%rsi,%r8,4)
incq %r8
movslq 0x4(%rbx), %rsi
cmpq %rsi, %r8
jl 0x26fe
incl %edi
cmpl %edx, %edi
jge 0x275f
movslq %edi, %rax
testl %esi, %esi
jle 0x2758
xorl %edi, %edi
movq 0x20(%rbx), %rsi
movq (%rsi,%rax,8), %rsi
movzwl 0x1a(%rbx), %r8d
movw $0x20, (%rsi,%rdi,4)
movw %r8w, 0x2(%rsi,%rdi,4)
incq %rdi
movslq 0x4(%rbx), %rsi
cmpq %rsi, %rdi
jl 0x2733
incq %rax
cmpl %eax, %edx
jne 0x272d
testl %ecx, %ecx
js 0x1c08
movslq %edx, %rax
incl %ecx
xorl %edx, %edx
movq 0x20(%rbx), %rsi
movq (%rsi,%rax,8), %rsi
movzwl 0x1a(%rbx), %edi
movw $0x20, (%rsi,%rdx,4)
movw %di, 0x2(%rsi,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x276e
jmp 0x1c08
movl %edx, %ecx
xorl %edx, %edx
cmpl %ecx, %edx
jg 0x1c08
movslq %edx, %rax
subl %edx, %ecx
incl %ecx
movq 0x20(%rbx), %rdx
movslq 0x8(%rbx), %rsi
movq (%rdx,%rsi,8), %rdx
movzwl 0x1a(%rbx), %esi
movw $0x20, (%rdx,%rax,4)
movw %si, 0x2(%rdx,%rax,4)
incq %rax
decl %ecx
jne 0x27a5
jmp 0x1c08