	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function waiting_list_remove
_waiting_list_remove:                   ## @waiting_list_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	cmpq	%rsi, %rcx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rsi, %rcx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	leaq	8(%rdi), %rcx
	testq	%rax, %rax
	cmovneq	%rax, %rcx
	movq	(%rsi), %rdx
	movq	%rdx, (%rcx)
	cmpq	%rsi, (%rdi)
	je	LBB0_6
LBB0_7:
	popq	%rbp
	retq
LBB0_6:
	movq	%rax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_waiting_list_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function waiting_list_remove
_waiting_list_remove:                   ; @waiting_list_remove
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x10, [x8, #8]!
	cbz	x10, LBB0_6
; %bb.1:
	cmp	x10, x1
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x10
	ldr	x10, [x10]
	cbz	x10, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x10, x1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x9, #0
LBB0_5:
	ldr	x10, [x1]
	cmp	x9, #0
	csel	x8, x8, x9, eq
	str	x10, [x8]
	ldr	x8, [x0]
	cmp	x8, x1
	b.eq	LBB0_7
LBB0_6:
	ret
LBB0_7:
	str	x9, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_waiting_list_remove
.subsections_via_symbols
