	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_taskq_dispatch_ent             ## -- Begin function taskq_dispatch_ent
	.p2align	4, 0x90
_taskq_dispatch_ent:                    ## @taskq_dispatch_ent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r15d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_ASSERT
	movq	_TASKQ_DYNAMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	sete	%dil
	callq	_ASSERT
	movq	_TQENT_FLAG_PREALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%rbx)
	leaq	4(%r14), %r13
	movq	%r13, %rdi
	callq	_mutex_enter
	movq	_TQ_FRONT@GOTPCREL(%rip), %rcx
	leaq	16(%r14), %rax
	testl	%r15d, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	32(%r14), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	%rax, %rcx
	movq	40(%r14), %rax
LBB0_3:
	movq	%rcx, 16(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rbx, 24(%rcx)
	movq	24(%rbx), %rax
	movq	%rbx, 16(%rax)
	movq	%r12, 8(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_cv_signal
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_exit                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TASKQ_DYNAMIC,4,2              ## @TASKQ_DYNAMIC
	.comm	_TQENT_FLAG_PREALLOC,4,2        ## @TQENT_FLAG_PREALLOC
	.comm	_TQ_FRONT,4,2                   ## @TQ_FRONT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_taskq_dispatch_ent             ; -- Begin function taskq_dispatch_ent
	.p2align	2
_taskq_dispatch_ent:                    ; @taskq_dispatch_ent
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x24, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_ASSERT
	mov	x25, x21
	ldr	w8, [x25], #16
Lloh0:
	adrp	x9, _TASKQ_DYNAMIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TASKQ_DYNAMIC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_ASSERT
Lloh3:
	adrp	x8, _TQENT_FLAG_PREALLOC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TQENT_FLAG_PREALLOC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
	add	x23, x21, #4
	mov	x0, x23
	bl	_mutex_enter
Lloh6:
	adrp	x8, _TQ_FRONT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TQ_FRONT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21, #32]
	b	LBB0_3
LBB0_2:
	mov	x8, x25
	ldr	x25, [x21, #40]
LBB0_3:
	stp	x8, x25, [x19, #16]
	str	x19, [x8, #24]
	ldr	x8, [x19, #24]
	str	x19, [x8, #16]
	stp	x20, x22, [x19]
	add	x0, x21, #8
	bl	_cv_signal
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mutex_exit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TASKQ_DYNAMIC,4,2              ; @TASKQ_DYNAMIC
	.comm	_TQENT_FLAG_PREALLOC,4,2        ; @TQENT_FLAG_PREALLOC
	.comm	_TQ_FRONT,4,2                   ; @TQ_FRONT
.subsections_via_symbols
