	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_clean_rx
_fe_clean_rx:                           ## @fe_clean_rx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	40(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movl	8(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	xorl	%ebx, %ebx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_skb_free_frag
	movl	8(%r15), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	movq	40(%r15), %rdi
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rdi
	movl	48(%r15), %edx
	movl	(%r14), %ecx
	callq	_dma_unmap_single
	movq	40(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	jmp	LBB0_7
LBB0_9:
	callq	_kfree
	movq	$0, 40(%r15)
LBB0_10:
	movq	24(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.11:
	movq	(%r15), %rdi
	movl	8(%r15), %esi
	shll	$3, %esi
	movl	32(%r15), %ecx
	callq	_dma_free_coherent
	movq	$0, 24(%r15)
LBB0_12:
	movl	16(%r15), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.14:
	leaq	12(%r15), %r14
	callq	_virt_to_page
	movl	12(%r15), %esi
	movq	%rax, %rdi
	callq	___page_frag_cache_drain
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_fe_clean_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fe_clean_rx
_fe_clean_rx:                           ; @fe_clean_rx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x0, [x0, #40]
	cbz	x0, LBB0_10
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x20, #0
Lloh0:
	adrp	x21, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DMA_FROM_DEVICE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_skb_free_frag
	ldr	w8, [x19, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldr	x0, [x19, #40]
	cmp	x20, w8, sxtw
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x0, x20, lsl #3]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x8, x20, lsl #3]
	cbz	x1, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19]
	ldr	w2, [x19, #48]
	ldr	w3, [x21]
	bl	_dma_unmap_single
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x20, lsl #3]
	b	LBB0_3
LBB0_9:
	bl	_kfree
	str	xzr, [x19, #40]
LBB0_10:
	ldr	x2, [x19, #24]
	cbz	x2, LBB0_12
; %bb.11:
	ldr	x0, [x19]
	ldr	w8, [x19, #8]
	lsl	w1, w8, #3
	ldr	w3, [x19, #32]
	bl	_dma_free_coherent
	str	xzr, [x19, #24]
LBB0_12:
	ldr	w0, [x19, #16]
	cbz	w0, LBB0_14
; %bb.13:
	bl	_virt_to_page
	ldr	w1, [x19, #12]!
	bl	___page_frag_cache_drain
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memset
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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	_fe_clean_rx
.subsections_via_symbols
