	.file	"extr_lj_func.c_func_newL.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	func_newL, @function
func_newL:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR 8[rsi]
	mov	rbx, rsi
	call	sizeLfunc@PLT
	mov	rdi, r12
	mov	esi, eax
	call	lj_mem_newgco@PLT
	mov	rdi, rbx
	mov	r12, rax
	mov	eax, DWORD PTR LJ_TFUNC[rip]
	mov	QWORD PTR 8[r12], 0
	not	eax
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR FF_LUA[rip]
	mov	DWORD PTR 16[r12], eax
	call	proto_bc@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	esi, eax
	call	setmref@PLT
	mov	rdi, rbp
	call	obj2gco@PLT
	mov	edi, DWORD PTR [r12]
	mov	esi, eax
	call	setgcref@PLT
	mov	esi, DWORD PTR PROTO_CLCOUNT[rip]
	mov	eax, DWORD PTR [rbx]
	mov	ecx, DWORD PTR PROTO_CLC_BITS[rip]
	add	eax, esi
	mov	edx, eax
	sar	edx, cl
	and	edx, esi
	sub	eax, edx
	cdqe
	mov	QWORD PTR [rbx], rax
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	func_newL, .-func_newL
	.comm	PROTO_CLC_BITS,4,4
	.comm	PROTO_CLCOUNT,4,4
	.comm	LJ_TFUNC,4,4
	.comm	FF_LUA,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_lj_func.c_func_newL.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	func_newL, %function
func_newL:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r1, #4]
	mov	r5, r1
	mov	r6, r2
	bl	sizeLfunc
	mov	r1, r0
	mov	r0, r4
	bl	lj_mem_newgco
	ldr	r3, .L4
	mov	r2, #0
	ldr	r3, [r3]
	ldr	r1, .L4+4
	mvn	r3, r3
	str	r3, [r0, #16]
	ldr	r3, [r1]
	str	r2, [r0, #8]
	str	r3, [r0, #12]
	mov	r4, r0
	ldr	r7, [r0, #4]
	mov	r0, r5
	bl	proto_bc
	mov	r1, r0
	mov	r0, r7
	bl	setmref
	mov	r0, r6
	ldr	r6, [r4]
	bl	obj2gco
	mov	r1, r0
	mov	r0, r6
	bl	setgcref
	ldr	r2, .L4+8
	ldr	r1, .L4+12
	ldr	r2, [r2]
	ldr	r3, [r5]
	ldr	r1, [r1]
	add	r3, r2, r3
	and	r2, r2, r3, asr r1
	sub	r3, r3, r2
	mov	r0, r4
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	LJ_TFUNC
	.word	FF_LUA
	.word	PROTO_CLCOUNT
	.word	PROTO_CLC_BITS
	.size	func_newL, .-func_newL
	.comm	PROTO_CLC_BITS,4,4
	.comm	PROTO_CLCOUNT,4,4
	.comm	LJ_TFUNC,4,4
	.comm	FF_LUA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
