	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_normal_mode_setup_3xxx
_rt2800_normal_mode_setup_3xxx:         ## @rt2800_normal_mode_setup_3xxx
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movl	$17, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -36(%rbp)
	movq	_RFCSR17_TX_LO1_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movq	_RT3070@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_RT3071@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REV_RT3071E@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_rt_rev_lt
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_RT3090@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REV_RT3090E@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_rt_rev_lt
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_RT3390@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REV_RT3390E@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_rt_rev_lt
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_rt2x00_has_cap_external_lna_bg
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_RFCSR17_R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field8
LBB0_6:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	xorl	%ecx, %ecx
	cmpq	$1, %rax
	adcl	$1, %ecx
	movl	(%r14), %edx
	cmpl	%ecx, %edx
	jl	LBB0_8
## %bb.7:
	movq	_RFCSR17_TXMIXER_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdi
	callq	_rt2x00_set_field8
LBB0_8:
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	$17, %esi
	callq	_rt2800_rfcsr_write
	movq	_RT3090@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rbx, %rdi
	movl	$138, %esi
	callq	_rt2800_bbp_read
	movl	%eax, -40(%rbp)
	movq	_EEPROM_NIC_CONF0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2800_eeprom_read
	movl	%eax, %r14d
	movq	_EEPROM_NIC_CONF0_RXPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_rt2x00_get_field16
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.10:
	movq	_BBP138_RX_ADC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
LBB0_11:
	movq	_EEPROM_NIC_CONF0_TXPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_rt2x00_get_field16
	cmpl	$1, %eax
	jne	LBB0_13
## %bb.12:
	movq	_BBP138_TX_DAC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field8
LBB0_13:
	movl	-40(%rbp), %edx
	movq	%rbx, %rdi
	movl	$138, %esi
	callq	_rt2800_bbp_write
LBB0_14:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	movl	$27, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -36(%rbp)
	movl	(%r15), %esi
	movq	_REV_RT3070F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_rt_rev_lt
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	_RFCSR27_R1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	(%rcx,%rcx,2), %edx
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	callq	_rt2x00_set_field8
	movq	_RFCSR27_R2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movq	_RFCSR27_R3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movq	_RFCSR27_R4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	$27, %esi
	jmp	LBB0_20
LBB0_16:
	movq	_RT3071@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	testq	%rax, %rax
	jne	LBB0_19
## %bb.17:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movq	_RT3390@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	testq	%rax, %rax
	je	LBB0_21
LBB0_19:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -36(%rbp)
	movq	_RFCSR1_RF_BLOCK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field8
	movq	_RFCSR1_RX0_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movq	_RFCSR1_TX0_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movq	_RFCSR1_RX1_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field8
	movq	_RFCSR1_TX1_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field8
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -36(%rbp)
	movq	_RFCSR15_TX_LO2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -36(%rbp)
	movq	_RFCSR20_RX_LO1_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$21, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -36(%rbp)
	movq	_RFCSR21_RX_LO2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	$21, %esi
LBB0_20:
	callq	_rt2800_rfcsr_write
LBB0_21:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFCSR17_TX_LO1_EN,4,2          ## @RFCSR17_TX_LO1_EN
	.comm	_RT3070,4,2                     ## @RT3070
	.comm	_RT3071,4,2                     ## @RT3071
	.comm	_REV_RT3071E,4,2                ## @REV_RT3071E
	.comm	_RT3090,4,2                     ## @RT3090
	.comm	_REV_RT3090E,4,2                ## @REV_RT3090E
	.comm	_RT3390,4,2                     ## @RT3390
	.comm	_REV_RT3390E,4,2                ## @REV_RT3390E
	.comm	_RFCSR17_R,4,2                  ## @RFCSR17_R
	.comm	_RFCSR17_TXMIXER_GAIN,4,2       ## @RFCSR17_TXMIXER_GAIN
	.comm	_EEPROM_NIC_CONF0,4,2           ## @EEPROM_NIC_CONF0
	.comm	_EEPROM_NIC_CONF0_RXPATH,4,2    ## @EEPROM_NIC_CONF0_RXPATH
	.comm	_BBP138_RX_ADC1,4,2             ## @BBP138_RX_ADC1
	.comm	_EEPROM_NIC_CONF0_TXPATH,4,2    ## @EEPROM_NIC_CONF0_TXPATH
	.comm	_BBP138_TX_DAC1,4,2             ## @BBP138_TX_DAC1
	.comm	_REV_RT3070F,4,2                ## @REV_RT3070F
	.comm	_RFCSR27_R1,4,2                 ## @RFCSR27_R1
	.comm	_RFCSR27_R2,4,2                 ## @RFCSR27_R2
	.comm	_RFCSR27_R3,4,2                 ## @RFCSR27_R3
	.comm	_RFCSR27_R4,4,2                 ## @RFCSR27_R4
	.comm	_RFCSR1_RF_BLOCK_EN,4,2         ## @RFCSR1_RF_BLOCK_EN
	.comm	_RFCSR1_RX0_PD,4,2              ## @RFCSR1_RX0_PD
	.comm	_RFCSR1_TX0_PD,4,2              ## @RFCSR1_TX0_PD
	.comm	_RFCSR1_RX1_PD,4,2              ## @RFCSR1_RX1_PD
	.comm	_RFCSR1_TX1_PD,4,2              ## @RFCSR1_TX1_PD
	.comm	_RFCSR15_TX_LO2_EN,4,2          ## @RFCSR15_TX_LO2_EN
	.comm	_RFCSR20_RX_LO1_EN,4,2          ## @RFCSR20_RX_LO1_EN
	.comm	_RFCSR21_RX_LO2_EN,4,2          ## @RFCSR21_RX_LO2_EN
	.no_dead_strip	_rt2800_normal_mode_setup_3xxx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2800_normal_mode_setup_3xxx
_rt2800_normal_mode_setup_3xxx:         ; @rt2800_normal_mode_setup_3xxx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0]
	mov	w1, #17
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _RFCSR17_TX_LO1_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFCSR17_TX_LO1_EN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
Lloh3:
	adrp	x21, _RT3070@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RT3070@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rt2x00_rt
Lloh5:
	adrp	x22, _RT3090@GOTPAGE
Lloh6:
	ldr	x22, [x22, _RT3090@GOTPAGEOFF]
	cbnz	x0, LBB0_4
; %bb.1:
Lloh7:
	adrp	x8, _RT3071@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RT3071@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _REV_RT3071E@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REV_RT3071E@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rt2x00_rt_rev_lt
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w1, [x22]
Lloh13:
	adrp	x8, _REV_RT3090E@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REV_RT3090E@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rt2x00_rt_rev_lt
	cbnz	x0, LBB0_4
; %bb.3:
Lloh16:
	adrp	x8, _RT3390@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RT3390@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _REV_RT3390E@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REV_RT3390E@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rt2x00_rt_rev_lt
	cbz	x0, LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_rt2x00_has_cap_external_lna_bg
	cbnz	w0, LBB0_6
; %bb.5:
Lloh22:
	adrp	x8, _RFCSR17_R@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RFCSR17_R@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field8
LBB0_6:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rt2x00_rt
	cmp	x0, #0
	mov	w8, #1
	cinc	w8, w8, eq
	ldr	w2, [x20]
	cmp	w2, w8
	b.lt	LBB0_8
; %bb.7:
Lloh25:
	adrp	x8, _RFCSR17_TXMIXER_GAIN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RFCSR17_TXMIXER_GAIN@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_rt2x00_set_field8
LBB0_8:
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #17
	bl	_rt2800_rfcsr_write
	ldr	w1, [x22]
	mov	x0, x19
	bl	_rt2x00_rt
	cbz	x0, LBB0_14
; %bb.9:
	mov	x0, x19
	mov	w1, #138
	bl	_rt2800_bbp_read
	str	w0, [sp, #8]
Lloh28:
	adrp	x8, _EEPROM_NIC_CONF0@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EEPROM_NIC_CONF0@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2800_eeprom_read
	mov	x20, x0
Lloh31:
	adrp	x8, _EEPROM_NIC_CONF0_RXPATH@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EEPROM_NIC_CONF0_RXPATH@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.10:
Lloh34:
	adrp	x8, _BBP138_RX_ADC1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BBP138_RX_ADC1@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_rt2x00_set_field8
LBB0_11:
Lloh37:
	adrp	x8, _EEPROM_NIC_CONF0_TXPATH@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EEPROM_NIC_CONF0_TXPATH@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rt2x00_get_field16
	cmp	w0, #1
	b.ne	LBB0_13
; %bb.12:
Lloh40:
	adrp	x8, _BBP138_TX_DAC1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BBP138_TX_DAC1@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #1
	bl	_rt2x00_set_field8
LBB0_13:
	ldr	w2, [sp, #8]
	mov	x0, x19
	mov	w1, #138
	bl	_rt2800_bbp_write
LBB0_14:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rt2x00_rt
	cbz	x0, LBB0_16
; %bb.15:
	mov	x0, x19
	mov	w1, #27
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
	ldr	w1, [x21]
Lloh43:
	adrp	x8, _REV_RT3070F@GOTPAGE
Lloh44:
	ldr	x8, [x8, _REV_RT3070F@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rt2x00_rt_rev_lt
Lloh46:
	adrp	x8, _RFCSR27_R1@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RFCSR27_R1@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	cmp	x0, #0
	mov	w8, #3
	csel	w2, wzr, w8, eq
	add	x0, sp, #12
	bl	_rt2x00_set_field8
Lloh49:
	adrp	x8, _RFCSR27_R2@GOTPAGE
Lloh50:
	ldr	x8, [x8, _RFCSR27_R2@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
Lloh52:
	adrp	x8, _RFCSR27_R3@GOTPAGE
Lloh53:
	ldr	x8, [x8, _RFCSR27_R3@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
Lloh55:
	adrp	x8, _RFCSR27_R4@GOTPAGE
Lloh56:
	ldr	x8, [x8, _RFCSR27_R4@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #27
	b	LBB0_20
LBB0_16:
Lloh58:
	adrp	x8, _RT3071@GOTPAGE
Lloh59:
	ldr	x8, [x8, _RT3071@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2x00_rt
	cbnz	x0, LBB0_19
; %bb.17:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_rt2x00_rt
	cbnz	x0, LBB0_19
; %bb.18:
Lloh61:
	adrp	x8, _RT3390@GOTPAGE
Lloh62:
	ldr	x8, [x8, _RT3390@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2x00_rt
	cbz	x0, LBB0_21
LBB0_19:
	mov	x0, x19
	mov	w1, #1
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh64:
	adrp	x8, _RFCSR1_RF_BLOCK_EN@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RFCSR1_RF_BLOCK_EN@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field8
Lloh67:
	adrp	x8, _RFCSR1_RX0_PD@GOTPAGE
Lloh68:
	ldr	x8, [x8, _RFCSR1_RX0_PD@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
Lloh70:
	adrp	x8, _RFCSR1_TX0_PD@GOTPAGE
Lloh71:
	ldr	x8, [x8, _RFCSR1_TX0_PD@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
Lloh73:
	adrp	x8, _RFCSR1_RX1_PD@GOTPAGE
Lloh74:
	ldr	x8, [x8, _RFCSR1_RX1_PD@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field8
Lloh76:
	adrp	x8, _RFCSR1_TX1_PD@GOTPAGE
Lloh77:
	ldr	x8, [x8, _RFCSR1_TX1_PD@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #1
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #15
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh79:
	adrp	x8, _RFCSR15_TX_LO2_EN@GOTPAGE
Lloh80:
	ldr	x8, [x8, _RFCSR15_TX_LO2_EN@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #15
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #20
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh82:
	adrp	x8, _RFCSR20_RX_LO1_EN@GOTPAGE
Lloh83:
	ldr	x8, [x8, _RFCSR20_RX_LO1_EN@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #20
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #21
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh85:
	adrp	x8, _RFCSR21_RX_LO2_EN@GOTPAGE
Lloh86:
	ldr	x8, [x8, _RFCSR21_RX_LO2_EN@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #21
LBB0_20:
	bl	_rt2800_rfcsr_write
LBB0_21:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.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 AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_RFCSR17_TX_LO1_EN,4,2          ; @RFCSR17_TX_LO1_EN
	.comm	_RT3070,4,2                     ; @RT3070
	.comm	_RT3071,4,2                     ; @RT3071
	.comm	_REV_RT3071E,4,2                ; @REV_RT3071E
	.comm	_RT3090,4,2                     ; @RT3090
	.comm	_REV_RT3090E,4,2                ; @REV_RT3090E
	.comm	_RT3390,4,2                     ; @RT3390
	.comm	_REV_RT3390E,4,2                ; @REV_RT3390E
	.comm	_RFCSR17_R,4,2                  ; @RFCSR17_R
	.comm	_RFCSR17_TXMIXER_GAIN,4,2       ; @RFCSR17_TXMIXER_GAIN
	.comm	_EEPROM_NIC_CONF0,4,2           ; @EEPROM_NIC_CONF0
	.comm	_EEPROM_NIC_CONF0_RXPATH,4,2    ; @EEPROM_NIC_CONF0_RXPATH
	.comm	_BBP138_RX_ADC1,4,2             ; @BBP138_RX_ADC1
	.comm	_EEPROM_NIC_CONF0_TXPATH,4,2    ; @EEPROM_NIC_CONF0_TXPATH
	.comm	_BBP138_TX_DAC1,4,2             ; @BBP138_TX_DAC1
	.comm	_REV_RT3070F,4,2                ; @REV_RT3070F
	.comm	_RFCSR27_R1,4,2                 ; @RFCSR27_R1
	.comm	_RFCSR27_R2,4,2                 ; @RFCSR27_R2
	.comm	_RFCSR27_R3,4,2                 ; @RFCSR27_R3
	.comm	_RFCSR27_R4,4,2                 ; @RFCSR27_R4
	.comm	_RFCSR1_RF_BLOCK_EN,4,2         ; @RFCSR1_RF_BLOCK_EN
	.comm	_RFCSR1_RX0_PD,4,2              ; @RFCSR1_RX0_PD
	.comm	_RFCSR1_TX0_PD,4,2              ; @RFCSR1_TX0_PD
	.comm	_RFCSR1_RX1_PD,4,2              ; @RFCSR1_RX1_PD
	.comm	_RFCSR1_TX1_PD,4,2              ; @RFCSR1_TX1_PD
	.comm	_RFCSR15_TX_LO2_EN,4,2          ; @RFCSR15_TX_LO2_EN
	.comm	_RFCSR20_RX_LO1_EN,4,2          ; @RFCSR20_RX_LO1_EN
	.comm	_RFCSR21_RX_LO2_EN,4,2          ; @RFCSR21_RX_LO2_EN
	.no_dead_strip	_rt2800_normal_mode_setup_3xxx
.subsections_via_symbols
