// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_operator_eval_top_type
er_t x_btcl_operator_eval_top_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:800: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 )))
    
    BLM_TRY(x_source_parse_fa(source," :" ))
    
    sr_s sc;BLM_T_INIT_SPUSH(sr_s, &sc);; BLM_TRY(x_btcl_frame_s_eval(frame,priority, source,&( sc )))
    
    x_btcl_operator_top_s* top = x_btcl_operator_top_s__(((x_btcl_operator_top_s*)BLM_LEVEL_T_PUSH(0,x_btcl_operator_top_s,x_btcl_operator_top_s_create())),type, sa,&( sb),&( sc), source_point );
    bl_t success = false;
    BLM_TRY(x_btcl_operator_top_s_solve(top,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> '<div-operator>' #<sc_t>' is not defined.\n", bnameof( sr_s_type(sa) ), x_btcl_operator_symbol(type ), bnameof( sr_s_type(&(sb)) ), bnameof( sr_s_type(&(sc)) ) ))
    }
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, 0x10(%rsp)
movq %r8, 0x18(%rsp)
movq %rcx, %r13
movl %edx, %ebp
movq %rsi, 0x20(%rsp)
movq %rdi, %r14
leaq 0x110dea(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x28(%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, 0x8(%rsp)
leaq 0x8(%rax), %rbx
movq %r13, %rdi
callq 0xbe7e4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6475d
movq (%r13), %r15
leaq 0x111c87(%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 %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x8b097
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x8b097
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x8b097
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x8b0a0
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x8b0c7
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %rbx
leaq 0x111c0c(%rip), %rdi    # 0x19ccc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movabsq $0x79b76918ff0af12a, %r12 # imm = 0x79B76918FF0AF12A
movq %rbx, %rdi
movq %r13, %rsi
callq 0xffe72
movq 0x8(%rsp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x70(%rsp), %rbx
movq %rbx, %rdi
callq 0x107c9f
leaq 0x28(%rsp), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0xd68d9
movq %r14, %rdi
movl %ebp, %esi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x81403
testq %rax, %rax
jne 0x8b24f
leaq 0xacc8f(%rip), %rsi     # 0x137db1
movq %r13, %rdi
xorl %eax, %eax
callq 0x574ed
testq %rax, %rax
jne 0x8b24f
leaq 0x58(%rsp), %rbx
movq %rbx, %rdi
callq 0x107c9f
leaq 0x28(%rsp), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0xd68d9
movq %r14, %rdi
movl %ebp, %esi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x81403
testq %rax, %rax
jne 0x8b24f
callq 0x933c6
xorl %r15d, %r15d
leaq 0x28(%rsp), %rdi
movabsq $0x25ea5fdb026468e0, %rdx # imm = 0x25EA5FDB026468E0
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %rbx
leaq 0x70(%rsp), %rcx
leaq 0x58(%rsp), %r8
movq %rax, %rdi
movq 0x20(%rsp), %r12
movq %r12, %rsi
movq 0x18(%rsp), %rbp
movq %rbp, %rdx
movq 0x8(%rsp), %r13
movq %r13, %r9
callq 0x85b07
leaq 0x7(%rsp), %r14
movb $0x0, (%r14)
movq %rbx, %rdi
movq 0x10(%rsp), %rdx
movq %r14, %rcx
callq 0x85d07
cmpb $0x0, (%r14)
jne 0x8b252
testq %rbp, %rbp
je 0x8b1ec
movq 0x8(%rbp), %rax
testq %rax, %rax
je 0x8b1ec
movq 0x8(%rax), %rdi
jmp 0x8b1ee
xorl %edi, %edi
callq 0xd6ec4
movq %rax, %r14
movq %r12, %rdi
callq 0x8e1d1
movq %rax, %r15
movq 0x78(%rsp), %rax
testq %rax, %rax
je 0x8b211
movq 0x8(%rax), %rdi
jmp 0x8b213
xorl %edi, %edi
callq 0xd6ec4
movq %rax, %r12
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0x8b22b
movq 0x8(%rax), %rdi
jmp 0x8b22d
xorl %edi, %edi
callq 0xd6ec4
leaq 0xade42(%rip), %rsi     # 0x13907b
movq %r13, %rdi
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x8dd3f
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0xd6d2c
movq %r15, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq