// File: /workspace/github_c_makefile_star2_O0/mijallen[P]SimpleHTTPServer/lib/libyaml/src/reader.c
// Function: yaml_parser_update_raw_buffer
static int
yaml_parser_update_raw_buffer(yaml_parser_t *parser)
{
    size_t size_read = 0;

    /* Return if the raw buffer is full. */

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

    /* Return on EOF. */

    if (parser->eof) return 1;

    /* Move the remaining bytes in the raw buffer to the beginning. */

    if (parser->raw_buffer.start < parser->raw_buffer.pointer
            && parser->raw_buffer.pointer < parser->raw_buffer.last) {
        memmove(parser->raw_buffer.start, parser->raw_buffer.pointer,
                parser->raw_buffer.last - parser->raw_buffer.pointer);
    }
    parser->raw_buffer.last -=
        parser->raw_buffer.pointer - parser->raw_buffer.start;
    parser->raw_buffer.pointer = parser->raw_buffer.start;

    /* Call the read handler to fill the buffer. */

    if (!parser->read_handler(parser->read_handler_data, parser->raw_buffer.last,
                parser->raw_buffer.end - parser->raw_buffer.last, &size_read)) {
        return yaml_parser_set_reader_error(parser, "input error",
                parser->offset, -1);
    }
    parser->raw_buffer.last += size_read;
    if (!size_read) {
        parser->eof = 1;
    }

    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xc0(%rcx), %rax
jne 0x7430
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xb8(%rcx), %rax
jne 0x7430
movl $0x1, -0x4(%rbp)
jmp 0x758c
movq -0x10(%rbp), %rax
cmpl $0x0, 0x80(%rax)
je 0x7449
movl $0x1, -0x4(%rbp)
jmp 0x758c
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xc0(%rcx), %rax
jae 0x74ad
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0xc8(%rcx), %rax
jae 0x74ad
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rdi
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdx
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rax
subq %rax, %rdx
callq 0x21e0
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rax
subq %rax, %rsi
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
xorl %edx, %edx
subq %rsi, %rdx
addq %rdx, %rcx
movq %rcx, 0xc8(%rax)
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc0(%rax)
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x60(%rcx), %rdi
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rsi
movq -0x10(%rbp), %rcx
movq 0xb8(%rcx), %rdx
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
subq %rcx, %rdx
leaq -0x18(%rbp), %rcx
callq *%rax
cmpl $0x0, %eax
jne 0x755a
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xd8(%rax), %rdx
leaq 0x24a0f(%rip), %rsi     # 0x2bf5a
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x75a0
movl %eax, -0x4(%rbp)
jmp 0x758c
movq -0x18(%rbp), %rcx
movq -0x10(%rbp), %rax
addq 0xc8(%rax), %rcx
movq %rcx, 0xc8(%rax)
cmpq $0x0, -0x18(%rbp)
jne 0x7585
movq -0x10(%rbp), %rax
movl $0x1, 0x80(%rax)
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)