	.file	"extr_synclink.c_mgsl_free_rx_frame_buffers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mgsl_free_rx_frame_buffers, @function
mgsl_free_rx_frame_buffers:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r9, QWORD PTR 8[rdi]
	mov	r10d, DWORD PTR [rdi]
	xor	r11d, r11d
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, esi
	mov	r8, QWORD PTR DMABUFFERSIZE[rip]
	lea	rcx, [r9+rax*4]
	lea	eax, 1[rsi]
	mov	QWORD PTR [rcx], r8
	cmp	edx, esi
	je	.L3
	cmp	eax, r10d
	cmove	eax, r11d
	mov	esi, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	eax, r10d
	mov	edx, 0
	cmove	eax, edx
	mov	DWORD PTR 4[rdi], eax
	ret
	.cfi_endproc
.LFE0:
	.size	mgsl_free_rx_frame_buffers, .-mgsl_free_rx_frame_buffers
	.comm	DMABUFFERSIZE,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_synclink.c_mgsl_free_rx_frame_buffers.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mgsl_free_rx_frame_buffers, %function
mgsl_free_rx_frame_buffers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	lr, [r0, #8]
	ldr	r6, [r0]
	ldr	r5, .L9
.L2:
	cmp	r2, r1
	ldr	ip, [r5]
	add	r4, lr, r1, lsl #2
	add	r3, r1, #1
	beq	.L3
	cmp	r6, r3
	str	ip, [lr, r1, lsl #2]
	movne	r1, r3
	moveq	r1, #0
	b	.L2
.L3:
	cmp	r6, r3
	moveq	r3, #0
	str	ip, [r4]
	str	r3, [r0, #4]
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	DMABUFFERSIZE
	.size	mgsl_free_rx_frame_buffers, .-mgsl_free_rx_frame_buffers
	.comm	DMABUFFERSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
