// File: /workspace/github_c_makefile_star2_O1/mijallen[P]SimpleHTTPServer/lib/libyaml/src/scanner.c
// Function: yaml_parser_scan_block_scalar_breaks
static int
yaml_parser_scan_block_scalar_breaks(yaml_parser_t *parser,
        int *indent, yaml_string_t *breaks,
        yaml_mark_t start_mark, yaml_mark_t *end_mark)
{
    int max_indent = 0;

    *end_mark = parser->mark;

    /* Eat the intendation spaces and line breaks. */

    while (1)
    {
        /* Eat the intendation spaces. */

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

        while ((!*indent || (int)parser->mark.column < *indent)
                && IS_SPACE(parser->buffer)) {
            SKIP(parser);
            if (!CACHE(parser, 1)) return 0;
        }

        if ((int)parser->mark.column > max_indent)
            max_indent = (int)parser->mark.column;

        /* Check for a tab character messing the intendation. */

        if ((!*indent || (int)parser->mark.column < *indent)
                && IS_TAB(parser->buffer)) {
            return yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
                    start_mark, "found a tab character where an intendation space is expected");
        }

        /* Have we found a non-empty line? */

        if (!IS_BREAK(parser->buffer)) break;

        /* Consume the line break. */

        if (!CACHE(parser, 2)) return 0;
        if (!READ_LINE(parser, *breaks)) return 0;
        *end_mark = parser->mark;
    }

    /* Determine the indentation level if needed. */

    if (!*indent) {
        *indent = max_indent;
        if (*indent < parser->indent + 1)
            *indent = parser->indent + 1;
        if (*indent < 1)
            *indent = 1;
    }

   return 1; 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xe0(%rdi), %r12
movq 0xf0(%rdi), %rax
movq %rax, 0x10(%rcx)
movups 0xe0(%rdi), %xmm0
movups %xmm0, (%rcx)
leaq 0x10(%rdx), %r13
movq %rdx, 0x8(%rsp)
leaq 0x8(%rdx), %rax
movq %rax, 0x10(%rsp)
xorl %ebp, %ebp
cmpq $0x0, 0xa8(%rbx)
jne 0xd9e3
movl $0x1, %esi
movq %rbx, %rdi
callq 0x2060
testl %eax, %eax
je 0xdd2a
movl (%r14), %ecx
testl %ecx, %ecx
je 0xd9f6
cmpl 0xf0(%rbx), %ecx
jle 0xda7b
movq 0x98(%rbx), %rax
cmpb $0x20, (%rax)
jne 0xda7b
incq 0xe0(%rbx)
incq 0xf0(%rbx)
movq 0xa8(%rbx), %rcx
decq %rcx
movq %rcx, 0xa8(%rbx)
movzbl (%rax), %edx
movl $0x1, %esi
testb %dl, %dl
jns 0xda63
movl %edx, %edi
andl $-0x20, %edi
movl $0x2, %esi
cmpl $0xc0, %edi
je 0xda63
movl %edx, %edi
andl $-0x10, %edi
movl $0x3, %esi
cmpl $0xe0, %edi
je 0xda63
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 0xd9e3
jmp 0xd9ce
testl %ecx, %ecx
sete %al
movq 0xf0(%rbx), %rdx
cmpl %edx, %ebp
cmovlel %edx, %ebp
cmpl %edx, %ecx
setg %dl
orb %al, %dl
cmpb $0x1, %dl
jne 0xdaa8
movq 0x98(%rbx), %rax
cmpb $0x9, (%rax)
je 0xdce0
movq 0x98(%rbx), %rax
movzbl (%rax), %edx
cmpl $0xa, %edx
je 0xdaff
cmpl $0xd, %edx
je 0xdaff
cmpl $0xc2, %edx
jne 0xdaca
cmpb $-0x7b, 0x1(%rax)
je 0xdaff
cmpb $-0x1e, %dl
jne 0xdcb6
xorl %esi, %esi
cmpb 0x1(%rax), %sil
jno 0xdae1
cmpb $-0x58, 0x2(%rax)
je 0xdaff
cmpb $-0x1e, %dl
jne 0xdcb6
xorl %edx, %edx
cmpb 0x1(%rax), %dl
jno 0xdcb6
cmpb $-0x57, 0x2(%rax)
jne 0xdcb6
cmpq $0x1, 0xa8(%rbx)
ja 0xdb1e
movl $0x2, %esi
movq %rbx, %rdi
callq 0x2060
testl %eax, %eax
je 0xdd2a
movq (%r13), %rax
addq $0x5, %rax
movq 0x10(%rsp), %rdx
cmpq (%rdx), %rax
jb 0xdb45
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x20a0
testl %eax, %eax
je 0xdd24
movq 0x98(%rbx), %rax
movzbl (%rax), %ecx
cmpl $0xc1, %ecx
jg 0xdbc4
cmpl $0xa, %ecx
je 0xdba9
cmpl $0xd, %ecx
jne 0xdc9f
cmpb $0xa, 0x1(%rax)
jne 0xdb93
movq (%r13), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r13)
movb $0xa, (%rax)
addq $0x2, 0x98(%rbx)
movq $-0x2, %rax
movl $0x2, %ecx
jmp 0xdc7f
cmpl $0xc1, %ecx
jg 0xdbc4
cmpl $0xa, %ecx
je 0xdba9
cmpl $0xd, %ecx
jne 0xdc9f
movq (%r13), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r13)
movb $0xa, (%rax)
incq 0x98(%rbx)
jmp 0xdc73
cmpl $0xc2, %ecx
jne 0xdbee
cmpb $-0x7b, 0x1(%rax)
jne 0xdbee
movq (%r13), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r13)
movb $0xa, (%rax)
addq $0x2, 0x98(%rbx)
jmp 0xdc73
cmpl $0xe2, %ecx
jne 0xdc9f
xorl %ecx, %ecx
cmpb 0x1(%rax), %cl
jno 0xdc9f
movb 0x2(%rax), %cl
andb $-0x2, %cl
cmpb $-0x58, %cl
jne 0xdc9f
leaq 0x1(%rax), %rcx
movq %rcx, 0x98(%rbx)
movb (%rax), %al
movq (%r13), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r13)
movb %al, (%rcx)
movq 0x98(%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x98(%rbx)
movb (%rax), %al
movq (%r13), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r13)
movb %al, (%rcx)
movq 0x98(%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x98(%rbx)
movb (%rax), %al
movq (%r13), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r13)
movb %al, (%rcx)
movq $-0x1, %rax
movl $0x1, %ecx
addq %rcx, 0xe0(%rbx)
movq $0x0, 0xf0(%rbx)
incq 0xe8(%rbx)
addq %rax, 0xa8(%rbx)
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
movups (%r12), %xmm0
movups %xmm0, (%r15)
jmp 0xd9c4
movl $0x1, %eax
testl %ecx, %ecx
jne 0xdd2c
movl %ebp, (%r14)
movl 0x150(%rbx), %ecx
cmpl %ecx, %ebp
jg 0xdcd1
incl %ecx
movl %ecx, (%r14)
cmpl $0x0, (%r14)
jg 0xdd2c
movl $0x1, (%r14)
jmp 0xdd2c
movl $0x3, (%rbx)
leaq 0xb871(%rip), %rax      # 0x1955e
movq %rax, 0x38(%rbx)
leaq 0x50(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x40(%rbx)
movq 0x10(%rax), %rax
movq %rax, 0x50(%rbx)
leaq 0xb89a(%rip), %rax      # 0x195a6
movq %rax, 0x8(%rbx)
movups (%r12), %xmm0
movups %xmm0, 0x20(%rbx)
movq 0x10(%r12), %rax
movq %rax, 0x30(%rbx)
jmp 0xdd2a
movl $0x1, (%rbx)
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop