	.file	"extr_pasemi_mac.c_pasemi_mac_pause_rxint.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to stop rx interface, rcmdsta %08x\n"
	.text
	.p2align 4
	.type	pasemi_mac_pause_rxint, @function
pasemi_mac_pause_rxint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	mov	r13d, DWORD PTR PAS_DMA_RXINT_RCMDSTA_ST[rip]
	call	PAS_DMA_RXINT_RCMDSTA@PLT
	mov	esi, r13d
	mov	edi, eax
	call	write_dma_reg@PLT
	mov	eax, DWORD PTR MAX_RETRIES[rip]
	test	eax, eax
	je	.L2
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	xor	eax, eax
	add	ebx, 1
	call	cond_resched@PLT
	cmp	DWORD PTR MAX_RETRIES[rip], ebx
	jbe	.L2
.L5:
	mov	edi, DWORD PTR 0[rbp]
	call	PAS_DMA_RXINT_RCMDSTA@PLT
	mov	edi, eax
	call	read_dma_reg@PLT
	mov	r12d, eax
	test	DWORD PTR PAS_DMA_RXINT_RCMDSTA_ACT[rip], eax
	jne	.L13
.L4:
	mov	edi, DWORD PTR 0[rbp]
	call	PAS_DMA_RXINT_RCMDSTA@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	write_dma_reg@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	DWORD PTR PAS_DMA_RXINT_RCMDSTA_ACT[rip], r12d
	je	.L4
	mov	rdi, QWORD PTR 8[rbp]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	pasemi_mac_pause_rxint, .-pasemi_mac_pause_rxint
	.comm	PAS_DMA_RXINT_RCMDSTA_ST,4,4
	.comm	PAS_DMA_RXINT_RCMDSTA_ACT,4,4
	.comm	MAX_RETRIES,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_pasemi_mac.c_pasemi_mac_pause_rxint.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to stop rx interface, rcmdsta %08x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pasemi_mac_pause_rxint, %function
pasemi_mac_pause_rxint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, [r0]
	bl	PAS_DMA_RXINT_RCMDSTA
	ldr	r3, .L17
	ldr	r7, .L17+4
	ldr	r1, [r3]
	bl	write_dma_reg
	ldr	r3, [r7]
	cmp	r3, #0
	ldreq	r8, .L17+8
	beq	.L2
	mov	r5, #0
	ldr	r8, .L17+8
	b	.L5
.L16:
	bl	cond_resched
	ldr	r3, [r7]
	cmp	r3, r5
	bls	.L2
.L5:
	ldr	r0, [r6]
	bl	PAS_DMA_RXINT_RCMDSTA
	bl	read_dma_reg
	ldr	r3, [r8]
	mov	r4, r0
	tst	r0, r3
	add	r5, r5, #1
	bne	.L16
.L4:
	ldr	r0, [r6]
	bl	PAS_DMA_RXINT_RCMDSTA
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	b	write_dma_reg
.L2:
	ldr	r3, [r8]
	tst	r4, r3
	beq	.L4
	mov	r2, r4
	ldr	r1, .L17+12
	ldr	r0, [r6, #4]
	bl	dev_err
	b	.L4
.L18:
	.align	2
.L17:
	.word	PAS_DMA_RXINT_RCMDSTA_ST
	.word	MAX_RETRIES
	.word	PAS_DMA_RXINT_RCMDSTA_ACT
	.word	.LC0
	.size	pasemi_mac_pause_rxint, .-pasemi_mac_pause_rxint
	.comm	PAS_DMA_RXINT_RCMDSTA_ST,4,4
	.comm	PAS_DMA_RXINT_RCMDSTA_ACT,4,4
	.comm	MAX_RETRIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
