	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_hdmi_port_disabled
_assert_hdmi_port_disabled:             ## @assert_hdmi_port_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_intel_hdmi_to_dev
	movq	%rax, %rdi
	callq	_to_i915
	movq	%rax, %rdi
	callq	_HAS_DDI
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_SDVO_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DDI_BUF_CTL_ENABLE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_I915_READ
	andl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DDI_BUF_CTL_ENABLE,4,2         ## @DDI_BUF_CTL_ENABLE
	.comm	_SDVO_ENABLE,4,2                ## @SDVO_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDMI port enabled, expecting disabled\n"

	.no_dead_strip	_assert_hdmi_port_disabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assert_hdmi_port_disabled
_assert_hdmi_port_disabled:             ; @assert_hdmi_port_disabled
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_intel_hdmi_to_dev
	bl	_to_i915
	bl	_HAS_DDI
Lloh0:
	adrp	x8, _DDI_BUF_CTL_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDI_BUF_CTL_ENABLE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SDVO_ENABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SDVO_ENABLE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_I915_READ
	and	w0, w0, w20
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DDI_BUF_CTL_ENABLE,4,2         ; @DDI_BUF_CTL_ENABLE
	.comm	_SDVO_ENABLE,4,2                ; @SDVO_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDMI port enabled, expecting disabled\n"

	.no_dead_strip	_assert_hdmi_port_disabled
.subsections_via_symbols
