	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5pv210_phy_pwr
_s5pv210_phy_pwr:                       ## @s5pv210_phy_pwr
	.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
	movq	(%rdi), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	movl	$0, %r12d
	cmpl	$129, %eax
	jne	LBB0_4
## %bb.2:
	movq	_S5PV210_UPHYPWR_PHY0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_S5PV210_URSTCON_PHY0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_4
LBB0_3:
	movq	_S5PV210_UPHYPWR_PHY1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_S5PV210_URSTCON_PHY1_ALL@GOTPCREL(%rip), %rax
	movq	_S5PV210_URSTCON_HOST_LINK_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
LBB0_4:
	movq	8(%rdi), %rbx
	testl	%esi, %esi
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	leaq	8(%rbx), %r15
	movq	_S5PV210_UPHYCLK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_S5PV210_UPHYPWR@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	notl	%r14d
	andl	%eax, %r14d
	movq	(%r13), %rsi
	addq	8(%rbx), %rsi
	movl	%r14d, %edi
	callq	_writel
	movq	_S5PV210_UPHYRST@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movl	%eax, %r14d
	movl	%eax, %edi
	orl	%r12d, %edi
	movq	(%r13), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movl	$10, %edi
	callq	_udelay
	notl	%r12d
	andl	%r14d, %r12d
	jmp	LBB0_7
LBB0_6:
	movq	_S5PV210_UPHYPWR@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	8(%rbx), %rdi
	addq	$8, %rbx
	callq	_readl
	movl	%eax, %r12d
	orl	%r14d, %r12d
	movq	%rbx, %r15
LBB0_7:
	movq	(%r13), %rsi
	addq	(%r15), %rsi
	movl	%r12d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S5PV210_UPHYPWR_PHY0,4,2       ## @S5PV210_UPHYPWR_PHY0
	.comm	_S5PV210_URSTCON_PHY0,4,2       ## @S5PV210_URSTCON_PHY0
	.comm	_S5PV210_UPHYPWR_PHY1,4,2       ## @S5PV210_UPHYPWR_PHY1
	.comm	_S5PV210_URSTCON_PHY1_ALL,4,2   ## @S5PV210_URSTCON_PHY1_ALL
	.comm	_S5PV210_URSTCON_HOST_LINK_ALL,4,2 ## @S5PV210_URSTCON_HOST_LINK_ALL
	.comm	_S5PV210_UPHYCLK,8,3            ## @S5PV210_UPHYCLK
	.comm	_S5PV210_UPHYPWR,8,3            ## @S5PV210_UPHYPWR
	.comm	_S5PV210_UPHYRST,8,3            ## @S5PV210_UPHYRST
	.no_dead_strip	_s5pv210_phy_pwr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5pv210_phy_pwr
_s5pv210_phy_pwr:                       ; @s5pv210_phy_pwr
	.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
	ldp	x8, x20, [x0]
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _S5PV210_UPHYPWR_PHY0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S5PV210_UPHYPWR_PHY0@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _S5PV210_URSTCON_PHY0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S5PV210_URSTCON_PHY0@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	cbnz	w1, LBB0_4
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _S5PV210_UPHYPWR_PHY1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S5PV210_UPHYPWR_PHY1@GOTPAGEOFF]
Lloh8:
	adrp	x9, _S5PV210_URSTCON_PHY1_ALL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S5PV210_URSTCON_PHY1_ALL@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
Lloh11:
	ldr	w8, [x9]
Lloh12:
	adrp	x9, _S5PV210_URSTCON_HOST_LINK_ALL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S5PV210_URSTCON_HOST_LINK_ALL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w21, w9, w8
	cbz	w1, LBB0_6
LBB0_4:
	ldr	w0, [x20]
	ldr	x8, [x20, #8]!
Lloh15:
	adrp	x9, _S5PV210_UPHYCLK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _S5PV210_UPHYCLK@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x20]
Lloh18:
	adrp	x22, _S5PV210_UPHYPWR@GOTPAGE
Lloh19:
	ldr	x22, [x22, _S5PV210_UPHYPWR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	bic	w0, w0, w19
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x20]
Lloh20:
	adrp	x22, _S5PV210_UPHYRST@GOTPAGE
Lloh21:
	ldr	x22, [x22, _S5PV210_UPHYRST@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	mov	x19, x0
	orr	w0, w0, w21
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #10
	bl	_udelay
	bic	w0, w19, w21
	b	LBB0_7
LBB0_5:
	mov	w19, #0
	mov	w21, #0
	cbnz	w1, LBB0_4
LBB0_6:
	ldr	x8, [x20, #8]!
Lloh22:
	adrp	x22, _S5PV210_UPHYPWR@GOTPAGE
Lloh23:
	ldr	x22, [x22, _S5PV210_UPHYPWR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	orr	w0, w0, w19
LBB0_7:
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x1, x9, x8
	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
	b	_writel
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_S5PV210_UPHYPWR_PHY0,4,2       ; @S5PV210_UPHYPWR_PHY0
	.comm	_S5PV210_URSTCON_PHY0,4,2       ; @S5PV210_URSTCON_PHY0
	.comm	_S5PV210_UPHYPWR_PHY1,4,2       ; @S5PV210_UPHYPWR_PHY1
	.comm	_S5PV210_URSTCON_PHY1_ALL,4,2   ; @S5PV210_URSTCON_PHY1_ALL
	.comm	_S5PV210_URSTCON_HOST_LINK_ALL,4,2 ; @S5PV210_URSTCON_HOST_LINK_ALL
	.comm	_S5PV210_UPHYCLK,8,3            ; @S5PV210_UPHYCLK
	.comm	_S5PV210_UPHYPWR,8,3            ; @S5PV210_UPHYPWR
	.comm	_S5PV210_UPHYRST,8,3            ; @S5PV210_UPHYRST
	.no_dead_strip	_s5pv210_phy_pwr
.subsections_via_symbols
