// File: /workspace/github_c_makefile_star2_O3/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 0x215e8a
cmpl $0x2, %eax
je 0x215d65
cmpl $0x1, %eax
jne 0x215f81
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac7be(%rip), %rsi    # 0x3c246f
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac7a5(%rip), %rsi    # 0x3c247d
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac78a(%rip), %rsi    # 0x3c2489
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac770(%rip), %rsi    # 0x3c2496
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %rbx
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac753(%rip), %rsi    # 0x3c24a0
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xfee51
movq 0x90(%rbx), %rdi
leaq 0x1ac93f(%rip), %rsi    # 0x3c26b2
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %rdi
leaq 0x1ac720(%rip), %rsi    # 0x3c24a8
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac730(%rip), %rsi    # 0x3c24d8
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac755(%rip), %rsi    # 0x3c2523
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac688(%rip), %rsi    # 0x3c247d
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac66d(%rip), %rsi    # 0x3c2489
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac653(%rip), %rsi    # 0x3c2496
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac6c5(%rip), %rsi    # 0x3c252f
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %rdi
leaq 0x1ac899(%rip), %rsi    # 0x3c271e
jmp 0x215f6f
movq 0x90(%rbx), %rdi
leaq 0x1ac6ab(%rip), %rsi    # 0x3c2543
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac69e(%rip), %rsi    # 0x3c2556
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac6a5(%rip), %rsi    # 0x3c2584
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac6ab(%rip), %rsi    # 0x3c25b1
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac6b3(%rip), %rsi    # 0x3c25e0
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %r12
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0x11bfb3
leaq 0x1ac6b5(%rip), %rsi    # 0x3c2609
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfee51
movq 0x90(%rbx), %rdi
leaq 0x1ac6bf(%rip), %rsi    # 0x3c262e
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xfee51
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq