	.file	"extr_cron.c_lcron_unschedule.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cron.entry"
	.text
	.p2align 4
	.type	lcron_unschedule, @function
lcron_unschedule:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 1
	lea	rdx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	luaL_checkudata@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	lcron_findindex@PLT
	cmp	rax, -1
	je	.L2
	mov	rbx, rax
	lea	r12, 0[0+rax*4]
	mov	rax, QWORD PTR cronent_list[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	edx, DWORD PTR [rax+rbx*4]
	not	rbx
	call	luaL_unref@PLT
	mov	rdi, QWORD PTR cronent_list[rip]
	add	rbx, QWORD PTR cronent_count[rip]
	mov	rdx, rbx
	lea	rsi, 4[rdi+r12]
	sal	edx, 2
	add	rdi, r12
	call	memmove@PLT
	sub	QWORD PTR cronent_count[rip], 1
.L2:
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lcron_unschedule, .-lcron_unschedule
	.comm	cronent_list,8,8
	.comm	cronent_count,8,8
	.comm	LUA_REGISTRYINDEX,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_cron.c_lcron_unschedule.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cron.entry\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcron_unschedule, %function
lcron_unschedule:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, #1
	ldr	r2, .L8
	mov	r5, r0
	bl	luaL_checkudata
	mov	r1, r0
	mov	r0, r5
	bl	lcron_findindex
	cmn	r0, #1
	beq	.L2
	mov	r4, r0
	ldr	r7, .L8+4
	ldr	r3, .L8+8
	ldr	r2, [r7]
	ldr	r6, .L8+12
	ldr	r1, [r3]
	ldr	r2, [r2, r4, lsl #2]
	mov	r0, r5
	bl	luaL_unref
	ldr	r2, [r6]
	lsl	r3, r4, #2
	ldr	r0, [r7]
	sub	r2, r2, #1
	add	r1, r3, #4
	sub	r2, r2, r4
	add	r1, r0, r1
	lsl	r2, r2, #2
	add	r0, r0, r3
	bl	memmove
	ldr	r3, [r6]
	sub	r3, r3, #1
	str	r3, [r6]
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	cronent_list
	.word	LUA_REGISTRYINDEX
	.word	cronent_count
	.size	lcron_unschedule, .-lcron_unschedule
	.comm	cronent_list,4,4
	.comm	cronent_count,4,4
	.comm	LUA_REGISTRYINDEX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
