	.file	"extr_ifv.c_ifv_read_seek.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ifv_read_seek, @function
ifv_read_seek:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	mov	r13, QWORD PTR 16[rdi]
	test	eax, eax
	je	.L4
	mov	r12, rdi
	mov	ebp, edx
	xor	ebx, ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR 8[r13], eax
	add	ebx, 1
	cmp	DWORD PTR [r12], ebx
	jbe	.L4
.L7:
	mov	rdx, QWORD PTR 8[r12]
	mov	eax, ebx
	mov	esi, ebp
	mov	edi, DWORD PTR [rdx+rax*4]
	mov	edx, DWORD PTR AVSEEK_FLAG_ANY[rip]
	call	av_index_search_timestamp@PLT
	test	eax, eax
	js	.L11
	cmp	DWORD PTR 16[r13], ebx
	jne	.L5
	mov	DWORD PTR 0[r13], eax
	add	ebx, 1
	cmp	DWORD PTR [r12], ebx
	ja	.L7
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[r13]
	sub	eax, 1
	mov	DWORD PTR 0[r13], eax
	mov	eax, DWORD PTR 12[r13]
	sub	eax, 1
	mov	DWORD PTR 8[r13], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ifv_read_seek, .-ifv_read_seek
	.comm	AVSEEK_FLAG_ANY,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_ifv.c_ifv_read_seek.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ifv_read_seek, %function
ifv_read_seek:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	ldr	r6, [r0, #8]
	beq	.L4
	mov	r5, r0
	mov	r8, r2
	mov	r4, #0
	ldr	r7, .L14
	b	.L7
.L3:
	ldr	r3, [r6, #16]
	cmp	r3, r4
	ldr	r3, [r5]
	add	r4, r4, #1
	streq	r0, [r6]
	strne	r0, [r6, #8]
	cmp	r3, r4
	bls	.L4
.L7:
	ldr	r3, [r5, #4]
	mov	r1, r8
	ldr	r2, [r7]
	ldr	r0, [r3, r4, lsl #2]
	bl	av_index_search_timestamp
	cmp	r0, #0
	bge	.L3
	ldr	r2, [r6, #4]
	ldr	r3, [r6, #12]
	sub	r2, r2, #1
	sub	r3, r3, #1
	str	r2, [r6]
	str	r3, [r6, #8]
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	AVSEEK_FLAG_ANY
	.size	ifv_read_seek, .-ifv_read_seek
	.comm	AVSEEK_FLAG_ANY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
