	.file	"extr_lfunc.c_luaF_newLclosure.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaF_newLclosure
	.type	luaF_newLclosure, @function
luaF_newLclosure:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	sizeLclosure@PLT
	mov	esi, DWORD PTR LUA_TLCL[rip]
	mov	rdi, r12
	mov	edx, eax
	call	luaC_newobj@PLT
	mov	rdi, rax
	call	gco2lcl@PLT
	mov	edi, ebx
	mov	QWORD PTR 16[rax], 0
	mov	r12, rax
	call	cast_byte@PLT
	mov	DWORD PTR 8[r12], eax
	test	ebx, ebx
	je	.L1
	lea	esi, -1[rbx]
	mov	rcx, QWORD PTR [r12]
	movsx	rdx, esi
	mov	esi, esi
	sal	rdx, 3
	sal	rsi, 3
	lea	rax, [rcx+rdx]
	sub	rdx, 8
	sub	rdx, rsi
	add	rdx, rcx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	QWORD PTR [rax], 0
	sub	rax, 8
	cmp	rax, rdx
	jne	.L3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	luaF_newLclosure, .-luaF_newLclosure
	.comm	LUA_TLCL,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_lfunc.c_luaF_newLclosure.c"
	.text
	.align	2
	.global	luaF_newLclosure
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaF_newLclosure, %function
luaF_newLclosure:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	ldr	r6, [r3]
	mov	r4, r1
	bl	sizeLclosure
	mov	r1, r6
	mov	r2, r0
	mov	r0, r5
	bl	luaC_newobj
	bl	gco2lcl
	mov	r5, #0
	mov	r6, r0
	mov	r0, r4
	str	r5, [r6, #8]
	bl	cast_byte
	cmp	r4, r5
	str	r0, [r6, #4]
	beq	.L1
	mov	r3, r5
	ldr	r2, [r6]
	add	r1, r2, r4, lsl #2
.L3:
	str	r3, [r1, #-4]!
	cmp	r1, r2
	bne	.L3
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	LUA_TLCL
	.size	luaF_newLclosure, .-luaF_newLclosure
	.comm	LUA_TLCL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
