// File: /workspace/github_c_makefile_star2_O0/c-zhou[P]oatk/syncasm.c
// Function: scg_print_unitig_syncmer_list
void scg_print_unitig_syncmer_list(scg_t *g, FILE *fo)
{
    uint64_t i, j, n, m, *a;
    asmg_t *utg;
    syncmer_t *scm;
    uint64_t *hap_info;
    utg = g->utg_asmg;
    hap_info = g->scm_db->h;
    scm = scg_a_scm(g);
    for (i = 0, n = utg->n_vtx; i < n; ++i) {
        if (utg->vtx[i].del)
            continue;
        a = utg->vtx[i].a;
        m = utg->vtx[i].n;
        fprintf(fo, "u%lu syncmer list:", i);
        for (j = 0; j < m; ++j)
            fprintf(fo, " %lu%c[%u]", a[j]>>1, "+-"[a[j]&1], scm[a[j]>>1].cov);
        fprintf(fo, "\n");
        if (hap_info) {
            fprintf(fo, "u%lu syncmer hap list:", i);
            for (j = 0; j < m; ++j)
                fprintf(fo, " %u:%u%c[%u]", 
                        (uint32_t) (hap_info[a[j]>>1] >> 33), 
                        (uint32_t) (hap_info[a[j]>>1] >> 1), 
                        "+-"[hap_info[a[j]>>1] & 1],
                        scm[a[j]>>1].cov);
            fprintf(fo, "\n");
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x20(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq %rax, -0x48(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x28(%rbp), %rax
jae 0x750a
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
imulq $0x28, -0x18(%rbp), %rcx
addq %rcx, %rax
movl 0x20(%rax), %eax
shrl $0x1e, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x732e
jmp 0x74f9
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
imulq $0x28, -0x18(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
imulq $0x28, -0x18(%rbp), %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x265fd(%rip), %rsi     # 0x2d969
movb $0x0, %al
callq 0x2290
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x30(%rbp), %rax
jae 0x73f4
movq -0x10(%rbp), %rdi
movq -0x38(%rbp), %rax
movq -0x20(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq -0x38(%rbp), %rax
movq -0x20(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
andq $0x1, %rcx
leaq 0x26567(%rip), %rax     # 0x2d916
movsbl (%rax,%rcx), %ecx
movq -0x48(%rbp), %rax
movq -0x38(%rbp), %rsi
movq -0x20(%rbp), %r8
movq (%rsi,%r8,8), %rsi
shrq %rsi
shlq $0x5, %rsi
addq %rsi, %rax
movl 0x10(%rax), %r8d
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
leaq 0x2659d(%rip), %rsi     # 0x2d97c
movb $0x0, %al
callq 0x2290
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x737b
movq -0x10(%rbp), %rdi
leaq 0x2626f(%rip), %rsi     # 0x2d66e
movb $0x0, %al
callq 0x2290
cmpq $0x0, -0x50(%rbp)
je 0x74f7
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x26567(%rip), %rsi     # 0x2d987
movb $0x0, %al
callq 0x2290
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x30(%rbp), %rax
jae 0x74e5
movq -0x10(%rbp), %rdi
movq -0x50(%rbp), %rax
movq -0x38(%rbp), %rcx
movq -0x20(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
shrq %rcx
movq (%rax,%rcx,8), %rax
shrq $0x21, %rax
movl %eax, %edx
movq -0x50(%rbp), %rax
movq -0x38(%rbp), %rcx
movq -0x20(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
shrq %rcx
movq (%rax,%rcx,8), %rax
shrq %rax
movl %eax, %ecx
movq -0x50(%rbp), %rax
movq -0x38(%rbp), %rsi
movq -0x20(%rbp), %r8
movq (%rsi,%r8,8), %rsi
shrq %rsi
movq (%rax,%rsi,8), %rsi
andq $0x1, %rsi
leaq 0x2647a(%rip), %rax     # 0x2d916
movsbl (%rax,%rsi), %r8d
movq -0x48(%rbp), %rax
movq -0x38(%rbp), %rsi
movq -0x20(%rbp), %r9
movq (%rsi,%r9,8), %rsi
shrq %rsi
shlq $0x5, %rsi
addq %rsi, %rax
movl 0x10(%rax), %r9d
andl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
leaq 0x264d1(%rip), %rsi     # 0x2d99e
movb $0x0, %al
callq 0x2290
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x742f
movq -0x10(%rbp), %rdi
leaq 0x2617e(%rip), %rsi     # 0x2d66e
movb $0x0, %al
callq 0x2290
jmp 0x74f9
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0x72fd
addq $0x50, %rsp
popq %rbp
retq