	.file	"extr_if_bfe.c_bfe_resume.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfe_resume, @function
bfe_resume:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	device_get_softc@PLT
	mov	r12, QWORD PTR [rax]
	mov	rbp, rax
	mov	rdi, rax
	call	BFE_LOCK@PLT
	mov	rdi, rbp
	call	bfe_chip_reset@PLT
	mov	eax, DWORD PTR [r12]
	test	DWORD PTR IFF_UP[rip], eax
	jne	.L10
.L3:
	mov	rdi, rbp
	call	BFE_UNLOCK@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	bfe_init_locked@PLT
	mov	eax, DWORD PTR 4[r12]
	test	DWORD PTR IFF_DRV_RUNNING[rip], eax
	je	.L3
	lea	rdi, 8[r12]
	call	IFQ_DRV_IS_EMPTY@PLT
	test	eax, eax
	jne	.L3
	mov	rdi, r12
	call	bfe_start_locked@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	bfe_resume, .-bfe_resume
	.comm	IFF_UP,4,4
	.comm	IFF_DRV_RUNNING,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_if_bfe.c_bfe_resume.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfe_resume, %function
bfe_resume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	device_get_softc
	mov	r4, r0
	ldr	r5, [r0]
	bl	BFE_LOCK
	mov	r0, r4
	bl	bfe_chip_reset
	ldr	r3, .L11
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L10
.L3:
	mov	r0, r4
	bl	BFE_UNLOCK
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	bl	bfe_init_locked
	ldr	r3, .L11+4
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L3
	add	r0, r5, #8
	bl	IFQ_DRV_IS_EMPTY
	cmp	r0, #0
	bne	.L3
	mov	r0, r5
	bl	bfe_start_locked
	b	.L3
.L12:
	.align	2
.L11:
	.word	IFF_UP
	.word	IFF_DRV_RUNNING
	.size	bfe_resume, .-bfe_resume
	.comm	IFF_UP,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
