	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ironlake_edp_panel_vdd_on      ## -- Begin function ironlake_edp_panel_vdd_on
	.p2align	4, 0x90
_ironlake_edp_panel_vdd_on:             ## @ironlake_edp_panel_vdd_on
	.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
	movq	%rdi, %rbx
	callq	_intel_dp_to_dev
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_is_edp
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_WARN
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_ironlake_edp_have_panel_vdd
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEBUG_KMS                  ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_ironlake_edp_have_panel_power
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ironlake_wait_panel_power_cycle
LBB0_4:
	movq	%r14, %rdi
	callq	_ironlake_get_pp_control
	movq	_EDP_FORCE_VDD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PCH_PP_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movl	(%r15), %edi
	callq	_POSTING_READ
	movq	_PCH_PP_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r14d
	movl	(%r15), %edi
	callq	_I915_READ
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movq	%rbx, %rdi
	callq	_ironlake_edp_have_panel_power
	testl	%eax, %eax
	je	LBB0_7
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movl	4(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msleep                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Turn eDP VDD on\n"

L_.str.1:                               ## @.str.1
	.asciz	"eDP VDD already requested on\n"

L_.str.2:                               ## @.str.2
	.asciz	"eDP VDD already on\n"

	.comm	_EDP_FORCE_VDD,4,2              ## @EDP_FORCE_VDD
	.comm	_PCH_PP_CONTROL,4,2             ## @PCH_PP_CONTROL
L_.str.3:                               ## @.str.3
	.asciz	"PCH_PP_STATUS: 0x%08x PCH_PP_CONTROL: 0x%08x\n"

	.comm	_PCH_PP_STATUS,4,2              ## @PCH_PP_STATUS
L_.str.4:                               ## @.str.4
	.asciz	"eDP was not running\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ironlake_edp_panel_vdd_on      ; -- Begin function ironlake_edp_panel_vdd_on
	.p2align	2
_ironlake_edp_panel_vdd_on:             ; @ironlake_edp_panel_vdd_on
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_intel_dp_to_dev
	ldr	x20, [x0]
	mov	x0, x19
	bl	_is_edp
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_ironlake_edp_have_panel_vdd
	cbz	x0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_DRM_DEBUG_KMS
LBB0_3:
	mov	x0, x19
	bl	_ironlake_edp_have_panel_power
	cbnz	w0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_ironlake_wait_panel_power_cycle
LBB0_5:
	mov	x0, x20
	bl	_ironlake_get_pp_control
Lloh6:
	adrp	x8, _EDP_FORCE_VDD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDP_FORCE_VDD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w1, w8, w0
Lloh9:
	adrp	x21, _PCH_PP_CONTROL@GOTPAGE
Lloh10:
	ldr	x21, [x21, _PCH_PP_CONTROL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_I915_WRITE
	ldr	w0, [x21]
	bl	_POSTING_READ
Lloh11:
	adrp	x8, _PCH_PP_STATUS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCH_PP_STATUS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x20, x0
	ldr	w0, [x21]
	bl	_I915_READ
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	bl	_ironlake_edp_have_panel_power
	cbz	w0, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_msleep
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Turn eDP VDD on\n"

l_.str.1:                               ; @.str.1
	.asciz	"eDP VDD already requested on\n"

l_.str.2:                               ; @.str.2
	.asciz	"eDP VDD already on\n"

	.comm	_EDP_FORCE_VDD,4,2              ; @EDP_FORCE_VDD
	.comm	_PCH_PP_CONTROL,4,2             ; @PCH_PP_CONTROL
l_.str.3:                               ; @.str.3
	.asciz	"PCH_PP_STATUS: 0x%08x PCH_PP_CONTROL: 0x%08x\n"

	.comm	_PCH_PP_STATUS,4,2              ; @PCH_PP_STATUS
l_.str.4:                               ; @.str.4
	.asciz	"eDP was not running\n"

.subsections_via_symbols
