	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dp_enable_mst_on_sink          ## -- Begin function dp_enable_mst_on_sink
	.p2align	4, 0x90
_dp_enable_mst_on_sink:                 ## @dp_enable_mst_on_sink
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_DP_MSTM_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	movl	$1, %ecx
	callq	_core_link_read_dpcd
	movq	_DP_MST_EN@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	orb	-25(%rbp), %al
	jmp	LBB0_3
LBB0_2:
	notb	%al
	andb	-25(%rbp), %al
LBB0_3:
	movb	%al, -25(%rbp)
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_core_link_write_dpcd
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_MSTM_CTRL,4,2               ## @DP_MSTM_CTRL
	.comm	_DP_MST_EN,1,0                  ## @DP_MST_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dp_enable_mst_on_sink          ; -- Begin function dp_enable_mst_on_sink
	.p2align	2
_dp_enable_mst_on_sink:                 ; @dp_enable_mst_on_sink
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _DP_MSTM_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DP_MSTM_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #15
	mov	w3, #1
	bl	_core_link_read_dpcd
Lloh2:
	adrp	x8, _DP_MST_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DP_MST_EN@GOTPAGEOFF]
	ldrb	w8, [x8]
	cbz	w20, LBB0_2
; %bb.1:
	ldrb	w9, [sp, #15]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
	ldrb	w9, [sp, #15]
	bic	w8, w9, w8
LBB0_3:
	strb	w8, [sp, #15]
	ldr	w1, [x21]
	add	x2, sp, #15
	mov	x0, x19
	mov	w3, #1
	bl	_core_link_write_dpcd
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_MSTM_CTRL,4,2               ; @DP_MSTM_CTRL
	.comm	_DP_MST_EN,1,0                  ; @DP_MST_EN
.subsections_via_symbols
