// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movl %esi, %ebx
movq %rdi, %r14
callq 0xc070
andl $0x0, (%rax)
testq %r14, %r14
je 0x474e2
movsbl %bl, %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0xc250
testq %rax, %rax
je 0x475b4
subq %r14, %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %rbp
retq
callq 0xc6d0
testl %eax, %eax
jne 0x47676
leaq 0x1bb1c(%rip), %rsi     # 0x63012
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xdbbe
leaq 0x10(%rsp), %rdi
pushq $0x45
popq %rsi
callq 0xe2d5
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0xe26e
leaq 0x16ca4(%rip), %rdx     # 0x5e1d1
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0xe24f
leaq 0x1bae0(%rip), %rsi     # 0x63023
leaq 0xf0(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0xdbbe
leaq 0x17370(%rip), %rdx     # 0x5e8cc
leaq 0xd0(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0xe24f
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0xd0(%rsp), %rdx
callq 0xe26e
leaq 0x1bac1(%rip), %rdx     # 0x63053
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0xe24f
leaq 0xb0(%rsp), %rdi
callq 0x101d0
pushq $0x10
popq %rdi
callq 0xc310
movq %rax, %rbx
leaq 0x1ba5d(%rip), %rsi     # 0x63023
leaq 0x30(%rsp), %rdi
leaq 0xd0(%rsp), %rdx
callq 0xdbbe
leaq 0x1ba7d(%rip), %rdx     # 0x6305c
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0xe24f
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rsi
movl %ebp, %edx
callq 0xc680
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0xe26e
leaq 0x1ba4c(%rip), %rdx     # 0x6306d
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0xe24f
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movq %r14, %rdx
callq 0xe24f
movb $0x1, %bpl
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
callq 0xc990
xorl %ebp, %ebp
movq 0x41989(%rip), %rsi     # 0x88ff0
movq 0x418fa(%rip), %rdx     # 0x88f68
movq %rbx, %rdi
callq 0xca40
pushq $0x1
popq %rdi
callq 0xc6f0
movq %rax, %r14
leaq 0xb0(%rsp), %rdi
callq 0xcbe8
jmp 0x47693
movq %rax, %r14
leaq 0x90(%rsp), %rdi
callq 0xcbe8
jmp 0x476a5
movq %rax, %r14
leaq 0xd0(%rsp), %rdi
callq 0xcbe8
jmp 0x476b7
movq %rax, %r14
leaq 0xf0(%rsp), %rdi
callq 0xcbe8
jmp 0x476f0
movq %rax, %r14
leaq 0xb0(%rsp), %rdi
callq 0xcbe8
jmp 0x476de
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rdi
callq 0xcbe8
jmp 0x47702
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0xcbe8
jmp 0x47711
movq %rax, %r14
movb $0x1, %bpl
leaq 0x70(%rsp), %rdi
callq 0xcbe8
jmp 0x47723
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0xcbe8
jmp 0x47732
movq %rax, %r14
movb $0x1, %bpl
leaq 0x10(%rsp), %rdi
callq 0xcbe8
jmp 0x47744
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0xcbe8
jmp 0x47753
movq %rax, %r14
movb $0x1, %bpl
leaq 0x50(%rsp), %rdi
callq 0xcbe8
jmp 0x47765
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0xcbe8
jmp 0x47786
movq %rax, %r14
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0xcbe8
testb %bpl, %bpl
jne 0x4777e
jmp 0x47786
movq %rax, %r14
jmp 0x47786
movq %rax, %r14
movq %rbx, %rdi
callq 0xc470
movq %r14, %rdi
callq 0xcaa0