	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra124_pll_init
_tegra124_pll_init:                     ## @tegra124_pll_init
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_clknode_get_softc
	movq	%rax, %rbx
	movl	20(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rax, %rdi
	callq	_RD4
	movq	_PLL_BASE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -20(%rbp)
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_RD4
	movl	-20(%rbp), %edx
	orl	(%rbx), %edx
	movl	%edx, -20(%rbp)
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_WR4
LBB0_2:
	movq	8(%rbx), %rax
	movq	_PLL_REFE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	16(%rbx), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_RD4
	movl	$-536870913, %edx               ## imm = 0xDFFFFFFF
	andl	-20(%rbp), %edx
	movl	%edx, -20(%rbp)
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_WR4
LBB0_4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_clknode_init_parent_idx
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLL_BASE_ENABLE,4,2            ## @PLL_BASE_ENABLE
	.comm	_PLL_REFE,8,3                   ## @PLL_REFE
	.no_dead_strip	_tegra124_pll_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra124_pll_init
_tegra124_pll_init:                     ; @tegra124_pll_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_clknode_get_softc
	mov	x20, x0
	ldr	w1, [x0, #20]
	add	x2, sp, #12
	bl	_RD4
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _PLL_BASE_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLL_BASE_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20, #16]
	add	x2, sp, #12
	mov	x0, x20
	bl	_RD4
	ldr	w8, [x20]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_WR4
LBB0_2:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _PLL_REFE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PLL_REFE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x20, #16]
	add	x2, sp, #12
	mov	x0, x20
	bl	_RD4
	ldr	w8, [sp, #12]
	and	w2, w8, #0xdfffffff
	str	w2, [sp, #12]
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_WR4
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_clknode_init_parent_idx
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PLL_BASE_ENABLE,4,2            ; @PLL_BASE_ENABLE
	.comm	_PLL_REFE,8,3                   ; @PLL_REFE
	.no_dead_strip	_tegra124_pll_init
.subsections_via_symbols
