	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dp_configure_mst
_intel_dp_configure_mst:                ## @intel_dp_configure_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_dp_to_dig_port
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_intel_dp_sink_can_mst
	movl	%eax, %r14d
	movl	(%r15), %edi
	callq	_port_name
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_yesno
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_yesno
	movl	%eax, %r13d
	movq	_i915_modparams@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_yesno
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_DRM_DEBUG_KMS
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	testl	%r14d, %r14d
	setne	%al
	movq	_i915_modparams@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %esi
	movl	%esi, 4(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_dp_mst_topology_mgr_set_mst ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MST support? port %c: %s, sink: %s, modparam: %s\n"

	.comm	_i915_modparams,4,2             ## @i915_modparams
	.no_dead_strip	_intel_dp_configure_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_configure_mst
_intel_dp_configure_mst:                ; @intel_dp_configure_mst
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_dp_to_dig_port
	mov	x21, x0
	mov	x0, x19
	bl	_intel_dp_sink_can_mst
	mov	x20, x0
	ldr	w0, [x21]
	bl	_port_name
	mov	x21, x0
	ldr	w0, [x19]
	bl	_yesno
	mov	x22, x0
	mov	x0, x20
	bl	_yesno
	mov	x23, x0
Lloh0:
	adrp	x24, _i915_modparams@GOTPAGE
Lloh1:
	ldr	x24, [x24, _i915_modparams@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_yesno
	mov	x4, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_DRM_DEBUG_KMS
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	w20, #0
	ldr	w8, [x24]
	ccmp	w8, #0, #4, ne
	cset	w1, ne
	str	w1, [x19, #4]
	add	x0, x19, #8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_drm_dp_mst_topology_mgr_set_mst
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MST support? port %c: %s, sink: %s, modparam: %s\n"

	.comm	_i915_modparams,4,2             ; @i915_modparams
	.no_dead_strip	_intel_dp_configure_mst
.subsections_via_symbols
