	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl18xx_sta_get_ap_rate_mask
_wl18xx_sta_get_ap_rate_mask:           ## @wl18xx_sta_get_ap_rate_mask
	.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
	movl	8(%rsi), %ebx
	movq	(%rsi), %rax
	movq	_NL80211_CHAN_HT40MINUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_NL80211_CHAN_HT40PLUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.3:
	callq	_wl18xx_is_mimo_supported
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_DEBUG_ACX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wl1271_debug
	movq	_CONF_TX_MIMO_RATES@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	_DEBUG_ACX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wl1271_debug
	movq	_CONF_TX_RATE_USE_WIDE_CHAN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_CONF_TX_MIMO_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_CHAN_HT40MINUS,8,3     ## @NL80211_CHAN_HT40MINUS
	.comm	_NL80211_CHAN_HT40PLUS,8,3      ## @NL80211_CHAN_HT40PLUS
	.comm	_DEBUG_ACX,4,2                  ## @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"using wide channel rate mask"

	.comm	_CONF_TX_RATE_USE_WIDE_CHAN,4,2 ## @CONF_TX_RATE_USE_WIDE_CHAN
	.comm	_CONF_TX_MIMO_RATES,4,2         ## @CONF_TX_MIMO_RATES
L_.str.1:                               ## @.str.1
	.asciz	"using MIMO channel rate mask"

	.no_dead_strip	_wl18xx_sta_get_ap_rate_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl18xx_sta_get_ap_rate_mask
_wl18xx_sta_get_ap_rate_mask:           ; @wl18xx_sta_get_ap_rate_mask
	.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
	ldr	w19, [x1, #8]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _NL80211_CHAN_HT40MINUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_CHAN_HT40MINUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _NL80211_CHAN_HT40PLUS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NL80211_CHAN_HT40PLUS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DEBUG_ACX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEBUG_ACX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1271_debug
Lloh11:
	adrp	x8, _CONF_TX_RATE_USE_WIDE_CHAN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CONF_TX_RATE_USE_WIDE_CHAN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w8, w8, w19
Lloh14:
	adrp	x9, _CONF_TX_MIMO_RATES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CONF_TX_MIMO_RATES@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w19, w8, w9
	b	LBB0_4
LBB0_2:
	bl	_wl18xx_is_mimo_supported
	cbz	x0, LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _DEBUG_ACX@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DEBUG_ACX@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wl1271_debug
Lloh22:
	adrp	x8, _CONF_TX_MIMO_RATES@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CONF_TX_MIMO_RATES@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_CHAN_HT40MINUS,8,3     ; @NL80211_CHAN_HT40MINUS
	.comm	_NL80211_CHAN_HT40PLUS,8,3      ; @NL80211_CHAN_HT40PLUS
	.comm	_DEBUG_ACX,4,2                  ; @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"using wide channel rate mask"

	.comm	_CONF_TX_RATE_USE_WIDE_CHAN,4,2 ; @CONF_TX_RATE_USE_WIDE_CHAN
	.comm	_CONF_TX_MIMO_RATES,4,2         ; @CONF_TX_MIMO_RATES
l_.str.1:                               ; @.str.1
	.asciz	"using MIMO channel rate mask"

	.no_dead_strip	_wl18xx_sta_get_ap_rate_mask
.subsections_via_symbols
