// File: /workspace/github_c_makefile_star2_O2/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 $0x58, %rsp
movq %rdi, %rbx
xorl %r14d, %r14d
pushq $0x1
popq %rsi
pushq $0x20
popq %rdx
xorl %edi, %edi
callq 0x72e4
movq %rax, %r8
andq $0x0, (%rax)
pushq $0x1
popq %rbp
movq %rbx, 0x28(%rsp)
movq %rax, 0x10(%rsp)
movslq (%rbx), %rax
cmpq %rax, %r14
jge 0xb73a
movq 0x28(%rbx), %rax
imulq $0x18, %r14, %rcx
movq 0x10(%rax,%rcx), %rdi
movq %rdi, 0x48(%rsp)
callq 0xbb35
movq 0x10(%rsp), %r8
cmpq $0x0, 0x18(%r8)
je 0xb3be
movb 0x8(%r8), %cl
movl %ebp, %r13d
shll %cl, %r13d
jmp 0xb3c1
xorl %r13d, %r13d
movl 0xc(%r8), %edi
movl %r13d, %ecx
shrl %ecx
movl %r13d, %edx
shrl $0x2, %edx
addl %ecx, %edx
cmpl %edx, %edi
movq %r14, 0x38(%rsp)
jae 0xb3e7
movl 0x8(%r8), %ecx
movl %r13d, %r15d
jmp 0xb60d
leal 0x1(%r13), %ecx
xorl %edx, %edx
movl %ecx, %esi
cmpl $0x2, %esi
jb 0xb3fa
shrl %esi
incl %edx
jmp 0xb3ef
leal -0x1(%rcx), %esi
andl %ecx, %esi
cmpl $0x1, %esi
sbbl $-0x1, %edx
cmpl $0x3, %edx
pushq $0x2
popq %rcx
cmovael %edx, %ecx
movl %ebp, %r12d
shll %cl, %r12d
movl %r12d, %r9d
shrl %r9d
movl %r12d, %esi
shrl $0x2, %esi
addl %r9d, %esi
cmpl %esi, %edi
jbe 0xb436
movl 0x8(%r8), %ecx
movl %ebp, %r15d
shll %cl, %r15d
jmp 0xb60d
movl %ecx, 0xc(%rsp)
movl %eax, 0x44(%rsp)
movq (%r8), %rdi
movq %r12, 0x30(%rsp)
shrl $0x3, %r12d
andl $-0x4, %r12d
cmpl $0x5, %edx
pushq $0x4
popq %rax
cmovbl %eax, %r12d
movq %r12, %rsi
movq %r8, %r15
callq 0x7460
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x2160
testq %rbx, %rbx
je 0xb49a
movq 0x18(%r15), %rsi
testq %rsi, %rsi
movq %r15, %r9
je 0xb4a4
movb 0x8(%r9), %cl
movl %ebp, %r14d
shll %cl, %r14d
movq 0x30(%rsp), %r12
cmpl %r12d, %r14d
jb 0xb4ac
jmp 0xb4d1
movq 0x28(%rsp), %rbx
jmp 0xb735
xorl %r14d, %r14d
movq 0x30(%rsp), %r12
movq (%r9), %rdi
pushq $0xc
popq %rdx
movl 0xc(%rsp), %ecx
shlq %cl, %rdx
movq %r9, %r15
callq 0x7568
testq %rax, %rax
je 0xb720
movq %rax, 0x18(%r15)
movq %r15, %r9
decl %r12d
pushq $0x20
popq %rax
subl 0xc(%rsp), %eax
movl %eax, 0x1c(%rsp)
movl %r14d, %eax
movq %rax, 0x20(%rsp)
xorl %ecx, %ecx
cmpq 0x20(%rsp), %rcx
je 0xb5c1
movq 0x10(%r9), %r14
movl %ecx, %eax
shrl $0x5, %eax
movl (%r14,%rax,4), %edx
movl %ebp, %esi
shll %cl, %esi
btl %ecx, %edx
jae 0xb5b9
movq 0x18(%r9), %r8
movq %rcx, 0x50(%rsp)
imulq $0xc, %rcx, %rdi
movq (%r8,%rdi), %r13
movl 0x8(%r8,%rdi), %r15d
notl %esi
andl %esi, %edx
movl %edx, (%r14,%rax,4)
movq %r13, %rdi
callq 0xbb35
imull $0x9e3779b9, %eax, %eax # imm = 0x9E3779B9
movl 0x1c(%rsp), %ecx
shrl %cl, %eax
movl %eax, %edx
shrl $0x5, %edx
movl (%rbx,%rdx,4), %edi
movl %ebp, %esi
movl %eax, %ecx
shll %cl, %esi
btl %eax, %edi
jae 0xb55a
incl %eax
andl %r12d, %eax
jmp 0xb540
orl %esi, %edi
movl %edi, (%rbx,%rdx,4)
movl %eax, %ecx
cmpl 0x20(%rsp), %eax
jae 0xb59e
movq 0x10(%rsp), %r9
movq 0x18(%r9), %rax
testl %esi, (%r14,%rdx,4)
je 0xb5a7
imulq $0xc, %rcx, %rcx
movq (%rax,%rcx), %rdi
movl 0x8(%rax,%rcx), %r8d
movq %r13, (%rax,%rcx)
movl %r15d, 0x8(%rax,%rcx)
notl %esi
movq 0x10(%r9), %r14
andl %esi, (%r14,%rdx,4)
movl %r8d, %r15d
movq %rdi, %r13
jmp 0xb52c
movq 0x10(%rsp), %r9
movq 0x18(%r9), %rax
imulq $0xc, %rcx, %rcx
movq %r13, (%rax,%rcx)
movl %r15d, 0x8(%rax,%rcx)
movq 0x50(%rsp), %rcx
incq %rcx
jmp 0xb4e9
movq 0x30(%rsp), %r15
cmpl %r15d, 0x20(%rsp)
jbe 0xb5ec
movq (%r9), %rdi
movq 0x18(%r9), %rsi
pushq $0xc
popq %rdx
movl 0xc(%rsp), %ecx
shlq %cl, %rdx
callq 0x7568
movq 0x10(%rsp), %r9
movq %rax, 0x18(%r9)
movq (%r9), %rdi
movq 0x10(%r9), %rsi
callq 0x736b
movq 0x10(%rsp), %r8
movq %rbx, 0x10(%r8)
movl 0xc(%rsp), %ecx
movl %ecx, 0x8(%r8)
movl 0x44(%rsp), %eax
imull $0x9e3779b9, %eax, %r13d # imm = 0x9E3779B9
negb %cl
shrl %cl, %r13d
decl %r15d
movq 0x10(%r8), %rax
movq %rax, 0x20(%rsp)
movl %r13d, %ebx
movq %r13, %r14
movq %r15, %r13
movl %ebx, %r15d
shrl $0x5, %r15d
movq 0x20(%rsp), %rax
movl (%rax,%r15,4), %eax
movl %ebp, %r12d
movl %ebx, %ecx
shll %cl, %r12d
btl %ebx, %eax
jae 0xb69b
movl %eax, 0x1c(%rsp)
movq 0x18(%r8), %rax
movl %ebx, %ecx
imulq $0xc, %rcx, %rcx
movq (%rax,%rcx), %rdi
movq 0x48(%rsp), %rsi
callq 0x21c0
testl %eax, %eax
je 0xb6a5
incl %ebx
movq %r13, %r15
andl %r15d, %ebx
movq %r14, %r13
cmpl %r13d, %ebx
movq 0x10(%rsp), %r8
jne 0xb628
movl %r13d, %r15d
shrl $0x5, %r15d
movl %ebp, %r12d
movl %r13d, %ecx
shll %cl, %r12d
movq 0x20(%rsp), %rax
movl (%rax,%r15,4), %eax
jmp 0xb69e
movl %ebx, %r13d
movq 0x28(%rsp), %rbx
jmp 0xb6b6
movl %ebx, %r13d
movq 0x28(%rsp), %rbx
movq 0x10(%rsp), %r8
movl 0x1c(%rsp), %eax
testl %eax, %r12d
jne 0xb6f8
movq 0x18(%r8), %rax
movl %r13d, %ecx
imulq $0xc, %rcx, %rcx
movq 0x48(%rsp), %rdx
movq %rdx, (%rax,%rcx)
movq 0x10(%r8), %rax
orl %r12d, (%rax,%r15,4)
incl 0xc(%r8)
movq 0x38(%rsp), %r14
movq 0x18(%r8), %rax
movl %r13d, %ecx
imulq $0xc, %rcx, %rcx
movl %r14d, 0x8(%rax,%rcx)
incq %r14
jmp 0xb383
movq 0xc8f1(%rip), %rax      # 0x17ff0
movq (%rax), %rcx
leaq 0x775a(%rip), %rdi      # 0x12e63
pushq $0x1f
popq %rsi
pushq $0x1
popq %rdx
callq 0x2300
movq 0x10(%rsp), %r8
movq 0x38(%rsp), %r14
jmp 0xb6f0
movq (%r15), %rdi
movq %rbx, %rsi
callq 0x736b
movq 0x28(%rsp), %rbx
movq 0x38(%rsp), %r14
movq %r15, %r8
jmp 0xb6e0
movq %r8, 0x38(%rbx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq