	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_clean_rx_ring
_ixgbe_clean_rx_ring:                   ## @ixgbe_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
	subq	$24, %rsp
	.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_15
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	movq	56(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$16, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, -16(%r12,%r15)
	incq	%r13
	movq	(%r14), %rax
	movq	48(%r14), %r12
	addq	$24, %r15
	cmpq	%rax, %r13
	jae	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_IXGBE_CB
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_IXGBE_CB
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_ixgbe_rx_bufsz
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_dma_unmap_page
	movq	%rbx, %rdi
	callq	_IXGBE_CB
	movl	$0, (%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%r12,%r15)
	movq	-8(%r12,%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_ixgbe_rx_pg_size
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_dma_unmap_page
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, -8(%r12,%r15)
	movq	-16(%r12,%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_ixgbe_rx_pg_order
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	___free_pages
	jmp	LBB0_12
LBB0_13:
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rdx
	jmp	LBB0_14
LBB0_2:
	xorl	%edx, %edx
LBB0_14:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	8(%r14), %rdx
	movq	40(%r14), %rdi
	xorl	%esi, %esi
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movq	$0, 32(%r14)
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_ixgbe_clean_rx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_clean_rx_ring
_ixgbe_clean_rx_ring:                   ; @ixgbe_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	x20, [x0, #48]
	cbz	x20, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.2:
	mov	x24, #0
	mov	x25, #0
	ldr	x21, [x19, #56]
Lloh0:
	adrp	x26, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DMA_FROM_DEVICE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x20, x24]
	add	x25, x25, #1
	ldr	x8, [x19]
	ldr	x20, [x19, #48]
	add	x24, x24, #24
	cmp	x25, x8
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x27, x20, x24
	ldr	x22, [x27, #16]
	cbz	x22, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_IXGBE_CB
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_IXGBE_CB
	ldr	x23, [x0, #8]
	mov	x0, x19
	bl	_ixgbe_rx_bufsz
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x21
	mov	x1, x23
	bl	_dma_unmap_page
	mov	x0, x22
	bl	_IXGBE_CB
	str	wzr, [x0]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_dev_kfree_skb
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x27, #16]
	ldr	x22, [x27, #8]
	cbz	x22, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_ixgbe_rx_pg_size
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_page
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x27, #8]
	ldr	x22, [x20, x24]
	cbz	x22, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_ixgbe_rx_pg_order
	mov	x1, x0
	mov	x0, x22
	bl	___free_pages
	b	LBB0_3
LBB0_12:
	add	x8, x8, x8, lsl #1
	lsl	x2, x8, #3
	b	LBB0_14
LBB0_13:
	mov	x2, #0
LBB0_14:
	mov	x0, x20
	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_15:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_ixgbe_clean_rx_ring
.subsections_via_symbols
