	.file	"extr_taskq.c_taskq_dispatch_ent.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	taskq_dispatch_ent
	.type	taskq_dispatch_ent, @function
taskq_dispatch_ent:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	xor	edi, edi
	test	rsi, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	setne	dil
	mov	rbx, r8
	call	ASSERT@PLT
	mov	eax, DWORD PTR TQENT_FLAG_PREALLOC[rip]
	or	DWORD PTR 32[rbx], eax
	mov	rdi, rbp
	call	mutex_enter@PLT
	lea	rdx, 8[rbp]
	test	DWORD PTR TQ_FRONT[rip], r14d
	je	.L2
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR 24[rbx], rdx
	mov	QWORD PTR 16[rbx], rax
.L3:
	mov	QWORD PTR 24[rax], rbx
	mov	rax, QWORD PTR 24[rbx]
	lea	rdi, 4[rbp]
	mov	QWORD PTR 16[rax], rbx
	mov	QWORD PTR 8[rbx], r12
	mov	QWORD PTR [rbx], r13
	call	cv_signal@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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	mutex_exit@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR 16[rbx], rdx
	mov	QWORD PTR 24[rbx], rax
	mov	rax, rdx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	taskq_dispatch_ent, .-taskq_dispatch_ent
	.comm	TQ_FRONT,4,4
	.comm	TQENT_FLAG_PREALLOC,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_taskq.c_taskq_dispatch_ent.c"
	.text
	.align	2
	.global	taskq_dispatch_ent
	.syntax unified
	.arm
	.fpu softvfp
	.type	taskq_dispatch_ent, %function
taskq_dispatch_ent:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r3
	subs	r0, r1, #0
	movne	r0, #1
	ldr	r4, [sp, #24]
	mov	r7, r1
	mov	r8, r2
	bl	ASSERT
	ldr	r2, .L6
	ldr	r3, [r4, #16]
	ldr	r2, [r2]
	mov	r0, r5
	orr	r3, r3, r2
	str	r3, [r4, #16]
	bl	mutex_enter
	ldr	r3, .L6+4
	add	r2, r5, #8
	ldr	r3, [r3]
	add	r0, r5, #4
	tst	r6, r3
	moveq	r3, r2
	ldrne	r3, [r5, #16]
	ldreq	r1, [r5, #20]
	strne	r2, [r4, #12]
	strne	r3, [r4, #8]
	streq	r1, [r4, #12]
	streq	r2, [r4, #8]
	str	r4, [r3, #12]
	ldr	r3, [r4, #12]
	str	r4, [r3, #8]
	str	r7, [r4, #4]
	str	r8, [r4]
	bl	cv_signal
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	mutex_exit
.L7:
	.align	2
.L6:
	.word	TQENT_FLAG_PREALLOC
	.word	TQ_FRONT
	.size	taskq_dispatch_ent, .-taskq_dispatch_ent
	.comm	TQ_FRONT,4,4
	.comm	TQENT_FLAG_PREALLOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
