	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g12a_ephy_pll_enable
_g12a_ephy_pll_enable:                  ## @g12a_ephy_pll_enable
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_g12a_ephy_pll_to_dev
	movq	%rax, %r14
	movq	_ETH_PLL_CTL0@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movl	%eax, %r15d
	movq	_PLL_CTL0_RST@GOTPCREL(%rip), %rbx
	movq	_PLL_CTL0_EN@GOTPCREL(%rip), %rax
	orl	(%rbx), %r15d
	orl	(%rax), %r15d
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	movl	%r15d, %edi
	callq	_writel
	movl	(%rbx), %ebx
	notl	%ebx
	andl	%r15d, %ebx
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	(%r12), %rdi
	addq	(%r14), %rdi
	movq	_PLL_CTL0_LOCK_DIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movq	_PLL_LOCK_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_readl_poll_timeout             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_PLL_CTL0,8,3               ## @ETH_PLL_CTL0
	.comm	_PLL_CTL0_RST,4,2               ## @PLL_CTL0_RST
	.comm	_PLL_CTL0_EN,4,2                ## @PLL_CTL0_EN
	.comm	_PLL_CTL0_LOCK_DIG,4,2          ## @PLL_CTL0_LOCK_DIG
	.comm	_PLL_LOCK_TIMEOUT,4,2           ## @PLL_LOCK_TIMEOUT
	.no_dead_strip	_g12a_ephy_pll_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g12a_ephy_pll_enable
_g12a_ephy_pll_enable:                  ; @g12a_ephy_pll_enable
	.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	_g12a_ephy_pll_to_dev
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _ETH_PLL_CTL0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETH_PLL_CTL0@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x22, _PLL_CTL0_RST@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PLL_CTL0_RST@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x9, _PLL_CTL0_EN@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PLL_CTL0_EN@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w20, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
	ldr	w8, [x22]
	bic	w20, w20, w8
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x9, x8
Lloh7:
	adrp	x8, _PLL_CTL0_LOCK_DIG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PLL_CTL0_LOCK_DIG@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w2, w8, w20
Lloh10:
	adrp	x8, _PLL_LOCK_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PLL_LOCK_TIMEOUT@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x1, x20
	mov	w3, #0
	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	_readl_poll_timeout
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_PLL_CTL0,8,3               ; @ETH_PLL_CTL0
	.comm	_PLL_CTL0_RST,4,2               ; @PLL_CTL0_RST
	.comm	_PLL_CTL0_EN,4,2                ; @PLL_CTL0_EN
	.comm	_PLL_CTL0_LOCK_DIG,4,2          ; @PLL_CTL0_LOCK_DIG
	.comm	_PLL_LOCK_TIMEOUT,4,2           ; @PLL_LOCK_TIMEOUT
	.no_dead_strip	_g12a_ephy_pll_enable
.subsections_via_symbols
