// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-strgraph.c
// Function: gt_strgraph_spm_show
static void gt_strgraph_spm_show(const GtStrgraph *strgraph, GtFile *outfp)
{
  GtUword sn1, sn2;
  GtStrgraphVnum i, v2;
  GtStrgraphLength spm_len;
  GtStrgraphVEdgenum j;
  bool is_e1, is_e2;

  for (i = 0; i < GT_STRGRAPH_NOFVERTICES(strgraph); i++)
  {
    if (GT_STRGRAPH_V_OUTDEG(strgraph, i) > 0)
    {
      sn1 = GT_STRGRAPH_V_READNUM(i);
      is_e1 = GT_STRGRAPH_V_IS_E(i);
      for (j = 0; j < GT_STRGRAPH_V_NOFEDGES(strgraph, i); j++)
      {
        if (!GT_STRGRAPH_EDGE_IS_REDUCED(strgraph, i, j))
        {
          v2 = GT_STRGRAPH_EDGE_DEST(strgraph, i, j);
          sn2 = GT_STRGRAPH_V_READNUM(v2);
          spm_len = GT_STRGRAPH_SEQLEN(strgraph, sn2) -
            GT_STRGRAPH_EDGE_LEN(strgraph, i, j);
          is_e2 = GT_STRGRAPH_V_IS_E(v2);
          if ((is_e1 && is_e2) || (is_e1 && !is_e2 && (sn1 <= sn2)) ||
              (!is_e1 &&  is_e2 && (sn1 >= sn2)))
          {
            /* other E->B / B->E cases, as well as all B-B
               are not considered to avoid double output */
            gt_file_xprintf(outfp, GT_WU" %s " GT_WU " %s "
                            FormatGtStrgraphLength"\n", sn1, is_e1 ? "+" : "-",
                            sn2, is_e2 ? "+" : "-",
                PRINTGtStrgraphLengthcast(spm_len));
          }
        }
      }
    }
  }
}

// Assembly:
subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq $0x0, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq 0xb0(%rsp), %rcx
cmpq 0x80(%rcx), %rax
jae 0x299310
movq 0xb0(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0x90(%rsp), %rsi
callq 0x290730
cmpq $0x0, %rax
jbe 0x2992f5
movq 0x90(%rsp), %rax
shrq %rax
movq %rax, 0xa0(%rsp)
movq 0x90(%rsp), %rax
andq $0x1, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movb %al, 0x77(%rsp)
movq $0x0, 0x78(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x90(%rsp), %rsi
addq $0x1, %rsi
callq 0x290730
movq %rax, 0x60(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x90(%rsp), %rsi
callq 0x290730
movq 0x60(%rsp), %rcx
movq %rax, %rdx
movq 0x68(%rsp), %rax
subq %rdx, %rcx
cmpq %rcx, %rax
jae 0x2992f3
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x90(%rsp), %rsi
callq 0x290730
movq 0x50(%rsp), %rdi
movq %rax, %rsi
addq 0x78(%rsp), %rsi
callq 0x290730
movq %rax, 0x58(%rsp)
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0x58(%rsp), %rax
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
subl $0x1, %ecx
shll %ecx
movslq %ecx, %rcx
andq %rcx, %rax
shrq %rax
movq 0xb0(%rsp), %rcx
cmpq 0x90(%rcx), %rax
jne 0x299059
movb $0x1, %al
testb $0x1, %al
jne 0x2992de
jmp 0x299065
xorl %eax, %eax
testb $0x1, %al
jne 0x2992de
jmp 0x299065
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x30(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x90(%rsp), %rsi
callq 0x290730
movq 0x30(%rsp), %rdi
movq %rax, %rsi
addq 0x78(%rsp), %rsi
callq 0x290730
movq %rax, 0x40(%rsp)
movq 0xb0(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0x3c(%rsp)
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl 0x3c(%rsp), %edx
movl %eax, %ecx
movq 0x40(%rsp), %rax
addl $0x1, %ecx
shll %cl, %edx
movl %edx, %ecx
movslq %ecx, %rcx
andq %rcx, %rax
movq %rax, 0x48(%rsp)
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0x48(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shrq %cl, %rax
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rax
shrq %rax
movq %rax, 0x98(%rsp)
movq 0xb0(%rsp), %rax
cmpq $0x0, 0x8(%rax)
jbe 0x29915e
movq 0xb0(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
jmp 0x29917b
movq 0xb0(%rsp), %rax
movq (%rax), %rdi
movq 0x98(%rsp), %rsi
callq 0xb09f0
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x90(%rsp), %rsi
callq 0x290730
movq 0x10(%rsp), %rdi
movq %rax, %rsi
addq 0x78(%rsp), %rsi
callq 0x290730
movq %rax, 0x20(%rsp)
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0x18(%rsp), %rax
movl $0x1, %edx
shll %cl, %edx
movq 0x20(%rsp), %rcx
subl $0x1, %edx
shll %edx
movslq %edx, %rdx
andq %rdx, %rcx
shrq %rcx
subq %rcx, %rax
movq %rax, 0x80(%rsp)
movq 0x88(%rsp), %rax
andq $0x1, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movb %al, 0x76(%rsp)
testb $0x1, 0x77(%rsp)
je 0x299230
testb $0x1, 0x76(%rsp)
jne 0x299274
testb $0x1, 0x77(%rsp)
je 0x299250
testb $0x1, 0x76(%rsp)
jne 0x299250
movq 0xa0(%rsp), %rax
cmpq 0x98(%rsp), %rax
jbe 0x299274
testb $0x1, 0x77(%rsp)
jne 0x2992dc
testb $0x1, 0x76(%rsp)
je 0x2992dc
movq 0xa0(%rsp), %rax
cmpq 0x98(%rsp), %rax
jb 0x2992dc
movq 0xa8(%rsp), %rdi
movq 0xa0(%rsp), %rdx
movb 0x77(%rsp), %sil
leaq 0x302097(%rip), %rcx    # 0x59b327
leaq 0x2f9ee1(%rip), %rax    # 0x593178
testb $0x1, %sil
cmovneq %rax, %rcx
movq 0x98(%rsp), %r8
movb 0x76(%rsp), %sil
leaq 0x302074(%rip), %r9     # 0x59b327
leaq 0x2f9ebe(%rip), %rax    # 0x593178
testb $0x1, %sil
cmovneq %rax, %r9
movq 0x80(%rsp), %rax
leaq 0x2e82e5(%rip), %rsi    # 0x5815b6
movq %rax, (%rsp)
movb $0x0, %al
callq 0xddca0
jmp 0x2992de
jmp 0x2992e0
movq 0x78(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x78(%rsp)
jmp 0x298f68
jmp 0x2992f5
jmp 0x2992f7
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x298ef3
addq $0xb8, %rsp
retq
nopl (%rax,%rax)