// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_whitespace
er_t xoico_che_s_trans_whitespace( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che.x:561:1
    BLM_INIT_LEVEL(0);
    bl_t exit_loop = false;
    
    st_s* st = result ? ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,st_s_create())) : NULL;
    
    while( !exit_loop && !x_source_eos(source) )
    {
        char c =  x_source_inspect_char(source);
        switch( c )
        {
            case ' ' :
            case '\t':
            case '\n':
            {
                char c =  x_source_get_char(source);
                if( st ) st_s_push_char(st,c );
            }
            break;
    
            case '/':
            {
                if( x_source_parse_bl(source,"#?'//'" ) )
                {
                    if( st ) st_s_push_sc(st,"//" );
                    while( !x_source_eos(source) )
                    {
                        char c =  x_source_get_char(source);
                        if( st ) st_s_push_char(st,c );
                        if( c == '\n' ) break;
                    }
                }
                else if( x_source_parse_bl(source,"#?'/*'" ) )
                {
                    if( st ) st_s_push_sc(st,"/*" );
                    while( !x_source_eos(source) )
                    {
                        if( x_source_parse_bl(source,"#?'*/'" ) )
                        {
                            if( st ) st_s_push_sc(st,"*/" );
                            break;
                        }
                        char c =  x_source_get_char(source);
                        if( st ) st_s_push_char(st,c );
                    }
                }
                else
                {
                    exit_loop = true;
                }
            }
            break;
    
            default:
            {
                exit_loop = true;
            }
            break;
        }
    }
    
    if( result && st->size > 0 ) xoico_che_result_a_push_result_d(result,((xoico_che_result*)(xoico_che_result_whitespace_s__(xoico_che_result_whitespace_s_create(),((st_s*)bcore_fork(st)) ) )));
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, %r14
leaq 0xfa14a(%rip), %rax     # 0x117dd0
movq (%rax), %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x717f5
andq $0x0, 0x10(%r15)
testq %rbx, %rbx
je 0x1dcc5
xorl %eax, %eax
callq 0x8eb65
leaq 0x8(%rsp), %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %r15
jmp 0x1dcc8
xorl %r15d, %r15d
leaq 0x8f803(%rip), %r12     # 0xad4d2
leaq 0x8c8a0(%rip), %r13     # 0xaa576
movq %r14, %rdi
callq 0xe626
testb %al, %al
jne 0x1ddf3
movq %r14, %rdi
callq 0x1048a
movzbl %al, %eax
leal -0x9(%rax), %ecx
cmpl $0x2, %ecx
jb 0x1dd07
cmpl $0x2f, %eax
je 0x1dd21
cmpl $0x20, %eax
jne 0x1ddf3
movq %r14, %rdi
callq 0x104a2
testq %r15, %r15
je 0x1dcd6
movsbl %al, %esi
movq %r15, %rdi
callq 0x8f0ee
jmp 0x1dcd6
movq %r14, %rdi
movq %r12, %rsi
callq 0xe5ff
testb %al, %al
je 0x1dd76
testq %r15, %r15
je 0x1dd44
movq %r15, %rdi
leaq 0x8f79a(%rip), %rsi     # 0xad4d9
callq 0x8f392
movq %r14, %rdi
callq 0xe626
testb %al, %al
jne 0x1dcd6
movq %r14, %rdi
callq 0x104a2
movl %eax, %ebp
testq %r15, %r15
je 0x1dd6b
movsbl %bpl, %esi
movq %r15, %rdi
callq 0x8f0ee
cmpb $0xa, %bpl
jne 0x1dd44
jmp 0x1dcd6
movq %r14, %rdi
leaq 0x8f75c(%rip), %rsi     # 0xad4dc
callq 0xe5ff
testb %al, %al
je 0x1ddf3
testq %r15, %r15
je 0x1dd9d
movq %r15, %rdi
leaq 0x8f74b(%rip), %rsi     # 0xad4e3
callq 0x8f392
movq %r14, %rdi
callq 0xe626
testb %al, %al
jne 0x1dcd6
movq %r14, %rdi
movq %r13, %rsi
callq 0xe5ff
testb %al, %al
jne 0x1ddd6
movq %r14, %rdi
callq 0x104a2
testq %r15, %r15
je 0x1dd9d
movsbl %al, %esi
movq %r15, %rdi
callq 0x8f0ee
jmp 0x1dd9d
testq %r15, %r15
je 0x1dcd6
movq %r15, %rdi
leaq 0x8c794(%rip), %rsi     # 0xaa57d
callq 0x8f392
jmp 0x1dcd6
testq %rbx, %rbx
je 0x1de26
cmpq $0x0, 0x10(%r15)
je 0x1de26
callq 0x26211
movq %rax, %r14
movq %r15, %rdi
callq 0x6026d
leaq 0x8(%r14), %rdi
movq %rax, %rsi
callq 0x18dc1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1de41
leaq 0x8(%rsp), %rdi
callq 0x71b64
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq