	.file	"extr_main.c_b43_op_sw_scan_complete_notifier.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b43_op_sw_scan_complete_notifier, @function
b43_op_sw_scan_complete_notifier:
.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	hw_to_b43_wl@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	mutex_lock@PLT
	mov	r12, QWORD PTR 8[rbp]
	test	r12, r12
	je	.L3
	mov	rdi, r12
	call	b43_status@PLT
	cmp	rax, QWORD PTR B43_STAT_INITIALIZED[rip]
	jge	.L7
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r12
	call	b43_hf_read@PLT
	mov	esi, DWORD PTR B43_HF_SKCFPUP[rip]
	mov	rdi, r12
	not	esi
	and	esi, eax
	call	b43_hf_write@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	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	b43_op_sw_scan_complete_notifier, .-b43_op_sw_scan_complete_notifier
	.comm	B43_STAT_INITIALIZED,8,8
	.comm	B43_HF_SKCFPUP,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_main.c_b43_op_sw_scan_complete_notifier.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_op_sw_scan_complete_notifier, %function
b43_op_sw_scan_complete_notifier:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	hw_to_b43_wl
	mov	r4, r0
	bl	mutex_lock
	ldr	r5, [r4, #4]
	cmp	r5, #0
	beq	.L3
	mov	r0, r5
	bl	b43_status
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r0, r3
	bge	.L7
.L3:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mutex_unlock
.L7:
	mov	r0, r5
	bl	b43_hf_read
	mov	r3, r0
	ldr	r2, .L8+4
	mov	r0, r5
	ldr	r1, [r2]
	bic	r1, r3, r1
	bl	b43_hf_write
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mutex_unlock
.L9:
	.align	2
.L8:
	.word	B43_STAT_INITIALIZED
	.word	B43_HF_SKCFPUP
	.size	b43_op_sw_scan_complete_notifier, .-b43_op_sw_scan_complete_notifier
	.comm	B43_STAT_INITIALIZED,4,4
	.comm	B43_HF_SKCFPUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
