	.file	"extr_hda_codec.c_init_slave_0dB.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unexpected TLV callback for slave %s:%d\n"
	.align 8
.LC1:
	.string	"Mismatching dB step for vmaster slave (%d!=%d)\n"
	.text
	.p2align 4
	.type	init_slave_0dB, @function
init_slave_0dB:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 16[rsi]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK[rip], eax
	je	.L2
	mov	rax, QWORD PTR snd_hda_mixer_amp_tlv[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L3
	mov	ecx, DWORD PTR 28[rsi]
	mov	edx, DWORD PTR 24[rsi]
	lea	rsi, .LC0[rip]
	xor	r12d, r12d
	mov	edi, DWORD PTR 4[rbx]
	call	codec_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	test	DWORD PTR SNDRV_CTL_ELEM_ACCESS_TLV_READ[rip], eax
	je	.L23
	mov	rax, QWORD PTR 8[rsi]
	test	rax, rax
	je	.L23
.L5:
	mov	rdx, QWORD PTR SNDRV_CTL_TLVO_TYPE[rip]
	mov	ecx, DWORD PTR SNDRV_CTL_TLVT_DB_SCALE[rip]
	cmp	DWORD PTR [rax+rdx*4], ecx
	jne	.L23
	mov	ecx, DWORD PTR TLV_DB_SCALE_MUTE[rip]
	mov	rdx, QWORD PTR SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP[rip]
	not	ecx
	and	ecx, DWORD PTR [rax+rdx*4]
	je	.L23
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	je	.L8
	cmp	edx, ecx
	jne	.L25
.L8:
	mov	rdx, QWORD PTR SNDRV_CTL_TLVO_DB_SCALE_MIN[rip]
	mov	DWORD PTR [rbx], ecx
	mov	eax, DWORD PTR [rax+rdx*4]
	neg	eax
	cdq
	idiv	ecx
	mov	r12d, eax
	test	eax, eax
	jg	.L26
	.p2align 4,,10
	.p2align 3
.L23:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	r12, rsp
	mov	rsi, r12
	call	get_ctl_amp_tlv@PLT
	mov	rax, r12
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, eax
	mov	rdi, rbp
	call	put_kctl_with_value@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC1[rip]
	call	codec_err@PLT
	jmp	.L23
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	init_slave_0dB, .-init_slave_0dB
	.comm	snd_hda_mixer_amp_tlv,8,8
	.comm	TLV_DB_SCALE_MUTE,4,4
	.comm	SNDRV_CTL_TLVT_DB_SCALE,4,4
	.comm	SNDRV_CTL_TLVO_TYPE,8,8
	.comm	SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP,8,8
	.comm	SNDRV_CTL_TLVO_DB_SCALE_MIN,8,8
	.comm	SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,4
	.comm	SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK,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_init_slave_0dB.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unexpected TLV callback for slave %s:%d\012\000"
	.align	2
.LC1:
	.ascii	"Mismatching dB step for vmaster slave (%d!=%d)\012\000"
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_slave_0dB, %function
init_slave_0dB:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r1, #8]
	ldr	ip, .L22
	ldr	r3, [r3]
	ldr	ip, [ip]
	mov	r4, r2
	ldr	r2, .L22+4
	sub	sp, sp, #28
	tst	r3, ip
	mov	r5, r0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	beq	.L2
	ldr	r3, .L22+8
	ldr	r2, [r1]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
	ldr	r0, [r4, #4]
	ldr	r3, [r1, #16]
	ldr	r2, [r1, #12]
	ldr	r1, .L22+12
	bl	codec_err
	mov	r4, #0
	b	.L1
.L2:
	ldr	r2, .L22+16
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L17
	ldr	ip, [r1, #4]
	cmp	ip, #0
	beq	.L17
.L5:
	ldr	r2, .L22+20
	ldr	r3, .L22+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r2, [ip, r2, lsl #2]
	cmp	r2, r3
	bne	.L17
	ldr	r3, .L22+28
	ldr	r2, .L22+32
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r3, [ip, r3, lsl #2]
	bics	r1, r3, r1
	beq	.L17
	ldr	r2, [r4]
	cmp	r2, #0
	cmpne	r2, r1
	bne	.L19
	ldr	r3, .L22+36
	str	r1, [r4]
	ldr	r3, [r3]
	ldr	r0, [ip, r3, lsl #2]
	rsb	r0, r0, #0
	bl	__aeabi_idiv
	subs	r4, r0, #0
	bgt	.L20
.L17:
	mov	r4, #0
.L1:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	mov	r0, r1
	add	r1, sp, #4
	bl	get_ctl_amp_tlv
	add	ip, sp, #4
	b	.L5
.L20:
	mov	r0, r5
	mov	r1, r4
	bl	put_kctl_with_value
	b	.L1
.L19:
	mov	r3, r1
	ldr	r0, [r4, #4]
	ldr	r1, .L22+40
	bl	codec_err
	b	.L17
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK
	.word	.LC2
	.word	snd_hda_mixer_amp_tlv
	.word	.LC0
	.word	SNDRV_CTL_ELEM_ACCESS_TLV_READ
	.word	SNDRV_CTL_TLVO_TYPE
	.word	SNDRV_CTL_TLVT_DB_SCALE
	.word	SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP
	.word	TLV_DB_SCALE_MUTE
	.word	SNDRV_CTL_TLVO_DB_SCALE_MIN
	.word	.LC1
	.size	init_slave_0dB, .-init_slave_0dB
	.comm	snd_hda_mixer_amp_tlv,4,4
	.comm	TLV_DB_SCALE_MUTE,4,4
	.comm	SNDRV_CTL_TLVT_DB_SCALE,4,4
	.comm	SNDRV_CTL_TLVO_TYPE,4,4
	.comm	SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP,4,4
	.comm	SNDRV_CTL_TLVO_DB_SCALE_MIN,4,4
	.comm	SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,4
	.comm	SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
