	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos5_usbdrd_utmi_set_refclk
_exynos5_usbdrd_utmi_set_refclk:        ## @exynos5_usbdrd_utmi_set_refclk
	.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	_to_usbdrd_phy
	movq	%rax, %r14
	movq	_EXYNOS5_DRD_PHYCLKRST@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_PHYCLKRST_REFCLKSEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_PHYCLKRST_REFCLKSEL_EXT_REFCLK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_PHYCLKRST_FSEL_UTMI_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_PHYCLKRST_MPLL_MULTIPLIER_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PHYCLKRST_SSC_REFCLKSEL_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	andl	%eax, %ebx
	movl	(%r14), %edi
	callq	_PHYCLKRST_FSEL
	orl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXYNOS5_DRD_PHYCLKRST,8,3      ## @EXYNOS5_DRD_PHYCLKRST
	.comm	_PHYCLKRST_REFCLKSEL_MASK,4,2   ## @PHYCLKRST_REFCLKSEL_MASK
	.comm	_PHYCLKRST_REFCLKSEL_EXT_REFCLK,4,2 ## @PHYCLKRST_REFCLKSEL_EXT_REFCLK
	.comm	_PHYCLKRST_FSEL_UTMI_MASK,4,2   ## @PHYCLKRST_FSEL_UTMI_MASK
	.comm	_PHYCLKRST_MPLL_MULTIPLIER_MASK,4,2 ## @PHYCLKRST_MPLL_MULTIPLIER_MASK
	.comm	_PHYCLKRST_SSC_REFCLKSEL_MASK,4,2 ## @PHYCLKRST_SSC_REFCLKSEL_MASK
	.no_dead_strip	_exynos5_usbdrd_utmi_set_refclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos5_usbdrd_utmi_set_refclk
_exynos5_usbdrd_utmi_set_refclk:        ; @exynos5_usbdrd_utmi_set_refclk
	.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	_to_usbdrd_phy
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _EXYNOS5_DRD_PHYCLKRST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXYNOS5_DRD_PHYCLKRST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh3:
	adrp	x8, _PHYCLKRST_REFCLKSEL_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHYCLKRST_REFCLKSEL_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh6:
	adrp	x9, _PHYCLKRST_REFCLKSEL_EXT_REFCLK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHYCLKRST_REFCLKSEL_EXT_REFCLK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PHYCLKRST_FSEL_UTMI_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PHYCLKRST_FSEL_UTMI_MASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
Lloh12:
	adrp	x10, _PHYCLKRST_MPLL_MULTIPLIER_MASK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PHYCLKRST_MPLL_MULTIPLIER_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orn	w9, w10, w9
Lloh15:
	adrp	x10, _PHYCLKRST_SSC_REFCLKSEL_MASK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PHYCLKRST_SSC_REFCLKSEL_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w9, w10
	and	w20, w9, w8
	ldr	w0, [x19]
	bl	_PHYCLKRST_FSEL
	orr	w0, w20, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_EXYNOS5_DRD_PHYCLKRST,8,3      ; @EXYNOS5_DRD_PHYCLKRST
	.comm	_PHYCLKRST_REFCLKSEL_MASK,4,2   ; @PHYCLKRST_REFCLKSEL_MASK
	.comm	_PHYCLKRST_REFCLKSEL_EXT_REFCLK,4,2 ; @PHYCLKRST_REFCLKSEL_EXT_REFCLK
	.comm	_PHYCLKRST_FSEL_UTMI_MASK,4,2   ; @PHYCLKRST_FSEL_UTMI_MASK
	.comm	_PHYCLKRST_MPLL_MULTIPLIER_MASK,4,2 ; @PHYCLKRST_MPLL_MULTIPLIER_MASK
	.comm	_PHYCLKRST_SSC_REFCLKSEL_MASK,4,2 ; @PHYCLKRST_SSC_REFCLKSEL_MASK
	.no_dead_strip	_exynos5_usbdrd_utmi_set_refclk
.subsections_via_symbols
