// File: /workspace/github_cpp_makefile_star2_O3/ncbi[P]amr/common.cpp
// Function: Common_sp::IFStream::IFStream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
IFStream::IFStream (const string &pathName)
{ 
  switch (getFiletype (pathName, true))
  {
    case Filetype::none: throw runtime_error ("Cannot open " + shellQuote (pathName));
    case Filetype::disk: throw runtime_error ("Cannot open a disk as a file: " + shellQuote (pathName));
    case Filetype::dir:  throw runtime_error ("Cannot open a directory as a file: " + shellQuote (pathName));
    case Filetype::link: ERROR; break;
    default: break;
  }
	open (pathName);
  if (! good ())
    throw runtime_error ("Cannot open file " + shellQuote (pathName));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rsi, %r15
movq %rdi, %r14
leaq 0x100(%rdi), %rbx
movq %rbx, %rdi
callq 0xa170
movq 0x63a01(%rip), %rax     # 0xaff20
addq $0x10, %rax
movq %rax, 0x100(%r14)
movq $0x0, 0x1d8(%r14)
movw $0x0, 0x1e0(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x1e8(%r14)
movups %xmm0, 0x1f8(%r14)
leaq 0x6261f(%rip), %rsi     # 0xaeb78
movq %r14, %rdi
callq 0xa060
leaq 0x625d0(%rip), %rax     # 0xaeb38
movq %rax, (%r14)
leaq 0x625ee(%rip), %rax     # 0xaeb60
movq %rax, 0x100(%r14)
movq %r15, %rdi
movl $0x1, %esi
callq 0x39cfe
cmpl $0x6, %eax
ja 0x4c59d
movl %eax, %eax
leaq 0x400ac(%rip), %rcx     # 0x8c640
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0xa4e0
movq (%r14), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r14,%rax)
jne 0x4c802
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xa6b0
testl %eax, %eax
jne 0x4c879
leaq 0x138(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x40343(%rip), %rsi     # 0x8c936
leaq 0x4034f(%rip), %rdx     # 0x8c949
leaq 0x128(%rsp), %rdi
callq 0x2fa1a
leaq 0x148(%rsp), %rdi
movl $0xb6a, %esi            # imm = 0xB6A
callq 0x2d1fa
leaq 0x168(%rsp), %rdi
leaq 0x128(%rsp), %rsi
leaq 0x148(%rsp), %rdx
callq 0x2d152
leaq 0x3e5a8(%rip), %rsi     # 0x8abe5
leaq 0x168(%rsp), %rdi
callq 0xaac0
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4c883
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x4c896
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r12
leaq 0xd8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0x2c212
leaq 0x28(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x2cac1
leaq 0x41457(%rip), %rsi     # 0x8db16
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2bbf7
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x63901(%rip), %rsi     # 0xaffe8
movq 0x63872(%rip), %rdx     # 0xaff60
movq %r12, %rdi
callq 0xa9b0
jmp 0x4c879
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r12
leaq 0xb8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %rdi
callq 0x2c212
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x2cac1
leaq 0x413f1(%rip), %rsi     # 0x8db35
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2bbf7
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x6387c(%rip), %rsi     # 0xaffe8
movq 0x637ed(%rip), %rdx     # 0xaff60
movq %r12, %rdi
callq 0xa9b0
jmp 0x4c879
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r12
leaq 0xf8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0x2c212
leaq 0x28(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x2cac1
leaq 0x41340(%rip), %rsi     # 0x8db09
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2bbf7
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x637f7(%rip), %rsi     # 0xaffe8
movq 0x63768(%rip), %rdx     # 0xaff60
movq %r12, %rdi
callq 0xa9b0
jmp 0x4c879
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r12
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x2c212
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x2cac1
leaq 0x403e4(%rip), %rsi     # 0x8cc26
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2bbf7
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x6377e(%rip), %rsi     # 0xaffe8
movq 0x636ef(%rip), %rdx     # 0xaff60
movq %r12, %rdi
callq 0xa9b0
movl $0x1, %edi
callq 0xa6c0
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 0x118(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x41295(%rip), %rsi     # 0x8db59
leaq 0x412bb(%rip), %rdx     # 0x8db86
leaq 0x108(%rsp), %rdi
callq 0x2fa1a
leaq 0x40054(%rip), %rsi     # 0x8c933
leaq 0x108(%rsp), %rdi
callq 0xaac0
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4c911
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x4c91e
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rsi
leaq 0x48(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x2d152
leaq 0x40708(%rip), %rsi     # 0x8d05b
leaq 0x28(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4c982
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x4c98f
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 0x34fa2
movq %rax, %r15
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4c9d4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4c9d4
movq %rax, %r15
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c9f4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4c9f4
movq %rax, %r15
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x4ca15
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ca15
movq %rax, %r15
movq 0x108(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4ca37
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ca37
movq %rax, %r15
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ca59
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ca59
movq %rax, %r15
leaq 0x178(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ca7f
movq 0x178(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ca7f
movq %rax, %r15
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cc28
movq 0x158(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4cc28
movq %rax, %r15
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cacf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4cacf
movq %rax, %r15
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4caea
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4cc17
movq 0x78(%rsp), %rsi
jmp 0x4cc0f
movq %rax, %r15
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cb28
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4cb28
movq %rax, %r15
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cb43
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0xe8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4cc17
movq 0xf8(%rsp), %rsi
jmp 0x4cc0f
movq %rax, %r15
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cb87
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4cb87
movq %rax, %r15
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cba2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4cc17
movq 0xb8(%rsp), %rsi
jmp 0x4cc0f
movq %rax, %r15
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cbdf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4cbdf
movq %rax, %r15
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cbfa
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4cc17
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %bpl, %bpl
jne 0x4ccc3
jmp 0x4ccd5
movq %rax, %r15
movq 0x128(%rsp), %rdi
cmpq %r12, %rdi
je 0x4ccd5
movq 0x138(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ccd5
movq %rax, %r15
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ccc3
movq 0x78(%rsp), %rsi
jmp 0x4ccae
movq %rax, %r15
movq 0xe8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ccc3
movq 0xf8(%rsp), %rsi
jmp 0x4ccae
movq %rax, %r15
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ccc3
movq 0xb8(%rsp), %rsi
jmp 0x4ccae
movq %rax, %r15
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ccc3
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ccc3
jmp 0x4ccd2
jmp 0x4ccc0
jmp 0x4ccc0
jmp 0x4ccc0
movq %rax, %r15
movq %r12, %rdi
callq 0xa440
jmp 0x4ccd5
movq %rax, %r15
jmp 0x4cce4
movq %rax, %r15
leaq 0x61e9c(%rip), %rsi     # 0xaeb78
movq %r14, %rdi
callq 0xaaa0
movq %rbx, %rdi
callq 0xa1c0
movq %r15, %rdi
callq 0xaa10