// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]gh_cpp/Src/gh_cpp1.c
// Function: get_digit
static void
get_digit(void)
{
	if (*nowc == '0'
	&& (*(nowc+1) == 'x' || *(nowc+1) == 'X'))
	{	nowc += 2;
		myval = 0;
		while (isdigit(*nowc)
		|| (*nowc >= 'a' && *nowc <= 'f')
		|| (*nowc >= 'A' && *nowc <= 'F'))
		{	myval = 16*myval + *nowc;
			switch (*nowc) {
			case '0': case '1': case '2':
			case '3': case '4': case '5':
			case '6': case '7': case '8':
			case '9':
				myval -= '0';
				break;
			case 'a': case 'b': case 'c':
			case 'd': case 'e': case 'f':
				myval -= 'a' + 10;
				break;
			case 'A': case 'B': case 'C':
			case 'D': case 'E': case 'F':
				myval -= 'A' + 10;
				break;
			}
			nowc++;
		}
	} else
	{	myval = atoi(nowc);
		while (isdigit(*nowc))
			nowc++;
	}
	while (*nowc == 'L' || *nowc == 'l'
	    || *nowc == 'U' || *nowc == 'u')
		nowc++;	/* 8989L 999U */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0xeeb1(%rip), %rax      # 0x14fa0
movsbl (%rax), %eax
cmpl $0x30, %eax
jne 0x6256
movq 0xee9e(%rip), %rax      # 0x14fa0
movsbl 0x1(%rax), %eax
cmpl $0x78, %eax
je 0x611f
movq 0xee8e(%rip), %rax      # 0x14fa0
movsbl 0x1(%rax), %eax
cmpl $0x58, %eax
jne 0x6256
movq 0xee7a(%rip), %rax      # 0x14fa0
addq $0x2, %rax
movq %rax, 0xee6f(%rip)      # 0x14fa0
movl $0x0, 0x102bd(%rip)     # 0x163f8
callq 0x41a0
movq (%rax), %rax
movq 0xee56(%rip), %rcx      # 0x14fa0
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %ecx
andl $0x800, %ecx            # imm = 0x800
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x1(%rbp)
jne 0x61b4
movq 0xee35(%rip), %rax      # 0x14fa0
movsbl (%rax), %eax
cmpl $0x61, %eax
jl 0x6187
movq 0xee26(%rip), %rax      # 0x14fa0
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x66, %ecx
movb %al, -0x1(%rbp)
jle 0x61b4
movq 0xee12(%rip), %rax      # 0x14fa0
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x41, %ecx
movb %al, -0x2(%rbp)
jl 0x61ae
movq 0xedfe(%rip), %rax      # 0x14fa0
movsbl (%rax), %eax
cmpl $0x46, %eax
setle %al
movb %al, -0x2(%rbp)
movb -0x2(%rbp), %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
testb $0x1, %al
jne 0x61c0
jmp 0x6254
movl 0x10232(%rip), %eax     # 0x163f8
shll $0x4, %eax
movq 0xedd0(%rip), %rcx      # 0x14fa0
movsbl (%rcx), %ecx
addl %ecx, %eax
movl %eax, 0x1021d(%rip)     # 0x163f8
movq 0xedbe(%rip), %rax      # 0x14fa0
movsbl (%rax), %eax
movl %eax, -0x8(%rbp)
addl $-0x30, %eax
subl $0xa, %eax
jb 0x620c
jmp 0x61f2
movl -0x8(%rbp), %eax
addl $-0x41, %eax
subl $0x6, %eax
jb 0x622e
jmp 0x61ff
movl -0x8(%rbp), %eax
addl $-0x61, %eax
subl $0x6, %eax
jb 0x621d
jmp 0x623d
movl 0x101e6(%rip), %eax     # 0x163f8
subl $0x30, %eax
movl %eax, 0x101dd(%rip)     # 0x163f8
jmp 0x623d
movl 0x101d5(%rip), %eax     # 0x163f8
subl $0x6b, %eax
movl %eax, 0x101cc(%rip)     # 0x163f8
jmp 0x623d
movl 0x101c4(%rip), %eax     # 0x163f8
subl $0x4b, %eax
movl %eax, 0x101bb(%rip)     # 0x163f8
movq 0xed5c(%rip), %rax      # 0x14fa0
addq $0x1, %rax
movq %rax, 0xed51(%rip)      # 0x14fa0
jmp 0x613b
jmp 0x62a1
movq 0xed43(%rip), %rdi      # 0x14fa0
callq 0x4150
movl %eax, 0x10190(%rip)     # 0x163f8
callq 0x41a0
movq (%rax), %rax
movq 0xed29(%rip), %rcx      # 0x14fa0
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x629f
movq 0xed0e(%rip), %rax      # 0x14fa0
addq $0x1, %rax
movq %rax, 0xed03(%rip)      # 0x14fa0
jmp 0x6268
jmp 0x62a1
jmp 0x62a3
movq 0xecf6(%rip), %rax      # 0x14fa0
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x4c, %ecx
movb %al, -0x9(%rbp)
je 0x62f2
movq 0xece2(%rip), %rax      # 0x14fa0
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x6c, %ecx
movb %al, -0x9(%rbp)
je 0x62f2
movq 0xecce(%rip), %rax      # 0x14fa0
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x55, %ecx
movb %al, -0x9(%rbp)
je 0x62f2
movq 0xecba(%rip), %rax      # 0x14fa0
movsbl (%rax), %eax
cmpl $0x75, %eax
sete %al
movb %al, -0x9(%rbp)
movb -0x9(%rbp), %al
testb $0x1, %al
jne 0x62fb
jmp 0x630f
movq 0xec9e(%rip), %rax      # 0x14fa0
addq $0x1, %rax
movq %rax, 0xec93(%rip)      # 0x14fa0
jmp 0x62a3
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)