// File: /workspace/github_c_makefile_star2_O2/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 0x5dd1e
leaq 0x60(%rsp), %rdi
xorl %ebp, %ebp
xorl %esi, %esi
callq 0x5a180
movq 0xc98d0(%rip), %rax     # 0x161d90
movswl (%rax), %r15d
callq 0x587f0
cmpl %eax, %ebp
jge 0x98594
movl %ebp, %edi
callq 0x59b10
addq $0x20, %rax
movq %rax, %rdi
movl %r15d, %esi
callq 0x5a150
testb %al, %al
je 0x984ef
incl %ebp
jmp 0x984c4
movl %ebp, %edi
callq 0x59b10
movq (%rax), %rcx
movq %rax, %rdi
callq *0xa8(%rcx)
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
callq 0x56630
leaq 0x4abb8(%rip), %rsi     # 0xe30ce
leaq 0x78(%rsp), %rdi
callq 0x58c40
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x60(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x58800
movq %rax, %r15
leaq 0x4b15e(%rip), %rsi     # 0xe36a8
leaq 0x18(%rsp), %rdi
callq 0x58c40
movq %rsp, %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x18(%rsp), %rsi
movq %rsp, %rdx
movq %r15, %rdi
callq 0x58800
movq %rsp, %rdi
callq 0x5a588
leaq 0x18(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x5a588
leaq 0x78(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x57dd0
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0x573e0
movq %rax, %r15
callq 0x563a0
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x58c40
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x573e0
movq %rax, %r15
leaq 0x4ed17(%rip), %rsi     # 0xe72ee
movq %rsp, %rdi
callq 0x58c40
movq %rsp, %rsi
movq %r15, %rdi
callq 0x573e0
movq %rax, %r15
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x59fb0
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5e5f0
leaq 0x78(%rsp), %rdi
callq 0x5a598
leaq 0x48(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x18(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x5a588
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
callq 0x57d40
testb %al, %al
je 0x98727
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x58150
testb %al, %al
je 0x98727
leaq 0x30(%rsp), %rdi
callq 0x57dd0
leaq 0x30(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x573e0
movq %rax, %r15
callq 0x563a0
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x58c40
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x573e0
movq %rax, %r15
leaq 0x4ec38(%rip), %rsi     # 0xe72ee
movq %rsp, %rdi
callq 0x58c40
movq %rsp, %rsi
movq %r15, %rdi
callq 0x573e0
movq %rax, %r15
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x59fb0
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5e5f0
leaq 0x78(%rsp), %rdi
callq 0x5a598
leaq 0x48(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x18(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x58cb0
leaq 0x4ebb6(%rip), %rsi     # 0xe72ee
leaq 0x18(%rsp), %rdi
callq 0x58c40
leaq 0x30(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x573e0
movq %rax, %r15
movq %rsp, %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x78(%rsp), %rdi
movq %rsp, %rdx
movq %r15, %rsi
callq 0x59fb0
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5e5f0
leaq 0x78(%rsp), %rdi
callq 0x5a598
movq %rsp, %rdi
callq 0x5a588
leaq 0x18(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x581b0
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0x573e0
movq %rax, %r15
callq 0x563a0
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x58c40
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x573e0
movq %rax, %r15
leaq 0x4eb0a(%rip), %rsi     # 0xe72ee
movq %rsp, %rdi
callq 0x58c40
movq %rsp, %rsi
movq %r15, %rdi
callq 0x573e0
movq %rax, %r15
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x59fb0
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5e5f0
leaq 0x78(%rsp), %rdi
callq 0x5a598
leaq 0x48(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x18(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x5a588
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
callq 0x57d40
testb %al, %al
je 0x98934
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x58150
testb %al, %al
je 0x98934
leaq 0x30(%rsp), %rdi
callq 0x581b0
leaq 0x30(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x573e0
movq %rax, %r14
callq 0x563a0
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x58c40
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x573e0
movq %rax, %r14
leaq 0x4ea2b(%rip), %rsi     # 0xe72ee
movq %rsp, %rdi
callq 0x58c40
movq %rsp, %rsi
movq %r14, %rdi
callq 0x573e0
movq %rax, %r14
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x78(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r14, %rsi
callq 0x59fb0
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x5e5f0
leaq 0x78(%rsp), %rdi
callq 0x5a598
leaq 0x48(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x18(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x5a588
leaq 0x60(%rsp), %rdi
callq 0x5a588
movq %rbx, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x98a0b
jmp 0x98a1a
jmp 0x98a2b
jmp 0x98a2b
jmp 0x98a3a
jmp 0x98a3a
jmp 0x98a56
jmp 0x98a67
jmp 0x98a0b
jmp 0x98a1a
jmp 0x98a2b
jmp 0x98a2b
jmp 0x98a3a
jmp 0x98a3a
jmp 0x98a56
jmp 0x98a67
movq %rax, %r14
movq %rsp, %rdi
callq 0x5a588
jmp 0x989af
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x5a588
jmp 0x989c0
jmp 0x989bd
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x5a588
jmp 0x989cf
movq %rax, %r14
leaq 0x78(%rsp), %rdi
jmp 0x98a5e
jmp 0x98a67
jmp 0x98a56
jmp 0x98a56
jmp 0x98a0b
jmp 0x98a1a
jmp 0x98a2b
jmp 0x98a2b
jmp 0x98a3a
jmp 0x98a3a
jmp 0x98a56
jmp 0x98a67
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x5a598
jmp 0x98a2e
jmp 0x98a2b
jmp 0x98a3a
jmp 0x98a3a
jmp 0x98a56
jmp 0x98a67
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x5a598
jmp 0x98a1d
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x5a588
jmp 0x98a2e
jmp 0x98a2b
movq %rax, %r14
movq %rsp, %rdi
callq 0x5a588
jmp 0x98a3d
jmp 0x98a3a
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x5a588
jmp 0x98a59
jmp 0x98a56
jmp 0x98a67
movq %rax, %r14
jmp 0x98a74
jmp 0x98a67
jmp 0x98a56
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x5a588
jmp 0x98a6a
jmp 0x98a67
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x5dd4a
movq %r14, %rdi
callq 0x58260