	.file	"extr_hda_codec.c_update_amp_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	update_amp_value, @function
update_amp_value:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r8d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	edx, r13d
	mov	r12d, esi
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	ebx, DWORD PTR 64[rsp]
	add	r9d, ebx
	test	ebx, ebx
	cmovne	ebx, r9d
	xor	ecx, ecx
	call	get_amp_max_value@PLT
	mov	r8d, r15d
	mov	ecx, r13d
	mov	edx, r14d
	cmp	ebx, eax
	mov	r9d, DWORD PTR HDA_AMP_VOLMASK[rip]
	mov	esi, r12d
	mov	rdi, rbp
	cmova	ebx, eax
	mov	DWORD PTR 64[rsp], ebx
	add	rsp, 8
	.cfi_def_cfa_offset 56
	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
	jmp	snd_hda_codec_amp_update@PLT
	.cfi_endproc
.LFE0:
	.size	update_amp_value, .-update_amp_value
	.comm	HDA_AMP_VOLMASK,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_hda_codec.c_update_amp_value.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_amp_value, %function
update_amp_value:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r3
	ldr	r4, [sp, #40]
	ldr	r3, [sp, #36]
	cmp	r4, #0
	addne	r4, r4, r3
	mov	r8, r2
	mov	r3, #0
	mov	r2, r7
	mov	r5, r0
	mov	r6, r1
	ldr	r9, [sp, #32]
	bl	get_amp_max_value
	cmp	r4, r0
	movcs	r4, r0
	ldr	r3, .L8
	str	r4, [sp, #40]
	ldr	ip, [r3]
	mov	r2, r8
	mov	r3, r7
	mov	r1, r6
	mov	r0, r5
	str	r9, [sp, #32]
	str	ip, [sp, #36]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	snd_hda_codec_amp_update
.L9:
	.align	2
.L8:
	.word	HDA_AMP_VOLMASK
	.size	update_amp_value, .-update_amp_value
	.comm	HDA_AMP_VOLMASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
