	.file	"extr_driver_nl80211_capa.c_nl80211_reg_rule_vht.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nl80211_reg_rule_vht, @function
nl80211_reg_rule_vht:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR NL80211_ATTR_FREQ_RANGE_START[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rdi+rax*8]
	test	rdi, rdi
	je	.L1
	mov	rax, QWORD PTR NL80211_ATTR_FREQ_RANGE_END[rip]
	cmp	QWORD PTR [rbx+rax*8], 0
	je	.L1
	mov	rax, QWORD PTR NL80211_ATTR_FREQ_RANGE_MAX_BW[rip]
	cmp	QWORD PTR [rbx+rax*8], 0
	je	.L1
	mov	rbp, rsi
	call	nla_get_u32@PLT
	mov	r13d, eax
	mov	rax, QWORD PTR NL80211_ATTR_FREQ_RANGE_END[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	nla_get_u32@PLT
	mov	r12d, eax
	mov	rax, QWORD PTR NL80211_ATTR_FREQ_RANGE_MAX_BW[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	nla_get_u32@PLT
	cmp	eax, 79999
	jle	.L1
	mov	rdx, QWORD PTR 0[rbp]
	cmp	QWORD PTR [rdx], 0
	je	.L1
	movsx	r14, r13d
	sar	r13d, 31
	xor	ebx, ebx
	imul	r14, r14, 274877907
	sar	r14, 38
	sub	r14d, r13d
	movsx	r13, r12d
	sar	r12d, 31
	imul	r13, r13, 274877907
	sar	r13, 38
	sub	r13d, r12d
	movsx	r12, eax
	sar	eax, 31
	imul	r12, r12, 274877907
	sar	r12, 38
	sub	r12d, eax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rbp]
	lea	rdi, [rax+rbx*8]
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET[rip], eax
	je	.L3
	mov	eax, DWORD PTR 4[rdi]
	test	eax, eax
	je	.L3
	mov	edx, r13d
	mov	ecx, r12d
	mov	esi, r14d
	call	nl80211_set_vht_mode@PLT
	mov	rdx, QWORD PTR 0[rbp]
.L3:
	add	rbx, 1
	cmp	QWORD PTR [rdx], rbx
	ja	.L4
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nl80211_reg_rule_vht, .-nl80211_reg_rule_vht
	.comm	NL80211_ATTR_FREQ_RANGE_START,8,8
	.comm	NL80211_ATTR_FREQ_RANGE_MAX_BW,8,8
	.comm	NL80211_ATTR_FREQ_RANGE_END,8,8
	.comm	HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,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_driver_nl80211_capa.c_nl80211_reg_rule_vht.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nl80211_reg_rule_vht, %function
nl80211_reg_rule_vht:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L26
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r0, [r0, r3, lsl #2]
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r6, .L26+4
	ldr	r3, [r6]
	ldr	r3, [r4, r3, lsl #2]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r10, .L26+8
	ldr	r3, [r10]
	ldr	r3, [r4, r3, lsl #2]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r5, r1
	bl	nla_get_u32
	ldr	r3, [r6]
	mov	r8, r0
	ldr	r0, [r4, r3, lsl #2]
	bl	nla_get_u32
	ldr	r3, [r10]
	mov	r7, r0
	ldr	r0, [r4, r3, lsl #2]
	bl	nla_get_u32
	ldr	r2, .L26+12
	cmp	r0, r2
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	ip, [r5]
	ldr	r2, [ip]
	cmp	r2, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r4, #0
	ldr	r6, .L26+16
	asr	r9, r8, #31
	smull	r2, r8, r6, r8
	smull	r1, r2, r6, r7
	smull	r1, r6, r0, r6
	asr	r7, r7, #31
	asr	r3, r0, #31
	rsb	r9, r9, r8, asr #6
	ldr	r8, .L26+20
	rsb	r7, r7, r2, asr #6
	rsb	r6, r3, r6, asr #6
.L4:
	ldr	r0, [r5, #4]
	ldr	r3, [r8]
	ldr	r2, [r0, r4, lsl #3]
	add	r0, r0, r4, lsl #3
	tst	r2, r3
	add	r4, r4, #1
	beq	.L3
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L3
	mov	r3, r6
	mov	r2, r7
	mov	r1, r9
	bl	nl80211_set_vht_mode
	ldr	ip, [r5]
.L3:
	ldr	r0, [ip]
	cmp	r0, r4
	bhi	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L27:
	.align	2
.L26:
	.word	NL80211_ATTR_FREQ_RANGE_START
	.word	NL80211_ATTR_FREQ_RANGE_END
	.word	NL80211_ATTR_FREQ_RANGE_MAX_BW
	.word	79999
	.word	274877907
	.word	HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.size	nl80211_reg_rule_vht, .-nl80211_reg_rule_vht
	.comm	NL80211_ATTR_FREQ_RANGE_START,4,4
	.comm	NL80211_ATTR_FREQ_RANGE_MAX_BW,4,4
	.comm	NL80211_ATTR_FREQ_RANGE_END,4,4
	.comm	HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
