	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnl_init_cdclk
_cnl_init_cdclk:                        ## @cnl_init_cdclk
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_cnl_sanitize_cdclk
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rbx)
	jne	LBB0_3
LBB0_2:
	movq	16(%rbx), %rax
	movq	%rax, -32(%rbp)
	movups	(%rbx), %xmm0
	movaps	%xmm0, -48(%rbp)
	xorl	%edi, %edi
	callq	_cnl_calc_cdclk
	movq	%rax, %r14
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_cnl_cdclk_pll_vco
	movq	%rax, -40(%rbp)
	movq	%r14, %rdi
	callq	_cnl_calc_voltage_level
	movl	%eax, -32(%rbp)
	movq	_INVALID_PIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cnl_set_cdclk
LBB0_3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_PIPE,4,2               ## @INVALID_PIPE
	.no_dead_strip	_cnl_init_cdclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnl_init_cdclk
_cnl_init_cdclk:                        ; @cnl_init_cdclk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	_cnl_sanitize_cdclk
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
LBB0_2:
	ldr	q0, [x19]
	str	q0, [sp]
	ldr	x8, [x19, #16]
	str	x8, [sp, #16]
	mov	w0, #0
	bl	_cnl_calc_cdclk
	mov	x20, x0
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_cnl_cdclk_pll_vco
	str	x0, [sp, #8]
	mov	x0, x20
	bl	_cnl_calc_voltage_level
	str	w0, [sp, #16]
Lloh0:
	adrp	x8, _INVALID_PIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INVALID_PIPE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_cnl_set_cdclk
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_PIPE,4,2               ; @INVALID_PIPE
	.no_dead_strip	_cnl_init_cdclk
.subsections_via_symbols
