	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dp_sink_can_mst
_intel_dp_sink_can_mst:                 ## @intel_dp_sink_can_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	_DP_DPCD_REV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%ebx, %ebx
	cmpl	$18, (%rax,%rcx,4)
	jl	LBB0_3
## %bb.1:
	addq	$8, %rdi
	movq	_DP_MSTM_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_drm_dp_dpcd_readb
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.2:
	movq	_DP_MST_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	-12(%rbp), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_DPCD_REV,8,3                ## @DP_DPCD_REV
	.comm	_DP_MSTM_CAP,4,2                ## @DP_MSTM_CAP
	.comm	_DP_MST_CAP,4,2                 ## @DP_MST_CAP
	.no_dead_strip	_intel_dp_sink_can_mst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dp_sink_can_mst
_intel_dp_sink_can_mst:                 ; @intel_dp_sink_can_mst
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DP_DPCD_REV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DP_DPCD_REV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #18
	b.lt	LBB0_3
; %bb.1:
	add	x0, x0, #8
Lloh3:
	adrp	x8, _DP_MSTM_CAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DP_MSTM_CAP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_drm_dp_dpcd_readb
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
	ldur	w8, [x29, #-4]
Lloh6:
	adrp	x9, _DP_MST_CAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DP_MST_CAP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w0, w9, w8
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_DPCD_REV,8,3                ; @DP_DPCD_REV
	.comm	_DP_MSTM_CAP,4,2                ; @DP_MSTM_CAP
	.comm	_DP_MST_CAP,4,2                 ; @DP_MST_CAP
	.no_dead_strip	_intel_dp_sink_can_mst
.subsections_via_symbols
