// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
leaq 0x14b957(%rip), %rax    # 0x1b2330
movq (%rax), %rax
movq %rax, -0x40(%rbp)
leaq -0x70(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0xbfe80
movq -0x78(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x40(%rbp), %rax
movq %rax, -0x118(%rbp)
callq 0x42f50
movq -0x118(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
callq 0xc01a0
movq %rax, %rdi
movq -0x28(%rbp), %rsi
callq 0x61ae0
movq %rax, -0x80(%rbp)
leaq -0x98(%rbp), %rdi
callq 0xfbe40
movq -0x40(%rbp), %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
leaq -0x98(%rbp), %rdx
callq 0xc0220
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x28(%rbp), %rdx
leaq -0x98(%rbp), %rcx
callq 0x5b950
movq %rax, -0xa0(%rbp)
cmpq $0x0, -0xa0(%rbp)
je 0x66abb
movq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xa8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x66d02
movq -0x28(%rbp), %rdi
leaq 0xd8fd7(%rip), %rsi     # 0x13fa9d
movb $0x0, %al
callq 0x44f70
movq %rax, -0xb0(%rbp)
cmpq $0x0, -0xb0(%rbp)
je 0x66b05
movq -0xb0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x66d02
leaq -0xd0(%rbp), %rdi
callq 0xfbe40
movq -0x40(%rbp), %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
leaq -0xd0(%rbp), %rdx
callq 0xc0220
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x28(%rbp), %rdx
leaq -0xd0(%rbp), %rcx
callq 0x5b950
movq %rax, -0xd8(%rbp)
cmpq $0x0, -0xd8(%rbp)
je 0x66b7a
movq -0xd8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xe0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x66d02
movq -0x40(%rbp), %rax
movq %rax, -0x120(%rbp)
callq 0x6dcb0
movq -0x120(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $0x25ea5fdb026468e0, %rdx # imm = 0x25EA5FDB026468E0
callq 0xc01a0
movq %rax, %rdi
movq -0x18(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x80(%rbp), %r9
leaq -0x98(%rbp), %rcx
leaq -0xd0(%rbp), %r8
callq 0x619f0
movq %rax, -0xe8(%rbp)
movb $0x0, -0xe9(%rbp)
movq -0xe8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0xe9(%rbp), %rcx
callq 0x61b10
movq %rax, -0xf8(%rbp)
cmpq $0x0, -0xf8(%rbp)
je 0x66c2a
movq -0xf8(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0x100(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x66d02
testb $0x1, -0xe9(%rbp)
jne 0x66ce3
movq -0x80(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x30(%rbp), %rdi
callq 0x45450
movq %rax, %rdi
callq 0x44d00
movq %rax, -0x138(%rbp)
movq -0x18(%rbp), %rdi
callq 0x68740
movq %rax, -0x130(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x45450
movq %rax, %rdi
callq 0x44d00
movq %rax, -0x128(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x45450
movq %rax, %rdi
callq 0x44d00
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rdx
movq -0x130(%rbp), %rcx
movq -0x128(%rbp), %r8
movq %rax, %r9
leaq 0xda0a8(%rip), %rsi     # 0x140d67
movb $0x0, %al
callq 0x68020
movq %rax, -0x108(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0x108(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x66d02
movq $0x0, -0x110(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0x110(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nop