// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_statement_expression
er_t xoico_che_s_trans_statement_expression( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che.x:1754:1
    BLM_INIT_LEVEL(0);
    xoico_che_result_statement_s* result_statement = xoico_che_result_statement_s__(((xoico_che_result_statement_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_statement_s,xoico_che_result_statement_s_create())),((xoico_che_result*)(xoico_che_result_arr_s_create() )));
    
    if( o->try_block_level > 0 )
    {
        xoico_typespec_s* typespec = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
        xoico_che_result_arr_s* result_expr = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
        BLM_TRY(xoico_che_s_trans_expression(o,source,((xoico_che_result*)( result_expr)), typespec ))
        if
        (
            ( typespec->type == ((tp_t)(TYPEOF_er_t)) ) &&
            ( typespec->indirection == 0 ) &&
            ( typespec->flag_addressable == false )
        )
        {
            if( !x_source_parse_bl(source," #?';'" ) )
            {
                BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Inside a try-block: Expressions yielding 'er_t' must end with ';'" ))
            }
            if( xoico_che_s_returns_er_t(o) )
            {
                BLM_TRY(xoico_che_result_a_push_sc(result_statement->expression,"BLM_TRY(" ))
            }
            else
            {
                BLM_TRY(xoico_che_result_a_push_sc(result_statement->expression,"BLM_TRY_EXIT(" ))
            }
            xoico_che_result_a_push_result_d(result_statement->expression,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_expr)) )));
            BLM_TRY(xoico_che_result_a_push_sc(result_statement->expression,")" ))
        }
        else
        {
            xoico_che_result_a_push_result_d(result_statement->expression,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_expr)) )));
        }
    }
    else
    {
        BLM_TRY(xoico_che_s_trans_expression(o,source, result_statement->expression, NULL ))
    }
    
    // do not translate whitespaces here because it causes unwanted newline on single statement inline functions
    // o.trans_whitespace( source, result_statement.expression );
    
    xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_statement_s*)bcore_fork(xoico_che_result_statement_s_reduce(result_statement))) )));
    
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
leaq 0x186d42(%rip), %rax    # 0x1b2330
movq (%rax), %rax
movq %rax, -0x28(%rbp)
leaq -0x58(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0xbfe80
movq -0x60(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x28(%rbp), %rax
movq %rax, -0xe8(%rbp)
callq 0x36b40
movq -0xe8(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $0x23bca167e8b1aac4, %rdx # imm = 0x23BCA167E8B1AAC4
callq 0xc01a0
movq %rax, -0xe0(%rbp)
callq 0x35ee0
movq -0xe0(%rbp), %rdi
movq %rax, %rsi
callq 0x2b9a0
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x30(%rax)
jle 0x2b8ea
movq -0x28(%rbp), %rax
movq %rax, -0xf8(%rbp)
callq 0x5d20
movq -0xf8(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
callq 0xc01a0
movq %rax, -0x70(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xf0(%rbp)
callq 0x35ee0
movq -0xf0(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
callq 0xc01a0
movq %rax, -0x78(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x78(%rbp), %rdx
movq -0x70(%rbp), %rcx
callq 0x27f50
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0x2b71f
movq -0x80(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2b984
movq -0x70(%rbp), %rax
movabsq $-0x4db4989f9014f113, %rcx # imm = 0xB24B67606FEB0EED
cmpq %rcx, 0x8(%rax)
jne 0x2b8c1
movq -0x70(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x2b8c1
movq -0x70(%rbp), %rax
movb 0x2e(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x2b8c1
movq -0x18(%rbp), %rdi
leaq 0x108d2b(%rip), %rsi    # 0x134491
callq 0x6700
testb $0x1, %al
jne 0x2b7a1
movq -0x18(%rbp), %rdi
leaq 0x10ba95(%rip), %rsi    # 0x13720f
movb $0x0, %al
callq 0x4c80
movq %rax, -0x90(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0x90(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2b984
movq -0x10(%rbp), %rdi
callq 0x23340
testb $0x1, %al
jne 0x2b7b0
jmp 0x2b7fe
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x10ba92(%rip), %rsi    # 0x137251
callq 0x23300
movq %rax, -0x98(%rbp)
cmpq $0x0, -0x98(%rbp)
je 0x2b7fc
movq -0x98(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0xa0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2b984
jmp 0x2b84c
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x10ba4d(%rip), %rsi    # 0x13725a
callq 0x23300
movq %rax, -0xa8(%rbp)
cmpq $0x0, -0xa8(%rbp)
je 0x2b84a
movq -0xa8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2b984
jmp 0x2b84c
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x100(%rbp)
movq -0x78(%rbp), %rdi
callq 0x9d3d0
movq -0x100(%rbp), %rdi
movq %rax, %rsi
callq 0x24290
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x129ac9(%rip), %rsi    # 0x15534b
callq 0x23300
movq %rax, -0xb8(%rbp)
cmpq $0x0, -0xb8(%rbp)
je 0x2b8bf
movq -0xb8(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0xc0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2b984
jmp 0x2b8e8
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x108(%rbp)
movq -0x78(%rbp), %rdi
callq 0x9d3d0
movq -0x108(%rbp), %rdi
movq %rax, %rsi
callq 0x24290
jmp 0x2b93a
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x27f50
movq %rax, -0xc8(%rbp)
cmpq $0x0, -0xc8(%rbp)
je 0x2b938
movq -0xc8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0xd0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2b984
jmp 0x2b93a
movq -0x20(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x68(%rbp), %rdi
callq 0x2b9d0
movq %rax, %rdi
callq 0x9d3d0
movq -0x110(%rbp), %rdi
movq %rax, %rsi
callq 0x24290
movq $0x0, -0xd8(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopw %cs:(%rax,%rax)