// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/i18n/translator_internal.cpp
// Function: smooth::I18n::TranslatorInternal::GetSupportedLanguages()
S::Int S::I18n::TranslatorInternal::GetSupportedLanguages()
{
	SetInternalLanguageInfo("English", "Robert Kausch", "http://www.smooth-project.org/", False);

	for (Int i = 0; languageXMLs[i] != NIL; i++)
	{
		const char	*xml = languageXMLs[i];
		XML::Document	 doc;

		if (doc.ParseMemory((void *) xml, strlen(xml)) == Success())
		{
			Language	*language = new Language();

			language->magic = languageMagics[i];

			if (LoadDescription(doc, language) == Success()) AddLanguage(language);
		}
	}

	return Success();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0xa7ba9(%rip), %rsi     # 0x18b29a
leaq -0x20(%rbp), %rdi
callq 0x5c1f0
leaq 0xa7ba1(%rip), %rsi     # 0x18b2a2
leaq -0x38(%rbp), %rdi
callq 0x5c1f0
jmp 0xe370c
leaq 0xa7b9d(%rip), %rsi     # 0x18b2b0
leaq -0x60(%rbp), %rdi
callq 0x5c1f0
jmp 0xe371e
movq -0xd8(%rbp), %rdi
leaq -0x20(%rbp), %rsi
leaq -0x38(%rbp), %rdx
leaq -0x60(%rbp), %rcx
xorl %r8d, %r8d
callq 0x5d690
jmp 0xe373b
leaq -0x60(%rbp), %rdi
callq 0x5df00
leaq -0x38(%rbp), %rdi
callq 0x5df00
leaq -0x20(%rbp), %rdi
callq 0x5df00
movl $0x0, -0x64(%rbp)
movslq -0x64(%rbp), %rcx
leaq 0x129008(%rip), %rax    # 0x20c770
cmpq $0x0, (%rax,%rcx,8)
je 0xe39ac
movslq -0x64(%rbp), %rcx
leaq 0x128ff2(%rip), %rax    # 0x20c770
movq (%rax,%rcx,8), %rax
movq %rax, -0x70(%rbp)
leaq -0x98(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x5c470
movq -0x70(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x5a790
movq -0xf0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
movl %eax, %edx
callq 0x5d950
movl %eax, -0xdc(%rbp)
jmp 0xe37c6
leaq -0xa8(%rbp), %rdi
callq 0x5ca80
jmp 0xe37d4
leaq -0xa8(%rbp), %rdi
callq 0x59680
movl %eax, -0xf4(%rbp)
jmp 0xe37e8
leaq -0xa8(%rbp), %rdi
callq 0x5a410
movl -0xf4(%rbp), %ecx
movl -0xdc(%rbp), %eax
cmpl %ecx, %eax
jne 0xe3984
movl $0x158, %edi            # imm = 0x158
callq 0x59820
movq %rax, -0x100(%rbp)
jmp 0xe381b
movq -0x100(%rbp), %rdi
callq 0x5b940
jmp 0xe3829
movq -0x100(%rbp), %rax
movq %rax, -0xb0(%rbp)
movslq -0x64(%rbp), %rcx
leaq 0x127f8e(%rip), %rax    # 0x20b7d0
movq (%rax,%rcx,8), %rsi
movq -0xb0(%rbp), %rdi
addq $0x108, %rdi            # imm = 0x108
callq 0x5a230
jmp 0xe385b
movq -0xd8(%rbp), %rdi
movq -0xb0(%rbp), %rdx
leaq -0x98(%rbp), %rsi
callq 0x5c560
movl %eax, -0x104(%rbp)
jmp 0xe387d
leaq -0xc0(%rbp), %rdi
callq 0x5ca80
jmp 0xe388b
leaq -0xc0(%rbp), %rdi
callq 0x59680
movl %eax, -0x108(%rbp)
jmp 0xe389f
leaq -0xc0(%rbp), %rdi
callq 0x5a410
movl -0x108(%rbp), %ecx
movl -0x104(%rbp), %eax
cmpl %ecx, %eax
jne 0xe3982
movq -0xd8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0x59d50
jmp 0xe38d4
jmp 0xe3982
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xe3913
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xe390a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x5df00
leaq -0x38(%rbp), %rdi
callq 0x5df00
leaq -0x20(%rbp), %rdi
callq 0x5df00
jmp 0xe3a06
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xe399e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x5a410
jmp 0xe399e
movq -0x100(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x158, %esi            # imm = 0x158
callq 0x595b0
jmp 0xe399e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x5a410
jmp 0xe399e
jmp 0xe3984
leaq -0x98(%rbp), %rdi
callq 0x59520
movl -0x64(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x64(%rbp)
jmp 0xe375d
leaq -0x98(%rbp), %rdi
callq 0x59520
jmp 0xe3a06
leaq -0xd0(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x5ca80
movq -0x118(%rbp), %rdi
callq 0x59680
movl %eax, -0x10c(%rbp)
jmp 0xe39d3
leaq -0xd0(%rbp), %rdi
callq 0x5a410
movl -0x10c(%rbp), %eax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x5a410
movq -0x40(%rbp), %rdi
callq 0x5b6b0
nop