	.file	"extr_hda_generic.c_get_default_ch_nums.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_default_ch_nums, @function
get_default_ch_nums:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L15
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR [rsi]
	movsx	rdx, edx
	mov	rbp, rdi
	mov	edi, DWORD PTR [rax+rdx*4]
	call	get_amp_nid_@PLT
	test	rax, rax
	jne	.L16
.L4:
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore 6
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rsi, rax
	mov	rdi, rbp
	call	get_wcaps@PLT
	test	DWORD PTR AC_WCAP_STEREO[rip], eax
	je	.L4
	mov	eax, 3
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_default_ch_nums, .-get_default_ch_nums
	.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_get_default_ch_nums.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_default_ch_nums, %function
get_default_ch_nums:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	beq	.L15
	ldr	r3, [r1]
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r3, r2, lsl #2]
	bl	get_amp_nid_
	subs	r1, r0, #0
	bne	.L16
.L4:
	mov	r0, #1
	pop	{r4, pc}
.L15:
	mov	r0, #1
	bx	lr
.L16:
	mov	r0, r4
	bl	get_wcaps
	ldr	r3, .L17
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L4
	mov	r0, #3
	pop	{r4, pc}
.L18:
	.align	2
.L17:
	.word	AC_WCAP_STEREO
	.size	get_default_ch_nums, .-get_default_ch_nums
	.comm	AC_WCAP_STEREO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
