	.file	"extr_cs4236_lib.c_snd_cs4236_put_singlec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_cs4236_put_singlec, @function
snd_cs4236_put_singlec:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	snd_kcontrol_chip@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	r12, rax
	mov	eax, DWORD PTR [rbx]
	movzx	ebp, WORD PTR [rdx]
	lea	r14, 8[r12]
	mov	ebx, eax
	movzx	ecx, ah
	movzx	r8d, al
	mov	rdi, r14
	sar	ebx, 16
	mov	DWORD PTR 12[rsp], r8d
	movzx	ebx, bl
	mov	DWORD PTR 8[rsp], ecx
	and	ebp, ebx
	mov	edx, ebx
	sub	edx, ebp
	shr	eax, 24
	cmovne	ebp, edx
	xor	r15d, r15d
	mov	rsi, r15
	movzx	ebp, bp
	sal	ebp, cl
	call	spin_lock_irqsave@PLT
	mov	ecx, DWORD PTR 8[rsp]
	mov	rax, QWORD PTR [r12]
	mov	rdi, r12
	movsx	rdx, DWORD PTR 12[rsp]
	sal	ebx, cl
	mov	r13d, DWORD PTR [rax+rdx*4]
	not	ebx
	mov	r8, rdx
	mov	esi, r8d
	and	ebx, r13d
	or	ebx, ebp
	movzx	ebx, bx
	mov	edx, ebx
	call	snd_cs4236_ctrl_out@PLT
	mov	rsi, r15
	mov	rdi, r14
	call	spin_unlock_irqrestore@PLT
	xor	eax, eax
	cmp	r13d, ebx
	setne	al
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_cs4236_put_singlec, .-snd_cs4236_put_singlec
	.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_cs4236_put_singlec.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_cs4236_put_singlec, %function
snd_cs4236_put_singlec:
	@ 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
	mov	r5, r0
	bl	snd_kcontrol_chip
	mov	r9, #0
	mov	r7, r0
	ldr	ip, [r5]
	ldr	r3, [r4]
	asr	r5, ip, #16
	ldr	r3, [r3]
	and	r5, r5, #255
	lsrs	r2, ip, #24
	and	r3, r3, r5
	subne	r3, r5, r3
	lslne	r3, r3, #16
	asr	r4, ip, #8
	add	r8, r0, #4
	lsrne	r3, r3, #16
	mov	r1, r9
	mov	r0, r8
	and	r4, r4, #255
	and	r10, ip, #255
	lsl	r6, r3, r4
	bl	spin_lock_irqsave
	ldr	r3, [r7]
	mov	r1, r10
	ldr	r10, [r3, r10, lsl #2]
	mov	r0, r7
	bic	r4, r10, r5, lsl r4
	orr	r4, r4, r6
	lsl	r4, r4, #16
	lsr	r4, r4, #16
	mov	r2, r4
	bl	snd_cs4236_ctrl_out
	mov	r1, r9
	mov	r0, r8
	bl	spin_unlock_irqrestore
	subs	r0, r4, r10
	movne	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	snd_cs4236_put_singlec, .-snd_cs4236_put_singlec
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
