// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_operator_top_s_execute
er_t x_btcl_operator_top_s_execute( const x_btcl_operator_top_s* o, sr_s* result )
{
    // bcore_x_btcl_operator.x:885:1
    BLM_INIT_LEVEL(0);
    const sr_s* a = NULL;
    const sr_s* b = NULL;
    const sr_s* c = NULL;
    if( x_btcl_operator_sr_is_operator(&(o->a )) )
    {
        sr_s* r = ((sr_s*)BLM_LEVEL_T_PUSH(0,sr_s,sr_s_create()));
        BLM_TRY(x_btcl_operator_a_execute(((const x_btcl_operator*)(o->a.o)),r ))
        a = r;
    }
    else
    {
        a = (&(o->a));
    }
    
    if( x_btcl_operator_sr_is_operator(&(o->b )) )
    {
        sr_s* r = ((sr_s*)BLM_LEVEL_T_PUSH(0,sr_s,sr_s_create()));
        BLM_TRY(x_btcl_operator_a_execute(((const x_btcl_operator*)(o->b.o)),r ))
        b = r;
    }
    else
    {
        b = (&(o->b));
    }
    
    if( x_btcl_operator_sr_is_operator(&(o->c )) )
    {
        sr_s* r = ((sr_s*)BLM_LEVEL_T_PUSH(0,sr_s,sr_s_create()));
        BLM_TRY(x_btcl_operator_a_execute(((const x_btcl_operator*)(o->c.o)),r ))
        c = r;
    }
    else
    {
        c = (&(o->c));
    }
    
    bl_t success = false;
    BLM_TRY(x_btcl_operator_top_s_solve_exportable_a_b_c(o,a, b, c, result,&( success )))
    if( success ) BLM_RETURNV(er_t, 0)
    
    BLM_RETURNV(er_t, x_source_point_s_parse_error_fa(&(o->sp),"Operator '#<sc_t> #<sc_t> #<sc_t> '<div-operator>' #<sc_t>' is not executable.\n", bnameof( sr_s_type(a) ), x_btcl_operator_symbol(o->type ), bnameof( sr_s_type(b) ), bnameof( sr_s_type(c) ) ))
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movabsq $0x79b76918ff0af12a, %r12 # imm = 0x79B76918FF0AF12A
leaq 0xd2c9e(%rip), %rax     # 0x117dd0
movq (%rax), %rsi
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0x717f5
andq $0x0, 0x10(%r15)
leaq 0x10(%rbx), %r15
movq %r15, %rdi
callq 0x428d2
testb %al, %al
je 0x45190
xorl %eax, %eax
callq 0x8d285
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rax, %rcx
callq 0x71967
movq %r12, %r13
movq %rax, %r12
movq (%r15), %rdi
movq %rax, %rsi
callq 0x43003
testq %rax, %rax
jne 0x452db
movq %r12, %r15
movq %r13, %r12
leaq 0x28(%rbx), %r13
movq %r13, %rdi
callq 0x428d2
testb %al, %al
je 0x451e4
movq %r14, 0x10(%rsp)
xorl %eax, %eax
callq 0x8d285
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rax, %rcx
callq 0x71967
movq %r12, %r14
movq %rax, %r12
movq (%r13), %rdi
movq %rax, %rsi
callq 0x43003
testq %rax, %rax
jne 0x452db
movq %r12, %r13
movq %r14, %r12
movq 0x10(%rsp), %r14
leaq 0x40(%rbx), %rbp
movq %rbp, %rdi
callq 0x428d2
testb %al, %al
je 0x45228
xorl %eax, %eax
callq 0x8d285
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
movq (%rbp), %rdi
movq %rax, %rsi
callq 0x43003
testq %rax, %rax
jne 0x452db
movq %r12, %rbp
leaq 0xf(%rsp), %r12
movb $0x0, (%r12)
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %rbp, %rcx
movq %r14, %r8
movq %r12, %r9
callq 0x45062
cmpb $0x0, (%r12)
je 0x45257
xorl %ebp, %ebp
jmp 0x452de
testq %r15, %r15
je 0x4526b
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x4526b
movq 0x8(%rax), %rdi
jmp 0x4526d
xorl %edi, %edi
callq 0x71db6
movq %rax, %r14
movq 0x8(%rbx), %rdi
callq 0x41dae
movq %rax, %r15
testq %r13, %r13
je 0x45295
movq 0x8(%r13), %rax
testq %rax, %rax
je 0x45295
movq 0x8(%rax), %rdi
jmp 0x45297
xorl %edi, %edi
addq $0x58, %rbx
callq 0x71db6
movq %rax, %r12
testq %rbp, %rbp
je 0x452b7
movq 0x8(%rbp), %rax
testq %rax, %rax
je 0x452b7
movq 0x8(%rax), %rdi
jmp 0x452b9
xorl %edi, %edi
callq 0x71db6
leaq 0x710b0(%rip), %rsi     # 0xb6375
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x41984
movq %rax, %rbp
leaq 0x18(%rsp), %rdi
callq 0x71b64
movq %rbp, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq