	.file	"extr_node.c_node_task_post.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid  priority"
.LC1:
	.string	"invalid function"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Task queue overflow. Task not posted"
	.text
	.p2align 4
	.type	node_task_post, @function
node_task_post:
.LFB0:
	.cfi_startproc
	endbr64
	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
	call	lua_type@PLT
	cmp	DWORD PTR LUA_TNUMBER[rip], eax
	je	.L2
	mov	r13d, DWORD PTR TASK_PRIORITY_MEDIUM[rip]
	mov	r12d, 1
.L3:
	cmp	DWORD PTR LUA_TFUNCTION[rip], eax
	mov	esi, 1
	je	.L4
	xor	esi, esi
	cmp	DWORD PTR LUA_TLIGHTFUNCTION[rip], eax
	sete	sil
.L4:
	mov	edx, r12d
	lea	rcx, .LC1[rip]
	mov	rdi, rbp
	call	luaL_argcheck@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	lua_pushvalue@PLT
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	rdi, rbp
	call	luaL_ref@PLT
	mov	rsi, QWORD PTR do_node_task_handle[rip]
	mov	r12d, eax
	test	rsi, rsi
	je	.L10
	mov	edx, r12d
	mov	edi, r13d
	call	task_post@PLT
	test	eax, eax
	je	.L11
.L6:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR do_node_task[rip]
	call	task_get_id@PLT
	mov	edx, r12d
	mov	edi, r13d
	mov	rsi, rax
	mov	QWORD PTR do_node_task_handle[rip], rax
	call	task_post@PLT
	test	eax, eax
	jne	.L6
.L11:
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	luaL_unref@PLT
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	luaL_error@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, 1
	mov	rdi, rbp
	mov	r12d, 2
	call	luaL_checkint@PLT
	xor	esi, esi
	cmp	DWORD PTR TASK_PRIORITY_HIGH[rip], eax
	mov	rdi, rbp
	setnb	sil
	lea	rcx, .LC0[rip]
	mov	edx, 1
	mov	r13d, eax
	call	luaL_argcheck@PLT
	mov	esi, 2
	mov	rdi, rbp
	call	lua_type@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	node_task_post, .-node_task_post
	.comm	do_node_task_handle,8,8
	.comm	do_node_task,4,4
	.comm	TASK_PRIORITY_MEDIUM,4,4
	.comm	TASK_PRIORITY_HIGH,4,4
	.comm	LUA_TNUMBER,4,4
	.comm	LUA_TLIGHTFUNCTION,4,4
	.comm	LUA_TFUNCTION,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
	.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_node.c_node_task_post.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid  priority\000"
	.align	2
.LC1:
	.ascii	"invalid function\000"
	.align	2
.LC2:
	.ascii	"Task queue overflow. Task not posted\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	node_task_post, %function
node_task_post:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, #1
	mov	r4, r0
	bl	lua_type
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L2
	mov	r5, #1
	ldr	r3, .L12+4
	ldr	r6, [r3]
.L3:
	ldr	r3, .L12+8
	mov	r2, r5
	ldr	r3, [r3]
	ldr	r7, .L12+12
	cmp	r3, r0
	ldrne	r3, .L12+16
	moveq	r1, #1
	ldrne	r1, [r3]
	ldr	r3, .L12+20
	subne	r1, r1, r0
	clzne	r1, r1
	mov	r0, r4
	lsrne	r1, r1, #5
	bl	luaL_argcheck
	mov	r1, r5
	mov	r0, r4
	bl	lua_pushvalue
	ldr	r1, [r7]
	mov	r0, r4
	bl	luaL_ref
	ldr	r8, .L12+24
	mov	r5, r0
	ldr	r1, [r8]
	cmp	r1, #0
	beq	.L10
.L5:
	mov	r0, r6
	mov	r2, r5
	bl	task_post
	cmp	r0, #0
	beq	.L11
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L12+28
	ldr	r0, [r3]
	bl	task_get_id
	mov	r1, r0
	str	r0, [r8]
	b	.L5
.L11:
	mov	r2, r5
	ldr	r1, [r7]
	mov	r0, r4
	bl	luaL_unref
	mov	r0, r4
	ldr	r1, .L12+32
	bl	luaL_error
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, #1
	mov	r0, r4
	bl	luaL_checkint
	ldr	r2, .L12+36
	ldr	r3, .L12+40
	ldr	r1, [r2]
	mov	r6, r0
	cmp	r1, r0
	movcc	r1, #0
	movcs	r1, #1
	mov	r2, #1
	mov	r0, r4
	bl	luaL_argcheck
	mov	r1, #2
	mov	r0, r4
	bl	lua_type
	mov	r5, #2
	b	.L3
.L13:
	.align	2
.L12:
	.word	LUA_TNUMBER
	.word	TASK_PRIORITY_MEDIUM
	.word	LUA_TFUNCTION
	.word	LUA_REGISTRYINDEX
	.word	LUA_TLIGHTFUNCTION
	.word	.LC1
	.word	do_node_task_handle
	.word	do_node_task
	.word	.LC2
	.word	TASK_PRIORITY_HIGH
	.word	.LC0
	.size	node_task_post, .-node_task_post
	.comm	do_node_task_handle,4,4
	.comm	do_node_task,4,4
	.comm	TASK_PRIORITY_MEDIUM,4,4
	.comm	TASK_PRIORITY_HIGH,4,4
	.comm	LUA_TNUMBER,4,4
	.comm	LUA_TLIGHTFUNCTION,4,4
	.comm	LUA_TFUNCTION,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
