	.file	"extr_hda_generic.c_is_stereo_amps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	is_stereo_amps, @function
is_stereo_amps:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	get_wcaps@PLT
	mov	edi, eax
	mov	eax, 1
	test	DWORD PTR AC_WCAP_STEREO[rip], edi
	jne	.L1
	cmp	DWORD PTR HDA_INPUT[rip], ebx
	je	.L3
.L4:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	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
	call	get_wcaps_type@PLT
	cmp	rax, QWORD PTR AC_WID_AUD_MIX[rip]
	jne	.L4
	mov	esi, r12d
	mov	rdi, rbp
	call	snd_hda_get_num_conns@PLT
	cmp	eax, 1
	jne	.L4
	lea	rdx, 4[rsp]
	mov	ecx, 1
	mov	esi, r12d
	mov	rdi, rbp
	call	snd_hda_get_connections@PLT
	test	rax, rax
	js	.L4
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	get_wcaps@PLT
	test	DWORD PTR AC_WCAP_STEREO[rip], eax
	setne	al
	movzx	eax, al
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	is_stereo_amps, .-is_stereo_amps
	.comm	HDA_INPUT,4,4
	.comm	AC_WID_AUD_MIX,8,8
	.comm	AC_WCAP_STEREO,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_generic.c_is_stereo_amps.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_stereo_amps, %function
is_stereo_amps:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L10
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r7, r2
	mov	r6, r0
	mov	r5, r1
	bl	get_wcaps
	ldr	r4, .L10+4
	ldr	r3, [r4]
	tst	r0, r3
	movne	r0, #1
	bne	.L1
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, r7
	beq	.L3
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	bl	get_wcaps_type
	ldr	r3, .L10+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L4
	mov	r1, r5
	mov	r0, r6
	bl	snd_hda_get_num_conns
	cmp	r0, #1
	bne	.L4
	mov	r3, r0
	mov	r1, r5
	mov	r2, sp
	mov	r0, r6
	bl	snd_hda_get_connections
	cmp	r0, #0
	blt	.L4
	mov	r0, r6
	ldr	r1, [sp]
	bl	get_wcaps
	ldr	r3, [r4]
	tst	r0, r3
	movne	r0, #1
	moveq	r0, #0
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	AC_WCAP_STEREO
	.word	HDA_INPUT
	.word	AC_WID_AUD_MIX
	.size	is_stereo_amps, .-is_stereo_amps
	.comm	HDA_INPUT,4,4
	.comm	AC_WID_AUD_MIX,4,4
	.comm	AC_WCAP_STEREO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
