	.file	"extr_efx.c_efx_start_all.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	efx_start_all, @function
efx_start_all:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	EFX_ASSERT_RESET_SERIALISED@PLT
	mov	rax, QWORD PTR STATE_DISABLED[rip]
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
	call	BUG_ON@PLT
	cmp	QWORD PTR 48[rbp], 0
	je	.L16
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edi, DWORD PTR 40[rbp]
	call	netif_running@PLT
	test	eax, eax
	je	.L1
	mov	rdi, rbp
	call	efx_start_port@PLT
	mov	rdi, rbp
	call	efx_start_datapath@PLT
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 8[rax], 0
	je	.L5
	mov	edi, DWORD PTR 36[rbp]
	mov	edx, DWORD PTR efx_monitor_interval[rip]
	lea	rsi, 32[rbp]
	call	queue_delayed_work@PLT
.L5:
	mov	rdi, rbp
	call	efx_nic_rev@PLT
	cmp	rax, QWORD PTR EFX_REV_SIENA_A0[rip]
	jge	.L17
.L6:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	lea	r12, 16[rbp]
	mov	rdi, r12
	call	mutex_lock@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	test	rax, rax
	jne	.L18
.L7:
	mov	rdi, r12
	call	mutex_unlock@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rbp
	call	efx_link_status_changed@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	efx_start_all, .-efx_start_all
	.comm	efx_monitor_interval,4,4
	.comm	STATE_DISABLED,8,8
	.comm	EFX_REV_SIENA_A0,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_efx.c_efx_start_all.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	efx_start_all, %function
efx_start_all:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	EFX_ASSERT_RESET_SERIALISED
	ldr	r3, .L21
	ldr	r0, [r4]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r3, [r4, #28]
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
	ldr	r0, [r4, #24]
	bl	netif_running
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	bl	efx_start_port
	mov	r0, r4
	bl	efx_start_datapath
	ldr	r3, [r4, #4]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L21+4
	ldr	r0, [r4, #20]
	ldr	r2, [r3]
	add	r1, r4, #16
	bl	queue_delayed_work
.L5:
	mov	r0, r4
	bl	efx_nic_rev
	ldr	r3, .L21+8
	ldr	r3, [r3]
	cmp	r0, r3
	bge	.L19
.L6:
	ldr	r3, [r4, #4]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r3, [r3]
	bx	r3
.L19:
	add	r5, r4, #8
	mov	r0, r5
	bl	mutex_lock
	ldr	r3, [r4, #12]
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	cmp	r0, #0
	bne	.L20
.L7:
	mov	r0, r5
	bl	mutex_unlock
	b	.L6
.L20:
	mov	r0, r4
	bl	efx_link_status_changed
	b	.L7
.L22:
	.align	2
.L21:
	.word	STATE_DISABLED
	.word	efx_monitor_interval
	.word	EFX_REV_SIENA_A0
	.size	efx_start_all, .-efx_start_all
	.comm	efx_monitor_interval,4,4
	.comm	STATE_DISABLED,4,4
	.comm	EFX_REV_SIENA_A0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
