// File: /workspace/github_c_makefile_star2_O1/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 0xd96c
movq %rsi, %r12
movq %rdi, %r14
movslq 0x150(%rdi), %rax
cmpq %rsi, %rax
jge 0xd96c
movl %ecx, %ebp
movq %rdx, %r15
movq 0x148(%r14), %rax
cmpq 0x140(%r14), %rax
jne 0xd7aa
leaq 0x148(%r14), %rsi
leaq 0x140(%r14), %rdx
leaq 0x138(%r14), %rdi
callq 0x20e0
testl %eax, %eax
je 0xd7ce
movl 0x150(%r14), %eax
movq 0x148(%r14), %rcx
leaq 0x4(%rcx), %rdx
movq %rdx, 0x148(%r14)
movl %eax, (%rcx)
cmpq $0x7fffffff, %r12       # imm = 0x7FFFFFFF
jle 0xd7dc
movl $0x1, (%r14)
xorl %ebx, %ebx
jmp 0xd96c
leaq 0x70(%rsp), %r13
movl %r12d, 0x150(%r14)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movl $0x0, 0x30(%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), %rax
movq 0x120(%r14), %rdx
cmpq $-0x1, %r15
je 0xd909
cmpq %rax, %rdx
jne 0xd85d
leaq 0x108(%r14), %rdi
leaq 0x118(%r14), %rsi
movq %r12, %rdx
callq 0x2160
testl %eax, %eax
je 0xd7ce
movq %r15, %rax
subq 0x128(%r14), %rax
leaq (%rax,%rax,4), %rcx
shlq $0x4, %rcx
movq 0x118(%r14), %rdx
movq 0x120(%r14), %r8
leaq (%rdx,%rcx), %rsi
leaq (%rdx,%rcx), %rdi
addq $0x50, %rdi
subq %rdx, %r8
shrq $0x4, %r8
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %r8, %rcx
subq %rax, %rcx
shlq $0x4, %rcx
leaq (%rcx,%rcx,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 0xd96c
cmpq %rax, %rdx
jne 0xd92c
leaq 0x108(%r14), %rdi
leaq 0x118(%r14), %rsi
movq %r12, %rdx
callq 0x2160
testl %eax, %eax
je 0xd7ce
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