	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_mvebu_sata_power_off
_phy_mvebu_sata_power_off:              ## @phy_mvebu_sata_power_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_phy_get_drvdata
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_clk_prepare_enable
	movq	_SATA_PHY_MODE_2@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_MODE_2_FORCE_PU_TX@GOTPCREL(%rip), %rcx
	movq	_MODE_2_FORCE_PU_RX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	movq	_MODE_2_PU_PLL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movq	_MODE_2_PU_IVREF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_SATA_IF_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_CTRL_PHY_SHUTDOWN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	(%rbx), %edi
	callq	_clk_disable_unprepare
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SATA_PHY_MODE_2,8,3            ## @SATA_PHY_MODE_2
	.comm	_MODE_2_FORCE_PU_TX,4,2         ## @MODE_2_FORCE_PU_TX
	.comm	_MODE_2_FORCE_PU_RX,4,2         ## @MODE_2_FORCE_PU_RX
	.comm	_MODE_2_PU_PLL,4,2              ## @MODE_2_PU_PLL
	.comm	_MODE_2_PU_IVREF,4,2            ## @MODE_2_PU_IVREF
	.comm	_SATA_IF_CTRL,8,3               ## @SATA_IF_CTRL
	.comm	_CTRL_PHY_SHUTDOWN,4,2          ## @CTRL_PHY_SHUTDOWN
	.no_dead_strip	_phy_mvebu_sata_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_mvebu_sata_power_off
_phy_mvebu_sata_power_off:              ; @phy_mvebu_sata_power_off
	.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
	bl	_phy_get_drvdata
	mov	x19, x0
	ldr	w0, [x0]
	bl	_clk_prepare_enable
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x20, _SATA_PHY_MODE_2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SATA_PHY_MODE_2@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _MODE_2_FORCE_PU_TX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MODE_2_FORCE_PU_TX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _MODE_2_FORCE_PU_RX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MODE_2_FORCE_PU_RX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _MODE_2_PU_PLL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MODE_2_PU_PLL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _MODE_2_PU_IVREF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MODE_2_PU_IVREF@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh14:
	adrp	x20, _SATA_IF_CTRL@GOTPAGE
Lloh15:
	ldr	x20, [x20, _SATA_IF_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh16:
	adrp	x8, _CTRL_PHY_SHUTDOWN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CTRL_PHY_SHUTDOWN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19]
	bl	_clk_disable_unprepare
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SATA_PHY_MODE_2,8,3            ; @SATA_PHY_MODE_2
	.comm	_MODE_2_FORCE_PU_TX,4,2         ; @MODE_2_FORCE_PU_TX
	.comm	_MODE_2_FORCE_PU_RX,4,2         ; @MODE_2_FORCE_PU_RX
	.comm	_MODE_2_PU_PLL,4,2              ; @MODE_2_PU_PLL
	.comm	_MODE_2_PU_IVREF,4,2            ; @MODE_2_PU_IVREF
	.comm	_SATA_IF_CTRL,8,3               ; @SATA_IF_CTRL
	.comm	_CTRL_PHY_SHUTDOWN,4,2          ; @CTRL_PHY_SHUTDOWN
	.no_dead_strip	_phy_mvebu_sata_power_off
.subsections_via_symbols
