	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_indirect_azalia_reg
_write_indirect_azalia_reg:             ## @write_indirect_azalia_reg
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	callq	_DCE_AUD
	movq	_AZALIA_F0_CODEC_ENDPOINT_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AZALIA_ENDPOINT_REG_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	%ebx, %ecx
	callq	_REG_SET
	movq	_AZALIA_F0_CODEC_ENDPOINT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AZALIA_ENDPOINT_REG_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_REG_SET
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DC_LOG_HW_AUDIO                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AZALIA_F0_CODEC_ENDPOINT_INDEX,4,2 ## @AZALIA_F0_CODEC_ENDPOINT_INDEX
	.comm	_AZALIA_ENDPOINT_REG_INDEX,4,2  ## @AZALIA_ENDPOINT_REG_INDEX
	.comm	_AZALIA_F0_CODEC_ENDPOINT_DATA,4,2 ## @AZALIA_F0_CODEC_ENDPOINT_DATA
	.comm	_AZALIA_ENDPOINT_REG_DATA,4,2   ## @AZALIA_ENDPOINT_REG_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AUDIO:write_indirect_azalia_reg: index: %u  data: %u\n"

	.no_dead_strip	_write_indirect_azalia_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_indirect_azalia_reg
_write_indirect_azalia_reg:             ; @write_indirect_azalia_reg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_DCE_AUD
Lloh0:
	adrp	x8, _AZALIA_F0_CODEC_ENDPOINT_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AZALIA_F0_CODEC_ENDPOINT_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _AZALIA_ENDPOINT_REG_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AZALIA_ENDPOINT_REG_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x20
	bl	_REG_SET
Lloh6:
	adrp	x8, _AZALIA_F0_CODEC_ENDPOINT_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AZALIA_F0_CODEC_ENDPOINT_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _AZALIA_ENDPOINT_REG_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AZALIA_ENDPOINT_REG_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x19
	bl	_REG_SET
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DC_LOG_HW_AUDIO
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AZALIA_F0_CODEC_ENDPOINT_INDEX,4,2 ; @AZALIA_F0_CODEC_ENDPOINT_INDEX
	.comm	_AZALIA_ENDPOINT_REG_INDEX,4,2  ; @AZALIA_ENDPOINT_REG_INDEX
	.comm	_AZALIA_F0_CODEC_ENDPOINT_DATA,4,2 ; @AZALIA_F0_CODEC_ENDPOINT_DATA
	.comm	_AZALIA_ENDPOINT_REG_DATA,4,2   ; @AZALIA_ENDPOINT_REG_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AUDIO:write_indirect_azalia_reg: index: %u  data: %u\n"

	.no_dead_strip	_write_indirect_azalia_reg
.subsections_via_symbols
