	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_queue_push                ## -- Begin function task_queue_push
	.p2align	4, 0x90
_task_queue_push:                       ## @task_queue_push
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_TASK_TYPE_BLOCKING@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.1:
	movq	_queue_lock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_SLOCK_LOCK
	movq	_tasks_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%r15), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rax)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	movl	(%r14), %edi
	callq	_SLOCK_UNLOCK
LBB0_6:
	movq	_impl_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	$1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	(%r14), %edi
	callq	_SLOCK_UNLOCK
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_TASK_TYPE_BLOCKING,8,3         ## @TASK_TYPE_BLOCKING
	.comm	_queue_lock,4,2                 ## @queue_lock
	.comm	_tasks_running,8,3              ## @tasks_running
	.comm	_impl_current,8,3               ## @impl_current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_queue_push                ; -- Begin function task_queue_push
	.p2align	2
_task_queue_push:                       ; @task_queue_push
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _TASK_TYPE_BLOCKING@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TASK_TYPE_BLOCKING@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
Lloh2:
	adrp	x20, _queue_lock@GOTPAGE
Lloh3:
	ldr	x20, [x20, _queue_lock@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_SLOCK_LOCK
Lloh4:
	adrp	x8, _tasks_running@GOTPAGE
Lloh5:
	ldr	x8, [x8, _tasks_running@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x9, [x21]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_3
LBB0_5:
	ldr	w0, [x20]
	bl	_SLOCK_UNLOCK
LBB0_6:
Lloh7:
	adrp	x8, _impl_current@GOTPAGE
Lloh8:
	ldr	x8, [x8, _impl_current@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w0, [x20]
	bl	_SLOCK_UNLOCK
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TASK_TYPE_BLOCKING,8,3         ; @TASK_TYPE_BLOCKING
	.comm	_queue_lock,4,2                 ; @queue_lock
	.comm	_tasks_running,8,3              ; @tasks_running
	.comm	_impl_current,8,3               ; @impl_current
.subsections_via_symbols
