	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icl_pll_to_ddi_clk_sel
_icl_pll_to_ddi_clk_sel:                ## @icl_pll_to_ddi_clk_sel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	leal	-129(%rdi), %eax
	cmpl	$4, %eax
	jae	LBB0_2
## %bb.1:
	movq	_DDI_CLK_SEL_MG@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_2:
	cmpl	$128, %edi
	jne	LBB0_3
## %bb.4:
	movl	(%rsi), %edi
	cmpl	$539999, %edi                   ## imm = 0x83D5F
	jg	LBB0_7
## %bb.5:
	cmpl	$162000, %edi                   ## imm = 0x278D0
	je	LBB0_6
## %bb.12:
	cmpl	$270000, %edi                   ## imm = 0x41EB0
	jne	LBB0_13
## %bb.10:
	movq	_DDI_CLK_SEL_TBT_270@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_3:
                                        ## kill: def $edi killed $edi killed $rdi
LBB0_13:
	callq	_MISSING_CASE
	movq	_DDI_CLK_SEL_NONE@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	cmpl	$540000, %edi                   ## imm = 0x83D60
	je	LBB0_11
## %bb.8:
	cmpl	$810000, %edi                   ## imm = 0xC5C10
	jne	LBB0_13
## %bb.9:
	movq	_DDI_CLK_SEL_TBT_810@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_6:
	movq	_DDI_CLK_SEL_TBT_162@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_DDI_CLK_SEL_TBT_540@GOTPCREL(%rip), %rax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_DDI_CLK_SEL_NONE,4,2           ## @DDI_CLK_SEL_NONE
	.comm	_DDI_CLK_SEL_TBT_162,4,2        ## @DDI_CLK_SEL_TBT_162
	.comm	_DDI_CLK_SEL_TBT_270,4,2        ## @DDI_CLK_SEL_TBT_270
	.comm	_DDI_CLK_SEL_TBT_540,4,2        ## @DDI_CLK_SEL_TBT_540
	.comm	_DDI_CLK_SEL_TBT_810,4,2        ## @DDI_CLK_SEL_TBT_810
	.comm	_DDI_CLK_SEL_MG,4,2             ## @DDI_CLK_SEL_MG
	.no_dead_strip	_icl_pll_to_ddi_clk_sel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icl_pll_to_ddi_clk_sel
_icl_pll_to_ddi_clk_sel:                ; @icl_pll_to_ddi_clk_sel
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	sub	w8, w0, #129
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DDI_CLK_SEL_MG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDI_CLK_SEL_MG@GOTPAGEOFF]
	b	LBB0_11
LBB0_2:
	cmp	w0, #128
	b.ne	LBB0_10
; %bb.3:
	ldr	w0, [x1]
	mov	w8, #15711
	movk	w8, #8, lsl #16
	cmp	w0, w8
	b.gt	LBB0_7
; %bb.4:
	mov	w8, #30928
	movk	w8, #2, lsl #16
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.5:
	mov	w8, #7856
	movk	w8, #4, lsl #16
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.6:
Lloh2:
	adrp	x8, _DDI_CLK_SEL_TBT_270@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DDI_CLK_SEL_TBT_270@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
	mov	w8, #15712
	movk	w8, #8, lsl #16
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.8:
	mov	w8, #23568
	movk	w8, #12, lsl #16
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.9:
Lloh4:
	adrp	x8, _DDI_CLK_SEL_TBT_810@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DDI_CLK_SEL_TBT_810@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	bl	_MISSING_CASE
Lloh6:
	adrp	x8, _DDI_CLK_SEL_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DDI_CLK_SEL_NONE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh8:
	adrp	x8, _DDI_CLK_SEL_TBT_162@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DDI_CLK_SEL_TBT_162@GOTPAGEOFF]
	b	LBB0_11
LBB0_13:
Lloh10:
	adrp	x8, _DDI_CLK_SEL_TBT_540@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DDI_CLK_SEL_TBT_540@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DDI_CLK_SEL_NONE,4,2           ; @DDI_CLK_SEL_NONE
	.comm	_DDI_CLK_SEL_TBT_162,4,2        ; @DDI_CLK_SEL_TBT_162
	.comm	_DDI_CLK_SEL_TBT_270,4,2        ; @DDI_CLK_SEL_TBT_270
	.comm	_DDI_CLK_SEL_TBT_540,4,2        ; @DDI_CLK_SEL_TBT_540
	.comm	_DDI_CLK_SEL_TBT_810,4,2        ; @DDI_CLK_SEL_TBT_810
	.comm	_DDI_CLK_SEL_MG,4,2             ; @DDI_CLK_SEL_MG
	.no_dead_strip	_icl_pll_to_ddi_clk_sel
.subsections_via_symbols
