// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_operator_eval_bop_type
er_t x_btcl_operator_eval_bop_type( x_btcl_frame_s* frame, tp_t type, s2_t priority, x_source* source, sr_s* sa, sr_s* result )
{
    // bcore_x_btcl_operator.x:264:1
    BLM_INIT_LEVEL(0);
    x_source_point_s* source_point = x_source_point_s__(((x_source_point_s*)BLM_LEVEL_T_PUSH(0,x_source_point_s,x_source_point_s_create())),source );
    sr_s sb;BLM_T_INIT_SPUSH(sr_s, &sb);; BLM_TRY(x_btcl_frame_s_eval(frame,priority, source,&( sb )))
    x_btcl_operator_bop_s* bop = x_btcl_operator_bop_s__(((x_btcl_operator_bop_s*)BLM_LEVEL_T_PUSH(0,x_btcl_operator_bop_s,x_btcl_operator_bop_s_create())),type, sa,&( sb), source_point );
    bl_t success = false;
    BLM_TRY(x_btcl_operator_bop_s_solve(bop,frame, result,&( success )))
    if( !success )
    {
        BLM_RETURNV(er_t, x_source_point_s_parse_error_fa(source_point,"Operator '#<sc_t> #<sc_t> #<sc_t>' is not defined.\n", bnameof( sr_s_o_type(sa) ), x_btcl_operator_symbol(type ), bnameof( sr_s_o_type(&(sb)) ) ))
    }
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, 0x8(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %rbp
movl %edx, %r14d
movq %rsi, 0x18(%rsp)
movq %rdi, %r13
leaq 0x1164dd(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0xd6675
movq $0x0, 0x10(%rbx)
callq 0x5475f
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %rbx
leaq 0x8(%rax), %r15
movq %rbp, %rdi
callq 0xbe7e4
movq %r15, %rdi
movq %rax, %rsi
callq 0x6475d
movq (%rbp), %r12
leaq 0x11737c(%rip), %rax    # 0x19ccc8
movl (%rax), %ecx
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 0x859a2
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x859a2
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x859a2
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x859ab
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x859d2
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x117301(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbp, %rsi
callq 0xffe72
movq %rax, 0x10(%rbx)
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x107c9f
leaq 0x38(%rsp), %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
movq %r15, %rdx
callq 0xd68d9
movq %r13, %rdi
movl %r14d, %esi
movq %rbp, %rdx
movq %r15, %rcx
callq 0x81403
testq %rax, %rax
je 0x85a20
movq %rax, %r14
jmp 0x85a8b
callq 0x90392
leaq 0x38(%rsp), %rdi
movabsq $0x3736f25bc629e322, %rdx # imm = 0x3736F25BC629E322
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r14
leaq 0x20(%rsp), %rcx
movq %rax, %rdi
movq 0x18(%rsp), %r15
movq %r15, %rsi
movq 0x10(%rsp), %r12
movq %r12, %rdx
movq %rbx, %r8
callq 0x905b9
leaq 0x7(%rsp), %rcx
movb $0x0, (%rcx)
movq %r14, %rdi
movq %r13, %rsi
movq 0x8(%rsp), %rdx
callq 0x91fde
movq %rax, %r14
testq %rax, %rax
jne 0x85a8b
cmpb $0x0, 0x7(%rsp)
je 0x85aa7
xorl %r14d, %r14d
leaq 0x38(%rsp), %rdi
callq 0xd6d2c
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r12, %r12
je 0x85abc
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x85abc
movq 0x8(%rax), %rdi
jmp 0x85abe
xorl %edi, %edi
callq 0xd6ec4
movq %rax, %r14
movq %r15, %rdi
callq 0x8e1d1
movq %rax, %r15
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x85ae1
movq 0x8(%rax), %rdi
jmp 0x85ae3
xorl %edi, %edi
callq 0xd6ec4
leaq 0xb3558(%rip), %rsi     # 0x139047
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x8dd3f
jmp 0x85a1b