	.file	"extr_minilua.c_add_s.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	add_s, @function
add_s:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	mov	esi, 3
	sub	r13, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rdi]
	mov	QWORD PTR [rsp], rcx
	lea	rdx, 16[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	lua_tolstring@PLT
	cmp	QWORD PTR 16[rsp], 0
	mov	QWORD PTR 8[rsp], r13
	je	.L1
	mov	rbx, rax
	xor	r15d, r15d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbp
	mov	r15, r13
	call	luaL_addchar@PLT
.L4:
	cmp	QWORD PTR 16[rsp], r15
	jbe	.L1
.L2:
	movsx	esi, BYTE PTR [rbx+r15]
	lea	r13, 1[r15]
	cmp	sil, 37
	jne	.L14
	add	r13, rbx
	add	r15, 2
	movsx	edi, BYTE PTR 0[r13]
	call	uchar@PLT
	sub	eax, 48
	cmp	eax, 9
	ja	.L15
	movzx	esi, BYTE PTR 0[r13]
	cmp	sil, 48
	je	.L16
	sub	esi, 49
	mov	rcx, QWORD PTR [rsp]
	mov	rdi, r14
	mov	rdx, r12
	movsx	esi, sil
	call	push_onecapture@PLT
	mov	rdi, rbp
	call	luaL_addvalue@PLT
	cmp	QWORD PTR 16[rsp], r15
	ja	.L2
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movsx	esi, BYTE PTR 0[r13]
	mov	rdi, rbp
	call	luaL_addchar@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR 8[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	call	luaL_addlstring@PLT
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	add_s, .-add_s
	.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_minilua.c_add_s.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_s, %function
add_s:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	sub	sp, sp, #12
	ldr	r3, .L17
	mov	r8, r0
	mov	r6, r1
	mov	r7, r2
	mov	r1, #3
	mov	r2, sp
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	lua_tolstring
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L1
	mov	r5, r0
	mov	r4, #0
	sub	r10, r9, r7
	b	.L2
.L13:
	mov	r0, r6
	mov	r4, fp
	bl	luaL_addchar
.L4:
	ldr	r3, [sp]
	cmp	r3, r4
	bls	.L1
.L2:
	ldrb	r1, [r5, r4]	@ zero_extendqisi2
	add	fp, r4, #1
	cmp	r1, #37
	bne	.L13
	ldrb	r0, [r5, fp]	@ zero_extendqisi2
	bl	uchar
	sub	r0, r0, #48
	cmp	r0, #9
	ldrb	r1, [r5, fp]	@ zero_extendqisi2
	add	r4, r4, #2
	bhi	.L14
	cmp	r1, #48
	beq	.L15
	sub	r1, r1, #49
	mov	r3, r9
	mov	r2, r7
	and	r1, r1, #255
	mov	r0, r8
	bl	push_onecapture
	mov	r0, r6
	bl	luaL_addvalue
	ldr	r3, [sp]
	cmp	r3, r4
	bhi	.L2
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	mov	r0, r6
	bl	luaL_addchar
	b	.L4
.L15:
	mov	r2, r10
	mov	r1, r7
	mov	r0, r6
	bl	luaL_addlstring
	b	.L4
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.size	add_s, .-add_s
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
