// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_assess_indentation
sz_t xoico_che_s_assess_indentation( x_source* source )
{
    // xoico_che.x:2148:1
    
    sz_t index = x_source_get_index(source);
    while( !x_source_eos(source) ) if( x_source_get_char(source) == '\n' ) break;
    sz_t indentation = 0;
    while( !x_source_eos(source) )
    {
        if( x_source_get_char(source) != ' ' ) break;
        indentation++;
    }
    x_source_set_index(source,index );
    return  indentation;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rdi), %r12
leaq 0x15d183(%rip), %r15    # 0x19ccc8
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x3fb9b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x3fb9b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x3fb9b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x3fba4
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x3fbcb
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x15d108(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r14, %rdi
movq %rbx, %rsi
callq 0xffe72
movq %rax, 0x10(%rsp)
leaq 0xe(%rsp), %r13
movq (%rbx), %rbp
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x3fc39
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x3fc39
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x3fc39
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x3fc42
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x3fc65
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r12
movq %r15, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x40(%r12), %rax
testq %rax, %rax
jne 0x3fc83
movq %r12, %rdi
leaq 0xfa110(%rip), %rsi     # 0x139d89
callq 0xeb49c
movq 0x40(%r12), %rax
movq %rbx, %rdi
callq *%rax
testb %al, %al
jne 0x3fd36
movq (%rbx), %rbp
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x3fce9
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x3fce9
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x3fce9
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x3fcf2
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x3fd15
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r15, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r14), %rax
movb $0x0, 0xe(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq *%rax
cmpb $0xa, 0xe(%rsp)
jne 0x3fbe0
xorl %r13d, %r13d
leaq 0xf(%rsp), %r12
movq (%rbx), %rbp
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x3fd97
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x3fd97
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x3fd97
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x3fda0
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x3fdc3
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r15, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x40(%r14), %rax
testq %rax, %rax
jne 0x3fddf
movq %r14, %rdi
leaq 0xf9fb3(%rip), %rsi     # 0x139d89
callq 0xeb49c
movq 0x40(%r14), %rax
movq %rbx, %rdi
callq *%rax
testb %al, %al
jne 0x3fe96
movq (%rbx), %rbp
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x3fe45
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x3fe45
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x3fe45
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x3fe4e
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x3fe71
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r15, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r14), %rax
movb $0x0, 0xf(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq *%rax
cmpb $0x20, 0xf(%rsp)
jne 0x3fe96
incq %r13
jmp 0x3fd3e
movq (%rbx), %r12
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x3feef
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x3feef
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x3feef
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x3fef8
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x3ff1f
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x15cdb4(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r14, %rdi
movq %rbx, %rsi
movq 0x10(%rsp), %rdx
callq 0xffe83
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq