	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carm_pop_q
_carm_pop_q:                            ## @carm_pop_q
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %ecx
	cmpl	%ecx, (%rdi)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_CARM_MAX_WAIT_Q@GOTPCREL(%rip), %rsi
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	incl	%ecx
	movl	%ecx, 4(%rdi)
	movq	8(%rdi), %rax
	movq	(%rax,%rdx,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CARM_MAX_WAIT_Q,4,2            ## @CARM_MAX_WAIT_Q
	.no_dead_strip	_carm_pop_q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carm_pop_q
_carm_pop_q:                            ; @carm_pop_q
	.cfi_startproc
; %bb.0:
	ldp	w9, w8, [x0]
	cmp	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
Lloh0:
	adrp	x9, _CARM_MAX_WAIT_Q@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CARM_MAX_WAIT_Q@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	udiv	w10, w8, w9
	msub	w9, w10, w9, w8
	add	w8, w8, #1
	str	w8, [x0, #4]
	ldr	x8, [x0, #8]
	ldr	x0, [x8, w9, uxtw #3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CARM_MAX_WAIT_Q,4,2            ; @CARM_MAX_WAIT_Q
	.no_dead_strip	_carm_pop_q
.subsections_via_symbols
