	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_sta_cur_vht_bw       ## -- Begin function ieee80211_sta_cur_vht_bw
	.p2align	4, 0x90
_ieee80211_sta_cur_vht_bw:              ## @ieee80211_sta_cur_vht_bw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$0, 12(%rdi)
	je	LBB0_4
## %bb.1:
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_6
## %bb.2:
	movl	8(%rbx), %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jmp	LBB0_10
LBB0_6:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
LBB0_4:
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	jne	LBB0_8
## %bb.5:
	movq	_IEEE80211_STA_RX_BW_20@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	movq	_IEEE80211_STA_RX_BW_40@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
LBB0_10:
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
LBB0_11:
	movq	_IEEE80211_STA_RX_BW_160@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_IEEE80211_STA_RX_BW_80@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %ecx
	movl	(%rbx), %eax
	cmpl	%eax, %ecx
	cmovbl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_STA_RX_BW_40,4,2     ## @IEEE80211_STA_RX_BW_40
	.comm	_IEEE80211_STA_RX_BW_20,4,2     ## @IEEE80211_STA_RX_BW_20
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ
	.comm	_IEEE80211_STA_RX_BW_160,4,2    ## @IEEE80211_STA_RX_BW_160
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
	.comm	_IEEE80211_STA_RX_BW_80,4,2     ## @IEEE80211_STA_RX_BW_80
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_sta_cur_vht_bw       ; -- Begin function ieee80211_sta_cur_vht_bw
	.p2align	2
_ieee80211_sta_cur_vht_bw:              ; @ieee80211_sta_cur_vht_bw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	sub	w9, w8, #128
	cmp	w9, #5
	b.hi	LBB0_4
; %bb.2:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh2:
	adrp	x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
	b	LBB0_8
LBB0_4:
	mov	w0, #1
	bl	_WARN_ON_ONCE
LBB0_5:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh7:
	adrp	x10, _IEEE80211_STA_RX_BW_40@GOTPAGE
Lloh8:
	ldr	x10, [x10, _IEEE80211_STA_RX_BW_40@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x11, _IEEE80211_STA_RX_BW_20@GOTPAGE
Lloh11:
	ldr	x11, [x11, _IEEE80211_STA_RX_BW_20@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_6:
	ldr	w8, [x8]
	ldr	w9, [x19]
	cmp	w8, w9
	csel	w0, w8, w9, lo
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh15:
	adrp	x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_9
LBB0_8:
Lloh18:
	adrp	x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
LBB0_9:
Lloh21:
	adrp	x8, _IEEE80211_STA_RX_BW_160@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IEEE80211_STA_RX_BW_160@GOTPAGEOFF]
	b	LBB0_6
LBB0_10:
Lloh23:
	adrp	x8, _IEEE80211_STA_RX_BW_80@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_STA_RX_BW_80@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_STA_RX_BW_40,4,2     ; @IEEE80211_STA_RX_BW_40
	.comm	_IEEE80211_STA_RX_BW_20,4,2     ; @IEEE80211_STA_RX_BW_20
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ
	.comm	_IEEE80211_STA_RX_BW_160,4,2    ; @IEEE80211_STA_RX_BW_160
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
	.comm	_IEEE80211_STA_RX_BW_80,4,2     ; @IEEE80211_STA_RX_BW_80
.subsections_via_symbols
