	.file	"extr_cs4236_lib.c_snd_cs4236_get_double1.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_cs4236_get_double1, @function
snd_cs4236_get_double1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	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, 8
	.cfi_def_cfa_offset 64
	call	snd_kcontrol_chip@PLT
	mov	ebx, DWORD PTR [rbx]
	mov	rsi, r15
	lea	r14, 16[rax]
	mov	r13, rax
	mov	rdi, r14
	mov	r12d, ebx
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR 0[r13]
	movzx	esi, bl
	mov	ecx, ebx
	sar	ecx, 16
	mov	rdx, QWORD PTR 0[rbp]
	shr	r12d, 24
	movzx	edi, bh
	mov	eax, DWORD PTR [rax+rsi*4]
	and	ecx, 7
	mov	r13, QWORD PTR 8[r13]
	sar	eax, cl
	and	eax, r12d
	mov	DWORD PTR [rdx], eax
	call	CS4236_REG@PLT
	mov	ecx, ebx
	mov	rdx, QWORD PTR 0[rbp]
	mov	rsi, r15
	mov	eax, DWORD PTR 0[r13+rax*4]
	sar	ecx, 19
	mov	rdi, r14
	and	ecx, 7
	sar	eax, cl
	and	eax, r12d
	mov	DWORD PTR 4[rdx], eax
	call	spin_unlock_irqrestore@PLT
	and	ebx, 4194304
	je	.L2
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, r12d
	sub	r12d, DWORD PTR 4[rax]
	sub	edx, DWORD PTR [rax]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR 4[rax], r12d
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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_get_double1, .-snd_cs4236_get_double1
	.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_get_double1.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_cs4236_get_double1, %function
snd_cs4236_get_double1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r4, r0
	bl	snd_kcontrol_chip
	mov	r9, #0
	mov	r5, r0
	add	r8, r0, #8
	ldr	r4, [r4]
	mov	r1, r9
	mov	r0, r8
	bl	spin_lock_irqsave
	ldr	r3, [r5]
	and	r2, r4, #255
	ldr	r3, [r3, r2, lsl #2]
	asr	r2, r4, #16
	ldr	r1, [r6]
	and	r2, r2, #7
	lsr	r7, r4, #24
	and	r3, r7, r3, asr r2
	asr	r0, r4, #8
	str	r3, [r1]
	and	r0, r0, #255
	ldr	r5, [r5, #4]
	bl	CS4236_REG
	asr	r2, r4, #19
	ldr	r3, [r5, r0, lsl #2]
	ldr	ip, [r6]
	and	r2, r2, #7
	and	r3, r7, r3, asr r2
	mov	r0, r8
	mov	r1, r9
	str	r3, [ip, #4]
	bl	spin_unlock_irqrestore
	tst	r4, #4194304
	beq	.L2
	ldr	r3, [r6]
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	sub	r2, r7, r2
	sub	r7, r7, r1
	stm	r3, {r2, r7}
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	snd_cs4236_get_double1, .-snd_cs4236_get_double1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
