	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ironlake_edp_pll_off
_ironlake_edp_pll_off:                  ## @ironlake_edp_pll_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_dp_to_dig_port
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	callq	_to_intel_crtc
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_assert_pipe_disabled
	movq	_DP_A@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movq	_DP_PLL_ENABLE@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	movl	(%r15), %eax
	andl	%ebx, %eax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_WARN
	movq	_DP_PORT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_WARN
	movl	(%r15), %esi
	notl	%esi
	andl	%ebx, %esi
	movl	(%r14), %edi
	callq	_I915_WRITE
	movl	(%r14), %edi
	callq	_POSTING_READ
	movl	$200, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_A,4,2                       ## @DP_A
	.comm	_DP_PLL_ENABLE,4,2              ## @DP_PLL_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dp pll off, should be on\n"

	.comm	_DP_PORT_EN,4,2                 ## @DP_PORT_EN
L_.str.1:                               ## @.str.1
	.asciz	"dp port still on, should be off\n"

	.no_dead_strip	_ironlake_edp_pll_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ironlake_edp_pll_off
_ironlake_edp_pll_off:                  ; @ironlake_edp_pll_off
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_dp_to_dig_port
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x19, [x8]
	bl	_to_intel_crtc
	ldr	w1, [x0]
	mov	x0, x19
	bl	_assert_pipe_disabled
Lloh0:
	adrp	x20, _DP_A@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DP_A@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_I915_READ
	mov	x19, x0
Lloh2:
	adrp	x21, _DP_PLL_ENABLE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DP_PLL_ENABLE@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	cset	w0, eq
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN
Lloh6:
	adrp	x8, _DP_PORT_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DP_PORT_EN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w0, w8, w19
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN
	ldr	w8, [x21]
	bic	w1, w19, w8
	ldr	w0, [x20]
	bl	_I915_WRITE
	ldr	w0, [x20]
	bl	_POSTING_READ
	mov	w0, #200
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_udelay
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_A,4,2                       ; @DP_A
	.comm	_DP_PLL_ENABLE,4,2              ; @DP_PLL_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dp pll off, should be on\n"

	.comm	_DP_PORT_EN,4,2                 ; @DP_PORT_EN
l_.str.1:                               ; @.str.1
	.asciz	"dp port still on, should be off\n"

	.no_dead_strip	_ironlake_edp_pll_off
.subsections_via_symbols
