	.file	"extr_patch_via.c_is_aa_path_mute.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	is_aa_path_mute, @function
is_aa_path_mute:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, QWORD PTR [rax]
	test	rbx, rbx
	je	.L4
	mov	rsi, QWORD PTR 8[rbx]
	mov	r12, rdi
	test	rsi, rsi
	je	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	xor	ebp, ebp
.L7:
	mov	ecx, DWORD PTR 4[rbx]
	mov	r8d, DWORD PTR [rbx]
	mov	edx, ebp
	mov	rdi, r12
	call	snd_hda_codec_amp_read@PLT
	test	DWORD PTR HDA_AMP_MUTE[rip], eax
	jne	.L10
	test	eax, eax
	jg	.L9
.L10:
	cmp	ebp, 1
	je	.L6
	mov	rsi, QWORD PTR 8[rbx]
	mov	ebp, 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR 24[rbx]
	add	rbx, 16
	test	rsi, rsi
	jne	.L8
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_aa_path_mute, .-is_aa_path_mute
	.comm	HDA_AMP_MUTE,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_patch_via.c_is_aa_path_mute.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_aa_path_mute, %function
is_aa_path_mute:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r0]
	sub	sp, sp, #12
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L4
	ldr	r1, [r4, #8]
	cmp	r1, #0
	beq	.L4
	mov	r6, r0
	ldr	r7, .L15
	add	r4, r4, #12
.L7:
	mov	r5, #0
.L6:
	ldr	r2, [r4, #-12]
	ldr	r3, [r4, #-8]
	mov	r0, r6
	str	r2, [sp]
	mov	r2, r5
	bl	snd_hda_codec_amp_read
	ldr	r3, [r7]
	cmp	r0, #0
	and	r3, r3, r0
	movle	r0, #0
	movgt	r0, #1
	cmp	r3, #0
	movne	r0, #0
	cmp	r0, #0
	bne	.L8
	cmp	r5, #1
	movne	r5, #1
	ldrne	r1, [r4, #-4]
	bne	.L6
.L5:
	ldr	r1, [r4, #8]
	add	r4, r4, #12
	cmp	r1, #0
	bne	.L7
.L4:
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	.align	2
.L15:
	.word	HDA_AMP_MUTE
	.size	is_aa_path_mute, .-is_aa_path_mute
	.comm	HDA_AMP_MUTE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
