	.file	"extr_extract_mvs.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Usage: %s <video>\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Could not open source file %s\n"
	.align 8
.LC2:
	.string	"Could not find stream information\n"
	.align 8
.LC3:
	.string	"Could not find video stream in the input, aborting\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Could not allocate frame\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"framenum,source,blockw,blockh,srcx,srcy,dstx,dsty,flags\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pxor	xmm0, xmm0
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	cmp	edi, 2
	je	.L2
	mov	rdx, QWORD PTR [rsi]
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rsi, QWORD PTR 8[rbx]
	xor	ecx, ecx
	xor	edx, edx
	lea	rdi, fmt_ctx[rip]
	mov	QWORD PTR src_filename[rip], rsi
	call	avformat_open_input@PLT
	test	rax, rax
	js	.L20
.L3:
	mov	edi, DWORD PTR fmt_ctx[rip]
	xor	esi, esi
	call	avformat_find_stream_info@PLT
	test	rax, rax
	js	.L21
.L4:
	mov	esi, DWORD PTR AVMEDIA_TYPE_VIDEO[rip]
	mov	edi, DWORD PTR fmt_ctx[rip]
	call	open_codec_context@PLT
	mov	rdx, QWORD PTR src_filename[rip]
	xor	ecx, ecx
	xor	esi, esi
	mov	edi, DWORD PTR fmt_ctx[rip]
	call	av_dump_format@PLT
	mov	eax, DWORD PTR video_stream[rip]
	test	eax, eax
	je	.L22
	xor	eax, eax
	call	av_frame_alloc@PLT
	mov	DWORD PTR frame[rip], eax
	test	eax, eax
	je	.L23
	lea	rdi, .LC5[rip]
	xor	ebp, ebp
	mov	rbx, rsp
	call	printf@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR fmt_ctx[rip]
	mov	rsi, rbx
	call	av_read_frame@PLT
	test	rax, rax
	js	.L10
	mov	rax, QWORD PTR video_stream_idx[rip]
	mov	rdi, rbx
	cmp	QWORD PTR [rsp], rax
	je	.L24
	call	av_packet_unref@PLT
	jmp	.L8
.L23:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	call	fprintf@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	call	AVERROR@PLT
	mov	ebp, eax
.L6:
	lea	rdi, video_dec_ctx[rip]
	call	avcodec_free_context@PLT
	lea	rdi, fmt_ctx[rip]
	call	avformat_close_input@PLT
	lea	rdi, frame[rip]
	call	av_frame_free@PLT
	mov	eax, ebp
	shr	eax, 31
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L25
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	call	decode_packet@PLT
	mov	rdi, rbx
	mov	ebp, eax
	call	av_packet_unref@PLT
	test	ebp, ebp
	jns	.L8
.L10:
	xor	edi, edi
	call	decode_packet@PLT
	jmp	.L6
.L22:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	mov	ebp, 1
	call	fprintf@PLT
	jmp	.L6
.L21:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L4
.L20:
	mov	rdx, QWORD PTR src_filename[rip]
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L3
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	video_stream_idx,8,8
	.comm	video_stream,4,4
	.comm	video_dec_ctx,4,4
	.comm	stderr,4,4
	.comm	src_filename,8,8
	.comm	frame,4,4
	.comm	fmt_ctx,4,4
	.comm	ENOMEM,4,4
	.comm	AVMEDIA_TYPE_VIDEO,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_extract_mvs.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Usage: %s <video>\012\000"
	.align	2
.LC1:
	.ascii	"Could not open source file %s\012\000"
	.align	2
.LC2:
	.ascii	"Could not find stream information\012\000"
	.align	2
.LC3:
	.ascii	"Could not find video stream in the input, aborting\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Could not allocate frame\012\000"
	.align	2
.LC5:
	.ascii	"framenum,source,blockw,blockh,srcx,srcy,dstx,dsty,f"
	.ascii	"lags\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	r2, .L26
	sub	sp, sp, #16
	cmp	r0, #2
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r4, r1
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	beq	.L2
	ldr	r3, .L26+4
	ldr	r2, [r1]
	ldr	r0, [r3]
	ldr	r1, .L26+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	ldr	r1, [r4, #4]
	ldr	r5, .L26+12
	mov	r2, r3
	ldr	r0, .L26+16
	str	r1, [r5]
	bl	avformat_open_input
	cmp	r0, #0
	blt	.L20
.L3:
	ldr	r4, .L26+16
	mov	r1, #0
	ldr	r0, [r4]
	bl	avformat_find_stream_info
	cmp	r0, #0
	blt	.L21
.L4:
	ldr	r3, .L26+20
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	open_codec_context
	mov	r3, #0
	ldr	r2, [r5]
	mov	r1, r3
	ldr	r0, [r4]
	bl	av_dump_format
	ldr	r3, .L26+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	bl	av_frame_alloc
	ldr	r3, .L26+28
	cmp	r0, #0
	str	r0, [r3]
	beq	.L23
	ldr	r0, .L26+32
	bl	printf
	mov	r5, #0
	ldr	r6, .L26+36
.L8:
	ldr	r0, [r4]
	add	r1, sp, #4
	bl	av_read_frame
	cmp	r0, #0
	blt	.L10
	ldr	r2, [sp, #4]
	ldr	r3, [r6]
	add	r0, sp, #4
	cmp	r2, r3
	beq	.L24
	bl	av_packet_unref
	b	.L8
.L23:
	ldr	r3, .L26+4
	ldr	r1, .L26+40
	ldr	r0, [r3]
	bl	fprintf
	ldr	r3, .L26+44
	ldr	r0, [r3]
	bl	AVERROR
	mov	r5, r0
.L6:
	ldr	r0, .L26+48
	bl	avcodec_free_context
	ldr	r0, .L26+16
	bl	avformat_close_input
	ldr	r0, .L26+28
	bl	av_frame_free
	ldr	r3, .L26
	lsr	r0, r5, #31
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L24:
	bl	decode_packet
	mov	r5, r0
	add	r0, sp, #4
	bl	av_packet_unref
	cmp	r5, #0
	bge	.L8
.L10:
	mov	r0, #0
	bl	decode_packet
	b	.L6
.L22:
	ldr	r3, .L26+4
	ldr	r1, .L26+52
	ldr	r0, [r3]
	bl	fprintf
	mov	r5, #1
	b	.L6
.L21:
	ldr	r3, .L26+4
	ldr	r1, .L26+56
	ldr	r0, [r3]
	bl	fprintf
	mov	r0, #1
	bl	exit
	b	.L4
.L20:
	ldr	r3, .L26+4
	ldr	r2, [r5]
	ldr	r0, [r3]
	ldr	r1, .L26+60
	bl	fprintf
	mov	r0, #1
	bl	exit
	b	.L3
.L25:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC6
	.word	stderr
	.word	.LC0
	.word	src_filename
	.word	fmt_ctx
	.word	AVMEDIA_TYPE_VIDEO
	.word	video_stream
	.word	frame
	.word	.LC5
	.word	video_stream_idx
	.word	.LC4
	.word	ENOMEM
	.word	video_dec_ctx
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.size	main, .-main
	.comm	video_stream_idx,4,4
	.comm	video_stream,4,4
	.comm	video_dec_ctx,4,4
	.comm	stderr,4,4
	.comm	src_filename,4,4
	.comm	frame,4,4
	.comm	fmt_ctx,4,4
	.comm	ENOMEM,4,4
	.comm	AVMEDIA_TYPE_VIDEO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
