	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_gbe_clean_rx_ring
_pch_gbe_clean_rx_ring:                 ## @pch_gbe_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpl	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_pch_gbe_unmap_and_free_rx_resource
	incq	%r12
	movl	(%r15), %eax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_netdev_dbg
	movl	(%r15), %edx
	shlq	$2, %rdx
	movq	48(%r15), %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	8(%r15), %rdx
	movq	40(%r15), %rdi
	xorl	%esi, %esi
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movl	16(%r15), %edi
	movq	8(%r14), %rsi
	addq	$4, %rsi
	callq	_iowrite32
	movl	8(%r15), %edi
	addl	$-16, %edi
	movq	8(%r14), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iowrite32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"call pch_gbe_unmap_and_free_rx_resource() %d count\n"

	.no_dead_strip	_pch_gbe_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 pch_gbe_clean_rx_ring
_pch_gbe_clean_rx_ring:                 ; @pch_gbe_clean_rx_ring
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #48]
	add	x1, x8, x22
	mov	x0, x19
	bl	_pch_gbe_unmap_and_free_rx_resource
	add	x21, x21, #1
	ldr	w8, [x20]
	add	x22, x22, #4
	cmp	x21, x8
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w21, #0
LBB0_4:
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_netdev_dbg
	ldr	w8, [x20]
	lsl	x2, x8, #2
	ldr	x0, [x20, #48]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x20, #40]
	ldr	x2, [x20, #8]
	mov	w1, #0
	bl	_memset
	stp	xzr, xzr, [x20, #24]
	ldr	w0, [x20, #16]
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	bl	_iowrite32
	ldr	w8, [x20, #8]
	sub	w0, w8, #16
	ldr	x1, [x19, #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	_iowrite32
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"call pch_gbe_unmap_and_free_rx_resource() %d count\n"

	.no_dead_strip	_pch_gbe_clean_rx_ring
.subsections_via_symbols
