// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_functor_f3_s_setup_tree
er_t x_btcl_functor_f3_s_setup_tree( x_btcl_functor_f3_s* o )
{
    // bcore_x_btcl_functor_f3.x:73:5
    
    if( o->op_tree )
    {
        BLM_TRY(x_btcl_operator_f3_a_setup(o->op_tree))
        BLM_TRY(x_btcl_operator_f3_a_set_args(o->op_tree,&(o->arg_arr )))
        BLM_TRY(x_btcl_operator_f3_a_check_consistency(o->op_tree))
    }
    return  0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x28(%rdi), %rbx
testq %rbx, %rbx
je 0xa531e
movq %rdi, %r14
movq (%rbx), %r15
leaq 0x1027be(%rip), %r13    # 0x1a78a8
movl 0x1027b8(%rip), %eax    # 0x1a78a8
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0xa5147
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0xa5147
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0xa5147
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0xa5332
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0xa5177
movabsq $0x37a58f457601baa0, %rdi # imm = 0x37A58F457601BAA0
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r12
leaq 0x10273c(%rip), %rdi    # 0x1a78a8
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbx, %rdi
callq *0x10(%r12)
movq %rax, %rbx
testq %rax, %rax
je 0xa519b
leaq 0x103c42(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
jmp 0xa5320
movq 0x28(%r14), %r15
movq (%r15), %r12
movl 0x102700(%rip), %eax    # 0x1a78a8
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xa51ff
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xa51ff
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xa51ff
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xa533a
movq (%rax,%rcx), %r13
leaq 0x8(%r14), %rbp
testq %r13, %r13
jne 0xa5233
movabsq $0x37a58f457601baa0, %rdi # imm = 0x37A58F457601BAA0
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x102680(%rip), %rdi    # 0x1a78a8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r15, %rdi
movq %rbp, %rsi
callq *0x20(%r13)
movq %rax, %r15
testq %rax, %rax
je 0xa5257
leaq 0x103b84(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %r15, %rbx
testq %r15, %r15
leaq 0x102647(%rip), %rdx    # 0x1a78a8
jne 0xa5320
movq 0x28(%r14), %r14
movq (%r14), %r15
movl 0x102634(%rip), %eax    # 0x1a78a8
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0xa52c7
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0xa52c7
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0xa52c7
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0xa5342
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0xa52f7
movabsq $0x37a58f457601baa0, %rdi # imm = 0x37A58F457601BAA0
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r12
leaq 0x1025bc(%rip), %rdi    # 0x1a78a8
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
callq *0x28(%r12)
movq %rax, %r14
testq %rax, %rax
je 0xa5319
leaq 0x103ac2(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %r14, %rbx
testq %r14, %r14
jne 0xa5320
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0xa514b
xorl %r13d, %r13d
jmp 0xa5203
xorl %r12d, %r12d
jmp 0xa52cb