// File: /workspace/github_c_makefile_star2_O3/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_fetch_tag
static int
yaml_parser_fetch_tag(yaml_parser_t *parser)
{
    yaml_token_t token;

    /* A tag could be a simple key. */

    if (!yaml_parser_save_simple_key(parser))
        return 0;

    /* A simple key cannot follow a tag. */

    parser->simple_key_allowed = 0;

    /* Create the TAG token and append it to the queue. */

    if (!yaml_parser_scan_tag(parser, &token))
        return 0;

    if (!ENQUEUE(parser, parser->tokens, token)) {
        yaml_token_delete(&token);
        return 0;
    }

    return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
callq 0xcd5a
testl %eax, %eax
je 0x8bf8
movl $0x0, 0x154(%rbx)
xorl %eax, %eax
movq %rax, 0x38(%rsp)
movq %rax, 0x18(%rsp)
movq 0xf0(%rbx), %rax
movq %rax, 0x30(%rsp)
movups 0xe0(%rbx), %xmm0
movaps %xmm0, 0x20(%rsp)
cmpq $0x1, 0xa8(%rbx)
ja 0x87c0
movl $0x2, %esi
movq %rbx, %rdi
callq 0x2060
testl %eax, %eax
je 0x8b68
leaq 0xe0(%rbx), %r15
movq 0x98(%rbx), %rax
cmpb $0x3c, 0x1(%rax)
jne 0x8995
movl $0x1, %r12d
movl $0x1, %edi
callq 0x2080
testq %rax, %rax
je 0x8b68
movq %rax, %r14
movb $0x0, (%rax)
movq 0xe0(%rbx), %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0xe0(%rbx)
movq 0xf0(%rbx), %rdx
leaq 0x1(%rdx), %rax
movq %rax, 0xf0(%rbx)
movq 0x98(%rbx), %rax
movq 0xa8(%rbx), %rdi
leaq -0x1(%rdi), %rsi
movq %rsi, 0xa8(%rbx)
movzbl (%rax), %esi
testb %sil, %sil
jns 0x887c
movl %esi, %r8d
andl $-0x20, %r8d
movl $0x2, %r12d
cmpl $0xc0, %r8d
je 0x887c
movl %esi, %r8d
andl $-0x10, %r8d
movl $0x3, %r12d
cmpl $0xe0, %r8d
je 0x887c
andl $-0x8, %esi
xorl %r12d, %r12d
cmpl $0xf0, %esi
sete %r12b
shll $0x2, %r12d
leaq (%rax,%r12), %rsi
movq %rsi, 0x98(%rbx)
addq $0x2, %rcx
movq %rcx, 0xe0(%rbx)
addq $0x2, %rdx
movq %rdx, 0xf0(%rbx)
addq $-0x2, %rdi
movq %rdi, 0xa8(%rbx)
movzbl (%rax,%r12), %eax
movl $0x1, %ecx
testb %al, %al
jns 0x88ea
movl %eax, %edx
andl $-0x20, %edx
movl $0x2, %ecx
cmpl $0xc0, %edx
je 0x88ea
movl %eax, %edx
andl $-0x10, %edx
movl $0x3, %ecx
cmpl $0xe0, %edx
je 0x88ea
andl $-0x8, %eax
xorl %ecx, %ecx
cmpl $0xf0, %eax
sete %cl
shll $0x2, %ecx
addq %rcx, %rsi
movq %rsi, 0x98(%rbx)
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x18(%rsp), %rcx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc6ef
testl %eax, %eax
je 0x8be6
movq 0x98(%rbx), %rax
cmpb $0x3e, (%rax)
jne 0x8b6d
incq 0xe0(%rbx)
incq 0xf0(%rbx)
decq 0xa8(%rbx)
movzbl (%rax), %ecx
movl $0x1, %edx
testb %cl, %cl
jns 0x8986
movl %ecx, %esi
andl $-0x20, %esi
movl $0x2, %edx
cmpl $0xc0, %esi
je 0x8986
movl %ecx, %esi
andl $-0x10, %esi
movl $0x3, %edx
cmpl $0xe0, %esi
je 0x8986
andl $-0x8, %ecx
xorl %edx, %edx
cmpl $0xf0, %ecx
sete %dl
shll $0x2, %edx
addq %rdx, %rax
movq %rax, 0x98(%rbx)
jmp 0x8a77
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x38(%rsp), %r14
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0xc2d8
movq (%r14), %r14
testl %eax, %eax
je 0x8be6
cmpb $0x21, (%r14)
jne 0x8a0f
cmpb $0x0, 0x1(%r14)
je 0x8a0f
movq %r14, %rdi
callq 0x20d0
cmpb $0x21, -0x1(%r14,%rax)
jne 0x8a0f
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x18(%rsp), %rcx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc6ef
testl %eax, %eax
jne 0x8a77
jmp 0x8be6
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x18(%rsp), %rcx
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0xc6ef
testl %eax, %eax
je 0x8be6
movq %r14, %rdi
callq 0x2140
movl $0x2, %edi
callq 0x2080
testq %rax, %rax
je 0x8b68
movq %rax, %r14
movw $0x21, (%rax)
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax)
movq %rax, %rcx
cmoveq %r14, %rcx
movq %rcx, 0x18(%rsp)
cmoveq %rax, %r14
cmpq $0x0, 0xa8(%rbx)
jne 0x8a96
movl $0x1, %esi
movq %rbx, %rdi
callq 0x2060
testl %eax, %eax
je 0x8be6
movq 0x98(%rbx), %rcx
movzbl (%rcx), %edx
cmpq $0x20, %rdx
ja 0x8b76
movabsq $0x100002601, %rax      # imm = 0x100002601
btq %rdx, %rax
jae 0x8b76
movq 0x10(%r15), %rax
movq %rax, 0x88(%rsp)
movups (%r15), %xmm0
movups %xmm0, 0x78(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x50(%rsp)
movl $0x14, 0x40(%rsp)
movaps 0x20(%rsp), %xmm0
movaps %xmm0, 0x60(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x70(%rsp)
movq %r14, 0x48(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x50(%rsp)
leaq 0x120(%rbx), %r14
movq 0x120(%rbx), %rdi
cmpq 0x110(%rbx), %rdi
jne 0x8b4a
leaq 0x110(%rbx), %rcx
leaq 0x108(%rbx), %rdi
leaq 0x118(%rbx), %rsi
movq %r14, %rdx
callq 0x2160
testl %eax, %eax
je 0x8c09
movq (%r14), %rdi
leaq 0x50(%rdi), %rax
movq %rax, (%r14)
leaq 0x40(%rsp), %rsi
movl $0xa, %ecx
rep  movsq (%rsi), %es:(%rdi)
movl $0x1, %eax
jmp 0x8bfa
xorl %r14d, %r14d
jmp 0x8be6
leaq 0xfa48(%rip), %rax      # 0x185bc
jmp 0x8baf
leaq 0xf7eb(%rip), %rax      # 0x18368
cmpl $0xe2, %edx
je 0x8b99
cmpl $0xc2, %edx
jne 0x8baf
cmpb $-0x7b, 0x1(%rcx)
je 0x8abe
jmp 0x8baf
xorl %edx, %edx
cmpb 0x1(%rcx), %dl
jno 0x8baf
movb 0x2(%rcx), %cl
andb $-0x2, %cl
cmpb $-0x58, %cl
je 0x8abe
movl $0x3, (%rbx)
leaq 0xf7fa(%rip), %rcx      # 0x183b6
movq %rcx, 0x38(%rbx)
movaps 0x20(%rsp), %xmm0
movups %xmm0, 0x40(%rbx)
movq 0x30(%rsp), %rcx
movq %rcx, 0x50(%rbx)
movq %rax, 0x8(%rbx)
movups (%r15), %xmm0
movups %xmm0, 0x20(%rbx)
movq 0x10(%r15), %rax
movq %rax, 0x30(%rbx)
movq %r14, %rdi
callq 0x2140
movq 0x18(%rsp), %rdi
callq 0x2140
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x1, (%rbx)
leaq 0x40(%rsp), %rdi
callq 0x2210
jmp 0x8bf8