// File: /workspace/github_cpp_makefile_star2_O2/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
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl $0x1, %esi
je 0x3aec
cmpl $0x2, %esi
jne 0x3de8
leaq 0x967a(%rip), %rsi      # 0xd138
movq %rbx, %rdi
callq 0x5ad5
movb $-0x48, %r14b
testb %al, %al
jne 0x3deb
leaq 0x9663(%rip), %rsi      # 0xd13b
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3b21
movb $-0x47, %r14b
jmp 0x3deb
leaq 0x9615(%rip), %rsi      # 0xd108
movq %rbx, %rdi
callq 0x5ad5
movb $-0x4c, %r14b
testb %al, %al
jne 0x3deb
leaq 0x95fe(%rip), %rsi      # 0xd10b
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3b3c
movb $-0x50, %r14b
jmp 0x3deb
leaq 0x9616(%rip), %rsi      # 0xd13e
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3b57
movb $-0x46, %r14b
jmp 0x3deb
leaq 0x95cb(%rip), %rsi      # 0xd10e
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3b72
movb $-0x4f, %r14b
jmp 0x3deb
leaq 0x95e3(%rip), %rsi      # 0xd141
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3b8d
movb $-0x45, %r14b
jmp 0x3deb
leaq 0x9598(%rip), %rsi      # 0xd111
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3ba8
movb $-0x4b, %r14b
jmp 0x3deb
leaq 0x95b0(%rip), %rsi      # 0xd144
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3bc3
movb $-0x44, %r14b
jmp 0x3deb
leaq 0x9565(%rip), %rsi      # 0xd114
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3bde
movb $-0x4a, %r14b
jmp 0x3deb
leaq 0x957d(%rip), %rsi      # 0xd147
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3bf9
movb $-0x43, %r14b
jmp 0x3deb
leaq 0x9532(%rip), %rsi      # 0xd117
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3c14
movb $-0x4e, %r14b
jmp 0x3deb
leaq 0x954a(%rip), %rsi      # 0xd14a
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3c2f
movb $-0x42, %r14b
jmp 0x3deb
leaq 0x94ff(%rip), %rsi      # 0xd11a
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3c4a
movb $-0x49, %r14b
jmp 0x3deb
leaq 0x9517(%rip), %rsi      # 0xd14d
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3c69
movb $-0x41, %r14b
jmp 0x3deb
leaq 0x94cc(%rip), %rsi      # 0xd11d
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
je 0x3d33
movb $-0x4d, %r14b
jmp 0x3deb
leaq 0x94e0(%rip), %rsi      # 0xd150
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
jne 0x3deb
leaq 0x94cc(%rip), %rsi      # 0xd153
movq %rbx, %rdi
callq 0x5ad5
movb $-0x47, %r14b
testb %al, %al
jne 0x3deb
leaq 0x94b5(%rip), %rsi      # 0xd156
movq %rbx, %rdi
callq 0x5ad5
movb $-0x46, %r14b
testb %al, %al
jne 0x3deb
leaq 0x949e(%rip), %rsi      # 0xd159
movq %rbx, %rdi
callq 0x5ad5
movb $-0x45, %r14b
testb %al, %al
jne 0x3deb
leaq 0x9487(%rip), %rsi      # 0xd15c
movq %rbx, %rdi
callq 0x5ad5
movb $-0x44, %r14b
testb %al, %al
jne 0x3deb
leaq 0x9470(%rip), %rsi      # 0xd15f
movq %rbx, %rdi
callq 0x5ad5
movb $-0x43, %r14b
testb %al, %al
jne 0x3deb
leaq 0x9459(%rip), %rsi      # 0xd162
movq %rbx, %rdi
callq 0x5ad5
movb $-0x42, %r14b
testb %al, %al
jne 0x3deb
leaq 0x9442(%rip), %rsi      # 0xd165
movq %rbx, %rdi
callq 0x5ad5
movb $-0x41, %r14b
jmp 0x3de4
leaq 0x93e6(%rip), %rsi      # 0xd120
movq %rbx, %rdi
callq 0x5ad5
testb %al, %al
jne 0x3deb
leaq 0x93d2(%rip), %rsi      # 0xd123
movq %rbx, %rdi
callq 0x5ad5
movb $-0x50, %r14b
testb %al, %al
jne 0x3deb
leaq 0x93bb(%rip), %rsi      # 0xd126
movq %rbx, %rdi
callq 0x5ad5
movb $-0x4f, %r14b
testb %al, %al
jne 0x3deb
leaq 0x93a8(%rip), %rsi      # 0xd129
movq %rbx, %rdi
callq 0x5ad5
movb $-0x4b, %r14b
testb %al, %al
jne 0x3deb
leaq 0x9395(%rip), %rsi      # 0xd12c
movq %rbx, %rdi
callq 0x5ad5
movb $-0x4a, %r14b
testb %al, %al
jne 0x3deb
leaq 0x9382(%rip), %rsi      # 0xd12f
movq %rbx, %rdi
callq 0x5ad5
movb $-0x4e, %r14b
testb %al, %al
jne 0x3deb
leaq 0x936f(%rip), %rsi      # 0xd132
movq %rbx, %rdi
callq 0x5ad5
movb $-0x49, %r14b
testb %al, %al
jne 0x3deb
leaq 0x935c(%rip), %rsi      # 0xd135
movq %rbx, %rdi
callq 0x5ad5
movb $-0x4d, %r14b
testb %al, %al
jne 0x3deb
xorl %r14d, %r14d
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq