	.file	"extr_lua.c_createargtable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"arg"
	.text
	.p2align 4
	.type	createargtable, @function
createargtable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	ecx, edx
	je	.L6
	mov	r13d, ecx
	lea	edx, 1[rcx]
.L2:
	mov	esi, r14d
	mov	rdi, r12
	mov	ebx, r13d
	sub	esi, edx
	neg	ebx
	call	lua_createtable@PLT
	mov	eax, r14d
	sub	eax, r13d
	mov	r13d, eax
	test	r14d, r14d
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, r12
	add	rbp, 8
	call	lua_pushstring@PLT
	mov	edx, ebx
	mov	esi, -2
	mov	rdi, r12
	call	lua_rawseti@PLT
	add	ebx, 1
	cmp	ebx, r13d
	jne	.L4
.L5:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	lua_setglobal@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edx, 1
	xor	r13d, r13d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	createargtable, .-createargtable
	.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_lua.c_createargtable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"arg\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	createargtable, %function
createargtable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, r2
	push	{r4, r5, r6, r7, r8, lr}
	movne	r4, r3
	mov	r7, r2
	moveq	r2, #1
	mov	r5, r1
	moveq	r4, #0
	addne	r2, r4, #1
	sub	r1, r7, r2
	mov	r6, r0
	bl	lua_createtable
	cmp	r7, #0
	subgt	r5, r5, #4
	addgt	r7, r5, r7, lsl #2
	rsbgt	r4, r4, #0
	ble	.L5
.L4:
	ldr	r1, [r5, #4]!
	mov	r0, r6
	bl	lua_pushstring
	mov	r2, r4
	mvn	r1, #1
	mov	r0, r6
	bl	lua_rawseti
	cmp	r5, r7
	add	r4, r4, #1
	bne	.L4
.L5:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L10
	b	lua_setglobal
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	createargtable, .-createargtable
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
