	.file	"extr_avi.c_AVI_TrackStopFinishedStreams.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	AVI_TrackStopFinishedStreams, @function
AVI_TrackStopFinishedStreams:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rdi]
	mov	eax, DWORD PTR [rdx]
	test	eax, eax
	je	.L5
	mov	rdx, QWORD PTR 8[rdx]
	lea	ecx, -1[rax]
	mov	r8d, 1
	lea	rax, 8[rdx]
	lea	rcx, [rax+rcx*8]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	DWORD PTR 8[rdx], 1
	mov	rdx, rax
	cmp	rax, rcx
	je	.L1
.L10:
	add	rax, 8
.L4:
	mov	rdx, QWORD PTR [rdx]
	mov	rsi, QWORD PTR 16[rdx]
	cmp	QWORD PTR [rdx], rsi
	jge	.L9
	xor	r8d, r8d
	mov	rdx, rax
	cmp	rax, rcx
	jne	.L10
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r8d, 1
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	AVI_TrackStopFinishedStreams, .-AVI_TrackStopFinishedStreams
	.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_avi.c_AVI_TrackStopFinishedStreams.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AVI_TrackStopFinishedStreams, %function
AVI_TrackStopFinishedStreams:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, lr}
	ldr	lr, [r3]
	mov	r0, #1
	cmp	lr, #0
	popeq	{r4, pc}
	mov	r4, r0
	ldr	r2, [r3, #4]
	add	lr, r2, lr, lsl #2
	sub	lr, lr, #4
	sub	r2, r2, #4
.L4:
	ldr	r3, [r2, #4]!
	ldr	ip, [r3]
	ldr	r1, [r3, #8]
	cmp	ip, r1
	movlt	r0, #0
	strge	r4, [r3, #4]
	cmp	r2, lr
	bne	.L4
	pop	{r4, pc}
	.size	AVI_TrackStopFinishedStreams, .-AVI_TrackStopFinishedStreams
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
