	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ice_clean_rx_ring
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ice_clean_rx_ring
	.p2align	4, 0x90
_ice_clean_rx_ring:                     ## @ice_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
	movq	48(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	movq	56(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$24, %ebx
	xorl	%r13d, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movq	(%r15), %rdx
	movq	48(%r15), %r12
	addq	$32, %rbx
	cmpq	%rdx, %r13
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_dev_kfree_skb
	movq	$0, (%r12,%rbx)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -16(%r12,%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%r12,%rbx), %esi
	movq	-24(%r12,%rbx), %rdx
	movq	_ICE_RXBUF_2048@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	callq	_dma_sync_single_range_for_cpu
	movl	-4(%r12,%rbx), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ICE_RX_DMA_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	callq	_dma_unmap_page_attrs
	movq	-16(%r12,%rbx), %rdi
	movl	-8(%r12,%rbx), %esi
	callq	___page_frag_cache_drain
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%r12,%rbx)
	jmp	LBB0_8
LBB0_9:
	shll	$5, %edx
	jmp	LBB0_10
LBB0_2:
	xorl	%edx, %edx
LBB0_10:
	movq	%r12, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	40(%r15), %rdi
	movl	8(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movq	$0, 32(%r15)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_RXBUF_2048,4,2             ## @ICE_RXBUF_2048
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_ICE_RX_DMA_ATTR,4,2            ## @ICE_RX_DMA_ATTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_clean_rx_ring              ; -- Begin function ice_clean_rx_ring
	.p2align	2
_ice_clean_rx_ring:                     ; @ice_clean_rx_ring
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x21, [x0, #48]
	cbz	x21, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x22, #0
	mov	x23, #0
	ldr	x20, [x19, #56]
Lloh0:
	adrp	x24, _ICE_RXBUF_2048@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ICE_RXBUF_2048@GOTPAGEOFF]
Lloh2:
	adrp	x25, _DMA_FROM_DEVICE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh4:
	adrp	x26, _PAGE_SIZE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PAGE_SIZE@GOTPAGEOFF]
Lloh6:
	adrp	x27, _ICE_RX_DMA_ATTR@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ICE_RX_DMA_ATTR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19]
	ldr	x21, [x19, #48]
	add	x22, x22, #32
	cmp	x23, x8
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x21, x22
	ldr	x0, [x28, #24]
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_dev_kfree_skb
	str	xzr, [x28, #24]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, x22
	ldr	w1, [x21, #20]
	ldr	x2, [x21]
	ldr	w3, [x24]
	ldr	w4, [x25]
	mov	x0, x20
	bl	_dma_sync_single_range_for_cpu
	ldr	w1, [x21, #20]
	ldr	w2, [x26]
	ldr	w3, [x25]
	ldr	w4, [x27]
	mov	x0, x20
	bl	_dma_unmap_page_attrs
	ldr	x0, [x28, #8]
	ldr	w1, [x21, #16]
	bl	___page_frag_cache_drain
	stp	xzr, xzr, [x21]
	b	LBB0_3
LBB0_8:
	lsl	w2, w8, #5
	b	LBB0_10
LBB0_9:
	mov	w2, #0
LBB0_10:
	mov	x0, x21
	mov	w1, #0
	bl	_memset
	ldr	x0, [x19, #40]
	ldr	w2, [x19, #8]
	mov	w1, #0
	bl	_memset
	stp	xzr, xzr, [x19, #24]
	str	xzr, [x19, #16]
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_RXBUF_2048,4,2             ; @ICE_RXBUF_2048
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_ICE_RX_DMA_ATTR,4,2            ; @ICE_RX_DMA_ATTR
.subsections_via_symbols
