// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/i18n/translator.cpp
// Function: smooth::GetTranslationFolders(smooth::String const&)
static Array<Directory> GetTranslationFolders(const String &appPrefix)
	{
		Array<Directory>	 dirs;

		/* Add application data folders.
		 */
		String	 appName = GetApplicationName();

		dirs.Add(S::System::System::GetApplicationDataDirectory().Append(appPrefix).Append(Directory::GetDirectoryDelimiter()).Append("lang"));

		if (appName != NIL && appName != appPrefix) dirs.Add(S::System::System::GetApplicationDataDirectory().Append(appName).Append(Directory::GetDirectoryDelimiter()).Append("lang"));

		/* Add application folder.
		 */
		dirs.Add(GUI::Application::GetApplicationDirectory().Append("lang"));

#ifndef __WIN32__
		/* Add resources folders.
		 */
		dirs.Add(S::System::System::GetResourcesDirectory().Append(appPrefix).Append(Directory::GetDirectoryDelimiter()).Append("lang"));

		if (appName != NIL && appName != appPrefix) dirs.Add(S::System::System::GetResourcesDirectory().Append(appName).Append(Directory::GetDirectoryDelimiter()).Append("lang"));
#endif

		return dirs;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rsi, %r14
movq %rdi, %rbx
callq 0x55d90
leaq 0xc3d22(%rip), %rax     # 0x160bd8
movq %rax, 0x40(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%rbx)
leaq 0xc3c70(%rip), %rax     # 0x160b38
movq %rax, (%rbx)
leaq 0x60(%rsp), %rdi
xorl %ebp, %ebp
xorl %esi, %esi
callq 0x58e20
movq 0xcfeb0(%rip), %rax     # 0x16cd90
movswl (%rax), %r15d
callq 0x575e0
cmpl %eax, %ebp
jge 0x9cfb4
movl %ebp, %edi
callq 0x58800
addq $0x20, %rax
movq %rax, %rdi
movl %r15d, %esi
callq 0x57520
testb %al, %al
jne 0x9cf0f
incl %ebp
jmp 0x9cee4
movl %ebp, %edi
callq 0x58800
movq (%rax), %rcx
movq %rax, %rdi
callq *0xa8(%rcx)
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
callq 0x555f0
leaq 0x571b1(%rip), %rsi     # 0xf40e7
leaq 0x78(%rsp), %rdi
callq 0x579f0
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
leaq 0x60(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x575f0
movq %rax, %r15
leaq 0x5771e(%rip), %rsi     # 0xf4688
leaq 0x18(%rsp), %rdi
callq 0x579f0
movq %rsp, %rdi
xorl %esi, %esi
callq 0x58e20
leaq 0x18(%rsp), %rsi
movq %rsp, %rdx
movq %r15, %rdi
callq 0x575f0
movq %rsp, %rdi
callq 0x59200
leaq 0x18(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x59200
leaq 0x78(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x56c50
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0x562f0
movq %rax, %r15
callq 0x55370
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x579f0
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x562f0
movq %rax, %r15
leaq 0x5b253(%rip), %rsi     # 0xf824a
movq %rsp, %rdi
callq 0x579f0
movq %rsp, %rsi
movq %r15, %rdi
callq 0x562f0
movq %rax, %r15
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x58c60
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5d67e
leaq 0x78(%rsp), %rdi
callq 0x59210
leaq 0x48(%rsp), %rdi
callq 0x59200
movq %rsp, %rdi
callq 0x59200
leaq 0x18(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x59200
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
callq 0x56bd0
testb %al, %al
je 0x9d147
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x56fa0
testb %al, %al
je 0x9d147
leaq 0x30(%rsp), %rdi
callq 0x56c50
leaq 0x30(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x562f0
movq %rax, %r15
callq 0x55370
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x579f0
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x562f0
movq %rax, %r15
leaq 0x5b174(%rip), %rsi     # 0xf824a
movq %rsp, %rdi
callq 0x579f0
movq %rsp, %rsi
movq %r15, %rdi
callq 0x562f0
movq %rax, %r15
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x58c60
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5d67e
leaq 0x78(%rsp), %rdi
callq 0x59210
leaq 0x48(%rsp), %rdi
callq 0x59200
movq %rsp, %rdi
callq 0x59200
leaq 0x18(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x57a50
leaq 0x5b0f2(%rip), %rsi     # 0xf824a
leaq 0x18(%rsp), %rdi
callq 0x579f0
leaq 0x30(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x562f0
movq %rax, %r15
movq %rsp, %rdi
xorl %esi, %esi
callq 0x58e20
leaq 0x78(%rsp), %rdi
movq %rsp, %rdx
movq %r15, %rsi
callq 0x58c60
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5d67e
leaq 0x78(%rsp), %rdi
callq 0x59210
movq %rsp, %rdi
callq 0x59200
leaq 0x18(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x56ff0
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0x562f0
movq %rax, %r15
callq 0x55370
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x579f0
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x562f0
movq %rax, %r15
leaq 0x5b046(%rip), %rsi     # 0xf824a
movq %rsp, %rdi
callq 0x579f0
movq %rsp, %rsi
movq %r15, %rdi
callq 0x562f0
movq %rax, %r15
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x58c60
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5d67e
leaq 0x78(%rsp), %rdi
callq 0x59210
leaq 0x48(%rsp), %rdi
callq 0x59200
movq %rsp, %rdi
callq 0x59200
leaq 0x18(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x59200
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
callq 0x56bd0
testb %al, %al
je 0x9d354
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x56fa0
testb %al, %al
je 0x9d354
leaq 0x30(%rsp), %rdi
callq 0x56ff0
leaq 0x30(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x562f0
movq %rax, %r14
callq 0x55370
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x579f0
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x562f0
movq %rax, %r14
leaq 0x5af67(%rip), %rsi     # 0xf824a
movq %rsp, %rdi
callq 0x579f0
movq %rsp, %rsi
movq %r14, %rdi
callq 0x562f0
movq %rax, %r14
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r14, %rsi
callq 0x58c60
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5d67e
leaq 0x78(%rsp), %rdi
callq 0x59210
leaq 0x48(%rsp), %rdi
callq 0x59200
movq %rsp, %rdi
callq 0x59200
leaq 0x18(%rsp), %rdi
callq 0x59200
leaq 0x30(%rsp), %rdi
callq 0x59200
leaq 0x60(%rsp), %rdi
callq 0x59200
movq %rbx, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9d42b
jmp 0x9d43a
jmp 0x9d44b
jmp 0x9d44b
jmp 0x9d45a
jmp 0x9d45a
jmp 0x9d476
jmp 0x9d487
jmp 0x9d42b
jmp 0x9d43a
jmp 0x9d44b
jmp 0x9d44b
jmp 0x9d45a
jmp 0x9d45a
jmp 0x9d476
jmp 0x9d487
movq %rax, %r14
movq %rsp, %rdi
callq 0x59200
jmp 0x9d3cf
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x59200
jmp 0x9d3e0
jmp 0x9d3dd
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x59200
jmp 0x9d3ef
movq %rax, %r14
leaq 0x78(%rsp), %rdi
jmp 0x9d47e
jmp 0x9d487
jmp 0x9d476
jmp 0x9d476
jmp 0x9d42b
jmp 0x9d43a
jmp 0x9d44b
jmp 0x9d44b
jmp 0x9d45a
jmp 0x9d45a
jmp 0x9d476
jmp 0x9d487
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x59210
jmp 0x9d44e
jmp 0x9d44b
jmp 0x9d45a
jmp 0x9d45a
jmp 0x9d476
jmp 0x9d487
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x59210
jmp 0x9d43d
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x59200
jmp 0x9d44e
jmp 0x9d44b
movq %rax, %r14
movq %rsp, %rdi
callq 0x59200
jmp 0x9d45d
jmp 0x9d45a
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x59200
jmp 0x9d479
jmp 0x9d476
jmp 0x9d487
movq %rax, %r14
jmp 0x9d494
jmp 0x9d487
jmp 0x9d476
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x59200
jmp 0x9d48a
jmp 0x9d487
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x59200
movq %rbx, %rdi
callq 0x5cd7e
movq %r14, %rdi
callq 0x57090