	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rts524a_optimize_phy
_rts524a_optimize_phy:                  ## @rts524a_optimize_phy
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_RTS524A_PM_CTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_D3_DELINK_MODE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_rtsx_pci_write_register
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_PHY_PCR_FORCE_CODE@GOTPCREL(%rip), %rax
	movq	_PHY_PCR_OOBS_CALI_50@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_PCR_OOBS_VCM_08@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_PCR@GOTPCREL(%rip), %rax
	movq	_PHY_PCR_OOBS_SEN_90@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_PCR_RSSI_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	movq	_PHY_SSCCR3@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_PHY_SSCCR3_STEP_IN@GOTPCREL(%rip), %r14
	movq	_PHY_SSCCR3_CHECK_DELAY@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	movq	_IC_VER_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$21066, %esi                    ## imm = 0x524A
	callq	_is_version
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	movl	(%r12), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	movq	_PHY_SSCCR2@GOTPCREL(%rip), %rax
	movq	_PHY_SSCCR2_PLL_NCODE@GOTPCREL(%rip), %rcx
	movq	_PHY_SSCCR2_TIME0@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_SSCCR2_TIME2_WIDTH@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	movq	_PHY_ANA1A_TXR_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_PHY_ANA1A_RXT_BIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_ANA1A@GOTPCREL(%rip), %rax
	movq	_PHY_ANA1A_TXR_BIST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_ANA1A_REV@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	movq	_PHY_ANA1D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_ANA1D_DEBUG_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	movq	_PHY_DIG1E_REV@GOTPCREL(%rip), %rax
	movq	_PHY_DIG1E_D0_X_D1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_DIG1E_RX_ON_HOST@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_DIG1E_RCLK_REF_HOST@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_DIG1E_RCLK_TX_EN_KEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_DIG1E_RCLK_TX_TERM_KEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_DIG1E_RCLK_RX_EIDLE_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_DIG1E_TX_TERM_KEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_DIG1E_RX_TERM_KEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_DIG1E@GOTPCREL(%rip), %rax
	movq	_PHY_DIG1E_TX_EN_KEEP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_DIG1E_RX_EN_KEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
LBB0_3:
	movq	_PHY_ANA08_RX_EQ_DCGAIN@GOTPCREL(%rip), %rax
	movq	_PHY_ANA08_SEL_RX_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_ANA08_RX_EQ_VAL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_ANA08@GOTPCREL(%rip), %rax
	movq	_PHY_ANA08_SCP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_ANA08_SEL_IPI@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTS524A_PM_CTRL3,4,2           ## @RTS524A_PM_CTRL3
	.comm	_D3_DELINK_MODE_EN,4,2          ## @D3_DELINK_MODE_EN
	.comm	_PHY_PCR,4,2                    ## @PHY_PCR
	.comm	_PHY_PCR_FORCE_CODE,4,2         ## @PHY_PCR_FORCE_CODE
	.comm	_PHY_PCR_OOBS_CALI_50,4,2       ## @PHY_PCR_OOBS_CALI_50
	.comm	_PHY_PCR_OOBS_VCM_08,4,2        ## @PHY_PCR_OOBS_VCM_08
	.comm	_PHY_PCR_OOBS_SEN_90,4,2        ## @PHY_PCR_OOBS_SEN_90
	.comm	_PHY_PCR_RSSI_EN,4,2            ## @PHY_PCR_RSSI_EN
	.comm	_PHY_SSCCR3,4,2                 ## @PHY_SSCCR3
	.comm	_PHY_SSCCR3_STEP_IN,4,2         ## @PHY_SSCCR3_STEP_IN
	.comm	_PHY_SSCCR3_CHECK_DELAY,4,2     ## @PHY_SSCCR3_CHECK_DELAY
	.comm	_IC_VER_A,4,2                   ## @IC_VER_A
	.comm	_PHY_SSCCR2,4,2                 ## @PHY_SSCCR2
	.comm	_PHY_SSCCR2_PLL_NCODE,4,2       ## @PHY_SSCCR2_PLL_NCODE
	.comm	_PHY_SSCCR2_TIME0,4,2           ## @PHY_SSCCR2_TIME0
	.comm	_PHY_SSCCR2_TIME2_WIDTH,4,2     ## @PHY_SSCCR2_TIME2_WIDTH
	.comm	_PHY_ANA1A,4,2                  ## @PHY_ANA1A
	.comm	_PHY_ANA1A_TXR_LOOPBACK,4,2     ## @PHY_ANA1A_TXR_LOOPBACK
	.comm	_PHY_ANA1A_RXT_BIST,4,2         ## @PHY_ANA1A_RXT_BIST
	.comm	_PHY_ANA1A_TXR_BIST,4,2         ## @PHY_ANA1A_TXR_BIST
	.comm	_PHY_ANA1A_REV,4,2              ## @PHY_ANA1A_REV
	.comm	_PHY_ANA1D,4,2                  ## @PHY_ANA1D
	.comm	_PHY_ANA1D_DEBUG_ADDR,4,2       ## @PHY_ANA1D_DEBUG_ADDR
	.comm	_PHY_DIG1E,4,2                  ## @PHY_DIG1E
	.comm	_PHY_DIG1E_REV,4,2              ## @PHY_DIG1E_REV
	.comm	_PHY_DIG1E_D0_X_D1,4,2          ## @PHY_DIG1E_D0_X_D1
	.comm	_PHY_DIG1E_RX_ON_HOST,4,2       ## @PHY_DIG1E_RX_ON_HOST
	.comm	_PHY_DIG1E_RCLK_REF_HOST,4,2    ## @PHY_DIG1E_RCLK_REF_HOST
	.comm	_PHY_DIG1E_RCLK_TX_EN_KEEP,4,2  ## @PHY_DIG1E_RCLK_TX_EN_KEEP
	.comm	_PHY_DIG1E_RCLK_TX_TERM_KEEP,4,2 ## @PHY_DIG1E_RCLK_TX_TERM_KEEP
	.comm	_PHY_DIG1E_RCLK_RX_EIDLE_ON,4,2 ## @PHY_DIG1E_RCLK_RX_EIDLE_ON
	.comm	_PHY_DIG1E_TX_TERM_KEEP,4,2     ## @PHY_DIG1E_TX_TERM_KEEP
	.comm	_PHY_DIG1E_RX_TERM_KEEP,4,2     ## @PHY_DIG1E_RX_TERM_KEEP
	.comm	_PHY_DIG1E_TX_EN_KEEP,4,2       ## @PHY_DIG1E_TX_EN_KEEP
	.comm	_PHY_DIG1E_RX_EN_KEEP,4,2       ## @PHY_DIG1E_RX_EN_KEEP
	.comm	_PHY_ANA08,4,2                  ## @PHY_ANA08
	.comm	_PHY_ANA08_RX_EQ_DCGAIN,4,2     ## @PHY_ANA08_RX_EQ_DCGAIN
	.comm	_PHY_ANA08_SEL_RX_EN,4,2        ## @PHY_ANA08_SEL_RX_EN
	.comm	_PHY_ANA08_RX_EQ_VAL,4,2        ## @PHY_ANA08_RX_EQ_VAL
	.comm	_PHY_ANA08_SCP,4,2              ## @PHY_ANA08_SCP
	.comm	_PHY_ANA08_SEL_IPI,4,2          ## @PHY_ANA08_SEL_IPI
	.no_dead_strip	_rts524a_optimize_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rts524a_optimize_phy
_rts524a_optimize_phy:                  ; @rts524a_optimize_phy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _RTS524A_PM_CTRL3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTS524A_PM_CTRL3@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _D3_DELINK_MODE_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D3_DELINK_MODE_EN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_rtsx_pci_write_register
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _PHY_PCR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PHY_PCR@GOTPAGEOFF]
Lloh8:
	adrp	x9, _PHY_PCR_FORCE_CODE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PHY_PCR_FORCE_CODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w8, [x9]
Lloh12:
	adrp	x9, _PHY_PCR_OOBS_CALI_50@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PHY_PCR_OOBS_CALI_50@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _PHY_PCR_OOBS_VCM_08@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PHY_PCR_OOBS_VCM_08@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _PHY_PCR_OOBS_SEN_90@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PHY_PCR_OOBS_SEN_90@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _PHY_PCR_RSSI_EN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PHY_PCR_RSSI_EN@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
Lloh24:
	adrp	x20, _PHY_SSCCR3@GOTPAGE
Lloh25:
	ldr	x20, [x20, _PHY_SSCCR3@GOTPAGEOFF]
Lloh26:
	adrp	x21, _PHY_SSCCR3_STEP_IN@GOTPAGE
Lloh27:
	ldr	x21, [x21, _PHY_SSCCR3_STEP_IN@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w8, [x21]
Lloh28:
	adrp	x22, _PHY_SSCCR3_CHECK_DELAY@GOTPAGE
Lloh29:
	ldr	x22, [x22, _PHY_SSCCR3_CHECK_DELAY@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
Lloh30:
	adrp	x8, _IC_VER_A@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IC_VER_A@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #21066
	bl	_is_version
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x20]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
Lloh33:
	adrp	x8, _PHY_SSCCR2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PHY_SSCCR2@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _PHY_SSCCR2_PLL_NCODE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PHY_SSCCR2_PLL_NCODE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _PHY_SSCCR2_TIME0@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PHY_SSCCR2_TIME0@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh42:
	adrp	x9, _PHY_SSCCR2_TIME2_WIDTH@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PHY_SSCCR2_TIME2_WIDTH@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
Lloh45:
	adrp	x8, _PHY_ANA1A@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PHY_ANA1A@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x8, _PHY_ANA1A_TXR_LOOPBACK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PHY_ANA1A_TXR_LOOPBACK@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _PHY_ANA1A_RXT_BIST@GOTPAGE
Lloh52:
	ldr	x9, [x9, _PHY_ANA1A_RXT_BIST@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh54:
	adrp	x9, _PHY_ANA1A_TXR_BIST@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PHY_ANA1A_TXR_BIST@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh57:
	adrp	x9, _PHY_ANA1A_REV@GOTPAGE
Lloh58:
	ldr	x9, [x9, _PHY_ANA1A_REV@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
Lloh60:
	adrp	x8, _PHY_ANA1D@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PHY_ANA1D@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
Lloh63:
	adrp	x8, _PHY_ANA1D_DEBUG_ADDR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PHY_ANA1D_DEBUG_ADDR@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
Lloh66:
	adrp	x8, _PHY_DIG1E@GOTPAGE
Lloh67:
	ldr	x8, [x8, _PHY_DIG1E@GOTPAGEOFF]
Lloh68:
	adrp	x9, _PHY_DIG1E_REV@GOTPAGE
Lloh69:
	ldr	x9, [x9, _PHY_DIG1E_REV@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
Lloh71:
	ldr	w8, [x9]
Lloh72:
	adrp	x9, _PHY_DIG1E_D0_X_D1@GOTPAGE
Lloh73:
	ldr	x9, [x9, _PHY_DIG1E_D0_X_D1@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh75:
	adrp	x9, _PHY_DIG1E_RX_ON_HOST@GOTPAGE
Lloh76:
	ldr	x9, [x9, _PHY_DIG1E_RX_ON_HOST@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh78:
	adrp	x9, _PHY_DIG1E_RCLK_REF_HOST@GOTPAGE
Lloh79:
	ldr	x9, [x9, _PHY_DIG1E_RCLK_REF_HOST@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh81:
	adrp	x9, _PHY_DIG1E_RCLK_TX_EN_KEEP@GOTPAGE
Lloh82:
	ldr	x9, [x9, _PHY_DIG1E_RCLK_TX_EN_KEEP@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh84:
	adrp	x9, _PHY_DIG1E_RCLK_TX_TERM_KEEP@GOTPAGE
Lloh85:
	ldr	x9, [x9, _PHY_DIG1E_RCLK_TX_TERM_KEEP@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh87:
	adrp	x9, _PHY_DIG1E_RCLK_RX_EIDLE_ON@GOTPAGE
Lloh88:
	ldr	x9, [x9, _PHY_DIG1E_RCLK_RX_EIDLE_ON@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh90:
	adrp	x9, _PHY_DIG1E_TX_TERM_KEEP@GOTPAGE
Lloh91:
	ldr	x9, [x9, _PHY_DIG1E_TX_TERM_KEEP@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh93:
	adrp	x9, _PHY_DIG1E_RX_TERM_KEEP@GOTPAGE
Lloh94:
	ldr	x9, [x9, _PHY_DIG1E_RX_TERM_KEEP@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh96:
	adrp	x9, _PHY_DIG1E_TX_EN_KEEP@GOTPAGE
Lloh97:
	ldr	x9, [x9, _PHY_DIG1E_TX_EN_KEEP@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh99:
	adrp	x9, _PHY_DIG1E_RX_EN_KEEP@GOTPAGE
Lloh100:
	ldr	x9, [x9, _PHY_DIG1E_RX_EN_KEEP@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
LBB0_3:
Lloh102:
	adrp	x8, _PHY_ANA08@GOTPAGE
Lloh103:
	ldr	x8, [x8, _PHY_ANA08@GOTPAGEOFF]
Lloh104:
	adrp	x9, _PHY_ANA08_RX_EQ_DCGAIN@GOTPAGE
Lloh105:
	ldr	x9, [x9, _PHY_ANA08_RX_EQ_DCGAIN@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
Lloh107:
	ldr	w8, [x9]
Lloh108:
	adrp	x9, _PHY_ANA08_SEL_RX_EN@GOTPAGE
Lloh109:
	ldr	x9, [x9, _PHY_ANA08_SEL_RX_EN@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh111:
	adrp	x9, _PHY_ANA08_RX_EQ_VAL@GOTPAGE
Lloh112:
	ldr	x9, [x9, _PHY_ANA08_RX_EQ_VAL@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh114:
	adrp	x9, _PHY_ANA08_SCP@GOTPAGE
Lloh115:
	ldr	x9, [x9, _PHY_ANA08_SCP@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh117:
	adrp	x9, _PHY_ANA08_SEL_IPI@GOTPAGE
Lloh118:
	ldr	x9, [x9, _PHY_ANA08_SEL_IPI@GOTPAGEOFF]
Lloh119:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh70
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh106
	.cfi_endproc
                                        ; -- End function
	.comm	_RTS524A_PM_CTRL3,4,2           ; @RTS524A_PM_CTRL3
	.comm	_D3_DELINK_MODE_EN,4,2          ; @D3_DELINK_MODE_EN
	.comm	_PHY_PCR,4,2                    ; @PHY_PCR
	.comm	_PHY_PCR_FORCE_CODE,4,2         ; @PHY_PCR_FORCE_CODE
	.comm	_PHY_PCR_OOBS_CALI_50,4,2       ; @PHY_PCR_OOBS_CALI_50
	.comm	_PHY_PCR_OOBS_VCM_08,4,2        ; @PHY_PCR_OOBS_VCM_08
	.comm	_PHY_PCR_OOBS_SEN_90,4,2        ; @PHY_PCR_OOBS_SEN_90
	.comm	_PHY_PCR_RSSI_EN,4,2            ; @PHY_PCR_RSSI_EN
	.comm	_PHY_SSCCR3,4,2                 ; @PHY_SSCCR3
	.comm	_PHY_SSCCR3_STEP_IN,4,2         ; @PHY_SSCCR3_STEP_IN
	.comm	_PHY_SSCCR3_CHECK_DELAY,4,2     ; @PHY_SSCCR3_CHECK_DELAY
	.comm	_IC_VER_A,4,2                   ; @IC_VER_A
	.comm	_PHY_SSCCR2,4,2                 ; @PHY_SSCCR2
	.comm	_PHY_SSCCR2_PLL_NCODE,4,2       ; @PHY_SSCCR2_PLL_NCODE
	.comm	_PHY_SSCCR2_TIME0,4,2           ; @PHY_SSCCR2_TIME0
	.comm	_PHY_SSCCR2_TIME2_WIDTH,4,2     ; @PHY_SSCCR2_TIME2_WIDTH
	.comm	_PHY_ANA1A,4,2                  ; @PHY_ANA1A
	.comm	_PHY_ANA1A_TXR_LOOPBACK,4,2     ; @PHY_ANA1A_TXR_LOOPBACK
	.comm	_PHY_ANA1A_RXT_BIST,4,2         ; @PHY_ANA1A_RXT_BIST
	.comm	_PHY_ANA1A_TXR_BIST,4,2         ; @PHY_ANA1A_TXR_BIST
	.comm	_PHY_ANA1A_REV,4,2              ; @PHY_ANA1A_REV
	.comm	_PHY_ANA1D,4,2                  ; @PHY_ANA1D
	.comm	_PHY_ANA1D_DEBUG_ADDR,4,2       ; @PHY_ANA1D_DEBUG_ADDR
	.comm	_PHY_DIG1E,4,2                  ; @PHY_DIG1E
	.comm	_PHY_DIG1E_REV,4,2              ; @PHY_DIG1E_REV
	.comm	_PHY_DIG1E_D0_X_D1,4,2          ; @PHY_DIG1E_D0_X_D1
	.comm	_PHY_DIG1E_RX_ON_HOST,4,2       ; @PHY_DIG1E_RX_ON_HOST
	.comm	_PHY_DIG1E_RCLK_REF_HOST,4,2    ; @PHY_DIG1E_RCLK_REF_HOST
	.comm	_PHY_DIG1E_RCLK_TX_EN_KEEP,4,2  ; @PHY_DIG1E_RCLK_TX_EN_KEEP
	.comm	_PHY_DIG1E_RCLK_TX_TERM_KEEP,4,2 ; @PHY_DIG1E_RCLK_TX_TERM_KEEP
	.comm	_PHY_DIG1E_RCLK_RX_EIDLE_ON,4,2 ; @PHY_DIG1E_RCLK_RX_EIDLE_ON
	.comm	_PHY_DIG1E_TX_TERM_KEEP,4,2     ; @PHY_DIG1E_TX_TERM_KEEP
	.comm	_PHY_DIG1E_RX_TERM_KEEP,4,2     ; @PHY_DIG1E_RX_TERM_KEEP
	.comm	_PHY_DIG1E_TX_EN_KEEP,4,2       ; @PHY_DIG1E_TX_EN_KEEP
	.comm	_PHY_DIG1E_RX_EN_KEEP,4,2       ; @PHY_DIG1E_RX_EN_KEEP
	.comm	_PHY_ANA08,4,2                  ; @PHY_ANA08
	.comm	_PHY_ANA08_RX_EQ_DCGAIN,4,2     ; @PHY_ANA08_RX_EQ_DCGAIN
	.comm	_PHY_ANA08_SEL_RX_EN,4,2        ; @PHY_ANA08_SEL_RX_EN
	.comm	_PHY_ANA08_RX_EQ_VAL,4,2        ; @PHY_ANA08_RX_EQ_VAL
	.comm	_PHY_ANA08_SCP,4,2              ; @PHY_ANA08_SCP
	.comm	_PHY_ANA08_SEL_IPI,4,2          ; @PHY_ANA08_SEL_IPI
	.no_dead_strip	_rts524a_optimize_phy
.subsections_via_symbols
