// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_operator_bop_s_execute
er_t x_btcl_operator_bop_s_execute( const x_btcl_operator_bop_s* o, sr_s* result )
{
    // bcore_x_btcl_operator.x:725:1
    BLM_INIT_LEVEL(0);
    const sr_s* a = NULL;
    const sr_s* b = 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));
    }
    
    bl_t success = false;
    BLM_TRY(x_btcl_operator_bop_s_solve_exportable_a_b(o,a, b, 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> is not executable.\n", bnameof( sr_s_type(a) ), x_btcl_operator_symbol(o->type ), bnameof( sr_s_type(b) ) ))
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, 0x10(%rsp)
movq %rdi, %rbx
leaq 0x109036(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xd6675
movq $0x0, 0x10(%r14)
leaq 0x10(%rbx), %r13
movq 0x10(%rbx), %r15
testq %r15, %r15
je 0x92f3c
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x92dd2
movq 0x8(%rax), %r12
jmp 0x92dd5
xorl %r12d, %r12d
leaq 0x1078b4(%rip), %rbp    # 0x19a690
movl 0x1078ae(%rip), %eax    # 0x19a690
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 0x92e35
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x92e35
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x92e35
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x92e3e
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x92e65
movabsq $-0x2d60bfcb4cae7a7a, %rdi # imm = 0xD29F4034B3518586
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x107836(%rip), %rdi    # 0x19a690
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
callq *0x10(%r14)
testb %al, %al
je 0x92f3c
xorl %eax, %eax
callq 0x107e03
leaq 0x18(%rsp), %rdi
movabsq $0x79b76918ff0af12a, %rdx # imm = 0x79B76918FF0AF12A
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r14
movq (%r13), %r12
movq (%r12), %r13
movl 0x1077eb(%rip), %eax    # 0x19a690
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x92ef8
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x92ef8
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x92ef8
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x92f01
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x92f28
movabsq $-0x2d60bfcb4cae7a7a, %rdi # imm = 0xD29F4034B3518586
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %rbp
leaq 0x107773(%rip), %rdi    # 0x19a690
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
movq %r14, %rsi
callq *0x30(%rbp)
testq %rax, %rax
jne 0x93174
jmp 0x92f3f
movq %r13, %r14
leaq 0x28(%rbx), %rbp
movq 0x28(%rbx), %r12
testq %r12, %r12
je 0x92f60
movq 0x30(%rbx), %rax
testq %rax, %rax
movq %r14, 0x8(%rsp)
je 0x92f68
movq 0x8(%rax), %r13
jmp 0x92f6b
movq %rbp, %r12
jmp 0x930e0
xorl %r13d, %r13d
leaq 0x10771e(%rip), %r15    # 0x19a690
movl 0x107718(%rip), %eax    # 0x19a690
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x92fcb
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x92fcb
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x92fcb
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x92fd4
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x92ffb
movabsq $-0x2d60bfcb4cae7a7a, %rdi # imm = 0xD29F4034B3518586
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x1076a0(%rip), %rdi    # 0x19a690
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
callq *0x10(%r14)
testb %al, %al
je 0x930d8
xorl %eax, %eax
callq 0x107e03
leaq 0x18(%rsp), %rdi
movabsq $0x79b76918ff0af12a, %rdx # imm = 0x79B76918FF0AF12A
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
movq (%rbp), %r13
movq (%r13), %rbp
movl 0x107655(%rip), %eax    # 0x19a690
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x9308e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x9308e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x9308e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x93097
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x930be
movabsq $-0x2d60bfcb4cae7a7a, %rdi # imm = 0xD29F4034B3518586
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x1075dd(%rip), %rdi    # 0x19a690
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r12, %rsi
callq *0x30(%r14)
testq %rax, %rax
movq 0x8(%rsp), %r14
jne 0x93174
jmp 0x930e0
movq %rbp, %r12
movq 0x8(%rsp), %r14
leaq 0x7(%rsp), %r8
movb $0x0, (%r8)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq 0x10(%rsp), %rcx
callq 0x9096f
movq %rax, %r13
testq %rax, %rax
jne 0x93177
cmpb $0x0, 0x7(%rsp)
je 0x93110
xorl %r13d, %r13d
jmp 0x93177
testq %r14, %r14
je 0x93124
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x93124
movq 0x8(%rax), %rdi
jmp 0x93126
xorl %edi, %edi
leaq 0x40(%rbx), %r14
callq 0xd6ec4
movq %rax, %r15
movq 0x8(%rbx), %rdi
callq 0x8e1d1
movq %rax, %rbx
testq %r12, %r12
je 0x93153
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x93153
movq 0x8(%rax), %rdi
jmp 0x93155
xorl %edi, %edi
callq 0xd6ec4
leaq 0xa5db3(%rip), %rsi     # 0x138f14
movq %r14, %rdi
movq %r15, %rdx
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x8dd3f
movq %rax, %r13
leaq 0x18(%rsp), %rdi
callq 0xd6d2c
movq %r13, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq