// File: /workspace/github_cpp_makefile_star2_O3/lindorx[P]train/InsPro.cpp
// Function: Move1(STRINF*, STRINF*, int)
std::vector<unsigned char>Move1( STRINF *m1, STRINF *m2,int num)
{
	using namespace std;
	vector<unsigned char>data;
	vector<unsigned char>w;
	unsigned char a,b,c,c_s,d,f;
	string ch[2];
	ch[0] = m1->str;
	ch[1] = m2->str;
	a=TwoRegBin(ch,1);
	b=TwoRegBin(ch,2);
	c=TwoRegBin(ch,3);
	c_s = TwoRegBin(ch, 4);
	//�����Ƿ�Ϊ�Ĵ���֮�丳ֵ
	if (a){
		data.push_back(0x88);
		data.push_back(a);
		return data;
	}
	else if (b){
		data.push_back(0x89);
		data.push_back(b);
		return data;
	}
	else if (c){
		data.push_back(0x8c);
		data.push_back(c);
		return data;
	}
	else if (c_s){
		data.push_back(0x8e);
		data.push_back(c_s);
		return data;
	}
	else{
		d = RegACDB(ch[0], 1);//�ж�8λ�Ĵ���
		f = RegACDB(ch[0], 2);//�ж�16λ�Ĵ���
		if(d){//��d���棬˵�����ϸߵ�λ�Ĵ���
			data.push_back(d);
			//�����ж��Ƿ�Ϊ�ַ���$���������ǣ�д��3����Ԫ�أ���data�Ĵ�С���ڵ���4,���򷵻ؽ��Ĵ���������ֵת�����Ľ���
			if (ch[1] != "$"){
				//д���Ĵ�����������������ֵ������������16���ƻ�ʮ�����ַ���
				w = Num(ch[1], 1,num);
				if (w.size() > 0){
					data.insert(data.end(), w.begin(), w.end());
					return data;
				}
				else{
					//��ʱdata�Ĵ�СΪ4������ȷ����Ϊ����
					data.insert(data.end(), 2, 0x00);
					data.push_back(2);
					return data;
				}
			}
			else {
				w = NumToUc(num, 1);
				data.insert(data.end(), w.begin(), w.end());
				return data;
			}
		}
		else if(f){
			data.push_back(f);//д���Ĵ���
			//ͬ��
			if (ch[1] != "$"){
				//д���Ĵ�����������������ֵ������������16���ƻ�ʮ�����ַ���
				w = Num(ch[1], 2,num);
				//�ж��Ƿ��Ǳ����ַ���
				if (w.size() > 0){
					data.insert(data.end(), w.begin(), w.end());
					return data;
				}
				else{
					//��ʱdata�Ĵ�СΪ4������ȷ����Ϊ����
					data.insert(data.end(), 2, 0x00);
					data.push_back(1);
					return data;
				}
			}
			else {
				w = NumToUc(num, 2);
				data.insert(data.end(), w.begin(), w.end());
				return data;
			}
		}
		else{
			cout << "����MOVָ��������error-005!" << endl;
			return data;
		}
		cout << "����MOVָ��������error-019!" << endl;
		return data;
	}
	//���䣬֮ǰû�з��ֶμĴ����ĸ�ֵ
	
	return data;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %ecx, -0x38(%rbp)
movq %rdx, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x10, %eax
leaq (%rax,%rbp), %rcx
addq $-0xa0, %rcx
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rax
cmpq $0x50, %rax
jne 0x6af1
addq $0x20, %rsi
leaq -0xa0(%rbp), %rdi
callq 0x2110
addq $0x20, %r14
leaq -0x80(%rbp), %rdi
movq %r14, %rsi
callq 0x2110
leaq -0xa0(%rbp), %rdi
movl $0x1, %esi
callq 0x3e24
movl %eax, %r12d
movb %al, -0x3d(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x2, %esi
callq 0x3e24
movl %eax, %r13d
movb %al, -0x3c(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x3, %esi
callq 0x3e24
movl %eax, %r14d
movb %al, -0x3b(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x4, %esi
callq 0x3e24
movl %eax, %r15d
movb %al, -0x3a(%rbp)
testb %r12b, %r12b
je 0x6bb4
leaq -0x58(%rbp), %rsi
movb $-0x78, (%rsi)
movq %rbx, %rdi
callq 0x6694
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6bd7
movb %r12b, (%rsi)
jmp 0x6c31
testb %r13b, %r13b
je 0x6be0
leaq -0x58(%rbp), %rsi
movb $-0x77, (%rsi)
movq %rbx, %rdi
callq 0x6694
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6c03
movb %r13b, (%rsi)
jmp 0x6c31
leaq -0x3d(%rbp), %rdx
jmp 0x6cda
testb %r14b, %r14b
je 0x6c0c
leaq -0x58(%rbp), %rsi
movb $-0x74, (%rsi)
movq %rbx, %rdi
callq 0x6694
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6c3a
movb %r14b, (%rsi)
jmp 0x6c31
leaq -0x3c(%rbp), %rdx
jmp 0x6cda
testb %r15b, %r15b
je 0x6c43
leaq -0x58(%rbp), %rsi
movb $-0x72, (%rsi)
movq %rbx, %rdi
callq 0x6694
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6cd6
movb %r15b, (%rsi)
incq 0x8(%rbx)
jmp 0x6ce2
leaq -0x3b(%rbp), %rdx
jmp 0x6cda
leaq -0xa0(%rbp), %rdi
movl $0x1, %esi
callq 0x4115
movb %al, -0x29(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x2, %esi
callq 0x4115
movb %al, -0x39(%rbp)
cmpb $0x0, -0x29(%rbp)
je 0x6d37
leaq -0x29(%rbp), %rsi
movq %rbx, %rdi
callq 0x65d4
leaq 0xa539(%rip), %rsi      # 0x111c1
leaq -0x80(%rbp), %r14
movq %r14, %rdi
callq 0x20a0
testl %eax, %eax
je 0x6da3
leaq -0x58(%rbp), %rdi
movq %r14, %rsi
movl $0x1, %edx
movl -0x38(%rbp), %ecx
callq 0x48ee
movq -0x58(%rbp), %r15
movq -0x50(%rbp), %rcx
movq -0x48(%rbp), %r14
movq 0x8(%rbx), %rsi
cmpq %r15, %rcx
je 0x6dd5
movq %rbx, %rdi
movq %r15, %rdx
callq 0x68c6
jmp 0x6ce8
leaq -0x3a(%rbp), %rdx
movq %rbx, %rdi
callq 0x67cc
xorl %r14d, %r14d
xorl %r15d, %r15d
movq $-0x40, %r12
leaq -0x70(%rbp), %r13
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x6d08
movq (%r13), %rsi
incq %rsi
callq 0x21d0
addq $-0x20, %r13
addq $0x20, %r12
jne 0x6cf3
testq %r15, %r15
je 0x6d25
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x21d0
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testb %al, %al
je 0x6dfd
leaq -0x39(%rbp), %rsi
movq %rbx, %rdi
callq 0x65d4
leaq 0xa46f(%rip), %rsi      # 0x111c1
leaq -0x80(%rbp), %r14
movq %r14, %rdi
callq 0x20a0
testl %eax, %eax
je 0x6e26
leaq -0x58(%rbp), %rdi
movq %r14, %rsi
movl $0x2, %edx
movl -0x38(%rbp), %ecx
callq 0x48ee
movq -0x58(%rbp), %r15
movq -0x50(%rbp), %rcx
movq -0x48(%rbp), %r14
movq 0x8(%rbx), %rsi
cmpq %r15, %rcx
je 0x6e58
movq %rbx, %rdi
movq %r15, %rdx
callq 0x68c6
jmp 0x6ce8
movslq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdi
movl $0x1, %edx
callq 0x4523
movq -0x58(%rbp), %r15
movq -0x50(%rbp), %rcx
movq -0x48(%rbp), %r14
movq 0x8(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x68c6
jmp 0x6ce8
leaq -0x58(%rbp), %rcx
movb $0x0, (%rcx)
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd2b8
leaq -0x58(%rbp), %rsi
movb $0x2, (%rsi)
movq %rbx, %rdi
callq 0x6694
jmp 0x6ce8
movq 0xe1d4(%rip), %rdi      # 0x14fd8
leaq 0xa595(%rip), %rsi      # 0x113a0
movl $0x1b, %edx
callq 0x2210
movq 0xe1bc(%rip), %rdi      # 0x14fd8
callq 0x20f0
jmp 0x6ce2
movslq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdi
movl $0x2, %edx
callq 0x4523
movq -0x58(%rbp), %r15
movq -0x50(%rbp), %rcx
movq -0x48(%rbp), %r14
movq 0x8(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x68c6
jmp 0x6ce8
leaq -0x58(%rbp), %rcx
movb $0x0, (%rcx)
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd2b8
leaq -0x58(%rbp), %rsi
movb $0x1, (%rsi)
movq %rbx, %rdi
callq 0x6694
jmp 0x6ce8
jmp 0x6e94
jmp 0x6e94
jmp 0x6e94
jmp 0x6ea4
jmp 0x6e94
jmp 0x6e94
jmp 0x6e94
jmp 0x6ea4
jmp 0x6e94
jmp 0x6ea4
movq %rax, -0x38(%rbp)
jmp 0x6eae
jmp 0x6ea4
jmp 0x6ea4
jmp 0x6ea4
jmp 0x6ea4
jmp 0x6ea4
movq %rax, -0x38(%rbp)
xorl %r14d, %r14d
xorl %r15d, %r15d
movq $-0x40, %r13
leaq -0x70(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x6ecf
movq (%r12), %rsi
incq %rsi
callq 0x21d0
addq $-0x20, %r12
addq $0x20, %r13
jne 0x6eb9
testq %r15, %r15
je 0x6eec
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x21d0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x6f00
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x21d0
movq -0x38(%rbp), %rdi
callq 0x2300