// File: /workspace/github_c_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x2816
movq %rdi, %rbx
movl $0x1e0, %edx            # imm = 0x1E0
xorl %esi, %esi
callq 0x2120
movl $0x4000, %edi           # imm = 0x4000
callq 0x21a0
movq %rax, 0xb0(%rbx)
testq %rax, %rax
je 0x26d4
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, 0x88(%rbx)
testq %rax, %rax
je 0x26d4
movq %rax, 0x98(%rbx)
movq %rax, 0xa0(%rbx)
addq $0xc000, %rax           # imm = 0xC000
movq %rax, 0x90(%rbx)
movl $0x500, %edi            # imm = 0x500
callq 0x21a0
movq %rax, 0x108(%rbx)
testq %rax, %rax
je 0x26d4
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 0x26d4
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 0x26d4
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 0x26d4
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 0x26d4
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 0x26d4
movq %rax, 0x1b8(%rbx)
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x1b0(%rbx)
movl $0x1, %eax
jmp 0x2810
leaq 0xb0(%rbx), %r15
movl $0x1, (%rbx)
movq 0xb0(%rbx), %rdi
testq %rdi, %rdi
je 0x26f2
callq 0x2040
leaq 0x88(%rbx), %r14
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq 0x88(%rbx), %rdi
testq %rdi, %rdi
je 0x271c
callq 0x2040
xorps %xmm0, %xmm0
leaq 0x108(%rbx), %r15
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq 0x108(%rbx), %rdi
testq %rdi, %rdi
je 0x2740
callq 0x2040
leaq 0x138(%rbx), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movups %xmm0, (%r15)
movq 0x138(%rbx), %rdi
testq %rdi, %rdi
je 0x2767
callq 0x2040
xorps %xmm0, %xmm0
leaq 0x158(%rbx), %r15
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq 0x158(%rbx), %rdi
testq %rdi, %rdi
je 0x278b
callq 0x2040
leaq 0x170(%rbx), %r14
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq 0x170(%rbx), %rdi
testq %rdi, %rdi
je 0x27b5
callq 0x2040
xorps %xmm0, %xmm0
leaq 0x190(%rbx), %r15
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq 0x190(%rbx), %rdi
testq %rdi, %rdi
je 0x27d9
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 0x2803
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x15815(%rip), %rdi     # 0x18032
leaq 0x15815(%rip), %rsi     # 0x18039
leaq 0x15814(%rip), %rcx     # 0x1803f
movl $0xad, %edx
callq 0x2100