	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_pll
_enable_pll:                            ## @enable_pll
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_READ4
	movq	_CTRL_BYPASS@GOTPCREL(%rip), %rcx
	movq	_CTRL_PWR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	(%rcx), %ecx
	orl	%esi, %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_ANADIG_PLL3_CTRL@GOTPCREL(%rip), %rax
	movq	_EN_USB_CLKS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movq	_ANADIG_PLL7_CTRL@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	cmpl	%r15d, (%rdi)
	cmovel	%esi, %edx
	cmpl	%r15d, (%rax)
	cmovel	%esi, %edx
	orl	%ecx, %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_WRITE4
	movq	_ANADIG_PLL_LOCKED@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_READ4
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_READ4
	movq	_CTRL_PLL_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_WRITE4
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_BYPASS,4,2                ## @CTRL_BYPASS
	.comm	_CTRL_PWR,4,2                   ## @CTRL_PWR
	.comm	_ANADIG_PLL3_CTRL,4,2           ## @ANADIG_PLL3_CTRL
	.comm	_ANADIG_PLL7_CTRL,4,2           ## @ANADIG_PLL7_CTRL
	.comm	_EN_USB_CLKS,4,2                ## @EN_USB_CLKS
	.comm	_ANADIG_PLL_LOCKED,4,2          ## @ANADIG_PLL_LOCKED
	.comm	_CTRL_PLL_EN,4,2                ## @CTRL_PLL_EN
	.no_dead_strip	_enable_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_pll
_enable_pll:                            ; @enable_pll
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_READ4
Lloh0:
	adrp	x8, _CTRL_BYPASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTRL_BYPASS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CTRL_PWR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CTRL_PWR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh6:
	adrp	x10, _ANADIG_PLL3_CTRL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ANADIG_PLL3_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _ANADIG_PLL7_CTRL@GOTPAGE
Lloh10:
	ldr	x11, [x11, _ANADIG_PLL7_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	w11, w19
	ccmp	w10, w19, #4, ne
Lloh12:
	adrp	x10, _EN_USB_CLKS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _EN_USB_CLKS@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	csel	w9, w9, wzr, eq
	orr	w2, w9, w8
	mov	x0, x20
	mov	x1, x19
	bl	_WRITE4
Lloh15:
	adrp	x21, _ANADIG_PLL_LOCKED@GOTPAGE
Lloh16:
	ldr	x21, [x21, _ANADIG_PLL_LOCKED@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_READ4
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_1
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_READ4
Lloh17:
	adrp	x8, _CTRL_PLL_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CTRL_PLL_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x20
	mov	x1, x19
	bl	_WRITE4
	mov	w0, #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
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_BYPASS,4,2                ; @CTRL_BYPASS
	.comm	_CTRL_PWR,4,2                   ; @CTRL_PWR
	.comm	_ANADIG_PLL3_CTRL,4,2           ; @ANADIG_PLL3_CTRL
	.comm	_ANADIG_PLL7_CTRL,4,2           ; @ANADIG_PLL7_CTRL
	.comm	_EN_USB_CLKS,4,2                ; @EN_USB_CLKS
	.comm	_ANADIG_PLL_LOCKED,4,2          ; @ANADIG_PLL_LOCKED
	.comm	_CTRL_PLL_EN,4,2                ; @CTRL_PLL_EN
	.no_dead_strip	_enable_pll
.subsections_via_symbols
