// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/seq.cpp
// Function: Seq_sp::alphabet2Pos(char const*, char)
size_t alphabet2Pos (const char* alphabet,
                     char        c)
{ 
  ASSERT (alphabet);
  
  if (const char* s = strchr (alphabet, c))
    return (size_t) (s - alphabet);
  
  throw runtime_error (FUNC "Bad character " + string (1, c) + " for alphabet: " + alphabet);;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %esi, %ebp
movq %rdi, %rbx
callq 0xb070
movl $0x0, (%rax)
testq %rbx, %rbx
je 0x6abb2
movsbl %bpl, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xb230
testq %rax, %rax
je 0x6ac4b
subq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6b0
testl %eax, %eax
jne 0x6acb6
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2d490(%rip), %rsi     # 0x98062
leaq 0x2d499(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x45, %esi
callq 0xe1a8
leaq 0x48(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x285b8(%rip), %rsi     # 0x931d1
leaq 0x48(%rsp), %rdi
callq 0xbb10
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6ad59
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x6ad66
movl $0x10, %edi
callq 0xb2d0
movq %rax, %r14
leaq 0x98(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2d408(%rip), %rsi     # 0x98073
leaq 0x2d430(%rip), %rdx     # 0x980a2
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0x2d426(%rip), %rsi     # 0x980ac
leaq 0x88(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6acc0
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x6accd
movl $0x1, %edi
callq 0xb6d0
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xa8(%rsp), %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0xb670
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x2d39a(%rip), %rsi     # 0x980bd
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6ade6
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x6adf3
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2d2e1(%rip), %rsi     # 0x98073
leaq 0x2d309(%rip), %rdx     # 0x980a2
leaq 0xe8(%rsp), %rdi
callq 0xdc76
leaq 0x28b04(%rip), %rsi     # 0x938b1
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0xd8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6ae88
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x6ae9b
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rsi
callq 0xbb10
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6ae3c
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x6ae49
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %r14, %rdi
callq 0xb960
xorl %ebp, %ebp
movq 0x4e177(%rip), %rsi     # 0xb8ff0
movq 0x4e0f0(%rip), %rdx     # 0xb8f70
movq %r14, %rdi
callq 0xba00
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
movq 0x8(%rax), %rsi
leaq 0xc8(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0xe100
leaq 0x2d1d3(%rip), %rsi     # 0x980a3
leaq 0x28(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6aefb
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x6af08
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1151b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6af48
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6af48
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6af68
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6af68
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6af8a
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6af8a
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x6aff1
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6aff1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6afd0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6afd0
movq %rax, %rbx
movb $0x1, %bpl
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x6b010
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b010
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x6b030
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b030
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b053
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b053
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b075
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b075
movq %rax, %rbx
movb $0x1, %bpl
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6b09e
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b09e
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b0ba
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b0ba
movq %rax, %rbx
movb $0x1, %bpl
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x6b0df
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b0df
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x6b116
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b116
movq %rax, %rbx
movb $0x1, %bpl
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x6b109
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6b109
movq %rax, %rbx
jmp 0x6b116
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x6b116
movq %r14, %rdi
callq 0xb440
movq %rbx, %rdi
callq 0xba60