// File: /workspace/github_cpp_makefile_star2_O3/lindorx[P]train/InsPro.cpp
// Function: Mul(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
std::vector<unsigned char>Mul(const std::string& str, int n)
{
	using namespace std;
	string ch = CutStr(str, n);
	vector<unsigned char>data;
	for (int i = 0; i < 16; ++i){
		if (ch == reg_1[i]){
			data.push_back(0xf6);
			if (i>7)data.push_back(logic_and[i - 8]);
			else data.push_back(logic_and[8]);
			return data;
		}
		if (ch == reg2[i]){
			data.push_back(0xf7);
			if (i>7)data.push_back(logic_and[i - 8]);
			else data.push_back(logic_and[8]);
			return data;
		}
	}
	//�ж��Ƿ�������
	int lk, rk, str_size = str.size();
	lk=str.find('[');
	rk = str.find(']');
	if (lk < str_size && rk < str_size && !(rk < 0) && !(lk < 0)){
		ch.clear();
		while (n <str_size && (str[n] == 0x20 || str[n] == '\t'))n++;
		while (n < str_size && (str[n] != '\n' || str[n] == '\0')){
			if (str[n] == 0x20 || str[n] == '\t')break;
			if (isalnum(str[n]))ch.push_back(str[n]);
			n++;
		}
		if (ch == "word" || ch == "WORD")data.push_back(0xf7);
		else if (ch == "byte" || ch == "BYTE")data.push_back(0xf6);
		else {
			cout << "����-027������������:" << str << endl; return data;
		}
		ch.clear(); ch = str.substr(lk+1, rk - lk-1);
		if (ch == "bx" || ch == "BX"){
			data.push_back(0x27); return data;
		}
		else if (ch == "bp" || ch == "BP"){
			data.push_back(0x66); data.push_back(0x00);
			return data;
		}
		else if (ch == "si" || ch == "SI"){
			data.push_back(0x24); return data;
		}
		else if (ch == "di" || ch == "DI"){
			data.push_back(0x25); return data;
		}
		else {
			data.clear();
			cout << "����-028������������:" << str << endl; return data;
		}
	}
	cout << "����-029������������:" << str << endl; return data;
	return data;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq -0x58(%rbp), %r12
movq %r12, %rdi
movq %rsi, -0x88(%rbp)
movl %edx, -0x5c(%rbp)
callq 0x3b1c
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %rbx, -0x30(%rbp)
movq $0x0, 0x10(%rbx)
movq (%r12), %rax
movq %rax, -0x38(%rbp)
movq 0x8(%r12), %r12
leaq 0x8f7f(%rip), %r13      # 0x15cf0
leaq 0x8d80(%rip), %rbx      # 0x15af8
xorl %r14d, %r14d
xorl %r15d, %r15d
cmpq (%rbx), %r12
jne 0xcdaf
testq %r12, %r12
je 0xce8f
movq -0x8(%rbx), %rsi
movq -0x38(%rbp), %rdi
movq %r12, %rdx
callq 0x21f0
testl %eax, %eax
je 0xce8f
movq %r13, %rax
cmpq 0x8(%r13), %r12
je 0xcdcf
jmp 0xcde6
cmpq 0x8(%r13), %r12
jne 0xcde6
testq %r12, %r12
je 0xcea4
movq %r15, %rax
shlq $0x5, %rax
leaq 0x8f24(%rip), %rcx      # 0x15cf0
addq %rcx, %rax
movq (%rax), %rsi
movq -0x38(%rbp), %rdi
movq %r12, %rdx
callq 0x21f0
testl %eax, %eax
je 0xcea4
incq %r15
decq %r14
addq $0x20, %r13
addq $0x20, %rbx
cmpq $-0x10, %r14
jne 0xcd7e
movq -0x88(%rbp), %r13
movl 0x8(%r13), %r12d
movq %r13, %rdi
movl $0x5b, %esi
xorl %edx, %edx
callq 0x2240
movq %rax, %r15
movq %r13, %rdi
movl $0x5d, %esi
xorl %edx, %edx
callq 0x2240
cmpl %r12d, %r15d
jge 0xcf00
cmpl %r12d, %eax
jge 0xcf00
movl %eax, %ecx
orl %r15d, %ecx
andl $0x80000000, %ecx       # imm = 0x80000000
jne 0xcf00
movq %rax, -0x38(%rbp)
movq $0x0, -0x50(%rbp)
movq -0x58(%rbp), %rax
movb $0x0, (%rax)
movl -0x5c(%rbp), %edx
cmpl %edx, %r12d
jle 0xcf96
movslq %edx, %rax
addq (%r13), %rax
movzbl (%rax), %ecx
cmpl $0x20, %ecx
je 0xce80
cmpl $0x9, %ecx
jne 0xcf96
incl %edx
incq %rax
cmpl %edx, %r12d
jne 0xce6f
jmp 0xcfe7
leaq -0x80(%rbp), %rsi
movb $-0xa, (%rsi)
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0x6694
jmp 0xceb7
leaq -0x80(%rbp), %rsi
movb $-0x9, (%rsi)
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0x6694
movq %r14, %rax
negq %rax
cmpq $0x8, %rax
jb 0xceed
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
subl %r14d, %eax
leaq 0x4707(%rip), %rdx      # 0x115d9
addq %rax, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0xcf63
movb (%rdx), %al
movb %al, (%rsi)
incq 0x8(%rbx)
jmp 0xcf6b
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0xcf5c
incq %rsi
movq %rsi, 0x8(%rbx)
jmp 0xcf6b
movq 0x80d1(%rip), %rdi      # 0x14fd8
leaq 0x466d(%rip), %rsi      # 0x1157b
movl $0x15, %edx
movq -0x30(%rbp), %rbx
callq 0x2210
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq 0x80ad(%rip), %rdi      # 0x14fd8
callq 0x2210
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2130
jmp 0xcf6b
leaq 0x467e(%rip), %rdx      # 0x115e1
movq %rbx, %rdi
callq 0x67cc
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xcf84
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
subl %edx, %r12d
jle 0xcfe7
movslq %edx, %rbx
movabsq $0x100000600, %r14      # imm = 0x100000600
movq (%r13), %rax
movzbl (%rax,%rbx), %eax
cmpq $0x20, %rax
ja 0xcfbc
btq %rax, %r14
jb 0xcfe7
movsbl %al, %r13d
movl %r13d, %edi
callq 0x21e0
testl %eax, %eax
je 0xcfd8
leaq -0x58(%rbp), %rdi
movl %r13d, %esi
callq 0x2180
incq %rbx
decl %r12d
movq -0x88(%rbp), %r13
jne 0xcfa8
leaq 0x4210(%rip), %rsi      # 0x111fe
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd074
leaq 0x4201(%rip), %rsi      # 0x11203
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd074
leaq 0x4623(%rip), %rsi      # 0x11639
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
movq -0x30(%rbp), %rbx
je 0xd089
leaq 0x4195(%rip), %rsi      # 0x111c3
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd089
leaq 0x450d(%rip), %rsi      # 0x1154f
movq 0x7f8f(%rip), %rdi      # 0x14fd8
movl $0x15, %edx
callq 0x2210
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq 0x7f76(%rip), %rdi      # 0x14fd8
callq 0x2210
movq %rax, %rdi
callq 0x20f0
jmp 0xcf6b
leaq -0x80(%rbp), %rsi
movb $-0x9, (%rsi)
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0x6694
jmp 0xd098
leaq -0x80(%rbp), %rsi
movb $-0xa, (%rsi)
movq %rbx, %rdi
callq 0x6694
movq -0x38(%rbp), %rcx
movq $0x0, -0x50(%rbp)
movq -0x58(%rbp), %rax
movb $0x0, (%rax)
leal 0x1(%r15), %edx
notl %r15d
addl %r15d, %ecx
movslq %ecx, %rcx
leaq -0x80(%rbp), %rdi
movq %r13, %rsi
callq 0x2200
leaq -0x58(%rbp), %rdi
leaq -0x80(%rbp), %r15
movq %r15, %rsi
callq 0x2230
movq (%r15), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0xd0ec
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x21d0
leaq 0x4066(%rip), %rsi      # 0x11159
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd1bd
leaq 0x4036(%rip), %rsi      # 0x11141
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd1bd
leaq 0x403c(%rip), %rsi      # 0x1115f
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd1d1
leaq 0x400c(%rip), %rsi      # 0x11147
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd1d1
leaq 0x400f(%rip), %rsi      # 0x11162
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd1f4
leaq 0x3fdf(%rip), %rsi      # 0x1114a
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd1f4
leaq 0x3fe6(%rip), %rsi      # 0x11165
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd208
leaq 0x3fba(%rip), %rsi      # 0x1114d
leaq -0x58(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xd208
movq (%rbx), %rax
leaq 0x43bb(%rip), %rsi      # 0x11565
cmpq %rax, 0x8(%rbx)
je 0xd042
movq %rax, 0x8(%rbx)
jmp 0xd042
leaq -0x80(%rbp), %rsi
movb $0x27, (%rsi)
movq %rbx, %rdi
callq 0x6694
jmp 0xcf6b
leaq -0x80(%rbp), %rsi
movb $0x66, (%rsi)
movq %rbx, %rdi
callq 0x6694
leaq -0x80(%rbp), %rsi
movb $0x0, (%rsi)
movq %rbx, %rdi
callq 0x6694
jmp 0xcf6b
leaq -0x80(%rbp), %rsi
movb $0x24, (%rsi)
movq %rbx, %rdi
callq 0x6694
jmp 0xcf6b
leaq -0x80(%rbp), %rsi
movb $0x25, (%rsi)
movq %rbx, %rdi
callq 0x6694
jmp 0xcf6b
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
jmp 0xd234
movq %rax, %r14
movq -0x30(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0xd253
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x21d0
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xd26c
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21d0
movq %r14, %rdi
callq 0x2300