	.file	"extr_vht.c_ieee80211_sta_cap_chan_bw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ieee80211_sta_cap_chan_bw
	.type	ieee80211_sta_cap_chan_bw, @function
ieee80211_sta_cap_chan_bw:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR 12[rdi]
	test	edx, edx
	jne	.L2
	mov	eax, DWORD PTR 4[rdi]
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR NL80211_CHAN_WIDTH_20_NOHT[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, DWORD PTR 8[rdi]
	and	edx, DWORD PTR IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK[rip]
	cmp	DWORD PTR IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ[rip], edx
	je	.L9
	cmp	DWORD PTR IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ[rip], edx
	mov	eax, DWORD PTR NL80211_CHAN_WIDTH_80[rip]
	je	.L10
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR IEEE80211_HT_CAP_SUP_WIDTH_20_40[rip], eax
	mov	eax, DWORD PTR NL80211_CHAN_WIDTH_40[rip]
	cmove	eax, DWORD PTR NL80211_CHAN_WIDTH_20[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR NL80211_CHAN_WIDTH_160[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR NL80211_CHAN_WIDTH_80P80[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	ieee80211_sta_cap_chan_bw, .-ieee80211_sta_cap_chan_bw
	.comm	NL80211_CHAN_WIDTH_80P80,4,4
	.comm	NL80211_CHAN_WIDTH_80,4,4
	.comm	NL80211_CHAN_WIDTH_40,4,4
	.comm	NL80211_CHAN_WIDTH_20_NOHT,4,4
	.comm	NL80211_CHAN_WIDTH_20,4,4
	.comm	NL80211_CHAN_WIDTH_160,4,4
	.comm	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK,4,4
	.comm	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,4
	.comm	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,4
	.comm	IEEE80211_HT_CAP_SUP_WIDTH_20_40,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_vht.c_ieee80211_sta_cap_chan_bw.c"
	.text
	.align	2
	.global	ieee80211_sta_cap_chan_bw
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_sta_cap_chan_bw, %function
ieee80211_sta_cap_chan_bw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r0, #12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L10
	ldr	r0, [r3]
	bx	lr
.L2:
	ldr	r1, .L10+4
	ldr	r2, .L10+8
	ldr	r3, [r0, #8]
	ldr	r1, [r1]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r2, r3
	beq	.L9
	ldr	r2, .L10+12
	ldr	r2, [r2]
	cmp	r2, r3
	ldreq	r3, .L10+16
	ldrne	r3, .L10+20
	ldr	r0, [r3]
	bx	lr
.L3:
	ldr	r3, .L10+24
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L10+28
	ldreq	r3, .L10+32
	ldr	r0, [r3]
	bx	lr
.L9:
	ldr	r3, .L10+36
	ldr	r0, [r3]
	bx	lr
.L11:
	.align	2
.L10:
	.word	NL80211_CHAN_WIDTH_20_NOHT
	.word	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK
	.word	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ
	.word	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
	.word	NL80211_CHAN_WIDTH_80P80
	.word	NL80211_CHAN_WIDTH_80
	.word	IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.word	NL80211_CHAN_WIDTH_40
	.word	NL80211_CHAN_WIDTH_20
	.word	NL80211_CHAN_WIDTH_160
	.size	ieee80211_sta_cap_chan_bw, .-ieee80211_sta_cap_chan_bw
	.comm	NL80211_CHAN_WIDTH_80P80,4,4
	.comm	NL80211_CHAN_WIDTH_80,4,4
	.comm	NL80211_CHAN_WIDTH_40,4,4
	.comm	NL80211_CHAN_WIDTH_20_NOHT,4,4
	.comm	NL80211_CHAN_WIDTH_20,4,4
	.comm	NL80211_CHAN_WIDTH_160,4,4
	.comm	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK,4,4
	.comm	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,4
	.comm	IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,4
	.comm	IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
