// File: /workspace/github_cpp_makefile_star2_O1/canzarlab[P]Trajan/src/Solver.h
// Function: void Solver::DFSRight<Greedy::Greedy(Graph&, Graph&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, bool)::$_0>(newick_node*, newick_node*, std::vector<bool, std::allocator<bool>>&, Greedy::Greedy(Graph&, Graph&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, bool)::$_0)
void Solver::DFSRight(newick_node* nodel, newick_node* noder, vb& Q, F f)
{
    Q[noder->taxoni] = true;
    if (d == "j")
        f(nodel, noder, JaccardSim(t1.clade[nodel], t2.clade[noder], k));
    else if (d == "s")
        f(nodel, noder, SymdifSim(t1.clade[nodel], t2.clade[noder]));
    else
    	f(nodel, noder, EditDistance(*t1.clade[nodel].begin(), *t2.clade[noder].begin(), cost_matrix));

    for (newick_child* child = noder->child; child; child = child->next)
        if (!Q[child->node->taxoni])
            DFSRight(nodel, child->node, Q, f);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, 0x28(%rsp)
movq %r8, %r14
movq %rcx, %r15
movq %rdi, %r12
movq %rsi, 0x30(%rsp)
movq %rdx, 0x18(%rsp)
movslq 0x28(%rdx), %rcx
leaq 0x3f(%rcx), %rax
testq %rcx, %rcx
cmovnsq %rcx, %rax
sarq $0x6, %rax
shlq $0x3, %rax
addq (%r15), %rax
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
leaq 0x3f(%rbx), %rdx
andq %rcx, %rdx
xorl %esi, %esi
cmpq %rbx, %rdx
setbe %sil
movl $0x1, %edx
shlq %cl, %rdx
orq %rdx, -0x8(%rax,%rsi,8)
leaq 0x40(%rdi), %r13
leaq 0x2925e(%rip), %rsi     # 0x5c0c6
movq %r13, %rdi
callq 0x90e0
testl %eax, %eax
je 0x32ee6
leaq 0x29415(%rip), %rsi     # 0x5c290
movq %r13, %rdi
callq 0x90e0
movl %eax, %ebp
leaq 0x30(%rsp), %rsi
movq (%rsi), %rax
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x30(%r12), %rdi
addq $0x20, %rdi
callq 0x302c6
movq %rax, %r13
testl %ebp, %ebp
je 0x32f37
movq (%r13), %r13
addq $0x10, %r13
movq 0x38(%r12), %rdi
addq $0x20, %rdi
leaq 0x18(%rsp), %rsi
callq 0x302c6
movq (%rax), %rsi
addq $0x10, %rsi
leaq 0x70(%r12), %rdx
movq %r13, %rdi
callq 0x465de
jmp 0x32f55
leaq 0x30(%rsp), %rsi
movq (%rsi), %rax
movq %rax, 0x10(%rsp)
leaq 0x18(%rsp), %rbp
movq (%rbp), %rax
movq %rax, 0x8(%rsp)
movq 0x30(%r12), %rdi
addq $0x20, %rdi
callq 0x302c6
movq %rax, %r13
movq 0x38(%r12), %rdi
addq $0x20, %rdi
movq %rbp, %rsi
callq 0x302c6
movsd 0x60(%r12), %xmm0
movq %r13, %rdi
movq %rax, %rsi
callq 0x463fc
jmp 0x32f55
movq 0x38(%r12), %rdi
addq $0x20, %rdi
leaq 0x18(%rsp), %rsi
callq 0x302c6
movq %r13, %rdi
movq %rax, %rsi
callq 0x4650f
movsd %xmm0, 0x20(%rsp)
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x32f67
jnp 0x32fc5
cmpb $0x0, (%r14)
je 0x32f97
movq 0x28(%rsp), %rax
leaq 0xa0(%rax), %rdi
movq 0x10(%rsp), %rsi
addq $0x28, %rsi
movq 0x8(%rsp), %rdx
addq $0x28, %rdx
leaq 0x20(%rsp), %rcx
callq 0x33dc2
jmp 0x32fc5
movq 0x10(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0x32fc5
movq 0x10(%rsp), %rax
cmpq $0x0, (%rax)
je 0x32fc5
movq 0x8(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0x32fc5
movq 0x8(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x32f6d
movq 0x18(%rsp), %rax
movq (%rax), %r13
testq %r13, %r13
je 0x3302f
leaq 0x3f(%rbx), %rbp
movq (%r13), %rdx
movslq 0x28(%rdx), %rax
leaq 0x3f(%rax), %rcx
testq %rax, %rax
cmovnsq %rax, %rcx
sarq $0x6, %rcx
shlq $0x3, %rcx
addq (%r15), %rcx
movq %rax, %rsi
andq %rbp, %rsi
xorl %edi, %edi
cmpq %rbx, %rsi
setbe %dil
movq -0x8(%rcx,%rdi,8), %rcx
btq %rax, %rcx
jb 0x33026
movq 0x30(%rsp), %rsi
movq %r12, %rdi
movq %r15, %rcx
movq %r14, %r8
movq 0x28(%rsp), %r9
callq 0x32df6
movq 0x8(%r13), %r13
testq %r13, %r13
jne 0x32fd6
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq