	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_berlin_usb_power_on
_phy_berlin_usb_power_on:               ## @phy_berlin_usb_power_on
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_phy_get_drvdata
	movq	%rax, %r14
	movl	16(%rax), %edi
	callq	_reset_control_reset
	movl	(%r14), %edi
	movq	_USB_PHY_PLL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_CLK_STABLE@GOTPCREL(%rip), %rax
	movq	_PLL_CTRL_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_PHASE_OFF_TOL_250@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_KVC0_REG_CTRL@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_CLK_BLK_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_USB_PHY_PLL_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movl	$5, %edi
	callq	_V2I_VCO_RATIO
	movl	%eax, %ebx
	movq	_R_ROTATE_0@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$5, %edi
	callq	_ANA_TEST_DC_CTRL
	orl	%eax, %ebx
	movq	_USB_PHY_ANALOG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_PHASE_FREEZE_DLY_4_CL@GOTPCREL(%rip), %rax
	movq	_ACK_LENGTH_16_CL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	_SQ_LENGTH_12@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_DISCON_THRESHOLD_270@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	$10, %edi
	callq	_SQ_THRESHOLD
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_LPF_COEF
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_INTPL_CUR_30@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_USB_PHY_RX_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_TX_VDD12_13@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$3, %edi
	callq	_TX_OUT_AMP
	orl	%eax, %ebx
	movq	_USB_PHY_TX_CTRL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_EXT_HS_RCAL_EN@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movl	$3, %edi
	callq	_IMPCAL_VTH_DIV
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_EXT_RS_RCAL_DIV
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	_USB_PHY_TX_CTRL0@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	(%r15), %r13d
	movl	$3, %edi
	callq	_IMPCAL_VTH_DIV
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_EXT_RS_RCAL_DIV
	orl	%eax, %ebx
	movl	$2, %edi
	callq	_EXT_FS_RCAL_DIV
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	(%r12), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	(%r15), %r15d
	movl	$3, %edi
	callq	_IMPCAL_VTH_DIV
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_EXT_RS_RCAL_DIV
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	(%r12), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	$15, %edi
	callq	_TX_CHAN_CTRL_REG
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_DRV_SLEWRATE
	orl	%eax, %ebx
	movq	_IMP_CAL_FS_HS_DLY_3@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$13, %edi
	callq	_FS_DRV_EN_MASK
	orl	%eax, %ebx
	movq	_USB_PHY_TX_CTRL2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_PHY_PLL,8,3                ## @USB_PHY_PLL
	.comm	_CLK_STABLE,4,2                 ## @CLK_STABLE
	.comm	_PLL_CTRL_REG,4,2               ## @PLL_CTRL_REG
	.comm	_PHASE_OFF_TOL_250,4,2          ## @PHASE_OFF_TOL_250
	.comm	_KVC0_REG_CTRL,4,2              ## @KVC0_REG_CTRL
	.comm	_CLK_BLK_EN,4,2                 ## @CLK_BLK_EN
	.comm	_USB_PHY_PLL_CONTROL,8,3        ## @USB_PHY_PLL_CONTROL
	.comm	_R_ROTATE_0,4,2                 ## @R_ROTATE_0
	.comm	_USB_PHY_ANALOG,8,3             ## @USB_PHY_ANALOG
	.comm	_PHASE_FREEZE_DLY_4_CL,4,2      ## @PHASE_FREEZE_DLY_4_CL
	.comm	_ACK_LENGTH_16_CL,4,2           ## @ACK_LENGTH_16_CL
	.comm	_SQ_LENGTH_12,4,2               ## @SQ_LENGTH_12
	.comm	_DISCON_THRESHOLD_270,4,2       ## @DISCON_THRESHOLD_270
	.comm	_INTPL_CUR_30,4,2               ## @INTPL_CUR_30
	.comm	_USB_PHY_RX_CTRL,8,3            ## @USB_PHY_RX_CTRL
	.comm	_TX_VDD12_13,4,2                ## @TX_VDD12_13
	.comm	_USB_PHY_TX_CTRL1,8,3           ## @USB_PHY_TX_CTRL1
	.comm	_EXT_HS_RCAL_EN,4,2             ## @EXT_HS_RCAL_EN
	.comm	_USB_PHY_TX_CTRL0,8,3           ## @USB_PHY_TX_CTRL0
	.comm	_IMP_CAL_FS_HS_DLY_3,4,2        ## @IMP_CAL_FS_HS_DLY_3
	.comm	_USB_PHY_TX_CTRL2,8,3           ## @USB_PHY_TX_CTRL2
	.no_dead_strip	_phy_berlin_usb_power_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_berlin_usb_power_on
_phy_berlin_usb_power_on:               ; @phy_berlin_usb_power_on
	.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
	bl	_phy_get_drvdata
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_reset_control_reset
	ldr	w0, [x19]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _USB_PHY_PLL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB_PHY_PLL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh3:
	adrp	x8, _CLK_STABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLK_STABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PLL_CTRL_REG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PLL_CTRL_REG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _PHASE_OFF_TOL_250@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PHASE_OFF_TOL_250@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _KVC0_REG_CTRL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _KVC0_REG_CTRL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _CLK_BLK_EN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CLK_BLK_EN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
Lloh18:
	adrp	x9, _USB_PHY_PLL_CONTROL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _USB_PHY_PLL_CONTROL@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #5
	bl	_V2I_VCO_RATIO
Lloh21:
	adrp	x8, _R_ROTATE_0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _R_ROTATE_0@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w20, w8, w0
	mov	w0, #5
	bl	_ANA_TEST_DC_CTRL
	orr	w0, w20, w0
	ldr	x8, [x19, #8]
Lloh24:
	adrp	x9, _USB_PHY_ANALOG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _USB_PHY_ANALOG@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh27:
	adrp	x8, _PHASE_FREEZE_DLY_4_CL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PHASE_FREEZE_DLY_4_CL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _ACK_LENGTH_16_CL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ACK_LENGTH_16_CL@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _SQ_LENGTH_12@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SQ_LENGTH_12@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _DISCON_THRESHOLD_270@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DISCON_THRESHOLD_270@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	w0, #10
	bl	_SQ_THRESHOLD
	orr	w20, w20, w0
	mov	w0, #2
	bl	_LPF_COEF
	orr	w8, w20, w0
Lloh39:
	adrp	x9, _INTPL_CUR_30@GOTPAGE
Lloh40:
	ldr	x9, [x9, _INTPL_CUR_30@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
Lloh42:
	adrp	x9, _USB_PHY_RX_CTRL@GOTPAGE
Lloh43:
	ldr	x9, [x9, _USB_PHY_RX_CTRL@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh45:
	adrp	x8, _TX_VDD12_13@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TX_VDD12_13@GOTPAGEOFF]
Lloh47:
	ldr	w20, [x8]
	mov	w0, #3
	bl	_TX_OUT_AMP
	orr	w0, w0, w20
	ldr	x8, [x19, #8]
Lloh48:
	adrp	x9, _USB_PHY_TX_CTRL1@GOTPAGE
Lloh49:
	ldr	x9, [x9, _USB_PHY_TX_CTRL1@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh51:
	adrp	x20, _EXT_HS_RCAL_EN@GOTPAGE
Lloh52:
	ldr	x20, [x20, _EXT_HS_RCAL_EN@GOTPAGEOFF]
	ldr	w21, [x20]
	mov	w0, #3
	bl	_IMPCAL_VTH_DIV
	orr	w21, w0, w21
	mov	w0, #4
	bl	_EXT_RS_RCAL_DIV
	orr	w0, w21, w0
	ldr	x8, [x19, #8]
Lloh53:
	adrp	x21, _USB_PHY_TX_CTRL0@GOTPAGE
Lloh54:
	ldr	x21, [x21, _USB_PHY_TX_CTRL0@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	w22, [x20]
	mov	w0, #3
	bl	_IMPCAL_VTH_DIV
	orr	w22, w0, w22
	mov	w0, #4
	bl	_EXT_RS_RCAL_DIV
	orr	w22, w22, w0
	mov	w0, #2
	bl	_EXT_FS_RCAL_DIV
	orr	w0, w22, w0
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	w20, [x20]
	mov	w0, #3
	bl	_IMPCAL_VTH_DIV
	orr	w20, w0, w20
	mov	w0, #4
	bl	_EXT_RS_RCAL_DIV
	orr	w0, w20, w0
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #15
	bl	_TX_CHAN_CTRL_REG
	mov	x20, x0
	mov	w0, #3
	bl	_DRV_SLEWRATE
	orr	w8, w0, w20
Lloh55:
	adrp	x9, _IMP_CAL_FS_HS_DLY_3@GOTPAGE
Lloh56:
	ldr	x9, [x9, _IMP_CAL_FS_HS_DLY_3@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	w0, #13
	bl	_FS_DRV_EN_MASK
	orr	w0, w20, w0
	ldr	x8, [x19, #8]
Lloh58:
	adrp	x9, _USB_PHY_TX_CTRL2@GOTPAGE
Lloh59:
	ldr	x9, [x9, _USB_PHY_TX_CTRL2@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
	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	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.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	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_PHY_PLL,8,3                ; @USB_PHY_PLL
	.comm	_CLK_STABLE,4,2                 ; @CLK_STABLE
	.comm	_PLL_CTRL_REG,4,2               ; @PLL_CTRL_REG
	.comm	_PHASE_OFF_TOL_250,4,2          ; @PHASE_OFF_TOL_250
	.comm	_KVC0_REG_CTRL,4,2              ; @KVC0_REG_CTRL
	.comm	_CLK_BLK_EN,4,2                 ; @CLK_BLK_EN
	.comm	_USB_PHY_PLL_CONTROL,8,3        ; @USB_PHY_PLL_CONTROL
	.comm	_R_ROTATE_0,4,2                 ; @R_ROTATE_0
	.comm	_USB_PHY_ANALOG,8,3             ; @USB_PHY_ANALOG
	.comm	_PHASE_FREEZE_DLY_4_CL,4,2      ; @PHASE_FREEZE_DLY_4_CL
	.comm	_ACK_LENGTH_16_CL,4,2           ; @ACK_LENGTH_16_CL
	.comm	_SQ_LENGTH_12,4,2               ; @SQ_LENGTH_12
	.comm	_DISCON_THRESHOLD_270,4,2       ; @DISCON_THRESHOLD_270
	.comm	_INTPL_CUR_30,4,2               ; @INTPL_CUR_30
	.comm	_USB_PHY_RX_CTRL,8,3            ; @USB_PHY_RX_CTRL
	.comm	_TX_VDD12_13,4,2                ; @TX_VDD12_13
	.comm	_USB_PHY_TX_CTRL1,8,3           ; @USB_PHY_TX_CTRL1
	.comm	_EXT_HS_RCAL_EN,4,2             ; @EXT_HS_RCAL_EN
	.comm	_USB_PHY_TX_CTRL0,8,3           ; @USB_PHY_TX_CTRL0
	.comm	_IMP_CAL_FS_HS_DLY_3,4,2        ; @IMP_CAL_FS_HS_DLY_3
	.comm	_USB_PHY_TX_CTRL2,8,3           ; @USB_PHY_TX_CTRL2
	.no_dead_strip	_phy_berlin_usb_power_on
.subsections_via_symbols
