	.file	"extr_lib_aux.c_adjuststack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adjuststack, @function
adjuststack:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR [rdi], 1
	jg	.L16
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, -1
	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
	mov	ebx, 1
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR 8[rdi]
	mov	rdi, r13
	call	lua_strlen@PLT
	mov	r12, rax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, ebx
	mov	rdi, r13
	not	esi
	call	lua_strlen@PLT
	mov	esi, DWORD PTR LUA_MINSTACK[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, esi
	mov	ecx, edi
	shr	edx, 31
	sub	ecx, ebx
	add	edx, esi
	add	ecx, 1
	sar	edx
	cmp	ecx, edx
	jge	.L6
	cmp	r12, rax
	jbe	.L3
.L6:
	add	ebx, 1
	add	r12, rax
	cmp	edi, ebx
	jg	.L5
.L3:
	mov	esi, ebx
	mov	rdi, r13
	call	lua_concat@PLT
	mov	eax, DWORD PTR 0[rbp]
	sub	eax, ebx
	add	eax, 1
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	adjuststack, .-adjuststack
	.comm	LUA_MINSTACK,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_lib_aux.c_adjuststack.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adjuststack, %function
adjuststack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #1
	bxle	lr
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0, #4]
	mov	r6, r0
	mvn	r1, #0
	mov	r0, r7
	bl	lua_strlen
	mov	r4, #1
	mov	r5, r0
	ldr	r8, .L11
.L4:
	mvn	r1, r4
	mov	r0, r7
	bl	lua_strlen
	ldr	r1, [r6]
	ldr	r3, [r8]
	sub	r2, r1, r4
	add	r3, r3, r3, lsr #31
	cmp	r5, r0
	add	r2, r2, #1
	asr	r3, r3, #1
	movhi	ip, #0
	movls	ip, #1
	cmp	r3, r2
	movle	ip, #0
	cmp	ip, #0
	bne	.L3
	add	r4, r4, #1
	cmp	r1, r4
	add	r5, r5, r0
	bgt	.L4
.L3:
	mov	r1, r4
	mov	r0, r7
	bl	lua_concat
	ldr	r3, [r6]
	sub	r4, r3, r4
	add	r4, r4, #1
	str	r4, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	LUA_MINSTACK
	.size	adjuststack, .-adjuststack
	.comm	LUA_MINSTACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
