// File: /workspace/github_cpp_makefile_star2_O3/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 0x42b6
cmpl $0x2, %esi
jne 0x4426
leaq 0xd000(%rip), %rsi      # 0x11138
movq %rbx, %rdi
callq 0x20a0
movb $-0x48, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcfe9(%rip), %rsi      # 0x1113b
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4431
leaq 0xcfd5(%rip), %rsi      # 0x1113e
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x443b
leaq 0xcfc1(%rip), %rsi      # 0x11141
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4445
leaq 0xcfad(%rip), %rsi      # 0x11144
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x444f
leaq 0xcf99(%rip), %rsi      # 0x11147
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4459
leaq 0xcf85(%rip), %rsi      # 0x1114a
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4463
leaq 0xcf71(%rip), %rsi      # 0x1114d
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x446d
leaq 0xcf5d(%rip), %rsi      # 0x11150
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4429
leaq 0xcf49(%rip), %rsi      # 0x11153
movq %rbx, %rdi
callq 0x20a0
movb $-0x47, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcf32(%rip), %rsi      # 0x11156
movq %rbx, %rdi
callq 0x20a0
movb $-0x46, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcf1b(%rip), %rsi      # 0x11159
movq %rbx, %rdi
callq 0x20a0
movb $-0x45, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcf04(%rip), %rsi      # 0x1115c
movq %rbx, %rdi
callq 0x20a0
movb $-0x44, %r14b
testl %eax, %eax
je 0x4429
leaq 0xceed(%rip), %rsi      # 0x1115f
movq %rbx, %rdi
callq 0x20a0
movb $-0x43, %r14b
testl %eax, %eax
je 0x4429
leaq 0xced6(%rip), %rsi      # 0x11162
movq %rbx, %rdi
callq 0x20a0
movb $-0x42, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcebf(%rip), %rsi      # 0x11165
movq %rbx, %rdi
callq 0x20a0
movb $-0x41, %r14b
jmp 0x4422
leaq 0xce4b(%rip), %rsi      # 0x11108
movq %rbx, %rdi
callq 0x20a0
movb $-0x4c, %r14b
testl %eax, %eax
je 0x4429
leaq 0xce34(%rip), %rsi      # 0x1110b
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4436
leaq 0xce20(%rip), %rsi      # 0x1110e
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4440
leaq 0xce0c(%rip), %rsi      # 0x11111
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x444a
leaq 0xcdf8(%rip), %rsi      # 0x11114
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4454
leaq 0xcde4(%rip), %rsi      # 0x11117
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x445e
leaq 0xcdd0(%rip), %rsi      # 0x1111a
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4468
leaq 0xcdbc(%rip), %rsi      # 0x1111d
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4472
leaq 0xcda8(%rip), %rsi      # 0x11120
movq %rbx, %rdi
callq 0x20a0
testl %eax, %eax
je 0x4429
leaq 0xcd94(%rip), %rsi      # 0x11123
movq %rbx, %rdi
callq 0x20a0
movb $-0x50, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcd7d(%rip), %rsi      # 0x11126
movq %rbx, %rdi
callq 0x20a0
movb $-0x4f, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcd6a(%rip), %rsi      # 0x11129
movq %rbx, %rdi
callq 0x20a0
movb $-0x4b, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcd57(%rip), %rsi      # 0x1112c
movq %rbx, %rdi
callq 0x20a0
movb $-0x4a, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcd44(%rip), %rsi      # 0x1112f
movq %rbx, %rdi
callq 0x20a0
movb $-0x4e, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcd31(%rip), %rsi      # 0x11132
movq %rbx, %rdi
callq 0x20a0
movb $-0x49, %r14b
testl %eax, %eax
je 0x4429
leaq 0xcd1e(%rip), %rsi      # 0x11135
movq %rbx, %rdi
callq 0x20a0
movb $-0x4d, %r14b
testl %eax, %eax
je 0x4429
xorl %r14d, %r14d
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
movb $-0x47, %r14b
jmp 0x4429
movb $-0x50, %r14b
jmp 0x4429
movb $-0x46, %r14b
jmp 0x4429
movb $-0x4f, %r14b
jmp 0x4429
movb $-0x45, %r14b
jmp 0x4429
movb $-0x4b, %r14b
jmp 0x4429
movb $-0x44, %r14b
jmp 0x4429
movb $-0x4a, %r14b
jmp 0x4429
movb $-0x43, %r14b
jmp 0x4429
movb $-0x4e, %r14b
jmp 0x4429
movb $-0x42, %r14b
jmp 0x4429
movb $-0x49, %r14b
jmp 0x4429
movb $-0x41, %r14b
jmp 0x4429
movb $-0x4d, %r14b
jmp 0x4429