	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnl_wrpll_params_populate
_cnl_wrpll_params_populate:             ## @cnl_wrpll_params_populate
	.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, %r13d
	movl	%ecx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r12
	cmpl	$3, %r9d
	je	LBB0_5
## %bb.1:
	cmpl	$2, %r13d
	je	LBB0_4
## %bb.2:
	cmpl	$1, %r13d
	jne	LBB0_6
## %bb.3:
	movl	$1, (%r12)
	jmp	LBB0_7
LBB0_5:
	movl	$4, (%r12)
	jmp	LBB0_7
LBB0_4:
	movl	$2, (%r12)
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r8d, %ebx
	callq	_WARN
	movl	%ebx, %r8d
LBB0_7:
	addl	$-2, %r14d
	cmpl	$5, %r14d
	ja	LBB0_13
## %bb.8:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	movl	$1, 4(%r12)
	jmp	LBB0_14
LBB0_10:
	movl	$2, 4(%r12)
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%r8d, %ebx
	callq	_WARN
	movl	%ebx, %r8d
	jmp	LBB0_14
LBB0_11:
	movl	$4, 4(%r12)
	jmp	LBB0_14
LBB0_12:
	movl	$8, 4(%r12)
LBB0_14:
	cmpl	$2, %r13d
	setne	%al
	xorl	%ebx, %ebx
	cmpl	$1, %r8d
	setne	%bl
	andb	%bl, %al
	movzbl	%al, %edi
	movl	%r8d, %r14d
	callq	_WARN_ON
	movl	%r14d, 8(%r12)
	movl	%ebx, 12(%r12)
	shll	$15, %r15d
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_div_u64
	movl	%eax, %ecx
	sarl	$15, %ecx
	movl	%ecx, 16(%r12)
	andl	$32767, %eax                    ## imm = 0x7FFF
	movl	%eax, 20(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Incorrect KDiv\n"

L_.str.1:                               ## @.str.1
	.asciz	"Incorrect PDiv\n"

	.no_dead_strip	_cnl_wrpll_params_populate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnl_wrpll_params_populate
_cnl_wrpll_params_populate:             ; @cnl_wrpll_params_populate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x5
	mov	x21, x4
	mov	x24, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w5, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w23, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w23, #1
	b.ne	LBB0_6
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_7
LBB0_4:
	mov	w8, #4
	str	w8, [x19]
	b	LBB0_7
LBB0_5:
	mov	w8, #2
	str	w8, [x19]
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
LBB0_7:
	sub	w8, w24, #2
	cmp	w8, #5
	b.hi	LBB0_11
; %bb.8:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	mov	w8, #1
	b	LBB0_14
LBB0_10:
	mov	w8, #2
	b	LBB0_14
LBB0_11:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_WARN
	b	LBB0_15
LBB0_12:
	mov	w8, #4
	b	LBB0_14
LBB0_13:
	mov	w8, #8
LBB0_14:
	str	w8, [x19, #4]
LBB0_15:
	cmp	w23, #2
	cset	w8, ne
	cmp	w21, #1
	cset	w23, ne
	and	w0, w23, w8
	bl	_WARN_ON
	stp	w21, w23, [x19, #8]
	lsl	w0, w22, #15
	mov	x1, x20
	bl	_div_u64
	asr	w8, w0, #15
	and	w9, w0, #0x7fff
	stp	w8, w9, [x19, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Incorrect KDiv\n"

l_.str.1:                               ; @.str.1
	.asciz	"Incorrect PDiv\n"

	.no_dead_strip	_cnl_wrpll_params_populate
.subsections_via_symbols
