	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function free_rspq_fl
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_free_rspq_fl:                          ## @free_rspq_fl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	jmp	LBB0_3
LBB0_1:
	movl	$65535, %eax                    ## imm = 0xFFFF
LBB0_3:
	movq	16(%r15), %rcx
	movq	(%rbx), %r9
	movq	%r9, %rdx
	subq	8(%r15), %rdx
	movq	$0, (%rcx,%rdx,8)
	movl	4(%r15), %edx
	movq	_FW_IQ_TYPE_FL_INT_CAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, %rdi
	movl	%edx, %esi
	xorl	%ecx, %ecx
	pushq	$65535                          ## imm = 0xFFFF
	pushq	%rax
	callq	_t4_iq_free
	addq	$16, %rsp
	movl	(%r15), %edi
	movl	8(%rbx), %esi
	incl	%esi
	imull	12(%rbx), %esi
	movq	24(%rbx), %rdx
	movl	44(%rbx), %ecx
	callq	_dma_free_coherent
	leaq	40(%rbx), %rdi
	callq	_netif_napi_del
	movq	$0, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	28(%r14), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_free_rx_bufs
	movl	(%r15), %edi
	movl	4(%r14), %esi
	shll	$3, %esi
	movq	_STAT_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	movq	8(%r14), %rdx
	movl	24(%r14), %ecx
	callq	_dma_free_coherent
	movq	16(%r14), %rdi
	callq	_kfree
	movl	$0, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_IQ_TYPE_FL_INT_CAP,4,2      ## @FW_IQ_TYPE_FL_INT_CAP
	.comm	_STAT_LEN,4,2                   ## @STAT_LEN
	.no_dead_strip	_free_rspq_fl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_rspq_fl
_free_rspq_fl:                          ; @free_rspq_fl
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w6, [x19]
	b	LBB0_3
LBB0_2:
	mov	w6, #65535
LBB0_3:
	ldr	x5, [x21]
	ldp	x9, x8, [x20, #8]
	sub	x9, x5, x9
	str	xzr, [x8, x9, lsl #3]
	ldr	w1, [x20, #4]
Lloh0:
	adrp	x8, _FW_IQ_TYPE_FL_INT_CAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_IQ_TYPE_FL_INT_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x2, x1
	mov	w3, #0
	mov	w7, #65535
	bl	_t4_iq_free
	ldr	w0, [x20]
	ldp	w8, w9, [x21, #8]
	madd	w1, w9, w8, w9
	ldr	x2, [x21, #24]
	ldr	w3, [x21, #44]
	bl	_dma_free_coherent
	add	x0, x21, #40
	bl	_netif_napi_del
	str	xzr, [x21]
	stp	xzr, xzr, [x21, #24]
	str	xzr, [x21, #16]
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w2, [x19, #28]
	mov	x0, x20
	mov	x1, x19
	bl	_free_rx_bufs
	ldr	w0, [x20]
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _STAT_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STAT_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w1, w9, w8, lsl #3
	ldr	x2, [x19, #8]
	ldr	w3, [x19, #24]
	bl	_dma_free_coherent
	ldr	x0, [x19, #16]
	bl	_kfree
	str	wzr, [x19]
	stp	xzr, xzr, [x19, #8]
LBB0_5:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_IQ_TYPE_FL_INT_CAP,4,2      ; @FW_IQ_TYPE_FL_INT_CAP
	.comm	_STAT_LEN,4,2                   ; @STAT_LEN
	.no_dead_strip	_free_rspq_fl
.subsections_via_symbols
