// File: /workspace/github_c_makefile_star2_O3/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 0xc369a(%rip), %rax     # 0x15fbf8
movq %rax, 0x40(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%rbx)
leaq 0xc35e8(%rip), %rax     # 0x15fb58
movq %rax, (%rbx)
leaq 0x60(%rsp), %rdi
xorl %ebp, %ebp
xorl %esi, %esi
callq 0x58e20
movq 0xcf808(%rip), %rax     # 0x16bd90
movswl (%rax), %r15d
callq 0x575e0
cmpl %eax, %ebp
jge 0x9c65c
movl %ebp, %edi
callq 0x58800
addq $0x20, %rax
movq %rax, %rdi
movl %r15d, %esi
callq 0x57520
testb %al, %al
jne 0x9c5b7
incl %ebp
jmp 0x9c58c
movl %ebp, %edi
callq 0x58800
movq (%rax), %rcx
movq %rax, %rdi
callq *0xa8(%rcx)
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
callq 0x555f0
leaq 0x56b09(%rip), %rsi     # 0xf30e7
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 0x570d8(%rip), %rsi     # 0xf36ea
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 0x5ad4f(%rip), %rsi     # 0xf73ee
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 0x5d636
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 0x9c7ef
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x56fa0
testb %al, %al
je 0x9c7ef
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 0x5ac70(%rip), %rsi     # 0xf73ee
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 0x5d636
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 0x5abee(%rip), %rsi     # 0xf73ee
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 0x5d636
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 0x5ab42(%rip), %rsi     # 0xf73ee
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 0x5d636
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 0x9c9fc
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x56fa0
testb %al, %al
je 0x9c9fc
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 0x5aa63(%rip), %rsi     # 0xf73ee
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 0x5d636
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
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9cad0
jmp 0x9cadf
jmp 0x9caf0
jmp 0x9caf0
jmp 0x9caff
jmp 0x9caff
jmp 0x9cb1b
jmp 0x9cb2c
jmp 0x9cad0
jmp 0x9cadf
jmp 0x9caf0
jmp 0x9caf0
jmp 0x9caff
jmp 0x9caff
jmp 0x9cb1b
jmp 0x9cb2c
movq %rax, %r14
movq %rsp, %rdi
callq 0x59200
jmp 0x9ca74
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x59200
jmp 0x9ca85
jmp 0x9ca82
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x59200
jmp 0x9ca94
movq %rax, %r14
leaq 0x78(%rsp), %rdi
jmp 0x9cb23
jmp 0x9cb2c
jmp 0x9cb1b
jmp 0x9cb1b
jmp 0x9cad0
jmp 0x9cadf
jmp 0x9caf0
jmp 0x9caf0
jmp 0x9caff
jmp 0x9caff
jmp 0x9cb1b
jmp 0x9cb2c
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x59210
jmp 0x9caf3
jmp 0x9caf0
jmp 0x9caff
jmp 0x9caff
jmp 0x9cb1b
jmp 0x9cb2c
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x59210
jmp 0x9cae2
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x59200
jmp 0x9caf3
jmp 0x9caf0
movq %rax, %r14
movq %rsp, %rdi
callq 0x59200
jmp 0x9cb02
jmp 0x9caff
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x59200
jmp 0x9cb1e
jmp 0x9cb1b
jmp 0x9cb2c
movq %rax, %r14
jmp 0x9cb39
jmp 0x9cb2c
jmp 0x9cb1b
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x59200
jmp 0x9cb2f
jmp 0x9cb2c
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x59200
movq %rbx, %rdi
callq 0x5cd46
movq %r14, %rdi
callq 0x57090
nop