	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v6_0_audio_hdmi_enable
_dce_v6_0_audio_hdmi_enable:            ## @dce_v6_0_audio_hdmi_enable
	.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
	movl	%esi, %ebx
	callq	_to_amdgpu_encoder
	movq	(%rax), %r14
	movq	_mmHDMI_INFOFRAME_CONTROL0@GOTPCREL(%rip), %r15
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_RREG32
	movq	_HDMI_INFOFRAME_CONTROL0@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_HDMI_AVI_INFO_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	$1, %r13d
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_HDMI_AVI_INFO_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_HDMI_AUDIO_INFO_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_HDMI_AUDIO_INFO_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	(%r15), %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmHDMI_INFOFRAME_CONTROL1@GOTPCREL(%rip), %r15
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_RREG32
	movq	_HDMI_INFOFRAME_CONTROL1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_HDMI_AVI_INFO_LINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$2, %ecx
	jmp	LBB0_3
LBB0_2:
	xorl	%r13d, %r13d
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_HDMI_AVI_INFO_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_HDMI_AUDIO_INFO_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_HDMI_AUDIO_INFO_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
LBB0_3:
	callq	_REG_SET_FIELD
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	(%r15), %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmAFMT_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %rbx
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_RREG32
	movq	_AFMT_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AFMT_AUDIO_SAMPLE_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r13d, %ecx
	callq	_REG_SET_FIELD
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	(%rbx), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmHDMI_INFOFRAME_CONTROL0,8,3  ## @mmHDMI_INFOFRAME_CONTROL0
	.comm	_HDMI_INFOFRAME_CONTROL0,4,2    ## @HDMI_INFOFRAME_CONTROL0
	.comm	_HDMI_AVI_INFO_SEND,4,2         ## @HDMI_AVI_INFO_SEND
	.comm	_HDMI_AVI_INFO_CONT,4,2         ## @HDMI_AVI_INFO_CONT
	.comm	_HDMI_AUDIO_INFO_SEND,4,2       ## @HDMI_AUDIO_INFO_SEND
	.comm	_HDMI_AUDIO_INFO_CONT,4,2       ## @HDMI_AUDIO_INFO_CONT
	.comm	_mmHDMI_INFOFRAME_CONTROL1,8,3  ## @mmHDMI_INFOFRAME_CONTROL1
	.comm	_HDMI_INFOFRAME_CONTROL1,4,2    ## @HDMI_INFOFRAME_CONTROL1
	.comm	_HDMI_AVI_INFO_LINE,4,2         ## @HDMI_AVI_INFO_LINE
	.comm	_mmAFMT_AUDIO_PACKET_CONTROL,8,3 ## @mmAFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_PACKET_CONTROL,4,2  ## @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_SAMPLE_SEND,4,2     ## @AFMT_AUDIO_SAMPLE_SEND
	.no_dead_strip	_dce_v6_0_audio_hdmi_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v6_0_audio_hdmi_enable
_dce_v6_0_audio_hdmi_enable:            ; @dce_v6_0_audio_hdmi_enable
	.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	x19, x1
	bl	_to_amdgpu_encoder
	ldr	x20, [x0]
Lloh0:
	adrp	x22, _mmHDMI_INFOFRAME_CONTROL0@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mmHDMI_INFOFRAME_CONTROL0@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_RREG32
Lloh2:
	adrp	x21, _HDMI_INFOFRAME_CONTROL0@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HDMI_INFOFRAME_CONTROL0@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x8, _HDMI_AVI_INFO_SEND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HDMI_AVI_INFO_SEND@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	cbz	w19, LBB0_2
; %bb.1:
	mov	w19, #1
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _HDMI_AVI_INFO_CONT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_AVI_INFO_CONT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x21]
Lloh10:
	adrp	x8, _HDMI_AUDIO_INFO_SEND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDMI_AUDIO_INFO_SEND@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x21]
Lloh13:
	adrp	x8, _HDMI_AUDIO_INFO_CONT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HDMI_AUDIO_INFO_CONT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x22]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_WREG32
Lloh16:
	adrp	x21, _mmHDMI_INFOFRAME_CONTROL1@GOTPAGE
Lloh17:
	ldr	x21, [x21, _mmHDMI_INFOFRAME_CONTROL1@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_RREG32
Lloh18:
	adrp	x8, _HDMI_INFOFRAME_CONTROL1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDMI_INFOFRAME_CONTROL1@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _HDMI_AVI_INFO_LINE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HDMI_AVI_INFO_LINE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	w3, #2
	bl	_REG_SET_FIELD
	mov	x1, x0
	b	LBB0_3
LBB0_2:
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x21]
Lloh24:
	adrp	x8, _HDMI_AVI_INFO_CONT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HDMI_AVI_INFO_CONT@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x21]
Lloh27:
	adrp	x8, _HDMI_AUDIO_INFO_SEND@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HDMI_AUDIO_INFO_SEND@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x21]
Lloh30:
	adrp	x8, _HDMI_AUDIO_INFO_CONT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HDMI_AUDIO_INFO_CONT@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	mov	x1, x0
Lloh33:
	adrp	x21, _mmHDMI_INFOFRAME_CONTROL0@GOTPAGE
Lloh34:
	ldr	x21, [x21, _mmHDMI_INFOFRAME_CONTROL0@GOTPAGEOFF]
LBB0_3:
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_WREG32
Lloh35:
	adrp	x21, _mmAFMT_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh36:
	ldr	x21, [x21, _mmAFMT_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_RREG32
Lloh37:
	adrp	x8, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _AFMT_AUDIO_SAMPLE_SEND@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AFMT_AUDIO_SAMPLE_SEND@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	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
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_mmHDMI_INFOFRAME_CONTROL0,8,3  ; @mmHDMI_INFOFRAME_CONTROL0
	.comm	_HDMI_INFOFRAME_CONTROL0,4,2    ; @HDMI_INFOFRAME_CONTROL0
	.comm	_HDMI_AVI_INFO_SEND,4,2         ; @HDMI_AVI_INFO_SEND
	.comm	_HDMI_AVI_INFO_CONT,4,2         ; @HDMI_AVI_INFO_CONT
	.comm	_HDMI_AUDIO_INFO_SEND,4,2       ; @HDMI_AUDIO_INFO_SEND
	.comm	_HDMI_AUDIO_INFO_CONT,4,2       ; @HDMI_AUDIO_INFO_CONT
	.comm	_mmHDMI_INFOFRAME_CONTROL1,8,3  ; @mmHDMI_INFOFRAME_CONTROL1
	.comm	_HDMI_INFOFRAME_CONTROL1,4,2    ; @HDMI_INFOFRAME_CONTROL1
	.comm	_HDMI_AVI_INFO_LINE,4,2         ; @HDMI_AVI_INFO_LINE
	.comm	_mmAFMT_AUDIO_PACKET_CONTROL,8,3 ; @mmAFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_PACKET_CONTROL,4,2  ; @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_SAMPLE_SEND,4,2     ; @AFMT_AUDIO_SAMPLE_SEND
	.no_dead_strip	_dce_v6_0_audio_hdmi_enable
.subsections_via_symbols
