// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/tools/translator/translator.cpp
// Function: Translator::SaveFileName(smooth::String const&)
Void Translator::SaveFileName(const String &file)
{
	XML::Document	*doc = new XML::Document();
	XML::Node	*root = new XML::Node("LangFile");
	XML::Node	*info = root->AddNode("info");

	info->AddNode("property", ((InfoItem *) entries.GetNth(0))->GetValue())->SetAttribute("name", "program");
	info->AddNode("property", ((InfoItem *) entries.GetNth(1))->GetValue())->SetAttribute("name", "version");
	info->AddNode("property", ((InfoItem *) entries.GetNth(2))->GetValue())->SetAttribute("name", "language");
	info->AddNode("property", ((InfoItem *) entries.GetNth(3))->GetValue())->SetAttribute("name", "righttoleft");
	info->AddNode("property", "UTF-8")->SetAttribute("name", "encoding");
	info->AddNode("property", ((InfoItem *) entries.GetNth(4))->GetValue())->SetAttribute("name", "template");
	info->AddNode("property", ((InfoItem *) entries.GetNth(5))->GetValue())->SetAttribute("name", "author");
	info->AddNode("property", ((InfoItem *) entries.GetNth(6))->GetValue())->SetAttribute("name", "url");

	XML::Node	*data = root->AddNode("data");

	dataSection->Save(data, templateName);

	doc->SetEncoding("UTF-8");
	doc->SetRootNode(root);

	doc->SaveFile(file);

	modified = False;

	delete doc;
	delete root;

	ReplaceLineEndings(file);
	FormatLines(file);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, 0x48(%rsp)
movq %rdi, %r12
movl $0x28, %edi
callq 0x7530
movq %rax, %r15
movq %rax, %rdi
callq 0x7310
movl $0x30, %edi
callq 0x7530
movq %rax, %rbx
leaq 0x2fca(%rip), %rsi      # 0x12501
movq %rsp, %rdi
callq 0x77f0
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
movq %rsp, %rsi
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x71d0
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2f4f(%rip), %rsi      # 0x124c3
movq %rsp, %rdi
callq 0x77f0
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
movq %rsp, %rsi
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x7570
movq %rax, %r13
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2f56(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
leaq 0x6b8(%r12), %rbp
movq %rbp, %rdi
xorl %esi, %esi
callq 0x9ca8
movl $0x648, %edx            # imm = 0x648
addq (%rax), %rdx
movq %rsp, %rsi
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x2a55(%rip), %rsi      # 0x12040
leaq 0x18(%rsp), %rdi
callq 0x77f0
leaq 0x2ecc(%rip), %rsi      # 0x124c8
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x18(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2ecf(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
movq %rbp, %rdi
movl $0x1, %esi
callq 0x9ca8
movl $0x648, %edx            # imm = 0x648
addq (%rax), %rdx
movq %rsp, %rsi
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x29d3(%rip), %rsi      # 0x12040
leaq 0x18(%rsp), %rdi
callq 0x77f0
leaq 0x2e52(%rip), %rsi      # 0x124d0
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x18(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2e4d(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
movq %rbp, %rdi
movl $0x2, %esi
callq 0x9ca8
movl $0x648, %edx            # imm = 0x648
addq (%rax), %rdx
movq %rsp, %rsi
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x2951(%rip), %rsi      # 0x12040
leaq 0x18(%rsp), %rdi
callq 0x77f0
leaq 0x2dd8(%rip), %rsi      # 0x124d8
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x18(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2dcb(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
movq %rbp, %rdi
movl $0x3, %esi
callq 0x9ca8
movl $0x648, %edx            # imm = 0x648
addq (%rax), %rdx
movq %rsp, %rsi
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x28cf(%rip), %rsi      # 0x12040
leaq 0x18(%rsp), %rdi
callq 0x77f0
leaq 0x2d5f(%rip), %rsi      # 0x124e1
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x18(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2d49(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
leaq 0x2d43(%rip), %rsi      # 0x12513
leaq 0x18(%rsp), %rdi
callq 0x77f0
movq %rsp, %rsi
leaq 0x18(%rsp), %rdx
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x284c(%rip), %rsi      # 0x12040
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x2d14(%rip), %rsi      # 0x12519
leaq 0x50(%rsp), %rdi
callq 0x77f0
leaq 0x30(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x50(%rsp), %rdi
callq 0x7980
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2cbc(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
movq %rbp, %rdi
movl $0x4, %esi
callq 0x9ca8
movl $0x648, %edx            # imm = 0x648
addq (%rax), %rdx
movq %rsp, %rsi
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x27c0(%rip), %rsi      # 0x12040
leaq 0x18(%rsp), %rdi
callq 0x77f0
leaq 0x2c5c(%rip), %rsi      # 0x124ed
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x18(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2c3a(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
movq %rbp, %rdi
movl $0x5, %esi
callq 0x9ca8
movl $0x648, %edx            # imm = 0x648
addq (%rax), %rdx
movq %rsp, %rsi
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x273e(%rip), %rsi      # 0x12040
leaq 0x18(%rsp), %rdi
callq 0x77f0
leaq 0x2be3(%rip), %rsi      # 0x124f6
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x18(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2bb8(%rip), %rsi      # 0x1250a
movq %rsp, %rdi
callq 0x77f0
movq %rbp, %rdi
movl $0x6, %esi
callq 0x9ca8
movl $0x648, %edx            # imm = 0x648
addq (%rax), %rdx
movq %rsp, %rsi
movq %r13, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x26bc(%rip), %rsi      # 0x12040
leaq 0x18(%rsp), %rdi
callq 0x77f0
leaq 0x2b68(%rip), %rsi      # 0x124fd
leaq 0x30(%rsp), %rdi
callq 0x77f0
leaq 0x18(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x73c0
leaq 0x30(%rsp), %rdi
callq 0x7980
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
leaq 0x2ad0(%rip), %rsi      # 0x124a4
movq %rsp, %rdi
callq 0x77f0
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
movq %rsp, %rsi
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x7570
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x7980
movq %rsp, %rdi
callq 0x7980
movq 0x768(%r12), %rdi
leaq 0x6a0(%r12), %rdx
movq %r14, %rsi
callq 0x8734
leaq 0x2ae7(%rip), %rsi      # 0x12513
movq %rsp, %r14
movq %r14, %rdi
callq 0x77f0
movq %r15, %rdi
movq %r14, %rsi
callq 0x7540
movq %rsp, %rdi
callq 0x7980
movq %r15, %rdi
movq %rbx, %rsi
callq 0x7490
movq %r15, %rdi
movq 0x48(%rsp), %r14
movq %r14, %rsi
callq 0x7300
movb $0x0, 0x770(%r12)
movq %r15, %rdi
callq 0x7500
movl $0x28, %esi
movq %r15, %rdi
callq 0x70a0
movq %rbx, %rdi
callq 0x7150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x70a0
movq %r14, %rsi
callq 0xfb86
movq %r14, %rsi
callq 0xfd82
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xfb72
jmp 0xfb1a
jmp 0xfb72
jmp 0xfb07
jmp 0xfb1a
jmp 0xfb72
jmp 0xfb07
jmp 0xfb1a
jmp 0xfb72
jmp 0xfb07
jmp 0xfb1a
jmp 0xfb72
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x7980
jmp 0xfb0a
jmp 0xfb07
jmp 0xfb1a
jmp 0xfb1a
jmp 0xfb72
jmp 0xfb07
jmp 0xfb1a
jmp 0xfb72
jmp 0xfb07
jmp 0xfb1a
jmp 0xfb72
jmp 0xfb07
jmp 0xfb1a
jmp 0xfb72
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x7980
jmp 0xfb1d
jmp 0xfb1a
jmp 0xfb72
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x7980
jmp 0xfb75
jmp 0xfb72
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x7980
jmp 0xfb3d
movq %rax, %r14
movq %rsp, %rdi
callq 0x7980
jmp 0xfb4a
movq %rax, %r14
movl $0x30, %esi
movq %rbx, %rdi
jmp 0xfb5f
movq %rax, %r14
movl $0x28, %esi
movq %r15, %rdi
callq 0x70a0
jmp 0xfb7d
jmp 0xfb72
jmp 0xfb72
jmp 0xfb72
jmp 0xfb72
jmp 0xfb72
jmp 0xfb72
movq %rax, %r14
movq %rsp, %rdi
callq 0x7980
movq %r14, %rdi
callq 0x7290
nop