// File: /workspace/github_cpp_makefile_star2_O1/lindorx[P]train/HelpInsPro.cpp
// Function: mov_push(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned char, unsigned char, int, STRINF*, STRINF*)
std::vector<unsigned char>mov_push(const std::string& str, unsigned char b, unsigned char a, int num, STRINF *m1, STRINF *m2)
{
	using namespace std;
	int ch_num;
	vector<unsigned char>d;
	vector<unsigned char>data;
	//��Ƕ���ڵĴ����Ƕ�ch[1]�δ����Ĵ���
	if (m2->explain == "byte" || m2->explain == "BYTE"){
		//������ch[1]�ڲ����������ţ�ֻ��Ϊ��ֵ�ַ�����
		if (!m2->w){
			d = Num(m2->str, 1, num);
			if (d.size() == 0){
				cout << "����-008��,�����鱾�ַ�����" << str << endl;
				return data;
			}
			else{
				data.push_back(b);
				if (a != 0x00)data.push_back(a);
				else{
					data.push_back(0x46);
					data.push_back(0x00);
				}
				data.push_back(d[0]);
				return data;
			}
		}
		else{
			cout << "����-009,�����鱾�ַ�����" << str << endl;
			return data;
		}
	}
	if (m2->explain == "word" || m2->explain == "WORD"){
		//��m1->explain == "byte"��m2->explain����Ϊ"word"
		cout << "����-010,�����鱾�ַ���������Ϊword����" << str << endl;
		return data;
	}
	//��ch[1]��û���ֳ�˵����ʱ,Ҳ������������
	if (!m2->w){//û������ʱ
		//�ж��Ƿ�Ϊ�����ַ���
		ch_num = IntNum(m2->str, num);
		//if (ch_num<0){//С��0��˵��Ϊ����
		//cout << "*******" << m2->str << endl;
		if (ch_num>0xff)cout << "����,���ܴ���0xff(�������򽫻ᶪ����������):" << str << endl;
		//����ת��Ϊ1�ֽڣ�
		d = NumToUc(ch_num, 1);
		data.push_back(b);
		if (a != 0x00)data.push_back(a);
		else{
			data.push_back(0x46);
			data.push_back(0x00);
		}
		data.push_back(d[0]);
		return data;
	}
	cout << "�����鱾�д��룺" << str << endl;
	return data;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %r13d
movq %rsi, %r12
movq 0x10(%rbp), %rbx
movb %dl, -0x2a(%rbp)
movb %cl, -0x29(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x38(%rbp)
movq $0x0, 0x10(%rdi)
leaq 0xc5fd(%rip), %rsi      # 0x11639
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x50fa
leaq 0xc170(%rip), %rsi      # 0x111c3
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x50fa
leaq 0xc194(%rip), %rsi      # 0x111fe
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x51ac
leaq 0xc182(%rip), %rsi      # 0x11203
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x51ac
cmpb $0x0, 0x40(%rbx)
je 0x5286
xorl %r14d, %r14d
movq 0xff33(%rip), %rdi      # 0x14fd8
leaq 0xc1b1(%rip), %rsi      # 0x1125d
movl $0x10, %edx
xorl %r15d, %r15d
movq -0x38(%rbp), %r13
callq 0x2210
movq (%r12), %rsi
movq 0x8(%r12), %rdx
xorl %r14d, %r14d
movq 0xff08(%rip), %rdi      # 0x14fd8
xorl %r15d, %r15d
callq 0x2210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
xorl %r14d, %r14d
xorl %r15d, %r15d
movl $0xa, %esi
callq 0x21b0
jmp 0x5206
cmpb $0x0, 0x40(%rbx)
je 0x515f
xorl %r14d, %r14d
movq 0xfece(%rip), %rdi      # 0x14fd8
leaq 0xc0d3(%rip), %rsi      # 0x111e4
movl $0x19, %edx
xorl %r15d, %r15d
movq -0x38(%rbp), %r13
callq 0x2210
movq (%r12), %rsi
movq 0x8(%r12), %rdx
xorl %r14d, %r14d
movq 0xfea3(%rip), %rdi      # 0x14fd8
xorl %r15d, %r15d
callq 0x2210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
xorl %r14d, %r14d
xorl %r15d, %r15d
movl $0xa, %esi
callq 0x21b0
jmp 0x5206
addq $0x20, %rbx
leaq -0x50(%rbp), %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl %r13d, %ecx
callq 0x48ff
movq -0x50(%rbp), %r14
movq -0x40(%rbp), %r15
cmpq %r14, -0x48(%rbp)
movq -0x38(%rbp), %r13
je 0x522a
leaq 0x8(%r13), %rbx
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x5322
movb -0x2a(%rbp), %al
movb %al, (%rsi)
incq (%rbx)
jmp 0x532e
xorl %r14d, %r14d
movq 0xfe22(%rip), %rdi      # 0x14fd8
leaq 0xc04b(%rip), %rsi      # 0x11208
movl $0x27, %edx
xorl %r15d, %r15d
movq -0x38(%rbp), %r13
callq 0x2210
movq (%r12), %rsi
movq 0x8(%r12), %rdx
xorl %r14d, %r14d
movq 0xfdf7(%rip), %rdi      # 0x14fd8
xorl %r15d, %r15d
callq 0x2210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
xorl %r14d, %r14d
xorl %r15d, %r15d
movl $0xa, %esi
callq 0x21b0
xorl %r14d, %r14d
movsbl %al, %esi
xorl %r15d, %r15d
movq %r12, %rdi
callq 0x2040
xorl %r14d, %r14d
xorl %r15d, %r15d
movq %rax, %rdi
callq 0x2130
jmp 0x53d9
movq 0xfda7(%rip), %rdi      # 0x14fd8
leaq 0xbf90(%rip), %rsi      # 0x111c8
movl $0x1b, %edx
callq 0x2210
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0xfd86(%rip), %rdi      # 0x14fd8
callq 0x2210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2130
jmp 0x53d9
addq $0x20, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
movq %rbx, %rdi
movl %r13d, %esi
movq -0x38(%rbp), %r13
callq 0x460a
movq %rax, %rbx
cmpl $0x100, %ebx            # imm = 0x100
jl 0x52f1
xorl %r14d, %r14d
movq 0xfd24(%rip), %rdi      # 0x14fd8
leaq 0xbf75(%rip), %rsi      # 0x11230
movl $0x2c, %edx
xorl %r15d, %r15d
callq 0x2210
movq (%r12), %rsi
movq 0x8(%r12), %rdx
xorl %r14d, %r14d
movq 0xfcfd(%rip), %rdi      # 0x14fd8
xorl %r15d, %r15d
callq 0x2210
xorl %r14d, %r14d
xorl %r15d, %r15d
movq %rax, %rdi
callq 0x20f0
movslq %ebx, %rsi
leaq -0x50(%rbp), %rdi
movl $0x1, %edx
callq 0x4534
movq -0x50(%rbp), %r14
movq -0x40(%rbp), %r15
leaq 0x8(%r13), %rbx
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x5389
movb -0x2a(%rbp), %al
movb %al, (%rsi)
incq (%rbx)
jmp 0x5395
leaq -0x2a(%rbp), %rdx
movq %r13, %rdi
callq 0x6920
movb -0x29(%rbp), %al
testb %al, %al
je 0x5346
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x5366
movb %al, (%rsi)
incq (%rbx)
jmp 0x5372
leaq -0x50(%rbp), %rsi
movb $0x46, (%rsi)
movq %r13, %rdi
callq 0x67f0
leaq -0x50(%rbp), %rsi
movb $0x0, (%rsi)
movq %r13, %rdi
callq 0x67f0
jmp 0x5372
leaq -0x29(%rbp), %rdx
movq %r13, %rdi
callq 0x6920
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
jne 0x53d1
movq %r13, %rdi
movq %r14, %rdx
callq 0x6920
jmp 0x53d9
leaq -0x2a(%rbp), %rdx
movq %r13, %rdi
callq 0x6920
cmpb $0x0, -0x29(%rbp)
je 0x53a9
leaq -0x29(%rbp), %rsi
movq %r13, %rdi
callq 0x6734
jmp 0x53c7
leaq -0x50(%rbp), %rsi
movb $0x46, (%rsi)
movq %r13, %rdi
callq 0x67f0
leaq -0x50(%rbp), %rsi
movb $0x0, (%rsi)
movq %r13, %rdi
callq 0x67f0
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x53fe
movb (%r14), %al
movb %al, (%rsi)
incq (%rbx)
testq %r14, %r14
je 0x53ec
subq %r14, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x21d0
movq %r13, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %rdi
movq %r14, %rdx
callq 0x6920
jmp 0x53d9
jmp 0x5420
jmp 0x5420
jmp 0x5420
jmp 0x5420
jmp 0x5415
movq %rax, %r12
xorl %r14d, %r14d
xorl %r15d, %r15d
jmp 0x5423
movq %rax, %r12
movq -0x38(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x543f
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x21d0
testq %r14, %r14
je 0x5452
subq %r14, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x21d0
movq %r12, %rdi
callq 0x2300