// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Overlaps.cpp
// Function: debug_info_of_specfic_node(char const*, asg_t*, R_to_U*, char const*)
void debug_info_of_specfic_node(const char* name, asg_t *g, R_to_U* ruIndex, const char* command)
{
    fprintf(stderr, "\n\n\n");
    uint32_t v, n_vtx = g->n_seq * 2, queryLen = strlen(name), flag = 0, contain_rId, is_Unitig;
    for (v = 0; v < n_vtx; ++v) 
    {
        if(queryLen == Get_NAME_LENGTH(R_INF, (v>>1)) && memcmp(name, Get_NAME(R_INF, (v>>1)), Get_NAME_LENGTH(R_INF, (v>>1))) == 0)
        {
            if(flag == 0) fprintf(stderr, "\nafter %s\n", command);
            fprintf(stderr, "****************graph ref_read: %.*s, id: %u, dir: %u****************\n", 
            (int)Get_NAME_LENGTH(R_INF, (v>>1)), Get_NAME(R_INF, (v>>1)), v>>1, v&1);
            if(g->seq[v>>1].del)
            {
                get_R_to_U(ruIndex, (v>>1), &contain_rId, &is_Unitig);
                if(contain_rId != (uint32_t)-1 && is_Unitig != 1)
                {
                    fprintf(stderr, "read is deleted as a contained read by: %.*s\n contain_rId: %u, del: %u\n", 
                    (int)Get_NAME_LENGTH(R_INF, contain_rId), Get_NAME(R_INF, contain_rId), contain_rId, g->seq[contain_rId].del);
                }
                else
                {
                    fprintf(stderr, "read has already been deleted.\n");
                }
                
                return;
            }

            asg_arc_t *av = asg_arc_a(g, v);
            uint32_t i, nv = asg_arc_n(g, v);
            for (i = 0; i < nv; ++i)
            {
                fprintf(stderr, "target: %.*s, el: %u, strong: %u, ol: %u, del: %u\n", 
                (int)Get_NAME_LENGTH(R_INF, (av[i].v>>1)), 
                Get_NAME(R_INF, (av[i].v>>1)),
                av[i].el, av[i].strong, av[i].ol, av[i].del);
            }
            flag = 1;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, 0x28(%rsp)
movq %rdx, 0x18(%rsp)
movq %rsi, %r14
movq %rdi, 0x10(%rsp)
movq 0x28e95a(%rip), %rax    # 0x294fe0
movq (%rax), %rcx
leaq 0x22f96a(%rip), %rdi    # 0x235ffa
pushq $0x3
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
movl 0x14(%r14), %ebx
addl %ebx, %ebx
je 0x685f
movq 0x10(%rsp), %rdi
callq 0x2090
movl %eax, %edx
movl %ebx, %eax
movq %rax, 0x30(%rsp)
leaq 0x28fb6f(%rip), %rsi    # 0x296230
leaq 0x22f9e5(%rip), %r13    # 0x2360ad
xorl %r15d, %r15d
movl $0x0, 0x4(%rsp)
movq %r14, 0x20(%rsp)
movq %rdx, 0x8(%rsp)
movq 0x40(%rsi), %rax
movl %r15d, %ebx
shrl %ebx
movq (%rax,%rbx,8), %r12
movq 0x8(%rax,%rbx,8), %rbp
subq %r12, %rbp
cmpq %rbp, %rdx
jne 0x6719
movq 0x8(%rsi), %r14
leaq (%r14,%r12), %rsi
movq 0x10(%rsp), %rdi
callq 0x21a0
testl %eax, %eax
je 0x6728
leaq 0x28fb1c(%rip), %rsi    # 0x296230
movq 0x8(%rsp), %rdx
incq %r15
cmpq 0x30(%rsp), %r15
jne 0x66dd
jmp 0x685f
cmpl $0x0, 0x4(%rsp)
movq 0x28e8ac(%rip), %rax    # 0x294fe0
jne 0x6771
leaq 0x1(%rbx), %r12
movq (%rax), %rdi
leaq 0x22ff15(%rip), %rsi    # 0x236659
movq 0x28(%rsp), %rdx
xorl %eax, %eax
callq 0x22b0
leaq 0x28fad9(%rip), %rax    # 0x296230
movq 0x8(%rax), %r14
movq 0x40(%rax), %rax
movq (%rax,%r12,8), %rbp
movq (%rax,%rbx,8), %r12
movq 0x28e872(%rip), %rax    # 0x294fe0
subq %r12, %rbp
addq %r12, %r14
movq (%rax), %rdi
movl %r15d, %r9d
andl $0x1, %r9d
leaq 0x22f879(%rip), %rsi    # 0x235ffe
movl %ebp, %edx
movq %r14, %rcx
movl %ebx, %r8d
xorl %eax, %eax
callq 0x22b0
movq 0x20(%rsp), %r14
movq 0x20(%r14), %rax
cmpl $0x0, (%rax,%rbx,8)
js 0x686e
movq 0x28(%r14), %rax
movq (%rax,%r15,8), %rax
pushq $0x1
popq %rcx
movl %ecx, 0x4(%rsp)
testl %eax, %eax
leaq 0x28fa71(%rip), %rsi    # 0x296230
movq 0x8(%rsp), %rdx
je 0x6719
movq 0x8(%r14), %rcx
movq %rax, %rdx
shrq $0x20, %rdx
movl %eax, %eax
imulq $0x18, %rdx, %rdx
leaq (%rcx,%rdx), %rbx
addq $0x12, %rbx
imulq $0x18, %rax, %r14
xorl %ebp, %ebp
movq 0x28e7f0(%rip), %r12    # 0x294fe0
movq (%r12), %rdi
movq 0x40(%rsi), %rax
movl -0xa(%rbx,%rbp), %ecx
shrl %ecx
movl 0x8(%rax,%rcx,8), %edx
movq (%rax,%rcx,8), %rcx
subl %ecx, %edx
addq 0x8(%rsi), %rcx
movl -0x6(%rbx,%rbp), %r10d
movzbl (%rbx,%rbp), %r8d
movl -0x2(%rbx,%rbp), %r9d
shrl $0xe, %r9d
andl $0x1, %r9d
movl %r10d, %r11d
andl $0x7fffffff, %r11d      # imm = 0x7FFFFFFF
shrl $0x1f, %r10d
movq %r13, %rsi
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0x22b0
leaq 0x28f9ea(%rip), %rsi    # 0x296230
addq $0x10, %rsp
addq $0x18, %rbp
cmpq %rbp, %r14
jne 0x67f0
pushq $0x1
popq %rax
movl %eax, 0x4(%rsp)
jmp 0x6714
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%rsp), %rcx
cmpq %rbx, (%rcx)
jbe 0x68cd
movq 0x8(%rcx), %rcx
movl (%rcx,%rbx,4), %r8d
testl %r8d, %r8d
js 0x68cd
movq 0x28e754(%rip), %rcx    # 0x294fe0
movq (%rcx), %rdi
leaq 0x28f99a(%rip), %rsi    # 0x296230
movq 0x40(%rsi), %rcx
movl 0x8(%rcx,%r8,8), %edx
movq (%rcx,%r8,8), %rcx
subl %ecx, %edx
addq 0x8(%rsi), %rcx
movl (%rax,%r8,8), %r9d
shrl $0x1f, %r9d
leaq 0x22f78d(%rip), %rsi    # 0x236045
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22b0
movq 0x28e70c(%rip), %rax    # 0x294fe0
movq (%rax), %rcx
leaq 0x22f7af(%rip), %rdi    # 0x23608d
pushq $0x1f
popq %rsi
pushq $0x1
popq %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2410