	.file	"extr_dscc4.c_dscc4_rx_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dscc4_rx_update, @function
dscc4_rx_update:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	rsi, QWORD PTR CH0LRDA[rip]
	add	rsi, QWORD PTR 8[rdi]
	sub	eax, 1
	cdq
	idiv	DWORD PTR RX_RING_SIZE[rip]
	movsx	rax, edx
	mov	rdx, QWORD PTR 24[rdi]
	lea	r8, [rdx+rax*4]
	mov	eax, DWORD PTR 4[rdi]
	mov	QWORD PTR 16[rdi], r8
	mov	rdi, r8
	sal	eax, 2
	cdqe
	add	rsi, rax
	jmp	writel@PLT
	.cfi_endproc
.LFE0:
	.size	dscc4_rx_update, .-dscc4_rx_update
	.comm	RX_RING_SIZE,4,4
	.comm	CH0LRDA,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_dscc4.c_dscc4_rx_update.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dscc4_rx_update, %function
dscc4_rx_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L4
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r1, [r3]
	sub	r0, r0, #1
	bl	__aeabi_idivmod
	ldr	r3, .L4+4
	ldr	r0, [r4, #16]
	ldr	r2, [r3]
	ldr	r3, [r4, #8]
	add	r0, r0, r1, lsl #2
	ldr	r1, [r4, #4]
	add	r3, r3, r2
	str	r0, [r4, #12]
	add	r1, r3, r1, lsl #2
	pop	{r4, lr}
	b	writel
.L5:
	.align	2
.L4:
	.word	RX_RING_SIZE
	.word	CH0LRDA
	.size	dscc4_rx_update, .-dscc4_rx_update
	.comm	RX_RING_SIZE,4,4
	.comm	CH0LRDA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
