	.file	"extr_llex.c_read_numeral.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Ee"
.LC1:
	.string	"Pp"
.LC2:
	.string	"xX"
.LC3:
	.string	"-+"
.LC4:
	.string	"malformed number"
	.text
	.p2align 4
	.type	read_numeral, @function
read_numeral:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	ebx, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	edi, ebx
	call	lisdigit@PLT
	mov	edi, eax
	call	lua_assert@PLT
	mov	rdi, rbp
	call	save_and_next@PLT
	cmp	ebx, 48
	je	.L2
.L4:
	lea	rbx, .LC0[rip]
.L3:
	lea	r12, .LC3[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 0[rbp]
	call	lisxdigit@PLT
	test	rax, rax
	jne	.L8
	cmp	DWORD PTR 0[rbp], 46
	jne	.L21
.L8:
	mov	rdi, rbp
	call	save_and_next@PLT
.L7:
	mov	rsi, rbx
	mov	rdi, rbp
	call	check_next2@PLT
	test	rax, rax
	je	.L5
	mov	rsi, r12
	mov	rdi, rbp
	call	check_next2@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	xor	esi, esi
	mov	rdi, rbp
	lea	r12, 4[rsp]
	call	save@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	luaZ_buffer@PLT
	mov	rsi, r12
	mov	edi, eax
	call	luaO_str2num@PLT
	test	rax, rax
	je	.L22
.L9:
	mov	rdi, r12
	call	ttisinteger@PLT
	mov	rdi, r12
	test	rax, rax
	je	.L10
	call	ivalue@PLT
	mov	DWORD PTR 4[r13], eax
	mov	eax, DWORD PTR TK_INT[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	call	ttisfloat@PLT
	mov	edi, eax
	call	lua_assert@PLT
	mov	rdi, r12
	call	fltvalue@PLT
	mov	DWORD PTR 0[r13], eax
	mov	eax, DWORD PTR TK_FLT[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edx, DWORD PTR TK_FLT[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	lexerror@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	check_next2@PLT
	test	rax, rax
	je	.L4
	lea	rbx, .LC1[rip]
	jmp	.L3
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_numeral, .-read_numeral
	.comm	TK_INT,4,4
	.comm	TK_FLT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_llex.c_read_numeral.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Ee\000"
	.align	2
.LC1:
	.ascii	"Pp\000"
	.align	2
.LC2:
	.ascii	"xX\000"
	.align	2
.LC3:
	.ascii	"-+\000"
	.align	2
.LC4:
	.ascii	"malformed number\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_numeral, %function
read_numeral:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r5, [r0]
	ldr	r3, .L27
	sub	sp, sp, #12
	mov	r0, r5
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	lisdigit
	bl	lua_assert
	mov	r0, r4
	bl	save_and_next
	cmp	r5, #48
	beq	.L2
.L4:
	ldr	r5, .L27+4
.L3:
	ldr	r6, .L27+8
	b	.L7
.L5:
	ldr	r0, [r4]
	bl	lisxdigit
	subs	r1, r0, #0
	mov	r0, r4
	bne	.L8
	ldr	r3, [r4]
	cmp	r3, #46
	bne	.L24
.L8:
	bl	save_and_next
.L7:
	mov	r1, r5
	mov	r0, r4
	bl	check_next2
	cmp	r0, #0
	beq	.L5
	mov	r1, r6
	mov	r0, r4
	bl	check_next2
	b	.L5
.L24:
	bl	save
	ldr	r0, [r4, #4]
	bl	luaZ_buffer
	mov	r1, sp
	bl	luaO_str2num
	cmp	r0, #0
	beq	.L25
.L9:
	mov	r0, sp
	bl	ttisinteger
	cmp	r0, #0
	mov	r0, sp
	beq	.L10
	bl	ivalue
	ldr	r3, .L27+12
	str	r0, [r7, #4]
	ldr	r0, [r3]
.L1:
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	bl	ttisfloat
	bl	lua_assert
	mov	r0, sp
	bl	fltvalue
	ldr	r3, .L27+16
	str	r0, [r7]
	ldr	r0, [r3]
	b	.L1
.L25:
	ldr	r3, .L27+16
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r1, .L27+20
	bl	lexerror
	b	.L9
.L2:
	mov	r0, r4
	ldr	r1, .L27+24
	bl	check_next2
	cmp	r0, #0
	beq	.L4
	ldr	r5, .L27+28
	b	.L3
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	.LC5
	.word	.LC0
	.word	.LC3
	.word	TK_INT
	.word	TK_FLT
	.word	.LC4
	.word	.LC2
	.word	.LC1
	.size	read_numeral, .-read_numeral
	.comm	TK_INT,4,4
	.comm	TK_FLT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
