// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/mgth/mg_outputwriter.c
// Function: print_hitinformation
static void print_hitinformation(const ParseStruct *parsestruct_ptr,
                                 const HitInformation *hit_information,
                                 GtUword seq_index)
{
  /* je nach Ausgabeformat schreiben der Hit-Informationen */
  switch (ARGUMENTSSTRUCT(outputfile_format))
  {
      /* txt */
    case 1:
      gt_file_xprintf(FILEPOINTEROUT, "gi-nr: gi|%s ",
                      gt_str_array_get(hit_information->hit_gi, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "gi_def: %s ",
                      gt_str_array_get(hit_information->hit_def, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "hsp_num: %s ",
                      gt_str_array_get(hit_information->hit_hsp_nr,
                                   seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "from: %s ",
                      gt_str_array_get(hit_information->hit_from, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "to: %s\n",
                      gt_str_array_get(hit_information->hit_to, seq_index));
      break;
      /* html */
    case 2:
      gt_file_xprintf(FILEPOINTEROUT,"   <tr>\n");
      gt_file_xprintf(FILEPOINTEROUT,
                      "    <td colspan=\"2\"><font class=\"class\">gi-nr: ");
      gt_file_xprintf(FILEPOINTEROUT,
                      "<a href=\"http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi"
                      "?db=nuccore&id=%s\">",
                      gt_str_array_get(hit_information->hit_gi, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "gi|%s</a>  ",
                      gt_str_array_get(hit_information->hit_gi, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "gi_def: %s ",
                      gt_str_array_get(hit_information->hit_def, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "hsp_num: %s ",
                      gt_str_array_get(hit_information->hit_hsp_nr,
                                   seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "from: %s ",
                      gt_str_array_get(hit_information->hit_from, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "to: %s</font></td>\n",
                      gt_str_array_get(hit_information->hit_to, seq_index));
      gt_file_xprintf(FILEPOINTEROUT,"   </tr>\n");
      break;
      /* xml */
    case 3:
      gt_file_xprintf(FILEPOINTEROUT, "          <Infos>\n");
      gt_file_xprintf(FILEPOINTEROUT,
                      "            <Infos_gi-nr>gi|%s</Infos_gi-nr>\n",
                      gt_str_array_get(hit_information->hit_gi, seq_index));
      gt_file_xprintf(FILEPOINTEROUT,
                      "            <Infos_gi-def>%s</Infos_gi-def>\n",
                      gt_str_array_get(hit_information->hit_def, seq_index));
      gt_file_xprintf(FILEPOINTEROUT,
                      "            <Infos_hsp-num>%s</Infos_hsp-num>\n",
                      gt_str_array_get(hit_information->hit_hsp_nr,
                                   seq_index));
      gt_file_xprintf(FILEPOINTEROUT,
                      "            <Infos_from>%s</Infos_from>\n",
                      gt_str_array_get(hit_information->hit_from, seq_index));
      gt_file_xprintf(FILEPOINTEROUT,
                      "            <Infos_to>%s</Infos_to>\n",
                      gt_str_array_get(hit_information->hit_to, seq_index));
      gt_file_xprintf(FILEPOINTEROUT, "          </Infos>\n");
      break;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0x1e0(%rdi), %eax
cmpl $0x3, %eax
je 0x1cad45
cmpl $0x2, %eax
je 0x1cac20
cmpl $0x1, %eax
jne 0x1cae3c
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197d13(%rip), %rsi    # 0x36287f
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197cfa(%rip), %rsi    # 0x36288d
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197cdf(%rip), %rsi    # 0x362899
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197cc5(%rip), %rsi    # 0x3628a6
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %rbx
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197ca8(%rip), %rsi    # 0x3628b0
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8d432
movq 0x90(%rbx), %rdi
leaq 0x197e94(%rip), %rsi    # 0x362ac2
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %rdi
leaq 0x197c75(%rip), %rsi    # 0x3628b8
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197c85(%rip), %rsi    # 0x3628e8
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197caa(%rip), %rsi    # 0x362933
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197bdd(%rip), %rsi    # 0x36288d
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197bc2(%rip), %rsi    # 0x362899
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197ba8(%rip), %rsi    # 0x3628a6
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197c1a(%rip), %rsi    # 0x36293f
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %rdi
leaq 0x197dee(%rip), %rsi    # 0x362b2e
jmp 0x1cae2a
movq 0x90(%rbx), %rdi
leaq 0x197c00(%rip), %rsi    # 0x362953
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197bf3(%rip), %rsi    # 0x362966
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197bfa(%rip), %rsi    # 0x362994
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197c00(%rip), %rsi    # 0x3629c1
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197c08(%rip), %rsi    # 0x3629f0
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %r12
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0xae386
leaq 0x197c0a(%rip), %rsi    # 0x362a19
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x8d432
movq 0x90(%rbx), %rdi
leaq 0x197c14(%rip), %rsi    # 0x362a3e
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8d432
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq