	.file	"extr_atl1.c_atl1_down.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	atl1_down, @function
atl1_down:
.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
	lea	rdi, 44[rdi]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR 4[rdi]
	call	napi_disable@PLT
	mov	rdi, r12
	call	netif_stop_queue@PLT
	lea	rdi, 40[rbp]
	call	del_timer_sync@PLT
	mov	DWORD PTR 0[rbp], 0
	mov	rdi, rbp
	call	atlx_irq_disable@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rsi, r12
	mov	edi, DWORD PTR [rax]
	call	free_irq@PLT
	mov	rdi, QWORD PTR 32[rbp]
	call	pci_disable_msi@PLT
	lea	rdi, 24[rbp]
	call	atl1_reset_hw@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, r12
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR SPEED_0[rip]
	mov	DWORD PTR 4[rbp], -1
	mov	DWORD PTR 8[rbp], eax
	call	netif_carrier_off@PLT
	mov	rdi, rbp
	call	atl1_clean_tx_ring@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	atl1_clean_rx_ring@PLT
	.cfi_endproc
.LFE0:
	.size	atl1_down, .-atl1_down
	.comm	SPEED_0,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_atl1.c_atl1_down.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atl1_down, %function
atl1_down:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r6, #0
	ldr	r5, [r0, #32]
	add	r0, r0, #28
	bl	napi_disable
	mov	r0, r5
	bl	netif_stop_queue
	add	r0, r4, #24
	bl	del_timer_sync
	mov	r0, r4
	str	r6, [r4]
	bl	atlx_irq_disable
	ldr	r3, [r4, #20]
	mov	r1, r5
	ldr	r0, [r3]
	bl	free_irq
	ldr	r0, [r4, #20]
	bl	pci_disable_msi
	add	r0, r4, #16
	bl	atl1_reset_hw
	mvn	r3, #0
	ldr	r2, .L4
	ldr	r1, [r4, #12]
	ldr	r2, [r2]
	mov	r0, r5
	str	r6, [r1]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	bl	netif_carrier_off
	mov	r0, r4
	bl	atl1_clean_tx_ring
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	atl1_clean_rx_ring
.L5:
	.align	2
.L4:
	.word	SPEED_0
	.size	atl1_down, .-atl1_down
	.comm	SPEED_0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
