// File: /workspace/github_cpp_makefile_star2_O3/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
cmpl $0x7, %esi
ja 0x3b118
movq %rdi, %rbx
movl %esi, %eax
leaq 0x51586(%rip), %rcx     # 0x8c5bc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x51cc6(%rip), %rsi     # 0x8cd13
leaq 0x51cc3(%rip), %rdx     # 0x8cd17
jmp 0x3b0fb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x529d3(%rip), %rsi     # 0x8da3a
leaq 0x529d0(%rip), %rdx     # 0x8da3e
jmp 0x3b0fb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x51c97(%rip), %rsi     # 0x8cd18
leaq 0x51c98(%rip), %rdx     # 0x8cd20
jmp 0x3b0fb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x51c89(%rip), %rsi     # 0x8cd21
leaq 0x51c86(%rip), %rdx     # 0x8cd25
jmp 0x3b0fb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x51c7c(%rip), %rsi     # 0x8cd2b
leaq 0x51c7b(%rip), %rdx     # 0x8cd31
jmp 0x3b0fb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x50825(%rip), %rsi     # 0x8b8eb
leaq 0x50821(%rip), %rdx     # 0x8b8ee
jmp 0x3b0fb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x534fe(%rip), %rsi     # 0x8e5db
leaq 0x534fb(%rip), %rdx     # 0x8e5df
jmp 0x3b0fb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x51c32(%rip), %rsi     # 0x8cd26
leaq 0x51c2f(%rip), %rdx     # 0x8cd2a
movq %rbx, %rdi
callq 0x2fa1a
movq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xa6b0
testl %eax, %eax
jne 0x3b1b0
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x517fe(%rip), %rsi     # 0x8c936
leaq 0x5180a(%rip), %rdx     # 0x8c949
leaq 0x88(%rsp), %rdi
callq 0x2fa1a
leaq 0xa8(%rsp), %rdi
movl $0x4fa, %esi            # imm = 0x4FA
callq 0x2d1fa
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x2d152
leaq 0x4fa63(%rip), %rsi     # 0x8abe5
leaq 0xc8(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x3b1ba
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x3b1c7
movl $0x1, %edi
callq 0xa6c0
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x51b42(%rip), %rsi     # 0x8cd32
leaq 0x51b64(%rip), %rdx     # 0x8cd5b
leaq 0x68(%rsp), %rdi
callq 0x2fa1a
leaq 0x5172b(%rip), %rsi     # 0x8c933
leaq 0x68(%rsp), %rdi
callq 0xaac0
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x3b234
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x3b241
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2d152
leaq 0x5183e(%rip), %rsi     # 0x8cab4
leaq 0xe8(%rsp), %rdi
callq 0xaac0
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x3b2a4
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x3b2b1
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x34fa2
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3b2f1
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3b2f1
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b317
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3b317
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x3b333
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3b333
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x3b34f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3b34f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b36b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3b36b
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b391
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3b391
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b3b7
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x3b3b7
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b3d4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq %rbx, %rdi
callq 0xaa10