	.file	"extr_rtl_wx.c__rtl92e_wx_get_scan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_rtl92e_wx_get_scan, @function
_rtl92e_wx_get_scan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	call	rtllib_priv@PLT
	mov	r15d, DWORD PTR ENETDOWN[rip]
	mov	edx, DWORD PTR 16[rax]
	neg	r15d
	test	edx, edx
	je	.L1
	xor	r15d, r15d
	cmp	QWORD PTR 8[rax], 0
	mov	rbp, rax
	je	.L7
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r15d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rax
	call	mutex_lock@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	call	rtllib_wx_get_scan@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	mutex_unlock@PLT
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	eax, r15d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_rtl92e_wx_get_scan, .-_rtl92e_wx_get_scan
	.comm	ENETDOWN,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_rtl_wx.c__rtl92e_wx_get_scan.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_rtl92e_wx_get_scan, %function
_rtl92e_wx_get_scan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r3
	mov	r7, r1
	mov	r5, r2
	bl	rtllib_priv
	ldr	r3, [r0, #12]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [r0, #8]
	mov	r4, r0
	cmp	r3, #0
	movne	r4, #0
	beq	.L8
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	bl	mutex_lock
	mov	r3, r6
	mov	r2, r5
	mov	r1, r7
	ldr	r0, [r4, #4]
	bl	rtllib_wx_get_scan
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	ENETDOWN
	.size	_rtl92e_wx_get_scan, .-_rtl92e_wx_get_scan
	.comm	ENETDOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
