	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r600_hdmi_audio_workaround
_r600_hdmi_audio_workaround:            ## @r600_hdmi_audio_workaround
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_to_radeon_encoder
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_HDMI0_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	movq	_HDMI0_AUDIO_TEST_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	notq	%rdx
	xorl	%esi, %esi
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI0_AUDIO_TEST_EN,8,3        ## @HDMI0_AUDIO_TEST_EN
	.comm	_HDMI0_AUDIO_PACKET_CONTROL,8,3 ## @HDMI0_AUDIO_PACKET_CONTROL
	.no_dead_strip	_r600_hdmi_audio_workaround
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r600_hdmi_audio_workaround
_r600_hdmi_audio_workaround:            ; @r600_hdmi_audio_workaround
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_to_radeon_encoder
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HDMI0_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMI0_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _HDMI0_AUDIO_TEST_EN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HDMI0_AUDIO_TEST_EN@GOTPAGEOFF]
	add	x0, x9, x8
Lloh5:
	ldr	x8, [x10]
	mvn	x2, x8
	mov	x1, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WREG32_P
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI0_AUDIO_TEST_EN,8,3        ; @HDMI0_AUDIO_TEST_EN
	.comm	_HDMI0_AUDIO_PACKET_CONTROL,8,3 ; @HDMI0_AUDIO_PACKET_CONTROL
	.no_dead_strip	_r600_hdmi_audio_workaround
.subsections_via_symbols
