	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl88ee_update_hal_rate_mask
_rtl88ee_update_hal_rate_mask:          ## @rtl88ee_update_hal_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_rtl_priv
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r14
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movl	16(%r13), %r10d
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	movl	(%rcx), %ecx
	andl	%r10d, %ecx
	setne	%cl
	movq	32(%r13), %r9
	movq	(%r14), %rdi
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_2
## %bb.1:
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_2
## %bb.3:
	movb	%cl, %sil
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_5
## %bb.4:
	xorl	%r11d, %r11d
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_6
LBB0_5:
	movl	(%r13), %r11d
	incl	%r11d
	jmp	LBB0_6
LBB0_2:
	movl	8(%r14), %esi
	xorl	%r11d, %r11d
LBB0_6:
	movl	(%r9), %ecx
	movq	(%rax), %rdx
	movq	_BAND_ON_5G@GOTPCREL(%rip), %rbx
	movq	8(%r13), %rax
	cmpq	(%rbx), %rdx
	jne	LBB0_8
## %bb.7:
	movl	4(%rax), %ebx
	shll	$4, %ebx
	jmp	LBB0_9
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	movl	$4095, %eax                     ## imm = 0xFFF
	cmovnel	%ebx, %eax
	movq	24(%r13), %rdx
	movl	(%rdx), %r13d
	movl	4(%rdx), %edx
	shll	$20, %edx
	shll	$12, %r13d
	orl	%edx, %r13d
	orl	%eax, %r13d
	leal	-128(%rcx), %edx
	cmpl	$2, %edx
	movq	%r11, -104(%rbp)                ## 8-byte Spill
	jb	LBB0_21
## %bb.10:
	cmpl	$130, %ecx
	je	LBB0_16
## %bb.11:
	cmpl	$131, %ecx
	jne	LBB0_36
## %bb.12:
	movq	_RATR_INX_WIRELESS_B@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testb	$12, %al
	je	LBB0_15
## %bb.13:
	andl	$13, %eax
	jmp	LBB0_14
LBB0_21:
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rax
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	movl	(%rcx), %edi
	movq	_RATR_INX_WIRELESS_NGB@GOTPCREL(%rip), %r8
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	_RF_1T2R@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_23
## %bb.22:
	movq	_RF_1T1R@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_23
## %bb.27:
	testl	%esi, %esi
	je	LBB0_29
## %bb.28:
	cmpl	$2, %r12d
	movl	$261091328, %ecx                ## imm = 0xF8FF000
	movl	$261091349, %edx                ## imm = 0xF8FF015
	cmovel	%ecx, %edx
	jmp	LBB0_30
LBB0_16:
	movq	_RATR_INX_WIRELESS_GB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	cmpl	$2, %r12d
	je	LBB0_19
## %bb.17:
	cmpl	$1, %r12d
	jne	LBB0_20
## %bb.18:
	andl	$3840, %eax                     ## imm = 0xF00
	jmp	LBB0_14
LBB0_36:
	movq	_RATR_INX_WIRELESS_NGB@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_RF_1T2R@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.37:
	andl	$1044735, %r13d                 ## imm = 0xFF0FF
	jmp	LBB0_39
LBB0_23:
	testl	%esi, %esi
	je	LBB0_26
## %bb.24:
	cmpl	$2, %r12d
	movl	$1044480, %ecx                  ## imm = 0xFF000
	movl	$1044501, %edx                  ## imm = 0xFF015
	cmovel	%ecx, %edx
	jmp	LBB0_25
LBB0_38:
	andl	$252702975, %r13d               ## imm = 0xF0FF0FF
	jmp	LBB0_39
LBB0_15:
	andl	$15, %eax
	jmp	LBB0_14
LBB0_29:
	xorl	%ecx, %ecx
	cmpl	$2, %r12d
	setne	%cl
	leal	(%rcx,%rcx,4), %edx
	orl	$261091328, %edx                ## imm = 0xF8FF000
LBB0_30:
	cmpl	$1, %r12d
	movl	$261029888, %ecx                ## imm = 0xF8F0000
	jmp	LBB0_31
LBB0_26:
	xorl	%ecx, %ecx
	cmpl	$2, %r12d
	setne	%cl
	leal	(%rcx,%rcx,4), %edx
	orl	$1044480, %edx                  ## imm = 0xFF000
LBB0_25:
	cmpl	$1, %r12d
	movl	$983040, %ecx                   ## imm = 0xF0000
LBB0_31:
	cmovnel	%edx, %ecx
	movl	(%r8), %r15d
	testl	%r10d, %edi
	setne	%bl
	testl	%r10d, %eax
	setne	%dl
	andl	%ecx, %r13d
	testl	%esi, %esi
	sete	%al
	setne	%cl
	testb	%dl, %cl
	jne	LBB0_33
## %bb.32:
	andb	%bl, %al
	je	LBB0_39
LBB0_33:
	testl	%r11d, %r11d
	je	LBB0_34
## %bb.35:
	cmpl	$1, %r11d
LBB0_39:
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_40
LBB0_19:
	andl	$4080, %eax                     ## imm = 0xFF0
	jmp	LBB0_14
LBB0_20:
	andl	$4085, %eax                     ## imm = 0xFF5
LBB0_14:
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movl	%eax, %r13d
LBB0_40:
	movl	%r15d, 4(%r9)
	movq	_COMP_RATR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rcx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	%r15d, %ebx
	shll	$28, %ebx
	orl	%r13d, %ebx
	movl	%ebx, -80(%rbp)
	movl	%r13d, %r9d
	movq	-104(%rbp), %r13                ## 8-byte Reload
	orl	-84(%rbp), %r13d                ## 4-byte Folded Reload
	orl	$128, %r13d
	movl	%r13d, -64(%rbp)
	movq	_COMP_RATR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movl	-76(%rbp), %r10d
	movl	-72(%rbp), %r11d
	movl	-68(%rbp), %r12d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	pushq	%r13
	pushq	%r12
	pushq	%r11
	pushq	%r10
	pushq	%rbx
	callq	_RT_TRACE
	addq	$48, %rsp
	movq	_H2C_88E_RA_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rcx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_rtl88e_fill_h2c_cmd
	movl	$3, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	__rtl88ee_set_bcn_ctrl_reg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.41:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movl	$32, -84(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_40
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ## @IEEE80211_HT_CAP_SGI_20
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_BAND_ON_5G,8,3                 ## @BAND_ON_5G
	.comm	_RATR_INX_WIRELESS_B,4,2        ## @RATR_INX_WIRELESS_B
	.comm	_RATR_INX_WIRELESS_GB,4,2       ## @RATR_INX_WIRELESS_GB
	.comm	_RATR_INX_WIRELESS_NGB,4,2      ## @RATR_INX_WIRELESS_NGB
	.comm	_RF_1T2R,4,2                    ## @RF_1T2R
	.comm	_RF_1T1R,4,2                    ## @RF_1T1R
	.comm	_COMP_RATR,4,2                  ## @COMP_RATR
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ratr_bitmap :%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Rate_index:%x, ratr_val:%x, %x:%x:%x:%x:%x\n"

	.comm	_H2C_88E_RA_MASK,4,2            ## @H2C_88E_RA_MASK
	.no_dead_strip	_rtl88ee_update_hal_rate_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl88ee_update_hal_rate_mask
_rtl88ee_update_hal_rate_mask:          ; @rtl88ee_update_hal_rate_mask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x23, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	ldr	w11, [x21, #16]
Lloh3:
	adrp	x8, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w11
	cset	w9, ne
	ldr	x8, [x21, #32]
	ldr	x10, [x23]
Lloh6:
	adrp	x12, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh7:
	ldr	x12, [x12, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh8:
	adrp	x13, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh9:
	ldr	x13, [x13, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh10:
	ldr	x12, [x12]
Lloh11:
	ldr	x13, [x13]
	cmp	x10, x12
	ccmp	x10, x13, #4, ne
Lloh12:
	adrp	x12, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh13:
	ldr	x12, [x12, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
	b.ne	LBB0_2
; %bb.1:
	mov	w24, #0
	ldr	w9, [x23, #8]
	b	LBB0_5
LBB0_2:
Lloh14:
	adrp	x13, _NL80211_IFTYPE_AP@GOTPAGE
Lloh15:
	ldr	x13, [x13, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh16:
	ldr	x13, [x13]
	ldr	x14, [x12]
	cmp	x10, x13
	ccmp	x10, x14, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	w13, [x21]
	add	w24, w13, #1
	b	LBB0_5
LBB0_4:
	mov	w24, #0
LBB0_5:
	ldr	w13, [x8]
	ldr	x15, [x0]
Lloh17:
	adrp	x14, _BAND_ON_5G@GOTPAGE
Lloh18:
	ldr	x14, [x14, _BAND_ON_5G@GOTPAGEOFF]
Lloh19:
	ldr	x16, [x14]
	ldr	x14, [x21, #8]
	cmp	x15, x16
	b.ne	LBB0_7
; %bb.6:
	ldr	w14, [x14, #4]
	lsl	w14, w14, #4
	b	LBB0_8
LBB0_7:
	ldr	w14, [x14]
LBB0_8:
	ldr	x12, [x12]
	cmp	x10, x12
	mov	w10, #4095
	csel	w12, w10, w14, eq
	ldr	x10, [x21, #24]
	ldp	w10, w14, [x10]
	orr	w14, w12, w14, lsl #20
	orr	w10, w14, w10, lsl #12
	sub	w14, w13, #128
	cmp	w14, #2
	b.lo	LBB0_12
; %bb.9:
	cmp	w13, #130
	b.eq	LBB0_16
; %bb.10:
	cmp	w13, #131
	b.ne	LBB0_17
; %bb.11:
Lloh20:
	adrp	x9, _RATR_INX_WIRELESS_B@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RATR_INX_WIRELESS_B@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x9]
	tst	w12, #0xc
	and	w9, w12, #0xf
	mov	w10, #13
	and	w10, w12, w10
	csel	w22, w9, w10, eq
	csel	w23, wzr, wzr, eq
	b	LBB0_27
LBB0_12:
Lloh23:
	adrp	x12, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh24:
	ldr	x12, [x12, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh25:
	adrp	x13, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh26:
	ldr	x13, [x13, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh27:
	ldr	w12, [x12]
Lloh28:
	ldr	w13, [x13]
	and	w12, w12, w11
	and	w11, w13, w11
Lloh29:
	adrp	x13, _RATR_INX_WIRELESS_NGB@GOTPAGE
Lloh30:
	ldr	x13, [x13, _RATR_INX_WIRELESS_NGB@GOTPAGEOFF]
Lloh31:
	ldr	w21, [x13]
	ldr	w13, [x20]
Lloh32:
	adrp	x14, _RF_1T2R@GOTPAGE
Lloh33:
	ldr	x14, [x14, _RF_1T2R@GOTPAGEOFF]
Lloh34:
	ldr	w14, [x14]
	cmp	w13, w14
	b.eq	LBB0_18
; %bb.13:
Lloh35:
	adrp	x14, _RF_1T1R@GOTPAGE
Lloh36:
	ldr	x14, [x14, _RF_1T1R@GOTPAGEOFF]
Lloh37:
	ldr	w14, [x14]
	cmp	w13, w14
	b.eq	LBB0_18
; %bb.14:
	mov	w13, #61440
	movk	w13, #3983, lsl #16
	cbz	w9, LBB0_21
; %bb.15:
	add	w14, w13, #21
	b	LBB0_22
LBB0_16:
Lloh38:
	adrp	x9, _RATR_INX_WIRELESS_GB@GOTPAGE
Lloh39:
	ldr	x9, [x9, _RATR_INX_WIRELESS_GB@GOTPAGEOFF]
Lloh40:
	ldr	w21, [x9]
	and	w9, w12, #0xff0
	mov	w10, #4085
	and	w10, w12, w10
	and	w11, w12, #0xf00
	cmp	w22, #1
	csel	w10, w10, w11, ne
	csel	w11, wzr, wzr, ne
	cmp	w22, #2
	csel	w22, w9, w10, eq
	csel	w23, wzr, w11, eq
	b	LBB0_27
LBB0_17:
Lloh41:
	adrp	x9, _RATR_INX_WIRELESS_NGB@GOTPAGE
Lloh42:
	ldr	x9, [x9, _RATR_INX_WIRELESS_NGB@GOTPAGEOFF]
Lloh43:
	ldr	w21, [x9]
	ldr	w9, [x20]
Lloh44:
	adrp	x11, _RF_1T2R@GOTPAGE
Lloh45:
	ldr	x11, [x11, _RF_1T2R@GOTPAGEOFF]
Lloh46:
	ldr	w11, [x11]
	mov	w12, #61695
	movk	w12, #3855, lsl #16
	and	w12, w10, w12
	mov	w13, #250
	mov	w14, #61445
	movk	w14, #15, lsl #16
	orr	w13, w14, w13
	and	w10, w10, w13
	cmp	w9, w11
	csel	w22, w12, w10, ne
	csel	w23, wzr, wzr, ne
	b	LBB0_27
LBB0_18:
	mov	w13, #61445
	movk	w13, #15, lsl #16
	cbz	w9, LBB0_20
; %bb.19:
	add	w13, w13, #16
LBB0_20:
	mov	w14, #1044480
	cmp	w22, #2
	csel	w13, w14, w13, eq
	mov	w14, #983040
	b	LBB0_23
LBB0_21:
	add	w14, w13, #5
LBB0_22:
	cmp	w22, #2
	csel	w13, w13, w14, eq
	mov	w14, #261029888
LBB0_23:
	cmp	w22, #1
	csel	w13, w14, w13, eq
	cmp	w9, #0
	ccmp	w11, #0, #4, eq
	cset	w11, ne
	cmp	w12, #0
	and	w22, w10, w13
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_26
; %bb.24:
	cbnz	w11, LBB0_26
; %bb.25:
	mov	w23, #0
	b	LBB0_27
LBB0_26:
	mov	w9, #32
	cmp	w24, #1
	csel	w10, wzr, wzr, ne
	cmp	w24, #0
	csel	w23, w9, w10, eq
LBB0_27:
	str	w21, [x8, #4]
Lloh47:
	adrp	x25, _COMP_RATR@GOTPAGE
Lloh48:
	ldr	x25, [x25, _COMP_RATR@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh49:
	adrp	x26, _DBG_DMESG@GOTPAGE
Lloh50:
	ldr	x26, [x26, _DBG_DMESG@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh51:
	adrp	x3, l_.str@PAGE
Lloh52:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x22
	bl	_RT_TRACE
	orr	w8, w22, w21, lsl #28
	orr	w9, w24, w23
	orr	w9, w9, #0x80
	str	w8, [sp, #52]
	str	w9, [sp, #68]
	ldr	w1, [x25]
	ldr	w2, [x26]
	ldp	w10, w11, [sp, #56]
	ldr	w12, [sp, #64]
	stp	x12, x9, [sp, #32]
	stp	x10, x11, [sp, #16]
Lloh53:
	adrp	x3, l_.str.1@PAGE
Lloh54:
	add	x3, x3, l_.str.1@PAGEOFF
	stp	x22, x8, [sp]
	mov	x0, x20
	mov	x4, x21
	bl	_RT_TRACE
Lloh55:
	adrp	x8, _H2C_88E_RA_MASK@GOTPAGE
Lloh56:
	ldr	x8, [x8, _H2C_88E_RA_MASK@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	add	x3, sp, #52
	mov	x0, x19
	mov	w2, #5
	bl	_rtl88e_fill_h2c_cmd
	mov	w0, #3
	bl	_BIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	__rtl88ee_set_bcn_ctrl_reg
	ldr	x8, [sp, #72]
Lloh58:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh59:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_BAND_ON_5G,8,3                 ; @BAND_ON_5G
	.comm	_RATR_INX_WIRELESS_B,4,2        ; @RATR_INX_WIRELESS_B
	.comm	_RATR_INX_WIRELESS_GB,4,2       ; @RATR_INX_WIRELESS_GB
	.comm	_RATR_INX_WIRELESS_NGB,4,2      ; @RATR_INX_WIRELESS_NGB
	.comm	_RF_1T2R,4,2                    ; @RF_1T2R
	.comm	_RF_1T1R,4,2                    ; @RF_1T1R
	.comm	_COMP_RATR,4,2                  ; @COMP_RATR
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ratr_bitmap :%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Rate_index:%x, ratr_val:%x, %x:%x:%x:%x:%x\n"

	.comm	_H2C_88E_RA_MASK,4,2            ; @H2C_88E_RA_MASK
	.no_dead_strip	_rtl88ee_update_hal_rate_mask
.subsections_via_symbols
