// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/tyr-search.c
// Function: mermatchoutput
static void mermatchoutput(const Tyrindex *tyrindex,
                           const Tyrcountinfo *tyrcountinfo,
                           const Tyrsearchinfo *tyrsearchinfo,
                           const GtUchar *result,
                           const GtUchar *query,
                           const GtUchar *qptr,
                           uint64_t unitnum,
                           bool forward)
{
  bool firstitem = true;
  GtUword queryposition;

  queryposition = (GtUword) (qptr-query);
  if (tyrsearchinfo->showmode & SHOWQSEQNUM)
  {
    printf(Formatuint64_t,PRINTuint64_tcast(unitnum));
    firstitem = false;
  }
  if (tyrsearchinfo->showmode & SHOWQPOS)
  {
    ADDTABULATOR;
    printf("%c"GT_WU"",forward ? '+' : '-',queryposition);
  }
  if (tyrsearchinfo->showmode & SHOWCOUNTS)
  {
    GtUword mernumber = gt_tyrindex_ptr2number(tyrindex,result);
    ADDTABULATOR;
    printf(""GT_WU"",gt_tyrcountinfo_get(tyrcountinfo,mernumber));
  }
  if (tyrsearchinfo->showmode & SHOWSEQUENCE)
  {
    ADDTABULATOR;
    gt_alphabet_decode_seq_to_fp(tyrsearchinfo->dnaalpha,
                                 stdout,
                                 qptr,
                                 tyrsearchinfo->mersize);
  }
  if (tyrsearchinfo->showmode & (SHOWSEQUENCE | SHOWQPOS | SHOWCOUNTS))
  {
    (void) putchar('\n');
  }
}

// Assembly:
subq $0x48, %rsp
movb 0x58(%rsp), %al
movq 0x50(%rsp), %r10
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movq %r8, 0x20(%rsp)
movq %r9, 0x18(%rsp)
andb $0x1, %al
movb %al, 0x17(%rsp)
movb $0x1, 0x16(%rsp)
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movl 0x28(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x2f7e90
movq 0x50(%rsp), %rsi
leaq 0x297185(%rip), %rdi    # 0x58f009
movb $0x0, %al
callq 0x19070
movb $0x0, 0x16(%rsp)
movq 0x30(%rsp), %rax
movl 0x28(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x2f7edf
testb $0x1, 0x16(%rsp)
je 0x2f7eae
movb $0x0, 0x16(%rsp)
jmp 0x2f7eb8
movl $0x9, %edi
callq 0x19960
movb 0x17(%rsp), %cl
movl $0x2d, %esi
movl $0x2b, %eax
testb $0x1, %cl
cmovnel %eax, %esi
movq 0x8(%rsp), %rdx
leaq 0x297fe4(%rip), %rdi    # 0x58febc
movb $0x0, %al
callq 0x19070
movq 0x30(%rsp), %rax
movl 0x28(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x2f7f39
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x4e8180
movq %rax, (%rsp)
testb $0x1, 0x16(%rsp)
je 0x2f7f10
movb $0x0, 0x16(%rsp)
jmp 0x2f7f1a
movl $0x9, %edi
callq 0x19960
movq 0x38(%rsp), %rdi
movq (%rsp), %rsi
callq 0x4e8440
movq %rax, %rsi
leaq 0x2970d7(%rip), %rdi    # 0x58f009
movb $0x0, %al
callq 0x19070
movq 0x30(%rsp), %rax
movl 0x28(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x2f7f87
testb $0x1, 0x16(%rsp)
je 0x2f7f57
movb $0x0, 0x16(%rsp)
jmp 0x2f7f61
movl $0x9, %edi
callq 0x19960
movq 0x30(%rsp), %rax
movq 0x30(%rax), %rdi
movq 0x343fc7(%rip), %rax    # 0x63bf38
movq (%rax), %rsi
movq 0x18(%rsp), %rdx
movq 0x30(%rsp), %rax
movq 0x20(%rax), %rcx
callq 0x7ed90
movq 0x30(%rsp), %rax
movl 0x28(%rax), %eax
andl $0xe, %eax
cmpl $0x0, %eax
je 0x2f7fa1
movl $0xa, %edi
callq 0x19960
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)