	.file	"48575938.c"
	.intel_syntax noprefix
	.text
	.globl	color_block_to_be_converted
	.bss
	.align 32
	.type	color_block_to_be_converted, @object
	.size	color_block_to_be_converted, 768
color_block_to_be_converted:
	.zero	768
	.text
	.globl	RGB2Y
	.type	RGB2Y, @function
RGB2Y:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, esi
	mov	eax, edx
	mov	edx, edi
	mov	BYTE PTR -4[rbp], dl
	mov	edx, ecx
	mov	BYTE PTR -8[rbp], dl
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	imul	edx, eax, 153
	movzx	eax, BYTE PTR -8[rbp]
	imul	eax, eax, 301
	add	edx, eax
	movzx	eax, BYTE PTR -12[rbp]
	imul	eax, eax, 58
	add	eax, edx
	sar	eax, 9
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	RGB2Y, .-RGB2Y
	.globl	RGB2Cb
	.type	RGB2Cb, @function
RGB2Cb:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, esi
	mov	eax, edx
	mov	edx, edi
	mov	BYTE PTR -4[rbp], dl
	mov	edx, ecx
	mov	BYTE PTR -8[rbp], dl
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	imul	eax, eax, -86
	lea	edx, 65536[rax]
	movzx	eax, BYTE PTR -8[rbp]
	imul	eax, eax, -170
	add	edx, eax
	movzx	eax, BYTE PTR -12[rbp]
	sal	eax, 8
	add	eax, edx
	sar	eax, 9
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	RGB2Cb, .-RGB2Cb
	.globl	RGB2Cr
	.type	RGB2Cr, @function
RGB2Cr:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, esi
	mov	eax, edx
	mov	edx, edi
	mov	BYTE PTR -4[rbp], dl
	mov	edx, ecx
	mov	BYTE PTR -8[rbp], dl
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	add	eax, 256
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -8[rbp]
	imul	eax, eax, -214
	add	edx, eax
	movzx	eax, BYTE PTR -12[rbp]
	imul	eax, eax, -42
	add	eax, edx
	sar	eax, 9
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	RGB2Cr, .-RGB2Cr
	.globl	subsample
	.type	subsample, @function
subsample:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 56
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -16[rbp], 0
	jmp	.L8
.L11:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, eax
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, eax
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, ecx
	sar	eax, 2
	mov	BYTE PTR -19[rbp], al
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, ecx
	sar	eax, 2
	mov	BYTE PTR -18[rbp], al
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, ecx
	sar	eax, 2
	mov	BYTE PTR -17[rbp], al
	movzx	edx, BYTE PTR -17[rbp]
	movzx	ecx, BYTE PTR -18[rbp]
	movzx	eax, BYTE PTR -19[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	RGB2Cb
	movzx	eax, al
	lea	ecx, -128[rax]
	mov	eax, DWORD PTR -16[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	mov	WORD PTR [rdx+rax*2], cx
	movzx	edx, BYTE PTR -17[rbp]
	movzx	ecx, BYTE PTR -18[rbp]
	movzx	eax, BYTE PTR -19[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	RGB2Cr
	movzx	eax, al
	lea	ecx, -128[rax]
	mov	eax, DWORD PTR -16[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	mov	WORD PTR [rdx+rax*2], cx
	add	DWORD PTR -12[rbp], 1
.L9:
	cmp	DWORD PTR -12[rbp], 7
	jbe	.L10
	add	DWORD PTR -16[rbp], 1
.L8:
	cmp	DWORD PTR -16[rbp], 7
	jbe	.L11
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	subsample, .-subsample
	.globl	color_conversion
	.type	color_conversion, @function
color_conversion:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1064[rbp], 0
	jmp	.L13
.L20:
	mov	DWORD PTR -1060[rbp], 0
	jmp	.L14
.L19:
	mov	DWORD PTR -1056[rbp], 0
	jmp	.L15
.L18:
	mov	DWORD PTR -1052[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -1064[rbp]
	lea	edx, 0[0+rax*8]
	mov	eax, DWORD PTR -1056[rbp]
	add	eax, edx
	mov	DWORD PTR -1048[rbp], eax
	mov	eax, DWORD PTR -1060[rbp]
	lea	edx, 0[0+rax*8]
	mov	eax, DWORD PTR -1052[rbp]
	add	eax, edx
	mov	DWORD PTR -1044[rbp], eax
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, DWORD PTR -1048[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1067[rbp], al
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, DWORD PTR -1048[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1066[rbp], al
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, DWORD PTR -1048[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1065[rbp], al
	movzx	edx, BYTE PTR -1065[rbp]
	movzx	ecx, BYTE PTR -1066[rbp]
	movzx	eax, BYTE PTR -1067[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	RGB2Y
	movzx	eax, al
	add	eax, -128
	mov	edx, eax
	mov	ecx, DWORD PTR -1052[rbp]
	mov	esi, DWORD PTR -1060[rbp]
	mov	eax, DWORD PTR -1064[rbp]
	add	rax, rax
	add	rax, rsi
	mov	esi, DWORD PTR -1056[rbp]
	sal	rax, 3
	add	rax, rsi
	sal	rax, 3
	add	rax, rcx
	mov	WORD PTR -528[rbp+rax*2], dx
	add	DWORD PTR -1052[rbp], 1
.L16:
	cmp	DWORD PTR -1052[rbp], 7
	jbe	.L17
	add	DWORD PTR -1056[rbp], 1
.L15:
	cmp	DWORD PTR -1056[rbp], 7
	jbe	.L18
	add	DWORD PTR -1060[rbp], 1
.L14:
	cmp	DWORD PTR -1060[rbp], 1
	jbe	.L19
	add	DWORD PTR -1064[rbp], 1
.L13:
	cmp	DWORD PTR -1064[rbp], 1
	jbe	.L20
	lea	rdx, -656[rbp]
	lea	rax, -784[rbp]
	mov	rsi, rax
	lea	rdi, 16[rbp]
	call	subsample
	mov	DWORD PTR -1056[rbp], 0
	jmp	.L21
.L24:
	mov	DWORD PTR -1052[rbp], 0
	jmp	.L22
.L23:
	mov	edx, DWORD PTR -1052[rbp]
	mov	eax, DWORD PTR -1056[rbp]
	sal	rax, 3
	add	rax, rdx
	movzx	eax, WORD PTR -784[rbp+rax*2]
	mov	ecx, DWORD PTR -1052[rbp]
	mov	edx, DWORD PTR -1056[rbp]
	sal	rdx, 3
	add	rdx, rcx
	mov	WORD PTR -1040[rbp+rdx*2], ax
	add	DWORD PTR -1052[rbp], 1
.L22:
	cmp	DWORD PTR -1052[rbp], 7
	jbe	.L23
	add	DWORD PTR -1056[rbp], 1
.L21:
	cmp	DWORD PTR -1056[rbp], 7
	jbe	.L24
	mov	DWORD PTR -1056[rbp], 0
	jmp	.L25
.L28:
	mov	DWORD PTR -1052[rbp], 0
	jmp	.L26
.L27:
	mov	edx, DWORD PTR -1052[rbp]
	mov	eax, DWORD PTR -1056[rbp]
	sal	rax, 3
	add	rax, rdx
	movzx	eax, WORD PTR -656[rbp+rax*2]
	mov	ecx, DWORD PTR -1052[rbp]
	mov	edx, DWORD PTR -1056[rbp]
	sal	rdx, 3
	add	rdx, rcx
	mov	WORD PTR -912[rbp+rdx*2], ax
	add	DWORD PTR -1052[rbp], 1
.L26:
	cmp	DWORD PTR -1052[rbp], 7
	jbe	.L27
	add	DWORD PTR -1056[rbp], 1
.L25:
	cmp	DWORD PTR -1056[rbp], 7
	jbe	.L28
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	color_conversion, .-color_conversion
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 768
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, color_block_to_be_converted[rip]
	mov	edx, 96
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	call	color_conversion
	add	rsp, 768
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"48575938.c"
	.text
	.comm	color_block_to_be_converted,768,4
	.align	2
	.global	RGB2Y
	.syntax unified
	.arm
	.fpu softvfp
	.type	RGB2Y, %function
RGB2Y:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-5]
	mov	r3, r1
	strb	r3, [fp, #-6]
	mov	r3, r2
	strb	r3, [fp, #-7]
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r0, r3, r2
	ldrb	r1, [fp, #-6]	@ zero_extendqisi2
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r2, r2, #2
	add	r3, r2, r1
	add	r1, r0, r3
	ldrb	r2, [fp, #-7]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	asr	r3, r3, #9
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RGB2Y, .-RGB2Y
	.align	2
	.global	RGB2Cb
	.syntax unified
	.arm
	.fpu softvfp
	.type	RGB2Cb, %function
RGB2Cb:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-5]
	mov	r3, r1
	strb	r3, [fp, #-6]
	mov	r3, r2
	strb	r3, [fp, #-7]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mvn	r2, #85
	mul	r3, r2, r3
	add	r2, r3, #65536
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	mvn	r1, #169
	mul	r3, r1, r3
	add	r2, r2, r3
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r3, r2, r3
	asr	r3, r3, #9
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RGB2Cb, .-RGB2Cb
	.align	2
	.global	RGB2Cr
	.syntax unified
	.arm
	.fpu softvfp
	.type	RGB2Cr, %function
RGB2Cr:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-5]
	mov	r3, r1
	strb	r3, [fp, #-6]
	mov	r3, r2
	strb	r3, [fp, #-7]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #256
	lsl	r2, r3, #8
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	mvn	r1, #213
	mul	r3, r1, r3
	add	r2, r2, r3
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	mvn	r1, #41
	mul	r3, r1, r3
	add	r3, r2, r3
	asr	r3, r3, #9
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RGB2Cr, .-RGB2Cr
	.align	2
	.global	subsample
	.syntax unified
	.arm
	.fpu softvfp
	.type	subsample, %function
subsample:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L8
.L11:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L9
.L10:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r3, r2
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r0, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r0, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r1, r3
	asr	r3, r3, #2
	strb	r3, [fp, #-23]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r3, r2
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r0, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r0, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r1, r3
	asr	r3, r3, #2
	strb	r3, [fp, #-22]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r3, r2
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r0, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r0, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r1, r3
	asr	r3, r3, #2
	strb	r3, [fp, #-21]
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r1, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	mov	r0, r3
	bl	RGB2Cb
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #128
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #4
	ldr	r1, [fp, #-36]
	add	r1, r1, r2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r1, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	mov	r0, r3
	bl	RGB2Cr
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #128
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #4
	ldr	r1, [fp, #-40]
	add	r1, r1, r2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	bls	.L10
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L8:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	bls	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	subsample, .-subsample
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	color_conversion
	.syntax unified
	.arm
	.fpu softvfp
	.type	color_conversion, %function
color_conversion:
	@ args = 768, pretend = 16, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1056]
	b	.L13
.L20:
	mov	r3, #0
	str	r3, [fp, #-1052]
	b	.L14
.L19:
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L15
.L18:
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L16
.L17:
	ldr	r3, [fp, #-1056]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	str	r3, [fp, #-1040]
	ldr	r3, [fp, #-1052]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1044]
	add	r3, r2, r3
	str	r3, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	ldr	r1, [fp, #-1040]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #2
	ldrb	r3, [r3]
	strb	r3, [fp, #-1059]
	ldr	r3, [fp, #-1036]
	ldr	r1, [fp, #-1040]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #1
	ldrb	r3, [r3]
	strb	r3, [fp, #-1058]
	ldr	r3, [fp, #-1036]
	ldr	r1, [fp, #-1040]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-1057]
	ldrb	r2, [fp, #-1057]	@ zero_extendqisi2
	ldrb	r1, [fp, #-1058]	@ zero_extendqisi2
	ldrb	r3, [fp, #-1059]	@ zero_extendqisi2
	mov	r0, r3
	bl	RGB2Y
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #128
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #4
	sub	r1, r3, #516
	ldr	r3, [fp, #-1056]
	lsl	r0, r3, #1
	ldr	r3, [fp, #-1052]
	add	r3, r0, r3
	lsl	r0, r3, #3
	ldr	r3, [fp, #-1048]
	add	r3, r0, r3
	lsl	r0, r3, #3
	ldr	r3, [fp, #-1044]
	add	r3, r0, r3
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L16:
	ldr	r3, [fp, #-1044]
	cmp	r3, #7
	bls	.L17
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L15:
	ldr	r3, [fp, #-1048]
	cmp	r3, #7
	bls	.L18
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1052]
.L14:
	ldr	r3, [fp, #-1052]
	cmp	r3, #1
	bls	.L19
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L13:
	ldr	r3, [fp, #-1056]
	cmp	r3, #1
	bls	.L20
	sub	r2, fp, #648
	sub	r3, fp, #776
	mov	r1, r3
	add	r3, fp, #4
	mov	r0, r3
	bl	subsample
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L21
.L24:
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L22
.L23:
	sub	r3, fp, #4
	sub	r2, r3, #772
	ldr	r3, [fp, #-1048]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-1044]
	add	r3, r1, r3
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	sub	r3, fp, #4
	sub	r3, r3, #1024
	sub	r3, r3, #4
	ldr	r1, [fp, #-1048]
	lsl	r0, r1, #3
	ldr	r1, [fp, #-1044]
	add	r1, r0, r1
	lsl	r1, r1, #1
	add	r3, r3, r1
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L22:
	ldr	r3, [fp, #-1044]
	cmp	r3, #7
	bls	.L23
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L21:
	ldr	r3, [fp, #-1048]
	cmp	r3, #7
	bls	.L24
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L25
.L28:
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L26
.L27:
	sub	r3, fp, #4
	sub	r2, r3, #644
	ldr	r3, [fp, #-1048]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-1044]
	add	r3, r1, r3
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	sub	r3, fp, #4
	sub	r1, r3, #900
	ldr	r3, [fp, #-1048]
	lsl	r0, r3, #3
	ldr	r3, [fp, #-1044]
	add	r3, r0, r3
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L26:
	ldr	r3, [fp, #-1044]
	cmp	r3, #7
	bls	.L27
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L25:
	ldr	r3, [fp, #-1048]
	cmp	r3, #7
	bls	.L28
	nop
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L31:
	.align	2
.L30:
	.word	.LC0
	.size	color_conversion, .-color_conversion
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #752
	ldr	r3, .L34
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #2]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r1, [r3, #3]	@ zero_extendqisi2
	lsl	r1, r1, #24
	orr	r2, r1, r2
	mov	r7, #0
	mov	r7, r2
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldrb	r1, [r3, #5]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #6]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r1, [r3, #7]	@ zero_extendqisi2
	lsl	r1, r1, #24
	orr	r2, r1, r2
	mov	r6, #0
	mov	r6, r2
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldrb	r1, [r3, #9]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #10]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r1, [r3, #11]	@ zero_extendqisi2
	lsl	r1, r1, #24
	orr	r2, r1, r2
	mov	r5, #0
	mov	r5, r2
	ldrb	r2, [r3, #12]	@ zero_extendqisi2
	ldrb	r1, [r3, #13]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #14]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r1, [r3, #15]	@ zero_extendqisi2
	lsl	r1, r1, #24
	orr	r2, r1, r2
	mov	r4, #0
	mov	r4, r2
	mov	r0, sp
	add	r3, r3, #16
	mov	r2, #752
	mov	r1, r3
	bl	memcpy
	mov	r0, r7
	mov	r1, r6
	mov	r2, r5
	mov	r3, r4
	bl	color_conversion
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L35:
	.align	2
.L34:
	.word	color_block_to_be_converted
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
