// File: /workspace/github_cpp_makefile_star2_O3/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, std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, std::map<unsigned long, bool, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, 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, std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, std::map<unsigned long, bool, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, 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 $0x48, %rsp
movq %rcx, %rbx
movq %rdx, %r13
movq %rdi, %r14
movabsq $-0x8000000000000000, %r12 # imm = 0x8000000000000000
movq %rsi, 0x38(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x30(%rsp)
movslq 0x28(%rdx), %rcx
leal 0x3f(%rcx), %eax
testq %rcx, %rcx
cmovnsl %ecx, %eax
sarl $0x6, %eax
cltq
shlq $0x3, %rax
addq (%rbx), %rax
leaq 0x28(%rdx), %r15
leaq 0x3f(%r12), %rdx
andq %rcx, %rdx
xorl %esi, %esi
cmpq %r12, %rdx
setbe %sil
movl $0x1, %edx
shlq %cl, %rdx
orq %rdx, -0x8(%rax,%rsi,8)
leaq 0x40(%rdi), %rbp
leaq 0x2977a(%rip), %rsi     # 0x5c0c6
movq %rbp, %rdi
callq 0x90e0
testl %eax, %eax
je 0x32a4e
movq %r15, 0x28(%rsp)
leaq 0x29928(%rip), %rsi     # 0x5c290
movq %rbp, %rdi
callq 0x90e0
movl %eax, %r15d
movq 0x30(%r14), %rdi
addq $0x20, %rdi
leaq 0x40(%rsp), %rsi
callq 0x2f808
movq %rax, %rbp
testl %r15d, %r15d
je 0x32b31
movq (%rbp), %r15
addq $0x10, %r15
movq 0x38(%r14), %rdi
addq $0x20, %rdi
leaq 0x30(%rsp), %rsi
callq 0x2f808
movq (%rax), %rsi
addq $0x10, %rsi
leaq 0x70(%r14), %rdx
movq %r15, %rdi
callq 0x45d8a
movsd %xmm0, 0x20(%rsp)
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
movq 0x38(%rsp), %rsi
jne 0x329d9
jnp 0x32bfe
leaq 0x80(%rsp), %rax
movq (%rax), %rbp
cmpb $0x0, 0x68(%rbp)
je 0x32c8a
movq 0x8(%rax), %rax
leaq 0x28(%rsi), %r13
movq 0x10(%rax), %rcx
testq %rcx, %rcx
movq 0x28(%rsp), %r8
je 0x32be4
leaq 0x80(%rsp), %rdx
movq 0x10(%rdx), %rdx
movslq 0x28(%rsi), %rsi
movq (%rdx), %rdx
leaq (%rsi,%rsi,2), %rsi
movslq (%r8), %rdi
movq (%rdx,%rsi,8), %rdx
movslq (%rdx,%rdi,4), %rdx
addq $0x8, %rax
movq %rax, %rsi
xorl %edi, %edi
cmpq %rdx, 0x20(%rcx)
setb %dil
cmovaeq %rcx, %rsi
movq 0x10(%rcx,%rdi,8), %rcx
testq %rcx, %rcx
jne 0x32a31
jmp 0x32bd5
movq 0x30(%r14), %rdi
addq $0x20, %rdi
leaq 0x40(%rsp), %rsi
callq 0x2f808
movq %rax, %rbp
movq 0x38(%r14), %rdi
addq $0x20, %rdi
leaq 0x30(%rsp), %rsi
callq 0x2f808
movsd 0x60(%r14), %xmm0
movq %rbp, %rdi
movq %rax, %rsi
callq 0x45ba8
movsd %xmm0, 0x20(%rsp)
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
movq 0x38(%rsp), %rsi
jne 0x32aa1
jnp 0x32bfe
leaq 0x80(%rsp), %rax
movq (%rax), %rbp
cmpb $0x0, 0x68(%rbp)
je 0x32cba
movq 0x8(%rax), %rax
leaq 0x28(%rsi), %r13
movq 0x10(%rax), %rcx
testq %rcx, %rcx
je 0x32b17
leaq 0x80(%rsp), %rdx
movq 0x10(%rdx), %rdx
movslq 0x28(%rsi), %rsi
movq (%rdx), %rdx
leaq (%rsi,%rsi,2), %rsi
movslq (%r15), %rdi
movq (%rdx,%rsi,8), %rdx
movslq (%rdx,%rdi,4), %rdx
addq $0x8, %rax
movq %rax, %rsi
xorl %edi, %edi
cmpq %rdx, 0x20(%rcx)
setb %dil
cmovaeq %rcx, %rsi
movq 0x10(%rcx,%rdi,8), %rcx
testq %rcx, %rcx
jne 0x32af0
cmpq %rax, %rsi
je 0x32b17
cmpq %rdx, 0x20(%rsi)
jbe 0x32d3a
addq $0xa0, %rbp
leaq 0x20(%rsp), %rcx
movq %rbp, %rdi
movq %r13, %rsi
movq %r15, %rdx
jmp 0x32bf9
movq 0x38(%r14), %rdi
addq $0x20, %rdi
leaq 0x30(%rsp), %rsi
callq 0x2f808
movq %rbp, %rdi
movq %rax, %rsi
callq 0x45cbb
movsd %xmm0, 0x20(%rsp)
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
movq 0x38(%rsp), %rsi
jne 0x32b69
jnp 0x32bfe
leaq 0x80(%rsp), %rax
movq (%rax), %rbp
cmpb $0x0, 0x68(%rbp)
je 0x32cea
movq 0x8(%rax), %rax
leaq 0x28(%rsi), %r13
movq 0x10(%rax), %rcx
testq %rcx, %rcx
movq 0x28(%rsp), %r8
je 0x32be4
leaq 0x80(%rsp), %rdx
movq 0x10(%rdx), %rdx
movslq 0x28(%rsi), %rsi
movq (%rdx), %rdx
leaq (%rsi,%rsi,2), %rsi
movslq (%r8), %rdi
movq (%rdx,%rsi,8), %rdx
movslq (%rdx,%rdi,4), %rdx
addq $0x8, %rax
movq %rax, %rsi
xorl %edi, %edi
cmpq %rdx, 0x20(%rcx)
setb %dil
cmovaeq %rcx, %rsi
movq 0x10(%rcx,%rdi,8), %rcx
testq %rcx, %rcx
jne 0x32bbd
cmpq %rax, %rsi
je 0x32be4
cmpq %rdx, 0x20(%rsi)
jbe 0x32d1a
addq $0xa0, %rbp
leaq 0x20(%rsp), %rcx
movq %rbp, %rdi
movq %r13, %rsi
movq %r8, %rdx
callq 0x33342
movq 0x30(%rsp), %rax
movq (%rax), %r15
testq %r15, %r15
leaq 0x80(%rsp), %rbp
je 0x32c7b
leaq 0x3f(%r12), %r13
movq (%r15), %rdx
movslq 0x28(%rdx), %rax
leal 0x3f(%rax), %ecx
testq %rax, %rax
cmovnsl %eax, %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq (%rbx), %rcx
movq %rax, %rsi
andq %r13, %rsi
xorl %edi, %edi
cmpq %r12, %rsi
setbe %dil
movq -0x8(%rcx,%rdi,8), %rcx
btq %rax, %rcx
jb 0x32c72
movq 0x40(%rsp), %rsi
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movupd (%rbp), %xmm0
movupd %xmm0, (%rsp)
movq %r14, %rdi
movq %rbx, %rcx
callq 0x328d6
movq 0x8(%r15), %r15
testq %r15, %r15
jne 0x32c18
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x30(%rsi)
je 0x32bfe
cmpq $0x0, (%rsi)
je 0x32bfe
cmpq $0x0, 0x30(%r13)
je 0x32bfe
cmpq $0x0, (%r13)
jne 0x329ee
jmp 0x32bfe
cmpq $0x0, 0x30(%rsi)
je 0x32bfe
cmpq $0x0, (%rsi)
je 0x32bfe
cmpq $0x0, 0x30(%r13)
je 0x32bfe
cmpq $0x0, (%r13)
jne 0x32ab6
jmp 0x32bfe
cmpq $0x0, 0x30(%rsi)
je 0x32bfe
cmpq $0x0, (%rsi)
je 0x32bfe
cmpq $0x0, 0x30(%r13)
je 0x32bfe
cmpq $0x0, (%r13)
jne 0x32b7e
jmp 0x32bfe
cmpb $0x1, 0x28(%rsi)
jne 0x32bfe
leaq 0xb8(%rbp), %rdi
leaq 0x20(%rsp), %rcx
movq %r13, %rsi
movq 0x28(%rsp), %r15
jmp 0x32d53
cmpb $0x1, 0x28(%rsi)
jne 0x32bfe
leaq 0xb8(%rbp), %rdi
leaq 0x20(%rsp), %rcx
movq %r13, %rsi
movq %r15, %rdx
callq 0x33342
leaq 0x20(%rsp), %rax
movsd (%rax), %xmm0
movslq (%r13), %rax
movq 0x88(%rbp), %rcx
leaq (%rax,%rax,2), %rax
movslq (%r15), %rdx
movq (%rcx,%rax,8), %rax
movsd %xmm0, (%rax,%rdx,8)
jmp 0x32bfe