	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icl_calc_cdclk_pll_vco
_icl_calc_cdclk_pll_vco:                ## @icl_calc_cdclk_pll_vco
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	cmpl	%esi, (%rdi)
	je	LBB0_21
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	cmpl	$311999, %esi                   ## imm = 0x4C2BF
	jle	LBB0_2
## %bb.7:
	cmpl	$556799, %ebx                   ## imm = 0x87EFF
	jle	LBB0_8
## %bb.11:
	cmpl	$556800, %ebx                   ## imm = 0x87F00
	je	LBB0_15
## %bb.12:
	cmpl	$648000, %ebx                   ## imm = 0x9E340
	je	LBB0_10
## %bb.13:
	cmpl	$652800, %ebx                   ## imm = 0x9F600
	je	LBB0_15
	jmp	LBB0_14
LBB0_2:
	cmpl	$191999, %ebx                   ## imm = 0x2EDFF
	jg	LBB0_5
## %bb.3:
	cmpl	$172800, %ebx                   ## imm = 0x2A300
	je	LBB0_15
## %bb.4:
	cmpl	$180000, %ebx                   ## imm = 0x2BF20
	je	LBB0_10
	jmp	LBB0_14
LBB0_5:
	cmpl	$192000, %ebx                   ## imm = 0x2EE00
	je	LBB0_16
## %bb.6:
	cmpl	$307200, %ebx                   ## imm = 0x4B000
	je	LBB0_15
	jmp	LBB0_14
LBB0_8:
	cmpl	$312000, %ebx                   ## imm = 0x4C2C0
	je	LBB0_10
## %bb.9:
	cmpl	$552000, %ebx                   ## imm = 0x86C40
	jne	LBB0_14
LBB0_10:
	cmpl	$24000, 4(%r14)                 ## imm = 0x5DC0
	setne	%al
	jmp	LBB0_20
LBB0_16:
	movl	4(%r14), %ecx
	xorl	%eax, %eax
	cmpl	$19200, %ecx                    ## imm = 0x4B00
	je	LBB0_20
## %bb.17:
	cmpl	$24000, %ecx                    ## imm = 0x5DC0
	je	LBB0_20
## %bb.18:
	cmpl	$38400, %ecx                    ## imm = 0x9600
	je	LBB0_20
## %bb.19:
	movb	$1, %al
	jmp	LBB0_20
LBB0_14:
	movl	%ebx, %edi
	callq	_MISSING_CASE
LBB0_15:
	movl	4(%r14), %eax
	cmpl	$19200, %eax                    ## imm = 0x4B00
	setne	%cl
	cmpl	$38400, %eax                    ## imm = 0x9600
	setne	%al
	andb	%cl, %al
LBB0_20:
	movzbl	%al, %edi
	callq	_WARN_ON
	movl	4(%r14), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	movl	%ebx, %eax
	cltd
	idivl	%esi
	imull	%ecx, %eax
LBB0_21:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_icl_calc_cdclk_pll_vco
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icl_calc_cdclk_pll_vco
_icl_calc_cdclk_pll_vco:                ; @icl_calc_cdclk_pll_vco
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_20
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	mov	w8, #49855
	movk	w8, #4, lsl #16
	cmp	w1, w8
	b.le	LBB0_7
; %bb.3:
	mov	w8, #32511
	movk	w8, #8, lsl #16
	cmp	w19, w8
	b.le	LBB0_10
; %bb.4:
	mov	w8, #32512
	movk	w8, #8, lsl #16
	cmp	w19, w8
	b.eq	LBB0_17
; %bb.5:
	mov	w8, #58176
	movk	w8, #9, lsl #16
	cmp	w19, w8
	b.eq	LBB0_13
; %bb.6:
	mov	w8, #62976
	movk	w8, #9, lsl #16
	cmp	w19, w8
	b.eq	LBB0_17
	b	LBB0_16
LBB0_7:
	mov	w8, #60927
	movk	w8, #2, lsl #16
	cmp	w19, w8
	b.gt	LBB0_14
; %bb.8:
	mov	w8, #41728
	movk	w8, #2, lsl #16
	cmp	w19, w8
	b.eq	LBB0_17
; %bb.9:
	mov	w8, #48928
	movk	w8, #2, lsl #16
	b	LBB0_12
LBB0_10:
	mov	w8, #49856
	movk	w8, #4, lsl #16
	cmp	w19, w8
	b.eq	LBB0_13
; %bb.11:
	mov	w8, #27712
	movk	w8, #8, lsl #16
LBB0_12:
	cmp	w19, w8
	b.ne	LBB0_16
LBB0_13:
	ldr	w8, [x20, #4]
	mov	w9, #24000
	cmp	w8, w9
	b	LBB0_18
LBB0_14:
	mov	w8, #60928
	movk	w8, #2, lsl #16
	cmp	w19, w8
	b.eq	LBB0_21
; %bb.15:
	cmp	w19, #75, lsl #12               ; =307200
	b.eq	LBB0_17
LBB0_16:
	mov	x0, x19
	bl	_MISSING_CASE
LBB0_17:
	ldr	w8, [x20, #4]
	mov	w9, #19200
	cmp	w8, w9
	mov	w9, #38400
	ccmp	w8, w9, #4, ne
LBB0_18:
	cset	w0, ne
LBB0_19:
	bl	_WARN_ON
	ldr	w8, [x20, #4]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	sdiv	w9, w19, w9
	mul	w0, w9, w8
LBB0_20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_21:
	ldr	w8, [x20, #4]
	mov	w9, #19200
	mov	w10, #24000
	mov	w11, #38400
	mov	w12, #1
	cmp	w8, w11
	csel	w11, wzr, w12, eq
	cmp	w8, w10
	csel	w10, wzr, w11, eq
	cmp	w8, w9
	csel	w0, wzr, w10, eq
	b	LBB0_19
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_icl_calc_cdclk_pll_vco
.subsections_via_symbols
