	.file	"extr_hda_generic.c_get_input_path.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_input_path, @function
get_input_path:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	js	.L2
	cmp	DWORD PTR HDA_MAX_NUM_INPUTS[rip], edx
	jle	.L2
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR 16[rax], 0
	jne	.L10
.L5:
	test	esi, esi
	js	.L2
	cmp	DWORD PTR AUTO_CFG_MAX_INS[rip], esi
	jle	.L2
	mov	rax, QWORD PTR 8[rax]
	movsx	rdx, edx
	movsx	rsi, esi
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	esi, DWORD PTR [rax+rsi*4]
	jmp	snd_hda_get_path_from_idx@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, QWORD PTR [rax]
	movsx	rcx, edx
	mov	esi, DWORD PTR [rsi+rcx*4]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	snd_BUG@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_input_path, .-get_input_path
	.comm	HDA_MAX_NUM_INPUTS,4,4
	.comm	AUTO_CFG_MAX_INS,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_input_path.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_input_path, %function
get_input_path:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	blt	.L2
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r3, r2
	ble	.L2
	ldr	r3, [r0]
	ldr	ip, [r3, #8]
	cmp	ip, #0
	ldrne	r1, [r3]
	ldrne	r1, [r1, r2, lsl #2]
	cmp	r1, #0
	blt	.L2
	ldr	ip, .L13+4
	ldr	ip, [ip]
	cmp	ip, r1
	ble	.L2
	ldr	r3, [r3, #4]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r1, [r3, r1, lsl #2]
	b	snd_hda_get_path_from_idx
.L2:
	push	{r4, lr}
	bl	snd_BUG
	mov	r0, #0
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	HDA_MAX_NUM_INPUTS
	.word	AUTO_CFG_MAX_INS
	.size	get_input_path, .-get_input_path
	.comm	HDA_MAX_NUM_INPUTS,4,4
	.comm	AUTO_CFG_MAX_INS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
