// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_frame_s_eval_op_functional
er_t x_btcl_frame_s_eval_op_functional( x_btcl_frame_s* o, x_source* source, sr_s* sr )
{
    // bcore_x_btcl_op.x:175:1
    
    if( sr_s_o_type(sr) == ((tp_t)(TYPEOF_x_btcl_function_s)) )
    {BLM_INIT_LEVEL(1);
        BLM_TRY(x_btcl_function_s_call_via_evaluation(((x_btcl_function_s*)BLM_LEVEL_T_PUSH(1,x_btcl_function_s,((x_btcl_function_s*)bcore_fork(((x_btcl_function_s*)(sr->o)))))),source, o, sr ))
    BLM_DOWN();}
    else if( sr_s_o_type(sr) == ((tp_t)(TYPEOF_x_btcl_block_s)) )
    {
        return  x_source_parse_error_fa(source,"Attempt to evaluate a block as function. Join the block with a signature to create a function.\n" );
    }
    else if( sr_s_o_type(sr) == ((tp_t)(TYPEOF_x_btcl_net_node_s)) )
    {
        if( !x_source_parse_bl(source," #=?')'" ) )
        {BLM_INIT_LEVEL(3);
            BLM_TRY(x_btcl_net_eval_node_modifier(x_btcl_frame_s_setup(((x_btcl_frame_s*)BLM_LEVEL_T_PUSH(3,x_btcl_frame_s,x_btcl_frame_s_create())),o ), source, sr ))
        BLM_DOWN();}
        x_btcl_clone_if_weak(sr );
    }
    else if( sr_s_o_type(sr) == ((tp_t)(TYPEOF_x_btcl_functor_s)) )
    {
        if( !x_source_parse_bl(source," #=?')'" ) )
        {BLM_INIT_LEVEL(3);
            BLM_TRY(x_btcl_functor_eval_modifier(x_btcl_frame_s_setup(((x_btcl_frame_s*)BLM_LEVEL_T_PUSH(3,x_btcl_frame_s,x_btcl_frame_s_create())),o ), source, sr ))
        BLM_DOWN();}
        x_btcl_clone_if_weak(sr );
    }
    else
    {
        if( !x_source_parse_bl(source," #=?')'" ) )
        {BLM_INIT_LEVEL(2);
            BLM_TRY(x_btcl_frame_s_eval_op_modifier(x_btcl_frame_s_setup(((x_btcl_frame_s*)BLM_LEVEL_T_PUSH(2,x_btcl_frame_s,x_btcl_frame_s_create())),o ),source, sr ))
        BLM_DOWN();}
        x_btcl_clone_if_weak(sr );
    }
    return  0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x87b7d
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x87b7d
movabsq $-0x19831b480b40fba0, %r12 # imm = 0xE67CE4B7F4BF0460
cmpq %r12, 0x8(%rax)
jne 0x87909
leaq 0x114528(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x10(%rsp), %r13
movq %r13, 0x8(%rsp)
movq %r13, %rdi
callq 0xd6675
movq $0x1, 0x10(%r13)
movq (%rbx), %rdi
callq 0xbe7e4
movl $0x1, %esi
movq %r13, %rdi
movq %r12, %rdx
movq %rax, %rcx
callq 0xd68a8
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x87cbd
testq %rax, %rax
jne 0x87c88
leaq 0x8(%rsp), %rdi
callq 0xd6d0d
jmp 0x87ca9
movabsq $0x7313f38fdcab8a79, %rcx # imm = 0x7313F38FDCAB8A79
cmpq %rcx, 0x8(%rax)
jne 0x87937
leaq 0xb10bd(%rip), %rsi     # 0x1389dd
movq %r14, %rdi
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x71189
movabsq $-0x1948b20c22462ae4, %rcx # imm = 0xE6B74DF3DDB9D51C
cmpq %rcx, 0x8(%rax)
jne 0x87a5a
movq (%r14), %r12
leaq 0x115373(%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 %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x879ab
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x879ab
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x879ab
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x879b4
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x879db
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x1152f8(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0xa5b0e(%rip), %rdx     # 0x12d4f0
movq %r13, %rdi
movq %r14, %rsi
callq 0xffe2b
testb %al, %al
jne 0x87ca1
leaq 0x1143d4(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x10(%rsp), %r12
movq %r12, 0x8(%rsp)
movq %r12, %rdi
callq 0xd6675
movq $0x3, 0x10(%r12)
callq 0x7f70d
movabsq $-0x8f0f83b86d2b0b3, %rdx # imm = 0xF70F07C4792D4F4D
movl $0x3, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x7f934
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x880eb
jmp 0x87c83
movabsq $0x73f13731f3140e07, %rcx # imm = 0x73F13731F3140E07
cmpq %rcx, 0x8(%rax)
jne 0x87b7d
movq (%r14), %r12
leaq 0x115250(%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 %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x87ace
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x87ace
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x87ace
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x87ad7
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x87afe
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x1151d5(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0xa59eb(%rip), %rdx     # 0x12d4f0
movq %r13, %rdi
movq %r14, %rsi
callq 0xffe2b
testb %al, %al
jne 0x87ca1
leaq 0x1142b1(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x10(%rsp), %r12
movq %r12, 0x8(%rsp)
movq %r12, %rdi
callq 0xd6675
movq $0x3, 0x10(%r12)
callq 0x7f70d
movabsq $-0x8f0f83b86d2b0b3, %rdx # imm = 0xF70F07C4792D4F4D
movl $0x3, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x7f934
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x88c72
jmp 0x87c83
movq (%r14), %r12
leaq 0x115141(%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 %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x87bdd
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x87bdd
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x87bdd
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x87be6
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x87c0d
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x1150c6(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0xa58dc(%rip), %rdx     # 0x12d4f0
movq %r13, %rdi
movq %r14, %rsi
callq 0xffe2b
testb %al, %al
jne 0x87ca1
leaq 0x1141a6(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x10(%rsp), %r12
movq %r12, 0x8(%rsp)
movq %r12, %rdi
callq 0xd6675
movq $0x2, 0x10(%r12)
callq 0x7f70d
movabsq $-0x8f0f83b86d2b0b3, %rdx # imm = 0xF70F07C4792D4F4D
movl $0x2, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x7f934
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x88e7d
testq %rax, %rax
je 0x87c97
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0xd6d2c
jmp 0x87cac
leaq 0x8(%rsp), %rdi
callq 0xd6d0d
movq %rbx, %rdi
callq 0x82aab
xorl %r14d, %r14d
movq %r14, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq