// File: /workspace/github_c_makefile_star2_O0/mijallen[P]SimpleHTTPServer/lib/libyaml/src/reader.c
// Function: yaml_parser_update_buffer
YAML_DECLARE(int)
yaml_parser_update_buffer(yaml_parser_t *parser, size_t length)
{
    int first = 1;

    assert(parser->read_handler);   /* Read handler must be set. */

    /* If the EOF flag is set and the raw buffer is empty, do nothing. */

    if (parser->eof && parser->raw_buffer.pointer == parser->raw_buffer.last)
        return 1;

    /* Return if the buffer contains enough characters. */

    if (parser->unread >= length)
        return 1;

    /* Determine the input encoding if it is not known yet. */

    if (!parser->encoding) {
        if (!yaml_parser_determine_encoding(parser))
            return 0;
    }

    /* Move the unread characters to the beginning of the buffer. */

    if (parser->buffer.start < parser->buffer.pointer
            && parser->buffer.pointer < parser->buffer.last) {
        size_t size = parser->buffer.last - parser->buffer.pointer;
        memmove(parser->buffer.start, parser->buffer.pointer, size);
        parser->buffer.pointer = parser->buffer.start;
        parser->buffer.last = parser->buffer.start + size;
    }
    else if (parser->buffer.pointer == parser->buffer.last) {
        parser->buffer.pointer = parser->buffer.start;
        parser->buffer.last = parser->buffer.start;
    }

    /* Fill the buffer until it has enough characters. */

    while (parser->unread < length)
    {
        /* Fill the raw buffer if necessary. */

        if (!first || parser->raw_buffer.pointer == parser->raw_buffer.last) {
            if (!yaml_parser_update_raw_buffer(parser)) return 0;
        }
        first = 0;

        /* Decode the raw buffer. */

        while (parser->raw_buffer.pointer != parser->raw_buffer.last)
        {
            unsigned int value = 0, value2 = 0;
            int incomplete = 0;
            unsigned char octet;
            unsigned int width = 0;
            int low, high;
            size_t k;
            size_t raw_unread = parser->raw_buffer.last - parser->raw_buffer.pointer;

            /* Decode the next character. */

            switch (parser->encoding)
            {
                case YAML_UTF8_ENCODING:

                    /*
                     * Decode a UTF-8 character.  Check RFC 3629
                     * (http://www.ietf.org/rfc/rfc3629.txt) for more details.
                     *
                     * The following table (taken from the RFC) is used for
                     * decoding.
                     *
                     *    Char. number range |        UTF-8 octet sequence
                     *      (hexadecimal)    |              (binary)
                     *   --------------------+------------------------------------
                     *   0000 0000-0000 007F | 0xxxxxxx
                     *   0000 0080-0000 07FF | 110xxxxx 10xxxxxx
                     *   0000 0800-0000 FFFF | 1110xxxx 10xxxxxx 10xxxxxx
                     *   0001 0000-0010 FFFF | 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
                     *
                     * Additionally, the characters in the range 0xD800-0xDFFF
                     * are prohibited as they are reserved for use with UTF-16
                     * surrogate pairs.
                     */

                    /* Determine the length of the UTF-8 sequence. */

                    octet = parser->raw_buffer.pointer[0];
                    width = (octet & 0x80) == 0x00 ? 1 :
                            (octet & 0xE0) == 0xC0 ? 2 :
                            (octet & 0xF0) == 0xE0 ? 3 :
                            (octet & 0xF8) == 0xF0 ? 4 : 0;

                    /* Check if the leading octet is valid. */

                    if (!width)
                        return yaml_parser_set_reader_error(parser,
                                "invalid leading UTF-8 octet",
                                parser->offset, octet);

                    /* Check if the raw buffer contains an incomplete character. */

                    if (width > raw_unread) {
                        if (parser->eof) {
                            return yaml_parser_set_reader_error(parser,
                                    "incomplete UTF-8 octet sequence",
                                    parser->offset, -1);
                        }
                        incomplete = 1;
                        break;
                    }

                    /* Decode the leading octet. */

                    value = (octet & 0x80) == 0x00 ? octet & 0x7F :
                            (octet & 0xE0) == 0xC0 ? octet & 0x1F :
                            (octet & 0xF0) == 0xE0 ? octet & 0x0F :
                            (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0;

                    /* Check and decode the trailing octets. */

                    for (k = 1; k < width; k ++)
                    {
                        octet = parser->raw_buffer.pointer[k];

                        /* Check if the octet is valid. */

                        if ((octet & 0xC0) != 0x80)
                            return yaml_parser_set_reader_error(parser,
                                    "invalid trailing UTF-8 octet",
                                    parser->offset+k, octet);

                        /* Decode the octet. */

                        value = (value << 6) + (octet & 0x3F);
                    }

                    /* Check the length of the sequence against the value. */

                    if (!((width == 1) ||
                            (width == 2 && value >= 0x80) ||
                            (width == 3 && value >= 0x800) ||
                            (width == 4 && value >= 0x10000)))
                        return yaml_parser_set_reader_error(parser,
                                "invalid length of a UTF-8 sequence",
                                parser->offset, -1);

                    /* Check the range of the value. */

                    if ((value >= 0xD800 && value <= 0xDFFF) || value > 0x10FFFF)
                        return yaml_parser_set_reader_error(parser,
                                "invalid Unicode character",
                                parser->offset, value);

                    break;
                
                case YAML_UTF16LE_ENCODING:
                case YAML_UTF16BE_ENCODING:

                    low = (parser->encoding == YAML_UTF16LE_ENCODING ? 0 : 1);
                    high = (parser->encoding == YAML_UTF16LE_ENCODING ? 1 : 0);

                    /*
                     * The UTF-16 encoding is not as simple as one might
                     * naively think.  Check RFC 2781
                     * (http://www.ietf.org/rfc/rfc2781.txt).
                     *
                     * Normally, two subsequent bytes describe a Unicode
                     * character.  However a special technique (called a
                     * surrogate pair) is used for specifying character
                     * values larger than 0xFFFF.
                     *
                     * A surrogate pair consists of two pseudo-characters:
                     *      high surrogate area (0xD800-0xDBFF)
                     *      low surrogate area (0xDC00-0xDFFF)
                     *
                     * The following formulas are used for decoding
                     * and encoding characters using surrogate pairs:
                     * 
                     *  U  = U' + 0x10000   (0x01 00 00 <= U <= 0x10 FF FF)
                     *  U' = yyyyyyyyyyxxxxxxxxxx   (0 <= U' <= 0x0F FF FF)
                     *  W1 = 110110yyyyyyyyyy
                     *  W2 = 110111xxxxxxxxxx
                     *
                     * where U is the character value, W1 is the high surrogate
                     * area, W2 is the low surrogate area.
                     */

                    /* Check for incomplete UTF-16 character. */

                    if (raw_unread < 2) {
                        if (parser->eof) {
                            return yaml_parser_set_reader_error(parser,
                                    "incomplete UTF-16 character",
                                    parser->offset, -1);
                        }
                        incomplete = 1;
                        break;
                    }

                    /* Get the character. */

                    value = parser->raw_buffer.pointer[low]
                        + (parser->raw_buffer.pointer[high] << 8);

                    /* Check for unexpected low surrogate area. */

                    if ((value & 0xFC00) == 0xDC00)
                        return yaml_parser_set_reader_error(parser,
                                "unexpected low surrogate area",
                                parser->offset, value);

                    /* Check for a high surrogate area. */

                    if ((value & 0xFC00) == 0xD800) {

                        width = 4;

                        /* Check for incomplete surrogate pair. */

                        if (raw_unread < 4) {
                            if (parser->eof) {
                                return yaml_parser_set_reader_error(parser,
                                        "incomplete UTF-16 surrogate pair",
                                        parser->offset, -1);
                            }
                            incomplete = 1;
                            break;
                        }

                        /* Get the next character. */

                        value2 = parser->raw_buffer.pointer[low+2]
                            + (parser->raw_buffer.pointer[high+2] << 8);

                        /* Check for a low surrogate area. */

                        if ((value2 & 0xFC00) != 0xDC00)
                            return yaml_parser_set_reader_error(parser,
                                    "expected low surrogate area",
                                    parser->offset+2, value2);

                        /* Generate the value of the surrogate pair. */

                        value = 0x10000 + ((value & 0x3FF) << 10) + (value2 & 0x3FF);
                    }

                    else {
                        width = 2;
                    }

                    break;

                default:
                    assert(1);      /* Impossible. */
            }

            /* Check if the raw buffer contains enough bytes to form a character. */

            if (incomplete) break;

            /*
             * Check if the character is in the allowed range:
             *      #x9 | #xA | #xD | [#x20-#x7E]               (8 bit)
             *      | #x85 | [#xA0-#xD7FF] | [#xE000-#xFFFD]    (16 bit)
             *      | [#x10000-#x10FFFF]                        (32 bit)
             */

            if (! (value == 0x09 || value == 0x0A || value == 0x0D
                        || (value >= 0x20 && value <= 0x7E)
                        || (value == 0x85) || (value >= 0xA0 && value <= 0xD7FF)
                        || (value >= 0xE000 && value <= 0xFFFD)
                        || (value >= 0x10000 && value <= 0x10FFFF)))
                return yaml_parser_set_reader_error(parser,
                        "control characters are not allowed",
                        parser->offset, value);

            /* Move the raw pointers. */

            parser->raw_buffer.pointer += width;
            parser->offset += width;

            /* Finally put the character into the buffer. */

            /* 0000 0000-0000 007F -> 0xxxxxxx */
            if (value <= 0x7F) {
                *(parser->buffer.last++) = value;
            }
            /* 0000 0080-0000 07FF -> 110xxxxx 10xxxxxx */
            else if (value <= 0x7FF) {
                *(parser->buffer.last++) = 0xC0 + (value >> 6);
                *(parser->buffer.last++) = 0x80 + (value & 0x3F);
            }
            /* 0000 0800-0000 FFFF -> 1110xxxx 10xxxxxx 10xxxxxx */
            else if (value <= 0xFFFF) {
                *(parser->buffer.last++) = 0xE0 + (value >> 12);
                *(parser->buffer.last++) = 0x80 + ((value >> 6) & 0x3F);
                *(parser->buffer.last++) = 0x80 + (value & 0x3F);
            }
            /* 0001 0000-0010 FFFF -> 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx */
            else {
                *(parser->buffer.last++) = 0xF0 + (value >> 18);
                *(parser->buffer.last++) = 0x80 + ((value >> 12) & 0x3F);
                *(parser->buffer.last++) = 0x80 + ((value >> 6) & 0x3F);
                *(parser->buffer.last++) = 0x80 + (value & 0x3F);
            }

            parser->unread ++;
        }

        /* On EOF, put NUL into the buffer and return. */

        if (parser->eof) {
            *(parser->buffer.last++) = '\0';
            parser->unread ++;
            return 1;
        }

    }

    if (parser->offset >= PTRDIFF_MAX)
        return yaml_parser_set_reader_error(parser, "input is too long",
                PTRDIFF_MAX, -1);

    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x1, -0x1c(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x58(%rax)
je 0x67c7
jmp 0x67e6
leaq 0x24951(%rip), %rdi     # 0x2b11f
leaq 0x25615(%rip), %rsi     # 0x2bdea
movl $0x92, %edx
leaq 0x25612(%rip), %rcx     # 0x2bdf3
callq 0x2100
movq -0x10(%rbp), %rax
cmpl $0x0, 0x80(%rax)
je 0x6817
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xc8(%rcx), %rax
jne 0x6817
movl $0x1, -0x4(%rbp)
jmp 0x71d0
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rax
cmpq -0x18(%rbp), %rax
jb 0x6834
movl $0x1, -0x4(%rbp)
jmp 0x71d0
movq -0x10(%rbp), %rax
cmpl $0x0, 0xd0(%rax)
jne 0x685d
movq -0x10(%rbp), %rdi
callq 0x71e0
cmpl $0x0, %eax
jne 0x685b
movl $0x0, -0x4(%rbp)
jmp 0x71d0
jmp 0x685d
movq -0x10(%rbp), %rax
movq 0x88(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0x98(%rcx), %rax
jae 0x68ff
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xa0(%rcx), %rax
jae 0x68ff
movq -0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rcx
subq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x88(%rax), %rdi
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rsi
movq -0x28(%rbp), %rdx
callq 0x21e0
movq -0x10(%rbp), %rax
movq 0x88(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x98(%rax)
movq -0x10(%rbp), %rax
movq 0x88(%rax), %rcx
addq -0x28(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xa0(%rax)
jmp 0x6945
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xa0(%rcx), %rax
jne 0x6943
movq -0x10(%rbp), %rax
movq 0x88(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x98(%rax)
movq -0x10(%rbp), %rax
movq 0x88(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xa0(%rax)
jmp 0x6945
jmp 0x6947
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rax
cmpq -0x18(%rbp), %rax
jae 0x718e
cmpl $0x0, -0x1c(%rbp)
je 0x697a
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xc8(%rcx), %rax
jne 0x6996
movq -0x10(%rbp), %rdi
callq 0x73e0
cmpl $0x0, %eax
jne 0x6994
movl $0x0, -0x4(%rbp)
jmp 0x71d0
jmp 0x6996
movl $0x0, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xc8(%rcx), %rax
je 0x7141
movl $0x0, -0x2c(%rbp)
movl $0x0, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl $0x0, -0x3c(%rbp)
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rcx
movq 0xc8(%rax), %rax
subq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rax
movl 0xd0(%rax), %eax
movl %eax, -0x5c(%rbp)
subl $0x1, %eax
je 0x6a16
jmp 0x6a02
movl -0x5c(%rbp), %eax
addl $-0x2, %eax
subl $0x2, %eax
jb 0x6cca
jmp 0x6ea5
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movb (%rax), %al
movb %al, -0x35(%rbp)
movzbl -0x35(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
jne 0x6a3e
movl $0x1, %eax
movl %eax, -0x60(%rbp)
jmp 0x6a9b
movzbl -0x35(%rbp), %eax
andl $0xe0, %eax
cmpl $0xc0, %eax
jne 0x6a58
movl $0x2, %eax
movl %eax, -0x64(%rbp)
jmp 0x6a95
movzbl -0x35(%rbp), %eax
andl $0xf0, %eax
cmpl $0xe0, %eax
jne 0x6a72
movl $0x3, %eax
movl %eax, -0x68(%rbp)
jmp 0x6a8f
movzbl -0x35(%rbp), %edx
andl $0xf8, %edx
xorl %eax, %eax
movl $0x4, %ecx
cmpl $0xf0, %edx
cmovel %ecx, %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
movl %eax, -0x64(%rbp)
movl -0x64(%rbp), %eax
movl %eax, -0x60(%rbp)
movl -0x60(%rbp), %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, -0x3c(%rbp)
jne 0x6ace
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
movzbl -0x35(%rbp), %ecx
leaq 0x25369(%rip), %rsi     # 0x2be2a
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl -0x3c(%rbp), %eax
cmpq -0x58(%rbp), %rax
jbe 0x6b18
movq -0x10(%rbp), %rax
cmpl $0x0, 0x80(%rax)
je 0x6b0c
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
leaq 0x2534c(%rip), %rsi     # 0x2be46
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl $0x1, -0x34(%rbp)
jmp 0x6ea7
movzbl -0x35(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
jne 0x6b32
movzbl -0x35(%rbp), %eax
andl $0x7f, %eax
movl %eax, -0x6c(%rbp)
jmp 0x6b9f
movzbl -0x35(%rbp), %eax
andl $0xe0, %eax
cmpl $0xc0, %eax
jne 0x6b4e
movzbl -0x35(%rbp), %eax
andl $0x1f, %eax
movl %eax, -0x70(%rbp)
jmp 0x6b99
movzbl -0x35(%rbp), %eax
andl $0xf0, %eax
cmpl $0xe0, %eax
jne 0x6b6a
movzbl -0x35(%rbp), %eax
andl $0xf, %eax
movl %eax, -0x74(%rbp)
jmp 0x6b93
movzbl -0x35(%rbp), %eax
andl $0xf8, %eax
cmpl $0xf0, %eax
jne 0x6b86
movzbl -0x35(%rbp), %eax
andl $0x7, %eax
movl %eax, -0x78(%rbp)
jmp 0x6b8d
xorl %eax, %eax
movl %eax, -0x78(%rbp)
jmp 0x6b8d
movl -0x78(%rbp), %eax
movl %eax, -0x74(%rbp)
movl -0x74(%rbp), %eax
movl %eax, -0x70(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq $0x1, -0x50(%rbp)
movq -0x50(%rbp), %rax
movl -0x3c(%rbp), %ecx
cmpq %rcx, %rax
jae 0x6c29
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movq -0x50(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -0x35(%rbp)
movzbl -0x35(%rbp), %eax
andl $0xc0, %eax
cmpl $0x80, %eax
je 0x6c09
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
addq -0x50(%rbp), %rdx
movzbl -0x35(%rbp), %ecx
leaq 0x2526a(%rip), %rsi     # 0x2be66
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl -0x2c(%rbp), %eax
shll $0x6, %eax
movzbl -0x35(%rbp), %ecx
andl $0x3f, %ecx
addl %ecx, %eax
movl %eax, -0x2c(%rbp)
movq -0x50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x50(%rbp)
jmp 0x6bad
cmpl $0x1, -0x3c(%rbp)
je 0x6c84
cmpl $0x2, -0x3c(%rbp)
jne 0x6c3e
cmpl $0x80, -0x2c(%rbp)
jae 0x6c84
cmpl $0x3, -0x3c(%rbp)
jne 0x6c4d
cmpl $0x800, -0x2c(%rbp)     # imm = 0x800
jae 0x6c84
cmpl $0x4, -0x3c(%rbp)
jne 0x6c5c
cmpl $0x10000, -0x2c(%rbp)   # imm = 0x10000
jae 0x6c84
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
leaq 0x25211(%rip), %rsi     # 0x2be83
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
cmpl $0xd800, -0x2c(%rbp)    # imm = 0xD800
jb 0x6c96
cmpl $0xdfff, -0x2c(%rbp)    # imm = 0xDFFF
jbe 0x6c9f
cmpl $0x10ffff, -0x2c(%rbp)  # imm = 0x10FFFF
jbe 0x6cc5
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
movl -0x2c(%rbp), %ecx
leaq 0x251ee(%rip), %rsi     # 0x2bea6
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
jmp 0x6ea7
movq -0x10(%rbp), %rax
movl 0xd0(%rax), %edx
movl $0x1, %eax
xorl %ecx, %ecx
cmpl $0x2, %edx
cmovel %ecx, %eax
movl %eax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movl 0xd0(%rax), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x2, %edx
cmovel %ecx, %eax
movl %eax, -0x44(%rbp)
cmpq $0x2, -0x58(%rbp)
jae 0x6d46
movq -0x10(%rbp), %rax
cmpl $0x0, 0x80(%rax)
je 0x6d3a
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
leaq 0x25198(%rip), %rsi     # 0x2bec0
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl $0x1, -0x34(%rbp)
jmp 0x6ea7
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movslq -0x40(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0x10(%rbp), %rcx
movq 0xc0(%rcx), %rcx
movslq -0x44(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
shll $0x8, %ecx
addl %ecx, %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
andl $0xfc00, %eax           # imm = 0xFC00
cmpl $0xdc00, %eax           # imm = 0xDC00
jne 0x6da9
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
movl -0x2c(%rbp), %ecx
leaq 0x25140(%rip), %rsi     # 0x2bedc
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl -0x2c(%rbp), %eax
andl $0xfc00, %eax           # imm = 0xFC00
cmpl $0xd800, %eax           # imm = 0xD800
jne 0x6e9c
movl $0x4, -0x3c(%rbp)
cmpq $0x4, -0x58(%rbp)
jae 0x6e0b
movq -0x10(%rbp), %rax
cmpl $0x0, 0x80(%rax)
je 0x6dff
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
leaq 0x2510d(%rip), %rsi     # 0x2befa
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl $0x1, -0x34(%rbp)
jmp 0x6ea7
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movl -0x40(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movq -0x10(%rbp), %rcx
movq 0xc0(%rcx), %rcx
movl -0x44(%rbp), %edx
addl $0x2, %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
shll $0x8, %ecx
addl %ecx, %eax
movl %eax, -0x30(%rbp)
movl -0x30(%rbp), %eax
andl $0xfc00, %eax           # imm = 0xFC00
cmpl $0xdc00, %eax           # imm = 0xDC00
je 0x6e7c
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
addq $0x2, %rdx
movl -0x30(%rbp), %ecx
leaq 0x2506f(%rip), %rsi     # 0x2bede
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl -0x2c(%rbp), %eax
andl $0x3ff, %eax            # imm = 0x3FF
shll $0xa, %eax
addl $0x10000, %eax          # imm = 0x10000
movl -0x30(%rbp), %ecx
andl $0x3ff, %ecx            # imm = 0x3FF
addl %ecx, %eax
movl %eax, -0x2c(%rbp)
jmp 0x6ea3
movl $0x2, -0x3c(%rbp)
jmp 0x6ea7
jmp 0x6ea7
cmpl $0x0, -0x34(%rbp)
je 0x6eb2
jmp 0x7141
cmpl $0x9, -0x2c(%rbp)
je 0x6f35
cmpl $0xa, -0x2c(%rbp)
je 0x6f35
cmpl $0xd, -0x2c(%rbp)
je 0x6f35
cmpl $0x20, -0x2c(%rbp)
jb 0x6ed0
cmpl $0x7e, -0x2c(%rbp)
jbe 0x6f35
cmpl $0x85, -0x2c(%rbp)
je 0x6f35
cmpl $0xa0, -0x2c(%rbp)
jb 0x6eeb
cmpl $0xd7ff, -0x2c(%rbp)    # imm = 0xD7FF
jbe 0x6f35
cmpl $0xe000, -0x2c(%rbp)    # imm = 0xE000
jb 0x6efd
cmpl $0xfffd, -0x2c(%rbp)    # imm = 0xFFFD
jbe 0x6f35
cmpl $0x10000, -0x2c(%rbp)   # imm = 0x10000
jb 0x6f0f
cmpl $0x10ffff, -0x2c(%rbp)  # imm = 0x10FFFF
jbe 0x6f35
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
movl -0x2c(%rbp), %ecx
leaq 0x24ff3(%rip), %rsi     # 0x2bf1b
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl -0x3c(%rbp), %edx
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rcx
movl %edx, %edx
addq %rdx, %rcx
movq %rcx, 0xc0(%rax)
movl -0x3c(%rbp), %eax
movl %eax, %ecx
movq -0x10(%rbp), %rax
addq 0xd8(%rax), %rcx
movq %rcx, 0xd8(%rax)
cmpl $0x7f, -0x2c(%rbp)
ja 0x6f91
movl -0x2c(%rbp), %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
jmp 0x7126
cmpl $0x7ff, -0x2c(%rbp)     # imm = 0x7FF
ja 0x6fef
movl -0x2c(%rbp), %eax
shrl $0x6, %eax
addl $0xc0, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
movl -0x2c(%rbp), %eax
andl $0x3f, %eax
addl $0x80, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
jmp 0x7124
cmpl $0xffff, -0x2c(%rbp)    # imm = 0xFFFF
ja 0x707c
movl -0x2c(%rbp), %eax
shrl $0xc, %eax
addl $0xe0, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
movl -0x2c(%rbp), %eax
shrl $0x6, %eax
andl $0x3f, %eax
addl $0x80, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
movl -0x2c(%rbp), %eax
andl $0x3f, %eax
addl $0x80, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
jmp 0x7122
movl -0x2c(%rbp), %eax
shrl $0x12, %eax
addl $0xf0, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
movl -0x2c(%rbp), %eax
shrl $0xc, %eax
andl $0x3f, %eax
addl $0x80, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
movl -0x2c(%rbp), %eax
shrl $0x6, %eax
andl $0x3f, %eax
addl $0x80, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
movl -0x2c(%rbp), %eax
andl $0x3f, %eax
addl $0x80, %eax
movb %al, %cl
movq -0x10(%rbp), %rdx
movq 0xa0(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xa0(%rdx)
movb %cl, (%rax)
jmp 0x7124
jmp 0x7126
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xa8(%rax)
jmp 0x699d
movq -0x10(%rbp), %rax
cmpl $0x0, 0x80(%rax)
je 0x7189
movq -0x10(%rbp), %rcx
movq 0xa0(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0xa0(%rcx)
movb $0x0, (%rax)
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xa8(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x71d0
jmp 0x6947
movq -0x10(%rbp), %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rcx, 0xd8(%rax)
jb 0x71c9
movq -0x10(%rbp), %rdi
leaq 0x24d8e(%rip), %rsi     # 0x2bf3e
movabsq $0x7fffffffffffffff, %rdx # imm = 0x7FFFFFFFFFFFFFFF
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x71d0
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x80, %rsp
popq %rbp
retq
nopl (%rax)