	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_mst_supported               ## -- Begin function is_mst_supported
	.p2align	4, 0x90
_is_mst_supported:                      ## @is_mst_supported
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%rax)
	je	LBB0_2
LBB0_3:
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	movq	_DP_DPCD_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_core_link_read_dpcd
	movl	%eax, %ecx
	movq	_DC_OK@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	cmpl	(%r14), %ecx
	jne	LBB0_6
## %bb.4:
	movq	-32(%rbp), %rcx
	movq	_DPCD_REV_12@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_6
## %bb.5:
	movq	_DP_MSTM_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_core_link_read_dpcd
	movl	%eax, %ecx
	xorl	(%r14), %ecx
	movl	-24(%rbp), %edx
	xorl	$1, %edx
	xorl	%eax, %eax
	orl	%ecx, %edx
	sete	%al
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_OK,4,2                      ## @DC_OK
	.comm	_DP_DPCD_REV,4,2                ## @DP_DPCD_REV
	.comm	_DPCD_REV_12,8,3                ## @DPCD_REV_12
	.comm	_DP_MSTM_CAP,4,2                ## @DP_MSTM_CAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_mst_supported               ; -- Begin function is_mst_supported
	.p2align	2
_is_mst_supported:                      ; @is_mst_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
LBB0_2:
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _DP_DPCD_REV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_DPCD_REV@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_core_link_read_dpcd
Lloh3:
	adrp	x20, _DC_OK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _DC_OK@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [sp, #8]
Lloh5:
	adrp	x9, _DPCD_REV_12@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DPCD_REV_12@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _DP_MSTM_CAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DP_MSTM_CAP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #8
	bl	_core_link_read_dpcd
	ldr	w8, [x20]
	cmp	w0, w8
	ldr	w8, [sp]
	ccmp	w8, #1, #0, eq
	cset	w0, eq
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_OK,4,2                      ; @DC_OK
	.comm	_DP_DPCD_REV,4,2                ; @DP_DPCD_REV
	.comm	_DPCD_REV_12,8,3                ; @DPCD_REV_12
	.comm	_DP_MSTM_CAP,4,2                ; @DP_MSTM_CAP
.subsections_via_symbols
