// File: /workspace/github_cpp_makefile_star2_O3/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 0xc60e(%rip), %rsi      # 0x11639
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x50e9
leaq 0xc181(%rip), %rsi      # 0x111c3
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x50e9
leaq 0xc1a5(%rip), %rsi      # 0x111fe
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x519b
leaq 0xc193(%rip), %rsi      # 0x11203
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x519b
cmpb $0x0, 0x40(%rbx)
je 0x5275
xorl %r14d, %r14d
movq 0xff44(%rip), %rdi      # 0x14fd8
leaq 0xc1c2(%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 0xff19(%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 0x51f5
cmpb $0x0, 0x40(%rbx)
je 0x514e
xorl %r14d, %r14d
movq 0xfedf(%rip), %rdi      # 0x14fd8
leaq 0xc0e4(%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 0xfeb4(%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 0x51f5
addq $0x20, %rbx
leaq -0x50(%rbp), %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl %r13d, %ecx
callq 0x48ee
movq -0x50(%rbp), %r14
movq -0x40(%rbp), %r15
cmpq %r14, -0x48(%rbp)
movq -0x38(%rbp), %r13
je 0x5219
leaq 0x8(%r13), %rbx
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x5311
movb -0x2a(%rbp), %al
movb %al, (%rsi)
incq (%rbx)
jmp 0x531d
xorl %r14d, %r14d
movq 0xfe33(%rip), %rdi      # 0x14fd8
leaq 0xc05c(%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 0xfe08(%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 0x53e8
movq 0xfdb8(%rip), %rdi      # 0x14fd8
leaq 0xbfa1(%rip), %rsi      # 0x111c8
movl $0x1b, %edx
callq 0x2210
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0xfd97(%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 0x53d5
addq $0x20, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
movq %rbx, %rdi
movl %r13d, %esi
movq -0x38(%rbp), %r13
callq 0x45f9
movq %rax, %rbx
cmpl $0x100, %ebx            # imm = 0x100
jl 0x52e0
xorl %r14d, %r14d
movq 0xfd35(%rip), %rdi      # 0x14fd8
leaq 0xbf86(%rip), %rsi      # 0x11230
movl $0x2c, %edx
xorl %r15d, %r15d
callq 0x2210
movq (%r12), %rsi
movq 0x8(%r12), %rdx
xorl %r14d, %r14d
movq 0xfd0e(%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 0x4523
movq -0x50(%rbp), %r14
movq -0x40(%rbp), %r15
leaq 0x8(%r13), %rbx
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x5378
movb -0x2a(%rbp), %al
movb %al, (%rsi)
incq (%rbx)
jmp 0x5384
leaq -0x2a(%rbp), %rdx
movq %r13, %rdi
callq 0x67cc
movb -0x29(%rbp), %al
testb %al, %al
je 0x5335
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x5355
movb %al, (%rsi)
incq (%rbx)
jmp 0x5361
leaq -0x50(%rbp), %rsi
movb $0x46, (%rsi)
movq %r13, %rdi
callq 0x6694
leaq -0x50(%rbp), %rsi
movb $0x0, (%rsi)
movq %r13, %rdi
callq 0x6694
jmp 0x5361
leaq -0x29(%rbp), %rdx
movq %r13, %rdi
callq 0x67cc
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
jne 0x53c0
movq %r13, %rdi
movq %r14, %rdx
callq 0x67cc
jmp 0x53d5
leaq -0x2a(%rbp), %rdx
movq %r13, %rdi
callq 0x67cc
cmpb $0x0, -0x29(%rbp)
je 0x5398
leaq -0x29(%rbp), %rsi
movq %r13, %rdi
callq 0x65d4
jmp 0x53b6
leaq -0x50(%rbp), %rsi
movb $0x46, (%rsi)
movq %r13, %rdi
callq 0x6694
leaq -0x50(%rbp), %rsi
movb $0x0, (%rsi)
movq %r13, %rdi
callq 0x6694
movq 0x8(%r13), %rsi
cmpq 0x10(%r13), %rsi
je 0x53ca
movb (%r14), %al
movb %al, (%rsi)
incq (%rbx)
jmp 0x53da
movq %r13, %rdi
movq %r14, %rdx
callq 0x67cc
testq %r14, %r14
je 0x53e8
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
jmp 0x540f
jmp 0x540f
jmp 0x540f
jmp 0x540f
jmp 0x5404
movq %rax, %r12
xorl %r14d, %r14d
xorl %r15d, %r15d
jmp 0x5412
movq %rax, %r12
movq -0x38(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x542e
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x21d0
testq %r14, %r14
je 0x5441
subq %r14, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x21d0
movq %r12, %rdi
callq 0x2300