// File: /workspace/github_cpp_makefile_star2_O3/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 0x6aa1e
movsbl %bpl, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xb230
testq %rax, %rax
je 0x6aab1
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 0x6ab13
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2d617(%rip), %rsi     # 0x98052
leaq 0x2d620(%rip), %rdx     # 0x98062
leaq 0x28(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x45, %esi
callq 0xe1b2
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe10a
leaq 0x28755(%rip), %rsi     # 0x931d1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x98(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6abbc
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x6abcf
movl $0x10, %edi
callq 0xb2d0
movq %rax, %r14
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2d595(%rip), %rsi     # 0x98063
leaq 0x2d5bd(%rip), %rdx     # 0x98092
leaq 0x28(%rsp), %rdi
callq 0xdc76
leaq 0x2d5b6(%rip), %rsi     # 0x9809c
leaq 0x28(%rsp), %rdi
callq 0xbb10
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6ab1d
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x6ab2a
movl $0x1, %edi
callq 0xb6d0
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 0xb8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xa8(%rsp), %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0xb670
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe10a
leaq 0x2d52a(%rip), %rsi     # 0x980ad
leaq 0x88(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6ac52
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x6ac5f
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2d465(%rip), %rsi     # 0x98063
leaq 0x2d48d(%rip), %rdx     # 0x98092
leaq 0xe8(%rsp), %rdi
callq 0xdc76
leaq 0x28c98(%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 0x6acf4
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x6ad07
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%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 0x6aca8
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x6acb5
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 0x4e30b(%rip), %rsi     # 0xb8ff0
movq 0x4e284(%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 0x48(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe10a
leaq 0x2d354(%rip), %rsi     # 0x98093
leaq 0x48(%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 0x6ad6a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x6ad77
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 0x1155a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6adb7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6adb7
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6add7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6add7
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6adf9
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6adf9
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x6ae60
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6ae60
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6ae3f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6ae3f
movq %rax, %rbx
movb $0x1, %bpl
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x6ae85
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6ae85
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x6aeab
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6aeab
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6aece
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6aece
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6aef0
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6aef0
movq %rax, %rbx
movb $0x1, %bpl
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6af19
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6af19
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6af51
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6af51
movq %rax, %rbx
movb $0x1, %bpl
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x6af30
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x6af47
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
testb %bpl, %bpl
jne 0x6af8e
jmp 0x6af96
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x6af96
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6af96
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x6af8e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x6af8e
movq %rax, %rbx
jmp 0x6af96
movq %rax, %rbx
movq %r14, %rdi
callq 0xb440
movq %rbx, %rdi
callq 0xba60