	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_pch_ports_disabled
_assert_pch_ports_disabled:             ## @assert_pch_ports_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	%esi, %ebx
	movq	%rdi, %r14
	movq	_PORT_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCH_DP_B@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_assert_pch_dp_disabled
	movq	_PORT_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCH_DP_C@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_assert_pch_dp_disabled
	movq	_PORT_D@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_PCH_DP_D@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_assert_pch_dp_disabled
	movq	_PCH_ADPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_intel_crt_port_enabled
	testq	%rax, %rax
	setne	%al
	cmpl	%ebx, -44(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %r12d
	movl	%ebx, %edi
	callq	_pipe_name
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_I915_STATE_WARN
	movq	_PCH_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_intel_lvds_port_enabled
	testq	%rax, %rax
	setne	%al
	cmpl	%ebx, -44(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %r15d
	movl	%ebx, %edi
	callq	_pipe_name
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_I915_STATE_WARN
	movq	_PORT_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCH_HDMIB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_assert_pch_hdmi_disabled
	movq	_PORT_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCH_HDMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_assert_pch_hdmi_disabled
	movl	(%r13), %edx
	movq	_PCH_HDMID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_assert_pch_hdmi_disabled
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_B,4,2                     ## @PORT_B
	.comm	_PCH_DP_B,4,2                   ## @PCH_DP_B
	.comm	_PORT_C,4,2                     ## @PORT_C
	.comm	_PCH_DP_C,4,2                   ## @PCH_DP_C
	.comm	_PORT_D,4,2                     ## @PORT_D
	.comm	_PCH_DP_D,4,2                   ## @PCH_DP_D
	.comm	_PCH_ADPA,4,2                   ## @PCH_ADPA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCH VGA enabled on transcoder %c, should be disabled\n"

	.comm	_PCH_LVDS,4,2                   ## @PCH_LVDS
L_.str.1:                               ## @.str.1
	.asciz	"PCH LVDS enabled on transcoder %c, should be disabled\n"

	.comm	_PCH_HDMIB,4,2                  ## @PCH_HDMIB
	.comm	_PCH_HDMIC,4,2                  ## @PCH_HDMIC
	.comm	_PCH_HDMID,4,2                  ## @PCH_HDMID
	.no_dead_strip	_assert_pch_ports_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_ports_disabled
_assert_pch_ports_disabled:             ; @assert_pch_ports_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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _PORT_B@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PORT_B@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh2:
	adrp	x8, _PCH_DP_B@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCH_DP_B@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_assert_pch_dp_disabled
Lloh5:
	adrp	x23, _PORT_C@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PORT_C@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh7:
	adrp	x8, _PCH_DP_C@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCH_DP_C@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_assert_pch_dp_disabled
Lloh10:
	adrp	x24, _PORT_D@GOTPAGE
Lloh11:
	ldr	x24, [x24, _PORT_D@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh12:
	adrp	x8, _PCH_DP_D@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCH_DP_D@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_assert_pch_dp_disabled
Lloh15:
	adrp	x8, _PCH_ADPA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PCH_ADPA@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_intel_crt_port_enabled
	cmp	x0, #0
	ldr	w8, [sp, #12]
	ccmp	w8, w19, #0, ne
	cset	w21, eq
	mov	x0, x19
	bl	_pipe_name
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_I915_STATE_WARN
Lloh20:
	adrp	x8, _PCH_LVDS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PCH_LVDS@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_intel_lvds_port_enabled
	cmp	x0, #0
	ldr	w8, [sp, #12]
	ccmp	w8, w19, #0, ne
	cset	w21, eq
	mov	x0, x19
	bl	_pipe_name
	mov	x2, x0
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_I915_STATE_WARN
	ldr	w2, [x22]
Lloh25:
	adrp	x8, _PCH_HDMIB@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PCH_HDMIB@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_assert_pch_hdmi_disabled
	ldr	w2, [x23]
Lloh28:
	adrp	x8, _PCH_HDMIC@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PCH_HDMIC@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_assert_pch_hdmi_disabled
	ldr	w2, [x24]
Lloh31:
	adrp	x8, _PCH_HDMID@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PCH_HDMID@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_assert_pch_hdmi_disabled
	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 AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_B,4,2                     ; @PORT_B
	.comm	_PCH_DP_B,4,2                   ; @PCH_DP_B
	.comm	_PORT_C,4,2                     ; @PORT_C
	.comm	_PCH_DP_C,4,2                   ; @PCH_DP_C
	.comm	_PORT_D,4,2                     ; @PORT_D
	.comm	_PCH_DP_D,4,2                   ; @PCH_DP_D
	.comm	_PCH_ADPA,4,2                   ; @PCH_ADPA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCH VGA enabled on transcoder %c, should be disabled\n"

	.comm	_PCH_LVDS,4,2                   ; @PCH_LVDS
l_.str.1:                               ; @.str.1
	.asciz	"PCH LVDS enabled on transcoder %c, should be disabled\n"

	.comm	_PCH_HDMIB,4,2                  ; @PCH_HDMIB
	.comm	_PCH_HDMIC,4,2                  ; @PCH_HDMIC
	.comm	_PCH_HDMID,4,2                  ; @PCH_HDMID
	.no_dead_strip	_assert_pch_ports_disabled
.subsections_via_symbols
