// File: /workspace/github_c_makefile_star2_O3/samtools[P]htslib/test/test_khash.c
// Function: write_stats_str2int
static void write_stats_str2int(khash_t(str2int) *h) {
    khint_t empty = 0, deleted = 0, hist_size = 0, *hist = NULL;

    if (kh_stats(str2int, h, &empty, &deleted, &hist_size, &hist) == 0) {
        khint_t i;
        printf("n_buckets = %u\n",
                kh_n_buckets(h));
        printf("empty     = %u\n", empty);
        printf("deleted   = %u\n", deleted);
        for (i = 0; i < hist_size; i++) {
            printf("dist[ %8u ] = %u\n", i, hist[i]);
        }
        free(hist);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movl (%rdi), %r15d
xorl %ebp, %ebp
movl %ebp, 0x8(%rsp)
movl %ebp, 0xc(%rsp)
movl $0x1, %edi
movl $0x4, %esi
callq 0x1070
testq %rax, %rax
je 0x255c
movq %rax, %r13
testl %r15d, %r15d
je 0x256b
movq %r13, %rdi
leal -0x1(%r15), %ebp
xorl %r13d, %r13d
leaq 0xc(%rsp), %rsi
leaq 0x8(%rsp), %r8
xorl %r12d, %r12d
movq %r14, 0x10(%rsp)
movq 0x10(%r14), %rax
movq %r13, %rcx
shrq $0x4, %rcx
movl (%rax,%rcx,4), %eax
leal (,%r13,2), %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0x249a
testb $0x1, %al
jne 0x24a2
movq 0x18(%r14), %rax
movq (%rax,%r13,8), %rax
movb (%rax), %dl
testb %dl, %dl
je 0x24aa
incq %rax
movl $0x811c9dc5, %ecx       # imm = 0x811C9DC5
movzbl %dl, %edx
xorl %ecx, %edx
imull $0x1000193, %edx, %ecx  # imm = 0x1000193
movb (%rax), %dl
incq %rax
testb %dl, %dl
jne 0x2484
jmp 0x24af
movq %rsi, %rax
jmp 0x253a
movq %r8, %rax
jmp 0x253a
movl $0x811c9dc5, %ecx       # imm = 0x811C9DC5
decl %r15d
andl %ecx, %r15d
xorl %ebx, %ebx
cmpq %r15, %r13
je 0x24d2
xorl %eax, %eax
movl %eax, %ebx
incl %ebx
addl %eax, %r15d
incl %r15d
andl %ebp, %r15d
movl %ebx, %eax
cmpq %r15, %r13
jne 0x24be
cmpl %ebx, %r12d
jbe 0x24dc
movq %rdi, %rcx
jmp 0x2531
movq %rsi, %r14
leal 0x1(%rbx), %esi
shlq $0x2, %rsi
movq %rdi, %r15
callq 0x1160
testq %rax, %rax
je 0x25d8
incl %r12d
cmpl %ebx, %r12d
movq %r14, %rsi
leaq 0x8(%rsp), %r8
jbe 0x2514
movq %rax, %rcx
movl %ebx, %r12d
movq 0x10(%rsp), %r14
jmp 0x2531
movq 0x10(%rsp), %r14
movl %r12d, %ecx
movl $0x0, (%rax,%rcx,4)
incl %r12d
cmpl %ebx, %r12d
jbe 0x2519
movq %rax, %rcx
movl %ebx, %r12d
movl %ebx, %eax
movq %rcx, %rdi
leaq (%rcx,%rax,4), %rax
incl (%rax)
incq %r13
movl (%r14), %r15d
cmpq %r15, %r13
jb 0x244e
incl %r12d
movl 0xc(%rsp), %r14d
movl 0x8(%rsp), %ebp
movq %rdi, %r13
jmp 0x2577
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %r12d
xorl %r14d, %r14d
xorl %r15d, %r15d
leaq 0xd41(%rip), %rdi       # 0x32bf
movl %r15d, %esi
xorl %eax, %eax
callq 0x1030
leaq 0xd40(%rip), %rdi       # 0x32cf
movl %r14d, %esi
xorl %eax, %eax
callq 0x1030
leaq 0xd3f(%rip), %rdi       # 0x32df
movl %ebp, %esi
xorl %eax, %eax
callq 0x1030
testl %r12d, %r12d
je 0x25d5
movl %r12d, %ebx
leaq 0xd37(%rip), %r14       # 0x32ef
xorl %r15d, %r15d
movl (%r13,%r15,4), %edx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x1030
incq %r15
cmpq %r15, %rbx
jne 0x25bb
movq %r13, %r15
movq %r15, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10e0