	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_dp_mst_get_edid            ## -- Begin function drm_dp_mst_get_edid
	.p2align	4, 0x90
_drm_dp_mst_get_edid:                   ## @drm_dp_mst_get_edid
	.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, %r14
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_drm_dp_mst_topology_get_port_validated
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_drm_edid_duplicate
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rsi
	addq	$4, %rsi
	movq	%r14, %rdi
	callq	_drm_get_edid
LBB0_5:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_drm_detect_monitor_audio
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_drm_dp_mst_topology_put_port
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_dp_mst_get_edid            ; -- Begin function drm_dp_mst_get_edid
	.p2align	2
_drm_dp_mst_get_edid:                   ; @drm_dp_mst_get_edid
	.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	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_drm_dp_mst_topology_get_port_validated
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_drm_edid_duplicate
	b	LBB0_5
LBB0_3:
	mov	x20, #0
	b	LBB0_6
LBB0_4:
	add	x1, x19, #4
	mov	x0, x20
	bl	_drm_get_edid
LBB0_5:
	mov	x20, x0
	bl	_drm_detect_monitor_audio
	str	w0, [x19]
	mov	x0, x19
	bl	_drm_dp_mst_topology_put_port
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
