	.file	"extr_soc-core.c_snd_soc_put_value_enum_double.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_soc_put_value_enum_double
	.type	snd_soc_put_value_enum_double, @function
snd_soc_put_value_enum_double:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	snd_kcontrol_chip@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	r10, QWORD PTR 0[rbp]
	mov	r9d, DWORD PTR [rdx]
	movsx	rsi, DWORD PTR [r10]
	cmp	r9d, esi
	jle	.L5
	mov	rbx, QWORD PTR 8[rdx]
	mov	rdi, rax
	mov	eax, DWORD PTR 16[rdx]
	mov	r8d, DWORD PTR [rbx+rsi*4]
	mov	esi, DWORD PTR 20[rdx]
	mov	ecx, eax
	mov	r11d, esi
	sal	r8d, cl
	sal	r11d, cl
	mov	ecx, DWORD PTR 24[rdx]
	cmp	eax, ecx
	je	.L4
	movsx	rax, DWORD PTR 4[r10]
	cmp	r9d, eax
	jle	.L5
	mov	eax, DWORD PTR [rbx+rax*4]
	sal	esi, cl
	or	r11d, esi
	sal	eax, cl
	or	r8d, eax
.L4:
	mov	esi, DWORD PTR 28[rdx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	ecx, r8d
	mov	edx, r11d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	snd_soc_update_bits@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	snd_soc_put_value_enum_double, .-snd_soc_put_value_enum_double
	.comm	EINVAL,4,4
	.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_soc-core.c_snd_soc_put_value_enum_double.c"
	.text
	.align	2
	.global	snd_soc_put_value_enum_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_soc_put_value_enum_double, %function
snd_soc_put_value_enum_double:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	snd_kcontrol_chip
	ldr	ip, [r5]
	ldr	lr, [r4]
	ldr	r1, [ip]
	ldr	r3, [lr]
	cmp	r1, r3
	ble	.L5
	ldr	r6, [ip, #4]
	ldr	r2, [ip, #8]
	ldr	r4, [ip, #16]
	ldr	r3, [r6, r3, lsl #2]
	ldr	r5, [ip, #12]
	cmp	r2, r4
	lsl	r3, r3, r2
	lsl	r2, r5, r2
	beq	.L4
	ldr	lr, [lr, #4]
	cmp	r1, lr
	ble	.L5
	ldr	r1, [r6, lr, lsl #2]
	orr	r2, r2, r5, lsl r4
	orr	r3, r3, r1, lsl r4
.L4:
	ldr	r1, [ip, #20]
	pop	{r4, r5, r6, lr}
	b	snd_soc_update_bits
.L5:
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.size	snd_soc_put_value_enum_double, .-snd_soc_put_value_enum_double
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
