// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_operator_eval_uop_type
er_t x_btcl_operator_eval_uop_type( x_btcl_frame_s* frame, tp_t type, s2_t priority, x_source* source, bl_t postfix, sr_s* result )
{
    // bcore_x_btcl_operator.x:200: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* sa = ((sr_s*)BLM_LEVEL_T_PUSH(0,sr_s,sr_s_create()));
    
    if( postfix )
    {
        (*(sa)) = (*(result));
        (*(result)) = sr_null();
    }
    else
    {
        BLM_TRY(x_btcl_frame_s_eval(frame,priority, source, sa ))
    }
    
    x_btcl_operator_uop_s* uop = x_btcl_operator_uop_s__(((x_btcl_operator_uop_s*)BLM_LEVEL_T_PUSH(0,x_btcl_operator_uop_s,x_btcl_operator_uop_s_create())),type, sa, source_point );
    bl_t success = false;
    BLM_TRY(x_btcl_operator_uop_s_solve(uop,frame, result,&( success )))
    if( !success )
    {
        BLM_RETURNV(er_t, x_source_point_s_parse_error_fa(source_point,"Unary operator '#<sc_t>' on '#<sc_t>' is not defined.\n", x_btcl_operator_symbol(type ), bnameof( sr_s_o_type(sa) ) ))
    }
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %r15
movl %r8d, %ebp
movq %rcx, %r12
movl %edx, 0x4(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, 0x10(%rsp)
leaq 0x119294(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x18(%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), %r14
movq %r12, %rdi
callq 0xbe7e4
movq %r14, %rdi
movq %rax, %rsi
callq 0x6475d
movq (%r12), %r14
leaq 0x11a133(%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 %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x82beb
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x82beb
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x82beb
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x82bf4
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x82c1b
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x11a0b8(%rip), %rdi    # 0x19ccc8
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r12, %rsi
callq 0xffe72
movq %rax, 0x10(%rbx)
xorl %eax, %eax
callq 0x107e03
leaq 0x18(%rsp), %rdi
movabsq $0x79b76918ff0af12a, %rdx # imm = 0x79B76918FF0AF12A
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r14
testb %bpl, %bpl
je 0x82c78
movq 0x10(%r15), %rax
movq %rax, 0x10(%r14)
movups (%r15), %xmm0
movups %xmm0, (%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq 0x8(%rsp), %rbp
jmp 0x82c9a
movq 0x10(%rsp), %rdi
movl 0x4(%rsp), %esi
movq %r12, %rdx
movq %r14, %rcx
callq 0x81403
testq %rax, %rax
movq 0x8(%rsp), %rbp
jne 0x82d2c
callq 0x8f1ec
xorl %r12d, %r12d
leaq 0x18(%rsp), %rdi
movabsq $-0x644282552f36739d, %rdx # imm = 0x9BBD7DAAD0C98C63
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r13
movq %rax, %rdi
movq %rbp, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x8f413
movq %r15, %rdx
movq %rbp, %r15
leaq 0x3(%rsp), %rbp
movb $0x0, (%rbp)
movq %r13, %rdi
movq %rbp, %rcx
callq 0x8fd32
cmpb $0x0, (%rbp)
jne 0x82d2f
movq %r15, %rdi
callq 0x8e1d1
movq %rax, %r15
testq %r14, %r14
je 0x82d0e
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x82d0e
movq 0x8(%rax), %rdi
jmp 0x82d10
xorl %edi, %edi
callq 0xd6ec4
leaq 0xb62f4(%rip), %rsi     # 0x139010
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x8dd3f
movq %rax, %r12
leaq 0x18(%rsp), %rdi
callq 0xd6d2c
movq %r12, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq