	.file	"extr_mp4.c_MP4_UpdateSeekpoint.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	MP4_UpdateSeekpoint, @function
MP4_UpdateSeekpoint:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r9, QWORD PTR [rdi]
	mov	rax, QWORD PTR 8[r9]
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jle	.L1
	mov	rdi, QWORD PTR 8[rax]
	lea	r8d, -1[rdx]
	xor	eax, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rdx, 1[rax]
	cmp	r8, rax
	je	.L17
	mov	rax, rdx
.L4:
	mov	rdx, QWORD PTR [rdi+rax*8]
	mov	ecx, eax
	cmp	QWORD PTR [rdx], rsi
	jle	.L18
	test	eax, eax
	setne	al
	sub	ecx, 1
.L5:
	cmp	DWORD PTR [r9], ecx
	je	.L1
	test	al, al
	je	.L1
	mov	DWORD PTR [r9], ecx
	mov	DWORD PTR 4[r9], 1
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, 1
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	MP4_UpdateSeekpoint, .-MP4_UpdateSeekpoint
	.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_mp4.c_MP4_UpdateSeekpoint.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	MP4_UpdateSeekpoint, %function
MP4_UpdateSeekpoint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0]
	ldr	r3, [r4, #8]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	lr, [r3]
	cmp	lr, #0
	pople	{r4, pc}
	ldr	r2, [r3, #4]
	mov	r0, #0
	sub	r2, r2, #4
	b	.L4
.L16:
	cmp	r3, lr
	beq	.L15
	mov	r0, r3
.L4:
	ldr	ip, [r2, #4]!
	add	r3, r0, #1
	ldr	ip, [ip]
	cmp	ip, r1
	ble	.L16
	subs	r3, r0, #0
	movne	r3, #1
	sub	r0, r0, #1
.L5:
	ldr	r2, [r4]
	cmp	r2, r0
	moveq	r3, #0
	andne	r3, r3, #1
	cmp	r3, #0
	movne	r3, #1
	stmne	r4, {r0, r3}
	pop	{r4, pc}
.L15:
	mov	r3, #1
	b	.L5
	.size	MP4_UpdateSeekpoint, .-MP4_UpdateSeekpoint
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
