	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnl_wrpll_get_multipliers
_cnl_wrpll_get_multipliers:             ## @cnl_wrpll_get_multipliers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	testb	$1, %dil
	jne	LBB0_12
## %bb.1:
	cmpl	$2, %edi
	jne	LBB0_4
## %bb.2:
	movl	$2, (%rsi)
	jmp	LBB0_3
LBB0_12:
	cmpl	$7, %edi
	ja	LBB0_15
## %bb.13:
	movl	$168, %eax
	btl	%edi, %eax
	jae	LBB0_15
## %bb.14:
	movl	%edi, (%rsi)
LBB0_3:
	movl	$1, %eax
	movl	$1, %esi
LBB0_16:
	movl	%eax, (%rdx)
	movl	%esi, (%rcx)
LBB0_17:
	popq	%rbp
	retq
LBB0_4:
	testb	$3, %dil
	je	LBB0_5
## %bb.6:
	movslq	%edi, %r8
	imull	$-1431655765, %edi, %eax        ## imm = 0xAAAAAAAB
	addl	$715827882, %eax                ## imm = 0x2AAAAAAA
	rorl	%eax
	cmpl	$715827882, %eax                ## imm = 0x2AAAAAAA
	jbe	LBB0_7
## %bb.8:
	imull	$-858993459, %edi, %eax         ## imm = 0xCCCCCCCD
	addl	$429496729, %eax                ## imm = 0x19999999
	cmpl	$858993458, %eax                ## imm = 0x33333332
	jbe	LBB0_9
## %bb.10:
	imull	$-1227133513, %edi, %eax        ## imm = 0xB6DB6DB7
	addl	$306783378, %eax                ## imm = 0x12492492
	rorl	%eax
	cmpl	$306783378, %eax                ## imm = 0x12492492
	ja	LBB0_17
## %bb.11:
	imulq	$-1840700269, %r8, %rax         ## imm = 0x92492493
	shrq	$32, %rax
	addl	%edi, %eax
	movl	%eax, %edi
	shrl	$31, %edi
	sarl	$3, %eax
	addl	%edi, %eax
	movl	$7, (%rsi)
	movl	$2, %esi
	jmp	LBB0_16
LBB0_15:
	movslq	%edi, %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rdi
	shrq	$63, %rdi
	shrq	$32, %rax
	addl	%edi, %eax
	movl	%eax, (%rsi)
	movl	$3, %esi
	movl	$1, %eax
	jmp	LBB0_16
LBB0_5:
	movl	$2, (%rsi)
	leal	3(%rdi), %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	sarl	$2, %eax
	movl	$2, %esi
	jmp	LBB0_16
LBB0_7:
	imulq	$715827883, %r8, %rax           ## imm = 0x2AAAAAAB
	movq	%rax, %rdi
	shrq	$63, %rdi
	shrq	$32, %rax
	addl	%edi, %eax
	movl	$3, (%rsi)
	movl	$2, %esi
	jmp	LBB0_16
LBB0_9:
	movl	$5, (%rsi)
	imulq	$1717986919, %r8, %rax          ## imm = 0x66666667
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	$34, %rax
	addl	%esi, %eax
	movl	$2, %esi
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cnl_wrpll_get_multipliers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnl_wrpll_get_multipliers
_cnl_wrpll_get_multipliers:             ; @cnl_wrpll_get_multipliers
	.cfi_startproc
; %bb.0:
	tbnz	w0, #0, LBB0_3
; %bb.1:
	cmp	w0, #2
	b.ne	LBB0_9
; %bb.2:
	mov	w8, #2
	str	w8, [x1]
	b	LBB0_6
LBB0_3:
	cmp	w0, #7
	b.hi	LBB0_14
; %bb.4:
	mov	w8, #1
	lsl	w8, w8, w0
	mov	w9, #168
	tst	w8, w9
	b.eq	LBB0_14
; %bb.5:
	str	w0, [x1]
LBB0_6:
	mov	w8, #1
	mov	w9, #1
LBB0_7:
	str	w8, [x2]
	str	w9, [x3]
LBB0_8:
	ret
LBB0_9:
	tst	w0, #0x3
	b.eq	LBB0_15
; %bb.10:
	mov	w8, #43691
	movk	w8, #10922, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	mov	w9, #6
	msub	w9, w8, w9, w0
	cbz	w9, LBB0_16
; %bb.11:
	mov	w8, #52429
	movk	w8, #52428, lsl #16
	mov	w9, #39321
	movk	w9, #6553, lsl #16
	madd	w8, w0, w8, w9
	mov	w9, #13106
	movk	w9, #13107, lsl #16
	cmp	w8, w9
	b.ls	LBB0_18
; %bb.12:
	mov	w8, #9363
	movk	w8, #37449, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #3
	add	w8, w9, w8, lsr #31
	mov	w9, #14
	msub	w9, w8, w9, w0
	cbnz	w9, LBB0_8
; %bb.13:
	mov	w9, #7
	b	LBB0_17
LBB0_14:
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	str	w8, [x1]
	mov	w9, #3
	mov	w8, #1
	b	LBB0_7
LBB0_15:
	mov	w9, #2
	str	w9, [x1]
	add	w8, w0, #3
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #2
	b	LBB0_7
LBB0_16:
	mov	w9, #3
LBB0_17:
	str	w9, [x1]
	mov	w9, #2
	b	LBB0_7
LBB0_18:
	mov	w8, #5
	str	w8, [x1]
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	mov	w9, #2
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cnl_wrpll_get_multipliers
.subsections_via_symbols
