// File: /workspace/github_c_makefile_star2_O0/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_scan_directive_name
static int
yaml_parser_scan_directive_name(yaml_parser_t *parser,
        yaml_mark_t start_mark, yaml_char_t **name)
{
    yaml_string_t string = NULL_STRING;

    if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;

    /* Consume the directive name. */

    if (!CACHE(parser, 1)) goto error;

    while (IS_ALPHA(parser->buffer))
    {
        if (!READ(parser, string)) goto error;
        if (!CACHE(parser, 1)) goto error;
    }

    /* Check if the name is empty. */

    if (string.start == string.pointer) {
        yaml_parser_set_scanner_error(parser, "while scanning a directive",
                start_mark, "could not find expected directive name");
        goto error;
    }

    /* Check for an blank character after the name. */

    if (!IS_BLANKZ(parser->buffer)) {
        yaml_parser_set_scanner_error(parser, "while scanning a directive",
                start_mark, "found unexpected non-alphabetical character");
        goto error;
    }

    *name = string.start;

    return 1;

error:
    STRING_DEL(parser, string);
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x2120
movl $0x10, %edi
callq 0x2080
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0xc618
movq -0x30(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x30(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x28(%rbp)
movq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x2120
movb $0x1, %al
testb $0x1, %al
jne 0xc62d
jmp 0xc628
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
xorl %eax, %eax
testb $0x1, %al
jne 0xc62d
jmp 0xcc06
movq -0x10(%rbp), %rax
cmpq $0x1, 0xa8(%rax)
jb 0xc643
movb $0x1, %al
testb $0x1, %al
jne 0xc65b
jmp 0xc656
movq -0x10(%rbp), %rdi
movl $0x1, %esi
callq 0x2060
cmpl $0x0, %eax
jne 0xc65b
jmp 0xcc06
jmp 0xc65d
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0x30, %eax
jl 0xc68c
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %ecx
movb $0x1, %al
cmpl $0x39, %ecx
movb %al, -0x39(%rbp)
jle 0xc711
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0x41, %eax
jl 0xc6b7
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %ecx
movb $0x1, %al
cmpl $0x5a, %ecx
movb %al, -0x39(%rbp)
jle 0xc711
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0x61, %eax
jl 0xc6e2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %ecx
movb $0x1, %al
cmpl $0x7a, %ecx
movb %al, -0x39(%rbp)
jle 0xc711
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %ecx
movb $0x1, %al
cmpl $0x5f, %ecx
movb %al, -0x39(%rbp)
je 0xc711
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0x2d, %eax
sete %al
movb %al, -0x39(%rbp)
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0xc71d
jmp 0xca55
movq -0x20(%rbp), %rax
addq $0x5, %rax
cmpq -0x28(%rbp), %rax
jb 0xc749
leaq -0x30(%rbp), %rdi
leaq -0x30(%rbp), %rsi
addq $0x10, %rsi
leaq -0x30(%rbp), %rdx
addq $0x8, %rdx
callq 0x20a0
cmpl $0x0, %eax
je 0xc754
movb $0x1, %al
testb $0x1, %al
jne 0xc769
jmp 0xca15
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
xorl %eax, %eax
testb $0x1, %al
jne 0xc769
jmp 0xca15
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
jne 0xc7b5
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %al
movq -0x20(%rbp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %al, (%rcx)
movzbl %al, %eax
jmp 0xc9cb
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
andl $0xe0, %eax
cmpl $0xc0, %eax
jne 0xc832
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %cl
movq -0x20(%rbp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %cl, (%rax)
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %al
movq -0x20(%rbp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %al, (%rcx)
movzbl %al, %eax
movl %eax, -0x40(%rbp)
jmp 0xc9c8
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
andl $0xf0, %eax
cmpl $0xe0, %eax
jne 0xc8df
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %cl
movq -0x20(%rbp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %cl, (%rax)
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %cl
movq -0x20(%rbp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %cl, (%rax)
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %al
movq -0x20(%rbp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %al, (%rcx)
movzbl %al, %eax
movl %eax, -0x44(%rbp)
jmp 0xc9c2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
andl $0xf8, %eax
cmpl $0xf0, %eax
jne 0xc9b5
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %cl
movq -0x20(%rbp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %cl, (%rax)
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %cl
movq -0x20(%rbp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %cl, (%rax)
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %cl
movq -0x20(%rbp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %cl, (%rax)
movq -0x10(%rbp), %rcx
movq 0x98(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x98(%rcx)
movb (%rax), %al
movq -0x20(%rbp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, -0x20(%rbp)
movb %al, (%rcx)
movzbl %al, %eax
movl %eax, -0x48(%rbp)
jmp 0xc9bc
xorl %eax, %eax
movl %eax, -0x48(%rbp)
jmp 0xc9bc
movl -0x48(%rbp), %eax
movl %eax, -0x44(%rbp)
movl -0x44(%rbp), %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %eax
movq -0x10(%rbp), %rax
movq 0xe0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xe0(%rax)
movq -0x10(%rbp), %rax
movq 0xf0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xf0(%rax)
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0xa8(%rax)
movb $0x1, %al
testb $0x1, %al
jne 0xca22
jmp 0xca1d
xorl %eax, %eax
testb $0x1, %al
jne 0xca22
jmp 0xca1d
jmp 0xcc06
movq -0x10(%rbp), %rax
cmpq $0x1, 0xa8(%rax)
jb 0xca38
movb $0x1, %al
testb $0x1, %al
jne 0xca50
jmp 0xca4b
movq -0x10(%rbp), %rdi
movl $0x1, %esi
callq 0x2060
cmpl $0x0, %eax
jne 0xca50
jmp 0xcc06
jmp 0xc65d
movq -0x30(%rbp), %rax
cmpq -0x20(%rbp), %rax
jne 0xca98
movq -0x38(%rbp), %rax
movq -0x10(%rbp), %rdi
leaq 0x1f780(%rip), %rsi     # 0x2c1ee
leaq 0x1f7dc(%rip), %rdx     # 0x2c251
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xb790
jmp 0xcc06
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0x20, %eax
je 0xcbf2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0x9, %eax
je 0xcbf2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0xd, %eax
je 0xcbf2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
je 0xcbf2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0xc2, %eax
jne 0xcb23
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl 0x1(%rax), %eax
cmpl $0x85, %eax
je 0xcbf2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0xe2, %eax
jne 0xcb68
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl 0x1(%rax), %eax
cmpl $0x80, %eax
jne 0xcb68
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl 0x2(%rax), %eax
cmpl $0xa8, %eax
je 0xcbf2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0xe2, %eax
jne 0xcba9
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl 0x1(%rax), %eax
cmpl $0x80, %eax
jne 0xcba9
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl 0x2(%rax), %eax
cmpl $0xa9, %eax
je 0xcbf2
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movzbl (%rax), %eax
cmpl $0x0, %eax
je 0xcbf2
movq -0x38(%rbp), %rax
movq -0x10(%rbp), %rdi
leaq 0x1f623(%rip), %rsi     # 0x2c1ee
leaq 0x1f6a6(%rip), %rdx     # 0x2c278
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xb790
jmp 0xcc06
movq -0x30(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movl $0x1, -0x4(%rbp)
jmp 0xcc2e
movq -0x30(%rbp), %rdi
callq 0x2140
movq $0x0, -0x28(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x0, -0x30(%rbp)
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
nopw (%rax,%rax)