	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v6_0_audio_endpt_wreg
_dce_v6_0_audio_endpt_wreg:             ## @dce_v6_0_audio_endpt_wreg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_spin_lock_irqsave
	movq	_mmAZALIA_F0_CODEC_ENDPOINT_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	movq	_AZALIA_F0_CODEC_ENDPOINT_INDEX__AZALIA_ENDPOINT_REG_WRITE_EN_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, %esi
	callq	_WREG32
	movq	_mmAZALIA_F0_CODEC_ENDPOINT_DATA@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_WREG32
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmAZALIA_F0_CODEC_ENDPOINT_INDEX,4,2 ## @mmAZALIA_F0_CODEC_ENDPOINT_INDEX
	.comm	_AZALIA_F0_CODEC_ENDPOINT_INDEX__AZALIA_ENDPOINT_REG_WRITE_EN_MASK,4,2 ## @AZALIA_F0_CODEC_ENDPOINT_INDEX__AZALIA_ENDPOINT_REG_WRITE_EN_MASK
	.comm	_mmAZALIA_F0_CODEC_ENDPOINT_DATA,4,2 ## @mmAZALIA_F0_CODEC_ENDPOINT_DATA
	.no_dead_strip	_dce_v6_0_audio_endpt_wreg
.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_endpt_wreg
_dce_v6_0_audio_endpt_wreg:             ; @dce_v6_0_audio_endpt_wreg
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _mmAZALIA_F0_CODEC_ENDPOINT_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmAZALIA_F0_CODEC_ENDPOINT_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w0, w8, w21
Lloh3:
	adrp	x8, _AZALIA_F0_CODEC_ENDPOINT_INDEX__AZALIA_ENDPOINT_REG_WRITE_EN_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AZALIA_F0_CODEC_ENDPOINT_INDEX__AZALIA_ENDPOINT_REG_WRITE_EN_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w1, w8, w20
	bl	_WREG32
Lloh6:
	adrp	x8, _mmAZALIA_F0_CODEC_ENDPOINT_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mmAZALIA_F0_CODEC_ENDPOINT_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w0, w8, w21
	mov	x1, x19
	bl	_WREG32
	mov	x0, x22
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmAZALIA_F0_CODEC_ENDPOINT_INDEX,4,2 ; @mmAZALIA_F0_CODEC_ENDPOINT_INDEX
	.comm	_AZALIA_F0_CODEC_ENDPOINT_INDEX__AZALIA_ENDPOINT_REG_WRITE_EN_MASK,4,2 ; @AZALIA_F0_CODEC_ENDPOINT_INDEX__AZALIA_ENDPOINT_REG_WRITE_EN_MASK
	.comm	_mmAZALIA_F0_CODEC_ENDPOINT_DATA,4,2 ; @mmAZALIA_F0_CODEC_ENDPOINT_DATA
	.no_dead_strip	_dce_v6_0_audio_endpt_wreg
.subsections_via_symbols
