	.file	"extr_nl80211.c_nl80211_parse_mon_options.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nl80211_parse_mon_options, @function
nl80211_parse_mon_options:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR [rdx]
	mov	rdx, QWORD PTR NL80211_ATTR_MNTR_FLAGS[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	test	rdi, rdi
	je	.L13
	cmp	DWORD PTR NL80211_IFTYPE_MONITOR[rip], esi
	je	.L3
.L18:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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
.L13:
	.cfi_restore_state
	xor	eax, eax
.L2:
	mov	edx, DWORD PTR [r12]
	test	DWORD PTR MONITOR_FLAG_ACTIVE[rip], edx
	je	.L5
	mov	edx, DWORD PTR 0[r13]
	test	DWORD PTR NL80211_FEATURE_ACTIVE_MONITOR[rip], edx
	je	.L19
.L5:
	mov	rdx, QWORD PTR [rbx]
	mov	rcx, QWORD PTR NL80211_ATTR_MU_MIMO_GROUP_DATA[rip]
	cmp	QWORD PTR [rdx+rcx*8], 0
	je	.L6
	cmp	DWORD PTR NL80211_IFTYPE_MONITOR[rip], ebp
	jne	.L18
	mov	esi, DWORD PTR NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER[rip]
	mov	rdi, r13
	call	wiphy_ext_feature_isset@PLT
	test	eax, eax
	jne	.L8
.L19:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR NL80211_ATTR_MU_MIMO_GROUP_DATA[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	nla_data@PLT
	xor	edi, edi
	mov	r15d, DWORD PTR [rax]
	mov	r14, rax
	call	BIT@PLT
	test	r15d, eax
	jne	.L18
	movsx	rax, DWORD PTR VHT_MUMIMO_GROUPS_DATA_LEN[rip]
	mov	edi, 7
	mov	r15d, DWORD PTR -4[r14+rax*4]
	call	BIT@PLT
	test	r15d, eax
	jne	.L18
	mov	QWORD PTR 8[r12], r14
	mov	rdx, QWORD PTR [rbx]
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rcx, QWORD PTR NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR[rip]
	cmp	QWORD PTR [rdx+rcx*8], 0
	je	.L1
	cmp	DWORD PTR NL80211_IFTYPE_MONITOR[rip], ebp
	jne	.L18
	mov	esi, DWORD PTR NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER[rip]
	mov	rdi, r13
	call	wiphy_ext_feature_isset@PLT
	test	eax, eax
	je	.L19
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	nla_data@PLT
	mov	QWORD PTR 16[r12], rax
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rcx
	call	parse_monitor_flags@PLT
	test	eax, eax
	jne	.L1
	mov	eax, 1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	nl80211_parse_mon_options, .-nl80211_parse_mon_options
	.comm	VHT_MUMIMO_GROUPS_DATA_LEN,4,4
	.comm	NL80211_IFTYPE_MONITOR,4,4
	.comm	NL80211_FEATURE_ACTIVE_MONITOR,4,4
	.comm	NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER,4,4
	.comm	NL80211_ATTR_MU_MIMO_GROUP_DATA,8,8
	.comm	NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR,8,8
	.comm	NL80211_ATTR_MNTR_FLAGS,8,8
	.comm	MONITOR_FLAG_ACTIVE,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,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_nl80211.c_nl80211_parse_mon_options.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nl80211_parse_mon_options, %function
nl80211_parse_mon_options:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L30
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	ip, [ip]
	mov	r4, r2
	ldr	r2, [r2]
	mov	r7, r0
	ldr	r0, [r2, ip, lsl #2]
	mov	r6, r1
	cmp	r0, #0
	mov	r5, r3
	beq	.L2
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, r1
	beq	.L3
.L28:
	ldr	r3, .L30+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r1, r5
	bl	parse_monitor_flags
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, #1
.L2:
	ldr	r3, .L30+12
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L5
	ldr	r3, .L30+16
	ldr	r2, [r7]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L27
.L5:
	ldr	r8, .L30+20
	ldr	r3, [r4]
	ldr	r2, [r8]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #0
	beq	.L6
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, r6
	bne	.L28
	ldr	r3, .L30+24
	mov	r0, r7
	ldr	r1, [r3]
	bl	wiphy_ext_feature_isset
	cmp	r0, #0
	bne	.L8
.L27:
	ldr	r3, .L30+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r2, [r8]
	ldr	r3, [r4]
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_data
	mov	r8, r0
	mov	r0, #0
	ldr	r9, [r8]
	bl	BIT
	tst	r9, r0
	bne	.L28
	ldr	r3, .L30+32
	mov	r0, #7
	ldr	r3, [r3]
	sub	r3, r3, #-1073741823
	ldr	r9, [r8, r3, lsl #2]
	bl	BIT
	tst	r9, r0
	bne	.L28
	mov	r0, #1
	ldr	r3, [r4]
	str	r8, [r5, #4]
.L6:
	ldr	r8, .L30+36
	ldr	r2, [r8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, r6
	bne	.L28
	ldr	r3, .L30+24
	mov	r0, r7
	ldr	r1, [r3]
	bl	wiphy_ext_feature_isset
	cmp	r0, #0
	beq	.L27
	ldr	r3, [r4]
	ldr	r2, [r8]
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_data
	mov	r3, r0
	mov	r0, #1
	str	r3, [r5, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L31:
	.align	2
.L30:
	.word	NL80211_ATTR_MNTR_FLAGS
	.word	NL80211_IFTYPE_MONITOR
	.word	EINVAL
	.word	MONITOR_FLAG_ACTIVE
	.word	NL80211_FEATURE_ACTIVE_MONITOR
	.word	NL80211_ATTR_MU_MIMO_GROUP_DATA
	.word	NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER
	.word	EOPNOTSUPP
	.word	VHT_MUMIMO_GROUPS_DATA_LEN
	.word	NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR
	.size	nl80211_parse_mon_options, .-nl80211_parse_mon_options
	.comm	VHT_MUMIMO_GROUPS_DATA_LEN,4,4
	.comm	NL80211_IFTYPE_MONITOR,4,4
	.comm	NL80211_FEATURE_ACTIVE_MONITOR,4,4
	.comm	NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER,4,4
	.comm	NL80211_ATTR_MU_MIMO_GROUP_DATA,4,4
	.comm	NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR,4,4
	.comm	NL80211_ATTR_MNTR_FLAGS,4,4
	.comm	MONITOR_FLAG_ACTIVE,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
