// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x40(%rdi), %r14
movl 0x64(%rdi), %edi
cmpl $0x2e, %edi
je 0x19038
cmpl $0x30, %edi
jne 0x19016
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
movl %edi, %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x19072
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xb, %eax
ja 0x18fbd
movl %edi, %eax
andl $-0x21, %eax
addl $-0x47, %eax
cmpl $-0x6, %eax
jb 0x19118
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
leal -0x3a(%rdi), %eax
cmpl $-0xb, %eax
ja 0x18fdf
movl %edi, %eax
andl $-0x21, %eax
addl $-0x47, %eax
cmpl $-0x6, %eax
jb 0x19068
callq 0xadd8
cvtsi2sd %eax, %xmm0
movsd (%rsp), %xmm1
mulsd 0x759b(%rip), %xmm1     # 0x20590
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
jmp 0x18fc6
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x1900b
cmpl $0x2e, %edi
jne 0x19096
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xb, %eax
ja 0x19023
jmp 0x19096
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x19053
pushq $0x2e
popq %rax
jmp 0x19107
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jb 0x19096
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
jmp 0x19053
movsd (%rsp), %xmm0
jmp 0x190fa
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x19121
cmpl $0x2e, %edi
jne 0x19096
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x19083
movl %edi, %eax
orl $0x20, %eax
cmpl $0x65, %eax
jne 0x190e4
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
cmpl $0x2d, %edi
je 0x190b5
cmpl $0x2b, %edi
jne 0x190c0
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x190dc
leaq 0x1074d(%rip), %rsi     # 0x2981c
jmp 0x19128
movq %rbx, %rdi
callq 0xae12
movl 0x64(%rbx), %edi
leal -0x3a(%rdi), %eax
cmpl $-0xa, %eax
jae 0x190d1
callq 0x19238
testl %eax, %eax
jne 0x1910f
decq %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x92be
movsd %xmm0, 0x80(%rbx)
movl $0x101, %eax            # imm = 0x101
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x10717(%rip), %rsi     # 0x2982d
jmp 0x19128
leaq 0x10728(%rip), %rsi     # 0x29847
jmp 0x19128
leaq 0x106db(%rip), %rsi     # 0x29803
movq %rbx, %rdi
xorl %eax, %eax
callq 0xbe61