// File: lindorx[P]train/HelpInsPro.cpp
// Function: RegACDB(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, short)
unsigned char RegACDB(const std::string& str, short num)
{
	if (num == 2){
		if (str == "AX")return AX_HEX;
		if (str == "CX")return CX_HEX;
		if (str == "DX")return DX_HEX;
		if (str == "BX")return BX_HEX;
		if (str == "SP")return SP_HEX;
		if (str == "BP")return BP_HEX;
		if (str == "SI")return SI_HEX;
		if (str == "DI")return DI_HEX;
		if (str == "ax")return AX_HEX;
		if (str == "cx")return CX_HEX;
		if (str == "dx")return DX_HEX;
		if (str == "bx")return BX_HEX;
		if (str == "sp")return SP_HEX;
		if (str == "bp")return BP_HEX;
		if (str == "si")return SI_HEX;
		if (str == "di")return DI_HEX;
	}
	else if (num == 1){
		if (str == "AH")return AH_HEX;
		if (str == "AL")return AL_HEX;
		if (str == "CH")return CL_HEX;
		if (str == "CL")return CH_HEX;
		if (str == "DH")return DH_HEX;
		if (str == "DL")return DL_HEX;
		if (str == "BH")return BH_HEX;
		if (str == "BL")return BL_HEX;
		if (str == "ah")return AH_HEX;
		if (str == "al")return AL_HEX;
		if (str == "ch")return CL_HEX;
		if (str == "cl")return CH_HEX;
		if (str == "dh")return DH_HEX;
		if (str == "dl")return DL_HEX;
		if (str == "bh")return BH_HEX;
		if (str == "bl")return BL_HEX;
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movw %si, %ax
movq %rdi, -0x10(%rbp)
movw %ax, -0x12(%rbp)
movswl -0x12(%rbp), %eax
cmpl $0x2, %eax
jne 0x7245
movq -0x10(%rbp), %rdi
leaq 0x1414d(%rip), %rsi     # 0x1b1a8
callq 0xa8a0
testb $0x1, %al
jne 0x7066
jmp 0x706f
movb $-0x48, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x14131(%rip), %rsi     # 0x1b1ab
callq 0xa8a0
testb $0x1, %al
jne 0x7085
jmp 0x708e
movb $-0x47, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x14115(%rip), %rsi     # 0x1b1ae
callq 0xa8a0
testb $0x1, %al
jne 0x70a4
jmp 0x70ad
movb $-0x46, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x140f9(%rip), %rsi     # 0x1b1b1
callq 0xa8a0
testb $0x1, %al
jne 0x70c3
jmp 0x70cc
movb $-0x45, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x140dd(%rip), %rsi     # 0x1b1b4
callq 0xa8a0
testb $0x1, %al
jne 0x70e2
jmp 0x70eb
movb $-0x44, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x140c1(%rip), %rsi     # 0x1b1b7
callq 0xa8a0
testb $0x1, %al
jne 0x7101
jmp 0x710a
movb $-0x43, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x140a5(%rip), %rsi     # 0x1b1ba
callq 0xa8a0
testb $0x1, %al
jne 0x7120
jmp 0x7129
movb $-0x42, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x14089(%rip), %rsi     # 0x1b1bd
callq 0xa8a0
testb $0x1, %al
jne 0x713f
jmp 0x7148
movb $-0x41, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x1406d(%rip), %rsi     # 0x1b1c0
callq 0xa8a0
testb $0x1, %al
jne 0x715e
jmp 0x7167
movb $-0x48, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x14051(%rip), %rsi     # 0x1b1c3
callq 0xa8a0
testb $0x1, %al
jne 0x717d
jmp 0x7186
movb $-0x47, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x14035(%rip), %rsi     # 0x1b1c6
callq 0xa8a0
testb $0x1, %al
jne 0x719c
jmp 0x71a5
movb $-0x46, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x14019(%rip), %rsi     # 0x1b1c9
callq 0xa8a0
testb $0x1, %al
jne 0x71bb
jmp 0x71c4
movb $-0x45, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13ffd(%rip), %rsi     # 0x1b1cc
callq 0xa8a0
testb $0x1, %al
jne 0x71da
jmp 0x71e3
movb $-0x44, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13fe1(%rip), %rsi     # 0x1b1cf
callq 0xa8a0
testb $0x1, %al
jne 0x71f9
jmp 0x7202
movb $-0x43, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13fc5(%rip), %rsi     # 0x1b1d2
callq 0xa8a0
testb $0x1, %al
jne 0x7218
jmp 0x7221
movb $-0x42, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13fa9(%rip), %rsi     # 0x1b1d5
callq 0xa8a0
testb $0x1, %al
jne 0x7237
jmp 0x7240
movb $-0x41, -0x1(%rbp)
jmp 0x743b
jmp 0x7437
movswl -0x12(%rbp), %eax
cmpl $0x1, %eax
jne 0x7435
movq -0x10(%rbp), %rdi
leaq 0x13f1b(%rip), %rsi     # 0x1b178
callq 0xa8a0
testb $0x1, %al
jne 0x7268
jmp 0x7271
movb $-0x4c, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13eff(%rip), %rsi     # 0x1b17b
callq 0xa8a0
testb $0x1, %al
jne 0x7287
jmp 0x7290
movb $-0x50, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13ee3(%rip), %rsi     # 0x1b17e
callq 0xa8a0
testb $0x1, %al
jne 0x72a6
jmp 0x72af
movb $-0x4f, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13ec7(%rip), %rsi     # 0x1b181
callq 0xa8a0
testb $0x1, %al
jne 0x72c5
jmp 0x72ce
movb $-0x4b, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13eab(%rip), %rsi     # 0x1b184
callq 0xa8a0
testb $0x1, %al
jne 0x72e4
jmp 0x72ed
movb $-0x4a, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13e8f(%rip), %rsi     # 0x1b187
callq 0xa8a0
testb $0x1, %al
jne 0x7303
jmp 0x730c
movb $-0x4e, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13e73(%rip), %rsi     # 0x1b18a
callq 0xa8a0
testb $0x1, %al
jne 0x7322
jmp 0x732b
movb $-0x49, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13e57(%rip), %rsi     # 0x1b18d
callq 0xa8a0
testb $0x1, %al
jne 0x7341
jmp 0x734a
movb $-0x4d, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13e3b(%rip), %rsi     # 0x1b190
callq 0xa8a0
testb $0x1, %al
jne 0x7360
jmp 0x7369
movb $-0x4c, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13e1f(%rip), %rsi     # 0x1b193
callq 0xa8a0
testb $0x1, %al
jne 0x737f
jmp 0x7388
movb $-0x50, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13e03(%rip), %rsi     # 0x1b196
callq 0xa8a0
testb $0x1, %al
jne 0x739e
jmp 0x73a7
movb $-0x4f, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13de7(%rip), %rsi     # 0x1b199
callq 0xa8a0
testb $0x1, %al
jne 0x73bd
jmp 0x73c3
movb $-0x4b, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13dce(%rip), %rsi     # 0x1b19c
callq 0xa8a0
testb $0x1, %al
jne 0x73d9
jmp 0x73df
movb $-0x4a, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13db5(%rip), %rsi     # 0x1b19f
callq 0xa8a0
testb $0x1, %al
jne 0x73f5
jmp 0x73fb
movb $-0x4e, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13d9c(%rip), %rsi     # 0x1b1a2
callq 0xa8a0
testb $0x1, %al
jne 0x7411
jmp 0x7417
movb $-0x49, -0x1(%rbp)
jmp 0x743b
movq -0x10(%rbp), %rdi
leaq 0x13d83(%rip), %rsi     # 0x1b1a5
callq 0xa8a0
testb $0x1, %al
jne 0x742d
jmp 0x7433
movb $-0x4d, -0x1(%rbp)
jmp 0x743b
jmp 0x7435
jmp 0x7437
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)