// File: /workspace/github_c_makefile_star2_O1/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
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, 0x8(%rsp)
callq 0x374b3
movq (%rbx), %r12
leaq 0x1684b7(%rip), %r15    # 0x1a9cc8
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 0x4186b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x4186b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x4186b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x41d9b
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x4189b
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x168438(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r13, %rdi
movq %rbx, %rsi
callq 0x10a499
movzbl %al, %eax
movb $0x1, %bpl
cmpl $0x3a, %eax
jle 0x418fb
cmpl $0x3e, %eax
jle 0x41944
cmpl $0x3f, %eax
je 0x41acb
cmpl $0x7d, %eax
je 0x41b82
cmpl $0x7b, %eax
jne 0x41b80
xorl %r12d, %r12d
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x40ca8
movq %rax, %r13
testq %rax, %rax
jne 0x41cd7
jmp 0x41cee
cmpl $0x2b, %eax
jg 0x41917
cmpl $0x23, %eax
je 0x41975
cmpl $0x29, %eax
jne 0x41b80
leaq 0xfa655(%rip), %rsi     # 0x13bf6a
jmp 0x4192c
cmpl $0x2c, %eax
je 0x41985
cmpl $0x2e, %eax
jne 0x41b80
leaq 0xfa659(%rip), %rsi     # 0x13bf85
movq %rbx, %rdi
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xddb2
cmpl $0x3b, %eax
je 0x41b8a
cmpl $0x3d, %eax
jne 0x41b80
movabsq $0x682e7c28bb773227, %rsi # imm = 0x682E7C28BB773227
movq 0x8(%rsp), %rdi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x4ae57
jmp 0x41ccf
movq %rbx, %rsi
movq %r14, %rdx
callq 0x37e74
jmp 0x41ccf
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 0x419e2
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x419e2
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x419e2
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x41dff
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x41a12
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x1682c1(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0x17(%rsp), %rsi
movb $0x0, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq *0x10(%r13)
movq (%r14), %r12
leaq 0x160a80(%rip), %rax    # 0x1a24b0
movl 0x160a7a(%rip), %ecx    # 0x1a24b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x41a8e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x41a8e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x41a8e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x41e07
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x41abe
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x1609fd(%rip), %rdi    # 0x1a24b0
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
movl $0x2c, %esi
jmp 0x41ccb
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 0x41b28
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x41b28
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x41b28
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x41e0f
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x41b58
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x16817b(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xfa3fe(%rip), %rdx     # 0x13bf5d
movq %r13, %rdi
movq %rbx, %rsi
callq 0x10aa16
testb %al, %al
je 0x41b80
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x40e99
jmp 0x41ccf
xorl %ebp, %ebp
xorl %r12d, %r12d
jmp 0x41cf7
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 0x41be7
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x41be7
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x41be7
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x41e17
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x41c17
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x1680bc(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0x16(%rsp), %rsi
movb $0x0, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq *0x10(%r13)
movq (%r14), %r12
leaq 0x16087b(%rip), %rax    # 0x1a24b0
movl 0x160875(%rip), %ecx    # 0x1a24b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x41c93
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x41c93
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x41c93
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x41e1f
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x41cc3
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x1607f8(%rip), %rdi    # 0x1a24b0
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
movl $0x3b, %esi
callq *0x18(%r13)
movq %rax, %r13
testq %rax, %rax
je 0x41ceb
leaq 0x1670f2(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %r13, %r12
jmp 0x41cee
xorl %r12d, %r12d
testq %r13, %r13
jne 0x41ded
testb %bpl, %bpl
jne 0x41dea
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x34cab
testq %rax, %rax
je 0x41d60
movq %rax, %r13
movq %rax, %rsi
callq 0x34076
testb %al, %al
je 0x41d60
movq 0x8(%rsp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x41e27
movq %rax, %rbx
testq %rax, %rax
je 0x41d50
leaq 0x16708b(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %rbx, %r12
testq %rbx, %rbx
je 0x41de4
xorl %eax, %eax
jmp 0x41de6
leaq 0x7(%rsp), %rcx
movb $0x0, (%rcx)
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x40024
movq %rax, %r13
testq %rax, %rax
je 0x41d92
leaq 0x167049(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %r13, %r12
testq %r13, %r13
je 0x41da3
xorl %ebp, %ebp
jmp 0x41ddb
xorl %r13d, %r13d
jmp 0x4186f
movb $0x1, %bpl
cmpb $0x0, 0x7(%rsp)
jne 0x41ddb
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x41296
testq %rax, %rax
sete %bpl
je 0x41ddb
movq %rax, %rbx
leaq 0x167000(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %rbx, %r12
testb %bpl, %bpl
je 0x41d59
movb $0x1, %al
testb %al, %al
je 0x41ded
xorl %r12d, %r12d
movq %r12, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r13d, %r13d
jmp 0x419e6
xorl %r13d, %r13d
jmp 0x41a92
xorl %r13d, %r13d
jmp 0x41b2c
xorl %r13d, %r13d
jmp 0x41beb
xorl %r13d, %r13d
jmp 0x41c97