	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function async_queue_event
_async_queue_event:                     ## @async_queue_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TAIL@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	$0, (%rdi)
	movq	_event_queue@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%rax, %rcx
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %rcx
LBB0_3:
	addq	$8, %rax
LBB0_7:
	movq	%rdi, (%rcx)
	jmp	LBB0_8
LBB0_4:
	movq	_HEAD@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_9
## %bb.5:
	movq	_event_queue@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdi)
	testq	%rcx, %rcx
	je	LBB0_6
LBB0_8:
	movq	%rdi, (%rax)
LBB0_9:
	popq	%rbp
	retq
LBB0_6:
	leaq	8(%rax), %rcx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_TAIL,8,3                       ## @TAIL
	.comm	_event_queue,16,3               ## @event_queue
	.comm	_HEAD,8,3                       ## @HEAD
	.no_dead_strip	_async_queue_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function async_queue_event
_async_queue_event:                     ; @async_queue_event
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	str	xzr, [x0]
Lloh3:
	adrp	x9, _event_queue@GOTPAGE
Lloh4:
	ldr	x9, [x9, _event_queue@GOTPAGEOFF]
	ldr	x10, [x9]
	mov	x8, x9
	ldr	x11, [x8, #8]!
	cmp	x10, #0
	csel	x9, x9, x11, eq
LBB0_2:
	str	x0, [x9]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _HEAD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HEAD@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _event_queue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _event_queue@GOTPAGEOFF]
	mov	x9, x8
	ldr	x10, [x9], #8
	str	x10, [x0]
	cbz	x10, LBB0_2
LBB0_5:
	str	x0, [x8]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TAIL,8,3                       ; @TAIL
	.comm	_event_queue,16,3               ; @event_queue
	.comm	_HEAD,8,3                       ; @HEAD
	.no_dead_strip	_async_queue_event
.subsections_via_symbols
