	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skl_ddi_dp_set_dpll_hw_state
_skl_ddi_dp_set_dpll_hw_state:          ## @skl_ddi_dp_set_dpll_hw_state
	.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
	movq	%rdi, %rbx
	xorl	%edi, %edi
	callq	_DPLL_CTRL1_OVERRIDE
	movl	%eax, %r14d
	movl	(%rbx), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	cmpl	$161999, %eax                   ## imm = 0x278CF
	jg	LBB0_6
## %bb.1:
	cmpl	$81000, %eax                    ## imm = 0x13C68
	je	LBB0_2
## %bb.3:
	cmpl	$108000, %eax                   ## imm = 0x1A5E0
	je	LBB0_11
## %bb.4:
	cmpl	$135000, %eax                   ## imm = 0x20F58
	jne	LBB0_14
## %bb.5:
	movq	_DPLL_CTRL1_LINK_RATE_1350@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	cmpl	$162000, %eax                   ## imm = 0x278D0
	je	LBB0_10
## %bb.7:
	cmpl	$216000, %eax                   ## imm = 0x34BC0
	je	LBB0_12
## %bb.8:
	cmpl	$270000, %eax                   ## imm = 0x41EB0
	jne	LBB0_14
## %bb.9:
	movq	_DPLL_CTRL1_LINK_RATE_2700@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_2:
	movq	_DPLL_CTRL1_LINK_RATE_810@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_DPLL_CTRL1_LINK_RATE_1080@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_DPLL_CTRL1_LINK_RATE_1620@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_DPLL_CTRL1_LINK_RATE_2160@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_DPLL_CTRL1_LINK_RATE
	orl	%eax, %r14d
LBB0_14:
	leaq	4(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r14d, 4(%rbx)
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPLL_CTRL1_LINK_RATE_810,4,2   ## @DPLL_CTRL1_LINK_RATE_810
	.comm	_DPLL_CTRL1_LINK_RATE_1350,4,2  ## @DPLL_CTRL1_LINK_RATE_1350
	.comm	_DPLL_CTRL1_LINK_RATE_2700,4,2  ## @DPLL_CTRL1_LINK_RATE_2700
	.comm	_DPLL_CTRL1_LINK_RATE_1620,4,2  ## @DPLL_CTRL1_LINK_RATE_1620
	.comm	_DPLL_CTRL1_LINK_RATE_1080,4,2  ## @DPLL_CTRL1_LINK_RATE_1080
	.comm	_DPLL_CTRL1_LINK_RATE_2160,4,2  ## @DPLL_CTRL1_LINK_RATE_2160
	.no_dead_strip	_skl_ddi_dp_set_dpll_hw_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skl_ddi_dp_set_dpll_hw_state
_skl_ddi_dp_set_dpll_hw_state:          ; @skl_ddi_dp_set_dpll_hw_state
	.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
	mov	x19, x0
	mov	w0, #0
	bl	_DPLL_CTRL1_OVERRIDE
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	mov	w9, #30927
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.gt	LBB0_5
; %bb.1:
	mov	w9, #15464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.2:
	mov	w9, #42464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.eq	LBB0_10
; %bb.3:
	mov	w9, #3928
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.4:
Lloh0:
	adrp	x8, _DPLL_CTRL1_LINK_RATE_1350@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPLL_CTRL1_LINK_RATE_1350@GOTPAGEOFF]
	b	LBB0_13
LBB0_5:
	mov	w9, #30928
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.6:
	mov	w9, #19392
	movk	w9, #3, lsl #16
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.7:
	mov	w9, #7856
	movk	w9, #4, lsl #16
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.8:
Lloh2:
	adrp	x8, _DPLL_CTRL1_LINK_RATE_2700@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DPLL_CTRL1_LINK_RATE_2700@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh4:
	adrp	x8, _DPLL_CTRL1_LINK_RATE_810@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DPLL_CTRL1_LINK_RATE_810@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh6:
	adrp	x8, _DPLL_CTRL1_LINK_RATE_1080@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DPLL_CTRL1_LINK_RATE_1080@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh8:
	adrp	x8, _DPLL_CTRL1_LINK_RATE_1620@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DPLL_CTRL1_LINK_RATE_1620@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh10:
	adrp	x8, _DPLL_CTRL1_LINK_RATE_2160@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DPLL_CTRL1_LINK_RATE_2160@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_DPLL_CTRL1_LINK_RATE
	orr	w20, w0, w20
LBB0_14:
	add	x0, x19, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w20, [x19, #4]
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_DPLL_CTRL1_LINK_RATE_810,4,2   ; @DPLL_CTRL1_LINK_RATE_810
	.comm	_DPLL_CTRL1_LINK_RATE_1350,4,2  ; @DPLL_CTRL1_LINK_RATE_1350
	.comm	_DPLL_CTRL1_LINK_RATE_2700,4,2  ; @DPLL_CTRL1_LINK_RATE_2700
	.comm	_DPLL_CTRL1_LINK_RATE_1620,4,2  ; @DPLL_CTRL1_LINK_RATE_1620
	.comm	_DPLL_CTRL1_LINK_RATE_1080,4,2  ; @DPLL_CTRL1_LINK_RATE_1080
	.comm	_DPLL_CTRL1_LINK_RATE_2160,4,2  ; @DPLL_CTRL1_LINK_RATE_2160
	.no_dead_strip	_skl_ddi_dp_set_dpll_hw_state
.subsections_via_symbols
