	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_normal_mode_setup_3593
_rt2800_normal_mode_setup_3593:         ## @rt2800_normal_mode_setup_3593
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movl	$50, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -28(%rbp)
	movq	_RFCSR50_TX_LO2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %r14
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	movl	$50, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$51, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -28(%rbp)
	movl	(%r15), %edi
	movq	_RFCSR17_TXMIXER_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2x00_get_field8
	movq	_RFCSR51_BITS24@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field8
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	movl	$51, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$38, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -28(%rbp)
	movq	_RFCSR38_RX_LO1_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	movl	$38, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$39, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -28(%rbp)
	movq	_RFCSR39_RX_LO2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field8
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	movl	$39, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -28(%rbp)
	movq	_RFCSR1_RF_BLOCK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field8
	movq	_RFCSR1_PLL_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field8
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$30, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -28(%rbp)
	movq	_RFCSR30_RX_VCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_rt2x00_set_field8
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	movl	$30, %esi
	callq	_rt2800_rfcsr_write
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFCSR50_TX_LO2_EN,4,2          ## @RFCSR50_TX_LO2_EN
	.comm	_RFCSR17_TXMIXER_GAIN,4,2       ## @RFCSR17_TXMIXER_GAIN
	.comm	_RFCSR51_BITS24,4,2             ## @RFCSR51_BITS24
	.comm	_RFCSR38_RX_LO1_EN,4,2          ## @RFCSR38_RX_LO1_EN
	.comm	_RFCSR39_RX_LO2_EN,4,2          ## @RFCSR39_RX_LO2_EN
	.comm	_RFCSR1_RF_BLOCK_EN,4,2         ## @RFCSR1_RF_BLOCK_EN
	.comm	_RFCSR1_PLL_PD,4,2              ## @RFCSR1_PLL_PD
	.comm	_RFCSR30_RX_VCM,4,2             ## @RFCSR30_RX_VCM
	.no_dead_strip	_rt2800_normal_mode_setup_3593
.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_3593
_rt2800_normal_mode_setup_3593:         ; @rt2800_normal_mode_setup_3593
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	mov	w1, #50
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _RFCSR50_TX_LO2_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFCSR50_TX_LO2_EN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #50
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #51
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _RFCSR17_TXMIXER_GAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RFCSR17_TXMIXER_GAIN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_rt2x00_get_field8
	mov	x2, x0
Lloh6:
	adrp	x8, _RFCSR51_BITS24@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RFCSR51_BITS24@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #51
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #38
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh9:
	adrp	x8, _RFCSR38_RX_LO1_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RFCSR38_RX_LO1_EN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #38
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #39
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh12:
	adrp	x8, _RFCSR39_RX_LO2_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RFCSR39_RX_LO2_EN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #39
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #1
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh15:
	adrp	x8, _RFCSR1_RF_BLOCK_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RFCSR1_RF_BLOCK_EN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field8
Lloh18:
	adrp	x8, _RFCSR1_PLL_PD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RFCSR1_PLL_PD@GOTPAGEOFF]
Lloh20:
	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, #30
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh21:
	adrp	x8, _RFCSR30_RX_VCM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RFCSR30_RX_VCM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #2
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #30
	bl	_rt2800_rfcsr_write
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RFCSR50_TX_LO2_EN,4,2          ; @RFCSR50_TX_LO2_EN
	.comm	_RFCSR17_TXMIXER_GAIN,4,2       ; @RFCSR17_TXMIXER_GAIN
	.comm	_RFCSR51_BITS24,4,2             ; @RFCSR51_BITS24
	.comm	_RFCSR38_RX_LO1_EN,4,2          ; @RFCSR38_RX_LO1_EN
	.comm	_RFCSR39_RX_LO2_EN,4,2          ; @RFCSR39_RX_LO2_EN
	.comm	_RFCSR1_RF_BLOCK_EN,4,2         ; @RFCSR1_RF_BLOCK_EN
	.comm	_RFCSR1_PLL_PD,4,2              ; @RFCSR1_PLL_PD
	.comm	_RFCSR30_RX_VCM,4,2             ; @RFCSR30_RX_VCM
	.no_dead_strip	_rt2800_normal_mode_setup_3593
.subsections_via_symbols
