	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_rx_bufs
_free_rx_bufs:                          ## @free_rx_bufs
	.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	%rsi, %r15
	movl	(%rsi), %ebx
	subl	$1, 32(%rsi)
	jae	LBB0_1
LBB0_5:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movl	16(%r15), %esi
	callq	___free_pages
	movq	$0, 8(%r15)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	subl	$1, 32(%r15)
	movl	%eax, %ebx
	jb	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edx
	shlq	$2, %rdx
	addq	24(%r15), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_clear_rx_desc
	incl	%ebx
	xorl	%eax, %eax
	cmpl	4(%r15), %ebx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_free_rx_bufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_rx_bufs
_free_rx_bufs:                          ; @free_rx_bufs
	.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, x1
	ldr	w21, [x1]
	ldr	w8, [x1, #32]
	sub	w9, w8, #1
	str	w9, [x1, #32]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x2, x8, w21, uxtw #2
	mov	x0, x20
	mov	x1, x19
	bl	_clear_rx_desc
	add	w8, w21, #1
	ldr	w9, [x19, #4]
	cmp	w8, w9
	csinc	w21, wzr, w21, eq
	ldr	w8, [x19, #32]
	sub	w9, w8, #1
	str	w9, [x19, #32]
	cbnz	w8, LBB0_2
LBB0_3:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x19, #16]
	bl	___free_pages
	str	xzr, [x19, #8]
LBB0_5:
	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	_free_rx_bufs
.subsections_via_symbols
