	.file	"extr_vdr.c_FindSeekpoint.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	FindSeekpoint, @function
FindSeekpoint:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, QWORD PTR [rdi]
	mov	rsi, QWORD PTR 24[r8]
	test	rsi, rsi
	je	.L1
	movsx	rdx, DWORD PTR [r8]
	mov	r9, QWORD PTR 16[r8]
	mov	rcx, QWORD PTR 8[r8]
	mov	rax, rdx
	cmp	rcx, QWORD PTR [r9+rdx*8]
	jl	.L11
.L3:
	mov	edi, DWORD PTR [rsi]
	lea	rdx, [r9+rdx*8]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	add	rdx, 8
	cmp	rcx, QWORD PTR [rdx]
	jl	.L4
.L5:
	mov	esi, eax
	add	eax, 1
	cmp	eax, edi
	jl	.L12
.L4:
	mov	DWORD PTR [r8], esi
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	xor	eax, eax
	xor	edx, edx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	FindSeekpoint, .-FindSeekpoint
	.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_vdr.c_FindSeekpoint.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FindSeekpoint, %function
FindSeekpoint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0]
	ldr	r1, [r4, #12]
	cmp	r1, #0
	popeq	{r4, pc}
	ldr	r3, [r4]
	ldmib	r4, {r0, r2}
	ldr	ip, [r2, r3, lsl #2]
	ldr	lr, [r1]
	cmp	r0, ip
	movlt	r3, #0
	add	r2, r2, r3, lsl #2
	b	.L5
.L13:
	ldr	r1, [r2, #4]!
	cmp	r0, r1
	blt	.L4
.L5:
	mov	ip, r3
	add	r3, r3, #1
	cmp	r3, lr
	blt	.L13
.L4:
	str	ip, [r4]
	pop	{r4, pc}
	.size	FindSeekpoint, .-FindSeekpoint
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
