// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_statement
er_t xoico_che_s_trans_statement( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che.x:1805:1
    
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    
    bl_t handled = true;
    
    char c = x_source_inspect_char(source);
    switch( c )
    {
        case '{':
        {
            BLM_TRY(xoico_che_s_trans_block(o,source, result, false ))
        }
        break;
    
        case '#':
        {
            BLM_TRY(xoico_che_s_trans_preprocessor(o,source, result ))
        }
        break;
    
        case ';': /// consume semicolon (!)
        {
            x_source_get_char(source);
            BLM_TRY(xoico_che_result_a_push_char(result,';' ))
        }
        break;
    
        case ',':
        {
            x_source_get_char(source);
            BLM_TRY(xoico_che_result_a_push_char(result,',' ))
        }
        break;
    
        case '=': // completion statement (same as return)
        {
            BLM_TRY(xoico_che_s_trans_control(o,TYPEOF_completion, source, result ))
        }
        break;
    
        case '?':
        {
            if( x_source_parse_bl(source,"#?([1]=='?')" ) )
            {
                BLM_TRY(xoico_che_s_inspect_expression(o,source ))
            }
            else
            {
                handled = false;
            }
        }
        break;
    
        case ')':
        {
            return  x_source_parse_error_fa(source,"Unmatched closing bracket." );
        }
        break;
    
        case '.':
        {
            return  x_source_parse_error_fa(source,"Incorrect use of delimiter '.'." );
        }
        break;
    
        case '}':
        {
            // nothing (caller is a block-handler)
        }
        break;
    
        default:
        {
            handled = false;
        }
        break;
    }
    
    if( !handled )
    {
        tp_t tp_identifier = xoico_che_s_get_identifier(o,source, false );
    
        if( tp_identifier && xoico_che_s_is_control_name(o,tp_identifier ) )
        {
            BLM_TRY(xoico_che_s_trans_control(o,tp_identifier, source, result ))
        }
        else
        {
            bl_t success_declaration = false;
            BLM_TRY(xoico_che_s_try_trans_declaration(o,source, result, (&(success_declaration)) ))
            if( !success_declaration ) BLM_TRY(xoico_che_s_trans_statement_expression(o,source, result ))
        }
    }
    
    return  0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x23fd0
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x2ba67
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
leaq 0x1868de(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x30(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
movb $0x1, -0x31(%rbp)
movq -0x18(%rbp), %rdi
callq 0xa440
movb %al, -0x32(%rbp)
movsbl -0x32(%rbp), %eax
movl %eax, -0xdc(%rbp)
subl $0x23, %eax
je 0x2bb5a
jmp 0x2ba8c
movl -0xdc(%rbp), %eax
subl $0x29, %eax
je 0x2bcf3
jmp 0x2ba9d
movl -0xdc(%rbp), %eax
subl $0x2c, %eax
je 0x2bbea
jmp 0x2baae
movl -0xdc(%rbp), %eax
subl $0x2e, %eax
je 0x2bd0e
jmp 0x2babf
movl -0xdc(%rbp), %eax
subl $0x3b, %eax
je 0x2bb9f
jmp 0x2bad0
movl -0xdc(%rbp), %eax
subl $0x3d, %eax
je 0x2bc35
jmp 0x2bae1
movl -0xdc(%rbp), %eax
subl $0x3f, %eax
je 0x2bc8a
jmp 0x2baf2
movl -0xdc(%rbp), %eax
subl $0x7b, %eax
je 0x2bb13
jmp 0x2baff
movl -0xdc(%rbp), %eax
subl $0x7d, %eax
je 0x2bd29
jmp 0x2bd2b
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
xorl %ecx, %ecx
callq 0x2ae00
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x2bb55
movq -0x40(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x1867f0(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x48(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2bd2f
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x24300
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x50(%rbp)
je 0x2bb9a
movq -0x50(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x1867ab(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2bd2f
movq -0x18(%rbp), %rdi
callq 0xa490
movq -0x20(%rbp), %rdi
movl $0x3b, %esi
callq 0x23c70
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x60(%rbp)
je 0x2bbe5
movq -0x60(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x186760(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x68(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2bd2f
movq -0x18(%rbp), %rdi
callq 0xa490
movq -0x20(%rbp), %rdi
movl $0x2c, %esi
callq 0x23c70
movq %rax, -0x70(%rbp)
cmpq $0x0, -0x70(%rbp)
je 0x2bc30
movq -0x70(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x186715(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x78(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2bd2f
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
movabsq $0x682e7c28bb773227, %rsi # imm = 0x682E7C28BB773227
callq 0x2bea0
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0x2bc85
movq -0x80(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x1866c3(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2bd2f
movq -0x18(%rbp), %rdi
leaq 0x10b5d3(%rip), %rsi    # 0x137268
callq 0x6700
testb $0x1, %al
jne 0x2bca0
jmp 0x2bced
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x2b070
movq %rax, -0x90(%rbp)
cmpq $0x0, -0x90(%rbp)
je 0x2bceb
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x18665d(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2bcf1
movb $0x0, -0x31(%rbp)
jmp 0x2bd2f
movq -0x18(%rbp), %rdi
leaq 0x10b577(%rip), %rsi    # 0x137275
movb $0x0, %al
callq 0x4c80
movq %rax, -0x8(%rbp)
jmp 0x2be87
movq -0x18(%rbp), %rdi
leaq 0x10b577(%rip), %rsi    # 0x137290
movb $0x0, %al
callq 0x4c80
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2bd2f
movb $0x0, -0x31(%rbp)
testb $0x1, -0x31(%rbp)
jne 0x2be7f
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
xorl %edx, %edx
callq 0x23380
movq %rax, -0xa0(%rbp)
cmpq $0x0, -0xa0(%rbp)
je 0x2bdca
movq -0x10(%rbp), %rdi
movq -0xa0(%rbp), %rsi
callq 0x226f0
testb $0x1, %al
jne 0x2bd6f
jmp 0x2bdca
movq -0x10(%rbp), %rdi
movq -0xa0(%rbp), %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
callq 0x2bea0
movq %rax, -0xa8(%rbp)
cmpq $0x0, -0xa8(%rbp)
je 0x2bdc5
movq -0xa8(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq 0x186583(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2be7d
movb $0x0, -0xb1(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
leaq -0xb1(%rbp), %rcx
callq 0x29f60
movq %rax, -0xc0(%rbp)
cmpq $0x0, -0xc0(%rbp)
je 0x2be24
movq -0xc0(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x186521(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0xc8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
testb $0x1, -0xb1(%rbp)
jne 0x2be7b
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x2b5d0
movq %rax, -0xd0(%rbp)
cmpq $0x0, -0xd0(%rbp)
je 0x2be79
movq -0xd0(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x1864cc(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2be87
jmp 0x2be7b
jmp 0x2be7d
jmp 0x2be7f
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)