// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jslex.c
// Function: lexnumber
static int lexnumber(js_State *J)
{
	const char *s = J->source - 1;

	if (jsY_accept(J, '0')) {
		if (jsY_accept(J, 'x') || jsY_accept(J, 'X')) {
			J->number = lexhex(J);
			return TK_NUMBER;
		}
		if (jsY_isdec(J->lexchar))
			jsY_error(J, "number with leading zero");
		if (jsY_accept(J, '.')) {
			while (jsY_isdec(J->lexchar))
				jsY_next(J);
		}
	} else if (jsY_accept(J, '.')) {
		if (!jsY_isdec(J->lexchar))
			return '.';
		while (jsY_isdec(J->lexchar))
			jsY_next(J);
	} else {
		while (jsY_isdec(J->lexchar))
			jsY_next(J);
		if (jsY_accept(J, '.')) {
			while (jsY_isdec(J->lexchar))
				jsY_next(J);
		}
	}

	if (jsY_accept(J, 'e') || jsY_accept(J, 'E')) {
		if (J->lexchar == '-' || J->lexchar == '+')
			jsY_next(J);
		if (jsY_isdec(J->lexchar))
			while (jsY_isdec(J->lexchar))
				jsY_next(J);
		else
			jsY_error(J, "missing exponent");
	}

	if (jsY_isidentifierstart(J->lexchar))
		jsY_error(J, "number with letter suffix");

	J->number = js_strtod(s, NULL);
	return TK_NUMBER;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x40(%rdi), %r14
movl 0x64(%rdi), %edi
cmpl $0x2e, %edi
je 0x2153e
cmpl $0x30, %edi
jne 0x2156f
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %edi
movl %edi, %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x215b7
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %eax
leal -0x3a(%rax), %ecx
cmpl $-0xa, %ecx
setb %dl
movl %eax, %ecx
andl $-0x21, %ecx
addl $-0x47, %ecx
cmpl $-0x6, %ecx
setb %sil
testb %sil, %dl
jne 0x2167d
cmpl $-0x6, %ecx
setb %sil
leal -0x30(%rax), %ecx
cmpl $0xa, %ecx
setae %dl
xorpd %xmm0, %xmm0
testb %sil, %dl
jne 0x2164d
xorl %ebp, %ebp
testb $0x1, %dl
je 0x214f7
leal -0x61(%rax), %ecx
cmpl $0x5, %ecx
ja 0x214e9
addl $-0x57, %eax
jmp 0x214f5
leal -0x41(%rax), %ecx
addl $-0x37, %eax
cmpl $0x6, %ecx
cmovael %ebp, %eax
movl %eax, %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
mulsd 0xa062(%rip), %xmm0     # 0x2b568
addsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
callq 0xe2b6
movsd 0x8(%rsp), %xmm0
movl 0x64(%rbx), %eax
leal -0x30(%rax), %ecx
cmpl $0xa, %ecx
setae %dl
jb 0x214d7
movl %eax, %esi
andl $-0x21, %esi
addl $-0x47, %esi
cmpl $-0x6, %esi
jae 0x214d7
jmp 0x2164d
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %ecx
addl $-0x3a, %ecx
movl $0x2e, %eax
cmpl $-0xa, %ecx
jb 0x2165a
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x2155a
jmp 0x215db
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jb 0x2158a
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xb, %eax
ja 0x21577
cmpl $0x2e, %edi
jne 0x215db
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jb 0x215db
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xb, %eax
ja 0x215a2
jmp 0x215db
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x21686
cmpl $0x2e, %edi
jne 0x215db
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x215c8
movl %edi, %eax
orl $0x20, %eax
cmpl $0x65, %eax
jne 0x21620
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %eax
cmpl $0x2d, %eax
je 0x215fa
cmpl $0x2b, %eax
jne 0x21605
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %eax
addl $-0x3a, %eax
cmpl $-0xa, %eax
jb 0x21674
movq %rbx, %rdi
callq 0xe2b6
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x2160d
movl %edi, %eax
andl $-0x21, %eax
addl $-0x41, %eax
cmpl $0x1a, %eax
jb 0x21663
cmpl $0x24, %edi
je 0x21663
cmpl $0x5f, %edi
je 0x21663
callq 0x1c579
testl %eax, %eax
jne 0x21663
decq %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0xc2ce
movsd %xmm0, 0x80(%rbx)
movl $0x101, %eax            # imm = 0x101
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x131e8(%rip), %rsi     # 0x34852
movq %rbx, %rdi
xorl %eax, %eax
callq 0xf5df
leaq 0x131c6(%rip), %rsi     # 0x34841
jmp 0x2166a
leaq 0x131e8(%rip), %rsi     # 0x3486c
jmp 0x2166a
leaq 0x1319b(%rip), %rsi     # 0x34828
jmp 0x2166a