// File: /workspace/github_cpp_makefile_star2_O1/lindorx[P]train/HelpInsPro.cpp
// Function: acdb_m1_num(short, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
std::vector<unsigned char>acdb_m1_num(short cmd,std::string str,std::string m1_str,int num)
{
	using namespace std;
	vector<unsigned char>data;
	vector<unsigned char>d = Num(m1_str, 2, num);
	unsigned char n_ax=0xa3,n_al=0xa2, n_16=0x89,n_8=0x88,n_s=0x8c;
	//����cmd
	if (cmd == 2){
		n_ax = 0xa1;
		n_al = 0xa0;
		n_16 = 0x8b;
		n_8 = 0x8a;
		n_s = 0x8e;
	}
	for (int i = 0; i < 16; ++i){
		//�ж��Ƿ�Ϊ16λ�Ĵ���
		if (str == reg2[i]){
			if (i == 0 || i == 8)//reg[0]��reg[8]��Ӧ���ַ���ʱax����������
				data.push_back(n_ax);
			else{
				data.push_back(n_16);
				if (i>7)data.push_back(m_unch[i - 8]);
				else data.push_back(m_unch[i]);
			}
			data.insert(data.end(), d.begin(), d.end());
			return data;
		}
		//�ж��Ƿ�Ϊ8λ�Ĵ���
		if (str == reg2[i]){
			if (i == 0 || i == 8)//reg[0]��reg[8]��Ӧ���ַ���ʱax����������
				data.push_back(n_al);
			else{
				data.push_back(n_8);
				if (i>7)data.push_back(m_unch[i - 8]);
				else data.push_back(m_unch[i]);
			}
			data.insert(data.end(), d.begin(), d.end());
			return data;
		}
	}
	if (str == "es" || str == "ES"){
		data.push_back(n_s);
		data.push_back(0x06);
		data.insert(data.end(), d.begin(), d.end());
		return data;
	}
	if (str == "cs" || str == "CS"){
		data.push_back(n_s);
		data.push_back(0x0e);
		data.insert(data.end(), d.begin(), d.end());
		return data;
	}
	if (str == "ss" || str == "SS"){
		data.push_back(n_s);
		data.push_back(0x16);
		data.insert(data.end(), d.begin(), d.end());
		return data;
	}
	if (str == "ds" || str == "DS"){
		data.push_back(n_s);
		data.push_back(0x1e);
		data.insert(data.end(), d.begin(), d.end());
		return data;
	}
	cout << "����--017,�����飺" << str<<endl;
	return data;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movl %esi, %r15d
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x38(%rbp)
movq $0x0, 0x10(%rdi)
leaq -0x50(%rbp), %rdi
movq %rcx, %rsi
movl $0x2, %edx
movl %r8d, %ecx
callq 0x48ff
movb $-0x5d, -0x2e(%rbp)
movb $-0x5e, -0x2d(%rbp)
movb $-0x77, -0x2c(%rbp)
movb $-0x78, -0x2b(%rbp)
movb $-0x74, -0x29(%rbp)
cmpw $0x2, %r15w
jne 0x5fa3
movb $-0x5f, -0x2e(%rbp)
movb $-0x60, -0x2d(%rbp)
movb $-0x75, -0x2c(%rbp)
movb $-0x76, -0x2b(%rbp)
movb $-0x72, -0x29(%rbp)
movq %rbx, -0x58(%rbp)
movq 0x8(%rbx), %r15
leaq 0xb0ce(%rip), %r13      # 0x11080
leaq 0xf627(%rip), %rbx      # 0x155e0
xorl %r12d, %r12d
movq 0x8(%rbx), %r14
cmpq %r14, %r15
jne 0x6007
testq %r15, %r15
je 0x610f
movq (%rbx), %rsi
movq -0x58(%rbp), %rax
movq (%rax), %rdi
movq %r15, %rdx
callq 0x21f0
testl %eax, %eax
je 0x610f
cmpq %r14, %r15
jne 0x6007
movq (%rbx), %rsi
movq -0x58(%rbp), %rax
movq (%rax), %rdi
movq %r15, %rdx
callq 0x21f0
testl %eax, %eax
je 0x6164
decq %r12
incq %r13
addq $0x20, %rbx
cmpq $-0x10, %r12
jne 0x5fbc
leaq 0xb156(%rip), %rsi      # 0x11174
movq -0x58(%rbp), %rbx
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x6136
leaq 0xb12f(%rip), %rsi      # 0x11168
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x6136
leaq 0xb127(%rip), %rsi      # 0x11177
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
movq -0x38(%rbp), %r14
je 0x61de
leaq 0xb100(%rip), %rsi      # 0x1116b
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x61de
leaq 0xb0f8(%rip), %rsi      # 0x1117a
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x627e
leaq 0xb0d5(%rip), %rsi      # 0x1116e
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x627e
leaq 0xb0cd(%rip), %rsi      # 0x1117d
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x632b
leaq 0xb0aa(%rip), %rsi      # 0x11171
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x632b
movq 0xeefa(%rip), %rdi      # 0x14fd8
leaq 0xb233(%rip), %rsi      # 0x11318
movl $0x12, %edx
callq 0x2210
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xeedb(%rip), %rdi      # 0x14fd8
callq 0x2210
movq %rax, %rdi
callq 0x20f0
jmp 0x6257
movq %r12, %rbx
negq %rbx
movq -0x38(%rbp), %r14
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rax
testb $0x7, %bl
je 0x6156
cmpq %rax, %rsi
je 0x6196
movb -0x2c(%rbp), %al
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x61a2
movq -0x38(%rbp), %r14
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x61fa
movb -0x29(%rbp), %al
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x6206
cmpq %rax, %rsi
je 0x622b
movb -0x2e(%rbp), %al
jmp 0x61d6
movq %r12, %rbx
negq %rbx
movq -0x38(%rbp), %r14
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rax
testb $0x7, %bl
je 0x629a
cmpq %rax, %rsi
je 0x62dc
movb -0x2b(%rbp), %al
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x62e8
leaq -0x2c(%rbp), %rdx
movq %r14, %rdi
callq 0x6920
cmpq $0x8, %rbx
jb 0x61c8
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
subl %r12d, %eax
leaq 0xaec9(%rip), %rdx      # 0x11080
addq %rax, %rdx
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x623b
movb (%rdx), %al
jmp 0x61d6
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x6231
movb (%r13), %al
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x6243
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x62a8
movb -0x29(%rbp), %al
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x62b4
leaq -0x29(%rbp), %rdx
movq %r14, %rdi
callq 0x6920
leaq -0x2a(%rbp), %rsi
movb $0x6, (%rsi)
movq %r14, %rdi
callq 0x67f0
movq 0x8(%r14), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq %r14, %rdi
callq 0x6a1a
jmp 0x6257
leaq -0x2e(%rbp), %rdx
jmp 0x623b
leaq 0xae48(%rip), %rdx      # 0x11080
subq %r12, %rdx
movq %r14, %rdi
callq 0x6920
movq 0x8(%r14), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq %r14, %rdi
callq 0x6a1a
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x626c
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
callq 0x21d0
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x635f
movb -0x29(%rbp), %al
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x636b
cmpq %rax, %rsi
je 0x6393
movb -0x2d(%rbp), %al
jmp 0x6320
leaq -0x29(%rbp), %rdx
movq %r14, %rdi
callq 0x6920
leaq -0x2a(%rbp), %rsi
movb $0xe, (%rsi)
movq %r14, %rdi
callq 0x67f0
movq 0x8(%r14), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq %r14, %rdi
callq 0x6a1a
jmp 0x6257
leaq -0x2b(%rbp), %rdx
movq %r14, %rdi
callq 0x6920
cmpq $0x8, %rbx
jb 0x6312
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
subl %r12d, %eax
leaq 0xad83(%rip), %rdx      # 0x11080
addq %rax, %rdx
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x63a3
movb (%rdx), %al
jmp 0x6320
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x6399
movb (%r13), %al
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x63ab
leaq -0x29(%rbp), %rsi
movq %r14, %rdi
callq 0x6734
leaq -0x2a(%rbp), %rsi
movb $0x1e, (%rsi)
movq %r14, %rdi
callq 0x67f0
movq 0x8(%r14), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq %r14, %rdi
callq 0x6a1a
jmp 0x6257
leaq -0x29(%rbp), %rdx
movq %r14, %rdi
callq 0x6920
leaq -0x2a(%rbp), %rsi
movb $0x16, (%rsi)
movq %r14, %rdi
callq 0x67f0
movq 0x8(%r14), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq %r14, %rdi
callq 0x6a1a
jmp 0x6257
leaq -0x2d(%rbp), %rdx
jmp 0x63a3
leaq 0xace0(%rip), %rdx      # 0x11080
subq %r12, %rdx
movq %r14, %rdi
callq 0x6920
movq 0x8(%r14), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq %r14, %rdi
callq 0x6a1a
jmp 0x6257
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
jmp 0x63da
movq %rax, %r14
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x63f7
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
callq 0x21d0
jmp 0x63f7
movq %rax, %r14
movq -0x38(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x6413
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x21d0
movq %r14, %rdi
callq 0x2300