	.file	"extr_hostap_ioctl.c_prism2_ioctl_scan_req.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	prism2_ioctl_scan_req, @function
prism2_ioctl_scan_req:
.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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, rdi
	cmp	rax, QWORD PTR IW_MODE_INFRA[rip]
	je	.L2
	cmp	rax, QWORD PTR IW_MODE_ADHOC[rip]
	je	.L2
.L4:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, QWORD PTR 8[rbx]
	mov	edx, 1
	mov	esi, 3
	mov	edi, 1
	call	PRISM2_FW_VER@PLT
	cmp	r12, rax
	jl	.L4
	mov	eax, DWORD PTR 20[rbx]
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR ENETDOWN[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, DWORD PTR 0[rbp]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	prism2_request_hostscan@PLT
	.cfi_endproc
.LFE0:
	.size	prism2_ioctl_scan_req, .-prism2_ioctl_scan_req
	.comm	IW_MODE_INFRA,8,8
	.comm	IW_MODE_ADHOC,8,8
	.comm	EOPNOTSUPP,4,4
	.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_hostap_ioctl.c_prism2_ioctl_scan_req.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prism2_ioctl_scan_req, %function
prism2_ioctl_scan_req:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L8
	ldr	r3, [r0]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	cmp	r3, r2
	mov	r4, r0
	mov	r5, r1
	beq	.L2
	ldr	r2, .L8+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
.L4:
	ldr	r3, .L8+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	mov	r2, #1
	mov	r1, #3
	mov	r0, r2
	ldr	r6, [r4, #4]
	bl	PRISM2_FW_VER
	cmp	r6, r0
	blt	.L4
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L8+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r0, [r4, #8]
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	pop	{r4, r5, r6, lr}
	b	prism2_request_hostscan
.L9:
	.align	2
.L8:
	.word	IW_MODE_INFRA
	.word	IW_MODE_ADHOC
	.word	EOPNOTSUPP
	.word	ENETDOWN
	.size	prism2_ioctl_scan_req, .-prism2_ioctl_scan_req
	.comm	IW_MODE_INFRA,4,4
	.comm	IW_MODE_ADHOC,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENETDOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
