	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce6_endpoint_wreg             ## -- Begin function dce6_endpoint_wreg
	.p2align	4, 0x90
_dce6_endpoint_wreg:                    ## @dce6_endpoint_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	%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	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	callq	_ASIC_IS_DCE8
	movq	_AZ_F0_CODEC_ENDPOINT_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_AZ_ENDPOINT_REG_WRITE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_AZ_ENDPOINT_REG_INDEX
	movl	%eax, %r12d
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
LBB0_2:
	addl	%r13d, %ebx
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_WREG32
	movq	_AZ_F0_CODEC_ENDPOINT_DATA@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_WREG32
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AZ_F0_CODEC_ENDPOINT_INDEX,4,2 ## @AZ_F0_CODEC_ENDPOINT_INDEX
	.comm	_AZ_ENDPOINT_REG_WRITE_EN,4,2   ## @AZ_ENDPOINT_REG_WRITE_EN
	.comm	_AZ_F0_CODEC_ENDPOINT_DATA,4,2  ## @AZ_F0_CODEC_ENDPOINT_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce6_endpoint_wreg             ; -- Begin function dce6_endpoint_wreg
	.p2align	2
_dce6_endpoint_wreg:                    ; @dce6_endpoint_wreg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_ASIC_IS_DCE8
Lloh0:
	adrp	x8, _AZ_F0_CODEC_ENDPOINT_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AZ_F0_CODEC_ENDPOINT_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AZ_ENDPOINT_REG_WRITE_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AZ_ENDPOINT_REG_WRITE_EN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x0, x22
	bl	_AZ_ENDPOINT_REG_INDEX
	orr	w22, w0, w24
LBB0_2:
	add	w0, w23, w21
	mov	x1, x22
	bl	_WREG32
Lloh6:
	adrp	x8, _AZ_F0_CODEC_ENDPOINT_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AZ_F0_CODEC_ENDPOINT_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w0, w8, w21
	mov	x1, x20
	bl	_WREG32
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AZ_F0_CODEC_ENDPOINT_INDEX,4,2 ; @AZ_F0_CODEC_ENDPOINT_INDEX
	.comm	_AZ_ENDPOINT_REG_WRITE_EN,4,2   ; @AZ_ENDPOINT_REG_WRITE_EN
	.comm	_AZ_F0_CODEC_ENDPOINT_DATA,4,2  ; @AZ_F0_CODEC_ENDPOINT_DATA
.subsections_via_symbols
