// File: /workspace/github_c_makefile_star2_O1/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 0x21fbd1
cmpl $0x2, %eax
je 0x21faac
cmpl $0x1, %eax
jne 0x21fcc8
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac19f(%rip), %rsi    # 0x3cbb97
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac186(%rip), %rsi    # 0x3cbba5
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac16b(%rip), %rsi    # 0x3cbbb1
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac151(%rip), %rsi    # 0x3cbbbe
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %rbx
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac134(%rip), %rsi    # 0x3cbbc8
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x103d21
movq 0x90(%rbx), %rdi
leaq 0x1ac320(%rip), %rsi    # 0x3cbdda
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %rdi
leaq 0x1ac101(%rip), %rsi    # 0x3cbbd0
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac111(%rip), %rsi    # 0x3cbc00
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac136(%rip), %rsi    # 0x3cbc4b
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac069(%rip), %rsi    # 0x3cbba5
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac04e(%rip), %rsi    # 0x3cbbb1
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac034(%rip), %rsi    # 0x3cbbbe
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac0a6(%rip), %rsi    # 0x3cbc57
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %rdi
leaq 0x1ac27a(%rip), %rsi    # 0x3cbe46
jmp 0x21fcb6
movq 0x90(%rbx), %rdi
leaq 0x1ac08c(%rip), %rsi    # 0x3cbc6b
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq (%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac07f(%rip), %rsi    # 0x3cbc7e
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac086(%rip), %rsi    # 0x3cbcac
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac08c(%rip), %rsi    # 0x3cbcd9
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac094(%rip), %rsi    # 0x3cbd08
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %r12
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0x121cfa
leaq 0x1ac096(%rip), %rsi    # 0x3cbd31
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103d21
movq 0x90(%rbx), %rdi
leaq 0x1ac0a0(%rip), %rsi    # 0x3cbd56
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x103d21
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq