// File: /workspace/github_cpp_makefile_star2_O3/lindorx[P]train/main.cpp
// Function: EndCode()
void EndCode(void)
{
	using namespace std;
	int i, j;
	std::vector<unsigned char>data;
	short d;
	for (i = 0; i < (int)Title.size(); ++i)
		for (j = 0; j < (int)Mov_place.size(); ++j) {
			if (Title[i].str == Mov_place[j].str) {
				d = isReg(Data[Mov_place[j].s]);
				//��������������data
				if (d == 1) {
					data = NumToUc(Title[i].num, 1);
					Data[Mov_place[j].s + 1] = data[0];
				}
				else if (d == 2) {
					data = NumToUc(Title[i].num, 2);
					Data[Mov_place[j].s + 1] = data[0];
					Data[Mov_place[j].s + 2] = data[1];
				}
				else {
					std::cout << "����Χ��error-006!\n";
				}
			}
		}
	//����jmpָ��
	jmpch();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x6c2d(%rip), %rcx      # 0x16060
movq 0x6c1e(%rip), %rdx      # 0x16058
movq %rcx, %rax
subq %rdx, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
jle 0xf67d
movq 0x6c47(%rip), %rax      # 0x160a0
movq 0x6c38(%rip), %r12      # 0x16098
xorl %edi, %edi
xorl %r13d, %r13d
movq $0x0, -0x30(%rbp)
movq %rax, %rsi
subq %r12, %rsi
shrq $0x3, %rsi
imull $0xcccccccd, %esi, %esi # imm = 0xCCCCCCCD
testl %esi, %esi
jle 0xf65c
movq %rdi, -0x60(%rbp)
leaq (%rdi,%rdi,4), %r15
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x6bbf(%rip), %rax      # 0x16058
movq 0x8(%rax,%r15,8), %rdx
cmpq 0x8(%r12,%rbx), %rdx
jne 0xf619
testq %rdx, %rdx
je 0xf4c6
leaq (%rax,%r15,8), %rax
movq (%r12,%rbx), %rsi
movq (%rax), %rdi
callq 0x21f0
testl %eax, %eax
jne 0xf619
movslq 0x24(%r12,%rbx), %rax
movq 0x6b2e(%rip), %rcx      # 0x16000
movzbl (%rcx,%rax), %edi
callq 0x3bfb
cmpw $0x2, %ax
je 0xf558
movzwl %ax, %eax
cmpl $0x1, %eax
jne 0xf601
movq 0x6b64(%rip), %rax      # 0x16058
movslq 0x20(%rax,%r15,8), %rsi
leaq -0x50(%rbp), %rdi
movl $0x1, %edx
callq 0x4523
movq -0x50(%rbp), %r12
movq -0x40(%rbp), %rax
movq %rax, -0x58(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xf54b
subq %rdi, %r13
movq %r13, %rsi
callq 0x21d0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0xf54b
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
callq 0x21d0
movl $0x1, %eax
movq %r12, %r13
jmp 0xf5dd
movq %r13, %r12
movq 0x6af6(%rip), %rax      # 0x16058
movslq 0x20(%rax,%r15,8), %rsi
leaq -0x50(%rbp), %rdi
movl $0x2, %edx
callq 0x4523
movq -0x50(%rbp), %r13
movq -0x40(%rbp), %rax
movq %rax, -0x58(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xf5b9
movq %r12, %rsi
subq %rdi, %rsi
callq 0x21d0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0xf5b9
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
callq 0x21d0
movb (%r13), %al
movq 0x6ad4(%rip), %rcx      # 0x16098
movslq 0x24(%rcx,%rbx), %rcx
movq 0x6a30(%rip), %rdx      # 0x16000
movb %al, 0x1(%rdx,%rcx)
leaq 0x1(%r13), %r12
movl $0x2, %eax
movq 0x6ab4(%rip), %rcx      # 0x16098
movslq 0x24(%rcx,%rbx), %rcx
addq 0x6a10(%rip), %rcx      # 0x16000
movb (%r12), %dl
movb %dl, (%rax,%rcx)
movq %r13, -0x30(%rbp)
movq -0x58(%rbp), %r13
jmp 0xf619
movl $0x13, %edx
movq 0x59cb(%rip), %rdi      # 0x14fd8
leaq 0x2192(%rip), %rsi      # 0x117a6
callq 0x2210
incq %r14
movq 0x6a7d(%rip), %rax      # 0x160a0
movq 0x6a6e(%rip), %r12      # 0x16098
movq %rax, %rcx
subq %r12, %rcx
shrq $0x3, %rcx
imull $0xcccccccd, %ecx, %ecx # imm = 0xCCCCCCCD
movslq %ecx, %rcx
addq $0x28, %rbx
cmpq %rcx, %r14
jl 0xf492
movq 0x6a0f(%rip), %rcx      # 0x16060
movq 0x6a00(%rip), %rdx      # 0x16058
movq -0x60(%rbp), %rdi
incq %rdi
movq %rcx, %rsi
subq %rdx, %rsi
shrq $0x3, %rsi
imull $0xcccccccd, %esi, %esi # imm = 0xCCCCCCCD
movslq %esi, %rsi
cmpq %rsi, %rdi
jl 0xf46d
jmp 0xf688
movq $0x0, -0x30(%rbp)
xorl %r13d, %r13d
callq 0xf9d7
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xf6a1
subq %rdi, %r13
movq %r13, %rsi
callq 0x21d0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf6bc
movq %rax, %rbx
movq %r12, %r13
jmp 0xf6bf
jmp 0xf6bc
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xf6d3
subq %rdi, %r13
movq %r13, %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2300