	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_results_queue_pop              ## -- Begin function results_queue_pop
	.p2align	4, 0x90
_results_queue_pop:                     ## @results_queue_pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_rq_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	_RQ@GOTPCREL(%rip), %r8
	movq	_rq_left@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	leaq	(,%rsi,4), %rax
	addq	(%r8), %rax
	incq	%rsi
	movq	_RESULTS_QUEUE_SIZE@GOTPCREL(%rip), %r8
	xorl	%edi, %edi
	cmpq	(%r8), %rsi
	cmovneq	%rsi, %rdi
	movq	%rdi, (%r9)
	decl	%edx
	movl	%edx, (%rcx)
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rq_size,4,2                    ## @rq_size
	.comm	_RQ,8,3                         ## @RQ
	.comm	_rq_left,8,3                    ## @rq_left
	.comm	_RESULTS_QUEUE_SIZE,8,3         ## @RESULTS_QUEUE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_results_queue_pop              ; -- Begin function results_queue_pop
	.p2align	2
_results_queue_pop:                     ; @results_queue_pop
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _rq_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rq_size@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
; %bb.1:
Lloh2:
	adrp	x10, _RQ@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RQ@GOTPAGEOFF]
Lloh4:
	adrp	x11, _rq_left@GOTPAGE
Lloh5:
	ldr	x11, [x11, _rq_left@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	ldr	x12, [x11]
	add	x0, x10, x12, lsl #2
	add	x10, x12, #1
Lloh7:
	adrp	x13, _RESULTS_QUEUE_SIZE@GOTPAGE
Lloh8:
	ldr	x13, [x13, _RESULTS_QUEUE_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	x13, [x13]
	cmp	x10, x13
	csinc	x10, xzr, x12, eq
	str	x10, [x11]
	sub	w9, w9, #1
	str	w9, [x8]
	ret
LBB0_2:
	mov	x0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_rq_size,4,2                    ; @rq_size
	.comm	_RQ,8,3                         ; @RQ
	.comm	_rq_left,8,3                    ; @rq_left
	.comm	_RESULTS_QUEUE_SIZE,8,3         ; @RESULTS_QUEUE_SIZE
.subsections_via_symbols
