// File: /workspace/github_c_makefile_star2_O3/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_roll_indent
static int
yaml_parser_roll_indent(yaml_parser_t *parser, ptrdiff_t column,
        ptrdiff_t number, yaml_token_type_t type, yaml_mark_t mark)
{
    yaml_token_t token;

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

    if (parser->flow_level)
        return 1;

    if (parser->indent < column)
    {
        /*
         * Push the current indentation level to the stack and set the new
         * indentation level.
         */

        if (!PUSH(parser, parser->indents, parser->indent))
            return 0;

        if (column > INT_MAX) {
            parser->error = YAML_MEMORY_ERROR;
            return 0;
        }

        parser->indent = column;

        /* Create a token and insert it into the queue. */

        TOKEN_INIT(token, type, mark, mark);

        if (number == -1) {
            if (!ENQUEUE(parser, parser->tokens, token))
                return 0;
        }
        else {
            if (!QUEUE_INSERT(parser,
                        parser->tokens, number - parser->tokens_parsed, token))
                return 0;
        }
    }

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl $0x1, %ebx
cmpl $0x0, 0x100(%rdi)
jne 0xd072
movq %rsi, %r12
movq %rdi, %r14
movslq 0x150(%rdi), %rax
cmpq %rsi, %rax
jge 0xd072
movl %ecx, %ebp
movq %rdx, %r15
leaq 0x148(%r14), %r13
movq 0x148(%r14), %rcx
cmpq 0x140(%r14), %rcx
jne 0xced6
leaq 0x140(%r14), %rdx
leaq 0x138(%r14), %rdi
movq %r13, %rsi
callq 0x20e0
testl %eax, %eax
je 0xcee9
movl 0x150(%r14), %eax
movq 0x148(%r14), %rcx
leaq 0x4(%rcx), %rdx
movq %rdx, (%r13)
movl %eax, (%rcx)
cmpq $0x7fffffff, %r12       # imm = 0x7FFFFFFF
jle 0xcef7
movl $0x1, (%r14)
xorl %ebx, %ebx
jmp 0xd072
leaq 0x70(%rsp), %r13
movl %r12d, 0x150(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rsp)
movaps %xmm0, (%rsp)
movq 0x10(%r13), %rax
movq %rax, 0x2c(%rsp)
movups (%r13), %xmm0
movups %xmm0, 0x1c(%rsp)
leaq 0x120(%r14), %r12
leaq 0x110(%r14), %rcx
movq 0x110(%r14), %rdx
movq 0x120(%r14), %rax
cmpq $-0x1, %r15
je 0xd00f
cmpq %rdx, %rax
jne 0xcf6b
leaq 0x108(%r14), %rdi
leaq 0x118(%r14), %rsi
movq %r12, %rdx
callq 0x2160
testl %eax, %eax
je 0xcee9
movq (%r12), %rax
movq %r15, %rcx
subq 0x128(%r14), %rcx
movq 0x118(%r14), %rdx
leaq (%rcx,%rcx,4), %rdi
shlq $0x4, %rdi
leaq (%rdx,%rdi), %rsi
addq %rdx, %rdi
addq $0x50, %rdi
subq %rdx, %rax
shrq $0x4, %rax
movabsq $-0x3333333333333333, %rdx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rax, %rdx
subq %rcx, %rdx
shlq $0x4, %rdx
leaq (%rdx,%rdx,4), %rdx
callq 0x21d0
movq 0x118(%r14), %rax
subq 0x128(%r14), %r15
leaq (%r15,%r15,4), %rcx
shlq $0x4, %rcx
movl %ebp, (%rax,%rcx)
movl 0x30(%rsp), %edx
movl %edx, 0x34(%rax,%rcx)
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps 0x20(%rsp), %xmm2
movups %xmm2, 0x24(%rax,%rcx)
movups %xmm1, 0x14(%rax,%rcx)
movups %xmm0, 0x4(%rax,%rcx)
movq 0x10(%r13), %rdx
movq %rdx, 0x48(%rax,%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x38(%rax,%rcx)
addq $0x50, 0x120(%r14)
jmp 0xd072
cmpq %rdx, %rax
jne 0xd036
leaq 0x108(%r14), %rdi
leaq 0x118(%r14), %rsi
movq %r12, %rdx
callq 0x2160
testl %eax, %eax
je 0xcee9
movq (%r12), %rax
leaq 0x50(%rax), %rcx
movq %rcx, (%r12)
movl %ebp, (%rax)
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps 0x20(%rsp), %xmm2
movups %xmm0, 0x4(%rax)
movups %xmm1, 0x14(%rax)
movups %xmm2, 0x24(%rax)
movl 0x30(%rsp), %ecx
movl %ecx, 0x34(%rax)
movups (%r13), %xmm0
movups %xmm0, 0x38(%rax)
movq 0x10(%r13), %rcx
movq %rcx, 0x48(%rax)
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq