	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dequeue
_dequeue:                               ## @dequeue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_queue@GOTPCREL(%rip), %rdi
	callq	_STAILQ_FIRST
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_queue@GOTPCREL(%rip), %rdi
	callq	_STAILQ_REMOVE_HEAD
	movq	_count@GOTPCREL(%rip), %rax
	decl	(%rax)
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_queue,4,2                      ## @queue
	.comm	_list,4,2                       ## @list
	.comm	_count,4,2                      ## @count
	.no_dead_strip	_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dequeue
_dequeue:                               ; @dequeue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _queue@GOTPAGE
Lloh1:
	ldr	x0, [x0, _queue@GOTPAGEOFF]
	bl	_STAILQ_FIRST
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _list@GOTPAGE
Lloh3:
	ldr	x8, [x8, _list@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, _queue@GOTPAGE
Lloh6:
	ldr	x0, [x0, _queue@GOTPAGEOFF]
	bl	_STAILQ_REMOVE_HEAD
Lloh7:
	adrp	x8, _count@GOTPAGE
Lloh8:
	ldr	x8, [x8, _count@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_queue,4,2                      ; @queue
	.comm	_list,4,2                       ; @list
	.comm	_count,4,2                      ; @count
	.no_dead_strip	_dequeue
.subsections_via_symbols
