	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mq_dequeue
_mq_dequeue:                            ## @mq_dequeue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	cmpq	%rsi, (%rcx)
	jne	LBB0_3
## %bb.2:
	leaq	24(%rdi), %rdx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rsi, (%rcx)
	jne	LBB0_3
## %bb.5:
	addq	$8, %rdx
LBB0_6:
	movq	8(%rcx), %rax
	movq	%rax, (%rdx)
	cmpq	16(%rdi), %rcx
	jne	LBB0_8
## %bb.7:
	movq	$0, 16(%rdi)
LBB0_8:
	movq	8(%rdi), %rax
	movq	%rax, 8(%rcx)
	movq	%rcx, 8(%rdi)
	decl	(%rdi)
	movl	$1, %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mq_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mq_dequeue
_mq_dequeue:                            ; @mq_dequeue
	.cfi_startproc
; %bb.0:
	mov	x9, x0
	ldr	x8, [x9, #24]!
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x10, [x8]
	cmp	x10, x1
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x8]
	cmp	x10, x1
	b.ne	LBB0_2
; %bb.4:
	add	x9, x9, #8
LBB0_5:
	ldr	x10, [x8, #8]
	str	x10, [x9]
	ldr	x9, [x0, #16]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	str	xzr, [x0, #16]
LBB0_7:
	ldr	x9, [x0, #8]
	str	x9, [x8, #8]
	str	x8, [x0, #8]
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	mov	w0, #1
	ret
LBB0_8:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mq_dequeue
.subsections_via_symbols
