	.file	"extr_soc-dapm.c_snd_soc_dapm_put_enum_double.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_soc_dapm_put_enum_double
	.type	snd_soc_dapm_put_enum_double, @function
snd_soc_dapm_put_enum_double:
.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, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	snd_soc_dapm_kcontrol_dapm@PLT
	mov	rbx, QWORD PTR [rbx]
	mov	r12, QWORD PTR 0[rbp]
	pxor	xmm0, xmm0
	mov	r14, QWORD PTR [rax]
	movaps	XMMWORD PTR 16[rsp], xmm0
	mov	QWORD PTR 32[rsp], 0
	mov	esi, DWORD PTR [rbx]
	cmp	esi, DWORD PTR [r12]
	jb	.L2
.L17:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	mov	r15, rax
	call	snd_soc_enum_item_to_val@PLT
	mov	ecx, DWORD PTR 4[r12]
	sal	eax, cl
	mov	r13d, eax
	mov	eax, DWORD PTR 8[r12]
	sal	eax, cl
	mov	DWORD PTR 8[rsp], eax
	cmp	ecx, DWORD PTR 12[r12]
	je	.L4
	mov	esi, DWORD PTR 4[rbx]
	cmp	esi, DWORD PTR [r12]
	ja	.L17
	mov	rdi, r12
	call	snd_soc_enum_item_to_val@PLT
	mov	ecx, DWORD PTR 12[r12]
	sal	eax, cl
	or	r13d, eax
	mov	eax, DWORD PTR 8[r12]
	sal	eax, cl
	or	DWORD PTR 8[rsp], eax
.L4:
	mov	esi, DWORD PTR SND_SOC_DAPM_CLASS_RUNTIME[rip]
	mov	rdi, r14
	call	mutex_lock_nested@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	dapm_kcontrol_set_value@PLT
	mov	rsi, QWORD PTR 16[r12]
	cmp	rsi, QWORD PTR SND_SOC_NOPM[rip]
	mov	r8d, eax
	jne	.L6
	test	eax, eax
	je	.L15
.L7:
	mov	edx, DWORD PTR [rbx]
	mov	rcx, r12
	mov	rsi, rbp
	mov	rdi, r14
	mov	DWORD PTR 8[rsp], r8d
	call	soc_dapm_mux_update_power@PLT
	mov	QWORD PTR 8[r14], 0
	mov	rdi, r14
	mov	ebp, eax
	call	mutex_unlock@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	r12d, r8d
	test	ebp, ebp
	jle	.L1
	mov	rdi, r14
	call	soc_dpcm_runtime_update@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR 8[rsp]
	mov	ecx, r13d
	mov	rdi, r15
	mov	DWORD PTR 12[rsp], eax
	call	soc_dapm_test_bits@PLT
	mov	r8d, DWORD PTR 12[rsp]
	or	r8d, eax
	je	.L15
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR 16[r12]
	mov	QWORD PTR 32[rsp], rbp
	mov	DWORD PTR 28[rsp], r13d
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR 8[rsp]
	mov	DWORD PTR 24[rsp], eax
	lea	rax, 16[rsp]
	mov	QWORD PTR 8[r14], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, r14
	xor	r12d, r12d
	call	mutex_unlock@PLT
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	snd_soc_dapm_put_enum_double, .-snd_soc_dapm_put_enum_double
	.comm	SND_SOC_NOPM,8,8
	.comm	SND_SOC_DAPM_CLASS_RUNTIME,4,4
	.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-dapm.c_snd_soc_dapm_put_enum_double.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	snd_soc_dapm_put_enum_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_soc_dapm_put_enum_double, %function
snd_soc_dapm_put_enum_double:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L20
	sub	sp, sp, #28
	mov	r4, r1
	mov	r6, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	snd_soc_dapm_kcontrol_dapm
	mov	r3, #0
	ldr	r8, [r4]
	ldr	r4, [r6]
	ldr	r9, [r0]
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	ldr	r1, [r8]
	ldr	r3, [r4]
	cmp	r1, r3
	bcc	.L2
.L17:
	ldr	r3, .L20+4
	ldr	r4, [r3]
	rsb	r5, r4, #0
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r7, r0
	mov	r0, r4
	bl	snd_soc_enum_item_to_val
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #12]
	ldr	fp, [r4, #8]
	cmp	r3, r2
	lsl	r10, r0, r3
	lsl	fp, fp, r3
	beq	.L4
	ldr	r1, [r8, #4]
	ldr	r3, [r4]
	cmp	r1, r3
	bhi	.L17
	mov	r0, r4
	bl	snd_soc_enum_item_to_val
	ldr	r3, [r4, #12]
	ldr	r2, [r4, #8]
	orr	r10, r10, r0, lsl r3
	orr	fp, fp, r2, lsl r3
.L4:
	ldr	r3, .L20+8
	mov	r0, r9
	ldr	r1, [r3]
	bl	mutex_lock_nested
	mov	r1, r10
	mov	r0, r6
	bl	dapm_kcontrol_set_value
	ldr	r3, .L20+12
	ldr	r1, [r4, #16]
	ldr	r3, [r3]
	mov	r5, r0
	cmp	r1, r3
	bne	.L6
	cmp	r0, #0
	beq	.L15
.L7:
	mov	r3, r4
	mov	r1, r6
	ldr	r2, [r8]
	mov	r0, r9
	bl	soc_dapm_mux_update_power
	mov	r3, #0
	mov	r4, r0
	str	r3, [r9, #4]
	mov	r0, r9
	bl	mutex_unlock
	cmp	r4, #0
	ble	.L1
	mov	r0, r9
	bl	soc_dpcm_runtime_update
	b	.L1
.L6:
	mov	r0, r7
	mov	r3, r10
	mov	r2, fp
	bl	soc_dapm_test_bits
	orrs	r5, r5, r0
	beq	.L15
	cmp	r0, #0
	beq	.L7
	ldr	r3, [r4, #16]
	str	r6, [sp, #16]
	str	r3, [sp, #4]
	add	r3, sp, #4
	str	fp, [sp, #8]
	str	r10, [sp, #12]
	str	r3, [r9, #4]
	b	.L7
.L15:
	mov	r0, r9
	bl	mutex_unlock
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	EINVAL
	.word	SND_SOC_DAPM_CLASS_RUNTIME
	.word	SND_SOC_NOPM
	.size	snd_soc_dapm_put_enum_double, .-snd_soc_dapm_put_enum_double
	.comm	SND_SOC_NOPM,4,4
	.comm	SND_SOC_DAPM_CLASS_RUNTIME,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
