	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mgsl_free_rx_frame_buffers
_mgsl_free_rx_frame_buffers:            ## @mgsl_free_rx_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
	movq	8(%rdi), %r10
	movl	(%rdi), %r11d
	xorl	%r8d, %r8d
	movq	_DMABUFFERSIZE@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %eax
	movl	%esi, %esi
	movq	(%r9), %rcx
	movq	%rcx, (%r10,%rsi,4)
	leal	1(%rax), %esi
	cmpl	%r11d, %esi
	cmovel	%r8d, %esi
	cmpl	%edx, %eax
	jne	LBB0_1
## %bb.2:
	movl	%esi, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMABUFFERSIZE,8,3              ## @DMABUFFERSIZE
	.no_dead_strip	_mgsl_free_rx_frame_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mgsl_free_rx_frame_buffers
_mgsl_free_rx_frame_buffers:            ; @mgsl_free_rx_frame_buffers
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _DMABUFFERSIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DMABUFFERSIZE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x1
	mov	w12, w1
	ldr	x13, [x10]
	lsl	x12, x12, #2
	str	x13, [x8, x12]
	add	w12, w1, #1
	cmp	w12, w9
	csinc	w1, wzr, w1, eq
	cmp	w11, w2
	b.ne	LBB0_1
; %bb.2:
	str	w1, [x0, #4]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMABUFFERSIZE,8,3              ; @DMABUFFERSIZE
	.no_dead_strip	_mgsl_free_rx_frame_buffers
.subsections_via_symbols
