// File: /workspace/github_c_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x34da0
movq (%r14), %r12
leaq 0x15eed8(%rip), %rbp    # 0x19ccc8
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x3de46
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x3de46
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x3de46
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x3de4f
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x3de76
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x15ee5d(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r14, %rsi
callq 0xff8b6
movzbl %al, %eax
cmpl $0x3a, %eax
jle 0x3dee3
cmpl $0x3e, %eax
jle 0x3df2c
cmpl $0x3f, %eax
je 0x3e0ac
cmpl $0x7d, %eax
je 0x3e328
cmpl $0x7b, %eax
jne 0x3e15b
xorl %r12d, %r12d
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x3d43e
testq %rax, %rax
je 0x3e32b
movq %rax, %rbx
leaq 0x15defd(%rip), %rax    # 0x19bdd0
movq (%rax), %rdi
callq 0xd6d2c
movq %rbx, %r12
jmp 0x3e32b
cmpl $0x2b, %eax
jg 0x3deff
cmpl $0x23, %eax
je 0x3df5b
cmpl $0x29, %eax
jne 0x3e15b
leaq 0xf306d(%rip), %rsi     # 0x130f6a
jmp 0x3df14
cmpl $0x2c, %eax
je 0x3df6b
cmpl $0x2e, %eax
jne 0x3e15b
leaq 0xf3071(%rip), %rsi     # 0x130f85
movq %r14, %rdi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xde10
cmpl $0x3b, %eax
je 0x3e1cf
cmpl $0x3d, %eax
jne 0x3e15b
movabsq $0x682e7c28bb773227, %rsi # imm = 0x682E7C28BB773227
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x45c1e
jmp 0x3e30f
movq %r14, %rsi
movq %rbx, %rdx
callq 0x356b1
jmp 0x3e30f
movq (%r14), %r15
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x3dfc4
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x3dfc4
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x3dfc4
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x3dfcd
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x3dff4
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x15ecdf(%rip), %rdi    # 0x19ccc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r12), %rax
leaq 0x7(%rsp), %rsi
movb $0x0, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq *%rax
movq (%rbx), %r14
leaq 0x15749b(%rip), %rax    # 0x1954b0
movl 0x157495(%rip), %ecx    # 0x1954b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x3e06f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x3e06f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x3e06f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x3e078
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x3e09f
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x15741c(%rip), %rdi    # 0x1954b0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbx, %rdi
movl $0x2c, %esi
jmp 0x3e30b
movq (%r14), %r12
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x3e105
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x3e105
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x3e105
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x3e10e
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x3e135
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x15eb9e(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0xf2e21(%rip), %rdx     # 0x130f5d
movq %r13, %rdi
movq %r14, %rsi
callq 0xffe2b
testb %al, %al
je 0x3e15b
movq %r15, %rdi
movq %r14, %rsi
callq 0x3d5e4
jmp 0x3e30f
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x329d8
testq %rax, %rax
je 0x3e192
movq %rax, %r12
movq %rax, %rsi
callq 0x31e95
testb %al, %al
je 0x3e192
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x3e33d
jmp 0x3e30f
leaq 0x5(%rsp), %rcx
movb $0x0, (%rcx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3c8e7
testq %rax, %rax
jne 0x3e314
cmpb $0x0, 0x5(%rsp)
jne 0x3e328
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3d9ae
jmp 0x3e30f
movq (%r14), %r15
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x3e228
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x3e228
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x3e228
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x3e231
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x3e258
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x15ea7b(%rip), %rdi    # 0x19ccc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r12), %rax
leaq 0x6(%rsp), %rsi
movb $0x0, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq *%rax
movq (%rbx), %r14
leaq 0x157237(%rip), %rax    # 0x1954b0
movl 0x157231(%rip), %ecx    # 0x1954b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x3e2d3
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x3e2d3
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x3e2d3
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x3e2dc
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x3e303
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x1571b8(%rip), %rdi    # 0x1954b0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbx, %rdi
movl $0x3b, %esi
callq *0x18(%r15)
testq %rax, %rax
je 0x3e328
movq %rax, %r12
leaq 0x15dab2(%rip), %rax    # 0x19bdd0
movq (%rax), %rdi
callq 0xd6d2c
jmp 0x3e32b
xorl %r12d, %r12d
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq