	.file	"211620.c"
	.intel_syntax noprefix
	.text
	.globl	yuv_wd
	.data
	.align 4
	.type	yuv_wd, @object
	.size	yuv_wd, 4
yuv_wd:
	.long	720
	.globl	yuv_ht
	.align 4
	.type	yuv_ht, @object
	.size	yuv_ht, 4
yuv_ht:
	.long	576
	.section	.rodata
	.align 8
.LC0:
	.string	"yuvtoyuv: lines=%d, pels=%d, len=%d\n"
	.text
	.globl	yuvtoyuv
	.type	yuvtoyuv, @function
yuvtoyuv:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	DWORD PTR -44[rbp], r8d
	mov	eax, DWORD PTR -36[rbp]
	sar	eax, 6
	sal	eax, 6
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -8[rbp]
	imul	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -8[rbp]
	imul	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L3
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -4[rbp]
	sar	eax
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -36[rbp]
	sar	edx
	imul	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -44[rbp]
	sar	edx
	imul	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -4[rbp]
	sar	eax
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -36[rbp]
	sar	edx
	imul	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -44[rbp]
	sar	edx
	imul	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	add	DWORD PTR -8[rbp], 1
.L4:
	mov	eax, DWORD PTR -40[rbp]
	sar	eax
	cmp	DWORD PTR -8[rbp], eax
	jl	.L5
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	yuvtoyuv, .-yuvtoyuv
	.section	.rodata
.LC1:
	.string	"yuv422to420: i=%d, j=%d\n"
	.text
	.globl	yuv422to420
	.type	yuv422to420, @function
yuv422to420:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L11:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rcx
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	shr	esi, 31
	add	eax, esi
	sar	eax
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rsi, rax
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	shr	edi, 31
	add	eax, edi
	sar	eax
	cdqe
	add	rax, rsi
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	imul	eax, DWORD PTR -36[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rcx
	add	rax, rdx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rcx
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	shr	esi, 31
	add	eax, esi
	sar	eax
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rsi, rax
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	shr	edi, 31
	add	eax, edi
	sar	eax
	cdqe
	add	rax, rsi
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	imul	eax, DWORD PTR -36[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rcx
	add	rax, rdx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -8[rbp], 1
.L9:
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -8[rbp], eax
	jl	.L10
	add	DWORD PTR -12[rbp], 2
.L8:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L11
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	yuv422to420, .-yuv422to420
	.section	.rodata
	.align 8
.LC2:
	.string	"freadYUV422Pict: read %d bytes\n"
	.text
	.globl	freadYUV422Pict
	.type	freadYUV422Pict, @function
freadYUV422Pict:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	feof@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	freadYUV422Pict, .-freadYUV422Pict
	.section	.rodata
	.align 8
.LC3:
	.string	"freadUYVY422Pict: read %d bytes\n"
	.text
	.globl	freadUYVY422Pict
	.type	freadUYVY422Pict, @function
freadUYVY422Pict:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	feof@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	freadUYVY422Pict, .-freadUYVY422Pict
	.globl	freadYUV420Pict
	.type	freadYUV420Pict, @function
freadYUV420Pict:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	freadYUV420Pict, .-freadYUV420Pict
	.globl	fwriteYUV420Pict
	.type	fwriteYUV420Pict, @function
fwriteYUV420Pict:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	fwriteYUV420Pict, .-fwriteYUV420Pict
	.globl	fwriteYUV420progPict
	.type	fwriteYUV420progPict, @function
fwriteYUV420progPict:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -8[rbp]
	imul	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	call	fwrite@PLT
	add	DWORD PTR -8[rbp], 2
.L22:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L23
	mov	DWORD PTR -8[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -8[rbp]
	imul	edx, DWORD PTR -36[rbp]
	mov	esi, edx
	shr	esi, 31
	add	edx, esi
	sar	edx
	movsx	rdx, edx
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	call	fwrite@PLT
	add	DWORD PTR -8[rbp], 2
.L24:
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -8[rbp], eax
	jl	.L25
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -8[rbp]
	imul	edx, DWORD PTR -36[rbp]
	mov	esi, edx
	shr	esi, 31
	add	edx, esi
	sar	edx
	movsx	rdx, edx
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	call	fwrite@PLT
	add	DWORD PTR -8[rbp], 2
.L26:
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -8[rbp], eax
	jl	.L27
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	fwriteYUV420progPict, .-fwriteYUV420progPict
	.globl	fwriteYUV422Pict
	.type	fwriteYUV422Pict, @function
fwriteYUV422Pict:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	fwriteYUV422Pict, .-fwriteYUV422Pict
	.section	.rodata
	.align 8
.LC4:
	.string	"uyvytoyuv: lines=%d, pels =%d\n"
.LC5:
	.string	"uyvytoyuv: i=%d, j=%d\n"
	.text
	.globl	uyvytoyuv
	.type	uyvytoyuv, @function
uyvytoyuv:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L32
.L35:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	add	eax, eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rcx
	add	rax, 1
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	shr	edi, 31
	add	eax, edi
	sar	eax
	cdqe
	add	rax, rsi
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	add	eax, eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rcx
	add	rax, 3
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	shr	edi, 31
	add	eax, edi
	sar	eax
	cdqe
	add	rax, rsi
	add	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	add	eax, eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rcx
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	movsx	rdi, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	cdqe
	add	rax, rdi
	lea	rdx, [rsi+rax]
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	add	eax, eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rcx
	add	rax, 2
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	movsx	rdi, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	cdqe
	add	rax, rdi
	lea	rdx, [rsi+rax]
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 4
.L33:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, eax
	cmp	DWORD PTR -4[rbp], eax
	jl	.L34
	add	DWORD PTR -8[rbp], 1
.L32:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L35
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	uyvytoyuv, .-uyvytoyuv
	.type	ntoa, @function
ntoa:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], 48
	mov	edx, DWORD PTR -4[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, ecx
	lea	edx, 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	cmp	DWORD PTR -4[rbp], 9
	jle	.L38
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], dl
.L38:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L39
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	sub	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], dl
.L39:
	cmp	DWORD PTR -4[rbp], 999
	jle	.L40
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1759218605
	shr	rdx, 32
	sar	edx, 12
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 10000
	sub	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	sub	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	sub	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 48
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], dl
.L40:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	ntoa, .-ntoa
	.section	.rodata
	.align 8
.LC6:
	.string	" Usage: %s input_file_name(yuv420) output_file_name(yuv420) [number of pictures] \n"
	.align 8
.LC7:
	.string	" Convert 4:2:0 concatenated file w %d into a 4:2:0 concatenated file w 704 offset 768\n"
	.align 8
.LC8:
	.string	" Only %dx%d pictures are supported\n"
	.align 8
.LC9:
	.string	" Example: yuv420toyuv420 flower_garden.yuv flower_garden_offset.yuv "
	.align 8
.LC10:
	.string	" send e-mail to info@tigress.fr for additional features"
.LC11:
	.string	"rb"
.LC12:
	.string	"error : cannot open %s\n"
.LC13:
	.string	"wb"
.LC14:
	.string	"error :cannot open %s\n"
	.align 8
.LC15:
	.string	" send e-mail to info@tigress.fr for additional features\n"
.LC16:
	.string	"Error opening input file %s\n"
.LC17:
	.string	"fpWrite = 0x%x\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 640
	mov	DWORD PTR -628[rbp], edi
	mov	QWORD PTR -640[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -600[rbp], 768
	mov	DWORD PTR -608[rbp], 9999
	mov	DWORD PTR -535[rbp], 0
	mov	WORD PTR -531[rbp], 0
	mov	BYTE PTR -529[rbp], 0
	cmp	DWORD PTR -628[rbp], 2
	jg	.L43
	mov	rax, QWORD PTR -640[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR yuv_wd[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR yuv_ht[rip]
	mov	eax, DWORD PTR yuv_wd[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L43:
	mov	rax, QWORD PTR -640[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -640[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -528[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -584[rbp], rax
	cmp	QWORD PTR -584[rbp], 0
	jne	.L44
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L44:
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -576[rbp], rax
	lea	rax, -272[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -568[rbp], rax
	cmp	QWORD PTR -568[rbp], 0
	jne	.L45
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L45:
	cmp	DWORD PTR -628[rbp], 4
	jne	.L46
	mov	rax, QWORD PTR -640[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -608[rbp], eax
.L46:
	mov	eax, DWORD PTR yuv_wd[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR yuv_ht[rip]
	mov	eax, DWORD PTR yuv_wd[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	eax, DWORD PTR yuv_wd[rip]
	mov	DWORD PTR -596[rbp], eax
	mov	eax, DWORD PTR yuv_ht[rip]
	mov	DWORD PTR -592[rbp], eax
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -560[rbp], rax
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -592[rbp]
	cdqe
	imul	rax, rdx
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -560[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -592[rbp]
	cdqe
	imul	rax, rdx
	shr	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -560[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -592[rbp]
	cdqe
	imul	rax, rdx
	shr	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -560[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -552[rbp], rax
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 8
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -552[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 8
	shr	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -552[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 8
	shr	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -552[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	DWORD PTR -612[rbp], 0
	mov	rax, QWORD PTR -576[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -544[rbp], rax
	mov	DWORD PTR -604[rbp], 0
	jmp	.L47
.L48:
	mov	edx, DWORD PTR -604[rbp]
	mov	rax, QWORD PTR -544[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -604[rbp], 1
.L47:
	mov	eax, DWORD PTR -604[rbp]
	cmp	QWORD PTR -576[rbp], rax
	ja	.L48
	lea	rdx, -528[rbp]
	mov	rax, QWORD PTR -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L54:
	mov	ecx, DWORD PTR -592[rbp]
	mov	edx, DWORD PTR -596[rbp]
	mov	rsi, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	freadYUV420Pict
	mov	DWORD PTR -588[rbp], eax
	mov	ecx, DWORD PTR -592[rbp]
	mov	edx, DWORD PTR -596[rbp]
	mov	rsi, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR -560[rbp]
	mov	r8d, 768
	mov	rdi, rax
	call	yuvtoyuv
	mov	edx, DWORD PTR -596[rbp]
	mov	rsi, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR -568[rbp]
	mov	ecx, 768
	mov	rdi, rax
	call	fwriteYUV420Pict
	cmp	DWORD PTR -588[rbp], 0
	jne	.L54
	add	DWORD PTR -612[rbp], 1
	mov	eax, DWORD PTR -612[rbp]
	cmp	eax, DWORD PTR -608[rbp]
	jge	.L59
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdx, -535[rbp]
	mov	eax, DWORD PTR -612[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ntoa
	mov	DWORD PTR -604[rbp], 0
	jmp	.L52
.L53:
	mov	edx, DWORD PTR -604[rbp]
	mov	rax, QWORD PTR -544[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -604[rbp], 1
.L52:
	mov	eax, DWORD PTR -604[rbp]
	cmp	QWORD PTR -576[rbp], rax
	ja	.L53
	lea	rdx, -528[rbp]
	mov	rax, QWORD PTR -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -576[rbp]
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -544[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rdx, -535[rbp]
	mov	rax, QWORD PTR -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -544[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -584[rbp], rax
	cmp	QWORD PTR -584[rbp], 0
	jne	.L54
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -544[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L51
.L59:
	nop
.L51:
	cmp	QWORD PTR -584[rbp], 0
	je	.L55
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L55:
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -568[rbp], 0
	je	.L56
	mov	rax, QWORD PTR -568[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L56:
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"211620.c"
	.text
	.global	yuv_wd
	.data
	.align	2
	.type	yuv_wd, %object
	.size	yuv_wd, 4
yuv_wd:
	.word	720
	.global	yuv_ht
	.align	2
	.type	yuv_ht, %object
	.size	yuv_ht, 4
yuv_ht:
	.word	576
	.section	.rodata
	.align	2
.LC0:
	.ascii	"yuvtoyuv: lines=%d, pels=%d, len=%d\012\000"
	.text
	.align	2
	.global	yuvtoyuv
	.syntax unified
	.arm
	.fpu softvfp
	.type	yuvtoyuv, %function
yuvtoyuv:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	asr	r3, r3, #6
	lsl	r3, r3, #6
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, .L7
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #4]
	mul	r2, r1, r2
	add	r0, r3, r2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r2, r1, r2
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #4]
	asr	r2, r2, #1
	ldr	r1, [fp, #-12]
	mul	r2, r1, r2
	add	r0, r3, r2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	asr	r2, r2, #1
	ldr	r1, [fp, #-12]
	mul	r2, r1, r2
	add	r1, r3, r2
	ldr	r3, [fp, #-8]
	asr	r3, r3, #1
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #4]
	asr	r2, r2, #1
	ldr	r1, [fp, #-12]
	mul	r2, r1, r2
	add	r0, r3, r2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-24]
	asr	r2, r2, #1
	ldr	r1, [fp, #-12]
	mul	r2, r1, r2
	add	r1, r3, r2
	ldr	r3, [fp, #-8]
	asr	r3, r3, #1
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-28]
	asr	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	yuvtoyuv, .-yuvtoyuv
	.section	.rodata
	.align	2
.LC1:
	.ascii	"yuv422to420: i=%d, j=%d\012\000"
	.text
	.align	2
	.global	yuv422to420
	.syntax unified
	.arm
	.fpu softvfp
	.type	yuv422to420, %function
yuv422to420:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L13:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L11
.L12:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r1, r1, r3
	ldr	r3, [fp, #-32]
	lsr	r0, r3, #31
	add	r3, r0, r3
	asr	r3, r3, #1
	add	r3, r1, r3
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, ip, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-32]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	add	r3, r2, r3
	and	r2, r0, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r1, r1, r3
	ldr	r3, [fp, #-32]
	lsr	r0, r3, #31
	add	r3, r0, r3
	asr	r3, r3, #1
	add	r3, r1, r3
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, ip, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-32]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	add	r3, r2, r3
	and	r2, r0, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	blt	.L12
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	str	r3, [fp, #-16]
.L10:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L13
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, .L15
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC1
	.size	yuv422to420, .-yuv422to420
	.section	.rodata
	.align	2
.LC2:
	.ascii	"freadYUV422Pict: read %d bytes\012\000"
	.text
	.align	2
	.global	freadYUV422Pict
	.syntax unified
	.arm
	.fpu softvfp
	.type	freadYUV422Pict, %function
freadYUV422Pict:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fread
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fread
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L19
	bl	printf
	ldr	r0, [fp, #-16]
	bl	feof
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC2
	.size	freadYUV422Pict, .-freadYUV422Pict
	.section	.rodata
	.align	2
.LC3:
	.ascii	"freadUYVY422Pict: read %d bytes\012\000"
	.text
	.align	2
	.global	freadUYVY422Pict
	.syntax unified
	.arm
	.fpu softvfp
	.type	freadUYVY422Pict, %function
freadUYVY422Pict:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L23
	bl	printf
	ldr	r0, [fp, #-16]
	bl	feof
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC3
	.size	freadUYVY422Pict, .-freadUYVY422Pict
	.align	2
	.global	freadYUV420Pict
	.syntax unified
	.arm
	.fpu softvfp
	.type	freadYUV420Pict, %function
freadYUV420Pict:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	freadYUV420Pict, .-freadYUV420Pict
	.align	2
	.global	fwriteYUV420Pict
	.syntax unified
	.arm
	.fpu softvfp
	.type	fwriteYUV420Pict, %function
fwriteYUV420Pict:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fwriteYUV420Pict, .-fwriteYUV420Pict
	.align	2
	.global	fwriteYUV420progPict
	.syntax unified
	.arm
	.fpu softvfp
	.type	fwriteYUV420progPict, %function
fwriteYUV420progPict:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L31:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r2, r1, r2
	add	r0, r3, r2
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
.L30:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L31
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L32
.L33:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	add	r0, r2, r3
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
.L32:
	ldr	r3, [fp, #-28]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	blt	.L33
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L34
.L35:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r3, r1, r3
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	add	r0, r2, r3
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
.L34:
	ldr	r3, [fp, #-28]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	blt	.L35
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fwriteYUV420progPict, .-fwriteYUV420progPict
	.align	2
	.global	fwriteYUV422Pict
	.syntax unified
	.arm
	.fpu softvfp
	.type	fwriteYUV422Pict, %function
fwriteYUV422Pict:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-20]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	bl	fwrite
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fwriteYUV422Pict, .-fwriteYUV422Pict
	.section	.rodata
	.align	2
.LC4:
	.ascii	"uyvytoyuv: lines=%d, pels =%d\012\000"
	.align	2
.LC5:
	.ascii	"uyvytoyuv: i=%d, j=%d\012\000"
	.text
	.align	2
	.global	uyvytoyuv
	.syntax unified
	.arm
	.fpu softvfp
	.type	uyvytoyuv, %function
uyvytoyuv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, .L45
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L40
.L43:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L41
.L42:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r3, r1, r3
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	mul	r3, r0, r3
	mov	ip, r3
	ldr	r3, [fp, #-8]
	lsr	r0, r3, #31
	add	r3, r0, r3
	asr	r3, r3, #1
	add	r3, ip, r3
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r3, r1, r3
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	add	r3, r3, #3
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	mul	r3, r0, r3
	mov	ip, r3
	ldr	r3, [fp, #-8]
	lsr	r0, r3, #31
	add	r3, r0, r3
	asr	r3, r3, #1
	add	r3, ip, r3
	add	r3, r3, #1
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r3, r1, r3
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	mul	r3, r0, r3
	lsr	r0, r3, #31
	add	r3, r0, r3
	asr	r3, r3, #1
	mov	ip, r3
	ldr	r3, [fp, #-8]
	add	r0, r3, #3
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #2
	add	r3, ip, r3
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mul	r3, r1, r3
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	add	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	mul	r3, r0, r3
	lsr	r0, r3, #31
	add	r3, r0, r3
	asr	r3, r3, #1
	mov	ip, r3
	ldr	r3, [fp, #-8]
	add	r0, r3, #3
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #2
	add	r3, ip, r3
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	str	r3, [fp, #-8]
.L41:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L42
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L43
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L45+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC4
	.word	.LC5
	.size	uyvytoyuv, .-uyvytoyuv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ntoa, %function
ntoa:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r3, .L52
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r2, r2, #255
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	add	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L48
	ldr	r1, [fp, #-8]
	ldr	r3, .L52+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r3, r2, r3
	ldr	r2, .L52
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	add	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
.L48:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L49
	ldr	r1, [fp, #-8]
	ldr	r3, .L52+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r3, r2, r3
	ldr	r2, .L52+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	add	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
.L49:
	ldr	r3, [fp, #-8]
	cmp	r3, #1000
	blt	.L50
	ldr	r1, [fp, #-8]
	ldr	r3, .L52+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #12
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r3, r2, r3
	ldr	r2, .L52+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r3, r3, #255
	add	r3, r3, #48
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	strb	r2, [r3]
.L50:
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L53:
	.align	2
.L52:
	.word	1717986919
	.word	1374389535
	.word	274877907
	.word	1759218605
	.size	ntoa, .-ntoa
	.section	.rodata
	.align	2
.LC6:
	.ascii	" Usage: %s input_file_name(yuv420) output_file_name"
	.ascii	"(yuv420) [number of pictures] \012\000"
	.align	2
.LC7:
	.ascii	" Convert 4:2:0 concatenated file w %d into a 4:2:0 "
	.ascii	"concatenated file w 704 offset 768\012\000"
	.align	2
.LC8:
	.ascii	" Only %dx%d pictures are supported\012\000"
	.align	2
.LC9:
	.ascii	" Example: yuv420toyuv420 flower_garden.yuv flower_g"
	.ascii	"arden_offset.yuv \000"
	.align	2
.LC10:
	.ascii	" send e-mail to info@tigress.fr for additional feat"
	.ascii	"ures\000"
	.align	2
.LC11:
	.ascii	"rb\000"
	.align	2
.LC12:
	.ascii	"error : cannot open %s\012\000"
	.align	2
.LC13:
	.ascii	"wb\000"
	.align	2
.LC14:
	.ascii	"error :cannot open %s\012\000"
	.align	2
.LC15:
	.ascii	" send e-mail to info@tigress.fr for additional feat"
	.ascii	"ures\012\000"
	.align	2
.LC16:
	.ascii	"Error opening input file %s\012\000"
	.align	2
.LC17:
	.ascii	"fpWrite = 0x%x\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 584
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #592
	str	r0, [fp, #-584]
	str	r1, [fp, #-588]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #768
	str	r3, [fp, #-564]
	ldr	r3, .L72+4
	str	r3, [fp, #-572]
	mov	r3, #0
	str	r3, [fp, #-528]
	sub	r3, fp, #524
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-584]
	cmp	r3, #2
	bgt	.L55
	ldr	r3, [fp, #-588]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L72+8
	bl	printf
	ldr	r3, .L72+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L72+16
	bl	printf
	ldr	r3, .L72+12
	ldr	r3, [r3]
	ldr	r2, .L72+20
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L72+24
	bl	printf
	ldr	r0, .L72+28
	bl	puts
	ldr	r0, .L72+32
	bl	puts
	mov	r0, #1
	bl	exit
.L55:
	ldr	r3, [fp, #-588]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-588]
	add	r3, r3, #8
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #520
	ldr	r1, .L72+36
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-580]
	ldr	r3, [fp, #-580]
	cmp	r3, #0
	bne	.L56
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mvn	r0, #0
	bl	exit
.L56:
	sub	r3, fp, #520
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-560]
	sub	r3, fp, #264
	ldr	r1, .L72+44
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-556]
	ldr	r3, [fp, #-556]
	cmp	r3, #0
	bne	.L57
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L72+48
	bl	printf
	mvn	r0, #0
	bl	exit
.L57:
	ldr	r3, [fp, #-584]
	cmp	r3, #4
	bne	.L58
	ldr	r3, [fp, #-588]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-572]
.L58:
	ldr	r3, .L72+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L72+16
	bl	printf
	ldr	r3, .L72+12
	ldr	r3, [r3]
	ldr	r2, .L72+20
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L72+24
	bl	printf
	ldr	r0, .L72+52
	bl	puts
	ldr	r3, .L72+12
	ldr	r3, [r3]
	str	r3, [fp, #-552]
	ldr	r3, .L72+20
	ldr	r3, [r3]
	str	r3, [fp, #-548]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-544]
	ldr	r3, [fp, #-552]
	ldr	r2, [fp, #-548]
	mul	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-544]
	str	r2, [r3]
	ldr	r3, [fp, #-552]
	ldr	r2, [fp, #-548]
	mul	r3, r2, r3
	lsr	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-544]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-552]
	ldr	r2, [fp, #-548]
	mul	r3, r2, r3
	lsr	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-544]
	str	r2, [r3, #8]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-540]
	ldr	r2, [fp, #-552]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #8
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-540]
	str	r2, [r3]
	ldr	r2, [fp, #-552]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #8
	lsr	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-540]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-552]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #8
	lsr	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-540]
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-576]
	ldr	r3, [fp, #-560]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-536]
	mov	r3, #0
	str	r3, [fp, #-568]
	b	.L59
.L60:
	ldr	r2, [fp, #-536]
	ldr	r3, [fp, #-568]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-568]
	add	r3, r3, #1
	str	r3, [fp, #-568]
.L59:
	ldr	r2, [fp, #-568]
	ldr	r3, [fp, #-560]
	cmp	r2, r3
	bcc	.L60
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, [fp, #-536]
	bl	strcpy
.L66:
	ldr	r3, [fp, #-548]
	ldr	r2, [fp, #-552]
	ldr	r1, [fp, #-544]
	ldr	r0, [fp, #-580]
	bl	freadYUV420Pict
	str	r0, [fp, #-532]
	mov	r3, #768
	str	r3, [sp]
	ldr	r3, [fp, #-548]
	ldr	r2, [fp, #-552]
	ldr	r1, [fp, #-540]
	ldr	r0, [fp, #-544]
	bl	yuvtoyuv
	mov	r3, #768
	ldr	r2, [fp, #-552]
	ldr	r1, [fp, #-540]
	ldr	r0, [fp, #-556]
	bl	fwriteYUV420Pict
	ldr	r3, [fp, #-532]
	cmp	r3, #0
	bne	.L66
	ldr	r3, [fp, #-576]
	add	r3, r3, #1
	str	r3, [fp, #-576]
	ldr	r2, [fp, #-576]
	ldr	r3, [fp, #-572]
	cmp	r2, r3
	bge	.L71
	ldr	r0, [fp, #-580]
	bl	fclose
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, [fp, #-576]
	bl	ntoa
	mov	r3, #0
	str	r3, [fp, #-568]
	b	.L64
.L65:
	ldr	r2, [fp, #-536]
	ldr	r3, [fp, #-568]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-568]
	add	r3, r3, #1
	str	r3, [fp, #-568]
.L64:
	ldr	r2, [fp, #-568]
	ldr	r3, [fp, #-560]
	cmp	r2, r3
	bcc	.L65
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, [fp, #-536]
	bl	strcpy
	ldr	r3, [fp, #-560]
	sub	r3, r3, #4
	ldr	r2, [fp, #-536]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, [fp, #-536]
	bl	strcat
	ldr	r1, .L72+36
	ldr	r0, [fp, #-536]
	bl	fopen
	str	r0, [fp, #-580]
	ldr	r3, [fp, #-580]
	cmp	r3, #0
	bne	.L66
	ldr	r3, .L72+56
	ldr	r3, [r3]
	ldr	r2, [fp, #-536]
	ldr	r1, .L72+60
	mov	r0, r3
	bl	fprintf
	b	.L63
.L71:
	nop
.L63:
	ldr	r3, [fp, #-580]
	cmp	r3, #0
	beq	.L67
	ldr	r0, [fp, #-580]
	bl	fclose
.L67:
	ldr	r1, [fp, #-556]
	ldr	r0, .L72+64
	bl	printf
	ldr	r3, [fp, #-556]
	cmp	r3, #0
	beq	.L68
	ldr	r0, [fp, #-556]
	bl	fclose
.L68:
	ldr	r3, [fp, #-544]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-544]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-544]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-544]
	bl	free
	ldr	r3, [fp, #-540]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-540]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-540]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-540]
	bl	free
	mov	r3, #0
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC18
	.word	9999
	.word	.LC6
	.word	yuv_wd
	.word	.LC7
	.word	yuv_ht
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	stderr
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
