	.file	"extr_am437x-vpfe.c_vpfe_get_subdev_input_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vpfe_get_subdev_input_index, @function
vpfe_get_subdev_input_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	ebx, ebp
	jge	.L8
	add	ebx, 1
.L2:
	mov	rax, QWORD PTR [r14]
	mov	edi, DWORD PTR [rax]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L5
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	sub	ebp, ebx
	mov	DWORD PTR 0[r13], ebx
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	DWORD PTR [r12], ebp
	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
	.cfi_endproc
.LFE0:
	.size	vpfe_get_subdev_input_index, .-vpfe_get_subdev_input_index
	.comm	EINVAL,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_am437x-vpfe.c_vpfe_get_subdev_input_index.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vpfe_get_subdev_input_index, %function
vpfe_get_subdev_input_index:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r0
	mov	r7, r1
	mov	r6, r2
	mov	r5, r3
	mov	r4, #0
	b	.L2
.L5:
	cmp	r4, r5
	bge	.L8
	add	r4, r4, #1
.L2:
	ldr	ip, [r8]
	ldr	r0, [ip]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L5
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	sub	r5, r5, r4
	str	r4, [r7]
	mov	r0, #0
	str	r5, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.size	vpfe_get_subdev_input_index, .-vpfe_get_subdev_input_index
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
