	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_sq_free_used_descs       ## -- Begin function nicvf_sq_free_used_descs
	.p2align	4, 0x90
_nicvf_sq_free_used_descs:              ## @nicvf_sq_free_used_descs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_NIC_QSET_SQ_0_7_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_nicvf_queue_reg_read
	movl	%eax, %r15d
	sarl	$4, %r15d
	movq	_NIC_QSET_SQ_0_7_TAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_nicvf_queue_reg_read
	movl	(%r13), %esi
	cmpl	%r15d, %esi
	jne	LBB0_1
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r12
	movq	_SQ_DESC_TYPE_HEADER@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movq	%r12, %rsi
	callq	_atomic64_add
	movl	8(%rbx), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_atomic64_add
	movl	12(%rbx), %esi
	incl	%esi
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_nicvf_put_sq_desc
	movl	(%r13), %esi
	cmpl	%r15d, %esi
	je	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_GET_SQ_DESC
	movq	%rax, %rbx
	movq	(%rax), %rax
	movl	$1, %esi
	cmpq	(%r14), %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movslq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_dev_kfree_skb_any
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_QSET_SQ_0_7_HEAD,4,2       ## @NIC_QSET_SQ_0_7_HEAD
	.comm	_NIC_QSET_SQ_0_7_TAIL,4,2       ## @NIC_QSET_SQ_0_7_TAIL
	.comm	_SQ_DESC_TYPE_HEADER,8,3        ## @SQ_DESC_TYPE_HEADER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_sq_free_used_descs       ; -- Begin function nicvf_sq_free_used_descs
	.p2align	2
_nicvf_sq_free_used_descs:              ; @nicvf_sq_free_used_descs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _NIC_QSET_SQ_0_7_HEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_QSET_SQ_0_7_HEAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_nicvf_queue_reg_read
	asr	w23, w0, #4
Lloh3:
	adrp	x8, _NIC_QSET_SQ_0_7_TAIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIC_QSET_SQ_0_7_TAIL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x21
	bl	_nicvf_queue_reg_read
	ldr	w1, [x19]
	cmp	w1, w23
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	add	x21, x20, #4
Lloh6:
	adrp	x24, _SQ_DESC_TYPE_HEADER@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SQ_DESC_TYPE_HEADER@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_nicvf_put_sq_desc
	ldr	w1, [x19]
	cmp	w1, w23
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_GET_SQ_DESC
	ldr	x8, [x0]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_dev_kfree_skb_any
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	x1, x21
	bl	_atomic64_add
	ldr	w0, [x22, #8]
	mov	x1, x20
	bl	_atomic64_add
	ldr	w8, [x22, #12]
	add	w1, w8, #1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_QSET_SQ_0_7_HEAD,4,2       ; @NIC_QSET_SQ_0_7_HEAD
	.comm	_NIC_QSET_SQ_0_7_TAIL,4,2       ; @NIC_QSET_SQ_0_7_TAIL
	.comm	_SQ_DESC_TYPE_HEADER,8,3        ; @SQ_DESC_TYPE_HEADER
.subsections_via_symbols
