	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function haswell_get_ddi_pll
_haswell_get_ddi_pll:                   ## @haswell_get_ddi_pll
	.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	%rdx, %r14
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_PORT_CLK_SEL
	movl	%eax, %edi
	callq	_I915_READ
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$6, %ecx
	ja	LBB0_6
## %bb.1:
	movq	_DPLL_ID_WRPLL1@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_DPLL_ID_WRPLL2@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_MISSING_CASE                   ## TAILCALL
LBB0_2:
	movq	_DPLL_ID_SPLL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_DPLL_ID_LCPLL_810@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_DPLL_ID_LCPLL_2700@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_DPLL_ID_LCPLL_1350@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_get_shared_dpll_by_id
	movl	%eax, (%r14)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_DPLL_ID_WRPLL1,4,2             ## @DPLL_ID_WRPLL1
	.comm	_DPLL_ID_WRPLL2,4,2             ## @DPLL_ID_WRPLL2
	.comm	_DPLL_ID_SPLL,4,2               ## @DPLL_ID_SPLL
	.comm	_DPLL_ID_LCPLL_810,4,2          ## @DPLL_ID_LCPLL_810
	.comm	_DPLL_ID_LCPLL_1350,4,2         ## @DPLL_ID_LCPLL_1350
	.comm	_DPLL_ID_LCPLL_2700,4,2         ## @DPLL_ID_LCPLL_2700
	.no_dead_strip	_haswell_get_ddi_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function haswell_get_ddi_pll
_haswell_get_ddi_pll:                   ; @haswell_get_ddi_pll
	.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, x2
	mov	x20, x0
	mov	x0, x1
	bl	_PORT_CLK_SEL
	bl	_I915_READ
	sub	w9, w0, #128
	cmp	w9, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _DPLL_ID_WRPLL1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPLL_ID_WRPLL1@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x8, _DPLL_ID_WRPLL2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DPLL_ID_WRPLL2@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MISSING_CASE
LBB0_4:
Lloh6:
	adrp	x8, _DPLL_ID_SPLL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DPLL_ID_SPLL@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _DPLL_ID_LCPLL_810@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DPLL_ID_LCPLL_810@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x8, _DPLL_ID_LCPLL_2700@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DPLL_ID_LCPLL_2700@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _DPLL_ID_LCPLL_1350@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DPLL_ID_LCPLL_1350@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_intel_get_shared_dpll_by_id
	str	w0, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_DPLL_ID_WRPLL1,4,2             ; @DPLL_ID_WRPLL1
	.comm	_DPLL_ID_WRPLL2,4,2             ; @DPLL_ID_WRPLL2
	.comm	_DPLL_ID_SPLL,4,2               ; @DPLL_ID_SPLL
	.comm	_DPLL_ID_LCPLL_810,4,2          ; @DPLL_ID_LCPLL_810
	.comm	_DPLL_ID_LCPLL_1350,4,2         ; @DPLL_ID_LCPLL_1350
	.comm	_DPLL_ID_LCPLL_2700,4,2         ; @DPLL_ID_LCPLL_2700
	.no_dead_strip	_haswell_get_ddi_pll
.subsections_via_symbols
