	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_clean_rx_ring
_igc_clean_rx_ring:                     ## @igc_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	%rdi, %r13
	movq	(%rdi), %rbx
	movq	48(%rdi), %rdi
	callq	_dev_kfree_skb
	movq	$0, 48(%r13)
	cmpq	8(%r13), %rbx
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %r14
	movl	32(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %r15
	shlq	$4, %r15
	movl	8(%r14,%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%r14,%r15), %r12d
	movq	%r13, %rdi
	callq	_igc_rx_bufsz
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_dma_sync_single_range_for_cpu
	movl	32(%r13), %r12d
	movl	8(%r14,%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_igc_rx_pg_size
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IGC_RX_DMA_ATTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	%r12d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_dma_unmap_page_attrs
	movl	(%r14,%r15), %esi
	movl	4(%r14,%r15), %edi
	callq	___page_frag_cache_drain
	incq	%rbx
	cmpq	16(%r13), %rbx
	movl	$0, %eax
	cmoveq	%rax, %rbx
	cmpq	8(%r13), %rbx
	jne	LBB0_1
LBB0_3:
	movq	$0, 24(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	addq	$8, %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
	.comm	_IGC_RX_DMA_ATTR,4,2            ## @IGC_RX_DMA_ATTR
	.no_dead_strip	_igc_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 igc_clean_rx_ring
_igc_clean_rx_ring:                     ; @igc_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
	mov	x19, x0
	ldr	x23, [x0]
	ldr	x0, [x0, #48]
	bl	_dev_kfree_skb
	str	xzr, [x19, #48]
	ldr	x8, [x19, #8]
	cmp	x23, x8
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x24, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _IGC_RX_DMA_ATTR@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IGC_RX_DMA_ATTR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	w20, [x19, #32]
	add	x26, x8, x23, lsl #4
	ldp	w21, w22, [x26, #8]
	mov	x0, x19
	bl	_igc_rx_bufsz
	mov	x3, x0
	ldr	w4, [x24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_dma_sync_single_range_for_cpu
	ldr	w20, [x19, #32]
	ldr	w21, [x26, #8]
	mov	x0, x19
	bl	_igc_rx_pg_size
	mov	x2, x0
	ldr	w3, [x24]
	ldr	w4, [x25]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_unmap_page_attrs
	ldp	w1, w0, [x26]
	bl	___page_frag_cache_drain
	add	x8, x23, #1
	ldp	x10, x9, [x19, #8]
	cmp	x8, x9
	csinc	x23, xzr, x23, eq
	cmp	x23, x10
	b.ne	LBB0_2
LBB0_3:
	str	xzr, [x19, #24]
	stp	xzr, xzr, [x19]
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_IGC_RX_DMA_ATTR,4,2            ; @IGC_RX_DMA_ATTR
	.no_dead_strip	_igc_clean_rx_ring
.subsections_via_symbols
