	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_dp_mst_topology_mgr_suspend ## -- Begin function drm_dp_mst_topology_mgr_suspend
	.p2align	4, 0x90
_drm_dp_mst_topology_mgr_suspend:       ## @drm_dp_mst_topology_mgr_suspend
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	12(%rbx), %edi
	movq	_DP_MSTM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DP_MST_EN@GOTPCREL(%rip), %rax
	movq	_DP_UPSTREAM_IS_SRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_drm_dp_dpcd_writeb
	movq	%r14, %rdi
	callq	_mutex_unlock
	leaq	4(%rbx), %rdi
	callq	_flush_work
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_flush_work                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_MSTM_CTRL,4,2               ## @DP_MSTM_CTRL
	.comm	_DP_MST_EN,4,2                  ## @DP_MST_EN
	.comm	_DP_UPSTREAM_IS_SRC,4,2         ## @DP_UPSTREAM_IS_SRC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_dp_mst_topology_mgr_suspend ; -- Begin function drm_dp_mst_topology_mgr_suspend
	.p2align	2
_drm_dp_mst_topology_mgr_suspend:       ; @drm_dp_mst_topology_mgr_suspend
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x8, _DP_MSTM_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_MSTM_CTRL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DP_MST_EN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DP_MST_EN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _DP_UPSTREAM_IS_SRC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DP_UPSTREAM_IS_SRC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_drm_dp_dpcd_writeb
	mov	x0, x20
	bl	_mutex_unlock
	add	x0, x19, #4
	bl	_flush_work
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_flush_work
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_MSTM_CTRL,4,2               ; @DP_MSTM_CTRL
	.comm	_DP_MST_EN,4,2                  ; @DP_MST_EN
	.comm	_DP_UPSTREAM_IS_SRC,4,2         ; @DP_UPSTREAM_IS_SRC
.subsections_via_symbols
