// File: /workspace/github_c_makefile_star2_O1/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 $0x28, %rsp
movq %rdi, 0x10(%rsp)
movl (%rdi), %r12d
movl $0x1, %edi
movl $0x4, %esi
callq 0x1070
xorl %r15d, %r15d
testq %rax, %rax
je 0x2598
movq %rax, %r13
movb $0x1, %al
testl %r12d, %r12d
je 0x25a3
leal -0x1(%r12), %ebp
xorl %r15d, %r15d
xorl %edi, %edi
xorl %r14d, %r14d
xorl %ebx, %ebx
movq 0x10(%rsp), %rsi
movq 0x10(%rsi), %rax
movl %r14d, %ecx
shrl $0x4, %ecx
movl (%rax,%rcx,4), %eax
leal (%r14,%r14), %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0x24d4
testb $0x1, %al
jne 0x24dc
movq 0x18(%rsi), %rax
movq (%rax,%r14,8), %rax
movb (%rax), %dl
testb %dl, %dl
movq %r13, 0x18(%rsp)
je 0x24e3
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 0x24be
jmp 0x24e8
incl %r15d
jmp 0x2583
incl %edi
jmp 0x2583
movl $0x811c9dc5, %ecx       # imm = 0x811C9DC5
decl %r12d
andl %ecx, %r12d
xorl %r13d, %r13d
cmpq %r12, %r14
je 0x250f
xorl %eax, %eax
movl %eax, %r13d
incl %r13d
addl %eax, %r12d
incl %r12d
andl %ebp, %r12d
movl %r13d, %eax
cmpq %r12, %r14
jne 0x24f8
cmpl %r13d, %ebx
ja 0x2576
movl %edi, 0xc(%rsp)
movq %r15, 0x20(%rsp)
leal 0x1(%r13), %esi
shlq $0x2, %rsi
movq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0x1160
movq %rax, %r12
testq %rax, %rax
je 0x2557
incl %ebx
cmpl %r13d, %ebx
ja 0x254d
movl %ebx, %eax
movl $0x0, (%r12,%rax,4)
jmp 0x253a
movq %r12, 0x18(%rsp)
movl %r13d, %ebx
jmp 0x255f
movq %r15, %rdi
callq 0x10e0
movq 0x20(%rsp), %r15
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edi
testq %r12, %r12
je 0x2635
movl %r13d, %eax
movq 0x18(%rsp), %r13
incl (%r13,%rax,4)
incq %r14
movl (%rsi), %r12d
cmpq %r12, %r14
jb 0x2488
incl %ebx
movb $0x1, %al
jmp 0x25af
xorl %edi, %edi
xorl %ebx, %ebx
xorl %r13d, %r13d
xorl %eax, %eax
jmp 0x25aa
movl $0x1, %ebx
xorl %edi, %edi
movq 0x10(%rsp), %rsi
testb %al, %al
je 0x2626
movl (%rsi), %esi
movl %edi, %ebp
leaq 0xd01(%rip), %rdi       # 0x32bf
xorl %eax, %eax
callq 0x1030
leaq 0xd03(%rip), %rdi       # 0x32cf
movl %r15d, %esi
xorl %eax, %eax
callq 0x1030
leaq 0xd02(%rip), %rdi       # 0x32df
movl %ebp, %esi
xorl %eax, %eax
callq 0x1030
testl %ebx, %ebx
je 0x2610
movl %ebx, %ebx
leaq 0xcfc(%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 0x25f6
movq %r13, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10e0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ebx, %ebx
xorl %r13d, %r13d
xorl %eax, %eax
jmp 0x25af