// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/common.cpp
// Function: Common_sp::strMonth2num(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
size_t strMonth2num (const string& month)
{
  if (isDigit (month [0]))
  {
    const int m = str2<int> (month);
    ASSERT (m >= 1);
    ASSERT (m <= 12);
    return (size_t) (m - 1);
  }
  
	size_t i = no_index;
	     if (month == "Jan")  i = 0;
  else if (month == "Feb")  i = 1;
  else if (month == "Mar")  i = 2;
  else if (month == "Apr")  i = 3;
  else if (month == "May")  i = 4;
  else if (month == "Jun")  i = 5;
  else if (month == "Jul")  i = 6;
  else if (month == "Aug")  i = 7;
  else if (month == "Sep")  i = 8;
  else if (month == "Oct")  i = 9;
  else if (month == "Nov")  i = 10;
  else if (month == "Dec")  i = 11;
  else 
  	ERROR;
  	
  return i;
}

// Assembly:
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rdi, %rbx
movq (%rdi), %rax
movsbl (%rax), %edi
callq 0x3c2f6
testb %al, %al
je 0x2727f
movq %rbx, %rdi
callq 0x3c4f4
movl %eax, %ebx
callq 0xb060
andl $0x0, (%rax)
testl %ebx, %ebx
jle 0x273b4
cmpl $0xd, %ebx
jae 0x27488
decl %ebx
jmp 0x273a8
leaq 0x34db0(%rip), %rsi     # 0x5c036
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x27299
xorl %ebx, %ebx
jmp 0x273a8
leaq 0x34d9a(%rip), %rsi     # 0x5c03a
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x272b3
pushq $0x1
jmp 0x273a7
leaq 0x34d84(%rip), %rsi     # 0x5c03e
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x272cd
pushq $0x2
jmp 0x273a7
leaq 0x34d6e(%rip), %rsi     # 0x5c042
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x272e7
pushq $0x3
jmp 0x273a7
leaq 0x34d58(%rip), %rsi     # 0x5c046
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x27301
pushq $0x4
jmp 0x273a7
leaq 0x34d42(%rip), %rsi     # 0x5c04a
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x2731b
pushq $0x5
jmp 0x273a7
leaq 0x34d2c(%rip), %rsi     # 0x5c04e
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x27332
pushq $0x6
jmp 0x273a7
leaq 0x34d19(%rip), %rsi     # 0x5c052
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x27349
pushq $0x7
jmp 0x273a7
leaq 0x34d06(%rip), %rsi     # 0x5c056
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x27360
pushq $0x8
jmp 0x273a7
leaq 0x34cf3(%rip), %rsi     # 0x5c05a
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x27377
pushq $0x9
jmp 0x273a7
leaq 0x34ce0(%rip), %rsi     # 0x5c05e
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x2738e
pushq $0xa
jmp 0x273a7
leaq 0x34ccd(%rip), %rsi     # 0x5c062
movq %rbx, %rdi
callq 0x1cba2
testb %al, %al
je 0x2755c
pushq $0xb
popq %rbx
movq %rbx, %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
retq
callq 0xb6c0
testl %eax, %eax
jne 0x27630
leaq 0x34579(%rip), %rsi     # 0x5b941
leaq 0x70(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0x50(%rsp), %rdi
movl $0x5e6, %esi            # imm = 0x5E6
callq 0x1caa3
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x1ca3c
leaq 0x327df(%rip), %rdx     # 0x59be3
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x1b92d
leaq 0x34bd8(%rip), %rsi     # 0x5bff8
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x34508(%rip), %rdx     # 0x5b93e
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1b92d
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x1ca3c
leaq 0x34bc1(%rip), %rdx     # 0x5c027
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x1b92d
leaq 0xf0(%rsp), %rdi
callq 0x224fc
callq 0xb6c0
testl %eax, %eax
jne 0x27630
leaq 0x344a5(%rip), %rsi     # 0x5b941
leaq 0x70(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0x50(%rsp), %rdi
movl $0x5e7, %esi            # imm = 0x5E7
callq 0x1caa3
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x1ca3c
leaq 0x3270b(%rip), %rdx     # 0x59be3
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x1b92d
leaq 0x34b04(%rip), %rsi     # 0x5bff8
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x34434(%rip), %rdx     # 0x5b93e
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1b92d
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x1ca3c
leaq 0x34af4(%rip), %rdx     # 0x5c02e
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x1b92d
leaq 0xf0(%rsp), %rdi
callq 0x224fc
callq 0xb6c0
testl %eax, %eax
jne 0x27630
leaq 0x343d1(%rip), %rsi     # 0x5b941
leaq 0x70(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0x50(%rsp), %rdi
movl $0x5f9, %esi            # imm = 0x5F9
callq 0x1caa3
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x1ca3c
leaq 0x32637(%rip), %rdx     # 0x59be3
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x1b92d
leaq 0x34a30(%rip), %rsi     # 0x5bff8
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x34360(%rip), %rdx     # 0x5b93e
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1b92d
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x1ca3c
leaq 0x34a58(%rip), %rdx     # 0x5c066
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x1b92d
leaq 0xf0(%rsp), %rdi
callq 0x224fc
pushq $0x1
popq %rdi
callq 0xb6d0
jmp 0x27654
jmp 0x27666
jmp 0x2767a
jmp 0x2768b
jmp 0x2769c
jmp 0x276b0
jmp 0x276c4
jmp 0x276d5
jmp 0x276e6
jmp 0x27654
jmp 0x27666
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0xbb68
jmp 0x27669
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0xbb68
jmp 0x2767d
jmp 0x2767a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xbb68
jmp 0x2768e
jmp 0x2768b
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xbb68
jmp 0x2769f
jmp 0x2769c
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0xbb68
jmp 0x276b3
jmp 0x276b0
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0xbb68
jmp 0x276c7
jmp 0x276c4
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xbb68
jmp 0x276d8
jmp 0x276d5
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xbb68
jmp 0x276e9
jmp 0x276e6
movq %rax, %rbx
movq %rbx, %rdi
callq 0xba30