	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_get_phymode_vht
_ath10k_mac_get_phymode_vht:            ## @ath10k_mac_get_phymode_vht
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_IEEE80211_STA_RX_BW_160@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	8(%rsi), %ecx
	movq	_MODE_11AC_VHT160@GOTPCREL(%rip), %rdx
	movq	%rdx, %rax
	cmpl	$128, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_MODE_11AC_VHT80_80@GOTPCREL(%rip), %rax
LBB0_3:
	cmpl	$129, %ecx
	cmoveq	%rdx, %rax
	jmp	LBB0_11
LBB0_4:
	movq	_IEEE80211_STA_RX_BW_80@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_MODE_11AC_VHT80@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_IEEE80211_STA_RX_BW_40@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_MODE_11AC_VHT40@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_IEEE80211_STA_RX_BW_20@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.10:
	movq	_MODE_11AC_VHT20@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_MODE_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STA_RX_BW_160,8,3    ## @IEEE80211_STA_RX_BW_160
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK
	.comm	_MODE_11AC_VHT160,4,2           ## @MODE_11AC_VHT160
	.comm	_MODE_11AC_VHT80_80,4,2         ## @MODE_11AC_VHT80_80
	.comm	_IEEE80211_STA_RX_BW_80,8,3     ## @IEEE80211_STA_RX_BW_80
	.comm	_MODE_11AC_VHT80,4,2            ## @MODE_11AC_VHT80
	.comm	_IEEE80211_STA_RX_BW_40,8,3     ## @IEEE80211_STA_RX_BW_40
	.comm	_MODE_11AC_VHT40,4,2            ## @MODE_11AC_VHT40
	.comm	_IEEE80211_STA_RX_BW_20,8,3     ## @IEEE80211_STA_RX_BW_20
	.comm	_MODE_11AC_VHT20,4,2            ## @MODE_11AC_VHT20
	.comm	_MODE_UNKNOWN,4,2               ## @MODE_UNKNOWN
	.no_dead_strip	_ath10k_mac_get_phymode_vht
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_get_phymode_vht
_ath10k_mac_get_phymode_vht:            ; @ath10k_mac_get_phymode_vht
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IEEE80211_STA_RX_BW_160@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_160@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x1, #8]
Lloh3:
	adrp	x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _MODE_11AC_VHT160@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MODE_11AC_VHT160@GOTPAGEOFF]
Lloh8:
	adrp	x10, _MODE_11AC_VHT80_80@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MODE_11AC_VHT80_80@GOTPAGEOFF]
	cmp	w8, #128
	csel	x10, x10, x9, eq
	cmp	w8, #129
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh10:
	adrp	x9, _IEEE80211_STA_RX_BW_80@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_80@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _MODE_11AC_VHT80@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MODE_11AC_VHT80@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh16:
	adrp	x9, _IEEE80211_STA_RX_BW_40@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_40@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh19:
	adrp	x8, _MODE_11AC_VHT40@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MODE_11AC_VHT40@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh22:
	adrp	x9, _IEEE80211_STA_RX_BW_20@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_20@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x10, _MODE_UNKNOWN@GOTPAGE
Lloh26:
	ldr	x10, [x10, _MODE_UNKNOWN@GOTPAGEOFF]
Lloh27:
	adrp	x11, _MODE_11AC_VHT20@GOTPAGE
Lloh28:
	ldr	x11, [x11, _MODE_11AC_VHT20@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STA_RX_BW_160,8,3    ; @IEEE80211_STA_RX_BW_160
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK
	.comm	_MODE_11AC_VHT160,4,2           ; @MODE_11AC_VHT160
	.comm	_MODE_11AC_VHT80_80,4,2         ; @MODE_11AC_VHT80_80
	.comm	_IEEE80211_STA_RX_BW_80,8,3     ; @IEEE80211_STA_RX_BW_80
	.comm	_MODE_11AC_VHT80,4,2            ; @MODE_11AC_VHT80
	.comm	_IEEE80211_STA_RX_BW_40,8,3     ; @IEEE80211_STA_RX_BW_40
	.comm	_MODE_11AC_VHT40,4,2            ; @MODE_11AC_VHT40
	.comm	_IEEE80211_STA_RX_BW_20,8,3     ; @IEEE80211_STA_RX_BW_20
	.comm	_MODE_11AC_VHT20,4,2            ; @MODE_11AC_VHT20
	.comm	_MODE_UNKNOWN,4,2               ; @MODE_UNKNOWN
	.no_dead_strip	_ath10k_mac_get_phymode_vht
.subsections_via_symbols
