	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_clean_rx_ring
_e1000_clean_rx_ring:                   ## @e1000_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	%rdi, %rbx
	movq	48(%rdi), %r14
	cmpl	$0, (%rdi)
	je	LBB0_20
## %bb.1:
	movq	24(%r14), %r13
	xorl	%r12d, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	incq	%r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	cmpq	%rax, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jae	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	40(%rbx), %r15
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	shlq	$5, %r12
	movq	24(%r15,%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	_e1000_clean_rx_irq@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14), %edx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_e1000_clean_jumbo_rx_irq@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_dma_unmap_page
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_e1000_clean_rx_irq_ps@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r14), %edx
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_dma_unmap_single
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r12), %rax
	addq	$24, %rax
	movq	$0, (%rax)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r12), %r14
	addq	$16, %r14
	callq	_put_page
	movq	$0, (%r14)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r12), %rbx
	addq	$8, %rbx
	callq	_dev_kfree_skb
	movq	$0, (%rbx)
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PS_PAGE_BUFFERS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%r12, %r15
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %r14
	cmpq	$0, (%r14,%rbx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	8(%r14,%rbx), %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_dma_unmap_page
	movq	$0, 8(%r14,%rbx)
	movq	(%r14,%rbx), %rdi
	callq	_put_page
	movq	$0, (%r14,%rbx)
	incq	%r12
	movq	_PS_PAGE_BUFFERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jb	LBB0_17
	jmp	LBB0_19
LBB0_20:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_dev_kfree_skb
	movq	$0, 32(%rbx)
LBB0_22:
	movl	24(%rbx), %edx
	movl	28(%rbx), %edi
	xorl	%esi, %esi
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_FLAG2_IS_DISCARDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_clean_rx_irq,8,3         ## @e1000_clean_rx_irq
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_e1000_clean_jumbo_rx_irq,8,3   ## @e1000_clean_jumbo_rx_irq
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_e1000_clean_rx_irq_ps,8,3      ## @e1000_clean_rx_irq_ps
	.comm	_PS_PAGE_BUFFERS,4,2            ## @PS_PAGE_BUFFERS
	.comm	_FLAG2_IS_DISCARDING,4,2        ## @FLAG2_IS_DISCARDING
	.no_dead_strip	_e1000_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 e1000_clean_rx_ring
_e1000_clean_rx_ring:                   ; @e1000_clean_rx_ring
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x26, x0
	ldr	x19, [x0, #48]
	ldr	w8, [x0]
	cbz	w8, LBB0_20
; %bb.1:
	mov	x22, #0
	ldr	x20, [x19, #24]
Lloh0:
	adrp	x23, _PS_PAGE_BUFFERS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PS_PAGE_BUFFERS@GOTPAGEOFF]
Lloh2:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x25, _DMA_FROM_DEVICE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _DMA_FROM_DEVICE@GOTPAGEOFF]
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w8, [x26]
	cmp	x22, x8
	b.hs	LBB0_20
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x28, [x26, #40]
	add	x27, x28, x22, lsl #5
	mov	x26, x27
	ldr	x1, [x26, #24]!
	cbz	x1, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _e1000_clean_rx_irq@GOTPAGE
Lloh7:
	ldr	x9, [x9, _e1000_clean_rx_irq@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x19, #16]
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh9:
	adrp	x9, _e1000_clean_jumbo_rx_irq@GOTPAGE
Lloh10:
	ldr	x9, [x9, _e1000_clean_jumbo_rx_irq@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x0, x20
	bl	_dma_unmap_page
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh12:
	adrp	x9, _e1000_clean_rx_irq_ps@GOTPAGE
Lloh13:
	ldr	x9, [x9, _e1000_clean_rx_irq_ps@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x19, #12]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w3, [x25]
	mov	x0, x20
	bl	_dma_unmap_single
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x26]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x27, #16]!
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_put_page
	str	xzr, [x27]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x28, x22, lsl #5
	mov	x26, x27
	ldr	x0, [x26, #8]!
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_dev_kfree_skb
	str	xzr, [x26]
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	cbz	w8, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	mov	x28, #0
LBB0_18:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27]
	ldr	x9, [x8, x26]
	cbz	x9, LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x21, x8, x26
	ldr	x1, [x21, #8]
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x0, x20
	bl	_dma_unmap_page
	str	xzr, [x21, #8]
	ldr	x0, [x21]
	bl	_put_page
	str	xzr, [x21]
	add	x28, x28, #1
	ldr	w8, [x23]
	add	x26, x26, #16
	cmp	x28, x8
	b.lo	LBB0_18
	b	LBB0_2
LBB0_20:
	ldr	x0, [x26, #32]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_dev_kfree_skb
	str	xzr, [x26, #32]
LBB0_22:
	ldp	w2, w0, [x26, #24]
	mov	w1, #0
	bl	_memset
	stp	xzr, xzr, [x26, #8]
Lloh15:
	adrp	x8, _FLAG2_IS_DISCARDING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FLAG2_IS_DISCARDING@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_clean_rx_irq,8,3         ; @e1000_clean_rx_irq
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_e1000_clean_jumbo_rx_irq,8,3   ; @e1000_clean_jumbo_rx_irq
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_e1000_clean_rx_irq_ps,8,3      ; @e1000_clean_rx_irq_ps
	.comm	_PS_PAGE_BUFFERS,4,2            ; @PS_PAGE_BUFFERS
	.comm	_FLAG2_IS_DISCARDING,4,2        ; @FLAG2_IS_DISCARDING
	.no_dead_strip	_e1000_clean_rx_ring
.subsections_via_symbols
