	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_queue_q
_remove_queue_q:                        ## @remove_queue_q
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$1, (%rdi)
	jne	LBB0_7
## %bb.1:
	movq	8(%rsi), %rcx
	cmpq	%rdi, %rcx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	movq	8(%rcx), %rcx
	cmpq	%rdi, %rcx
	jne	LBB0_2
## %bb.4:
	movq	8(%rdi), %rcx
	movq	%rcx, 8(%rax)
	cmpq	%rdi, (%rsi)
	jne	LBB0_6
## %bb.5:
	movq	%rax, (%rsi)
LBB0_6:
	movl	$0, (%rdi)
LBB0_7:
	popq	%rbp
	retq
LBB0_8:
	movq	%rsi, %rdi
	popq	%rbp
	jmp	_rr_remove_head                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_remove_queue_q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_queue_q
_remove_queue_q:                        ; @remove_queue_q
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.1:
	ldr	x9, [x1, #8]
	cmp	x9, x0
	b.eq	LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x9
	ldr	x9, [x9, #8]
	cmp	x9, x0
	b.ne	LBB0_2
; %bb.4:
	ldr	x9, [x0, #8]
	str	x9, [x8, #8]
	ldr	x9, [x1]
	cmp	x9, x0
	b.ne	LBB0_6
; %bb.5:
	str	x8, [x1]
LBB0_6:
	str	wzr, [x0]
LBB0_7:
	ret
LBB0_8:
	mov	x0, x1
	b	_rr_remove_head
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_remove_queue_q
.subsections_via_symbols
