	.file	"extr_cfg.c_ieee80211_scan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ieee80211_scan, @function
ieee80211_scan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR 4[rsi]
	call	IEEE80211_WDEV_TO_SUB_IF@PLT
	lea	rdi, 16[rax]
	mov	rbp, rax
	call	ieee80211_vif_type_p2p@PLT
	add	eax, -128
	cmp	eax, 7
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L3-.L4
	.long	.L6-.L4
	.long	.L3-.L4
	.long	.L3-.L4
	.long	.L2-.L4
	.long	.L3-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jne	.L3
.L5:
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR NL80211_FEATURE_AP_SCAN[rip], eax
	je	.L2
	mov	eax, DWORD PTR [r12]
	test	DWORD PTR NL80211_SCAN_FLAG_AP[rip], eax
	je	.L2
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ieee80211_request_scan@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	ieee80211_scan, .-ieee80211_scan
	.comm	NL80211_SCAN_FLAG_AP,4,4
	.comm	NL80211_FEATURE_AP_SCAN,4,4
	.comm	EOPNOTSUPP,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_cfg.c_ieee80211_scan.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_scan, %function
ieee80211_scan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r0, [r1, #4]
	mov	r5, r1
	bl	IEEE80211_WDEV_TO_SUB_IF
	mov	r4, r0
	add	r0, r0, #8
	bl	ieee80211_vif_type_p2p
	sub	r3, r0, #128
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L2
	.word	.L3
	.word	.L5
	.word	.L3
.L6:
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
.L5:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L17
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L2
	ldr	r3, .L17+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L2
.L3:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	ieee80211_request_scan
.L2:
	ldr	r3, .L17+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L18:
	.align	2
.L17:
	.word	NL80211_FEATURE_AP_SCAN
	.word	NL80211_SCAN_FLAG_AP
	.word	EOPNOTSUPP
	.size	ieee80211_scan, .-ieee80211_scan
	.comm	NL80211_SCAN_FLAG_AP,4,4
	.comm	NL80211_FEATURE_AP_SCAN,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
