	.file	"extr_twl4030.c_snd_soc_get_volsw_r2_twl4030.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_soc_get_volsw_r2_twl4030, @function
snd_soc_get_volsw_r2_twl4030:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR [rdi]
	call	snd_soc_kcontrol_component@PLT
	mov	r8d, DWORD PTR 4[rbx]
	mov	r14d, DWORD PTR [rbx]
	mov	r15, rax
	mov	ebp, DWORD PTR 8[rbx]
	mov	ebx, DWORD PTR 12[rbx]
	mov	DWORD PTR 12[rsp], r8d
	mov	edi, ebx
	call	fls@PLT
	mov	esi, r14d
	mov	rdi, r15
	mov	r14d, 1
	mov	r12d, eax
	call	twl4030_read@PLT
	mov	ecx, r12d
	mov	esi, r14d
	mov	rdx, QWORD PTR 0[r13]
	sal	esi, cl
	mov	ecx, ebp
	mov	r8d, DWORD PTR 12[rsp]
	mov	rdi, r15
	mov	r12d, esi
	shr	eax, cl
	sub	r12d, 1
	mov	esi, r8d
	and	eax, r12d
	mov	DWORD PTR [rdx], eax
	call	twl4030_read@PLT
	mov	rdx, QWORD PTR 0[r13]
	mov	ecx, ebp
	shr	eax, cl
	mov	ecx, DWORD PTR [rdx]
	and	eax, r12d
	mov	DWORD PTR 4[rdx], eax
	test	ecx, ecx
	je	.L2
	sub	r14d, ecx
	add	r14d, ebx
	mov	DWORD PTR [rdx], r14d
.L2:
	test	eax, eax
	je	.L3
	add	ebx, 1
	sub	ebx, eax
	mov	DWORD PTR 4[rdx], ebx
.L3:
	add	rsp, 24
	.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_soc_get_volsw_r2_twl4030, .-snd_soc_get_volsw_r2_twl4030
	.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_twl4030.c_snd_soc_get_volsw_r2_twl4030.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_soc_get_volsw_r2_twl4030, %function
snd_soc_get_volsw_r2_twl4030:
	@ 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
	ldr	r4, [r0]
	bl	snd_soc_kcontrol_component
	ldr	r5, [r4, #12]
	mov	r7, r0
	mov	r0, r5
	ldr	r8, [r4, #8]
	ldr	r10, [r4]
	ldr	r9, [r4, #4]
	bl	fls
	mov	r1, r10
	mov	r4, r0
	mov	r0, r7
	bl	twl4030_read
	mvn	r3, #0
	mvn	r4, r3, lsl r4
	ldr	r2, [r6]
	and	r3, r4, r0, lsr r8
	str	r3, [r2]
	mov	r1, r9
	mov	r0, r7
	bl	twl4030_read
	ldr	r2, [r6]
	and	r0, r4, r0, lsr r8
	ldr	r3, [r2]
	str	r0, [r2, #4]
	cmp	r3, #0
	rsbne	r3, r3, #1
	addne	r3, r3, r5
	strne	r3, [r2]
	cmp	r0, #0
	addne	r5, r5, #1
	subne	r0, r5, r0
	strne	r0, [r2, #4]
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	snd_soc_get_volsw_r2_twl4030, .-snd_soc_get_volsw_r2_twl4030
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
