	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_free_rx_buffer
_stmmac_free_rx_buffer:                 ## @stmmac_free_rx_buffer
	.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	(%rdi), %rax
	shlq	$4, %rsi
	leaq	(%rax,%rsi), %r14
	movq	8(%rax,%rsi), %r15
	movslq	%edx, %rbx
	shlq	$4, %rbx
	leaq	(%r15,%rbx), %r12
	addq	$8, %r12
	movq	8(%r15,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	xorl	%edx, %edx
	callq	_page_pool_put_page
LBB0_2:
	movq	$0, (%r12)
	leaq	(%r15,%rbx), %r12
	movq	(%r15,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	xorl	%edx, %edx
	callq	_page_pool_put_page
LBB0_4:
	movq	$0, (%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stmmac_free_rx_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_free_rx_buffer
_stmmac_free_rx_buffer:                 ; @stmmac_free_rx_buffer
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	x8, [x0]
	add	x19, x8, x1, lsl #4
	ldr	x20, [x19, #8]
	sxtw	x21, w2
	add	x22, x20, w2, sxtw #4
	ldr	x1, [x22, #8]!
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	mov	w2, #0
	bl	_page_pool_put_page
LBB0_2:
	str	xzr, [x22]
	add	x20, x20, x21, lsl #4
	ldr	x1, [x20]
	cbz	x1, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	mov	w2, #0
	bl	_page_pool_put_page
LBB0_4:
	str	xzr, [x20]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stmmac_free_rx_buffer
.subsections_via_symbols
