// File: /workspace/github_c_makefile_star2_O3/mijallen[P]SimpleHTTPServer/lib/libyaml/src/api.c
// Function: yaml_parser_initialize
YAML_DECLARE(int)
yaml_parser_initialize(yaml_parser_t *parser)
{
    assert(parser);     /* Non-NULL parser object expected. */

    memset(parser, 0, sizeof(yaml_parser_t));
    if (!BUFFER_INIT(parser, parser->raw_buffer, INPUT_RAW_BUFFER_SIZE))
        goto error;
    if (!BUFFER_INIT(parser, parser->buffer, INPUT_BUFFER_SIZE))
        goto error;
    if (!QUEUE_INIT(parser, parser->tokens, INITIAL_QUEUE_SIZE))
        goto error;
    if (!STACK_INIT(parser, parser->indents, INITIAL_STACK_SIZE))
        goto error;
    if (!STACK_INIT(parser, parser->simple_keys, INITIAL_STACK_SIZE))
        goto error;
    if (!STACK_INIT(parser, parser->states, INITIAL_STACK_SIZE))
        goto error;
    if (!STACK_INIT(parser, parser->marks, INITIAL_STACK_SIZE))
        goto error;
    if (!STACK_INIT(parser, parser->tag_directives, INITIAL_STACK_SIZE))
        goto error;

    return 1;

error:

    BUFFER_DEL(parser, parser->raw_buffer);
    BUFFER_DEL(parser, parser->buffer);
    QUEUE_DEL(parser, parser->tokens);
    STACK_DEL(parser, parser->indents);
    STACK_DEL(parser, parser->simple_keys);
    STACK_DEL(parser, parser->states);
    STACK_DEL(parser, parser->marks);
    STACK_DEL(parser, parser->tag_directives);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x287b
movq %rdi, %rbx
movl $0x1e0, %edx            # imm = 0x1E0
xorl %esi, %esi
callq 0x2120
movl $0x4000, %edi           # imm = 0x4000
callq 0x21a0
leaq 0xb0(%rbx), %rbp
movq %rax, 0xb0(%rbx)
testq %rax, %rax
je 0x2783
movq %rax, %r14
movq %rax, 0xc0(%rbx)
movq %rax, 0xc8(%rbx)
addq $0x4000, %rax           # imm = 0x4000
movq %rax, 0xb8(%rbx)
movl $0xc000, %edi           # imm = 0xC000
callq 0x21a0
movq %rax, %r15
movq %rax, 0x88(%rbx)
testq %rax, %rax
je 0x2705
movq %r15, 0x98(%rbx)
movq %r15, 0xa0(%rbx)
leaq 0xc000(%r15), %rax
movq %rax, 0x90(%rbx)
movl $0x500, %edi            # imm = 0x500
callq 0x21a0
movq %rax, 0x108(%rbx)
testq %rax, %rax
je 0x2705
movq %rax, %r13
movq %rax, 0x120(%rbx)
movq %rax, 0x118(%rbx)
addq $0x500, %rax            # imm = 0x500
movq %rax, 0x110(%rbx)
movl $0x40, %edi
callq 0x21a0
movq %rax, 0x138(%rbx)
testq %rax, %rax
je 0x2873
movq %rax, %r12
movq %rax, 0x148(%rbx)
addq $0x40, %rax
movq %rax, 0x140(%rbx)
movl $0x280, %edi            # imm = 0x280
callq 0x21a0
movq %rax, 0x158(%rbx)
testq %rax, %rax
je 0x270b
movq %rax, 0x168(%rbx)
addq $0x280, %rax            # imm = 0x280
movq %rax, 0x160(%rbx)
movl $0x40, %edi
callq 0x21a0
movq %rax, 0x170(%rbx)
testq %rax, %rax
je 0x270b
movq %rax, 0x180(%rbx)
addq $0x40, %rax
movq %rax, 0x178(%rbx)
movl $0x180, %edi            # imm = 0x180
callq 0x21a0
movq %rax, 0x190(%rbx)
testq %rax, %rax
je 0x270b
movq %rax, 0x1a0(%rbx)
addq $0x180, %rax            # imm = 0x180
movq %rax, 0x198(%rbx)
movl $0x100, %edi            # imm = 0x100
callq 0x21a0
movq %rax, 0x1a8(%rbx)
testq %rax, %rax
je 0x270b
movq %rax, 0x1b8(%rbx)
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x1b0(%rbx)
movl $0x1, %eax
jmp 0x2864
xorl %r12d, %r12d
xorl %r13d, %r13d
movl $0x1, (%rbx)
movq %r14, %rdi
callq 0x2040
movq %rbp, %rax
leaq 0x88(%rbx), %rbp
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
testq %r15, %r15
je 0x2741
movq %r15, %rdi
callq 0x2040
xorps %xmm0, %xmm0
leaq 0x108(%rbx), %r14
movups %xmm0, (%rbp)
movq $0x0, 0x10(%rbp)
testq %r13, %r13
je 0x2768
movq %r13, %rdi
callq 0x2040
movq 0x138(%rbx), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movups %xmm0, (%r14)
testq %r12, %r12
je 0x27b2
movq %r12, %rdi
callq 0x2040
jmp 0x27b2
movl $0x1, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x88(%rbx)
xorl %eax, %eax
movq %rax, 0x98(%rbx)
movq %rax, 0x10(%rbp)
movups %xmm0, (%rbp)
movups %xmm0, 0x118(%rbx)
movups %xmm0, 0x108(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x140(%rbx)
movq $0x0, 0x138(%rbx)
leaq 0x158(%rbx), %r15
movq 0x158(%rbx), %rdi
testq %rdi, %rdi
je 0x27e2
callq 0x2040
xorps %xmm0, %xmm0
leaq 0x170(%rbx), %r14
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq 0x170(%rbx), %rdi
testq %rdi, %rdi
je 0x2806
callq 0x2040
leaq 0x190(%rbx), %r15
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq 0x190(%rbx), %rdi
testq %rdi, %rdi
je 0x2830
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq 0x1a8(%rbx), %rdi
addq $0x1a8, %rbx            # imm = 0x1A8
testq %rdi, %rdi
je 0x2854
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0x270b
leaq 0x147b0(%rip), %rdi     # 0x17032
leaq 0x147b0(%rip), %rsi     # 0x17039
leaq 0x147af(%rip), %rcx     # 0x1703f
movl $0xad, %edx
callq 0x2100