	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx_free_frame_buffers
_rx_free_frame_buffers:                 ## @rx_free_frame_buffers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movl	%esi, %ecx
	movl	$255, (%rax,%rcx,4)
	cmpl	%edx, %esi
	je	LBB0_4
## %bb.1:
	movl	(%r14), %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	cmpl	%ecx, %ebx
	cmovel	%esi, %ebx
	movl	$255, (%rax,%rbx,4)
	cmpl	%edx, %ebx
	jne	LBB0_2
## %bb.3:
	movl	%ebx, %ecx
LBB0_4:
	movq	_RXDMA@GOTPCREL(%rip), %rax
	movq	_EDA@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	addq	(%rax), %rsi
	movq	8(%r14), %rax
	movl	(%rax,%rcx,4), %edx
	movq	%r14, %rdi
	callq	_write_reg16
	incl	%ebx
	xorl	%eax, %eax
	cmpl	(%r14), %ebx
	cmovnel	%ebx, %eax
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXDMA,8,3                      ## @RXDMA
	.comm	_EDA,8,3                        ## @EDA
	.no_dead_strip	_rx_free_frame_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx_free_frame_buffers
_rx_free_frame_buffers:                 ; @rx_free_frame_buffers
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	mov	w9, #255
	str	w9, [x8, w1, uxtw #2]
	cmp	w1, w2
	b.ne	LBB0_2
; %bb.1:
	mov	w8, w19
	b	LBB0_5
LBB0_2:
	ldr	w10, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w19, #1
	cmp	w11, w10
	csinc	w19, wzr, w19, eq
	str	w9, [x8, w19, uxtw #2]
	cmp	w19, w2
	b.ne	LBB0_3
; %bb.4:
	mov	x8, x19
LBB0_5:
Lloh0:
	adrp	x9, _RXDMA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RXDMA@GOTPAGEOFF]
Lloh2:
	adrp	x10, _EDA@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EDA@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	add	x1, x10, x9
	ldr	x9, [x20, #8]
	ldr	w2, [x9, x8, lsl #2]
	mov	x0, x20
	bl	_write_reg16
	add	w8, w19, #1
	ldr	w9, [x20]
	cmp	w8, w9
	csinc	w8, wzr, w19, eq
	str	w8, [x20, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RXDMA,8,3                      ; @RXDMA
	.comm	_EDA,8,3                        ; @EDA
	.no_dead_strip	_rx_free_frame_buffers
.subsections_via_symbols
