// File: ncbi[P]amr/common.cpp
// Function: Common_sp::filetype2name[abi:cxx11](Common_sp::Filetype)
string filetype2name (Filetype t)
{
  switch (t)
  {
    case Filetype::none:     return "none";
    case Filetype::dir:      return "dir";
    case Filetype::terminal: return "terminal";
    case Filetype::disk:     return "disk";      
    case Filetype::file:     return "file";
    case Filetype::pipe:     return "pipe";
    case Filetype::link:     return "link";
    case Filetype::socket:   return "socket";
    default:
      NEVER_CALL;
  }
}

// Assembly:
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdi, 0x58(%rsp)
movq %rdi, %rax
movq %rax, 0x60(%rsp)
movq %rdi, 0x1a0(%rsp)
movl %esi, 0x19c(%rsp)
movl 0x19c(%rsp), %eax
movq %rax, 0x68(%rsp)
subq $0x7, %rax
ja 0x45b1e
movq 0x68(%rsp), %rax
leaq 0x87df3(%rip), %rcx     # 0xcd5f8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x19b(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rdx
leaq 0x88610(%rip), %rsi     # 0xcde41
callq 0x29fd0
jmp 0x45838
leaq 0x19b(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x19b(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
leaq 0x18b(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x48(%rsp), %rdx
leaq 0x87014(%rip), %rsi     # 0xcc8a7
callq 0x29fd0
jmp 0x4589a
leaq 0x18b(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x18b(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
leaq 0x18a(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x40(%rsp), %rdx
leaq 0x88551(%rip), %rsi     # 0xcde46
callq 0x29fd0
jmp 0x458fc
leaq 0x18a(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x18a(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
leaq 0x189(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x38(%rsp), %rdx
leaq 0x884f8(%rip), %rsi     # 0xcde4f
callq 0x29fd0
jmp 0x4595e
leaq 0x189(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x189(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
leaq 0x188(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x30(%rsp), %rdx
leaq 0x891af(%rip), %rsi     # 0xceb68
callq 0x29fd0
jmp 0x459c0
leaq 0x188(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x188(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
leaq 0x187(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x28(%rsp), %rdx
leaq 0x89cf4(%rip), %rsi     # 0xcf70f
callq 0x29fd0
jmp 0x45a22
leaq 0x187(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x187(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
leaq 0x186(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0x883d7(%rip), %rsi     # 0xcde54
callq 0x29fd0
jmp 0x45a84
leaq 0x186(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x186(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
leaq 0x185(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0xcd00
movq 0x58(%rsp), %rdi
movq 0x18(%rsp), %rdx
leaq 0x8837a(%rip), %rsi     # 0xcde59
callq 0x29fd0
jmp 0x45ae6
leaq 0x185(%rsp), %rdi
callq 0xc7a0
jmp 0x45d93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x185(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
callq 0xc8c0
cmpl $0x0, %eax
jne 0x45d89
leaq 0xdf(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xcd00
movq 0x10(%rsp), %rdx
leaq 0x87ecf(%rip), %rsi     # 0xcda19
leaq 0xe0(%rsp), %rdi
callq 0x29fd0
jmp 0x45b59
leaq 0xb8(%rsp), %rdi
movl $0x4fa, %esi            # imm = 0x4FA
callq 0x2ded0
jmp 0x45b6d
leaq 0x100(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
leaq 0xb8(%rsp), %rdx
callq 0x2dde0
jmp 0x45b8c
leaq 0x8600e(%rip), %rdx     # 0xcbba1
leaq 0x120(%rsp), %rdi
leaq 0x100(%rsp), %rsi
callq 0x2a2f0
jmp 0x45baa
leaq 0x77(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xcd00
movq 0x8(%rsp), %rdx
leaq 0x8829b(%rip), %rsi     # 0xcde60
leaq 0x78(%rsp), %rdi
callq 0x29fd0
jmp 0x45bd1
leaq 0x87e3e(%rip), %rdx     # 0xcda16
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x2a2f0
jmp 0x45bec
leaq 0x140(%rsp), %rdi
leaq 0x120(%rsp), %rsi
leaq 0x98(%rsp), %rdx
callq 0x2dde0
jmp 0x45c0b
leaq 0x87f85(%rip), %rdx     # 0xcdb97
leaq 0x160(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x2a2f0
jmp 0x45c29
leaq 0x160(%rsp), %rdi
callq 0x3e9b0
jmp 0x45c38
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d7a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d60
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d53
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d3c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d32
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d25
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
jmp 0x45d18
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x190(%rsp)
movl %eax, 0x18c(%rsp)
leaq 0x160(%rsp), %rdi
callq 0xce98
leaq 0x140(%rsp), %rdi
callq 0xce98
leaq 0x98(%rsp), %rdi
callq 0xce98
leaq 0x78(%rsp), %rdi
callq 0xce98
leaq 0x77(%rsp), %rdi
callq 0xc7a0
leaq 0x120(%rsp), %rdi
callq 0xce98
leaq 0x100(%rsp), %rdi
callq 0xce98
leaq 0xb8(%rsp), %rdi
callq 0xce98
leaq 0xe0(%rsp), %rdi
callq 0xce98
leaq 0xdf(%rsp), %rdi
callq 0xc7a0
jmp 0x45da0
movl $0x1, %edi
callq 0xc8d0
movq 0x60(%rsp), %rax
addq $0x1a8, %rsp            # imm = 0x1A8
retq
movq 0x190(%rsp), %rdi
callq 0xccf0
nopl (%rax)