	.file	"extr_atl1e_main.c_atl1e_io_error_detected.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	atl1e_io_error_detected, @function
atl1e_io_error_detected:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	pci_get_drvdata@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	netdev_priv@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	netif_device_detach@PLT
	cmp	QWORD PTR pci_channel_io_perm_failure[rip], rbx
	mov	eax, DWORD PTR PCI_ERS_RESULT_DISCONNECT[rip]
	je	.L1
	mov	rdi, rbp
	call	netif_running@PLT
	test	rax, rax
	jne	.L10
.L4:
	mov	rdi, r12
	call	pci_disable_device@PLT
	mov	eax, DWORD PTR PCI_ERS_RESULT_NEED_RESET[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, r13
	call	atl1e_down@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	atl1e_io_error_detected, .-atl1e_io_error_detected
	.comm	pci_channel_io_perm_failure,8,8
	.comm	PCI_ERS_RESULT_NEED_RESET,4,4
	.comm	PCI_ERS_RESULT_DISCONNECT,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_atl1e_main.c_atl1e_io_error_detected.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atl1e_io_error_detected, %function
atl1e_io_error_detected:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r7, r0
	bl	pci_get_drvdata
	mov	r4, r0
	bl	netdev_priv
	mov	r6, r0
	mov	r0, r4
	bl	netif_device_detach
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L10
	mov	r0, r4
	bl	netif_running
	cmp	r0, #0
	bne	.L11
.L4:
	mov	r0, r7
	bl	pci_disable_device
	ldr	r3, .L12+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r0, r6
	bl	atl1e_down
	b	.L4
.L10:
	ldr	r3, .L12+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	pci_channel_io_perm_failure
	.word	PCI_ERS_RESULT_NEED_RESET
	.word	PCI_ERS_RESULT_DISCONNECT
	.size	atl1e_io_error_detected, .-atl1e_io_error_detected
	.comm	pci_channel_io_perm_failure,4,4
	.comm	PCI_ERS_RESULT_NEED_RESET,4,4
	.comm	PCI_ERS_RESULT_DISCONNECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
