	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_wp_audio_config_dma       ## -- Begin function hdmi_wp_audio_config_dma
	.p2align	4, 0x90
_hdmi_wp_audio_config_dma:              ## @hdmi_wp_audio_config_dma
	.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	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DSSDBG
	movl	(%r14), %edi
	movq	_HDMI_WP_AUDIO_CFG2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_hdmi_read_reg
	movl	12(%rbx), %esi
	movl	%eax, %edi
	movl	$15, %edx
	movl	$8, %ecx
	callq	_FLD_MOD
	movl	8(%rbx), %esi
	movl	%eax, %edi
	movl	$7, %edx
	xorl	%ecx, %ecx
	callq	_FLD_MOD
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	%eax, %edx
	callq	_hdmi_write_reg
	movl	(%r14), %edi
	movq	_HDMI_WP_AUDIO_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_hdmi_read_reg
	movl	4(%rbx), %esi
	movl	%eax, %edi
	movl	$9, %edx
	movl	$9, %ecx
	callq	_FLD_MOD
	movl	(%rbx), %esi
	movl	%eax, %edi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_FLD_MOD
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_write_reg                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter hdmi_wp_audio_config_dma\n"

	.comm	_HDMI_WP_AUDIO_CFG2,4,2         ## @HDMI_WP_AUDIO_CFG2
	.comm	_HDMI_WP_AUDIO_CTRL,4,2         ## @HDMI_WP_AUDIO_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_wp_audio_config_dma       ; -- Begin function hdmi_wp_audio_config_dma
	.p2align	2
_hdmi_wp_audio_config_dma:              ; @hdmi_wp_audio_config_dma
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DSSDBG
	ldr	w0, [x19]
Lloh2:
	adrp	x21, _HDMI_WP_AUDIO_CFG2@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HDMI_WP_AUDIO_CFG2@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_hdmi_read_reg
	ldr	w1, [x20, #12]
	mov	w2, #15
	mov	w3, #8
	bl	_FLD_MOD
	ldr	w1, [x20, #8]
	mov	w2, #7
	mov	w3, #0
	bl	_FLD_MOD
	mov	x2, x0
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_hdmi_write_reg
	ldr	w0, [x19]
Lloh4:
	adrp	x21, _HDMI_WP_AUDIO_CTRL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _HDMI_WP_AUDIO_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_hdmi_read_reg
	ldr	w1, [x20, #4]
	mov	w2, #9
	mov	w3, #9
	bl	_FLD_MOD
	ldr	w1, [x20]
	mov	w2, #8
	mov	w3, #0
	bl	_FLD_MOD
	mov	x2, x0
	ldr	w0, [x19]
	ldr	w1, [x21]
	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	_hdmi_write_reg
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter hdmi_wp_audio_config_dma\n"

	.comm	_HDMI_WP_AUDIO_CFG2,4,2         ; @HDMI_WP_AUDIO_CFG2
	.comm	_HDMI_WP_AUDIO_CTRL,4,2         ; @HDMI_WP_AUDIO_CTRL
.subsections_via_symbols
