	.file	"extr_virtio_net.c_virtnet_freeze_down.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	virtnet_freeze_down, @function
virtnet_freeze_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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR [rdi]
	lea	rdi, 32[rbp]
	call	flush_work@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	netif_tx_lock_bh@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	netif_device_detach@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	netif_tx_unlock_bh@PLT
	lea	rdi, 28[rbp]
	call	cancel_delayed_work_sync@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	netif_running@PLT
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L1
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR 16[rbp]
	lea	rbx, 0[0+r12*4]
	add	r12, 1
	add	rdi, rbx
	call	napi_disable@PLT
	add	rbx, QWORD PTR 8[rbp]
	mov	rdi, rbx
	call	virtnet_napi_tx_disable@PLT
	cmp	DWORD PTR 0[rbp], r12d
	jg	.L3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	virtnet_freeze_down, .-virtnet_freeze_down
	.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_virtio_net.c_virtnet_freeze_down.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	virtnet_freeze_down, %function
virtnet_freeze_down:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0]
	add	r0, r5, #20
	bl	flush_work
	ldr	r0, [r5, #12]
	bl	netif_tx_lock_bh
	ldr	r0, [r5, #12]
	bl	netif_device_detach
	ldr	r0, [r5, #12]
	bl	netif_tx_unlock_bh
	add	r0, r5, #16
	bl	cancel_delayed_work_sync
	ldr	r0, [r5, #12]
	bl	netif_running
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, [r5]
	cmp	r3, #0
	pople	{r4, r5, r6, pc}
	mov	r4, #0
.L3:
	ldr	r0, [r5, #8]
	lsl	r6, r4, #2
	add	r0, r0, r4, lsl #2
	bl	napi_disable
	ldr	r0, [r5, #4]
	add	r4, r4, #1
	add	r0, r0, r6
	bl	virtnet_napi_tx_disable
	ldr	r3, [r5]
	cmp	r3, r4
	bgt	.L3
	pop	{r4, r5, r6, pc}
	.size	virtnet_freeze_down, .-virtnet_freeze_down
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
