// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movb %r8b, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
andb $0x1, %al
movb %al, -0x29(%rbp)
movq %r9, -0x38(%rbp)
leaq 0x1543a3(%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, -0xf0(%rbp)
callq 0x42f50
movq -0xf0(%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)
movq -0x40(%rbp), %rax
movq %rax, -0xe8(%rbp)
movb $0x0, %al
callq 0xfbfb0
movq -0xe8(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $0x79b76918ff0af12a, %rdx # imm = 0x79B76918FF0AF12A
callq 0xc01a0
movq %rax, -0x88(%rbp)
testb $0x1, -0x29(%rbp)
je 0x5e097
movq -0x88(%rbp), %rax
movq -0x38(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rax)
movq -0x38(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x8a380
movq -0xf8(%rbp), %rax
movq -0xa0(%rbp), %rcx
movq %rcx, (%rax)
movq -0x98(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x90(%rbp), %rcx
movq %rcx, 0x10(%rax)
jmp 0x5e0e8
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x28(%rbp), %rdx
movq -0x88(%rbp), %rcx
callq 0x5b950
movq %rax, -0xa8(%rbp)
cmpq $0x0, -0xa8(%rbp)
je 0x5e0e6
movq -0xa8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x5e220
jmp 0x5e0e8
movq -0x40(%rbp), %rax
movq %rax, -0x100(%rbp)
callq 0x69630
movq -0x100(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $-0x644282552f36739d, %rdx # imm = 0x9BBD7DAAD0C98C63
callq 0xc01a0
movq %rax, %rdi
movq -0x18(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq -0x80(%rbp), %rcx
callq 0x696c0
movq %rax, -0xb8(%rbp)
movb $0x0, -0xb9(%rbp)
movq -0xb8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0xb9(%rbp), %rcx
callq 0x6a250
movq %rax, -0xc8(%rbp)
cmpq $0x0, -0xc8(%rbp)
je 0x5e18d
movq -0xc8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xd0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x5e220
testb $0x1, -0xb9(%rbp)
jne 0x5e201
movq -0x80(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x18(%rbp), %rdi
callq 0x68740
movq %rax, -0x108(%rbp)
movq -0x88(%rbp), %rdi
callq 0x52c00
movq %rax, %rdi
callq 0x44d00
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rdx
movq %rax, %rcx
leaq 0xe2b1f(%rip), %rsi     # 0x140cfc
movb $0x0, %al
callq 0x68020
movq %rax, -0xd8(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x5e220
movq $0x0, -0xe0(%rbp)
movq -0x78(%rbp), %rdi
callq 0xc0720
movq -0xe0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopl (%rax)