	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function freelQs_empty
_freelQs_empty:                         ## @freelQs_empty
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	_A_SG_INT_ENABLE@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%r15), %rdi
	callq	_readl
	movl	%eax, %r14d
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_refill_free_list
	movq	8(%rbx), %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	callq	_refill_free_list
	movq	8(%rbx), %rax
	movl	4(%rax), %ecx
	sarl	$2, %ecx
	cmpl	%ecx, (%rax)
	jle	LBB0_3
## %bb.1:
	movl	12(%rax), %ecx
	sarl	$2, %ecx
	cmpl	%ecx, 8(%rax)
	jle	LBB0_3
## %bb.2:
	movq	_F_FL_EXHAUSTED@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	addq	$4, %rbx
	jmp	LBB0_4
LBB0_3:
	movq	_F_FL_EXHAUSTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
LBB0_4:
	movl	(%rbx), %edi
	movq	_A_SG_INTRTIMER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movq	(%r12), %rsi
	addq	(%r15), %rsi
	movl	%r14d, %edi
	callq	_writel
	movq	_F_FL0_ENABLE@GOTPCREL(%rip), %rax
	movq	_F_FL1_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_doorbell_pio                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_SG_INT_ENABLE,8,3            ## @A_SG_INT_ENABLE
	.comm	_F_FL_EXHAUSTED,4,2             ## @F_FL_EXHAUSTED
	.comm	_A_SG_INTRTIMER,8,3             ## @A_SG_INTRTIMER
	.comm	_F_FL0_ENABLE,4,2               ## @F_FL0_ENABLE
	.comm	_F_FL1_ENABLE,4,2               ## @F_FL1_ENABLE
	.no_dead_strip	_freelQs_empty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function freelQs_empty
_freelQs_empty:                         ; @freelQs_empty
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _A_SG_INT_ENABLE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _A_SG_INT_ENABLE@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	ldr	x1, [x20, #8]
	mov	x0, x20
	bl	_refill_free_list
	ldr	x8, [x20, #8]
	add	x1, x8, #8
	mov	x0, x20
	bl	_refill_free_list
	ldr	x8, [x20, #8]
	ldp	w9, w10, [x8]
	cmp	w9, w10, asr #2
	b.le	LBB0_3
; %bb.1:
	ldp	w9, w8, [x8, #8]
	cmp	w9, w8, asr #2
	b.le	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _F_FL_EXHAUSTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _F_FL_EXHAUSTED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w21, w8, w21
	add	x20, x20, #4
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _F_FL_EXHAUSTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _F_FL_EXHAUSTED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w21, w21, w8
LBB0_4:
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _A_SG_INTRTIMER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _A_SG_INTRTIMER@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
Lloh11:
	adrp	x8, _F_FL0_ENABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_FL0_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _F_FL1_ENABLE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _F_FL1_ENABLE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_doorbell_pio
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_A_SG_INT_ENABLE,8,3            ; @A_SG_INT_ENABLE
	.comm	_F_FL_EXHAUSTED,4,2             ; @F_FL_EXHAUSTED
	.comm	_A_SG_INTRTIMER,8,3             ; @A_SG_INTRTIMER
	.comm	_F_FL0_ENABLE,4,2               ; @F_FL0_ENABLE
	.comm	_F_FL1_ENABLE,4,2               ; @F_FL1_ENABLE
	.no_dead_strip	_freelQs_empty
.subsections_via_symbols
