	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dcn20_set_dmdata_attributes
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dcn20_set_dmdata_attributes
	.p2align	4, 0x90
_dcn20_set_dmdata_attributes:           ## @dcn20_set_dmdata_attributes
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movups	%xmm0, -56(%rbp)
	movups	%xmm0, -72(%rbp)
	movq	$0, -24(%rbp)
	movq	8(%rdi), %r14
	movq	_DMDATA_HW_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	(%rdi), %rax
	movl	4(%rax), %edi
	callq	_dc_is_hdmi_signal
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	32(,%rcx,4), %eax
	movl	%eax, -80(%rbp)
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movq	$0, -40(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -76(%rbp)
	movq	$0, -64(%rbp)
	movq	(%r14), %rax
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	*(%rax)
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMDATA_HW_MODE,4,2             ## @DMDATA_HW_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_set_dmdata_attributes    ; -- Begin function dcn20_set_dmdata_attributes
	.p2align	2
_dcn20_set_dmdata_attributes:           ; @dcn20_set_dmdata_attributes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #40]
	str	xzr, [sp, #56]
	stur	q0, [sp, #24]
Lloh0:
	adrp	x8, _DMDATA_HW_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMDATA_HW_MODE@GOTPAGEOFF]
	stur	q0, [sp, #8]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #52]
	ldp	x8, x20, [x0]
	ldr	w0, [x8, #4]
	bl	_dc_is_hdmi_signal
	cmp	x0, #0
	mov	w8, #32
	mov	w9, #36
	csel	w8, w9, w8, eq
	str	w8, [sp]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [sp, #48]
	stp	xzr, xzr, [sp, #32]
	movi.2s	v0, #1
	stur	d0, [sp, #4]
	stp	xzr, xzr, [sp, #16]
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x1, sp
	mov	x0, x20
	blr	x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMDATA_HW_MODE,4,2             ; @DMDATA_HW_MODE
.subsections_via_symbols
