	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_pch_dp_disabled
_assert_pch_dp_disabled:                ## @assert_pch_dp_disabled
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	_I915_READ
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	callq	_dp_pipe_enabled
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_pipe_name
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%r14d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_WARN
	movl	(%r12), %edi
	callq	_HAS_PCH_IBX
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_DP_PORT_EN@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_DP_PIPEB_SELECT@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	testl	%ecx, (%rax)
	setne	%r15b
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCH DP (0x%08x) enabled on transcoder %c, should be disabled\n"

	.comm	_DP_PORT_EN,4,2                 ## @DP_PORT_EN
	.comm	_DP_PIPEB_SELECT,4,2            ## @DP_PIPEB_SELECT
L_.str.1:                               ## @.str.1
	.asciz	"IBX PCH dp port still using transcoder B\n"

	.no_dead_strip	_assert_pch_dp_disabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assert_pch_dp_disabled
_assert_pch_dp_disabled:                ; @assert_pch_dp_disabled
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x2
	bl	_I915_READ
	mov	x19, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_dp_pipe_enabled
	mov	x20, x0
	mov	x0, x22
	bl	_pipe_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_WARN
	ldr	w0, [x23]
	bl	_HAS_PCH_IBX
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _DP_PORT_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DP_PORT_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _DP_PIPEB_SELECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DP_PIPEB_SELECT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w0, ne
LBB0_4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_WARN
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCH DP (0x%08x) enabled on transcoder %c, should be disabled\n"

	.comm	_DP_PORT_EN,4,2                 ; @DP_PORT_EN
	.comm	_DP_PIPEB_SELECT,4,2            ; @DP_PIPEB_SELECT
l_.str.1:                               ; @.str.1
	.asciz	"IBX PCH dp port still using transcoder B\n"

	.no_dead_strip	_assert_pch_dp_disabled
.subsections_via_symbols
