	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn20_program_dmdata_engine
_dcn20_program_dmdata_engine:           ## @dcn20_program_dmdata_engine
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	16(%rdi), %rax
	movq	24(%rdi), %r15
	movl	8(%rax), %edi
	callq	_dc_is_dp_signal
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_dmdata_hdmi@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_dmdata_dp@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	16(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movl	$0, (%rbx)
	movl	$1, %esi
	testq	%r15, %r15
	jne	LBB0_7
	jmp	LBB0_9
LBB0_4:
	xorl	%esi, %esi
	testq	%r15, %r15
	je	LBB0_9
LBB0_7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	(%r15), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dmdata_dp,4,2                  ## @dmdata_dp
	.comm	_dmdata_hdmi,4,2                ## @dmdata_hdmi
	.no_dead_strip	_dcn20_program_dmdata_engine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn20_program_dmdata_engine
_dcn20_program_dmdata_engine:           ; @dcn20_program_dmdata_engine
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldp	x8, x21, [x0, #16]
	ldr	x19, [x0, #8]
	ldr	w0, [x8, #8]
	bl	_dc_is_dp_signal
Lloh0:
	adrp	x8, _dmdata_dp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dmdata_dp@GOTPAGEOFF]
Lloh2:
	adrp	x9, _dmdata_hdmi@GOTPAGE
Lloh3:
	ldr	x9, [x9, _dmdata_hdmi@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	str	wzr, [x20]
	mov	w1, #1
	cbnz	x21, LBB0_3
	b	LBB0_6
LBB0_2:
	mov	w1, #0
	cbz	x21, LBB0_6
LBB0_3:
	cbz	x19, LBB0_6
; %bb.4:
	ldr	x8, [x19]
	ldr	x4, [x8]
	cbz	x4, LBB0_6
; %bb.5:
	ldr	w2, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x4
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dmdata_dp,4,2                  ; @dmdata_dp
	.comm	_dmdata_hdmi,4,2                ; @dmdata_hdmi
	.no_dead_strip	_dcn20_program_dmdata_engine
.subsections_via_symbols
