	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos5_usbdrd_phy_exit
_exynos5_usbdrd_phy_exit:               ## @exynos5_usbdrd_phy_exit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_phy_get_drvdata
	movq	%rax, %rdi
	callq	_to_usbdrd_phy
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_clk_prepare_enable
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_PHYUTMI_OTGDISABLE@GOTPCREL(%rip), %rax
	movq	_PHYUTMI_FORCESUSPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_PHYUTMI_FORCESLEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EXYNOS5_DRD_PHYUTMI@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_EXYNOS5_DRD_PHYCLKRST@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_PHYCLKRST_REF_SSP_EN@GOTPCREL(%rip), %rcx
	movq	_PHYCLKRST_SSC_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	movq	_PHYCLKRST_COMMONONN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_EXYNOS5_DRD_PHYTEST@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_PHYTEST_POWERDOWN_SSP@GOTPCREL(%rip), %rcx
	movq	_PHYTEST_POWERDOWN_HSP@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	(%rbx), %edi
	callq	_clk_disable_unprepare
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYUTMI_OTGDISABLE,4,2         ## @PHYUTMI_OTGDISABLE
	.comm	_PHYUTMI_FORCESUSPEND,4,2       ## @PHYUTMI_FORCESUSPEND
	.comm	_PHYUTMI_FORCESLEEP,4,2         ## @PHYUTMI_FORCESLEEP
	.comm	_EXYNOS5_DRD_PHYUTMI,8,3        ## @EXYNOS5_DRD_PHYUTMI
	.comm	_EXYNOS5_DRD_PHYCLKRST,8,3      ## @EXYNOS5_DRD_PHYCLKRST
	.comm	_PHYCLKRST_REF_SSP_EN,4,2       ## @PHYCLKRST_REF_SSP_EN
	.comm	_PHYCLKRST_SSC_EN,4,2           ## @PHYCLKRST_SSC_EN
	.comm	_PHYCLKRST_COMMONONN,4,2        ## @PHYCLKRST_COMMONONN
	.comm	_EXYNOS5_DRD_PHYTEST,8,3        ## @EXYNOS5_DRD_PHYTEST
	.comm	_PHYTEST_POWERDOWN_SSP,4,2      ## @PHYTEST_POWERDOWN_SSP
	.comm	_PHYTEST_POWERDOWN_HSP,4,2      ## @PHYTEST_POWERDOWN_HSP
	.no_dead_strip	_exynos5_usbdrd_phy_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos5_usbdrd_phy_exit
_exynos5_usbdrd_phy_exit:               ; @exynos5_usbdrd_phy_exit
	.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
	bl	_to_usbdrd_phy
	mov	x19, x0
	ldr	w0, [x0]
	bl	_clk_prepare_enable
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PHYUTMI_OTGDISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHYUTMI_OTGDISABLE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PHYUTMI_FORCESUSPEND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PHYUTMI_FORCESUSPEND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PHYUTMI_FORCESLEEP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHYUTMI_FORCESLEEP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _EXYNOS5_DRD_PHYUTMI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EXYNOS5_DRD_PHYUTMI@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x21, _EXYNOS5_DRD_PHYCLKRST@GOTPAGE
Lloh13:
	ldr	x21, [x21, _EXYNOS5_DRD_PHYCLKRST@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh14:
	adrp	x8, _PHYCLKRST_REF_SSP_EN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PHYCLKRST_REF_SSP_EN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _PHYCLKRST_SSC_EN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PHYCLKRST_SSC_EN@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _PHYCLKRST_COMMONONN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PHYCLKRST_COMMONONN@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh23:
	adrp	x21, _EXYNOS5_DRD_PHYTEST@GOTPAGE
Lloh24:
	ldr	x21, [x21, _EXYNOS5_DRD_PHYTEST@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh25:
	adrp	x8, _PHYTEST_POWERDOWN_SSP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PHYTEST_POWERDOWN_SSP@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _PHYTEST_POWERDOWN_HSP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PHYTEST_POWERDOWN_HSP@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19]
	bl	_clk_disable_unprepare
LBB0_2:
	mov	x0, x20
	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	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYUTMI_OTGDISABLE,4,2         ; @PHYUTMI_OTGDISABLE
	.comm	_PHYUTMI_FORCESUSPEND,4,2       ; @PHYUTMI_FORCESUSPEND
	.comm	_PHYUTMI_FORCESLEEP,4,2         ; @PHYUTMI_FORCESLEEP
	.comm	_EXYNOS5_DRD_PHYUTMI,8,3        ; @EXYNOS5_DRD_PHYUTMI
	.comm	_EXYNOS5_DRD_PHYCLKRST,8,3      ; @EXYNOS5_DRD_PHYCLKRST
	.comm	_PHYCLKRST_REF_SSP_EN,4,2       ; @PHYCLKRST_REF_SSP_EN
	.comm	_PHYCLKRST_SSC_EN,4,2           ; @PHYCLKRST_SSC_EN
	.comm	_PHYCLKRST_COMMONONN,4,2        ; @PHYCLKRST_COMMONONN
	.comm	_EXYNOS5_DRD_PHYTEST,8,3        ; @EXYNOS5_DRD_PHYTEST
	.comm	_PHYTEST_POWERDOWN_SSP,4,2      ; @PHYTEST_POWERDOWN_SSP
	.comm	_PHYTEST_POWERDOWN_HSP,4,2      ; @PHYTEST_POWERDOWN_HSP
	.no_dead_strip	_exynos5_usbdrd_phy_exit
.subsections_via_symbols
