	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_connector_verify_state
_intel_connector_verify_state:          ## @intel_connector_verify_state
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	16(%rsi), %edi
	callq	_to_intel_connector
	movq	%rax, %rbx
	movl	16(%rax), %edx
	movl	20(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rbx
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_I915_STATE_WARN
	testq	%r15, %r15
	je	LBB0_10
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	sete	%dil
	leaq	L_.str.2(%rip), %rsi
	callq	_I915_STATE_WARN
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.3:
	movq	(%rbx), %rax
	movq	_INTEL_OUTPUT_DP_MST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	setne	%dil
	leaq	L_.str.5(%rip), %rsi
	callq	_I915_STATE_WARN
	xorl	%edi, %edi
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	xorl	%edi, %edi
	callq	_I915_STATE_WARN
	xorl	%edi, %edi
	cmpq	$0, 8(%r14)
	setne	%dil
LBB0_8:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_9
LBB0_4:
	leaq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	%rax, 8(%r14)
	setne	%dil
	leaq	L_.str.3(%rip), %rsi
	callq	_I915_STATE_WARN
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	setne	%dil
	leaq	L_.str.4(%rip), %rsi
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_STATE_WARN                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[CONNECTOR:%d:%s]\n"

L_.str.1:                               ## @.str.1
	.asciz	"connector enabled without attached crtc\n"

L_.str.2:                               ## @.str.2
	.asciz	"connector is active, but attached crtc isn't\n"

	.comm	_INTEL_OUTPUT_DP_MST,8,3        ## @INTEL_OUTPUT_DP_MST
L_.str.3:                               ## @.str.3
	.asciz	"atomic encoder doesn't match attached encoder\n"

L_.str.4:                               ## @.str.4
	.asciz	"attached encoder crtc differs from connector crtc\n"

L_.str.5:                               ## @.str.5
	.asciz	"attached crtc is active, but connector isn't\n"

L_.str.6:                               ## @.str.6
	.asciz	"best encoder set without crtc!\n"

	.no_dead_strip	_intel_connector_verify_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_connector_verify_state
_intel_connector_verify_state:          ; @intel_connector_verify_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldr	w0, [x1, #16]
	bl	_to_intel_connector
	mov	x21, x0
	ldp	w2, w1, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldr	x8, [x21, #8]
	mov	x0, x21
	blr	x8
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x21, [x21]
	cmp	x20, #0
	cset	w0, eq
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_I915_STATE_WARN
	cbz	x20, LBB0_4
; %bb.2:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, eq
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_I915_STATE_WARN
	cbz	x21, LBB0_4
; %bb.3:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _INTEL_OUTPUT_DP_MST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INTEL_OUTPUT_DP_MST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
Lloh9:
	adrp	x1, l_.str.5@PAGE
Lloh10:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_I915_STATE_WARN
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #0
	bl	_I915_STATE_WARN
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_8:
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_10
LBB0_9:
	ldr	x8, [x19, #8]
	add	x9, x21, #8
	cmp	x8, x9
	cset	w0, ne
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_I915_STATE_WARN
	ldr	x8, [x19]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	cset	w0, ne
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_I915_STATE_WARN
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[CONNECTOR:%d:%s]\n"

l_.str.1:                               ; @.str.1
	.asciz	"connector enabled without attached crtc\n"

l_.str.2:                               ; @.str.2
	.asciz	"connector is active, but attached crtc isn't\n"

	.comm	_INTEL_OUTPUT_DP_MST,8,3        ; @INTEL_OUTPUT_DP_MST
l_.str.3:                               ; @.str.3
	.asciz	"atomic encoder doesn't match attached encoder\n"

l_.str.4:                               ; @.str.4
	.asciz	"attached encoder crtc differs from connector crtc\n"

l_.str.5:                               ; @.str.5
	.asciz	"attached crtc is active, but connector isn't\n"

l_.str.6:                               ; @.str.6
	.asciz	"best encoder set without crtc!\n"

	.no_dead_strip	_intel_connector_verify_state
.subsections_via_symbols
