// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Overlaps.cpp
// Function: dbg_spec_edge(asg_t*, unsigned int, unsigned int)
void dbg_spec_edge(asg_t *g, uint32_t s, uint32_t e)
{
    asg_arc_t *av; uint32_t an, k, v, w;

    if(s >= g->n_seq) return;

    v = s<<1;
    av = asg_arc_a(g, v); an = asg_arc_n(g, v);
    for (k = 0; k < an; k++) {
        if(av[k].del) continue;
        if((av[k].v>>1) == e) {
            w = av[k].v;
            fprintf(stderr, "[M::%s]\tL\tutg%.6dl\t%c\tutg%.6dl\t%c\t%dM\tL1:i:%d\tL2:i:%u\n", __func__,
            (v>>1)+1, "+-"[v&1], (w>>1)+1, "+-"[w&1], av[k].ol, asg_arc_len(av[k]), 0/**au[j].ou**/);
        }
    }

    v = (s<<1)+1;
    av = asg_arc_a(g, v); an = asg_arc_n(g, v);
    for (k = 0; k < an; k++) {
        if(av[k].del) continue;
        if((av[k].v>>1) == e) {
            w = av[k].v;
            fprintf(stderr, "[M::%s]\tL\tutg%.6dl\t%c\tutg%.6dl\t%c\t%dM\tL1:i:%d\tL2:i:%u\n", __func__,
            (v>>1)+1, "+-"[v&1], (w>>1)+1, "+-"[w&1], av[k].ol, asg_arc_len(av[k]), 0/**au[j].ou**/);
        }
    }
    
}

// Assembly:
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl 0x14(%rdi), %eax
cmpl %esi, %eax
jbe 0xb2614
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movl %esi, %r8d
movq %rdi, %r15
leal (%r8,%r8), %edx
movq 0x8(%rdi), %rax
movq 0x28(%rdi), %rcx
movq %rdx, 0x10(%rsp)
movq (%rcx,%rdx,8), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
incl %r8d
leal 0x1(%rbx), %esi
movl %esi, 0x4(%rsp)
imulq $0x18, %rdx, %r12
imulq $0x18, %rcx, %rcx
leaq (%rcx,%rax), %rbp
addq $0xc, %rbp
xorl %r13d, %r13d
movq %r8, 0x8(%rsp)
cmpq %r13, %r12
je 0xb2566
movl (%rbp,%r13), %r10d
testl %r10d, %r10d
js 0xb250e
movl -0x4(%rbp,%r13), %eax
movl %eax, %ecx
shrl %ecx
cmpl %ebx, %ecx
je 0xb2514
addq $0x18, %r13
jmp 0xb24f2
movq 0x1a0ac5(%rip), %rcx    # 0x252fe0
movq (%rcx), %rdi
andl $0x1, %eax
leaq 0x131cfb(%rip), %rcx    # 0x1e4223
movsbl (%rax,%rcx), %r11d
movl -0xc(%rbp,%r13), %r14d
leaq 0x1381ef(%rip), %rsi    # 0x1ea728
leaq 0x13821f(%rip), %rdx    # 0x1ea75f
movl %r8d, %ecx
pushq $0x2b
popq %r8
movl 0x4(%rsp), %r9d
xorl %eax, %eax
pushq $0x0
pushq %r14
pushq %r10
pushq %r11
callq 0x22b0
movq 0x28(%rsp), %r8
addq $0x20, %rsp
jmp 0xb250e
movq 0x8(%r15), %rax
movq 0x28(%r15), %rcx
movl 0x10(%rsp), %edx
movq 0x8(%rcx,%rdx,8), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
imulq $0x18, %rdx, %rbp
imulq $0x18, %rcx, %rcx
leaq (%rcx,%rax), %r15
addq $0xc, %r15
pushq $0x2d
popq %r13
xorl %r12d, %r12d
cmpq %r12, %rbp
je 0xb2606
movl (%r15,%r12), %r10d
testl %r10d, %r10d
js 0xb25af
movl -0x4(%r15,%r12), %eax
movl %eax, %ecx
shrl %ecx
cmpl %ebx, %ecx
je 0xb25b5
addq $0x18, %r12
jmp 0xb2594
movq 0x1a0a24(%rip), %rcx    # 0x252fe0
movq (%rcx), %rdi
andl $0x1, %eax
leaq 0x131c5a(%rip), %rcx    # 0x1e4223
movsbl (%rax,%rcx), %r11d
movl -0xc(%r15,%r12), %r14d
leaq 0x13814e(%rip), %rsi    # 0x1ea728
leaq 0x13817e(%rip), %rdx    # 0x1ea75f
movl %r8d, %ecx
movl %r13d, %r8d
movl 0x4(%rsp), %r9d
xorl %eax, %eax
pushq $0x0
pushq %r14
pushq %r10
pushq %r11
callq 0x22b0
movq 0x28(%rsp), %r8
addq $0x20, %rsp
jmp 0xb25af
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq