// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
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 0x150b97(%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, -0xe0(%rbp)
callq 0x42f50
movq -0xe0(%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 0x6187b
movq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xa8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x619da
movq -0x40(%rbp), %rax
movq %rax, -0xe8(%rbp)
callq 0x6a610
movq -0xe8(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $0x3736f25bc629e322, %rdx # imm = 0x3736F25BC629E322
callq 0xc01a0
movq %rax, %rdi
movq -0x18(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x80(%rbp), %r8
leaq -0x98(%rbp), %rcx
callq 0x6a6a0
movq %rax, -0xb0(%rbp)
movb $0x0, -0xb1(%rbp)
movq -0xb0(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0xb1(%rbp), %rcx
callq 0x6c180
movq %rax, -0xc0(%rbp)
cmpq $0x0, -0xc0(%rbp)
je 0x61924
movq -0xc0(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xc8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x619da
testb $0x1, -0xb1(%rbp)
jne 0x619bb
movq -0x80(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x30(%rbp), %rdi
callq 0x52c00
movq %rax, %rdi
callq 0x44d00
movq %rax, -0xf8(%rbp)
movq -0x18(%rbp), %rdi
callq 0x68740
movq %rax, -0xf0(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x52c00
movq %rax, %rdi
callq 0x44d00
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rdx
movq -0xf0(%rbp), %rcx
movq %rax, %r8
leaq 0xdf39c(%rip), %rsi     # 0x140d33
movb $0x0, %al
callq 0x68020
movq %rax, -0xd0(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xd0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x619da
movq $0x0, -0xd8(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw (%rax,%rax)