// File: /workspace/github_c_makefile_star2_O3/lh3[P]fermi2/correct.c
// Function: fmc_kmer2hash
fmc_hash_t **fmc_kmer2hash(const fmc_opt_t *opt, fmc64_v *a)
{
	int i, n = 1 << opt->c.suf_len*2;
	fmc_hash_t **h;
	double t;
	t = cputime();
	fprintf(stderr, "[M::%s] constructing the hash table... ", __func__);
	h = calloc(n, sizeof(void*));
	for (i = 0; i < n; ++i) {
		size_t j;
		int absent;
		fmc64_v *ai = &a[i];
		h[i] = kh_init(fmc);
		kh_resize(fmc, h[i], (int)(ai->n / .7 + 1.));
		for (j = 0; j < ai->n; ++j)
			kh_put(fmc, h[i], ai->a[j], &absent);
		assert(kh_size(h[i]) == ai->n);
		free(ai->a);
	}
	fprintf(stderr, "in %.3f CPU sec\n", cputime() - t);
	free(a);
	return h;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, 0x18(%rsp)
movl (%rdi), %ecx
shrl $0xf, %ecx
andb $-0x2, %cl
pushq $0x1
popq %rax
movl %eax, %ebx
shll %cl, %ebx
callq 0x4fe7
movq %xmm0, 0x20(%rsp)
movq 0x22b62(%rip), %rax     # 0x24ff8
movq (%rax), %rdi
leaq 0x1b2f0(%rip), %rsi     # 0x1d790
leaq 0x1b311(%rip), %rdx     # 0x1d7b8
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x21c0
pushq $0x8
popq %rsi
movq %rbx, 0x28(%rsp)
movq %rbx, %rdi
callq 0x2190
movq %rax, 0x10(%rsp)
pushq $0x3
popq %r13
imulq $0x18, %r15, %rbx
movq 0x18(%rsp), %r14
leaq (%r14,%rbx), %rax
movq %rax, 0x8(%rsp)
pushq $0x1
popq %rdi
pushq $0x28
popq %rsi
callq 0x2190
movq %rax, %rbp
movq 0x10(%rsp), %rax
movq %r15, 0x30(%rsp)
movq %rbp, (%rax,%r15,8)
movsd (%r14,%rbx), %xmm0
unpcklps 0x1afdb(%rip), %xmm0    # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x1afe3(%rip), %xmm0    # 0x1d4f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
divsd 0x1b0f7(%rip), %xmm1    # 0x1d618
addsd 0x1b0a7(%rip), %xmm1    # 0x1d5d0
cvttsd2si %xmm1, %esi
movq %rbp, %rdi
callq 0x738e
cmpq $0x0, (%r14,%rbx)
je 0x2715
xorl %ebx, %ebx
movq 0x8(%rsp), %r14
movq 0x10(%r14), %rax
movq (%rax,%rbx,8), %r12
movl (%rbp), %esi
movl %esi, %eax
shrl $0x2, %eax
movl %esi, %ecx
shrl %ecx
addl %eax, %ecx
cmpl %ecx, 0x8(%rbp)
jb 0x2581
movl 0x4(%rbp), %eax
addl %eax, %eax
cmpl %eax, %esi
jbe 0x256f
decl %esi
jmp 0x2571
incl %esi
movq %rbp, %rdi
callq 0x738e
testl %eax, %eax
js 0x2704
movl (%rbp), %edx
leal -0x1(%rdx), %esi
movq %r12, %rdi
shrq $0x1c, %rdi
movq %rdi, %rax
shlq $0x20, %rax
notq %rax
addq %rdi, %rax
movq %rax, %rcx
shrq $0x16, %rcx
xorq %rax, %rcx
movq %rcx, %rax
shlq $0xd, %rax
notq %rax
addq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
xorq %rax, %rcx
leaq (%rcx,%rcx,8), %rax
movq %rax, %rcx
shrq $0xf, %rcx
xorq %rax, %rcx
movq %rcx, %rax
shlq $0x1b, %rax
notq %rax
addq %rcx, %rax
movq %rax, %r8
shrq $0x1f, %r8
xorl %eax, %r8d
andl %esi, %r8d
movq 0x10(%rbp), %rax
movl %r8d, %ecx
shrl $0x4, %ecx
movl (%rax,%rcx,4), %r9d
leal (%r8,%r8), %ecx
shrl %cl, %r9d
testb $0x2, %r9b
je 0x2607
movl %r8d, %r9d
jmp 0x269a
pushq $0x1
popq %r11
movl %r8d, %r10d
movl %edx, %r9d
movl %r10d, %ecx
shrl $0x4, %ecx
movl (%rax,%rcx,4), %r13d
leal (%r10,%r10), %ecx
andl $0x1e, %ecx
movl %r13d, %r14d
shrl %cl, %r14d
testb $0x2, %r14b
jne 0x2672
testb $0x1, %r14b
jne 0x2648
movq 0x18(%rbp), %r14
movl %r10d, %r15d
movq (%r14,%r15,8), %r14
shrq $0x1c, %r14
cmpq %rdi, %r14
je 0x2672
btl %ecx, %r13d
cmovbl %r10d, %r9d
addl %r11d, %r10d
andl %esi, %r10d
incl %r11d
cmpl %r8d, %r10d
jne 0x2611
movb $0x1, %cl
movl %edx, %esi
cmpl %edx, %r9d
pushq $0x3
popq %r13
movq 0x8(%rsp), %r14
je 0x268b
jmp 0x269a
shrl %cl, %r13d
testb $0x2, %r13b
sete %cl
movl %r9d, %esi
movl %r10d, %r8d
pushq $0x3
popq %r13
movq 0x8(%rsp), %r14
cmpl %edx, %esi
cmovel %r8d, %esi
testb %cl, %cl
cmovnel %r8d, %esi
movl %esi, %r9d
movl %r9d, %edx
shrl $0x4, %edx
movl (%rax,%rdx,4), %esi
leal (%r9,%r9), %ecx
andl $0x1e, %ecx
movl %esi, %r8d
shrl %cl, %r8d
movl %r9d, %edi
testb $0x2, %r8b
jne 0x26db
testb $0x1, %r8b
je 0x2704
movl %r13d, %r8d
shll %cl, %r8d
movq 0x18(%rbp), %rcx
movq %r12, (%rcx,%rdi,8)
notl %r8d
andl %r8d, %esi
movl %esi, (%rax,%rdx,4)
incl 0x4(%rbp)
jmp 0x2704
movl %r13d, %r8d
shll %cl, %r8d
movq 0x18(%rbp), %rcx
movq %r12, (%rcx,%rdi,8)
notl %r8d
andl %r8d, %esi
movl %esi, (%rax,%rdx,4)
movq 0x4(%rbp), %xmm0
psubd 0x1ae21(%rip), %xmm0    # 0x1d520
movq %xmm0, 0x4(%rbp)
incq %rbx
movq (%r14), %rax
cmpq %rax, %rbx
jb 0x2547
jmp 0x271c
xorl %eax, %eax
movq 0x8(%rsp), %r14
movl 0x4(%rbp), %ecx
cmpq %rcx, %rax
jne 0x2784
movq 0x10(%r14), %rdi
callq 0x2040
movq 0x30(%rsp), %r15
incq %r15
cmpq 0x28(%rsp), %r15
jne 0x24ca
movq 0x228b1(%rip), %rax     # 0x24ff8
movq (%rax), %r14
callq 0x4fe7
subsd 0x20(%rsp), %xmm0
leaq 0x1b0ba(%rip), %rsi     # 0x1d816
movq %r14, %rdi
movb $0x1, %al
callq 0x21c0
movq 0x18(%rsp), %rdi
callq 0x2040
movq 0x10(%rsp), %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b03b(%rip), %rdi     # 0x1d7c6
leaq 0x1af39(%rip), %rsi     # 0x1d6cb
leaq 0x1b044(%rip), %rcx     # 0x1d7dd
movl $0x188, %edx            # imm = 0x188
callq 0x2120