// File: /workspace/github_c_makefile_star2_O1/lh3[P]miniprot/ntseq.c
// Function: mp_ntseq_index_name
void mp_ntseq_index_name(mp_ntdb_t *nt)
{
	mp_strmap_t *h;
	int32_t i;
	h = mp_strmap_init2(0);
	for (i = 0; i < nt->n_ctg; ++i) {
		int absent;
		khint_t k;
		k = mp_strmap_put(h, nt->ctg[i].name, &absent);
		if (!absent) {
			fprintf(stderr, "ERROR: duplicated contig name!\n");
			continue;
		}
		kh_val(h, k) = i;
	}
	nt->h = (void*)h;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r15
movl $0x1, %esi
movl $0x20, %edx
xorl %edi, %edi
callq 0x7f34
movq %rax, %r14
movq $0x0, (%rax)
cmpl $0x0, (%r15)
jle 0xcccd
xorl %ebx, %ebx
movq %r15, 0x20(%rsp)
movq 0x28(%r15), %rax
leaq (%rbx,%rbx,2), %rcx
movq 0x10(%rax,%rcx,8), %r8
movb (%r8), %cl
testb %cl, %cl
movq %rbx, 0x10(%rsp)
je 0xc97f
leaq 0x1(%r8), %rax
movl $0x811c9dce, %edx       # imm = 0x811C9DCE
movzbl %cl, %esi
xorl %edx, %esi
imull $0x1000193, %esi, %edx  # imm = 0x1000193
movb (%rax), %cl
incq %rax
testb %cl, %cl
jne 0xc963
imull $0xca549e3b, %esi, %ebp # imm = 0xCA549E3B
jmp 0xc984
movl $0xdf8667de, %ebp       # imm = 0xDF8667DE
cmpq $0x0, 0x18(%r14)
je 0xc99a
movb 0x8(%r14), %cl
movl $0x1, %r13d
shll %cl, %r13d
jmp 0xc99d
xorl %r13d, %r13d
movl 0xc(%r14), %eax
movl %r13d, %ecx
shrl %ecx
movl %r13d, %edx
shrl $0x2, %edx
addl %ecx, %edx
cmpl %edx, %eax
jb 0xcc07
leal 0x1(%r13), %ecx
bsrl %ecx, %edx
cmpl $0x2, %ecx
movl $0x0, %esi
cmovbl %esi, %edx
andl %r13d, %ecx
cmpl $0x1, %ecx
sbbl $-0x1, %edx
cmpl $0x3, %edx
movl $0x2, %ecx
cmovael %edx, %ecx
movl $0x1, %ebx
shll %cl, %ebx
movl %ebx, %edi
shrl %edi
movl %ebx, %esi
shrl $0x2, %esi
addl %edi, %esi
cmpl %esi, %eax
ja 0xcbfa
movl %ecx, 0xc(%rsp)
movq %r8, 0x28(%rsp)
movq (%r14), %rdi
movq %rbx, 0x18(%rsp)
shrl $0x3, %ebx
andl $-0x4, %ebx
cmpl $0x5, %edx
movl $0x4, %eax
cmovbl %eax, %ebx
movq %rbx, %rsi
callq 0x80a1
movq %rax, %r12
xorl %r15d, %r15d
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2160
testq %r12, %r12
je 0xcc97
movq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0xca52
movb 0x8(%r14), %cl
movl $0x1, %r15d
shll %cl, %r15d
cmpl 0x18(%rsp), %r15d
jae 0xca8f
movq (%r14), %rdi
movl $0xc, %edx
movl 0xc(%rsp), %ecx
shlq %cl, %rdx
callq 0x81a4
movq %rax, %rbx
testq %rax, %rax
je 0xca7b
movq %rbx, 0x18(%r14)
jmp 0xca86
movq (%r14), %rdi
movq %r12, %rsi
callq 0x7fd6
testq %rbx, %rbx
je 0xcc94
testl %r15d, %r15d
je 0xcbbc
movq 0x18(%rsp), %rax
leal -0x1(%rax), %edi
movl $0x20, %eax
subl 0xc(%rsp), %eax
movl %r15d, %ecx
movq %rcx, 0x30(%rsp)
xorl %edx, %edx
movq 0x10(%r14), %rsi
movl %edx, %r11d
shrl $0x5, %r11d
movl (%rsi,%r11,4), %ebx
movl $0x1, %r13d
movl %edx, %ecx
shll %cl, %r13d
btl %edx, %ebx
jae 0xcbae
movq 0x18(%r14), %rcx
leaq (%rdx,%rdx,2), %r9
movq (%rcx,%r9,4), %r10
movl 0x8(%rcx,%r9,4), %r8d
notl %r13d
andl %r13d, %ebx
movl %ebx, (%rsi,%r11,4)
movb (%r10), %sil
testb %sil, %sil
je 0xcb24
leaq 0x1(%r10), %rcx
movl $0x811c9dce, %r11d      # imm = 0x811C9DCE
movzbl %sil, %ebx
xorl %r11d, %ebx
imull $0x1000193, %ebx, %r11d # imm = 0x1000193
movb (%rcx), %sil
incq %rcx
testb %sil, %sil
jne 0xcb03
imull $0xca549e3b, %ebx, %esi # imm = 0xCA549E3B
jmp 0xcb29
movl $0xdf8667de, %esi       # imm = 0xDF8667DE
movl %eax, %ecx
shrl %cl, %esi
movl %esi, %r11d
shrl $0x5, %r11d
movl (%r12,%r11,4), %r13d
movl $0x1, %ebx
movl %esi, %ecx
shll %cl, %ebx
btl %esi, %r13d
jae 0xcb4d
incl %esi
andl %edi, %esi
jmp 0xcb2d
orl %ebx, %r13d
movl %r13d, (%r12,%r11,4)
movl %esi, %ecx
cmpl %r15d, %esi
jae 0xcb93
movq 0x10(%r14), %rsi
testl %ebx, (%rsi,%r11,4)
je 0xcb93
movq 0x18(%r14), %rsi
leaq (%rcx,%rcx,2), %rcx
movq (%rsi,%rcx,4), %r13
movl 0x8(%rsi,%rcx,4), %r9d
movq %r10, (%rsi,%rcx,4)
movl %r8d, 0x8(%rsi,%rcx,4)
notl %ebx
movq 0x10(%r14), %rcx
andl %ebx, (%rcx,%r11,4)
movb $0x1, %cl
movl %r9d, %r8d
movq %r13, %r10
jmp 0xcba6
movq 0x18(%r14), %rsi
leaq (%rcx,%rcx,2), %rcx
movq %r10, (%rsi,%rcx,4)
movl %r8d, 0x8(%rsi,%rcx,4)
xorl %ecx, %ecx
testb %cl, %cl
jne 0xcaf1
incq %rdx
cmpq 0x30(%rsp), %rdx
jne 0xcab3
cmpl 0x18(%rsp), %r15d
movl 0xc(%rsp), %ebx
jbe 0xcbe1
movq (%r14), %rdi
movq 0x18(%r14), %rsi
movl $0xc, %edx
movl %ebx, %ecx
shlq %cl, %rdx
callq 0x81a4
movq %rax, 0x18(%r14)
movq (%r14), %rdi
movq 0x10(%r14), %rsi
callq 0x7fd6
movq %r12, 0x10(%r14)
movl %ebx, 0x8(%r14)
movq 0x28(%rsp), %r8
movb 0x8(%r14), %cl
movl $0x1, %r13d
shll %cl, %r13d
movb 0x8(%r14), %al
xorl %ecx, %ecx
subb %al, %cl
shrl %cl, %ebp
movl %r13d, %r15d
decl %r15d
movq 0x10(%r14), %rbx
movl %ebp, %r13d
movl %r13d, %eax
shrl $0x5, %eax
movl (%rbx,%rax,4), %eax
btl %r13d, %eax
jae 0xcc5e
movq 0x18(%r14), %rax
movl %r13d, %ecx
leaq (%rcx,%rcx,2), %rcx
movq (%rax,%rcx,4), %rdi
movq %r8, %r12
movq %r8, %rsi
callq 0x21b0
testl %eax, %eax
je 0xcc5b
incl %r13d
andl %r15d, %r13d
cmpl %ebp, %r13d
movq %r12, %r8
jne 0xcc1e
jmp 0xcc5e
movq %r12, %r8
movl %r13d, %eax
movl $0x1, %edx
movl %r13d, %ecx
shll %cl, %edx
shrl $0x5, %eax
movl (%rbx,%rax,4), %ecx
movb $0x1, %r15b
btl %r13d, %ecx
jb 0xcc97
movq 0x18(%r14), %rcx
movl %r13d, %esi
leaq (%rsi,%rsi,2), %rsi
movq %r8, (%rcx,%rsi,4)
movq 0x10(%r14), %rcx
orl %edx, (%rcx,%rax,4)
incl 0xc(%r14)
xorl %r15d, %r15d
movq 0x10(%rsp), %rbx
testb %r15b, %r15b
jne 0xccc6
movq 0x18(%r14), %rax
movl %r13d, %ecx
leaq (%rcx,%rcx,2), %rcx
movl %ebx, 0x8(%rax,%rcx,4)
movq 0x20(%rsp), %r15
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl 0xc941
jmp 0xcccd
callq 0x2ce6
jmp 0xccb0
movq %r14, 0x38(%r15)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq