	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qm_cq_head_update
_qm_cq_head_update:                     ## @qm_cq_head_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_QM_Q_DEPTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpl	$0, 4(%rdi)
	sete	%al
	movl	%eax, 4(%rdi)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	incl	%eax
LBB0_3:
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_Q_DEPTH,4,2                 ## @QM_Q_DEPTH
	.no_dead_strip	_qm_cq_head_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qm_cq_head_update
_qm_cq_head_update:                     ; @qm_cq_head_update
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _QM_Q_DEPTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QM_Q_DEPTH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	ldr	w9, [x0, #4]
	cmp	w9, #0
	cset	w9, eq
	stp	w8, w9, [x0]
	ret
LBB0_2:
	add	w8, w8, #1
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_Q_DEPTH,4,2                 ; @QM_Q_DEPTH
	.no_dead_strip	_qm_cq_head_update
.subsections_via_symbols
