	.file	"extr_if_nf10bmac.c_nf10bmac_init_locked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nf10bmac_init_locked, @function
nf10bmac_init_locked:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	NF10BMAC_LOCK_ASSERT@PLT
	mov	rbp, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR IFF_DRV_RUNNING[rip], eax
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	call	IF_LLADDR@PLT
	mov	edx, DWORD PTR ETHER_ADDR_LEN[rip]
	lea	rsi, 20[rbx]
	mov	rdi, rax
	call	bcopy@PLT
	mov	rdi, rbx
	call	nf10bmac_stop_locked@PLT
	mov	rdi, rbx
	call	nf10bmac_reset@PLT
	mov	rdi, rbx
	call	nf10bmac_eat_packet_munch_munch@PLT
	mov	rdi, rbx
	call	NF10BMAC_RX_INTR_ENABLE@PLT
	mov	edx, DWORD PTR IFF_DRV_OACTIVE[rip]
	mov	eax, DWORD PTR 0[rbp]
	or	eax, DWORD PTR IFF_DRV_RUNNING[rip]
	mov	rdi, QWORD PTR 8[rbx]
	not	edx
	mov	esi, DWORD PTR LINK_STATE_UP[rip]
	and	eax, edx
	mov	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR NF10BMAC_FLAGS_LINK[rip]
	mov	DWORD PTR 16[rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	if_link_state_change@PLT
	.cfi_endproc
.LFE0:
	.size	nf10bmac_init_locked, .-nf10bmac_init_locked
	.comm	nf10bmac_tick,4,4
	.comm	hz,4,4
	.comm	NF10BMAC_FLAGS_LINK,4,4
	.comm	LINK_STATE_UP,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCAP_POLLING,4,4
	.comm	ETHER_ADDR_LEN,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_nf10bmac.c_nf10bmac_init_locked.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nf10bmac_init_locked, %function
nf10bmac_init_locked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, .L5
	bl	NF10BMAC_LOCK_ASSERT
	ldr	r5, [r4, #4]
	ldr	r3, [r6]
	ldr	r2, [r5]
	tst	r2, r3
	popne	{r4, r5, r6, pc}
	mov	r0, r5
	bl	IF_LLADDR
	ldr	r3, .L5+4
	add	r1, r4, #12
	ldr	r2, [r3]
	bl	bcopy
	mov	r0, r4
	bl	nf10bmac_stop_locked
	mov	r0, r4
	bl	nf10bmac_reset
	mov	r0, r4
	bl	nf10bmac_eat_packet_munch_munch
	mov	r0, r4
	bl	NF10BMAC_RX_INTR_ENABLE
	ldr	r0, .L5+8
	ldr	r1, [r6]
	ldr	r3, [r5]
	ldr	r2, .L5+12
	ldr	r0, [r0]
	orr	r3, r3, r1
	ldr	r1, [r2]
	ldr	r2, .L5+16
	bic	r3, r3, r0
	str	r3, [r5]
	ldr	r0, [r4, #4]
	str	r1, [r4, #8]
	ldr	r1, [r2]
	pop	{r4, r5, r6, lr}
	b	if_link_state_change
.L6:
	.align	2
.L5:
	.word	IFF_DRV_RUNNING
	.word	ETHER_ADDR_LEN
	.word	IFF_DRV_OACTIVE
	.word	NF10BMAC_FLAGS_LINK
	.word	LINK_STATE_UP
	.size	nf10bmac_init_locked, .-nf10bmac_init_locked
	.comm	nf10bmac_tick,4,4
	.comm	hz,4,4
	.comm	NF10BMAC_FLAGS_LINK,4,4
	.comm	LINK_STATE_UP,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCAP_POLLING,4,4
	.comm	ETHER_ADDR_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
