// File: /workspace/github_c_makefile_star2_O1/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_fetch_document_indicator
static int
yaml_parser_fetch_document_indicator(yaml_parser_t *parser,
        yaml_token_type_t type)
{
    yaml_mark_t start_mark, end_mark;
    yaml_token_t token;

    /* Reset the indentation level. */

    if (!yaml_parser_unroll_indent(parser, -1))
        return 0;

    /* Reset simple keys. */

    if (!yaml_parser_remove_simple_key(parser))
        return 0;

    parser->simple_key_allowed = 0;

    /* Consume the token. */

    start_mark = parser->mark;

    SKIP(parser);
    SKIP(parser);
    SKIP(parser);

    end_mark = parser->mark;

    /* Create the DOCUMENT-START or DOCUMENT-END token. */

    TOKEN_INIT(token, type, start_mark, end_mark);

    /* Append the token to the queue. */

    if (!ENQUEUE(parser, parser->tokens, token))
        return 0;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x80, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq $-0x1, %rsi
callq 0x736d
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
je 0x77b7
movq 0x168(%rbx), %rcx
cmpl $0x0, -0x28(%rcx)
je 0x7556
cmpl $0x0, -0x24(%rcx)
je 0x7556
movq -0x8(%rcx), %rdx
movq %rdx, 0x10(%rsp)
movups -0x18(%rcx), %xmm0
movaps %xmm0, (%rsp)
movl $0x3, (%rbx)
leaq 0x11c0b(%rip), %rcx     # 0x19126
movq %rcx, 0x38(%rbx)
movaps (%rsp), %xmm0
movups %xmm0, 0x40(%rbx)
movq 0x10(%rsp), %rcx
movq %rcx, 0x50(%rbx)
leaq 0x11c0b(%rip), %rcx     # 0x19142
movq %rcx, 0x8(%rbx)
movups 0xe0(%rbx), %xmm0
movups %xmm0, 0x20(%rbx)
movq 0xf0(%rbx), %rcx
movq %rcx, 0x30(%rbx)
jmp 0x77b7
xorl %eax, %eax
movl %eax, -0x28(%rcx)
movl %eax, 0x154(%rbx)
movq 0xf0(%rbx), %rax
movq %rax, 0x70(%rsp)
movups 0xe0(%rbx), %xmm0
movaps %xmm0, 0x60(%rsp)
movq 0xe0(%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xe0(%rbx)
movq 0xf0(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0xf0(%rbx)
movq 0x98(%rbx), %r8
movq 0xa8(%rbx), %rdx
leaq -0x1(%rdx), %rsi
movq %rsi, 0xa8(%rbx)
movzbl (%r8), %edi
movl $0x1, %esi
movl $0x1, %r9d
testb %dil, %dil
jns 0x760a
movl %edi, %r10d
andl $-0x20, %r10d
movl $0x2, %r9d
cmpl $0xc0, %r10d
je 0x760a
movl %edi, %r10d
andl $-0x10, %r10d
movl $0x3, %r9d
cmpl $0xe0, %r10d
je 0x760a
andl $-0x8, %edi
xorl %r9d, %r9d
cmpl $0xf0, %edi
sete %r9b
shll $0x2, %r9d
leaq (%r8,%r9), %rdi
movq %rdi, 0x98(%rbx)
leaq 0x2(%rax), %r10
movq %r10, 0xe0(%rbx)
leaq 0x2(%rcx), %r10
movq %r10, 0xf0(%rbx)
leaq -0x2(%rdx), %r10
movq %r10, 0xa8(%rbx)
movzbl (%r8,%r9), %r8d
testb %r8b, %r8b
jns 0x767e
movl %r8d, %r9d
andl $-0x20, %r9d
movl $0x2, %esi
cmpl $0xc0, %r9d
je 0x767e
movl %r8d, %r9d
andl $-0x10, %r9d
movl $0x3, %esi
cmpl $0xe0, %r9d
je 0x767e
andl $-0x8, %r8d
xorl %esi, %esi
cmpl $0xf0, %r8d
sete %sil
shll $0x2, %esi
leaq 0xe0(%rbx), %r8
leaq (%rdi,%rsi), %r9
movq %r9, 0x98(%rbx)
addq $0x3, %rax
movq %rax, 0xe0(%rbx)
addq $0x3, %rcx
movq %rcx, 0xf0(%rbx)
addq $-0x3, %rdx
movq %rdx, 0xa8(%rbx)
movzbl (%rdi,%rsi), %eax
movl $0x1, %ecx
testb %al, %al
jns 0x76f2
movl %eax, %edx
andl $-0x20, %edx
movl $0x2, %ecx
cmpl $0xc0, %edx
je 0x76f2
movl %eax, %edx
andl $-0x10, %edx
movl $0x3, %ecx
cmpl $0xe0, %edx
je 0x76f2
andl $-0x8, %eax
xorl %ecx, %ecx
cmpl $0xf0, %eax
sete %cl
shll $0x2, %ecx
addq %rcx, %r9
movq %r9, 0x98(%rbx)
movq 0x10(%r8), %rax
movq %rax, 0x50(%rsp)
movups (%r8), %xmm0
movaps %xmm0, 0x40(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movl $0x0, 0x30(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x2c(%rsp)
movaps 0x60(%rsp), %xmm0
movups %xmm0, 0x1c(%rsp)
leaq 0x120(%rbx), %r14
movq 0x120(%rbx), %rax
cmpq 0x110(%rbx), %rax
jne 0x7773
leaq 0x110(%rbx), %rcx
leaq 0x108(%rbx), %rdi
leaq 0x118(%rbx), %rsi
movq %r14, %rdx
callq 0x2160
testl %eax, %eax
je 0x77c3
movq (%r14), %rax
leaq 0x50(%rax), %rcx
movq %rcx, (%r14)
movl %ebp, (%rax)
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps 0x20(%rsp), %xmm2
movups %xmm0, 0x4(%rax)
movups %xmm1, 0x14(%rax)
movups %xmm2, 0x24(%rax)
movl 0x30(%rsp), %ecx
movl %ecx, 0x34(%rax)
movaps 0x40(%rsp), %xmm0
movups %xmm0, 0x38(%rax)
movq 0x50(%rsp), %rcx
movq %rcx, 0x48(%rax)
movl $0x1, %eax
addq $0x80, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl $0x1, (%rbx)
xorl %eax, %eax
jmp 0x77b7