// File: /workspace/github_c_makefile_star2_O3/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, %rbx
movq %rdi, %r14
leaq 0xe0(%rdi), %r12
movq 0xf0(%rdi), %rax
movq %rax, 0x10(%rcx)
movdqu 0xe0(%rdi), %xmm0
movdqu %xmm0, (%rcx)
leaq 0x10(%rdx), %r13
movq %rdx, 0x8(%rsp)
leaq 0x8(%rdx), %rax
movq %rax, 0x10(%rsp)
xorl %ebp, %ebp
cmpq $0x0, 0xa8(%r14)
jne 0xd0eb
movl $0x1, %esi
movq %r14, %rdi
callq 0x2060
testl %eax, %eax
je 0xd467
movl (%rbx), %ecx
testl %ecx, %ecx
je 0xd111
movq 0xf0(%r14), %rdx
cmpl %edx, %ecx
jle 0xd1a8
movq 0x98(%r14), %rax
cmpb $0x20, (%rax)
je 0xd12c
jmp 0xd1b9
movq 0x98(%r14), %rax
movq 0xf0(%r14), %rdx
movb (%rax), %sil
cmpb $0x20, %sil
jne 0xd1c3
incq 0xe0(%r14)
incq %rdx
movq %rdx, 0xf0(%r14)
movq 0xa8(%r14), %rcx
decq %rcx
movq %rcx, 0xa8(%r14)
movzbl (%rax), %edx
movl $0x1, %esi
testb %dl, %dl
jns 0xd190
movl %edx, %edi
andl $-0x20, %edi
movl $0x2, %esi
cmpl $0xc0, %edi
je 0xd190
movl %edx, %edi
andl $-0x10, %edi
movl $0x3, %esi
cmpl $0xe0, %edi
je 0xd190
andl $-0x8, %edx
xorl %esi, %esi
cmpl $0xf0, %edx
sete %sil
shll $0x2, %esi
addq %rsi, %rax
movq %rax, 0x98(%r14)
testq %rcx, %rcx
jne 0xd0eb
jmp 0xd0d6
cmpl %edx, %ebp
cmovlel %edx, %ebp
movq 0x98(%r14), %rax
movb (%rax), %sil
jmp 0xd1d4
cmpl %edx, %ebp
cmovlel %edx, %ebp
movb (%rax), %sil
jmp 0xd1ca
cmpl %edx, %ebp
cmovgl %ebp, %edx
movl %edx, %ebp
cmpb $0x9, %sil
je 0xd419
movzbl %sil, %edx
cmpl $0xc1, %edx
jg 0xd1ef
cmpl $0xa, %edx
je 0xd229
cmpl $0xd, %edx
je 0xd229
jmp 0xd3e7
cmpl $0xe2, %edx
je 0xd20e
cmpl $0xc2, %edx
jne 0xd3e7
cmpb $-0x7b, 0x1(%rax)
je 0xd229
jmp 0xd3e7
xorl %edx, %edx
cmpb 0x1(%rax), %dl
jno 0xd3e7
cmpb $-0x58, 0x2(%rax)
je 0xd229
cmpb $-0x57, 0x2(%rax)
jne 0xd3e7
cmpq $0x1, 0xa8(%r14)
ja 0xd248
movl $0x2, %esi
movq %r14, %rdi
callq 0x2060
testl %eax, %eax
je 0xd467
movq (%r13), %rax
addq $0x5, %rax
movq 0x10(%rsp), %rdx
cmpq (%rdx), %rax
jb 0xd26f
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x20a0
testl %eax, %eax
je 0xd460
movq 0x98(%r14), %rax
movzbl (%rax), %ecx
cmpl $0xc1, %ecx
jg 0xd2c5
cmpl $0xa, %ecx
je 0xd358
cmpl $0xd, %ecx
jne 0xd3ce
cmpb $0xa, 0x1(%rax)
movq (%r13), %rax
jne 0xd35c
leaq 0x1(%rax), %rcx
movq %rcx, (%r13)
movb $0xa, (%rax)
addq $0x2, 0x98(%r14)
movq $-0x2, %rax
movl $0x2, %ecx
jmp 0xd399
cmpl $0xc2, %ecx
je 0xd370
cmpl $0xe2, %ecx
jne 0xd3ce
xorl %ecx, %ecx
cmpb 0x1(%rax), %cl
jno 0xd3ce
movb 0x2(%rax), %cl
andb $-0x2, %cl
cmpb $-0x58, %cl
jne 0xd3ce
leaq 0x1(%rax), %rcx
movq %rcx, 0x98(%r14)
movb (%rax), %al
movq (%r13), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r13)
movb %al, (%rcx)
movq 0x98(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x98(%r14)
movb (%rax), %al
movq (%r13), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r13)
movb %al, (%rcx)
movq 0x98(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x98(%r14)
movb (%rax), %al
movq (%r13), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r13)
movb %al, (%rcx)
jmp 0xd38d
movq (%r13), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r13)
movb $0xa, (%rax)
incq 0x98(%r14)
jmp 0xd38d
cmpb $-0x7b, 0x1(%rax)
jne 0xd3ce
movq (%r13), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r13)
movb $0xa, (%rax)
addq $0x2, 0x98(%r14)
movq $-0x1, %rax
movl $0x1, %ecx
movq $0x0, 0xf0(%r14)
movdqu 0xe0(%r14), %xmm0
movd %ecx, %xmm1
shufpd $0x2, 0xaba6(%rip), %xmm1 # xmm1 = xmm1[0],mem[1]
paddq %xmm0, %xmm1
movdqu %xmm1, 0xe0(%r14)
addq %rax, 0xa8(%r14)
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
movdqu (%r12), %xmm0
movdqu %xmm0, (%r15)
jmp 0xd0cc
movl $0x1, %eax
testl %ecx, %ecx
jne 0xd469
movl %ebp, (%rbx)
movl 0x150(%r14), %edx
leal 0x1(%rdx), %ecx
cmpl %edx, %ebp
cmovgl %ebp, %ecx
setg %dl
testl %ecx, %ecx
setg %sil
testb %sil, %dl
jne 0xd469
cmpl $0x2, %ecx
cmovll %eax, %ecx
movl %ecx, (%rbx)
jmp 0xd469
movl $0x3, (%r14)
leaq 0xb1b3(%rip), %rax      # 0x185da
movq %rax, 0x38(%r14)
leaq 0x50(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x40(%r14)
movq 0x10(%rax), %rax
movq %rax, 0x50(%r14)
leaq 0xb1db(%rip), %rax      # 0x18622
movq %rax, 0x8(%r14)
movups (%r12), %xmm0
movups %xmm0, 0x20(%r14)
movq 0x10(%r12), %rax
movq %rax, 0x30(%r14)
jmp 0xd467
movl $0x1, (%r14)
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq