// File: /workspace/github_c_makefile_star2_O1/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 0x9011b
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x8fe5d
movabsq $-0x19831b480b40fba0, %r12 # imm = 0xE67CE4B7F4BF0460
cmpq %r12, 0x8(%rax)
jne 0x8fe5d
leaq 0x118fd9(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x10(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xe0431
movq 0x8(%rsp), %r13
movq $0x1, 0x10(%r13)
movq (%rbx), %rdi
callq 0xc8348
movl $0x1, %esi
movq %r13, %rdi
movq %r12, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x90293
movq %rax, %r14
testq %rax, %rax
je 0x9026a
movq 0x8(%rsp), %rdi
callq 0xe0b30
jmp 0x90274
testq %rbx, %rbx
je 0x9011b
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x8fe9d
movabsq $0x7313f38fdcab8a79, %rcx # imm = 0x7313F38FDCAB8A79
cmpq %rcx, 0x8(%rax)
jne 0x8fe9d
leaq 0xb3cdf(%rip), %rsi     # 0x143b65
movq %r14, %rdi
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x77b7c
testq %rbx, %rbx
je 0x9011b
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x8ffdc
movabsq $-0x1948b20c22462ae4, %rcx # imm = 0xE6B74DF3DDB9D51C
cmpq %rcx, 0x8(%rax)
jne 0x8ffdc
movq (%r14), %r12
leaq 0x119df7(%rip), %rax    # 0x1a9cc8
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 0x8ff2b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x8ff2b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x8ff2b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x90283
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x8ff5b
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x119d78(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xa858e(%rip), %rdx     # 0x1384f0
movq %r13, %rdi
movq %r14, %rsi
callq 0x10aa16
testb %al, %al
jne 0x9024e
leaq 0x118e54(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x10(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xe0431
movq 0x8(%rsp), %r12
movq $0x3, 0x10(%r12)
callq 0x86f00
movabsq $-0x8f0f83b86d2b0b3, %rdx # imm = 0xF70F07C4792D4F4D
movl $0x3, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x87135
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x9066a
jmp 0x9022b
testq %rbx, %rbx
je 0x9011b
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x9011b
movabsq $0x73f13731f3140e07, %rcx # imm = 0x73F13731F3140E07
cmpq %rcx, 0x8(%rax)
jne 0x9011b
movq (%r14), %r12
leaq 0x119cb8(%rip), %rax    # 0x1a9cc8
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 0x9006a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x9006a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x9006a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x9028b
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x9009a
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x119c39(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xa844f(%rip), %rdx     # 0x1384f0
movq %r13, %rdi
movq %r14, %rsi
callq 0x10aa16
testb %al, %al
jne 0x9024e
leaq 0x118d15(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x10(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xe0431
movq 0x8(%rsp), %r12
movq $0x3, 0x10(%r12)
callq 0x86f00
movabsq $-0x8f0f83b86d2b0b3, %rdx # imm = 0xF70F07C4792D4F4D
movl $0x3, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x87135
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x91117
jmp 0x9022b
movq (%r14), %r12
leaq 0x119ba3(%rip), %rax    # 0x1a9cc8
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 0x9017f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x9017f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x9017f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x9027b
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x901af
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x119b24(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xa833a(%rip), %rdx     # 0x1384f0
movq %r13, %rdi
movq %r14, %rsi
callq 0x10aa16
testb %al, %al
jne 0x9024e
leaq 0x118c00(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x10(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xe0431
movq 0x8(%rsp), %r12
movq $0x2, 0x10(%r12)
callq 0x86f00
movabsq $-0x8f0f83b86d2b0b3, %rdx # imm = 0xF70F07C4792D4F4D
movl $0x2, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x87135
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x912a3
movq %rax, %r14
testq %rax, %rax
je 0x9023f
movq 0x8(%rsp), %rdi
callq 0xe0b30
jmp 0x90249
leaq 0x8(%rsp), %rdi
callq 0xe0b11
testq %r14, %r14
jne 0x90259
movq %rbx, %rdi
callq 0x8a9ee
xorl %r14d, %r14d
movq %r14, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x8(%rsp), %rdi
callq 0xe0b11
testq %r14, %r14
jne 0x90259
jmp 0x90256
xorl %r13d, %r13d
jmp 0x90183
xorl %r13d, %r13d
jmp 0x8ff2f
xorl %r13d, %r13d
jmp 0x9006e