	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rts5249_optimize_phy
_rts5249_optimize_phy:                  ## @rts5249_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_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_9
## %bb.1:
	movq	_PHY_REV_RESV@GOTPCREL(%rip), %rax
	movq	_PHY_REV_RXIDLE_LATCHED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_REV_P1_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_REV_RXIDLE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_REV_CLKREQ_TX_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_REV_RX_PWST@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_REV_CLKREQ_DT_1_0@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_REV@GOTPCREL(%rip), %rax
	movq	_PHY_REV_STOP_CLKRD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_REV_STOP_CLKWR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:
	movl	$1, %edi
	callq	_msleep
	movq	_PHY_BPCR_IBRXSEL@GOTPCREL(%rip), %rax
	movq	_PHY_BPCR_IBTXSEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_BPCR@GOTPCREL(%rip), %rax
	movq	_PHY_BPCR_IB_FILTER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_BPCR_CMIRROR_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	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_OOBS_SEN_90@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_PCR@GOTPCREL(%rip), %rax
	movq	_PHY_PCR_RSSI_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_PCR_RX10K@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movq	_PHY_RCR2_EMPHASE_EN@GOTPCREL(%rip), %rax
	movq	_PHY_RCR2_NADJR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_RCR2_CDR_SR_2@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_RCR2_FREQSEL_12@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_RCR2@GOTPCREL(%rip), %rax
	movq	_PHY_RCR2_CDR_SC_12P@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_RCR2_CALIB_LATE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movq	_PHY_FLD4_FLDEN_SEL@GOTPCREL(%rip), %rax
	movq	_PHY_FLD4_REQ_REF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_FLD4_RXAMP_OFF@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_FLD4_REQ_ADDA@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_FLD4_BER_COUNT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_FLD4@GOTPCREL(%rip), %rax
	movq	_PHY_FLD4_BER_TIMER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_FLD4_BER_CHK_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movq	_PHY_RDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_RDR_RXDSEL_1_9@GOTPCREL(%rip), %rax
	movq	_PHY_SSC_AUTO_PWD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	_PHY_RCR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_RCR1_ADP_TIME_4@GOTPCREL(%rip), %rax
	movq	_PHY_RCR1_VCO_COARSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	_PHY_FLD3@GOTPCREL(%rip), %rax
	movq	_PHY_FLD3_TIMER_4@GOTPCREL(%rip), %rcx
	movq	_PHY_FLD3_TIMER_6@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_FLD3_RXDELINK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_phy_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	_PHY_TUNE_TUNEREF_1_0@GOTPCREL(%rip), %rax
	movq	_PHY_TUNE_VBGSEL_1252@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PHY_TUNE_SDBUS_33@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_TUNE_TUNED18@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PHY_TUNE@GOTPCREL(%rip), %rax
	movq	_PHY_TUNE_TUNED12@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PHY_TUNE_TUNEA12@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rtsx_pci_write_phy_register    ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PM_CTRL3,4,2                   ## @PM_CTRL3
	.comm	_D3_DELINK_MODE_EN,4,2          ## @D3_DELINK_MODE_EN
	.comm	_PHY_REV,4,2                    ## @PHY_REV
	.comm	_PHY_REV_RESV,4,2               ## @PHY_REV_RESV
	.comm	_PHY_REV_RXIDLE_LATCHED,4,2     ## @PHY_REV_RXIDLE_LATCHED
	.comm	_PHY_REV_P1_EN,4,2              ## @PHY_REV_P1_EN
	.comm	_PHY_REV_RXIDLE_EN,4,2          ## @PHY_REV_RXIDLE_EN
	.comm	_PHY_REV_CLKREQ_TX_EN,4,2       ## @PHY_REV_CLKREQ_TX_EN
	.comm	_PHY_REV_RX_PWST,4,2            ## @PHY_REV_RX_PWST
	.comm	_PHY_REV_CLKREQ_DT_1_0,4,2      ## @PHY_REV_CLKREQ_DT_1_0
	.comm	_PHY_REV_STOP_CLKRD,4,2         ## @PHY_REV_STOP_CLKRD
	.comm	_PHY_REV_STOP_CLKWR,4,2         ## @PHY_REV_STOP_CLKWR
	.comm	_PHY_BPCR,4,2                   ## @PHY_BPCR
	.comm	_PHY_BPCR_IBRXSEL,4,2           ## @PHY_BPCR_IBRXSEL
	.comm	_PHY_BPCR_IBTXSEL,4,2           ## @PHY_BPCR_IBTXSEL
	.comm	_PHY_BPCR_IB_FILTER,4,2         ## @PHY_BPCR_IB_FILTER
	.comm	_PHY_BPCR_CMIRROR_EN,4,2        ## @PHY_BPCR_CMIRROR_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_PCR_RX10K,4,2              ## @PHY_PCR_RX10K
	.comm	_PHY_RCR2,4,2                   ## @PHY_RCR2
	.comm	_PHY_RCR2_EMPHASE_EN,4,2        ## @PHY_RCR2_EMPHASE_EN
	.comm	_PHY_RCR2_NADJR,4,2             ## @PHY_RCR2_NADJR
	.comm	_PHY_RCR2_CDR_SR_2,4,2          ## @PHY_RCR2_CDR_SR_2
	.comm	_PHY_RCR2_FREQSEL_12,4,2        ## @PHY_RCR2_FREQSEL_12
	.comm	_PHY_RCR2_CDR_SC_12P,4,2        ## @PHY_RCR2_CDR_SC_12P
	.comm	_PHY_RCR2_CALIB_LATE,4,2        ## @PHY_RCR2_CALIB_LATE
	.comm	_PHY_FLD4,4,2                   ## @PHY_FLD4
	.comm	_PHY_FLD4_FLDEN_SEL,4,2         ## @PHY_FLD4_FLDEN_SEL
	.comm	_PHY_FLD4_REQ_REF,4,2           ## @PHY_FLD4_REQ_REF
	.comm	_PHY_FLD4_RXAMP_OFF,4,2         ## @PHY_FLD4_RXAMP_OFF
	.comm	_PHY_FLD4_REQ_ADDA,4,2          ## @PHY_FLD4_REQ_ADDA
	.comm	_PHY_FLD4_BER_COUNT,4,2         ## @PHY_FLD4_BER_COUNT
	.comm	_PHY_FLD4_BER_TIMER,4,2         ## @PHY_FLD4_BER_TIMER
	.comm	_PHY_FLD4_BER_CHK_EN,4,2        ## @PHY_FLD4_BER_CHK_EN
	.comm	_PHY_RDR,4,2                    ## @PHY_RDR
	.comm	_PHY_RDR_RXDSEL_1_9,4,2         ## @PHY_RDR_RXDSEL_1_9
	.comm	_PHY_SSC_AUTO_PWD,4,2           ## @PHY_SSC_AUTO_PWD
	.comm	_PHY_RCR1,4,2                   ## @PHY_RCR1
	.comm	_PHY_RCR1_ADP_TIME_4,4,2        ## @PHY_RCR1_ADP_TIME_4
	.comm	_PHY_RCR1_VCO_COARSE,4,2        ## @PHY_RCR1_VCO_COARSE
	.comm	_PHY_FLD3,4,2                   ## @PHY_FLD3
	.comm	_PHY_FLD3_TIMER_4,4,2           ## @PHY_FLD3_TIMER_4
	.comm	_PHY_FLD3_TIMER_6,4,2           ## @PHY_FLD3_TIMER_6
	.comm	_PHY_FLD3_RXDELINK,4,2          ## @PHY_FLD3_RXDELINK
	.comm	_PHY_TUNE,4,2                   ## @PHY_TUNE
	.comm	_PHY_TUNE_TUNEREF_1_0,4,2       ## @PHY_TUNE_TUNEREF_1_0
	.comm	_PHY_TUNE_VBGSEL_1252,4,2       ## @PHY_TUNE_VBGSEL_1252
	.comm	_PHY_TUNE_SDBUS_33,4,2          ## @PHY_TUNE_SDBUS_33
	.comm	_PHY_TUNE_TUNED18,4,2           ## @PHY_TUNE_TUNED18
	.comm	_PHY_TUNE_TUNED12,4,2           ## @PHY_TUNE_TUNED12
	.comm	_PHY_TUNE_TUNEA12,4,2           ## @PHY_TUNE_TUNEA12
	.no_dead_strip	_rts5249_optimize_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rts5249_optimize_phy
_rts5249_optimize_phy:                  ; @rts5249_optimize_phy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _PM_CTRL3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _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_10
; %bb.1:
Lloh6:
	adrp	x8, _PHY_REV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PHY_REV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _PHY_REV_RESV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PHY_REV_RESV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _PHY_REV_RXIDLE_LATCHED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PHY_REV_RXIDLE_LATCHED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _PHY_REV_P1_EN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PHY_REV_P1_EN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _PHY_REV_RXIDLE_EN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PHY_REV_RXIDLE_EN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _PHY_REV_CLKREQ_TX_EN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PHY_REV_CLKREQ_TX_EN@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _PHY_REV_RX_PWST@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PHY_REV_RX_PWST@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _PHY_REV_CLKREQ_DT_1_0@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PHY_REV_CLKREQ_DT_1_0@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _PHY_REV_STOP_CLKRD@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PHY_REV_STOP_CLKRD@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _PHY_REV_STOP_CLKWR@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PHY_REV_STOP_CLKWR@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.2:
	mov	w0, #1
	bl	_msleep
Lloh36:
	adrp	x8, _PHY_BPCR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PHY_BPCR@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x8, _PHY_BPCR_IBRXSEL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PHY_BPCR_IBRXSEL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _PHY_BPCR_IBTXSEL@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PHY_BPCR_IBTXSEL@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh45:
	adrp	x9, _PHY_BPCR_IB_FILTER@GOTPAGE
Lloh46:
	ldr	x9, [x9, _PHY_BPCR_IB_FILTER@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh48:
	adrp	x9, _PHY_BPCR_CMIRROR_EN@GOTPAGE
Lloh49:
	ldr	x9, [x9, _PHY_BPCR_CMIRROR_EN@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.3:
Lloh51:
	adrp	x8, _PHY_PCR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PHY_PCR@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	adrp	x8, _PHY_PCR_FORCE_CODE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PHY_PCR_FORCE_CODE@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _PHY_PCR_OOBS_CALI_50@GOTPAGE
Lloh58:
	ldr	x9, [x9, _PHY_PCR_OOBS_CALI_50@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh60:
	adrp	x9, _PHY_PCR_OOBS_VCM_08@GOTPAGE
Lloh61:
	ldr	x9, [x9, _PHY_PCR_OOBS_VCM_08@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh63:
	adrp	x9, _PHY_PCR_OOBS_SEN_90@GOTPAGE
Lloh64:
	ldr	x9, [x9, _PHY_PCR_OOBS_SEN_90@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh66:
	adrp	x9, _PHY_PCR_RSSI_EN@GOTPAGE
Lloh67:
	ldr	x9, [x9, _PHY_PCR_RSSI_EN@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh69:
	adrp	x9, _PHY_PCR_RX10K@GOTPAGE
Lloh70:
	ldr	x9, [x9, _PHY_PCR_RX10K@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.4:
Lloh72:
	adrp	x8, _PHY_RCR2@GOTPAGE
Lloh73:
	ldr	x8, [x8, _PHY_RCR2@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
Lloh75:
	adrp	x8, _PHY_RCR2_EMPHASE_EN@GOTPAGE
Lloh76:
	ldr	x8, [x8, _PHY_RCR2_EMPHASE_EN@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _PHY_RCR2_NADJR@GOTPAGE
Lloh79:
	ldr	x9, [x9, _PHY_RCR2_NADJR@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh81:
	adrp	x9, _PHY_RCR2_CDR_SR_2@GOTPAGE
Lloh82:
	ldr	x9, [x9, _PHY_RCR2_CDR_SR_2@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh84:
	adrp	x9, _PHY_RCR2_FREQSEL_12@GOTPAGE
Lloh85:
	ldr	x9, [x9, _PHY_RCR2_FREQSEL_12@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh87:
	adrp	x9, _PHY_RCR2_CDR_SC_12P@GOTPAGE
Lloh88:
	ldr	x9, [x9, _PHY_RCR2_CDR_SC_12P@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh90:
	adrp	x9, _PHY_RCR2_CALIB_LATE@GOTPAGE
Lloh91:
	ldr	x9, [x9, _PHY_RCR2_CALIB_LATE@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.5:
Lloh93:
	adrp	x8, _PHY_FLD4@GOTPAGE
Lloh94:
	ldr	x8, [x8, _PHY_FLD4@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
Lloh96:
	adrp	x8, _PHY_FLD4_FLDEN_SEL@GOTPAGE
Lloh97:
	ldr	x8, [x8, _PHY_FLD4_FLDEN_SEL@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
Lloh99:
	adrp	x9, _PHY_FLD4_REQ_REF@GOTPAGE
Lloh100:
	ldr	x9, [x9, _PHY_FLD4_REQ_REF@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh102:
	adrp	x9, _PHY_FLD4_RXAMP_OFF@GOTPAGE
Lloh103:
	ldr	x9, [x9, _PHY_FLD4_RXAMP_OFF@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh105:
	adrp	x9, _PHY_FLD4_REQ_ADDA@GOTPAGE
Lloh106:
	ldr	x9, [x9, _PHY_FLD4_REQ_ADDA@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh108:
	adrp	x9, _PHY_FLD4_BER_COUNT@GOTPAGE
Lloh109:
	ldr	x9, [x9, _PHY_FLD4_BER_COUNT@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh111:
	adrp	x9, _PHY_FLD4_BER_TIMER@GOTPAGE
Lloh112:
	ldr	x9, [x9, _PHY_FLD4_BER_TIMER@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh114:
	adrp	x9, _PHY_FLD4_BER_CHK_EN@GOTPAGE
Lloh115:
	ldr	x9, [x9, _PHY_FLD4_BER_CHK_EN@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.6:
Lloh117:
	adrp	x8, _PHY_RDR@GOTPAGE
Lloh118:
	ldr	x8, [x8, _PHY_RDR@GOTPAGEOFF]
Lloh119:
	adrp	x9, _PHY_RDR_RXDSEL_1_9@GOTPAGE
Lloh120:
	ldr	x9, [x9, _PHY_RDR_RXDSEL_1_9@GOTPAGEOFF]
Lloh121:
	ldr	w1, [x8]
Lloh122:
	ldr	w8, [x9]
Lloh123:
	adrp	x9, _PHY_SSC_AUTO_PWD@GOTPAGE
Lloh124:
	ldr	x9, [x9, _PHY_SSC_AUTO_PWD@GOTPAGEOFF]
Lloh125:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.7:
Lloh126:
	adrp	x8, _PHY_RCR1@GOTPAGE
Lloh127:
	ldr	x8, [x8, _PHY_RCR1@GOTPAGEOFF]
Lloh128:
	adrp	x9, _PHY_RCR1_ADP_TIME_4@GOTPAGE
Lloh129:
	ldr	x9, [x9, _PHY_RCR1_ADP_TIME_4@GOTPAGEOFF]
Lloh130:
	ldr	w1, [x8]
Lloh131:
	ldr	w8, [x9]
Lloh132:
	adrp	x9, _PHY_RCR1_VCO_COARSE@GOTPAGE
Lloh133:
	ldr	x9, [x9, _PHY_RCR1_VCO_COARSE@GOTPAGEOFF]
Lloh134:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.8:
Lloh135:
	adrp	x8, _PHY_FLD3@GOTPAGE
Lloh136:
	ldr	x8, [x8, _PHY_FLD3@GOTPAGEOFF]
Lloh137:
	ldr	w1, [x8]
Lloh138:
	adrp	x8, _PHY_FLD3_TIMER_4@GOTPAGE
Lloh139:
	ldr	x8, [x8, _PHY_FLD3_TIMER_4@GOTPAGEOFF]
Lloh140:
	ldr	w8, [x8]
Lloh141:
	adrp	x9, _PHY_FLD3_TIMER_6@GOTPAGE
Lloh142:
	ldr	x9, [x9, _PHY_FLD3_TIMER_6@GOTPAGEOFF]
Lloh143:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh144:
	adrp	x9, _PHY_FLD3_RXDELINK@GOTPAGE
Lloh145:
	ldr	x9, [x9, _PHY_FLD3_RXDELINK@GOTPAGEOFF]
Lloh146:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rtsx_pci_write_phy_register
	tbnz	w0, #31, LBB0_10
; %bb.9:
Lloh147:
	adrp	x8, _PHY_TUNE@GOTPAGE
Lloh148:
	ldr	x8, [x8, _PHY_TUNE@GOTPAGEOFF]
Lloh149:
	adrp	x9, _PHY_TUNE_TUNEREF_1_0@GOTPAGE
Lloh150:
	ldr	x9, [x9, _PHY_TUNE_TUNEREF_1_0@GOTPAGEOFF]
Lloh151:
	ldr	w9, [x9]
Lloh152:
	adrp	x10, _PHY_TUNE_VBGSEL_1252@GOTPAGE
Lloh153:
	ldr	x10, [x10, _PHY_TUNE_VBGSEL_1252@GOTPAGEOFF]
Lloh154:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh155:
	adrp	x10, _PHY_TUNE_SDBUS_33@GOTPAGE
Lloh156:
	ldr	x10, [x10, _PHY_TUNE_SDBUS_33@GOTPAGEOFF]
Lloh157:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh158:
	adrp	x10, _PHY_TUNE_TUNED18@GOTPAGE
Lloh159:
	ldr	x10, [x10, _PHY_TUNE_TUNED18@GOTPAGEOFF]
Lloh160:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh161:
	adrp	x10, _PHY_TUNE_TUNED12@GOTPAGE
Lloh162:
	ldr	x10, [x10, _PHY_TUNE_TUNED12@GOTPAGEOFF]
Lloh163:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh164:
	adrp	x10, _PHY_TUNE_TUNEA12@GOTPAGE
Lloh165:
	ldr	x10, [x10, _PHY_TUNE_TUNEA12@GOTPAGEOFF]
Lloh166:
	ldr	w1, [x8]
Lloh167:
	ldr	w8, [x10]
	orr	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtsx_pci_write_phy_register
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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	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	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.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	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	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh121
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh130
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh167
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh166
	.cfi_endproc
                                        ; -- End function
	.comm	_PM_CTRL3,4,2                   ; @PM_CTRL3
	.comm	_D3_DELINK_MODE_EN,4,2          ; @D3_DELINK_MODE_EN
	.comm	_PHY_REV,4,2                    ; @PHY_REV
	.comm	_PHY_REV_RESV,4,2               ; @PHY_REV_RESV
	.comm	_PHY_REV_RXIDLE_LATCHED,4,2     ; @PHY_REV_RXIDLE_LATCHED
	.comm	_PHY_REV_P1_EN,4,2              ; @PHY_REV_P1_EN
	.comm	_PHY_REV_RXIDLE_EN,4,2          ; @PHY_REV_RXIDLE_EN
	.comm	_PHY_REV_CLKREQ_TX_EN,4,2       ; @PHY_REV_CLKREQ_TX_EN
	.comm	_PHY_REV_RX_PWST,4,2            ; @PHY_REV_RX_PWST
	.comm	_PHY_REV_CLKREQ_DT_1_0,4,2      ; @PHY_REV_CLKREQ_DT_1_0
	.comm	_PHY_REV_STOP_CLKRD,4,2         ; @PHY_REV_STOP_CLKRD
	.comm	_PHY_REV_STOP_CLKWR,4,2         ; @PHY_REV_STOP_CLKWR
	.comm	_PHY_BPCR,4,2                   ; @PHY_BPCR
	.comm	_PHY_BPCR_IBRXSEL,4,2           ; @PHY_BPCR_IBRXSEL
	.comm	_PHY_BPCR_IBTXSEL,4,2           ; @PHY_BPCR_IBTXSEL
	.comm	_PHY_BPCR_IB_FILTER,4,2         ; @PHY_BPCR_IB_FILTER
	.comm	_PHY_BPCR_CMIRROR_EN,4,2        ; @PHY_BPCR_CMIRROR_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_PCR_RX10K,4,2              ; @PHY_PCR_RX10K
	.comm	_PHY_RCR2,4,2                   ; @PHY_RCR2
	.comm	_PHY_RCR2_EMPHASE_EN,4,2        ; @PHY_RCR2_EMPHASE_EN
	.comm	_PHY_RCR2_NADJR,4,2             ; @PHY_RCR2_NADJR
	.comm	_PHY_RCR2_CDR_SR_2,4,2          ; @PHY_RCR2_CDR_SR_2
	.comm	_PHY_RCR2_FREQSEL_12,4,2        ; @PHY_RCR2_FREQSEL_12
	.comm	_PHY_RCR2_CDR_SC_12P,4,2        ; @PHY_RCR2_CDR_SC_12P
	.comm	_PHY_RCR2_CALIB_LATE,4,2        ; @PHY_RCR2_CALIB_LATE
	.comm	_PHY_FLD4,4,2                   ; @PHY_FLD4
	.comm	_PHY_FLD4_FLDEN_SEL,4,2         ; @PHY_FLD4_FLDEN_SEL
	.comm	_PHY_FLD4_REQ_REF,4,2           ; @PHY_FLD4_REQ_REF
	.comm	_PHY_FLD4_RXAMP_OFF,4,2         ; @PHY_FLD4_RXAMP_OFF
	.comm	_PHY_FLD4_REQ_ADDA,4,2          ; @PHY_FLD4_REQ_ADDA
	.comm	_PHY_FLD4_BER_COUNT,4,2         ; @PHY_FLD4_BER_COUNT
	.comm	_PHY_FLD4_BER_TIMER,4,2         ; @PHY_FLD4_BER_TIMER
	.comm	_PHY_FLD4_BER_CHK_EN,4,2        ; @PHY_FLD4_BER_CHK_EN
	.comm	_PHY_RDR,4,2                    ; @PHY_RDR
	.comm	_PHY_RDR_RXDSEL_1_9,4,2         ; @PHY_RDR_RXDSEL_1_9
	.comm	_PHY_SSC_AUTO_PWD,4,2           ; @PHY_SSC_AUTO_PWD
	.comm	_PHY_RCR1,4,2                   ; @PHY_RCR1
	.comm	_PHY_RCR1_ADP_TIME_4,4,2        ; @PHY_RCR1_ADP_TIME_4
	.comm	_PHY_RCR1_VCO_COARSE,4,2        ; @PHY_RCR1_VCO_COARSE
	.comm	_PHY_FLD3,4,2                   ; @PHY_FLD3
	.comm	_PHY_FLD3_TIMER_4,4,2           ; @PHY_FLD3_TIMER_4
	.comm	_PHY_FLD3_TIMER_6,4,2           ; @PHY_FLD3_TIMER_6
	.comm	_PHY_FLD3_RXDELINK,4,2          ; @PHY_FLD3_RXDELINK
	.comm	_PHY_TUNE,4,2                   ; @PHY_TUNE
	.comm	_PHY_TUNE_TUNEREF_1_0,4,2       ; @PHY_TUNE_TUNEREF_1_0
	.comm	_PHY_TUNE_VBGSEL_1252,4,2       ; @PHY_TUNE_VBGSEL_1252
	.comm	_PHY_TUNE_SDBUS_33,4,2          ; @PHY_TUNE_SDBUS_33
	.comm	_PHY_TUNE_TUNED18,4,2           ; @PHY_TUNE_TUNED18
	.comm	_PHY_TUNE_TUNED12,4,2           ; @PHY_TUNE_TUNED12
	.comm	_PHY_TUNE_TUNEA12,4,2           ; @PHY_TUNE_TUNEA12
	.no_dead_strip	_rts5249_optimize_phy
.subsections_via_symbols
