// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-strgraph.c
// Function: gt_strgraph_dot_bi_show
static void gt_strgraph_dot_bi_show(const GtStrgraph *strgraph, GtFile *outfp,
    bool show_progressbar)
{
  GtUword sn1, sn2;
  GtStrgraphVnum i;
  GtStrgraphVEdgenum j;
  bool is_e1, is_e2;
  GtUint64 progress = 0;

  gt_assert(strgraph != NULL);

  if (show_progressbar)
    gt_progressbar_start(&progress,
        (GtUint64)GT_STRGRAPH_NOFVERTICES(strgraph));

  gt_file_xprintf(outfp, GT_STRGRAPH_DOT_BI_HEADER);
  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))
        {
          sn2 = GT_STRGRAPH_V_READNUM(GT_STRGRAPH_EDGE_DEST(strgraph, i, j));
          is_e2 = GT_STRGRAPH_V_IS_E(GT_STRGRAPH_EDGE_DEST(strgraph, i, j));
          if (is_e1 && is_e2) {
            gt_strgraph_dot_bi_show_edge(outfp, sn1, false, sn2, true);
          }
          else if ((is_e1 && !is_e2) && (sn1 < sn2)) {
            gt_strgraph_dot_bi_show_edge(outfp, sn1, false, sn2, false);
          }
          else if ((!is_e1 && is_e2) && (sn1 > sn2)) {
            gt_strgraph_dot_bi_show_edge(outfp, sn1, true, sn2, true);
          }
          /* other E->B / B->E cases, as well as all B-B
             are not considered to avoid double output */
        }
      }
    }
    if (show_progressbar)
      progress++;
  }
  gt_file_xprintf(outfp, GT_STRGRAPH_DOT_FOOTER);

  if (show_progressbar)
    gt_progressbar_stop();
}

// Assembly:
subq $0xa8, %rsp
movb %dl, %al
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
andb $0x1, %al
movb %al, 0x97(%rsp)
movq $0x0, 0x60(%rsp)
cmpq $0x0, 0xa0(%rsp)
jne 0x2985ae
movq 0x3a3a23(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x27da8c(%rip), %rsi    # 0x516013
leaq 0x2e9b76(%rip), %rdx    # 0x582104
leaq 0x2eace3(%rip), %rcx    # 0x583278
leaq 0x2e9aa4(%rip), %r8     # 0x582040
movl $0x5c6, %r9d            # imm = 0x5C6
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2985b0
testb $0x1, 0x97(%rsp)
je 0x2985d3
movq 0xa0(%rsp), %rax
movq 0x80(%rax), %rsi
leaq 0x60(%rsp), %rdi
callq 0xf9830
movq 0x98(%rsp), %rdi
leaq 0x2ea496(%rip), %rsi    # 0x582a78
movb $0x0, %al
callq 0xddca0
movq $0x0, 0x78(%rsp)
movq 0x78(%rsp), %rax
movq 0xa0(%rsp), %rcx
cmpq 0x80(%rcx), %rax
jae 0x2989e8
movq 0xa0(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0x78(%rsp), %rsi
callq 0x290730
cmpq $0x0, %rax
jbe 0x2989bb
movq 0x78(%rsp), %rax
shrq %rax
movq %rax, 0x88(%rsp)
movq 0x78(%rsp), %rax
andq $0x1, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movb %al, 0x6f(%rsp)
movq $0x0, 0x70(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0xa0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x78(%rsp), %rsi
addq $0x1, %rsi
callq 0x290730
movq %rax, 0x50(%rsp)
movq 0xa0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x78(%rsp), %rsi
callq 0x290730
movq 0x50(%rsp), %rcx
movq %rax, %rdx
movq 0x58(%rsp), %rax
subq %rdx, %rcx
cmpq %rcx, %rax
jae 0x2989b9
movq 0xa0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0xa0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x78(%rsp), %rsi
callq 0x290730
movq 0x40(%rsp), %rdi
movq %rax, %rsi
addq 0x70(%rsp), %rsi
callq 0x290730
movq %rax, 0x48(%rsp)
movq 0xa0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0x48(%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 0xa0(%rsp), %rcx
cmpq 0x90(%rcx), %rax
jne 0x298743
movb $0x1, %al
testb $0x1, %al
jne 0x2989a4
jmp 0x29874f
xorl %eax, %eax
testb $0x1, %al
jne 0x2989a4
jmp 0x29874f
movq 0xa0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, (%rsp)
movq 0xa0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x78(%rsp), %rsi
callq 0x290730
movq (%rsp), %rdi
movq %rax, %rsi
addq 0x70(%rsp), %rsi
callq 0x290730
movq %rax, 0x10(%rsp)
movq 0xa0(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0xc(%rsp)
movq 0xa0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl 0xc(%rsp), %edx
movl %eax, %ecx
movq 0x10(%rsp), %rax
addl $0x1, %ecx
shll %cl, %edx
movl %edx, %ecx
movslq %ecx, %rcx
andq %rcx, %rax
movq %rax, 0x18(%rsp)
movq 0xa0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0x18(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shrq %cl, %rax
shrq %rax
movq %rax, 0x80(%rsp)
movq 0xa0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0xa0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x78(%rsp), %rsi
callq 0x290730
movq 0x20(%rsp), %rdi
movq %rax, %rsi
addq 0x70(%rsp), %rsi
callq 0x290730
movq %rax, 0x30(%rsp)
movq 0xa0(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0x2c(%rsp)
movq 0xa0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl 0x2c(%rsp), %edx
movl %eax, %ecx
movq 0x30(%rsp), %rax
addl $0x1, %ecx
shll %cl, %edx
movl %edx, %ecx
movslq %ecx, %rcx
andq %rcx, %rax
movq %rax, 0x38(%rsp)
movq 0xa0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0x38(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shrq %cl, %rax
andq $0x1, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movb %al, 0x6e(%rsp)
testb $0x1, 0x6f(%rsp)
je 0x298913
testb $0x1, 0x6e(%rsp)
je 0x298913
movq 0x98(%rsp), %rdi
movq 0x88(%rsp), %rsi
movq 0x80(%rsp), %rcx
xorl %edx, %edx
movl $0x1, %r8d
callq 0x29e450
jmp 0x2989a2
testb $0x1, 0x6f(%rsp)
je 0x298958
testb $0x1, 0x6e(%rsp)
jne 0x298958
movq 0x88(%rsp), %rax
cmpq 0x80(%rsp), %rax
jae 0x298958
movq 0x98(%rsp), %rdi
movq 0x88(%rsp), %rsi
movq 0x80(%rsp), %rcx
xorl %r8d, %r8d
movl %r8d, %edx
callq 0x29e450
jmp 0x2989a0
testb $0x1, 0x6f(%rsp)
jne 0x29899e
testb $0x1, 0x6e(%rsp)
je 0x29899e
movq 0x88(%rsp), %rax
cmpq 0x80(%rsp), %rax
jbe 0x29899e
movq 0x98(%rsp), %rdi
movq 0x88(%rsp), %rsi
movq 0x80(%rsp), %rcx
movl $0x1, %r8d
movl %r8d, %edx
callq 0x29e450
jmp 0x2989a0
jmp 0x2989a2
jmp 0x2989a4
jmp 0x2989a6
movq 0x70(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x70(%rsp)
jmp 0x29865b
jmp 0x2989bb
testb $0x1, 0x97(%rsp)
je 0x2989d3
movq 0x60(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x60(%rsp)
jmp 0x2989d5
movq 0x78(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x78(%rsp)
jmp 0x2985f2
movq 0x98(%rsp), %rdi
leaq 0x2ec2b9(%rip), %rsi    # 0x584cb0
movb $0x0, %al
callq 0xddca0
testb $0x1, 0x97(%rsp)
je 0x298a0d
callq 0xfa220
addq $0xa8, %rsp
retq
nopw %cs:(%rax,%rax)