// File: /workspace/github_cpp_makefile_star2_O1/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 0x6a29(%rip), %rax      # 0x16060
subq 0x6a1a(%rip), %rax      # 0x16058
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
jle 0xf86d
xorl %ecx, %ecx
xorl %r13d, %r13d
movq $0x0, -0x30(%rbp)
movq 0x6a3c(%rip), %rax      # 0x160a0
movq 0x6a2d(%rip), %r12      # 0x16098
subq %r12, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
movq %rcx, -0x60(%rbp)
jle 0xf841
leaq (%rcx,%rcx,4), %r15
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x69c4(%rip), %rax      # 0x16058
movq 0x8(%rax,%r15,8), %rdx
cmpq 0x8(%r12,%rbx), %rdx
jne 0xf814
testq %rdx, %rdx
je 0xf6c1
leaq (%rax,%r15,8), %rax
movq (%r12,%rbx), %rsi
movq (%rax), %rdi
callq 0x21f0
testl %eax, %eax
jne 0xf814
movslq 0x24(%r12,%rbx), %rax
movq 0x6933(%rip), %rcx      # 0x16000
movzbl (%rcx,%rax), %edi
callq 0x3bfd
cmpw $0x2, %ax
je 0xf753
movzwl %ax, %eax
cmpl $0x1, %eax
jne 0xf7fc
movq 0x6969(%rip), %rax      # 0x16058
movslq 0x20(%rax,%r15,8), %rsi
leaq -0x50(%rbp), %rdi
movl $0x1, %edx
callq 0x4534
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 0xf731
subq %rdi, %r13
movq %r13, %rsi
callq 0x21d0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0xf746
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
callq 0x21d0
movl $0x1, %eax
movq %r12, %r13
jmp 0xf7d8
movq %r13, %r12
movq 0x68fb(%rip), %rax      # 0x16058
movslq 0x20(%rax,%r15,8), %rsi
leaq -0x50(%rbp), %rdi
movl $0x2, %edx
callq 0x4534
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 0xf79f
movq %r12, %rsi
subq %rdi, %rsi
callq 0x21d0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0xf7b4
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
callq 0x21d0
movb (%r13), %al
movq 0x68d9(%rip), %rcx      # 0x16098
movslq 0x24(%rcx,%rbx), %rcx
movq 0x6835(%rip), %rdx      # 0x16000
movb %al, 0x1(%rdx,%rcx)
leaq 0x1(%r13), %r12
movl $0x2, %eax
movq 0x68b9(%rip), %rcx      # 0x16098
movslq 0x24(%rcx,%rbx), %rcx
addq 0x6815(%rip), %rcx      # 0x16000
movb (%r12), %dl
movb %dl, (%rax,%rcx)
movq %r13, -0x30(%rbp)
movq -0x58(%rbp), %r13
jmp 0xf814
movl $0x13, %edx
movq 0x57d0(%rip), %rdi      # 0x14fd8
leaq 0x1f97(%rip), %rsi      # 0x117a6
callq 0x2210
incq %r14
movq 0x6882(%rip), %rax      # 0x160a0
movq 0x6873(%rip), %r12      # 0x16098
subq %r12, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
cltq
addq $0x28, %rbx
cmpq %rax, %r14
jl 0xf68d
movq -0x60(%rbp), %rcx
incq %rcx
movq 0x6811(%rip), %rax      # 0x16060
subq 0x6802(%rip), %rax      # 0x16058
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
cltq
cmpq %rax, %rcx
jl 0xf65d
jmp 0xf878
movq $0x0, -0x30(%rbp)
xorl %r13d, %r13d
callq 0xfbc9
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xf891
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 0xf8ac
movq %rax, %rbx
movq %r12, %r13
jmp 0xf8af
jmp 0xf8ac
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xf8c3
subq %rdi, %r13
movq %r13, %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2300