	.file	"extr_efx.c_efx_stop_all.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	efx_stop_all, @function
efx_stop_all:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	EFX_ASSERT_RESET_SERIALISED@PLT
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	mov	rdi, rbp
	call	efx_stop_port@PLT
	mov	rdi, rbp
	call	efx_flush_all@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	netif_running@PLT
	xor	edi, edi
	test	rax, rax
	jne	.L8
.L3:
	call	WARN_ON@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	netif_tx_disable@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	efx_stop_datapath@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	netif_device_present@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	efx_stop_all, .-efx_stop_all
	.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_efx.c_efx_stop_all.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	efx_stop_all, %function
efx_stop_all:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	EFX_ASSERT_RESET_SERIALISED
	ldr	r3, [r4, #8]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r3, [r4, #4]
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	mov	r0, r4
	bl	efx_stop_port
	mov	r0, r4
	bl	efx_flush_all
	ldr	r0, [r4]
	bl	netif_running
	cmp	r0, #0
	bne	.L9
.L3:
	bl	WARN_ON
	ldr	r0, [r4]
	bl	netif_tx_disable
	mov	r0, r4
	pop	{r4, lr}
	b	efx_stop_datapath
.L9:
	ldr	r0, [r4]
	bl	netif_device_present
	subs	r0, r0, #0
	movne	r0, #1
	b	.L3
	.size	efx_stop_all, .-efx_stop_all
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
