// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x18ce4e
cmpq $0x0, 0x28(%rsp)
jne 0x18ce86
movq 0x4af14b(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3891b4(%rip), %rsi    # 0x516013
leaq 0x3c88de(%rip), %rdx    # 0x555744
leaq 0x3c88e1(%rip), %rcx    # 0x55574e
leaq 0x3c85e7(%rip), %r8     # 0x55545b
movl $0x240, %r9d            # imm = 0x240
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x18ce88
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rax
movl (%rax), %edx
leaq 0x3c88bf(%rip), %rsi    # 0x55575a
movb $0x0, %al
callq 0x199f0
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rax
movl 0x4(%rax), %edx
leaq 0x3c88b5(%rip), %rsi    # 0x55576b
movb $0x0, %al
callq 0x199f0
movq 0x28(%rsp), %rdi
leaq 0x3c88b4(%rip), %rsi    # 0x55577d
movb $0x0, %al
callq 0x199f0
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
movq 0x30(%rsp), %rcx
cmpl (%rcx), %eax
jae 0x18cf29
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq 0x30(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x18ad20
movq 0x10(%rsp), %rdi
movl 0x1c(%rsp), %edx
leaq 0x3c8886(%rip), %rsi    # 0x55579b
movb $0x1, %al
callq 0x199f0
movl 0x24(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x24(%rsp)
jmp 0x18ced8
movq 0x28(%rsp), %rsi
movl $0xa, %edi
callq 0x126b70
movq 0x28(%rsp), %rdi
leaq 0x3c885f(%rip), %rsi    # 0x5557a3
movb $0x0, %al
callq 0x199f0
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
movq 0x30(%rsp), %rcx
cmpl (%rcx), %eax
jae 0x18cfeb
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %edx
leaq 0x3c884a(%rip), %rsi    # 0x5557be
movb $0x0, %al
callq 0x199f0
movl $0x0, 0x20(%rsp)
movl 0x20(%rsp), %eax
movq 0x30(%rsp), %rcx
cmpl (%rcx), %eax
jae 0x18cfcc
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
movl 0x24(%rsp), %esi
movl 0x20(%rsp), %edx
callq 0x18ae10
movq 0x8(%rsp), %rdi
leaq 0x3bc654(%rip), %rsi    # 0x54960c
movb $0x1, %al
callq 0x199f0
movl 0x20(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x20(%rsp)
jmp 0x18cf83
movq 0x28(%rsp), %rsi
movl $0xa, %edi
callq 0x126b70
movl 0x24(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x24(%rsp)
jmp 0x18cf53
movq 0x28(%rsp), %rdi
leaq 0x3c87cc(%rip), %rsi    # 0x5557c3
movb $0x0, %al
callq 0x199f0
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
movq 0x30(%rsp), %rcx
cmpl (%rcx), %eax
jae 0x18d09d
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %edx
leaq 0x3c8797(%rip), %rsi    # 0x5557be
movb $0x0, %al
callq 0x199f0
movl $0x0, 0x20(%rsp)
movl 0x20(%rsp), %eax
movq 0x30(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jae 0x18d07e
movq 0x28(%rsp), %rax
movq %rax, (%rsp)
movq 0x30(%rsp), %rdi
movl 0x24(%rsp), %esi
movl 0x20(%rsp), %edx
callq 0x18b0e0
movq (%rsp), %rdi
leaq 0x3bc5a2(%rip), %rsi    # 0x54960c
movb $0x1, %al
callq 0x199f0
movl 0x20(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x20(%rsp)
jmp 0x18d036
movq 0x28(%rsp), %rsi
movl $0xa, %edi
callq 0x126b70
movl 0x24(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x24(%rsp)
jmp 0x18d006
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)