	.file	"extr_vpbe.c_vpbe_find_encoder_sd_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vpbe_find_encoder_sd_index, @function
vpbe_find_encoder_sd_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movsx	rsi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 24[rdi]
	mov	r12, QWORD PTR [rax+rsi*8]
	mov	esi, DWORD PTR 16[rdi]
	mov	rdi, r12
	call	strcmp@PLT
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	xor	ebx, ebx
	test	eax, eax
	jg	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L4
.L3:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r12
	mov	esi, DWORD PTR [rax+rbx*4]
	call	strcmp@PLT
	mov	r8d, eax
	lea	eax, 1[rbx]
	test	r8d, r8d
	jne	.L16
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	vpbe_find_encoder_sd_index, .-vpbe_find_encoder_sd_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_vpbe.c_vpbe_find_encoder_sd_index.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vpbe_find_encoder_sd_index, %function
vpbe_find_encoder_sd_index:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, r1
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, lr}
	ldr	r6, [r3, r2, lsl #2]
	ldr	r1, [r0, #8]
	mov	r5, r0
	mov	r0, r6
	bl	strcmp
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, [r5]
	cmp	r3, #0
	movgt	r4, #0
	bgt	.L3
	b	.L4
.L15:
	ldr	r3, [r5]
	cmp	r3, r4
	ble	.L4
.L3:
	ldr	r3, [r5, #4]
	mov	r0, r6
	ldr	r1, [r3, r4, lsl #2]
	bl	strcmp
	cmp	r0, #0
	add	r4, r4, #1
	bne	.L15
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	EINVAL
	.size	vpbe_find_encoder_sd_index, .-vpbe_find_encoder_sd_index
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
