// File: /workspace/github_c_makefile_star2_O1/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, 0x10(%rsp)
movl (%rdi), %ecx
shrl $0xf, %ecx
andb $-0x2, %cl
pushq $0x1
popq %rax
movl %eax, %ebx
shll %cl, %ebx
callq 0x5117
movsd %xmm0, 0x18(%rsp)
movq 0x21b62(%rip), %rax     # 0x23ff8
movq (%rax), %rdi
leaq 0x1a178(%rip), %rsi     # 0x1c618
leaq 0x1a199(%rip), %rdx     # 0x1c640
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x21c0
pushq $0x8
popq %rsi
movq %rbx, 0x20(%rsp)
movq %rbx, %rdi
callq 0x2190
movq %rax, 0x8(%rsp)
pushq $0x3
popq %r13
imulq $0x18, %r15, %rbx
movq 0x10(%rsp), %r14
leaq (%r14,%rbx), %r12
pushq $0x1
popq %rdi
pushq $0x28
popq %rsi
callq 0x2190
movq %rax, %rbp
movq 0x8(%rsp), %rax
movq %r15, 0x28(%rsp)
movq %rbp, (%rax,%r15,8)
movsd (%r14,%rbx), %xmm0
unpcklps 0x19ed0(%rip), %xmm0    # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x19ed8(%rip), %xmm0    # 0x1c3e0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
divsd 0x19f94(%rip), %xmm1    # 0x1c4b0
addsd 0x19f2c(%rip), %xmm1    # 0x1c450
cvttsd2si %xmm1, %esi
movq %rbp, %rdi
callq 0x7642
movq (%r14,%rbx), %rax
movq %r12, %r14
testq %rax, %rax
je 0x26ff
xorl %ebx, %ebx
movq %r14, 0x30(%rsp)
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 0x7642
testl %eax, %eax
js 0x26f0
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
jne 0x2692
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 0x265f
testb $0x1, %r14b
jne 0x2644
movq 0x18(%rbp), %r14
movl %r10d, %r15d
movq (%r14,%r15,8), %r14
shrq $0x1c, %r14
cmpq %rdi, %r14
je 0x265f
btl %ecx, %r13d
cmovbl %r10d, %r9d
addl %r11d, %r10d
andl %esi, %r10d
incl %r11d
movl %r9d, %ecx
cmpl %r8d, %r10d
jne 0x260d
jmp 0x2661
movl %edx, %ecx
movl %ecx, %r8d
cmpl %edx, %ecx
pushq $0x3
popq %r13
movq 0x30(%rsp), %r14
jne 0x2692
movl %r10d, %ecx
shrl $0x4, %ecx
movl (%rax,%rcx,4), %esi
leal (%r10,%r10), %ecx
shrl %cl, %esi
cmpl %edx, %r9d
cmovel %r10d, %r9d
testb $0x2, %sil
cmovel %r10d, %r9d
movl %r9d, %r8d
movl %r8d, %edx
shrl $0x4, %edx
movl (%rax,%rdx,4), %esi
leal (%r8,%r8), %ecx
andl $0x1e, %ecx
movl %esi, %r9d
shrl %cl, %r9d
movl %r8d, %edi
testb $0x2, %r9b
jne 0x26d3
testb $0x1, %r9b
je 0x26f0
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 0x26f0
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)
incl 0x8(%rbp)
incq %rbx
movq (%r14), %rax
cmpq %rax, %rbx
jb 0x2547
movl 0x4(%rbp), %ecx
cmpq %rcx, %rax
jne 0x2767
movq 0x10(%r14), %rdi
callq 0x2040
movq 0x28(%rsp), %r15
incq %r15
cmpq 0x20(%rsp), %r15
jne 0x24ca
movq 0x218ce(%rip), %rax     # 0x23ff8
movq (%rax), %r14
callq 0x5117
subsd 0x18(%rsp), %xmm0
leaq 0x19f5f(%rip), %rsi     # 0x1c69e
movq %r14, %rdi
movb $0x1, %al
callq 0x21c0
movq 0x10(%rsp), %rdi
callq 0x2040
movq 0x8(%rsp), %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x19ee0(%rip), %rdi     # 0x1c64e
leaq 0x19dde(%rip), %rsi     # 0x1c553
leaq 0x19ee9(%rip), %rcx     # 0x1c665
movl $0x188, %edx            # imm = 0x188
callq 0x2120