	.file	"991053.c"
	.intel_syntax noprefix
	.text
	.local	gc_main
	.comm	gc_main,8,8
	.globl	gc_i
	.bss
	.align 2
	.type	gc_i, @object
	.size	gc_i, 2
gc_i:
	.zero	2
	.local	gc_main_arrays
	.comm	gc_main_arrays,8,8
	.local	colorImage
	.comm	colorImage,8,8
	.local	grayImage
	.comm	grayImage,8,8
	.local	i
	.comm	i,2,2
	.section	.rodata
.LC0:
	.string	"the_stack_data/991053.c"
.LC1:
	.string	"tmp_array->data != NULL"
.LC2:
	.string	"gc_main_arrays->data != NULL"
.LC3:
	.string	"imageDst != NULL"
.LC4:
	.string	"gc_main->data != NULL"
.LC5:
	.string	"imageDst->data->data != NULL"
	.text
	.globl	gray
	.type	gray, @function
gray:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -32[rbp], 0
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 4
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 54
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR 2[rax], 2
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR [rax], 0
	mov	rax, QWORD PTR gc_main_arrays[rip]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR gc_main_arrays[rip]
	movzx	eax, WORD PTR 2[rax]
	cmp	dx, ax
	jne	.L3
	mov	rax, QWORD PTR gc_main_arrays[rip]
	movzx	eax, WORD PTR 2[rax]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR gc_main_arrays[rip]
	movzx	eax, WORD PTR 2[rax]
	movsx	rax, ax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR gc_main_arrays[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L3
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 55
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L3:
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR gc_main_arrays[rip]
	movzx	edx, WORD PTR [rax]
	mov	ecx, edx
	add	ecx, 1
	mov	WORD PTR [rax], cx
	movsx	rax, dx
	sal	rax, 3
	lea	rdx, [rsi+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L4
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 57
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L4:
	mov	rax, QWORD PTR gc_main[rip]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR gc_main[rip]
	movzx	eax, WORD PTR 2[rax]
	cmp	dx, ax
	jne	.L5
	mov	rax, QWORD PTR gc_main[rip]
	movzx	eax, WORD PTR 2[rax]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR gc_main[rip]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR gc_main[rip]
	movzx	eax, WORD PTR 2[rax]
	movsx	rax, ax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR gc_main[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR gc_main[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR gc_main[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L5
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 58
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L5:
	mov	rax, QWORD PTR gc_main[rip]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR gc_main[rip]
	movzx	edx, WORD PTR [rax]
	mov	ecx, edx
	add	ecx, 1
	mov	WORD PTR [rax], cx
	movsx	rax, dx
	sal	rax, 3
	lea	rdx, [rsi+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -56[rbp]
	movzx	edx, WORD PTR 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR 2[rax], dx
	mov	WORD PTR -34[rbp], 0
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, WORD PTR 2[rax]
	cmp	dx, ax
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, WORD PTR 2[rax]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, WORD PTR 2[rax]
	movsx	rax, ax
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR 8[rcx]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L7
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 64
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L7:
	movsx	edx, WORD PTR -34[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movsx	rdx, edx
	movzx	eax, WORD PTR 4[rax+rdx*2]
	cwde
	imul	ecx, eax, 299
	movsx	eax, WORD PTR -34[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	movsx	rdx, edx
	movzx	eax, WORD PTR 4[rax+rdx*2]
	cwde
	imul	eax, eax, 587
	add	ecx, eax
	movsx	eax, WORD PTR -34[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -56[rbp]
	movsx	rdx, edx
	movzx	eax, WORD PTR 4[rax+rdx*2]
	cwde
	imul	eax, eax, 114
	add	eax, ecx
	add	eax, 500
	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
	mov	edi, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	edx, WORD PTR [rax]
	mov	ecx, edx
	add	ecx, 1
	mov	WORD PTR [rax], cx
	movsx	rax, dx
	add	rax, rax
	lea	rdx, [rsi+rax]
	movzx	eax, dil
	mov	WORD PTR [rdx], ax
	movzx	eax, WORD PTR -34[rbp]
	add	eax, 4
	mov	WORD PTR -34[rbp], ax
.L6:
	cmp	WORD PTR -34[rbp], 39
	jle	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	gray, .-gray
	.section	.rodata
.LC6:
	.string	"colorImage != NULL"
.LC7:
	.string	"[ "
.LC8:
	.string	", "
.LC9:
	.string	"%d"
.LC10:
	.string	" ]"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR gc_main[rip], rax
	mov	rbx, QWORD PTR gc_main[rip]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR gc_main[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 70
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L11:
	mov	rax, QWORD PTR gc_main[rip]
	mov	WORD PTR 2[rax], 2
	mov	rax, QWORD PTR gc_main[rip]
	mov	WORD PTR [rax], 0
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR gc_main_arrays[rip], rax
	mov	rbx, QWORD PTR gc_main_arrays[rip]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 71
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L12:
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	WORD PTR 2[rax], 2
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	WORD PTR [rax], 0
	mov	edi, 84
	call	malloc@PLT
	mov	QWORD PTR colorImage[rip], rax
	mov	rax, QWORD PTR colorImage[rip]
	test	rax, rax
	jne	.L13
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 74
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L13:
	mov	rax, QWORD PTR gc_main[rip]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR gc_main[rip]
	movzx	eax, WORD PTR 2[rax]
	cmp	dx, ax
	jne	.L14
	mov	rax, QWORD PTR gc_main[rip]
	movzx	eax, WORD PTR 2[rax]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR gc_main[rip]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR gc_main[rip]
	movzx	eax, WORD PTR 2[rax]
	movsx	rax, ax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR gc_main[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR gc_main[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR gc_main[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L14
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 75
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L14:
	mov	rax, QWORD PTR gc_main[rip]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR gc_main[rip]
	movzx	edx, WORD PTR [rax]
	mov	ecx, edx
	add	ecx, 1
	mov	WORD PTR [rax], cx
	movsx	rax, dx
	sal	rax, 3
	lea	rdx, [rsi+rax]
	mov	rax, QWORD PTR colorImage[rip]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR [rax], 10
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 2[rax], 1
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 4[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 6[rax], 219
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 8[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 10[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 12[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 14[rax], 220
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 16[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 18[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 20[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 22[rax], 219
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 24[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 26[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 28[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 30[rax], 220
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 32[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 34[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 36[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 38[rax], 219
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 40[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 42[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 44[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 46[rax], 220
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 48[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 50[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 52[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 54[rax], 219
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 56[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 58[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 60[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 62[rax], 220
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 64[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 66[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 68[rax], 227
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 70[rax], 219
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 72[rax], 4
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 74[rax], 255
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 76[rax], 0
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 78[rax], 0
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 80[rax], 0
	mov	rax, QWORD PTR colorImage[rip]
	mov	WORD PTR 82[rax], 0
	mov	rax, QWORD PTR colorImage[rip]
	mov	rdi, rax
	call	gray
	mov	QWORD PTR grayImage[rip], rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	WORD PTR i[rip], 0
	jmp	.L15
.L17:
	movzx	eax, WORD PTR i[rip]
	test	ax, ax
	je	.L16
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	mov	rax, QWORD PTR grayImage[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 8[rax]
	movzx	eax, WORD PTR i[rip]
	movsx	rax, ax
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	cwde
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR i[rip]
	add	eax, 1
	mov	WORD PTR i[rip], ax
.L15:
	mov	rax, QWORD PTR grayImage[rip]
	mov	rax, QWORD PTR 8[rax]
	movzx	edx, WORD PTR [rax]
	movzx	eax, WORD PTR i[rip]
	cmp	dx, ax
	jg	.L17
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	WORD PTR gc_i[rip], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rdx, QWORD PTR 8[rax]
	movzx	eax, WORD PTR gc_i[rip]
	movsx	rax, ax
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rdx, QWORD PTR 8[rax]
	movzx	eax, WORD PTR gc_i[rip]
	movsx	rax, ax
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	movzx	eax, WORD PTR gc_i[rip]
	add	eax, 1
	mov	WORD PTR gc_i[rip], ax
.L18:
	mov	rax, QWORD PTR gc_main_arrays[rip]
	movzx	edx, WORD PTR [rax]
	movzx	eax, WORD PTR gc_i[rip]
	cmp	dx, ax
	jg	.L19
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR gc_main_arrays[rip]
	mov	rdi, rax
	call	free@PLT
	mov	WORD PTR gc_i[rip], 0
	jmp	.L20
.L21:
	mov	rax, QWORD PTR gc_main[rip]
	mov	rdx, QWORD PTR 8[rax]
	movzx	eax, WORD PTR gc_i[rip]
	movsx	rax, ax
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	movzx	eax, WORD PTR gc_i[rip]
	add	eax, 1
	mov	WORD PTR gc_i[rip], ax
.L20:
	mov	rax, QWORD PTR gc_main[rip]
	movzx	edx, WORD PTR [rax]
	movzx	eax, WORD PTR gc_i[rip]
	cmp	dx, ax
	jg	.L21
	mov	rax, QWORD PTR gc_main[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR gc_main[rip]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"gray"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"991053.c"
	.text
	.local	gc_main
	.comm	gc_main,4,4
	.comm	gc_i,2,2
	.local	gc_main_arrays
	.comm	gc_main_arrays,4,4
	.local	colorImage
	.comm	colorImage,4,4
	.local	grayImage
	.comm	grayImage,4,4
	.local	i
	.comm	i,2,2
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/991053.c\000"
	.align	2
.LC1:
	.ascii	"tmp_array->data != NULL\000"
	.align	2
.LC2:
	.ascii	"gc_main_arrays->data != NULL\000"
	.align	2
.LC3:
	.ascii	"imageDst != NULL\000"
	.align	2
.LC4:
	.ascii	"gc_main->data != NULL\000"
	.align	2
.LC5:
	.ascii	"imageDst->data->data != NULL\000"
	.text
	.align	2
	.global	gray
	.syntax unified
	.arm
	.fpu softvfp
	.type	gray, %function
gray:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L10
	mov	r2, #54
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	__assert_fail
.L2:
	ldr	r3, [fp, #-20]
	mov	r2, #2
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L10+12
	ldr	r3, [r3]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #2
	ldr	r1, .L10+12
	ldr	r4, [r1]
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L10
	mov	r2, #55
	ldr	r1, .L10+4
	ldr	r0, .L10+16
	bl	__assert_fail
.L3:
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	lsl	r0, r2, #16
	lsr	r0, r0, #16
	add	r0, r0, #1
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	lsl	r0, r0, #16
	asr	r0, r0, #16
	strh	r0, [r3]	@ movhi
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L10
	mov	r2, #57
	ldr	r1, .L10+4
	ldr	r0, .L10+20
	bl	__assert_fail
.L4:
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	cmp	r2, r3
	bne	.L5
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L10+24
	ldr	r3, [r3]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #2
	ldr	r1, .L10+24
	ldr	r4, [r1]
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L10
	mov	r2, #58
	ldr	r1, .L10+4
	ldr	r0, .L10+28
	bl	__assert_fail
.L5:
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, .L10+24
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	lsl	r0, r2, #16
	lsr	r0, r0, #16
	add	r0, r0, #1
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	lsl	r0, r0, #16
	asr	r0, r0, #16
	strh	r0, [r3]	@ movhi
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	ldrsh	r2, [r3]
	ldr	r3, [fp, #-16]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-32]
	ldrsh	r2, [r3, #2]
	ldr	r3, [fp, #-16]
	strh	r2, [r3, #2]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	b	.L6
.L8:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrsh	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrsh	r3, [r3, #2]
	cmp	r2, r3
	bne	.L7
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrsh	r3, [r3, #2]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r4, [r3, #4]
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L10
	mov	r2, #64
	ldr	r1, .L10+4
	ldr	r0, .L10+32
	bl	__assert_fail
.L7:
	ldrsh	r3, [fp, #-22]
	ldr	r2, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #4
	ldrsh	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r2, r2, #2
	sub	r1, r2, r1
	ldrsh	r3, [fp, #-22]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #4
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldrsh	r3, [fp, #-22]
	add	r3, r3, #2
	ldr	r2, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #4
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #500
	ldr	r2, .L10+36
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r3, r3, #16
	asr	r1, r3, #16
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrsh	r2, [r3]
	lsl	ip, r2, #16
	lsr	ip, ip, #16
	add	ip, ip, #1
	lsl	ip, ip, #16
	lsr	ip, ip, #16
	lsl	ip, ip, #16
	asr	ip, ip, #16
	strh	ip, [r3]	@ movhi
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	and	r2, r1, #255
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldrh	r3, [fp, #-22]
	add	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-22]	@ movhi
.L6:
	ldrsh	r3, [fp, #-22]
	cmp	r3, #39
	ble	.L8
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	__PRETTY_FUNCTION__.5166
	.word	.LC0
	.word	.LC1
	.word	gc_main_arrays
	.word	.LC2
	.word	.LC3
	.word	gc_main
	.word	.LC4
	.word	.LC5
	.word	274877907
	.size	gray, .-gray
	.section	.rodata
	.align	2
.LC6:
	.ascii	"colorImage != NULL\000"
	.align	2
.LC7:
	.ascii	"[ \000"
	.align	2
.LC8:
	.ascii	", \000"
	.align	2
.LC9:
	.ascii	"%d\000"
	.align	2
.LC10:
	.ascii	" ]\000"
	.text
	.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, fp, lr}
	add	fp, sp, #12
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25
	str	r2, [r3]
	ldr	r3, .L25
	ldr	r4, [r3]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L25+4
	mov	r2, #70
	ldr	r1, .L25+8
	ldr	r0, .L25+12
	bl	__assert_fail
.L13:
	ldr	r3, .L25
	ldr	r3, [r3]
	mov	r2, #2
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L25
	ldr	r3, [r3]
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+16
	str	r2, [r3]
	ldr	r3, .L25+16
	ldr	r4, [r3]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L25+4
	mov	r2, #71
	ldr	r1, .L25+8
	ldr	r0, .L25+20
	bl	__assert_fail
.L14:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	mov	r2, #2
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L25+16
	ldr	r3, [r3]
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	mov	r0, #84
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+24
	str	r2, [r3]
	ldr	r3, .L25+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L25+4
	mov	r2, #74
	ldr	r1, .L25+8
	ldr	r0, .L25+28
	bl	__assert_fail
.L15:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	cmp	r2, r3
	bne	.L16
	ldr	r3, .L25
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L25
	ldr	r3, [r3]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #2
	ldr	r1, .L25
	ldr	r4, [r1]
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L25+4
	mov	r2, #75
	ldr	r1, .L25+8
	ldr	r0, .L25+12
	bl	__assert_fail
.L16:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	lsl	r0, r2, #16
	lsr	r0, r0, #16
	add	r0, r0, #1
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	lsl	r0, r0, #16
	asr	r0, r0, #16
	strh	r0, [r3]	@ movhi
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, .L25+24
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #10
	strh	r2, [r3]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #1
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #219
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #8]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #12]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #220
	strh	r2, [r3, #14]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #16]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #18]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #20]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #219
	strh	r2, [r3, #22]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #24]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #26]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #28]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #220
	strh	r2, [r3, #30]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #32]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #34]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #36]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #219
	strh	r2, [r3, #38]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #40]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #42]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #44]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #220
	strh	r2, [r3, #46]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #48]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #50]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #52]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #219
	strh	r2, [r3, #54]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #56]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #58]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #60]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #220
	strh	r2, [r3, #62]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #64]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #66]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #227
	strh	r2, [r3, #68]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #219
	strh	r2, [r3, #70]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #4
	strh	r2, [r3, #72]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #255
	strh	r2, [r3, #74]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #0
	strh	r2, [r3, #76]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #0
	strh	r2, [r3, #78]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #0
	strh	r2, [r3, #80]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r2, #0
	strh	r2, [r3, #82]	@ movhi
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	gray
	mov	r3, r0
	ldr	r2, .L25+32
	str	r3, [r2]
	ldr	r0, .L25+36
	bl	printf
	ldr	r3, .L25+40
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L17
.L19:
	ldr	r3, .L25+40
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L25+44
	bl	printf
.L18:
	ldr	r3, .L25+32
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #4]
	ldr	r3, .L25+40
	ldrsh	r3, [r3]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+48
	bl	printf
	ldr	r3, .L25+40
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L25+40
	strh	r3, [r2]	@ movhi
.L17:
	ldr	r3, .L25+32
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldrsh	r2, [r3]
	ldr	r3, .L25+40
	ldrsh	r3, [r3]
	cmp	r2, r3
	bgt	.L19
	ldr	r0, .L25+52
	bl	puts
	ldr	r3, .L25+56
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L20
.L21:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L25+56
	ldrsh	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L25+56
	ldrsh	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L25+56
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L25+56
	strh	r3, [r2]	@ movhi
.L20:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	ldr	r3, .L25+56
	ldrsh	r3, [r3]
	cmp	r2, r3
	bgt	.L21
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, .L25+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L25+56
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L22
.L23:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L25+56
	ldrsh	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L25+56
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L25+56
	strh	r3, [r2]	@ movhi
.L22:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldrsh	r2, [r3]
	ldr	r3, .L25+56
	ldrsh	r3, [r3]
	cmp	r2, r3
	bgt	.L23
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, .L25
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	mov	r3, #0
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L26:
	.align	2
.L25:
	.word	gc_main
	.word	__PRETTY_FUNCTION__.5173
	.word	.LC0
	.word	.LC4
	.word	gc_main_arrays
	.word	.LC2
	.word	colorImage
	.word	.LC6
	.word	grayImage
	.word	.LC7
	.word	i
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	gc_i
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5166, %object
	.size	__PRETTY_FUNCTION__.5166, 5
__PRETTY_FUNCTION__.5166:
	.ascii	"gray\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5173, %object
	.size	__PRETTY_FUNCTION__.5173, 5
__PRETTY_FUNCTION__.5173:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
