	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function i40e_clean_rx_ring
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_i40e_clean_rx_ring
	.p2align	4, 0x90
_i40e_clean_rx_ring:                    ## @i40e_clean_rx_ring
	.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
	cmpq	$0, 48(%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r12
	movq	72(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_dev_kfree_skb
	movq	$0, 72(%r12)
LBB0_3:
	cmpq	$0, 64(%r12)
	je	LBB0_4
## %bb.6:
	movq	%r12, %rdi
	callq	_i40e_xsk_clean_rx_ring
	movq	(%r12), %rax
LBB0_11:
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rdx
	movq	48(%r12), %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	8(%r12), %rdx
	movq	40(%r12), %rdi
	xorl	%esi, %esi
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r12)
	movq	$0, 32(%r12)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movl	$20, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r13
	addq	$24, %rbx
	cmpq	%rax, %r13
	jae	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r12), %r14
	cmpq	$0, -12(%r14,%rbx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r14,%rbx), %esi
	movq	-20(%r14,%rbx), %rdx
	movl	56(%r12), %edi
	movl	60(%r12), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_dma_sync_single_range_for_cpu
	movl	56(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14,%rbx), %r15d
	movq	%r12, %rdi
	callq	_i40e_rx_pg_size
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_I40E_RX_DMA_ATTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_page_attrs
	movq	-12(%r14,%rbx), %rdi
	movl	-4(%r14,%rbx), %esi
	callq	___page_frag_cache_drain
	xorps	%xmm0, %xmm0
	movups	%xmm0, -20(%r14,%rbx)
	movq	(%r12), %rax
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_I40E_RX_DMA_ATTR,4,2           ## @I40E_RX_DMA_ATTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_clean_rx_ring             ; -- Begin function i40e_clean_rx_ring
	.p2align	2
_i40e_clean_rx_ring:                    ; @i40e_clean_rx_ring
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #72]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_dev_kfree_skb
	str	xzr, [x19, #72]
LBB0_3:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_i40e_xsk_clean_rx_ring
	ldr	x8, [x19]
LBB0_5:
	add	x8, x8, x8, lsl #1
	lsl	x2, x8, #3
	ldr	x0, [x19, #48]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x19, #40]
	ldr	x2, [x19, #8]
	mov	w1, #0
	bl	_memset
	stp	xzr, xzr, [x19, #24]
	str	xzr, [x19, #16]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.8:
	mov	x22, #0
	mov	x23, #0
Lloh0:
	adrp	x24, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _I40E_RX_DMA_ATTR@GOTPAGE
Lloh3:
	ldr	x25, [x25, _I40E_RX_DMA_ATTR@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x23, x23, #1
	add	x22, x22, #24
	cmp	x23, x8
	b.hs	LBB0_5
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #48]
	add	x26, x9, x22
	ldr	x9, [x26, #8]
	cbz	x9, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x26, #20]
	ldr	x2, [x26]
	ldp	w0, w3, [x19, #56]
	ldr	w4, [x24]
	bl	_dma_sync_single_range_for_cpu
	ldr	w20, [x19, #56]
	ldr	w21, [x26, #20]
	mov	x0, x19
	bl	_i40e_rx_pg_size
	mov	x2, x0
	ldr	w3, [x24]
	ldr	w4, [x25]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_unmap_page_attrs
	ldr	x0, [x26, #8]
	ldr	w1, [x26, #16]
	bl	___page_frag_cache_drain
	stp	xzr, xzr, [x26]
	ldr	x8, [x19]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_I40E_RX_DMA_ATTR,4,2           ; @I40E_RX_DMA_ATTR
.subsections_via_symbols
