// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/kmer_database.c
// Function: gt_kmer_database_print
void gt_kmer_database_print(GtKmerDatabase *kdb, GtLogger *logger, bool verbose)
{
  GtUword i,
          start,
          end;

  gt_assert(kdb != NULL && logger != NULL);

  if (!gt_logger_enabled(logger))
    return;

  gt_logger_log(logger, "DB.offset/DB.positions:");
  for (i = 0; i < kdb->nu_kmer_codes; i++) {
    start = kdb->offset[i];
    end = kdb->offset[i + 1];
    if (start < end)
      gt_logger_log(logger, GT_WU, i);
    if (verbose) {
      while (start < end) {
        gt_logger_log(logger, "\t" GT_WU, kdb->positions[start]);
        start++;
      }
    }
    else if (start < end) {
      GtUword diff = end - start;
      gt_logger_log(logger, "\t" GT_WU, diff);
    }
  }
  gt_logger_log(logger, "number of kmers: " GT_WU, kdb->offset[i]);
  if (verbose) {
    gt_logger_log(logger, "byte size of GtKmerDatabase: " GT_WU,
                  gt_kmer_database_get_used_size(kdb));
    gt_logger_log(logger, "allocated byte size for KmerDatabase: " GT_WU,
                  gt_kmer_database_get_byte_size(kdb));
    gt_logger_log(logger, "minimal occurrence: " GT_WU,
                  gt_kmer_database_get_min_nu_of_occ(kdb));
    gt_logger_log(logger, "mean occurrence: " GT_WU,
                  gt_kmer_database_get_mean_nu_of_occ(kdb));
  }
}

// Assembly:
subq $0x58, %rsp
movb %dl, %al
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
andb $0x1, %al
movb %al, 0x47(%rsp)
cmpq $0x0, 0x50(%rsp)
je 0x19a366
cmpq $0x0, 0x48(%rsp)
jne 0x19a39e
movq 0x4a1c33(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x37bc9c(%rip), %rsi    # 0x516013
leaq 0x3bdac0(%rip), %rdx    # 0x557e3e
leaq 0x3bdad7(%rip), %rcx    # 0x557e5c
leaq 0x3bd3af(%rip), %r8     # 0x55773b
movl $0x2d3, %r9d            # imm = 0x2D3
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x19a3a0
movq 0x48(%rsp), %rdi
callq 0xe7980
testb $0x1, %al
jne 0x19a3b3
jmp 0x19a59f
movq 0x48(%rsp), %rdi
leaq 0x3bdab4(%rip), %rsi    # 0x557e73
movb $0x0, %al
callq 0xe7cd0
movq $0x0, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq 0x50(%rsp), %rcx
cmpq 0x28(%rcx), %rax
jae 0x19a4ca
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq 0x38(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x30(%rsp)
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq 0x38(%rsp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rax
cmpq 0x28(%rsp), %rax
jae 0x19a434
movq 0x48(%rsp), %rdi
movq 0x38(%rsp), %rdx
leaq 0x3f4bdc(%rip), %rsi    # 0x58f009
movb $0x0, %al
callq 0xe7cd0
testb $0x1, 0x47(%rsp)
je 0x19a480
jmp 0x19a43d
movq 0x30(%rsp), %rax
cmpq 0x28(%rsp), %rax
jae 0x19a47e
movq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x30(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x3f4ba1(%rip), %rsi    # 0x58f008
movb $0x0, %al
callq 0xe7cd0
movq 0x30(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x30(%rsp)
jmp 0x19a43d
jmp 0x19a4b5
movq 0x30(%rsp), %rax
cmpq 0x28(%rsp), %rax
jae 0x19a4b3
movq 0x28(%rsp), %rax
subq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x48(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0x3f4b5c(%rip), %rsi    # 0x58f008
movb $0x0, %al
callq 0xe7cd0
jmp 0x19a4b5
jmp 0x19a4b7
movq 0x38(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x38(%rsp)
jmp 0x19a3cf
movq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq 0x38(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x3bd9a4(%rip), %rsi    # 0x557e8b
movb $0x0, %al
callq 0xe7cd0
testb $0x1, 0x47(%rsp)
je 0x19a59f
movq 0x48(%rsp), %rax
movq %rax, (%rsp)
movq 0x50(%rsp), %rdi
callq 0x19a2b0
movq (%rsp), %rdi
movq %rax, %rdx
leaq 0x3bd986(%rip), %rsi    # 0x557ea0
movb $0x0, %al
callq 0xe7cd0
movq 0x48(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
callq 0x19a230
movq 0x8(%rsp), %rdi
movq %rax, %rdx
leaq 0x3bd97d(%rip), %rsi    # 0x557ec1
movb $0x0, %al
callq 0xe7cd0
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x50(%rsp), %rdi
callq 0x199bc0
movq 0x10(%rsp), %rdi
movq %rax, %rdx
leaq 0x3bd97d(%rip), %rsi    # 0x557eeb
movb $0x0, %al
callq 0xe7cd0
movq 0x48(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rdi
callq 0x199ad0
movq 0x18(%rsp), %rdi
movq %rax, %rdx
leaq 0x3bd96b(%rip), %rsi    # 0x557f03
movb $0x0, %al
callq 0xe7cd0
addq $0x58, %rsp
retq
nopw %cs:(%rax,%rax)