	.file	"extr_daca.c_daca_put_amp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	daca_put_amp, @function
daca_put_amp:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rsi
	call	snd_kcontrol_chip@PLT
	mov	r8d, DWORD PTR ENODEV[rip]
	mov	rax, QWORD PTR [rax]
	neg	r8d
	test	rax, rax
	je	.L1
	mov	rdx, QWORD PTR [rbx]
	xor	r8d, r8d
	mov	edx, DWORD PTR [rdx]
	cmp	DWORD PTR [rax], edx
	jne	.L7
.L1:
	mov	eax, r8d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	test	edx, edx
	mov	edi, DWORD PTR 4[rax]
	mov	esi, DWORD PTR DACA_REG_GCFG[rip]
	setne	dl
	movzx	edx, dl
	mov	DWORD PTR [rax], edx
	add	edx, 4
	call	i2c_smbus_write_byte_data@PLT
	mov	r8d, 1
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	daca_put_amp, .-daca_put_amp
	.comm	ENODEV,4,4
	.comm	DACA_REG_GCFG,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_daca.c_daca_put_amp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	daca_put_amp, %function
daca_put_amp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	snd_kcontrol_chip
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L7
	ldr	r2, [r4]
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	bne	.L8
	mov	r0, #0
	pop	{r4, pc}
.L8:
	subs	r2, r2, #0
	movne	r2, #1
	ldr	r1, .L9
	str	r2, [r3]
	ldr	r0, [r3, #4]
	ldr	r1, [r1]
	add	r2, r2, #4
	bl	i2c_smbus_write_byte_data
	mov	r0, #1
	pop	{r4, pc}
.L7:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	DACA_REG_GCFG
	.word	ENODEV
	.size	daca_put_amp, .-daca_put_amp
	.comm	ENODEV,4,4
	.comm	DACA_REG_GCFG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
