// File: /workspace/github_c_makefile_star2_O2/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 0x3b2e
movsd %xmm0, 0x18(%rsp)
movq 0x1bfce(%rip), %rax     # 0x21ff8
movq (%rax), %rdi
leaq 0x136ac(%rip), %rsi     # 0x196e0
leaq 0x136cd(%rip), %rdx     # 0x19708
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)
cmpq 0x20(%rsp), %r15
je 0x6260
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 0x13425(%rip), %xmm0    # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x1342d(%rip), %xmm0    # 0x194d0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
divsd 0x134b1(%rip), %xmm1    # 0x19568
addsd 0x13461(%rip), %xmm1    # 0x19520
cvttsd2si %xmm1, %esi
movq %rbp, %rdi
callq 0x62c3
xorl %r13d, %r13d
movq %r12, 0x30(%rsp)
movq (%r12), %rax
cmpq %rax, %r13
jae 0x6241
movq 0x10(%r12), %rax
movq (%rax,%r13,8), %r14
movl (%rbp), %esi
movl %esi, %eax
shrl $0x2, %eax
movl %esi, %ecx
shrl %ecx
addl %eax, %ecx
cmpl %ecx, 0x8(%rbp)
jb 0x611b
movl 0x4(%rbp), %eax
addl %eax, %eax
cmpl %eax, %esi
jbe 0x6109
decl %esi
jmp 0x610b
incl %esi
movq %rbp, %rdi
callq 0x62c3
testl %eax, %eax
js 0x6239
movl (%rbp), %r15d
leal -0x1(%r15), %ebx
movq %r14, %r12
shrq $0x1c, %r12
movq %r12, %rdi
callq 0x953d
andl %ebx, %eax
movq 0x10(%rbp), %rdx
movl %eax, %ecx
shrl $0x4, %ecx
movl (%rdx,%rcx,4), %esi
leal (%rax,%rax), %ecx
shrl %cl, %esi
testb $0x2, %sil
je 0x614f
movl %eax, %esi
jmp 0x61cb
pushq $0x1
popq %r8
movl %eax, %edi
movl %r15d, %esi
movl %edi, %ecx
shrl $0x4, %ecx
movl (%rdx,%rcx,4), %r9d
leal (%rdi,%rdi), %ecx
andl $0x1e, %ecx
movl %r9d, %r10d
shrl %cl, %r10d
testb $0x2, %r10b
jne 0x61ac
testb $0x1, %r10b
jne 0x618d
movq 0x18(%rbp), %r10
movl %edi, %r11d
movq (%r10,%r11,8), %r10
shrq $0x1c, %r10
cmpq %r12, %r10
je 0x61ac
btl %ecx, %r9d
cmovbl %edi, %esi
addl %r8d, %edi
andl %ebx, %edi
incl %r8d
cmpl %eax, %edi
jne 0x6158
movb $0x1, %cl
movl %r15d, %r8d
cmpl %r15d, %esi
je 0x61bb
jmp 0x61cb
shrl %cl, %r9d
testb $0x2, %r9b
sete %cl
movl %esi, %r8d
movl %edi, %eax
cmpl %r15d, %r8d
cmovel %eax, %r8d
testb %cl, %cl
cmovnel %eax, %r8d
movl %r8d, %esi
movl %esi, %eax
shrl $0x4, %eax
movl (%rdx,%rax,4), %edi
leal (%rsi,%rsi), %ecx
andl $0x1e, %ecx
movl %edi, %r8d
shrl %cl, %r8d
movl %esi, %esi
testb $0x2, %r8b
movq 0x30(%rsp), %r12
jne 0x620f
testb $0x1, %r8b
je 0x6239
pushq $0x3
popq %r8
shll %cl, %r8d
movq 0x18(%rbp), %rcx
movq %r14, (%rcx,%rsi,8)
notl %r8d
andl %r8d, %edi
movl %edi, (%rdx,%rax,4)
incl 0x4(%rbp)
jmp 0x6239
pushq $0x3
popq %r8
shll %cl, %r8d
movq 0x18(%rbp), %rcx
movq %r14, (%rcx,%rsi,8)
notl %r8d
andl %r8d, %edi
movl %edi, (%rdx,%rax,4)
movq 0x4(%rbp), %xmm0
psubd 0x132cc(%rip), %xmm0    # 0x19500
movq %xmm0, 0x4(%rbp)
incq %r13
jmp 0x60d3
movl 0x4(%rbp), %ecx
cmpq %rcx, %rax
jne 0x62a4
movq 0x10(%r12), %rdi
callq 0x2040
movq 0x28(%rsp), %r15
incq %r15
jmp 0x605a
movq 0x1bd91(%rip), %rax     # 0x21ff8
movq (%rax), %r14
callq 0x3b2e
subsd 0x18(%rsp), %xmm0
leaq 0x134ea(%rip), %rsi     # 0x19766
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 0x1346b(%rip), %rdi     # 0x19716
leaq 0x13369(%rip), %rsi     # 0x1961b
leaq 0x13474(%rip), %rcx     # 0x1972d
movl $0x188, %edx            # imm = 0x188
callq 0x2120