	.file	"extr_3945.c_il3945_hw_rxq_stop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Can't stop Rx DMA.\n"
	.text
	.p2align 4
	.globl	il3945_hw_rxq_stop
	.type	il3945_hw_rxq_stop, @function
il3945_hw_rxq_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	xor	edi, edi
	call	FH39_RCSR_CONFIG@PLT
	xor	edx, edx
	mov	rdi, rbp
	mov	esi, eax
	call	_il_wr@PLT
	mov	edx, DWORD PTR FH39_RSSR_CHNL0_RX_STATUS_CHNL_IDLE[rip]
	mov	esi, DWORD PTR FH39_RSSR_STATUS[rip]
	mov	rdi, rbp
	mov	r8d, 1000
	mov	ecx, edx
	call	_il_poll_bit@PLT
	test	eax, eax
	js	.L5
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	IL_ERR@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	il3945_hw_rxq_stop, .-il3945_hw_rxq_stop
	.comm	FH39_RSSR_STATUS,4,4
	.comm	FH39_RSSR_CHNL0_RX_STATUS_CHNL_IDLE,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_3945.c_il3945_hw_rxq_stop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't stop Rx DMA.\012\000"
	.text
	.align	2
	.global	il3945_hw_rxq_stop
	.syntax unified
	.arm
	.fpu softvfp
	.type	il3945_hw_rxq_stop, %function
il3945_hw_rxq_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	sub	sp, sp, #8
	mov	r0, #0
	bl	FH39_RCSR_CONFIG
	mov	r2, #0
	mov	r1, r0
	mov	r0, r4
	bl	_il_wr
	mov	ip, #1000
	ldr	r3, .L6
	ldr	r1, .L6+4
	ldr	r3, [r3]
	str	ip, [sp]
	mov	r0, r4
	mov	r2, r3
	ldr	r1, [r1]
	bl	_il_poll_bit
	cmp	r0, #0
	blt	.L5
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L5:
	ldr	r0, .L6+8
	bl	IL_ERR
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	FH39_RSSR_CHNL0_RX_STATUS_CHNL_IDLE
	.word	FH39_RSSR_STATUS
	.word	.LC0
	.size	il3945_hw_rxq_stop, .-il3945_hw_rxq_stop
	.comm	FH39_RSSR_STATUS,4,4
	.comm	FH39_RSSR_CHNL0_RX_STATUS_CHNL_IDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
