// File: jovermann[P]streplace/src/MiscUtils.cpp
// Function: ut1::getFileTypeStr[abi:cxx11](ut1::FileType)
std::string getFileTypeStr(FileType fileType)
{
    switch (fileType)
    {
    case FT_REGULAR: return "file";
    case FT_DIR: return "dir";
    case FT_SYMLINK: return "symlink";
    case FT_FIFO: return "fifo";
    case FT_BLOCK: return "block-device";
    case FT_CHAR: return "char-device";
    case FT_SOCKET: return "socket";
    case FT_NON_EXISTING: return "non-existing";
    }
    return "unknown-file-type";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x40(%rbp)
movq %rdi, %rax
movq %rax, -0x38(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq %rax, -0x30(%rbp)
subq $0x7, %rax
ja 0x13884
movq -0x30(%rbp), %rax
leaq 0x37067(%rip), %rcx     # 0x4a690
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0xd(%rbp), %rdi
movq %rdi, -0x48(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rdx
leaq 0x3882c(%rip), %rsi     # 0x4be7a
callq 0xb310
jmp 0x13655
leaq -0xd(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0xd(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x1d(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x50(%rbp), %rdx
leaq 0x38803(%rip), %rsi     # 0x4be9c
callq 0xb310
jmp 0x136a0
leaq -0x1d(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x1d(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x1e(%rbp), %rdi
movq %rdi, -0x58(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x58(%rbp), %rdx
leaq 0x387a6(%rip), %rsi     # 0x4be8a
callq 0xb310
jmp 0x136eb
leaq -0x1e(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x1e(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x1f(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x37082(%rip), %rsi     # 0x4a7b1
callq 0xb310
jmp 0x13736
leaq -0x1f(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x1f(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x20(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x68(%rbp), %rdx
leaq 0x3703c(%rip), %rsi     # 0x4a7b6
callq 0xb310
jmp 0x13781
leaq -0x20(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x21(%rbp), %rdi
movq %rdi, -0x70(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x70(%rbp), %rdx
leaq 0x36ffe(%rip), %rsi     # 0x4a7c3
callq 0xb310
jmp 0x137cc
leaq -0x21(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x21(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x22(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x78(%rbp), %rdx
leaq 0x36fbf(%rip), %rsi     # 0x4a7cf
callq 0xb310
jmp 0x13817
leaq -0x22(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x22(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x23(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x80(%rbp), %rdx
leaq 0x36f7b(%rip), %rsi     # 0x4a7d6
callq 0xb310
jmp 0x13862
leaq -0x23(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x23(%rbp), %rdi
callq 0x7670
jmp 0x138dc
leaq -0x24(%rbp), %rdi
movq %rdi, -0x88(%rbp)
callq 0x7a50
movq -0x40(%rbp), %rdi
movq -0x88(%rbp), %rdx
leaq 0x36f3d(%rip), %rsi     # 0x4a7e3
callq 0xb310
jmp 0x138ad
leaq -0x24(%rbp), %rdi
callq 0x7670
jmp 0x138cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x24(%rbp), %rdi
callq 0x7670
jmp 0x138dc
movq -0x38(%rbp), %rax
addq $0x90, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
callq 0x7a30
nopw %cs:(%rax,%rax)