	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m_dequeue                      ## -- Begin function m_dequeue
	.p2align	4, 0x90
_m_dequeue:                             ## @m_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rdx
	decq	%rdx
	movq	%rdx, (%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	$0, 16(%rbx)
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_log_Printf
LBB0_4:
	movq	$0, (%r14)
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m_dequeue: queue len = %lu\n"

	.comm	_LogERROR,4,2                   ## @LogERROR
L_.str.1:                               ## @.str.1
	.asciz	"m_dequeue: Not zero (%lu)!!!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m_dequeue                      ; -- Begin function m_dequeue
	.p2align	2
_m_dequeue:                             ; @m_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
	mov	x20, x0
Lloh0:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	ldr	x19, [x20, #8]
	cbz	x19, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x20]
	sub	x2, x9, #1
	stp	x2, x8, [x20]
	cbnz	x8, LBB0_4
; %bb.2:
	str	xzr, [x20, #16]
	cbz	x2, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _LogERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_log_Printf
LBB0_4:
	str	xzr, [x19]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m_dequeue: queue len = %lu\n"

	.comm	_LogERROR,4,2                   ; @LogERROR
l_.str.1:                               ; @.str.1
	.asciz	"m_dequeue: Not zero (%lu)!!!\n"

.subsections_via_symbols
