	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plla_configure
_plla_configure:                        ## @plla_configure
	.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
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_SYS_CTRL_PLLA_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PLL_BYPASS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_setbits_le32
	movl	$10, %edi
	callq	_udelay
	movq	_SYS_CTRL_RST_PLLA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_reset_block
	movl	$10, %edi
	callq	_udelay
	movq	_PLL_REFDIV_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movq	_PLL_OUTDIV_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%r14d, %ebx
	movq	_SAT_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r15), %ebx
	movq	_SYS_CTRL_PLLA_CTRL0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_writel
	movq	_SYS_CTRL_PLLA_CTRL1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	%r12d, %edi
	callq	_writel
	movq	_PLL_BWADJ_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movq	_SYS_CTRL_PLLA_CTRL2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r13d, %edi
	callq	_writel
	movq	_SYS_CTRL_PLLA_CTRL3@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_writel
	movl	$10, %edi
	callq	_udelay
	movq	_SYS_CTRL_RST_PLLA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_reset_block
	movl	$100, %edi
	callq	_udelay
	movl	(%r15), %edi
	callq	_readl
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	movl	(%r14), %edi
	callq	_readl
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	movl	(%r12), %edi
	callq	_readl
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	movl	(%r13), %edi
	callq	_readl
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	movl	(%r15), %edi
	movq	_PLL_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clrbits_le32
	leaq	L_.str.4(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_CTRL_PLLA_CTRL0,4,2        ## @SYS_CTRL_PLLA_CTRL0
	.comm	_PLL_BYPASS,4,2                 ## @PLL_BYPASS
	.comm	_SYS_CTRL_RST_PLLA,4,2          ## @SYS_CTRL_RST_PLLA
	.comm	_PLL_REFDIV_SHIFT,4,2           ## @PLL_REFDIV_SHIFT
	.comm	_PLL_OUTDIV_SHIFT,4,2           ## @PLL_OUTDIV_SHIFT
	.comm	_SAT_ENABLE,4,2                 ## @SAT_ENABLE
	.comm	_SYS_CTRL_PLLA_CTRL1,4,2        ## @SYS_CTRL_PLLA_CTRL1
	.comm	_PLL_BWADJ_SHIFT,4,2            ## @PLL_BWADJ_SHIFT
	.comm	_SYS_CTRL_PLLA_CTRL2,4,2        ## @SYS_CTRL_PLLA_CTRL2
	.comm	_SYS_CTRL_PLLA_CTRL3,4,2        ## @SYS_CTRL_PLLA_CTRL3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  plla_ctrl0 : %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"  plla_ctrl1 : %08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"  plla_ctrl2 : %08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"  plla_ctrl3 : %08x\n"

L_.str.4:                               ## @.str.4
	.asciz	"\nPLLA Set\n"

	.no_dead_strip	_plla_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plla_configure
_plla_configure:                        ; @plla_configure
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x25, _SYS_CTRL_PLLA_CTRL0@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SYS_CTRL_PLLA_CTRL0@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x26, _PLL_BYPASS@GOTPAGE
Lloh3:
	ldr	x26, [x26, _PLL_BYPASS@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_setbits_le32
	mov	w0, #10
	bl	_udelay
Lloh4:
	adrp	x27, _SYS_CTRL_RST_PLLA@GOTPAGE
Lloh5:
	ldr	x27, [x27, _SYS_CTRL_RST_PLLA@GOTPAGEOFF]
	ldr	w0, [x27]
	mov	w1, #1
	bl	_reset_block
	mov	w0, #10
	bl	_udelay
Lloh6:
	adrp	x8, _PLL_REFDIV_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PLL_REFDIV_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w23, w8
Lloh9:
	adrp	x9, _PLL_OUTDIV_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PLL_OUTDIV_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w24, w9
Lloh12:
	adrp	x10, _SAT_ENABLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SAT_ENABLE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x26]
	orr	w0, w8, w9
	ldr	w1, [x25]
	bl	_writel
Lloh15:
	adrp	x23, _SYS_CTRL_PLLA_CTRL1@GOTPAGE
Lloh16:
	ldr	x23, [x23, _SYS_CTRL_PLLA_CTRL1@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_writel
Lloh17:
	adrp	x8, _PLL_BWADJ_SHIFT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PLL_BWADJ_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	lsl	w8, w21, w8
	orr	w0, w8, w20
Lloh20:
	adrp	x21, _SYS_CTRL_PLLA_CTRL2@GOTPAGE
Lloh21:
	ldr	x21, [x21, _SYS_CTRL_PLLA_CTRL2@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_writel
Lloh22:
	adrp	x20, _SYS_CTRL_PLLA_CTRL3@GOTPAGE
Lloh23:
	ldr	x20, [x20, _SYS_CTRL_PLLA_CTRL3@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_writel
	mov	w0, #10
	bl	_udelay
	ldr	w0, [x27]
	mov	w1, #0
	bl	_reset_block
	mov	w0, #100
	bl	_udelay
	ldr	w0, [x25]
	bl	_readl
	mov	x1, x0
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [x23]
	bl	_readl
	mov	x1, x0
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w0, [x21]
	bl	_readl
	mov	x1, x0
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
	bl	_readl
	mov	x1, x0
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [x25]
	ldr	w1, [x26]
	bl	_clrbits_le32
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_puts
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_CTRL_PLLA_CTRL0,4,2        ; @SYS_CTRL_PLLA_CTRL0
	.comm	_PLL_BYPASS,4,2                 ; @PLL_BYPASS
	.comm	_SYS_CTRL_RST_PLLA,4,2          ; @SYS_CTRL_RST_PLLA
	.comm	_PLL_REFDIV_SHIFT,4,2           ; @PLL_REFDIV_SHIFT
	.comm	_PLL_OUTDIV_SHIFT,4,2           ; @PLL_OUTDIV_SHIFT
	.comm	_SAT_ENABLE,4,2                 ; @SAT_ENABLE
	.comm	_SYS_CTRL_PLLA_CTRL1,4,2        ; @SYS_CTRL_PLLA_CTRL1
	.comm	_PLL_BWADJ_SHIFT,4,2            ; @PLL_BWADJ_SHIFT
	.comm	_SYS_CTRL_PLLA_CTRL2,4,2        ; @SYS_CTRL_PLLA_CTRL2
	.comm	_SYS_CTRL_PLLA_CTRL3,4,2        ; @SYS_CTRL_PLLA_CTRL3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  plla_ctrl0 : %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"  plla_ctrl1 : %08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"  plla_ctrl2 : %08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"  plla_ctrl3 : %08x\n"

l_.str.4:                               ; @.str.4
	.asciz	"\nPLLA Set\n"

	.no_dead_strip	_plla_configure
.subsections_via_symbols
