	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_connector_is_mst
_nouveau_connector_is_mst:              ## @nouveau_connector_is_mst
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_DRM_MODE_CONNECTOR_DisplayPort@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_DCB_OUTPUT_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_find_encoder
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rax
	movq	_DRM_MODE_ENCODER_DPMST@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	sete	%bl
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_CONNECTOR_DisplayPort,8,3 ## @DRM_MODE_CONNECTOR_DisplayPort
	.comm	_DCB_OUTPUT_ANY,4,2             ## @DCB_OUTPUT_ANY
	.comm	_DRM_MODE_ENCODER_DPMST,8,3     ## @DRM_MODE_ENCODER_DPMST
	.no_dead_strip	_nouveau_connector_is_mst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_connector_is_mst
_nouveau_connector_is_mst:              ; @nouveau_connector_is_mst
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DRM_MODE_CONNECTOR_DisplayPort@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_CONNECTOR_DisplayPort@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _DCB_OUTPUT_ANY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCB_OUTPUT_ANY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_find_encoder
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _DRM_MODE_ENCODER_DPMST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DRM_MODE_ENCODER_DPMST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_CONNECTOR_DisplayPort,8,3 ; @DRM_MODE_CONNECTOR_DisplayPort
	.comm	_DCB_OUTPUT_ANY,4,2             ; @DCB_OUTPUT_ANY
	.comm	_DRM_MODE_ENCODER_DPMST,8,3     ; @DRM_MODE_ENCODER_DPMST
	.no_dead_strip	_nouveau_connector_is_mst
.subsections_via_symbols
