// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: bcore_shell_run_expression
bl_t bcore_shell_run_expression( bcore_shell* o, const bcore_main_frame_s* frame, bcore_shell_control_s* control, x_source* expression )
{
    // bcore_shell.h:382:1
    BLM_INIT_LEVEL(0);
    bl_t found = false;
    
    BLM_TRY_EXIT(x_source_parse_fa(expression," #-?';' " ))
    
    {BLM_INIT_LEVEL(1);const bcore_arr_tp_s* __a=((bcore_arr_tp_s*)BLM_LEVEL_T_PUSH(1,bcore_arr_tp_s,bcore_shell_get_op_stamps(o))) ;if(__a)for(sz_t __i=0;__i<__a->size;__i++){tp_t t=__a->data[__i];
    {
        bcore_shell_op* op =((bcore_shell_op*)( ((x_inst*)BLM_LEVEL_TV_PUSH(0,t ,x_inst_t_create(t )))));
        if( bcore_shell_op_parse_match(op,expression ) )
        {
            if( bcore_shell_op_parse_param(op,expression,((bcore_sink*)( control->sink ))) )
            {
                bcore_shell_op_a_run(op,o,
                    frame,
                    control ? control->source : x_source_stdin(),((bcore_sink*)(
                    control ? control->sink   : x_sink_stdout())),
                    control
                );
            }
            found = true;
            break;
        }
    }
    
    }BLM_DOWN();}BLM_TRY_EXIT(x_source_parse_fa(expression," " ))
    BLM_RETURNV(bl_t, ( found && !x_source_eos(expression) ) ? bcore_shell_run_expression(o,frame, control, expression ) || found : found)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r13
leaq 0xe62f9(%rip), %rax     # 0x117dd0
movq (%rax), %rsi
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x717f5
andq $0x0, 0x10(%r15)
leaq 0x78c25(%rip), %rsi     # 0xaa718
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2ef9c
testq %rax, %rax
je 0x31b17
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0x71b64
movl %r15d, %edi
callq 0x2dc20
leaq 0x58(%rsp), %r15
movq %r15, 0x20(%rsp)
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0x717f5
movq $0x1, 0x10(%r15)
movq %r13, 0x10(%rsp)
movq %r13, %rdi
callq 0x31469
pushq $0x1
popq %rsi
movabsq $-0x79c1eb0a2e5b4c6b, %rdx # imm = 0x863E14F5D1A4B395
movq %r15, %rdi
movq %rax, %rcx
callq 0x71967
testq %rax, %rax
je 0x31c05
movq %rax, %r13
movq %r12, 0x8(%rsp)
movq %r14, %r12
xorl %r14d, %r14d
leaq 0x58(%rsp), %rbp
cmpq 0x10(%r13), %r14
jae 0x31c09
movq 0x8(%r13), %rax
movq (%rax,%r14,8), %r15
movq %r15, %rdi
callq 0x318f1
movq %rbp, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq 0x31c8a
incq %r14
testb %al, %al
je 0x31b77
movq %r12, %r14
movq 0x10(%r12), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x31d69
movb $0x1, %bpl
testb %al, %al
je 0x31c0e
movq 0x10(%r14), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%r14), %r13
movq %r15, %rdi
callq 0x5849b
movq %r15, %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %r12
movq %r12, %rdx
movq %r13, %rcx
movq 0x18(%rsp), %r8
movq %r14, %r9
callq *0x30(%rax)
jmp 0x31c13
xorl %ebp, %ebp
jmp 0x31c13
xorl %ebp, %ebp
movq %r12, %r14
movq 0x8(%rsp), %r12
leaq 0x20(%rsp), %rdi
callq 0x71b48
leaq 0x8fb59(%rip), %rsi     # 0xc177d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2ef9c
testq %rax, %rax
je 0x31c48
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0x71b64
movl %r15d, %edi
callq 0x2dc20
testb %bpl, %bpl
je 0x31c6c
movq %rbx, %rdi
callq 0x2ef3b
testb %al, %al
jne 0x31c6c
movq 0x10(%rsp), %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x31ab3
leaq 0x28(%rsp), %rdi
callq 0x71b64
movl %ebp, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq