// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/hmm.c
// Function: gt_hmm_show
void gt_hmm_show(const GtHMM *hmm, FILE *fp)
{
  unsigned int i, j;
  gt_assert(hmm && fp);
  fprintf(fp, "# of states: %u\n", hmm->num_of_states);
  fprintf(fp, "# of symbols: %u\n", hmm->num_of_symbols);
  fprintf(fp, "initial state probabilities:\n");
  for (i = 0; i < hmm->num_of_states; i++) {
    fprintf(fp, "%2u: %f", i, gt_hmm_get_initial_state_probability(hmm, i));
  }
  gt_xfputc('\n', fp);
  fprintf(fp, "transition probabilities:\n");
  for (i = 0; i < hmm->num_of_states; i++) {
    fprintf(fp, "%2u:", i);
    for (j = 0; j < hmm->num_of_states; j++) {
      fprintf(fp, " %.2f", gt_hmm_get_transition_probability(hmm, i, j));
    }
    gt_xfputc('\n', fp);
  }
  fprintf(fp, "emission probabilities:\n");
  for (i = 0; i < hmm->num_of_states; i++) {
    fprintf(fp, "%2u:", i);
    for (j = 0; j < hmm->num_of_symbols; j++) {
      fprintf(fp, " %.2f", gt_hmm_get_emission_probability(hmm, i, j));
    }
    gt_xfputc('\n', fp);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xedc37
movq %rsi, %rbx
testq %rsi, %rsi
je 0xedc37
movq %rdi, %r14
movl (%rdi), %edx
leaq 0x2359ea(%rip), %rsi    # 0x3234c7
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %eax, %eax
callq 0x17a50
movl 0x4(%r14), %edx
leaq 0x2359e4(%rip), %rsi    # 0x3234d8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x17a50
leaq 0x2359e5(%rip), %rdi    # 0x3234ea
pushq $0x1d
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x17f00
leaq 0x2359ee(%rip), %r15    # 0x323508
cmpl (%r14), %ebp
jae 0xedb3c
movq %r14, %rdi
movl %ebp, %esi
callq 0xec6ee
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %edx
movb $0x1, %al
callq 0x17a50
incl %ebp
jmp 0xedb1a
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0xb2f2e
leaq 0x2359c2(%rip), %rdi    # 0x323510
pushq $0x1a
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x17f00
xorl %r15d, %r15d
leaq 0x2359c5(%rip), %r12    # 0x32352b
leaq 0x229b63(%rip), %r13    # 0x3176d0
cmpl (%r14), %r15d
jae 0xedbb7
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x17a50
cmpl (%r14), %ebp
jae 0xedba7
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0xec77b
movq %rbx, %rdi
movq %r13, %rsi
movb $0x1, %al
callq 0x17a50
incl %ebp
jmp 0xedb84
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0xb2f2e
incl %r15d
jmp 0xedb6d
leaq 0x235972(%rip), %rdi    # 0x323530
pushq $0x18
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x17f00
xorl %ebp, %ebp
leaq 0x229afb(%rip), %r12    # 0x3176d0
pushq $0xa
popq %r13
cmpl (%r14), %ebp
jae 0xedc28
xorl %r15d, %r15d
movq %rbx, %rdi
leaq 0x235940(%rip), %rsi    # 0x32352b
movl %ebp, %edx
xorl %eax, %eax
callq 0x17a50
cmpl 0x4(%r14), %r15d
jae 0xedc19
movq %r14, %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0xec95e
movq %rbx, %rdi
movq %r12, %rsi
movb $0x1, %al
callq 0x17a50
incl %r15d
jmp 0xedbf4
movl %r13d, %edi
movq %rbx, %rsi
callq 0xb2f2e
incl %ebp
jmp 0xedbd9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x34a32a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1f73cb(%rip), %rsi    # 0x2e5013
leaq 0x235862(%rip), %rdx    # 0x3234b1
leaq 0x235865(%rip), %rcx    # 0x3234bb
leaq 0x235546(%rip), %r8     # 0x3231a3
movl $0x240, %r9d            # imm = 0x240
xorl %eax, %eax
callq 0x17a50
callq 0x17390