	.file	"extr_hda_generic.c_same_amp_caps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	same_amp_caps, @function
same_amp_caps:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	ebx, 1[r12]
	call	get_wcaps@PLT
	bt	eax, ebx
	jnc	.L6
	mov	edx, r12d
	mov	esi, r13d
	mov	rdi, rbp
	call	query_amp_caps@PLT
	mov	edx, r12d
	mov	esi, r14d
	mov	rdi, rbp
	mov	r13, rax
	call	query_amp_caps@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	cmp	r13, rax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	sete	al
	pop	r14
	.cfi_def_cfa_offset 8
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, r14d
	mov	rdi, rbp
	call	get_wcaps@PLT
	mov	ecx, ebx
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	sar	eax, cl
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	not	eax
	pop	r14
	.cfi_def_cfa_offset 8
	and	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	same_amp_caps, .-same_amp_caps
	.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_same_amp_caps.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	same_amp_caps, %function
same_amp_caps:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	mov	r7, r2
	mov	r6, r0
	mov	r4, r1
	bl	get_wcaps
	add	r8, r5, #1
	asr	r0, r0, r8
	tst	r0, #1
	beq	.L6
	mov	r1, r4
	mov	r2, r5
	mov	r0, r6
	bl	query_amp_caps
	mov	r2, r5
	mov	r4, r0
	mov	r1, r7
	mov	r0, r6
	bl	query_amp_caps
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r1, r7
	mov	r0, r6
	bl	get_wcaps
	mvn	r0, r0, asr r8
	and	r0, r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
	.size	same_amp_caps, .-same_amp_caps
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
