// File: /workspace/github_c_makefile_star2_O2/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, %rbp
movl %edx, %r14d
movq %rsi, 0x20(%rsp)
movq %rdi, %r15
leaq 0xd6e9b(%rip), %rax     # 0x117dd0
movq (%rax), %rsi
leaq 0x28(%rsp), %r13
movq %r13, %rdi
callq 0x717f5
andq $0x0, 0x10(%r13)
callq 0x2dde5
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movq %r13, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
movq %rax, %rdi
movq %rbp, %rsi
callq 0x3d596
leaq 0x70(%rsp), %rbx
movq %rbx, %rdi
callq 0x8d1bc
movq %r13, %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
movq %rbx, %rdx
callq 0x71998
movq %r15, %rdi
movl %r14d, %esi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x3afac
testq %rax, %rax
jne 0x410e7
leaq 0x74226(%rip), %rsi     # 0xb51dd
movq %rbp, %rdi
xorl %eax, %eax
callq 0x2ef9c
testq %rax, %rax
jne 0x410e7
leaq 0x58(%rsp), %rbx
movq %rbx, %rdi
callq 0x8d1bc
leaq 0x28(%rsp), %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
movq %rbx, %rdx
callq 0x71998
movq %r15, %rdi
movl %r14d, %esi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x3afac
testq %rax, %rax
jne 0x410e7
callq 0x44faa
xorl %r13d, %r13d
leaq 0x28(%rsp), %rdi
movabsq $0x25ea5fdb026468e0, %rdx # imm = 0x25EA5FDB026468E0
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %rbx
leaq 0x70(%rsp), %rcx
leaq 0x58(%rsp), %r8
movq %rax, %rdi
movq 0x20(%rsp), %r15
movq %r15, %rsi
movq 0x18(%rsp), %rbp
movq %rbp, %rdx
movq %r12, %r9
callq 0x3e0f6
leaq 0xf(%rsp), %r14
movb $0x0, (%r14)
movq %rbx, %rdi
movq 0x10(%rsp), %rdx
movq %r14, %rcx
callq 0x3e1c7
cmpb $0x0, (%r14)
jne 0x410ea
testq %rbp, %rbp
je 0x41084
movq 0x8(%rbp), %rax
testq %rax, %rax
je 0x41084
movq 0x8(%rax), %rdi
jmp 0x41086
xorl %edi, %edi
callq 0x71db6
movq %rax, %r14
movq %r15, %rdi
callq 0x41dae
movq %rax, %r15
movq 0x78(%rsp), %rax
testq %rax, %rax
je 0x410a9
movq 0x8(%rax), %rdi
jmp 0x410ab
xorl %edi, %edi
callq 0x71db6
movq %rax, %rbx
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0x410c3
movq 0x8(%rax), %rdi
jmp 0x410c5
xorl %edi, %edi
callq 0x71db6
leaq 0x753d6(%rip), %rsi     # 0xb64a7
movq %r12, %rdi
movq %r14, %rdx
movq %r15, %rcx
movq %rbx, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x41984
movq %rax, %r13
leaq 0x28(%rsp), %rdi
callq 0x71b64
movq %r13, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq