	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_update_sta_info            ## -- Begin function rtw_update_sta_info
	.p2align	4, 0x90
_rtw_update_sta_info:                   ## @rtw_update_sta_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	40(%rsi), %r15
	movq	_RF_1T1R@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	cmpq	$0, 48(%r15)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	movq	%r15, %rdi
	callq	_get_vht_ra_mask
	movl	%eax, %r13d
	movl	40(%r15), %eax
	movq	_IEEE80211_VHT_CAP_RXSTBC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%eax, %esi
	je	LBB0_3
## %bb.2:
	movq	_VHT_STBC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_3:
	movq	_IEEE80211_VHT_CAP_RXLDPC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	je	LBB0_5
## %bb.4:
	movq	_VHT_LDPC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_5:
	movq	_IEEE80211_VHT_CAP_SHORT_GI_80@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	testl	%eax, (%rcx)
	setne	%dil
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_6:
	cmpq	$0, 24(%r15)
	je	LBB0_14
## %bb.7:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	32(%r15), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %r13d
	movl	16(%r15), %eax
	movq	_IEEE80211_HT_CAP_RX_STBC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	andl	%eax, %esi
	je	LBB0_9
## %bb.8:
	movq	_HT_STBC_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
LBB0_9:
	shll	$20, %ecx
	shll	$12, %r13d
	movq	_IEEE80211_HT_CAP_LDPC_CODING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_11
## %bb.10:
	movq	_HT_LDPC_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_11:
	orl	%ecx, %r13d
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_13
## %bb.12:
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
LBB0_13:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_16
LBB0_14:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r13d, %r13d
LBB0_15:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_16:
	movq	(%rdi), %rax
	movq	_RTW_BAND_5G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	jne	LBB0_19
## %bb.17:
	movq	(%r15), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	shll	$4, %eax
	orl	%r13d, %eax
	cmpq	$0, 48(%r15)
	je	LBB0_25
## %bb.18:
	movq	_RA_MASK_VHT_RATES@GOTPCREL(%rip), %rcx
	movq	_RA_MASK_OFDM_IN_VHT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	andl	%edx, %eax
	movq	_WIRELESS_OFDM@GOTPCREL(%rip), %rcx
	movq	_WIRELESS_VHT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	jmp	LBB0_22
LBB0_19:
	movq	_RTW_BAND_2G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.20:
	movq	(%r15), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orl	(%rax,%rcx,4), %r13d
	cmpq	$0, 48(%r15)
	je	LBB0_27
## %bb.21:
	movq	_RA_MASK_VHT_RATES@GOTPCREL(%rip), %rcx
	movq	_RA_MASK_CCK_IN_VHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_RA_MASK_OFDM_IN_VHT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_WIRELESS_CCK@GOTPCREL(%rip), %rcx
	movq	_WIRELESS_OFDM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	orl	(%rcx), %r12d
	andl	%r13d, %eax
	movq	_WIRELESS_HT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	movq	_WIRELESS_VHT@GOTPCREL(%rip), %rcx
LBB0_22:
	orl	(%rcx), %r12d
	xorl	%ecx, %ecx
	jmp	LBB0_32
LBB0_23:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_rtw_err
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 48(%r15)
	sete	%cl
	xorl	%r12d, %r12d
LBB0_24:
	movl	%r13d, %eax
	jmp	LBB0_32
LBB0_25:
	cmpq	$0, 24(%r15)
	je	LBB0_30
## %bb.26:
	movq	_RA_MASK_HT_RATES@GOTPCREL(%rip), %rcx
	movq	_RA_MASK_OFDM_IN_HT_5G@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	andl	%edx, %eax
	movq	_WIRELESS_OFDM@GOTPCREL(%rip), %rcx
	movq	_WIRELESS_HT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	jmp	LBB0_29
LBB0_27:
	cmpq	$0, 24(%r15)
	je	LBB0_52
## %bb.28:
	movq	_RA_MASK_HT_RATES@GOTPCREL(%rip), %rcx
	movq	_RA_MASK_CCK_IN_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_RA_MASK_OFDM_IN_HT_2G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	andl	%r13d, %eax
	movq	_WIRELESS_CCK@GOTPCREL(%rip), %rcx
	movq	_WIRELESS_OFDM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	orl	(%rcx), %r12d
	movq	_WIRELESS_HT@GOTPCREL(%rip), %rcx
LBB0_29:
	orl	(%rcx), %r12d
	jmp	LBB0_31
LBB0_30:
	movq	_WIRELESS_OFDM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_31:
	movb	$1, %cl
LBB0_32:
	movq	_RA_MASK_VHT_RATES_1SS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	andl	%eax, %r14d
	movq	_RA_MASK_HT_RATES_1SS@GOTPCREL(%rip), %rdx
	andl	(%rdx), %r14d
	cmpl	$1, 8(%rdi)
	cmovnel	%eax, %r14d
	movl	8(%r15), %edx
	cmpl	$129, %edx
	jne	LBB0_34
## %bb.33:
	movq	_RTW_CHANNEL_WIDTH_40@GOTPCREL(%rip), %rax
	cmpl	$128, %edx
	je	LBB0_35
	jmp	LBB0_36
LBB0_34:
	movq	_RTW_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rax
	cmpl	$128, %edx
	jne	LBB0_36
LBB0_35:
	movq	_RTW_CHANNEL_WIDTH_80@GOTPCREL(%rip), %rax
LBB0_36:
	movl	(%rax), %r13d
	testb	%cl, %cl
	jne	LBB0_39
## %bb.37:
	cmpl	$4194304, %r14d                 ## imm = 0x400000
	jb	LBB0_39
## %bb.38:
	movq	_RF_2T2R@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$2, %edx
	jmp	LBB0_42
LBB0_39:
	cmpq	$0, 24(%r15)
	sete	%cl
	cmpl	$1048576, %r14d                 ## imm = 0x100000
	setb	%al
	orb	%cl, %al
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_41
## %bb.40:
	movq	_RF_2T2R@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_41:
	movzbl	%al, %eax
	movl	$2, %edx
	subl	%eax, %edx
LBB0_42:
	movl	%r12d, %edi
	movl	%r13d, %esi
	callq	_get_rate_id
	movq	_WIRELESS_CCK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jne	LBB0_45
LBB0_43:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_44:
	movl	%r13d, 4(%rbx)
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rbx)
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 12(%rbx)
	movl	%r15d, 16(%rbx)
	movl	%r12d, 20(%rbx)
	movl	%esi, 24(%rbx)
	movl	%edx, 28(%rbx)
	movl	%r14d, 32(%rbx)
	movl	%eax, 36(%rbx)
	movq	%rbx, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_fw_send_ra_info            ## TAILCALL
LBB0_45:
	movl	(%rbx), %ecx
	cmpq	$4, %rcx
	ja	LBB0_48
## %bb.46:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmpq	*%rcx
LBB0_47:
	andl	$-16, %r14d
	jmp	LBB0_44
LBB0_48:
	movl	%r14d, %edx
	andl	$-61696, %edx                   ## imm = 0xFFFF0F00
	cmpl	$5, %ecx
	cmovgel	%edx, %r14d
	jmp	LBB0_43
LBB0_49:
	andl	$-4128, %r14d                   ## imm = 0xEFE0
	jmp	LBB0_44
LBB0_50:
	andl	$-12352, %r14d                  ## imm = 0xCFC0
	jmp	LBB0_44
LBB0_51:
	andl	$-28800, %r14d                  ## imm = 0x8F80
	jmp	LBB0_44
LBB0_52:
	cmpl	$16, (%rax)
	movq	_WIRELESS_CCK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movb	$1, %cl
	jl	LBB0_24
## %bb.53:
	movq	_WIRELESS_OFDM@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
LJTI0_0:
	.long	L0_0_set_44
	.long	L0_0_set_47
	.long	L0_0_set_49
	.long	L0_0_set_50
	.long	L0_0_set_51
	.end_data_region
                                        ## -- End function
	.comm	_RF_1T1R,4,2                    ## @RF_1T1R
	.comm	_IEEE80211_VHT_CAP_RXSTBC_MASK,4,2 ## @IEEE80211_VHT_CAP_RXSTBC_MASK
	.comm	_VHT_STBC_EN,4,2                ## @VHT_STBC_EN
	.comm	_IEEE80211_VHT_CAP_RXLDPC,4,2   ## @IEEE80211_VHT_CAP_RXLDPC
	.comm	_VHT_LDPC_EN,4,2                ## @VHT_LDPC_EN
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_IEEE80211_HT_CAP_RX_STBC,4,2   ## @IEEE80211_HT_CAP_RX_STBC
	.comm	_HT_STBC_EN,4,2                 ## @HT_STBC_EN
	.comm	_IEEE80211_HT_CAP_LDPC_CODING,4,2 ## @IEEE80211_HT_CAP_LDPC_CODING
	.comm	_HT_LDPC_EN,4,2                 ## @HT_LDPC_EN
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ## @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_RTW_BAND_5G,8,3                ## @RTW_BAND_5G
	.comm	_RA_MASK_VHT_RATES,4,2          ## @RA_MASK_VHT_RATES
	.comm	_RA_MASK_OFDM_IN_VHT,4,2        ## @RA_MASK_OFDM_IN_VHT
	.comm	_WIRELESS_OFDM,4,2              ## @WIRELESS_OFDM
	.comm	_WIRELESS_VHT,4,2               ## @WIRELESS_VHT
	.comm	_RA_MASK_HT_RATES,4,2           ## @RA_MASK_HT_RATES
	.comm	_RA_MASK_OFDM_IN_HT_5G,4,2      ## @RA_MASK_OFDM_IN_HT_5G
	.comm	_WIRELESS_HT,4,2                ## @WIRELESS_HT
	.comm	_RTW_BAND_2G,8,3                ## @RTW_BAND_2G
	.comm	_RA_MASK_CCK_IN_VHT,4,2         ## @RA_MASK_CCK_IN_VHT
	.comm	_WIRELESS_CCK,4,2               ## @WIRELESS_CCK
	.comm	_RA_MASK_CCK_IN_HT,4,2          ## @RA_MASK_CCK_IN_HT
	.comm	_RA_MASK_OFDM_IN_HT_2G,4,2      ## @RA_MASK_OFDM_IN_HT_2G
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown band type\n"

	.comm	_RA_MASK_VHT_RATES_1SS,4,2      ## @RA_MASK_VHT_RATES_1SS
	.comm	_RA_MASK_HT_RATES_1SS,4,2       ## @RA_MASK_HT_RATES_1SS
	.comm	_RTW_CHANNEL_WIDTH_80,4,2       ## @RTW_CHANNEL_WIDTH_80
	.comm	_RTW_CHANNEL_WIDTH_40,4,2       ## @RTW_CHANNEL_WIDTH_40
	.comm	_RTW_CHANNEL_WIDTH_20,4,2       ## @RTW_CHANNEL_WIDTH_20
	.comm	_RF_2T2R,4,2                    ## @RF_2T2R
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rtw_update_sta_info
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rtw_update_sta_info
	.p2align	2
_rtw_update_sta_info:                   ; @rtw_update_sta_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #40]
Lloh0:
	adrp	x8, _RF_1T1R@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RF_1T1R@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_get_vht_ra_mask
	mov	x22, x0
	ldr	w8, [x21, #40]
Lloh3:
	adrp	x9, _IEEE80211_VHT_CAP_RXSTBC_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_RXSTBC_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _VHT_STBC_EN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VHT_STBC_EN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w24, wzr, w10, eq
Lloh9:
	adrp	x9, _IEEE80211_VHT_CAP_RXLDPC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_RXLDPC@GOTPAGEOFF]
Lloh11:
	adrp	x10, _VHT_LDPC_EN@GOTPAGE
Lloh12:
	ldr	x10, [x10, _VHT_LDPC_EN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w25, wzr, w10, eq
Lloh15:
	adrp	x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	movi.2s	v0, #1
	mov.s	v0[0], w8
	b	LBB0_8
LBB0_2:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x21, #32]
Lloh18:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh21:
	adrp	x10, _NL80211_BAND_2GHZ@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	lsl	w8, w8, #12
	orr	w22, w8, w9, lsl #20
	ldr	w8, [x21, #16]
Lloh24:
	adrp	x9, _IEEE80211_HT_CAP_RX_STBC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IEEE80211_HT_CAP_RX_STBC@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _HT_STBC_EN@GOTPAGE
Lloh28:
	ldr	x10, [x10, _HT_STBC_EN@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w24, wzr, w10, eq
Lloh30:
	adrp	x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _HT_LDPC_EN@GOTPAGE
Lloh34:
	ldr	x10, [x10, _HT_LDPC_EN@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w25, wzr, w10, eq
Lloh36:
	adrp	x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
Lloh39:
	adrp	x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh40:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_5:
Lloh42:
	adrp	x8, lCPI0_0@PAGE
Lloh43:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	w24, #0
	mov	w25, #0
	mov	w22, #0
LBB0_7:
	movi.2d	v0, #0000000000000000
LBB0_8:
	str	q0, [sp]                        ; 16-byte Folded Spill
	ldr	x8, [x20]
Lloh44:
	adrp	x9, _RTW_BAND_5G@GOTPAGE
Lloh45:
	ldr	x9, [x9, _RTW_BAND_5G@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
Lloh47:
	adrp	x27, _WIRELESS_CCK@GOTPAGE
Lloh48:
	ldr	x27, [x27, _WIRELESS_CCK@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
Lloh49:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh50:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh51:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	orr	w22, w22, w8, lsl #4
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_15
; %bb.10:
	mov	w8, #0
Lloh52:
	adrp	x9, _RA_MASK_VHT_RATES@GOTPAGE
Lloh53:
	ldr	x9, [x9, _RA_MASK_VHT_RATES@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	adrp	x10, _RA_MASK_OFDM_IN_VHT@GOTPAGE
Lloh56:
	ldr	x10, [x10, _RA_MASK_OFDM_IN_VHT@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh58:
	adrp	x10, _WIRELESS_OFDM@GOTPAGE
Lloh59:
	ldr	x10, [x10, _WIRELESS_OFDM@GOTPAGEOFF]
	and	w22, w9, w22
Lloh60:
	ldr	w9, [x10]
Lloh61:
	adrp	x10, _WIRELESS_VHT@GOTPAGE
Lloh62:
	ldr	x10, [x10, _WIRELESS_VHT@GOTPAGEOFF]
Lloh63:
	ldr	w10, [x10]
	orr	w23, w10, w9
	b	LBB0_23
LBB0_11:
Lloh64:
	adrp	x9, _RTW_BAND_2G@GOTPAGE
Lloh65:
	ldr	x9, [x9, _RTW_BAND_2G@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
Lloh67:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh68:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh69:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	orr	w22, w9, w22
	ldr	x9, [x21, #48]
	cbz	x9, LBB0_17
; %bb.13:
	mov	w8, #0
Lloh70:
	adrp	x9, _RA_MASK_VHT_RATES@GOTPAGE
Lloh71:
	ldr	x9, [x9, _RA_MASK_VHT_RATES@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
Lloh73:
	adrp	x10, _RA_MASK_CCK_IN_VHT@GOTPAGE
Lloh74:
	ldr	x10, [x10, _RA_MASK_CCK_IN_VHT@GOTPAGEOFF]
Lloh75:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh76:
	adrp	x10, _RA_MASK_OFDM_IN_VHT@GOTPAGE
Lloh77:
	ldr	x10, [x10, _RA_MASK_OFDM_IN_VHT@GOTPAGEOFF]
Lloh78:
	ldr	w10, [x10]
	orr	w9, w9, w10
	and	w22, w9, w22
	ldr	w9, [x27]
Lloh79:
	adrp	x10, _WIRELESS_OFDM@GOTPAGE
Lloh80:
	ldr	x10, [x10, _WIRELESS_OFDM@GOTPAGEOFF]
Lloh81:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh82:
	adrp	x10, _WIRELESS_HT@GOTPAGE
Lloh83:
	ldr	x10, [x10, _WIRELESS_HT@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh85:
	adrp	x10, _WIRELESS_VHT@GOTPAGE
Lloh86:
	ldr	x10, [x10, _WIRELESS_VHT@GOTPAGEOFF]
Lloh87:
	ldr	w10, [x10]
	orr	w23, w9, w10
	b	LBB0_23
LBB0_14:
Lloh88:
	adrp	x1, l_.str@PAGE
Lloh89:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_rtw_err
	mov	w23, #0
	ldr	x8, [x21, #48]
	cmp	x8, #0
	cset	w8, eq
	b	LBB0_23
LBB0_15:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_19
; %bb.16:
Lloh90:
	adrp	x8, _RA_MASK_HT_RATES@GOTPAGE
Lloh91:
	ldr	x8, [x8, _RA_MASK_HT_RATES@GOTPAGEOFF]
Lloh92:
	adrp	x9, _RA_MASK_OFDM_IN_HT_5G@GOTPAGE
Lloh93:
	ldr	x9, [x9, _RA_MASK_OFDM_IN_HT_5G@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
Lloh95:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w22, w8, w22
Lloh96:
	adrp	x8, _WIRELESS_OFDM@GOTPAGE
Lloh97:
	ldr	x8, [x8, _WIRELESS_OFDM@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
Lloh99:
	adrp	x9, _WIRELESS_HT@GOTPAGE
Lloh100:
	ldr	x9, [x9, _WIRELESS_HT@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	orr	w23, w9, w8
	b	LBB0_22
LBB0_17:
	ldr	x9, [x21, #24]
	cbz	x9, LBB0_20
; %bb.18:
Lloh102:
	adrp	x8, _RA_MASK_HT_RATES@GOTPAGE
Lloh103:
	ldr	x8, [x8, _RA_MASK_HT_RATES@GOTPAGEOFF]
Lloh104:
	adrp	x9, _RA_MASK_CCK_IN_HT@GOTPAGE
Lloh105:
	ldr	x9, [x9, _RA_MASK_CCK_IN_HT@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
Lloh107:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh108:
	adrp	x9, _RA_MASK_OFDM_IN_HT_2G@GOTPAGE
Lloh109:
	ldr	x9, [x9, _RA_MASK_OFDM_IN_HT_2G@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w8, w8, w9
	and	w22, w8, w22
	ldr	w8, [x27]
Lloh111:
	adrp	x9, _WIRELESS_OFDM@GOTPAGE
Lloh112:
	ldr	x9, [x9, _WIRELESS_OFDM@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh114:
	adrp	x9, _WIRELESS_HT@GOTPAGE
Lloh115:
	ldr	x9, [x9, _WIRELESS_HT@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	orr	w23, w8, w9
	b	LBB0_22
LBB0_19:
Lloh117:
	adrp	x8, _WIRELESS_OFDM@GOTPAGE
Lloh118:
	ldr	x8, [x8, _WIRELESS_OFDM@GOTPAGEOFF]
Lloh119:
	ldr	w23, [x8]
	b	LBB0_22
LBB0_20:
	ldr	w8, [x8]
	ldr	w23, [x27]
	cmp	w8, #16
	b.lt	LBB0_22
; %bb.21:
Lloh120:
	adrp	x8, _WIRELESS_OFDM@GOTPAGE
Lloh121:
	ldr	x8, [x8, _WIRELESS_OFDM@GOTPAGEOFF]
Lloh122:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_22:
	mov	w8, #1
LBB0_23:
	ldr	w9, [x20, #8]
Lloh123:
	adrp	x10, _RA_MASK_VHT_RATES_1SS@GOTPAGE
Lloh124:
	ldr	x10, [x10, _RA_MASK_VHT_RATES_1SS@GOTPAGEOFF]
Lloh125:
	ldr	w10, [x10]
	and	w10, w10, w22
Lloh126:
	adrp	x11, _RA_MASK_HT_RATES_1SS@GOTPAGE
Lloh127:
	ldr	x11, [x11, _RA_MASK_HT_RATES_1SS@GOTPAGEOFF]
Lloh128:
	ldr	w11, [x11]
	and	w10, w10, w11
	cmp	w9, #1
	csel	w28, w10, w22, eq
Lloh129:
	adrp	x9, _RTW_CHANNEL_WIDTH_80@GOTPAGE
Lloh130:
	ldr	x9, [x9, _RTW_CHANNEL_WIDTH_80@GOTPAGEOFF]
Lloh131:
	adrp	x10, _RTW_CHANNEL_WIDTH_40@GOTPAGE
Lloh132:
	ldr	x10, [x10, _RTW_CHANNEL_WIDTH_40@GOTPAGEOFF]
Lloh133:
	adrp	x11, _RTW_CHANNEL_WIDTH_20@GOTPAGE
Lloh134:
	ldr	x11, [x11, _RTW_CHANNEL_WIDTH_20@GOTPAGEOFF]
	ldr	w12, [x21, #8]
	cmp	w12, #129
	csel	x10, x10, x11, eq
	cmp	w12, #128
	csel	x9, x9, x10, eq
	ldr	w22, [x9]
	tbnz	w8, #0, LBB0_26
; %bb.24:
	cmp	w28, #1024, lsl #12             ; =4194304
	b.lo	LBB0_26
; %bb.25:
Lloh135:
	adrp	x8, _RF_2T2R@GOTPAGE
Lloh136:
	ldr	x8, [x8, _RF_2T2R@GOTPAGEOFF]
Lloh137:
	ldr	w21, [x8]
	mov	w2, #2
	b	LBB0_27
LBB0_26:
	ldr	x8, [x21, #24]
	cmp	x8, #0
	mov	w8, #1048576
	ccmp	w28, w8, #0, ne
Lloh138:
	adrp	x8, _RF_2T2R@GOTPAGE
Lloh139:
	ldr	x8, [x8, _RF_2T2R@GOTPAGEOFF]
	cset	w9, lo
Lloh140:
	ldr	w8, [x8]
	cmp	w9, #0
	csel	w21, w26, w8, ne
	mov	w8, #1
	cinc	w2, w8, eq
LBB0_27:
	mov	x0, x23
	mov	x1, x22
	bl	_get_rate_id
	ldr	w8, [x27]
	cmp	w23, w8
	b.eq	LBB0_36
; %bb.28:
	ldr	w8, [x19]
	cmp	w8, #4
	b.hi	LBB0_31
; %bb.29:
Lloh141:
	adrp	x9, lJTI0_0@PAGE
Lloh142:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_30
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_30:
	and	w28, w28, #0xfffffff0
	b	LBB0_36
LBB0_31:
	mov	w8, #-61696
	and	w8, w28, w8
	csel	w28, w8, w28, gt
	b	LBB0_36
LBB0_32:
	mov	w8, #-4128
	b	LBB0_35
LBB0_33:
	mov	w8, #-12352
	b	LBB0_35
LBB0_34:
	mov	w8, #-28800
LBB0_35:
	and	w28, w28, w8
LBB0_36:
	stp	w22, w24, [x19, #4]
	stp	w25, w21, [x19, #12]
	str	w23, [x19, #20]
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	str	d0, [x19, #24]
	stp	w28, w0, [x19, #32]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_rtw_fw_send_ra_info
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdr	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh94
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh106
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpAdd	Lloh141, Lloh142
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_36-LBB0_30)>>2
	.byte	(LBB0_30-LBB0_30)>>2
	.byte	(LBB0_32-LBB0_30)>>2
	.byte	(LBB0_33-LBB0_30)>>2
	.byte	(LBB0_34-LBB0_30)>>2
                                        ; -- End function
	.comm	_RF_1T1R,4,2                    ; @RF_1T1R
	.comm	_IEEE80211_VHT_CAP_RXSTBC_MASK,4,2 ; @IEEE80211_VHT_CAP_RXSTBC_MASK
	.comm	_VHT_STBC_EN,4,2                ; @VHT_STBC_EN
	.comm	_IEEE80211_VHT_CAP_RXLDPC,4,2   ; @IEEE80211_VHT_CAP_RXLDPC
	.comm	_VHT_LDPC_EN,4,2                ; @VHT_LDPC_EN
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_IEEE80211_HT_CAP_RX_STBC,4,2   ; @IEEE80211_HT_CAP_RX_STBC
	.comm	_HT_STBC_EN,4,2                 ; @HT_STBC_EN
	.comm	_IEEE80211_HT_CAP_LDPC_CODING,4,2 ; @IEEE80211_HT_CAP_LDPC_CODING
	.comm	_HT_LDPC_EN,4,2                 ; @HT_LDPC_EN
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_RTW_BAND_5G,8,3                ; @RTW_BAND_5G
	.comm	_RA_MASK_VHT_RATES,4,2          ; @RA_MASK_VHT_RATES
	.comm	_RA_MASK_OFDM_IN_VHT,4,2        ; @RA_MASK_OFDM_IN_VHT
	.comm	_WIRELESS_OFDM,4,2              ; @WIRELESS_OFDM
	.comm	_WIRELESS_VHT,4,2               ; @WIRELESS_VHT
	.comm	_RA_MASK_HT_RATES,4,2           ; @RA_MASK_HT_RATES
	.comm	_RA_MASK_OFDM_IN_HT_5G,4,2      ; @RA_MASK_OFDM_IN_HT_5G
	.comm	_WIRELESS_HT,4,2                ; @WIRELESS_HT
	.comm	_RTW_BAND_2G,8,3                ; @RTW_BAND_2G
	.comm	_RA_MASK_CCK_IN_VHT,4,2         ; @RA_MASK_CCK_IN_VHT
	.comm	_WIRELESS_CCK,4,2               ; @WIRELESS_CCK
	.comm	_RA_MASK_CCK_IN_HT,4,2          ; @RA_MASK_CCK_IN_HT
	.comm	_RA_MASK_OFDM_IN_HT_2G,4,2      ; @RA_MASK_OFDM_IN_HT_2G
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown band type\n"

	.comm	_RA_MASK_VHT_RATES_1SS,4,2      ; @RA_MASK_VHT_RATES_1SS
	.comm	_RA_MASK_HT_RATES_1SS,4,2       ; @RA_MASK_HT_RATES_1SS
	.comm	_RTW_CHANNEL_WIDTH_80,4,2       ; @RTW_CHANNEL_WIDTH_80
	.comm	_RTW_CHANNEL_WIDTH_40,4,2       ; @RTW_CHANNEL_WIDTH_40
	.comm	_RTW_CHANNEL_WIDTH_20,4,2       ; @RTW_CHANNEL_WIDTH_20
	.comm	_RF_2T2R,4,2                    ; @RF_2T2R
.subsections_via_symbols
