	.file	"extr_hda_generic.c_check_boost_vol.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	check_boost_vol, @function
check_boost_vol:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	nid_has_volume@PLT
	test	eax, eax
	jne	.L2
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r8d, DWORD PTR NID_PATH_VOL_CTL[rip]
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	call	is_ctl_associated@PLT
	test	rax, rax
	jne	.L4
	mov	r8d, DWORD PTR NID_PATH_BOOST_CTL[rip]
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	call	is_ctl_associated@PLT
	test	rax, rax
	jne	.L4
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	call	query_amp_caps@PLT
	mov	ecx, DWORD PTR AC_AMPCAP_STEP_SIZE_SHIFT[rip]
	and	eax, DWORD PTR AC_AMPCAP_STEP_SIZE[rip]
	shr	eax, cl
	cmp	eax, 31
	seta	al
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	movzx	eax, al
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	check_boost_vol, .-check_boost_vol
	.comm	NID_PATH_VOL_CTL,4,4
	.comm	NID_PATH_BOOST_CTL,4,4
	.comm	AC_AMPCAP_STEP_SIZE_SHIFT,4,4
	.comm	AC_AMPCAP_STEP_SIZE,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_check_boost_vol.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_boost_vol, %function
check_boost_vol:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r7, r3
	mov	r6, r0
	mov	r5, r1
	mov	r4, r2
	bl	nid_has_volume
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r2, .L7
	mov	r3, r7
	ldr	r1, [r2]
	mov	r0, r6
	str	r1, [sp]
	mov	r2, r4
	mov	r1, r5
	bl	is_ctl_associated
	cmp	r0, #0
	bne	.L4
	ldr	r2, .L7+4
	mov	r3, r7
	ldr	r1, [r2]
	mov	r0, r6
	str	r1, [sp]
	mov	r2, r4
	mov	r1, r5
	bl	is_ctl_associated
	cmp	r0, #0
	bne	.L4
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	query_amp_caps
	ldr	r2, .L7+8
	ldr	r3, .L7+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	and	r0, r0, r2
	lsr	r0, r0, r3
	cmp	r0, #31
	movls	r0, #0
	movhi	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	.align	2
.L7:
	.word	NID_PATH_VOL_CTL
	.word	NID_PATH_BOOST_CTL
	.word	AC_AMPCAP_STEP_SIZE
	.word	AC_AMPCAP_STEP_SIZE_SHIFT
	.size	check_boost_vol, .-check_boost_vol
	.comm	NID_PATH_VOL_CTL,4,4
	.comm	NID_PATH_BOOST_CTL,4,4
	.comm	AC_AMPCAP_STEP_SIZE_SHIFT,4,4
	.comm	AC_AMPCAP_STEP_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
