	.file	"extr_sil-sii8620.c_sii8620_burst_get_rx_buf.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"RX-BLK buffer exhausted\n"
	.text
	.p2align 4
	.type	sii8620_burst_get_rx_buf, @function
sii8620_burst_get_rx_buf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	r12d, 1[rsi]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movsx	r12, r12d
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	rdx, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rdi]
	mov	r14, QWORD PTR 16[rdi]
	mov	edi, DWORD PTR 24[rdi]
	add	r14, r12
	lea	r13, [rax+rdx*4]
	call	ARRAY_SIZE@PLT
	cmp	r14, rax
	jg	.L6
	add	QWORD PTR 8[rbx], r12
	lea	rax, 4[r13]
	mov	DWORD PTR 0[r13], ebp
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 36[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	mov	DWORD PTR 32[rbx], eax
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sii8620_burst_get_rx_buf, .-sii8620_burst_get_rx_buf
	.comm	EINVAL,4,4
	.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_sil-sii8620.c_sii8620_burst_get_rx_buf.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RX-BLK buffer exhausted\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sii8620_burst_get_rx_buf, %function
sii8620_burst_get_rx_buf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r6, [r0, #8]
	ldr	r0, [r0, #12]
	add	r9, r1, #1
	ldm	r4, {r7, r8}
	mov	r5, r1
	bl	ARRAY_SIZE
	add	r6, r9, r6
	cmp	r6, r0
	add	r0, r7, r8, lsl #2
	bgt	.L6
	ldr	r3, [r4, #4]
	add	r0, r0, #4
	add	r3, r3, r9
	str	r3, [r4, #4]
	str	r5, [r7, r8, lsl #2]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r1, .L7
	ldr	r0, [r4, #20]
	bl	dev_err
	ldr	r3, .L7+4
	mov	r0, #0
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [r4, #16]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	EINVAL
	.size	sii8620_burst_get_rx_buf, .-sii8620_burst_get_rx_buf
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
