	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723be_update_hal_rate_mask
_rtl8723be_update_hal_rate_mask:        ## @rtl8723be_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_rtl_priv
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movl	16(%r14), %r9d
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %ecx
	andl	%r9d, %ecx
	setne	%cl
	movq	32(%r14), %r8
	movq	(%rax), %rsi
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	je	LBB0_2
## %bb.1:
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	je	LBB0_2
## %bb.3:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movb	%cl, %al
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rax), %rsi
	je	LBB0_5
## %bb.4:
	xorl	%r10d, %r10d
	cmpq	%rcx, %rsi
	jne	LBB0_6
LBB0_5:
	movl	(%r14), %r10d
	incl	%r10d
	jmp	LBB0_6
LBB0_2:
	movl	8(%rax), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%r10d, %r10d
LBB0_6:
	movl	(%r8), %edi
	movq	24(%r14), %rdx
	movl	$4095, %ebx                     ## imm = 0xFFF
	cmpq	%rcx, %rsi
	je	LBB0_8
## %bb.7:
	movq	8(%r14), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	(%rdx), %esi
	movl	4(%rdx), %ecx
	shll	$20, %ecx
	shll	$12, %esi
	orl	%ecx, %esi
	orl	%ebx, %esi
	leal	-128(%rdi), %ecx
	cmpl	$2, %ecx
	jb	LBB0_19
## %bb.9:
	cmpl	$130, %edi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_13
## %bb.10:
	movq	%r10, %r12
	cmpl	$131, %edi
	jne	LBB0_35
## %bb.11:
	movq	_RATR_INX_WIRELESS_B@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testb	$12, %bl
	movl	%edx, %r13d
	je	LBB0_38
## %bb.12:
	andl	$13, %ebx
	jmp	LBB0_39
LBB0_19:
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rax
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	movl	(%rcx), %ebx
	movq	_RATR_INX_WIRELESS_NGB@GOTPCREL(%rip), %rdi
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	_RF_1T1R@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_24
## %bb.20:
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_23
## %bb.21:
	cmpl	$2, %r13d
	movl	$1044480, %ecx                  ## imm = 0xFF000
	movl	$1044501, %edx                  ## imm = 0xFF015
	cmovel	%ecx, %edx
	jmp	LBB0_22
LBB0_13:
	movq	_RATR_INX_WIRELESS_GB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	%r10, %r12
	cmpl	$2, %r13d
	je	LBB0_17
## %bb.14:
	cmpl	$1, %r13d
	jne	LBB0_18
## %bb.15:
	andl	$3840, %ebx                     ## imm = 0xF00
	jmp	LBB0_16
LBB0_35:
	movq	_RATR_INX_WIRELESS_NGB@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movq	_RF_1T2R@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_37
## %bb.36:
	movl	%esi, %ebx
	andl	$1044735, %ebx                  ## imm = 0xFF0FF
	jmp	LBB0_16
LBB0_24:
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
## %bb.25:
	cmpl	$2, %r13d
	movl	$261091328, %ecx                ## imm = 0xF8FF000
	movl	$261091349, %edx                ## imm = 0xF8FF015
	cmovel	%ecx, %edx
	jmp	LBB0_27
LBB0_37:
	movl	%esi, %ebx
	andl	$252702975, %ebx                ## imm = 0xF0FF0FF
	jmp	LBB0_16
LBB0_38:
	andl	$15, %ebx
	jmp	LBB0_39
LBB0_23:
	xorl	%ecx, %ecx
	cmpl	$2, %r13d
	setne	%cl
	leal	(%rcx,%rcx,4), %edx
	orl	$1044480, %edx                  ## imm = 0xFF000
LBB0_22:
	cmpl	$1, %r13d
	movl	$983040, %ecx                   ## imm = 0xF0000
	jmp	LBB0_28
LBB0_26:
	xorl	%ecx, %ecx
	cmpl	$2, %r13d
	setne	%cl
	leal	(%rcx,%rcx,4), %edx
	orl	$261091328, %edx                ## imm = 0xF8FF000
LBB0_27:
	cmpl	$1, %r13d
	movl	$261029888, %ecx                ## imm = 0xF8F0000
LBB0_28:
	cmovnel	%edx, %ecx
	movl	(%rdi), %r15d
	testl	%r9d, %ebx
	setne	%bl
	testl	%r9d, %eax
	setne	%dl
	andl	%ecx, %esi
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	setne	%cl
	testb	%dl, %cl
	jne	LBB0_32
## %bb.29:
	andb	%bl, %al
	jne	LBB0_32
## %bb.30:
	movq	%r10, %r12
	jmp	LBB0_31
LBB0_32:
	testl	%r10d, %r10d
	je	LBB0_33
## %bb.34:
	movq	%r10, %r12
	cmpl	$1, %r10d
LBB0_31:
	movl	-88(%rbp), %r13d                ## 4-byte Reload
	movl	%esi, %ebx
LBB0_39:
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_40
LBB0_17:
	andl	$4080, %ebx                     ## imm = 0xFF0
	jmp	LBB0_16
LBB0_18:
	andl	$4085, %ebx                     ## imm = 0xFF5
LBB0_16:
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movl	%edx, %r13d
LBB0_40:
	movl	%r15d, 4(%r8)
	movq	_COMP_RATR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	%r15d, -88(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movl	%r12d, -80(%rbp)
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	__rtl8723be_mrate_idx_to_arfr_id
	movl	%eax, %r11d
	orl	-84(%rbp), %r11d                ## 4-byte Folded Reload
	movl	%r11d, -76(%rbp)
	xorl	%eax, %eax
	testl	%r13d, %r13d
	sete	%al
	shll	$3, %eax
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	orl	%eax, %r15d
	movl	%r15d, -72(%rbp)
	movzbl	%bl, %r10d
	movl	%r10d, -68(%rbp)
	movzbl	%bh, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, -64(%rbp)
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %r13d
	movl	%r13d, -60(%rbp)
	movq	%r14, %rdi
	movl	%ebx, %r14d
	shrl	$24, %r14d
	movl	%r14d, -56(%rbp)
	movq	_COMP_RATR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %r9d
	movl	-88(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r14
	pushq	%r13
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%r15
	pushq	%r11
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_RT_TRACE
	addq	$64, %rsp
	movq	_H2C_8723B_RA_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rcx
	movq	%r12, %rdi
	movl	$7, %edx
	callq	_rtl8723be_fill_h2c_cmd
	movl	$3, %edi
	callq	_BIT
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	__rtl8723be_set_bcn_ctrl_reg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.41:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	%r10, %r12
	movl	$128, -84(%rbp)                 ## 4-byte Folded Spill
	movl	-88(%rbp), %r13d                ## 4-byte Reload
	movl	%esi, %ebx
	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	_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_1T1R,4,2                    ## @RF_1T1R
	.comm	_RF_1T2R,4,2                    ## @RF_1T2R
	.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:%x:%x\n"

	.comm	_H2C_8723B_RA_MASK,4,2          ## @H2C_8723B_RA_MASK
	.no_dead_strip	_rtl8723be_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 rtl8723be_update_hal_rate_mask
_rtl8723be_update_hal_rate_mask:        ; @rtl8723be_update_hal_rate_mask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	ldr	w9, [x22, #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, w9
	cset	w25, ne
	ldr	x8, [x22, #32]
	ldr	w11, [x8]
	ldr	x10, [x0]
Lloh6:
	adrp	x12, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh7:
	ldr	x12, [x12, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
Lloh9:
	adrp	x13, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh10:
	ldr	x13, [x13, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x13]
	cmp	x10, x12
	ccmp	x10, x13, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w24, #0
	ldr	w25, [x0, #8]
Lloh12:
	adrp	x12, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh13:
	ldr	x12, [x12, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
	b	LBB0_5
LBB0_2:
Lloh15:
	adrp	x12, _NL80211_IFTYPE_AP@GOTPAGE
Lloh16:
	ldr	x12, [x12, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh17:
	ldr	x13, [x12]
Lloh18:
	adrp	x12, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh19:
	ldr	x12, [x12, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh20:
	ldr	x12, [x12]
	cmp	x10, x13
	ccmp	x10, x12, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	w13, [x22]
	add	w24, w13, #1
	b	LBB0_5
LBB0_4:
	mov	w24, #0
LBB0_5:
	ldr	x13, [x22, #8]
	ldr	w13, [x13]
	cmp	x10, x12
	mov	w10, #4095
	csel	w12, w10, w13, eq
	ldr	x10, [x22, #24]
	ldp	w10, w13, [x10]
	orr	w13, w12, w13, lsl #20
	orr	w10, w13, w10, lsl #12
	sub	w13, w11, #128
	cmp	w13, #2
	b.lo	LBB0_9
; %bb.6:
	cmp	w11, #130
	b.eq	LBB0_12
; %bb.7:
	cmp	w11, #131
	b.ne	LBB0_13
; %bb.8:
Lloh21:
	adrp	x9, _RATR_INX_WIRELESS_B@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RATR_INX_WIRELESS_B@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x9]
	tst	w12, #0xc
	and	w9, w12, #0xf
	mov	w10, #13
	and	w10, w12, w10
	csel	w23, w9, w10, eq
	csel	w26, wzr, wzr, eq
	b	LBB0_15
LBB0_9:
Lloh24:
	adrp	x11, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh25:
	ldr	x11, [x11, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh26:
	adrp	x12, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh27:
	ldr	x12, [x12, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
Lloh29:
	ldr	w12, [x12]
	and	w11, w11, w9
Lloh30:
	adrp	x13, _RATR_INX_WIRELESS_NGB@GOTPAGE
Lloh31:
	ldr	x13, [x13, _RATR_INX_WIRELESS_NGB@GOTPAGEOFF]
	and	w9, w12, w9
Lloh32:
	ldr	w22, [x13]
	ldr	w12, [x20]
Lloh33:
	adrp	x13, _RF_1T1R@GOTPAGE
Lloh34:
	ldr	x13, [x13, _RF_1T1R@GOTPAGEOFF]
Lloh35:
	ldr	w13, [x13]
	mov	w14, #61440
	movk	w14, #3983, lsl #16
	add	w15, w14, #5
	cmp	w23, #2
	csel	w15, w14, w15, eq
	mov	w16, #261029888
	cmp	w23, #1
	csel	w15, w16, w15, eq
	add	w17, w14, #21
	cmp	w23, #2
	csel	w14, w14, w17, eq
	cmp	w23, #1
	csel	w14, w16, w14, eq
	cmp	w25, #0
	csel	w14, w15, w14, eq
	mov	w15, #61445
	movk	w15, #15, lsl #16
	mov	w16, #1044480
	cmp	w23, #2
	csel	w17, w16, w15, eq
	mov	w0, #983040
	cmp	w23, #1
	csel	w17, w0, w17, eq
	add	w15, w15, #16
	cmp	w23, #2
	csel	w15, w16, w15, eq
	cmp	w23, #1
	csel	w15, w0, w15, eq
	cmp	w25, #0
	csel	w15, w17, w15, eq
	cmp	w12, w13
	csel	w12, w14, w15, ne
	cmp	w25, #0
	ccmp	w9, #0, #4, eq
	cset	w9, ne
	cmp	w11, #0
	and	w23, w10, w12
	ccmp	w25, #0, #4, ne
	b.ne	LBB0_14
; %bb.10:
	cbnz	w9, LBB0_14
; %bb.11:
	mov	w26, #0
	b	LBB0_15
LBB0_12:
Lloh36:
	adrp	x9, _RATR_INX_WIRELESS_GB@GOTPAGE
Lloh37:
	ldr	x9, [x9, _RATR_INX_WIRELESS_GB@GOTPAGEOFF]
Lloh38:
	ldr	w22, [x9]
	and	w9, w12, #0xff0
	mov	w10, #4085
	and	w10, w12, w10
	and	w11, w12, #0xf00
	cmp	w23, #1
	csel	w10, w10, w11, ne
	csel	w11, wzr, wzr, ne
	cmp	w23, #2
	csel	w23, w9, w10, eq
	csel	w26, wzr, w11, eq
	b	LBB0_15
LBB0_13:
Lloh39:
	adrp	x9, _RATR_INX_WIRELESS_NGB@GOTPAGE
Lloh40:
	ldr	x9, [x9, _RATR_INX_WIRELESS_NGB@GOTPAGEOFF]
Lloh41:
	ldr	w22, [x9]
	ldr	w9, [x20]
Lloh42:
	adrp	x11, _RF_1T2R@GOTPAGE
Lloh43:
	ldr	x11, [x11, _RF_1T2R@GOTPAGEOFF]
Lloh44:
	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	w23, w12, w10, ne
	csel	w26, wzr, wzr, ne
	b	LBB0_15
LBB0_14:
	mov	w9, #128
	cmp	w24, #1
	csel	w10, wzr, wzr, ne
	cmp	w24, #0
	csel	w26, w9, w10, eq
LBB0_15:
	str	w22, [x8, #4]
Lloh45:
	adrp	x27, _COMP_RATR@GOTPAGE
Lloh46:
	ldr	x27, [x27, _COMP_RATR@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh47:
	adrp	x28, _DBG_DMESG@GOTPAGE
Lloh48:
	ldr	x28, [x28, _DBG_DMESG@GOTPAGEOFF]
	ldr	w2, [x28]
Lloh49:
	adrp	x3, l_.str@PAGE
Lloh50:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x23
	bl	_RT_TRACE
	str	w24, [sp, #76]
	mov	x0, x19
	mov	x1, x22
	bl	__rtl8723be_mrate_idx_to_arfr_id
	orr	w8, w0, w26
	cmp	w21, #0
	cset	w9, eq
	orr	w9, w25, w9, lsl #3
	stp	w8, w9, [sp, #80]
	and	w10, w23, #0xff
	ubfx	w11, w23, #8, #8
	stp	w10, w11, [sp, #88]
	ubfx	w12, w23, #16, #8
	lsr	w13, w23, #24
	stp	w12, w13, [sp, #96]
	ldr	w1, [x27]
	ldr	w2, [x28]
	stp	x12, x13, [sp, #48]
	stp	x10, x11, [sp, #32]
Lloh51:
	adrp	x3, l_.str.1@PAGE
Lloh52:
	add	x3, x3, l_.str.1@PAGEOFF
	stp	x8, x9, [sp, #16]
	stp	x23, x24, [sp]
	mov	x0, x20
	mov	x4, x22
	bl	_RT_TRACE
Lloh53:
	adrp	x8, _H2C_8723B_RA_MASK@GOTPAGE
Lloh54:
	ldr	x8, [x8, _H2C_8723B_RA_MASK@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	add	x3, sp, #76
	mov	x0, x19
	mov	w2, #7
	bl	_rtl8723be_fill_h2c_cmd
	mov	w0, #3
	bl	_BIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	__rtl8723be_set_bcn_ctrl_reg
	ldur	x8, [x29, #-88]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.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	_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_1T1R,4,2                    ; @RF_1T1R
	.comm	_RF_1T2R,4,2                    ; @RF_1T2R
	.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:%x:%x\n"

	.comm	_H2C_8723B_RA_MASK,4,2          ; @H2C_8723B_RA_MASK
	.no_dead_strip	_rtl8723be_update_hal_rate_mask
.subsections_via_symbols
