	.file	"extr_cs4236_lib.c_snd_cs4235_put_output_accu.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_cs4235_put_output_accu, @function
snd_cs4235_put_output_accu:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	snd_kcontrol_chip@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR [r12]
	lea	r14, 8[rbp]
	mov	edi, DWORD PTR [rax]
	call	snd_cs4235_mixer_output_accu_set_volume@PLT
	mov	r13d, eax
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR 4[rax]
	call	snd_cs4235_mixer_output_accu_set_volume@PLT
	xor	esi, esi
	mov	rdi, r14
	mov	ebx, eax
	call	spin_lock_irqsave@PLT
	mov	rcx, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR CS4235_LEFT_MASTER[rip]
	mov	rdi, QWORD PTR CS4235_RIGHT_MASTER[rip]
	mov	eax, DWORD PTR [rcx+rsi*4]
	mov	ecx, DWORD PTR [rcx+rdi*4]
	mov	edx, eax
	and	edx, -97
	mov	r12d, ecx
	or	edx, r13d
	and	r12d, -97
	mov	r13d, 1
	or	r12d, ebx
	movzx	edx, dx
	movzx	r12d, r12w
	cmp	eax, edx
	jne	.L2
	xor	r13d, r13d
	cmp	ecx, r12d
	setne	r13b
.L2:
	mov	rdi, rbp
	call	snd_wss_out@PLT
	mov	rsi, QWORD PTR CS4235_RIGHT_MASTER[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	snd_wss_out@PLT
	mov	rdi, r14
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_cs4235_put_output_accu, .-snd_cs4235_put_output_accu
	.comm	CS4235_RIGHT_MASTER,8,8
	.comm	CS4235_LEFT_MASTER,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cs4236_lib.c_snd_cs4235_put_output_accu.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_cs4235_put_output_accu, %function
snd_cs4235_put_output_accu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	bl	snd_kcontrol_chip
	ldr	r3, [r4]
	mov	r5, r0
	ldr	r0, [r3]
	bl	snd_cs4235_mixer_output_accu_set_volume
	ldr	r3, [r4]
	mov	r9, r0
	ldr	r0, [r3, #4]
	bl	snd_cs4235_mixer_output_accu_set_volume
	mov	r8, r0
	add	r6, r5, #4
	mov	r1, #0
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r2, .L6
	ldr	r3, [r5]
	ldr	r1, [r2]
	ldr	r7, .L6+4
	ldr	r0, [r3, r1, lsl #2]
	ldr	ip, [r7]
	bic	r2, r0, #96
	ldr	r3, [r3, ip, lsl #2]
	orr	r2, r2, r9
	lsl	r2, r2, #16
	bic	r4, r3, #96
	orr	r4, r4, r8
	lsr	r2, r2, #16
	cmp	r0, r2
	lsl	r4, r4, #16
	movne	r8, #1
	lsr	r4, r4, #16
	bne	.L2
	subs	r8, r4, r3
	movne	r8, #1
.L2:
	mov	r0, r5
	bl	snd_wss_out
	mov	r2, r4
	ldr	r1, [r7]
	mov	r0, r5
	bl	snd_wss_out
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	CS4235_LEFT_MASTER
	.word	CS4235_RIGHT_MASTER
	.size	snd_cs4235_put_output_accu, .-snd_cs4235_put_output_accu
	.comm	CS4235_RIGHT_MASTER,4,4
	.comm	CS4235_LEFT_MASTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
