// File: /workspace/github_c_makefile_star2_O3/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 $0x28, %rsp
movq %rdi, %r12
movl $0x1, %esi
movl $0x20, %edx
xorl %edi, %edi
callq 0x8344
movq %rax, %r14
movq $0x0, (%rax)
cmpl $0x0, (%r12)
jle 0xcf7f
xorl %ebp, %ebp
movq %r12, 0x10(%rsp)
movq 0x28(%r12), %rax
leaq (,%rbp,2), %rcx
addq %rbp, %rcx
movq 0x10(%rax,%rcx,8), %r8
movb (%r8), %cl
testb %cl, %cl
je 0xcc01
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 0xcbe2
imull $0xca549e3b, %esi, %eax # imm = 0xCA549E3B
movl %eax, (%rsp)
jmp 0xcc08
movl $0xdf8667de, (%rsp)     # imm = 0xDF8667DE
cmpq $0x0, 0x18(%r14)
je 0xcc1e
movb 0x8(%r14), %cl
movl $0x1, %r15d
shll %cl, %r15d
jmp 0xcc21
xorl %r15d, %r15d
movl 0xc(%r14), %eax
movl %r15d, %ecx
shrl %ecx
movl %r15d, %edx
shrl $0x2, %edx
addl %ecx, %edx
cmpl %edx, %eax
movq %rbp, 0x18(%rsp)
jae 0xcc47
movl 0x8(%r14), %ecx
movl %r15d, %eax
jmp 0xce6d
leal 0x1(%r15), %ecx
bsrl %ecx, %edx
cmpl $0x2, %ecx
movl $0x0, %esi
cmovbl %esi, %edx
andl %r15d, %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
jbe 0xcc93
movl 0x8(%r14), %ecx
movl $0x1, %eax
shll %cl, %eax
jmp 0xce6d
movl %ecx, 0x4(%rsp)
movq %r8, 0x20(%rsp)
movq (%r14), %rdi
movq %rbx, 0x8(%rsp)
shrl $0x3, %ebx
andl $-0x4, %ebx
cmpl $0x5, %edx
movl $0x4, %eax
cmovbl %eax, %ebx
movq %rbx, %rsi
callq 0x84a5
movq %rax, %r13
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2160
testq %r13, %r13
je 0xcf40
movq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0xccf2
movb 0x8(%r14), %cl
movl $0x1, %ebx
shll %cl, %ebx
cmpl 0x8(%rsp), %ebx
jb 0xccf4
jmp 0xcd1d
xorl %ebx, %ebx
movq (%r14), %rdi
movl $0xc, %edx
movl 0x4(%rsp), %ecx
shlq %cl, %rdx
callq 0x85ad
testq %rax, %rax
je 0xcf72
movq %rax, 0x18(%r14)
testl %ebx, %ebx
je 0xce4b
movq 0x8(%rsp), %rax
leal -0x1(%rax), %edi
movl $0x20, %eax
subl 0x4(%rsp), %eax
movl %ebx, %r8d
xorl %edx, %edx
movq 0x10(%r14), %r10
movl %edx, %esi
shrl $0x5, %esi
movl (%r10,%rsi,4), %ebx
movl $0x1, %ebp
movl %edx, %ecx
shll %cl, %ebp
btl %edx, %ebx
jae 0xce1c
movq 0x18(%r14), %rcx
leaq (%rdx,%rdx,2), %r9
movq (%rcx,%r9,4), %r11
movl 0x8(%rcx,%r9,4), %r12d
notl %ebp
andl %ebp, %ebx
movl %ebx, (%r10,%rsi,4)
movb (%r11), %sil
testb %sil, %sil
je 0xcd9b
leaq 0x1(%r11), %rcx
movl $0x811c9dce, %ebx       # imm = 0x811C9DCE
movzbl %sil, %ebp
xorl %ebx, %ebp
imull $0x1000193, %ebp, %ebx  # imm = 0x1000193
movb (%rcx), %sil
incq %rcx
testb %sil, %sil
jne 0xcd7c
imull $0xca549e3b, %ebp, %esi # imm = 0xCA549E3B
jmp 0xcda0
movl $0xdf8667de, %esi       # imm = 0xDF8667DE
movl %eax, %ecx
shrl %cl, %esi
movl %esi, %ebx
shrl $0x5, %ebx
movl (%r13,%rbx,4), %ebp
movl $0x1, %r15d
movl %esi, %ecx
shll %cl, %r15d
btl %esi, %ebp
jae 0xcdc4
incl %esi
andl %edi, %esi
jmp 0xcda4
orl %r15d, %ebp
movl %ebp, (%r13,%rbx,4)
cmpl %r8d, %esi
jae 0xce09
movq 0x18(%r14), %rcx
testl %r15d, (%r10,%rbx,4)
je 0xce0d
movl %esi, %esi
leaq (%rsi,%rsi,2), %rsi
movq (%rcx,%rsi,4), %rbp
movl 0x8(%rcx,%rsi,4), %r9d
movq %r11, (%rcx,%rsi,4)
movl %r12d, 0x8(%rcx,%rsi,4)
notl %r15d
movq 0x10(%r14), %r10
andl %r15d, (%r10,%rbx,4)
movl %r9d, %r12d
movq %rbp, %r11
jmp 0xcd6b
movq 0x18(%r14), %rcx
movl %esi, %esi
leaq (%rsi,%rsi,2), %rsi
movq %r11, (%rcx,%rsi,4)
movl %r12d, 0x8(%rcx,%rsi,4)
incq %rdx
cmpq %r8, %rdx
jne 0xcd33
cmpl 0x8(%rsp), %r8d
jbe 0xce4b
movq (%r14), %rdi
movq 0x18(%r14), %rsi
movl $0xc, %edx
movl 0x4(%rsp), %ecx
shlq %cl, %rdx
callq 0x85ad
movq %rax, 0x18(%r14)
movq (%r14), %rdi
movq 0x10(%r14), %rsi
callq 0x83df
movq %r13, 0x10(%r14)
movl 0x4(%rsp), %ecx
movl %ecx, 0x8(%r14)
movq 0x20(%rsp), %r8
movq 0x8(%rsp), %rax
negb %cl
movl (%rsp), %r12d
shrl %cl, %r12d
decl %eax
movq 0x10(%r14), %rcx
movq %rcx, 0x8(%rsp)
movl %r12d, (%rsp)
movl %r12d, %ebx
shrl $0x5, %ebx
movq 0x8(%rsp), %rcx
movl (%rcx,%rbx,4), %edx
movl $0x1, %r15d
movl %r12d, %ecx
shll %cl, %r15d
btl %r12d, %edx
jae 0xcefd
movl %edx, 0x4(%rsp)
movq %rax, %rbp
movq %r14, %r13
movq 0x18(%r14), %rax
movl %r12d, %ecx
leaq (%rcx,%rcx,2), %rcx
movq (%rax,%rcx,4), %rdi
movq %r8, %r14
movq %r8, %rsi
callq 0x21b0
testl %eax, %eax
je 0xcf03
incl %r12d
movq %rbp, %rax
andl %eax, %r12d
cmpl (%rsp), %r12d
movq %r14, %r8
movq %r13, %r14
jne 0xce85
movl (%rsp), %ecx
movl %ecx, %ebx
shrl $0x5, %ebx
movl $0x1, %r15d
shll %cl, %r15d
movq 0x8(%rsp), %rax
movl (%rax,%rbx,4), %edx
jmp 0xcf11
movl %r12d, (%rsp)
jmp 0xcf11
movl %r12d, (%rsp)
movq %r14, %r8
movq %r13, %r14
movl 0x4(%rsp), %edx
testl %edx, %r15d
jne 0xcf61
movq 0x18(%r14), %rax
movl (%rsp), %edx
movl %edx, %ecx
leaq (%rcx,%rcx,2), %rcx
movq %r8, (%rax,%rcx,4)
movq 0x10(%r14), %rax
orl %r15d, (%rax,%rbx,4)
incl 0xc(%r14)
movl %edx, %r15d
movq 0x10(%rsp), %r12
movq 0x18(%rsp), %rbp
movq 0x18(%r14), %rax
movl %r15d, %ecx
leaq (%rcx,%rcx,2), %rcx
movl %ebp, 0x8(%rax,%rcx,4)
incq %rbp
movslq (%r12), %rax
cmpq %rax, %rbp
jl 0xcbbd
jmp 0xcf7f
callq 0x2cbd
movq 0x10(%rsp), %r12
movq 0x18(%rsp), %rbp
jmp 0xcf4f
movq (%r14), %rdi
movq %r13, %rsi
callq 0x83df
jmp 0xcf40
movq %r14, 0x38(%r12)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq