	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822b_config_trx_mode
_rtw8822b_config_trx_mode:              ## @rtw8822b_config_trx_mode
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	8(%rdi), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	16(%rdi), %rbx
	movq	_rtw8822b_rfe_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setae	%dil
	movq	16(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_WARN
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	16(%r14), %rax
	shlq	$3, %rax
	movq	_rtw8822b_rfe_info@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %ebx
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	orl	%r15d, %ebx
	movq	_BB_PATH_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_REG_AGCTR_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKLWORD@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	$4369, %r13d                    ## imm = 0x1111
	movl	$12849, %r15d                   ## imm = 0x3231
	movl	$12849, %ecx                    ## imm = 0x3231
	cmovel	%r13d, %ecx
	movq	%r14, %rdi
	callq	_rtw_write32_mask
	movq	_BB_PATH_B@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	cmovel	%r13d, %r15d
	movq	_REG_AGCTR_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_rtw_write32_mask
	movq	_REG_CDDTXP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movl	$19, %edi
	callq	_BIT
	movl	%eax, %r13d
	movl	$18, %edi
	callq	_BIT
	orl	%eax, %r13d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	$3, %ecx
	callq	_rtw_write32_mask
	movq	_REG_TXPSEL@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movl	$29, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$28, %edi
	callq	_BIT
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$1, %ecx
	callq	_rtw_write32_mask
	movl	(%r15), %r12d
	movl	$30, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_rtw_write32_mask
	movl	$8, %r13d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r12d
	movq	_BB_PATH_A@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	$1, %ecx
	jne	LBB0_4
## %bb.2:
	movq	_BB_PATH_B@GOTPCREL(%rip), %r13
	movl	%r12d, %ebx
	testl	%r12d, (%r13)
	je	LBB0_5
## %bb.3:
	movl	$4, %r13d
	movl	$2, %ecx
	movq	_REG_CDDTXP@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$-1048576, %edx                 ## imm = 0xFFF00000
	callq	_rtw_write32_mask
	movq	_REG_ADCINI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-268435456, %edx               ## imm = 0xF0000000
	movl	%r13d, %ecx
	callq	_rtw_write32_mask
	movq	_BB_PATH_B@GOTPCREL(%rip), %r13
	movl	%r12d, %ebx
LBB0_5:
	cmpl	%ebx, (%r13)
	movl	$1, %eax
	movl	$67, %ecx
	cmovel	%eax, %ecx
	movq	_BB_PATH_A@GOTPCREL(%rip), %r15
	cmpl	%ebx, (%r15)
	cmovel	%eax, %ecx
	movq	_REG_TXPSEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$65520, %edx                    ## imm = 0xFFF0
	callq	_rtw_write32_mask
	movl	%ebx, %ecx
	shll	$4, %ecx
	orl	%ebx, %ecx
	movq	_REG_TXPSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKBYTE0@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_rtw_write32_mask
	cmpl	%ebx, (%r15)
	je	LBB0_10
## %bb.6:
	cmpl	%ebx, (%r13)
	je	LBB0_10
## %bb.7:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.8:
	cmpq	$0, (%r14)
	je	LBB0_10
LBB0_9:
	movq	_REG_CDDTXP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1048576, %edx                 ## imm = 0xFFF00000
	movl	$67, %ecx
	callq	_rtw_write32_mask
	movq	_REG_ADCINI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-268435456, %edx               ## imm = 0xF0000000
	movl	$12, %ecx
	callq	_rtw_write32_mask
LBB0_10:
	movq	_REG_RXDESC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movl	$22, %edi
	callq	_BIT
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_rtw_write32_mask
	movl	(%rbx), %r15d
	movl	$18, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	_BB_PATH_B@GOTPCREL(%rip), %r15
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_rtw_write32_mask
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_BB_PATH_A@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.11:
	movl	$5, %r13d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r15)
	je	LBB0_13
LBB0_12:
	movq	_REG_ADCINI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$251658240, %edx                ## imm = 0xF000000
	movl	%r13d, %ecx
	callq	_rtw_write32_mask
LBB0_13:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	shll	$4, %ecx
	orl	%ebx, %ecx
	movq	_REG_RXPSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_rtw_write32_mask
	movq	_BB_PATH_A@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	setne	%al
	cmpl	%ebx, (%r15)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %ebx
	movq	_REG_ANTWT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$16, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_rtw_write32_mask
	movq	_REG_HTSTFWT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$28, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_rtw_write32_mask
	movq	_REG_MRC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$23, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_rtw_write32_mask
	movl	$101, %r15d
	movq	_RF_PATH_A@GOTPCREL(%rip), %rbx
	movq	_RF_LUTWE@GOTPCREL(%rip), %r13
	movq	_RFREG_MASK@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	(%r13), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$524288, %r8d                   ## imm = 0x80000
	callq	_rtw_write_rf
	movl	(%rbx), %esi
	movq	_RF_LUTWA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$1, %r8d
	callq	_rtw_write_rf
	movl	$2, %edi
	callq	_udelay
	movl	(%rbx), %esi
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$51, %edx
	callq	_rtw_read_rf
	decl	%r15d
	cmpl	$1, %eax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$1, %r15d
	ja	LBB0_14
## %bb.16:
	xorl	%r15d, %r15d
LBB0_17:
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setle	%dil
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_WARN
	testq	%rax, %rax
	je	LBB0_19
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	(%rbx), %esi
	movl	(%r13), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$524288, %r8d                   ## imm = 0x80000
	callq	_rtw_write_rf
	movl	(%rbx), %esi
	movq	_RF_LUTWA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$1, %r8d
	callq	_rtw_write_rf
	movl	(%rbx), %esi
	movq	_RF_LUTWD1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$52, %r8d
	callq	_rtw_write_rf
	movl	(%rbx), %esi
	movq	_RF_LUTWD0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$264204, %r8d                   ## imm = 0x4080C
	callq	_rtw_write_rf
	movl	(%rbx), %esi
	movl	(%r13), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_rtw_write_rf
	movl	(%rbx), %esi
	movl	(%r13), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_rtw_write_rf
	movq	%r14, %rdi
	callq	_rtw8822b_toggle_igi
	movq	_RTW_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_rtw8822b_set_channel_cca
	movq	(%rbx), %rax
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rtw8822b_rfe_info,8,3          ## @rtw8822b_rfe_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rfe_option %d is out of boundary\n"

	.comm	_BB_PATH_A,4,2                  ## @BB_PATH_A
	.comm	_REG_AGCTR_A,4,2                ## @REG_AGCTR_A
	.comm	_MASKLWORD,4,2                  ## @MASKLWORD
	.comm	_BB_PATH_B,4,2                  ## @BB_PATH_B
	.comm	_REG_AGCTR_B,4,2                ## @REG_AGCTR_B
	.comm	_REG_CDDTXP,4,2                 ## @REG_CDDTXP
	.comm	_REG_TXPSEL,4,2                 ## @REG_TXPSEL
	.comm	_REG_ADCINI,4,2                 ## @REG_ADCINI
	.comm	_REG_TXPSEL1,4,2                ## @REG_TXPSEL1
	.comm	_MASKBYTE0,4,2                  ## @MASKBYTE0
	.comm	_REG_RXDESC,4,2                 ## @REG_RXDESC
	.comm	_REG_RXPSEL,4,2                 ## @REG_RXPSEL
	.comm	_REG_ANTWT,4,2                  ## @REG_ANTWT
	.comm	_REG_HTSTFWT,4,2                ## @REG_HTSTFWT
	.comm	_REG_MRC,4,2                    ## @REG_MRC
	.comm	_RF_PATH_A,4,2                  ## @RF_PATH_A
	.comm	_RF_LUTWE,4,2                   ## @RF_LUTWE
	.comm	_RFREG_MASK,4,2                 ## @RFREG_MASK
	.comm	_RF_LUTWA,4,2                   ## @RF_LUTWA
L_.str.1:                               ## @.str.1
	.asciz	"write RF mode table fail\n"

	.comm	_RF_LUTWD1,4,2                  ## @RF_LUTWD1
	.comm	_RF_LUTWD0,4,2                  ## @RF_LUTWD0
	.comm	_RTW_CHANNEL_WIDTH_20,4,2       ## @RTW_CHANNEL_WIDTH_20
	.no_dead_strip	_rtw8822b_config_trx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822b_config_trx_mode
_rtw8822b_config_trx_mode:              ; @rtw8822b_config_trx_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w25, [x0, #8]
	ldr	x24, [x0, #16]
Lloh0:
	adrp	x19, _rtw8822b_rfe_info@GOTPAGE
Lloh1:
	ldr	x19, [x19, _rtw8822b_rfe_info@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x24, x0
	cset	w0, hs
	ldr	x8, [x20, #16]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN
	cbnz	x0, LBB0_21
; %bb.1:
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	ldr	x9, [x19]
	ldr	x8, [x20, #16]
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
Lloh4:
	adrp	x26, _BB_PATH_A@GOTPAGE
Lloh5:
	ldr	x26, [x26, _BB_PATH_A@GOTPAGEOFF]
	orr	w19, w21, w23
	ldr	w8, [x26]
Lloh6:
	adrp	x9, _REG_AGCTR_A@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_AGCTR_A@GOTPAGEOFF]
Lloh8:
	adrp	x24, _MASKLWORD@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MASKLWORD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	ldr	w2, [x24]
	tst	w8, w19
	mov	w25, #12849
	mov	w28, #4369
	csel	w3, w28, w25, eq
	mov	x0, x20
	bl	_rtw_write32_mask
Lloh11:
	adrp	x27, _BB_PATH_B@GOTPAGE
Lloh12:
	ldr	x27, [x27, _BB_PATH_B@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w19
	csel	w3, w28, w25, eq
Lloh13:
	adrp	x8, _REG_AGCTR_B@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REG_AGCTR_B@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_rtw_write32_mask
Lloh16:
	adrp	x28, _REG_CDDTXP@GOTPAGE
Lloh17:
	ldr	x28, [x28, _REG_CDDTXP@GOTPAGEOFF]
	ldr	w24, [x28]
	mov	w0, #19
	bl	_BIT
	mov	x25, x0
	mov	w0, #18
	bl	_BIT
	orr	w2, w0, w25
	mov	x0, x20
	mov	x1, x24
	mov	w3, #3
	bl	_rtw_write32_mask
Lloh18:
	adrp	x19, _REG_TXPSEL@GOTPAGE
Lloh19:
	ldr	x19, [x19, _REG_TXPSEL@GOTPAGEOFF]
	ldr	w25, [x19]
	mov	w0, #29
	bl	_BIT
	mov	x24, x0
	mov	w0, #28
	bl	_BIT
	orr	w2, w0, w24
	mov	w24, #1
	mov	x0, x20
	mov	x1, x25
	mov	w3, #1
	bl	_rtw_write32_mask
	ldr	w25, [x19]
	mov	w0, #30
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	mov	w3, #1
	bl	_rtw_write32_mask
	ldr	w8, [x26]
	tst	w8, w23
	b.eq	LBB0_3
; %bb.2:
	mov	w25, #8
	b	LBB0_5
LBB0_3:
	ldr	w8, [x27]
	tst	w8, w23
	b.eq	LBB0_6
; %bb.4:
	mov	w25, #4
	mov	w24, #2
LBB0_5:
	ldr	w1, [x28]
	mov	x0, x20
	mov	w2, #-1048576
	mov	x3, x24
	bl	_rtw_write32_mask
Lloh20:
	adrp	x8, _REG_ADCINI@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REG_ADCINI@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-268435456
	mov	x3, x25
	bl	_rtw_write32_mask
LBB0_6:
	ldr	w8, [x26]
	ldr	w9, [x27]
	cmp	w9, w23
	ccmp	w8, w23, #4, ne
	mov	w8, #67
	csinc	w3, w8, wzr, ne
Lloh23:
	adrp	x8, _REG_TXPSEL1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REG_TXPSEL1@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #65520
	bl	_rtw_write32_mask
	orr	w3, w23, w23, lsl #4
	ldr	w1, [x19]
Lloh26:
	adrp	x24, _MASKBYTE0@GOTPAGE
Lloh27:
	ldr	x24, [x24, _MASKBYTE0@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_rtw_write32_mask
	ldr	w8, [x26]
	cmp	w8, w23
	b.eq	LBB0_11
; %bb.7:
	ldr	w8, [x27]
	cmp	w8, w23
	b.eq	LBB0_11
; %bb.8:
	cbnz	w22, LBB0_10
; %bb.9:
	ldr	x8, [x20]
	cbz	x8, LBB0_11
LBB0_10:
	ldr	w1, [x28]
	mov	x0, x20
	mov	w2, #-1048576
	mov	w3, #67
	bl	_rtw_write32_mask
Lloh28:
	adrp	x8, _REG_ADCINI@GOTPAGE
Lloh29:
	ldr	x8, [x8, _REG_ADCINI@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-268435456
	mov	w3, #12
	bl	_rtw_write32_mask
LBB0_11:
	ldp	x9, x8, [sp, #16]               ; 16-byte Folded Reload
	add	x22, x8, x9, lsl #3
Lloh31:
	adrp	x19, _REG_RXDESC@GOTPAGE
Lloh32:
	ldr	x19, [x19, _REG_RXDESC@GOTPAGEOFF]
	ldr	w23, [x19]
	mov	w0, #22
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	bl	_rtw_write32_mask
	ldr	w23, [x19]
	mov	w0, #18
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	bl	_rtw_write32_mask
	mov	w3, #0
	ldr	w8, [x26]
	tst	w8, w21
	b.ne	LBB0_14
; %bb.12:
	ldr	w8, [x27]
	tst	w8, w21
	b.eq	LBB0_15
; %bb.13:
	mov	w3, #5
LBB0_14:
Lloh33:
	adrp	x8, _REG_ADCINI@GOTPAGE
Lloh34:
	ldr	x8, [x8, _REG_ADCINI@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #251658240
	bl	_rtw_write32_mask
LBB0_15:
	orr	w3, w21, w21, lsl #4
Lloh36:
	adrp	x8, _REG_RXPSEL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _REG_RXPSEL@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_rtw_write32_mask
	ldr	w8, [x26]
	cmp	w8, w21
	ldr	w8, [x27]
	ccmp	w8, w21, #4, ne
	cset	w21, ne
Lloh39:
	adrp	x8, _REG_ANTWT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _REG_ANTWT@GOTPAGEOFF]
Lloh41:
	ldr	w23, [x8]
	mov	w0, #16
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	mov	x3, x21
	bl	_rtw_write32_mask
Lloh42:
	adrp	x8, _REG_HTSTFWT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _REG_HTSTFWT@GOTPAGEOFF]
Lloh44:
	ldr	w23, [x8]
	mov	w0, #28
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	mov	x3, x21
	bl	_rtw_write32_mask
Lloh45:
	adrp	x8, _REG_MRC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _REG_MRC@GOTPAGEOFF]
Lloh47:
	ldr	w23, [x8]
	mov	w0, #23
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	mov	x3, x21
	bl	_rtw_write32_mask
	mov	w25, #101
Lloh48:
	adrp	x19, _RF_PATH_A@GOTPAGE
Lloh49:
	ldr	x19, [x19, _RF_PATH_A@GOTPAGEOFF]
Lloh50:
	adrp	x21, _RF_LUTWE@GOTPAGE
Lloh51:
	ldr	x21, [x21, _RF_LUTWE@GOTPAGEOFF]
Lloh52:
	adrp	x23, _RFREG_MASK@GOTPAGE
Lloh53:
	ldr	x23, [x23, _RFREG_MASK@GOTPAGEOFF]
Lloh54:
	adrp	x24, _RF_LUTWA@GOTPAGE
Lloh55:
	ldr	x24, [x24, _RF_LUTWA@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	ldr	w2, [x21]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #524288
	bl	_rtw_write_rf
	ldr	w1, [x19]
	ldr	w2, [x24]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #1
	bl	_rtw_write_rf
	mov	w0, #2
	bl	_udelay
	ldr	w1, [x19]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #51
	bl	_rtw_read_rf
	cmp	w0, #1
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w25, w25, #1
	cmp	w25, #1
	b.hi	LBB0_16
; %bb.18:
	mov	w8, #0
	b	LBB0_20
LBB0_19:
	sub	w8, w25, #1
LBB0_20:
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w8, #1
	cset	w0, lt
Lloh56:
	adrp	x1, l_.str.1@PAGE
Lloh57:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN
	cbz	x0, LBB0_22
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
	ldr	w1, [x19]
	ldr	w2, [x21]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #524288
	bl	_rtw_write_rf
	ldr	w1, [x19]
	ldr	w2, [x24]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #1
	bl	_rtw_write_rf
	ldr	w1, [x19]
Lloh58:
	adrp	x8, _RF_LUTWD1@GOTPAGE
Lloh59:
	ldr	x8, [x8, _RF_LUTWD1@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #52
	bl	_rtw_write_rf
	ldr	w1, [x19]
Lloh61:
	adrp	x8, _RF_LUTWD0@GOTPAGE
Lloh62:
	ldr	x8, [x8, _RF_LUTWD0@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #2060
	movk	w4, #4, lsl #16
	bl	_rtw_write_rf
	ldr	w1, [x19]
	ldr	w2, [x21]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #0
	bl	_rtw_write_rf
	ldr	w1, [x19]
	ldr	w2, [x21]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w4, #0
	bl	_rtw_write_rf
	mov	x0, x20
	bl	_rtw8822b_toggle_igi
Lloh64:
	adrp	x8, _RTW_CHANNEL_WIDTH_20@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RTW_CHANNEL_WIDTH_20@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #1
	mov	x3, x22
	bl	_rtw8822b_set_channel_cca
	ldr	x2, [x22]
	mov	x0, x20
	mov	x1, x25
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	br	x2
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_rtw8822b_rfe_info,8,3          ; @rtw8822b_rfe_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rfe_option %d is out of boundary\n"

	.comm	_BB_PATH_A,4,2                  ; @BB_PATH_A
	.comm	_REG_AGCTR_A,4,2                ; @REG_AGCTR_A
	.comm	_MASKLWORD,4,2                  ; @MASKLWORD
	.comm	_BB_PATH_B,4,2                  ; @BB_PATH_B
	.comm	_REG_AGCTR_B,4,2                ; @REG_AGCTR_B
	.comm	_REG_CDDTXP,4,2                 ; @REG_CDDTXP
	.comm	_REG_TXPSEL,4,2                 ; @REG_TXPSEL
	.comm	_REG_ADCINI,4,2                 ; @REG_ADCINI
	.comm	_REG_TXPSEL1,4,2                ; @REG_TXPSEL1
	.comm	_MASKBYTE0,4,2                  ; @MASKBYTE0
	.comm	_REG_RXDESC,4,2                 ; @REG_RXDESC
	.comm	_REG_RXPSEL,4,2                 ; @REG_RXPSEL
	.comm	_REG_ANTWT,4,2                  ; @REG_ANTWT
	.comm	_REG_HTSTFWT,4,2                ; @REG_HTSTFWT
	.comm	_REG_MRC,4,2                    ; @REG_MRC
	.comm	_RF_PATH_A,4,2                  ; @RF_PATH_A
	.comm	_RF_LUTWE,4,2                   ; @RF_LUTWE
	.comm	_RFREG_MASK,4,2                 ; @RFREG_MASK
	.comm	_RF_LUTWA,4,2                   ; @RF_LUTWA
l_.str.1:                               ; @.str.1
	.asciz	"write RF mode table fail\n"

	.comm	_RF_LUTWD1,4,2                  ; @RF_LUTWD1
	.comm	_RF_LUTWD0,4,2                  ; @RF_LUTWD0
	.comm	_RTW_CHANNEL_WIDTH_20,4,2       ; @RTW_CHANNEL_WIDTH_20
	.no_dead_strip	_rtw8822b_config_trx_mode
.subsections_via_symbols
