// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/common.cpp
// Function: Common_sp::getChar(std::istream&, char&)
bool getChar (istream &is,
              char &c)
{
  QC_ASSERT (is. good ());

  const int i = is. get ();
  c = EOF;
  if (i == c)
  {
    QC_ASSERT (is. eof ());
    return false;
  }
  if (! (i >= 0 && i <= 255))
    throw runtime_error (FUNC "Cannot read character: " + to_string (i));
  c = static_cast<char> (i);

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rsi, %r14
movq %rdi, %r15
callq 0xb060
movq %rax, %r12
andl $0x0, (%rax)
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r15,%rax)
jne 0x27772
movq %r15, %rdi
callq 0xb6b0
movl %eax, %ebx
movb $-0x1, (%r14)
cmpl $-0x1, %eax
je 0x27744
cmpl $0x100, %ebx            # imm = 0x100
jae 0x27846
movb %bl, (%r14)
jmp 0x2775c
andl $0x0, (%r12)
movq (%r15), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%r15,%rax)
je 0x278c8
cmpl $-0x1, %ebx
setne %al
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6c0
testl %eax, %eax
jne 0x2799c
leaq 0x341bb(%rip), %rsi     # 0x5b941
leaq 0x90(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0xf0(%rsp), %rdi
movl $0x606, %esi            # imm = 0x606
callq 0x1caa3
leaq 0x10(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0xf0(%rsp), %rdx
callq 0x1ca3c
leaq 0x32418(%rip), %rdx     # 0x59be3
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1b92d
leaq 0x3488b(%rip), %rsi     # 0x5c06c
leaq 0xb0(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x34144(%rip), %rdx     # 0x5b93e
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x1b92d
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0xd0(%rsp), %rdx
callq 0x1ca3c
leaq 0x3486a(%rip), %rdx     # 0x5c097
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1b92d
leaq 0x70(%rsp), %rdi
callq 0x224fc
pushq $0x10
popq %rdi
callq 0xb300
movq %rax, %r14
leaq 0x34814(%rip), %rsi     # 0x5c06c
leaq 0x30(%rsp), %rdi
leaq 0x90(%rsp), %rdx
callq 0x1b7b6
leaq 0x3483d(%rip), %rdx     # 0x5c0ae
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x1b92d
leaq 0x10(%rsp), %rdi
movl %ebx, %esi
callq 0x1caa3
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x1ca3c
movb $0x1, %bpl
leaq 0x70(%rsp), %rsi
movq %r14, %rdi
callq 0xb940
xorl %ebp, %ebp
movq 0x5c72f(%rip), %rsi     # 0x83fe8
movq 0x5c6a0(%rip), %rdx     # 0x83f60
movq %r14, %rdi
callq 0xb9d0
callq 0xb6c0
testl %eax, %eax
jne 0x2799c
leaq 0x34065(%rip), %rsi     # 0x5b941
leaq 0x90(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0xf0(%rsp), %rdi
movl $0x60c, %esi            # imm = 0x60C
callq 0x1caa3
leaq 0x10(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0xf0(%rsp), %rdx
callq 0x1ca3c
leaq 0x322c2(%rip), %rdx     # 0x59be3
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1b92d
leaq 0x34735(%rip), %rsi     # 0x5c06c
leaq 0xb0(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x33fee(%rip), %rdx     # 0x5b93e
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x1b92d
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0xd0(%rsp), %rdx
callq 0x1ca3c
leaq 0x34720(%rip), %rdx     # 0x5c0a3
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1b92d
leaq 0x70(%rsp), %rdi
callq 0x224fc
pushq $0x1
popq %rdi
callq 0xb6d0
jmp 0x279aa
jmp 0x279b9
jmp 0x279ca
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xbb68
jmp 0x279bc
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xbb68
jmp 0x279cd
jmp 0x279de
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0xbb68
jmp 0x279e1
jmp 0x279f2
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0xbb68
jmp 0x279f5
jmp 0x27a03
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xbb68
jmp 0x27a06
jmp 0x27a35
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xbb68
jmp 0x27a38
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xbb68
jmp 0x27a27
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x10(%rsp), %rdi
callq 0xbb68
jmp 0x27a4d
jmp 0x27a5b
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0xbb68
jmp 0x27a5e
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x50(%rsp), %rdi
callq 0xbb68
jmp 0x27a73
jmp 0x27a84
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0xbb68
jmp 0x27a94
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0xbb68
testb %bpl, %bpl
jne 0x27a8c
jmp 0x27a94
movq %rax, %rbx
jmp 0x27a94
movq %rax, %rbx
movq %r14, %rdi
callq 0xb470
movq %rbx, %rdi
callq 0xba30