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

    /* Reset any potential simple key on the current flow level. */

    if (!yaml_parser_remove_simple_key(parser))
        return 0;

    /* Decrease the flow level. */

    if (!yaml_parser_decrease_flow_level(parser))
        return 0;

    /* No simple keys after the indicators ']' and '}'. */

    parser->simple_key_allowed = 0;

    /* Consume the token. */

    start_mark = parser->mark;
    SKIP(parser);
    end_mark = parser->mark;

    /* Create the FLOW-SEQUENCE-END of FLOW-MAPPING-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 0x168(%rdi), %rax
cmpl $0x0, -0x28(%rax)
je 0x7761
cmpl $0x0, -0x24(%rax)
je 0x7761
movq -0x8(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups -0x18(%rax), %xmm0
movaps %xmm0, (%rsp)
movl $0x3, (%rbx)
leaq 0x10a7e(%rip), %rax     # 0x181a2
movq %rax, 0x38(%rbx)
movaps (%rsp), %xmm0
movups %xmm0, 0x40(%rbx)
movq 0x10(%rsp), %rax
movq %rax, 0x50(%rbx)
leaq 0x10a7e(%rip), %rax     # 0x181be
movq %rax, 0x8(%rbx)
movups 0xe0(%rbx), %xmm0
movups %xmm0, 0x20(%rbx)
movq 0xf0(%rbx), %rax
movq %rax, 0x30(%rbx)
xorl %eax, %eax
jmp 0x78c2
addq $-0x28, %rax
movl $0x0, (%rax)
movl 0x100(%rbx), %ecx
testl %ecx, %ecx
je 0x7784
decl %ecx
movl %ecx, 0x100(%rbx)
movq %rax, 0x168(%rbx)
movl $0x0, 0x154(%rbx)
movq 0xf0(%rbx), %rax
movq %rax, 0x70(%rsp)
movups 0xe0(%rbx), %xmm0
movaps %xmm0, 0x60(%rsp)
incq 0xe0(%rbx)
incq 0xf0(%rbx)
leaq 0xe0(%rbx), %rax
decq 0xa8(%rbx)
movq 0x98(%rbx), %rcx
movzbl (%rcx), %edx
movl $0x1, %esi
testb %dl, %dl
jns 0x780b
movl %edx, %edi
andl $-0x20, %edi
movl $0x2, %esi
cmpl $0xc0, %edi
je 0x780b
movl %edx, %edi
andl $-0x10, %edi
movl $0x3, %esi
cmpl $0xe0, %edi
je 0x780b
andl $-0x8, %edx
xorl %esi, %esi
cmpl $0xf0, %edx
sete %sil
shll $0x2, %esi
addq %rsi, %rcx
movq %rcx, 0x98(%rbx)
movq 0x10(%rax), %rcx
movq %rcx, 0x50(%rsp)
movups (%rax), %xmm0
movaps %xmm0, 0x40(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movups %xmm0, 0xc(%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 0x7881
leaq 0x110(%rbx), %rcx
leaq 0x108(%rbx), %rdi
leaq 0x118(%rbx), %rsi
movq %r14, %rdx
callq 0x2160
testl %eax, %eax
je 0x78ce
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)
jmp 0x775a