// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_readjoiner_graph.c
// Function: gt_readjoiner_graph_show_subgraph
static int gt_readjoiner_graph_show_subgraph(GtStrgraph *strgraph,
    GtStrArray *subgraph, GtStrArray *subgraph_other,
    GtUword subgraph_depth, bool subgraph_mono, bool subgraph_extend,
    const char *readsetname, GtLogger *default_logger, GtTimer *timer,
    GtError *err)
{
  int had_err = 0;
  GtUword i, *rlist, rlistsize = gt_str_array_size(subgraph),
                *olist = NULL, olistsize = gt_str_array_size(subgraph_other);
  const char *num;
  gt_assert(rlistsize > 0);
  if (gt_showtime_enabled())
    gt_timer_show_progress(timer, GT_READJOINER_GRAPH_MSG_SDOTSG, stdout);
  gt_logger_log(default_logger, GT_READJOINER_GRAPH_MSG_SDOTSG);
  rlist = gt_malloc(sizeof (*rlist) * rlistsize);
  for (i = 0; i < rlistsize && !had_err; i++)
  {
    num = gt_str_array_get(subgraph, i);
    if (sscanf(num, ""GT_WU"", rlist + i) != 1)
    {
      gt_error_set(err, GT_READJOINER_GRAPH_ERR_SUBGRAPH);
      had_err = -1;
    }
  }
  if (olistsize > 0)
  {
    olist = gt_malloc(sizeof (*olist) * olistsize);
    for (i = 0; i < olistsize && !had_err; i++)
    {
      num = gt_str_array_get(subgraph_other, i);
      if (sscanf(num, ""GT_WU"", olist + i) != 1)
      {
        gt_error_set(err, GT_READJOINER_GRAPH_ERR_SOTHER);
        had_err = -1;
      }
    }
  }
  if (!had_err)
    had_err = gt_strgraph_show_context(strgraph, subgraph_mono ?
        GT_STRGRAPH_DOT : GT_STRGRAPH_DOT_BI, readsetname,
        GT_READJOINER_SUFFIX_SG_SUB_DOT, rlist, rlistsize,
        olist, olistsize, subgraph_depth == 0 ? ULONG_MAX : subgraph_depth,
        subgraph_extend, err);
  gt_free(rlist);
  gt_free(olist);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r9d, %ebx
movl %r8d, 0x1c(%rsp)
movq %rcx, %rbp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq %rsi, %rdi
callq 0x11c131
movq %rax, %r15
movq %r12, %rdi
callq 0x11c131
testq %r15, %r15
je 0xb977e
movq %rbp, 0x28(%rsp)
movq %r14, 0x30(%rsp)
movl %ebx, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movq 0x78(%rsp), %r14
callq 0x119160
testb %al, %al
je 0xb958d
movq 0x80(%rsp), %rdi
movq 0x3ff95a(%rip), %rax    # 0x4b8ed8
movq (%rax), %rdx
leaq 0x29a9a4(%rip), %rsi    # 0x353f2c
callq 0x11cc90
leaq 0x29a998(%rip), %rsi    # 0x353f2c
movq %r14, %rdi
xorl %eax, %eax
callq 0x103fe1
leaq (,%r15,8), %rdi
leaq 0x29a2c3(%rip), %rsi    # 0x353870
movl $0x187, %edx            # imm = 0x187
callq 0x104226
movq %rax, %r14
movl $0x1, %ebx
leaq 0x3029f6(%rip), %rbp    # 0x3bbfbc
movq %rax, 0x8(%rsp)
leaq -0x1(%rbx), %rsi
movq %r13, %rdi
callq 0x11bfb3
movq %rax, %rdi
movq %rbp, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x177f0
cmpl $0x1, %eax
jne 0xb967a
cmpq %r15, %rbx
jae 0xb9601
incq %rbx
addq $0x8, %r14
cmpl $0x1, %eax
je 0xb95cb
movq 0x20(%rsp), %rbx
testq %rbx, %rbx
je 0xb96c4
leaq (,%rbx,8), %rdi
leaq 0x29a252(%rip), %rsi    # 0x353870
movl $0x193, %edx            # imm = 0x193
callq 0x104226
movq %rax, %r14
movl $0x1, %r13d
leaq 0x302984(%rip), %rbp    # 0x3bbfbc
movq %rax, 0x10(%rsp)
leaq -0x1(%r13), %rsi
movq %r12, %rdi
callq 0x11bfb3
movq %rax, %rdi
movq %rbp, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x177f0
cmpl $0x1, %eax
jne 0xb9721
cmpq %rbx, %r13
jae 0xb9673
incq %r13
addq $0x8, %r14
cmpl $0x1, %eax
je 0xb963d
movq 0x10(%rsp), %r12
jmp 0xb96c7
leaq 0x29a8d8(%rip), %rsi    # 0x353f59
xorl %r12d, %r12d
movq 0x88(%rsp), %rdi
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xb96ba
shlq $0x3, %rdi
leaq 0x29a1c3(%rip), %rsi    # 0x353870
movl $0x193, %edx            # imm = 0x193
callq 0x104226
movq %rax, %r12
movq 0x8(%rsp), %r14
jmp 0xb9746
xorl %r12d, %r12d
movl 0x1c(%rsp), %eax
xorb $0x1, %al
movzbl %al, %esi
xorl %eax, %eax
movq 0x28(%rsp), %rcx
cmpq $0x1, %rcx
sbbq %rax, %rax
orq %rcx, %rax
subq $0x8, %rsp
movzbl 0x20(%rsp), %r10d
leaq 0x299ca7(%rip), %rcx    # 0x353399
movq 0x38(%rsp), %rdi
movq 0x78(%rsp), %rdx
movq 0x10(%rsp), %r14
movq %r14, %r8
movq %r15, %r9
pushq 0x90(%rsp)
pushq %r10
pushq %rax
pushq %rbx
pushq %r12
callq 0x1d6ee0
addq $0x30, %rsp
movl %eax, %ebp
jmp 0xb9746
leaq 0x29a865(%rip), %rsi    # 0x353f8d
movq 0x88(%rsp), %rdi
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0x8(%rsp), %r14
movq 0x10(%rsp), %r12
leaq 0x29a123(%rip), %rbx    # 0x353870
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1a4, %edx            # imm = 0x1A4
callq 0x1045eb
movq %r12, %rdi
movq %rbx, %rsi
movl $0x1a5, %edx            # imm = 0x1A5
callq 0x1045eb
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1dc39
nop