	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bxt_de_pll_update
_bxt_de_pll_update:                     ## @bxt_de_pll_update
	.cfi_startproc
## %bb.0:
	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	%rsi, %rbx
	movq	$19200, (%rsi)                  ## imm = 0x4B00
	movq	_BXT_DE_PLL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_BXT_DE_PLL_PLL_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_BXT_DE_PLL_LOCK@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_BXT_DE_PLL_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_BXT_DE_PLL_RATIO_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	imull	(%rbx), %eax
	movl	%eax, 4(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BXT_DE_PLL_ENABLE,4,2          ## @BXT_DE_PLL_ENABLE
	.comm	_BXT_DE_PLL_PLL_ENABLE,4,2      ## @BXT_DE_PLL_PLL_ENABLE
	.comm	_BXT_DE_PLL_LOCK,4,2            ## @BXT_DE_PLL_LOCK
	.comm	_BXT_DE_PLL_CTL,4,2             ## @BXT_DE_PLL_CTL
	.comm	_BXT_DE_PLL_RATIO_MASK,4,2      ## @BXT_DE_PLL_RATIO_MASK
	.no_dead_strip	_bxt_de_pll_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function bxt_de_pll_update
lCPI0_0:
	.long	19200                           ; 0x4b00
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bxt_de_pll_update:                     ; @bxt_de_pll_update
	.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, x1
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x1]
Lloh2:
	adrp	x8, _BXT_DE_PLL_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BXT_DE_PLL_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh5:
	adrp	x8, _BXT_DE_PLL_PLL_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BXT_DE_PLL_PLL_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _BXT_DE_PLL_LOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BXT_DE_PLL_LOCK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _BXT_DE_PLL_CTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BXT_DE_PLL_CTL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh14:
	adrp	x8, _BXT_DE_PLL_RATIO_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BXT_DE_PLL_RATIO_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x19]
	mul	w8, w8, w9
	str	w8, [x19, #4]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BXT_DE_PLL_ENABLE,4,2          ; @BXT_DE_PLL_ENABLE
	.comm	_BXT_DE_PLL_PLL_ENABLE,4,2      ; @BXT_DE_PLL_PLL_ENABLE
	.comm	_BXT_DE_PLL_LOCK,4,2            ; @BXT_DE_PLL_LOCK
	.comm	_BXT_DE_PLL_CTL,4,2             ; @BXT_DE_PLL_CTL
	.comm	_BXT_DE_PLL_RATIO_MASK,4,2      ; @BXT_DE_PLL_RATIO_MASK
	.no_dead_strip	_bxt_de_pll_update
.subsections_via_symbols
