	.file	"extr_ac97_codec.c_snd_ac97_ad18xx_pcm_info_bits.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_ac97_ad18xx_pcm_info_bits, @function
snd_ac97_ad18xx_pcm_info_bits:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	snd_kcontrol_chip@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR SNDRV_CTL_ELEM_TYPE_BOOLEAN[rip]
	mov	ecx, edx
	mov	esi, edx
	sar	edx, 12
	sar	ecx, 16
	sar	esi, 8
	and	edx, 15
	and	ecx, 15
	and	esi, 15
	cmp	ecx, 1
	cmovne	edi, DWORD PTR SNDRV_CTL_ELEM_TYPE_INTEGER[rip]
	mov	DWORD PTR 24[rbx], edi
	mov	edi, 1
	cmp	esi, edx
	je	.L4
	xor	edi, edi
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR AC97_STEREO_MUTES[rip], eax
	setne	dil
	add	edi, 1
.L4:
	mov	DWORD PTR [rbx], edi
	xor	eax, eax
	mov	QWORD PTR 16[rbx], 0
	mov	DWORD PTR 8[rbx], ecx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_ac97_ad18xx_pcm_info_bits, .-snd_ac97_ad18xx_pcm_info_bits
	.comm	SNDRV_CTL_ELEM_TYPE_INTEGER,4,4
	.comm	SNDRV_CTL_ELEM_TYPE_BOOLEAN,4,4
	.comm	AC97_STEREO_MUTES,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_ac97_codec.c_snd_ac97_ad18xx_pcm_info_bits.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_ac97_ad18xx_pcm_info_bits, %function
snd_ac97_ad18xx_pcm_info_bits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	bl	snd_kcontrol_chip
	ldr	r3, [r5]
	asr	r2, r3, #16
	and	r2, r2, #15
	cmp	r2, #1
	ldreq	ip, .L9
	ldrne	ip, .L9+4
	asr	r1, r3, #8
	asr	r3, r3, #12
	and	r3, r3, #15
	ldr	ip, [ip]
	and	r1, r1, #15
	cmp	r1, r3
	moveq	r3, #1
	str	ip, [r4, #12]
	beq	.L4
	ldr	r3, .L9+8
	ldr	r1, [r0]
	ldr	r3, [r3]
	tst	r1, r3
	moveq	r3, #1
	movne	r3, #2
.L4:
	mov	r0, #0
	str	r3, [r4]
	str	r2, [r4, #4]
	str	r0, [r4, #8]
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	SNDRV_CTL_ELEM_TYPE_BOOLEAN
	.word	SNDRV_CTL_ELEM_TYPE_INTEGER
	.word	AC97_STEREO_MUTES
	.size	snd_ac97_ad18xx_pcm_info_bits, .-snd_ac97_ad18xx_pcm_info_bits
	.comm	SNDRV_CTL_ELEM_TYPE_INTEGER,4,4
	.comm	SNDRV_CTL_ELEM_TYPE_BOOLEAN,4,4
	.comm	AC97_STEREO_MUTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
