	.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	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-48(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rcx
	callq	_intel_dp_port_enabled
	testl	%eax, %eax
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	setne	%al
	cmpl	%ebx, -48(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %r12d
	movl	%r15d, %edi
	callq	_port_name
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_pipe_name
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_I915_STATE_WARN
	movq	%r14, %rdi
	callq	_HAS_PCH_IBX
	testq	%rax, %rax
	setne	%al
	movl	-48(%rbp), %ecx
	movq	_PIPE_B@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	sete	%cl
	andb	-41(%rbp), %al                  ## 1-byte Folded Reload
	andb	%cl, %al
	movzbl	%al, %ebx
	movl	%r15d, %edi
	callq	_port_name
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_I915_STATE_WARN
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCH DP %c enabled on transcoder %c, should be disabled\n"

	.comm	_PIPE_B,4,2                     ## @PIPE_B
L_.str.1:                               ## @.str.1
	.asciz	"IBX PCH DP %c 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	x8, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x3, sp, #12
	mov	x1, x8
	bl	_intel_dp_port_enabled
	cmp	w0, #0
	cset	w24, eq
	cset	w8, ne
	ldr	w9, [sp, #12]
	cmp	w9, w20
	cset	w9, eq
	and	w22, w8, w9
	mov	x0, x19
	bl	_port_name
	mov	x23, x0
	mov	x0, x20
	bl	_pipe_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_I915_STATE_WARN
	mov	x0, x21
	bl	_HAS_PCH_IBX
	cmp	x0, #0
	cset	w8, ne
Lloh2:
	adrp	x9, _PIPE_B@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PIPE_B@GOTPAGEOFF]
	ldr	w10, [sp, #12]
Lloh4:
	ldr	w9, [x9]
	cmp	w10, w9
	cset	w9, eq
	and	w8, w8, w24
	and	w20, w8, w9
	mov	x0, x19
	bl	_port_name
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_I915_STATE_WARN
	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
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCH DP %c enabled on transcoder %c, should be disabled\n"

	.comm	_PIPE_B,4,2                     ; @PIPE_B
l_.str.1:                               ; @.str.1
	.asciz	"IBX PCH DP %c still using transcoder B\n"

	.no_dead_strip	_assert_pch_dp_disabled
.subsections_via_symbols
