	.file	"extr_phy-mvebu-sata.c_phy_mvebu_sata_power_on.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	phy_mvebu_sata_power_on, @function
phy_mvebu_sata_power_on:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	phy_get_drvdata@PLT
	mov	edi, DWORD PTR [rax]
	mov	rbx, rax
	call	clk_prepare_enable@PLT
	mov	rdi, QWORD PTR SATA_PHY_MODE_2[rip]
	add	rdi, QWORD PTR 8[rbx]
	call	readl@PLT
	mov	edi, DWORD PTR MODE_2_FORCE_PU_TX[rip]
	or	edi, DWORD PTR MODE_2_FORCE_PU_RX[rip]
	or	edi, DWORD PTR MODE_2_PU_PLL[rip]
	or	edi, DWORD PTR MODE_2_PU_IVREF[rip]
	mov	rsi, QWORD PTR SATA_PHY_MODE_2[rip]
	or	edi, eax
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	mov	rdi, QWORD PTR SATA_IF_CTRL[rip]
	add	rdi, QWORD PTR 8[rbx]
	call	readl@PLT
	mov	edi, DWORD PTR CTRL_PHY_SHUTDOWN[rip]
	mov	rsi, QWORD PTR SATA_IF_CTRL[rip]
	add	rsi, QWORD PTR 8[rbx]
	not	edi
	and	edi, eax
	call	writel@PLT
	mov	edi, DWORD PTR [rbx]
	call	clk_disable_unprepare@PLT
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	phy_mvebu_sata_power_on, .-phy_mvebu_sata_power_on
	.comm	SATA_PHY_MODE_2,8,8
	.comm	SATA_IF_CTRL,8,8
	.comm	MODE_2_PU_PLL,4,4
	.comm	MODE_2_PU_IVREF,4,4
	.comm	MODE_2_FORCE_PU_TX,4,4
	.comm	MODE_2_FORCE_PU_RX,4,4
	.comm	CTRL_PHY_SHUTDOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_phy-mvebu-sata.c_phy_mvebu_sata_power_on.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	phy_mvebu_sata_power_on, %function
phy_mvebu_sata_power_on:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	phy_get_drvdata
	mov	r4, r0
	ldr	r6, .L4
	ldr	r0, [r0]
	bl	clk_prepare_enable
	ldr	r3, [r6]
	ldr	r0, [r4, #4]
	ldr	r5, .L4+4
	add	r0, r0, r3
	bl	readl
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L4+16
	orr	r3, r3, r1
	ldr	r1, .L4+20
	ldr	lr, [r2]
	ldr	ip, [r1]
	orr	r3, r3, lr
	ldr	r2, [r6]
	ldr	r1, [r4, #4]
	orr	r3, r3, ip
	add	r1, r1, r2
	orr	r0, r3, r0
	bl	writel
	ldr	r3, [r5]
	ldr	r0, [r4, #4]
	add	r0, r0, r3
	bl	readl
	ldr	r3, .L4+24
	ldr	r2, [r5]
	ldr	r3, [r3]
	ldr	r1, [r4, #4]
	bic	r0, r0, r3
	add	r1, r1, r2
	bl	writel
	ldr	r0, [r4]
	bl	clk_disable_unprepare
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	SATA_PHY_MODE_2
	.word	SATA_IF_CTRL
	.word	MODE_2_FORCE_PU_RX
	.word	MODE_2_FORCE_PU_TX
	.word	MODE_2_PU_PLL
	.word	MODE_2_PU_IVREF
	.word	CTRL_PHY_SHUTDOWN
	.size	phy_mvebu_sata_power_on, .-phy_mvebu_sata_power_on
	.comm	SATA_PHY_MODE_2,4,4
	.comm	SATA_IF_CTRL,4,4
	.comm	MODE_2_PU_PLL,4,4
	.comm	MODE_2_PU_IVREF,4,4
	.comm	MODE_2_FORCE_PU_TX,4,4
	.comm	MODE_2_FORCE_PU_RX,4,4
	.comm	CTRL_PHY_SHUTDOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
