LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_mapping_start_event_initialize
YAML_DECLARE(int)
yaml_mapping_start_event_initialize(yaml_event_t *event,
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
        yaml_mapping_style_t style)
{
    yaml_mark_t mark = { 0, 0, 0 };
    yaml_char_t *anchor_copy = NULL;
    yaml_char_t *tag_copy = NULL;

    assert(event);      /* Non-NULL event object is expected. */

    if (anchor) {
        if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error;
        anchor_copy = yaml_strdup(anchor);
        if (!anchor_copy) goto error;
    }

    if (tag) {
        if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error;
        tag_copy = yaml_strdup(tag);
        if (!tag_copy) goto error;
    }

    MAPPING_START_EVENT_INIT(*event, anchor_copy, tag_copy,
            implicit, style, mark, mark);

    return 1;

error:
    yaml_free(anchor_copy);
    yaml_free(tag_copy);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x3db0
movl %r8d, %ebx
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
testq %rsi, %rsi
je 0x3d2e
movq %r15, %rdi
callq 0x20d0
movq %r15, %rdi
movq %rax, %rsi
callq 0x37d7
testl %eax, %eax
je 0x3d29
movq %r15, %rdi
callq 0x2230
movq %rax, %r15
testq %rax, %rax
jne 0x3d31
xorl %r15d, %r15d
jmp 0x3d5a
xorl %r15d, %r15d
testq %r12, %r12
je 0x3d66
movq %r12, %rdi
callq 0x20d0
movq %r12, %rdi
movq %rax, %rsi
callq 0x37d7
testl %eax, %eax
je 0x3d5a
movq %r12, %rdi
callq 0x2230
testq %rax, %rax
jne 0x3d68
movq %r15, %rdi
callq 0x2040
xorl %eax, %eax
jmp 0x3da7
xorl %eax, %eax
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movups %xmm0, 0x10(%r14)
movups %xmm0, 0x20(%r14)
andq $0x0, 0x30(%r14)
movl $0x9, (%r14)
movups %xmm0, 0x38(%r14)
movups %xmm0, 0x48(%r14)
movups %xmm0, 0x58(%r14)
movq %r15, 0x8(%r14)
movq %rax, 0x10(%r14)
movl %ebp, 0x18(%r14)
movl %ebx, 0x1c(%r14)
pushq $0x1
popq %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x12715(%rip), %rdi     # 0x164cc
leaq 0x1227b(%rip), %rsi     # 0x16039
leaq 0x12a4a(%rip), %rcx     # 0x1680f
movl $0x3a4, %edx            # imm = 0x3A4
callq 0x2100
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_mapping_end_event_initialize
YAML_DECLARE(int)
yaml_mapping_end_event_initialize(yaml_event_t *event)
{
    yaml_mark_t mark = { 0, 0, 0 };

    assert(event);      /* Non-NULL event object is expected. */

    MAPPING_END_EVENT_INIT(*event, mark, mark);

    return 1;
}

// Assembly:
testq %rdi, %rdi
je 0x3dfd
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movl $0xa, (%rdi)
movups %xmm0, 0x38(%rdi)
movups %xmm0, 0x48(%rdi)
movups %xmm0, 0x58(%rdi)
pushq $0x1
popq %rax
retq
pushq %rax
leaq 0x126c7(%rip), %rdi     # 0x164cc
leaq 0x1222d(%rip), %rsi     # 0x16039
leaq 0x12a6d(%rip), %rcx     # 0x16880
movl $0x3c7, %edx            # imm = 0x3C7
callq 0x2100
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_document_delete
YAML_DECLARE(void)
yaml_document_delete(yaml_document_t *document)
{
    struct {
        yaml_error_type_t error;
    } context;
    yaml_tag_directive_t *tag_directive;

    context.error = YAML_NO_ERROR;  /* Eliminate a compliler warning. */

    assert(document);   /* Non-NULL document object is expected. */

    while (!STACK_EMPTY(&context, document->nodes)) {
        yaml_node_t node = POP(&context, document->nodes);
        yaml_free(node.tag);
        switch (node.type) {
            case YAML_SCALAR_NODE:
                yaml_free(node.data.scalar.value);
                break;
            case YAML_SEQUENCE_NODE:
                STACK_DEL(&context, node.data.sequence.items);
                break;
            case YAML_MAPPING_NODE:
                STACK_DEL(&context, node.data.mapping.pairs);
                break;
            default:
                assert(0);  /* Should not happen. */
        }
    }
    STACK_DEL(&context, document->nodes);

    yaml_free(document->version_directive);
    for (tag_directive = document->tag_directives.start;
            tag_directive != document->tag_directives.end;
            tag_directive++) {
        yaml_free(tag_directive->handle);
        yaml_free(tag_directive->prefix);
    }
    yaml_free(document->tag_directives.start);

    memset(document, 0, sizeof(yaml_document_t));
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x41e5
movq %rdi, %rbx
movq (%rbx), %rdi
movq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0x415f
leaq -0x60(%rax), %rcx
movq %rcx, 0x10(%rbx)
movl -0x60(%rax), %ebp
movq -0x58(%rax), %rdi
movq -0x50(%rax), %r14
callq 0x2040
decl %ebp
cmpl $0x3, %ebp
jae 0x41c6
movq %r14, %rdi
callq 0x2040
jmp 0x412a
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
callq 0x2040
movq 0x20(%rbx), %r14
cmpq 0x28(%rbx), %r14
je 0x4199
movq (%r14), %rdi
callq 0x2040
movq 0x8(%r14), %rdi
callq 0x2040
addq $0x10, %r14
jmp 0x417c
movq 0x20(%rbx), %rdi
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
andq $0x0, 0x60(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x13443(%rip), %rdi     # 0x17610
leaq 0x11e65(%rip), %rsi     # 0x16039
leaq 0x12788(%rip), %rcx     # 0x16963
movl $0x476, %edx            # imm = 0x476
callq 0x2100
leaq 0x136f2(%rip), %rdi     # 0x178de
leaq 0x11e46(%rip), %rsi     # 0x16039
leaq 0x12769(%rip), %rcx     # 0x16963
movl $0x466, %edx            # imm = 0x466
callq 0x2100
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_document_get_node
YAML_DECLARE(yaml_node_t *)
yaml_document_get_node(yaml_document_t *document, int index)
{
    assert(document);   /* Non-NULL document object is expected. */

    if (index > 0 && document->nodes.start + index <= document->nodes.top) {
        return document->nodes.start + index - 1;
    }
    return NULL;
}

// Assembly:
testq %rdi, %rdi
je 0x422d
testl %esi, %esi
jle 0x422a
movq (%rdi), %rcx
movl %esi, %eax
imulq $0x60, %rax, %rdx
leaq (%rcx,%rdx), %rsi
xorl %eax, %eax
cmpq 0x10(%rdi), %rsi
leaq -0x60(%rcx,%rdx), %rcx
cmovbeq %rcx, %rax
retq
xorl %eax, %eax
retq
pushq %rax
leaq 0x136a9(%rip), %rdi     # 0x178de
leaq 0x11dfd(%rip), %rsi     # 0x16039
leaq 0x1274d(%rip), %rcx     # 0x16990
movl $0x48e, %edx            # imm = 0x48E
callq 0x2100
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_document_add_sequence
YAML_DECLARE(int)
yaml_document_add_sequence(yaml_document_t *document,
        yaml_char_t *tag, yaml_sequence_style_t style)
{
    struct {
        yaml_error_type_t error;
    } context;
    yaml_mark_t mark = { 0, 0, 0 };
    yaml_char_t *tag_copy = NULL;
    struct {
        yaml_node_item_t *start;
        yaml_node_item_t *end;
        yaml_node_item_t *top;
    } items = { NULL, NULL, NULL };
    yaml_node_t node;

    assert(document);   /* Non-NULL document object is expected. */

    if (!tag) {
        tag = (yaml_char_t *)YAML_DEFAULT_SEQUENCE_TAG;
    }

    if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error;
    tag_copy = yaml_strdup(tag);
    if (!tag_copy) goto error;

    if (!STACK_INIT(&context, items, INITIAL_STACK_SIZE)) goto error;

    SEQUENCE_NODE_INIT(node, tag_copy, items.start, items.end,
            style, mark, mark);
    if (!PUSH(&context, document->nodes, node)) goto error;

    return document->nodes.top - document->nodes.start;

error:
    STACK_DEL(&context, items);
    yaml_free(tag_copy);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x4516
movl %edx, %ebp
movq %rdi, %rbx
testq %rsi, %rsi
leaq 0x126ab(%rip), %r15     # 0x16ade
cmovneq %rsi, %r15
movq %r15, %rdi
callq 0x20d0
movq %r15, %rdi
movq %rax, %rsi
callq 0x37d7
xorl %r14d, %r14d
testl %eax, %eax
je 0x44ee
movq %r15, %rdi
callq 0x2230
testq %rax, %rax
je 0x44ee
movq %rax, %r15
pushq $0x40
popq %rdi
callq 0x21a0
testq %rax, %rax
je 0x44f1
movq %rax, %r12
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rax
jne 0x449e
leaq 0x10(%rbx), %r13
leaq 0x8(%rbx), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x20e0
testl %eax, %eax
je 0x44f4
movq (%r13), %rax
movq %r12, %rcx
addq $0x40, %rcx
leaq 0x60(%rax), %rdx
movq %rdx, 0x10(%rbx)
movq $0x2, (%rax)
movq %r15, 0x8(%rax)
movq %r12, 0x10(%rax)
movq %rcx, 0x18(%rax)
movq %r12, 0x20(%rax)
movl %ebp, 0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%rax)
movups %xmm0, 0x3c(%rax)
movups %xmm0, 0x4c(%rax)
andl $0x0, 0x5c(%rax)
movq 0x10(%rbx), %rax
subq (%rbx), %rax
pushq $0x60
popq %rcx
cqto
idivq %rcx
movq %rax, %r14
jmp 0x4504
xorl %r15d, %r15d
xorl %r12d, %r12d
movq %r12, %rdi
callq 0x2040
movq %r15, %rdi
callq 0x2040
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x133c1(%rip), %rdi     # 0x178de
leaq 0x11b15(%rip), %rsi     # 0x16039
leaq 0x1255b(%rip), %rcx     # 0x16a86
movl $0x4eb, %edx            # imm = 0x4EB
callq 0x2100
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_document_add_mapping
YAML_DECLARE(int)
yaml_document_add_mapping(yaml_document_t *document,
        yaml_char_t *tag, yaml_mapping_style_t style)
{
    struct {
        yaml_error_type_t error;
    } context;
    yaml_mark_t mark = { 0, 0, 0 };
    yaml_char_t *tag_copy = NULL;
    struct {
        yaml_node_pair_t *start;
        yaml_node_pair_t *end;
        yaml_node_pair_t *top;
    } pairs = { NULL, NULL, NULL };
    yaml_node_t node;

    assert(document);   /* Non-NULL document object is expected. */

    if (!tag) {
        tag = (yaml_char_t *)YAML_DEFAULT_MAPPING_TAG;
    }

    if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error;
    tag_copy = yaml_strdup(tag);
    if (!tag_copy) goto error;

    if (!STACK_INIT(&context, pairs, INITIAL_STACK_SIZE)) goto error;

    MAPPING_NODE_INIT(node, tag_copy, pairs.start, pairs.end,
            style, mark, mark);
    if (!PUSH(&context, document->nodes, node)) goto error;

    return document->nodes.top - document->nodes.start;

error:
    STACK_DEL(&context, pairs);
    yaml_free(tag_copy);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x463d
movl %edx, %ebp
movq %rdi, %rbx
testq %rsi, %rsi
leaq 0x125f2(%rip), %r15     # 0x16b4a
cmovneq %rsi, %r15
movq %r15, %rdi
callq 0x20d0
movq %r15, %rdi
movq %rax, %rsi
callq 0x37d7
xorl %r14d, %r14d
testl %eax, %eax
je 0x4615
movq %r15, %rdi
callq 0x2230
testq %rax, %rax
je 0x4615
movq %rax, %r15
movl $0x80, %edi
callq 0x21a0
testq %rax, %rax
je 0x4618
movq %rax, %r12
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rax
jne 0x45c5
leaq 0x10(%rbx), %r13
leaq 0x8(%rbx), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x20e0
testl %eax, %eax
je 0x461b
movq (%r13), %rax
movq %r12, %rcx
subq $-0x80, %rcx
leaq 0x60(%rax), %rdx
movq %rdx, 0x10(%rbx)
movq $0x3, (%rax)
movq %r15, 0x8(%rax)
movq %r12, 0x10(%rax)
movq %rcx, 0x18(%rax)
movq %r12, 0x20(%rax)
movl %ebp, 0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%rax)
movups %xmm0, 0x3c(%rax)
movups %xmm0, 0x4c(%rax)
andl $0x0, 0x5c(%rax)
movq 0x10(%rbx), %rax
subq (%rbx), %rax
pushq $0x60
popq %rcx
cqto
idivq %rcx
movq %rax, %r14
jmp 0x462b
xorl %r15d, %r15d
xorl %r12d, %r12d
movq %r12, %rdi
callq 0x2040
movq %r15, %rdi
callq 0x2040
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1329a(%rip), %rdi     # 0x178de
leaq 0x119ee(%rip), %rsi     # 0x16039
leaq 0x124a2(%rip), %rcx     # 0x16af4
movl $0x518, %edx            # imm = 0x518
callq 0x2100
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_document_append_sequence_item
YAML_DECLARE(int)
yaml_document_append_sequence_item(yaml_document_t *document,
        int sequence, int item)
{
    struct {
        yaml_error_type_t error;
    } context;

    assert(document);       /* Non-NULL document is required. */
    assert(sequence > 0
            && document->nodes.start + sequence <= document->nodes.top);
                            /* Valid sequence id is required. */
    assert(document->nodes.start[sequence-1].type == YAML_SEQUENCE_NODE);
                            /* A sequence node is required. */
    assert(item > 0 && document->nodes.start + item <= document->nodes.top);
                            /* Valid item id is required. */

    if (!PUSH(&context,
                document->nodes.start[sequence-1].data.sequence.items, item))
        return 0;

    return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x4719
testl %esi, %esi
jle 0x46fa
movl %edx, %ebx
movq %rdi, %r14
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
movl %esi, %edx
imulq $0x60, %rdx, %rdx
addq %rax, %rdx
cmpq %rcx, %rdx
ja 0x46fa
decl %esi
imulq $0x60, %rsi, %r15
cmpl $0x2, (%rax,%r15)
jne 0x4738
testl %ebx, %ebx
jle 0x4757
movl %ebx, %edx
imulq $0x60, %rdx, %rdx
addq %rax, %rdx
cmpq %rcx, %rdx
ja 0x4757
leaq (%rax,%r15), %rdi
movq 0x20(%rdi), %rcx
cmpq 0x18(%rdi), %rcx
jne 0x46dd
leaq 0x20(%rdi), %rsi
leaq 0x18(%rdi), %rdx
addq $0x10, %rdi
callq 0x20e0
testl %eax, %eax
je 0x46f6
movq (%r14), %rax
movq 0x20(%rax,%r15), %rcx
leaq 0x4(%rcx), %rdx
movq %rdx, 0x20(%rax,%r15)
movl %ebx, (%rcx)
pushq $0x1
popq %rax
popq %rbx
popq %r14
popq %r15
retq
xorl %eax, %eax
jmp 0x46f0
leaq 0x124a3(%rip), %rdi     # 0x16ba4
leaq 0x11931(%rip), %rsi     # 0x16039
leaq 0x12451(%rip), %rcx     # 0x16b60
movl $0x53f, %edx            # imm = 0x53F
callq 0x2100
leaq 0x131be(%rip), %rdi     # 0x178de
leaq 0x11912(%rip), %rsi     # 0x16039
leaq 0x12432(%rip), %rcx     # 0x16b60
movl $0x53d, %edx            # imm = 0x53D
callq 0x2100
leaq 0x124ad(%rip), %rdi     # 0x16bec
leaq 0x118f3(%rip), %rsi     # 0x16039
leaq 0x12413(%rip), %rcx     # 0x16b60
movl $0x541, %edx            # imm = 0x541
callq 0x2100
leaq 0x124cb(%rip), %rdi     # 0x16c29
leaq 0x118d4(%rip), %rsi     # 0x16039
leaq 0x123f4(%rip), %rcx     # 0x16b60
movl $0x543, %edx            # imm = 0x543
callq 0x2100
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_document_append_mapping_pair
YAML_DECLARE(int)
yaml_document_append_mapping_pair(yaml_document_t *document,
        int mapping, int key, int value)
{
    struct {
        yaml_error_type_t error;
    } context;

    yaml_node_pair_t pair;

    assert(document);       /* Non-NULL document is required. */
    assert(mapping > 0
            && document->nodes.start + mapping <= document->nodes.top);
                            /* Valid mapping id is required. */
    assert(document->nodes.start[mapping-1].type == YAML_MAPPING_NODE);
                            /* A mapping node is required. */
    assert(key > 0 && document->nodes.start + key <= document->nodes.top);
                            /* Valid key id is required. */
    assert(value > 0 && document->nodes.start + value <= document->nodes.top);
                            /* Valid value id is required. */

    pair.key = key;
    pair.value = value;

    if (!PUSH(&context,
                document->nodes.start[mapping-1].data.mapping.pairs, pair))
        return 0;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x485d
testl %esi, %esi
jle 0x483e
movl %ecx, %ebx
movl %edx, %ebp
movq %rdi, %r14
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
movl %esi, %edx
imulq $0x60, %rdx, %rdx
addq %rax, %rdx
cmpq %rcx, %rdx
ja 0x483e
decl %esi
imulq $0x60, %rsi, %r15
cmpl $0x3, (%rax,%r15)
jne 0x487c
testl %ebp, %ebp
jle 0x489b
movl %ebp, %edx
imulq $0x60, %rdx, %rdx
addq %rax, %rdx
cmpq %rcx, %rdx
ja 0x489b
testl %ebx, %ebx
jle 0x48ba
movl %ebx, %edx
imulq $0x60, %rdx, %rdx
addq %rax, %rdx
cmpq %rcx, %rdx
ja 0x48ba
leaq (%rax,%r15), %rdi
movq 0x20(%rdi), %rcx
cmpq 0x18(%rdi), %rcx
jne 0x4819
leaq 0x20(%rdi), %rsi
leaq 0x18(%rdi), %rdx
addq $0x10, %rdi
callq 0x20e0
testl %eax, %eax
je 0x483a
movq (%r14), %rax
movq 0x20(%rax,%r15), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x20(%rax,%r15)
movl %ebp, (%rcx)
movl %ebx, 0x4(%rcx)
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
jmp 0x482f
leaq 0x1246c(%rip), %rdi     # 0x16cb1
leaq 0x117ed(%rip), %rsi     # 0x16039
leaq 0x12416(%rip), %rcx     # 0x16c69
movl $0x55d, %edx            # imm = 0x55D
callq 0x2100
leaq 0x1307a(%rip), %rdi     # 0x178de
leaq 0x117ce(%rip), %rsi     # 0x16039
leaq 0x123f7(%rip), %rcx     # 0x16c69
movl $0x55b, %edx            # imm = 0x55B
callq 0x2100
leaq 0x12474(%rip), %rdi     # 0x16cf7
leaq 0x117af(%rip), %rsi     # 0x16039
leaq 0x123d8(%rip), %rcx     # 0x16c69
movl $0x55f, %edx            # imm = 0x55F
callq 0x2100
leaq 0x12490(%rip), %rdi     # 0x16d32
leaq 0x11790(%rip), %rsi     # 0x16039
leaq 0x123b9(%rip), %rcx     # 0x16c69
movl $0x561, %edx            # imm = 0x561
callq 0x2100
leaq 0x124af(%rip), %rdi     # 0x16d70
leaq 0x11771(%rip), %rsi     # 0x16039
leaq 0x1239a(%rip), %rcx     # 0x16c69
movl $0x563, %edx            # imm = 0x563
callq 0x2100
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
andq $0x0, (%rsp)
movq 0xb0(%rdi), %rdi
movq 0xc0(%r14), %rsi
pushq $0x1
popq %rbx
cmpq %rsi, %rdi
jne 0x4fc2
movq 0xc8(%r14), %rax
cmpq 0xb8(%r14), %rax
je 0x4fcc
cmpl $0x0, 0x80(%r14)
je 0x4fd6
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
cmpq %rsi, %rdi
jae 0x4ffd
movq 0xc8(%r14), %rdx
cmpq %rdx, %rsi
jae 0x4ffd
subq %rsi, %rdx
callq 0x21e0
movq 0xb0(%r14), %rdi
movq 0xc0(%r14), %rsi
movq %rdi, %rax
subq %rsi, %rax
addq 0xc8(%r14), %rax
movq %rax, 0xc8(%r14)
movq %rdi, 0xc0(%r14)
movq 0x60(%r14), %rdi
movq 0xb8(%r14), %rdx
subq %rax, %rdx
movq %rsp, %rcx
movq %rax, %rsi
callq *0x58(%r14)
testl %eax, %eax
je 0x5054
movq (%rsp), %rax
addq %rax, 0xc8(%r14)
testq %rax, %rax
jne 0x4fcc
movl $0x1, 0x80(%r14)
jmp 0x4fcc
movq 0xd8(%r14), %rax
movl $0x2, (%r14)
leaq 0x11eb9(%rip), %rcx     # 0x16f22
movq %rcx, 0x8(%r14)
movq %rax, 0x10(%r14)
orl $-0x1, 0x18(%r14)
xorl %ebx, %ebx
jmp 0x4fcc
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_stale_simple_keys
static int
yaml_parser_stale_simple_keys(yaml_parser_t *parser)
{
    yaml_simple_key_t *simple_key;

    /* Check for a potential simple key for each flow level. */

    for (simple_key = parser->simple_keys.start;
            simple_key != parser->simple_keys.top; simple_key ++)
    {
        /*
         * The specification requires that a simple key
         *
         *  - is limited to a single line,
         *  - is shorter than 1024 characters.
         */

        if (simple_key->possible
                && (simple_key->mark.line < parser->mark.line
                    || simple_key->mark.index+1024 < parser->mark.index)) {

            /* Check if the potential simple key to be removed is required. */

            if (simple_key->required) {
                return yaml_parser_set_scanner_error(parser,
                        "while scanning a simple key", simple_key->mark,
                        "could not find expected ':'");
            }

            simple_key->possible = 0;
        }
    }

    return 1;
}

// Assembly:
movq 0x158(%rdi), %rdx
movq 0x168(%rdi), %rsi
leaq 0xe0(%rdi), %rcx
movl $0x1, %eax
movl $0x400, %r8d            # imm = 0x400
cmpq %rsi, %rdx
je 0x5272
cmpl $0x0, (%rdx)
je 0x521b
movq 0x18(%rdx), %r9
cmpq 0xe8(%rdi), %r9
jb 0x5212
movq 0x10(%rdx), %r9
addq %r8, %r9
cmpq (%rcx), %r9
jae 0x521b
cmpl $0x0, 0x4(%rdx)
jne 0x5221
andl $0x0, (%rdx)
addq $0x28, %rdx
jmp 0x51ef
movq 0x20(%rdx), %rax
movq %rax, -0x8(%rsp)
movups 0x10(%rdx), %xmm0
movaps %xmm0, -0x18(%rsp)
movl $0x3, (%rdi)
leaq 0x11f52(%rip), %rax     # 0x17192
movq %rax, 0x38(%rdi)
movaps -0x18(%rsp), %xmm0
movups %xmm0, 0x40(%rdi)
movq -0x8(%rsp), %rax
movq %rax, 0x50(%rdi)
leaq 0x11f51(%rip), %rax     # 0x171ae
movq %rax, 0x8(%rdi)
movups (%rcx), %xmm0
movups %xmm0, 0x20(%rdi)
movq 0x10(%rcx), %rax
movq %rax, 0x30(%rdi)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_unroll_indent
static int
yaml_parser_unroll_indent(yaml_parser_t *parser, ptrdiff_t column)
{
    yaml_token_t token;

    /* In the flow context, do nothing. */

    if (parser->flow_level)
        return 1;

    /* Loop through the intendation levels in the stack. */

    while (parser->indent > column)
    {
        /* Create a token and append it to the queue. */

        TOKEN_INIT(token, YAML_BLOCK_END_TOKEN, parser->mark, parser->mark);

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

        /* Pop the indentation level. */

        parser->indent = POP(parser, parser->indents);
    }

    return 1;
}

// Assembly:
pushq $0x1
popq %rax
cmpl $0x0, 0x100(%rdi)
je 0x87c3
retq
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0xe0(%rdi), %rbp
leaq 0x4c(%rsp), %rbx
leaq 0x120(%rdi), %r12
leaq 0x110(%rdi), %r13
leaq 0x108(%rdi), %rax
movq %rax, 0x8(%rsp)
leaq 0x118(%rdi), %rax
movq %rax, (%rsp)
movl 0x150(%rdi), %eax
xorps %xmm3, %xmm3
cltq
cmpq %r15, %rax
jle 0x88d6
movups %xmm3, 0x3c(%rsp)
movaps %xmm3, 0x30(%rsp)
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rbx)
movups (%rbp), %xmm0
movups %xmm0, (%rbx)
movq 0x10(%rbp), %rax
movq %rax, 0x20(%rsp)
movups (%rbp), %xmm0
movaps %xmm0, 0x10(%rsp)
movq (%r12), %rax
cmpq (%r13), %rax
jne 0x8870
movq 0x8(%rsp), %rdi
movq (%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x2160
testl %eax, %eax
je 0x88db
movq (%r12), %rax
xorps %xmm3, %xmm3
leaq 0x50(%rax), %rcx
movq %rcx, 0x120(%r14)
movl $0x9, (%rax)
movl 0x60(%rsp), %ecx
movl %ecx, 0x34(%rax)
movaps 0x30(%rsp), %xmm0
movaps 0x40(%rsp), %xmm1
movaps 0x50(%rsp), %xmm2
movups %xmm2, 0x24(%rax)
movups %xmm1, 0x14(%rax)
movups %xmm0, 0x4(%rax)
movaps 0x10(%rsp), %xmm0
movups %xmm0, 0x38(%rax)
movq 0x20(%rsp), %rcx
movq %rcx, 0x48(%rax)
movq 0x148(%r14), %rax
leaq -0x4(%rax), %rcx
movq %rcx, 0x148(%r14)
movl -0x4(%rax), %eax
movl %eax, 0x150(%r14)
jmp 0x8811
pushq $0x1
popq %rax
jmp 0x88e4
movl $0x1, (%r14)
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_fetch_flow_collection_start
static int
yaml_parser_fetch_flow_collection_start(yaml_parser_t *parser,
        yaml_token_type_t type)
{
    yaml_mark_t start_mark, end_mark;
    yaml_token_t token;

    /* The indicators '[' and '{' may start a simple key. */

    if (!yaml_parser_save_simple_key(parser))
        return 0;

    /* Increase the flow level. */

    if (!yaml_parser_increase_flow_level(parser))
        return 0;

    /* A simple key may follow the indicators '[' and '{'. */

    parser->simple_key_allowed = 1;

    /* Consume the token. */

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

    /* Create the FLOW-SEQUENCE-START of FLOW-MAPPING-START 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 %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movl %esi, %ebp
movq %rdi, %r14
callq 0xc4d0
xorl %ebx, %ebx
testl %eax, %eax
je 0x8d42
movq 0x168(%r14), %rax
cmpq 0x160(%r14), %rax
jne 0x8bd4
leaq 0x168(%r14), %r15
leaq 0x160(%r14), %rdx
leaq 0x158(%r14), %rdi
movq %r15, %rsi
callq 0x20e0
testl %eax, %eax
je 0x8bfc
movq (%r15), %rax
leaq 0x28(%rax), %rcx
movq %rcx, 0x168(%r14)
xorps %xmm0, %xmm0
andq $0x0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movl 0x100(%r14), %eax
cmpl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
jne 0x8c08
movl $0x1, (%r14)
jmp 0x8d42
incl %eax
movl %eax, 0x100(%r14)
movl $0x1, 0x154(%r14)
movq 0xf0(%r14), %rax
movq %rax, 0x30(%rsp)
movups 0xe0(%r14), %xmm0
movaps %xmm0, 0x20(%rsp)
incq 0xe0(%r14)
incq 0xf0(%r14)
decq 0xa8(%r14)
leaq 0xe0(%r14), %rax
movq 0x98(%r14), %rcx
movzbl (%rcx), %esi
testb %sil, %sil
js 0x8c64
pushq $0x1
jmp 0x8c88
movl %esi, %edx
andl $-0x20, %edx
cmpl $0xc0, %edx
jne 0x8c75
pushq $0x2
jmp 0x8c88
movl %esi, %edx
andl $-0x10, %edx
cmpl $0xe0, %edx
jne 0x8d4f
pushq $0x3
popq %rdx
addq %rdx, %rcx
movq %rcx, 0x98(%r14)
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups (%rax), %xmm0
movaps %xmm0, (%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movups %xmm0, 0x4c(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x6c(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, 0x5c(%rsp)
leaq 0x120(%r14), %r15
movq 0x120(%r14), %rax
cmpq 0x110(%r14), %rax
jne 0x8d03
leaq 0x110(%r14), %rcx
leaq 0x108(%r14), %rdi
leaq 0x118(%r14), %rsi
movq %r15, %rdx
callq 0x2160
testl %eax, %eax
je 0x8bfc
movq (%r15), %rax
leaq 0x50(%rax), %rcx
movq %rcx, (%r15)
movl %ebp, (%rax)
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movaps 0x60(%rsp), %xmm2
movups %xmm0, 0x4(%rax)
movups %xmm1, 0x14(%rax)
movups %xmm2, 0x24(%rax)
movl 0x70(%rsp), %ecx
movl %ecx, 0x34(%rax)
movaps (%rsp), %xmm0
movups %xmm0, 0x38(%rax)
movq 0x10(%rsp), %rcx
movq %rcx, 0x48(%rax)
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
andl $-0x8, %esi
xorl %edx, %edx
cmpl $0xf0, %esi
sete %dl
shll $0x2, %edx
jmp 0x8c89
// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movl %esi, %ebx
movq %rdi, %r14
callq 0xb859
xorl %ebp, %ebp
testl %eax, %eax
je 0x8ec9
movl 0x100(%r14), %eax
testl %eax, %eax
je 0x8d9f
decl %eax
movl %eax, 0x100(%r14)
addq $-0x28, 0x168(%r14)
andl $0x0, 0x154(%r14)
movq 0xf0(%r14), %rax
movq %rax, 0x30(%rsp)
movups 0xe0(%r14), %xmm0
movaps %xmm0, 0x20(%rsp)
incq 0xe0(%r14)
incq 0xf0(%r14)
decq 0xa8(%r14)
leaq 0xe0(%r14), %rax
movq 0x98(%r14), %rcx
movzbl (%rcx), %esi
testb %sil, %sil
js 0x8def
pushq $0x1
jmp 0x8e13
movl %esi, %edx
andl $-0x20, %edx
cmpl $0xc0, %edx
jne 0x8e00
pushq $0x2
jmp 0x8e13
movl %esi, %edx
andl $-0x10, %edx
cmpl $0xe0, %edx
jne 0x8edf
pushq $0x3
popq %rdx
addq %rdx, %rcx
movq %rcx, 0x98(%r14)
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups (%rax), %xmm0
movaps %xmm0, (%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movups %xmm0, 0x4c(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x6c(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, 0x5c(%rsp)
leaq 0x120(%r14), %r15
movq 0x120(%r14), %rax
cmpq 0x110(%r14), %rax
jne 0x8e8a
leaq 0x110(%r14), %rcx
leaq 0x108(%r14), %rdi
leaq 0x118(%r14), %rsi
movq %r15, %rdx
callq 0x2160
testl %eax, %eax
je 0x8ed6
movq (%r15), %rax
leaq 0x50(%rax), %rcx
movq %rcx, (%r15)
movl %ebx, (%rax)
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movaps 0x60(%rsp), %xmm2
movups %xmm0, 0x4(%rax)
movups %xmm1, 0x14(%rax)
movups %xmm2, 0x24(%rax)
movl 0x70(%rsp), %ecx
movl %ecx, 0x34(%rax)
movaps (%rsp), %xmm0
movups %xmm0, 0x38(%rax)
movq 0x10(%rsp), %rcx
movq %rcx, 0x48(%rax)
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, (%r14)
jmp 0x8ec9
andl $-0x8, %esi
xorl %edx, %edx
cmpl $0xf0, %esi
sete %dl
shll $0x2, %edx
jmp 0x8e14
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_remove_simple_key
static int
yaml_parser_remove_simple_key(yaml_parser_t *parser)
{
    yaml_simple_key_t *simple_key = parser->simple_keys.top-1;

    if (simple_key->possible)
    {
        /* If the key is required, it is an error. */

        if (simple_key->required) {
            return yaml_parser_set_scanner_error(parser,
                    "while scanning a simple key", simple_key->mark,
                    "could not find expected ':'");
        }
    }

    /* Remove the key from the stack. */

    simple_key->possible = 0;

    return 1;
}

// Assembly:
movq 0x168(%rdi), %rax
cmpl $0x0, -0x28(%rax)
je 0xb8c5
cmpl $0x0, -0x24(%rax)
je 0xb8c5
movq -0x8(%rax), %rcx
movq %rcx, -0x8(%rsp)
movups -0x18(%rax), %xmm0
movaps %xmm0, -0x18(%rsp)
movl $0x3, (%rdi)
leaq 0xb907(%rip), %rax      # 0x17192
movq %rax, 0x38(%rdi)
movaps -0x18(%rsp), %xmm0
movups %xmm0, 0x40(%rdi)
movq -0x8(%rsp), %rax
movq %rax, 0x50(%rdi)
leaq 0xb906(%rip), %rax      # 0x171ae
movq %rax, 0x8(%rdi)
movups 0xe0(%rdi), %xmm0
movups %xmm0, 0x20(%rdi)
movq 0xf0(%rdi), %rax
movq %rax, 0x30(%rdi)
xorl %eax, %eax
retq
andl $0x0, -0x28(%rax)
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_scan_version_directive_number
static int
yaml_parser_scan_version_directive_number(yaml_parser_t *parser,
        yaml_mark_t start_mark, int *number)
{
    int value = 0;
    size_t length = 0;

    /* Repeat while the next character is digit. */

    if (!CACHE(parser, 1)) return 0;

    while (IS_DIGIT(parser->buffer))
    {
        /* Check if the number is too long. */

        if (++length > MAX_NUMBER_LENGTH) {
            return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
                    start_mark, "found extremely long version number");
        }

        value = value*10 + AS_DIGIT(parser->buffer);

        SKIP(parser);

        if (!CACHE(parser, 1)) return 0;
    }

    /* Check if the number was present. */

    if (!length) {
        return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
                start_mark, "did not find expected version number");
    }

    *number = value;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0xa8(%rdi)
jne 0xb900
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x2060
testl %eax, %eax
je 0xba56
movq %r14, 0x10(%rsp)
leaq 0xe0(%rbx), %rax
movq %rax, 0x8(%rsp)
xorl %ebp, %ebp
pushq $0x1
popq %r15
pushq $0x2
popq %r13
xorl %r14d, %r14d
movq 0x98(%rbx), %rax
movzbl (%rax), %r12d
leal -0x30(%r12), %ecx
cmpb $0x9, %cl
ja 0xb9d2
cmpq $-0x9, %rbp
je 0xb9e4
incq 0xe0(%rbx)
incq 0xf0(%rbx)
movq 0xa8(%rbx), %rcx
decq %rcx
movq %rcx, 0xa8(%rbx)
movzbl (%rax), %edx
movq %r15, %rsi
testb %dl, %dl
jns 0xb99c
movl %edx, %edi
andl $-0x20, %edi
movq %r13, %rsi
cmpl $0xc0, %edi
je 0xb99c
movl %edx, %edi
andl $-0x10, %edi
pushq $0x3
popq %rsi
cmpl $0xe0, %edi
je 0xb99c
andl $-0x8, %edx
xorl %esi, %esi
cmpl $0xf0, %edx
sete %sil
shll $0x2, %esi
addq %rsi, %rax
movq %rax, 0x98(%rbx)
testq %rcx, %rcx
jne 0xb9be
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2060
testl %eax, %eax
je 0xba56
imull $0xa, %r14d, %eax
leal (%rax,%r12), %r14d
addl $-0x30, %r14d
decq %rbp
jmp 0xb91e
testq %rbp, %rbp
je 0xba12
movq 0x10(%rsp), %rax
movl %r14d, (%rax)
pushq $0x1
popq %rax
jmp 0xba58
movl $0x3, (%rbx)
leaq 0xb88f(%rip), %rax      # 0x17280
movq %rax, 0x38(%rbx)
leaq 0x50(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x40(%rbx)
movq 0x10(%rax), %rax
movq %rax, 0x50(%rbx)
leaq 0xb8be(%rip), %rax      # 0x172ce
jmp 0xba3e
movl $0x3, (%rbx)
leaq 0xb861(%rip), %rax      # 0x17280
movq %rax, 0x38(%rbx)
leaq 0x50(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x40(%rbx)
movq 0x10(%rax), %rax
movq %rax, 0x50(%rbx)
leaq 0xb8b4(%rip), %rax      # 0x172f2
movq %rax, 0x8(%rbx)
movq 0x8(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x20(%rbx)
movq 0x10(%rax), %rax
movq %rax, 0x30(%rbx)
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_save_simple_key
static int
yaml_parser_save_simple_key(yaml_parser_t *parser)
{
    /*
     * A simple key is required at the current position if the scanner is in
     * the block context and the current column coincides with the indentation
     * level.
     */

    int required = (!parser->flow_level
            && parser->indent == (ptrdiff_t)parser->mark.column);

    /*
     * A simple key is required only when it is the first token in the current
     * line.  Therefore it is always allowed.  But we add a check anyway.
     */

    /* XXX This caused:
     * https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-failure
    assert(parser->simple_key_allowed || !required); */    /* Impossible. */

    /*
     * If the current position may start a simple key, save it.
     */

    if (parser->simple_key_allowed)
    {
        yaml_simple_key_t simple_key;
        simple_key.possible = 1;
        simple_key.required = required;
        simple_key.token_number = 
            parser->tokens_parsed + (parser->tokens.tail - parser->tokens.head);
        simple_key.mark = parser->mark;

        if (!yaml_parser_remove_simple_key(parser)) return 0;

        *(parser->simple_keys.top-1) = simple_key;
    }

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
xorl %ebp, %ebp
cmpl $0x0, 0x100(%rdi)
jne 0xc500
movslq 0x150(%r14), %rax
xorl %ebp, %ebp
cmpq %rax, 0xf0(%r14)
sete %bpl
pushq $0x1
popq %rbx
cmpl $0x0, 0x154(%r14)
je 0xc581
movq 0x128(%r14), %r12
movq 0x120(%r14), %r15
movq 0x118(%r14), %r13
movq 0xf0(%r14), %rax
movq %rax, 0x10(%rsp)
movups 0xe0(%r14), %xmm0
movaps %xmm0, (%rsp)
movq %r14, %rdi
callq 0xb859
testl %eax, %eax
je 0xc57f
subq %r13, %r15
pushq $0x50
popq %rcx
movq %r15, %rax
cqto
idivq %rcx
addq %r12, %rax
movq 0x168(%r14), %rcx
movl $0x1, -0x28(%rcx)
movl %ebp, -0x24(%rcx)
movq %rax, -0x20(%rcx)
movaps (%rsp), %xmm0
movups %xmm0, -0x18(%rcx)
movq 0x10(%rsp), %rax
movq %rax, -0x8(%rcx)
jmp 0xc581
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/parser.c
// Function: yaml_parser_parse_flow_mapping_value
static int
yaml_parser_parse_flow_mapping_value(yaml_parser_t *parser,
        yaml_event_t *event, int empty)
{
    yaml_token_t *token;

    token = PEEK_TOKEN(parser);
    if (!token) return 0;

    if (empty) {
        parser->state = YAML_PARSE_FLOW_MAPPING_KEY_STATE;
        return yaml_parser_process_empty_scalar(parser, event,
                token->start_mark);
    }

    if (token->type == YAML_VALUE_TOKEN) {
        SKIP_TOKEN(parser);
        token = PEEK_TOKEN(parser);
        if (!token) return 0;
        if (token->type != YAML_FLOW_ENTRY_TOKEN
                && token->type != YAML_FLOW_MAPPING_END_TOKEN) {
            if (!PUSH(parser, parser->states,
                        YAML_PARSE_FLOW_MAPPING_KEY_STATE))
                return 0;
            return yaml_parser_parse_node(parser, event, 0, 0);
        }
    }

    parser->state = YAML_PARSE_FLOW_MAPPING_KEY_STATE;
    return yaml_parser_process_empty_scalar(parser, event, token->start_mark);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x0, 0x130(%rdi)
jne 0xef90
movq %r14, %rdi
callq 0x21b0
testl %eax, %eax
je 0xf083
movq 0x118(%r14), %rax
testq %rax, %rax
je 0xf083
testl %ebp, %ebp
jne 0xeff5
cmpl $0x11, (%rax)
jne 0xeff5
andl $0x0, 0x130(%r14)
incq 0x128(%r14)
andl $0x0, 0xfc(%r14)
addq $0x50, %rax
movq %rax, 0x118(%r14)
movq %r14, %rdi
callq 0x21b0
testl %eax, %eax
je 0xf083
movq 0x118(%r14), %rax
testq %rax, %rax
je 0xf083
movl (%rax), %ecx
orl $0x2, %ecx
cmpl $0xf, %ecx
jne 0xf01e
movl $0x14, 0x188(%r14)
movq 0x30(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups 0x20(%rax), %xmm0
movups %xmm0, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf4a6
jmp 0xf085
movq 0x180(%r14), %rax
cmpq 0x178(%r14), %rax
jne 0xf052
leaq 0x180(%r14), %r15
leaq 0x178(%r14), %rdx
leaq 0x170(%r14), %rdi
movq %r15, %rsi
callq 0x20e0
testl %eax, %eax
je 0xf07c
movq (%r15), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x180(%r14)
movl $0x14, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xd85e
movl $0x1, (%r14)
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/parser.c
// Function: yaml_parser_append_tag_directive
static int
yaml_parser_append_tag_directive(yaml_parser_t *parser,
        yaml_tag_directive_t value, int allow_duplicates, yaml_mark_t mark)
{
    yaml_tag_directive_t *tag_directive;
    yaml_tag_directive_t copy = { NULL, NULL };

    for (tag_directive = parser->tag_directives.start;
            tag_directive != parser->tag_directives.top; tag_directive ++) {
        if (strcmp((char *)value.handle, (char *)tag_directive->handle) == 0) {
            if (allow_duplicates)
                return 1;
            return yaml_parser_set_parser_error(parser,
                    "found duplicate %TAG directive", mark);
        }
    }

    copy.handle = yaml_strdup(value.handle);
    copy.prefix = yaml_strdup(value.prefix);
    if (!copy.handle || !copy.prefix) {
        parser->error = YAML_MEMORY_ERROR;
        goto error;
    }

    if (!PUSH(parser, parser->tag_directives, copy))
        goto error;

    return 1;

error:
    yaml_free(copy.handle);
    yaml_free(copy.prefix);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x1a8(%rdi), %rax
movq %rax, 0x10(%rsp)
movq 0x1a8(%rdi), %r15
movq 0x1b8(%rdi), %r14
leaq 0x1b8(%rdi), %rax
movq %rax, 0x8(%rsp)
cmpq %r14, %r15
je 0xf40c
movq (%r15), %rsi
movq %r12, %rdi
callq 0x2150
addq $0x10, %r15
testl %eax, %eax
jne 0xf3c2
testl %ebp, %ebp
jne 0xf47a
movl $0x4, (%rbx)
leaq 0x84f8(%rip), %rax      # 0x178e7
movq %rax, 0x8(%rbx)
leaq 0x50(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x20(%rbx)
movq 0x10(%rax), %rax
movq %rax, 0x30(%rbx)
jmp 0xf495
movq %r12, %rdi
callq 0x20c0
movq %rax, %r12
movq %r13, %rdi
callq 0x20c0
movq %rax, %r13
testq %r12, %r12
setne %al
testq %r13, %r13
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xf47f
movq 0x1b8(%rbx), %rax
cmpq 0x1b0(%rbx), %rax
jne 0xf467
leaq 0x1b0(%rbx), %rdx
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x20e0
testl %eax, %eax
je 0xf47f
movq 0x8(%rsp), %rax
movq (%rax), %rax
leaq 0x10(%rax), %rcx
movq 0x8(%rsp), %rdx
movq %rcx, (%rdx)
movq %r12, (%rax)
movq %r13, 0x8(%rax)
pushq $0x1
popq %rax
jmp 0xf497
movl $0x1, (%rbx)
movq %r12, %rdi
callq 0x2140
movq %r13, %rdi
callq 0x2140
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/parser.c
// Function: yaml_parser_process_empty_scalar
static int
yaml_parser_process_empty_scalar(yaml_parser_t *parser, yaml_event_t *event,
        yaml_mark_t mark)
{
    yaml_char_t *value;

    value = yaml_malloc(1);
    if (!value) {
        parser->error = YAML_MEMORY_ERROR;
        return 0;
    }
    value[0] = '\0';

    SCALAR_EVENT_INIT(*event, NULL, NULL, value, 0,
            1, 0, YAML_PLAIN_SCALAR_STYLE, mark, mark);

    return 1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x1
popq %rdi
callq 0x2080
testq %rax, %rax
je 0xf514
leaq 0x20(%rsp), %rcx
movb $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
leaq 0x30(%rbx), %r14
movl $0x6, (%rbx)
movups (%rcx), %xmm1
movups %xmm1, 0x38(%rbx)
movq 0x10(%rcx), %rdx
movq %rdx, 0x48(%rbx)
movups (%rcx), %xmm1
movups %xmm1, 0x50(%rbx)
movq 0x10(%rcx), %rcx
movq %rcx, 0x60(%rbx)
movups %xmm0, 0x8(%rbx)
movq %rax, 0x18(%rbx)
movl $0x1, 0x28(%rbx)
pushq $0x1
popq %rax
jmp 0xf516
xorl %eax, %eax
movl $0x1, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/loader.c
// Function: yaml_parser_register_anchor
static int
yaml_parser_register_anchor(yaml_parser_t *parser,
        int index, yaml_char_t *anchor)
{
    yaml_alias_data_t data;
    yaml_alias_data_t *alias_data;

    if (!anchor) return 1;

    data.anchor = anchor;
    data.index = index;
    data.mark = parser->document->nodes.start[index-1].start_mark;

    for (alias_data = parser->aliases.start;
            alias_data != parser->aliases.top; alias_data ++) {
        if (strcmp((char *)alias_data->anchor, (char *)anchor) == 0) {
            yaml_free(anchor);
            return yaml_parser_set_composer_error_context(parser,
                    "found duplicate anchor; first occurence",
                    alias_data->mark, "second occurence", data.mark);
        }
    }

    if (!PUSH(parser, parser->aliases, data)) {
        yaml_free(anchor);
        return 0;
    }

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
pushq $0x1
popq %rbx
testq %rdx, %rdx
je 0x1005b
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %r14
movq 0x1d8(%rdi), %rax
movq (%rax), %rax
movslq %esi, %rcx
imulq $0x60, %rcx, %rcx
leaq 0x30(%rsp), %rsi
movq -0x20(%rax,%rcx), %rdx
movq %rdx, 0x10(%rsi)
movups -0x30(%rax,%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x1c0(%rdi), %rax
movq %rax, (%rsp)
movq 0x1c0(%rdi), %r13
movq 0x1d0(%rdi), %r12
leaq 0x1d0(%rdi), %rax
movq %rax, 0x8(%rsp)
cmpq %r12, %r13
je 0xffa2
movq (%r13), %rdi
movq %r15, %rsi
callq 0x2150
testl %eax, %eax
je 0xfff9
addq $0x28, %r13
jmp 0xff87
cmpq 0x1c8(%r14), %r12
movq 0x8(%rsp), %r13
jne 0xffcf
leaq 0x1c8(%r14), %rdx
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x20e0
testl %eax, %eax
je 0x1006c
movq (%r13), %r12
leaq 0x28(%r12), %rax
movq %rax, (%r13)
movq %r15, (%r12)
movl %ebp, 0x8(%r12)
movups 0x2c(%rsp), %xmm0
movups 0x38(%rsp), %xmm1
movups %xmm0, 0xc(%r12)
movups %xmm1, 0x18(%r12)
jmp 0x1005b
movq %r15, %rdi
callq 0x2140
movq 0x20(%r13), %rax
movq %rax, 0x20(%rsp)
movups 0x10(%r13), %xmm0
movaps %xmm0, 0x10(%rsp)
movl $0x5, (%r14)
leaq 0x7bc7(%rip), %rax      # 0x17be9
movq %rax, 0x38(%r14)
movaps 0x10(%rsp), %xmm0
movups %xmm0, 0x40(%r14)
movq 0x20(%rsp), %rax
movq %rax, 0x50(%r14)
leaq 0x7bd1(%rip), %rax      # 0x17c11
movq %rax, 0x8(%r14)
leaq 0x30(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x20(%r14)
movq 0x10(%rax), %rax
movq %rax, 0x30(%r14)
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, (%r14)
movq %r15, %rdi
callq 0x2140
jmp 0x10059
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/mijallen[P]SimpleHTTPServer/lib/libyaml/src/emitter.c
// Function: yaml_emitter_emit_flow_mapping_value
static int
yaml_emitter_emit_flow_mapping_value(yaml_emitter_t *emitter,
        yaml_event_t *event, int simple)
{
    if (simple) {
        if (!yaml_emitter_write_indicator(emitter, ":", 0, 0, 0))
            return 0;
    }
    else {
        if (emitter->canonical || emitter->column > emitter->best_width) {
            if (!yaml_emitter_write_indent(emitter))
                return 0;
        }
        if (!yaml_emitter_write_indicator(emitter, ":", 1, 0, 0))
            return 0;
    }
    if (!PUSH(emitter, emitter->states, YAML_EMIT_FLOW_MAPPING_KEY_STATE))
        return 0;
    return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testl %edx, %edx
je 0x11bc7
leaq 0x5ce4(%rip), %rsi      # 0x178a4
movq %r14, %rdi
xorl %edx, %edx
jmp 0x11bfb
cmpl $0x0, 0x7c(%r14)
jne 0x11bde
movl 0x11c(%r14), %eax
cmpl 0x84(%r14), %eax
jle 0x11bee
movq %r14, %rdi
callq 0x12283
testl %eax, %eax
je 0x11c70
leaq 0x5caf(%rip), %rsi      # 0x178a4
pushq $0x1
popq %rdx
movq %r14, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x120e9
testl %eax, %eax
je 0x11c70
movq 0xa0(%r14), %rax
cmpq 0x98(%r14), %rax
jne 0x11c3d
leaq 0xa0(%r14), %r15
leaq 0x98(%r14), %rdx
leaq 0x90(%r14), %rdi
movq %r15, %rsi
callq 0x20e0
testl %eax, %eax
je 0x11c69
movq (%r15), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0xa0(%r14)
movl $0x8, (%rax)
pushq $0x1
popq %r8
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r9d, %r9d
popq %rbx
popq %r14
popq %r15
jmp 0x127b2
movl $0x1, (%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq