	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bxt_get_ddi_pll
_bxt_get_ddi_pll:                       ## @bxt_get_ddi_pll
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	cmpl	$3, %esi
	jae	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movslq	%esi, %rax
	leaq	l_switch.table.bxt_get_ddi_pll(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %esi
	callq	_intel_get_shared_dpll_by_id
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	_DRM_ERROR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPLL_ID_SKL_DPLL0,4,2          ## @DPLL_ID_SKL_DPLL0
	.comm	_DPLL_ID_SKL_DPLL1,4,2          ## @DPLL_ID_SKL_DPLL1
	.comm	_DPLL_ID_SKL_DPLL2,4,2          ## @DPLL_ID_SKL_DPLL2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Incorrect port type\n"

	.no_dead_strip	_bxt_get_ddi_pll
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.bxt_get_ddi_pll
l_switch.table.bxt_get_ddi_pll:
	.quad	_DPLL_ID_SKL_DPLL2
	.quad	_DPLL_ID_SKL_DPLL1
	.quad	_DPLL_ID_SKL_DPLL0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bxt_get_ddi_pll
_bxt_get_ddi_pll:                       ; @bxt_get_ddi_pll
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	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
Lloh0:
	adrp	x9, l_switch.table.bxt_get_ddi_pll@PAGE
Lloh1:
	add	x9, x9, l_switch.table.bxt_get_ddi_pll@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w1, [x8]
	bl	_intel_get_shared_dpll_by_id
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	_DRM_ERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DPLL_ID_SKL_DPLL0,4,2          ; @DPLL_ID_SKL_DPLL0
	.comm	_DPLL_ID_SKL_DPLL1,4,2          ; @DPLL_ID_SKL_DPLL1
	.comm	_DPLL_ID_SKL_DPLL2,4,2          ; @DPLL_ID_SKL_DPLL2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Incorrect port type\n"

	.no_dead_strip	_bxt_get_ddi_pll
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bxt_get_ddi_pll
l_switch.table.bxt_get_ddi_pll:
	.quad	_DPLL_ID_SKL_DPLL2
	.quad	_DPLL_ID_SKL_DPLL1
	.quad	_DPLL_ID_SKL_DPLL0

.subsections_via_symbols
